Skip to content
Sequence tab reference

Sequence tab reference

Field-level and rule-level reference for the Sequence tab. The task steps are on the Sequence tab page.

Sequence tab layout

A Sequence member references one Group or one Run of a Run, Optimization, or Sensitivity section. It never copies the configuration. A Script sits inline. On an Experiment, those sections are the other three tabs of the session. A stable id addresses them, not a path. The tab edits one sequence.

  • Top row: the Sequence drop-down, an Enabled checkbox, then Output. The drop-down lists the Sequences of the Experiment in file order. A check mark shows on each enabled name, and none on the open one. A line and four actions follow: Add Sequence, Duplicate, Rename, Remove. The tab has no Model box. The Run, Optimization and Sensitivity tabs each have one. A model that you choose on any of them sets the one session model, which the status bar shows. Output is the output-folder name, a … location picker, an Output File field (the own name of the collated file), and an Increment checkbox (write the next free Output-2, Output-3, …). Both output fields start blank. They inherit the Output File Location / Output File Name preference (Experimenter → Settings…). A value in a field overrides the preference for this Sequence only. See Outputs & Manifest.
  • Engine (row below the top row): the engine for each member whose Run or Group sets none. Inherit follows the engine of the document. The item shows it as Inherit (Architect). The own Run or Group engine of a member wins.
  • Order (left): the member table plus Add / Remove / Indent / Outdent.
  • Dataset (middle): the base group plus any added dataset groups.
  • Files (right): how the selected group resolves the files of each member.
  • Bottom bar: the unsaved-changes marker, Reset (discard unsaved edits), Validate, Save, Run, Pause, and Stop.

Several Sequences

  • Add Sequence adds an empty Sequence. Remove deletes the shown Sequence after a prompt. Its output folder stays on disk. You cannot remove the last Sequence, and Remove is dimmed.
  • Duplicate names the copy “name copy”. Rename and Duplicate refuse a name that matches another Sequence without regard to case. They also refuse a name with a folder name that matches the folder name of another Sequence.
  • When you clear Enabled, Experimenter writes enabled: false for the shown Sequence.
  • Run runs the shown Sequence only, enabled or not.
  • Enabled Sequences in the Run Target list of the Monitor, or Run > Run Enabled Sequences, runs all enabled Sequences in list order as one Monitor batch. A failure does not stop the next Sequence. Stop skips the rest. If enabled Sequences share an output folder, Experimenter refuses the batch. The Monitor Log gets one launch line for each Sequence. The state line lists each Sequence with its verdict: ok, failed, refused, or skipped.
  • Experimenter refuses a Sequence that cannot load and runs the others. A Sequence that crashes before its first stage reads failed, with the reason in the Log.
  • During a launch, Experimenter refuses the Sequence drop-down, Run, Run Enabled Sequences, Open, and New. The status bar names the refused action.

Members: composing a pipeline

  • Members run top to bottom on one model.
  • A Sequence that only simulates needs no Model.isdb beside the model. A member that compares against a saved run needs one. When the .isdb exists, the Export Saved Runs setting (All by default) adds its saved runs to Output.csv as extra rows.
  • Add opens a picker of the other tabs of the session. Expand one to pick one of its Groups. From a Run or Sensitivity tab, you can also pick one of its Runs. You cannot select the tab node itself.
  • Experimenter tracks each member by a stable id. If you rename the Group or Run on its own tab, the reference stays valid. The row shows the current name, live.
  • A Group member expands to read-only child rows that list its Runs.

The Stage table has these columns:

ColumnMeaning
StageThe referenced Group or Run, shown by its current name (1. Calibrate, 2. baseline, …).
ActiveChecked by default. Unchecked skips the member. It does not run, and the Monitor seeds no row. The row and its settings stay. Experimenter refuses an all-inactive sequence.
ExportChecked by default. Unchecked still runs the member but leaves its rows out of the collected Output.csv.
LevelRead-only. Where this member sits in the outline (see below). Change it with Indent / Outdent, Tab / Shift-Tab, or a drag.
EngineThe engine of the member. Inherit follows the Run, the Group or the document. A Script row has no engine.
RetentionWhat the stage keeps on disk once the Sequence ends. The list shows the own value of the stage. Group default removes the key of the stage. The stage then uses the first value it finds. The order is its Run or Group, the Sequence, the file, then the Settings default. The entry names that value. A value you pick always writes the key. A Script row has no Retention. See Retention.

