XLAxiom — turn numerical discrepancies into evidence
XLAxiom turns a suspicious JAX/OpenXLA numerical result into a minimized, reproducible, portable, evidence-backed case. It gives compiler, platform, and ML infrastructure teams a disciplined path from “this changed” to an artifact another engineer can inspect, rerun, and compare.
It is independently developed and is not affiliated with, sponsored by, or endorsed by Google.
Pick your path
| If you need to… | Start here |
|---|---|
| Prove the pipeline works safely | Run the five-minute synthetic control. |
| Investigate a real numerical discrepancy | Follow the artifact handoff workflow. |
| Add bounded regression coverage to CI | Run the curated property corpus. |
| Compare CPU, GPU, or version-specific evidence | Use the support matrix and quickstart. |
| Install from source or a verified wheel | Read the installation guide. |
Five-minute confidence check
Prerequisite: Python 3.11–3.13 and uv. From a source checkout:
uv sync --extra dev --frozen
uv run xlaxiom doctor
uv run xlaxiom generate --synthetic --seed 7 --output results/original.json
uv run xlaxiom minimize --case results/original.json --output results/reduced.json
uv run xlaxiom reproduce --case results/reduced.json
uv run xlaxiom report --case results/reduced.json --output results/report
uv run xlaxiom bundle create --case results/reduced.json --output results/control.zip
uv run xlaxiom bundle validate --bundle results/control.zip
This produces a small, checksummed control case, a fresh-process reproduction verdict, a JSON/Markdown report, and a validated portable bundle. --synthetic injects a clearly labelled offset after JAX execution: it proves the workflow, but is never evidence of a JAX, XLA, hardware, or model defect.
For a real observation, start with the artifact guide. It explains the required minimization, fresh-process reproduction, environment evidence, and safe handoff boundaries before an upstream issue is considered.
What XLAxiom does
observe → classify → minimize → reproduce in a fresh process
→ bundle evidence → compare environments
- Records the evidence. It captures versions, device placement, numerical policy, outputs, and an explicit predicate instead of treating a mismatch as a diagnosis.
- Keeps cases small. Failure-preserving minimization reduces a reproducible observation without silently changing what failed.
- Makes handoffs portable. Declarative JSON workloads, checksums, reports, and bundles let another engineer validate the same artifact.
- Fails closed on hardware. Accelerator requests must prove actual placement; unavailable GPU/TPU hardware is never represented as a CPU success.
XLAxiom is the evidence layer between a suspicious numerical result and a focused engineering investigation. It is not a general correctness oracle, performance benchmark suite, or automatic root-cause analyzer.
The normal workflow
- Capture an observation. Compare NumPy against JAX eager/JIT or execute a reviewed relation with an explicit policy.
- Reduce it without changing it. Minimize a repeatable non-synthetic predicate and preserve its reduction record.
- Reproduce it independently. Re-run in a fresh process, then record a second host, device, or runtime when the claim requires it.
- Hand it off safely. Generate a report and validated bundle; attach only the evidence that supports the stated scope.
The artifact lifecycle has the exact command-level process. The issue readiness check is deliberately conservative: an observation is not a diagnosis, and missing external evidence is never inferred.
Evidence you can trust
The repository is designed to make scope visible rather than inflate it:
- The CPU path, checksummed artifacts, failure containment, and reviewed property corpus are covered by automated tests and release verification.
- The curated corpus contains thirteen explicit relations across ordinary, extreme, signed-zero, non-finite, integer, mixed-dtype, and x64 inputs.
- Windows/Linux and selected CUDA evidence are retained as concrete records; GPU, TPU, and macOS claims remain capability- and evidence-gated.
See the support and verification matrix for what is supported versus merely implemented, and the experiment records for the underlying evidence—not a condensed lab notebook in this README.
Command map
| Goal | Primary commands |
|---|---|
| Inspect an environment | doctor, environment capture, runtime compare |
| Investigate one case | generate, run, compare, minimize, reproduce |
| Prepare a handoff | report, bundle create, bundle validate, readiness |
| Test known relations | property list, property run, property campaign, relation |
| Compare changes safely | matrix run, property compare, historical-study |
| Validate accelerators | gpu doctor, gpu validate, gpu campaign |
Run xlaxiom <command> --help for the complete interface. The documentation index routes each workflow to the right level of detail.
Safety and interpretation
Workloads are deterministic JSON data selected from a closed operation registry; XLAxiom does not load pickle files or execute workload-supplied code. Numerical workloads can still consume meaningful resources, so run untrusted artifacts with suitable process and resource isolation. Read SECURITY.md before sharing artifacts or reporting a vulnerability.
NumPy is useful but is not an independent oracle for every JAX semantic, dtype-promotion rule, compiler setting, or hardware implementation. A mismatch directs investigation; it never establishes root cause or severity by itself.
Development and release
uv sync --extra dev --frozen
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run mypy src
uv build --out-dir .release-dist
uv run twine check .release-dist/*
uv run python scripts/verify_distribution.py --dist-dir .release-dist
The release policy defines the required quality gates, reproducible-build expectations, and Trusted Publishing boundary. The roadmap distinguishes implemented capability from physical-hardware evidence that cannot be manufactured locally.
Metadata
Release files for xlaxiom 0.6.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 | Actions |
|---|---|---|---|---|
| xlaxiom-0.6.1.tar.gz | 631.8 kB | With provenance | Details for xlaxiom-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xlaxiom-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for xlaxiom-0.6.1-py3-none-any.whl |
Total release size: 746.4 kB
Release files / xlaxiom-0.6.1.tar.gz
| Download URL | xlaxiom-0.6.1.tar.gz |
|---|---|
| Size | 631.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
151e8d1737b40bd94650be9d81f7c45c3e5dea8fbb070f997c78e5c193f8642e
|
|
BLAKE2b-256 checksum How to use checksums |
861628ced46b3c1015233d9ebca8ebc9a18f924e18d9a9072dce056a295c97e9
|
| 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 Oct 14, 2026.
Transparency logRelease files / xlaxiom-0.6.1-py3-none-any.whl
| Download URL | xlaxiom-0.6.1-py3-none-any.whl |
|---|---|
| Size | 114.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eccf871560a5efe21da32026641bb5992f37ff1066f24e92b0b9a1fc8298920d
|
|
BLAKE2b-256 checksum How to use checksums |
b0324dadd85e52bad2e3e371ca9f1976790497444354cca3cda6671f5949c0a4
|
| 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 Oct 14, 2026.
Transparency logSecurity for xlaxiom 0.6.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 xlaxiom-0.6.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 Oct 14, 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.