← Experiment Ledger domain ledger

Experiment Ledger: its state machines

Each record here moves through states, and only by the transitions drawn. Press a transition to walk a record along it and see who may take it, what it needs and which rules the server checks first. The number in each state is how many records are there on the server now.

campaign .status

A research goal pursued through repeated DBTL cycles.

  • proposed: activate to active (scientist, admin); abandon to abandoned (scientist, admin)
  • active: conclude to concluded (scientist, admin); abandon to abandoned (scientist, admin)
  • concluded: an end
  • abandoned: an end

Reading how many records are in each state…

cycle .status

One Design-Build-Test-Learn iteration. The state machine IS the loop: design → build → test → learn → closed. A cycle cannot enter `learn` until at least one result exists for it, and cannot close until a learning has been written — the two controls that keep the loop closed rather than merely documented.

  • design: start_build to build (scientist, admin)
  • build: start_test to test (scientist, lab_tech, admin)
  • test: start_learn to learn (scientist, admin)
  • learn: close to closed (scientist, reviewer, admin)
  • closed: an end

Reading how many records are in each state…

design .status

A candidate to build and test — a composition, formulation or process. Designs come from scientists or from models; a model-proposed design must name the model and its version, so a result can always be traced to what proposed it (AI provenance).

  • proposed: approve to approved (scientist, reviewer, admin); reject to rejected (scientist, reviewer, admin)
  • approved: mark_built to built (lab_tech, scientist, admin)
  • built: an end
  • rejected: an end

Reading how many records are in each state…

protocol .status

A versioned procedure. The version string is copied onto every run that uses it, so a run always says which version it followed even after the protocol is amended.

  • draft: release to released (scientist, admin)
  • released: retire to retired (scientist, admin)
  • retired: an end

Reading how many records are in each state…

instrument .status

An automation or analysis instrument. Calibration gates use.

  • available: take_down to maintenance (lab_tech, admin)
  • maintenance: return_to_service to available (lab_tech, admin); retire to retired (admin)
  • retired: an end

Reading how many records are in each state…

sample .status

A physical sample or asset with lineage. `parent` records what it was derived from (aliquot, transformation, prep), so any measurement can be walked back to its source material.

  • registered: use to in_use (lab_tech, scientist, admin); dispose to disposed (lab_tech, admin)
  • in_use: consume to consumed (lab_tech, scientist, admin); dispose to disposed (lab_tech, admin)
  • consumed: an end
  • disposed: an end

Reading how many records are in each state…

run .status

The pivot of the ledger: one execution, holding the PLAN (plannedParams, plannedStart, protocol version) beside the REALITY (actualParams, startedAt, endedAt). Anything that differs is recorded as a deviation, and a run cannot complete with a critical deviation still open.

  • planned: start to running (lab_tech, scientist, admin); cancel to cancelled (scientist, admin)
  • running: complete to completed (lab_tech, scientist, admin); fail to failed (lab_tech, scientist, admin)
  • completed: an end
  • failed: an end
  • cancelled: an end

Reading how many records are in each state…

deviation .status

A difference between plan and reality, written down: which parameter, what was planned, what actually happened, and whether it matters. Deviations are the ledger's answer to "what actually happened?".

  • open: review to reviewed (reviewer, scientist, admin)
  • reviewed: close to closed (reviewer, admin)
  • closed: an end

Reading how many records are in each state…

result .status

A measurement, with provenance: the run that produced it, the sample it was taken from, where the raw data lives, and a checksum of that data. `cycle` is a copy on the flat row so the learn step can count results per cycle without traversal.

  • captured: verify to verified (scientist, reviewer, admin); reject to rejected (scientist, reviewer, admin)
  • verified: an end
  • rejected: an end

Reading how many records are in each state…

learning .status

What the cycle taught — the L in DBTL — and what to design next.

  • draft: publish to published (scientist, reviewer, admin)
  • published: an end

Reading how many records are in each state…