gram/conformance/cases/006-modifiers/analyzed.json
abiwab c653893ab0
All checks were successful
CI / Build, Test & Publish (push) Successful in 4m11s
feat: replace the Gantt chart with the work plan (#88)
Introduce @gram-lang/scheduler, work plan views, mise en place modes, comments option, and CLI/editor integrations.
2026-11-05 09:49:00 +01:00

489 lines
9.8 KiB
JSON

{
"title": "Ingredient Modifiers",
"slug": "ingredient-modifiers",
"meta": {
"title": "Ingredient Modifiers"
},
"registry": {
"ingredients": {
"dough": {
"id": "dough",
"name": "dough",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"secret-spice": {
"id": "secret-spice",
"name": "secret spice",
"default_unit": "pinch"
},
"vanilla": {
"id": "vanilla",
"name": "vanilla",
"default_unit": "tsp"
},
"egg": {
"id": "egg",
"name": "egg"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1",
"5"
],
"modifiers": [
"bakers_percentage",
"reference"
],
"qty": 260,
"unit": "g",
"normalizedMass": 260,
"isEstimate": false,
"conversionMethod": "physical",
"bakersPercentage": 100
},
{
"id": "secret-spice",
"name": "secret spice",
"_usageIds": [
"2"
],
"modifiers": [
"hidden"
],
"qty": 1,
"unit": "pinch"
},
{
"id": "vanilla",
"name": "vanilla",
"_usageIds": [
"3"
],
"modifiers": [
"optional"
],
"qty": 1,
"unit": "tsp"
},
{
"id": "egg",
"name": "egg",
"_usageIds": [
"4"
],
"qty": 2
}
],
"cookware": [],
"sections": [
{
"title": "Prep",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 250,
"unit": "g",
"modifiers": [
"bakers_percentage"
],
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 250,
"bakersPercentage": 96.15
},
{
"id": "secret-spice",
"_usageId": "2",
"qty": 1,
"unit": "pinch",
"modifiers": [
"hidden"
]
},
{
"id": "vanilla",
"_usageId": "3",
"qty": 1,
"unit": "tsp",
"modifiers": [
"optional"
]
},
{
"id": "egg",
"_usageId": "4",
"qty": 2
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix the ",
{
"id": "flour",
"_usageId": "1",
"qty": 250,
"unit": "g",
"modifiers": [
"bakers_percentage"
],
"normalizedMass": 250,
"conversionMethod": "physical",
"isEstimate": false,
"bakersPercentage": 96.15
},
", a ",
{
"id": "secret-spice",
"_usageId": "2",
"qty": 1,
"unit": "pinch",
"modifiers": [
"hidden"
]
},
", ",
{
"id": "vanilla",
"_usageId": "3",
"qty": 1,
"unit": "tsp",
"modifiers": [
"optional"
]
},
"and ",
{
"id": "egg",
"_usageId": "4",
"qty": 2
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"intermediate_preparation": "dough",
"metrics": {
"totalMass": 250,
"massStatus": "incomplete",
"missingMassIngredients": [
"secret-spice",
"egg"
]
}
},
{
"title": "Bake",
"ingredients": [
{
"id": "flour",
"_usageId": "5",
"qty": 10,
"unit": "g",
"modifiers": [
"reference"
],
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 10,
"bakersPercentage": 3.85
},
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "6"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Add more ",
{
"id": "flour",
"_usageId": "5",
"qty": 10,
"unit": "g",
"modifiers": [
"reference"
],
"normalizedMass": 10,
"conversionMethod": "physical",
"isEstimate": false,
"bakersPercentage": 3.85
},
"to the ",
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "6"
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 10,
"massStatus": "precise",
"missingMassIngredients": []
}
}
],
"warnings": [
{
"code": "MISSING_INGREDIENT",
"message": "Ingredient \"flour\" not found in database — nutritional metrics and density conversions unavailable."
},
{
"code": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"secret-spice\" — omitted from nutritional totals."
},
{
"code": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"egg\" — omitted from nutritional totals."
}
],
"metrics": {
"totalTime": 9,
"totalBreakdown": [
{
"label": "section_active:Prep",
"duration": 2
},
{
"label": "section_active:Bake",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:Prep",
"duration": 2
},
{
"label": "section_active:Bake",
"duration": 2
}
],
"preparationTime": 5,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 5
}
],
"totalMass": 260,
"massStatus": "incomplete",
"missingMassIngredients": [
"secret-spice",
"egg"
],
"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": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"secret-spice\" — omitted from nutritional totals."
},
{
"code": "UNKNOWN_MASS",
"message": "Cannot calculate mass for \"egg\" — omitted from nutritional totals."
}
]
}
},
"miseEnPlace": [
{
"section": 0,
"duration": 4,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
}
]
},
{
"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": 4
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"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.0"
]
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"consumes": [
"dough"
],
"after": [
"s0.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "dough"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 9,
"activeTime": 4,
"preparationTime": 5,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 4
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 4,
"end": 6
},
{
"kind": "prep",
"task": "s1.prep.dough",
"section": 1,
"start": 6,
"end": 7
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 7,
"end": 9
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 9,
"sections": [
0,
1
]
}
]
}
}