15.3.5 Group the lines by part

pdf-i041|all · pdf-i041|all · 18 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
36a.1main
36b.1main
36c.1main
36c.2main
36c.3main
37a.1main
37a.2main
37b.1main
38a.1main
38b.1main
38b.2main
38c.1main
38d.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_ounce_words_flags_addon_or_printed
1191 (6- to 8-ounce) boneless, skinless chicken breast, trimmed8weight ouncesboneless, skinless chicken breasttrimmed—mainitem———yes8yes———
220¼ teaspoon table salt, plus salt for poaching chicken¼teaspoontable salt, plus salt for poaching chicken——mainitem————1/4————
3216 tablespoons fish sauce6tablespoonsfish sauce——mainitem————6————
422¼ cup sugar¼cupsugar——mainitem————1/4————
523¼ cup unseasoned rice vinegar¼cupunseasoned rice vinegar——mainitem————1/4————
6241 Thai chile, minced1—Thai chileminced—mainitem————1————
7251 garlic clove, minced1clovegarlicminced—mainitem————1————
8264 cups shredded green cabbage4cupsgreen cabbageshredded—mainitem————4————
9272 ounces (2 cups) baby mizuna or baby arugula, chopped coarse2weight ounces(2 cups) baby mizunachopped coarse—mainitem————2yes——(2 cups) baby mizuna or baby arugula
10281 cup shredded red cabbage1cupred cabbageshredded—mainitem————1————
11291 red bell pepper, stemmed, seeded, and sliced thin1—red bell pepperstemmed, seeded, and sliced thin—mainitem————1————
12301 Persian cucumber, halved crosswise and sliced thin lengthwise1—Persian cucumberhalved crosswise and sliced thin lengthwise—mainitem————1————
13314 radishes, trimmed and sliced thin4—radishestrimmed and sliced thin—mainitem————4————
1432¼ cup chopped fresh cilantro, plus 2 tablespoons leaves¼cupfresh cilantrochopped—mainitem————1/4————
1532¼ cup chopped fresh cilantro, plus 2 tablespoons leaves2tablespoonsfresh cilantro leaves——mainitem————2————
1633¼ cup chopped fresh Thai basil¼cupfresh Thai basilchopped—mainitem————1/4————
1734¼ cup chopped fresh mint¼cupfresh mintchopped—mainitem————1/4————
1835¼ cup salted dry-roasted peanuts, chopped¼cupsalted dry-roasted peanutschopped—mainitem————1/4————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1boneless, skinless chicken breastmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
2table salt, plus salt for poaching chickenmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
3fish saucemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
4sugarmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
5unseasoned rice vinegarmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
6Thai chilemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
7garlicmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
8green cabbagemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
9(2 cups) baby mizunamain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
10red cabbagemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
11red bell peppermain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
12Persian cucumbermain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
13radishesmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
14fresh cilantromain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
15fresh cilantro leavesmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
16fresh Thai basilmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
17fresh mintmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
18salted dry-roasted peanutsmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
Groupsas written
groupstepslines
136a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1boneless, skinless chicken breastmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
2table salt, plus salt for poaching chickenmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
3fish saucemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
4sugarmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
5unseasoned rice vinegarmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
6Thai chilemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
7garlicmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
8green cabbagemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
9(2 cups) baby mizunamain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
10red cabbagemain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
11red bell peppermain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
12Persian cucumbermain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
13radishesmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
14fresh cilantromain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
15fresh cilantro leavesmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
16fresh Thai basilmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
17fresh mintmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
18salted dry-roasted peanutsmain36a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.1
Groupsas written
groupstepslines
136a.1, 36b.1, 36c.1, 36c.2, 36c.3, 37a.1, 37a.2, 37b.1, 38a.1, 38b.1, 38b.2, 38c.1, 38d.11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18