gram/conformance/cases/002-basic-ingredients/compiled.json
abiwab c653893ab0
All checks were successful
CI / Build, Test & Publish (push) Successful in 4m11s
feat: replace the Gantt chart with the work plan (#88)
Introduce @gram-lang/scheduler, work plan views, mise en place modes, comments option, and CLI/editor integrations.
2026-11-05 09:49:00 +01:00

282 lines
4.9 KiB
JSON

{
"title": "Basic Ingredients",
"slug": "basic-ingredients",
"meta": {
"title": "Basic Ingredients"
},
"registry": {
"ingredients": {
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"milk": {
"id": "milk",
"name": "milk",
"default_unit": "ml"
},
"egg": {
"id": "egg",
"name": "egg"
},
"salt": {
"id": "salt",
"name": "salt"
}
},
"cookware": {
"bowl": {
"id": "bowl",
"name": "bowl"
}
}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"2"
],
"qty": 200,
"unit": "g"
},
{
"id": "milk",
"name": "milk",
"_usageIds": [
"3"
],
"qty": 200,
"unit": "ml"
},
{
"id": "egg",
"name": "egg",
"_usageIds": [
"4"
],
"qty": 2
},
{
"id": "salt",
"name": "salt",
"_usageIds": [
"5"
]
}
],
"cookware": [
{
"id": "bowl",
"_usageId": "1",
"fixed": false
}
],
"sections": [
{
"title": "Section",
"ingredients": [
{
"id": "flour",
"_usageId": "2",
"qty": 200,
"unit": "g"
},
{
"id": "milk",
"_usageId": "3",
"qty": 200,
"unit": "ml"
},
{
"id": "egg",
"_usageId": "4",
"qty": 2
},
{
"id": "salt",
"_usageId": "5"
}
],
"cookware": [
{
"id": "bowl",
"_usageId": "1",
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"In a ",
{
"id": "bowl",
"_usageId": "1",
"fixed": false
},
", mix ",
{
"id": "flour",
"_usageId": "2",
"qty": 200,
"unit": "g"
},
", ",
{
"id": "milk",
"_usageId": "3",
"qty": 200,
"unit": "ml"
},
", ",
{
"id": "egg",
"_usageId": "4",
"qty": 2
},
"and a pinch of ",
{
"id": "salt",
"_usageId": "5"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
]
}
],
"warnings": [],
"metrics": {
"totalTime": 7,
"totalBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"preparationTime": 5,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 4
},
{
"label": "cookware_overhead",
"duration": 1
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 5,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 5
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 4,
"duration": 4
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 7,
"activeTime": 2,
"preparationTime": 5,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 5
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 5,
"end": 7
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 7,
"sections": [
0
]
}
]
}
}