# Unit 6 companion: Discrete-time scientific models and convergence checks

For Scientific Computing and Reproducible Workflows, TMP-SCI-204. All exercise data are fictional. Extract this archive into a new folder you own; keep this unit's files together and keep different units separate. Do not overwrite an existing folder or prior evidence. Read the lesson before running or editing source.

Use an already available suitable Python 3 interpreter with its standard library. The download does not include Python. No installation, account, paid package or network connection is required to run these files. If no interpreter is available, use the lesson's conceptual route, label it trace only, and leave execution credit unclaimed. The examples were author-tested on Python 3.12.14, which is not a record of your environment.

Open a terminal inside the extracted unit-6 folder, not its parent. If your existing verified Python 3 command is python or py, substitute that for python3. Record your actual interpreter version:

    python3 --version

Run the supplied tests before making changes:

    python3 -B -m unittest -v test_transfer_model

Run the worked example:

    python3 -B transfer_model.py fixtures/worked.json worked-run

The worked-run destination must not exist; its parent must already exist. Use another new destination for each rerun. Preserve failures and partial outputs, inspect them, and choose a fresh destination rather than erasing evidence. Output manifests contain your invocation and local file paths; inspect them before sharing anything. No upload or sharing is requested.

Keep predictions, actual output, command, exit status and interpretation distinguishable. Preserve original files and make separately named copies for revisions. Hash matches establish byte consistency, not scientific truth. Tests are bounded checks, not proof of correctness for every input. The reader offers formative feedback, not accreditation or a calibrated course grade.
