15.3.5 Group the lines by part

Walking Tacos · url-l316|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
10a.1main
10b.1main
11a.1main
11b.1main
11c.1main
11c.2main
12a.1main
12a.2main
12b.1main
12c.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_note_swap_diet_alt_addon_was_container_ounce
161 pound lean ground beef - Substitutesground turkey1poundlean ground beef——mainitem————1—yesground turkey———
271 package McCormick® Original Taco Seasoning Mix1packageMcCormick® Original Taco Seasoning Mix——mainitem————1————yes—
383/4 cup water3/4cupwater——mainitem————3/4——————
4910 (1-ounce) snack size tortilla chip bags (such as nacho cheese or ranch flavored tortilla chips), crushed slightly10weight ouncessnack size tortilla chip (such as nacho cheese or ranch flavored tortilla chips)crushed slightly—mainitem———yes10—————yes
512shredded lettuce——lettuceshredded—mainphrase—————[{"what": "leading word pair not in the key", "row": "lettuce", "word": "shredded"}]—————
612chopped tomatoes——tomatoeschopped—mainphrase———————————
712shredded cheese——cheeseshredded—mainphrase———————————
812chopped avocado——avocadochopped—mainphrase—————[{"what": "leading word pair not in the key", "row": "avocado", "word": "chopped"}]—————
912salsa——salsa——mainphrase———————————
1012sour cream——sour cream——mainphrase———————————
1112cilantro——cilantro——mainphrase———————————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1lean ground beefmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
2McCormick® Original Taco Seasoning Mixmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
3watermain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
4snack size tortilla chip (such as nacho cheese or ranch flavored tortilla chips)main10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
5lettucemain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
6tomatoesmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
7cheesemain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
8avocadomain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
9salsamain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
10sour creammain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
11cilantromain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
Groupsas written
groupstepslines
110a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.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
1lean ground beefmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
2McCormick® Original Taco Seasoning Mixmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
3watermain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
4snack size tortilla chip (such as nacho cheese or ranch flavored tortilla chips)main10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
5lettucemain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
6tomatoesmain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
7cheesemain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
8avocadomain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
9salsamain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
10sour creammain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
11cilantromain10a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.1
Groupsas written
groupstepslines
110a.1, 10b.1, 11a.1, 11b.1, 11c.1, 11c.2, 12a.1, 12a.2, 12b.1, 12c.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11