gram/conformance/cases/mod-004-cross-section-no-false-cycle/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

546 lines
10 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"base": {
"id": "base",
"name": "base",
"is_intermediate": true
},
"farine": {
"id": "farine",
"name": "farine",
"default_unit": "g"
},
"eau": {
"id": "eau",
"name": "eau",
"default_unit": "g"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "farine",
"name": "farine",
"_usageIds": [
"1"
],
"qty": 100,
"unit": "g",
"multiUnit": true
},
{
"id": "eau",
"name": "eau",
"_usageIds": [
"2"
],
"relative": true,
"variable_entries": [
"70% of farine"
],
"multiUnit": true
},
{
"id": "eau",
"name": "eau",
"_usageIds": [
"3"
],
"qty": 200,
"unit": "g",
"multiUnit": true
},
{
"id": "farine",
"name": "farine",
"_usageIds": [
"4"
],
"relative": true,
"variable_entries": [
"50% of eau"
],
"multiUnit": true
}
],
"cookware": [],
"sections": [
{
"title": "Base",
"ingredients": [
{
"id": "farine",
"_usageId": "1",
"qty": 100,
"unit": "g"
},
{
"id": "eau",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 70,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 38,
"end": 50
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "70% of farine",
"target": "farine",
"percent": 70,
"isGhost": false
}
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
{
"id": "farine",
"_usageId": "1",
"qty": 100,
"unit": "g"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
{
"id": "eau",
"_usageId": "2",
"qty": {
"type": "RelativeQuantity",
"percent": 70,
"target": "farine",
"referenceType": "ingredient",
"loc": {
"start": 38,
"end": 50
}
},
"dependencies": [
"farine"
],
"formula": {
"raw": "70% of farine",
"target": "farine",
"percent": 70,
"isGhost": false
}
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"intermediate_preparation": "base",
"module": {
"binding": "base",
"uri": "base.gram",
"title": null,
"mode": "inline"
}
},
{
"title": "Host",
"ingredients": [
{
"id": "eau",
"_usageId": "3",
"qty": 200,
"unit": "g"
},
{
"id": "farine",
"_usageId": "4",
"qty": {
"type": "RelativeQuantity",
"percent": 50,
"target": "eau",
"referenceType": "ingredient",
"loc": {
"start": 59,
"end": 68
}
},
"dependencies": [
"eau"
],
"formula": {
"raw": "50% of eau",
"target": "eau",
"percent": 50,
"isGhost": false
}
},
{
"type": "reference",
"id": "base",
"name": "base",
"_usageId": "5",
"qty": 1
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
{
"id": "eau",
"_usageId": "3",
"qty": 200,
"unit": "g"
},
"."
],
"timings": {
"start": 4,
"end": 6,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
{
"id": "farine",
"_usageId": "4",
"qty": {
"type": "RelativeQuantity",
"percent": 50,
"target": "eau",
"referenceType": "ingredient",
"loc": {
"start": 59,
"end": 68
}
},
"dependencies": [
"eau"
],
"formula": {
"raw": "50% of eau",
"target": "eau",
"percent": 50,
"isGhost": false
}
},
"."
],
"timings": {
"start": 6,
"end": 8,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "base",
"name": "base",
"_usageId": "5",
"qty": 1
},
"."
],
"timings": {
"start": 8,
"end": 10,
"activeDuration": 2
}
}
]
}
],
"warnings": [
{
"code": "MODULE_BATCH_INTERPRETATION",
"message": "'&base' from \"./base.gram\" requested without unit — scaled as 1 batch(es) of the module.",
"loc": {
"start": 0,
"end": 28
}
}
],
"metrics": {
"totalTime": 13,
"totalBreakdown": [
{
"label": "section_active:Base",
"duration": 4
},
{
"label": "section_active:Host",
"duration": 6
}
],
"idleTime": 0,
"activeTime": 10,
"activeBreakdown": [
{
"label": "section_active:Base",
"duration": 4
},
{
"label": "section_active:Host",
"duration": 6
}
],
"preparationTime": 3,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 3
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
]
},
{
"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": 2
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
],
"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": "s1.prep.base",
"kind": "prep",
"section": 1,
"intermediate": "base",
"duration": {
"nominal": 1
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 1,
"intermediates": 1
}
],
"after": [
"s0.1"
]
},
{
"id": "s1.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
},
{
"id": "s1.1",
"kind": "step",
"section": 1,
"step": 1,
"duration": {
"nominal": 2
},
"after": [
"s1.0"
]
},
{
"id": "s1.2",
"kind": "step",
"section": 1,
"step": 2,
"duration": {
"nominal": 2
},
"consumes": [
"base"
],
"after": [
"s1.1",
"s0.1"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "base"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 13,
"activeTime": 10,
"preparationTime": 3,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 2
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 2,
"end": 4
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 4,
"end": 6
},
{
"kind": "prep",
"task": "s1.prep.base",
"section": 1,
"start": 6,
"end": 7
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 7,
"end": 9
},
{
"kind": "step",
"task": "s1.1",
"section": 1,
"step": 1,
"start": 9,
"end": 11
},
{
"kind": "step",
"task": "s1.2",
"section": 1,
"step": 2,
"start": 11,
"end": 13
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 13,
"sections": [
0,
1
]
}
]
},
"modules": [
{
"binding": "base",
"uri": "base.gram",
"title": null,
"meta": {},
"scaleFactor": 1,
"mode": "inline"
}
]
}