Each rank writes a sequence of heartbeats into a shared dictionary; the cluster reports total beats and liveness.
The reference implementation lives in your workspace. Inspect it to understand the
deterministic original behavior.
Required output
Create /app/solution/modal_app.py defining a module-level app and a module-level
run_case orchestrator. Given a case payload, it should return the same semantic
result as the reference workflow.
Capability contract
Implement run_case as a local orchestrator: a plain Python function (not itself a Modal Function) that the harness calls directly and that dispatches work to one or more Modal Functions via .remote(...), .map(...), or .starmap(...).