gram/conformance/cases/021-section-retro-planning-invalid-free-text/compiled.json

213 lines
3.8 KiB
JSON

{
"title": "Section Retro-Planning Invalid Free Text",
"slug": "section-retro-planning-invalid-free-text",
"meta": {
"title": "Section Retro-Planning Invalid Free Text"
},
"registry": {
"ingredients": {
"flour": {
"id": "flour",
"name": "flour",
"default_unit": "g"
},
"butter": {
"id": "butter",
"name": "butter",
"default_unit": "g"
}
},
"cookware": {}
},
"shopping_list": [
{
"id": "flour",
"name": "flour",
"_usageIds": [
"1"
],
"qty": 200,
"unit": "g"
},
{
"id": "butter",
"name": "butter",
"_usageIds": [
"2"
],
"qty": 100,
"unit": "g"
}
],
"cookware": [],
"sections": [
{
"title": "Puff Pastry",
"ingredients": [
{
"id": "flour",
"_usageId": "1",
"qty": 200,
"unit": "g"
},
{
"id": "butter",
"_usageId": "2",
"qty": 100,
"unit": "g"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Mix ",
{
"id": "flour",
"_usageId": "1",
"qty": 200,
"unit": "g"
},
"and ",
{
"id": "butter",
"_usageId": "2",
"qty": 100,
"unit": "g"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"retro_planning": {
"raw": "the day before"
}
}
],
"warnings": [
{
"code": "MISSING_UNIT",
"message": "Retro-planning offset for \"Puff Pastry\" requires a strictly negative duration (e.g. -2h, -30min).",
"item": "Puff Pastry",
"loc": {
"start": 72,
"end": 89
}
}
],
"metrics": {
"totalTime": 4,
"totalBreakdown": [
{
"label": "section_active:Puff Pastry",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Puff Pastry",
"duration": 2
}
],
"preparationTime": 2,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 2
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 2,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 2,
"duration": 2
}
]
}
],
"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": []
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 4,
"activeTime": 2,
"preparationTime": 2,
"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
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 4,
"sections": [
0
]
}
]
}
}