Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Failcast

by AL3XPIversion 0.1.1i★ 0iRuns on your computerRepository ↗

How to install

What it does

Local Rust CLI and MCP server that predicts which pytest tests will fail for a git diff

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 477,3701 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 235,5421 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 153,0491 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Failcast. Follow https://mcp.popnx.com/i/al3xpi-failcast.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 26, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Failcast for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "failcast": { "command": "uvx", "args": [ "failcast", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Failcast tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "failcast": {
          "command": "uvx",
          "args": [
            "failcast",
            "mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Failcast and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Failcast or shows a Failcast tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Failcast yet

Failcast runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Failcast

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Failcast for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user failcast -- uvx failcast mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Failcast tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user failcast -- uvx failcast mcp
  4. Type /mcp in Claude Code

    You should see Failcast listed as connected

  5. Try it

    Use Failcast and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Failcast or shows a Failcast tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Failcast for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "failcast": { "command": "uvx", "args": [ "failcast", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Failcast tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Failcast and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Failcast or shows a Failcast tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Failcast for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "failcast": { "type": "stdio", "command": "uvx", "args": [ "failcast", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Failcast tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Failcast and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Failcast or shows a Failcast tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Failcast💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user failcast -- uvx failcast mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "failcast": {
      "command": "uvx",
      "args": [
        "failcast",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "failcast": {
      "command": "uvx",
      "args": [
        "failcast",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "failcast": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "failcast",
        "mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.AL3XPI/failcast
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.1.1
Published to registryi
Nov 26, 2026
Code last changedi
Nov 26, 2026
Maker
AL3XPI
Packages
pypi: failcast
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account AL3XPI, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for failcast@0.1.1

Checks only this package version, not every dependency · checked Nov 26, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/al3xpi-failcast.svg)](https://mcp.popnx.com/en/servers/al3xpi-failcast)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 0% of the other 7984 servers in this category
  • Published to the registry more recently than 99% of the other 7984 servers in this category
  • Basic checks equal to or better than 99% of the other 7984 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Failcast safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.1.1) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19.1KUpdated 2 months ago

Connect now (has URL)3 tools · light✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.7KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · appllama.io

Cloudflare MCP

Cloudflare MCP servers

by cloudflareGrowing★ 4.5KUpdated 14 months ago

Connect now (has URL)2 tools · light✓ service owner · mcp.cloudflare.comTried by the PopNx team

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

by omnara-aiWidely used★ 3.5KUpdated 2 months ago

Connect now (has URL) · sign-in✓ service owner · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.3K Stars for the whole repoUpdated 4 days ago

Connect now (has URL) · sign-in✓ service owner · repowise.dev
Compared with similar ones
This one
Failcast
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseMITMITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

failcast

failcast is a local Rust CLI and stdio MCP server that reads your working-tree git diff, predicts which pytest tests are likely to fail, runs the highest-yield ones inside a time or count budget, and stores every outcome in SQLite so future runs get sharper. Everything compiles into one Rust binary (Edition 2024) backed by statically linked bundled rusqlite, pure-Rust forust-ml gradient-boosted trees with Platt calibration, and a tree-sitter file-level Python import graph.

The selector ranks candidate tests by calibrated failure probability per millisecond (prob / eff_ms). A small deterministic exploration pass appends stale tests on top of the greedy budget so neglected parts of the suite stay measured, while inverse-propensity weighting corrects training rows for selection bias. Training and evaluation splits follow chronological run boundaries (max_train_ts < min_cal_ts < min_eval_ts) to keep future outcomes out of earlier feature snapshots. One shared internal service layer drives both the CLI (failcast run, failcast explain) and the rmcp stdio MCP server (failcast mcp).

Install & Quickstart

Run or install the prebuilt binary directly from PyPI with uvx or pipx (no Rust toolchain needed):

# Zero-install run via uvx

uvx failcast --help

Or install globally via pipx

pipx install failcast

If you have a Rust toolchain (1.88+, Edition 2024), you can also install from crates.io:

cargo install failcast

Prebuilt release archives for macOS (aarch64-apple-darwin), Linux (x86_64-unknown-linux-gnu), and Windows (x86_64-pc-windows-msvc) are available on GitHub Releases with SHA256SUMS.txt:

# macOS (Apple Silicon)

curl -fsSL https://github.com/AL3XPI/failcast/releases/latest/download/failcast-v0.1.1-aarch64-apple-darwin.tar.gz \ | tar -xz -C ~/.local/bin

Linux (x86_64)

curl -fsSL https://github.com/AL3XPI/failcast/releases/latest/download/failcast-v0.1.1-x86_64-unknown-linux-gnu.tar.gz \ | tar -xz -C ~/.local/bin

Windows (PowerShell)

Invoke-WebRequest https://github.com/AL3XPI/failcast/releases/latest/download/failcast-v0.1.1-x86_64-pc-windows-msvc.zip -OutFile failcast.zip Expand-Archive failcast.zip -DestinationPath "$env:USERPROFILE\.local\bin" -Force

Running tests requires pytest on your PATH (or configured in .failcast.toml). Add .failcast/ to your repository's .gitignore, initialize the local SQLite store, and seed a baseline run:

# Initialize .failcast/store.db and mine recent git history for co-change and 30-day churn

failcast init --history-limit 500

Run the full suite once to seed durations and baseline pass/fail history

failcast run --all

Select and run highest-value tests within a 15-second budget

failcast run --budget 15

Preview selection without executing tests or writing runs to SQLite (uses discovery cache)

failcast run --budget 15 --dry-run --json

Force fresh pytest --collect-only discovery (bypasses the SQLite cache)

failcast run --budget 15 --dry-run --refresh-tests --json

Alternative selection modes

failcast run --top-k 20 failcast run --target-recall 0.95

Train the GBDT + Platt model once history crosses thresholds (writes .failcast/model.json)

failcast train

Inspect all 16 features, active model mode, calibrated probability, yield score, and top signals

failcast explain tests/test_calc.py::test_add_positive failcast explain tests/test_calc.py::test_add_positive --json

Replay stored runs chronologically against Random, StaticAst, and RecentFailureRate

failcast eval --budgets 0.1,0.2,0.3 --min-train-runs 20 --retrain-every 5 --output-json eval_report.json

When tests fail, failcast run still parses the JUnit XML and commits every outcome to .failcast/store.db before returning pytest's non-zero exit code. Until stored history crosses min_runs_for_ml = 100 and min_failures_for_ml = 25 (both configurable in .failcast.toml), failcast ranks with a cold-start heuristic.

Configuration & history import (.failcast.toml, backfill, JSONL)

Every key in .failcast.toml is optional. Create .failcast.toml at your repository root to override any default:

runner = "pytest"

default_budget_secs = 15 explore_fraction = 0.10 min_failures_for_ml = 25 min_runs_for_ml = 100 history_commit_limit = 500 pytest_bin = "pytest" max_traceback_chars = 1500

You can populate history from recent commits inside an isolated temporary git worktree so your working tree stays untouched, or load external CI and PR failure logs from a JSONL file in a single SQLite transaction (mode = 'backfill'):

failcast backfill --commits 50 --ref HEAD

failcast import-runs ci_history.jsonl

{"commit_sha":"a1b2c3d","started_at":1710000000,"diff_files":[{"path":"src/calc.py","lines_added":18,"lines_deleted":2}],"outcomes":[{"test_id":"tests/test_calc.py::test_divide_broken","file_path":"tests/test_calc.py","status":"fail","duration_ms":130}]}

Benchmarks

Real pre-merge Pull Request runs from PyGithub/PyGithub (CI workflow, 2026-09-09 to 2026-11-20) were collected with scripts/collect_gha_pytest.py. The dataset contains 80 PR runs total (22 warmup runs followed by 58 strictly chronological evaluated runs with zero timestamp leakage verified on every step), 19 failing PRs overall (13 failing runs and 335 individual test failures in the evaluation window), 1,405 unique pytest tests, and 93,736 total outcomes (68,695 evaluated non-skip outcomes). Every per-test duration comes directly from GitHub Actions JUnit XML (pytest.xml) workflow artifacts (0.0% estimated; 2 zero-pass environment/collection-crash runs excluded). Evaluation trains a 150-tree depth-5 forust-ml GBDT with chronological Platt calibration every 5 runs (gbdt_steps = 58 / 58), setting explore_fraction = 0.0 offline so all five strategies compete strictly on ranking and cost-aware packing while live CLI and MCP runs keep exploration enabled. Full JSON output lives in docs/benchmarks/eval_report.json.

20% Duration Budget (PyGithub/PyGithub, 58 Evaluated Runs, 13 Failing Runs)
BudgetStrategyCommit FDRFailure RecallTime SavedBrier ScorePR-AUC
20%Failcast (GBDT+Platt)76.9%93.7%89.8%0.00400.6894
20%Heuristic61.5%14.6%92.8%0.20350.0115
20%StaticAst61.5%15.2%92.3%0.14240.0059
20%RecentFailureRate69.2%52.5%89.8%0.00420.3085
20%Random38.5%13.4%91.1%0.33040.0051

At a 20% duration budget (89.8% wall-clock time saved), Failcast catches 93.7% of individual test failures with a 0.6894 PR-AUC (135× Random, 60× Heuristic, 2.23× RecentFailureRate). Every strategy's Commit FDR curve stays monotonically non-decreasing as the budget grows.

Full multi-budget table (5%–50%)

BudgetStrategyCommit FDRFailure RecallTime SavedBrier ScorePR-AUC
5%Failcast (GBDT+Platt)53.8%26.6%97.6%0.00400.6894
5%Heuristic46.2%6.3%98.8%0.20350.0115
5%StaticAst38.5%5.1%98.8%0.14240.0059
5%RecentFailureRate61.5%18.2%97.2%0.00420.3085
5%Random30.8%3.0%97.9%0.33040.0051
10%Failcast (GBDT+Platt)69.2%54.6%94.9%0.00400.6894
10%Heuristic46.2%9.0%97.0%0.20350.0115
10%StaticAst38.5%5.4%97.2%0.14240.0059
10%RecentFailureRate69.2%30.1%94.9%0.00420.3085
10%Random38.5%7.2%95.7%0.33040.0051
15%Failcast (GBDT+Platt)76.9%80.0%92.3%0.00400.6894
15%Heuristic53.8%12.2%95.0%0.20350.0115
15%StaticAst53.8%11.0%94.9%0.14240.0059
15%RecentFailureRate69.2%41.2%92.6%0.00420.3085
15%Random38.5%10.4%93.4%0.33040.0051
20%Failcast (GBDT+Platt)76.9%93.7%89.8%0.00400.6894
20%Heuristic61.5%14.6%92.8%0.20350.0115
20%StaticAst61.5%15.2%92.3%0.14240.0059
20%RecentFailureRate69.2%52.5%89.8%0.00420.3085
20%Random38.5%13.4%91.1%0.33040.0051
30%Failcast (GBDT+Platt)76.9%94.3%83.6%0.00400.6894
30%Heuristic69.2%16.7%88.5%0.20350.0115
30%StaticAst61.5%19.1%87.9%0.14240.0059
30%RecentFailureRate69.2%56.4%83.9%0.00420.3085
30%Random53.8%20.6%86.3%0.33040.0051
50%Failcast (GBDT+Platt)76.9%95.5%71.3%0.00400.6894
50%Heuristic69.2%23.9%78.9%0.20350.0115
50%StaticAst69.2%28.1%79.2%0.14240.0059
50%RecentFailureRate69.2%62.7%70.6%0.00420.3085
50%Random53.8%30.1%76.2%0.33040.0051

Systems Latency & Footprint

Measured on an Apple M3 Pro (macOS arm64, rustc 1.98.1 (48a229cea 2026-09-01)) against PyGithub/PyGithub with 1,232 discovered tests, 93,736 stored outcomes, and model_mode = gbdt. Raw measurements are saved in docs/benchmarks/systems_bench.json.

Execution PathMetricValueNotes
Binary FootprintStripped release binary (failcast)8.26 MBUnstripped: 10.55 MB (static SQLite + forust-ml GBDT + Tree-sitter + rmcp)
Warm Rust Corefailcast run --budget 15 --dry-run --json (p50 / p95)398.3 ms / 503.1 msCached SQLite discovery (2.2× faster than cold; git diff + SQLite + AST + GBDT+Platt)
Warm Rust Corefailcast explain --json (p50 / p95)357.2 ms / 364.6 msCached SQLite discovery (2.4× faster than cold; 16 features + signals + Platt prob)
Cold `pytest` Discoveryfailcast run --budget 15 --dry-run --refresh-tests --json (p50 / p95)874.3 ms / 925.3 msIncludes external Python + pytest --collect-only startup across 1,232 tests
Cold `pytest` Discoveryfailcast explain --refresh-tests --json (p50 / p95)865.4 ms / 899.7 msIncludes external Python + pytest --collect-only startup
Pure ML Corefailcast-ml scoring latency (1,000 tests, p50 / p95)1.10 ms / 1.50 ms905,182 tests/sec (150-tree GBDT + Platt calibration via bench_infer)

Probability Calibration Reliability

Across all 68,695 evaluated non-skip outcomes, Platt calibration with the support and log-loss guardrail pulls Brier score down from 0.0041 (raw GBDT) to 0.0040, a 3.5% drop and the lowest of the five strategies, while removing raw GBDT's overconfident [0.3, 1.0] tail bin

Only the beginning is shown; read the rest in the repo