Evaluating Long-Document Legal Reasoning: Depositions and Case Files

Evaluating Long-Document Legal Reasoning: Depositions and Case Files

Legal reasoning over depositions and case files is one of the hardest long-context tasks a language model can face. The documents are long, the reasoning chains are multi-hop, the relevant facts are buried, and the ground truth requires expert judgment to establish. Evaluating long-document legal reasoning over depositions and case files demands a methodology that matches that complexity. This post describes how to design those evaluations: what task types to use, how to build verifiable ground truth, where frontier models characteristically fail, and where the evaluation approach itself breaks down.

What Evaluating Long-Document Legal Reasoning Actually Requires

Evaluating long-document legal reasoning over depositions and case files requires tasks that cannot be answered by surface retrieval alone. A model must locate a fact, reason about its legal significance, reconcile it with contradicting testimony, and apply a legal standard. Each of those steps is a distinct failure point, and a single aggregate score obscures all of them.

The minimum evaluation design includes four task classes:

  • Fact extraction under contradiction: The document contains two witnesses who give incompatible accounts. The model must identify both accounts and flag the conflict, not pick one.

  • Multi-hop inference: The answer requires connecting a statement in a deposition with an exhibit referenced fifty pages later and a statutory threshold stated nowhere in the document.

  • Temporal reconstruction: Events are described non-chronologically across multiple depositions. The model must reconstruct the timeline correctly.

  • Legal standard application: Given a fact pattern extracted from a case file, the model must apply a named legal test (for example, the four-factor preliminary injunction standard) and identify which elements are met and which are not.

Each task class requires a different verifier design. Conflating them into a single accuracy score produces a number that is neither interpretable nor actionable for post-training.

How to Build Verifiable Ground Truth for Legal Reasoning Tasks

Ground truth for legal reasoning tasks must be authored by practitioners, not derived from model outputs or web-scraped legal summaries. The core problem is that legal documents contain ambiguity that is itself legally meaningful. A verifier that resolves that ambiguity incorrectly produces a corrupt training signal.

A three-step protocol for ground-truth construction:

  1. Expert authoring: A practitioner (a licensed attorney or a paralegal with supervised case experience) authors the task, the expected answer, and the reasoning chain. The reasoning chain is the primary artifact; it is what distinguishes a process reward signal from a simple outcome label.

  2. Independent expert review: A second practitioner reviews the task without seeing the first author's answer. Disagreement triggers a structured resolution protocol, not a majority vote. The resolution notes are retained as metadata.

  3. Programmatic consistency check: Where the answer is a structured object (a timeline, a list of disputed facts, a yes/no on each element of a legal test), a programmatic verifier checks internal consistency. This does not replace expert review; it catches transcription errors and structural malformations before they reach a model.

Tasks without a reliable verifier or rubric are not usable training or evaluation signals. That principle applies with particular force in legal domains, where a plausible-sounding wrong answer is more dangerous than an obviously wrong one.

Difficulty Calibration for Legal Reasoning Evals

Difficulty in legal reasoning evals is not a property of the document. It is a property of the task relative to a specific model at a specific date. A task that stumps a model today may be trivially solved after one post-training cycle. Calibration must be empirical and must be repeated.

The standard calibration method uses pass@k. For a task set of N tasks, sample k independent completions per task from each model under evaluation. Estimate the probability that at least one of k completions is correct:

pass@k = 1 - C(n - c, k) / C(n, k)

where n is the total number of samples drawn and c is the number of correct samples. Chen et al. introduced this estimator in the Codex paper (2021) to reduce variance compared to a raw pass-rate. The same estimator applies to legal reasoning tasks when the verifier is reliable enough to score each completion independently.

Useful calibration thresholds for legal reasoning evals:

  • pass@1 below 0.30 across two or more frontier models: the task is in the hard regime and is a candidate for RL training signal.

  • pass@1 above 0.80 across all models tested: the task is saturated and should be retired or replaced.

  • High variance in pass@k across models: the task is discriminative and should be weighted more heavily in comparative evals.

These thresholds are illustrative. The operative values depend on the specific model family, the scaffold, and the evaluation date. Difficulty drifts as models improve, and a task set with no refresh schedule will become a benchmark of past capability, not current headroom.

Worked Example: A Multi-Hop Deposition Task

Illustrative example (numbers and facts are constructed to demonstrate the method, not drawn from a real case):

