Skip to main content

FAWP Alpha Index v2.1 — Information-Control Exclusion Principle detector

Project description

fawp-index

FAWP Alpha Index v2.1 — Python implementation of the Information-Control Exclusion Principle detector.

Based on research by Ralph Clayton (2026):


What is FAWP?

Future Access Without Presence (FAWP) is the condition where:

  • Predictive coupling persists — you can still forecast the future
  • Steering coupling has collapsed — you can no longer influence it

This is the Information-Control Exclusion Principle: in unstable regimes, prediction and control are conjugate variables. High predictive certainty is not a measure of mastery — it is a leading indicator of control failure.


Installation

pip install fawp-index

Or from source:

git clone https://github.com/ralphclayton/fawp-index
cd fawp-index
pip install -e .

Quick Start

From a CSV file

from fawp_index import FAWPAlphaIndex
from fawp_index.io.csv_loader import load_csv_simple

# Load data (only needs state + action columns)
data = load_csv_simple(
    "market_data.csv",
    state_col="price",
    action_col="trade_size",
    delta_pred=20,
)

# Run FAWP Alpha Index
detector = FAWPAlphaIndex(eta=1e-4, epsilon=1e-4, m_persist=5)
result = detector.compute(
    pred_series=data.pred_series,
    future_series=data.future_series,
    action_series=data.action_series,
    obs_series=data.obs_series,
)

print(result.summary())

Live data stream

from fawp_index import FAWPStreamDetector

def alert(result):
    print(f"⚠️  FAWP REGIME DETECTED at tau={result.peak_tau}, alpha={result.peak_alpha:.4f}")

detector = FAWPStreamDetector(
    window=500,
    delta_pred=20,
    on_fawp=alert,
)

# Feed data points as they arrive
for state, action in live_feed:
    detector.update(state=state, action=action)

Output

FAWPResult contains:

Field Description
tau Delay grid
alpha_index FAWP Alpha Index v2.1 at each tau
in_fawp Boolean array — True where FAWP regime detected
tau_h Empirical agency horizon
peak_alpha Maximum alpha index value
peak_tau Delay at peak alpha
pred_mi_corrected Null-corrected predictive MI
steer_mi_corrected Null-corrected steering MI

Applications

  • Financial systems — detect when forecast signal persists after execution leverage collapses
  • Weather prediction — flag when forecast certainty arrives after intervention window closes
  • Seismic monitoring — quantify predictive coupling vs zero steering (no earthquake off-switch)
  • Control systems — early warning of impending control failure via resonance spike

Citation

@misc{clayton2026fawp,
  author = {Clayton, Ralph},
  title  = {Future Access Without Presence (FAWP)},
  year   = {2026},
  doi    = {10.5281/zenodo.18673949},
}

License

MIT © Ralph Clayton 2026

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fawp_index-0.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fawp_index-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file fawp_index-0.1.0.tar.gz.

File metadata

  • Download URL: fawp_index-0.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for fawp_index-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c7f25b3530d514e5678a54ebf6e7fcfa434df79331e7675c2306ffa12ecf9f1
MD5 ef7229f3f1c199607fef457db86f3cc5
BLAKE2b-256 f47dbdc03a939f53682a7bfd56be88f003e216936f4a5633d4bd2f0e1a294423

See more details on using hashes here.

File details

Details for the file fawp_index-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fawp_index-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for fawp_index-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 651b3a6d9ecc0784bc62c8a7749b215e97995c11f69bfad990144346d3649596
MD5 bf0d9fc23b6ebd2175a4d912488492b7
BLAKE2b-256 149e067b25fbacfde0b8843f9567e36ce253702a3580b512f82ffa1f617380d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page