gram/conformance/cases/034-schedule-timer-ranges/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

468 lines
8.9 KiB
JSON

{
"title": "Overnight dough with a range",
"slug": "overnight-dough-with-a-range",
"meta": {
"title": "Overnight dough with a range"
},
"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"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 500,
"unit": "g"
},
{
"id": "water",
"name": "water",
"_usageIds": [
"2"
],
"qty": 350,
"unit": "ml"
},
{
"id": "yeast",
"name": "yeast",
"_usageIds": [
"3"
],
"qty": 3,
"unit": "g"
}
],
"cookware": [],
"sections": [
{
"title": "Dough",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
{
"id": "water",
"_usageId": "2",
"qty": 350,
"unit": "ml"
},
{
"id": "yeast",
"_usageId": "3",
"qty": 3,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
"with ",
{
"id": "water",
"_usageId": "2",
"qty": 350,
"unit": "ml"
},
"and ",
{
"id": "yeast",
"_usageId": "3",
"qty": 3,
"unit": "g"
},
", then knead for ",
{
"type": "timer",
"raw": "10min",
"quantity": {
"type": "single",
"value": 10,
"text": "10"
},
"unit": "min",
"minutes": 10
},
"."
],
"timings": {
"start": 0,
"end": 10,
"activeDuration": 10
},
"action": "Mix"
},
{
"type": "step",
"content": [
"Let it rise in the fridge ",
{
"type": "timer",
"isPassive": true,
"raw": "12-24h",
"quantity": {
"type": "range",
"value": 18,
"range": {
"min": 12,
"max": 24
},
"text": "12-24"
},
"unit": "h",
"minutes": 1080
},
"."
],
"timings": {
"start": 10,
"end": 10,
"activeDuration": 0
},
"backgroundTasks": [
{
"duration": 1080,
"startOffset": 0
}
],
"action": "Rest"
}
],
"intermediate_preparation": "dough"
},
{
"title": "Bake",
"ingredients": [
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "4",
"qty": 850,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Shape ",
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "4",
"qty": 850,
"unit": "g"
},
"and bake at ",
{
"type": "temperature",
"quantity": {
"type": "single",
"value": 240,
"text": "240"
},
"unit": "°C"
},
"for ",
{
"type": "timer",
"raw": "20-25min",
"quantity": {
"type": "range",
"value": 22.5,
"range": {
"min": 20,
"max": 25
},
"text": "20-25"
},
"unit": "min",
"minutes": 22.5
},
"."
],
"timings": {
"start": 1090,
"end": 1112.5,
"activeDuration": 22.5
},
"action": "Bake"
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 1116.5,
"totalBreakdown": [
{
"label": "section_active:Dough",
"duration": 10
},
{
"label": "timer_passive",
"duration": 1080
},
{
"label": "section_active:Bake",
"duration": 22.5
}
],
"idleTime": 1080,
"activeTime": 32.5,
"activeBreakdown": [
{
"label": "section_active:Dough",
"duration": 10
},
{
"label": "section_active:Bake",
"duration": 22.5
}
],
"preparationTime": 4,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 4
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 3,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
}
]
},
{
"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": 3
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 10
},
"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": 720,
"min": 720,
"max": 1440
},
"after": [
"s0.1"
]
},
{
"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.1"
]
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 25
},
"consumes": [
"dough"
],
"after": [
"s0.1"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "dough"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 758,
"activeTime": 35,
"preparationTime": 4,
"idleTime": 719,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 3
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 3,
"end": 13
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 13,
"end": 13
},
{
"kind": "passive",
"task": "s0.1.t0",
"section": 0,
"step": 1,
"start": 13,
"end": 733
},
{
"kind": "prep",
"task": "s1.prep.dough",
"section": 1,
"start": 732,
"end": 733
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 733,
"end": 758
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 758,
"sections": [
0,
1
]
}
]
}
}