A case file contains three depositions totaling 340 pages. Deponent A states on page 12 that a meeting occurred on March 3rd. Deponent B states on page 187 that no meeting occurred before March 10th. An email exhibit introduced on page 291 is timestamped March 5th and references decisions made at a prior meeting.

The task: identify all three pieces of evidence, characterize the contradiction between Deponents A and B, and determine whether the email exhibit is consistent with Deponent A's account, Deponent B's account, or neither.

The expert-authored answer identifies the contradiction, notes that the email's timestamp is consistent with Deponent A's account and inconsistent with Deponent B's, and flags that the email does not independently confirm the March 3rd date.

A model that retrieves only the email and answers based on it alone will score partial credit at best. A model that hallucinates a resolution to the contradiction will score zero. The verifier must be designed to detect both failure modes independently, which requires a rubric with at least four scored components, not a single binary label.

This is the kind of failure-mode analysis that is more valuable to a post-training team than an aggregate accuracy score. For a broader treatment of rubric design in legal and financial domains, see the discussion of ties, ambiguity, and both-wrong cases in preference datasets.

Common Failure Modes in Legal Reasoning Evals

Six failure modes appear consistently when evaluating long-document legal reasoning. Each has a detection method and a fix.

  1. Position bias in long contexts. Models systematically favor facts stated early or late in a document and discount evidence in the middle. Detection: construct matched task pairs where the same fact appears at different positions. Fix: stratify task authoring so critical evidence appears at varied positions; report position-disaggregated accuracy.

  2. Contradiction resolution by recency. When two witnesses conflict, models often accept the later-appearing account without flagging the conflict. Detection: score contradiction-identification separately from answer accuracy. Fix: design tasks where the earlier account is correct and the later account is misleading.

  3. Legal standard hallucination. Models apply a plausible but incorrect legal test, or apply the correct test with invented elements. Detection: require the model to cite the standard it is applying and verify the citation against an expert-authored reference. Fix: include tasks that require the model to identify the applicable standard from the fact pattern, not from a prompt that names it.

  4. Exhibit-deposition linkage failure. Models fail to connect exhibit references in testimony to the actual exhibit content. Detection: include tasks where the answer is only derivable by reading both the testimony and the exhibit. Fix: verify that the model's reasoning chain references both sources explicitly.

  5. Rubric collapse under partial credit. A rubric that awards partial credit without specifying what each component measures produces inter-rater agreement that looks acceptable in aggregate but masks systematic disagreement on specific reasoning steps. Detection: compute component-level inter-rater agreement, not only total-score correlation. Fix: define each rubric component with a binary criterion and a worked example of a passing and a failing response.

  6. Benchmark contamination from published case law. Tasks built on publicly available cases may be partially answered by a model that has seen the case in training. Detection: use pass@k disaggregated by task source (published vs. original). Fix: author tasks on original, non-public fact patterns, or transform published cases sufficiently to remove memorizable surface features. Task provenance is not optional metadata; it is a core quality dimension. For more on contamination-resistant task design, see evaluating domain-specific reward models with expert judgments.

Where This Evaluation Approach Breaks Down

Three limits are worth stating directly.

First, expert authoring does not scale cheaply. A single multi-hop deposition task, authored and reviewed to the standard described here, requires several hours of practitioner time. Task sets large enough to train a reward model require sustained expert pipelines, not one-time authoring sprints.

Second, the verifier cannot fully capture open-ended legal judgment. Tasks that require a model to assess litigation risk, recommend a strategy, or draft a persuasive argument cannot be scored with a binary verifier. They require expert rubrics with explicit criteria, and those rubrics will have residual inter-rater disagreement. That disagreement is not a flaw to eliminate; it is a signal about where legal reasoning is genuinely contested.

Third, pass@k calibration is model-specific and date-specific. A task set calibrated against one generation of frontier models may be substantially easier for the next. Evaluation infrastructure for legal reasoning requires a refresh cadence, not a one-time deployment. The methodology for tracking difficulty drift over model generations is closely related to the challenges described in evaluating process reward models with held-out expert step judgments.

Frequently Asked Questions

What context length is necessary for deposition-based evals?

Tasks should span at least 50,000 tokens to stress-test long-context retrieval, but the operative constraint is not length alone. The critical evidence must be positioned so that retrieval requires active search, not proximity to the query. Tasks under 10,000 tokens rarely distinguish frontier models on legal reasoning.

Can synthetic legal documents replace real case files for eval authoring?

