Write the dynamic deployment (move-up) policy of a county 911 ambulance contractor for one week: dispatch, posting, relocations and meal periods under response-time penalties, dispatch rules and a labour agreement; it is scored by simulation over hidden weeks.
harbor run -t reactive-labs/ambulance-move-upharbor download reactive-labs/ambulance-move-upYou are Nadia Ferreira-Holt, Deployment Manager of Harrow Valley Ambulance (HVA), the 911 ambulance contractor for Ostrander County under Agreement OC-EMS-2024-03. The Ostrander Emergency Communications Center (OECC) runs the CAD; HVA decides which ambulance goes to each call and where idle ambulances wait. Today is Tuesday 6 July 2027. Colm Ashdown, Director of Operations, wrote to you this evening:
I need the dynamic deployment rule for the week of Monday 12 July to Sunday 18 July as a DeployPlan policy by Friday, so Tamsin's team can load it into the CAD integration before the weekend. It replaces SSP Rev. 6 section 5 for that week. It will be judged on the SSP section 9 weekly deployment cost over many weeks like the one we expect, and it must not breach SOP 4.12 or Articles 14 and 15.
In /app/inputs:
RE_Deployment_rule_for_the_Riverlight_week.eml: the thread with Colm, Deployment Analytics, Contract
Compliance and the OECCOstrander_County_Ambulance_Services_Agreement_OC-EMS-2024-03.docx and
OC-EMS-2024-03_First_Amendment_eff_2027-07-01.pdf: the County contract and its amendmentHVA_Local214_Collective_Agreement_Arts14-17.pdf: relocations, meal periods, shift changes and overtimeOECC_SOP_4.12_Unit_Selection_RevD.docx: the dispatch rulesHVA_System_Status_Plan_Rev6.docx: current practice and the deployment cost definitionLakeview_General_ED_Ambulance_Diversion_Notice_July_2027.pdf,
County_Planning_Memo_Larkfield_Commons_Phase1.pdf and
Riverlight_Festival_2027_Event_Medical_and_Traffic_Plan.pdf: what is different about that weekHVA_unit_roster_week_2027-07-12.csv: the roster for the weekOECC_CAD_incident_export_2027-01-04_to_2027-07-04.csv (every incident of the first half of
2027), OECC_CAD_travel_time_table_v2027.1.csv and Ostrander_response_zones_Exhibit_A_extract.csvIn /app/sim: DeployPlan, the model Deployment Analytics uses to test deployment rules (README.md explains it
and the policy interface), with starter_policy.py (SSP Rev. 6 section 5), the January-June 2027 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 week 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 at every decision point of the week (each call received, each unit available, each
unit coming on duty, each meal end, and every 15 minutes) with the CAD observation described in the README: the
time, every unit on duty with its status, position, post, shift, relocations used and meal status, the pending
calls with each available unit's CAD ETA, and the hospital diversion board. It returns
{"dispatch": {call: unit}, "post": {unit: post}, "meal": {unit: station}}.Your policy will be run, decision point by decision point, over many simulated weeks of 12-18 July 2027 drawn as the planning documents describe, under the Agreement as amended, the labour agreement, SOP 4.12 and the conditions of that week. Each week is scored on its SSP section 9 deployment cost as the share of the possible saving you capture: zero at what SSP Rev. 6 current practice costs in the same week, full marks at what a plan costs that knew every call of that week in advance. No rule that has to post units before the calls are known can reach full marks; every dollar saved counts. A week in which the policy breaches SOP 4.12 or Articles 14 or 15 of the labour agreement, fails, returns an invalid decision or breaks the time limits scores zero.