feat(range): add effective stack, extended positions, and defense actions - #59
Merged
Conversation
…ions - Add effective_stack_bb field to Range (50, 100, 30, 20, 19, 18, 17, ..., 5 BB) - Extend Position enum with UTG+1, LJ, HJ - Add new ActionType values: DEFENSE, DEFENSE_3BET, DEFENSE_4BET - Update SQLAlchemy models and adapters - Update TypeScript types and frontend components - Add comprehensive unit tests for new features Closes # Co-authored-by: polmichel <polmichel@users.noreply.github.com>
polmichel
marked this pull request as ready for review
August 19, 2026 21:34
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.
Summary
Ajout des caractéristiques demandées pour les ranges :
✨ Nouveautés
📁 Changements
Backend (Python)
action.py: Ajout des nouvelles actionsposition.py: Ajout des nouvelles positionsrange.py: Ajout du champeffective_stack_bbeffective_stack.py: Nouveau module pour gérer les stacks effectifsmodels.py: Mise à jour du schéma SQLAlchemyranges.py: Mise à jour de l'adaptateurFrontend (TypeScript/React)
types/index.ts: Types mis à jourconstants.ts: Constantes et couleurs ajoutéesRangeForm.tsx: Sélecteur de stack effectifRangeStats.tsx: Affichage du stack dans les statistiquesRangeView.tsx: Affichage du stack dans la vue détailléehelpers.ts: Fonction calculateRangeStats mise à jour✅ Vérifications