Skip to content

Building a benchmark with the people who do the work

Before we train anything, domain experts write the questions. What that process looks like inside a Dutch law firm.

Try Le Lion

The benchmark in brief

Written by practitioners. Graded on sources.

1stExperts write, then we train
3Clause · facts · question
1Rule: cite the text
NLA Dutch law firm

01 · Why practitioners

A test that looks like the job

Most legal benchmarks are built from exam questions. A practising lawyer does not work from exam questions: they work from a contract, a set of facts and a client who needs an answer.

So we asked the lawyers of a Dutch law firm to write the questions themselves, from the kind of cases they handle, anonymised.

Each question comes with the answer they expect and the text it must rest on.

How it works

Two lawyers per question. One way to pass.

The path of a question
A real caseAnonymised
Lawyer AWrites question and answer
Lawyer BReads it again
The modelAnswers, then is graded
The grading rule
Citation holdsCitation failsCorrectPassFailWrongFailFail

Diagram of the process described in this note.

One question, as written

Clause“Either Party may terminate the Agreement at any time with three months’ notice.”
FactsExclusive relationship since 2020; the distributor makes 64% of its turnover with the supplier.
QuestionIs three months’ notice sufficient?
ExpectedAn answer that cites the applicable article of the Dutch Civil Code.

Illustrative example.

02 · How a question is made

Four steps, two lawyers.

  1. IA real caseTaken from practice, anonymised.
  2. IIQuestion and answerThe expected answer and its source, written by the lawyer.
  3. IIISecond readingAnother lawyer checks the question and the answer.
  4. IVGradingIs it correct, and does the citation hold?

Exam vs practice

Not the question a student gets. The one a client brings.

An exam question“Define the rules on termination of commercial contracts.”
  • Abstract
  • No facts
  • Answerable from a textbook
A practitioner’s question“Six years of exclusivity, three months’ notice: does it hold?”
  • A real clause
  • Specific facts
  • An answer that must cite its source

Illustrative contrast between the two kinds of question.

In our words

“The citations hold. That is the only test that counts here.”
Mohamad AlhajarPartner, law firm, Amsterdam

03 · Why it matters

The test that decides what we ship

Every version of Le Lion is graded on this benchmark before it reaches a lawyer.

If a citation does not hold, the version does not ship.

Le LionTry it →APIAPI reference →

Read next

All notes →

Winning OpenAI's privacy hackathon at Station F

Dispatches

Why a 14B model beats a frontier model on French business law

Benchmarks

Citation is not a feature, it is the whole product

Evaluation

What should your model do?

contact@legml.ai