Skip to content
Monitor reference

Monitor reference

This page gives field-level and rule-level detail for the shared Monitor. The task steps are on the Monitor page.

Monitor controls

ElementWhat it shows or does
State lineIdle, Running, Paused after <step>, Finished: all ok, Finished: failures, or Stopped. It describes the latest launch. It is at the center of the status bar at the bottom of the window and shows on every tab.
Monitor tableOne row per Stage, job or Script. The columns are Stage, Started, Elapsed, Status, Detail, and File (a Script’s file name, blank for a job). When the queued jobs of a launch resolve to more than one engine, a trailing Engine column names the engine of each row. When jobs run in parallel, several rows read Running at once (Parallel Experimenter engine jobs). A Clear button is in the corner of the table.
Write ListA tab of the panel under the Monitor table, beside the Log tab. It has one row per value Experimenter wrote for the selected job: variable, base value, Job value, and source (run, group, dataset, or carrier). It reads the Batch record entry in the job folder of that row, so an older row shows what it wrote. A series shows its last value. The tooltip shows the first value, the last value, and the point count. A value with no base shows the reason instead, such as computed equation. An entry with no write list reads “No write list recorded”. The Log reports a job folder that a later launch cleared. See The write list. When you select a row, the tab refreshes and does not switch.
LogExecution output for the whole session. Each line has a [HH:MM:SS] stamp. Experimenter never writes it to disk. It stays until the app closes or you press Clear. Log is the default tab of the panel that it shares with the Write List. The panel has Minimize, Maximize, and Clear buttons, in that order. Clear empties the Log and leaves the Monitor table alone. Clear is hidden while the Write List tab shows. Minimize collapses the panel to its tab bar. Maximize restores the default height.
Run Target:A label and a dropdown at the left of the top bar. The dropdown lists everything runnable in the open documents, grouped by kind. The buttons below are at the right. Enabled Sequences runs every enabled Sequence as one batch. The status bar follows the pick.
RunLaunches the picked target. It is disabled until you pick one.
Pause / ResumeHolds the queue after the in-flight step. See Pause in full.
StopStops the run in progress, paused or not. It ends the whole launch with every job in it. It is enabled while a run executes in this Monitor, whether the run started here or from a mode tab.
Open Job FolderShows the outputs of the selected row in Finder.
Open OutputOpens the top-level collected Output.csv of the finished run. After a Run Enabled batch, it opens the batch Output folder instead. The status line names each Sequence whose file is outside that folder. It is enabled when the run finishes and the file exists. With Retention set to Outputs only, the remaining file is output-<config>.csv and the button opens that.

The Monitor table and the panel for the Log and Write List sit one above the other in a draggable split. The table starts at four-fifths and the panel at one-fifth. After you drag the divider, that balance holds for the session. The Minimize and Maximize buttons of the panel jump to two fixed heights instead: a thin strip, or the one-fifth default.

The run lock

While a run executes or pauses, the editors accept no edits.

A banner above the tabs names the run. It reads, for example, “Running: Sequence main.”

The Sequence tab during a run. The banner names the run, and the editor controls are off.

  • Every editor control is off, Save refuses, and Undo and Redo are off. The tooltip of a control gives the reason.
  • Pause, Stop, Resume, Validate and every control of the Monitor stay on.
  • Run, Run Enabled Sequences and Open refuse a second launch or a swap of the document.

The lock holds when you switch tabs or select another row. Editing resumes when the run ends or you stop it.

  • Tab and Shift-Tab change no stage level during a run.
  • An agent cannot add, copy, rename or remove a Sequence during a run. See Agents.

The run target list

The Run of the Monitor and the Run of a mode tab are separate controls. A selection on a mode tab drives the button of that tab. The dropdown of the Monitor drives the button of the Monitor. They can point at different targets.

The dropdown lists every runnable scope of the open documents. Headers group them by kind, and each header names the kind and its file:

  • Runs, Optimizations, Sensitivities. Each group and each Run of the open configuration of that kind. The members of a group are indented under it.
  • Sequences. The open sequence as a whole. A sequence member is a group or Run in a referenced configuration. Members appear under the heading of their own kind after those files are open. When you open a sequence, Experimenter opens them for you.

A header is a label and you cannot pick it. A kind with no open document does not appear. The list covers open documents only and never scans a folder. A pick goes through the same validation gate as a selection on a mode tab. A configuration with blocking errors is refused before the engine starts.

