@graffiticode/l0175 0.2.0 → 0.3.0

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.
Files changed (78) hide show
  1. package/dist/compiler.d.ts.map +1 -1
  2. package/dist/compiler.js +50 -124
  3. package/dist/compiler.js.map +1 -1
  4. package/dist/embedding.d.ts +1 -0
  5. package/dist/embedding.d.ts.map +1 -1
  6. package/dist/embedding.js +35 -2
  7. package/dist/embedding.js.map +1 -1
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +2 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/lexicon.d.ts +7 -0
  13. package/dist/lexicon.d.ts.map +1 -1
  14. package/dist/lexicon.js +12 -4
  15. package/dist/lexicon.js.map +1 -1
  16. package/dist/static/instructions.md +187 -10
  17. package/dist/static/language-info.json +3 -3
  18. package/dist/static/lexicon.json +98 -0
  19. package/dist/static/scope.json +1 -1
  20. package/dist/static/spec.html +2 -1
  21. package/dist/static/stems.md +14 -0
  22. package/dist/static/targets.json +209 -0
  23. package/dist/static/template.gc +7 -67
  24. package/dist/static/unparse-hints.json +3 -0
  25. package/dist/static/usage-guide.md +22 -2
  26. package/dist/targets.d.ts +25 -0
  27. package/dist/targets.d.ts.map +1 -0
  28. package/dist/targets.js +169 -0
  29. package/dist/targets.js.map +1 -0
  30. package/dist/verify-example.d.ts +27 -0
  31. package/dist/verify-example.d.ts.map +1 -0
  32. package/dist/verify-example.js +82 -0
  33. package/dist/verify-example.js.map +1 -0
  34. package/package.json +1 -1
  35. package/spec/docs.md +5 -2
  36. package/spec/examples/c1-t10-tm1-multiplechoice.expect.json +1 -0
  37. package/spec/examples/c1-t10-tm1-multiplechoice.gc +15 -0
  38. package/spec/examples/c1-t10-tm2-multiselect.expect.json +1 -0
  39. package/spec/examples/c1-t10-tm2-multiselect.gc +15 -0
  40. package/spec/examples/c1-t10-tm3-hottext.expect.json +1 -0
  41. package/spec/examples/c1-t10-tm3-hottext.gc +13 -0
  42. package/spec/examples/c1-t11-tm1-ebsr.expect.json +4 -0
  43. package/spec/examples/c1-t11-tm1-ebsr.gc +30 -0
  44. package/spec/examples/c1-t11-tm2-hottext.expect.json +4 -0
  45. package/spec/examples/c1-t11-tm2-hottext.gc +30 -0
  46. package/spec/examples/c1-t11-tm3-shorttext.expect.json +4 -0
  47. package/spec/examples/c1-t11-tm3-shorttext.gc +30 -0
  48. package/spec/examples/c1-t4-tm1-ebsr.expect.json +4 -0
  49. package/spec/examples/c1-t4-tm1-ebsr.gc +30 -0
  50. package/spec/examples/c1-t4-tm2-hottext.expect.json +4 -0
  51. package/spec/examples/c1-t4-tm2-hottext.gc +30 -0
  52. package/spec/examples/c1-t4-tm3-shorttext.expect.json +4 -0
  53. package/spec/examples/c1-t4-tm3-shorttext.gc +30 -0
  54. package/spec/examples/c1-t8-tm1-multiplechoice.expect.json +1 -0
  55. package/spec/examples/c1-t8-tm1-multiplechoice.gc +25 -0
  56. package/spec/examples/c1-t8-tm2-multiselect.expect.json +1 -0
  57. package/spec/examples/c1-t8-tm2-multiselect.gc +25 -0
  58. package/spec/examples/c1-t8-tm3-hottext.expect.json +1 -0
  59. package/spec/examples/c1-t8-tm3-hottext.gc +25 -0
  60. package/spec/examples/c1-t9-tm1-multiplechoice.expect.json +1 -0
  61. package/spec/examples/c1-t9-tm1-multiplechoice.gc +23 -0
  62. package/spec/examples/c1-t9-tm2-multiselect.expect.json +1 -0
  63. package/spec/examples/c1-t9-tm2-multiselect.gc +24 -0
  64. package/spec/examples/c1-t9-tm3-ebsr.expect.json +10 -0
  65. package/spec/examples/c1-t9-tm3-ebsr.gc +30 -0
  66. package/spec/examples/c1-t9-tm4-hottext.expect.json +10 -0
  67. package/spec/examples/c1-t9-tm4-hottext.gc +20 -0
  68. package/spec/examples/c1-t9-tm5-shorttext.expect.json +10 -0
  69. package/spec/examples/c1-t9-tm5-shorttext.gc +20 -0
  70. package/spec/examples.md +55 -11
  71. package/spec/instructions.md +187 -10
  72. package/spec/language-info.json +2 -2
  73. package/spec/rag-examples-design.md +74 -0
  74. package/spec/scope.json +1 -1
  75. package/spec/spec.md +9 -1
  76. package/spec/stems.md +14 -0
  77. package/spec/template.gc +7 -67
  78. package/spec/usage-guide.md +22 -2
