15.3.5 Group the lines by part

Sausage traybake with garlic butter croutons · url-l024|all · 15 drafts · 13 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

Puts each line with the steps whose IS 14 tag matches the line's part, so a main-list line is only looked for in main steps and an add-on's lines only in that add-on's steps.

The key agrees with the script on every keyed cell.

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.

Inputs

IS 14 step tagseach step's part
steptag
20a.1main
20b.1main
20c.1main
20d.1main
20d.2main
20e.1main
20f.1main
21a.1main
21b.1main
21b.2main
21c.1main
21c.2main
21d.1main
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_loose_lead
168 pork sausages8—pork sausages——mainitem————8————
271 medium head of cauliflower cut into small florets and leaves chopped1medium headcauliflowercut into small florets and leaves chopped—mainitem————1————
381 head of broccoli cut into medium florets, stalk peeled and cut into chunks1headbroccolicut into medium florets, stalk peeled and cut into chunks—mainitem————1————
491 red onion cut into wedges1—red onioncut into wedges—mainitem————1————
5103 tbsp red wine vinegar3tbspred wine vinegar——mainitem————3————
6111½ tbsp honey1½tbsphoney——mainitem————3/2————
7123 tbsp wholegrain mustard3tbspwholegrain mustard——mainitem————3————
8133 tsp fennel seeds3tspfennel seeds——mainitem————3————
9143 tbsp olive oil3tbspolive oil——mainitem————3————
101650g soft butter1.8weight ouncessoft butter——mainitemFor the garlic butter croutons[[50.0, "g"]]——9/5——yes—
11173 garlic cloves crushed3clovesgarliccrushed—mainitemFor the garlic butter croutons———3————
12182 tbsp chopped basil, parsley and thyme2tbspbasil, parsley and thymechopped—mainitemFor the garlic butter croutons———2————
13192 sourdough slices cut into cubes2—sourdough slicescut into cubes—mainitemFor the garlic butter croutons———2————
1421some seasoningsome—seasoning——mainphraseFor the garlic butter croutons———————some
1521potatoes——potatoes——mainphraseFor the garlic butter croutons————————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1pork sausagesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
2cauliflowermain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
3broccolimain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
4red onionmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
5red wine vinegarmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
6honeymain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
7wholegrain mustardmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
8fennel seedsmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
9olive oilmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
10soft buttermain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
11garlicmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
12basil, parsley and thymemain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
13sourdough slicesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
14seasoningmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
15potatoesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
Groupsas written
groupstepslines
120a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1pork sausagesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
2cauliflowermain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
3broccolimain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
4red onionmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
5red wine vinegarmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
6honeymain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
7wholegrain mustardmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
8fennel seedsmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
9olive oilmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
10soft buttermain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
11garlicmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
12basil, parsley and thymemain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
13sourdough slicesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
14seasoningmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
15potatoesmain20a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.1
Groupsas written
groupstepslines
120a.1, 20b.1, 20c.1, 20d.1, 20d.2, 20e.1, 20f.1, 21a.1, 21b.1, 21b.2, 21c.1, 21c.2, 21d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15