15.3.2 Clean and cut each step

HOT & SOUR BEEF SALAD (CAMBODIA) · photo-img-9555|12 · 6 drafts · 5 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

Reads every step's text. A step that starts with Weigh or Measure is emptied; s&p becomes salt and pepper; a swap in brackets ('(or other oil)'), 'instead of ...' and 'substitute ... for ...' are blanked. Then the text is cut into tokens (words, numbers and punctuation); each token keeps its kind, its start and end positions in the text as read, its word in lower case, and its singular form.

29 keyed cells differ, and 55 more differ only in reason, word-list convention or position.

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.

Answer key's notes
  • After "Mix" every "/" separates a list with no "with" (R90 rule 1 as narrowed by R119 rule 3), and "2 chopd shallot&rdchili" is read by R91 rule 1 as "2 each chopped shallot and red chili".
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsSteps as IS 15.3 reads them12a.1text as read Grill 1# steak Grill 1 pound steak
differsSteps as IS 15.3 reads them12c.1text as readMix 4T fish sauce/4T lime juice/2 chopped shallot&red chili/steak juice.Mix 4 tablespoons fish sauce, 4 tablespoons lime juice, 2 each chopped shallot and red chili, and steak juice.
differsSteps as IS 15.3 reads them12d.1text as readToss all w 4c lettuce.Toss all with 4 cups lettuce.
differsEach step's tokens["12a.1", 2]kindpw
differsEach step's tokens["12a.1", 2]word#pound
differsEach step's tokens["12a.1", 2]singular#pound
differsEach step's tokens["12c.1", 2]wordttablespoons
differsEach step's tokens["12c.1", 2]singularttablespoon
differsEach step's tokens["12c.1", 5]word/,
differsEach step's tokens["12c.1", 5]singular/,
differsEach step's tokens["12c.1", 7]wordttablespoons
differsEach step's tokens["12c.1", 7]singularttablespoon
differsEach step's tokens["12c.1", 10]word/,
differsEach step's tokens["12c.1", 10]singular/,
differsEach step's tokens["12c.1", "k12"]kind—w
differsEach step's tokens["12c.1", "k12"]word—each
differsEach step's tokens["12c.1", "k12"]singular—each
differsEach step's tokens["12c.1", 14]kindpw
differsEach step's tokens["12c.1", 14]word&and
differsEach step's tokens["12c.1", 14]singular&and
differsEach step's tokens["12c.1", 17]word/,
differsEach step's tokens["12c.1", 17]singular/,
differsEach step's tokens["12c.1", "k19"]kind—w
differsEach step's tokens["12c.1", "k19"]word—and
differsEach step's tokens["12c.1", "k19"]singular—and
differsEach step's tokens["12d.1", 2]wordwwith
differsEach step's tokens["12d.1", 2]singularwwith
differsEach step's tokens["12d.1", 4]wordccups
differsEach step's tokens["12d.1", 4]singularccup
position shift (the step's text differs)Each step's tokens["12a.1", 2]start4243
position shift (the step's text differs)Each step's tokens["12a.1", 2]end4348
position shift (the step's text differs)Each step's tokens["12a.1", 3]start4449
position shift (the step's text differs)Each step's tokens["12a.1", 3]end4954
position shift (the step's text differs)Each step's tokens["12c.1", 2]start56
position shift (the step's text differs)Each step's tokens["12c.1", 2]end617
position shift (the step's text differs)Each step's tokens["12c.1", 3]start718
position shift (the step's text differs)Each step's tokens["12c.1", 3]end1122
position shift (the step's text differs)Each step's tokens["12c.1", 4]start1223
position shift (the step's text differs)Each step's tokens["12c.1", 4]end1728
position shift (the step's text differs)Each step's tokens["12c.1", 5]start1728
position shift (the step's text differs)Each step's tokens["12c.1", 5]end1829
position shift (the step's text differs)Each step's tokens["12c.1", 6]start1830
position shift (the step's text differs)Each step's tokens["12c.1", 6]end1931
position shift (the step's text differs)Each step's tokens["12c.1", 7]start1932
position shift (the step's text differs)Each step's tokens["12c.1", 7]end2043
position shift (the step's text differs)Each step's tokens["12c.1", 8]start2144
position shift (the step's text differs)Each step's tokens["12c.1", 8]end2548
position shift (the step's text differs)Each step's tokens["12c.1", 9]start2649
position shift (the step's text differs)Each step's tokens["12c.1", 9]end3154
position shift (the step's text differs)Each step's tokens["12c.1", 10]start3154
position shift (the step's text differs)Each step's tokens["12c.1", 10]end3255
position shift (the step's text differs)Each step's tokens["12c.1", 11]start3256
position shift (the step's text differs)Each step's tokens["12c.1", 11]end3357
position shift (the step's text differs)Each step's tokens["12c.1", "k12"]start—58
position shift (the step's text differs)Each step's tokens["12c.1", "k12"]end—62
position shift (the step's text differs)Each step's tokens["12c.1", 12]start3463
position shift (the step's text differs)Each step's tokens["12c.1", 12]end4170
position shift (the step's text differs)Each step's tokens["12c.1", 13]start4271
position shift (the step's text differs)Each step's tokens["12c.1", 13]end4978
position shift (the step's text differs)Each step's tokens["12c.1", 14]start4979
position shift (the step's text differs)Each step's tokens["12c.1", 14]end5082
position shift (the step's text differs)Each step's tokens["12c.1", 15]start5083
position shift (the step's text differs)Each step's tokens["12c.1", 15]end5386
position shift (the step's text differs)Each step's tokens["12c.1", 16]start5487
position shift (the step's text differs)Each step's tokens["12c.1", 16]end5992
position shift (the step's text differs)Each step's tokens["12c.1", 17]start5992
position shift (the step's text differs)Each step's tokens["12c.1", 17]end6093
position shift (the step's text differs)Each step's tokens["12c.1", "k19"]start—94
position shift (the step's text differs)Each step's tokens["12c.1", "k19"]end—97
position shift (the step's text differs)Each step's tokens["12c.1", 18]start6098
position shift (the step's text differs)Each step's tokens["12c.1", 18]end65103
position shift (the step's text differs)Each step's tokens["12c.1", 19]start66104
position shift (the step's text differs)Each step's tokens["12c.1", 19]end71109
position shift (the step's text differs)Each step's tokens["12c.1", 20]start71109
position shift (the step's text differs)Each step's tokens["12c.1", 20]end72110
position shift (the step's text differs)Each step's tokens["12d.1", 2]end1013
position shift (the step's text differs)Each step's tokens["12d.1", 3]start1114
position shift (the step's text differs)Each step's tokens["12d.1", 3]end1215
position shift (the step's text differs)Each step's tokens["12d.1", 4]start1216
position shift (the step's text differs)Each step's tokens["12d.1", 4]end1320
position shift (the step's text differs)Each step's tokens["12d.1", 5]start1421
position shift (the step's text differs)Each step's tokens["12d.1", 5]end2128
position shift (the step's text differs)Each step's tokens["12d.1", 6]start2128
position shift (the step's text differs)Each step's tokens["12d.1", 6]end2229

Inputs

K1(s1) stepsevery step IS 15.3 receives, in order
stepL1K linetext
12a.112CAMBODIA | HOT & SOUR BEEF SALAD | Grill 1# steak
12a.212slice.
12b.112Save juice.
12c.112Mix 4T fishsauce/4T limejuice/2 chopd shallot&rdchili/steak juice.
12d.112Toss all w 4c lettuce.
Title words15.3.1's output
title word
&
beef
cambodia
hot
salad
sour

Script result

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
12a.1 Grill 1# steak
12a.2slice.
12b.1Save juice.
12c.1Mix 4T fish sauce/4T lime juice/2 chopped shallot&red chili/steak juice.
12d.1Toss all w 4c lettuce.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
12a.10w3540grillgrill
12a.11n414211
12a.12p4243##
12a.13w4449steaksteak
12a.20w05sliceslice
12a.21p56..
12b.10w04savesave
12b.11w510juicejuice
12b.12p1011..
12c.10w03mixmix
12c.11n4544
12c.12w56tt
12c.13w711fishfish
12c.14w1217saucesauce
12c.15p1718//
12c.16n181944
12c.17w1920tt
12c.18w2125limelime
12c.19w2631juicejuice
12c.110p3132//
12c.111n323322
12c.1——————
12c.112w3441choppedchopped
12c.113w4249shallotshallot
12c.114p4950&&
12c.115w5053redred
12c.116w5459chilichili
12c.117p5960//
12c.1——————
12c.118w6065steaksteak
12c.119w6671juicejuice
12c.120p7172..
12d.10w04tosstoss
12d.11w58allall
12d.12w910ww
12d.13n111244
12d.14w1213cc
12d.15w1421lettucelettuce
12d.16p2122..

Answer key

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
12a.1 Grill 1 pound steak
12a.2slice.
12b.1Save juice.
12c.1Mix 4 tablespoons fish sauce, 4 tablespoons lime juice, 2 each chopped shallot and red chili, and steak juice.
12d.1Toss all with 4 cups lettuce.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
12a.10w3540grillgrill
12a.11n414211
12a.12w4348poundpound
12a.13w4954steaksteak
12a.20w05sliceslice
12a.21p56..
12b.10w04savesave
12b.11w510juicejuice
12b.12p1011..
12c.10w03mixmix
12c.11n4544
12c.12w617tablespoonstablespoon
12c.13w1822fishfish
12c.14w2328saucesauce
12c.15p2829,,
12c.16n303144
12c.17w3243tablespoonstablespoon
12c.18w4448limelime
12c.19w4954juicejuice
12c.110p5455,,
12c.111n565722
12c.112w5862eacheach
12c.113w6370choppedchopped
12c.114w7178shallotshallot
12c.115w7982andand
12c.116w8386redred
12c.117w8792chilichili
12c.118p9293,,
12c.119w9497andand
12c.120w98103steaksteak
12c.121w104109juicejuice
12c.122p109110..
12d.10w04tosstoss
12d.11w58allall
12d.12w913withwith
12d.13n141544
12d.14w1620cupscup
12d.15w2128lettucelettuce
12d.16p2829..