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.
- React
- TypeScript
- Python
- FastAPI
- DuckDB
- scikit-learn
- GitHub Pages
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.
Revenue Intelligence
Investigate historical UK retail revenue and credits using weekday-aware anomaly detection, contribution breakdowns, and a read-only public review workflow.
Retention Intelligence
Study synthetic SaaS account histories, cohort retention, monthly recurring revenue reconciliation, churn-risk ranking, and transparent hypothetical scenarios.
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.



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.
