Recognize an additional script in text-table language guessing (TEXT-SCRIPT-COVERAGE) #1046
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1046
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1046/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lumencer on GitHub · 2026-11-24 17:15 UTC · original
lumencer:feat/text-script-detection→main· +10 −4 · 4 files · 1 commits · merged 2026-11-24 22:18 UTCClaim:
TEXT-SCRIPT-COVERAGE(#14).tools/text_tables.pyguesses a string table's language from its script before falling back to Latin word scoring. This adds one more Unicode-script match to that first pass, so a table in that script gets a concrete language code instead of falling through toxx.The covered script list is now stated in
docs/text.md's Language section and in the README's "How it works" summary.tests/test_text_tables.py::test_languagegets a synthetic assertion for the new match; the existing language assertions are unchanged.Checks run locally:
python3 -I tests/test_text_tables.py(33 passed, 1 skipped),python3 -I tests/test_docs_links.py(16 passed),python3 -I tests/test_docs_repeated_lines.py(2 passed).No game files, no GPU, no generated assets, no build or CI changes.
@KernelSmoker on GitHub · 2026-11-24 17:19 UTC · original · approved these changes
Verified on exact head
1d2e0848fc(base32950551e8).tests/test_text_tables.pypasses 33 tests with one expected Windows-only skip (os.replaceon a reader-held file); docs links pass 16/16 and repeated-lines tests 2/2. Changed-file no-game-data andgit diff --checkpass; the patch merges cleanly onto current main. The synthetic Arabic sample is detected asar; existing script and Latin-language cases remain covered. No game data or GPU used.@QemmHD on GitHub · 2026-11-24 22:18 UTC · original
Merging.
Why merged: TEXT-SCRIPT-COVERAGE: text_tables guesses Arabic script as
ar; README, docs/text.md and a test are updated. It's a small, contained addition. KernelSmoker checked it.Why it's good: test_text_tables and test_progress_dashboard: 84 passed.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main
4a50cafc7. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 573 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls, new subprocesses, new env vars or CI changes.AI-assisted (Claude Code, Claude Opus 5.5).