Students Remain Waitlisted When the RSVP Limit Is Increased

Offen
#1,838 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
54/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
backend

Rechercherichtung

Trace how event attendance limits and RSVP waitlists are updated, then inspect the eventRSVP model and its rsvpTime field to determine which waitlisted students should be accepted when the limit increases. Confirm the expected ordering for the stated four-person, two-seat edge case, and check that only the newly available places are filled.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

If we increase the attendance limit for events that require RSVP, those who were waitlisted remain waitlisted. What should happen instead is that some or all of them must be marked as RSVP'd, depending on how much the attendance limit has been increased.

Important note: if we think about a scenario where we have, for example, 4 people in the waitlist and the acceptance limit has only been increased by 2, how do we determine which people are marked as RSVP'd and which ones remain in the waitlist? It'll probably have to do with the rsvpTime field in the eventRSVP model. Make sure that your fix to this issue can tackle this edge case.

Image
Vorherrschende Sprache
Python
Sterne
1
Forks
16
Ø Merge
1 Std. 1 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus BCStudentSoftwareDevTeam/celts

Alle Issues in BCStudentSoftwareDevTeam/celts

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.