Commit ·
c454091
1
Parent(s): 7f110fa
Fix memory threshold, pre-compute lag estimates in hard prompt
Browse files- 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 |
-
"
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
| 113 |
-
"
|
| 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 += [
|