Level 15 project
Ship, Evaluate, and Defend an AI Product
Start from the canonical project files, validate the result, and keep the evidence you need to explain what you built.
There is no upload or grading service. Run the documented validator or checks where applicable, keep the results, and score your own evidence against the rubric below. A passing check by itself does not mean the project is complete. Suggested strong-evidence target: 90/100. Critical-condition rule: A high total is not sufficient if your work fails any critical or zero-tolerance condition the rubric lists.
Start here
Launch lesson: Capstone Integration: Ship, Evaluate, and Defend
Prerequisite project: Production AI Service
Prerequisites
Python help for this project:
Goal
Build the required release-evidence controller, then optionally run a separate learner-built real RAG pipeline.
Task
Complete the required TODO functions in capstone.py:
- regression and critical-case summaries;
- human-review mean and disagreement evidence;
- tool authorization using trusted principal state;
- retention/deletion eligibility;
- severity-aware threat-test summaries that preserve threat categories;
- dated frontier-claim validation;
- research-reproduction record validation;
- artifact license/provenance and governance-obligation evidence summaries, including missing required inventory entries;
- multi-dimensional release gates that include those evidence metrics;
- raw-evidence run validation, ISO-dated evidence checks, and release-decision recomputation.
The required acceptance path is deterministic and offline. It does not require a live model, provider API, network connection, GPU, cloud account, real user data, or secret.
Run:
python projects/tests/l15/validate_submission.py \
projects/starters/l15/capstone.py \
projects/tests/l15/fixtures/passing/capstone-run.jsonStuck on a TODO?
Choose one function at a time. Hint 1 offers direction, hint 2 offers pseudocode, and hint 3 reveals only that function's reference implementation after confirmation.
capstone.py: regression_summary()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: human_review_summary()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: authorize_action()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: deletion_eligible()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: threat_summary()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: frontier_claim_valid()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: reproduction_record_valid()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: evidence_summary()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: release_allowed()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
capstone.py: validate_run()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
product.py: retrieve()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
product.py: build_grounded_messages()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
product.py: generate_grounded_claim()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
product.py: answer_question()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
Validation
Run these commands from the downloaded Project folder or the public materials repository root.
python projects/tests/l15/validate_submission.py \
projects/starters/l15/capstone.py \
projects/tests/l15/fixtures/passing/capstone-run.jsonpython projects/tests/l15/validate_product.py \
projects/starters/l15/product.pyCompare with a reference
First complete your own TODOs and run the submission validator above. Then open the published reference solution. Reference acceptance tests check the completed reference, not your submission:
python projects/tests/l15/test_reference.pyRubric
Total: 100 points.
- Regression evaluation — 15: important cases, slices, and critical regressions are represented and recomputed from raw case outcomes.
- Human evaluation — 10: rating evidence preserves observable scores and meaningful disagreement rather than only a final average.
- Authorization and agent security — 15: trusted principal state controls side effects; generated identity claims cannot expand authority.
- Privacy, governance, and retention — 15: retention and hold logic is explicit, deterministic, and checked from raw record fields.
- Threat modeling and red-team evidence — 15: severity-aware adversarial tests preserve both blocked paths and critical control failures.
- Frontier and research evidence — 15: claims are scoped, dated, versioned, and paired with reproducible local evidence or explicit limitations.
- Release reasoning — 10: thresholds and zero-tolerance gates remain independent and the final release decision is recomputed.
- Reproducibility and communication — 5: offline acceptance, synthetic fixtures, environment metadata, and reviewable evidence are documented.
Full credit requires independent recomputation of critical metrics and release status. A high aggregate quality score cannot compensate for a zero-tolerance authorization, retention, or critical threat violation.
Self-check before you call it done
- Can you recompute regression results and inspect individual human-rating scores and disagreement rather than only averages?
- Can you show trusted-principal authorization, retention/hold decisions, and adversarial blocked/failing traces?
- Can you cite dated, versioned frontier claims with local evidence and explicit limitations?
- Can you reproduce independent release gates and explain why no aggregate score can override critical authorization, privacy, or threat failures?