Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ training-data*.jsonl
# Extracted code artifacts
claude-code-extracted/
examples/open-claude-code/
examples/real-eeg-analysis/data/*.edf
examples/real-eeg-multi-seizure/data/*.edf
agentdb.rvf
agentdb.rvf.lock
170 changes: 170 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,44 @@ members = [
# DiskANN / Vamana (ADR-143)
"crates/ruvector-diskann",
"crates/ruvector-diskann-node",
# Boundary-first scientific discovery PoC
"examples/boundary-discovery",
# CMB Cold Spot boundary-first discovery
"examples/cmb-boundary-discovery",
# FRB population boundary discovery (CHIME-like data)
"examples/frb-boundary-discovery",
# Cosmic void boundary information content
"examples/void-boundary-discovery",
# Multi-regime temporal attractor boundary detection
"examples/temporal-attractor-discovery",
# Music genre boundary discovery via spectral graph bisection
"examples/music-boundary-discovery",
# Weather regime boundary detection (variance/correlation precedes temperature)
"examples/weather-boundary-discovery",
# Market regime boundary discovery via correlation structure
"examples/market-boundary-discovery",
# Health state boundary detection from wearable sensor data
"examples/health-boundary-discovery",
# SETI exotic signals gallery: boundary-first detection of sub-threshold signals
"examples/seti-exotic-signals",
# SETI boundary-first discovery: sub-noise signal detection via coherence graphs
"examples/seti-boundary-discovery",
# Earthquake precursor detection via inter-station correlation boundary shifts
"examples/earthquake-boundary-discovery",
# Pandemic outbreak detection 60 days before case counts via correlation boundaries
"examples/pandemic-boundary-discovery",
# Infrastructure failure prediction via sensor correlation boundaries
"examples/infrastructure-boundary-discovery",
# Pre-seizure detection via brain correlation boundary shifts
"examples/brain-boundary-discovery",
# Clinical-publication-grade pre-seizure detection report with CSV output
"examples/seizure-clinical-report",
# Closed-loop seizure detection + therapeutic response simulation
"examples/seizure-therapeutic-sim",
# Real EEG analysis: CHB-MIT PhysioNet data with boundary-first detection
"examples/real-eeg-analysis",
# Multi-seizure cross-patient analysis: all 7 chb01 seizures
"examples/real-eeg-multi-seizure",
]
resolver = "2"

Expand Down
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,30 @@ curl -X POST http://localhost:8080/search \
<details>
<summary>📚 Production Examples</summary>

34 production-ready examples demonstrating RuVector integration patterns.
50+ production-ready examples demonstrating RuVector integration patterns.

#### Boundary-First Discovery (NEW — 17 experiments, 7/7 real seizures detected)

Boundary-first detection finds hidden structure by analyzing WHERE correlations change — not WHERE individual measurements cross thresholds. Validated on real clinical EEG data from PhysioNet. [Research paper](https://gist.github.com/ruvnet/1efd1af92b2d6ecd4b27c3ef8551a208) | [Seizure deep-dive](https://gist.github.com/ruvnet/10596316f4e29107b296568f1ff57045)

| Example | Description | Key Result |
|---------|-------------|------------|
| [boundary-discovery](./examples/boundary-discovery) | Phase transition detection proof | z=-3.90 |
| [brain-boundary-discovery](./examples/brain-boundary-discovery) | Seizure prediction 45s early (synthetic) | z=-32.62 |
| [real-eeg-analysis](./examples/real-eeg-analysis) | **Real CHB-MIT EEG** seizure detection | z=-2.23, 274s warning |
| [real-eeg-multi-seizure](./examples/real-eeg-multi-seizure) | **7/7 real seizures detected** (100%) | 225s mean warning |
| [seizure-therapeutic-sim](./examples/seizure-therapeutic-sim) | Entrainment delays seizure 60s | +252% alpha restored |
| [temporal-attractor-discovery](./examples/temporal-attractor-discovery) | 3/3 regime transitions found | z=-6.83 |
| [weather-boundary-discovery](./examples/weather-boundary-discovery) | 20 days before thermometer | z=-10.85 |
| [health-boundary-discovery](./examples/health-boundary-discovery) | 13 days before clinical thresholds | z=-3.90 |
| [market-boundary-discovery](./examples/market-boundary-discovery) | 42 days before market crash | z=-3.90 |
| [music-boundary-discovery](./examples/music-boundary-discovery) | Genre boundaries discovered | z=-13.01 |
| [seti-exotic-signals](./examples/seti-exotic-signals) | 6/6 invisible signals found (trad: 0/6) | z=-8.19 |
| [earthquake-boundary-discovery](./examples/earthquake-boundary-discovery) | 41 days before mainshock | z=-2.29 |
| [pandemic-boundary-discovery](./examples/pandemic-boundary-discovery) | 50 days before outbreak | z=-12.31 |
| [infrastructure-boundary-discovery](./examples/infrastructure-boundary-discovery) | 179 days before bridge collapse | z=-2.15 |

#### All Examples

| Example | Description | Type |
|---------|-------------|------|
Expand Down
Loading
Loading