@@ -0,0 +1,30 @@
1
+ target c1-t4 passage "The Tide Pool" type literary lines [
2
+ "Mara crouched at the edge of the tide pool, ignoring the picnic behind her."
3
+ "Her brother called twice, but she did not turn around."
4
+ "A tiny crab scuttled under a rock, and Mara smiled for the first time all day."
5
+ "She traced the cold water as if the pool were the only thing that mattered."
6
+ "Five more minutes, she whispered, though no one was listening."
7
+ "Behind her, paper plates rustled and her mother laughed."
8
+ "The waves pushed a ribbon of seaweed against her fingers."
9
+ "Her sandwich sat untouched on the blanket by the cooler."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension character subject "Mara" standard rl-1 text "Mara cares more about the tide pool than the picnic." cites ["e1" "e3" "e4"] {},
13
+ claim id "c2" status distractor error-type misreads-detail plausibility 0.9 targets ["q1"] text "Mara is angry at her brother for calling her." rationale "Her silence is absorption, not anger." cites ["e2"] {},
14
+ claim id "c3" status distractor error-type erroneous-inference plausibility 0.6 targets ["q1"] text "Mara does not like being outdoors at the beach." rationale "Contradicted by her smile at the crab." cites ["e6"] {},
15
+ claim id "c4" status distractor error-type faulty-reasoning plausibility 0.6 targets ["q1"] text "Mara is afraid of her own family at the beach." rationale "Her quiet whisper is treated as fear without support." cites ["e5"] {},
16
+ claim id "c5" status distractor error-type misreads-detail plausibility 0.5 targets ["q1"] text "Mara is bored by the quiet water of the tide pool." rationale "Her stillness shows focus, not boredom." cites ["e7"] {},
17
+ claim id "c6" status distractor error-type erroneous-inference plausibility 0.5 targets ["q1"] text "Mara wants to leave the beach and go home." rationale "Nothing shows a wish to leave; she asks for more time." cites ["e8"] {}
18
+ ]
19
+ evidence [
20
+ source id "e1" line 1 status directly-supports supports ["c1"] quote "Mara crouched at the edge of the tide pool, ignoring the picnic behind her." {},
21
+ source id "e3" line 3 status directly-supports supports ["c1"] quote "A tiny crab scuttled under a rock, and Mara smiled for the first time all day." {},
22
+ source id "e4" line 4 status directly-supports supports ["c1"] quote "She traced the cold water as if the pool were the only thing that mattered." {},
23
+ source id "e2" line 2 status supports-wrong-claim supports ["c1" "c2"] quote "Her brother called twice, but she did not turn around." rationale "Looks like it supports the main inference but really backs the anger misreading." {},
24
+ source id "e5" line 5 status supports-wrong-claim supports ["c4"] quote "Five more minutes, she whispered, though no one was listening." rationale "Backs the fear misreading, not the correct inference." {},
25
+ source id "e6" line 6 status irrelevant supports [] quote "Behind her, paper plates rustled and her mother laughed." {},
26
+ source id "e7" line 7 status irrelevant supports [] quote "The waves pushed a ribbon of seaweed against her fingers." {},
27
+ source id "e8" line 8 status irrelevant supports [] quote "Her sandwich sat untouched on the blanket by the cooler." {}
28
+ ]
29
+ outcomes [ outcome id "q1" type short-text task-model tm3 dimension character subject "Mara" standard rl-1 focus "c1" stem "What inference can be made about Mara? Explain using key details from the passage to support your answer." {} ]
30
+ {}..
@@ -0,0 +1 @@
1
+ { "prompt": "From an informational article about Roman aqueducts, author a c1-t8 Task Model 1 (Multiple Choice) item that states the conclusion 'Roman aqueducts carried water to the city from far-away sources' and asks which detail from the passage best supports it. The options are passage sources, not statements (dimension supporting-evidence, standard ri-7).", "expect": { "target": "c1-t8", "taskModel": "tm1", "itemType": "multiple-choice", "dimension": "supporting-evidence", "standard": "ri-7" } }
@@ -0,0 +1,25 @@
1
+ target c1-t8 passage "Roman Aqueducts" type informational lines [
2
+ "Long ago, Rome did not have enough fresh water."
3
+ "Workers built long channels called aqueducts to bring water to the city."
4
+ "Some aqueducts began at springs far away in the hills."
5
+ "The channels tilted down a little, so the water flowed on its own."
6
+ "Tall stone arches held the channel over low valleys."
7
+ "By the time it reached Rome, the water had gone more than sixty miles."
8
+ "In the city, people filled their jugs at open fountains."
9
+ "Workers cleaned the channels often to keep the water fresh."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension supporting-evidence subject "the aqueducts" standard ri-7 text "Roman aqueducts carried water to the city from far away." cites ["e1" "e2" "e3"] {}
13
+ ]
14
+ evidence [
15
+ source id "e1" line 3 status directly-supports supports ["c1"] quote "Some aqueducts began at springs far away in the hills." {},
16
+ source id "e2" line 6 status directly-supports supports ["c1"] quote "By the time it reached Rome, the water had gone more than sixty miles." {},
17
+ source id "e3" line 2 status directly-supports supports ["c1"] quote "Workers built long channels called aqueducts to bring water to the city." {},
18
+ source id "e4" line 1 status irrelevant supports [] quote "Long ago, Rome did not have enough fresh water." {},
19
+ source id "e5" line 4 status irrelevant supports [] quote "The channels tilted down a little, so the water flowed on its own." {},
20
+ source id "e6" line 5 status irrelevant supports [] quote "Tall stone arches held the channel over low valleys." {},
21
+ source id "e7" line 7 status irrelevant supports [] quote "In the city, people filled their jugs at open fountains." {},
22
+ source id "e8" line 8 status irrelevant supports [] quote "Workers cleaned the channels often to keep the water fresh." {}
23
+ ]
24
+ outcomes [ outcome id "q1" type multiple-choice task-model tm1 dimension supporting-evidence subject "the aqueducts" standard ri-7 focus "c1" stem "Roman aqueducts carried water to the city from far away. Which detail from the passage best supports this idea?" {} ]
25
+ {}..
@@ -0,0 +1 @@
1
+ { "prompt": "From the same aqueducts article, author a c1-t8 Task Model 2 (Multi-Select) item asking which TWO details best support the stated conclusion; the two directly-supporting sources are the correct set (dimension supporting-evidence, standard ri-7).", "expect": { "target": "c1-t8", "taskModel": "tm2", "itemType": "multi-select", "dimension": "supporting-evidence", "standard": "ri-7" } }
@@ -0,0 +1,25 @@
1
+ target c1-t8 passage "Roman Aqueducts" type informational lines [
2
+ "Long ago, Rome did not have enough fresh water."
3
+ "Workers built long channels called aqueducts to bring water to the city."
4
+ "Some aqueducts began at springs far away in the hills."
5
+ "The channels tilted down a little, so the water flowed on its own."
6
+ "Tall stone arches held the channel over low valleys."
7
+ "By the time it reached Rome, the water had gone more than sixty miles."
8
+ "In the city, people filled their jugs at open fountains."
9
+ "Workers cleaned the channels often to keep the water fresh."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension supporting-evidence subject "the aqueducts" standard ri-7 text "Roman aqueducts carried water to the city from far away." cites ["e1" "e2" "e3"] {}
13
+ ]
14
+ evidence [
15
+ source id "e1" line 3 status directly-supports supports ["c1"] quote "Some aqueducts began at springs far away in the hills." {},
16
+ source id "e2" line 6 status directly-supports supports ["c1"] quote "By the time it reached Rome, the water had gone more than sixty miles." {},
17
+ source id "e3" line 2 status directly-supports supports ["c1"] quote "Workers built long channels called aqueducts to bring water to the city." {},
18
+ source id "e4" line 1 status irrelevant supports [] quote "Long ago, Rome did not have enough fresh water." {},
19
+ source id "e5" line 4 status irrelevant supports [] quote "The channels tilted down a little, so the water flowed on its own." {},
20
+ source id "e6" line 5 status irrelevant supports [] quote "Tall stone arches held the channel over low valleys." {},
21
+ source id "e7" line 7 status irrelevant supports [] quote "In the city, people filled their jugs at open fountains." {},
22
+ source id "e8" line 8 status irrelevant supports [] quote "Workers cleaned the channels often to keep the water fresh." {}
23
+ ]
24
+ outcomes [ outcome id "q1" type multi-select task-model tm2 dimension supporting-evidence subject "the aqueducts" standard ri-7 focus "c1" stem "Roman aqueducts carried water to the city from far away. Which two details from the passage best support this idea? Choose two answers." {} ]
25
+ {}..
@@ -0,0 +1 @@
1
+ { "prompt": "From the same aqueducts article, author a c1-t8 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, standard ri-7).", "expect": { "target": "c1-t8", "taskModel": "tm3", "itemType": "hot-text", "dimension": "supporting-evidence", "standard": "ri-7" } }
@@ -0,0 +1,25 @@
1
+ target c1-t8 passage "Roman Aqueducts" type informational lines [
2
+ "Long ago, Rome did not have enough fresh water."
3
+ "Workers built long channels called aqueducts to bring water to the city."
4
+ "Some aqueducts began at springs far away in the hills."
5
+ "The channels tilted down a little, so the water flowed on its own."
6
+ "Tall stone arches held the channel over low valleys."
7
+ "By the time it reached Rome, the water had gone more than sixty miles."
8
+ "In the city, people filled their jugs at open fountains."
9
+ "Workers cleaned the channels often to keep the water fresh."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension supporting-evidence subject "the aqueducts" standard ri-7 text "Roman aqueducts carried water to the city from far away." cites ["e1" "e2" "e3"] {}
13
+ ]
14
+ evidence [
15
+ source id "e1" line 3 status directly-supports supports ["c1"] quote "Some aqueducts began at springs far away in the hills." {},
16
+ source id "e2" line 6 status directly-supports supports ["c1"] quote "By the time it reached Rome, the water had gone more than sixty miles." {},
17
+ source id "e3" line 2 status directly-supports supports ["c1"] quote "Workers built long channels called aqueducts to bring water to the city." {},
18
+ source id "e4" line 1 status irrelevant supports [] quote "Long ago, Rome did not have enough fresh water." {},
19
+ source id "e5" line 4 status irrelevant supports [] quote "The channels tilted down a little, so the water flowed on its own." {},
20
+ source id "e6" line 5 status irrelevant supports [] quote "Tall stone arches held the channel over low valleys." {},
21
+ source id "e7" line 7 status irrelevant supports [] quote "In the city, people filled their jugs at open fountains." {},
22
+ source id "e8" line 8 status irrelevant supports [] quote "Workers cleaned the channels often to keep the water fresh." {}
23
+ ]
24
+ outcomes [ outcome id "q1" type hot-text task-model tm3 dimension supporting-evidence subject "the aqueducts" standard ri-7 focus "c1" stem "Roman aqueducts carried water to the city from far away. Click the sentence(s) from the passage that support this idea." {} ]
25
+ {}..
@@ -0,0 +1 @@
1
+ { "prompt": "From the same informational article about how a honeybee colony works, author a c1-t9 Task Model 1 (Multiple Choice) item asking which sentence best states the central idea of the passage (dimension central-idea, standard ri-2). Distractors are true-but-not-central: a too-narrow supporting detail, a too-broad overgeneralization, an insignificant minor detail, and a misread of the bees' roles.", "expect": { "target": "c1-t9", "taskModel": "tm1", "itemType": "multiple-choice", "dimension": "central-idea", "standard": "ri-2" } }
@@ -0,0 +1,23 @@
1
+ target c1-t9 passage "How a Honeybee Colony Works" type informational lines [
2
+ "Honeybees live together in large groups called colonies."
3
+ "Every bee in the colony has a job that helps the whole group survive."
4
+ "Worker bees gather nectar, build the honeycomb, and feed the young."
5
+ "Guard bees stand at the entrance and protect the hive from intruders."
6
+ "The queen lays the eggs that become the colony's next generation."
7
+ "When a worker finds flowers, it dances to tell the others where to go."
8
+ "In winter, the bees cluster together and beat their wings to stay warm."
9
+ "Because each bee does its part, the colony can do things no single bee could do alone."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension central-idea text "Every bee in a colony does a job that helps the group survive." cites ["e1" "e2"] {},
13
+ claim id "c2" status distractor error-type too-narrow plausibility 0.8 targets ["q1"] text "Worker bees gather nectar and build the honeycomb." rationale "A true supporting detail about one kind of bee, not the whole-colony idea." {},
14
+ claim id "c3" status distractor error-type too-broad plausibility 0.6 targets ["q1"] text "Insects are important animals all around the world." rationale "An overgeneralization that goes beyond the passage." {},
15
+ claim id "c4" status distractor error-type insignificant plausibility 0.6 targets ["q1"] text "A honeybee dances to show where the flowers are." rationale "A minor detail, not the central idea." {},
16
+ claim id "c5" status distractor error-type misreads-detail plausibility 0.6 targets ["q1"] text "The queen bee does all of the work in the colony." rationale "Misreads the roles; the workers do the labor." {}
17
+ ]
18
+ evidence [
19
+ source id "e1" line 2 status directly-supports supports ["c1"] quote "Every bee in the colony has a job that helps the whole group survive." {},
20
+ source id "e2" line 8 status directly-supports supports ["c1"] quote "Because each bee does its part, the colony can do things no single bee could do alone." {}
21
+ ]
22
+ outcomes [ outcome id "q1" type multiple-choice task-model tm1 dimension central-idea subject "the colony" standard ri-2 focus "c1" stem "Which sentence best states the central idea of the passage?" {} ]
23
+ {}..
@@ -0,0 +1 @@
1
+ { "prompt": "From the same honeybee article, author a c1-t9 Task Model 2 (Multi-Select) item asking which two sentences should be included in a summary of the passage (dimension summary, standard ri-2). The focus is the two correct summary claims; distractors are insignificant, too-broad, or too-narrow statements. Choose two answers.", "expect": { "target": "c1-t9", "taskModel": "tm2", "itemType": "multi-select", "dimension": "summary", "standard": "ri-2" } }
@@ -0,0 +1,24 @@
1
+ target c1-t9 passage "How a Honeybee Colony Works" type informational lines [
2
+ "Honeybees live together in large groups called colonies."
3
+ "Every bee in the colony has a job that helps the whole group survive."
4
+ "Worker bees gather nectar, build the honeycomb, and feed the young."
5
+ "Guard bees stand at the entrance and protect the hive from intruders."
6
+ "The queen lays the eggs that become the colony's next generation."
7
+ "When a worker finds flowers, it dances to tell the others where to go."
8
+ "In winter, the bees cluster together and beat their wings to stay warm."
9
+ "Because each bee does its part, the colony can do things no single bee could do alone."
10
+ ]
11
+ claims [
12
+ claim id "s1" status supported dimension summary text "Every bee in the colony has a job that helps the group survive." cites ["e1"] {},
13
+ claim id "s2" status supported dimension summary text "Because each bee does its part, the colony survives together." cites ["e2"] {},
14
+ claim id "d1" status distractor error-type insignificant plausibility 0.7 targets ["q1"] text "A worker bee dances to tell the others where flowers are." rationale "A minor detail, not something a summary needs." {},
15
+ claim id "d2" status distractor error-type too-broad plausibility 0.6 targets ["q1"] text "Insects are important animals all around the world." rationale "An overgeneralization beyond the passage." {},
16
+ claim id "d3" status distractor error-type too-narrow plausibility 0.6 targets ["q1"] text "Guard bees protect the entrance of the hive." rationale "A single detail about one job, too narrow for a summary." {},
17
+ claim id "d4" status distractor error-type misreads-detail plausibility 0.5 targets ["q1"] text "The queen bee does all of the work in the colony." rationale "Misreads the roles in the passage." {}
18
+ ]
19
+ evidence [
20
+ source id "e1" line 2 status directly-supports supports ["s1"] quote "Every bee in the colony has a job that helps the whole group survive." {},
21
+ source id "e2" line 8 status directly-supports supports ["s2"] quote "Because each bee does its part, the colony can do things no single bee could do alone." {}
22
+ ]
23
+ outcomes [ outcome id "q1" type multi-select task-model tm2 dimension summary subject "the colony" standard ri-2 focus ["s1" "s2"] stem "Choose the two sentences that should be included in a summary of the passage. Choose two answers." {} ]
24
+ {}..
@@ -0,0 +1,10 @@
1
+ {
2
+ "prompt": "From an informational article about how a honeybee colony works, write a two-part EBSR item (c1-t9, task model 3): Part A asks for the central idea of the passage and Part B asks which detail best supports it. Dimension central-idea, standard ri-2. Make the distractors true-but-not-central: a too-narrow supporting detail, a too-broad overgeneralization, an insignificant minor detail, and a misread of the bees' roles.",
3
+ "expect": {
4
+ "target": "c1-t9",
5
+ "taskModel": "tm3",
6
+ "itemType": "ebsr",
7
+ "dimension": "central-idea",
8
+ "standard": "ri-2"
9
+ }
10
+ }
@@ -0,0 +1,30 @@
1
+ target c1-t9 passage "How a Honeybee Colony Works" type informational lines [
2
+ "Honeybees live together in large groups called colonies."
3
+ "Every bee in the colony has a job that helps the whole group survive."
4
+ "Worker bees gather nectar, build the honeycomb, and feed the young."
5
+ "Guard bees stand at the entrance and protect the hive from intruders."
6
+ "The queen lays the eggs that become the colony's next generation."
7
+ "When a worker finds flowers, it dances to tell the others where to go."
8
+ "In winter, the bees cluster together and beat their wings to stay warm."
9
+ "Because each bee does its part, the colony can do things no single bee could do alone."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension central-idea text "Every bee in a colony does a job that helps the whole group survive." cites ["e1" "e2" "e3"] {},
13
+ claim id "c2" status distractor error-type too-narrow plausibility 0.8 targets ["q1"] text "Worker bees gather nectar and build the honeycomb for the hive." rationale "A true supporting detail about one kind of bee, not the whole-colony central idea." cites ["e4"] {},
14
+ claim id "c3" status distractor error-type too-broad plausibility 0.6 targets ["q1"] text "Insects are some of the most important animals in all of nature." rationale "An overgeneralization that goes beyond what this passage is about." {},
15
+ claim id "c4" status distractor error-type insignificant plausibility 0.6 targets ["q1"] text "A single honeybee dances to show the others where flowers are." rationale "A minor detail, not the main idea the passage builds." cites ["e5"] {},
16
+ claim id "c5" status distractor error-type misreads-detail plausibility 0.7 targets ["q1"] text "The queen bee does all of the important work in the colony." rationale "Misreads the roles: the queen lays eggs while the workers do the labor." {},
17
+ claim id "c6" status distractor error-type too-narrow plausibility 0.5 targets ["q1"] text "Guard bees stand watch and protect the entrance of the hive." rationale "A single detail about one job, not the central idea." cites ["e6"] {}
18
+ ]
19
+ evidence [
20
+ source id "e1" line 2 status directly-supports supports ["c1"] quote "Every bee in the colony has a job that helps the whole group survive." {},
21
+ source id "e2" line 8 status directly-supports supports ["c1"] quote "Because each bee does its part, the colony can do things no single bee could do alone." {},
22
+ source id "e3" line 5 status directly-supports supports ["c1"] quote "The queen lays the eggs that become the colony's next generation." {},
23
+ source id "e4" line 3 status supports-wrong-claim supports ["c1" "c2"] quote "Worker bees gather nectar, build the honeycomb, and feed the young." rationale "Looks like it supports the main idea but really backs the too-narrow worker-bee reading." {},
24
+ source id "e5" line 6 status supports-wrong-claim supports ["c4"] quote "When a worker finds flowers, it dances to tell the others where to go." rationale "Backs the minor dance detail, not the central idea." {},
25
+ source id "e6" line 4 status supports-wrong-claim supports ["c6"] quote "Guard bees stand at the entrance and protect the hive from intruders." rationale "Backs the too-narrow guard-bee detail, not the whole-colony idea." {},
26
+ source id "e7" line 7 status irrelevant supports [] quote "In winter, the bees cluster together and beat their wings to stay warm." {},
27
+ source id "e8" line 1 status irrelevant supports [] quote "Honeybees live together in large groups called colonies." {}
28
+ ]
29
+ outcomes [ outcome id "q1" type ebsr task-model tm3 dimension central-idea standard ri-2 focus "c1" stem "Which of these best states the central idea of the passage?" stem-b "Which detail from the passage best supports the central idea you chose in Part A?" {} ]
30
+ {}..
@@ -0,0 +1,10 @@
1
+ {
2
+ "prompt": "From the same informational article about how a honeybee colony works, make a hot-text item (c1-t9, task model 4): the student clicks the sentence(s) that best show the central idea of the passage. Dimension central-idea, standard ri-2. Single-part select-text — the sentences that state the whole-colony main idea are correct; the sentences about a single job or a minor detail are the wrong clicks.",
3
+ "expect": {
4
+ "target": "c1-t9",
5
+ "taskModel": "tm4",
6
+ "itemType": "hot-text",
7
+ "dimension": "central-idea",
8
+ "standard": "ri-2"
9
+ }
10
+ }
@@ -0,0 +1,20 @@
1
+ target c1-t9 passage "How a Honeybee Colony Works" type informational lines [
2
+ "Honeybees live together in large groups called colonies."
3
+ "Every bee in the colony has a job that helps the whole group survive."
4
+ "Worker bees gather nectar, build the honeycomb, and feed the young."
5
+ "Guard bees stand at the entrance and protect the hive from intruders."
6
+ "The queen lays the eggs that become the colony's next generation."
7
+ "When a worker finds flowers, it dances to tell the others where to go."
8
+ "In winter, the bees cluster together and beat their wings to stay warm."
9
+ "Because each bee does its part, the colony can do things no single bee could do alone."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension central-idea text "Every bee in a colony does a job that helps the whole group survive." cites ["e1" "e2" "e3"] {}
13
+ ]
14
+ evidence [
15
+ source id "e1" line 2 status directly-supports supports ["c1"] quote "Every bee in the colony has a job that helps the whole group survive." {},
16
+ source id "e2" line 8 status directly-supports supports ["c1"] quote "Because each bee does its part, the colony can do things no single bee could do alone." {},
17
+ source id "e3" line 5 status directly-supports supports ["c1"] quote "The queen lays the eggs that become the colony's next generation." {}
18
+ ]
19
+ outcomes [ outcome id "q1" type hot-text task-model tm4 dimension central-idea standard ri-2 focus "c1" stem "Click on the sentence(s) that best show the central idea of the passage." {} ]
20
+ {}..
@@ -0,0 +1,10 @@
1
+ {
2
+ "prompt": "From the same informational article about how a honeybee colony works, write a short-text constructed-response item (c1-t9, task model 5): ask the student to determine the central idea of the passage and explain using key details to support the answer. Dimension central-idea, standard ri-2. Emit the prompt and a 0/1/2 rubric; no options or distractors.",
3
+ "expect": {
4
+ "target": "c1-t9",
5
+ "taskModel": "tm5",
6
+ "itemType": "short-text",
7
+ "dimension": "central-idea",
8
+ "standard": "ri-2"
9
+ }
10
+ }
@@ -0,0 +1,20 @@
1
+ target c1-t9 passage "How a Honeybee Colony Works" type informational lines [
2
+ "Honeybees live together in large groups called colonies."
3
+ "Every bee in the colony has a job that helps the whole group survive."
4
+ "Worker bees gather nectar, build the honeycomb, and feed the young."
5
+ "Guard bees stand at the entrance and protect the hive from intruders."
6
+ "The queen lays the eggs that become the colony's next generation."
7
+ "When a worker finds flowers, it dances to tell the others where to go."
8
+ "In winter, the bees cluster together and beat their wings to stay warm."
9
+ "Because each bee does its part, the colony can do things no single bee could do alone."
10
+ ]
11
+ claims [
12
+ claim id "c1" status supported dimension central-idea text "Every bee in a colony does a job that helps the whole group survive." cites ["e1" "e2" "e3"] {}
13
+ ]
14
+ evidence [
15
+ source id "e1" line 2 status directly-supports supports ["c1"] quote "Every bee in the colony has a job that helps the whole group survive." {},
16
+ source id "e2" line 8 status directly-supports supports ["c1"] quote "Because each bee does its part, the colony can do things no single bee could do alone." {},
17
+ source id "e3" line 5 status directly-supports supports ["c1"] quote "The queen lays the eggs that become the colony's next generation." {}
18
+ ]
19
+ outcomes [ outcome id "q1" type short-text task-model tm5 dimension central-idea standard ri-2 focus "c1" stem "Determine the central idea of the passage. Explain using key details from the passage to support your answer." {} ]
20
+ {}..
package/spec/examples.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
2
  # L0175 RAG Training Examples
