InferenceLedger
InferenceLedger is a research-oriented engineering project for bounded inference-change assurance.
Its primary question is not "which model is cheapest?" and it is not intended to become another generic inference gateway, router, evaluation platform, dashboard, provider leaderboard, or universal billing system.
Instead:
Does a specific model, provider, or execution-policy change satisfy predeclared quality, reliability, latency, and economic requirements for a defined workload and accounting basis, and can the supporting evidence and remaining uncertainty be reconstructed?
Current strategic status
The strategic thesis is NARROWED — bounded inference-change assurance.
The current research question is:
Does explicit inference-specific evidence semantics improve consequential migration decisions versus a strong conventional workflow at acceptable decision coverage, effort, abstention, and delay?
The comparator is intentionally allowed to be competent: evaluation + telemetry + accounting + manual review with materially equivalent evidence access.
This thesis is not externally validated, customer validated, commercially validated, or production guaranteed.
See:
- Strategy Brief
- Market and Product Decision
- Canonical Project Map
- Decision Evidence Completeness Contract
- Comparative External Pilot Protocol
- Authoritative Pilot Decision Path
- Pilot Evidence Contract
- Task-5 External Pilot Acquisition and Qualification Package
- Task-5 Candidate Intake / Pre-Freeze Template
- Progress Tracker
Current engineering status
Pilot-critical engineering for the first comparative external pilot path is complete and ENGINEERING_VERIFIED.
That statement is deliberately narrower than "engineering is complete."
| Task | PR | Current meaning |
|---|---|---|
| Task 1 | #28 | fail-closed decision-evidence completeness contract |
| Task 2 | #41 | frozen comparative external pilot protocol v1 |
| Task 3 | #42 | one authoritative pilot execution/import → compare → report path |
| Task 4 | #43 | pilot-specific exact money, acquisition semantics, attempt visibility, evidence manifest, evaluator/comparator contracts, and non-inference health checks |
The latest code-bearing main anchor before this repository-truth synchronization PR is 3ca56334d5136c58853554e9cbcf078761ba7160 (PR #43 merge). Main CI #210 passed on that exact SHA.
The selected pilot path now has:
- durable provider-attempt evidence with explicit unknown-cost behavior;
- provider/pricing provenance needed by the selected evidence path;
- workload identity, pairing, segment evidence, and non-compensatory Change Gate semantics;
- a single pilot-authoritative run-persistence and migration-decision owner;
- prospective exact decimal-string monetary evidence for the pilot path;
- separate measurement / collection / assignment semantics for pilot evidence;
- deterministic
pilot-evidence-manifest-v1; - evaluator, pairing, comparator-parity, study-output, and semantics-ablation contracts;
- OpenAI-compatible health checks that use non-inference model metadata rather than Chat Completions.
These capabilities do not imply generic repository-wide completion. In particular, generic orchestration consolidation, branch governance, gateway-era ownership cleanup, post-change revalidation, a generic non-pilot manifest/evidence-mode contract, and a repository-wide migration away from legacy float/SQLite REAL monetary fields remain separate backlog items. Repository CI/dev dependency reproducibility is handled separately by the checked-in Python 3.12/macOS ARM64 constraint contract.
Current phase — Task 5
Current phase: Task 5 — Comparative External Decision-Value Pilot.
| Surface | Status |
|---|---|
| Task-5 preparation | STARTED |
| Concrete pilot instance | NOT FROZEN |
| Execution readiness | BLOCKED — EXTERNAL FACTS REQUIRED |
| Pilot execution | NOT STARTED |
| Provider/customer calls for Task 5 | 0 |
| Authorized Task-5 paid spend | $0 |
| External decision-value evidence | NOT_STARTED |
| Customer validation | NOT_STARTED |
| Commercial validation | NOT_STARTED |
PR #44, Gate Task 5 concrete pilot instance freeze, was a draft Task-5 preparation/freeze-gate artifact. Its useful preparation semantics are superseded by the canonical Task-5 preparation surfaces below, and the PR is CLOSED / UNMERGED / SUPERSEDED. Closing it did not freeze or execute a pilot, create customer evidence, or increase readiness.
A real pilot still requires independently supplied external facts: an accountable collaborator and decision owner, a genuine migration decision, approved workload and selection procedure, consent and retention rules, baseline/candidate definitions, predeclared requirements and critical segments, a calibrated evaluator with known-good/known-bad controls, a strong conventional comparator with materially equivalent evidence access, acquisition/assignment semantics, a retry/fallback evidence plan, and explicit paid-spend authorization if paid execution is required.
The canonical Task-5 preparation surfaces are the External Pilot Acquisition and Qualification Package and the Candidate Intake / Pre-Freeze Template. They are preparation artifacts only: they do not supply external facts, freeze a pilot instance, authorize spend, execute a pilot, or establish customer/commercial validation. PR #44 is retained only as historical preparation context and is CLOSED / UNMERGED / SUPERSEDED.
Evidence boundary
InferenceLedger uses explicit evidence levels. They must not be collapsed:
- ENGINEERING_VERIFIED — code/contracts/tests passed the stated engineering environment.
- EXTERNALLY_EXECUTED — a real external system/provider participated; the target claim may still be unsupported.
- EXTERNALLY_VALIDATED — a predeclared external claim was tested and supported within scope.
- PILOT_VALIDATED — a real external decision owner/workload plus preregistered comparative use produced decision/effort evidence.
- COMMERCIALLY_VALIDATED — genuine buyer/commercial evidence.
- PRODUCTION_GUARANTEED — not claimed by this repository.
Prototype capability ≠ validated behavior ≠ production guarantee.
Historical evidence
Historical experiment outcomes are immutable.
- Mission 4 remains
INCONCLUSIVE. - Mission 5 remains
INCONCLUSIVE. - Mission 6B-OR remains EXTERNALLY_EXECUTED / VALIDATED_MISMATCH.
- Mission 6C is a post-hoc engineering clarification and does not relabel Mission 6B-OR.
Mission 6B-OR's monetary R2–R5 surfaces matched exactly within its frozen experiment, while its historical R1 token-field comparison mismatched. That result is not direct OpenAI billing-ledger validation, final-invoice validation, customer validation, or a Change Gate approval.
Historical artifacts are not regenerated to fit newer semantics.
Distribution and CLI identity
The installable Python distribution is inferenceledger. The internal Python import package remains inference_engine by design; renaming imports would create migration cost without improving the distribution-facing product contract.
The canonical console surface is:
inferenceledger smoke --prompt "hello"
The historical flat command remains available as a compatibility alias:
inference-smoke --prompt "hello"
inference-smoke is retained for the 0.1.x line. Its earliest removal is 0.2.0, and only after repository/supported-workflow evidence shows that no maintained consumer still depends on it. Historical experiment commands and artifact paths are not renamed.
Development and CI
The repository CI workflow runs on the repository-scoped self-hosted runner using [self-hosted, macOS, ARM64].
The CI job is lint-type-test and runs Ruff, mypy, and pytest.
The workflow retains permissions: contents: read and actions/checkout with persist-credentials: false.
For reproducible repository verification, CI pins the resolver and consumes requirements/ci-py312-macos-arm64.txt; see CI Dependency Reproducibility. pyproject.toml remains the package compatibility/intention surface, and provider/local-serving extras remain outside ordinary CI.
Passing CI is engineering evidence only. It is not external/customer/commercial validation.
Current non-pilot repository debt
The first external pilot is blocked by external facts, not by a missing pilot-critical subsystem. Separate repository debt remains tracked in issues #29–#39. Issue #40 is closed/completed after an acceptance audit of the non-inference health-check implementation.
- generic orchestration consolidation beyond the selected pilot path (#31);
- main protection and self-hosted-runner governance (#33);
- gateway-era ownership cleanup (#35);
- post-change revalidation (#36);
- generic non-pilot manifest/evidence-mode/monetary migration scope (#37–#39).
Do not add infrastructure merely because it is technically interesting. The immediate strategic objective is to determine whether InferenceLedger creates measurable incremental decision value on a real external inference migration.
Metadata
Release files for inferenceledger 0.1.0
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 |
|---|---|---|---|---|
| inferenceledger-0.1.0.tar.gz | 156.9 kB | With provenance | Details for inferenceledger-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inferenceledger-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for inferenceledger-0.1.0-py3-none-any.whl |
Total release size: 354.0 kB
Release files / inferenceledger-0.1.0.tar.gz
| Download URL | inferenceledger-0.1.0.tar.gz |
|---|---|
| Size | 156.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
793b869d5c5988f8605c78850e8703a54c171c945bce3a0f45e86364ec3750d5
|
|
BLAKE2b-256 checksum How to use checksums |
7d890c9c83604e9b43f62ddc314210050254bb7c5938e3c3f4cd31af486aa2d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Dec 3, 2026.
Transparency logRelease files / inferenceledger-0.1.0-py3-none-any.whl
| Download URL | inferenceledger-0.1.0-py3-none-any.whl |
|---|---|
| Size | 197.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a63a79f13573e9adc2f83e4a516471c1fe35126b09dda12f045988655697ab12
|
|
BLAKE2b-256 checksum How to use checksums |
cc53fee33898c4f395baab19c88a424b5530172fe5557f2a9319ec130716ec56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Dec 3, 2026.
Transparency logSecurity for inferenceledger 0.1.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for inferenceledger-0.1.0.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 Dec 3, 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.