gram/conformance/cases/038-decimal-comma/analyzed.json
abiwab 94074c5912
All checks were successful
CI / Build & Test (pull_request) Successful in 6m3s
fix(analyzer): buy resolved percentages in the shopping list when mass standardization is off
2026-11-30 20:01:02 +01:00

667 lines
14 KiB
JSON

{
"title": "Decimal Comma",
"slug": "decimal-comma",
"meta": {
"title": "Decimal Comma",
"portions": "4"
},
"registry": {
"ingredients": {
"dough": {
"id": "dough",
"name": "dough",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "kg"
},
"salt": {
"id": "salt",
"name": "salt",
"default_unit": "kg"
},
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "kg"
},
"milk": {
"id": "milk",
"name": "milk",
"default_unit": "l"
},
"water": {
"id": "water",
"name": "water"
}
},
"cookware": {
"board": {
"id": "board",
"name": "board"
}
}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 1.5,
"unit": "kg",
"normalizedMass": 1500,
"isEstimate": false,
"conversionMethod": "physical"
},
{
"id": "salt",
"name": "salt",
"_usageIds": [
"2"
],
"qty": 0.13,
"unit": "kg",
"normalizedMass": 125,
"isEstimate": false,
"conversionMethod": "physical"
},
{
"id": "butter",
"name": "butter",
"_usageIds": [
"3"
],
"qty": 1,
"unit": "kg",
"normalizedMass": 1000,
"isEstimate": false,
"conversionMethod": "physical"
},
{
"id": "milk",
"name": "milk",
"_usageIds": [
"4"
],
"qty": 0.63,
"unit": "l",
"range": {
"min": 0.5,
"max": 0.75
}
},
{
"id": "water",
"name": "water",
"_usageIds": [
"5"
],
"relative": true,
"qty": 187.5,
"unit": "g",
"normalizedMass": 187.5,
"isEstimate": false,
"conversionMethod": "relative"
}
],
"cookware": [
{
"id": "board",
"_usageId": "6",
"qty": 1,
"fixed": false
}
],
"sections": [
{
"title": "Dough",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 1.5,
"unit": "kg",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 1500
},
{
"id": "salt",
"_usageId": "2",
"qty": 0.125,
"unit": "kg",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 125
},
{
"id": "butter",
"_usageId": "3",
"qty": 1,
"unit": "kg",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 1000
},
{
"id": "milk",
"_usageId": "4",
"qty": {
"type": "range",
"value": 0.625,
"range": {
"min": 0.5,
"max": 0.75
},
"text": "0,5-0,75"
},
"unit": "l"
},
{
"id": "water",
"_usageId": "5",
"qty": {
"type": "single",
"value": 187.5
},
"dependencies": [
"flour"
],
"formula": {
"raw": "12,5% of flour",
"target": "flour",
"percent": 12.5,
"isGhost": false
},
"normalizedMass": 187.5,
"unit": "g",
"conversionMethod": "relative"
}
],
"cookware": [
{
"id": "board",
"_usageId": "6",
"qty": 1,
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 1.5,
"unit": "kg",
"normalizedMass": 1500,
"conversionMethod": "physical",
"isEstimate": false
},
", ",
{
"id": "salt",
"_usageId": "2",
"qty": 0.125,
"unit": "kg",
"normalizedMass": 125,
"conversionMethod": "physical",
"isEstimate": false
},
", ",
{
"id": "butter",
"_usageId": "3",
"qty": 1,
"unit": "kg",
"normalizedMass": 1000,
"conversionMethod": "physical",
"isEstimate": false
},
"and ",
{
"id": "milk",
"_usageId": "4",
"qty": {
"type": "range",
"value": 0.625,
"range": {
"min": 0.5,
"max": 0.75
},
"text": "0,5-0,75"
},
"unit": "l"
},
", then ",
{
"id": "water",
"_usageId": "5",
"qty": {
"type": "single",
"value": 187.5
},
"dependencies": [
"flour"
],
"formula": {
"raw": "12,5% of flour",
"target": "flour",
"percent": 12.5,
"isGhost": false
},
"normalizedMass": 187.5,
"unit": "g",
"conversionMethod": "relative"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Knead on ",
{
"id": "board",
"_usageId": "6",
"qty": 1,
"fixed": false
},
"and rest ",
{
"type": "timer",
"raw": "1,5 h",
"quantity": {
"type": "single",
"value": 1.5,
"text": "1,5"
},
"unit": "h",
"minutes": 90
},
"."
],
"timings": {
"start": 2,
"end": 92,
"activeDuration": 90
}
}
],
"intermediate_preparation": "dough",
"retro_planning": {
"raw": "-4,5h",
"sign": -1,
"value": 4.5,
"unit": "h",
"minutes": -270
},
"metrics": {
"totalMass": 2812.5,
"massStatus": "incomplete",
"missingMassIngredients": [
"milk"
]
}
},
{
"title": "Bake",
"ingredients": [
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "7"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Bake ",
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "7"
},
"at ",
{
"type": "temperature",
"quantity": {
"type": "single",
"value": 180.5,
"text": "180,5"
},
"unit": "°C"
},
"for ",
{
"type": "timer",
"raw": "2,25 h",
"quantity": {
"type": "single",
"value": 2.25,
"text": "2,25"
},
"unit": "h",
"minutes": 135
},
"."
],
"timings": {
"start": 227,
"end": 362,
"activeDuration": 135
}
}
],
"metrics": {
"totalMass": 0,
"massStatus": "incomplete",
"missingMassIngredients": []
}
}
],
"warnings": [
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"flour\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"salt\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"butter\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"milk\" — omitted from nutritional totals."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"water\" not found in database — nutritional metrics and density conversions unavailable."
}
],
"metrics": {
"totalTime": 369,
"totalBreakdown": [
{
"label": "section_active:Dough",
"duration": 92
},
{
"label": "section_active:Bake",
"duration": 135
}
],
"idleTime": 135,
"activeTime": 227,
"activeBreakdown": [
{
"label": "section_active:Dough",
"duration": 92
},
{
"label": "section_active:Bake",
"duration": 135
}
],
"preparationTime": 7,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 6
},
{
"label": "cookware_overhead",
"duration": 1
}
],
"totalMass": 2812.5,
"massStatus": "incomplete",
"missingMassIngredients": [
"milk"
],
"nutrition": {
"total": {
"calories": 0,
"fat": 0,
"carbs": 0,
"protein": 0
},
"isEstimate": false,
"coverage": 0,
"warnings": [
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"flour\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"salt\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"butter\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"milk\" — omitted from nutritional totals."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"water\" not found in database — nutritional metrics and density conversions unavailable."
}
],
"portions": 4,
"perPortion": {
"calories": 0,
"fat": 0,
"carbs": 0,
"protein": 0
}
}
},
"miseEnPlace": [
{
"section": 0,
"duration": 6,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 5,
"duration": 5
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
]
},
{
"section": 1,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 6
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 5,
"duration": 5
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s0.1",
"kind": "step",
"section": 0,
"step": 1,
"duration": {
"nominal": 90
},
"after": [
"s0.0"
]
},
{
"id": "s1.prep.dough",
"kind": "prep",
"section": 1,
"intermediate": "dough",
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
],
"after": [
"s0.1"
]
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 135
},
"consumes": [
"dough"
],
"after": [
"s0.1"
]
}
],
"sections": [
{
"day": 0,
"deadline": 270,
"intermediate": "dough"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 368,
"activeTime": 227,
"preparationTime": 7,
"idleTime": 134,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 6
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 6,
"end": 8
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 8,
"end": 98
},
{
"kind": "prep",
"task": "s1.prep.dough",
"section": 1,
"start": 232,
"end": 233
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 233,
"end": 368
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 368,
"sections": [
0,
1
]
}
]
}
}