15.3.5 Group the lines by part

Coconut pudding with lychee and mango salad · url-l338|all · 7 drafts · 20 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
12a.1main
12b.1main
12c.1main
12d.1main
12e.1main
12f.1main
12g.1main
12h.1main
13a.1main
13b.1main
13c.1main
13d.1main
13e.1main
14a.1main
14b.1main
14c.1main
14d.1main
14e.1main
14f.1main
14g.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_converted
161 cup caster sugar1cupcaster sugar——mainitem————1———
271/4 cup powdered gelatine1/4cuppowdered gelatine——mainitem————1/4———
382 x 400ml cans TCC premium coconut milk3.4cupsTCC premium coconut milk——mainitem—[[800.0, "ml"]]—yes17/5——yes
492 x 565g cans lychees in syrup, drained, reserving 1/2 cup syrup2cans' worthlycheesdrained—mainitem—[[1130.0, "g"]]—yes5/2——yes
592 x 565g cans lychees in syrup, drained, reserving 1/2 cup syrup2cans' worthlychee syrupreserving 1/2 cup syrup—mainitem—[[1130.0, "g"]]—yes5/2——yes
6102 small mangoes, diced2—small mangoesdiced—mainitem————2———
711Fresh mint leaves, to serve——fresh mint leaves, to serve——mainitem————————

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1caster sugarmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
2powdered gelatinemain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
3TCC premium coconut milkmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
4lycheesmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
5lychee syrupmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
6small mangoesmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
7fresh mint leaves, to servemain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
Groupsas written
groupstepslines
112a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.11, 2, 3, 4, 5, 6, 7

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1caster sugarmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
2powdered gelatinemain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
3TCC premium coconut milkmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
4lycheesmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
5lychee syrupmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
6small mangoesmain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
7fresh mint leaves, to servemain12a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.1
Groupsas written
groupstepslines
112a.1, 12b.1, 12c.1, 12d.1, 12e.1, 12f.1, 12g.1, 12h.1, 13a.1, 13b.1, 13c.1, 13d.1, 13e.1, 14a.1, 14b.1, 14c.1, 14d.1, 14e.1, 14f.1, 14g.11, 2, 3, 4, 5, 6, 7