RohitChandramouli6618 commited on
Commit
c454091
·
1 Parent(s): 7f110fa

Fix memory threshold, pre-compute lag estimates in hard prompt

Browse files
Files changed (1) hide show
  1. baseline/policy.py +5 -7
baseline/policy.py CHANGED
@@ -106,13 +106,11 @@ def build_prompt(obs: CityObservation) -> str:
106
  "",
107
  "DECISION RULES for delayed-information scenario:",
108
  "1. HOSPITAL EMERGENCY: If ANY hospital < 0.30 → allocate on that district NOW.",
109
- " Hospital capacity IS real-time even when infection data is lagged.",
110
- "2. TRIAGE under uncertainty: Combine lagged infection + growth_hint to estimate severity.",
111
- " A district with infection=0.20 (3 days ago) and growth=0.08 is NOW likely at ~0.44.",
112
- " Formula: estimated_current = reported_infection + 3 × growth_hint",
113
- "3. Allocate on the district with HIGHEST estimated current infection.",
114
- "4. If resources = 0: restrict on the district with highest growth_hint.",
115
- "5. NEVER use 'test' — the 3-day lag is structural, testing does not help.",
116
  ]
117
 
118
  lines += [
 
106
  "",
107
  "DECISION RULES for delayed-information scenario:",
108
  "1. HOSPITAL EMERGENCY: If ANY hospital < 0.30 → allocate on that district NOW.",
109
+ "2. Look at ESTIMATED NOW column this is your best estimate of current infection.",
110
+ " The estimation accounts for 3 days of growth automatically.",
111
+ "3. Allocate on the district with HIGHEST 'ESTIMATED NOW' value.",
112
+ "4. If resources = 0: restrict on the district with highest ESTIMATED NOW.",
113
+ "5. NEVER use 'test' data lag is structural, testing does not help.",
 
 
114
  ]
115
 
116
  lines += [