test(i18n): ratchet down — five locales now must stay complete

The ceilings drop as the debt is paid: 429 -> 344 keys, and ar/es/fr/pt/ru
reached zero.

Those five are REMOVED from the DEBT map rather than set to 0. The gate already
treats a locale with no entry as "must be complete", so deletion is what
converts a finished translation into a permanent guarantee — setting 0 would
read the same but leaves a line inviting someone to raise it.

Confirmed the guarantee works before relying on it: deleting one Spanish key
reports "es is missing 1/176 key(s) and has no DEBT entry" rather than passing.
This commit is contained in:
doxa-maps-88655c70 2026-09-24 05:53:03 +00:00
parent 986b83ee77
commit 8cef804bae

View file

@ -50,8 +50,11 @@ const areas = readdirSync(join(ROOT, 'en')).filter((f) => f.endsWith('.json'))
// gets WORSE, and prints a nudge when one gets better so the ceiling can be
// lowered. That makes drift impossible while leaving the backlog as backlog.
// Lower a number whenever you translate something; never raise one.
// ar/es/fr/pt/ru reached ZERO on 2026-09-24 and are DELIBERATELY ABSENT from this
// map: a locale with no entry must be complete, so those five can never silently
// regress. Only the four still carrying debt are listed.
const DEBT = {
ar: 10, de: 30, es: 10, fr: 6, hi: 50, it: 101, pt: 10, ro: 101, ru: 10, zh: 101,
de: 22, hi: 40, it: 94, ro: 94, zh: 94,
}
const fails = []