15.3.5 Group the lines by part

Perfectly Sweet Cannoli Dip · url-l285|all · 8 drafts · 11 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
13a.1main
13b.1main
13b.2main
13c.1main
14a.1main
14b.1main
15a.1main
15b.1main
15b.2main
15c.1main
16.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
1615 ounces Whole Milk Ricotta Strained15weight ouncesWhole Milk RicottaStrained—mainitem————15yes———
271 Cup Mascarpone Cheese1CupMascarpone Cheese——mainitem————1————
381 ½ Cup Powdered Sugar1 ½CupPowdered Sugar——mainitem————3/2————
491/2 Teaspoon Vanilla Extract1/2TeaspoonVanilla Extract——mainitem————1/2————
5101 Teaspoon Orange Zest1TeaspoonOrange Zest——mainitem————1————
6111/2 Cup Mini Chocolate Chips1/2CupMini Chocolate Chips——mainitem————1/2————
7121/4 Cup Chopped Pistachios optional1/4CupPistachiosChoppedyesmainitem————1/4—[{"what": "leading word pair not in the key", "row": "Pistachios", "word": "chopped"}]——
816cannoli shells or chips, waffle cones, or graham crackers——cannoli shells——mainphrase————————cannoli shells or chips, waffle cones, or graham crackers

Script result

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1Whole Milk Ricottamain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
2Mascarpone Cheesemain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
3Powdered Sugarmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
4Vanilla Extractmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
5Orange Zestmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
6Mini Chocolate Chipsmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
7Pistachiosmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
8cannoli shellsmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
Groupsas written
groupstepslines
113a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.11, 2, 3, 4, 5, 6, 7, 8

Answer key

Each line's stepsthe steps of the group each line is in
#ingredientpartits group's steps
1Whole Milk Ricottamain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
2Mascarpone Cheesemain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
3Powdered Sugarmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
4Vanilla Extractmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
5Orange Zestmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
6Mini Chocolate Chipsmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
7Pistachiosmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
8cannoli shellsmain13a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.1
Groupsas written
groupstepslines
113a.1, 13b.1, 13b.2, 13c.1, 14a.1, 14b.1, 15a.1, 15b.1, 15b.2, 15c.1, 16.11, 2, 3, 4, 5, 6, 7, 8