15.3.5 Group the lines by part

pdf-i053|all · pdf-i053|all · 15 drafts · 26 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
23a.1main
23a.2main
23b.1main
23b.2main
24a.1main
24b.1main
24b.2main
24b.3main
24d.1main
25a.1main
25b.1main
25b.2main
26a.1main
26a.2main
26b.1main
26b.2main
26c.1main
26c.2main
26c.3main
26d.1main
26d.2main
26d.3main
26d.4main
27a.1main
27b.1main
27c.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
161 (3 1/2-pound) boneless pork butt roast, trimmed and cut into 1 1/2-inch pieces3 1/2poundsboneless pork butt roasttrimmed and cut into 1 1/2-inch pieces—mainitem———yes7/2——
27Salt and pepper——salt——mainitem———————
37Salt and pepper——pepper——mainitem———————
481 tablespoon vegetable oil1tablespoonvegetable oil——mainitem————1——
591 onion, chopped fine1—onionchopped fine—mainitem————1——
6101 green bell pepper, stemmed, seeded, and chopped fine1—green bell pepperstemmed, seeded, and chopped fine—mainitem————1——
7112 celery ribs, chopped fine2—celery ribschopped fine—mainitem————2——
8121 plum tomato, chopped1—plum tomatochopped—mainitem————1——
9133 tablespoons sweet paprika3tablespoonssweet paprika——mainitem————3——
10141 tablespoon caraway seeds1tablespooncaraway seeds——mainitem————1——
11152 garlic cloves, minced2clovesgarlicminced—mainitem————2——
12163 cups water3cupswater——mainitem————3——
13172 cups sauerkraut, rinsed and drained2cupssauerkrautrinsed and drained—mainitem————2——
1418Sour cream——sour cream——mainitem———————
1519minced fresh dill——fresh dillminced—mainitem—————[{"what": "leading word pair not in the key", "row": "fresh dill", "word": "minced"}]—

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1boneless pork butt roastmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
2saltmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
3peppermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
4vegetable oilmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
5onionmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
6green bell peppermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
7celery ribsmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
8plum tomatomain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
9sweet paprikamain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
10caraway seedsmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
11garlicmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
12watermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
13sauerkrautmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
14sour creammain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
15fresh dillmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
Groupsas written
groupstepslines
123a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1boneless pork butt roastmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
2saltmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
3peppermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
4vegetable oilmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
5onionmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
6green bell peppermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
7celery ribsmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
8plum tomatomain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
9sweet paprikamain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
10caraway seedsmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
11garlicmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
12watermain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
13sauerkrautmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
14sour creammain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
15fresh dillmain23a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.1
Groupsas written
groupstepslines
123a.1, 23a.2, 23b.1, 23b.2, 24a.1, 24b.1, 24b.2, 24b.3, 24d.1, 25a.1, 25b.1, 25b.2, 26a.1, 26a.2, 26b.1, 26b.2, 26c.1, 26c.2, 26c.3, 26d.1, 26d.2, 26d.3, 26d.4, 27a.1, 27b.1, 27c.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15