JudgmentBench Legal Pairwise Preference Judgments
Choose the better of two responses to a legal task and explain the choice, using the pairwise and text schemes. Sample tasks are illustrative.
Try it live — no install
Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.
Run live in your browserGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/preference-learning/judgmentbench-legal-pairwise
potato start config.yamlAbout this dataset
JudgmentBench compares rubric scoring with pairwise preference judgments for rating the quality of professional work. Russell Yang and colleagues collected judgments from 51 attorneys on 30 legal tasks, with 1,539 rubric scores and 1,530 pairwise judgments. The paper was accepted to the NeurIPS 2026 Evaluations and Datasets track, and the data are on Hugging Face under an MIT license.
In the comparative protocol each task yields three pairwise preference judgments between outputs of different constructed quality. Ties are possible only in the rubric protocol, so the design offers no tie option. The design shows the pairwise arm as one A-versus-B choice plus a comment, with question wording written for this design, and does not build the rubric arm. The tasks and responses are illustrative because the base tasks come from BigLaw Bench and are used with permission of the rights holder.
- Legal tasks
- 30
- Pairwise judgments
- 1,530
- Rubric scores
- 1,539
- Attorney annotators
- 51
- Sample items in this design
- 10 illustrative task-response pairs
Configuration File
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# JudgmentBench: expert pairwise preference judgments on legal work product.
#
# Paper: Yang et al. (2026), "JudgmentBench: Comparing Rubric and Preference Evaluation for Quality Assessment",
# NeurIPS 2026 (Evaluations and Datasets track poster, https://neurips.cc/virtual/2026/poster/139683).
# DOI 10.48550/arXiv.2605.25240 (arXiv preprint, https://arxiv.org/abs/2605.25240)
# Data: https://huggingface.co/datasets/judgmentbench/JudgmentBench (MIT).
# License note: the 30 base tasks come from BigLaw Bench and are used with permission of the rights holder, and
# redistribution of the rows is not independently cleared, so every sample item here is an illustrative legal
# task written for this design.
#
# Protocol (paper): practicing attorneys either score an output against a rubric of "atomistic criteria", or give pairwise
# preference judgments between outputs of different constructed quality. Each comparative-judgment evaluation
# "yielded three pairwise preference judgments" per task. Ties are only possible in the rubric protocol, so the
# comparative protocol offers no tie option (allow_tie is false).
#
# Adaptations:
# - Only the pairwise arm is shown, as one A-versus-B choice per item plus a free comment. The rubric arm is not built.
# - The released data hold a comment for each side (comments_a and comments_b). The design has one comment box.
# - The interface wording is in paper figures that could not be quoted, so the question text and the
# "junior colleague" framing in the instructions are our own.
# - Each item carries one task prompt and two responses. The paper builds three pairs per task from outputs of
# different constructed quality, which this file does not reproduce.
annotation_task_name: "JudgmentBench legal pairwise preference"
task_dir: .
data_files:
- sample-data.json
item_properties:
id_key: id
text_key: text
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
user_config:
allow_all_users: true
users: []
annotation_instructions: "Read the task prompt, then read both responses. Choose the response you would rather receive from a junior colleague. Add a short comment on what decided it."
instance_display:
fields:
- key: task
type: text
label: "Task prompt"
annotation_schemes:
- annotation_type: pairwise
name: preferred_output
description: "Which response is the better piece of legal work product?"
mode: binary
items_key: text
show_labels: true
labels:
- "Response A"
- "Response B"
allow_tie: false
sequential_key_binding: true
label_requirement:
required: true
- annotation_type: text
name: comment
description: "What decided your choice?"
multiline: true
rows: 3
cols: 60
site_dir: default
Sample Data
[
{
"id": "jb_001",
"task": "Analyze the court's order on a motion to dismiss, including the remaining claims and likely future arguments.",
"text": [
"The court dismissed the fraud claim for failing to plead with particularity under Rule 9(b) and let the breach of contract claim proceed. Expect the defendant to move for summary judgment on damages, and expect the plaintiff to seek leave to amend the fraud count.",
"The court ruled. Some claims were dismissed and some were not. Both sides will keep arguing."
]
},
{
"id": "jb_002",
"task": "Summarize the key indemnification terms in a draft asset purchase agreement and flag buyer-side risks.",
"text": [
"The agreement has indemnity terms. The seller will pay for losses. Buyers should be careful.",
"Indemnity is capped at 10 percent of the purchase price with a 0.5 percent basket. Fundamental representations sit outside the cap, which favours the buyer. The survival period of twelve months is short for tax matters."
]
}
]
// ... and 8 more itemsTry it live — no install
Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.
Run live in your browserGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/preference-learning/judgmentbench-legal-pairwise
potato start config.yamlDataset & paper
Yang et al., NeurIPS 2026
- Paper DOI
- 10.48550/arXiv.2605.25240
Citation (BibTeX)
@misc{yang2026judgmentbench,
doi = {10.48550/ARXIV.2605.25240},
url = {https://arxiv.org/abs/2605.25240},
author = {Yang, Russell and Chen, Ruishi and Kelaita, Pierce and Ranjan, Riya and Ma, Sibo and Dickens, Charles and Guillod, Matthew and Ma, Megan and Nyarko, Julian},
title = {JudgmentBench: Comparing Rubric and Preference Evaluation for Quality Assessment},
publisher = {arXiv},
year = {2026}
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an Issue(opens in a new tab)Related Designs
WildBench - LLM Evaluation on Real-World Tasks
Evaluation of LLM outputs on challenging real-world user queries from WildBench. Annotators compare two model responses via pairwise preference, rate overall quality on a Likert scale, and provide reasoning for their judgments.
AlpacaEval: Instruction-Following Preference Evaluation
Pairwise preference annotation for instruction-following language models. Annotators compare two model responses side by side, select their preferred response, indicate preference strength, and rate individual response quality across diverse instruction categories.
CodeUltraFeedback: Code Preference Evaluation
Pairwise comparison of code responses with multi-dimensional quality rating. Annotators compare two code solutions to a programming task, select which is better, rate both on the five CodeUltraFeedback coding-preference dimensions (instruction following, readability, complexity, style, and explanation), then justify their preference.