Worked Examples
Validate scientifically dimensional analysis — Sustainable Catalyst Workbench
Validate scientifically dimensional analysis — Sustainable Catalyst Workbench Availability: The physical-quantity implementation and the local examples below were inspected/tested at the pinned source revision. Full application st
Validate scientifically dimensional analysis — Sustainable Catalyst Workbench
Availability: The physical-quantity implementation and the local examples below were inspected/tested at the pinned source revision. Full application startup, browser controls, authentication, WordPress integration and deployed behavior remain UNVERIFIED. These are internal drafts, not approved public instructions. A local router test is not a production acceptance test.
The source module’s historical label is v11.7.0, but backend/app/release.py currently reports 14.0.0 and the README reports v10.4.0. Use the commit to identify this behavior; do not infer installed-version compatibility from those conflicting labels.
Question and prespecified model
Test whether the inspected software preserves units and produces the expected force for synthetic inputs under F = ma. Use constant mass m = 2 kg, acceleration a = 3 m/s², and expected force 6 N. Assume classical mechanics in a consistent reference frame, scalar magnitudes along one specified direction, no changing mass and no relativistic corrections. Real vector forces require their directions and signs to be defined; scalar dimensional agreement does not establish vector correctness.
Treat these as deliberately chosen demonstration constants, not measured observations. No participant data, environmental measurement or private research is required. There is no stochastic component or random seed in this example.
Data and execution record
Before running the how-to, record the source SHA, operation and operand JSON, unit spellings, Python and resolved dependency versions, and expected dimensions. Preserve complete successful and failed responses, the local application/router context, tolerances and any warnings. A source filename beginning v1170 is not an installed release certificate: current canonical source version is 14.0.0 and other release references disagree.
Run the multiplication and dimensionality requests from the how-to unchanged. Also run the independent scale check 36 km/h = 10 m/s. Do not derive acceleration from speed without an explicit time-dependent model; speed and acceleration have different dimensions.
Acceptance checks
| Check | Acceptance rule | Interpretation |
|---|---|---|
| Force magnitude in base units | abs(observed - 6.0) <= 1e-12 |
Numerical software agreement for these synthetic constants |
| Force dimensions | mass +1, length +1, time −2 | Required unit structure, not a proof of the physical model |
| Speed conversion | abs(observed - 10.0) <= 1e-12 m/s |
Independent scale-factor check |
| Compatible force representations | compatible for N and kg·m/s² is true |
Same dimension; no assertion of equal magnitudes |
| Negative control | meters versus seconds returns false under compatible |
Incompatible quantities are distinguished |
| Repeat execution | same input gives matching numerical output and result hash in the same environment | Determinism check, not independent replication |
These tolerances are software acceptance choices for exactly specified inputs. They are not empirical uncertainty estimates, calibration tolerances or significance thresholds. Compare base magnitudes/exponents; textual unit formatting can vary with Pint versions.
Uncertainty and scientific limits
If m and a later represent independent measured values with small standard uncertainties, an external first-order propagation model gives u(F)² ≈ a²u(m)² + m²u(a)². For correlated inputs, add the covariance term 2ma·cov(m,a). This is a stated scientific analysis rule, not an implemented or tested uncertainty feature of v1170. Check applicability of linearization and correlations before use; no measured uncertainty is supplied in this exercise.
A dimensionally consistent formula can be scientifically wrong. In particular, multiplying F by a dimensionless constant leaves its dimensions unchanged. The upstream energy test evaluates q1 * q2 ** 2 as 18 kg·m²/s² for 2 kg and 3 m/s; it is not kinetic energy, because kinetic energy requires the factor 1/2 and would be 9 J. Do not promote that test name into a scientific interpretation.
Reproducibility and review
The local receipt contains 23 passing focused assertions, including repeat hashing and negative route cases. Six original test functions passed only after substituting a minimal app.main containing the actual quantity router; that substitution bypassed a real startup failure and must never be described as full-backend acceptance. Normal collection fails on missing app.v10110; status/version assertions also expose release drift. Keep the failures alongside passing results.
A resultHash fingerprints serialized result content, including release-dependent fields. It does not establish input rights, calibration, scientific validity or an independently observed outcome. Require scientific and technical review before using derived values in a report. Human review remains outstanding.
Evidence and related reading
Physical-quantity request models, operations, result serialization and routes; Existing quantity tests; Canonical source release identity.
Verification on 2026-11-10: 23 focused local assertions passed against the actual quantity router in a minimal FastAPI application. Six existing upstream test functions passed in that isolated router context; the status test failed because it expects 11.7.0 rather than the returned 14.0.0. The normal upstream suite could not collect because full app.main imports missing app.v10110. Static tests: three passed, two failed on old release/image expectations. These failures were recorded, not patched away. No deployed endpoint, UI, permission or scientific peer-review acceptance was performed.
Related: overview, worked how-to, research protocol, developer reference, troubleshooting. Technical/scientific review owner remains unassigned; publication remains blocked.
