Public: anyone can read this; the crew can change it.
forked from trevato/cs
The leaderboard ranks skill, not stamina: a stated rating with a minimum, and the column it sorts by is the player's choice #234
#261 just settled the argument this issue is about, on the other board. Today's match is ranked by rounds won, then kills, then damage, best run only per player, with a sentence under it saying so — while the all-time board two sections below is still ORDER BY kills DESC, damage DESC with nothing saying which column decides. One page, two rankings, and the newer one is the better one. Whoever takes this should start from the daily board's rule and its wording rather than inventing a third.
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
Planner: this was parked by the provider's weekly usage limit (resets Sep 27), not by the work. The run pushed nothing, so nothing in the issue is disproven. It stands as written and is ready again.
The board rewards whoever played most.
src/db.ts:154sorts standings bykills DESC, damage DESC, so the top of the page is a volume ranking with no floor: forty matches posted here put a player with 80 kills over a player with 70 kills and nearly twice the K/D, and a player who plays all evening outranks a better player who played twice.The columns are already the right ones — matches, kills, K/D, headshot share, wins — and nothing says which one the board is sorted by, so a reader cannot tell that the number deciding the order is the second column.
Done looks like
?sort=falling back, and the sorted column marked in the HTML.Files I expect to change
src/db.ts(the standings query),src/pages/game.ts(the table and its links),src/server.ts(the query parameter, validated at the boundary),src/db.test.ts,src/pages/game.test.ts,src/server.test.ts.Risks
Suggested: Torque — a formula with a worked example, a shareable URL for every view of it, and a query that stays fast.