gram/conformance/cases/039-timer-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

218 lines
4.2 KiB
JSON

{
"title": "Timer Compound",
"slug": "timer-compound",
"meta": {
"title": "Timer Compound"
},
"registry": {
"ingredients": {},
"cookware": {}
},
"shopping_list": [],
"cookware": [],
"sections": [
{
"title": "Braise",
"ingredients": [],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Sear for ",
{
"type": "timer",
"raw": "1h30",
"quantity": {
"type": "single",
"value": 90
},
"unit": "min",
"minutes": 90
},
", then ",
{
"type": "timer",
"raw": "1 hr 30 mins",
"quantity": {
"type": "single",
"value": 90
},
"unit": "min",
"minutes": 90
},
"and ",
{
"type": "timer",
"raw": "1 heure 30",
"quantity": {
"type": "single",
"value": 90
},
"unit": "min",
"minutes": 90
},
"."
],
"timings": {
"start": 0,
"end": 270,
"activeDuration": 270
}
},
{
"type": "step",
"content": [
"Simmer ",
{
"type": "timer",
"isPassive": true,
"raw": "2min30",
"quantity": {
"type": "single",
"value": 150
},
"unit": "s",
"minutes": 2.5
},
"and reduce ",
{
"type": "timer",
"raw": "1h + 30min",
"quantity": {
"type": "single",
"value": 90
},
"unit": "min",
"minutes": 90
},
"."
],
"timings": {
"start": 270,
"end": 360,
"activeDuration": 90
},
"backgroundTasks": [
{
"duration": 2.5,
"startOffset": 0
}
]
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 360,
"totalBreakdown": [
{
"label": "section_active:Braise",
"duration": 357.5
},
{
"label": "timer_passive",
"duration": 2.5
}
],
"idleTime": 0,
"activeTime": 360,
"activeBreakdown": [
{
"label": "section_active:Braise",
"duration": 360
}
],
"preparationTime": 0
},
"miseEnPlace": [],
"tasks": {
"tasks": [
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 270
},
"after": []
},
{
"id": "s0.1",
"kind": "step",
"section": 0,
"step": 1,
"duration": {
"nominal": 90
},
"after": [
"s0.0"
]
},
{
"id": "s0.1.t0",
"kind": "passive",
"section": 0,
"step": 1,
"offset": 0,
"duration": {
"nominal": 2.5
},
"after": [
"s0.1"
]
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 360,
"activeTime": 360,
"preparationTime": 0,
"idleTime": 0,
"blocks": [
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 0,
"end": 270
},
{
"kind": "passive",
"task": "s0.1.t0",
"section": 0,
"step": 1,
"start": 270,
"end": 272.5
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 270,
"end": 360
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 360,
"sections": [
0
]
}
]
}
}