FA-97199 / Recipe scaling and nutrition / Member archive
Roast timing and carryover planner: cook time rounding · case 04
A 1.2 kg medium-rare roast (42 min) is scheduled for 40 minutes instead of 45.
Case contract
Doneness (trimmed, lower) rare 52C/30 min per kg, medium rare 57/35, medium 63/40, well 71/50; unknown -> error; weight <= 0 -> error. Carryover 2C below 1.5 kg, 4C below 3 kg, else 6C. Beef and lamb pull at target - carryover. Poultry ignores doneness: pull at 74 (no carryover credit) and uses the well-done rate. cook_min = ceiling to a multiple of 5 of weight*rate. rest_min = half-up weight*5 clamped to [10, 30].
Why this case matters
Roast planners must account for carryover cooking and food-safety minimums for poultry.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: cook time rounding | {"cook_min": 35, "pull_c": 50, "rest_min": 10} | {"cook_min": 40, "pull_c": 50, "rest_min": 10} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