Blocked
- Row 2: UNIT_MISMATCH
- Row 3: DUPLICATE_RESULT
- Row 4: UNEXPECTED_CASE
Find a unit mismatch, duplicate result and unexpected case in synthetic reaction records.
Fictional inputs created for this website. No client project, completed commission or STAAD.Pro analysis run is claimed. Educational material; not a design or construction document.
Review synthetic vertical reaction records before they enter a report. The expected context for this bounded exercise is case G1, supports A and B, component FY, force unit kN.
The corrected values match the beam hand-reference example. The records were created for this exercise: they are not output from OpenSTAAD, STAAD.Pro or a client model.
| Row | Case / support | FY value | Review finding |
|---|---|---|---|
| 1 | G1 / A | 24 kN | No record-format issue |
| 2 | G1 / B | 24000 N | Unit mismatch |
| 3 | G1 / B | 24 kN | Repeated case/support/component key |
| 4 | G2 / A | 24 kN | Unexpected case |
Download the checker and both input files into one folder. With Node.js 20.9+ installed, run:
node check-reactions.mjs reaction-sample.json
node check-reactions.mjs reaction-corrected.jsonThe first command intentionally exits with code 1 and three issues. The corrected sample exits with code 0 and the status ready_for_engineering_review. The checker uses local files and Node's built-in modules, with no installed packages or network requests.
Two distinct G1/FY records, in kN: A = 24 and B = 24. No record-format issues remain.
A clean table is not proof of a correct model or design. This checker does not verify analysis completion, axes in the source model, engineering equilibrium, load combinations, capacity or code compliance.
For a real OpenSTAAD workflow, separately confirm the installed API's result-unit contract, software version, model identity, load case and extraction method. No live API compatibility is asserted by this file-checking exercise.
The input files are JSON. The checker is readable JavaScript. The expected findings file lets you compare the teaching output.
Review another worked example or discuss a non-confidential learning question in the MyBB forum.