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.3.0.tar.gz (44.5 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.3.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fawp_index-0.3.0.tar.gz
  • Upload date:
  • Size: 44.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 7f9c4552e08c24d244c6c75e523cee4c4cbdc75f93b4360b06f7f6d0a41c491a
MD5 3cd444442ea75c9214dd372fd2254f69
BLAKE2b-256 b435fc637be719bb2cc5060990e31b76b45fdea6be0409ee6cc015b4140226c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fawp_index-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 52.3 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a44aa5beeaf86377a81741bc0c690308a1356e0833e018b69e87c699535a204
MD5 42a12b1371704184a12e8e46eaba2df5
BLAKE2b-256 12d77d8f5ad9f45c3ea7e20487c11f2d02e121ceb2881220584ba88413c05d8d

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