gram/conformance/cases/mod-027-diamond-mixed-stock-inline/compiled.json
abiwab d3b2c04ff3
All checks were successful
CI / Build & Test (pull_request) Successful in 5m14s
fix(kitchen): link intermediates and references by id in the task graph
2026-11-22 00:24:38 +01:00

522 lines
9.6 KiB
JSON

{
"title": "Mod Diamond Mixed Stock Inline",
"slug": "mod-diamond-mixed-stock-inline",
"meta": {
"title": "Mod Diamond Mixed Stock Inline"
},
"registry": {
"ingredients": {
"c": {
"id": "c",
"name": "C Module",
"is_module_synthetic": true
},
"b-d": {
"id": "b-d",
"name": "d",
"is_intermediate": true
},
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"b": {
"id": "b",
"name": "b",
"is_intermediate": true
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 100,
"unit": "g"
},
{
"id": "c",
"name": "C Module",
"_usageIds": [
"4"
],
"qty": 1
}
],
"cookware": [],
"sections": [
{
"title": "D",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 100,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 100,
"unit": "g"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"intermediate_preparation": "b$d",
"module": {
"binding": "d",
"uri": "d.gram",
"title": "D Module",
"mode": "inline"
}
},
{
"title": "B",
"ingredients": [
{
"type": "reference",
"id": "b-d",
"name": "b$d",
"_usageId": "2",
"qty": 1
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "b-d",
"name": "b$d",
"_usageId": "2",
"qty": 1
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"intermediate_preparation": "b",
"module": {
"binding": "b",
"uri": "b.gram",
"title": "B Module",
"mode": "inline"
}
},
{
"title": "Assemble",
"ingredients": [
{
"type": "reference",
"id": "b",
"name": "b",
"_usageId": "3",
"qty": 1
},
{
"type": "reference",
"id": "c",
"name": "c",
"_usageId": "4",
"qty": 1
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "b",
"name": "b",
"_usageId": "3",
"qty": 1
},
"and ",
{
"type": "reference",
"id": "c",
"name": "c",
"_usageId": "4",
"qty": 1
},
"."
],
"timings": {
"start": 4,
"end": 6,
"activeDuration": 2
}
}
]
}
],
"warnings": [
{
"code": "MODULE_BATCH_INTERPRETATION",
"message": "'&d' from \"./d.gram\" requested without unit — scaled as 1 batch(es) of the module.",
"loc": {
"start": 25,
"end": 47
}
},
{
"code": "MODULE_BATCH_INTERPRETATION",
"message": "'&b' from \"./b.gram\" requested without unit — scaled as 1 batch(es) of the module.",
"loc": {
"start": 47,
"end": 69
}
},
{
"code": "MODULE_BATCH_INTERPRETATION",
"message": "'&c' from \"./c.gram\" requested without unit — scaled as 1 batch(es) of the module.",
"loc": {
"start": 69,
"end": 91
}
}
],
"metrics": {
"totalTime": 10,
"totalBreakdown": [
{
"label": "section_active:D",
"duration": 2
},
{
"label": "section_active:B",
"duration": 2
},
{
"label": "section_active:Assemble",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 6,
"activeBreakdown": [
{
"label": "section_active:D",
"duration": 2
},
{
"label": "section_active:B",
"duration": 2
},
{
"label": "section_active:Assemble",
"duration": 2
}
],
"preparationTime": 4,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 4
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
]
},
{
"section": 1,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
]
},
{
"section": 2,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2,
"intermediates": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s1.prep.b-d",
"kind": "prep",
"section": 1,
"intermediate": "b-d",
"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": [
"b-d"
],
"after": [
"s0.0"
]
},
{
"id": "s2.prep",
"kind": "prep",
"section": 2,
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1
}
],
"after": []
},
{
"id": "s2.prep.b",
"kind": "prep",
"section": 2,
"intermediate": "b",
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
],
"after": [
"s1.0"
]
},
{
"id": "s2.0",
"kind": "step",
"section": 2,
"step": 0,
"duration": {
"nominal": 2
},
"consumes": [
"b",
"c"
],
"after": [
"s1.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "b-d"
},
{
"day": 0,
"intermediate": "b"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 10,
"activeTime": 6,
"preparationTime": 4,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 1
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 1,
"end": 3
},
{
"kind": "prep",
"task": "s1.prep.b-d",
"section": 1,
"start": 3,
"end": 4
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 4,
"end": 6
},
{
"kind": "prep",
"task": "s2.prep",
"section": 2,
"start": 6,
"end": 8
},
{
"kind": "step",
"task": "s2.0",
"section": 2,
"step": 0,
"start": 8,
"end": 10
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 10,
"sections": [
0,
1,
2
]
}
]
},
"modules": [
{
"binding": "d",
"uri": "d.gram",
"title": "D Module",
"meta": {
"title": "D Module"
},
"scaleFactor": 1,
"mode": "inline"
},
{
"binding": "b",
"uri": "b.gram",
"title": "B Module",
"meta": {
"title": "B Module"
},
"scaleFactor": 1,
"mode": "inline"
},
{
"binding": "c",
"uri": "c.gram",
"title": "C Module",
"meta": {
"title": "C Module"
},
"scaleFactor": 1,
"mode": "stocked"
}
]
}