gram/conformance/cases/mod-019-transitive-stock/analyzed.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

411 lines
7.9 KiB
JSON

{
"title": "Mod Transitive Stock",
"slug": "mod-transitive-stock",
"meta": {
"title": "Mod Transitive Stock"
},
"registry": {
"ingredients": {
"c": {
"id": "c",
"name": "C Module",
"is_module_synthetic": true
},
"b": {
"id": "b",
"name": "b",
"is_intermediate": true
},
"sugar": {
"id": "sugar",
"name": "sugar",
"default_unit": "g"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "c",
"name": "C Module",
"_usageIds": [
"1"
],
"qty": 50,
"unit": "g",
"normalizedMass": 50,
"isEstimate": false,
"conversionMethod": "physical"
},
{
"id": "sugar",
"name": "Sugar",
"_usageIds": [
"2"
],
"qty": 50,
"unit": "g",
"normalizedMass": 50,
"isEstimate": false,
"conversionMethod": "physical"
}
],
"cookware": [],
"sections": [
{
"title": "B Section",
"ingredients": [
{
"type": "reference",
"id": "c",
"name": "c",
"_usageId": "1",
"qty": 50,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 50
},
{
"id": "sugar",
"_usageId": "2",
"qty": 50,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 50
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Combine ",
{
"type": "reference",
"id": "c",
"name": "c",
"_usageId": "1",
"qty": 50,
"unit": "g",
"normalizedMass": 50,
"conversionMethod": "physical",
"isEstimate": false
},
"with ",
{
"id": "sugar",
"_usageId": "2",
"qty": 50,
"unit": "g",
"normalizedMass": 50,
"conversionMethod": "physical",
"isEstimate": false
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"intermediate_preparation": "b",
"module": {
"binding": "b",
"uri": "bases/b.gram",
"title": "B Module",
"mode": "inline"
},
"metrics": {
"totalMass": 100,
"massStatus": "precise",
"missingMassIngredients": []
}
},
{
"title": "Montage",
"ingredients": [
{
"type": "reference",
"id": "b",
"name": "b",
"_usageId": "3",
"qty": 100,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 100
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "b",
"name": "b",
"_usageId": "3",
"qty": 100,
"unit": "g",
"normalizedMass": 100,
"conversionMethod": "physical",
"isEstimate": false
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 100,
"massStatus": "precise",
"missingMassIngredients": []
}
}
],
"warnings": [],
"metrics": {
"totalTime": 7,
"totalBreakdown": [
{
"label": "section_active:B Section",
"duration": 2
},
{
"label": "section_active:Montage",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:B Section",
"duration": 2
},
{
"label": "section_active:Montage",
"duration": 2
}
],
"preparationTime": 3,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 3
}
],
"totalMass": 100,
"massStatus": "precise",
"missingMassIngredients": [],
"nutrition": {
"total": {
"calories": 303,
"fat": 0.3,
"carbs": 72.9,
"protein": 3.1
},
"isEstimate": false,
"coverage": 1,
"per100g": {
"calories": 303,
"fat": 0.3,
"carbs": 72.9,
"protein": 3.1
},
"basis": {
"mass": 100,
"massStatus": "precise"
}
}
},
"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
},
"consumes": [
"c"
],
"after": []
},
{
"id": "s1.prep.b",
"kind": "prep",
"section": 1,
"intermediate": "b",
"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"
],
"after": [
"s0.0"
]
}
],
"sections": [
{
"day": 0,
"intermediate": "b"
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 7,
"activeTime": 4,
"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": "prep",
"task": "s1.prep.b",
"section": 1,
"start": 4,
"end": 5
},
{
"kind": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 5,
"end": 7
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 7,
"sections": [
0,
1
]
}
]
},
"modules": [
{
"binding": "b",
"uri": "bases/b.gram",
"title": "B Module",
"meta": {
"title": "B Module"
},
"scaleFactor": 1,
"mode": "inline"
},
{
"binding": "c",
"uri": "bases/c.gram",
"title": "C Module",
"meta": {
"title": "C Module"
},
"scaleFactor": 0.5,
"mode": "stocked"
}
]
}