Time window across a Sequence

Stella computes a variable-driven time bound once, at run start. It does not recompute the bound while the run continues. A later member that changes the driving variable does not move an earlier window. To give a stage its own window, set the bound as a literal number for that stage (see Per-Run settings).

The outline

A lane is a tree, not a chain. Every member has a level. A member at level N starts from its own copy of the folder that the ENCLOSING member left behind. The enclosing member is the nearest earlier member at level N-1. The member does not start from whatever ran immediately before it. Level 0, or no level at all, starts from the Template. Experimenter refuses chain: on a member at load, with no alias. The step-level Chain checkbox on the Optimization tab (continue in the folder of the step above, Chain, datasets, and fallbacks) is a separate, unrelated setting.

  • A member may sit at most one level deeper than the member that encloses it. A skipped level (level 2 with nothing at level 1 before it) is a Validate error that names both levels. Two members can share a level freely. That is how a lane branches.
  • Every member gets its own copy of the folder it starts from. Siblings at the same level never disturb each other. Their order among themselves does not matter.
  • Any kind of member may enclose others, including a Script. A Script never produces a folder of its own. With something nested under it, though, it receives its own copy of what encloses it. It may edit that copy in place. It hands the edited copy down to its children, never to its siblings.
  • What can actually be enclosed matters. A member that encloses another must resolve to exactly one model folder. That means a single Run, a chained Optimization group (the group-level Chain checkbox above), or any scope that holds exactly one Run.
  • Indent / Outdent and Tab / Shift-Tab change the level of the selected member alone. Indent is disabled where it would skip a level. Outdent is disabled at level 0. Neither changes the level of any other member. A nested subtree stays at the level it already held. A drag is the one control that moves a whole nested subtree. It keeps the levels inside the subtree unchanged relative to each other. The keys act only with focus on the stage list. In a cell control, such as the Engine or Retention box, Tab moves focus on and changes no level. During a run the keys and both buttons change nothing (see The run lock).
  • A folder that an enclosing member records lasts until the sequence ends, even under Outputs only, because a deeper member may still need to copy from it.

Branches

A branch is a member nested under another member, together with its own nested members. Siblings at the same level are sibling branches. Each branch starts from its own copy of the folder of the shared parent.

  • Indent step. Each level moves the text of a row 28 px to the right.
  • Skipped rows. When you uncheck the Active box of a member, Experimenter skips every member nested under it. So if you uncheck the first member of a branch, it skips the whole branch. Each skipped row shows gray text in every column. Its tooltip reads “Skipped. 1.2 is unchecked.” with the number of the nearest unchecked member above it. A sibling branch is not gray. The own Active box of the row stays enabled and shows the own setting of that member. So if you clear the box of a gray row, nothing changes until its parent is checked again. When you check the parent, the gray clears.
  • Add > Add branch here. Enabled when exactly one member row is selected. It opens the member picker. It adds each chosen member one level below the selected row, after the last nested member of the selected row, in the order picked. Add > Add script adds a Script. Select one member row, and the Script goes below that row and the members under it, at the same level. This puts it between two Runs. With no single row selected, the Script goes last, at level 0. A Script exists only as a stage here. The Order panes of the other tabs hold none. A file with a Script in a runs: entry, a Group or an Optimization does not open. See Scripts.

Validate reports three shapes. Each names both members involved. An INACTIVE enclosing member gives a warning, because a nested member then falls back to the Template. An enclosing member that cannot resolve to exactly one model is an error. A level that skips past what its enclosing member allows is a third error. It names the deepest legal level.

Experimenter refuses a file that has the retired chain: or preserve: member key. It names level: as the replacement. There is no alias. To make a member continue from another, set level: 1 (or higher) on it. It then nests under the member before it.

A failed member and a refused member

A member that fails for an ordinary reason skips only its own nested subtree. Its siblings, and every other independent branch, keep running. The overall status of a dataset still reads failed whenever any of its members failed, no matter how many others succeeded.

A member that its engine refuses is different. A refusal stops the Sequence. Later members do not run. Finished members keep their folders and their rows in Output.csv. The Log and batch.json name the member and the engine. experimenter validate and the Validate button refuse such a Sequence before any member runs. They also refuse an Experimenter engine member that follows a calibration whose model has no fit carrier pair.

