15.3.3 The words that name each line

Shepherd's pie · url-l341|all · 14 drafts · 26 steps · IC script 439f18f9 (the Nov 30, 2026, 8:47 AM MST IS run) · traced answer equals the run's: yes · answer key: Opus 5.5

For every draft, works out which words can name it: the name is trimmed (brackets, usage words such as 'for garnish' or 'to taste' cut); its last word, singular, is the main word; a few more trigger words are added; the name's other food words are backups; and the name, prep and unit words are kept for breaking ties.

6 keyed cells differ, and 3 more differ only in reason, word-list convention or position.

Left: the complete tables this sub step reads (the key was given exactly these). Middle: the script's output. Right: the answer key's output, row for row. Yellow, bold = a keyed cell where they differ; light = they differ only in the reason label (same effect), in a word the script's word lists leave out on purpose, or in a token position after the step's text already differs. Columns never highlighted are context the key does not answer.

Answer key's notes
  • #4's trig holds 'lamb', the word steps print alone for the lamb mince.
  • #14's full holds 'leaf' only as a piece of 'flat-leaf', so its main word stays 'parsley' and bare_no stays false.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsEach line's naming words4triglambmince, mincelamb, lambmince, mince
differsEach line's naming words4fallbacklamb—
differsEach line's naming words7trigsauce, worcestershiresaucesauce, worcestershire, worcestershiresauce
differsEach line's naming words7fallbackworcestershire—
differsEach line's naming words8fulland, chopped, peeled, potato, roughlychopped, peeled, potato, roughly
differsEach line's naming words14fallbackflat-leaf—
word-list conventionEach line's naming words1trigcarrotcarrot, largecarrot
word-list conventionEach line's naming words1vocabcarrotcarrot, large
word-list conventionEach line's naming words1fullcarrot, chopped, finelycarrot, chopped, finely, large

Inputs

Draftsone per printed ingredient line (#1, #2, ... in list order), every field, as IS 15.3 receives them
#_line_textquantityunitingredientprepoptional_part_kind_heading_metric_note_container_qv_words_flags_addon_converted
141 large carrot, finely chopped1—large carrotfinely chopped—mainitem————1———
251 large stick celery, finely chopped1large stickceleryfinely chopped—mainitem————1———
361 onion, roughly chopped1—onionroughly chopped—mainitem————1———
47700g lamb mince1.5poundslamb mince——mainitem—[[700.0, "g"]]——3/2——yes
582 tbsp tomato paste2tbsptomato paste——mainitem————2———
692 cups (500ml) beef stock2cupsbeef stock——mainitem—[[500.0, "ml"]]——2———
7102 tsp Worcestershire sauce2tspWorcestershire sauce——mainitem————2———
8113 potatoes, peeled and roughly chopped3—potatoespeeled and roughly chopped—mainitem————3———
91225g unsalted butter, chopped0.9weight ounceunsalted butterchopped—mainitem—[[25.0, "g"]]——9/10——yes
1013salt and pepper——salt——mainitem————————
1113salt and pepper——pepper——mainitem————————
12142 tsp cornflour2tspcornflour——mainitem————2———
13152 tbsp water2tbspwater——mainitem————2———
14161/4 cup chopped flat-leaf parsley1/4cupflat-leaf parsleychopped—mainitem————1/4———

Script result

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1large carrotlarge carrotcarrotcarrotcarrot—carrotcarrot, chopped, finelynonono
2celerycelerycelerycelerycelery—celerycelery, chopped, finely, large, sticknonono
3oniononiononiononiononion—onionchopped, onion, roughlynonono
4lamb mincelamb mincemincemincelambmince, mincelamblamb, mincelamb, mince, poundnonono
5tomato pastetomato pastepastepastepaste, tomatopastetomatopaste, tomatopaste, tbsp, tomatononono
6beef stockbeef stockstockstockbeefstock, stockbeefbeef, stockbeef, cup, stocknonono
7Worcestershire sauceworcestershire saucesaucesaucesauce, worcestershiresauceworcestershiresauce, worcestershiresauce, tsp, worcestershirenonono
8potatoespotatoespotatopotatoespotato—potatoand, chopped, peeled, potato, roughlynonono
9unsalted butterunsalted butterbutterbutterbutter, unsaltedbutter—butter, unsaltedbutter, chopped, ounce, unsalted, weightnonono
10saltsaltsaltsaltsalt—saltsaltnonono
11pepperpepperpepperpepperpepper—pepperpeppernonono
12cornflourcornflourcornflourcornflourcornflour—cornflourcornflour, tspnonono
13waterwaterwaterwaterwater—watertbsp, waternonono
14flat-leaf parsleyflat-leaf parsleyparsleyparsleyflat-leafparsley, parsleyflat-leafflat-leaf, parsleychopped, cup, flat, flat-leaf, leaf, parsleynonono

Answer key

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1large carrotlarge carrotcarrotcarrotcarrot, largecarrot—carrot, largecarrot, chopped, finely, largenonono
2celerycelerycelerycelerycelery—celerycelery, chopped, finely, large, sticknonono
3oniononiononiononiononion—onionchopped, onion, roughlynonono
4lamb mincelamb mincemincemincelamb, lambmince, mince—lamb, mincelamb, mince, poundnonono
5tomato pastetomato pastepastepastepaste, tomatopastetomatopaste, tomatopaste, tbsp, tomatononono
6beef stockbeef stockstockstockbeefstock, stockbeefbeef, stockbeef, cup, stocknonono
7Worcestershire sauceworcestershire saucesaucesaucesauce, worcestershire, worcestershiresauce—sauce, worcestershiresauce, tsp, worcestershirenonono
8potatoespotatoespotatopotatoespotato—potatochopped, peeled, potato, roughlynonono
9unsalted butterunsalted butterbutterbutterbutter, unsaltedbutter—butter, unsaltedbutter, chopped, ounce, unsalted, weightnonono
10saltsaltsaltsaltsalt—saltsaltnonono
11pepperpepperpepperpepperpepper—pepperpeppernonono
12cornflourcornflourcornflourcornflourcornflour—cornflourcornflour, tspnonono
13waterwaterwaterwaterwater—watertbsp, waternonono
14flat-leaf parsleyflat-leaf parsleyparsleyparsleyflat-leafparsley, parsley—flat-leaf, parsleychopped, cup, flat, flat-leaf, leaf, parsleynonono