gram/conformance/cases/mod-030-mise-en-place-across-module/compiled.json
abiwab 8d1b62e854
All checks were successful
CI / Build & Test (pull_request) Successful in 4m17s
feat(kitchen): read natural timers and anchors with parseDuration
2026-11-14 22:50:41 +01:00

762 lines
14 KiB
JSON

{
"title": "Mise en place across a module",
"slug": "mise-en-place-across-a-module",
"meta": {
"title": "Mise en place across a module"
},
"registry": {
"ingredients": {
"pate": {
"id": "pate",
"name": "pate",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "g"
},
"salt": {
"id": "salt",
"name": "salt",
"default_unit": "g"
},
"filling": {
"id": "filling",
"name": "filling",
"is_intermediate": true
},
"onions": {
"id": "onions",
"name": "onions",
"default_unit": "g"
},
"egg": {
"id": "egg",
"name": "egg"
}
},
"cookware": {
"pan": {
"id": "pan",
"name": "pan"
}
}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 331.13,
"unit": "g"
},
{
"id": "butter",
"name": "butter",
"_usageIds": [
"2",
"5"
],
"qty": 185.56,
"unit": "g"
},
{
"id": "salt",
"name": "salt",
"_usageIds": [
"3"
],
"qty": 3.31,
"unit": "g"
},
{
"id": "onions",
"name": "onions",
"_usageIds": [
"4"
],
"qty": 300,
"unit": "g"
},
{
"id": "egg",
"name": "egg",
"_usageIds": [
"9"
],
"qty": 1
}
],
"cookware": [
{
"id": "pan",
"_usageId": "6",
"fixed": false
}
],
"sections": [
{
"title": "Pate",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 331.13,
"unit": "g"
},
{
"id": "butter",
"_usageId": "2",
"qty": 165.56,
"unit": "g",
"preparation": "cold, cubed"
},
{
"id": "salt",
"_usageId": "3",
"qty": 3.31,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 331.13,
"unit": "g"
},
"with ",
{
"id": "butter",
"_usageId": "2",
"qty": 165.56,
"unit": "g",
"preparation": "cold, cubed"
},
"and ",
{
"id": "salt",
"_usageId": "3",
"qty": 3.31,
"unit": "g"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Let it rest ",
{
"type": "timer",
"isPassive": true,
"raw": "1h",
"quantity": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": "h",
"minutes": 60
},
"."
],
"timings": {
"start": 2,
"end": 2,
"activeDuration": 0
},
"backgroundTasks": [
{
"duration": 60,
"startOffset": 0
}
],
"action": "Rest"
}
],
"intermediate_preparation": "pate",
"module": {
"binding": "pate",
"uri": "bases/pate.gram",
"title": "Pate",
"mode": "inline"
}
},
{
"title": "Filling",
"ingredients": [
{
"id": "onions",
"_usageId": "4",
"qty": 300,
"unit": "g",
"preparation": "finely sliced"
},
{
"id": "butter",
"_usageId": "5",
"qty": 20,
"unit": "g"
}
],
"cookware": [
{
"id": "pan",
"_usageId": "6",
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"Cook ",
{
"id": "onions",
"_usageId": "4",
"qty": 300,
"unit": "g",
"preparation": "finely sliced"
},
"with ",
{
"id": "butter",
"_usageId": "5",
"qty": 20,
"unit": "g"
},
"in a ",
{
"id": "pan",
"_usageId": "6",
"fixed": false
},
"."
],
"timings": {
"start": 60,
"end": 62,
"activeDuration": 2
}
}
],
"intermediate_preparation": "filling"
},
{
"title": "Assembly",
"ingredients": [
{
"type": "reference",
"id": "pate",
"name": "pate",
"_usageId": "7",
"qty": 500,
"unit": "g"
},
{
"type": "reference",
"id": "filling",
"name": "filling",
"_usageId": "8"
},
{
"id": "egg",
"_usageId": "9",
"qty": 1,
"preparation": "beaten"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Fill ",
{
"type": "reference",
"id": "pate",
"name": "pate",
"_usageId": "7",
"qty": 500,
"unit": "g"
},
"with ",
{
"type": "reference",
"id": "filling",
"name": "filling",
"_usageId": "8"
},
", brush with ",
{
"id": "egg",
"_usageId": "9",
"qty": 1,
"preparation": "beaten"
},
"and bake for ",
{
"type": "timer",
"raw": "30min",
"quantity": {
"type": "single",
"value": 30,
"text": "30"
},
"unit": "min",
"minutes": 30
},
"."
],
"timings": {
"start": 62,
"end": 92,
"activeDuration": 30
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 106,
"totalBreakdown": [
{
"label": "section_active:Pate",
"duration": 2
},
{
"label": "timer_passive",
"duration": 60
},
{
"label": "section_active:Assembly",
"duration": 30
}
],
"idleTime": 58,
"activeTime": 34,
"activeBreakdown": [
{
"label": "section_active:Pate",
"duration": 2
},
{
"label": "section_active:Filling",
"duration": 2
},
{
"label": "section_active:Assembly",
"duration": 30
}
],
"preparationTime": 14,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 7
},
{
"label": "cookware_overhead",
"duration": 1
},
{
"label": "prep_butter",
"duration": 2
},
{
"label": "prep_onions",
"duration": 2
},
{
"label": "prep_egg",
"duration": 2
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 5,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "butter"
},
"duration": 2
}
]
},
{
"section": 1,
"duration": 4,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "onions"
},
"duration": 2
}
]
},
{
"section": 2,
"duration": 5,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3,
"intermediates": 2
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "egg"
},
"duration": 2
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 5
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "butter"
},
"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": 0
},
"after": [
"s0.0"
]
},
{
"id": "s0.1.t0",
"kind": "passive",
"section": 0,
"step": 1,
"offset": 0,
"duration": {
"nominal": 60
},
"after": [
"s0.1"
]
},
{
"id": "s1.prep",
"kind": "prep",
"section": 1,
"duration": {
"nominal": 4
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "onions"
},
"duration": 2
}
],
"after": []
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s2.prep",
"kind": "prep",
"section": 2,
"duration": {
"nominal": 3
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "egg"
},
"duration": 2
}
],
"after": []
},
{
"id": "s2.prep.pate",
"kind": "prep",
"section": 2,
"intermediate": "pate",
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
],
"after": [
"s0.1"
]
},
{
"id": "s2.prep.filling",
"kind": "prep",
"section": 2,
"intermediate": "filling",
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
],
"after": [
"s1.0"
]
},
{
"id": "s2.0",
"kind": "step",
"section": 2,
"step": 0,
"duration": {
"nominal": 30
},
"consumes": [
"pate",
"filling"
],
"after": [
"s0.1",
"s1.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "pate"
},
{
"day": 0,
"intermediate": "filling"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 97,
"activeTime": 34,
"preparationTime": 14,
"idleTime": 49,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 5
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 5,
"end": 7
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 7,
"end": 7
},
{
"kind": "passive",
"task": "s0.1.t0",
"section": 0,
"step": 1,
"start": 7,
"end": 67
},
{
"kind": "prep",
"task": "s1.prep",
"section": 1,
"start": 56,
"end": 60
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 60,
"end": 62
},
{
"kind": "prep",
"task": "s2.prep",
"section": 2,
"start": 62,
"end": 67
},
{
"kind": "step",
"task": "s2.0",
"section": 2,
"step": 0,
"start": 67,
"end": 97
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 97,
"sections": [
0,
1,
2
]
}
]
},
"modules": [
{
"binding": "pate",
"uri": "bases/pate.gram",
"title": "Pate",
"meta": {
"title": "Pate"
},
"scaleFactor": 1.6556291390728477,
"mode": "inline"
}
]
}