15.3.5 Group the lines by part

Butternut Squash Casserole · url-l348|all · 14 drafts · 20 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
20c.1main
21a.1main
21b.1main
21c.1main
21c.2main
22a.1main
22a.2main
22b.1main
22c.1main
22c.2main
22d.1main
23a.1main
23b.1main
23b.2main
23c.1main
24a.1main
24b.1main
24b.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
162 1/2 lb. peeled and chopped butternut squash2 1/2lb.butternut squashpeeled and chopped—mainitem————5/2——
273 medium parsnips, peeled and chopped3—medium parsnipspeeled and chopped—mainitem————3——
383 Tbsp. olive oil3Tbsp.olive oil——mainitem————3——
491 Tbsp. chopped fresh sage leaves, plus leaves for garnish1Tbsp.fresh sage leaves, plus leaves for garnishchopped—mainitem————1——
5102 1/2 tsp. kosher salt, divided2 1/2tsp.kosher salt, divided——mainitem————5/2——
6111 1/2 tsp. black pepper, divided1 1/2tsp.black pepper, divided——mainitem————3/2——
7121 1/2 tsp. chopped fresh thyme, plus leaves for garnish1 1/2tsp.fresh thyme, plus leaves for garnishchopped—mainitem————3/2——
8136 slices bacon6slicesbacon——mainitem————6——
9142 onions, thinly sliced2—onionsthinly sliced—mainitem————2——
10151 medium bunch kale, stemmed and chopped1medium bunchkalestemmed and chopped—mainitem————1——
11162 Tbsp. salted butter2Tbsp.salted butter——mainitem————2——
12171 Tbsp. apple cider vinegar1Tbsp.apple cider vinegar——mainitem————1——
13181 cup shredded gruyère (or swiss) cheese1cupgruyère (or swiss) cheeseshredded—mainitem————1——
14191/4 cup smoked (or plain roasted) almonds, chopped1/4cupsmoked (or plain roasted) almondschopped—mainitem————1/4——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1butternut squashmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
2medium parsnipsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
3olive oilmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
4fresh sage leaves, plus leaves for garnishmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
5kosher salt, dividedmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
6black pepper, dividedmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
7fresh thyme, plus leaves for garnishmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
8baconmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
9onionsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
10kalemain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
11salted buttermain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
12apple cider vinegarmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
13gruyère (or swiss) cheesemain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
14smoked (or plain roasted) almondsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
Groupsas written
groupstepslines
120a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.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
1butternut squashmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
2medium parsnipsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
3olive oilmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
4fresh sage leaves, plus leaves for garnishmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
5kosher salt, dividedmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
6black pepper, dividedmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
7fresh thyme, plus leaves for garnishmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
8baconmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
9onionsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
10kalemain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
11salted buttermain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
12apple cider vinegarmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
13gruyère (or swiss) cheesemain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
14smoked (or plain roasted) almondsmain20a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.2
Groupsas written
groupstepslines
120a.1, 20b.1, 20c.1, 21a.1, 21b.1, 21c.1, 21c.2, 22a.1, 22a.2, 22b.1, 22c.1, 22c.2, 22d.1, 23a.1, 23b.1, 23b.2, 23c.1, 24a.1, 24b.1, 24b.21, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14