Skip to main content

Fuse — find where your system breaks, before it does.

Project description

Fuse

License: AGPL v3 Commercial License Version Python Status

Know your breaking point.

One function. Two columns of data. A publication-quality Fuse Report.

from fusepoint import analyze

card = analyze(x, y, current_x=0.01)
print(card.score)   # 87
card.save("fuse_report.png")

What it does

You have a parameter you turn and a result you measure. Fuse tells you:

  • Where the tipping point is (and how sure it is — bootstrap CI)
  • Whether it's real or noise (permutation test, not guessing)
  • How sharp it is (k — is it a cliff or a gentle slope?)
  • How safe you are (distance to the edge, as a percentage)
  • A single Stability Score from 0 to 100

All of this in a beautiful Fuse Report you can screenshot, share, put in a presentation.

Install

pip install fusepoint

Dependencies: numpy, scipy, matplotlib, pandas. That's it.

Quick Start

Array mode

import numpy as np
from fusepoint import analyze

lr = np.linspace(1e-5, 0.1, 80)
loss = your_training_function(lr)

card = analyze(lr, loss, current_x=0.01,
               x_name="Learning Rate", y_name="Loss",
               label="Training Stability")
print(card.score)        # 87 — you're safe
print(card.critical_x)   # 0.035 — this is where it blows up
card.save("lr_report.png")

DataFrame mode — the natural API

import pandas as pd
from fusepoint import analyze

df = pd.read_csv("server_metrics.csv")
card = analyze(df, x="concurrent_requests", y="response_time_ms",
               current_x=5000, label="Production Server")
card.save("server_report.png")

Column names become axis labels automatically.

Scan mode — analyze everything at once

from fusepoint import scan

results = scan("data.csv")                # auto-detect x, analyze all y columns
results = scan(df, x="time", top_n=5)     # explicit x, top 5 results

for r in results:
    print(f"{r.y_name}: {r.score} ({r.grade})")
    r.save(f"{r.y_name}_report.png")

Accepts CSV, TSV, JSON (Plotly, Elasticsearch, Pandas formats), Excel, and Parquet.

Before / After — the comparison

from fusepoint import compare

delta = compare(x, y_before, x, y_after,
                current_x=0.2,
                label_before="Before Fix",
                label_after="After Fix")
print(delta.delta_score)  # +18 points
delta.save("improvement.png")

The Score

The Stability Score (0-100) is built from four independently validated statistical components:

Component Weight What it measures
Detection 40% Is the tipping point real? (permutation p-value)
Clarity 20% How sharp is it? (k = peak/mean ratio)
Precision 15% How precisely located? (CI width / range)
Safety 25% How far from the edge? (margin / range)

The score is self-calibrating: Detection is measured against your own data's null distribution, not against arbitrary thresholds.

What it's NOT

  • Not a curve fitter (use scipy for that)
  • Not an anomaly detector (use isolation forests for that)
  • Not a time-series tool (use ruptures for changepoint detection)

Fuse finds parameter-space tipping points — the critical value of a knob where your system's behavior qualitatively changes. And it tells you how confident it is.

Built on

The mathematics behind Fuse come from sigmacore, a peer-reviewed universal criticality analysis framework published in AVS Quantum Science. Fuse is the simple door to that building.

License

Copyright (c) 2026 Forgotten Forge — forgottenforge.xyz

Dual-licensed: AGPL-3.0 for open-source use, commercial licenses available. Contact nfo@forgottenforge.xyz for commercial inquiries.

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

fusepoint-0.1.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

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

fusepoint-0.1.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fusepoint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3b82ae3488b69721e3089d060c52862315dd3339ada4793ff71d5d0c2ad018c
MD5 906cab84e48a4c1d578e1da062c1de6e
BLAKE2b-256 90592aebc21d7464168e8fbef2f3b73ef6dcbf8260c73b2960879efe50835a19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fusepoint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24e245bba4dbbd4644d6e41134a56933a1c319bace0bcbbbc9226ccc77c70a5b
MD5 1a9f7e3f8469bd7c55ebc4ea75453957
BLAKE2b-256 4ad1d512f925d1945df2fcc0ea964e41353d160b16b4596ca8066c646dcea9c0

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