faultcase
Turn API support tickets into runnable failure reproduction bundles with deterministic verification.
Feed it a customer ticket + error log + SDK versions. Get back an artifact an engineer can run — not a chatbot answer:
repro/
Dockerfile # digest-pinned, offline-reproducible environment
requirements.lock # hash-locked dependencies
failing_test.py # fails with the customer's exact failure signature
fixture.json # scripted mock server (the only network authority)
failure_signature.json # exception type + message regex + stack frames
analysis/
likely_root_causes.md # every claim cites evidence
fix/
candidate.patch # the fix
verification.json # machine evidence: 3/3 fail pre-patch, 3/3 pass post
Install
pip install faultcase
Verify a bundle
faultcase-verify path/to/bundle --runner docker
# exit 0: verified (pre-patch fails 3x with matching signature, post-patch passes 3x)
# exit 1: verification failed
# exit 2: infrastructure error (never conflated with a scenario failure)
--against golden_signature.json additionally checks that the bundle
reproduces the same bug as a reference signature.
Run the pipeline
faultcase-run path/to/input -o out/ --adapter claude-cli --runner docker
# input/: customer_ticket.md, error.log, sdk_version.txt, code_snippet.py (optional)
If the inputs are insufficient to reproduce deterministically, the pipeline
refuses to guess and emits missing_info.json — a precise list of what to
collect and how.
Principles
- No reproduction, no root-cause claim.
- The patch must not touch the test, fixture, or signature (anti-gaming).
- Scored on artifact executability, not answer fluency.
Metadata
Release files for faultcase 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| faultcase-0.0.1.tar.gz | 15.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| faultcase-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.1 kB
Release files / faultcase-0.0.1.tar.gz
| Download URL | faultcase-0.0.1.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
437962c7086d3828a99228ef722225757dfa32e331aa0162245ff7802c33d1b2
|
|
BLAKE2b-256 checksum How to use checksums |
c697831692bbf66e9fde52467f6ed8807b351c5bcc6ea2cb091f7fb4da509076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / faultcase-0.0.1-py3-none-any.whl
| Download URL | faultcase-0.0.1-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
951e57f4ed0f2a13670f80f1499e29d79e2214e2ac1fc5dd3c6b293f07e36023
|
|
BLAKE2b-256 checksum How to use checksums |
3a7f4dbd3338681859173140da0501610899982ce541dfd57b2d24904e0fe779
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logSecurity for faultcase 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for faultcase-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.