grounding: legalClaimLint (H7/H10/H13/H14) + interim alienness index

↗ view on GitHub · Eli Ziff · 2026-07-30 · 379cc12e

Deterministic claim lint, zero model calls, every feature a receipt
(feature, value, threshold, fired): QUIP-family novel-content fraction,
abstraction/absolutes/modality-upgrade lexicon deltas, entity-poverty
profile, prompt-gravitation (H14: prompt-only vocabulary share + the
prompt-x-alien co-occurrence), temporal inversion (H10: follow/apply
asserted against date order - hard flag), and corpus-alienness (H13,
probed AUC 0.834): trigram attestation spectrum against a reference
index of the local corpus. Uncalibrated features never fire; a missing
index reports null, never clean.

Index: scripts/build_alienness_index.py - stratified-sample sqlite of
FNV-1a-hashed trigram counts with a build manifest, explicitly marked
INTERIM per the standing base-repos directive (infini-gram vs Data
Portraits evaluation in flight); the TS reader isolates the store
behind corpusAlienness() so the backing can swap without touching
consumers. Cross-runtime hash parity pinned by test vectors computed
by the Python builder. 8 unit tests green (overreach shape flags,
faithful paraphrase clean, temporal hard-fire, uncalibrated-never-
fires); tsc clean.

Plan doc: footnote-pair prong added to stands-for profiles (journal
footnote citations as editor-verified proposition<->authority pairs,
using existing journals footnote blocks + engine note-crossrefs + ALR
pairing reference); US external complements recorded (CourtListener
Parentheticals, LePaRD, delta-Stance, courts-db); base-repos directive
recorded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents a8192c34
Stats 4 files changed , +703 , -1
Part of Legal grounding and retrieval research

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-379cc12e.md from inside the repo you want the change in.

⬇ Download capture-commit-379cc12e.md