3
3
 
4
- _Revised: 2026-06-24_
4
+ _Revised: 2026-06-30_
5
5
 
6
6
  Natural-language prompts for training a RAG model on L0175 — composing 5th-grade ELA
7
7
  assessment items (Smarter Balanced · Grade 5 · Claim 1) for learning targets **T4**
@@ -10,7 +10,8 @@ informational), **T9** (`target c1-t9`, Central Ideas, informational), **T8** (`
10
10
  Key Details, informational), and **T10** (`target c1-t10`, Word Meanings, informational). Each
11
11
  program declares its `target` first. Categories 1–6 below are literary (T4); Category 7 is
12
12
  informational R&E (T11); Category 8 is Central Ideas (T9); Category 9 is Key Details (T8);
13
- Category 10 is Word Meanings (T10).
13
+ Category 10 is Word Meanings (T10). Category 11 is the **task-model coverage matrix** — at least
14
+ one specific request for every task model in every target (task-model numbers are per-target).
14
15
 
15
16
  ## Category 1: EBSR items (two-part selected response)
16
17
 
@@ -36,18 +37,22 @@ Category 10 is Word Meanings (T10).
36
37
 
37
38
  ## Category 4: Authoring the inference graph
38
39
 
39
- 14. Add a supported claim, that the character cares more about the tide pool than the picnic, and point question q1's focus at it.
40
- 15. Add a second supported claim about the brother and build a separate question q2 around it.
41
- 16. Tag line 1 and line 3 as directly supporting the main inference.
42
- 17. Mark line 2 as evidence that supports a wrong claim, tied to both the correct claim and the 'anger' distractor.
43
- 18. Mark the last two lines as irrelevant so they can serve as Part B foils.
40
+ Each prompt composes a complete item; the focus is how the claim/evidence graph is built.
41
+
42
+ 14. Compose an EBSR item about a girl named Mara at a tide pool: author a supported claim that she cares more about the tide pool than her family's picnic, and make that claim the question's focus.
43
+ 15. Compose a literary item with two questions about the tide-pool story — one built on a supported claim that Mara is absorbed by the pool, and a separate question built on a supported claim that her brother wants her attention.
44
+ 16. Compose an EBSR item whose focus inference is directly supported by two of the passage's lines tag both sources directly-supports and cite them from the correct claim.
45
+ 17. Compose an EBSR item that includes a supports-wrong-claim source: real evidence that props up an 'anger' misreading rather than the correct inference, linked to both the correct claim and the anger distractor.
46
+ 18. Compose an EBSR item whose last two passage lines are tagged irrelevant so they can serve as Part B foils.
44
47
 
45
48
  ## Category 5: Distractors by error type
46
49
 
47
- 19. Add a misreads-detail distractor for question q1 that takes the character's silence as anger.
48
- 20. Add an erroneous-inference distractor for q1 that the character dislikes being outdoors.
49
- 21. Add a faulty-reasoning distractor for q1 that mistakes the character's whisper for fear.
50
- 22. Give each distractor a rationale explaining the student error it targets, and tag it with the question id(s) it foils.
50
+ Each prompt composes a complete item; the focus is the error-typed distractor it features.
51
+
52
+ 19. Compose an EBSR item about Mara at the tide pool with a misreads-detail distractor that takes her silence as anger, with a rationale that names the error and targets the question.
53
+ 20. Compose an EBSR item about Mara at the tide pool with an erroneous-inference distractor that she dislikes being outdoors.
54
+ 21. Compose an EBSR item about Mara at the tide pool with a faulty-reasoning distractor that mistakes her whisper for fear.
55
+ 22. Compose an EBSR item whose distractors each carry a rationale explaining the student error they target and are tagged with the question id(s) they foil.
51
56
 
52
57
  ## Category 6: Item-first composition
53
58
 
@@ -89,3 +94,42 @@ A DIFFERENT model — the question asks for the MEANING of a targeted word/phras
89
94
  40. Make a multi-select item: "What does the word 'channel' most likely mean? Choose two answers." (two correct meanings, dimension word-meaning).
90
95
  41. Write a roots/affixes item: ask what the root in a word means, standard l-4b (dimension word-meaning).
91
96
  42. Make a click-the-word item (hot-text): "Read the dictionary entry … Click the word in the paragraph that matches this definition." Author the candidate `word`s — the correct one is the outcome's `focus` with the `line` of its paragraph, plus a few distractor candidate words from that same paragraph (`text` only, no `meanings`). The compiler shows the paragraph and makes those authored candidates clickable; the focus word is correct. (Author only the correct word and every content word in the paragraph becomes a choice.) Keep the passage out of the stem.
97
+
98
+ ## Category 11: Task-model coverage — one request per task model, per target
99
+
100
+ Task-model NUMBERS are **per-target and collide** — TM3 is Short Text in T4/T11, EBSR in T9, and
101
+ Hot Text in T8/T10 — so each request below names **both** the number and the item type (the way an
102
+ author actually expresses the intent). This is the full author's-intent matrix: at least one
103
+ specific request for every task model in every target, resolved against that target's table.
104
+
105
+ **Target 4 (`c1-t4`) — Reasoning & Evidence, literary (RL):**
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.