https://github.com/mahmood726-cyber/metashift
MetaShift: Changepoint Detection Reveals Hidden Regime Shifts in Cumulative Meta-Analysis
https://github.com/mahmood726-cyber/metashift
browser-tool e156 evidence-synthesis meta-analysis shift-analysis
Last synced: 1 day ago
JSON representation
MetaShift: Changepoint Detection Reveals Hidden Regime Shifts in Cumulative Meta-Analysis
- Host: GitHub
- URL: https://github.com/mahmood726-cyber/metashift
- Owner: mahmood726-cyber
- License: mit
- Created: 2026-03-27T09:42:57.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-06-14T22:05:58.000Z (about 1 month ago)
- Last Synced: 2026-06-15T00:08:22.956Z (about 1 month ago)
- Topics: browser-tool, e156, evidence-synthesis, meta-analysis, shift-analysis
- Language: HTML
- Size: 499 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# MetaShift
[](https://github.com/mahmood726-cyber/metashift/actions/workflows/ci.yml) [](https://github.com/mahmood726-cyber/metashift/actions/workflows/codeql.yml) [](LICENSE) [](https://www.python.org/)
At what point during the accumulation of primary studies does a cumulative meta-analysis pooled estimate undergo detectable trajectory shifts? We built cumulative DerSimonian-Laird random-effects meta-analyses for ten Cochrane reviews with per-study data from Pairwise70, plus aggregate summaries for 393 additional reviews. Three changepoint algorithms were applied: CUSUM charts for mean shifts, PELT segmentation for variance changes, and a significance-flip detector tracking p-value crossings. Of ten fully traced reviews, the median number of changepoints was two (95% CI 1-4), seven exhibited heterogeneity spikes, and only two stabilized before the accumulation midpoint. CUSUM and PELT agreed on spike location in six of seven cases, and higher final heterogeneity predicted late instability across the full 403-review corpus. Changepoint methods reveal that most cumulative meta-analyses undergo detectable regime shifts that standard forest plots obscure from readers and guideline developers. However, this approach is limited to chronological ordering and cannot account for selective reporting of interim cumulative results by review authors.
**Live dashboard:**
## Run
Open `metashift.html` (or `index.html`) in any modern browser. No build step.
If you refresh `data/cumulative.json` and want to re-embed it into the shipped HTML artifacts:
```bash
python build_html.py
```
For local development:
```bash
python -m http.server 8000
# then open http://localhost:8000/
```
## Test
```bash
python -m pytest -q
```
The suite under `tests/` includes 4 test file(s).
## Repo layout
| Path | Purpose |
|---|---|
| `metashift.html` | the dashboard (main artifact) |
| `index.html` | landing page |
| `tests/` | pytest tests |
| `e156-submission/` | E156 micro-paper bundle |
| `E156-PROTOCOL.md` | project metadata (E156 entry #107) |
## License
See `LICENSE` (MIT).