FA-96939 / Recipe scaling and nutrition / Member archive
Baker's percentage calculator: starter flour share · case 04
Adding 100 g of levain raises every percentage because its flour is ignored.
Case contract
Rows [name, grams, role], role in flour/water/milk/egg/starter/other. Total flour = all flour rows plus half of starter weight (100% hydration levain). Each row gets grams/total_flour*100 as "d.d" rounded half-up. Hydration counts water fully, milk at 87%, egg at 75% and half the starter. No flour returns an error string.
Why this case matters
Bread formulas are written and scaled in baker's percentages, and hydration drives dough handling.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| two flours with levain | {"flour_total": "500", "hydration": "76.0", "percentages": [["bread", "80.0"], ["rye", "20.0"], ["levain", "20.0"], ["water", "66.0"]]} | {"flour_total": "550", "hydration": "69.1", "percentages": [["bread", "72.7"], ["rye", "18.2"], ["levain", "18.2"], ["water", "60.0"]]} | 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 ↗