{"id":"leaderboard-dual-index-consistency","text":"Every mutation in `Leaderboard` must update both `_entries` (SortedList) and `_players` (dict) atomically; a desync between them is a correctness bug that surfaces as `ValueError` on the next operation","truth_value":"IN","source":"entries/2026/06/05/realtime-gaming-leaderboard-leaderboard.md","source_url":"","source_hash":"","justifications":[],"dependents":["multi-structure-sync-invariant"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"leaderboard-dual-index-consistency","truth_value":"IN","reason":"premise"}]}}