Worked Examples

Understand parameter sweeps — Sustainable Catalyst Workbench

Understand parameter sweeps — Sustainable Catalyst Workbench Availability: Implemented source and a local, isolated-router example are TESTED at the pinned Workbench commit. Full application startup, browser interaction, authentic

ProductSustainable Catalyst WorkbenchUpdatedNovember 11, 2026Reading time3 minutes

Understand parameter sweeps — Sustainable Catalyst Workbench

Availability: Implemented source and a local, isolated-router example are TESTED at the pinned Workbench commit. Full application startup, browser interaction, authentication, WordPress execution and deployed behavior remain UNVERIFIED. These articles remain internal drafts with publication blocked.

The selected implementation is the historical v750 simulation runtime. It imports the current canonical version 14.0.0; the README says v10.4.0 and older tests contain historical expectations. Identify this behavior by source commit and route, not by assuming those labels establish installed-release compatibility.

What a parameter sweep answers

A parameter sweep repeats one declared model at several researcher-chosen input values. It produces a response table showing how a selected output changes over the chosen range. A parameter is a model setting; a state is a simulated quantity evolving over time; a metric reduces a trajectory to one reported number. A sweep is useful for exploring a response curve, testing limiting behavior and identifying ranges needing closer study.

The inspected POST /simulations/parameter-sweep implementation executes bounded simulations synchronously, varying one model field at a time. It returns the input value, metric, simulation-run hash and diagnostics for each point. It reports automaticOptimizationPerformed: false. It does not choose a scientifically preferred value, infer uncertainty, search adaptively, generate a graph or establish that a model is valid.

Verified worked model

Use a constant-input first-order model:

dx/dt = (K u − x) / τ, with x(0) = 0.

Declare x and input u dimensionless, gain K dimensionless, time in seconds, τ = 1 s, u = 1, final time 2 s and RK4 step 0.1 s. Sweep K over 0.5, 1, 2. The exact solution is x(2) = K(1 − exp(−2)).

K Observed final-state metric Analytic x(2)
0.5 0.4323322357891047 0.43233235838169365
1 0.8646644715782094 0.8646647167633873
2 1.7293289431564187 1.7293294335267746

Every absolute error is below 1e-6 dimensionless units. The small differences are consistent with numerical approximation in this example; they are not measurement uncertainties. The model accepts numeric fields, not Pint quantities. Units are the researcher’s documented convention; the sweep route does not enforce or convert them.

Distinguish neighboring implementations

Historical v2.5 release notes describe a Scenario Sweep and Sensitivity Studio. Its backend is a different route, /v250/scenarios/sweep, using minimum/maximum/steps and reporting fitted sensitivity. Do not send that schema to the v750 route, which requires an explicit values list.

The v9.2 campaign documentation describes campaign planning, budgets and resumable state. Those are separate contracts. The bounded v750 example does not verify campaign execution, job persistence, automatic queueing or resume. No current browser labels or screenshots were verified in this batch.

Use and limitations

Keep the fixed model, solver, unit convention and stopping time alongside the table. The maximum metric is simply the largest returned number in this sweep, not an optimum over untested values. Repeated deterministic simulations are not independent experimental replicates. A one-factor sweep also misses interactions with other changing parameters. Scientific review, model calibration, uncertainty propagation and authentication/deployment checks remain separate work.

Source evidence, test status and related guides

SweepRequest, parameter_sweep, metric extraction and the actual route; Underlying first-order derivative and RK4 integrator; Parameter path setter; Existing simulation/sweep regressions.

On 2026-11-10, 19 focused local checks passed, including the unchanged test_parameter_sweep_is_bounded_and_does_not_optimize function, using the actual v750 router in a minimal FastAPI app. The full upstream test command could not collect because app.main imports missing app.v10110. tests/test_v750_static.py produced 1 pass and 3 failures from historical release/plugin assertions and missing retired root release artifacts. No source repair or deployed acceptance was performed.

Engineering tracking, checked for existing issues first: startup blocker #47, release-reference inconsistencies #48, and quantity HTTP error handling #49. Issue #49 concerns the separate quantity route; do not assume the same errors occur in every sweep request.

Related: overview, worked how-to, research protocol, developer reference, troubleshooting. Technical/scientific review remains pending and the review owner is unassigned.

Scroll to Top