Skip to content
Marc & Structures
Index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Error hunt ~6 min · ~26 min remaining

Diagnose sweeps

Identify residual state, partial CSV output, and confusion between validation_pass and feasible.

Bug hunt

Open 09_bug_hunt.mac. It contains five common parametric-sweep defects:

ErrorSymptomCheckCauseMinimum fix
1Impossible topologyNode countsNo rebuild between casesVCLEAR + VDELE in build
2Single-row CSVOutput fileCSV written in extractWrite only from the driver
3h=0.08 selectedfeasibleConfused with validation_passFilter by design limits
4Inconsistent loop/STATUS,PARM/CLEAR inside *DOClear geometry, not the session
5h=0.14 selectedselected_hLargest acceptable height chosenmin(beam_h) with feasible=1

Professional incident

Incident M09: diagnose before editing

What you must demonstrate

The sweep selects a design containing an invalid case.

Incident file

This is not your session template — it is a broken script for diagnosis practice.

Download 09_bug_hunt.mac

Steps

  1. 1 Run the broken script in a clean folder.
  2. 2 Preserve the original .out.
  3. 3 Write one causal hypothesis and make one change.
  4. 4 Compare evidence before and after.
Evidence to retain

Your reflection stays in this browser.

Graduated hints

1 · Concept hint

Find the first broken contract.

2 · Command hint

Inspect state related to *DO, *IF, and /CLEAR.

3 · Explained solution

Compare with the module deliverable and explain why the corrected state restores the contract.

After running the script, reviewing the .out, and saving evidence, answer:

Quick check

The CSV contains only the last row of the sweep. What is the most likely cause?