WRITE · TRACE · UNDERSTAND
Require complete evaluation coverage before reporting category rates
expected is a nonempty versioned inventory of unique id,category rows.
Read lesson: Require complete evaluation coverage before reporting category rates →
Your experiment
expected is a nonempty versioned inventory of unique id,category rows. results contains unique id and explicit boolean passed. Require exactly the same identity set; missing, unknown and repeated cases raise ValueError. Return a category-sorted mapping with total,passed,rate and sorted failed IDs. Aggregate by inventory category, not a category supplied by the candidate. These are descriptive rates, not confidence estimates.
Python runs in your browser. Your draft stays on this device.
What to look for
Review inventory versioning, category balance and the definition of a passing case. Missing observations are not successful evaluations.
Watch your code work
Ready to experimentWrite a solution or load the worked answer, then choose Trace & check.
Step through arrays, variables and training curves produced by your own Python.
