Write standout(score, class_scores): how unusual a score is in its own class. 0 means exactly average, positive means above, negative below. Ana got 80 in a class that averaged 70, with marks all over the place. Ben got 90 in a class that averaged 85, everyone bunched together. Who did better?
Two classes took the same test, out of 100. Ana got 80; her class’s marks are all over the place. Ben got 90; his class is bunched together.
standout(score, class_scores)| score | one student's mark | e.g. 70 |
| class_scores | every mark in their class, theirs included | e.g. [60, 70, 80] |
| returns | how unusual it is: 0 = average, positive = above | |