@graffiticode/l0175 0.2.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 +94 -130
- package/dist/compiler.js.map +1 -1
- package/dist/embedding.d.ts +1 -0
- package/dist/embedding.d.ts.map +1 -1
- package/dist/embedding.js +105 -11
- package/dist/embedding.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon.d.ts +7 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lexicon.js +16 -8
- package/dist/lexicon.js.map +1 -1
- package/dist/static/examples.md +105 -0
- package/dist/static/instructions.md +397 -47
- package/dist/static/language-info.json +19 -4
- package/dist/static/lexicon.json +112 -0
- package/dist/static/scope.json +9 -8
- package/dist/static/spec.html +81 -15
- package/dist/static/stems.md +181 -5
- package/dist/static/targets.json +279 -0
- package/dist/static/template.gc +7 -67
- package/dist/static/unparse-hints.json +3 -0
- package/dist/static/usage-guide.md +48 -5
- package/dist/targets.d.ts +27 -0
- package/dist/targets.d.ts.map +1 -0
- package/dist/targets.js +250 -0
- package/dist/targets.js.map +1 -0
- package/dist/verify-example.d.ts +27 -0
- package/dist/verify-example.d.ts.map +1 -0
- package/dist/verify-example.js +82 -0
- package/dist/verify-example.js.map +1 -0
- package/package.json +2 -2
- package/spec/#template.gc# +20 -0
- package/spec/docs.md +51 -16
- 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-t10-tm1-multiplechoice.expect.json +1 -0
- package/spec/examples/c1-t10-tm1-multiplechoice.gc +15 -0
- package/spec/examples/c1-t10-tm2-multiselect.expect.json +1 -0
- package/spec/examples/c1-t10-tm2-multiselect.gc +15 -0
- package/spec/examples/c1-t10-tm3-hottext.expect.json +1 -0
- package/spec/examples/c1-t10-tm3-hottext.gc +13 -0
- package/spec/examples/c1-t11-tm1-ebsr.expect.json +4 -0
- package/spec/examples/c1-t11-tm1-ebsr.gc +30 -0
- package/spec/examples/c1-t11-tm2-hottext.expect.json +4 -0
- package/spec/examples/c1-t11-tm2-hottext.gc +30 -0
- package/spec/examples/c1-t11-tm3-shorttext.expect.json +4 -0
- package/spec/examples/c1-t11-tm3-shorttext.gc +30 -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/c1-t4-tm1-ebsr.expect.json +4 -0
- package/spec/examples/c1-t4-tm1-ebsr.gc +30 -0
- package/spec/examples/c1-t4-tm2-hottext.expect.json +4 -0
- package/spec/examples/c1-t4-tm2-hottext.gc +30 -0
- package/spec/examples/c1-t4-tm3-shorttext.expect.json +4 -0
- package/spec/examples/c1-t4-tm3-shorttext.gc +30 -0
- package/spec/examples/c1-t8-tm1-multiplechoice.expect.json +1 -0
- package/spec/examples/c1-t8-tm1-multiplechoice.gc +25 -0
- package/spec/examples/c1-t8-tm2-multiselect.expect.json +1 -0
- package/spec/examples/c1-t8-tm2-multiselect.gc +25 -0
- package/spec/examples/c1-t8-tm3-hottext.expect.json +1 -0
- package/spec/examples/c1-t8-tm3-hottext.gc +25 -0
- package/spec/examples/c1-t9-tm1-multiplechoice.expect.json +1 -0
- package/spec/examples/c1-t9-tm1-multiplechoice.gc +23 -0
- package/spec/examples/c1-t9-tm2-multiselect.expect.json +1 -0
- package/spec/examples/c1-t9-tm2-multiselect.gc +24 -0
- package/spec/examples/c1-t9-tm3-ebsr.expect.json +10 -0
- package/spec/examples/c1-t9-tm3-ebsr.gc +30 -0
- package/spec/examples/c1-t9-tm4-hottext.expect.json +10 -0
- package/spec/examples/c1-t9-tm4-hottext.gc +20 -0
- package/spec/examples/c1-t9-tm5-shorttext.expect.json +10 -0
- package/spec/examples/c1-t9-tm5-shorttext.gc +20 -0
- package/spec/examples.md +100 -86
- package/spec/instructions.md +367 -44
- package/spec/language-info.json +18 -3
- package/spec/rag-examples-design.md +74 -0
- package/spec/scope.json +9 -8
- package/spec/spec.md +90 -15
- package/spec/stems.md +181 -5
- package/spec/template.gc +7 -67
- package/spec/usage-guide.md +48 -5
package/dist/embedding.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding.d.ts","sourceRoot":"","sources":["../src/embedding.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"embedding.d.ts","sourceRoot":"","sources":["../src/embedding.ts"],"names":[],"mappings":"AA8BA,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,C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
// Imports the pure per-target data (no compiler) to resolve a (target, item type) pair to its
|
|
5
|
+
// task-model NUMBER, so the design signature carries a `task-model:<n>` facet a number-phrased
|
|
6
|
+
// query ("task model 3") can match.
|
|
7
|
+
//
|
|
4
8
|
// Why this exists: L0175 training examples (and live generation requests) embed the reading
|
|
5
9
|
// passage inside the natural-language prompt. When that prompt is fed to an embedding model the
|
|
6
10
|
// passage prose dominates the vector, so retrieval matches on passage topic ("tide pool",
|
|
@@ -19,6 +23,7 @@
|
|
|
19
23
|
// `compiler.compile`) plus the raw prompt, and has no parser/compiler dependency of its own. The
|
|
20
24
|
// caller composes the program (the console already parses L0175; the core tests use the parser
|
|
21
25
|
// harness) and hands the composed data in.
|
|
26
|
+
import { TARGETS_DATA, targetForSkill, taskModelNumber } from "./targets.js";
|
|
22
27
|
// ---- Small utilities -------------------------------------------------------------------------
|
|
23
28
|
const collapseWs = (s) => s.replace(/\s+/g, " ").trim();
|
|
24
29
|
function toItems(data) {
|
|
@@ -101,6 +106,7 @@ export function buildSignatureTags(data, opts = {}) {
|
|
|
101
106
|
const items = toItems(data);
|
|
102
107
|
const tags = new Set();
|
|
103
108
|
const itemTypes = [];
|
|
109
|
+
const taskModels = [];
|
|
104
110
|
const dimensions = [];
|
|
105
111
|
const standards = [];
|
|
106
112
|
const doks = [];
|
|
@@ -116,6 +122,13 @@ export function buildSignatureTags(data, opts = {}) {
|
|
|
116
122
|
tags.add(`target:${item.target}`);
|
|
117
123
|
target = target || item.target;
|
|
118
124
|
}
|
|
125
|
+
if (item.target && item.type) {
|
|
126
|
+
const n = taskModelNumber(item.target, item.type);
|
|
127
|
+
if (n) {
|
|
128
|
+
tags.add(`task-model:${n}`);
|
|
129
|
+
taskModels.push(n);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
119
132
|
const ptype = item.passage && item.passage.type;
|
|
120
133
|
if (ptype) {
|
|
121
134
|
tags.add(`type:${ptype}`);
|
|
@@ -147,6 +160,7 @@ export function buildSignatureTags(data, opts = {}) {
|
|
|
147
160
|
target,
|
|
148
161
|
passageType,
|
|
149
162
|
itemTypes: uniq(itemTypes),
|
|
163
|
+
taskModels: uniq(taskModels),
|
|
150
164
|
dimensions: uniq(dimensions),
|
|
151
165
|
standards: uniq(standards),
|
|
152
166
|
doks: uniq(doks),
|
|
@@ -176,6 +190,57 @@ const ITEM_TYPE_CUES = [
|
|
|
176
190
|
[/\bmultiple[-\s]?choice\b/i, "multiple-choice"],
|
|
177
191
|
[/\bmulti[-\s]?select\b/i, "multi-select"],
|
|
178
192
|
];
|
|
193
|
+
// Skill cues, MOST SPECIFIC FIRST — the order is the disambiguation. A prompt about a word's
|
|
194
|
+
// meaning is Word Meanings even though it also says "passage"; and a prompt naming the main idea is
|
|
195
|
+
// Central Ideas even though its Part B asks for a supporting detail. Reasoning & Evidence is last:
|
|
196
|
+
// its cues (infer, conclude, purpose) appear inside the other skills' phrasing too.
|
|
197
|
+
//
|
|
198
|
+
// KEY DETAILS vs REASONING & EVIDENCE is the hard pair, and the reason `key-details` is written
|
|
199
|
+
// the way it is. Both skills end in "find the line that supports it", so a cue keyed on supporting
|
|
200
|
+
// evidence — which is what this was — matches BOTH and, being earlier in the list, stole every
|
|
201
|
+
// T4/T11 prompt for T1/T8. That is not a cosmetic ranking error: facetAdjustment in the console
|
|
202
|
+
// (src/lib/lang-embedding.ts) treats a confident target mismatch as a HARD EXCLUSION, so a
|
|
203
|
+
// misread here removes the correct examples from retrieval entirely.
|
|
204
|
+
//
|
|
205
|
+
// What actually separates them is WHO SUPPLIES THE CONCLUSION, which is how targets.ts and the
|
|
206
|
+
// spec define them:
|
|
207
|
+
// Key Details (T1/T8) — the conclusion is HANDED to the student; the whole task is
|
|
208
|
+
// finding the evidence for it. "Give students a conclusion ...
|
|
209
|
+
// which line best supports it."
|
|
210
|
+
// Reasoning & Evidence (T4/T11) — the student DERIVES the claim (a motive, a mood, a point of
|
|
211
|
+
// view, how the author uses information) and then backs it up.
|
|
212
|
+
// So `key-details` now requires the handed-over frame, and Reasoning & Evidence carries the
|
|
213
|
+
// derive-it verbs. Prompts matching neither still fall through to the reasoning-evidence default,
|
|
214
|
+
// which is the safer of the two: it is the broadest skill.
|
|
215
|
+
const SKILL_CUES = [
|
|
216
|
+
// Word Meanings. The L-4 strategies each get a cue, because the dimension spans four of them
|
|
217
|
+
// (context, roots and affixes, dictionary, word relationships) and a prompt naming only its
|
|
218
|
+
// strategy — "using its Greek or Latin root", "a short dictionary definition", "words that mean
|
|
219
|
+
// about the same" — otherwise matched nothing at all and fell through to a wrong target.
|
|
220
|
+
[/\bword meanings?\b|\bwhat does\b[^.?!]{0,25}\bmeans?\b|\bmean(?:s|ing)?\b[^.?!]{0,30}\b(?:of|as used|in context|used|here)\b|\bvocabulary\b|\b(?:greek|latin)\b|\b(?:root|prefix|suffix|affix)e?s?\b|\bdictionary\b|\bsynonyms?\b|\bantonyms?\b|\bmean about the same\b/i, "word-meanings"],
|
|
221
|
+
// `lesson`, `moral` and a bare `message` belong here as much as `theme` does — a fifth-grade
|
|
222
|
+
// teacher asking "what's the lesson of this fable?" is asking for the theme. Requiring the
|
|
223
|
+
// possessive in `author's message` missed the far commoner bare noun.
|
|
224
|
+
[/\b(?:theme|central idea|main idea|summar(?:y|ize|izes|izing)|message|lesson|moral)\b/i, "central-ideas"],
|
|
225
|
+
// The conclusion is GIVEN. Without this frame a supporting-evidence prompt is Reasoning &
|
|
226
|
+
// Evidence, not Key Details. Two registers, and both are needed:
|
|
227
|
+
// authoring — "Give students a conclusion about X ... which line supports it" (examples.md)
|
|
228
|
+
// user — "The article says X — which detail best supports that?" (the claim stated
|
|
229
|
+
// inline, then a pure evidence question). Matching only the authoring voice
|
|
230
|
+
// scores well on examples.md and still misroutes what a person actually types,
|
|
231
|
+
// which is the register the query side sees.
|
|
232
|
+
// The `which <noun> <verb>` anchor is what keeps this off Reasoning & Evidence: T4/T11 phrase
|
|
233
|
+
// the same evidence step without it ("then click the sentences that support it"), so requiring
|
|
234
|
+
// an interrogative confines this to prompts whose WHOLE task is finding the evidence.
|
|
235
|
+
[/\b(?:give|gives|given|giving|provide[sd]?|hand(?:s|ed)?|shows?)\s+(?:the\s+)?students?\b[^.?!]{0,40}\b(?:conclusion|inference|statement|claim|idea)\b|\bwhich\s+(?:\w+\s+){0,3}(?:detail|line|sentence|evidence|quotation|quote|fact|reason|example)s?\b[^.?!]{0,40}\b(?:supports?|proves?|backs?|shows?|demonstrates?)\b/i, "key-details"],
|
|
236
|
+
// The student derives it: the verbs of reasoning, not of evidence-hunting. `work out`,
|
|
237
|
+
// `determine` and `decide` are the same act as `figure out` and a teacher uses them
|
|
238
|
+
// interchangeably; `writer` is as common as `author` for the same referent.
|
|
239
|
+
[/\b(?:infer|inference|conclude|conclusion|point of view|purpose|motivation|motives?|opinion|figure out|work out|determine|decide|feels?|feelings?|reacts?|mood|relate)\b|\bhow (?:the )?(?:author|writer|narrator|two|characters?|setting)\b|\bwhat the (?:author|writer|narrator)\b/i, "reasoning-evidence"],
|
|
240
|
+
];
|
|
241
|
+
// Every known target id, longest-first so `c1-t1` cannot shadow `c1-t10`/`c1-t11`. Built from
|
|
242
|
+
// targets.ts so a new target is recognized in prompts the moment it is declared there.
|
|
243
|
+
const TARGET_ID_RE = new RegExp(`\\b(?:${Object.keys(TARGETS_DATA).sort((a, b) => b.length - a.length).join("|")})\\b`, "i");
|
|
179
244
|
/**
|
|
180
245
|
* Best-effort facets from a raw prompt (the query side has no code). Only fields with a confident
|
|
181
246
|
* cue are set, so the console can use them as a filter; absent fields fall back to vector ranking.
|
|
@@ -184,27 +249,49 @@ export function extractQueryFacets(prompt) {
|
|
|
184
249
|
const facets = {};
|
|
185
250
|
if (!prompt)
|
|
186
251
|
return facets;
|
|
187
|
-
// Explicit target wins over prose cues.
|
|
188
|
-
|
|
252
|
+
// Explicit target wins over prose cues. Both the id set and each target's text type come from
|
|
253
|
+
// targets.ts, so adding a target does not silently leave its id unrecognized here.
|
|
254
|
+
const explicitTarget = prompt.match(TARGET_ID_RE);
|
|
189
255
|
if (explicitTarget) {
|
|
190
|
-
|
|
191
|
-
facets.
|
|
256
|
+
const id = explicitTarget[0].toLowerCase();
|
|
257
|
+
facets.target = id;
|
|
258
|
+
facets.passageType = TARGETS_DATA[id].textType;
|
|
192
259
|
}
|
|
193
260
|
else {
|
|
261
|
+
// No id named: route on the same two axes the spec's routing table uses — the SKILL asked and
|
|
262
|
+
// the TEXT TYPE. An RL/RI standard is the strongest text-type cue; otherwise a genre word.
|
|
194
263
|
const rl = /\brl-\d\b/i.test(prompt);
|
|
195
264
|
const ri = /\bri-\d\b/i.test(prompt);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
265
|
+
const textType = rl || TARGET_LITERARY.test(prompt) ? "literary"
|
|
266
|
+
: ri || TARGET_INFORMATIONAL.test(prompt) ? "informational"
|
|
267
|
+
: undefined;
|
|
268
|
+
const skill = SKILL_CUES.find(([re]) => re.test(prompt))?.[1];
|
|
269
|
+
// Skill + text type resolves exactly; a skill alone still resolves (literary preferred).
|
|
270
|
+
const hit = skill ? targetForSkill(skill, textType) : undefined;
|
|
271
|
+
// With a text type but no skill cue, fall back to Reasoning & Evidence for that type — the
|
|
272
|
+
// broadest skill, and the historical default.
|
|
273
|
+
const chosen = hit ?? (textType ? targetForSkill("reasoning-evidence", textType) : undefined);
|
|
274
|
+
if (chosen) {
|
|
275
|
+
facets.target = chosen.id;
|
|
276
|
+
// Prefer a text type the prompt actually stated over the chosen target's own.
|
|
277
|
+
facets.passageType = textType ?? chosen.textType;
|
|
203
278
|
}
|
|
204
279
|
}
|
|
205
280
|
const itemTypes = ITEM_TYPE_CUES.filter(([re]) => re.test(prompt)).map(([, t]) => t);
|
|
206
281
|
if (itemTypes.length)
|
|
207
282
|
facets.itemTypes = itemTypes;
|
|
283
|
+
// Task model: an explicit number in the prompt ("task model 3", "TM3") wins; otherwise derive it
|
|
284
|
+
// from the target + item type. The number is per-target, so it only disambiguates alongside the
|
|
285
|
+
// target facet — which is exactly the c1-t9-tm3-means-EBSR case.
|
|
286
|
+
const explicitTm = prompt.match(/\b(?:tm|task[-\s]?model)\s*[-:]?\s*(\d)\b/i);
|
|
287
|
+
if (explicitTm) {
|
|
288
|
+
facets.taskModels = [explicitTm[1]];
|
|
289
|
+
}
|
|
290
|
+
else if (facets.target && itemTypes.length) {
|
|
291
|
+
const tms = uniq(itemTypes.map((t) => taskModelNumber(facets.target, t)).filter(Boolean));
|
|
292
|
+
if (tms.length)
|
|
293
|
+
facets.taskModels = tms;
|
|
294
|
+
}
|
|
208
295
|
const stds = uniq((prompt.match(/\br[li]-\d\b/gi) || []).map((s) => s.toLowerCase()));
|
|
209
296
|
if (stds.length)
|
|
210
297
|
facets.standards = stds;
|
|
@@ -244,6 +331,13 @@ export function buildSignatureFromSource(code) {
|
|
|
244
331
|
itemTypes.forEach((t) => tags.add(`item:${t}`));
|
|
245
332
|
if (itemTypes.length)
|
|
246
333
|
facets.itemTypes = itemTypes;
|
|
334
|
+
// Task-model numbers, derived from target + item type (per-target, so the target is required).
|
|
335
|
+
if (target) {
|
|
336
|
+
const taskModels = uniq(itemTypes.map((t) => taskModelNumber(target, t)).filter(Boolean));
|
|
337
|
+
taskModels.forEach((n) => tags.add(`task-model:${n}`));
|
|
338
|
+
if (taskModels.length)
|
|
339
|
+
facets.taskModels = taskModels;
|
|
340
|
+
}
|
|
247
341
|
const dimensions = uniq(matchAll(code, /\bdimension\s+([a-z][a-z0-9-]*)/g));
|
|
248
342
|
dimensions.forEach((d) => tags.add(`dimension:${d}`));
|
|
249
343
|
if (dimensions.length)
|
package/dist/embedding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding.js","sourceRoot":"","sources":["../src/embedding.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,mCAAmC;AACnC,EAAE;AACF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,kG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AE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE;YAC9H,CAAC,CAAC,SAAS,CAAC;QACd,GAAG,GAAG,kBAAkB,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACrD,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;IAC7F,CAAC;IAED,MAAM,aAAa,GAAG,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC9E,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,CAAC,cAAc,EAAE,CAAC;AACnG,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export { Checker, Transformer, compiler } from "./compiler.js";
|
|
|
2
2
|
export { lexicon } from "./lexicon.js";
|
|
3
3
|
export { stripReadingPassage, buildSignatureTags, buildSignatureFromSource, extractQueryFacets, buildEmbeddingArtifacts, } from "./embedding.js";
|
|
4
4
|
export type { PassageRef, DesignFacets, SignatureResult, EmbeddingArtifacts, } from "./embedding.js";
|
|
5
|
+
export { verifyExample } from "./verify-example.js";
|
|
6
|
+
export type { ExampleExpectation, VerifyResult } from "./verify-example.js";
|
|
7
|
+
export { TARGETS_DATA, STANDARD_FAMILIES, taskModelNumber } from "./targets.js";
|
|
8
|
+
export type { TargetData, StandardFamily } from "./targets.js";
|
|
5
9
|
export { Compiler, Renderer, Visitor } from "@graffiticode/l0000";
|
|
6
10
|
export type { ASTNode, NodePool, CompileError, Resume, CompileOptions, LexiconEntry, Lexicon, CompilerConfig, } from "@graffiticode/l0000";
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAChF,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAClE,YAAY,EACV,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,cAAc,EACd,YAAY,EACZ,OAAO,EACP,cAAc,GACf,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
export { Checker, Transformer, compiler } from "./compiler.js";
|
|
4
4
|
export { lexicon } from "./lexicon.js";
|
|
5
5
|
export { stripReadingPassage, buildSignatureTags, buildSignatureFromSource, extractQueryFacets, buildEmbeddingArtifacts, } from "./embedding.js";
|
|
6
|
+
export { verifyExample } from "./verify-example.js";
|
|
7
|
+
export { TARGETS_DATA, STANDARD_FAMILIES, taskModelNumber } from "./targets.js";
|
|
6
8
|
// Re-export the base machinery + inheritance contract from the parent language.
|
|
7
9
|
export { Compiler, Renderer, Visitor } from "@graffiticode/l0000";
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,+EAA+E;AAC/E,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,+EAA+E;AAC/E,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhF,gFAAgF;AAChF,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/lexicon.d.ts
CHANGED
package/dist/lexicon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lexicon.d.ts","sourceRoot":"","sources":["../src/lexicon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lexicon.d.ts","sourceRoot":"","sources":["../src/lexicon.ts"],"names":[],"mappings":"AAmHA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC"}
|
package/dist/lexicon.js
CHANGED
|
@@ -24,16 +24,18 @@ const ENUM_VALUES = [
|
|
|
24
24
|
"ebsr", "hot-text", "short-text",
|
|
25
25
|
// single-part item types (Multiple Choice / Multi-Select) — used by T9 and the later T8/T10
|
|
26
26
|
"multiple-choice", "multi-select",
|
|
27
|
+
// task-model numbers (per-target; resolved to an item type by the compiler via targets.ts)
|
|
28
|
+
"tm1", "tm2", "tm3", "tm4", "tm5",
|
|
27
29
|
// learning targets (the top-level `target` selector)
|
|
28
|
-
"c1-t4", "c1-t11", "c1-t9", "c1-t8", "c1-t10",
|
|
30
|
+
"c1-t4", "c1-t11", "c1-t2", "c1-t9", "c1-t1", "c1-t8", "c1-t10",
|
|
29
31
|
// T4 (literary) dimensions
|
|
30
32
|
"character", "setting", "event", "point-of-view",
|
|
31
33
|
"theme", "topic", "narrators-feelings", "character-relationship",
|
|
32
34
|
// T11 (informational) dimensions (point-of-view shared with T4)
|
|
33
35
|
"relationships-interactions", "author-use-of-information", "purpose", "authors-opinion",
|
|
34
|
-
// T9 (Central Ideas) dimensions
|
|
36
|
+
// T9 / T2 (Central Ideas) dimensions (T2 adds `theme`, already registered above for T4)
|
|
35
37
|
"central-idea", "key-detail", "summary",
|
|
36
|
-
// T8 (Key Details) dimension
|
|
38
|
+
// T8 / T1 (Key Details) dimension
|
|
37
39
|
"supporting-evidence",
|
|
38
40
|
// T10 (Word Meanings) dimension
|
|
39
41
|
"word-meaning",
|
|
@@ -44,10 +46,15 @@ const ENUM_VALUES = [
|
|
|
44
46
|
"too-narrow", "too-broad", "insignificant",
|
|
45
47
|
// Word Meanings (T10) distractor taxonomy
|
|
46
48
|
"other-meaning", "misinterprets", "wrong-context",
|
|
47
|
-
// standards: RL
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
49
|
+
// standards: the full CCSS Grade-5 RL / RI / L families are registered so any plausible CCSS
|
|
50
|
+
// code parses; each target profile (compiler.ts) restricts which are VALID for that target.
|
|
51
|
+
// RL (literary; rl-8 is "not applicable to literature", rl-10 is range-of-reading)
|
|
52
|
+
"rl-1", "rl-2", "rl-3", "rl-4", "rl-5", "rl-6", "rl-7", "rl-9",
|
|
53
|
+
// RI (informational)
|
|
54
|
+
"ri-1", "ri-2", "ri-3", "ri-4", "ri-5", "ri-6", "ri-7", "ri-8", "ri-9",
|
|
55
|
+
// L (vocabulary — T10 word meanings): the L.4 (determine meaning) and L.5 (word relationships /
|
|
56
|
+
// figurative language) families with their sub-strategy codes
|
|
57
|
+
"l-4", "l-4a", "l-4b", "l-4c", "l-5", "l-5a", "l-5b", "l-5c",
|
|
51
58
|
"r-dok1", "r-dok2", "r-dok3",
|
|
52
59
|
"inference", "conclusion", "author-intent",
|
|
53
60
|
];
|
|
@@ -66,13 +73,14 @@ const additions = {
|
|
|
66
73
|
quote: fn2("QUOTE"), // optional evidence text override
|
|
67
74
|
supports: fn2("SUPPORTS"), // evidence -> claim id list
|
|
68
75
|
type: fn2("TYPE"), // passage type OR item type (contextual)
|
|
76
|
+
"task-model": fn2("TASK_MODEL"), // outcome task model (tm1..tm5); resolved to item type per target
|
|
69
77
|
subject: fn2("SUBJECT"),
|
|
70
78
|
standard: fn2("STANDARD"),
|
|
71
79
|
focus: fn2("FOCUS"), // optional forced correct-claim id
|
|
72
80
|
passage: fn2("PASSAGE"), // passage heading
|
|
73
81
|
lines: fn2("LINES"), // passage line strings (auto-indexed)
|
|
74
82
|
title: fn2("TITLE"),
|
|
75
|
-
target: fn2("TARGET"), // top-level SBAC learning target selector (
|
|
83
|
+
target: fn2("TARGET"), // top-level SBAC learning target selector (see targets.ts)
|
|
76
84
|
grade: fn2("GRADE"), // optional top-level grade override; defaults to the target's grade
|
|
77
85
|
stem: fn2("STEM"),
|
|
78
86
|
rubric: fn2("RUBRIC"),
|
package/dist/lexicon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lexicon.js","sourceRoot":"","sources":["../src/lexicon.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,qFAAqF;AACrF,iFAAiF;AACjF,uFAAuF;AACvF,yEAAyE;AACzE,4DAA4D;AAC5D,2EAA2E;AAC3E,sEAAsE;AACtE,EAAE;AACF,4FAA4F;AAC5F,yFAAyF;AACzF,gFAAgF;AAChF,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,GAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACtF,MAAM,GAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAEtF,8FAA8F;AAC9F,8FAA8F;AAC9F,6FAA6F;AAC7F,6FAA6F;AAC7F,4FAA4F;AAC5F,+CAA+C;AAC/C,MAAM,WAAW,GAAG;IAClB,UAAU,EAAE,eAAe;IAC3B,MAAM,EAAE,UAAU,EAAE,YAAY;IAChC,4FAA4F;IAC5F,iBAAiB,EAAE,cAAc;IACjC,qDAAqD;IACrD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AE,uDAAuD;IAC1F,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,oDAAoD;IACvE,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,mDAAmD;IACxE,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,gCAAgC;IACzD,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,oBAAoB;IACzC,UAAU,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,yBAAyB;IAExD,wCAAwC;IACxC,MAAM,EAAE,GAAG,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC,UAAU,CAAC;IACzB,QAAQ,EAAE,GAAG,CAAC,UAAU,CAAC;IACzB,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,kDAAkD;IACvE,QAAQ,EAAE,GAAG,CAAC,UAAU,CAAC,EAAE,qCAAqC;IAEhE,qCAAqC;IACrC,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,MAAM,EAAE,GAAG,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC,SAAS,CAAC;IACvB,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,oCAAoC;IACvD,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,iDAAiD;IACpE,OAAO,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,sDAAsD;CAChF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,GAAG,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
|
2
|
+
# L0175 RAG Training Examples
|
|
3
|
+
|
|
4
|
+
_Revised: 2026-08-28_
|
|
5
|
+
|
|
6
|
+
Natural-language prompts for training a RAG model on L0175 — composing 5th-grade ELA
|
|
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.
|