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
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
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.
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/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.
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
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "failcast": { "command": "uvx", "args": [ "failcast", "mcp" ] } } }Quit Claude and open it again
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
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
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.
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
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user failcast -- uvx failcast mcpType /mcp in Claude Code
You should see Failcast listed as connected
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.
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
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Open the AI chat in Cursor in Agent mode
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.
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
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Open the AI chat in VS Code in Agent mode
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.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user failcast -- uvx failcast mcpClaude 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
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
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
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.
[](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.
User reviews
No reviews yet
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.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| This one Failcast | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | Yes | No | No |
| Basic checks | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| License | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No 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)
| Budget | Strategy | Commit FDR | Failure Recall | Time Saved | Brier Score | PR-AUC |
|---|---|---|---|---|---|---|
| 20% | Failcast (GBDT+Platt) | 76.9% | 93.7% | 89.8% | 0.0040 | 0.6894 |
| 20% | Heuristic | 61.5% | 14.6% | 92.8% | 0.2035 | 0.0115 |
| 20% | StaticAst | 61.5% | 15.2% | 92.3% | 0.1424 | 0.0059 |
| 20% | RecentFailureRate | 69.2% | 52.5% | 89.8% | 0.0042 | 0.3085 |
| 20% | Random | 38.5% | 13.4% | 91.1% | 0.3304 | 0.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%)
| Budget | Strategy | Commit FDR | Failure Recall | Time Saved | Brier Score | PR-AUC |
|---|---|---|---|---|---|---|
| 5% | Failcast (GBDT+Platt) | 53.8% | 26.6% | 97.6% | 0.0040 | 0.6894 |
| 5% | Heuristic | 46.2% | 6.3% | 98.8% | 0.2035 | 0.0115 |
| 5% | StaticAst | 38.5% | 5.1% | 98.8% | 0.1424 | 0.0059 |
| 5% | RecentFailureRate | 61.5% | 18.2% | 97.2% | 0.0042 | 0.3085 |
| 5% | Random | 30.8% | 3.0% | 97.9% | 0.3304 | 0.0051 |
| 10% | Failcast (GBDT+Platt) | 69.2% | 54.6% | 94.9% | 0.0040 | 0.6894 |
| 10% | Heuristic | 46.2% | 9.0% | 97.0% | 0.2035 | 0.0115 |
| 10% | StaticAst | 38.5% | 5.4% | 97.2% | 0.1424 | 0.0059 |
| 10% | RecentFailureRate | 69.2% | 30.1% | 94.9% | 0.0042 | 0.3085 |
| 10% | Random | 38.5% | 7.2% | 95.7% | 0.3304 | 0.0051 |
| 15% | Failcast (GBDT+Platt) | 76.9% | 80.0% | 92.3% | 0.0040 | 0.6894 |
| 15% | Heuristic | 53.8% | 12.2% | 95.0% | 0.2035 | 0.0115 |
| 15% | StaticAst | 53.8% | 11.0% | 94.9% | 0.1424 | 0.0059 |
| 15% | RecentFailureRate | 69.2% | 41.2% | 92.6% | 0.0042 | 0.3085 |
| 15% | Random | 38.5% | 10.4% | 93.4% | 0.3304 | 0.0051 |
| 20% | Failcast (GBDT+Platt) | 76.9% | 93.7% | 89.8% | 0.0040 | 0.6894 |
| 20% | Heuristic | 61.5% | 14.6% | 92.8% | 0.2035 | 0.0115 |
| 20% | StaticAst | 61.5% | 15.2% | 92.3% | 0.1424 | 0.0059 |
| 20% | RecentFailureRate | 69.2% | 52.5% | 89.8% | 0.0042 | 0.3085 |
| 20% | Random | 38.5% | 13.4% | 91.1% | 0.3304 | 0.0051 |
| 30% | Failcast (GBDT+Platt) | 76.9% | 94.3% | 83.6% | 0.0040 | 0.6894 |
| 30% | Heuristic | 69.2% | 16.7% | 88.5% | 0.2035 | 0.0115 |
| 30% | StaticAst | 61.5% | 19.1% | 87.9% | 0.1424 | 0.0059 |
| 30% | RecentFailureRate | 69.2% | 56.4% | 83.9% | 0.0042 | 0.3085 |
| 30% | Random | 53.8% | 20.6% | 86.3% | 0.3304 | 0.0051 |
| 50% | Failcast (GBDT+Platt) | 76.9% | 95.5% | 71.3% | 0.0040 | 0.6894 |
| 50% | Heuristic | 69.2% | 23.9% | 78.9% | 0.2035 | 0.0115 |
| 50% | StaticAst | 69.2% | 28.1% | 79.2% | 0.1424 | 0.0059 |
| 50% | RecentFailureRate | 69.2% | 62.7% | 70.6% | 0.0042 | 0.3085 |
| 50% | Random | 53.8% | 30.1% | 76.2% | 0.3304 | 0.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 Path | Metric | Value | Notes |
|---|---|---|---|
| Binary Footprint | Stripped release binary (failcast) | 8.26 MB | Unstripped: 10.55 MB (static SQLite + forust-ml GBDT + Tree-sitter + rmcp) |
| Warm Rust Core | failcast run --budget 15 --dry-run --json (p50 / p95) | 398.3 ms / 503.1 ms | Cached SQLite discovery (2.2× faster than cold; git diff + SQLite + AST + GBDT+Platt) |
| Warm Rust Core | failcast explain --json (p50 / p95) | 357.2 ms / 364.6 ms | Cached SQLite discovery (2.4× faster than cold; 16 features + signals + Platt prob) |
| Cold `pytest` Discovery | failcast run --budget 15 --dry-run --refresh-tests --json (p50 / p95) | 874.3 ms / 925.3 ms | Includes external Python + pytest --collect-only startup across 1,232 tests |
| Cold `pytest` Discovery | failcast explain --refresh-tests --json (p50 / p95) | 865.4 ms / 899.7 ms | Includes external Python + pytest --collect-only startup |
| Pure ML Core | failcast-ml scoring latency (1,000 tests, p50 / p95) | 1.10 ms / 1.50 ms | 905,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