15.3.5 Group the lines by part

photo-x076|all · photo-x076|all · 10 drafts · 13 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
g1.1main
g1.2main
g1.3main
g2.1main
g2.2main
g3.1main
g3.2main
g3.3main
g3.4main
g3.5main
g4.1main
g4.2main
g4.3main
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
111 tablespoon solid cooking fat1tablespoonsolid cooking fat——mainitem————1——
221 large yellow onion, chopped1—large yellow onionchopped—mainitem————1——
334 cloves garlic, minced4clovesgarlicminced—mainitem————4——
442 medium beets, chopped2—medium beetschopped—mainitem————2——
552 medium carrots, chopped2—medium carrotschopped—mainitem————2——
661 tablespoon fresh thyme1tablespoonfresh thyme——mainitem————1——
771 tablespoon fresh rosemary1tablespoonfresh rosemary——mainitem————1——
881 cup Bone Broth (page 34)1cupBone Broth (page 34)——mainitem————1——
991 teaspoon sea salt1teaspoonsea salt——mainitem————1——
1010¼ cup chopped fresh basil¼cupfresh basilchopped—mainitem————1/4——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1solid cooking fatmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
2large yellow onionmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
3garlicmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
4medium beetsmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
5medium carrotsmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
6fresh thymemaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
7fresh rosemarymaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
8Bone Broth (page 34)maing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
9sea saltmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
10fresh basilmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
Groupsas written
groupstepslines
1g1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.31, 2, 3, 4, 5, 6, 7, 8, 9, 10

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1solid cooking fatmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
2large yellow onionmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
3garlicmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
4medium beetsmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
5medium carrotsmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
6fresh thymemaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
7fresh rosemarymaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
8Bone Broth (page 34)maing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
9sea saltmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
10fresh basilmaing1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.3
Groupsas written
groupstepslines
1g1.1, g1.2, g1.3, g2.1, g2.2, g3.1, g3.2, g3.3, g3.4, g3.5, g4.1, g4.2, g4.31, 2, 3, 4, 5, 6, 7, 8, 9, 10