gram/conformance/cases/mod-025-unresolved-module-yield/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

319 lines
5.8 KiB
JSON

{
"title": "Mod Unresolved Module Yield",
"slug": "mod-unresolved-module-yield",
"meta": {
"title": "Mod Unresolved Module Yield"
},
"registry": {
"ingredients": {
"batter": {
"id": "batter",
"name": "batter",
"is_intermediate": true
},
"milk": {
"id": "milk",
"name": "milk",
"default_unit": "ml"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "milk",
"name": "milk",
"_usageIds": [
"1"
],
"qty": 200,
"unit": "ml"
}
],
"cookware": [],
"sections": [
{
"title": "Batter",
"ingredients": [
{
"id": "milk",
"_usageId": "1",
"qty": 200,
"unit": "ml"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "milk",
"_usageId": "1",
"qty": 200,
"unit": "ml"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"intermediate_preparation": "batter",
"module": {
"binding": "batter",
"uri": "batter.gram",
"title": "Batter",
"mode": "inline"
}
},
{
"title": "Assemble",
"ingredients": [
{
"type": "reference",
"id": "batter",
"name": "batter",
"_usageId": "2",
"qty": 200,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "batter",
"name": "batter",
"_usageId": "2",
"qty": 200,
"unit": "g"
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
]
}
],
"warnings": [
{
"code": "UNRESOLVED_MODULE_YIELD",
"message": "Cannot compute yield for '&batter' from \"./batter.gram\": missing physical mass data for one or more ingredients.",
"loc": {
"start": 44,
"end": 76
}
}
],
"metrics": {
"totalTime": 6,
"totalBreakdown": [
{
"label": "section_active:Batter",
"duration": 2
},
{
"label": "section_active:Assemble",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:Batter",
"duration": 2
},
{
"label": "section_active:Assemble",
"duration": 2
}
],
"preparationTime": 2,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 2
}
]
},
"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
}
]
}
],
"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.batter",
"kind": "prep",
"section": 1,
"intermediate": "batter",
"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": [
"batter"
],
"after": [
"s0.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "batter"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 6,
"activeTime": 4,
"preparationTime": 2,
"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.batter",
"section": 1,
"start": 3,
"end": 4
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 4,
"end": 6
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 6,
"sections": [
0,
1
]
}
]
},
"modules": [
{
"binding": "batter",
"uri": "batter.gram",
"title": "Batter",
"meta": {
"title": "Batter"
},
"scaleFactor": 1,
"mode": "inline"
}
]
}