FA-97080 / Recipe scaling and nutrition / Member archive
Yeast type converter: whole teaspoon carry · case 05
Exactly one teaspoon prints as "4/4".
Case contract
Types (trimmed, case-insensitive) instant, active dry, fresh with grams per 1 g instant: 1, 5/4, 3. Unknown -> "error: yeast type". grams = amount/ratio[from]*ratio[to], printed half-up to 0.1 (float). tsp: None for fresh; else grams/3.1 in quarter teaspoons half-up: 0 -> "less than 1/4", <4 quarters -> "q/4", whole -> "n", else "n q/4" (quarters not reduced). bloom is True only when converting to active dry.
Why this case matters
Bakers substitute yeast forms and need both weight and spoon measures.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: whole teaspoon carry | {"bloom": false, "grams": 3.2, "tsp": "4/4"} | {"bloom": false, "grams": 3.2, "tsp": "1"} | 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 ↗