The list reads the saved files and refreshes when you open it. It also follows saves and tab switches. A Run that you rename or remove on disk drops out at the next refresh. If it was your pick, the pick clears and Run disables.

Elapsed time and the open-Stella check

Elapsed counts up in m:ss (h:mm:ss after one hour) while a row runs, then holds. It spans retries, as wall time from the first start. Queued and skipped rows show no time.

Before a real run, the Monitor checks for an open Stella Architect, because a run alongside an open Stella flakes more often. If none is open, the run starts. If one is open, a dialog offers three options:

  • OK. You closed Stella yourself. The run starts without a re-check.
  • Force Close Stella. Experimenter closes the open Stella, then runs. Unsaved Stella work is lost.
  • Cancel. The run does not start.

Parallel Experimenter engine jobs

On the Experimenter engine, several jobs run at once. Each job keeps its own folder and its own engine process. A crash or hang in one job fails only that job. The Architect engine runs one job at a time, whatever the worker count says.

These items run side by side:

  • Independent jobs of one Batch. A job starts when every job it depends on has finished.
  • Sequence lanes. The groups and datasets of a Sequence each run as a lane. The stages inside one lane keep their order.
  • The samples of one Sensitivity job. They split into shards that run in separate processes. A model that uses a random function stays in one process. Their draws and evaluation order do not change.
  • The evaluations of one Optimization job. Differential Evolution scores the members of a generation side by side. Multi-start Powell runs its starts side by side. Results join in serial order, so one seed gives one best point at any worker count. On the Covid Joint Fit model, Powell ran 3.9 times faster and Differential Evolution 3.6 times faster. The host had 10 cores and no workers setting. Another suite ran during the slower Powell run. A removed import per evaluation also adds to the gain, and the measurement does not separate the two.

A chained Optimization step runs after the step above it, because it reads the carrier that step wrote.

Worker count. The first item in this list that is set decides how many jobs can be in flight:

  1. experimenter run --workers N.
  2. The workers: key of the Experiment document. It applies to the whole file. A Run or a group cannot set its own.
  3. The Workers field in the Settings window, or experimenter settings --workers N.
  4. The default: the number of physical CPU cores minus one, never below one. If the system does not report physical cores, Experimenter uses the logical count.

Memory guard. Before it fills the pool, Experimenter measures the peak memory of the first job to report. It lowers the worker count to the largest number whose jobs together stay under 70% of the physical memory of the machine, and never below one. The guard can lower a count that you set but never raise it. The Monitor log and the CLI print the new count and the figures behind it, for example workers lowered from 7 to 3: one job used about 4.1 GiB of 16.0 GiB, and the workers may use 70% of memory together. The CLI prints it as a warning, so --quiet shows it. The scheduler holds the second job until the first job has reported. This takes the model load, a few seconds. The guard does not cover the first job. A sharded Sensitivity job starts fewer shards when they would not fit.

Same output at every count. The collated Output.csv and batch.json do not depend on the worker count. Rows sort by their declared order, not by finish order. Only clock fields (wall_seconds, timestamps) differ. In a measured benchmark on an M2 Max, 16 jobs ran about 5.0 times faster than with one worker. A 256-sample Sensitivity job ran about 4.2 times faster.

Pause in full

Pause is between Run and Stop, on every tab that has that pair and on the Monitor. It is enabled only for a multi-step run: a Batch of more than one job, an Optimization of more than one step, or a Sequence of more than one stage. A lone job has no next step to hold before, so Pause stays disabled.

A step is one job in a Batch, one Sequence stage, or one optimize step. Pause never interrupts the step in flight. The step finishes, then the queue holds before the next step starts. The button flips to Resume. The state line reads Paused after <step> when the hold takes effect. This can lag the click by as long as the in-flight step takes. Click Resume, or Pause again, to continue. If the click lands before the first step has started, the state line reads bare Paused and names no step.

Stop still cancels a paused run. The queue was already holding between two steps, so Experimenter kills nothing mid-run. The run ends as described in Stop in full. If you close the app while paused, it behaves as if you close it during any other in-flight run.

Stop in full

The Stop of each tab (right of Run) is active only while the run of that tab executes. The Monitor has its own Stop, active while a run executes in the Monitor. The Run of a tab reaches the same Monitor, so the Stop of the Monitor also covers a run that a tab started. Either one is a hard stop with no confirmation:

  • Experimenter kills the running Stella, or script, within about a second.
  • The in-flight row shows Stopped. Rows that never started show Skipped.
  • No final collation happens. Experimenter does not write the top-level Output.csv and prunes nothing. Finished jobs keep their folders and files. Read them with Open Job Folder. Open Output stays off.

