Research / Engineering Blog / Rules
There is no “the list”: editions as data
A control list is a sequence of publications, and a classification is only true for one of them. How that changes the data model.
People say “the dual-use list” as if it were one text. It is a series of publications. Annex I to Regulation (EU) 2021/821 is replaced roughly once a year, and the lists of other jurisdictions follow their own calendars. A classification made in spring can be wrong in autumn without a single fact about the item having changed.
That observation is easy to agree with and easy to ignore in a schema. We decided early that it had to be impossible to ignore.
An edition is part of every result
In our model there is no result “for a list”. A result names the publication it was computed on:
type Result = {
list: string; // which list
edition: string; // which publication of it
position: string | null;
state: "candidate" | "not listed" | "open";
};Each edition is ingested once from the official text, compiled, and identified by a hash over its tree of positions. Two things follow. The same input always meets the same rules, because an edition is never edited in place: a correction produces a new compiled edition with a new identifier. And a stored record can say exactly what it was checked against, years later.
As of
Because editions carry the date from which they apply, a check can be run for a day in the past:
// Each list is read in the edition in force on that day.
const result = classify(item, { asOf: "2026-03-01" });This is what an auditor actually asks: not “is this item controlled”, but “was it controlled on the day it shipped”.
When a new edition arrives
A new edition does not overwrite anything. Stored records are evaluated again against it, and a record whose result would differ is put in front of a person. It is never changed silently, and the old record stays what it was: evidence of a decision made on the earlier text.
The interesting engineering question is how little has to be looked at. Every decided result has a witness, the small set of facts and conditions it rests on. A change in the law can only affect records whose witness touches a changed position. Making that set exact, with a guarantee that nothing outside it needs review, is one of the open problems we describe in Law, Computed.
One identifier, several texts
Editions differ over time, and lists differ across jurisdictions, even where they share a numbering scheme. We measured that for the EU, UK and US lists in One Regime, Three Texts. The engineering consequence is the same in both directions: an answer is reused only where the text is the same text.
