gram/conformance/cases/003-quantity-forms/compiled.json
abiwab a9e623103d
All checks were successful
CI / Build & Test (pull_request) Successful in 4m23s
feat(kitchen): add up shopping entries by unit ladder and ranges by their bounds
2026-11-15 14:42:49 +01:00

310 lines
5.9 KiB
JSON

{
"title": "Quantity Forms",
"slug": "quantity-forms",
"meta": {
"title": "Quantity Forms"
},
"registry": {
"ingredients": {
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "cups"
},
"sugar": {
"id": "sugar",
"name": "sugar",
"default_unit": "cup"
},
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "cups"
},
"water": {
"id": "water",
"name": "water",
"default_unit": "cups"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 1.5,
"unit": "cups"
},
{
"id": "sugar",
"name": "sugar",
"_usageIds": [
"2"
],
"qty": 0.5,
"unit": "cup"
},
{
"id": "butter",
"name": "butter",
"_usageIds": [
"3"
],
"qty": 1.5,
"unit": "cups"
},
{
"id": "water",
"name": "water",
"_usageIds": [
"4"
],
"qty": 2,
"unit": "cups",
"range": {
"min": 1.5,
"max": 2.5
}
}
],
"cookware": [],
"sections": [
{
"title": "Section",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": {
"type": "fraction",
"value": 1.5,
"numerator": 3,
"denominator": 2,
"text": "1 1/2"
},
"unit": "cups"
},
{
"id": "sugar",
"_usageId": "2",
"qty": {
"type": "fraction",
"value": 0.5,
"numerator": 1,
"denominator": 2,
"text": "½"
},
"unit": "cup"
},
{
"id": "butter",
"_usageId": "3",
"qty": {
"type": "fraction",
"value": 1.5,
"numerator": 3,
"denominator": 2,
"text": "1½"
},
"unit": "cups"
},
{
"id": "water",
"_usageId": "4",
"qty": {
"type": "range",
"value": 2,
"range": {
"min": 1.5,
"max": 2.5
},
"text": "1 1/2-2 1/2"
},
"unit": "cups"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Add ",
{
"id": "flour",
"_usageId": "1",
"qty": {
"type": "fraction",
"value": 1.5,
"numerator": 3,
"denominator": 2,
"text": "1 1/2"
},
"unit": "cups"
},
", ",
{
"id": "sugar",
"_usageId": "2",
"qty": {
"type": "fraction",
"value": 0.5,
"numerator": 1,
"denominator": 2,
"text": "½"
},
"unit": "cup"
},
", ",
{
"id": "butter",
"_usageId": "3",
"qty": {
"type": "fraction",
"value": 1.5,
"numerator": 3,
"denominator": 2,
"text": "1½"
},
"unit": "cups"
},
"and ",
{
"id": "water",
"_usageId": "4",
"qty": {
"type": "range",
"value": 2,
"range": {
"min": 1.5,
"max": 2.5
},
"text": "1 1/2-2 1/2"
},
"unit": "cups"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 6,
"totalBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"preparationTime": 4,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 4
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 4,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 4
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 6,
"activeTime": 2,
"preparationTime": 4,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 4
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 4,
"end": 6
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 6,
"sections": [
0
]
}
]
}
}