gram/conformance/cases/043-anchor-compound/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

484 lines
8.6 KiB
JSON

{
"title": "Anchor Compound",
"slug": "anchor-compound",
"meta": {
"title": "Anchor Compound"
},
"registry": {
"ingredients": {
"chicken": {
"id": "chicken",
"name": "chicken"
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"wine": {
"id": "wine",
"name": "wine",
"default_unit": "cl"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "chicken",
"name": "chicken",
"_usageIds": [
"1"
],
"qty": 1
},
{
"id": "flour",
"name": "flour",
"_usageIds": [
"2"
],
"qty": 500,
"unit": "g"
},
{
"id": "wine",
"name": "wine",
"_usageIds": [
"3"
],
"qty": 20,
"unit": "cl"
}
],
"cookware": [],
"sections": [
{
"title": "Brine",
"ingredients": [
{
"id": "chicken",
"_usageId": "1",
"qty": 1
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Brine the ",
{
"id": "chicken",
"_usageId": "1",
"qty": 1
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"retro_planning": {
"raw": "-1j 12h",
"sign": -1,
"value": 1.5,
"unit": "d",
"minutes": -2160
}
},
{
"title": "Dough",
"ingredients": [
{
"id": "flour",
"_usageId": "2",
"qty": 500,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "2",
"qty": 500,
"unit": "g"
},
"."
],
"timings": {
"start": 2068,
"end": 2070,
"activeDuration": 2
}
}
],
"retro_planning": {
"raw": "-1h30",
"sign": -1,
"value": 90,
"unit": "min",
"minutes": -90
}
},
{
"title": "Sauce",
"ingredients": [
{
"id": "wine",
"_usageId": "3",
"qty": 20,
"unit": "cl"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Reduce ",
{
"id": "wine",
"_usageId": "3",
"qty": 20,
"unit": "cl"
},
"."
],
"timings": {
"start": 2070,
"end": 2072,
"activeDuration": 2
}
}
],
"retro_planning": {
"raw": "-1:30 h",
"sign": -1,
"value": 90,
"unit": "min",
"minutes": -90
}
},
{
"title": "Cook",
"ingredients": [],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Roast for ",
{
"type": "timer",
"raw": "1h",
"quantity": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": "h",
"minutes": 60
},
"."
],
"timings": {
"start": 2102,
"end": 2162,
"activeDuration": 60
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 2165,
"totalBreakdown": [
{
"label": "section_active:Brine",
"duration": 2
},
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "section_active:Sauce",
"duration": 2
},
{
"label": "section_active:Cook",
"duration": 60
}
],
"idleTime": 2096,
"activeTime": 66,
"activeBreakdown": [
{
"label": "section_active:Brine",
"duration": 2
},
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "section_active:Sauce",
"duration": 2
},
{
"label": "section_active:Cook",
"duration": 60
}
],
"preparationTime": 3,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 3
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
]
},
{
"section": 1,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
]
},
{
"section": 2,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s1.prep",
"kind": "prep",
"section": 1,
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s2.prep",
"kind": "prep",
"section": 2,
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s2.0",
"kind": "step",
"section": 2,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s3.0",
"kind": "step",
"section": 3,
"step": 0,
"duration": {
"nominal": 60
},
"after": []
}
],
"sections": [
{
"day": 1,
"deadline": 2160
},
{
"day": 0,
"deadline": 90
},
{
"day": 0,
"deadline": 90
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 2163,
"activeTime": 66,
"preparationTime": 3,
"idleTime": 2094,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 1
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 1,
"end": 3
},
{
"kind": "prep",
"task": "s1.prep",
"section": 1,
"start": 2067,
"end": 2068
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 2068,
"end": 2070
},
{
"kind": "prep",
"task": "s2.prep",
"section": 2,
"start": 2070,
"end": 2071
},
{
"kind": "step",
"task": "s2.0",
"section": 2,
"step": 0,
"start": 2071,
"end": 2073
},
{
"kind": "step",
"task": "s3.0",
"section": 3,
"step": 0,
"start": 2103,
"end": 2163
}
],
"days": [
{
"day": 1,
"start": 0,
"end": 3,
"sections": [
0
]
},
{
"day": 0,
"start": 2067,
"end": 2163,
"sections": [
1,
2,
3
]
}
]
}
}