Biosimulant runtimeComputation outcomes

Computation outcomes

Biosimulant returns the requested data, files and execution details without assigning scientific-validity or acceptance grades. A negative, empty or low-valued finding is still a result. There is no qualification mode or flag to enable.

Software checks still validate manifests, entrypoints, dependencies, types, shapes, declared units and file integrity. Real parser, solver and child-command failures remain errors. Scientific documents, source evidence, reference comparisons and benchmarks are ordinary user content or requested analysis; they are not prerequisites for execution or publication.

Reporting a child-command failure

With Biosimulant 0.0.38+, an adapter can retain files and explicitly report its inner computation outcome:

from biosimulant import ExecutionOutcome
 
self.report_execution_outcome(ExecutionOutcome.from_returncode(
    process.returncode, stage="annotation", message="CDS translation mismatch",
))

The result document stores this versioned protocol under execution.outcome. Its state is completed, partial or failed, with optional stage and error details. A successful worker job and a failed inner analysis are distinct facts. Studio shows the explicit outcome while retaining saved artifacts. It never infers platform failure from arbitrary status, acceptance or biological values inside user outputs.

Older Labs continue to run. When an older adapter does not report an inner outcome, Studio displays the job as finished without making an additional claim about the analysis. Cancellation and timeout states remain intact. Existing raw outputs and signed historical assessments are preserved.

File-only tasks do not require a visualization. Save outputs inside the execution working directory and expose typed file ports; copy files out of temporary directories before they close. A visualization delivery error does not erase computed data.