claude-memory/graph/fixes/fix-dashboard-position-coverage-only-counted-pos-1-not-all-p-6d3627.md
2026-02-28 12:10:06 -06:00

1.2 KiB

id type title tags importance confidence created updated relations
6d3627c4-5aa1-47f0-a85f-34fe3ea685ac fix Fix: Dashboard position coverage only counted pos_1, not all positions
sba-scout
rust
dashboard
positions
bug-fix
0.55 0.8 2026-02-28T18:09:34.355896+00:00 2026-02-28T18:10:06.851656+00:00
target type direction strength edge_id
5c11485a-c808-41b6-8576-a8a388b5be1e RELATED_TO incoming 0.7 626fd39b-2fbf-42cc-8131-15e1bc71f492
target type direction strength edge_id
0df0e075-ae86-4208-b08d-a02bb5fa2278 RELATED_TO incoming 0.75 bd644f41-70ec-46b5-bde9-ab32e800315e

Fix: Dashboard position coverage only counted pos_1, not all positions

Problem

Position coverage calculation in the dashboard only iterated player.pos_1 for each player, missing multi-position eligibility (e.g. a player with 2B/3B/SS eligibility was only counted in pos_1).

Fix

Changed to use the existing Player::positions() helper method (defined in db/models.rs) which iterates all 8 position fields (pos_1 through pos_8). Now a player with 2B/3B/SS eligibility is counted once in each eligible position bucket.

Committed

Commit a033a28.