From 723e528062a1761616a150a11d7e29ec33aabfca Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 14 Nov 2026 10:04:48 +0800 Subject: [PATCH] fix(py): update the un-bul api vector to the reissued 1977 rows test_transliterate_known_vector asserted "nos Byaga BYAGA" - the yu/ya values of the superseding current system, predating the map's reissue (the 1977 system romanizes ya/JA as ja/Ja; the map's own embedded tests pin ju/ja/Ju). The bundled IR refresh (#846) surfaced the mismatch. Runtime output matches the map; the test data was stale. TDD: red on clean origin/main ("Bjaga" != "Byaga"), green after. --- interscript-py/tests/test_api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interscript-py/tests/test_api.py b/interscript-py/tests/test_api.py index 90066fa4..abac3a54 100644 --- a/interscript-py/tests/test_api.py +++ b/interscript-py/tests/test_api.py @@ -9,8 +9,10 @@ def test_transliterate_known_vector(runtime): - # From the map's own embedded tests block (un-bul-Cyrl-Latn-1977). - assert runtime.transliterate("un-bul-Cyrl-Latn-1977", "нос Бяга БЯГА") == "nos Byaga BYAGA" + # From the map's own embedded tests block (un-bul-Cyrl-Latn-1977): + # the 1977 system romanizes я/Я as ja/Ja (the map was reissued from + # the yu/ya values of the superseding current system). + assert runtime.transliterate("un-bul-Cyrl-Latn-1977", "нос Бяга БЯГА") == "nos Bjaga BJAGA" def test_transliterate_module_level(artifact_dir):