Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Verdict Inspect

PyPI distribution: cognifity-verdict-inspect. Command: verdict-inspect.

One-shot drift analysis on a chat export. Drop in a conversations.json from ChatGPT, a Claude.ai export, a supported agent-session JSONL file, or an OpenAI-format messages dump, and get back a local drift / quality report.

Why this exists

Continuous LLM observability (the SDK + monitoring path) is the right answer for production agent traffic. But before a team commits to instrumenting their stack, they want to know: does Verdict actually find anything interesting in my data?

verdict-inspect runs against a file the user already has on their laptop. Structural and embedding analysis stay local; the optional judge has a separate privacy boundary described below.

Usage

In a full Verdict installation, the same one-off workflow is available under Evaluate → Inspect JSON. Paste JSON or choose a file, run the analysis, and download the result as JSON. The dashboard accepts at most 4 MiB per request, runs analysis on the Verdict host, does not write the upload or report to the Verdict store, and keeps semantic analysis and the external judge off until selected. Enabling the judge also requires an explicit data-egress confirmation.

The command-line interface remains available for larger local exports and Markdown reports:

# Auto-detect format
verdict-inspect analyze ~/Downloads/conversations.json

# Force a format
verdict-inspect analyze --format chatgpt ~/Downloads/conversations.json

# Specify report output
verdict-inspect analyze --report ./drift_report.md ~/Downloads/chatlog.jsonl

# JSON output for piping
verdict-inspect analyze --json ~/Downloads/conversations.json | jq .

# Skip the optional judge or the embedding step; pick the judge model
verdict-inspect analyze --no-judge --no-semantic ~/Downloads/conversations.json
verdict-inspect analyze --judge-model claude-haiku-4-5-20251001 ~/Downloads/conversations.json

# Show which parser auto-detect would choose
verdict-inspect detect ~/Downloads/conversations.json

Supported formats

  • ChatGPT data export — the conversations.json from Settings → Data Controls → Export
  • Claude.ai data export — the conversations.json from Settings → Account → Export
  • Generic OpenAI messages JSONL — one JSON object per line, each with messages: [{role, content}]
  • Agent-session JSONL — type-tagged local agent session logs
  • Auto-detect — looks at file structure and picks a parser

Other formats, including Cursor, Gemini Takeout, LangChain message history, and Llama Index conversation logs, are not currently supported.

What you get back

For a file with enough substantive assistant turns:

  1. Semantic drift — embedding-distribution shifts across temporal windows
  2. Judge sample — PASS/FAIL by dimension on stride-sampled turns (requires ANTHROPIC_API_KEY)
  3. Structural metrics — response length, hedge density, refusal rate, apology rate per window

Semantic drift runs key-free. By default it tries sentence-transformers/all-MiniLM-L6-v2, then falls back to the built-in HashingEmbedder if the dependency/model is unavailable. That fallback detects lexical embedding-distribution changes; it is not a semantic model, and the report labels it explicitly. Install the local semantic embedder with pip install --pre "cognifity-verdict-eval[semantic]".

Triggered and non-triggered semantic rows use the same L2-normalized detector statistics. Each comparison embeds its current and baseline windows once; the report does not re-embed or independently recompute non-triggered rows.

Turns with fewer than 10 assistant-response words are excluded from windowed analysis. At least 16 substantive turns are required for a two-window comparison; 24 create the default early/middle/late split. Each window's judge sample is capped at 25 turns. Treat small-window output as exploratory rather than calibrated production evidence. Chat exports do not contain retrieved context, so the default context-required groundedness dimension is shown as n/a and is not sent to the judge.

Privacy

Structural metrics and embedding inference run on your machine. The first MiniLM run may download model weights, but it does not upload the analyzed conversation. If ANTHROPIC_API_KEY is set and the judge is enabled, verdict-inspect sends stride-sampled user and assistant text (up to 4,000 characters each) to the configured Anthropic model. Anthropic credentials and data-handling terms apply. Pass --no-judge or omit the key to keep conversation content local and receive structural plus embedding analysis only. The current inspect judge is Anthropic-only.

Metadata

Release files for cognifity-verdict-inspect 0.1.0b7

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

Source distribution (sdist)

Source distribution for cognifity-verdict-inspect 0.1.0b7
File Size Uploaded Provenance Actions
cognifity_verdict_inspect-0.1.0b7.tar.gz 24.4 kB With provenance Details for cognifity_verdict_inspect-0.1.0b7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cognifity-verdict-inspect 0.1.0b7
File Interpreter ABI Platform Actions
cognifity_verdict_inspect-0.1.0b7-py3-none-any.whl Python 3 none any Details for cognifity_verdict_inspect-0.1.0b7-py3-none-any.whl

Total release size: 51.4 kB

Release files / cognifity_verdict_inspect-0.1.0b7.tar.gz

Download URL cognifity_verdict_inspect-0.1.0b7.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a0f2630492b887731b4e82fb604895d91c1d362c6fe4ac93da2148de62751f4f
BLAKE2b-256 checksum
How to use checksums
865abd9de838e0484fa3391d224e06f158a9f570bad4f47924d4edb224768e85
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 Nov 14, 2026.

Transparency log

Release files / cognifity_verdict_inspect-0.1.0b7-py3-none-any.whl

Download URL cognifity_verdict_inspect-0.1.0b7-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3e5a192e319f2f74ffb1866be15151fbf0a214a060b56afd09752f68c24abf3
BLAKE2b-256 checksum
How to use checksums
ccadbe31ac3b1e5a5cd7c8ec7d33800e9a10b52d2d0e00d63158723a72b7fd65
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 Nov 14, 2026.

Transparency log

Security for cognifity-verdict-inspect 0.1.0b7

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.

Select from 2 files

Attestation for cognifity_verdict_inspect-0.1.0b7.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 Nov 14, 2026.

Transparency log

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