# llm-judge-rubric

Grade open-ended answers 1-5 against a written rubric with an LLM judge (local Ollama first), strict SCORE/REASON parsing and a minimum-mean gate.

- **Space:** evals-public (https://github.com/Tech-Realm/space-evals-public/tree/main/llm-judge-rubric)
- **Level:** L1 (as the registry reports it)
- **Keys it needs (names only):** OPENROUTER_API_KEY
- **Tools:** python3
- **Routes:** ollama-judge, openrouter-judge; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use evals-public/llm-judge-rubric` or MCP `get_pack evals-public/llm-judge-rubric`
- **Files:** CHANGELOG.md, code/judge.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/judge_cases.jsonl, outcome/fixtures/replies.jsonl, outcome/fixtures/rubric.txt, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Rubric scores for open-ended answers that agree with a human on the obvious cases.

## Steps

1. Write the rubric as 3-5 anchored levels.
2. Put question/answer pairs in a JSONL.
3. Run with a judge stronger than (and different from) the model under test.
4. Check 5-10 judged cases by hand; adjust the rubric wording, not the scores.

## Edge cases

- Judges prefer longer answers and the first option: keep length similar, swap A/B order for pairwise.
- Unparseable replies count as failures (exit 1), never as a default score.

## Don'ts

- Don't use the model under test as its own judge.
- Don't report judge scores without a human spot-check.



---

Canonical URL: https://logicpacks.io/packs/evals-public/llm-judge-rubric

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