Synthetic documents avoid contamination and confidentiality constraints, but they require expert authoring to be legally coherent. A synthetic deposition written without practitioner input will contain procedural artifacts that a model trained on real legal text will exploit as shortcuts. Expert-authored synthetic documents are preferable to real documents for most eval purposes. For the broader trade-offs between synthetic and expert data, see the discussion of physical reasoning evals as a structural analogy.

How should tasks handle jurisdiction-specific legal standards?

Jurisdiction must be specified in the task prompt. Tasks that leave jurisdiction ambiguous test the model's default assumption, not its legal reasoning. For comparative evals, author matched task pairs under different jurisdictions with different correct answers. This reveals whether the model applies the correct standard or applies a generic one regardless of jurisdiction.

What inter-rater agreement threshold is acceptable for legal reasoning rubrics?

Cohen's kappa above 0.70 is the conventional threshold for substantial agreement. For safety-critical or high-stakes legal tasks, target kappa above 0.80 before using the rubric as a training signal. Below 0.60, the rubric definition is the problem, not the raters. Disagreement logs should be reviewed to identify which rubric components are driving variance.

How do you evaluate legal reasoning in multimodal documents?

Case files often include scanned exhibits, handwritten notes, and diagrams. Evaluating those requires a vision-language model evaluation layer on top of the text-reasoning layer. The two layers should be scored separately. A model that fails on the visual component but succeeds on the text component has a different failure profile than one that fails on both. For methodology on evaluating diagram and schematic understanding, see evaluating diagram and schematic understanding in vision-language models.

What This Means in Practice

Evaluating long-document legal reasoning over depositions and case files is not a retrieval problem dressed in legal language. It is a multi-hop, multi-document reasoning problem with contested ground truth, jurisdiction-specific standards, and failure modes that aggregate scores will not surface. The methodology described here, expert-authored tasks, component-level rubrics, programmatic consistency checks, and pass@k calibration per model and per date, is the operational minimum for a signal that is actually useful to a post-training team.

The tasks that matter most for legal reasoning are the ones that frontier models cannot reliably solve today, authored by practitioners who understand both the legal domain and the failure modes of current models. Chiron Data Labs builds exactly those tasks, working with domain practitioners to author, verify, and calibrate original legal reasoning evals. If you are building evals or RL environments in this domain, get in touch with Chiron Data Labs.

Have questions or want personalised guidance? Contact us and we'll be happy to help.

Legal reasoning over depositions and case files is one of the hardest long-context tasks a language model can face. The documents are long, the reasoning chains are multi-hop, the relevant facts are buried, and the ground truth requires expert judgment to establish. Evaluating long-document legal reasoning over depositions and case files demands a methodology that matches that complexity. This post describes how to design those evaluations: what task types to use, how to build verifiable ground truth, where frontier models characteristically fail, and where the evaluation approach itself breaks down.

What Evaluating Long-Document Legal Reasoning Actually Requires

Evaluating long-document legal reasoning over depositions and case files requires tasks that cannot be answered by surface retrieval alone. A model must locate a fact, reason about its legal significance, reconcile it with contradicting testimony, and apply a legal standard. Each of those steps is a distinct failure point, and a single aggregate score obscures all of them.

The minimum evaluation design includes four task classes:

  • Fact extraction under contradiction: The document contains two witnesses who give incompatible accounts. The model must identify both accounts and flag the conflict, not pick one.

  • Multi-hop inference: The answer requires connecting a statement in a deposition with an exhibit referenced fifty pages later and a statutory threshold stated nowhere in the document.

  • Temporal reconstruction: Events are described non-chronologically across multiple depositions. The model must reconstruct the timeline correctly.

  • Legal standard application: Given a fact pattern extracted from a case file, the model must apply a named legal test (for example, the four-factor preliminary injunction standard) and identify which elements are met and which are not.

Each task class requires a different verifier design. Conflating them into a single accuracy score produces a number that is neither interpretable nor actionable for post-training.

How to Build Verifiable Ground Truth for Legal Reasoning Tasks

Ground truth for legal reasoning tasks must be authored by practitioners, not derived from model outputs or web-scraped legal summaries. The core problem is that legal documents contain ambiguity that is itself legally meaningful. A verifier that resolves that ambiguity incorrectly produces a corrupt training signal.

