Projects, Datasets, and Runs
Summary
How work is organized: a project holds datasets, workflows, and runs; a run is one executed workflow with everything recorded. Includes batch execution and how the pieces fit together.
SpectraSherpa organizes work around projects.
Project
A Project is the user workspace grouping datasets, workflows, Runs, reports, and Models. Dashboard > New Analysis creates a project; Analysis Starter inside Workflow adds a workflow template to the current project. Use one project for one study, method-development effort, or demo evaluation. An Experiment is an internal import/source container for files, specimens, metadata, and versions. It can belong to a Project; it is not another name for the Project workspace.
Dashboard Starter suggests Data — Model — Purpose — Version, for example
Lavender FTIR — PCA — Exploration — v1 or Corn — PLS — Regression — v1.
For preprocessing or other starters without a named model, the model part is omitted.
You can edit it before choosing Ready to Start. The v1 suffix is a naming
aid, not a scientific revision or a claim about saved results.
Starter opens the next relevant page without importing data or adding a template automatically. On Import, review the suggested dataset and choose Add to My Dataset. On Workflow, choose Analysis Starter, then the suggested template. Where hosted Guidance is available and enabled, its task-specific buttons point to these same controls; they do not perform the import or run an analysis.
If a starter needs a response or class label, Set target in My Dataset opens Sample details for that source selection. The selected files, processing stage and result asset are retained; a named portfolio is reopened by its saved identity. Choose the target there, then return to Analysis Starter. This does not silently change the target in an existing workflow.
For supported classification starter paths, admission checks the actual active rows after source inclusion and sample filtering using the same partition planner as execution. An impossible training/test partition is refused before a workflow is created. A warning that component CV is unavailable means the training population cannot support the required class representation in every fold; it is not a model-quality verdict. Unsupported upstream transformations remain subject to execution-time validation. Fixed-component starters retain their declared component count; a diagnostic CV curve alone does not refit or automatically select a different model.
Dataset
A dataset is a named selection of data, views, target, and optional groups that workflows consume. For spectra, the core shape is usually samples by spectral variables. Metadata records the source, file list, units, and other context when available.
Portfolio
A portfolio is a saved, named analysis selection within a source dataset. It retains file/result selection, target and grouping choices, and reviewed sample corrections where applicable, without replacing the source measurements. Use Save portfolio in My Dataset and Show to restore one. Several portfolios can support different studies of the same source; workflow sheets bind an exact selection rather than whatever happens to be plotted now. See Build a portfolio.
Acquisition plan
Multi-well records intended samples, mixtures, factors, wells, acquisition order and matching rules for a dataset. A plan is not measured data: review and publish a proposed measured-sample table separately before using its metadata in analysis.
The Data Portfolio name appears above My Dataset, on the workflow sheet, and in Analysis Starter while templates are offered. A saved portfolio carries its selected source stage (raw, synthetic, or preprocessed), files, response, and grouping. Choosing Show restores that definition; it does not silently turn a synthetic or preprocessed selection into raw data.
Workflow
A workflow is a directed graph of nodes. Data nodes feed preprocessing nodes, model nodes, validation nodes, plots, tables, reports, and exports.
Workbook tabs show interactive analysis workflows. Some calibration starters
also retain a managed_candidate_authority record: the exact baseline recipe
used by managed Harness search and admission. Previously this appeared as a
"Harness-only" tab even in Local OSS, although ordinary execution was blocked.
It is now excluded from workbook tabs and sheet ordering by its purpose. The
record remains available for managed operations and project preservation;
scientific calibration, preprocessing, and validation sheets remain usable.
Corn instrument transfer
In My Dataset, open the curated Eigenvector Corn package and choose Start Corn instrument transfer. M5 is the reference instrument. MP5 is the source to standardize into M5's spectral space. The starter verifies the ordered specimen pairs and the common wavelength grid before creating the workflow.
The supplied Corn package has 80 matched specimens. The default sequential split uses 60 pairs to fit the transfer and reserves 20 other pairs as a check set. The workflow fits piecewise direct standardization (PDS), direct standardization (DS), and single-wavelength standardization on the same fitting pairs. It saves each standardized MP5 check spectrum and keeps the measured M5 check spectra in the M5 split's test output. Compare the standardized output with those measurements before applying a calibration to corrected spectra.
The training diagnostics describe agreement for the fitting pairs. Qualification of transferred Moisture predictions requires an M5 calibration and separate reference-based evaluation of its predictions on the corrected MP5 check set.
Run
A run is one execution of a workflow. Open Runs to review saved executions. Results are the outputs and diagnostics produced by nodes within a run.
In Inspect, the second context area shows the retained Workflow SHA-256 and Build SHA-1. Hover for the full values or copy the identifiers. The workflow hash identifies the recorded workflow definition; the build hash identifies its recorded software revision. Neither replaces the run number, and missing historical identifiers are shown as not recorded.
Comparing scientific results
Compare aligns measures within their recorded evaluation role: calibration, training cross-validation, or held-out validation. Evaluator node names do not define the role. A paired difference requires matching sample identity, response, units, and evaluation conditions; equal values or row counts are not proof that two populations match.
Recorded node measures preserves producer-specific values separately, including equal values from different nodes, without implying a paired ranking. Older runs without retained typed sample IDs remain inspectable but cannot establish a matching population from their display labels. Regression tables retain original sample names in the actual evaluation order; names are separate from the typed sample IDs used for scientific matching.
For registered reference datasets, comparison can recover existing typed IDs from an exact retained source receipt and split. It verifies the source against the reference catalog and checks the retained branch and evaluation inputs; it does not invent IDs, refit models, or alter the saved run. Response names and units remain visible even when population matching cannot be established.
Models and artifacts
Use Models for the user-facing collection of retained fitted models. Artifact describes the underlying fitted-state record.
Training nodes can persist fitted models. A model artifact keeps a readable compatibility record plus the numeric fitted state needed for later review and application. Before applying an artifact, confirm the spectral axis, preprocessing, feature count, target units, and validation context match the new data.
Copy model metadata copies the selected model's summary as text for notes or email. It does not contain fitted arrays and cannot be imported as a model.
For an ordinary fitted model, use Export on Project or Workflow to download
the full project .sherpa archive. Import that archive into local OSS and select
its fitted application in Deploy. A saved model not already listed there can
be opened through Make Application in Models. The archive must include the
model, its exact producing workflow and the source bindings. A partial-export
warning identifies omitted models; models actually included in the archive can
still be transferred.
Optimization is optional. Use Open workflow on the selected candidate, execute that workflow, then export its project package through the same route. This transfer does not require concluding the campaign.
In v0.6.4, Conclude campaign records the selected candidate in a checkpoint and starts its refit. The conclusion record itself is not a fitted model; after the refit succeeds, Optimize also offers an independent Model package download. Saving a conclusion without starting a refit, and recording Keep starting model as a conclusion, are not part of this release. See export contracts.
In local OSS, choose Make Application on a saved model to open its eligible fitted application in Deploy, without a formal promotion review or refit. Explicit withdrawal remains available. Scientific inspection and optional external validation remain separate from application availability.
A technically ready imported package opens the exact application in Deploy. An unavailable local import remains inspectable under Runs → Models → Imported Models without a formal review dialog. Existing Pro/hybrid formal-review behavior is unchanged. Package trust, fitted-state integrity, compatibility and dependency checks still apply; application availability does not assert independent validation or analytical qualification.
Deploy labels imported unsigned projects separately from packages with a verified publisher signature. Neither label is approval for an intended use. Apply and Evaluate reuse frozen state; Refit creates a new model. Observation counts may differ, but the model's feature, axis and unit requirements still apply.
Batch execution
Apply trained model uses the fitted model and preprocessing without refitting on the included dataset. Accuracy statistics require reference targets. Run workflow executes the saved graph with the selected dataset; its split, training, and evaluation nodes determine the statistics. The original canvas and fitted models are unchanged. Review the selected combinations before starting.
Each batch combination is saved separately in Run History with a shared batch identifier. Compare dataset-level statistics there; execution mode and cohort labels describe the evidence, rather than restricting which runs can be compared.
Availability lights
Green means the item is present, grey means absent or not checked, and red indicates an operational problem. These lights describe basic availability, not model quality, deployment qualification or completeness of scientific provenance. Open the evidence record for its current detail and timestamp.