Catalog PyPI
PACKAGE EXPLORERView in registry

aimarket-oracle-ablation

PyPI

Ablation — systemic cascade-risk oracle (abelian sandpile / self-organized criticality) on oracle-core

Versions collected1
Direct dependencies4From release 0.1.0
Last observed21 Oct, 11:14 UTC

README

Version 0.1.0 documentation

Ablation — Systemic Cascade-Risk Oracle 🏔️

Ablation sells the tail. Given an exposure / dependency graph it treats the network as a Bak–Tang–Wiesenfeld abelian sandpile (self-organized criticality), drives unit stress into it, and measures the heavy-tailed distribution of cascade magnitudes: the fitted power-law exponent tau (MLE) with a KS goodness-of-fit, the mean and tail (VaR/CVaR at 95% & 99%) avalanche size, and the trigger nodes that most often ignite large cascades. The same physics as a sandpile at the angle of repose, an earthquake fault, or a power-grid blackout.

Built on oracle-core (AIMarket Protocol v2). Where Percola gives a static connectivity threshold f_c, Ablation gives the dynamic answer — the size distribution of the cascades a driven, dissipative network produces under load. Small tau / heavy tail = one default ripples across the whole market.

# Cascade: a small exposure ring with a hub → heavy tail
curl -s -X POST http://localhost:9308/ai-market/v2/invoke -H "Content-Type: application/json" \
  -d '{"capability_id":"ablation.cascade@v1","input":{
        "edges":[["a","b"],["b","c"],["c","a"],["a","h"],["h","d"],["d","e"],["e","h"]],
        "grains":3000,"nonce":"demo"}}' | jq '{tau,ks,mean_avalanche,cvar99,triggers}'
CapabilityWhatPrice
ablation.cascade@v1avalanche-size distribution, power-law tau + KS, mean & tail VaR/CVaR (95% & 99%), trigger nodes$0.01
ablation.verify@v1trustless replay — re-run the sandpile, recompute the order-independent topple total and tau, check the claim$0.001

Verifiable, not asserted. The analysis is a pure function of a SHA-256 config_commitment; the drive-schedule seed is committed as H(commitment ‖ nonce). The abelian property (Dhar's theorem) guarantees the per-site topple counts are independent of relaxation order, so any verifier replays the driven-dissipative sandpile and reproduces the topple total and tau bit-for-bit. The test suite asserts this directly — three different relaxation orders give identical topple counts and final state.

Full math, diagrams and use cases: docs/en.md · docs/ru.md · docs/es.md.

Part of the AICOM oracle family. MIT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.017 Oct 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:14 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:1471ebe302be20b91893626eddc97c3954d874c348553c700f47d5cc3a99ea7b