Skip to content

feat(ranges): my ranges, adherence, quiz and spaced review - #85

Merged
florentvdry merged 13 commits into
mainfrom
feat/user-ranges
Nov 15, 2026
Merged

florentvdry merged 13 commits into
mainfrom
feat/user-ranges

Conversation

@florentvdry

@florentvdry florentvdry commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

What changed

"My ranges": build your own preflop ranges, see how well you follow them on real hands, then practise.

  • Editor: scenarios as a collapsible menu with a 3-player / heads-up switch, depths, your own actions and colours, onboarding tour with Spin & Go example ranges.
  • Overview: every range at a glance, by situation and depth.
  • Respect de ta range: fish / regular split, breakdown by position and by range, hover card on the grid (planned vs played), follows the global date filter, blocking loading state.
  • Training and review: quiz sources (scenario, program, deviations) and a spaced review.
  • Export / import: pick the situations and depths to export (native save dialog); import replaces or merges.
  • Fix: an all-in call is a call, not a shove, and hands with less than one big blind have no decision.

Why

Players keep their ranges in spreadsheets. This brings them next to the hands they play, without telling them what to play: a deviation means "not what you planned", never "a mistake".

How it was tested

  • cargo test -p spintracker-core: 291 passed
  • npm run frontend:test: 227 passed
  • npm run frontend:build, cargo check -p spintracker: ok
  • Run on a real 80k-hand database. Not timed on an 800k-hand history: the first adherence computation after the update recomputes every hand once.

SpinTracker ships no ranges of its own; the tour offers example files the user chooses to import. A new migration adds hand_range_checks.vs_reg and clears that derived table (it is recomputed on demand).

🤖 Generated with Claude Code

florentvdry and others added 13 commits November 14, 2026 14:29
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… sources

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A call that puts the whole stack in was read as a shove, so a planned
call was reported as a deviation and an opponent's all-in call changed
the line of the hand. It now stays a call, and counts as the planned
all-in when the range asks for one. Hands where the blinds already put
the hero all-in (under one big blind) have no decision and are skipped.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Respect report: fish/regular split, position and per-range breakdown,
  follows the global date filter, blocking loading and error states.
- Hover card on the deviation grid: planned action, followed count and
  what was played instead.
- Overview tab listing every range by situation and depth.
- Export lets you pick the situations and depths to put in the file,
  saved through a native dialog (the webview cannot download blobs).
- Import and export moved next to the help button; scenario list as a
  collapsible menu with a 3-player / heads-up switch.
- Onboarding tour with Spin & Go example ranges.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@florentvdry
florentvdry merged commit 3e38b33 into main Nov 15, 2026
2 checks passed
@florentvdry
florentvdry deleted the feat/user-ranges branch November 17, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant