The example that represents a discrete data constraint with viable solutions is:
number of tests passed
This is because the number of tests passed is a countable value, representing discrete data, while the other examples (average weight, average score, and distance between points) involve measurements that are typically represented as continuous data.