Researcher Verification Kit

Independent, reproducible verification of the BRETT v4.2.0 earthquake prediction engine. Run our test harness to validate accuracy across 33 seismic zones against real USGS data.

Public API โ€ข No Authentication โ€ข CORS Enabled

Download Test Harness

The Python verification suite tests across all major seismic zones, calculates accuracy at three tolerance levels, and generates institutional reports with confidence intervals.

Quick Start

# Install dependencies
pip install -r requirements.txt

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

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

# Report from existing data
python3 regenisis_verification.py --report-only

Public API Documentation

Historical Backtesting API

GETPublic
https://earthpulse.abacusai.app/api/predictions/backtest

Parameters

latโœ…Latitude (-90 to 90)
lngโœ…Longitude (-180 to 180)
startโœ…Start date (YYYY-MM-DD)
endโœ…End date (YYYY-MM-DD, must be past)
nameโ€”Location name label
radiusKmโ€”Search radius (default: 500, max: 1000)
minMagโ€”Minimum magnitude (default: 4.0)
toleranceโ€”Magnitude tolerance (default: 1.5)

Example

curl "https://earthpulse.abacusai.app/api/predictions/backtest  ?lat=35.7&lng=139.7  &start=2023-01-01  &end=2024-01-01  &name=Japan"

Response

{
  "location": { "name": "Japan" },
  "accuracy_tolerance_1_5": 87.3,
  "accuracy_tolerance_1_0": 71.2,
  "accuracy_tolerance_0_5": 48.6,
  "total_events_tested": 127,
  "data_source": "USGS"
}

Prediction Ledger API

GETPublic
https://earthpulse.abacusai.app/api/predictions/ledger

Parameters

statusPENDING, CONFIRMED, REFUTED, NO_EVENT, ALL
formatjson (default) or csv
regionFilter by region name (partial match)
pagePage number (default: 1)
limitRecords per page (max: 200)
sortcreatedAt, verifiedAt, magnitude, accuracy
orderasc or desc

Examples

# All predictions (JSON)
curl https://earthpulse.abacusai.app/api/predictions/ledger

# Confirmed only
curl https://earthpulse.abacusai.app/api/predictions/ledger?status=CONFIRMED

# Download as CSV
curl https://earthpulse.abacusai.app/api/predictions/ledger?format=csv
โšก

Unified Volcanic-Earthquake Engine

Two-State Eruption Model โ€” Resonance ร— Trigger Activation

NEW

