Repository navigation
Adding Feature/typed tags for missing game - #118
Merged
Merged
Conversation
Moves game tags from GamesmanUni's gameTags.ts into UWAPI, following Alvaro Estrella's "Game Tagging System and Tag-Based Search" spec with two changes: style/misc tags are typed enums instead of free text, and solve/variant tags are derived instead of hand-entered. - games/tags.py: GameStyle / SolveTag / MiscTag enums, tag derivation, vocabulary, and registry validation. - games/models.py: style/misc tags and supports_mex / supports_draw_analysis capability flags on Game; solved flag on variants (False for the chess and Chinese chess tablebase variants). - games/__init__.py: style/misc tags migrated for 81 games; 10 entries carry TODO(tags) for review. Validation runs at import. - server.py: additive `tags` on / and /<game_id>/, plus /tags/ for the vocabulary, so the current frontend is unaffected. - scripts/check_tags.py, tests/, .github/workflows/tags.yml: the same check at registration, on every PR, and in 10 tests. - docs/tags.md: schema, migration notes and open questions. Deriving solve tags corrects nine games whose tags promised data the backends do not send (e.g. Mancala tagged Win By, Notakto missing Mex). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Ownership split, what's already decided, the open decisions, and the work queue for whoever continues the tagging work. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…/GamesCraftersUWAPI into feature/typed-tags # Conflicts: # docs/tags-handoff.md # games/__init__.py
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.
Registered Dorvon Cag and corrected the solve tags against live backends