SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.15620 · ACL · 2025

Does Context Matter? CONTEXTUALJUDGEBENCH for Evaluating LLM-based Judges in Contextual Settings

Shafiq Joty, Semih Yavuz, Yifei Ming, Austin Xu, Srijan Bansal

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2503.15620.json · badge: /api/ran/2503.15620.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
salesforceairesearch/contextualjudgebench canonical (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
get_ragas_pairwise Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/utils.py
pointer only (licence: Apache-2.0) · get_code("e04d85200b56e336")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_prompts_and_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompt_utils.py
pointer only (licence: Apache-2.0) · get_code("951279c1a44542a4")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompts/atla.py
pointer only (licence: Apache-2.0) · get_code("90d42ba9463e8243")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompts/glider.py
pointer only (licence: Apache-2.0) · get_code("5deb1637623318bb")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompts/offsetbias.py
pointer only (licence: Apache-2.0) · get_code("92724d6a93f6015f")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompts/prometheus.py
pointer only (licence: Apache-2.0) · get_code("d6755ed37ba0a463")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise_parsing Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/prompts/selftaught.py
pointer only (licence: Apache-2.0) · get_code("38e8813d00261fc4")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_jsonl Ran
ran on a synthesized input
salesforceairesearch/contextualjudgebench/utils/utils.py
pointer only (licence: Apache-2.0) · get_code("c89138f7dd4645e9")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chat_completion_openai Not yet run
unverified (harvested, no recorded run)
salesforceairesearch/contextualjudgebench/utils/utils.py
pointer only (licence: Apache-2.0) · get_code("e4c43673ff6920c0")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, salesforceairesearch/contextualjudgebench, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The large language model (LLM)-as-judge paradigm has been used to meet the demand for a cheap, reliable, and fast evaluation of model outputs during AI system development and post-deployment monitoring. While judge models-LLMs finetuned to specialize in assessing and critiquing model outputs-have been touted as general-purpose evaluators, they are typically evaluated only on non-contextual scenarios, such as instruction following. The omission of contextual settings-those where external information is used as context to generate an output-is surprising given the increasing prevalence of retrieval-augmented generation (RAG) and summarization use cases. Contextual assessment is uniquely challenging, as evaluation often depends on practitioner priorities, leading to conditional evaluation criteria (e.g., comparing responses based on factuality and then considering completeness if they are equally factual). To address the gap, we propose ContextualJudgeBench, a judge benchmark with 2,000 challenging response pairs across eight splits inspired by real-world contextual evaluation scenarios. We build our benchmark with a multi-pronged data construction pipeline that leverages both existing human annotations and model-based perturbations. Our comprehensive study across 11 judge models and 9 general-purpose models reveals that the contextual information and its assessment criteria present a significant challenge to even state-of-the-art models. For example, OpenAI's o1, the best-performing model, barely reaches 55% consistent accuracy 1 .

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.15620")
get_code_for_paper("2503.15620")
have("2503.15620")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2503.15620.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2503.15620.svg)](https://syntology.ai/paper/2503.15620)

Connect an agent — have() is free.