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
# 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 .
Supported formats (v0)
- ChatGPT data export — the
conversations.jsonfrom Settings → Data Controls → Export - Claude.ai data export — the
conversations.jsonfrom 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
Planned (v1): Cursor .cursor/chats/, Gemini Takeout, LangChain message
history files, Llama Index conversation logs.
What you get back
For a file with enough substantive assistant turns:
- Semantic drift — embedding-distribution shifts across temporal windows
- Judge sample — PASS/FAIL by dimension on stride-sampled turns (requires
ANTHROPIC_API_KEY) - 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 "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.
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 v0
inspect judge is Anthropic-only.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cognifity_verdict_inspect-0.1.0a4.tar.gz.
File metadata
- Download URL: cognifity_verdict_inspect-0.1.0a4.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
956cfca2a558b0d95e293cd8c24fedadf48d54cd88e22923cae65cdbd97ea514
|
|
| MD5 |
e2e5bd30bda5c11ce9ee1d094af36ebc
|
|
| BLAKE2b-256 |
41ca2a0da5eb9536e4189193c5d8eb7ac340adea412a412bac1e23c75b87f442
|
Provenance
The following attestation bundles were made for cognifity_verdict_inspect-0.1.0a4.tar.gz:
Publisher:
publish.yml on cognifityai/verdict
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cognifity_verdict_inspect-0.1.0a4.tar.gz -
Subject digest:
956cfca2a558b0d95e293cd8c24fedadf48d54cd88e22923cae65cdbd97ea514 - Sigstore transparency entry: 2500740730
- Sigstore integration time:
-
Permalink:
cognifityai/verdict@49eae0a67d471b087d7c146c5abbd215e723f3ad -
Branch / Tag:
refs/tags/v0.1.0a4 - Owner: https://github.com/cognifityai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@49eae0a67d471b087d7c146c5abbd215e723f3ad -
Trigger Event:
release
-
Statement type:
File details
Details for the file cognifity_verdict_inspect-0.1.0a4-py3-none-any.whl.
File metadata
- Download URL: cognifity_verdict_inspect-0.1.0a4-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b059986558d6bda15ad2f47edc28bd69cbc58e8d3306f58d809a78b3ee53627c
|
|
| MD5 |
bdaa8faffc60ce80e02c9a5fe2f4365c
|
|
| BLAKE2b-256 |
a38d228aae2b6e8f5498528ef57e0c9ebc8396ad4dbc3432e4a8e61013de0ecb
|
Provenance
The following attestation bundles were made for cognifity_verdict_inspect-0.1.0a4-py3-none-any.whl:
Publisher:
publish.yml on cognifityai/verdict
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cognifity_verdict_inspect-0.1.0a4-py3-none-any.whl -
Subject digest:
b059986558d6bda15ad2f47edc28bd69cbc58e8d3306f58d809a78b3ee53627c - Sigstore transparency entry: 2500740738
- Sigstore integration time:
-
Permalink:
cognifityai/verdict@49eae0a67d471b087d7c146c5abbd215e723f3ad -
Branch / Tag:
refs/tags/v0.1.0a4 - Owner: https://github.com/cognifityai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@49eae0a67d471b087d7c146c5abbd215e723f3ad -
Trigger Event:
release
-
Statement type: