gram/conformance/cases/db-006-shopping-aggregation-with-real-data/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

283 lines
5.3 KiB
JSON

{
"title": "Db Shopping Aggregation With Real Data",
"slug": "db-shopping-aggregation-with-real-data",
"meta": {
"title": "Db Shopping Aggregation With Real Data"
},
"registry": {
"ingredients": {
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "g"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "butter",
"name": "Butter",
"qty": 126.94,
"unit": "g",
"normalizedMass": 126.94,
"isEstimate": true,
"_usageIds": [
"1",
"2"
]
}
],
"cookware": [],
"sections": [
{
"title": "Melt",
"ingredients": [
{
"id": "butter",
"_usageId": "1",
"qty": 100,
"unit": "g",
"conversionMethod": "physical",
"isEstimate": false,
"normalizedMass": 100
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Melt ",
{
"id": "butter",
"_usageId": "1",
"qty": 100,
"unit": "g",
"normalizedMass": 100,
"conversionMethod": "physical",
"isEstimate": false
},
"in a pan."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 100,
"massStatus": "precise",
"missingMassIngredients": []
}
},
{
"title": "Whip",
"ingredients": [
{
"id": "butter",
"_usageId": "2",
"qty": 2,
"unit": "tbsp",
"conversionMethod": "density",
"isEstimate": true,
"normalizedMass": 26.94
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Whip ",
{
"id": "butter",
"_usageId": "2",
"qty": 2,
"unit": "tbsp",
"normalizedMass": 26.94,
"conversionMethod": "density",
"isEstimate": true
},
"until fluffy."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 26.94,
"massStatus": "estimated",
"missingMassIngredients": []
}
}
],
"warnings": [],
"metrics": {
"totalTime": 5,
"totalBreakdown": [
{
"label": "section_active:Melt",
"duration": 2
},
{
"label": "section_active:Whip",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:Melt",
"duration": 2
},
{
"label": "section_active:Whip",
"duration": 2
}
],
"preparationTime": 1,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 1
}
],
"totalMass": 126.94,
"massStatus": "estimated",
"missingMassIngredients": [],
"nutrition": {
"total": {
"calories": 910,
"fat": 102.9,
"carbs": 0.1,
"protein": 1.1
},
"isEstimate": true,
"coverage": 1,
"per100g": {
"calories": 717,
"fat": 81.1,
"carbs": 0.1,
"protein": 0.9
},
"basis": {
"mass": 126.94,
"massStatus": "estimated"
}
}
},
"miseEnPlace": [
{
"section": 0,
"duration": 1,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 1,
"duration": 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.0",
"kind": "step",
"section": 1,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
}
],
"sections": [
{
"day": 0
},
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 5,
"activeTime": 4,
"preparationTime": 1,
"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": "step",
"task": "s1.0",
"section": 1,
"step": 0,
"start": 3,
"end": 5
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 5,
"sections": [
0,
1
]
}
]
}
}