15.3.5 Group the lines by part

pdf-i020|all · pdf-i020|all · 12 drafts · 8 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
18a.1main
18b.1main
18b.2main
18c.1main
18c.2main
19a.1main
19b.1main
19b.2main
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
16¼ cup extra-virgin olive oil¼cupextra-virgin olive oil——mainitem————1/4——
273 tablespoons lemon juice3tablespoonslemon juice——mainitem————3——
382 teaspoons Dijon mustard2teaspoonsDijon mustard——mainitem————2——
492 teaspoons honey2teaspoonshoney——mainitem————2——
510Salt and pepper——salt——mainitem———————
610Salt and pepper——pepper——mainitem———————
7112 fennel bulbs, stalks discarded, bulbs halved, cored, and sliced thin crosswise2—fennel bulbsstalks discarded, bulbs halved, cored, and sliced thin crosswise—mainitem————2——
812½ red onion, halved through root end and sliced thin crosswise½—red onionhalved through root end and sliced thin crosswise—mainitem————1/2——
913½ cup golden raisins, chopped½cupgolden raisinschopped—mainitem————1/2——
10143 tablespoons capers, rinsed and minced3tablespoonscapersrinsed and minced—mainitem————3——
1115½ cup fresh parsley leaves½cupfresh parsley leaves——mainitem————1/2——
1216½ cup sliced almonds, toasted½cupsliced almondstoasted—mainitem————1/2——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1extra-virgin olive oilmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
2lemon juicemain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
3Dijon mustardmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
4honeymain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
5saltmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
6peppermain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
7fennel bulbsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
8red onionmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
9golden raisinsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
10capersmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
11fresh parsley leavesmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
12sliced almondsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
Groupsas written
groupstepslines
118a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.21, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1extra-virgin olive oilmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
2lemon juicemain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
3Dijon mustardmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
4honeymain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
5saltmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
6peppermain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
7fennel bulbsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
8red onionmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
9golden raisinsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
10capersmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
11fresh parsley leavesmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
12sliced almondsmain18a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.2
Groupsas written
groupstepslines
118a.1, 18b.1, 18b.2, 18c.1, 18c.2, 19a.1, 19b.1, 19b.21, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12