Case study · data engineering + applied machine learning

Signal Lab

An interactive, static-first analytics platform connecting real historical data, experimental modeling, and practical investigation workflows.

Open the live demo Investigate 20 September 2011
  • React
  • TypeScript
  • Python
  • FastAPI
  • DuckDB
  • scikit-learn
  • GitHub Pages
Signal Lab desktop dashboard showing historical transit activity and interactive chart panels.
Production-built Signal Lab overview, using the public verified data release.

Three connected investigations

Transit Intelligence

Explore TTC incident records, Route 70 context, and experimental severity estimates for already reported incidents. The model is not a real-time bus arrival predictor.

Explore Transit

Revenue Intelligence

Investigate historical UK retail revenue and credits using weekday-aware anomaly detection, contribution breakdowns, and a read-only public review workflow.

Explore Revenue

Retention Intelligence

Study synthetic SaaS account histories, cohort retention, monthly recurring revenue reconciliation, churn-risk ranking, and transparent hypothetical scenarios.

Explore Retention

From signals to evidence

Each workspace begins with a specific analytical question, keeps the underlying data lineage visible, and lets visitors follow evidence into deeper detail. Historical and simulated inputs are clearly distinguished; exported results retain their scope.

Route 70 TTC incident severity scenario matrix and historical evaluation interface.
Transit: historical incident severity, frozen evaluation, and scenario inspection.
Historical retail financial anomaly investigation with observed and expected values.
Revenue: accounting reconciliation, anomaly detection, and contribution analysis.
Synthetic customer retention cohort heatmap in the Signal Lab dashboard.
Retention: synthetic customer cohorts and churn-risk investigation.

Architecture and engineering choices

Python, DuckDB, and typed FastAPI services prepare domain-specific datasets and analyses. React and TypeScript use generated API contracts for local development and immutable, SHA-256-verified public artifacts for a backend-free GitHub Pages build. Charting modules are lazy-loaded. A versioned offline worker can install the full public release.

Scientific boundaries were explicit: chronological evaluation and point-in-time feature selection for predictive work; integer-cent retention accounting and signed GBP transaction reconciliation; and separate model cards describing calibration, uncertainty, and data availability. Extensive unit, integration, browser, Windows, container, accessibility, and performance checks guard the release.

Limitations

Transit probabilities apply to eligible reported incidents, not all trips. Revenue anomalies are statistical deviations, not verified fraud. Retention outcomes and modeled risk are synthetic, and changing a feature in a model does not prove an intervention would prevent churn. Original weather source bytes required for one full historical raw-data replay are unavailable, while the approved prepared reports remain checksum-verified.

The public experience is a read-only analytical demonstration. Private transaction lines and analyst notes remain outside the GitHub Pages distribution.

Responsive mobile Signal Lab retention dashboard showing a populated summary.
The same data-driven experience on a narrow screen.