DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to measure agreement between two judges on the same replies with Keystone Bench

Compute Cohen's kappa between two action judges to see whether their verdicts agree.

Short answer: pip install keystone-bench; then keystone run --family all --layer quick --model openrouter/openai/gpt-5.6-terra --judge openrouter/anthropic/claude-sonnet-5; Rerun the same replies with a second judge from another vendor into a separate run folder. All steps.

  • Research
  • Advanced
  • 1 hour
  • From the README
  • Any agent

Credentials. Running two judges means two model endpoints, so each API key must be set in the environment before the runs.

Who it is forA rubric or grader author who needs to know whether a second judge reads the same replies the same way before trusting a score.

The problemAn action judge's verdicts can depend on which model reads the reply, and a single judge gives no sense of that spread.

The outcomeA kappa score showing how far two judges agree on the same set of classified replies.

What you need first

  • Python with pip to install keystone-bench from PyPI
  • An API key for an OpenAI-compatible endpoint, such as OpenRouter, to run models and a judge from a different vendor
  • Network access so that keystone build can fetch HealthBench from OpenAI's public copy and the label files
  • Enough disk space and time for the local rebuild of the twins, since the release ships span references rather than benchmark prose

Steps

  1. pip install keystone-bench
  2. keystone run --family all --layer quick --model openrouter/openai/gpt-5.6-terra --judge openrouter/anthropic/claude-sonnet-5
  3. Rerun the same replies with a second judge from another vendor into a separate run folder (inferred, check the README)
  4. keystone compare-judges runs/a/records.jsonl runs/b/records.jsonl (inferred, check the README)

Prompt for your agent

In the keystone-bench repo, run keystone compare-judges on two records.jsonl files that classify the same replies with different judges. Report the Cohen's kappa and name the judge pair used.

Caveat. Kappa between two judges shows agreement only; it does not show which judge is correct on a given reply.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for xinxuxin/keystone-bench and "Measure agreement between two judges on the same replies"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer