| n | No | how many measurements the run would take. Only applies when mode is measurements. | |
| beta | No | the Beta prior's β — failures already believed in. Only applies when mode is trials. | |
| mode | No | which grain of the question: rank candidate tests, size a run of measurements, or size a run of trials. Values: tests (Candidate tests), measurements (Measurements of a mean), trials (Trials of a rate). | tests |
| alpha | No | the Beta prior's α — successes already believed in. Only applies when mode is trials. | |
| tests | No | the candidates, each `{id, hypothesis, power, alpha}` and optionally `cost`, `reads` (what it would read) and `label`. Only applies when mode is tests. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| ledger | No | a jane.discovery-ledger file, as `run_discovery_programme` returns: its elicited beliefs and the sources its evidence already read. Only applies when mode is tests. | |
| trials | No | how many trials the run would take. Only applies when mode is trials. | |
| beliefs | No | belief that each hypothesis is true, as `{hypothesisId: probability}` — given directly, or to override the ledger's. Only applies when mode is tests. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| noise_sd | No | the measurement noise, in the same units. Only applies when mode is measurements. | |
| prior_sd | No | how uncertain the mean is now, as a standard deviation. Only applies when mode is measurements. | |
| target_bits | No | a gain to reach: the answer says how many measurements it would take. Only applies when mode is measurements. | |