Worked Examples

Validate scientifically parameter sweeps — Sustainable Catalyst Workbench

Validate scientifically 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 interacti

ProductSustainable Catalyst WorkbenchUpdatedNovember 11, 2026Reading time4 minutes

Validate scientifically 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.

Prespecify the scientific question

Ask: how does the final state at 2 s vary with dimensionless gain K ∈ {0.5, 1, 2}, holding all other settings fixed? Use the first-order equation dx/dt = (K u − x)/τ, constant input u = 1, τ = 1 s and x(0) = 0. The assumptions are a deterministic scalar, linear, time-invariant model with a constant input and positive time constant. Define x and u as dimensionless; the implementation does not infer physical units.

Choose the range because it is a small, interpretable software fixture, not because it covers a calibrated physical parameter distribution. Inputs are synthetic and require no private research or measured records. There is no random seed because this fixture has no random sampling.

Method and analytic benchmark

Use the how-to payload unchanged with RK4 and h = 0.1 s. The exact response is x(t) = Ku + (x(0) − Ku) exp(−t/τ), so the three expected values at t = 2 s are 0.43233235838169365, 0.8646647167633873 and 1.7293294335267746.

Prespecify absolute error ≤ 1e-6 dimensionless units for this small fixture. The measured software errors were approximately 1.23e-7, 2.45e-7 and 4.90e-7. Compare these numbers to the reference rather than interpreting the presence of a run hash as accuracy proof.

Repeat with h = 0.05 s, keeping every other setting fixed. Errors fell to approximately 7.35e-9, 1.47e-8 and 2.94e-8. That supports convergence for this smooth test case; it does not establish convergence for every supported model or certify the numerical implementation generally. The roughly sixteenfold reduction is consistent with fourth-order behavior here, not a guaranteed error bound.

Use a duration exactly divisible by the timestep in this fixture. The underlying integrator has a step cap and labels times separately from its fixed integration step; arbitrary nonintegral horizons and capped runs require additional examination. Do not infer that every final-state metric corresponds to a requested physical end time without inspecting the trajectory in a separate simulation run.

Scientific interpretation and uncertainty

Distinguish three questions: whether the program computes the declared model, whether the numerical resolution is adequate, and whether the model represents the real system. A gain sweep alone answers none of the calibration or external-validation questions. It also cannot resolve interactions with τ or input magnitude when those variables are held fixed.

The three K values are design points, not independent experimental replicates or samples from a probability distribution. Their spread is not a confidence interval or standard error. Measurement uncertainty, parameter distributions, correlated inputs and model discrepancy require an explicit separate analysis. Do not label maximumMetric a best estimate or optimized choice.

final-state uses the last point of the first state in the normalized trajectory. The maximum/minimum-state metrics pool sampled values across all states, whereas duration uses the trajectory time span. For models with heterogeneous state units, pooling states can be scientifically inappropriate. The present scalar fixture avoids that ambiguity.

Reproducibility record and failure controls

Save the complete base model, exact values/order, parameterPath, metric, solver, timestep, horizon, source SHA, dependencies, unit convention and every run’s diagnostics/hash. Repeat numerical outputs in the same environment. An initial assumption of byte-identical sweep hashes was disproved: repeat computations produced matching metric rows but different hashes. The sweep hash includes per-run execution fingerprints; preserve it as provenance rather than using it as a universal replay/idempotency certificate.

Include negative controls: invalid list sizes and metrics are rejected; a scalar path collision is rejected; a misspelled new field can be silently ignored by the underlying model. A flat response therefore demands inspection, not a claim of zero sensitivity. Stop interpretation on a failed analytic check or nonfinite diagnostics and retain the failure record. All technical/scientific review and real-study validation remain outstanding.

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