From 478a6f11bd2d1b34a730141e6ba24f2c3b152a96 Mon Sep 17 00:00:00 2001 From: collin Date: Mon, 23 Mar 2026 10:06:17 +0100 Subject: [PATCH] Updating ranking to de-prioritize some "sub-optimal" courts --- src/runner/baanreserveren/service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/runner/baanreserveren/service.ts b/src/runner/baanreserveren/service.ts index 91b0264..526f5cd 100644 --- a/src/runner/baanreserveren/service.ts +++ b/src/runner/baanreserveren/service.ts @@ -74,9 +74,9 @@ const CourtRank: Record = { [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[], ): Promise {