15.3.5 Group the lines by part

photo-r051|all · photo-r051|all · 11 drafts · 18 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
18a.1main
18b.1main
18b.2main
19a.1main
19b.1main
19b.2main
19b.3main
19b.4main
19c.1main
19c.2main
19d.1main
20a.1main
20b.1main
20b.2main
20c.1main
20c.2main
20c.3main
20d.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_alt_tail
182 medium shallots, thinly sliced2—medium shallotsthinly sliced—mainitem————2———
291 Fresno or jalapeño pepper, thinly sliced (remove membranes and seeds for mild heat)1—Fresno or jalapeño pepperthinly sliced (remove membranes and seeds for mild heat)—mainitem————1———
310¼ cup (60 ml) distilled white vinegar¼cupdistilled white vinegar——mainitem—[[60.0, "ml"]]——1/4———
4111 tablespoon pure maple syrup1tablespoonpure maple syrup——mainitem————1———
5121 teaspoon Aleppo pepper or ¼ teaspoon red pepper flakes (optional, for more heat)1teaspoonAleppo pepper (for more heat)—yesmainitem————1———
613Fine sea salt and freshly ground black pepper——fine sea salt——mainitem————————
713Fine sea salt and freshly ground black pepper——black pepperfreshly ground—mainitem————————
8142 heads lacinato or curly kale (around 1 pound/455 g total)2headslacinato or curly kale (around 1 pound total)——mainitem—[[455.0, "g"]]——2———
915Preserved Lemon Vinaigrette (page 164)——Preserved Lemon Vinaigrette (page 164)——mainitem————————
1016Classic Torn Croutons (page 229)——Classic Torn Croutons (page 229)——mainitem————————
11171 medium ripe avocado, torn into chunks or diced (optional, for a creamy element)1—medium ripe avocado (for a creamy element)torn into chunks or dicedyesmainitem————1———

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1medium shallotsmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
2Fresno or jalapeño peppermain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
3distilled white vinegarmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
4pure maple syrupmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
5Aleppo pepper (for more heat)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
6fine sea saltmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
7black peppermain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
8lacinato or curly kale (around 1 pound total)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
9Preserved Lemon Vinaigrette (page 164)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
10Classic Torn Croutons (page 229)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
11medium ripe avocado (for a creamy element)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
Groupsas written
groupstepslines
118a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1medium shallotsmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
2Fresno or jalapeño peppermain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
3distilled white vinegarmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
4pure maple syrupmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
5Aleppo pepper (for more heat)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
6fine sea saltmain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
7black peppermain18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
8lacinato or curly kale (around 1 pound total)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
9Preserved Lemon Vinaigrette (page 164)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
10Classic Torn Croutons (page 229)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
11medium ripe avocado (for a creamy element)main18a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.1
Groupsas written
groupstepslines
118a.1, 18b.1, 18b.2, 19a.1, 19b.1, 19b.2, 19b.3, 19b.4, 19c.1, 19c.2, 19d.1, 20a.1, 20b.1, 20b.2, 20c.1, 20c.2, 20c.3, 20d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11