Official text, compiled into rules a machine can run.
Footage: Brian McNeil, CC BY 3.0, cropped and slowed
We read law the way a compiler reads source code. A provision is split into its elements, thresholds, exceptions and references. What comes out is a rule a machine can run and a lawyer can read.
- consequence
- …
- element · act
- …
- element · object
- …
- reference
- …
- outcomes
- met · not met · unknown
- wording sha-256
- computing…
The sentence is the official wording of Article 3(1) of Regulation (EU) 2021/821. The fingerprint is its SHA-256, computed in your browser. The record beside it illustrates the format of a rule; it is not the rule in production.
Three outcomes
Met, not met, unknown. Unknown never quietly becomes met.
Set a fact to unknown and watch what the rule does with it.
unknown
A fact is missing. The answer stays open and the missing fact becomes a question. It is not read as a pass.
How a rule is made
Read by a model, released by a person, tied to the wording it came from.
- /0.1
A person releases each rule.
A language model may suggest the structure of a provision. A legal engineer checks it against the wording and releases it. The rule names who did.
Today
- /0.2
Compiled when its tests pass.
A rule comes with cases it has to decide. It is compiled into the rule set once those cases give the expected outcomes.
Today
- /0.3
Tied to the wording.
Each rule carries the fingerprint of the official wording it was read from and the date it applies from. When the wording changes, the rule is due.
Today
- /0.4
Versions you can read.
Rule sets are versioned. Between two versions there is a diff a lawyer can read: which provision, which element, what changed.
In pilot
- /0.5
An open format.
The schema of a rule is to be published, so that an authority or a standards body can read a rule without our software.
Planned
- /0.6
Three outcomes, not two.
Met, not met, unknown. A missing fact gives unknown and a question to answer. It does not give a pass.
Today
