gram/conformance/cases/054-whole-intermediate/compiled.json

609 lines
13 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"dough": {
"id": "dough",
"name": "dough",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"water": {
"id": "water",
"name": "water"
},
"salt": {
"id": "salt",
"name": "salt"
},
"sugar": {
"id": "sugar",
"name": "sugar"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 500,
"unit": "g"
},
{
"id": "water",
"name": "water",
"_usageIds": [
"2"
],
"relative": true,
"variable_entries": [
"60% of flour"
]
},
{
"id": "salt",
"name": "salt",
"_usageIds": [
"4"
],
"relative": true,
"variable_entries": [
"2 g / 100 g &dough"
]
},
{
"id": "sugar",
"name": "sugar",
"_usageIds": [
"5"
],
"relative": true,
"variable_entries": [
"5% of dough"
]
}
],
"cookware": [],
"sections": [
{
"title": "Dough",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
{
"id": "water",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 60,
"target": "flour",
"referenceType": "ingredient",
"loc": {
"start": 48,
"end": 59
}
},
"dependencies": [
"flour"
],
"formula": {
"raw": "60% of flour",
"target": "flour",
"percent": 60,
"isGhost": false
}
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
"and ",
{
"id": "water",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 60,
"target": "flour",
"referenceType": "ingredient",
"loc": {
"start": 48,
"end": 59
}
},
"dependencies": [
"flour"
],
"formula": {
"raw": "60% of flour",
"target": "flour",
"percent": 60,
"isGhost": false
}
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"intermediate_preparation": "dough"
},
{
"title": "Bake",
"ingredients": [
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "3"
},
{
"id": "salt",
"_usageId": "4",
"qty": {
"type": "RatioQuantity",
"numerator": {
"value": {
"type": "single",
"value": 2,
"text": "2"
},
"unit": "g"
},
"denominator": {
"value": {
"type": "single",
"value": 100
},
"unit": "g"
},
"target": "dough",
"referenceType": "variable",
"raw": "2 g / 100 g &dough"
},
"dependencies": [
"dough"
],
"formula": {
"raw": "2 g / 100 g &dough",
"target": "dough",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 2,
"text": "2"
},
"unit": "g"
},
"denominator": {
"value": 100,
"unit": "g"
},
"target": "dough",
"targetId": "dough",
"referenceType": "variable",
"raw": "2 g / 100 g &dough",
"loc": {
"start": 108,
"end": 126
}
},
"isGhost": false
}
},
{
"id": "sugar",
"_usageId": "5",
"qty": {
"type": "RelativeQuantity",
"percent": 5,
"target": "dough",
"referenceType": "variable",
"loc": {
"start": 139,
"end": 148
}
},
"dependencies": [
"dough"
],
"formula": {
"raw": "5% of dough",
"target": "dough",
"percent": 5,
"isGhost": false
}
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Roll out the ",
{
"type": "reference",
"id": "dough",
"name": "dough",
"_usageId": "3"
},
", sprinkle ",
{
"id": "salt",
"_usageId": "4",
"qty": {
"type": "RatioQuantity",
"numerator": {
"value": {
"type": "single",
"value": 2,
"text": "2"
},
"unit": "g"
},
"denominator": {
"value": {
"type": "single",
"value": 100
},
"unit": "g"
},
"target": "dough",
"referenceType": "variable",
"raw": "2 g / 100 g &dough"
},
"dependencies": [
"dough"
],
"formula": {
"raw": "2 g / 100 g &dough",
"target": "dough",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 2,
"text": "2"
},
"unit": "g"
},
"denominator": {
"value": 100,
"unit": "g"
},
"target": "dough",
"targetId": "dough",
"referenceType": "variable",
"raw": "2 g / 100 g &dough",
"loc": {
"start": 108,
"end": 126
}
},
"isGhost": false
}
},
"and ",
{
"id": "sugar",
"_usageId": "5",
"qty": {
"type": "RelativeQuantity",
"percent": 5,
"target": "dough",
"referenceType": "variable",
"loc": {
"start": 139,
"end": 148
}
},
"dependencies": [
"dough"
],
"formula": {
"raw": "5% of dough",
"target": "dough",
"percent": 5,
"isGhost": false
}
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Bake ",
{
"type": "timer",
"isPassive": true,
"raw": "30 min / 1 kg &dough",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 30
},
"unit": "min"
},
"denominator": {
"value": 1,
"unit": "kg"
},
"target": "dough",
"targetId": "dough",
"referenceType": "variable",
"raw": "30 min / 1 kg &dough",
"loc": {
"start": 160,
"end": 180
}
}
},
"."
],
"timings": {
"start": 4,
"end": 6,
"activeDuration": 2
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 11,
"totalBreakdown": [
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "section_active:Bake",
"duration": 4
}
],
"idleTime": 0,
"activeTime": 6,
"activeBreakdown": [
{
"label": "section_active:Dough",
"duration": 2
},
{
"label": "section_active:Bake",
"duration": 4
}
],
"preparationTime": 5,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 5
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
]
},
{
"section": 1,
"duration": 3,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3,
"intermediates": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 2
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s1.prep",
"kind": "prep",
"section": 1,
"duration": {
"nominal": 2
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
],
"after": []
},
{
"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.0"
]
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"consumes": [
"dough"
],
"after": [
"s0.0"
]
},
{
"id": "s1.1",
"kind": "step",
"section": 1,
"step": 1,
"duration": {
"nominal": 2
},
"after": [
"s1.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "dough"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 11,
"activeTime": 6,
"preparationTime": 5,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 2
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 2,
"end": 4
},
{
"kind": "prep",
"task": "s1.prep",
"section": 1,
"start": 4,
"end": 7
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 7,
"end": 9
},
{
"kind": "step",
"task": "s1.1",
"section": 1,
"step": 1,
"start": 9,
"end": 11
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 11,
"sections": [
0,
1
]
}
]
}
}