Ir al contenido principal
Petanque Life

Draw & Scheduling (Tirage au Sort)

F04.04 14 funcionalidades Planificado

En resumen

Tirage au sort and scheduling engine that generates draws, brackets, poules, and pairings using the right algorithm for each format — Swiss, Monrad, mêlée, super-mêlée, single/double elimination — with court assignment optimization, bye handling, manual adjustments under audit, and re-draws when teams withdraw.

Cómo funciona

The engine ingests the registered field plus tenant rules and produces a draw appropriate to the chosen format. Automatic draw generation is randomized but obeys seeding (top seeds spread across the bracket) and separation rules (same club or same region kept apart in early rounds). Poule composition balances by ranking so each group has a comparable strength sum.

Brackets are generated for single or double elimination, including a consolante for first-round losers. Pairing systems are pluggable: Swiss pairs by similar results without elimination, Monrad (the Scandinavian Swiss variant) pairs by strength after each round, and championnat des clubs / multi-format events use whichever combination the format specifies. For social and mêlée formats, the mêlée draw produces fresh random teams every round, while super-mêlée mixes player levels and rotates partners every round.

Court assignment optimization solves the placement puzzle — minimise unused courts, avoid back-to-back matches on the same court, respect court constraints (closed courts, dimensions, indoor/outdoor) — and schedule generation lays out time slots per round honouring the level's match-time limit and the venue's session windows. Once generated, the draw is published and players are notified through push, email, and in-app channels. Manual adjustments are allowed but every move is captured in an audit trail showing who changed what, when, and why.

Bye management handles odd numbers, distributing byes by lowest seed or random per format rules. When a team withdraws between draw and play, re-draw capabilities recompute affected matches without scrapping the entire schedule — bracket re-seeds the affected quarter, poules absorb the bye, Swiss rounds re-pair from the next round forward.

Capacidades clave

  • Automatic draw with seeding, separation (same club/region), and ranking-balanced poules
  • Bracket generation: single elimination, double elimination, consolante
  • Pairing algorithms: Swiss, Monrad, mêlée random teams, super-mêlée partner rotation
  • Court assignment optimization and time-slot schedule generation per round
  • Draw publication with notifications, plus manual adjustments under audit
  • Bye handling for odd participant counts
  • Re-draw when teams withdraw — recomputes affected portions only

En la práctica

Saturday 08:30: a triplette open in Lyon closes registration with 67 teams. The organizer picks Poules + Knockout, selects Swiss-style poule formation balanced by ranking, and clicks Generate Draw. The engine produces 17 poules of three plus two of two, separating the four teams from the host club into different groups, assigns courts 1–34 across two morning sessions, and publishes the draw at 08:42.

A team forfeits at 08:55; the organizer triggers a re-draw on the affected poule only — the rest of the schedule is untouched. Notifications reach all 64 captains within the minute, and play starts at 09:30 on time.

Funcionalidades de este subsistema

14
ID Status Funcionalidades
F04.04.01 Entregado Automatic draw generation (randomized with seeding rules) ✅ PL-F0404a
F04.04.02 Entregado Separation rules (same club, same region in different groups) ✅ PL-F0404a
F04.04.03 Entregado Poule composition (balanced by ranking) ✅ PL-F0404a
F04.04.04 Entregado Bracket generation (single/double elimination) ✅ PL-F0404a
F04.04.05 Entregado Swiss-system pairing algorithm ✅ PL-F0404a
F04.04.12 Entregado Monrad pairing algorithm (Swiss variant, common in Scandinavia) ✅ PL-F0404b
F04.04.13 Entregado Mêlée random team draw (new random teams each round) ✅ PL-F0404b
F04.04.14 Entregado Super-mêlée draw (mixed player levels, partner rotation every round) ✅ PL-F0404b
F04.04.06 Entregado Court assignment optimization ✅ PL-F0404b
F04.04.07 Entregado Schedule generation (time slots per round) ✅ PL-F0404b
F04.04.08 Entregado Draw publication and notification ✅ PL-F0404c
F04.04.09 Entregado Manual draw adjustments (with audit trail) ✅ PL-F0404c
F04.04.10 Entregado Bye management (odd number of participants) ✅ PL-F0404c
F04.04.11 Entregado Re-draw capabilities (when teams withdraw) ✅ PL-F0404c