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.

Mental model ~5 min · ~52 min remaining

Contract before code

ARG1–ARG4, early validation, and build/solve/extract separation form the reusable pattern.

Mental model — Contract before code

Driver that validates arguments and calls build, solve, and extract
Figure 1. One public macro orchestrates three private phases with explicit failures.

M08 introduces no new physics. It changes the software's form: validated inputs, separated phases, file output, and systematic diagnosis. Without that contract, the M09 sweep would only multiply hidden errors.

Quick check

What is the correct way to clear the session before invoking the driver?