15.3.5 Group the lines by part

Salsa · url-l124|extraction-salsa · 14 drafts · 4 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
27a.1main
27a.2main
27b.1main
27c.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_x_copy_converted
1132 red onions, finely sliced2—red onionsfinely sliced—mainitem————2——yes—
214200ml of vinegar, white wine or cider6.8fl ozvinegar, white wine or cider——mainitem—[[200.0, "ml"]]——34/5——yesyes
315400ml of water1.7cupswater——mainitem—[[400.0, "ml"]]——17/10——yesyes
4161 handful of pink peppercorns, small1handfulpink peppercorns, small——mainitem————1——yes—
5171 tbsp of salt1tbspsalt——mainitem————1——yes—
6181 tbsp of caster sugar1tbspcaster sugar——mainitem————1——yes—
720100g of cherry tomatoes, finely chopped3.5weight ouncescherry tomatoesfinely chopped—mainitemSalsa[[100.0, "g"]]——7/2——yesyes
821100g of cooked beetroot, finely chopped3.5weight ouncescooked beetrootfinely chopped—mainitemSalsa[[100.0, "g"]]——7/2——yesyes
9221 large red chilli , deseeded and finely chopped1—large red chillideseeded and finely chopped—mainitemSalsa———1——yes—
10231 handful of parsley, finely chopped1handfulparsleyfinely chopped—mainitemSalsa———1——yes—
11242 garlic cloves, minced2clovesgarlicminced—mainitemSalsa———2——yes—
1225200ml of olive oil6.8fl ozolive oil——mainitemSalsa[[200.0, "ml"]]——34/5——yesyes
1327salt and pepper——salt——mainphraseSalsa——————yes—
1427salt and pepper——pepper——mainphraseSalsa——————yes—

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1red onionsmain27a.1, 27a.2, 27b.1, 27c.1
2vinegar, white wine or cidermain27a.1, 27a.2, 27b.1, 27c.1
3watermain27a.1, 27a.2, 27b.1, 27c.1
4pink peppercorns, smallmain27a.1, 27a.2, 27b.1, 27c.1
5saltmain27a.1, 27a.2, 27b.1, 27c.1
6caster sugarmain27a.1, 27a.2, 27b.1, 27c.1
7cherry tomatoesmain27a.1, 27a.2, 27b.1, 27c.1
8cooked beetrootmain27a.1, 27a.2, 27b.1, 27c.1
9large red chillimain27a.1, 27a.2, 27b.1, 27c.1
10parsleymain27a.1, 27a.2, 27b.1, 27c.1
11garlicmain27a.1, 27a.2, 27b.1, 27c.1
12olive oilmain27a.1, 27a.2, 27b.1, 27c.1
13saltmain27a.1, 27a.2, 27b.1, 27c.1
14peppermain27a.1, 27a.2, 27b.1, 27c.1
Groupsas written
groupstepslines
127a.1, 27a.2, 27b.1, 27c.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1red onionsmain27a.1, 27a.2, 27b.1, 27c.1
2vinegar, white wine or cidermain27a.1, 27a.2, 27b.1, 27c.1
3watermain27a.1, 27a.2, 27b.1, 27c.1
4pink peppercorns, smallmain27a.1, 27a.2, 27b.1, 27c.1
5saltmain27a.1, 27a.2, 27b.1, 27c.1
6caster sugarmain27a.1, 27a.2, 27b.1, 27c.1
7cherry tomatoesmain27a.1, 27a.2, 27b.1, 27c.1
8cooked beetrootmain27a.1, 27a.2, 27b.1, 27c.1
9large red chillimain27a.1, 27a.2, 27b.1, 27c.1
10parsleymain27a.1, 27a.2, 27b.1, 27c.1
11garlicmain27a.1, 27a.2, 27b.1, 27c.1
12olive oilmain27a.1, 27a.2, 27b.1, 27c.1
13saltmain27a.1, 27a.2, 27b.1, 27c.1
14peppermain27a.1, 27a.2, 27b.1, 27c.1
Groupsas written
groupstepslines
127a.1, 27a.2, 27b.1, 27c.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14