Troubleshooting

Troubleshoot parameter sweeps — Sustainable Catalyst Workbench

Troubleshoot 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, authent

ProductSustainable Catalyst WorkbenchUpdatedNovember 11, 2026Reading time5 minutes

Troubleshoot 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.

Begin with a controlled comparison

Use the how-to’s unchanged first-order gain sweep before diagnosing a large model. Expect approximately 0.4323322358, 0.8646644716 and 1.7293289432 for K = 0.5, 1 and 2 at t = 2 s. Record the request and source SHA, not just a screenshot or success flag. The declared output is dimensionless; time settings are in seconds by convention, not enforced unit metadata.

Symptom Inspected or observed behavior Appropriate action
Full backend cannot import app.v10110 Source startup/test collection blocker #47 Report the pinned revision; do not claim the deployed sweep works. Use the documented local module exercise only as a limited diagnostic.
Version test expects 10.4.0 but canonical source says 14.0.0 Historical assertions/README disagree with current release identity Keep the observed version; track issue #48 instead of rewriting outputs to make a test green.
422 for one point or more than 101 points v750 values list must have 2–101 entries Reduce to a justified small explicit list; do not confuse it with the legacy 501-step route.
422 for invalid metric Only four metric names are accepted Use final-state, maximum-state, minimum-state or duration exactly.
422 when path traverses a scalar Dotted setter cannot descend through a number Use the actual model’s parameter field; the verified scalar example uses gain.
Success but identical outputs after changing a path A new misspelled field such as gaim can be added and ignored Compare the path to the model schema and check the analytic fixture. Do not conclude the true parameter has zero influence.
Invalid physical value rejected Tested zero time_constant is rejected by underlying model validation Preserve the failed request; choose a scientifically valid range rather than suppressing validation.
Repeated numerical values but different sweepHash Local repeated executions showed this behavior Compare numeric rows and record both execution fingerprints; do not require byte-identical hashes for scientific repeatability.

Diagnose a flat, noisy or implausible response

Confirm which metric is being read. For scalar final-state, it is the first normalized state’s last sampled value, not an optimizer’s score. For multiple states, maximum/minimum-state pool values across states, which may mix different meanings or units. Null metrics are not equivalent to zero. This topic verified only the scalar first-order case.

Check that the field actually affects the chosen model. Unknown fields can be ineffective even though the outer model dictionary accepted them. Values are used in the supplied order; they are not sorted, deduplicated or sampled from a probability distribution. Duplicate values cause repeated runs. If a plot looks discontinuous, inspect the ordered table and model behavior before interpreting a bifurcation or a scientific threshold.

For a failed accuracy check, compare with K(1 − exp(−2)) under the exact tutorial assumptions. Halve the RK4 timestep from 0.1 to 0.05 s without changing any other setting. The verified maximum absolute error decreased from about 4.90e-7 to 2.94e-8. That is numerical evidence for this fixture, not a guarantee for discontinuous, stiff or mis-specified models. Keep the horizon divisible by the step; inspect full trajectories separately for other horizons and step-cap effects.

Failed requests and recovery boundaries

The sweep loop has no per-run failure collector or resume checkpoint. If a run raises an error, do not assume earlier results have been durably saved or that retrying a requestKey skips completed values. Reduce to a small authorized fixture and preserve any available diagnostics. Do not automatically launch repeated expensive jobs against a live service.

The separate quantity endpoint’s missing-field/incompatible-unit HTTP 500 behavior is tracked in issue #49. The tested sweep schema/path failures above returned 422 locally. Neither observation proves every full-app or production error response. Distinguish route validation, model semantics, runtime failure and scientific interpretation.

No GUI buttons, browser graph exports, deployed authentication or WordPress execution were verified. Preserve original inputs, expected/observed outputs, unit conventions, solver/timestep and sanitized errors when escalating. Leave unsupported workflows unverified rather than using fabricated screenshots or invented controls.

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