15.3.5 Group the lines by part

Lamb Meatloaf · url-l290|all · 13 drafts · 12 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
20.1main
21a.1main
21b.1main
22a.1main
22b.1main
23a.1main
23b.1main
24a.1main
24b.1main
25a.1main
25a.2main
25b.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
172 pounds ground lamb2poundsground lamb——mainitem————2——
281/2 pound ground beef1/2poundground beef——mainitem————1/2——
392 large eggs2—large eggs——mainitem————2——
4101 cup dried breadcrumbs1cupdried breadcrumbs——mainitem————1——
5111 medium onion, diced1—medium oniondiced—mainitem————1——
6121 green bell pepper, diced1—green bell pepperdiced—mainitem————1——
7133 cloves garlic, chopped3clovesgarlicchopped—mainitem————3——
8143/4 teaspoon kosher salt3/4teaspoonkosher salt——mainitem————3/4——
9151 teaspoon freshly ground black pepper1teaspoonblack pepperfreshly ground—mainitem————1——
10161/2 teaspoon ground cumin1/2teaspoonground cumin——mainitem————1/2——
11171 teaspoon dried basil1teaspoondried basil——mainitem————1——
12181/4 teaspoon ground cinnamon1/4teaspoonground cinnamon——mainitem————1/4——
13191/4 cup parsley, chopped1/4cupparsleychopped—mainitem————1/4——

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1ground lambmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
2ground beefmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
3large eggsmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
4dried breadcrumbsmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
5medium onionmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
6green bell peppermain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
7garlicmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
8kosher saltmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
9black peppermain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
10ground cuminmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
11dried basilmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
12ground cinnamonmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
13parsleymain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
Groupsas written
groupstepslines
120.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1ground lambmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
2ground beefmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
3large eggsmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
4dried breadcrumbsmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
5medium onionmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
6green bell peppermain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
7garlicmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
8kosher saltmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
9black peppermain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
10ground cuminmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
11dried basilmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
12ground cinnamonmain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
13parsleymain20.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.1
Groupsas written
groupstepslines
120.1, 21a.1, 21b.1, 22a.1, 22b.1, 23a.1, 23b.1, 24a.1, 24b.1, 25a.1, 25a.2, 25b.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13