15.3.5 Group the lines by part

pdf-i026|all · pdf-i026|all · 20 drafts · 24 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
31a.1main
31b.1main
31b.2main
31c.1main
31c.2main
32a.1main
32a.2main
32b.1main
32c.1main
32c.2main
32d.1main
33a.1main
33a.2main
33b.1main
33b.2main
33c.1main
33d.1main
33d.2main
33e.1main
33e.2main
33f.1main
33g.1main
33g.2main
33g.3main
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
162 tablespoons vegetable oil2tablespoonsvegetable oil——mainitem————2———
276 black peppercorns6—black peppercorns——mainitem————6———
384 green cardamom pods4—green cardamom pods——mainitem————4———
492 black cardamom pods2—black cardamom pods——mainitem————2———
5101 cinnamon stick1—cinnamon stick——mainitem————1———
6111 red onion, halved and sliced thin crosswise1—red onionhalved and sliced thin crosswise—mainitem————1———
7121 teaspoon grated garlic1teaspoongarlicgrated—mainitem————1[{"what": "leading word pair not in the key", "row": "garlic", "word": "grated"}]——
8131 teaspoon grated fresh ginger1teaspoonfresh gingergrated—mainitem————1———
9141 pound 90-percent lean ground beef1pound90-percent lean ground beef——mainitem————1———
1015¾ teaspoon table salt¾teaspoontable salt——mainitem————3/4———
11162 teaspoons ground coriander2teaspoonsground coriander——mainitem————2———
12172 teaspoons Kashmiri chile powder2teaspoonsKashmiri chile powder——mainitem————2———
1318½ teaspoon ground turmeric½teaspoonground turmeric——mainitem————1/2———
1419½ teaspoon ground cumin½teaspoonground cumin——mainitem————1/2———
15202 (6-ounce) vine-ripened tomatoes, cored and chopped12weight ouncesvine-ripened tomatoescored and chopped—mainitem———yes12——yes
16211 (8-ounce) Yukon Gold potatoes, peeled and cut into 1⁄2-inch pieces8weight ouncesYukon Gold potatoespeeled and cut into 1⁄2-inch pieces—mainitem———yes8——yes
1722¼ cup whole-milk yogurt¼cupwhole-milk yogurt——mainitem————1/4———
18232 tablespoons water2tablespoonswater——mainitem————2———
19241 long green chile, halved lengthwise (optional)1—long green chilehalved lengthwiseyesmainitem————1———
2025¼ cup chopped fresh cilantro, plus extra for garnish¼cupfresh cilantro, plus extra for garnishchopped—mainitem————1/4———

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1vegetable oilmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
2black peppercornsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
3green cardamom podsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
4black cardamom podsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
5cinnamon stickmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
6red onionmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
7garlicmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
8fresh gingermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
990-percent lean ground beefmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
10table saltmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
11ground coriandermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
12Kashmiri chile powdermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
13ground turmericmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
14ground cuminmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
15vine-ripened tomatoesmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
16Yukon Gold potatoesmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
17whole-milk yogurtmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
18watermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
19long green chilemain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
20fresh cilantro, plus extra for garnishmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
Groupsas written
groupstepslines
131a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.31, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1vegetable oilmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
2black peppercornsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
3green cardamom podsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
4black cardamom podsmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
5cinnamon stickmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
6red onionmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
7garlicmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
8fresh gingermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
990-percent lean ground beefmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
10table saltmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
11ground coriandermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
12Kashmiri chile powdermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
13ground turmericmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
14ground cuminmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
15vine-ripened tomatoesmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
16Yukon Gold potatoesmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
17whole-milk yogurtmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
18watermain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
19long green chilemain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
20fresh cilantro, plus extra for garnishmain31a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.3
Groupsas written
groupstepslines
131a.1, 31b.1, 31b.2, 31c.1, 31c.2, 32a.1, 32a.2, 32b.1, 32c.1, 32c.2, 32d.1, 33a.1, 33a.2, 33b.1, 33b.2, 33c.1, 33d.1, 33d.2, 33e.1, 33e.2, 33f.1, 33g.1, 33g.2, 33g.31, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20