This format enables simulation tools to consistently communicate information about the status and outcome of the execution of SED-ML files in COMBINE/OMEX archives. The format can capture the following information:
QUEUED,
RUNNING, SUCCEEDED, SKIPPED, or
FAILED).
The schema for the format is available in JSON schema
Simulators are encouraged to log the execution of each individual SED element, including each task, report, plot, data set, curve and surface.
At the same time, the format provides simulation tools flexibility to log their execution at whatever level of granularity is convenient. Below are several possible levels of granularity.
Note, the output attribute for the log of each COMBINE/OMEX
archive, SED document, task, and output can include ANSI escape codes
for color and other terminal formatting
Below is an example of an element-level log of a COMBINE/OMEX archive that involves a single SED document with two tasks at the beginning of its execution.
Below is an example of an element-level log of the final state of the successful execution of the same COMBINE/OMEX archive.
Below is an example of an element-level log of the final state of the failed execution of the same COMBINE/OMEX archive.
Below is an example of a SED document-level log of the final state of the failed execution of the same COMBINE/OMEX archive.
Simulation tools are encouraged to flush logs of the execution of COMBINE/OMEX archives upon each of the following events:
RUNNING, the
status of each SED document and SED element that the simulation tool
is capable of executing should be QUEUED, and the status
of each SED document and SED element that the simulation tool is not
capable fo executing should be SKIPPED.
RUNNING.
RUNNING.
SUCCEEDED. In addition,
all data sets, curves, and surfaces which can now be generated should
be generated, and their status should be changed to
SUCCEEDED. The status of the parent reports and plots
should be set to SUCCEEDED if all of their data sets,
curves, and surfaces have been generated, or RUNNING if
some of their data sets, curves, and surfaces cannot yet be generated
because they depend on tasks which have not yet been executed. If the
task failed, its status should be changed to FAILED, and
the status of all data sets, curves, surfaces, reports, and plots
which depend on the task should be changed to FAILED.
SUCCEEDED. Otherwise, the document's status
should be changed to FAILED.
By the end of the execution of a COMBINE/OMEX archive, the status of
each SED document, task, report, plot, data set, curve, and surface
should be one of SUCCEEDED, SKIPPED, or
FAILED.
Below are helpful tools for building logs of the execution of COMBINE/OMEX archives: