gram/conformance/cases/warn-029-alias-after-blank/compiled.json

324 lines
6.2 KiB
JSON

{
"meta": {},
"registry": {
"ingredients": {
"salt": {
"id": "salt",
"name": "salt"
},
"dry": {
"id": "dry",
"name": "dry"
},
"pepper": {
"id": "pepper",
"name": "pepper",
"default_unit": "g"
}
},
"cookware": {
"big": {
"id": "big",
"name": "big"
}
}
},
"shopping_list": [
{
"id": "salt",
"name": "salt",
"_usageIds": [
"1"
]
},
{
"id": "dry",
"name": "dry",
"_usageIds": [
"2"
]
},
{
"id": "pepper",
"name": "pepper",
"_usageIds": [
"4"
],
"qty": 1,
"unit": "g"
}
],
"cookware": [
{
"id": "big",
"_usageId": "3",
"fixed": false
}
],
"sections": [
{
"title": "Prep",
"ingredients": [
{
"id": "salt",
"_usageId": "1"
},
{
"id": "dry",
"_usageId": "2"
},
{
"id": "pepper",
"_usageId": "4",
"qty": 1,
"unit": "g",
"alias": "black"
}
],
"cookware": [
{
"id": "big",
"_usageId": "3",
"fixed": false
}
],
"steps": [
{
"type": "step",
"content": [
"Add ",
{
"id": "salt",
"_usageId": "1"
},
": fine{2 g} and ",
{
"id": "dry",
"_usageId": "2"
},
"white wine: wine{10 ml}."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
},
{
"type": "step",
"content": [
"Heat ",
{
"id": "big",
"_usageId": "3",
"fixed": false
},
"pan: hot{}, then add ",
{
"id": "pepper",
"_usageId": "4",
"qty": 1,
"unit": "g",
"alias": "black"
},
"."
],
"timings": {
"start": 2,
"end": 4,
"activeDuration": 2
}
}
]
}
],
"warnings": [
{
"code": "ALIAS_AFTER_BLANK",
"message": "\"@salt: fine{2 g}\" is read as \"salt\" then text: an alias is glued to the colon. Write @salt:fine{2 g} if \"fine\" is the name to show; as written, {2 g} is not counted.",
"item": "salt",
"loc": {
"start": 13,
"end": 29
},
"data": {
"name": "salt",
"alias": "fine",
"suggestion": "@salt:fine{2 g}"
}
},
{
"code": "ALIAS_AFTER_BLANK",
"message": "\"@dry white wine: wine{10 ml}\" is read as \"dry\" then text: an alias is glued to the colon. Write @dry white wine:wine{10 ml} if \"wine\" is the name to show; as written, {10 ml} is not counted.",
"item": "dry",
"loc": {
"start": 34,
"end": 62
},
"data": {
"name": "dry white wine",
"alias": "wine",
"suggestion": "@dry white wine:wine{10 ml}"
}
},
{
"code": "ALIAS_AFTER_BLANK",
"message": "\"#big pan: hot{}\" is read as \"big\" then text: an alias is glued to the colon. Write #big pan:hot{} if \"hot\" is the name to show; as written, {} is not read.",
"item": "big",
"loc": {
"start": 70,
"end": 85
},
"data": {
"name": "big pan",
"alias": "hot",
"suggestion": "#big pan:hot{}"
}
}
],
"metrics": {
"totalTime": 8,
"totalBreakdown": [
{
"label": "section_active:Prep",
"duration": 4
}
],
"idleTime": 0,
"activeTime": 4,
"activeBreakdown": [
{
"label": "section_active:Prep",
"duration": 4
}
],
"preparationTime": 4,
"prepBreakdown": [
{
"label": "ingredients_overhead",
"duration": 3
},
{
"label": "cookware_overhead",
"duration": 1
}
]
},
"miseEnPlace": [
{
"section": 0,
"duration": 4,
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
]
}
],
"tasks": {
"tasks": [
{
"id": "s0.prep",
"kind": "prep",
"section": 0,
"duration": {
"nominal": 4
},
"items": [
{
"kind": "gather",
"target": "ingredient",
"count": 3,
"duration": 3
},
{
"kind": "gather",
"target": "cookware",
"count": 1,
"duration": 1
}
],
"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"
]
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 8,
"activeTime": 4,
"preparationTime": 4,
"idleTime": 0,
"blocks": [
{
"kind": "prep",
"task": "s0.prep",
"section": 0,
"start": 0,
"end": 4
},
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 4,
"end": 6
},
{
"kind": "step",
"task": "s0.1",
"section": 0,
"step": 1,
"start": 6,
"end": 8
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 8,
"sections": [
0
]
}
]
}
}