@graffiticode/l0175 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler.d.ts.map +1 -1
- package/dist/compiler.js +44 -6
- package/dist/compiler.js.map +1 -1
- package/dist/embedding.d.ts.map +1 -1
- package/dist/embedding.js +73 -12
- package/dist/embedding.js.map +1 -1
- package/dist/lexicon.js +4 -4
- package/dist/lexicon.js.map +1 -1
- package/dist/static/examples.md +105 -0
- package/dist/static/instructions.md +238 -65
- package/dist/static/language-info.json +18 -3
- package/dist/static/lexicon.json +14 -0
- package/dist/static/scope.json +9 -8
- package/dist/static/spec.html +80 -15
- package/dist/static/stems.md +167 -5
- package/dist/static/targets.json +71 -1
- package/dist/static/usage-guide.md +29 -6
- package/dist/targets.d.ts +3 -1
- package/dist/targets.d.ts.map +1 -1
- package/dist/targets.js +87 -6
- package/dist/targets.js.map +1 -1
- package/package.json +2 -2
- package/spec/#template.gc# +20 -0
- package/spec/docs.md +49 -17
- package/spec/examples/c1-t1-tm1-multiplechoice.expect.json +1 -0
- package/spec/examples/c1-t1-tm1-multiplechoice.gc +27 -0
- package/spec/examples/c1-t1-tm2-multiselect.expect.json +1 -0
- package/spec/examples/c1-t1-tm2-multiselect.gc +27 -0
- package/spec/examples/c1-t1-tm3-hottext.expect.json +1 -0
- package/spec/examples/c1-t1-tm3-hottext.gc +27 -0
- package/spec/examples/c1-t2-tm1-multiplechoice.expect.json +1 -0
- package/spec/examples/c1-t2-tm1-multiplechoice.gc +29 -0
- package/spec/examples/c1-t2-tm2-multiselect.expect.json +1 -0
- package/spec/examples/c1-t2-tm2-multiselect.gc +28 -0
- package/spec/examples/c1-t2-tm3-ebsr.expect.json +1 -0
- package/spec/examples/c1-t2-tm3-ebsr.gc +29 -0
- package/spec/examples/c1-t2-tm4-hottext.expect.json +1 -0
- package/spec/examples/c1-t2-tm4-hottext.gc +19 -0
- package/spec/examples/c1-t2-tm5-shorttext.expect.json +1 -0
- package/spec/examples/c1-t2-tm5-shorttext.gc +20 -0
- package/spec/examples.md +100 -130
- package/spec/instructions.md +208 -62
- package/spec/language-info.json +17 -2
- package/spec/rag-examples-design.md +2 -2
- package/spec/scope.json +9 -8
- package/spec/spec.md +82 -15
- package/spec/stems.md +167 -5
- package/spec/usage-guide.md +29 -6
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
target c1-t2 passage "The Blue Ribbon" type literary lines [
|
|
2
|
+
"Every spring, Tessa entered her drawing in the county fair."
|
|
3
|
+
"Every spring she came home with nothing."
|
|
4
|
+
"This year she almost did not enter at all."
|
|
5
|
+
"Her grandmother set a fresh pencil on the kitchen table."
|
|
6
|
+
"Tessa drew the same barn eleven times before she kept one."
|
|
7
|
+
"At the fair, the blue ribbon went to somebody else."
|
|
8
|
+
"Then a teacher asked to hang Tessa's drawing in the hall."
|
|
9
|
+
"Tessa walked home taller than she had the year before."
|
|
10
|
+
]
|
|
11
|
+
claims [
|
|
12
|
+
claim id "c1" status supported dimension summary subject "the fair" text "After the ribbon went to someone else, a teacher asked to hang Tessa's drawing in the hall, and she walked home proud." cites ["e6" "e7" "e8"] {}
|
|
13
|
+
]
|
|
14
|
+
evidence [
|
|
15
|
+
source id "e6" line 6 status directly-supports supports ["c1"] quote "At the fair, the blue ribbon went to somebody else." {},
|
|
16
|
+
source id "e7" line 7 status directly-supports supports ["c1"] quote "Then a teacher asked to hang Tessa's drawing in the hall." {},
|
|
17
|
+
source id "e8" line 8 status directly-supports supports ["c1"] quote "Tessa walked home taller than she had the year before." {}
|
|
18
|
+
]
|
|
19
|
+
outcomes [ outcome id "q1" type short-text task-model tm5 dimension summary subject "the fair" focus "c1" stem "Summarize what happens after the blue ribbon goes to somebody else. Use key details from the passage in your summary." {} ]
|
|
20
|
+
{}..
|
package/spec/examples.md
CHANGED
|
@@ -1,135 +1,105 @@
|
|
|
1
1
|
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
|
2
2
|
# L0175 RAG Training Examples
|
|
3
3
|
|
|
4
|
-
_Revised: 2026-
|
|
4
|
+
_Revised: 2026-08-28_
|
|
5
5
|
|
|
6
6
|
Natural-language prompts for training a RAG model on L0175 — composing 5th-grade ELA
|
|
7
|
-
assessment items (Smarter Balanced · Grade 5 · Claim 1)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
one
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
43. For `c1-t4`, author a **Task Model 1 (EBSR)** item about a boy who hides his fear during a thunderstorm — Part A infers what he feels, Part B gives the supporting line (dimension character, standard rl-1/rl-3).
|
|
108
|
-
44. For `c1-t4`, author a **Task Model 2 (Hot Text)** item whose Part A is the best statement about the narrator's point of view in a first-person camp diary, then Part B highlights the supporting sentences (dimension point-of-view, standard rl-6).
|
|
109
|
-
45. For `c1-t4`, author a **Task Model 3 (Short Text)** constructed-response item asking what the story's theme is and to explain it with evidence from the text (dimension theme, standard rl-2, DOK r-dok3).
|
|
110
|
-
|
|
111
|
-
**Target 11 (`c1-t11`) — Reasoning & Evidence, informational (RI):**
|
|
112
|
-
|
|
113
|
-
46. For `c1-t11`, author a **Task Model 1 (EBSR)** item about how two bridge designs solve the same problem — Part A the relationship between them, Part B the supporting detail (dimension relationships-interactions, standard ri-3).
|
|
114
|
-
47. For `c1-t11`, author a **Task Model 2 (Hot Text)** item whose Part A is the best statement of the author's purpose in an article on recycling, then Part B highlights the supporting sentences (dimension purpose, standard ri-8).
|
|
115
|
-
48. For `c1-t11`, author a **Task Model 3 (Short Text)** item asking what conclusion can be drawn about the author's opinion of solar power, explained with key evidence (dimension authors-opinion, DOK r-dok3).
|
|
116
|
-
|
|
117
|
-
**Target 9 (`c1-t9`) — Central Ideas, informational (RI-1/RI-2):**
|
|
118
|
-
|
|
119
|
-
49. For `c1-t9`, author a **Task Model 1 (Multiple Choice)** item asking which sentence best states the central idea of an article about coral reefs (dimension central-idea, standard ri-2); distractors too-narrow, too-broad, insignificant.
|
|
120
|
-
50. For `c1-t9`, author a **Task Model 2 (Multi-Select)** item asking which two sentences belong in a summary of a passage about the water cycle (dimension summary); `focus` is the two correct claims.
|
|
121
|
-
51. For `c1-t9`, author a **Task Model 3 (EBSR)** item — Part A asks for the central idea of an article on honeybee colonies, Part B asks which detail best supports it (dimension central-idea, standard ri-2). *(NB: in `c1-t9`, TM3 is EBSR — not Short Text as in T4/T11.)*
|
|
122
|
-
52. For `c1-t9`, author a **Task Model 4 (Hot Text)** single-part item: click the sentence(s) that best show the main idea of an article about volcanoes (dimension central-idea, standard ri-2).
|
|
123
|
-
53. For `c1-t9`, author a **Task Model 5 (Short Text)** item asking the student to determine the central idea and explain it with key details from the passage (dimension central-idea, DOK r-dok3).
|
|
124
|
-
|
|
125
|
-
**Target 8 (`c1-t8`) — Key Details, informational (RI-1/RI-7):**
|
|
126
|
-
|
|
127
|
-
54. For `c1-t8`, author a **Task Model 1 (Multiple Choice)** item that states the conclusion "aqueducts carried water to distant cities" and asks which detail best supports it (dimension supporting-evidence, standard ri-7); the options are sources, not statements.
|
|
128
|
-
55. For `c1-t8`, author a **Task Model 2 (Multi-Select)** item asking which two details best support a stated conclusion about migrating birds (the two directly-supports sources are the correct set).
|
|
129
|
-
56. For `c1-t8`, author a **Task Model 3 (Hot Text)** single-part item: state the inference, then have students click the sentence(s) in the passage that support it (dimension supporting-evidence).
|
|
130
|
-
|
|
131
|
-
**Target 10 (`c1-t10`) — Word Meanings, informational (RI-4/L-4):**
|
|
132
|
-
|
|
133
|
-
57. For `c1-t10`, author a **Task Model 1 (Multiple Choice)** item asking what "aqueduct" most likely means as used in the passage (dimension word-meaning, standard l-4a — context); distractors other-meaning, misinterprets, wrong-context.
|
|
134
|
-
58. For `c1-t10`, author a **Task Model 2 (Multi-Select)** item: "What does the word 'channel' most likely mean? Choose two answers." (two correct meanings, dimension word-meaning).
|
|
135
|
-
59. For `c1-t10`, author a **Task Model 3 (Hot Text)** click-the-word item: click the word in the paragraph that matches a given definition; the focus word is correct plus a few distractor candidate words from the same paragraph (standard l-4a). Keep the passage out of the stem.
|
|
7
|
+
assessment items (Smarter Balanced · Grade 5 · Claim 1). They are written the way a fifth-grade
|
|
8
|
+
teacher would ask for an item, and they stay away from specific passage content so the model
|
|
9
|
+
learns the task shape, not a topic. Each program declares its `target` first.
|
|
10
|
+
|
|
11
|
+
This is a covering set: every task model of every target appears at least once, and across the
|
|
12
|
+
task models each target's dimensions are each covered at least once. Standard is a function of
|
|
13
|
+
dimension, so covering dimensions covers the standards too — except in Word Meanings, where the
|
|
14
|
+
one dimension spans four L-4 strategies (context, roots and affixes, dictionary, word
|
|
15
|
+
relationships), which are covered instead. The dimension is carried by the skill the prompt
|
|
16
|
+
describes, not a tag.
|
|
17
|
+
|
|
18
|
+
Item type maps to a task-model number within each target, and the numbers collide across targets —
|
|
19
|
+
a short-text item is tm3 in T4/T11 but tm5 in T2/T9; a hot-text item is tm2 in T4/T11, tm4 in T2/T9, and
|
|
20
|
+
tm3 in T1/T8/T10 — so each prompt names its target and task model.
|
|
21
|
+
|
|
22
|
+
## Target 4 (`c1-t4`) — Reasoning & Evidence, literary
|
|
23
|
+
|
|
24
|
+
Students read a story and reason about it — a character's feelings or motives, how two characters
|
|
25
|
+
relate, the setting, an event, the narrator's point of view or feelings, the theme, or the topic —
|
|
26
|
+
and back it up with evidence from the text.
|
|
27
|
+
|
|
28
|
+
1. c1-t4 tm1 — Make a two-part item for a story: in Part A students figure out what the main character is feeling or why they act the way they do, and in Part B they pick the line that best backs it up.
|
|
29
|
+
2. c1-t4 tm1 — Make a two-part item for a story about an important event: in Part A students figure out why it happens or how a character reacts to it, and in Part B they pick the line that best supports their answer.
|
|
30
|
+
3. c1-t4 tm1 — Make a two-part item for a story about two characters: in Part A students figure out how the two feel about each other, and in Part B they pick the line that best shows it.
|
|
31
|
+
4. c1-t4 tm2 — Make an item for a story where students first click the sentence that best tells the narrator's point of view, then click the sentence or two that support it.
|
|
32
|
+
5. c1-t4 tm2 — Make an item for a story where students first click the sentence that best shows how the setting shapes the mood, then click the sentences that support it.
|
|
33
|
+
6. c1-t4 tm2 — Make an item for a story where students first click the sentence that best shows how the narrator feels about another character, then click the sentences that support it.
|
|
34
|
+
7. c1-t4 tm3 — Make a written-response item for a story: ask students what the theme is and have them explain it using details from the text.
|
|
35
|
+
8. c1-t4 tm3 — Make a written-response item for a story: ask students what the story is mostly about and have them support it with details from the text.
|
|
36
|
+
|
|
37
|
+
## Target 11 (`c1-t11`) — Reasoning & Evidence, informational
|
|
38
|
+
|
|
39
|
+
The same kind of reasoning as Target 4, but for an informational passage — how ideas or events
|
|
40
|
+
connect, how the author uses information to support a point, the author's point of view or
|
|
41
|
+
purpose, or the author's opinion — always supported with evidence.
|
|
42
|
+
|
|
43
|
+
9. c1-t11 tm1 — Make a two-part item for an informational passage: in Part A students figure out how two ideas or events are connected, and in Part B they choose the detail that best supports it.
|
|
44
|
+
10. c1-t11 tm1 — Make a two-part item for an informational passage: in Part A students figure out the author's point of view, and in Part B they choose the detail that best supports it.
|
|
45
|
+
11. c1-t11 tm2 — Make an item for an informational passage where students click the sentence that best states the author's purpose, then click the sentences that support it.
|
|
46
|
+
12. c1-t11 tm2 — Make an item for an informational passage where students click the sentence that best shows how the author uses facts to support a point, then click the sentences that support it.
|
|
47
|
+
13. c1-t11 tm3 — Make a written-response item for an informational passage: ask students what conclusion they can draw about the author's opinion and have them back it up with evidence from the text.
|
|
48
|
+
|
|
49
|
+
## Target 2 (`c1-t2`) — Central Ideas, literary
|
|
50
|
+
|
|
51
|
+
Students find the theme of a story or poem, the key details and events that build it, or summarize
|
|
52
|
+
part of it. The theme is a lesson or message, not a plot event. Wrong answers are usually true but
|
|
53
|
+
not central. Summaries here always cover a section or a key event, never the whole story.
|
|
54
|
+
|
|
55
|
+
14. c1-t2 tm1 — Make an item for a story that asks which sentence best tells the theme.
|
|
56
|
+
15. c1-t2 tm2 — Make an item for a story where students choose the two sentences that belong in a summary of it.
|
|
57
|
+
16. c1-t2 tm3 — Make a two-part item for a story: in Part A students pick the theme, and in Part B they choose the sentence that best supports it.
|
|
58
|
+
17. c1-t2 tm4 — Make an item for a story where students click the one or two sentences that best show the theme.
|
|
59
|
+
18. c1-t2 tm5 — Make a written-response item for a story: ask students to summarize what happens after a key moment, using details from the text.
|
|
60
|
+
|
|
61
|
+
## Target 9 (`c1-t9`) — Central Ideas, informational
|
|
62
|
+
|
|
63
|
+
Students find the main idea of an informational passage, the key details that build it, or a
|
|
64
|
+
summary. Wrong answers are usually true but not central — a small supporting detail, an
|
|
65
|
+
overgeneralization, or a misread. T2 is its literary twin; the two are the only targets that use all five task models.
|
|
66
|
+
|
|
67
|
+
19. c1-t9 tm1 — Make an item for an informational passage that asks which sentence best states the main idea.
|
|
68
|
+
20. c1-t9 tm1 — Make an item that shows students a short summary of an informational passage with one key detail left out and asks which detail is missing.
|
|
69
|
+
21. c1-t9 tm2 — Make an item for an informational passage where students choose the two sentences that belong in a summary.
|
|
70
|
+
22. c1-t9 tm3 — Make a two-part item for an informational passage: in Part A students pick the main idea, and in Part B they choose the key detail that best supports it.
|
|
71
|
+
23. c1-t9 tm4 — Make an item for an informational passage where students click the sentence or two that best show the main idea.
|
|
72
|
+
24. c1-t9 tm5 — Make a written-response item for an informational passage: ask students to figure out the main idea and explain it using key details from the text.
|
|
73
|
+
|
|
74
|
+
## Target 1 (`c1-t1`) — Key Details, literary
|
|
75
|
+
|
|
76
|
+
The same job as Target 8, but on a story instead of an article. Give students a conclusion about
|
|
77
|
+
the story and have them find the line or lines that support it. Wrong answers are other lines that
|
|
78
|
+
tell about the story without backing up that particular conclusion.
|
|
79
|
+
|
|
80
|
+
25. c1-t1 tm1 — Give students a conclusion about a story and make an item asking which line from the story best supports it.
|
|
81
|
+
26. c1-t1 tm2 — Give students a conclusion about a story and make an item asking which two lines best support it.
|
|
82
|
+
27. c1-t1 tm3 — Give students a conclusion about a story and make an item where they click the sentence or two that support it.
|
|
83
|
+
|
|
84
|
+
## Target 8 (`c1-t8`) — Key Details, informational
|
|
85
|
+
|
|
86
|
+
The conclusion is handed to the students; their job is to find the evidence. Give them an
|
|
87
|
+
inference about an informational passage and have them pick the detail(s) that support it. The
|
|
88
|
+
wrong answers are other details that don't actually support it.
|
|
89
|
+
|
|
90
|
+
28. c1-t8 tm1 — Give students a conclusion about an informational passage and make an item asking which detail from the passage best supports it.
|
|
91
|
+
29. c1-t8 tm2 — Give students a conclusion about an informational passage and make an item asking which two details best support it.
|
|
92
|
+
30. c1-t8 tm3 — Give students a conclusion about an informational passage and make an item where they click the sentence or two that support it.
|
|
93
|
+
|
|
94
|
+
## Target 10 (`c1-t10`) — Word Meanings, informational
|
|
95
|
+
|
|
96
|
+
Students figure out what a word or phrase means the way it is used in an informational passage.
|
|
97
|
+
The answer choices are meanings; wrong ones come from another meaning of the word, a misread, or
|
|
98
|
+
the wrong context. Items lean on context, but can also use a word's roots and affixes, a dictionary
|
|
99
|
+
entry, or word relationships like synonyms and antonyms.
|
|
100
|
+
|
|
101
|
+
31. c1-t10 tm1 — Make an item that asks what a key word most likely means the way it is used in an informational passage.
|
|
102
|
+
32. c1-t10 tm1 — Make an item that asks what a word means by using its Greek or Latin root or prefix.
|
|
103
|
+
33. c1-t10 tm2 — Make an item that asks students to choose the two answers that best give the meaning of a key word as it is used in an informational passage.
|
|
104
|
+
34. c1-t10 tm2 — Make an item that asks students to choose the two words that mean about the same as a key word from the passage.
|
|
105
|
+
35. c1-t10 tm3 — Give students a short dictionary definition and make an item where they click the word in the paragraph that matches it.
|