gram/conformance/cases/warn-015-invalid-timer-unit/analyzed.json
abiwab 8d1b62e854
All checks were successful
CI / Build & Test (pull_request) Successful in 4m17s
feat(kitchen): read natural timers and anchors with parseDuration
2026-11-14 22:50:41 +01:00

132 lines
2.3 KiB
JSON

{
"title": "Warn Invalid Timer Unit",
"slug": "warn-invalid-timer-unit",
"meta": {
"title": "Warn Invalid Timer Unit"
},
"registry": {
"ingredients": {},
"cookware": {}
},
"shopping_list": [],
"cookware": [],
"sections": [
{
"title": "Section",
"ingredients": [],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Wait ",
{
"type": "timer",
"raw": "3 bananas"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 0,
"massStatus": "incomplete",
"missingMassIngredients": []
}
}
],
"warnings": [
{
"code": "INVALID_UNIT",
"message": "Invalid unit \"bananas\" for Timer.",
"loc": {
"start": 57,
"end": 69
}
}
],
"metrics": {
"totalTime": 2,
"totalBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"preparationTime": 0,
"totalMass": 0,
"massStatus": "incomplete",
"missingMassIngredients": [],
"nutrition": {
"total": {
"calories": 0,
"fat": 0,
"carbs": 0,
"protein": 0
},
"isEstimate": false,
"coverage": 0
}
},
"miseEnPlace": [],
"tasks": {
"tasks": [
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"after": []
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 2,
"activeTime": 2,
"preparationTime": 0,
"idleTime": 0,
"blocks": [
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 0,
"end": 2
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 2,
"sections": [
0
]
}
]
}
}