Skip to main content

onetrace-explain

A suggested explanation of a onetrace comparison: AI-generated, may be wrong, and checked against the record before anyone reads it. Never a verdict: onetrace's verdicts and exit codes are what they are without it, and its exit codes say nothing about the runs. Don't use it as a CI gate.

onetrace localize runs/a runs/b --for answer --out report
onetrace-explain report --dry-run          # the packet exactly as it would be sent; nothing sent
onetrace-explain report --model anthropic:<model name>
  • What is sent: a packet built from the report and the two runs' receipts: verdicts, stage names and edges, outcome classes, digests and sizes, instrument names and versions, and the constants that differ with both values (--redact NAME sends a name and digest only). Kept text only with --include-text. A constant's value goes as the run recorded it, a path or a token included; --redact NAME keeps it out. Never this machine's own paths, an environment variable, the model key, a signing key or an anchor's proof. The first send of a kind of item to an endpoint asks first (--yes for scripts).

  • The model: yours, named in ~/.config/onetrace/explain.toml:

    [model]
    provider = "anthropic"          # or "openai" (any OpenAI-compatible endpoint, local ones too)
    name = "<model name>"
    key_env = "ANTHROPIC_API_KEY"   # the variable holding the key; the key is never written anywhere
    # base_url = "http://localhost:8000/v1"   # for an openai-compatible server
    
  • The post-check, with no model: a claim is dropped when it cites nothing, cites what the packet doesn't hold, quotes a value its cites don't hold, or says what caused a difference. What's shown says how many were dropped, and why.

  • Checks, not conclusions: each suggestion comes with onetrace commands to run. A lead is confirmed or ruled out only by what those report.

  • Recorded: every explanation is a onetrace run of its own, under <out>/explain/<run id>/, which onetrace-verify checks like any run.

Metadata

Release files for onetrace-explain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onetrace-explain 0.1.0
File Size Uploaded Provenance Actions
onetrace_explain-0.1.0.tar.gz 16.1 kB Without provenance Details for onetrace_explain-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for onetrace-explain 0.1.0
File Interpreter ABI Platform Actions
onetrace_explain-0.1.0-py3-none-any.whl Python 3 none any Details for onetrace_explain-0.1.0-py3-none-any.whl

Total release size: 33.4 kB

Release files / onetrace_explain-0.1.0.tar.gz

Download URL onetrace_explain-0.1.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
322e676e084417be89373206c2c196dccf678dc94d150367449e4df251516b06
BLAKE2b-256 checksum
How to use checksums
e92534665d1b65d424668320d6bd36813754655a8a5eb23a325c68a0d82b1c09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / onetrace_explain-0.1.0-py3-none-any.whl

Download URL onetrace_explain-0.1.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
122ea6af68bad45eecc78681e270955aa7fd27f59bc7bcbde96d8c6cc7fa434f
BLAKE2b-256 checksum
How to use checksums
a4e67eb8327e29a511df5011bca974c101f2907bfaf5f2172883c700e855b441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for onetrace-explain 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page