# REGENISIS COSMOLOGY — Independent Verification Kit

Run the complete test harness to independently verify the REGENISIS COSMOLOGY earthquake prediction engine accuracy against USGS data.

## Quick Start

```bash
# Install dependencies
pip install -r requirements.txt

# Run quick test (5 zones, 2 time periods)
python3 regenisis_verification.py --quick

# Run full verification (33 zones, all periods)
python3 regenisis_verification.py

# Generate report from existing data
python3 regenisis_verification.py --report-only
```

## What It Tests

- 33 major seismic zones worldwide (Ring of Fire, Mediterranean-Asian Belt, Mid-Atlantic Ridge)
- Multiple time periods (2021–2024)
- Three accuracy tolerances: ±0.5, ±1.0, ±1.5 magnitude
- Weighted accuracy by event count
- Comparison against random baseline
- 95% confidence intervals

## Output

| File | Description |
|------|-------------|
| `verification_reports/consolidated_report.json` | Complete metrics (JSON) |
| `verification_reports/verification_report.md` | Human-readable summary |
| `verification_reports/all_backtest_results.csv` | Raw data for analysis |
| `verification_reports/ledger_snapshot_*.json` | Forward prediction ledger snapshot |
| `regenisis_verification.db` | SQLite database with immutable records |

## API Endpoints Used

| Endpoint | Description |
|----------|-------------|
| `GET /api/predictions/backtest` | Historical backtesting (public, no auth) |
| `GET /api/predictions/ledger` | Prediction ledger (public, no auth) |

Base URL: `https://earthpulse.abacusai.app`

## Methodology

- Each prediction uses **only prior month's earthquakes** as context (no data leakage)
- Accuracy calculated at three tolerance levels against USGS source of truth
- All results fully reproducible — anyone can run the same harness

## License

Open for independent research and verification.
Prediction engine © REGENISIS COSMOLOGY — developed by Nicolas • Plebeian Tribunal Academy
