15.3.5 Group the lines by part

photo-x067|all · photo-x067|all · 19 drafts · 19 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
20b.2main
20c.1main
20c.2main
20d.1main
20d.2main
21a.1main
21b.1main
21c.1main
21c.2main
22a.1main
22b.1main
22b.2main
22b.3main
22c.1main
22c.2main
22d.1main
22e.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_ounce_or_printed
131 tablespoon extra-virgin olive oil, plus extra for serving1tablespoonextra-virgin olive oil, plus extra for serving——mainitem————1————
246 ounces pancetta, chopped fine6weight ouncespancettachopped fine—mainitem————6——yes—
351 fennel bulb, 2 tablespoons fronds minced, stalks discarded, bulb halved, cored, and cut into ½-inch pieces1—fennel bulbstalks discarded, bulb halved, cored, and cut into ½-inch pieces—mainitem————1————
451 fennel bulb, 2 tablespoons fronds minced, stalks discarded, bulb halved, cored, and cut into ½-inch pieces1fennel bulb's worthfennel frondsminced—mainitem————1————
561 onion, chopped1—onionchopped—mainitem————1————
672 celery ribs, halved lengthwise and cut into ½-inch pieces2—celery ribshalved lengthwise and cut into ½-inch pieces—mainitem————2————
78Salt and pepper——salt——mainitem—————————
88Salt and pepper——pepper——mainitem—————————
994 garlic cloves, minced4clovesgarlicminced—mainitem————4————
10101 teaspoon paprika1teaspoonpaprika——mainitem————1————
1111⅛ teaspoon red pepper flakes⅛teaspoonred pepper flakes——mainitem————1/8————
1212Pinch saffron threads, crumbled1pinchsaffron threadscrumbled—mainitem————1————
13131 cup dry white wine or dry vermouth1cupdry white wine——mainitem————1———dry white wine or dry vermouth
14144 cups water4cupswater——mainitem————4————
15152 (8-ounce) bottles clam juice16fl ozclam juice——mainitem———yes16——yes—
16162 bay leaves2—bay leaves——mainitem————2————
17172 pounds skinless hake fillets, 1 to 1½ inches thick, sliced crosswise into 6 equal pieces2poundsskinless hake fillets, 1 to 1½ inches thicksliced crosswise into 6 equal pieces—mainitem————2————
18182 tablespoons minced fresh parsley2tablespoonsfresh parsleyminced—mainitem————2————
19191 tablespoon grated orange zest1tablespoonorange zestgrated—mainitem————1————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1extra-virgin olive oil, plus extra for servingmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
2pancettamain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
3fennel bulbmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
4fennel frondsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
5onionmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
6celery ribsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
7saltmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
8peppermain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
9garlicmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
10paprikamain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
11red pepper flakesmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
12saffron threadsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
13dry white winemain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
14watermain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
15clam juicemain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
16bay leavesmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
17skinless hake fillets, 1 to 1½ inches thickmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
18fresh parsleymain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
19orange zestmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
Groupsas written
groupstepslines
120a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1extra-virgin olive oil, plus extra for servingmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
2pancettamain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
3fennel bulbmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
4fennel frondsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
5onionmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
6celery ribsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
7saltmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
8peppermain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
9garlicmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
10paprikamain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
11red pepper flakesmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
12saffron threadsmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
13dry white winemain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
14watermain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
15clam juicemain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
16bay leavesmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
17skinless hake fillets, 1 to 1½ inches thickmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
18fresh parsleymain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
19orange zestmain20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.1
Groupsas written
groupstepslines
120a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20d.1, 20d.2, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22b.1, 22b.2, 22b.3, 22c.1, 22c.2, 22d.1, 22e.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19