gram/conformance/cases/032-mise-en-place-per-section/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

724 lines
14 KiB
JSON

{
"title": "Mise en place per section",
"slug": "mise-en-place-per-section",
"meta": {
"title": "Mise en place per section"
},
"registry": {
"ingredients": {
"dough": {
"id": "dough",
"name": "dough",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"water": {
"id": "water",
"name": "water",
"default_unit": "ml"
},
"yeast": {
"id": "yeast",
"name": "yeast",
"default_unit": "g"
},
"filling": {
"id": "filling",
"name": "filling",
"is_intermediate": true
},
"onions": {
"id": "onions",
"name": "onions",
"default_unit": "g"
},
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "g"
}
},
"cookware": {
"bowl": {
"id": "bowl",
"name": "bowl"
},
"pan": {
"id": "pan",
"name": "pan"
}
}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 500,
"unit": "g"
},
{
"id": "water",
"name": "water",
"_usageIds": [
"2"
],
"qty": 300,
"unit": "ml"
},
{
"id": "yeast",
"name": "yeast",
"_usageIds": [
"3"
],
"qty": 5,
"unit": "g"
},
{
"id": "onions",
"name": "onions",
"_usageIds": [
"5"
],
"qty": 200,
"unit": "g"
},
{
"id": "butter",
"name": "butter",
"_usageIds": [
"6"
],
"qty": 30,
"unit": "g"
}
],
"cookware": [
{
"id": "bowl",
"_usageId": "4",
"fixed": false
},
{
"id": "pan",
"_usageId": "7",
"fixed": false
}
],
"sections": [
{
"title": "Dough",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
{
"id": "water",
"_usageId": "2",
"qty": 300,
"unit": "ml"
},
{
"id": "yeast",
"_usageId": "3",
"qty": 5,
"unit": "g"
}
],
"cookware": [
{
"id": "bowl",
"_usageId": "4",
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
", ",
{
"id": "water",
"_usageId": "2",
"qty": 300,
"unit": "ml"
},
"and ",
{
"id": "yeast",
"_usageId": "3",
"qty": 5,
"unit": "g"
},
"in a ",
{
"id": "bowl",
"_usageId": "4",
"fixed": false
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Let the dough rest ",
{
"type": "timer",
"isPassive": true,
"raw": "2h",
"quantity": {
"type": "single",
"value": 2,
"text": "2"
},
"unit": "h",
"minutes": 120
},
"."
],
"timings": {
"start": 2,
"end": 2,
"activeDuration": 0
},
"backgroundTasks": [
{
"duration": 120,
"startOffset": 0
}
],
"action": "Rest"
}
],
"intermediate_preparation": "dough"
},
{
"title": "Filling",
"ingredients": [
{
"id": "onions",
"_usageId": "5",
"qty": 200,
"unit": "g",
"preparation": "finely sliced"
},
{
"id": "butter",
"_usageId": "6",
"qty": 30,
"unit": "g",
"preparation": "cut into cubes"
}
],
"cookware": [
{
"id": "pan",
"_usageId": "7",
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"Cook ",
{
"id": "onions",
"_usageId": "5",
"qty": 200,
"unit": "g",
"preparation": "finely sliced"
},
"with ",
{
"id": "butter",
"_usageId": "6",
"qty": 30,
"unit": "g",
"preparation": "cut into cubes"
},
"in a ",
{
"id": "pan",
"_usageId": "7",
"fixed": false
},
"."
],
"timings": {
"start": 120,
"end": 122,
"activeDuration": 2
}
}
],
"intermediate_preparation": "filling"
},
{
"title": "Assembly",
"ingredients": [
{
"type": "reference",
"id": "filling",
"name": "filling",
"_usageId": "8"
},
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "9"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Spread ",
{
"type": "reference",
"id": "filling",
"name": "filling",
"_usageId": "8"
},
"over ",
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "9"
},
", then bake for ",
{
"type": "timer",
"raw": "25min",
"quantity": {
"type": "single",
"value": 25,
"text": "25"
},
"unit": "min",
"minutes": 25
},
"."
],
"timings": {
"start": 122,
"end": 147,
"activeDuration": 25
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 160,
"totalBreakdown": [
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "timer_passive",
"duration": 120
},
{
"label": "section_active:Assembly",
"duration": 25
}
],
"idleTime": 118,
"activeTime": 29,
"activeBreakdown": [
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "section_active:Filling",
"duration": 2
},
{
"label": "section_active:Assembly",
"duration": 25
}
],
"preparationTime": 13,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 7
},
{
"label": "cookware_overhead",
"duration": 2
},
{
"label": "prep_onions",
"duration": 2
},
{
"label": "prep_butter",
"duration": 2
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 4,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
]
},
{
"section": 1,
"duration": 7,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "onions"
},
"duration": 2
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "butter"
},
"duration": 2
}
]
},
{
"section": 2,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2,
"intermediates": 2
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 4
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"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": 0
},
"after": [
"s0.0"
]
},
{
"id": "s0.1.t0",
"kind": "passive",
"section": 0,
"step": 1,
"offset": 0,
"duration": {
"nominal": 120
},
"after": [
"s0.1"
]
},
{
"id": "s1.prep",
"kind": "prep",
"section": 1,
"duration": {
"nominal": 7
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "onions"
},
"duration": 2
},
{
"kind": "prepare",
"ref": {
"type": "ingredient",
"id": "butter"
},
"duration": 2
}
],
"after": []
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s2.prep.dough",
"kind": "prep",
"section": 2,
"intermediate": "dough",
"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": 25
},
"consumes": [
"filling",
"dough"
],
"after": [
"s1.0",
"s0.1"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "dough"
},
{
"day": 0,
"intermediate": "filling"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 151,
"activeTime": 29,
"preparationTime": 13,
"idleTime": 109,
"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": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 6,
"end": 6
},
{
"kind": "passive",
"task": "s0.1.t0",
"section": 0,
"step": 1,
"start": 6,
"end": 126
},
{
"kind": "prep",
"task": "s1.prep",
"section": 1,
"start": 115,
"end": 122
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 122,
"end": 124
},
{
"kind": "prep",
"task": "s2.prep.dough",
"section": 2,
"start": 124,
"end": 126
},
{
"kind": "step",
"task": "s2.0",
"section": 2,
"step": 0,
"start": 126,
"end": 151
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 151,
"sections": [
0,
1,
2
]
}
]
}
}