Controls for Experiments¶
Protocol 3.1 controls let a viewer pause, step and resume a running script, change its registered parameters and run its registered actions, which an interpretability run uses to repeat an experiment.
| Field | Value |
|---|---|
| ID | INT-04 |
| Status | Shipped |
| Scope | Core |
| Pillar | Interpretability and Interventions |
| Sprint | None |
| Depends On | Protocol 3.1 Controls (STR-03) |
| Unblocks | Run Control Under Watch (STR-55) |
| Docs | Script Control |
| Branches | None |
| Design | None |
Coverage Ledger¶
- Branch
sprint2-pyctl2, 1 commit, 6a86cf8c; the other 16 are on main. A roadmap edit that marks the controls of wire protocol 3.1 as done through caliper.serve() and the hub on both senders, with interventions on a model as the next step. - Branch
sprint4-runbar, 137 commits, none outside sprint4-integ3. Run bar fixes with caliper.flush() and demo 0 browser row. - Branch
sprint4-integ3, 44ddb36c, bfa99aa7, 36c3ede4. The run bar fixes: the bar names a step only for a paused run, exposes its state text for tests, and caliper.flush() flushes every route with a viewer. - Run Control Calls, step. step is the checkpoint in a training loop where a viewer can pause and step.
- Run Control Calls, param. param registers a parameter that a viewer can change while the script runs.
- Run Control Calls, action. action registers a function a viewer can run.
- Script Control. Control a running script with checkpoints, parameters, actions, pause and step, and linked selection.
- Pull request #14. Pull request 14 (merged) delivers sprint 2: wire protocol v3 and 3.1, Caliper LIB serving, data views, browser views, the hub, the app attaching to a stream, interactive controls, Caliper API v0, macOS 14 target and CI for the browser views.