Reading the Fitting Sources
Kirsty’s Python suite checks Snowline Hire’s fitting rules. Read the complete suite beside the JavaScript fitting module, keeping Morag’s booking in context.
The module keeps the custom error name, boot sizes in a Map, own-property ability lookup, and floor rounding within the stocked limits. Its conditional selections choose a binding weight band and adjust for ability. The remaining functions build fitting records, parse and load bookings, hold stock in an Inventory, and reserve skis before boots.
Next is Porting Snowline Hire’s Test Suite.