15.3.5 Group the lines by part

Caesar Salad · url-l376|all · 11 drafts · 10 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
14e.1main
14f.1main
14g.1main
14g.2main
17a.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
131 head Romaine lettuce, cleaned of coarse outer leaves, torn by hand into bite size pieces, and carefully washed and dried1headRomaine lettucecleaned of coarse outer leaves, torn by hand into bite size pieces, and carefully washed and dried—mainitem————1———
241 egg yolk*1—egg yolk*——mainitem————1———
352 large cloves garlic, peeled and finely chopped2large clovesgarlicpeeled and finely chopped—mainitem————2———
462 tablespoons Dijon mustard2tablespoonsDijon mustard——mainitem————2———
571/4 teaspoon salt1/4teaspoonsalt——mainitem————1/4———
682 tablespoons fresh lemon juice2tablespoonsfresh lemon juice——mainitem————2———
791/2 cup extra virgin olive oil1/2cupextra virgin olive oil——mainitem————1/2———
8102ounce can anchovy fillets, drained and finely chopped2weight ouncesanchovy filletsdrained and finely chopped—mainitem———yes2——yes
911Freshly ground pepper to taste——pepper to tastefreshly ground—mainitem————————
10121/4 cup freshly grated Parmesan cheese1/4cupParmesan cheesefreshly grated—mainitem————1/4———
11131 cup toasted croutons1cuptoasted croutons——mainitem————1[{"what": "leading word pair not in the key", "row": "toasted croutons", "word": "toasted"}]——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1Romaine lettucemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
2egg yolk*main14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
3garlicmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
4Dijon mustardmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
5saltmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
6fresh lemon juicemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
7extra virgin olive oilmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
8anchovy filletsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
9pepper to tastemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
10Parmesan cheesemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
11toasted croutonsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
Groupsas written
groupstepslines
114a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.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
1Romaine lettucemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
2egg yolk*main14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
3garlicmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
4Dijon mustardmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
5saltmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
6fresh lemon juicemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
7extra virgin olive oilmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
8anchovy filletsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
9pepper to tastemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
10Parmesan cheesemain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
11toasted croutonsmain14a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.1
Groupsas written
groupstepslines
114a.1, 14b.1, 14c.1, 14c.2, 14d.1, 14e.1, 14f.1, 14g.1, 14g.2, 17a.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11