Files
arah2/package.json
T
araharah-executor b2689f71b1 feat(04-02): pinned golden corpus + D-14 corpus runner + Nyquist gate
- golden-corpus.json: 75 hand-written pinned cases (D-13) — landmark 17 /
  abbreviation 15 / glued 7 / typo 14 / alias 15 / negative 7, incl. two
  near-miss negatives (Penang 0.625, Kampung Cina ~0.58) below the 0.72
  admission line; threshold.top3_hit_rate pinned at 0.9
- gazetteer-corpus.mjs: the D-14 runner — imports the SAME src/index.ts the
  bot uses, measures top-1/top-3 + per-category rates + avg ms/query, prints
  the refusal margin and the fixed escalation ladder on failure, exports
  measureCorpus() for the in-process suite, exits 0 only on threshold + zero leaks
- corpus.test.mjs goes green: CO1-CO8 (the Nyquist gate inside npm run search:test)
- delegates: search:corpus (root) + corpus (search workspace)

Measured: top-3 68/68 (100.0%) >= 90%, negatives refused 7/7, margin 0.643 < 0.72 —
threshold met on the first run (D-14 lever: None).
2026-10-24 00:54:47 +08:00

35 lines
1.2 KiB
JSON

{
"name": "araharah",
"private": true,
"type": "module",
"workspaces": [
"theme",
"bot",
"web",
"search"
],
"scripts": {
"build": "npm run build -w theme && npm run build -w web",
"deploy": "npm run build && npm run deploy -w bot",
"dev": "npm run build && npm run dev -w bot",
"sheet": "npm run sheet --workspace theme",
"gallery": "npm run gallery --workspace theme",
"audit": "npm run audit --workspace theme",
"capture": "npm run capture --workspace theme",
"bot:test": "npm test -w bot",
"bot:typecheck": "npm run typecheck -w bot",
"bot:dev": "npm run dev -w bot",
"bot:deploy": "npm run deploy -w bot",
"bot:commands": "npm run commands -w bot",
"web:test": "npm test -w web",
"web:typecheck": "npm run typecheck -w web",
"search:test": "npm test -w search",
"search:typecheck": "npm run typecheck -w search",
"search:corpus": "node search/scripts/gazetteer-corpus.mjs",
"web:dev": "npm run dev -w web",
"web:build": "npm run build -w theme && npm run build -w web",
"web:build:harness": "npm run build:harness -w web",
"web:capture": "npm run capture -w web"
}
}