feat: remove rank «рекрут» from rank lists (v2.6.10)#43
Merged
Conversation
The rank «рекрут» is no longer part of the recognized/masking rank set: removed from RANK_DECLENSIONS and ARMY_RANKS (rank_data.py), from the army regex in RANK_PATTERNS (masking/constants.py) and its copy in modules/tools.py, and from README rank tables and examples. Note: hierarchy shift changes deterministic mask choices for adjacent low ranks vs <=2.6.9; unmasking old files is unaffected (mapping-based). https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Що зроблено
Звання «рекрут» повністю прибрано зі списків звань:
rank_data.py— запис уRANK_DECLENSIONS(4 відмінкові форми) та елементARMY_RANKS, коментар-прикладmasking/constants.py— army-regex уRANK_PATTERNSmodules/tools.py— локальна копія army-regexdocs/README.md/docs/README_UK.md— таблиці звань (31 замість 32) та приклад маскування («Рекруту у відставці» → «Рядовому у відставці»)Версія 2.6.10, запис у CHANGELOG.
Примітка
Видалення «рекрут» з ієрархії зсуває детермінований вибір маски для сусідніх нижчих звань — той самий текст може маскувати звання інакше, ніж у ≤2.6.9. Розмаскування старих файлів не зачеплено: воно йде через mapping JSON, а не ієрархію.
Тести
461 passed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
Generated by Claude Code