15.3.5 Group the lines by part

photo-cs08|all · photo-cs08|all · 7 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
13.1main
13.2main
14a.1main
14b.1main
14c.1main
14c.2main
14d.1main
14d.2main
15a.1main
15a.2main
15b.1main
15c.1main
15d.1main
15d.2main
16a.1main
16a.2main
16b.1main
16c.1main
17.1main
17.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_ounce_words_flags_addon
166 to 7 ounces (about 200 g) Fresno (or jalapeño) peppers, stemmed (see Tips)7weight ouncesFresno (or jalapeño) peppers (see Tips)stemmed—mainitem—[[200.0, "g"]]——7yes——
274 garlic cloves, peeled4clovesgarlicpeeled—mainitem————4———
381 heaping teaspoon kosher salt1heaping teaspoonkosher salt——mainitem————1———
49½ cup (120 ml) apple cider vinegar½cupapple cider vinegar——mainitem—[[120.0, "ml"]]——1/2———
5102 tablespoons organic cane sugar2tablespoonsorganic cane sugar——mainitem————2———
6111 tablespoon white miso paste1tablespoonwhite miso paste——mainitem————1———
7121 tablespoon extra-virgin olive oil1tablespoonextra-virgin olive oil——mainitem————1———

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1Fresno (or jalapeño) peppers (see Tips)main13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
2garlicmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
3kosher saltmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
4apple cider vinegarmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
5organic cane sugarmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
6white miso pastemain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
7extra-virgin olive oilmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
Groupsas written
groupstepslines
113.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.21, 2, 3, 4, 5, 6, 7

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1Fresno (or jalapeño) peppers (see Tips)main13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
2garlicmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
3kosher saltmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
4apple cider vinegarmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
5organic cane sugarmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
6white miso pastemain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
7extra-virgin olive oilmain13.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.2
Groupsas written
groupstepslines
113.1, 13.2, 14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 15a.1, 15a.2, 15b.1, 15c.1, 15d.1, 15d.2, 16a.1, 16a.2, 16b.1, 16c.1, 17.1, 17.21, 2, 3, 4, 5, 6, 7