An ordinary failure does not halt the run. It can then scroll out of view under later successful work. So every failure announces itself in the Log. The Log shows one [Error] that names the failed member and the reason. It shows one [Warn] for each skipped descendant, which names the ancestor that caused it. It ends with one [Error] summary that counts both. The own continue_on_error of a Script still tolerates its failure exactly as it always did. A tolerated Script failure never fails the dataset and never logs an [Error] line. See Scripts for the full environment contract.

The outline indicator

The Order pane draws the tree directly, so you can see its shape without opening Validate. A member at depth D shifts right one step for each level. The own vertical bracket of each member runs down through its direct children. It turns into an elbow at the LAST child, the point where that bracket closes. The connector shows structure only. It never names a folder or a path, because the same Order pane serves every active dataset. It says nothing about whether a member passed or failed. Check the Monitor for that.

Datasets: the sweep axis

The Dataset pane sets how many times the whole pipeline runs. Row one is the implicit base group: the own input files of the Experiment. Add is a menu button with two choices. Add folder appends a dataset group that points at a folder of the input files of that dataset. Add from list file appends one reference to a plain-text file (one path per line, blank and # lines ignored). On every load, Experimenter expands the reference afresh into a dataset group for each listed path. The tree shows the list entry with read-only child rows that preview its expansion. A missing listed path fails Validate. The error names the list file and the line number. A missing list file itself is named by its resolved path. See Create Datasets for Sequencing.

  • Each row, base included, has an Active checkbox. Unchecked skips that dataset, and the Monitor seeds no rows for it. The row stays. If nothing is active, Experimenter refuses to run.
  • Each group runs the same members once, against its own inputs. A file in the folder of the group overrides the same-named input of the model. A file that the group does not provide falls back to the own file of the Experiment.
  • A group can also change single cells with a data: key. Each item names an import file and lists overrides: cells. The group layers them over every stage, and the group wins a cell that a stage also sets. A group with data: needs no folder. The tab has no control for it, so write it in the YAML (YAML reference).
  • The Files pane shows three things for the selected group: provided files, files that fall back (highlighted), and required files that are missing (flagged).
  • The base row is permanent. Uncheck its Active box to leave it out.

Folder layout: Create Datasets for Sequencing. Overlay rules: Imports & Exports.

The Outputs a sequence produces

Output/<experiment>/<sequence>/<dataset>/<NN-member>/…

The base lane lands under Base/. Member folders are numbered in run order and named for the referenced Group or Run (00-Calibrate, 01-Simulate, …), regardless of outline level. After the run, only the Output.csv at the top of the sequence survives. It covers the rows of every exported member. A level column names the own outline depth of the member of each row. Full layout: Outputs & Manifest.

Estimating output before you run

The window status line reads D: (output size), F: (files the launch writes) and M: (estimated maximum RAM) for every Run Target, live as you edit. A Sequence counts every active dataset and exported member. The tooltip spells them out as Estimated output:, Files written: and Estimated maximum memory:, with the row count.

A + after F means a minimum. Experimenter does not count files from a Script, or the extra files of an Optimization.

This is a rough size, not a time estimate. Experimenter computes it as runs times variables times time steps times an average bytes-per-cell figure. It makes no time prediction at all. A long-running Sensitivity and a quick Run of the same output size read the same. A + suffix means the true figure is at least this much. Something in the lane could not be sized exactly. Examples are a variable-driven time window, or a grid or sequential Sensitivity with no declared run count. Estimated maximum memory is the footprint of the single largest member, not the total of the lane. Collation streams one member at a time and never holds the whole result in memory at once. The estimate is informational only. Experimenter never refuses a Run for its memory. It does refuse a Sequence whose output will not fit. The estimate must fit in the free space of the output volume, after a reserve. Validate reports that as an error, and the launch stops. Run Enabled Sequences adds up the estimates of the Sequences on one volume. A figure with a + is a floor, and the real size is larger.

Running a Sequence

Validate reports problems to the Log, including problems inside a referenced file. Save writes the YAML. Run saves first, then launches the pipeline in the shared Monitor, which shows a group by member grid. Members resolve from the referenced files on disk. So Validate and Run first prompt you to save unsaved sibling documents. Pause holds the pipeline after the in-flight stage finishes, before the next stage starts. It is active only for more than one active stage (Pausing a run). Stop ends the sequence at once, paused or not. The stage in flight stops, later stages are skipped, and Experimenter writes no combined output (Stopping a run).