A three-step protocol for ground-truth construction:

  1. Expert authoring: A practitioner (a licensed attorney or a paralegal with supervised case experience) authors the task, the expected answer, and the reasoning chain. The reasoning chain is the primary artifact; it is what distinguishes a process reward signal from a simple outcome label.

  2. Independent expert review: A second practitioner reviews the task without seeing the first author's answer. Disagreement triggers a structured resolution protocol, not a majority vote. The resolution notes are retained as metadata.

  3. Programmatic consistency check: Where the answer is a structured object (a timeline, a list of disputed facts, a yes/no on each element of a legal test), a programmatic verifier checks internal consistency. This does not replace expert review; it catches transcription errors and structural malformations before they reach a model.

Tasks without a reliable verifier or rubric are not usable training or evaluation signals. That principle applies with particular force in legal domains, where a plausible-sounding wrong answer is more dangerous than an obviously wrong one.

Difficulty Calibration for Legal Reasoning Evals

Difficulty in legal reasoning evals is not a property of the document. It is a property of the task relative to a specific model at a specific date. A task that stumps a model today may be trivially solved after one post-training cycle. Calibration must be empirical and must be repeated.

The standard calibration method uses pass@k. For a task set of N tasks, sample k independent completions per task from each model under evaluation. Estimate the probability that at least one of k completions is correct:

pass@k = 1 - C(n - c, k) / C(n, k)

where n is the total number of samples drawn and c is the number of correct samples. Chen et al. introduced this estimator in the Codex paper (2021) to reduce variance compared to a raw pass-rate. The same estimator applies to legal reasoning tasks when the verifier is reliable enough to score each completion independently.

Useful calibration thresholds for legal reasoning evals:

  • pass@1 below 0.30 across two or more frontier models: the task is in the hard regime and is a candidate for RL training signal.

  • pass@1 above 0.80 across all models tested: the task is saturated and should be retired or replaced.

  • High variance in pass@k across models: the task is discriminative and should be weighted more heavily in comparative evals.

These thresholds are illustrative. The operative values depend on the specific model family, the scaffold, and the evaluation date. Difficulty drifts as models improve, and a task set with no refresh schedule will become a benchmark of past capability, not current headroom.

Worked Example: A Multi-Hop Deposition Task

Illustrative example (numbers and facts are constructed to demonstrate the method, not drawn from a real case):

A case file contains three depositions totaling 340 pages. Deponent A states on page 12 that a meeting occurred on March 3rd. Deponent B states on page 187 that no meeting occurred before March 10th. An email exhibit introduced on page 291 is timestamped March 5th and references decisions made at a prior meeting.

The task: identify all three pieces of evidence, characterize the contradiction between Deponents A and B, and determine whether the email exhibit is consistent with Deponent A's account, Deponent B's account, or neither.

The expert-authored answer identifies the contradiction, notes that the email's timestamp is consistent with Deponent A's account and inconsistent with Deponent B's, and flags that the email does not independently confirm the March 3rd date.

A model that retrieves only the email and answers based on it alone will score partial credit at best. A model that hallucinates a resolution to the contradiction will score zero. The verifier must be designed to detect both failure modes independently, which requires a rubric with at least four scored components, not a single binary label.

This is the kind of failure-mode analysis that is more valuable to a post-training team than an aggregate accuracy score. For a broader treatment of rubric design in legal and financial domains, see the discussion of ties, ambiguity, and both-wrong cases in preference datasets.

Common Failure Modes in Legal Reasoning Evals

Six failure modes appear consistently when evaluating long-document legal reasoning. Each has a detection method and a fix.

  1. Position bias in long contexts. Models systematically favor facts stated early or late in a document and discount evidence in the middle. Detection: construct matched task pairs where the same fact appears at different positions. Fix: stratify task authoring so critical evidence appears at varied positions; report position-disaggregated accuracy.

  2. Contradiction resolution by recency. When two witnesses conflict, models often accept the later-appearing account without flagging the conflict. Detection: score contradiction-identification separately from answer accuracy. Fix: design tasks where the earlier account is correct and the later account is misleading.

  3. Legal standard hallucination. Models apply a plausible but incorrect legal test, or apply the correct test with invented elements. Detection: require the model to cite the standard it is applying and verify the citation against an expert-authored reference. Fix: include tasks that require the model to identify the applicable standard from the fact pattern, not from a prompt that names it.

  4. Exhibit-deposition linkage failure. Models fail to connect exhibit references in testimony to the actual exhibit content. Detection: include tasks where the answer is only derivable by reading both the testimony and the exhibit. Fix: verify that the model's reasoning chain references both sources explicitly.

  5. Rubric collapse under partial credit. A rubric that awards partial credit without specifying what each component measures produces inter-rater agreement that looks acceptable in aggregate but masks systematic disagreement on specific reasoning steps. Detection: compute component-level inter-rater agreement, not only total-score correlation. Fix: define each rubric component with a binary criterion and a worked example of a passing and a failing response.

  6. Benchmark contamination from published case law. Tasks built on publicly available cases may be partially answered by a model that has seen the case in training. Detection: use pass@k disaggregated by task source (published vs. original). Fix: author tasks on original, non-public fact patterns, or transform published cases sufficiently to remove memorizable surface features. Task provenance is not optional metadata; it is a core quality dimension. For more on contamination-resistant task design, see evaluating domain-specific reward models with expert judgments.

