Skip to main content
S srinevasan.com
← Back to all projects

Project / Research & data systems

Anomaly Directory: building an evidence-first research platform.

Anomaly Directory explores a difficult data problem: how to organize unusual reports without treating every source or claim as equally verified. The platform separates evidence, editorial decisions and searchable records.

Next.jsTypeScriptPostgreSQLPlaywright

The challenge

An archive of complex reports can become misleading if it mixes source reliability with the credibility of individual claims. The goal was to make records discoverable while preserving their provenance, uncertainty and editorial state.

System overview

  1. 01Source materialReports, editions and references
  2. 02CurationExplicit, traceable import batches
  3. 03Data modelPostgreSQL as the runtime source of truth
  4. 04ServicesRepository layer and server APIs
  5. 05ExperienceSearchable dossiers and cited claims

High-level representation of the repository's documented data flow; it is not a live infrastructure monitor.

Engineering decisions

Evidence before presentation

Source reliability, claim verification and editorial status are separate fields. Published claims require citations, rather than inheriting credibility from the reputation of a source.

One authoritative database

PostgreSQL is the runtime source of truth. Legacy curated records remain available to import tooling, but the live application avoids silently falling back to static data.

Controlled vocabulary search

Aliases, translations, related terms and fuzzy matching with pg_trgm help users search a subject without losing the original wording of source material.

Repeatable, testable ingestion

Import batches track provenance and are designed to be idempotent. The validation suite checks citation integrity, publication rules and database consistency.

From prototype to reliable system

The repository documents a clear separation of server-side data loading from interactive React components, plus CI that builds against PostgreSQL and runs integrity and responsive-browser tests. This makes the archive a useful example of data-heavy full-stack engineering, not simply a content website.

An important safeguard: scheduled maintenance refreshes search indexes; it does not automatically create or corroborate claims. Editorial controls stay explicit.

The result

A structured research experience that keeps claims connected to evidence, supports richer discovery through terminology and search, and establishes a maintainable foundation for future ingestion work. No unverified traffic or performance figures are used here.

More work

Explore other projects