Skip to content

docs: README pipeline diagram, tables, and PyPI install#12

Merged
brittanyreese merged 1 commit into
mainfrom
docs/readme-polish
Jul 3, 2026
Merged

docs: README pipeline diagram, tables, and PyPI install#12
brittanyreese merged 1 commit into
mainfrom
docs/readme-polish

Conversation

@brittanyreese

@brittanyreese brittanyreese commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Makes the README more scannable without changing the technical content:

  • Mermaid pipeline diagram — Ratings → (Reliability | DIF) → ReportCard, so the two-pillar shape reads at a glance.
  • Two tables — a Krippendorff-α interpretation band table, and a human-vs-Gemini reliability comparison that sharpens the key contrast (human α=0.554 vs Gemini α=0.993).
  • Subheads splitting the dense How to read section into Reliability / DIF.
  • PyPI badge + install commands switched to pip install metajudge now that 0.2.0 is published.

Do not merge until the v0.2.0 publish job confirms PyPI, since the install commands now assume it.

Add a mermaid flowchart of the Ratings -> two pillars -> ReportCard path, a
Krippendorff-alpha interpretation table, and a human-vs-Gemini reliability
comparison table so the key contrast reads at a glance. Split the dense How to
read section under Reliability/DIF subheads. Add a PyPI version badge and switch
the install commands to pip install metajudge now that 0.2.0 is published.
Copilot AI review requested due to automatic review settings July 3, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes the README to be more scannable and up-to-date now that metajudge is published on PyPI, without changing the technical voice.

Changes:

  • Adds a Mermaid pipeline diagram that summarizes the Ratings → (Reliability | DIF) → ReportCard flow.
  • Reworks the “How to read” section with Reliability/DIF subheads and adds two tables to make key interpretations/numbers easier to scan.
  • Updates install instructions and adds a PyPI badge, switching primary install from GitHub main to pip install metajudge.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
```mermaid
flowchart LR
R["Ratings<br/>rater × item × stratum<br/>ordinal scores"]
R --> REL["Reliability<br/>Krippendorff α<br/>ICC(2,1) / (2,k)"]
Comment thread README.md
To audit a real instrument, point metajudge at the output of an existing judge runner. `Ratings.from_eval_instruments` maps the per-judge score frames produced by Epic's [`evaluation-instruments`](https://github.com/epic-open-source/evaluation-instruments) (`frame_from_evals`) into the `Ratings` the audit consumes: rater is judge, item is sample, score is one rubric criterion. It is a local DataFrame transform that adds no dependency. A runnable, no-PHI walkthrough is in [docs/interop-epic.md](https://github.com/brittanyreese/metajudge/blob/main/docs/interop-epic.md).

For a self-contained, end-to-end example that builds the judge panel itself, [`examples/audit_llm_judge.py`](https://github.com/brittanyreese/metajudge/blob/main/examples/audit_llm_judge.py) runs three LLM judges over 16 stratified summaries and prints the report card. Install with `pip install "metajudge[examples] @ git+https://github.com/brittanyreese/metajudge@main"`. Then pick a mode: `--mode live --provider gemini` calls Gemini models on a billed project (`GOOGLE_AI_API_KEY`); `--mode live --provider openrouter` calls free-tier OpenRouter models (`OPENROUTER_API_KEY`, capacity not guaranteed); `--mode offline` runs a seeded simulation with no key or network.
For a self-contained, end-to-end example that builds the judge panel itself, [`examples/audit_llm_judge.py`](https://github.com/brittanyreese/metajudge/blob/main/examples/audit_llm_judge.py) runs three LLM judges over 16 stratified summaries and prints the report card. Install with `pip install "metajudge[examples]"`. Then pick a mode: `--mode live --provider gemini` calls Gemini models on a billed project (`GOOGLE_AI_API_KEY`); `--mode live --provider openrouter` calls free-tier OpenRouter models (`OPENROUTER_API_KEY`, capacity not guaranteed); `--mode offline` runs a seeded simulation with no key or network.
@brittanyreese brittanyreese merged commit ca8f30f into main Jul 3, 2026
5 checks passed
brittanyreese added a commit that referenced this pull request Jul 3, 2026
Add a mermaid flowchart of the Ratings -> two pillars -> ReportCard path, a
Krippendorff-alpha interpretation table, and a human-vs-Gemini reliability
comparison table so the key contrast reads at a glance. Split the dense How to
read section under Reliability/DIF subheads. Add a PyPI version badge and switch
the install commands to pip install metajudge now that 0.2.0 is published.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants