cancel_research_run
Withdraw a research run's pending hypotheses (all of them, or the ones named) so no resume runs them, and return the sealed run file. Nothing is deleted: a cancelled hypothesis stays registered and still counts in e-BH with e 1, because it was registered before any result and dropping it would raise the others' chance of support after the fact. Answered and settled hypotheses cannot be cancelled. To stop a run that is advancing in budgeted slices, stop calling resume_research_run; cancel when the pending hypotheses should never run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | the run file to cancel pending hypotheses in. | |
| _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. | |
| reason | No | why, recorded on each cancelled attempt. | |
| _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. | |
| hypotheses | No | the pending hypotheses to cancel, by id; unset cancels every pending one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | the whole programme as a sealed jane.research-run file: the ledger, every corpus input pinned by SHA-256, the last attempt at each hypothesis. Pass it back to continue | |
| status | Yes | the cancelled run's status: counts, pending (now none of the cancelled), settled and cancelled hypotheses | |
| cancelled | Yes | the hypotheses this call cancelled |