Spaces:
Sleeping
Sleeping
File size: 1,444 Bytes
4fc9bec 431e294 4fc9bec 431e294 4fc9bec 240b29f 431e294 4fc9bec 240b29f 431e294 240b29f 4fc9bec | 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 39 40 41 42 43 44 45 46 47 | """DispatchPulse β emergency-dispatch OpenEnv environment.
A real-world OpenEnv environment where an AI agent acts as a 911 emergency
dispatch coordinator. The agent triages incoming calls, dispatches limited
units (ALS / BLS ambulances, fire engines, police), and selects destination
hospitals. Patient outcomes are scored against real clinical survival
curves.
Public API:
DispatchPulseEnv β async client (subclass of openenv EnvClient)
DispatchPulseAction β typed action
DispatchPulseObservation β typed observation
DispatchPulseState β typed state snapshot
TASKS β registry of 3 graded tasks (easy, medium, hard)
TaskDefinition β frozen dataclass describing one task
grade_submission(...) β canonical grader function, returns (score, details)
list_tasks() β list all TaskDefinitions
get_task(task_id) β single task lookup
"""
from client import DispatchPulseEnv
from models import (
DispatchPulseAction,
DispatchPulseObservation,
DispatchPulseState,
)
from task_definitions import (
TASKS,
TaskDefinition,
grade_submission,
get_task,
list_tasks,
)
__all__ = [
"DispatchPulseEnv",
"DispatchPulseAction",
"DispatchPulseObservation",
"DispatchPulseState",
"TASKS",
"TaskDefinition",
"grade_submission",
"list_tasks",
"get_task",
]
__version__ = "1.0.0"
|