From 7f80ae3ce313e21ddd33642a4000b5e3c0354843 Mon Sep 17 00:00:00 2001 From: jan-kubica Date: Sun, 30 Aug 2026 21:19:16 +0200 Subject: [PATCH] fix: keep time-dependent oracle survey-only --- scripts/oracle.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/oracle.ts b/scripts/oracle.ts index 9dce8cf..92cdffa 100644 --- a/scripts/oracle.ts +++ b/scripts/oracle.ts @@ -1217,6 +1217,11 @@ const SURVEY_ONLY_ENTRIES = new Set([ "stdnum-js:is_.kennitala", "stdnum-js:ie.pps", "stdnum-js:se.personnummer", + // stdnum-js rejects birth dates after the current + // wall-clock date. Our deterministic component + // validation and python-stdnum accept every valid + // calendar date, so this is not an equivalent gate. + "stdnum-js:no.fodselsnummer", // stdnum-js validatePerson("NL", ...) also runs the // Onderwijsnummer validator, so it accepts values // that are not valid BSNs.