15.3.5 Group the lines by part

Chestnut and Fennel Soup · url-l242|all · 14 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
25a.1main
25b.1main
25c.1main
25d.1main
27a.1main
27b.1main
27c.1main
27c.2main
27c.3main
27c.4main
29a.1main
29b.1main
29b.2main
31a.1main
31b.1main
31b.2main
31c.1main
32.1main
33.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
1104 tablespoons butter4tablespoonsbutter——mainitem————4———
2111 cup chopped onion (1 medium onion)1cuponion (1 medium onion)chopped—mainitem————1———
3121 cup chopped celery (about 2 large ribs)1cupcelery (about 2 large ribs)chopped—mainitem————1[{"what": "leading word pair not in the key", "row": "celery (about 2 large ribs)", "word": "chopped"}]——
4134 cups chopped fennel (about 2 large bulbs)4cupsfennel (about 2 large bulbs)chopped—mainitem————4[{"what": "leading word pair not in the key", "row": "fennel (about 2 large bulbs)", "word": "chopped"}]——
514Salt——salt——mainitem————————
615Pepper——pepper——mainitem————————
7162 good cooking apples (Fuji. Jonagold, Jonathan, Golden Delicious, or Braeburn would be good, do NOT use red delicious), peeled, cored, and chopped2—good cooking apples (Fuji. Jonagold, Jonathan, Golden Delicious, or Braeburn would be good, do NOT use red delicious)peeled, cored, and chopped—mainitem————2———
8172 to 3 sprigs fresh thyme (or 1 teaspoon dried thyme)3sprigsfresh thyme——mainitem————3———
91815 to 16 ounces peeled roasted chestnuts (jarred is best), chopped (do NOT use water chestnuts)16weight ouncespeeled roasted chestnuts (jarred is best) (do NOT use water chestnuts)chopped—mainitem————16[{"what": "leading word pair not in the key", "row": "peeled roasted chestnuts (jarred is best) (do NOT use water chestnuts)", "word": "peeled"}]—yes
10194 cups chicken stock (low sodium)4cupschicken stock (low sodium)——mainitem————4———
11203 cups water3cupswater——mainitem————3———
12211 to 2 tablespoons Pernod or Ricard pastis (optional)2tablespoonsPernod or Ricard pastis—yesmainitem————2———
13222 to 3 tablespoons sour cream (more or less to taste)3tablespoonssour cream (more or less to taste)——mainitem————3———
1423Sprigs fennel fronds, for garnish1sprigsfennel fronds, for garnish——mainitem————1———

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1buttermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
2onion (1 medium onion)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
3celery (about 2 large ribs)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
4fennel (about 2 large bulbs)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
5saltmain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
6peppermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
7good cooking apples (Fuji. Jonagold, Jonathan, Golden Delicious, or Braeburn would be good, do NOT use red delicious)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
8fresh thymemain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
9peeled roasted chestnuts (jarred is best) (do NOT use water chestnuts)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
10chicken stock (low sodium)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
11watermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
12Pernod or Ricard pastismain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
13sour cream (more or less to taste)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
14fennel fronds, for garnishmain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
Groupsas written
groupstepslines
125a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.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
1buttermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
2onion (1 medium onion)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
3celery (about 2 large ribs)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
4fennel (about 2 large bulbs)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
5saltmain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
6peppermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
7good cooking apples (Fuji. Jonagold, Jonathan, Golden Delicious, or Braeburn would be good, do NOT use red delicious)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
8fresh thymemain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
9peeled roasted chestnuts (jarred is best) (do NOT use water chestnuts)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
10chicken stock (low sodium)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
11watermain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
12Pernod or Ricard pastismain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
13sour cream (more or less to taste)main25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
14fennel fronds, for garnishmain25a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.1
Groupsas written
groupstepslines
125a.1, 25b.1, 25c.1, 25d.1, 27a.1, 27b.1, 27c.1, 27c.2, 27c.3, 27c.4, 29a.1, 29b.1, 29b.2, 31a.1, 31b.1, 31b.2, 31c.1, 32.1, 33.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14