Write the daily overbooking and rate-fence policy for a 240-room city hotel's summer season, with a last-room-availability corporate account, a new city-wide congress and a tighter brand walk limit; it is scored by simulation over hidden seasons.
harbor run -t reactive-labs/hotel-overbooking-ratesharbor download reactive-labs/hotel-overbooking-ratesYou are Lucia Brandt, Director of Revenue Management at the Ashgrove Exchange Hotel, a 240-room city hotel in Kelsport. Every morning at 06:00 the revenue desk sets, for each stay night on sale, how many rooms may be on the books (overbooking included) and which rate plans are open for each arrival date, with any minimum length of stay. Today is Monday 1 March 2027. Callum Rees, the General Manager, wrote to you this morning:
I want the summer controls (stay nights Monday 3 May to Sunday 1 August) written as a policy in Jonah's PaceBook format, so we can test it in the model before the desk switches over and so SynXis can run it at the 06:00 review from Thursday 4 March. I will judge it on the season's net room revenue after walk costs and the Torvane credits, and on one thing that is not negotiable: we do not go over the brand's walk limit in any month.
In /app/inputs:
RE_Summer_2027_inventory_controls_PaceBook_policy.eml: the thread with Callum, Finance, Sales, the Front
Office and JonahTorvane_LNR_Agreement_AXK-LNR-2027-03.docx: the Torvane Biosystems negotiated-rate agreementHalden_Collection_Brand_Standard_FO-7.4_Guest_Relocation_rev2027.pdf and
Grandview_Inn_Relocation_Agreement_2027.pdf: the brand's relocation standard and the relocation hotel's termsRM-SOP-03_Inventory_Controls_revC.docx: the desk's current procedure and the rate plansKCVB_Citywide_Convention_Calendar_2025-2027_rev7.xlsx and Ashgrove_Exchange_Summer_2027_Rate_Strategy.xlsxHalcyon_PMS_reservations_...csv (every
reservation), SynXis_regrets_denials_...csv (requests the booking engine turned away) and
Halcyon_night_audit_...csvIn /app/sim: PaceBook, the model the revenue office uses to test controls (README.md explains it and the
policy interface), with starter_policy.py (current practice), the summer 2026 baseline config and seeds 1-20.
Run it from /app with python -m sim.run --policy <file> --seeds 1-20.
/app/output/policy.py, defining a class Policy exactly as in /app/sim/README.md:
Policy() is constructed once per season with no arguments; it may load data files that you put in
/app/output next to it (find them relative to __file__).decide(obs) is called once a day at the 06:00 review, from Thursday 4 March 2027 to Sunday 1 August 2027,
with the observation described in the README: the date, the rooms on the books by rate class for each stay
night on sale, the reservations, refusals and cancellations since the last review, last night's audit, the
walks so far by month and the Torvane blackout dates declared. It returns
{"limit": {date: rooms}, "rates": {arrival date: {class: {"open": bool, "min_los": n}}}, "corp_blackout": [dates]}
as the README specifies; anything left out takes the README's default.Your policy will be run, call by call, over many simulated seasons like the one Callum describes (stay nights 3 May to 1 August 2027, bookings from 4 March), under the agreements, the brand standard and the rate strategy as they apply to those nights. Each season is scored on its net room revenue after walk costs and Torvane credits, on a scale from what current practice (RM-SOP-03 rev C) earns on the same season to the best result that could have been achieved with the same controls had every request, cancellation and no-show been known in advance. No policy that has to decide without that knowledge reaches the top of the scale; the closer, the better. A season in which any calendar month has more walked arrivals than the brand standard allows, or in which the policy fails, returns an invalid control or breaks the time limits, scores zero.