15.3.5 Group the lines by part

photo-r137|all · photo-r137|all · 14 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
18.1main
19a.1main
19b.1main
19c.1main
19c.2main
19d.1main
20.1main
20.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_or_printed
152 medium apples, cored and chopped into bite-size pieces2—medium applescored and chopped into bite-size pieces—mainitem————2———
262 cups chopped radicchio or thinly sliced red cabbage2cupsradicchiochopped—mainitem————2[{"what": "leading word pair not in the key", "row": "radicchio or thinly sliced red cabbage", "word": "chopped"}]—radicchio or thinly sliced red cabbage
376 cups well-chopped kale leaves, stems removed6cupskale leaveswell-chopped, stems removed—mainitem————6[{"what": "leading word pair not in the key", "row": "kale leaves", "word": "well-chopped"}]——
481 cup very thinly sliced celery1cupceleryvery thinly sliced—mainitem————1[{"what": "leading word pair not in the key", "row": "celery", "word": "sliced"}]——
59½ cup pomegranate seeds and/or blueberries½cuppomegranate seeds——mainitem————1/2——pomegranate seeds and/or blueberries
610¼ cup toasted sunflower seeds¼cuptoasted sunflower seeds——mainitem————1/4———
7111 garlic clove, finely minced1clovegarlicfinely minced—mainitem————1———
8121 to 2 teaspoons apple cider vinegar2teaspoonsapple cider vinegar——mainitem————2———
913¼ teaspoon mustard powder¼teaspoonmustard powder——mainitem————1/4———
1014¼ teaspoon ground ginger¼teaspoonground ginger——mainitem————1/4———
11152 tablespoons tahini2tablespoonstahini——mainitem————2———
12163 tablespoons Low-Histamine Biome Broth (page 159), water, or olive oil3tablespoonsLow-Histamine Biome Broth (page 159)——mainitem————3——Low-Histamine Biome Broth (page 159), water, or olive oil
1317Salt and freshly ground pink peppercorn, to taste——salt, to taste——mainitem————————
1417Salt and freshly ground pink peppercorn, to taste——pink peppercorn, to tastefreshly ground—mainitem—————[{"what": "leading word pair not in the key", "row": "pink peppercorn, to taste", "word": "freshly ground"}]——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1medium applesmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
2radicchiomain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
3kale leavesmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
4celerymain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
5pomegranate seedsmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
6toasted sunflower seedsmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
7garlicmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
8apple cider vinegarmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
9mustard powdermain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
10ground gingermain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
11tahinimain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
12Low-Histamine Biome Broth (page 159)main18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
13salt, to tastemain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
14pink peppercorn, to tastemain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
Groupsas written
groupstepslines
118.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.21, 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
1medium applesmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
2radicchiomain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
3kale leavesmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
4celerymain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
5pomegranate seedsmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
6toasted sunflower seedsmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
7garlicmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
8apple cider vinegarmain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
9mustard powdermain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
10ground gingermain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
11tahinimain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
12Low-Histamine Biome Broth (page 159)main18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
13salt, to tastemain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
14pink peppercorn, to tastemain18.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.2
Groupsas written
groupstepslines
118.1, 19a.1, 19b.1, 19c.1, 19c.2, 19d.1, 20.1, 20.21, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14