mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-11 21:26:44 +00:00
The check filters languages on targets(), which proves the engine renders into a language, not that it reads out of it. The round trip then asks for exactly that unproven direction, and LibreTranslate answers 200 with the request body when it holds no model for a pair. overlap() then measures an English source against untranslated target text. WORD matches any word character under re.UNICODE, so a Chinese answer yields Chinese words, the two sets never meet and a correct translation scores 0.00. Twelve samples across az, ja, uk, ur and zh failed this way; the zh one is byte-identical to the msgstr stored in locale/zh/LC_MESSAGES/core.po. A sample whose answer equals what was sent is dropped and counted, and the count is reported, so the missing pair stays visible instead of being swallowed. A translation the engine can carry back and which still drifts is scored as before. test-external passes with this. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
External Tests 🌐
See external.md for the
SPOT: scope, live-dependency rules, and make test-external usage.