Skip to main content

Verdict Inspect — analyze chat exports for drift, hedging, refusals, and quality. Drop in a conversations.json from ChatGPT/Claude/Cursor, get a report.

Project description

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 Cursor .jsonl, or any OpenAI-format messages dump, and get back a rigorous 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 answers that in 60 seconds against a file the user already has on their laptop. Local-first; nothing leaves the machine.

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

Planned (v1): Cursor .cursor/chats/, Gemini Takeout, LangChain message history files, Llama Index conversation logs.

What you get back

For any conversation longer than ~30 substantive 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 the optional sentence-transformers/all-MiniLM-L6-v2 embedder when installed, then falls back to the built-in HashingEmbedder if the dependency/model is unavailable. Install the heavier local embedder with pip install "cognifity-verdict-eval[semantic]".

For shorter conversations: just structural metrics (the others need ~30 turns/window for meaningful statistics).

Privacy

Everything runs on your machine. No data is uploaded anywhere. The judge layer makes API calls to Anthropic if you set ANTHROPIC_API_KEY, but you can run without it to get drift + structural metrics only.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cognifity_verdict_inspect-0.1.0a2.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cognifity_verdict_inspect-0.1.0a2-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file cognifity_verdict_inspect-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for cognifity_verdict_inspect-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 41a4f6a9e210999aa7763f4625474f63b07ed6b5f54cbf58855cbb5117cde491
MD5 441bb7dcca740115eff5df4ca30f8344
BLAKE2b-256 8e1934d10f9514bf9166fb1285144038c56ba12acdc729d894789ccc72651dab

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognifity_verdict_inspect-0.1.0a2.tar.gz:

Publisher: publish.yml on cognifityai/verdict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cognifity_verdict_inspect-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for cognifity_verdict_inspect-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 55dd1f46f3f83770be7ab644ca727863dfd6262af0408bbbdc22e754ea5154f8
MD5 600f222748c1be613beb994bf62ed0e9
BLAKE2b-256 973d43ddfadd4330b92682c41b7f7ab41a89b5bbcade909f2c4e59be20d79a9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cognifity_verdict_inspect-0.1.0a2-py3-none-any.whl:

Publisher: publish.yml on cognifityai/verdict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page