FA-97097 / Recipe scaling and nutrition / Member archive
High-altitude baking adjuster: sugar reduction scaling · case 02
Two cups of sugar lose only one tablespoon at level 1.
Case contract
Level 0 below 3000 ft, 1 for 3000-4999, 2 for 5000-6999, 3 at 7000+. Baking powder times (1-level/8); sugar times (1-level/16) (1 tbsp per cup per level); liquid times (1+3*level/32) (1.5 tbsp per cup per level); oven +15 F at levels 1-2 and +25 F at level 3. Amounts are fraction strings in and exact str(Fraction) out.
Why this case matters
Cake and quick-bread recipes need leavening, sugar, liquid and temperature changes at elevation.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| level two | {"baking_powder_tsp": "3/4", "level": 2, "liquid_cups": "19/32", "oven_f": 390, "sugar_cups": "15/8"} | {"baking_powder_tsp": "3/4", "level": 2, "liquid_cups": "19/32", "oven_f": 390, "sugar_cups": "7/4"} | 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 ↗