Short overview of RegelRecht's execution-first validation method and the generate/validate/reverse-check loop.
RegelRecht uses an execution-first approach to validate machine-readable law interpretations. This page is a short overview; for the research background and the full argument, see RegelRecht Validation: From Analysis-First to Execution-First.
Traditional approaches analyze law text extensively before writing any code. RegelRecht inverts this:
Execution surfaces errors immediately, without waiting for a lengthy analysis to finish. Test cases from the Memorie van Toelichting (MvT) provide ground truth, so each cycle improves the interpretation on the basis of actual results. After generation, every element is checked against the source text to catch hallucinated logic.
Create machine_readable sections for law articles, defining inputs, outputs, and operations.
Every element in the machine-readable interpretation is traced back to the original legal text. Any logic that cannot be grounded in the law is flagged as potentially hallucinated.
The MvT is the explanatory memorandum that accompanies Dutch legislation. It contains:
These examples are the primary test cases for machine-readable interpretations.
An exploration by Bureau Architectuur of the Dutch Ministry of Economic Affairs and Climate Policy into the possibilities of transparent, executable legislation.
GitHub repository
How it works
Stay informed
Documentation
Research
Bureau Architectuur
Ministry of Economic Affairs and Climate Policy