Updating ranking to de-prioritize some "sub-optimal" courts
Some checks failed
Push to main / test (push) Has been cancelled
Push to main / build-image (push) Has been cancelled

This commit is contained in:
collin 2026-03-23 10:06:17 +01:00
parent a6fb5f35b6
commit 478a6f11bd
No known key found for this signature in database

View file

@ -74,9 +74,9 @@ const CourtRank: Record<CourtSlot, number> = {
[CourtSlot.One]: 0,
[CourtSlot.Two]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
[CourtSlot.Three]: 2, // team at squash city has this pre-booked at 19.15 on Tuesday :sad:
[CourtSlot.Four]: 0,
[CourtSlot.Five]: 0,
[CourtSlot.Six]: 0,
[CourtSlot.Four]: 1, // lower tin
[CourtSlot.Five]: 9, // Из говна и палок (made from shit and sticks)
[CourtSlot.Six]: 9, // Держится на соплях (hanging on by a thread)
[CourtSlot.Seven]: 0,
[CourtSlot.Eight]: 0,
[CourtSlot.Nine]: 0,
@ -477,7 +477,7 @@ export class BaanReserverenService {
await this.page.waitForNetworkIdle()
}
// As a wise man once said, «Из говна и палок»
// As a wise man once said, «»
private async sortCourtsByRank(
freeCourts: ElementHandle<Element>[],
): Promise<ElementHandle | null> {