Where This Evaluation Approach Breaks Down

Three limits are worth stating directly.

First, expert authoring does not scale cheaply. A single multi-hop deposition task, authored and reviewed to the standard described here, requires several hours of practitioner time. Task sets large enough to train a reward model require sustained expert pipelines, not one-time authoring sprints.

Second, the verifier cannot fully capture open-ended legal judgment. Tasks that require a model to assess litigation risk, recommend a strategy, or draft a persuasive argument cannot be scored with a binary verifier. They require expert rubrics with explicit criteria, and those rubrics will have residual inter-rater disagreement. That disagreement is not a flaw to eliminate; it is a signal about where legal reasoning is genuinely contested.

Third, pass@k calibration is model-specific and date-specific. A task set calibrated against one generation of frontier models may be substantially easier for the next. Evaluation infrastructure for legal reasoning requires a refresh cadence, not a one-time deployment. The methodology for tracking difficulty drift over model generations is closely related to the challenges described in evaluating process reward models with held-out expert step judgments.

Frequently Asked Questions

What context length is necessary for deposition-based evals?

Tasks should span at least 50,000 tokens to stress-test long-context retrieval, but the operative constraint is not length alone. The critical evidence must be positioned so that retrieval requires active search, not proximity to the query. Tasks under 10,000 tokens rarely distinguish frontier models on legal reasoning.

Can synthetic legal documents replace real case files for eval authoring?

Synthetic documents avoid contamination and confidentiality constraints, but they require expert authoring to be legally coherent. A synthetic deposition written without practitioner input will contain procedural artifacts that a model trained on real legal text will exploit as shortcuts. Expert-authored synthetic documents are preferable to real documents for most eval purposes. For the broader trade-offs between synthetic and expert data, see the discussion of physical reasoning evals as a structural analogy.

How should tasks handle jurisdiction-specific legal standards?

Jurisdiction must be specified in the task prompt. Tasks that leave jurisdiction ambiguous test the model's default assumption, not its legal reasoning. For comparative evals, author matched task pairs under different jurisdictions with different correct answers. This reveals whether the model applies the correct standard or applies a generic one regardless of jurisdiction.

What inter-rater agreement threshold is acceptable for legal reasoning rubrics?

Cohen's kappa above 0.70 is the conventional threshold for substantial agreement. For safety-critical or high-stakes legal tasks, target kappa above 0.80 before using the rubric as a training signal. Below 0.60, the rubric definition is the problem, not the raters. Disagreement logs should be reviewed to identify which rubric components are driving variance.

How do you evaluate legal reasoning in multimodal documents?

Case files often include scanned exhibits, handwritten notes, and diagrams. Evaluating those requires a vision-language model evaluation layer on top of the text-reasoning layer. The two layers should be scored separately. A model that fails on the visual component but succeeds on the text component has a different failure profile than one that fails on both. For methodology on evaluating diagram and schematic understanding, see evaluating diagram and schematic understanding in vision-language models.

What This Means in Practice

Evaluating long-document legal reasoning over depositions and case files is not a retrieval problem dressed in legal language. It is a multi-hop, multi-document reasoning problem with contested ground truth, jurisdiction-specific standards, and failure modes that aggregate scores will not surface. The methodology described here, expert-authored tasks, component-level rubrics, programmatic consistency checks, and pass@k calibration per model and per date, is the operational minimum for a signal that is actually useful to a post-training team.

The tasks that matter most for legal reasoning are the ones that frontier models cannot reliably solve today, authored by practitioners who understand both the legal domain and the failure modes of current models. Chiron Data Labs builds exactly those tasks, working with domain practitioners to author, verify, and calibrate original legal reasoning evals. If you are building evals or RL environments in this domain, get in touch with Chiron Data Labs.

Have questions or want personalised guidance? Contact us and we'll be happy to help.

© 2026 CHIRON, SAN FRANCISCO, CA