HF RL Explorer

gym class bookings: add feature

gym class bookings: add feature: a task in smol-software-harbor (Harbor dataset). Add a waitlist to the gym class bookings. In gym/model.py give GymClass a waitlist list field (empty by default). In gym/booking.py , book() must return "waitlisted" and append the member to the waitlist when the…

The task

Add a waitlist to the gym class bookings. In `gym/model.py` give `GymClass` a `waitlist` list field (empty by default). In `gym/booking.py`, `book()` must return `"waitlisted"` and append the member to the waitlist when the class is full (instead of `"full"`), and `"duplicate"` when the member is already booked or…

Part of efederici/smol-software-harbor.