gram/conformance/cases/051-ratio-with-unit/compiled.json

941 lines
20 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"eggs": {
"id": "eggs",
"name": "eggs"
},
"garlic": {
"id": "garlic",
"name": "garlic",
"default_unit": "clove"
},
"parsley": {
"id": "parsley",
"name": "parsley"
},
"water": {
"id": "water",
"name": "water",
"default_unit": "g"
},
"salt": {
"id": "salt",
"name": "salt"
},
"roast": {
"id": "roast",
"name": "roast",
"default_unit": "kg"
},
"shoulder": {
"id": "shoulder",
"name": "shoulder",
"default_unit": "kg"
},
"cutlet": {
"id": "cutlet",
"name": "cutlet"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 500,
"unit": "g"
},
{
"id": "eggs",
"name": "eggs",
"_usageIds": [
"2"
],
"relative": true,
"qty": 5
},
{
"id": "garlic",
"name": "garlic",
"_usageIds": [
"3"
],
"qty": 3,
"unit": "clove"
},
{
"id": "parsley",
"name": "parsley",
"_usageIds": [
"4"
],
"relative": true,
"qty": 1.5,
"unit": "tsp"
},
{
"id": "water",
"name": "water",
"_usageIds": [
"5"
],
"qty": 500,
"unit": "g"
},
{
"id": "salt",
"name": "salt",
"_usageIds": [
"6"
],
"relative": true,
"variable_entries": [
"15 g / L @&water"
]
},
{
"id": "roast",
"name": "roast",
"_usageIds": [
"7"
],
"qty": 1.2,
"unit": "kg"
},
{
"id": "shoulder",
"name": "shoulder",
"_usageIds": [
"8"
],
"qty": 2,
"unit": "kg"
},
{
"id": "cutlet",
"name": "cutlet",
"_usageIds": [
"9"
],
"qty": 4
}
],
"cookware": [],
"sections": [
{
"title": "Batter",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
{
"id": "eggs",
"_usageId": "2",
"qty": {
"type": "single",
"value": 5
},
"dependencies": [
"flour"
],
"formula": {
"raw": "1 / 100 g @&flour",
"target": "flour",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 1,
"text": "1"
}
},
"denominator": {
"value": 100,
"unit": "g"
},
"target": "flour",
"targetId": "flour",
"referenceType": "ingredient",
"raw": "1 / 100 g @&flour",
"loc": {
"start": 40,
"end": 57
}
},
"isGhost": false
}
},
{
"id": "garlic",
"_usageId": "3",
"qty": 3,
"unit": "clove"
},
{
"id": "parsley",
"_usageId": "4",
"qty": {
"type": "single",
"value": 1.5
},
"dependencies": [
"garlic"
],
"formula": {
"raw": "1 tsp / 2 cloves @&garlic",
"target": "garlic",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": "tsp"
},
"denominator": {
"value": 2,
"unit": "cloves"
},
"target": "garlic",
"targetId": "garlic",
"referenceType": "ingredient",
"raw": "1 tsp / 2 cloves @&garlic",
"loc": {
"start": 98,
"end": 123
}
},
"isGhost": false
},
"unit": "tsp"
},
{
"id": "water",
"_usageId": "5",
"qty": 500,
"unit": "g"
},
{
"id": "salt",
"_usageId": "6",
"qty": {
"type": "RatioQuantity",
"numerator": {
"value": {
"type": "single",
"value": 15,
"text": "15"
},
"unit": "g"
},
"denominator": {
"value": {
"type": "single",
"value": 1
},
"unit": "L"
},
"target": "water",
"referenceType": "ingredient",
"raw": "15 g / 1 L @&water"
},
"dependencies": [
"water"
],
"formula": {
"raw": "15 g / 1 L @&water",
"target": "water",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 15,
"text": "15"
},
"unit": "g"
},
"denominator": {
"value": 1,
"unit": "L"
},
"target": "water",
"targetId": "water",
"referenceType": "ingredient",
"raw": "15 g / 1 L @&water",
"loc": {
"start": 156,
"end": 174
}
},
"isGhost": false
}
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 500,
"unit": "g"
},
"with ",
{
"id": "eggs",
"_usageId": "2",
"qty": {
"type": "single",
"value": 5
},
"dependencies": [
"flour"
],
"formula": {
"raw": "1 / 100 g @&flour",
"target": "flour",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 1,
"text": "1"
}
},
"denominator": {
"value": 100,
"unit": "g"
},
"target": "flour",
"targetId": "flour",
"referenceType": "ingredient",
"raw": "1 / 100 g @&flour",
"loc": {
"start": 40,
"end": 57
}
},
"isGhost": false
}
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Crush ",
{
"id": "garlic",
"_usageId": "3",
"qty": 3,
"unit": "clove"
},
"with ",
{
"id": "parsley",
"_usageId": "4",
"qty": {
"type": "single",
"value": 1.5
},
"dependencies": [
"garlic"
],
"formula": {
"raw": "1 tsp / 2 cloves @&garlic",
"target": "garlic",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": "tsp"
},
"denominator": {
"value": 2,
"unit": "cloves"
},
"target": "garlic",
"targetId": "garlic",
"referenceType": "ingredient",
"raw": "1 tsp / 2 cloves @&garlic",
"loc": {
"start": 98,
"end": 123
}
},
"isGhost": false
},
"unit": "tsp"
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Pour ",
{
"id": "water",
"_usageId": "5",
"qty": 500,
"unit": "g"
},
"and ",
{
"id": "salt",
"_usageId": "6",
"qty": {
"type": "RatioQuantity",
"numerator": {
"value": {
"type": "single",
"value": 15,
"text": "15"
},
"unit": "g"
},
"denominator": {
"value": {
"type": "single",
"value": 1
},
"unit": "L"
},
"target": "water",
"referenceType": "ingredient",
"raw": "15 g / 1 L @&water"
},
"dependencies": [
"water"
],
"formula": {
"raw": "15 g / 1 L @&water",
"target": "water",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 15,
"text": "15"
},
"unit": "g"
},
"denominator": {
"value": 1,
"unit": "L"
},
"target": "water",
"targetId": "water",
"referenceType": "ingredient",
"raw": "15 g / 1 L @&water",
"loc": {
"start": 156,
"end": 174
}
},
"isGhost": false
}
},
"."
],
"timings": {
"start": 4,
"end": 6,
"activeDuration": 2
}
}
]
},
{
"title": "Roast",
"ingredients": [
{
"id": "roast",
"_usageId": "7",
"qty": 1.2,
"unit": "kg"
},
{
"id": "shoulder",
"_usageId": "8",
"qty": 2,
"unit": "kg"
},
{
"id": "cutlet",
"_usageId": "9",
"qty": 4
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Season ",
{
"id": "roast",
"_usageId": "7",
"qty": 1.2,
"unit": "kg"
},
"and roast ",
{
"type": "timer",
"raw": "15 min / 500 g @&roast",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 15
},
"unit": "min"
},
"denominator": {
"value": 500,
"unit": "g"
},
"target": "roast",
"targetId": "roast",
"referenceType": "ingredient",
"raw": "15 min / 500 g @&roast",
"loc": {
"start": 222,
"end": 244
}
},
"quantity": {
"type": "single",
"value": 36
},
"unit": "min",
"minutes": 36
},
"."
],
"timings": {
"start": 6,
"end": 42,
"activeDuration": 36
}
},
{
"type": "step",
"content": [
"Braise ",
{
"id": "shoulder",
"_usageId": "8",
"qty": 2,
"unit": "kg"
},
{
"type": "timer",
"isPassive": true,
"raw": "1:30 h / 1 kg @&shoulder",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 90
},
"unit": "min"
},
"denominator": {
"value": 1,
"unit": "kg"
},
"target": "shoulder",
"targetId": "shoulder",
"referenceType": "ingredient",
"raw": "1:30 h / 1 kg @&shoulder",
"loc": {
"start": 274,
"end": 298
}
},
"quantity": {
"type": "single",
"value": 180
},
"unit": "min",
"minutes": 180
},
"."
],
"timings": {
"start": 42,
"end": 42,
"activeDuration": 0
},
"backgroundTasks": [
{
"duration": 180,
"startOffset": 0
}
]
},
{
"type": "step",
"content": [
"Fry ",
{
"id": "cutlet",
"_usageId": "9",
"qty": 4
},
{
"type": "timer",
"raw": "4 min / @&cutlet",
"ratio": {
"numerator": {
"value": {
"type": "single",
"value": 4
},
"unit": "min"
},
"denominator": {
"value": 1
},
"target": "cutlet",
"targetId": "cutlet",
"referenceType": "ingredient",
"raw": "4 min / @&cutlet",
"loc": {
"start": 319,
"end": 335
}
},
"quantity": {
"type": "single",
"value": 16
},
"unit": "min",
"minutes": 16
},
"."
],
"timings": {
"start": 42,
"end": 58,
"activeDuration": 16
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 231,
"totalBreakdown": [
{
"label": "section_active:Batter",
"duration": 6
},
{
"label": "section_active:Roast",
"duration": 52
},
{
"label": "timer_passive",
"duration": 164
}
],
"idleTime": 164,
"activeTime": 58,
"activeBreakdown": [
{
"label": "section_active:Batter",
"duration": 6
},
{
"label": "section_active:Roast",
"duration": 52
}
],
"preparationTime": 9,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 9
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 6,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 6,
"duration": 6
}
]
},
{
"section": 1,
"duration": 3,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 6
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 6,
"duration": 6
}
],
"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": 2
},
"after": [
"s0.0"
]
},
{
"id": "s0.2",
"kind": "step",
"section": 0,
"step": 2,
"duration": {
"nominal": 2
},
"after": [
"s0.1"
]
},
{
"id": "s1.prep",
"kind": "prep",
"section": 1,
"duration": {
"nominal": 3
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
}
],
"after": []
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 36
},
"after": []
},
{
"id": "s1.1",
"kind": "step",
"section": 1,
"step": 1,
"duration": {
"nominal": 0
},
"after": [
"s1.0"
]
},
{
"id": "s1.1.t0",
"kind": "passive",
"section": 1,
"step": 1,
"offset": 0,
"duration": {
"nominal": 180
},
"after": [
"s1.1"
]
},
{
"id": "s1.2",
"kind": "step",
"section": 1,
"step": 2,
"duration": {
"nominal": 16
},
"after": [
"s1.1"
]
}
],
"sections": [
{
"day": 0
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 231,
"activeTime": 58,
"preparationTime": 9,
"idleTime": 164,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 6
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 6,
"end": 8
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 8,
"end": 10
},
{
"kind": "step",
"task": "s0.2",
"section": 0,
"step": 2,
"start": 10,
"end": 12
},
{
"kind": "prep",
"task": "s1.prep",
"section": 1,
"start": 12,
"end": 15
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 15,
"end": 51
},
{
"kind": "step",
"task": "s1.1",
"section": 1,
"step": 1,
"start": 51,
"end": 51
},
{
"kind": "step",
"task": "s1.2",
"section": 1,
"step": 2,
"start": 51,
"end": 67
},
{
"kind": "passive",
"task": "s1.1.t0",
"section": 1,
"step": 1,
"start": 51,
"end": 231
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 67,
"sections": [
0,
1
]
}
]
}
}