An evaluation prototype for checking whose concerns survive an AI summary.
EqualVoice compares source claims with a summary and labels each as preserved, diluted, or omitted. It highlights high-consequence concerns for human review—for example, when a lighting/noise-related work constraint is compressed into a broad facilities recommendation and the individual constraint becomes unclear.
Status: working cached demo and optional local matcher. Independent human validation is pending. Validation scope and next study.
Use Node.js 22 (the version used in CI) and npm.
git clone https://github.com/blam3/equalvoice.git
cd equalvoice
npm ci
npm run devOpen the local URL printed by Vite. Demo · cached is the default and makes no model calls. After dependencies are installed, the demo works without a network connection or API key. Start with the source/summary comparison, then inspect claim-level evidence in the coverage matrix.
For a static build:
npm run build
npm run previewThe static build supports the cached demo. Live matching is available only on
the local development server; preview does not provide the matcher API.
| Component | Behavior |
|---|---|
| Reference fixtures | A corpus of 100 comments, one summary, and one authored reference claim per comment |
| Matcher | Optional claim-level model calls; invalid JSON is retried once and failures become visible error verdicts |
| Scoring | Pure TypeScript aggregation of verdicts; high-consequence diluted/omitted claims are flagged for review |
| Interface | Source/summary comparisons, coverage counts, evidence, and per-claim rationale |
Reference claims and consequence labels are described as hand-authored in the original build record. Cached verdicts are model judgments, not independent human reference labels. Content categories describe a claim, not a contributor's identity. The app does not infer protected characteristics.
Copy .env.example to .env, set OPENAI_API_KEY, and restart npm run dev.
The key stays on the development server. Select Live matcher, then run it.
A full run makes one request per claim, with up to five concurrent requests,
and can incur API charges. The configured model is gpt-5.6; live use requires
that model to be available to your account. No live API validation is claimed
by this repository's automated checks.
The committed cache is protected from overwrite. Live results appear in the current session; the cache endpoint returns a conflict while a cache exists. Return to Demo · cached to restore the committed example.
npm test
npm run lint
npm run typecheck
npm run buildCI runs these checks on every pull request and push to main. The test coverage
threshold applies to the deterministic scoring module only. Passing tests do
not establish matcher accuracy, fairness, or external validity.
The current demonstration uses one corpus/summary pair, selected examples, and the same model family for summarization and judging. A review flag can indicate dilution or omission; it does not by itself prove assimilation into a majority theme. This prototype supports inspection, not automated decisions about whose feedback matters. See the evaluation protocol for the proposed held-out, independently annotated study.
fixtures/: source comments, reference claims, summary, cached verdictssrc/scoring/coverage.ts: deterministic coverage aggregationsrc/server/matcher.ts: server-side model request and defensive parsingsrc/api/matcher.ts: client requests and bounded concurrencysrc/App.tsx: cached/live interfacetests/: scoring behavior checks
The original build used Codex and GPT-5.6 for scoring implementation, matcher integration, and the cached/live interface. The build record describes the acceptance criteria and human review of parsing and flagging behavior. Original build notes and session attribution preserve the detailed record. AI-assisted implementation is distinct from independent scientific validation.
MIT.
