Automated root-cause analysis for complex datasets.
Dashboards tell you what changed. DataSherlock investigates why.
Revenue dropped 18% last month.
A human analyst spends hours slicing the data: which region, which product, which segment, which channel, which weeks — and whether any of it is statistically real.
DataSherlock does that investigation automatically and returns evidence-backed hypotheses, each with a confidence score.
Input
Dataset: e-commerce transactions
Question: "Why did revenue decrease in March?"
Output
Root Cause #1 Confidence: 92%
------------------------------------------------------------------
Hypothesis
Repeat purchases in Region X declined.
Evidence
Revenue contribution -14.2%
Repeat purchase rate -31%
Significance p < 0.01
Effect size 0.74 (Cohen's d)
Supporting segments
Category A, Category B, Category C
Every claim is traceable to a statistic. The LLM never invents evidence.
User Question
│
Data Profiler
│
Metric Decomposition
│
┌────────────┼────────────┐
│ │ │
Time Region Product
│ │ │
└────────────┼────────────┘
│
Anomaly Detection
│
Hypothesis Generation
│
Statistical Verification
│
Evidence Ranking
│
LLM Explanation
The statistics are deterministic. The LLM only reads the findings and phrases the explanation — that separation is the whole design.
| Stage | What it does |
|---|---|
| Ingestion | CSV, Parquet, SQL tables |
| Profiling | Types, distributions, cardinality, missingness, correlations |
| Decomposition | Splits the metric across every dimension, ranks contribution to the change |
| Anomaly detection | z-score, IQR, rolling stats, seasonal decomposition, Isolation Forest |
| Hypothesis generation | LLM proposes causes from the statistical findings only |
| Testing | Group comparison, significance, effect size, counter-evidence |
| Explanation | Ranked root causes with confidence scores |
Ground truth is injected, so accuracy is measurable:
Clean dataset → inject "Region X sales -30%" → run DataSherlock
→ did it identify Region X?
Measured across a benchmark of scenarios:
- root-cause identification accuracy
- precision / recall
- false hypothesis rate
- evidence correctness
- investigation latency
Python · Pandas / Polars · SciPy · scikit-learn · PyTorch · LLM structured outputs
🚧 In development.