15.3.5 Group the lines by part

Japanese Sake Steamed Clams · url-l147|all · 6 drafts · 22 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
13.1main
14.1main
14.2main
15.1main
15.2main
15.3main
16.1main
16.2main
17.1main
17.2main
18a.1main
18b.1main
18b.2main
19a.1main
19a.2main
19b.1main
19c.1main
19c.2main
20.1main
20.2main
21.1main
21.2main
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
171 green onion/scallion1—green onion/scallion——mainitem————1——
281 knob fresh ginger (1 inch, 2.5 cm; julienned)1knobfresh ginger (1 inch)julienned—mainitem————1——
391 dried red chili pepper1—dried red chili pepper——mainitem————1——
4101½ lbs manila clams (cleaned, following my tutorial; it takes 1 hour, which is not included in the preparation time)1½lbsmanila clams(cleaned, following my tutorial; it takes 1 hour, which is not included in the preparation time)—mainitem————3/2——
511¾ cup sake¾cupsake——mainitem————3/4——
612freshly ground black pepper (optional)——black pepperfreshly groundyesmainitem———————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1green onion/scallionmain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
2fresh ginger (1 inch)main13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
3dried red chili peppermain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
4manila clamsmain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
5sakemain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
6black peppermain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
Groupsas written
groupstepslines
113.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.21, 2, 3, 4, 5, 6

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1green onion/scallionmain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
2fresh ginger (1 inch)main13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
3dried red chili peppermain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
4manila clamsmain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
5sakemain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
6black peppermain13.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.2
Groupsas written
groupstepslines
113.1, 14.1, 14.2, 15.1, 15.2, 15.3, 16.1, 16.2, 17.1, 17.2, 18a.1, 18b.1, 18b.2, 19a.1, 19a.2, 19b.1, 19c.1, 19c.2, 20.1, 20.2, 21.1, 21.21, 2, 3, 4, 5, 6