-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtasks.py
More file actions
38 lines (36 loc) · 979 Bytes
/
tasks.py
File metadata and controls
38 lines (36 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def task_emergency_focus():
"""
Task 1: Emergency Focus
High number of emergencies, low normal patients.
Agent should learn to prioritize emergencies immediately.
"""
return {
"patients_waiting": 1,
"emergency_patients": 4,
"doctors_available": 2,
"time_step": 0
}
def task_balanced_load():
"""
Task 2: Balanced Load
Equal mix of normal and emergency patients.
Agent needs to balance between priority and clearing the queue.
"""
return {
"patients_waiting": 3,
"emergency_patients": 3,
"doctors_available": 3,
"time_step": 0
}
def task_high_pressure():
"""
Task 3: High Pressure
Many patients, both normal and emergency, requiring efficient
actions to clear them before the 10 timestep limit.
"""
return {
"patients_waiting": 6,
"emergency_patients": 5,
"doctors_available": 2,
"time_step": 0
}