For every draft, works out which words can name it: the name is trimmed (brackets, usage words such as 'for garnish' or 'to taste' cut); its last word, singular, is the main word; a few more trigger words are added; the name's other food words are backups; and the name, prep and unit words are kept for breaking ties.
3 keyed cells differ, and 3 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.
| kind | table | row | column | script | answer key |
|---|---|---|---|---|---|
| differs | Each line's naming words | 6 | fallback | baking | — |
| differs | Each line's naming words | 7 | name_trimmed | melting chocolate* | melting chocolate |
| differs | Each line's naming words | 7 | fallback | melting | — |
| word-list convention | Each line's naming words | 4 | trig | egg | egg, largeegg |
| word-list convention | Each line's naming words | 4 | vocab | egg | egg, large |
| word-list convention | Each line's naming words | 4 | full | egg | egg, large |
| # | _line | _text | quantity | unit | ingredient | prep | optional | _part | _kind | _heading | _metric | _note | _container | _qv | _words_flags | _addon |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 8 | 12 Tbsp salted butter, softened* ($1.78) | 12 | Tbsp | salted butter | softened* | — | main | item | — | — | — | — | 12 | — | — |
| 2 | 9 | 1 cup sugar ($0.32) | 1 | cup | sugar | — | — | main | item | — | — | — | — | 1 | — | — |
| 3 | 10 | 1 tsp vanilla ($0.57) | 1 | tsp | vanilla | — | — | main | item | — | — | — | — | 1 | — | — |
| 4 | 11 | 1 large egg ($0.42) | 1 | — | large egg | — | — | main | item | — | — | — | — | 1 | — | — |
| 5 | 12 | 2 cups all-purpose flour ($0.24) | 2 | cups | all-purpose flour | — | — | main | item | — | — | — | — | 2 | — | — |
| 6 | 13 | 3/4 tsp baking powder ($0.05) | 3/4 | tsp | baking powder | — | — | main | item | — | — | — | — | 3/4 | — | — |
| 7 | 14 | 1 lb melting chocolate* ($3.99) | 1 | lb | melting chocolate* | — | — | main | item | — | — | — | — | 1 | — | — |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | salted butter | salted butter | butter | butter | butter, saltedbutter | — | butter, salted | butter, salted, softened, tbsp | no | no | no |
| 2 | sugar | sugar | sugar | sugar | sugar | — | sugar | cup, sugar | no | no | no |
| 3 | vanilla | vanilla | vanilla | vanilla | vanilla | — | vanilla | tsp, vanilla | no | no | no |
| 4 | large egg | large egg | egg | egg | egg | — | egg | egg | no | no | no |
| 5 | all-purpose flour | all-purpose flour | flour | flour | all-purposeflour, flour | — | all-purpose, flour | all, all-purpose, cup, flour, purpose | no | no | no |
| 6 | baking powder | baking powder | powder | powder | bakingpowder, powder | baking | baking, powder | baking, powder, tsp | no | no | no |
| 7 | melting chocolate* | melting chocolate* | chocolate | chocolate | chocolate, meltingchocolate | melting | chocolate, melting | chocolate, lb, melting | no | no | no |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | salted butter | salted butter | butter | butter | butter, saltedbutter | — | butter, salted | butter, salted, softened, tbsp | no | no | no |
| 2 | sugar | sugar | sugar | sugar | sugar | — | sugar | cup, sugar | no | no | no |
| 3 | vanilla | vanilla | vanilla | vanilla | vanilla | — | vanilla | tsp, vanilla | no | no | no |
| 4 | large egg | large egg | egg | egg | egg, largeegg | — | egg, large | egg, large | no | no | no |
| 5 | all-purpose flour | all-purpose flour | flour | flour | all-purposeflour, flour | — | all-purpose, flour | all, all-purpose, cup, flour, purpose | no | no | no |
| 6 | baking powder | baking powder | powder | powder | bakingpowder, powder | — | baking, powder | baking, powder, tsp | no | no | no |
| 7 | melting chocolate* | melting chocolate | chocolate | chocolate | chocolate, meltingchocolate | — | chocolate, melting | chocolate, lb, melting | no | no | no |