The leaderboard's rank and its list could be computed from two different grouping rules. An issue asked which rule the rank should follow.

The issue offered three options. The one chosen was to let the rank follow the list's rule. That rule had been settled in an earlier decision about how identity is scoped, and reversing it would have undone that decision. Leaving the two rules apart would have kept them out of agreement. The ranking function follows the same grouping rule as the list.

The existing test that pinned the old ranking was flipped to assert the list order, and a new test covers the reverse case from the issue. The type check and lint passed, and the unit suite passed.

With one rule behind both, a player's number and their place come from the same definition.