15.3.5 Group the lines by part

Scrambled Eggs with Potatoes and Harissa · photo-x054|1-17 · 11 drafts · 21 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
14a.1main
14b.1main
14c.1main
14c.2main
14d.1main
14d.2main
14e.1main
14e.2main
14e.3main
14e.4main
15.1main
16a.1main
16b.1main
16c.1main
16c.2main
17a.1main
17a.2main
17b.1main
17c.1main
17c.2main
17d.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_ounce
143 tablespoons extra-virgin olive oil3tablespoonsextra-virgin olive oil——mainitem————3———
258 ounces red potatoes, unpeeled, cut into ½-inch pieces8weight ouncesred potatoesunpeeled, cut into ½-inch pieces—mainitem————8——yes
368 ounces cremini mushrooms, trimmed and halved if small or quartered if large8weight ouncescremini mushroomstrimmed and halved if small or quartered if large—mainitem————8——yes
47½ onion, chopped fine½—onionchopped fine—mainitem————1/2———
58½ cup plus 2 tablespoons water⅝cupwater——mainitem————2———
69Salt and pepper——salt——mainitem————————
79Salt and pepper——pepper——mainitem————————
8101 garlic clove, minced1clovegarlicminced—mainitem————1———
91112 large eggs12—large eggs——mainitem————12———
10122 tablespoons harissa, plus extra for serving2tablespoonsharissa, plus extra for serving——mainitem————2———
11132 tablespoons chopped fresh cilantro2tablespoonsfresh cilantrochopped—mainitem————2———

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1extra-virgin olive oilmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
2red potatoesmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
3cremini mushroomsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
4onionmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
5watermain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
6saltmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
7peppermain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
8garlicmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
9large eggsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
10harissa, plus extra for servingmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
11fresh cilantromain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
Groupsas written
groupstepslines
114a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.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
1extra-virgin olive oilmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
2red potatoesmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
3cremini mushroomsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
4onionmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
5watermain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
6saltmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
7peppermain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
8garlicmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
9large eggsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
10harissa, plus extra for servingmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
11fresh cilantromain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.1
Groupsas written
groupstepslines
114a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14d.2, 14e.1, 14e.2, 14e.3, 14e.4, 15.1, 16a.1, 16b.1, 16c.1, 16c.2, 17a.1, 17a.2, 17b.1, 17c.1, 17c.2, 17d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11