15.3.5 Group the lines by part

Roasted Walnuts · url-u07|all · 4 drafts · 12 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
11a.1main
11a.2main
11b.1main
12a.1main
12b.1main
13a.1main
13a.2main
13b.1main
14a.1main
14b.1main
14b.2main
14c.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
171 ½ cups (168g) chopped walnuts1 ½cupswalnutschopped—mainitem—[[168.0, "g"]]——3/2[{"what": "leading word pair not in the key", "row": "walnuts", "word": "chopped"}]—
282 ½ teaspoons (11.5g) extra virgin olive oil2 ½teaspoonsextra virgin olive oil——mainitem—[[11.5, "g"]]——5/2——
391 scant teaspoon kosher salt (see Note 1)1scant teaspoonkosher salt (see Note 1)——mainitem————1——
410Freshly cracked black pepper——black pepperfreshly cracked—mainitem—————[{"what": "leading word pair not in the key", "row": "black pepper", "word": "freshly cracked"}]—

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1walnutsmain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
2extra virgin olive oilmain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
3kosher salt (see Note 1)main11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
4black peppermain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
Groupsas written
groupstepslines
111a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.11, 2, 3, 4

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1walnutsmain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
2extra virgin olive oilmain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
3kosher salt (see Note 1)main11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
4black peppermain11a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.1
Groupsas written
groupstepslines
111a.1, 11a.2, 11b.1, 12a.1, 12b.1, 13a.1, 13a.2, 13b.1, 14a.1, 14b.1, 14b.2, 14c.11, 2, 3, 4