LEARNING / AUTOMATION / SOFTWARE
Community forum
03 / Engineering automation

Check the data before the report.

Find a unit mismatch, duplicate result and unexpected case in synthetic reaction records.

Illustrative example

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.

FormatWorked example + sample data

Published07 Nov 2026

OutputA reproducible data-quality check

01 / Task & inputs

A useful export
needs explicit context.

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.

Deliberately inconsistent input
RowCase / supportFY valueReview finding
1G1 / A24 kNNo record-format issue
2G1 / B24000 NUnit mismatch
3G1 / B24 kNRepeated case/support/component key
4G2 / A24 kNUnexpected case
02 / Method & checks

Stop ambiguous data.
Make each issue specific.

  1. Check the context. Accept only G1, supports A/B and vertical component FY for this exercise.
  2. Check units explicitly. Flag row 2 because its unit is N. Confirm the source basis before a deliberate normalization; the checker does not silently convert it.
  3. Check uniqueness. Rows 2 and 3 repeat G1/B/FY. Flag the repeated key rather than summing both.
  4. Check completeness and values. Require G1/A/FY and G1/B/FY, with finite numeric values. Reject malformed records.
  5. Block the report handoff. Return a list of issues and wait for correction and review.

Run the local check

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

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

03 / Output & limits

Clean records.
Then engineering review.

Original sample

Blocked

  • Row 2: UNIT_MISMATCH
  • Row 3: DUPLICATE_RESULT
  • Row 4: UNEXPECTED_CASE
Corrected teaching sample

Ready for review

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.

04 / Take the example

Repeat the check.
Inspect the output.

The input files are JSON. The checker is readable JavaScript. The expected findings file lets you compare the teaching output.

See the hand-reference values
Continue learning

Explore
the next example.

Review another worked example or discuss a non-confidential learning question in the MyBB forum.

Who's online

Recent activity
Website
Visitors
—
Loading
Forum
Members
—
Guests
—
Bots
—
Loading
i

Website visitors are approximate active browser sessions in the last 15 minutes, using a random browser identifier shared across tabs and renewed after inactivity. Recognized bots are excluded; browsers blocking scripts or storage may be missing. Page visits, returning to a tab and interaction update presence at most once a minute. An idle tab or reading these counts does not keep a visit active. Forum Members includes staff. MyBB guests use distinct session addresses. Forum bots are displayed separately; disguised bots may still appear as visitors or guests. Each site counts independently, so a person can appear in several groups. Delayed values are labelled; unavailable counts use a dash. Privacy notice.