Ideaticon / Case Study / Chess.com · Data Quality

Data quality that finds problems before people do.

At the scale of a product with more than 300 million users, data quality has to be part of the platform. I built historical data reconciliation, an automated watchdog that investigates anomalies, validation for every release, and one governed registry of event definitions. The watchdog found real production issues in its first week.

Week 1 Real Issues Caught
1.6B Rows Validated, 0 Diffs
20.8 TiB Obsolete Storage Found

Figures describe engineering validations and specific reference windows. They are not current public company KPIs.

Quality built into the platform.

Detection runs automatically, investigations produce evidence, releases record an approval, and definitions live in one governed place. Quality checks are part of normal platform operation.

Healing and cleaning at scale

Historical data was healed rather than discarded. Contaminated sessions were untangled, sessionless events were absorbed into valid nearby sessions, and passive server noise was suppressed from active user counts. Raw data stays untouched, and audit columns explain every correction that was applied.

An automated QA watchdog

A watchdog listens for completed pipeline runs, applies deterministic anomaly detection, and then uses AI to investigate within set limits. It produces a daily digest with lineage, impact and suggested ownership, suppresses known noise, and operates under strict query cost limits. It caught multiple real production issues in its first week.

Validation in every release

A governed Data QA environment separates personal development, staging backfills, release QA and production. dbt test runs are linked to releases, outcomes are recorded as pass, fail, unsupported or insufficient traffic, and a named reviewer approves the result. Each release now has a recorded outcome and owner.

One registry of event definitions

A governed event registry separates raw instrumentation from analytical meaning. Canonical concepts survive platform changes and event redesigns, rules retain the dates when they apply, and both daily and realtime processing resolve the same definitions. The registry was validated against a production partition with 1.6 billion rows with zero metric disagreements, at about 0.1% additional build cost.

Warehouse stewardship

A cleanup audit identified roughly 20.8 TiB of obsolete storage while explicitly protecting every active dbt, Airflow, dashboard, ML and analyst dependency. Cost went down. Nothing broke.

Business impact

  • Real production issues caught automatically in the watchdog's first week
  • Canonical metrics validated on 1.6 billion production rows with zero disagreements
  • Activity metrics separate passive server traffic under governed rules
  • Every release now carries recorded validation outcomes and a named approval
  • About 20.8 TiB of obsolete storage identified with zero live dependencies touched
  • Investigations arrive with lineage, impact and suggested ownership attached