Evaluating Legal Agents on German State Examination Cases
(Erstes und zweites juristisches Staatsexamen)
Private individuals and legal professionals increasingly use LLM-based agents to draft legal documents. The Mannheim Legal Agent Benchmark (MaLAB) evaluates the quality of agent-generated legal documents by assessing them against a set of case-specific evaluation criteria (rubrics). The benchmark comprises 90 German State Examination cases, corresponding evaluation rubrics for each case, and an LLM-as-a-judge workflow for automatically grading agent-generated solutions. The cases cover German public, criminal, and civil law at the level of the First and Second State Examinations in Law (Erstes und Zweites Juristisches Staatsexamen). Cases at the level of the First State Examination require a complete legal opinion written in the prescribed legal analysis style (Gutachtenstil). Cases at the level of the Second State Examination require agents to draft documents used in legal practice, such as court judgments, legal briefs, and decisions by public prosecutors.
The benchmark is divided into a public and a private part. The private part is withheld to prevent agents from retrieving reference solutions from the Web and to reduce the risk of these solutions being included in the training data of the underlying LLMs. The public release comprises 45 First State Examination cases with published reference solutions, including 15 cases each in public, criminal, and civil law, and a total of 1,806 evaluation criteria. The private test set comprises 45 Second State Examination cases together with 2,317 evaluation criteria.
We use the benchmark to evaluate different systems: three large language models (LLMs) that solve the cases in a single model call; seven LLM agents that combine the same models with different agent harnesses, with or without web search; and GPT-6 Astra and Claude Opus 5.5, each operating within its vendor's command-line agent.
90
State exam cases
4,123
Rubric criteria
3
Areas of law
10
Systems evaluated
LLM agents used in legal work produce complete documents such as legal opinions, judgments and briefs. The result of a legal case says little on its own. In German legal education and practice, a solution is judged by the reasoning that leads to the result, and a correct result with missing or wrong reasoning does not pass. An evaluation of legal agents therefore has to check the individual reasoning steps of a complete document, not only its final result. For US practice, Harvey's Legal Agent Benchmark (LAB) follows this approach. It evaluates agents on more than 1,200 realistic drafting tasks scored against expert-written rubrics of atomic pass/fail criteria, building on the earlier BigLaw Bench. LAB is now publicly released. US practice differs from German law in doctrine, language, and document conventions. For German law, the BenGER benchmark evaluates complete solutions to examination cases using ten general rubric dimensions, including correctness, subsumption, and legal methodology. BenGER currently focuses on evaluating LLMs that solve legal cases in a single model call. BenGER does not yet evaluate LLM agents that generate solutions through multiple model calls and may use web retrieval or other tools.
We use the MaLAB benchmark to evaluate how LLM agents solve German legal cases. Models run in agent harnesses such as Claude Code, Codex CLI and OpenCode, with and without web search, and are compared with the same models answering in a single call. The tasks cover both German state examinations: published cases from the First State Examination and a private set of cases from the Second State Examination, which asks for documents of legal practice such as judgments and briefs. Instead of general rubric dimensions, each case has its own pass/fail criteria for the individual legal requirements, derived from the reference solution. A judge applies these criteria without seeing the solution and records a rationale for each verdict, so that errors can be traced to specific reasoning steps. Lawyers reviewed samples of the criteria and labelled judge verdicts to validate the judge.
This page documents the MaLAB benchmark as well as the experiments that we have performed using the benchmark. The pipeline, tasks and rubrics, the answers and per-criterion verdicts of all ten systems and the documentation of the legal review are publicly available in the MaLAB repository on GitHub.
Becoming a fully qualified legal professional in Germany, whether judge, public prosecutor or lawyer, requires passing two state examinations: the First State Examination (Erste Juristische Prüfung) at the end of university legal studies, and the Second State Examination after a two-year practical traineeship. MaLAB draws its tasks from both levels.
In the first examination, candidates solve a fictional case in Gutachtenstil, a rigid appraisal style that examines every claim or offence step by step, and hand in one long written legal opinion. The public release contains 45 cases on this level, 15 each in public law, criminal law and civil law. 43 cases come from the Zeitschrift für das Juristische Studium (ZJS), an open-access legal education journal, via the BenGER corpus, and two from the OpenRewi casebook on administrative law. Each case was published together with a reference solution by its academic authors. Attribution, source and licence are recorded per task.
Each task consists of an instruction, the case documents (the facts plus any annexes), and the name of the file in which the system must hand in its solution. The reference solution and the rubric are not visible to the system.
The civil law case “Anfängerklausur: Zwei Autokäufe” (24 rubric criteria) illustrates the task format. The materials are German and are shown here as the systems received them.
„Bearbeiten Sie den Fall gutachterlich. Erstellen Sie eine vollständige Falllösung auf Grundlage des Sachverhalts in documents/sachverhalt.md.“
Sachverhalt: Goldt (G) und Frosch (F) sind Gebrauchtwagenhändlerinnen. Der bei G angestellte Mitarbeiter Apfel (A) ist im Wesentlichen damit befasst, gebrauchte Pkw von privaten Verkäufern und von anderen Gebrauchtwagenhändlern einzukaufen. Eine dahingehende Tätigkeitsbeschreibung hat G bei Abschluss des Arbeitsvertrags in den Vertrag aufgenommen. Ein halbes Jahr später hat sie zudem ein Rundschreiben an etwa 20 Gebrauchtwagenhändler in der Umgebung, darunter F, verfasst, in dem sie erklärt hat, A dürfe für sie (G) Gebrauchtwagen aller Art einkaufen. Dieses Schreiben hat F zu ihren Akten genommen.
Als es drei Jahre danach mehrmals zu Meinungsverschiedenheiten zwischen G und A wegen der Einkaufspolitik kommt, weist G im Juni A an, bis auf Weiteres ausschließlich im Pkw-Verkauf zu arbeiten. Sie widerruft vorsorglich gegenüber A „jede eventuell erteilte Vollmacht“ und gestattet A den Verkauf von Autos nur nach jeweiliger vorheriger Rücksprache mit ihr (G). Sicherheitshalber schreibt sie dies auch an die Gebrauchtwagenhändler, mit denen sie Geschäfte macht. Das Schreiben an F wird am 3. Juli morgens in deren Postfach in der Postfiliale eingelegt. Weil F die Leerung vergisst, kommt es erst tags darauf auf ihren Schreibtisch, wo sie es am 6. Juli öffnet und liest.
A will sich das Vertrauen der G wiederverdienen, indem er einige besonders vorteilhafte Einkäufe tätigt. Am 5. Juli entdeckt er auf dem Heimweg bei F einen gebrauchten VW Beetle. Er handelt den Verkaufsmitarbeiter der F, Baum (B), bis auf den attraktiven Preis von 8.200 € herunter. Den schriftlichen Vertrag unterzeichnet er wie üblich mit seinem Namen, da er weiß, dass F ihn von etwa einem Dutzend Einkäufen pro Jahr als Mitarbeiter der G kennt. Zufrieden mit diesem Schnäppchen nutzt A sofort noch eine weitere Gelegenheit: Im Autohaus Hund GmbH (H), mit dem G bislang keine Geschäfte getätigt hat, erwirbt er einen gebrauchten Smart für 5.500 €. Dabei stellt er sich dem Geschäftsführer als Einkäufer der G vor; angesichts der Sachkunde und des souveränen Auftretens des A hat dieser daran auch keine Zweifel, zumal er G vom Hörensagen als verlässliche Geschäftsfrau kennt. Als G von F und H die Rechnungen über die Einkäufe erhält, ist sie verärgert und will sich mit keinem der Geschäfte einverstanden erklären, was sie auch sofort gegenüber A äußert.
Fallfrage: Können F und H von G oder wenigstens von A Zahlung der Kaufpreise fordern?
Two rubric criteria for this case are quoted in the rubric section below. The expected solution examines the purchase-price claims of F and H against G under agency law and the personal liability of A.
Two answers to this case, as handed in by the systems. The per-case results link the answers of both systems for every case.
The Second State Examination concludes the two-year legal traineeship (Referendariat). Candidates no longer write a university-style legal opinion. They draft the document a judge, public prosecutor or lawyer would produce from a case file, and they examine questions the document leaves open in an auxiliary opinion (Hilfsgutachten).
The private test set contains 45 cases, 15 each in public law, civil law and criminal law, with 2,317 rubric criteria in total. The required work products include judgments and court decisions, briefs and client letters, oral case presentations (Aktenvortrag), final orders of the public prosecutor, appeal opinions and closing speeches. Many tasks require two or three documents. All public law cases are original exam cases of the Bavarian Second State Examination. The civil and criminal law cases are exam-preparation cases from German legal education journals and original exam cases of a state examination office.
Like Humanity's Last Exam, ARC-AGI and SWE-bench Pro, MaLAB keeps part of its tasks private. Keeping them private makes it harder to train or tune systems directly on the benchmark. We therefore do not publish the cases, the case list, the rubrics or the answers, and report only aggregate results. Rubrics follow the same pipeline as for the first examination, with document-specific criteria for form, structure and the auxiliary opinion.
A legal case solution can reach the correct result through flawed reasoning, or a defensible different result through sound reasoning. Comparing only the final result, or asking a model for one overall grade, hides where a solution succeeds and where it fails. MaLAB therefore breaks each reference solution into atomic pass/fail criteria, one for each examination step a correct solution has to take. A judge decides each criterion separately. This has several advantages:
Related work. Rubrics of atomic criteria are an established approach for open-ended professional tasks. HealthBench scores medical conversations against criteria written by physicians. PRBench covers law and finance with 19,356 expert-written criteria for 1,100 tasks. LexRubric applies 12,337 expert-written criteria to Chinese legal consultation and judicial examination tasks. Harvey's LAB scores agents on drafting tasks of US legal practice against expert rubrics. LEXam grades open answers to Swiss law exams with an LLM judge against reference answers. For German law, BenGER scores complete case solutions on ten weighted rubric dimensions. The models evaluated there write their solutions in a single call, with retrieval and tool use disabled.
MaLAB differs in two respects. Its criteria are derived for each case from the published reference solution, and the judge applies them without seeing that solution. The solutions are produced by agents that plan, draft and revise over several steps, in part with web search, and compared with the same models answering in a single call.
Each exam case is used in two ways. The reference solution is turned into a calibrated rubric of atomic pass/fail criteria, and the facts and instructions form the task that the evaluated system solves. A judge committee then scores the submission against the rubric, one criterion at a time.
Every case is scored against a rubric of atomic, binary pass/fail criteria derived from the published reference solution. A rubric contains several dozen criteria per case. A criterion states what counts as fulfilled and what does not, and it must stand on its own: the judge that later applies it never sees the reference solution. Where the official solution marks alternative legal paths as defensible, the criterion names the acceptable alternatives explicitly.
A submission therefore receives dozens of individual verdicts per case, and every failed criterion names the reasoning step it stands for. Each criterion consists of a fulfilled condition describing the required examination step, a not-fulfilled condition describing the disqualifying errors, and metadata used in analysis: the function of the step, a criticality between one and three stars, and the position of the step in the expected line of analysis.
Rubrics are generated by an LLM pipeline (gpt-5.6-sol) in six steps:
Split the reference solution into legally material statements: individual claims, definitions, subsumption steps, and results.
The reference solution of the example case “Zwei Autokäufe” yields 40 atoms, among them: a claim of F against G for the purchase price under § 433 Abs. 2 BGB requires a valid contract between F and G.
Three generator roles (doctrine, fact grounding, adversary) each draft candidate criteria, producing an intentionally over-complete pool.
For the example case, the three roles draft 90 candidate criteria, several of them competing variants for the same atom.
Merge the pool into a rubric of atomic Boolean criteria, removing duplicates and compound criteria that would make verdicts ambiguous.
The 90 candidates for the example case are merged into the 24 criteria of the final rubric.
A three-model committee judges the reference solution against every criterion. Criteria the gold solution does not pass unanimously are rewritten, split, or dropped, for at most two rounds.
In the example case, five criteria were revised after the first round and one after the second. The reference solution passes all 24.
Extract the solution's structure as a tree and anchor each criterion to its position in the expected line of analysis.
Criterion C-001 below is anchored to outline node I, the claim of F against G under § 433 Abs. 2 BGB.
Classify each criterion by its function in the solution and by its criticality for the case (1–3 stars). The function names the kind of examination step the criterion checks: the legal basis, the legal test or definition, the application to the facts, the argumentation in a disputed question, the conclusion, or structure and form. The tags do not change the score. They select the criteria that receive a style verdict and are used in the error analysis, which describes both tags in detail.
C-001 below carries the function tag legal basis and criticality two of three stars.
Two criteria from the civil law case “Anfängerklausur: Zwei Autokäufe” (24 criteria) as they appear in the rubric, with an English translation below each:
ERFÜLLT, wenn die Antwort den Anspruch der F gegen G auf Zahlung von 8.200 € für den VW Beetle anhand von § 433 Abs. 2 BGB prüft und eine Zahlungspflicht davon abhängig macht, dass zwischen F und G ein wirksamer Kaufvertrag besteht. NICHT ERFÜLLT, wenn sie eine sachfremde Anspruchsgrundlage wählt oder einen Kaufpreisanspruch ohne vertragliche Bindung der G annimmt.
English translation: Fulfilled if the answer examines F's claim against G for payment of 8,200 € for the VW Beetle under § 433 Abs. 2 BGB and makes the payment obligation depend on a valid purchase contract between F and G. Not fulfilled if it chooses an inapposite claim basis or assumes a purchase-price claim without a contractual commitment of G.
ERFÜLLT, wenn die Antwort trotz der Unterschrift des A mit eigenem Namen ein Handeln im Namen der G nach § 164 Abs. 1 S. 2 BGB bejaht, weil F ihn aus seiner langjährigen regelmäßigen Einkaufstätigkeit als Mitarbeiter und Einkäufer der G kannte. NICHT ERFÜLLT, wenn sie allein wegen des fehlenden Vertretungszusatzes ein Eigengeschäft des A annimmt oder die Erkennbarkeit des Handelns für G nicht anhand der Umstände begründet.
English translation: Fulfilled if the answer, although A signed with his own name, finds that A acted in G's name under § 164 Abs. 1 S. 2 BGB, because F knew him as G's employee and buyer from his long-standing, regular purchasing activity. Not fulfilled if it assumes A acted for himself solely because an agency notice was missing, or fails to justify from the circumstances that acting for G was recognizable.
A machine-generated rubric can fail in two directions. A rubric that is too lax awards criteria the submission does not earn, and a rubric that is too strict fails correct legal work, for example by insisting on one doctrinal path where the law allows several. Our validation workflow therefore includes positive calibration, adversarial checks, and legal review.
Positive checks. During generation, criteria are calibrated against the published reference solution and refined if it fails them. This checks consistency with the source used to create the rubric.
Adversarial checks. We test rubrics and judge with deliberately defective answers: a bare conclusion without reasoning, analysis attached to the wrong person or part of the case, or a planted legal error. These checks help identify overly permissive criteria and judge rules.
Review of random samples. To measure how often rubric and judge are right, two of the authors, both lawyers at the University of Mannheim, reviewed random samples of criteria. Each sampled criterion is shown with the answer of one randomly chosen system and the judge's verdict. The reviewer answers two questions: is the criterion legally correct, and is the verdict correct? For the first examination, Benedikt Asal reviewed 200 of the 1,777 content criteria, stratified by area of law and criterion weight. For the second examination, Benedikt Asal reviewed 100 criteria in public law and Nico Halkenhäuser 100 criteria in civil law, with the answers spread evenly over the ten systems.
| First examination | Second examination, public law | Second examination, civil law | |
|---|---|---|---|
| Criteria reviewed | 200 | 100 | 100 |
| Criterion legally correct | 188 (94.0%) | 96 (96.0%) | 82 (82.0%)a |
| Criterion partly correct | 10 (5.0%) | 3 (3.0%) | 11 (11.0%) |
| Criterion not correct | 2 (1.0%) | 1 (1.0%) | 7 (7.0%) |
Between 82 and 96 percent of the sampled criteria are rated as legally correct. Criteria rated as partly correct are in most cases stricter than necessary: they are too narrow or too case-specific, or they turn a side remark of the reference solution into a requirement. Such a criterion can fail a tenable answer. Between 1 and 7 percent of the sampled criteria are rated as not correct.
Validation of the judge. The same rows are used to check the automated judge (see Automated Judging). For each row, the reviewer decides whether the verdict of the judge committee on the shown answer is correct, and if not, whether it is too strict or too lenient.
| First examination | Second examination, public law | Second examination, civil law | |
|---|---|---|---|
| Verdicts reviewed | 200 | 100 | 100 |
| Judge verdict correct | 184 of 196 (93.9%)b | 91 of 96 (94.8%) | 93 of 100 (93.0%) |
| Verdict too strict / too lenient | 9 / 3 | 5 / 0 | 1 / 6 |
| Cohen's κ | 0.87 | 0.88 | 0.83 |
The reviewers rate 93 to 95 percent of the judge verdicts as correct. In public law most judge errors are too strict: the judge fails an answer whose explanations make clear that the requirement is met without stating it expressly. In civil law most judge errors are too lenient: the judge accepts a provision that is named but not applied, or a result that is asserted without reasons.
Both reviewers of the second examination also labelled a shared set of rows. Both gave a clear label on 51 of them (48 public law, 3 civil law). The two lawyers agree on the verdict in 46 of these rows (90.2%, κ 0.75), and in all 46 the judge agrees with them. On the five rows where the lawyers disagree, the judge necessarily sides with one of them: four times with Nico Halkenhäuser and once with Benedikt Asal.
Failure-focused audit. Criteria with persistent failures or disputed votes are reviewed against the task and reference solution (see the error analysis below). Model-assisted review identifies candidates for legal assessment and rubric refinement.
For grading the solutions, we use an LLM-as-a-judge approach: large language models decide for each criterion of the rubric whether a solution fulfils it. The verdict comes from a committee of judge models from three providers, described below.
Each criterion is judged individually. The judge receives the task instructions, the submission, excerpts of the case documents the criterion refers to, and the criterion text. It never sees the reference solution. The judge must first quote verbatim evidence from the submission, then reason about it, and only then return a pass or fail verdict.
The judge first locates the passage where the answer examines the question of the criterion: the same person, claim or offence, the same provision and the same examination station. It decides on that passage only. A requirement counts as met when the answer states it expressly or when the explanations on this question make it clear. Where a criterion asks for a reason, a correct result at the correct place with a shorter, tenable reason suffices.
Style verdict. For criteria tagged as application or argumentation, the same judge call also returns a verdict on legal method and presentation. This verdict does not ask whether the legal result is right, but whether the passage is written the way the document type requires. The judge receives a style profile for the document the task asks for. For a legal opinion in Gutachtenstil, the passage passes when it states the legal standard for the criterion, applies it to the concrete facts, and completes this line of examination with a result. Order and wording may vary. A bare conclusion, a definition without application, or a list of facts without legal evaluation fails. For the documents of the Second State Examination, the profile follows the style of the document: a judgment may state the result first and give the reasons after it (Urteilsstil), a brief may argue one-sidedly for its party, and a decision of the public prosecutor may consist of short operative orders. A substantively wrong argument can therefore be methodically complete, and a correct result can be merely asserted.
Our judge committee uses models from three providers, so no model family holds the majority. GPT-6 Luna from OpenAI and DeepSeek V4.1 Flash assess each criterion first. If they agree, their verdict is accepted. If they disagree, Google’s Gemini 3.8 Flash casts the deciding vote. All three run with medium reasoning effort.
Failed judge calls are retried twice. Decisions that still lack the required votes are marked as unresolved and count as failures.
The content score of a run is the share of criteria passed, averaged case by case. The style verdicts aggregate into a separate style score over the application and argumentation criteria.
The complete judge prompt is part of the repository and can be inspected below. Placeholders in curly braces are filled per criterion at judging time.
You are evaluating one Boolean legal-rubric criterion. Return two independent verdicts
from the same answer and context:
1. `style`: whether the attempted application or argumentation uses functional legal
reasoning style;
2. `content`: whether the criterion is substantively fulfilled.
The criterion is tagged as application or argumentation, so both verdicts are required.
They must not be copied from one another. A substantively wrong argument may be
methodically complete (`content: fail`, `style: pass`), while a correct proposition may
be merely asserted (`content: pass`, `style: fail`).
The criterion may be written in German, English, French, or another case language.
Apply it in that language and do not translate legal terms unless needed for understanding.
Decide the style verdict first and record its method checks before deciding content.
Do not revise the style verdict merely because the later content verdict passes or fails.
## Style verdict
- Do not let the content verdict determine the style verdict. The legal rule, application,
or conclusion may be substantively wrong and still be methodically well formed.
- The same person, legal object, issue, and examination station are hard requirements.
Do not assemble a missing examination from statements scattered elsewhere.
- Pass only when the answer itself connects (1) a criterion-specific legal standard or
decisive premise, (2) concrete facts or competing arguments, and (3) a conclusion that
completes this exact line of examination.
- Routine points may be concise, but rule, fact, and result merely appearing near one
another is insufficient without an expressed inferential connection.
- A standard for a neighboring issue is not criterion-specific. A complicity standard
does not by itself examine immediate commencement, and distinguishing completed from
uncompleted attempt does not by itself examine whether the attempt failed.
- A later voluntariness discussion that implies continued ability does not constitute a
methodical examination of whether an attempt failed unless the answer itself identifies
that non-failure question, applies its standard, and reaches its conclusion there or by
an explicit, unambiguous cross-reference.
- Do not supply a missing premise, causal link, comparison, or conclusion. Irrelevant or
misplaced exposition does not repair a missing application.
- A bare conclusion, definition without application, list of facts, or incomplete chosen
examination path fails. Equivalent terminology and valid alternative structure pass.
## Content verdict
- The criterion text is the only substantive standard. Apply its PASS and FAIL conditions
and do not add requirements it does not state.
- Work in two steps. First locate the passage where the answer examines the criterion's
own question: the same person, object, claim or offence, the same provision or
fundamental right, and the same examination station. Then decide on that passage.
- Take the result and its reasons from that passage. Do not combine a result stated in
one place with reasons given elsewhere for a different provision, right, claim, person,
or station, even if the same doctrinal term appears there (the same term, such as an aim, an intent, or a duty, discussed for another right, offence, or claim). If the
answer does not examine the criterion's question anywhere, the criterion is not met;
passages on other questions neither prove nor disprove it.
- Accept equivalent legal wording, synonyms, and a valid alternative structure unless the
criterion requires a particular form or location. Exact wording rarely matters.
- A PASS component is met when the answer states it expressly or when the answer's
explanations on this question make it clear, for example because the answer establishes
something stronger that necessarily includes it (an actual effect that the answer establishes includes the mere possibility of that effect). It is not met when the answer never takes a step the criterion
requires, such as a prerequisite or the exclusion of an alternative, even if the
answer's result is consistent with that step.
- A FAIL condition describing a legal position applies only when the answer adopts that
position as its rule.
- A named fact-pattern variant, hypothetical, or subpart (for example, the base case
versus a modification) is part of scope. If the answer expressly assigns its reasoning
to a different named variant than the criterion, set `same_scope` to false and return
content `fail`, unless the answer explicitly and unambiguously cross-applies that
reasoning to the required variant. Do not fail solely because the answer omits the
variant label when its surrounding context still unambiguously addresses the required
variant.
- Facts or intent discussed for one offence or station do not establish the subjective
element of a distinct preparatory offence or other station unless the answer expressly
assigns them there or makes an unambiguous cross-reference.
- A heading, issue statement, bare result, or nearby mention does not prove that a required
rule, application, or argument was performed.
- Evaluate the reason actually given. A materially wrong provision, doctrine, station,
person, object, or invented material fact fails when incompatible with the criterion.
- When the criterion asks for a reason ("weil", "because"), a correct result at the
correct place with a tenable, shorter reason suffices; it need not repeat the
criterion's reason. Naming only the result or the statutory label is not a reason.
- Split the PASS side into mandatory components. Return pass when each is met expressly
or clearly from the answer's explanations and no FAIL condition applies. Return fail
when a component is missing, materially wrong, examined only under a different
question, or only possibly intended.
## Task
Title: {task_title}
Instructions:
{task_instructions}
## Agent Answer
{agent_output}
## Source documents (context only - the answer is not required to repeat them)
{criterion_sources}
## Criterion
{criterion_title}
{match_criteria}
Respond with JSON only, with the fields in exactly this order:
{{
"style": {{
"evidence": ["shortest continuous quotes showing or failing to show the reasoning form"],
"method_checks": {{
"same_scope": true,
"criterion_specific_premise": true,
"explicit_fact_link": true,
"completed_path": true,
"not_reconstructed_elsewhere": true
}},
"reasoning": "Brief style explanation in the language of the criterion",
"verdict": "pass" | "fail"
}},
"content": {{
"evidence": ["shortest verbatim quotes supporting the content verdict"],
"component_checks": [
{{"requirement": "one mandatory PASS component", "satisfied": true, "basis": "express" | "implied" | "absent"}}
],
"scope_check": {{
"criterion_scope": "required person/object and legal issue/station",
"evidence_scope": "person/object and legal issue/station actually addressed",
"same_scope": true
}},
"stated_reason_check": {{
"answer_reason": "the legal reason actually stated, or 'none'",
"legally_compatible": true
}},
"reasoning": "Brief content explanation in the language of the criterion",
"verdict": "pass" | "fail"
}}
}}
The rubrics can score any answer to a benchmark case, including answers produced outside our harness. The repository contains the complete evaluation code. After cloning it and configuring API access, a single command judges an answer file against the rubric of a task:
env/bin/python -m evaluation.run <task-dir> <answer-file> --judge-committee configs/judge-committee-luna6-deepseek41-gemini38-tiebreaker.json --committee-tiebreaker --style-evaluation --judge-prompt-version v4
The command reports the verdict, the quoted evidence, and the reasoning for every criterion, together with the aggregated content and style scores. The repository README documents the configuration options.
A legal agent consists of a LLM model, an agent harness that manages the interaction of the model with tools, and tools such as Web search or a search tool tool for legal databases. We measure the performance of the following LLMs and legal agents using the MaLAB benchmark:
GPT-6 Astra and Claude Opus 5.5 run with high reasoning effort in the agent their vendor built for them, with shell access and external tools disabled. Apart from the web configuration and the desktop agents, no system may use external sources.
* The desktop agents are not controlled benchmark configurations. We cannot switch off their web search or fix their tools, and we cannot block websites for them. Each case runs in a fresh session with the same prompt as the Codex web configuration, which asks the agent not to use the source journal and to list every source it used. We checked these source lists for each case: no answer drew on a published solution of the case.
You are solving one LAB-EU legal benchmark task in a single response.
Current date: {today}
You may use only the material below. Do not use external legal sources or search.
Task id:
{task_id}
Task title:
{title}
Work type:
{work_type}
Task instructions:
{instructions}
Documents:
{documents}
Write the complete deliverable now, as Markdown. Your entire response will be saved verbatim as the file "{deliverable}" and evaluated as the final legal work product. Do not include any preamble, meta commentary about your approach, or closing remarks - only the document itself.
Write in the same language as the task instructions and documents, unless the instructions require a different language. The deliverable must be a complete, self-contained legal document. Use the legal reasoning style required by the task. For German case solutions, use Gutachtenstil. Where the supplied materials present a question as settled by controlling high-court case law, follow that current case-law path. Cite the provisions you rely on precisely.
You are solving one LAB-EU legal benchmark task.
Current date: {today}
You may use only files in this workspace. Do not use external legal sources,
internet search, hidden benchmark files, or files outside this workspace.
Task id:
{task_id}
Task title:
{title}
Work type:
{work_type}
Task instructions:
{instructions}
Available documents:
{docs}
Required deliverables:
{deliverables}
Write the final answer as Markdown. Save exactly the required deliverable filename(s) in the workspace root.
Write the deliverable in the same language as the task instructions and documents, unless the instructions require a different language.
The deliverable must be a complete, self-contained legal document: a reader must be able to follow the full reasoning without access to your notes or intermediate output. Use the legal reasoning style required by the task. For German case solutions, use Gutachtenstil. Where the supplied materials present a question as settled by controlling high-court case law, follow that current case-law path. Cite the provisions you rely on precisely.
Feel free to create any notes as you see fit. However only the required deliverable file(s) will be evaluated.
| Harness | Model | Content overall | Δ to best | Public law | Criminal law | Civil law | Style |
|---|---|---|---|---|---|---|---|
| Single call | gpt-5.6-sol | 72.2 | −12.9 | 73.2 | 73.8 | 69.7 | 78.0 |
| gpt-5.6-terra | 61.9 | −23.2 | 68.2 | 60.2 | 57.4 | 67.5 | |
| deepseek-v4-pro | 46.4 | −38.7 | 53.8 | 42.6 | 42.8 | 52.1 | |
| OpenCode | gpt-5.6-sol | 74.7 | −10.4 | 77.2 | 74.6 | 72.4 | 79.3 |
| gpt-5.6-terra | 58.2 | −26.9 | 64.7 | 53.1 | 56.8 | 63.9 | |
| deepseek-v4-proa | 53.2 | −32.0 | 59.3 | 50.6 | 50.2 | 59.1 | |
| Codex CLI | gpt-5.6-sol | 72.9 | −12.3 | 76.1 | 73.6 | 68.9 | 78.0 |
| gpt-5.6-sol + web searchb | 75.9 | −9.2 | 79.6 | 76.0 | 72.1 | 79.4 | |
| GPT-6 Astra | 82.7 | −2.4 | 80.2 | 85.3 | 82.7 | 86.2 | |
| Claude Code | Claude Opus 5.5 | 85.1 | – | 86.3 | 83.6 | 85.5 | 87.1 |
| Desktop agents, as delivered to users* | |||||||
| Claude Cowork | Claude Opus 5.5 (medium) + web search | 82.0 | −3.1 | 83.8 | 81.5 | 80.8 | 84.6 |
| ChatGPT Work | GPT-6.2 Astra (high) + web search | 85.4 | +0.3 | 83.6 | 87.7 | 84.9 | 88.1 |
Among the ten benchmark systems, Claude Opus 5.5 and GPT-6 Astra reach the highest scores. Each system answered each case once. We therefore describe differences of a few points between two systems as about the same level and do not rank them. Claude Opus 5.5 in Claude Code reaches 85.1 and has the highest or shared highest score of the ten systems in 32 of 45 cases. GPT-6 Astra in Codex CLI reaches 82.7, about the same level. All other benchmark systems score at least 9.2 points below Claude Opus 5.5. Both score higher without web access than gpt-5.6-sol with web access (75.9). Claude Opus 5.5 fails about one criterion in seven and stays below 80 in 12 cases.
Claude Opus 5.5 scores higher than GPT-6 Astra in public law. In public law, Claude Opus 5.5 scores 6.1 points above GPT-6 Astra and is ahead in 12 of 15 cases. It passes more application criteria (86 versus 81 percent) and more argumentation criteria (75 versus 66 percent). In civil law (2.8 points in favour of Claude Opus 5.5) and criminal law (1.7 points in favour of GPT-6 Astra) the two are at about the same level. The second examination shows the same gap in public law (see below).
The effect of the OpenCode harness depends on the model. In OpenCode, deepseek-v4-pro gains 6.8 points over its single call. gpt-5.6-sol (2.5 points higher) and gpt-5.6-terra (3.7 points lower) stay at about the same level. The harness lets a model draft and revise its answer over several steps.
Web access raises scores on legal tests and argumentation. With web search, Codex with gpt-5.6-sol scores 3.0 points higher overall, about the same level. The gain is larger on criteria for the legal test or definition (9.8 points) and on argumentation criteria (9.4 points), which ask for reasons in disputed questions. Over the 45 cases it issued 1,193 search queries and mainly read statute texts on gesetze-im-internet.de and decisions of the federal courts.
Web agents find published solutions. In some cases Codex searched with details of the facts and found the published reference solution, and these answers scored 94 to 100. We blocked the sites and reran these cases. In the reported numbers, no agent found a reference solution.
The Second State Examination is the part of MaLAB that goes beyond existing German benchmarks such as BenGER, which use cases at the level of the First State Examination. Its 45 cases ask for the documents a judge, public prosecutor or lawyer drafts from a case file, often two or three per case (see Tasks). The rubrics and the graded answers are not public, so no system can have been tuned on them.
| Harness | Model | Content overall | Δ to best | Public law content | Public law style | Civil law content | Civil law style | Criminal law content | Criminal law style |
|---|---|---|---|---|---|---|---|---|---|
| Single call | gpt-5.6-sol | 64.4 | −18.6 | 59.0 | 64.1 | 67.3 | 76.1 | 66.8 | 75.2 |
| gpt-5.6-terra | 53.9 | −29.0 | 50.8 | 58.0 | 60.0 | 64.1 | 50.9 | 63.9 | |
| deepseek-v4-pro | 40.1 | −42.9 | 43.3 | 50.7 | 47.4 | 58.2 | 29.6 | 42.4 | |
| OpenCode | gpt-5.6-sol | 71.1 | −11.9 | 69.8 | 74.2 | 72.1 | 76.5 | 71.4 | 80.7 |
| gpt-5.6-terra | 53.5 | −29.4 | 51.4 | 58.4 | 60.2 | 68.4 | 49.0 | 60.6 | |
| deepseek-v4-pro | 50.8 | −32.1 | 51.4 | 59.1 | 57.3 | 70.5 | 43.8 | 60.9 | |
| Codex CLI | gpt-5.6-sol | 66.8 | −16.2 | 64.0 | 69.7 | 70.7 | 79.1 | 65.7 | 75.7 |
| gpt-5.6-sol + web search | 71.7 | −11.3 | 70.4 | 74.0 | 73.8 | 82.5 | 70.8 | 78.8 | |
| GPT-6 Astra | 80.5 | −2.5 | 77.9 | 81.1 | 82.4 | 88.6 | 81.1 | 90.0 | |
| Claude Code | Claude Opus 5.5 | 83.0 | – | 84.0 | 87.2 | 82.9 | 88.6 | 82.0 | 87.8 |
The second examination asks for documents of legal practice, often a judgment or brief together with an auxiliary opinion. All systems handed in every required document.
Claude Opus 5.5 and GPT-6 Astra also reach the highest scores on practice documents. Averaged over the 45 cases, Claude Opus 5.5 reaches 83.0 and GPT-6 Astra 80.5. The next system, Codex with gpt-5.6-sol and web search, reaches 71.7, the single calls 40.1 to 64.4. As in the first examination, these two are the systems that pass more than four in five criteria. Both score about two points lower than in the first examination (85.1 and 82.7), a small difference between two different sets of cases. Overall the two are again at about the same level (2.5 points apart), and the difference comes from public law.
The gap in public law is the same as in the first examination. In public law, Claude Opus 5.5 scores 6.1 points above GPT-6 Astra and is ahead in 13 of 15 cases. In civil and criminal law the two differ by less than one point. The public law cases of the second examination are original Bavarian exam cases and also require Bavarian state law, such as the Bavarian building code. The gap is just as large in the first examination, whose public law cases need no Bavarian law. In criminal law, the style scores of GPT-6 Astra (90.0) and Claude Opus 5.5 (87.8) are at about the same level.
Web access raises the pass rate on argumentation criteria. With web search, Codex with gpt-5.6-sol scores 4.9 points higher overall (3.0 in the first examination). The largest gain is on argumentation criteria, where it passes 69 instead of 53 percent, while conclusions stay at 73 percent. Of the critical criteria (see error analysis) it passes 81 instead of 74 percent. Over the 45 cases it issued 1,504 search queries and mainly read court decisions and statute texts, including Bavarian law. With web access, gpt-5.6-sol stays 8.8 points below GPT-6 Astra without it, so on our cases the choice of model matters more for practice documents than web access.
Style separates the systems most in court decisions and auxiliary opinions. The style check asks whether a passage is written the way the document type requires (see Automated Judging). In court decisions and auxiliary opinions, gpt-5.6-sol as a single call passes it for 64 and 67 percent of the criteria, Claude Opus 5.5 and GPT-6 Astra for 81 to 89 percent. In briefs, letters to clients or authorities, case reports and orders of the public prosecutor, the single call reaches 79 to 84 percent, at most 10 points below the two frontier models. Where a system gets the content of a criterion right, it fails the style check for 3 to 6 percent of these criteria (3.1 percent for GPT-6 Astra, 5.9 percent for the single call). Style failures thus mostly coincide with content failures, where a point is missing or wrong, and rarely concern the form of a correct passage. A court decision has to give the reasons that carry each point of the ruling, and drafts by gpt-5.6-sol need the most rework there.
Cost per case. The systems with higher scores cost more per case. Claude Opus 5.5 costs $1.40 per case and GPT-6 Astra $1.19. Single-call deepseek-v4-pro costs two cents per case and reaches 46.4. Web search triples the cost of Codex with gpt-5.6-sol, from $0.43 to $1.25 per case, for 3.0 more points. Judging one answer costs about $0.21, so judging a full run of 45 cases costs about $9. For comparison, a candidate in the state examination has five hours to write one paper. At an assumed hourly rate of €250 for a lawyer, five hours of work cost €1,250.
No cost figures for Claude Cowork and ChatGPT Work. For the two desktop agents we cannot report a cost per case. Both are paid through a monthly subscription, not per token, and neither app shows how many tokens a task used. Both run the task on the provider's servers and keep no usage record on the user's computer that we could read out.
| Harness | Model | Solver cost per case | All 45 cases | Content score |
|---|---|---|---|---|
| Single call | gpt-5.6-sol | $0.32 | $14 | 72.2 |
| gpt-5.6-terra | $0.16 | $7 | 61.9 | |
| deepseek-v4-pro | $0.02 | $1 | 46.4 | |
| OpenCode | gpt-5.6-sol | $0.71 | $32 | 74.7 |
| gpt-5.6-terra | $0.26 | $12 | 58.2 | |
| deepseek-v4-pro | $0.03 | $1 | 53.2 | |
| Codex CLI | gpt-5.6-sol | $0.43 | $19 | 72.9 |
| gpt-5.6-sol + web search | $1.25 | $56 | 75.9 | |
| GPT-6 Astra | $1.19 | $54 | 82.7 | |
| Claude Code | Claude Opus 5.5 | $1.40 | $63 | 85.1 |
Each criterion is tagged with the function of its step in the solution. The tags are assigned by a separate step of the rubric pipeline (gpt-5.6-sol, prompt tag_criteria) after the criteria are fixed, and they do not change the score. The model chooses one of seven fixed values that follow the steps of the appraisal style: the legal basis (the provision on which the examination rests), the legal test or definition, the application to the facts (Subsumtion), the argumentation in a disputed question, the conclusion, and two values for structure and form. Where several values fit, the criterion receives the dominant one. Of the 1,806 criteria, 20 are tagged as structure or form and are not shown below. The table shows the share of criteria passed per function on the first examination.
| Harness | Model | Legal basis | Legal test / definition | Application to facts | Argumentation | Conclusion | All criteria |
|---|---|---|---|---|---|---|---|
| Single call | gpt-5.6-sol | 73 | 68 | 75 | 54 | 67 | 71 |
| gpt-5.6-terra | 70 | 60 | 64 | 43 | 50 | 60 | |
| deepseek-v4-pro | 55 | 49 | 47 | 27 | 45 | 45 | |
| OpenCode | gpt-5.6-sol | 78 | 70 | 77 | 56 | 68 | 73 |
| gpt-5.6-terra | 75 | 56 | 60 | 37 | 49 | 56 | |
| deepseek-v4-pro | 66 | 48 | 55 | 33 | 49 | 52 | |
| Codex CLI | gpt-5.6-sol | 76 | 66 | 75 | 56 | 67 | 71 |
| gpt-5.6-sol + web search | 81 | 75 | 76 | 65 | 67 | 74 | |
| GPT-6 Astra | 90 | 76 | 85 | 67 | 79 | 82 | |
| Claude Code | Claude Opus 5.5 | 90 | 80 | 86 | 74 | 78 | 84 |
Argumentation is the step with the lowest pass rate for all ten systems. Argumentation criteria ask the answer to recognize a disputed question and to decide it with reasons. Every system passes fewer of them than of any other step. The systems also differ more on this step than on any other: 47 points lie between the highest and the lowest pass rate, compared with 32 to 39 points on the other steps. Claude Opus 5.5 and GPT-6 Astra are within one point of each other on legal basis, application and conclusion, and their largest difference is on argumentation (74 and 67 percent of 235 criteria).
Most failed criteria are application criteria. Two of three criteria concern the application to the facts (1,217 of 1,786). The pass rate on this step is higher than on argumentation, but because the step is so large, more than half of the failed criteria of every system belong to it. Claude Opus 5.5 fails about 170 application criteria and about 60 argumentation criteria. The overall score therefore depends mostly on how a system applies the law to the facts of the case.
Web search changes the legal test and the argumentation, and leaves the application unchanged. With web access, Codex with gpt-5.6-sol passes 9 points more of the criteria on the legal test (102 criteria) and 9 points more of the argumentation criteria (235 criteria). On the application to the facts it passes 76 instead of 75 percent. As application makes up two thirds of the criteria, the pass rate over all criteria rises by 3 points.
Failure patterns in one case. A detailed reading of the argumentation failures in one civil law case (“Die falsche Gisela”) shows five patterns: the disputed question is not raised at all (33 percent), the weighing is incomplete (25 percent), the answer reaches a conclusion the reference solution does not support (19 percent), the expected result is given without the required reason (18 percent), or the right argument is made at the wrong place (4 percent). The shares describe this one case.
The tagging step also rates every criterion by its importance for the case, on three levels:
Of the 1,806 criteria, 238 are critical, 986 medium and 582 minor. An average case thus has 5.3 critical, 21.9 medium and 12.9 minor criteria. Because the levels differ this much in size, the chart does not count errors but shows, for each level, the share of its criteria that a system fails.
Critical criteria are failed about as often as medium criteria. Every system fails minor criteria most often. Critical criteria are failed about as often as medium ones, at most eight points more. Claude Opus 5.5 fails 20 percent of the minor, 14 percent of the medium and 16 percent of the critical criteria. Per case these are 0.9 of 5.3 critical criteria, about one in six. The levels were assigned by a model and have not yet been validated by lawyers.
Systems with a higher content score fail fewer criteria at every level. From single-call deepseek-v4-pro to Claude Opus 5.5, the share of failed critical criteria falls from 58 to 16 percent, of medium criteria from 54 to 14 percent and of minor criteria from 58 to 20 percent. On these cases, a higher content score thus goes along with fewer failed critical criteria.
An earlier exploratory model-assisted review selected 218 criteria that no system passed with certainty. The following examples come from this review and were passed on to the legal review.
The exploratory review flags omissions: answers solve the main claim and skip secondary claim bases such as unjust enrichment, tort, or possession claims, although many cases explicitly instruct candidates to address all raised questions, if necessary in an auxiliary opinion.
An early doctrinal error can affect several criteria. The model review flags possible examples for legal assessment. In the civil law case “Ehe und Espresso”, reviewed answers award the spouses co-ownership of a household purchase that the prevailing view denies, and five criteria hang on that turn. In the criminal law case “Grillen mit Hindernissen”, reviewed answers apply § 315 StGB directly and skip § 315e StGB, which costs five criteria at once.
Systems overlook decisive details of the facts. In the criminal law case “Die Reise ins Gericht”, reviewed answers misread the perpetrator's mental image of a witness and produce four follow-up errors from that one misreading. In the commercial law case “Bezahlen für den Porsche der anderen?”, reviewed answers miss that the decisive transaction predates the register entry, the fact that carries the accepted teleological reduction of § 15 Abs. 1 HGB.
Systems reach a defensible-looking result through the wrong test. In the state liability case “Räumungsanspruch und Mietausfallschaden”, the systems deny negligence because the officials lacked actual knowledge, missing the objective standard of § 276 BGB, and three criteria fall with it. In the money laundering case “Finder-Schwindler”, the systems affirm the predicate offences but overlook the additional requirements that the current wording of § 261 Abs. 7 StGB attaches to self-laundering.
These patterns motivate questions about omitted issues, the treatment of follow-on errors, and the connection between case facts and legal conclusions. We are examining these patterns with the final verdicts and input from legal scholars.
The review also identified potential problems in our own evaluation: overly strict criteria, valid alternative paths not covered by the rubric, and evidence attributed to the wrong part of an answer. Candidate corrections and contested decisions are documented for follow-up. Some rubric edits still await re-scoring.
We are very interested in feedback from practitioners, legal scholars, and AI researchers on the MaLAB benchmark. If you have questions about the benchmark or want to provide feedback on the overall design of the benchmark, specific rubrics, or alternative solutions, or if you have run the benchmark yourself and want to share the results of your experiments, please contact Aaron Steiner or open an issue in the GitHub repository.
A paper describing MaLAB is in preparation. Until it is published, please cite this website:
@misc{MaLAB2026,
author = {Steiner, Aaron and Asal, Benedikt and Halkenh{\"a}user, Nico and Behrendt, Svenja and M{\"u}ller-Terpitz, Ralf and Kainer, Friedemann and Bizer, Christian},
title = {{MaLAB}: Mannheim Legal Agent Benchmark (version 0.2)},
year = {2026},
howpublished = {\url{https://wbsg-uni-mannheim.github.io/MaLAB/}},
note = {Work in progress}
}