To get a complete Output.csv, run again and let it finish.

experimenter run uses the same mechanism. Ctrl-C once stops the in-flight job and starts nothing more. Finished jobs stay uncollated. Ctrl-C a second time forces the process to quit at once.

How the Monitor shapes the table

The Monitor reads the shape of the Experiment and lays out the table to match. A file authored on any tab, or by hand, runs the same way:

ConfigurationTable
Run or Sensitivity (runs:)One row per Stage: Stage / Started / Elapsed / Status / Detail / File
OptimizationOne row per Stage, plus a Type column. Detail shows convergence
SequenceOne row per member within each dataset: Dataset / Stage / Started / Elapsed / Type / Status / Detail / File
Dataset axisA leading Dataset column, one row per (dataset, unit)

A launch of the same shape appends its rows below the rows of the last launch, so the session stays visible. A launch of a different shape resets the table. The Log keeps everything. When a tab runs a single group or selection, Experimenter queues only those rows.

Job status

Each row moves through Queued, Running, then Ok. Or it ends Failed, Skipped, or Stopped. A retry in flight shows Retrying (attempt N).

  • Stopped (warning tone, not the failure red) marks the one job in flight when you pressed Stop.
  • A failed row keeps its failure message in Detail.
  • Open Job Folder shows exactly what the selected row wrote. A later launch clears stale job folders. If the folder of a historical row is gone, the row reports to the Log and nothing opens.

Clearing the Monitor table

The Clear button of the Monitor table is in the corner of the table. It has the same trash-can icon as the Clear of the Log. It clears table rows, not log text.

  • With no row selected, Clear removes every row it can.
  • With one or more rows selected, Clear removes only those rows.

While a launch is in progress or paused, every row of it stays, Queued included. Pause holds the queue only before the next step starts. The running row and every row queued behind it stay protected through the pause. After a launch has finished, Clear removes only its Ok, Failed, Skipped, and Stopped rows. A stray Queued or Running row with no launch in progress also stays protected, though that should not happen. If every row that Clear would remove is still in flight, Clear removes nothing and the Log says so.

Optimization evidence: convergence and failure

An optimization job reads the optimizer log of Stella. The Detail column, its tooltip, and the Log carry the same text. Hover over the cell to read a long line.

On success:

converged: payoff 1.0589e+25 after 22 runs, pinned: Elasticity of Output to Capital a (min)
  • payoff is the best payoff value reached, after N runs of the optimizer.
  • pinned lists fitted parameters that came to rest on their own bound (min or max). That is not an error. The bound, not the data, decides the value. If that is not intended, widen the bound in Stella.

On failure, Detail shows the evidence of the log itself instead of a plain empty-output message:

  • A warning line from the optimizer, word for word.
  • optimizer log ends without finishing. The fit started and stopped part way, for example when Stella crashed mid-fit. If the log recorded a last completed pass, the line adds it.
  • no optimizer log was written. The job never got as far as a log.

This detail explains a failure. The verify-and-retry rule still decides it. The raw log stays in the job folder. With Save Only Output Data on, Experimenter deletes the folder of a failed job with the rest of the tree. The Monitor Log is then the only record of that failure until you clear it.

The Monitor log

Each launch writes one separator line (── HH:MM:SS launch: <configuration or scope> ──). Then it writes the unit starts, attempts, and final statuses. Each line has the unit as a prefix and, in a sweep, its dataset. [Error] renders red and [Warn] orange. Configuration messages (link check, mismatch, Validate) go to the tab Log instead (The editor shell). Watch for these lines:

  • Retries. A line such as [policy-shift] attempt 2 means the first attempt produced no usable output and runs again.
  • Dataset fallback. not in dataset folder; using base means a dataset did not supply a file, so the run used the copy of the model. The run continues, but the output is not per-dataset. The usual cause is a file-name mismatch in the dataset folder.

Verify-and-retry and the watchdog

A Stella run can exit cleanly (exit code 0) and still write no output. For this reason, Experimenter does not trust the exit status:

  • Verify-and-retry. A job succeeds only when its expected export exists and is non-empty. If a job produces nothing, Experimenter retries it up to the retry budget. It marks the job failed only when no attempt yields output.
  • Watchdog. A timeout limits each attempt. Experimenter kills a hung Stella and abandons the attempt. Then verify-and-retry takes over, so one stuck job never stalls the queue.