Course project · separate human review
The Reproducible Program
Build a small, reproducible order-analysis program and defend a tested change on unfamiliar input.
Working conditions
Run Python locally. Keep the first failed attempt, implement your own extension and disclose any assistance. The supplied workshop is guided preparation, not the finished project. A reviewer must rerun the package and pose a changed case; the website cannot authenticate independence or grade code.
The second starter belongs to the shared module: Review the cooling example and download its program. Use this project’s P1–P5 requirements; the science starter’s separate Model Challenge is not an extra requirement.
Your source and task pack
Authored fictional material for this project. It is separate from lesson practice.
- P1 · New project orders: [[3, 7], [0, 4], [2, 9]]. Each row is nonnegative whole quantity and unit price in credits. Delivery costs 5 credits once per nonempty order list; an empty list costs zero.
- P2 · Implement a new discount rule: if the merchandise subtotal is at least 40 credits, reduce only the merchandise subtotal by 10%, then add delivery. Retain decimal values; state any rounding policy at reporting time.
- P3 · Reject malformed rows, nonnumeric prices and negative quantities before creating a result. Preserve input, configuration and SHA-256 in a JSON report along with Python version and your code version. Do not overwrite an existing output file silently.
- P4 · Write tests covering the discount boundary, zero, empty and invalid inputs. Compute expected results independently on paper before running. A reviewer supplies a different order and asks you to explain an altered fee rule.
- P5 · Reuse the M69 scientific starter to demonstrate input/version tracking and explain which rows are fitting versus monitoring. Do not use monitoring outcomes to silently adjust the fit. Include both exercises in the reproduction instructions.
What a reviewer should check
- Runs from the stated fresh-folder commands without third-party dependencies.
- Preserves units, row validation, discount boundary and one-time delivery semantics.
- Tests reject plausible incorrect implementations, not just match supplied example output.
- A report identifies input/configuration and the code used; old outputs are retained.
- Explains a new case and an implementation change; passing public tests alone is not proficiency.
The site does not automatically grade writing, reasoning, policy compliance or independence. No project answers are supplied by the practice coach or five-minute review.
Your evidence
Loading saved work… Backups are available in My Learning.
This records your declaration, sends nothing and awards no passing assessment. Editing any response clears the declaration. A reviewer must inspect the evidence; filled fields do not establish quality.
Back to Programming for AI: Make It Run · My Learning and full progress backup