Driver for a centrifuge with a plate loader
harbor run -t valenlabs/workcell-c1harbor download valenlabs/workcell-c1Author a standalone PyLabRobot controller (/logs/artifacts/controller.py) for a centrifuge-and-loader workcell staging sample P01 (STAGE-01) and counterweight P02 (STAGE-02) so P01 completes a balanced spin (P01_spun_done) and reaches OUT-01 (P02 in OUT-02) within 90 ticks while satisfying all normative safety and timeout clauses (S1, S2, W1, H1, T1, T2) across up to 2 reachable faults.
Follow established laboratory automation best practices.
/workspace/MANUAL.md: Instrument & robotic arm API documentation, nominal parameter/band tables, and normative clauses./workspace/LAB_HANDBOOK.md: Facility operator handbook covering time-lapse vs. scheduled calls, power modes, multimodal image captures, and spontaneous workcell incident classes./workspace/task_public.task: Machine-readable public specification (initial deck layout, plate metadata, budgets, and clauses)./workspace/reference_data/: Sanitized public reference files from this task's source dataset.pylabrobot==0.2.2, ortools==9.15.6755, and the workcell.plr_backends client (connect_workcell). Underlying simulator state-machine internals are isolated outside this container; infer behavior from the API reference and runtime observations./logs/artifacts/controller.py that connects via connect_workcell(), satisfies all normative clauses across fault scripts up to budget 2, and calls session.done().Runs (completes within command and simulated-time budgets on every fault script), Nominal (zero-fault run breaks no guarantee), Safe (no gate safety clause broken on any scored run).(V - B) / (R - B) (R = 1000), weighted 20% zero-fault, 40% single-fault, 40% two-fault.