๐Ÿง  The Core Insight (Nicolas's Two-State Model)

Volcanoes don't erupt on a schedule. They erupt when an earthquake shatters the conduit. This engine monitors BOTH conditions in real-time:

State 1: RESONANCE
Volcanic engine output (0-100%). Is the magma fluid? Is pressure building? (Continuous)
State 2: TRIGGER
Earthquake D-value crosses threshold โ†’ sigmoid gate opens. Has a quake destabilized the chamber? (Binary/sigmoid)
Unified probability combines resonance output with seismic trigger analysis
through a proprietary activation function.

Status transitions:
  DORMANT โ†’ HOT_MONITORING โ†’ IMMINENT โ†’ ERUPTION_LIKELY
     โ†‘                          โ†“
     โ””โ”€โ”€ ELEVATED โ†โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  (72hr window expires)

๐Ÿ”๏ธ Volcano-Specific Fragility Curves NEW

Not all volcanoes are equal. Each has its own "fragility curve" based on chamber depth, crust type, and eruptive history. The threshold is now auto-calculated per volcano.

Threshold is auto-calculated per volcano based on:
  - Chamber depth
  - Crust type (oceanic, continental, caldera, etc.)
  - Eruptive history frequency

Lower threshold = more fragile volcano = easier to trigger
Kilauea
3km ยท Oceanic
T=28
VERY FRAGILE
Etna
8km ยท Continental
T=42
MODERATE
Fuji
12km ยท Thick
T=58
STURDY
Yellowstone
10km ยท Caldera
T=62
VERY STURDY

๐Ÿ’ก Use &threshold=XX to manually override the auto-calculated threshold for custom analysis. Omit the parameter to use the volcano's natural fragility curve. 20 major volcanoes profiled.

GET https://earthpulse.abacusai.app/api/volcanic/unified
lat*Latitude (-90 to 90)
lng*Longitude (-180 to 180)
nameVolcano name (enables auto-threshold from fragility profile)
thresholdManual override (auto-calculated per volcano if omitted)
lookback_daysEarthquake lookback days (1-90, default: 30)
radius_kmEarthquake search radius (50-500, default: 300)
daysForecast days (1-30, default: 7)

Example Requests

# Marapi โ€” auto-threshold ~38 (FRAGILE)
curl "https://earthpulse.abacusai.app/api/volcanic/unified?lat=-0.38&lng=100.47&name=Marapi"

# Kilauea โ€” auto-threshold ~28 (VERY FRAGILE)
curl "https://earthpulse.abacusai.app/api/volcanic/unified?lat=19.42&lng=-155.29&name=Kilauea"

# Yellowstone โ€” auto-threshold ~62 (VERY STURDY)
curl "https://earthpulse.abacusai.app/api/volcanic/unified?lat=44.43&lng=-110.67&name=Yellowstone"

# Etna โ€” manual override to 35
curl "https://earthpulse.abacusai.app/api/volcanic/unified?lat=37.75&lng=14.99&name=Etna&threshold=35"

Eruption Status States

DORMANTLow resonance, no triggers โ€” system quiescent
HOT_MONITORINGHigh resonance, awaiting earthquake trigger
ELEVATEDTrigger detected but 72hr window may have passed
IMMINENTHigh resonance + active trigger โ€” eruption window OPEN (0-72hr)
ERUPTION_LIKELYPeak resonance + multiple strong triggers โ€” conditions fully met

Response Includes

๐Ÿ”๏ธ Volcano-specific fragility profile + auto-threshold
โšก Unified eruption probability + urgency score
๐ŸŒ‹ Full resonance state + daily forecast
๐Ÿ”— Primary trigger earthquake with formula
๐Ÿ“ Sigmoid activation curve at threshold
๐Ÿ”„ State transition table with conditions
๐ŸŒ‹

Volcanic Engine API

Live volcanic forecasting with full calculation breakdown + earthquake trigger analysis

Live Volcanic Forecast

Returns volcanic eruption probability forecast with earthquake destabilization analysis from real USGS data.

GET https://earthpulse.abacusai.app/api/volcanic/engine
lat*Latitude (-90 to 90)
lng*Longitude (-180 to 180)
nameVolcano/location name
daysForecast days (1-90, default: 21)

Example Requests

# Marapi (Indonesia) โ€” currently high activity
curl "https://earthpulse.abacusai.app/api/volcanic/engine?lat=-0.38&lng=100.47&name=Marapi"

# Kilauea (Hawaii) โ€” 30 day forecast
curl "https://earthpulse.abacusai.app/api/volcanic/engine?lat=19.42&lng=-155.29&name=Kilauea&days=30"

# Etna (Italy)
curl "https://earthpulse.abacusai.app/api/volcanic/engine?lat=37.75&lng=14.99&name=Etna"

Volcanic Historical Backtest

Monthly volcanic predictions vs actual events with earthquake-trigger correlation per month. Tests the theory: eruptions need a seismic trigger to destabilize the chamber.

GET https://earthpulse.abacusai.app/api/volcanic/historical
lat*Latitude (-90 to 90)
lng*Longitude (-180 to 180)
start*Start date (YYYY-MM-DD)
end*End date (YYYY-MM-DD, must be past)
nameVolcano/location name
radiusKmSearch radius (50-500, default: 300)

Example Requests

# Marapi 2024 backtest
curl "https://earthpulse.abacusai.app/api/volcanic/historical?lat=-0.38&lng=100.47&start=2024-01-01&end=2025-01-01&name=Marapi"

# Kilauea 2024
curl "https://earthpulse.abacusai.app/api/volcanic/historical?lat=19.42&lng=-155.29&start=2024-01-01&end=2024-12-31&name=Kilauea"

๐Ÿ”— Earthquake Trigger Hypothesis (Nicolas's Theory)

Actual surface eruptions require an earthquake trigger event to destabilize the magma chamber/pipe. Without a seismic trigger, even high-resonance volcanic systems may not erupt. The API calculates destabilization potential for each nearby earthquake using:

Destabilization potential is calculated using:
  - Seismic energy release (Gutenberg-Richter relation)
  - Distance attenuation from earthquake to volcano
  - Depth coupling between earthquake focus and magma chamber

Risk thresholds: NEGLIGIBLE (<10) โ†’ LOW (10-25) โ†’ MODERATE (25-45) โ†’ HIGH (45-70) โ†’ CRITICAL (>70)

Response Includes:

๐Ÿ”ด Space weather factors
๐Ÿ”ต Earth dynamics factors
๐ŸŸ  Volcanic resonance analysis
๐ŸŸก Chamber pressure & gas analysis
๐Ÿ”ต Submarine adjustments (v4.2)
๐ŸŸข Combined risk score
๐ŸŸฃ Eruption probability & VEI
๐Ÿ’ฅ Earthquake trigger analysis

Expected Output

Console Output

============================================================
REGENISIS COSMOLOGY โ€” Independent Verification Suite
============================================================
Tests: 165 | Zones: 33 | Periods: 5

๐Ÿ“ Japan (35.7, 139.7)
  [1/165] Full Year 2023 (2023-01-01 โ†’ 2024-01-01)
    โœ“ Events: 127, Acc: 87.3% (ยฑ1.5)
  ...

============================================================
VERIFICATION SUMMARY
============================================================
Global Accuracy (ยฑ1.5): 87.3%
Global Accuracy (ยฑ1.0): 71.2%
Global Accuracy (ยฑ0.5): 48.6%
Weighted Accuracy:      89.1%
vs Random Baseline:     +12.4%
95% CI:                 ยฑ3.2%
============================================================

Generated Files

verification_reports/
โ”œโ”€โ”€ consolidated_report.json
โ”œโ”€โ”€ verification_report.md
โ”œโ”€โ”€ all_backtest_results.csv
โ””โ”€โ”€ ledger_snapshot_2026-04-10.json

regenisis_verification.db  (SQLite)

What Gets Validated

โœ“ 33 seismic zones worldwide
โœ“ Multiple time periods (2020โ€“2024)
โœ“ Three tolerance levels (ยฑ0.5, ยฑ1.0, ยฑ1.5)
โœ“ Weighted accuracy by event count
โœ“ Baseline comparison vs random chance
โœ“ 95% confidence intervals
โœ“ Forward ledger tracking

Methodology & Transparency

No data leakage โ€” each prediction uses only prior month's data as context

Three tolerance levels โ€” ยฑ0.5, ยฑ1.0, ยฑ1.5 magnitude

USGS source of truth โ€” all verifications link to USGS event pages

Immutable ledger โ€” predictions timestamped before events, never deleted

Reproducible โ€” anyone can run the same test harness

Baseline comparison โ€” improvement calculated over random chance