15.3.5 Group the lines by part

Cucumber-Basil Lemonade With Lemongrass Recipe · url-l234|all · 10 drafts · 8 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
15a.1main
15b.1main
15c.1main
15d.1main
15e.1main
15e.2main
15f.1main
15g.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
161 medium cucumber, cut into rough chunks1—medium cucumbercut into rough chunks—mainitem————1——
272 stalks lemongrass, bottom 4 inches only, roughly chopped2stalkslemongrassbottom 4 inches only, roughly chopped—mainitem————2——
382 cups loosely packed basil leaves2cupsloosely packed basil leaves——mainitem————2——
491 cup fresh juice from 10 to 12 lemons1cupfresh juice from 10 to 12 lemons——mainitem————1——
5101/2 cup sugar1/2cupsugar——mainitem————1/2——
611pinch salt1pinchsalt——mainitem————1——
7123 cups cold water3cupscold water——mainitem————3——
8131 quart ice1quartice——mainitem————1——
914Cucumber slices and basil leaves for garnish——cucumber slices for garnish——mainitem———————
1014Cucumber slices and basil leaves for garnish——basil leaves for garnish——mainitem———————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1medium cucumbermain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
2lemongrassmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
3loosely packed basil leavesmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
4fresh juice from 10 to 12 lemonsmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
5sugarmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
6saltmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
7cold watermain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
8icemain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
9cucumber slices for garnishmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
10basil leaves for garnishmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
Groupsas written
groupstepslines
115a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.11, 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
1medium cucumbermain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
2lemongrassmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
3loosely packed basil leavesmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
4fresh juice from 10 to 12 lemonsmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
5sugarmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
6saltmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
7cold watermain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
8icemain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
9cucumber slices for garnishmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
10basil leaves for garnishmain15a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.1
Groupsas written
groupstepslines
115a.1, 15b.1, 15c.1, 15d.1, 15e.1, 15e.2, 15f.1, 15g.11, 2, 3, 4, 5, 6, 7, 8, 9, 10