gram/conformance/cases/mod-004-cross-section-no-false-cycle/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

571 lines
12 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"base": {
"id": "base",
"name": "base",
"is_intermediate": true
},
"farine": {
"id": "farine",
"name": "farine",
"default_unit": "g"
},
"eau": {
"id": "eau",
"name": "eau",
"default_unit": "g"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "farine",
"name": "farine",
"_usageIds": [
"1",
"4"
],
"relative": true,
"qty": 200,
"unit": "g",
"normalizedMass": 200,
"isEstimate": false,
"conversionMethod": "relative"
},
{
"id": "eau",
"name": "eau",
"_usageIds": [
"2",
"3"
],
"relative": true,
"qty": 270,
"unit": "g",
"normalizedMass": 270,
"isEstimate": false,
"conversionMethod": "relative"
}
],
"cookware": [],
"sections": [
{
"title": "Base",
"ingredients": [
{
"id": "farine",
"_usageId": "1",
"qty": 100,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 100
},
{
"id": "eau",
"_usageId": "2",
"qty": {
"type": "single",
"value": 70
},
"dependencies": [
"farine"
],
"formula": {
"raw": "70% of farine",
"target": "farine",
"percent": 70,
"isGhost": false
},
"normalizedMass": 70,
"unit": "g",
"conversionMethod": "relative"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
{
"id": "farine",
"_usageId": "1",
"qty": 100,
"unit": "g",
"normalizedMass": 100,
"conversionMethod": "physical",
"isEstimate": false
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
{
"id": "eau",
"_usageId": "2",
"qty": {
"type": "single",
"value": 70
},
"dependencies": [
"farine"
],
"formula": {
"raw": "70% of farine",
"target": "farine",
"percent": 70,
"isGhost": false
},
"normalizedMass": 70,
"unit": "g",
"conversionMethod": "relative"
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"intermediate_preparation": "base",
"module": {
"binding": "base",
"uri": "base.gram",
"title": null,
"mode": "inline"
},
"metrics": {
"totalMass": 170,
"massStatus": "precise",
"missingMassIngredients": []
}
},
{
"title": "Host",
"ingredients": [
{
"id": "eau",
"_usageId": "3",
"qty": 200,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 200
},
{
"id": "farine",
"_usageId": "4",
"qty": {
"type": "single",
"value": 100
},
"dependencies": [
"eau"
],
"formula": {
"raw": "50% of eau",
"target": "eau",
"percent": 50,
"isGhost": false
},
"normalizedMass": 100,
"unit": "g",
"conversionMethod": "relative"
},
{
"type": "reference",
"id": "base",
"name": "base",
"_usageId": "5",
"qty": 1
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
{
"id": "eau",
"_usageId": "3",
"qty": 200,
"unit": "g",
"normalizedMass": 200,
"conversionMethod": "physical",
"isEstimate": false
},
"."
],
"timings": {
"start": 4,
"end": 6,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
{
"id": "farine",
"_usageId": "4",
"qty": {
"type": "single",
"value": 100
},
"dependencies": [
"eau"
],
"formula": {
"raw": "50% of eau",
"target": "eau",
"percent": 50,
"isGhost": false
},
"normalizedMass": 100,
"unit": "g",
"conversionMethod": "relative"
},
"."
],
"timings": {
"start": 6,
"end": 8,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "base",
"name": "base",
"_usageId": "5",
"qty": 1
},
"."
],
"timings": {
"start": 8,
"end": 10,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 300,
"massStatus": "precise",
"missingMassIngredients": []
}
}
],
"warnings": [
{
"code": "MODULE_BATCH_INTERPRETATION",
"message": "'&base' from \"./base.gram\" requested without unit — scaled as 1 batch(es) of the module.",
"loc": {
"start": 0,
"end": 28
}
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"farine\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"eau\" not found in database — nutritional metrics and density conversions unavailable."
}
],
"metrics": {
"totalTime": 13,
"totalBreakdown": [
{
"label": "section_active:Base",
"duration": 4
},
{
"label": "section_active:Host",
"duration": 6
}
],
"idleTime": 0,
"activeTime": 10,
"activeBreakdown": [
{
"label": "section_active:Base",
"duration": 4
},
{
"label": "section_active:Host",
"duration": 6
}
],
"preparationTime": 3,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 3
}
],
"totalMass": 470,
"massStatus": "precise",
"missingMassIngredients": [],
"nutrition": {
"total": {
"calories": 0,
"fat": 0,
"carbs": 0,
"protein": 0
},
"isEstimate": false,
"coverage": 0,
"warnings": [
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"farine\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"eau\" not found in database — nutritional metrics and density conversions unavailable."
}
]
}
},
"miseEnPlace": [
{
"section": 0,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
]
},
{
"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": 2
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
],
"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": 2
},
"after": [
"s0.0"
]
},
{
"id": "s1.prep.base",
"kind": "prep",
"section": 1,
"intermediate": "base",
"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": 2
},
"after": []
},
{
"id": "s1.1",
"kind": "step",
"section": 1,
"step": 1,
"duration": {
"nominal": 2
},
"after": [
"s1.0"
]
},
{
"id": "s1.2",
"kind": "step",
"section": 1,
"step": 2,
"duration": {
"nominal": 2
},
"consumes": [
"base"
],
"after": [
"s1.1",
"s0.1"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "base"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 13,
"activeTime": 10,
"preparationTime": 3,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 2
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 2,
"end": 4
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 4,
"end": 6
},
{
"kind": "prep",
"task": "s1.prep.base",
"section": 1,
"start": 6,
"end": 7
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 7,
"end": 9
},
{
"kind": "step",
"task": "s1.1",
"section": 1,
"step": 1,
"start": 9,
"end": 11
},
{
"kind": "step",
"task": "s1.2",
"section": 1,
"step": 2,
"start": 11,
"end": 13
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 13,
"sections": [
0,
1
]
}
]
},
"modules": [
{
"binding": "base",
"uri": "base.gram",
"title": null,
"meta": {},
"scaleFactor": 1,
"mode": "inline"
}
]
}