Methodology
How scoring works
See why the index keeps or filters a story and which signals shape its score.
Scores are not fact checks. The public examples check for regressions; they do not show how scoring performs on unseen cases.
ARCHITECTURAL SYNTHESIS
Empirical Bake-Off Forensics: Build A (Matt) vs. Build B (John) → Combined Engine
The comparisons below describe shared acceptance tests and public examples. The scores and heuristics are not empirically calibrated or independently verified.
| Subsystem | Build A (builds/matt) | Build B (builds/john) | Pruned Failure Mode | Unified Architecture |
|---|---|---|---|---|
| Topic Filtering & Scope Precision (AT-13 / REQ-003 / REQ-017) | FAILED AT-13: app/page.tsx had no ?topic= filter UI or query predicate; flat 9-topic phrase list matched only 64.3%–69% of live stories (missed SAE 'Extracting Concepts from GPT-4'). | Shipped 28-topic hierarchical ontology (85% rule recall), but bare 'alignment' & 'self-improving*' leaked CV visual space ('HiUni') and medical CNNs ('292P') into live feed. | Pruned unmasked bare 'alignment' matching, clinical/avatar/water vertical noise, and NYSE:AGI stock-ticker false positives. | 9 canonical spec root topics + 20 child sub-topics rolling up with '(matched: ... · via ...)' lineage + NON_SAFETY_ALIGNMENT_COLLOCATIONS masking (100% holdout precision). |
| Paper Evidence, Empirical Rigor & Formal Proofs | Relied on single prose SCORING_GUIDE prompt to Claude Haiku; when API key absent (JUDGE=off), zero rigor, benchmark, or hype breakdown existed. | Built rich deterministic review.js (8-marker negation-aware empirical rigor, sentence claim-backing, homoglyph injection guard) & 4-rung Lean/Coq verification.js. | Pruned researcher name-dropping score points (kept people as 0-pt provenance metadata only) and capped each rigor marker family at 1 hit to defeat keyword stuffing. | Ported full 8-marker negation-aware rigor engine + 4-rung formal verification + Goodhart hype/injection cap into clean TypeScript + Zod (lib/paper-rigor.ts). |
| Historical Archive Horizon (2015–Present vs 2023+) | Designed resumable history_progress table, but hardcoded HISTORY_START = 2023-01-01, left arxiv-month & gnews-month unimplemented in history.ts, and judged FIFO by recency. | Curated live primary feeds & Hugging Face papers, but lacked resumable multi-year monthly archive cursors and pre-2022 foundational canon. | Pruned 2023-only cutoff, broad noisy Google News queries prior to 2022, and recency-only FIFO judging that starved older landmark papers. | Extended horizon to 2015-01-01, implemented arxiv-month (2016+) + forum-graphql (2018+) + substack + 22-paper Foundational Canon (2015–2025) + significance-first judge queue. |
| Judging Architecture & Best-Story Ranking | Calibrated 1.0–10.0 scale + Central-time daily top-5 cap (8.0+), but single-vendor @anthropic-ai/sdk dependency degraded completely without key. | Zero-key 3-tier Vercel AI Gateway cascade + deterministic 0–100 score, but lacked Build A's calibrated daily-top-5 mode and era-neutral composite sort. | Pruned single-key vendor lock-in and uncalibrated raw-score sorting. | AI SDK 6 3-tier Gateway cascade (Tier-0 rules -> Gemini 2.5 Flash Lite -> GPT-5.4 Mini) fed with deterministic rigor/hype signals + era-fair Best-Story composite (0–100). |
| Runtime Architecture, Security & UX | Clean ~1,650-LOC Next.js 16 + TypeScript + scrypt + SHA-256 hashed session tokens + /review audit ledger, but empty next.config.ts headers and no auth rate limits. | Rich /stories/[id] provenance, /brief synthesis, OPML/Atom exports, and rate/honeypot guards, but complex CJS custom module kernel, buried signup drawer, and raw DB session tokens. | Pruned custom CJS Express kernel, raw HTML string concatenation, unhashed session tokens, and buried auth drawers. | Next.js 16.4 App Router + React 19 + Zod 4 + SHA-256 session hashes + constant-time scrypt + security headers + rate/honeypot guards + Tri-theme (Dark / Light / Tactical Gold). |