Python ML Rust replay FAIR-MAST Calybris Core

Calybris PlasmaGuard

Gerçek tokamak shot'larından disruption riski çıkaran ve bu riski denetlenebilir CONTINUE / MITIGATE / ABORT karar zincirine çeviren Calybris dikeyi. A Calybris vertical that learns disruption risk from real tokamak shots and turns it into auditable CONTINUE / MITIGATE / ABORT decisions.

shot replay stream
sourceFAIR-MAST · 11,573 public shots · Zarr signal archive
t=-84msrisk=4210 bps · conformal_hi=5300 · action=CONTINUE
t=-57msrisk=7420 bps · conformal_hi=8810 · action=MITIGATE
t=-41msrisk=9130 bps · Ip collapse window detected · action=ABORT
verifygolden replay digest stable · WAL chain valid
11.5k MAST shotMAST shots
39 sinyal ailesisignal families
1ms ortak zaman grid'ishared time grid
3 policy actionpolicy actions
Upcoming Build

PlasmaGuard, Calybris'i finans dışında bir alanda çalıştırıyor: ML riski floating-point'te tahmin ediyor, Rust motoru bunu fixed-point bps'e indiriyor ve aynı shot her oynatıldığında aynı denetlenebilir karar zincirini üretiyor. PlasmaGuard runs Calybris in a domain outside finance: ML estimates risk in floating point, the Rust engine quantizes it to fixed-point bps, and the same shot always replays into the same auditable decision chain.

Evidence target: FAIR-MAST public data, reproducible current-quench labels, LightGBM + conformal bands, Calybris policy gates, verified WAL replay.

Ne yapıyor? What it does

01

Gerçek fizik verisiReal physics data

Kaynak FAIR-MAST: halka açık MAST tokamak shot arşivi, metadata API ve Zarr sinyal verisi. Demo sentetik sinyal değil.The source is FAIR-MAST: public MAST tokamak shots, metadata API, and Zarr signal data. The demo is not synthetic telemetry.

02

Belirsizliğe göre tedbirUncertainty-aware safety

Conformal üst sınır eşiği geçerse sistem "emin değilim" diye rahatlamaz; MITIGATE tarafına fail-closed yaklaşır.If the conformal upper bound crosses the threshold, the system does not relax; it moves toward fail-closed MITIGATE behavior.

03

İş bölümü netClear separation

ML riski üretiyor, kararı Calybris veriyor. Float dünyası karar sınırının dışında kaldığı için replay deterministik ve denetlenebilir kalıyor.ML produces the risk; Calybris makes the decision. Floats stay outside the decision boundary, so replays remain deterministic and auditable.

Sistem akışı System flow

DATA

FAIR-MAST

Metadata API + Zarr sinyalleri; seçici indirme ve parquet cache.Metadata API + Zarr signals; selective download and parquet cache.

LABEL

Current Quench

Ip sinyalinden flat-top sonrası collapse etiketi, versiyonlu ve QC edilebilir.Current-collapse labels from Ip after flat-top, versioned and QC-ready.

MODEL

Conformal ML

LightGBM, isotonic calibration, split-conformal risk bandı.LightGBM, isotonic calibration, split-conformal risk bands.

ENGINE

Calybris Replay

Fixed-point bps risk, policy gates, hysteresis, verified WAL.Fixed-point bps risk, policy gates, hysteresis, verified WAL.

Signals Ip · density / Greenwald · radiation · D-alpha · vertical motion · li / EFIT · Mirnov · NBI power
Actions CONTINUE · MITIGATE · ABORT, with risk threshold, hysteresis, conformal upper bound, and missing-signal fallback
Dashboard shot replay · risk curve + conformal band · gate decision strip · warning-time badge · WAL chain status

Faul-injection testleri Fault-injection tests

missing signal

Eksik sinyalMissing signal

Kilit sinyal yoksa sistem CONTINUE üretmez; fail-closed MITIGATE kararı ve audit event çıkar.If a critical signal is missing, the system does not continue normally; it emits fail-closed MITIGATE and an audit event.

uncertainty

Geniş conformal bandWide conformal band

Tahmin ortalaması düşük ama üst sınır tehlikeliyse policy belirsizliği risk gibi ele alır.When mean risk is low but the upper bound is dangerous, the policy treats uncertainty as risk.

replay

Digest uyuşmazlığıDigest mismatch

Aynı shot ikinci replay'de farklı WAL digest üretirse test kırılır; determinism ürün şartıdır.If the same shot produces a different WAL digest on replay, the test fails; determinism is a product requirement.

provenance

İmzasız policyUnsigned policy

Eşik değişikliği Ed25519 provenance taşımıyorsa replay kabul edilmez ve dashboard zinciri güvensiz işaretler.If threshold changes lack Ed25519 provenance, replay is rejected and the dashboard marks the chain unsafe.

Roadmap Roadmap

Phase 0Monorepo, Rust/Python CI, DATA_CARD ve policy taslağı.Monorepo, Rust/Python CI, DATA_CARD and policy draft.
Phase 1FAIR-MAST fetcher, sinyal matrisi, current-quench labeler.FAIR-MAST fetcher, signal matrix, current-quench labeler.
Phase 21ms özellik grid'i, LightGBM, calibration, conformal bands.1ms feature grid, LightGBM, calibration, conformal bands.
Phase 3Rust engine, policy gates, WAL, golden replay.Rust engine, policy gates, WAL, golden replay.
Phase 4Shot-replay dashboard, warning-time metrics, demo GIF.Shot-replay dashboard, warning-time metrics, demo GIF.
Kapsam: disruption etiketi metadata'da hazır gelmiyor. Ip current-quench algoritmasıyla türetiliyor, eşikler versiyonlanıyor ve örnekler manuel QC'den geçiyor. Bu iş, projenin güven kazandığı yerin bir parçası. Scope: disruption labels aren't provided in the metadata. They're derived from the Ip current-quench algorithm, thresholds are versioned, and samples go through manual QC. That work is part of how the project earns trust.

Calybris'in füzyon güvenliği tarafındaki karşılığı. Calybris, applied to fusion safety.

Gerçek shot verisi, belirsizlik ölçümü, deterministik replay ve audit zinciri tek bir sistemde bir araya geliyor. Real shot data, measured uncertainty, deterministic replay, and an audit chain come together in one system.

Calybris Core Upcoming'e dönBack to upcoming