AI Engineering Programme Start here Weeks Playground Open Codespace
‹ All weeks

Week 6

Shipping it, presenting it and proving it

10 of 14 checks pass ›route startOn GitHub

Do this next

Build this week's exercise, then run the gate.

make check WEEK=6

This week at a glance

SessionSession 4: Defence, 60 min
BuildTag, release, break, roll back, fix forward; the trade-off table, the write-up, the demo and the AI-assisted rehearsal.
Filesreflections/writeup.md, decisions/week-6-rehearsal.md
Measuremake evidence WEEK=6 on a real model, into evidence/week-6.json
Recorddecisions/week-6.md from the evidence, ai-use/week-6.yml, reflections/week-6.md
GuidesHow you are judged · Glossary

checks fail 10 of 14 checks pass

The 4 that do not
  • live traffic can be sampled and scoredtest_week6.py
  • the ai assisted rehearsal is written uptest_week6.py
  • the business write up is numbers not adjectivestest_week6.py
  • the tradeoff table compiles every decision recordtest_week6.py

Red is the normal state of a week you have not built yet. Each name is a test in the file beside it.

The 10 that do
  • a stranger can run it from the instructions alonetest_week6.py
  • a wrong answer still fails even when other weeks are unbuilttest_week6.py
  • deploy workflow supports rollback by reftest_week6.py
  • health reflects the build the deploy wrotetest_week6.py
  • health says what is runningtest_week6.py
  • smoke script is runnable standalonetest_week6.py
  • smoke test fails on the wrong committest_week6.py
  • smoke test passes against the servicetest_week6.py
  • smoke test skips exercises that are not built yettest_week6.py
  • smoke test treats the kill switch as intendedtest_week6.py

Hidden evaluation

Not shown on the public page. The programme runs it on each week you merge; your mentor sees the totals on the brief and brings them to you.

Decision and AI use

Written last: make evidence WEEK=6, then decisions/week-6.md and ai-use/week-6.yml.

Measuredthis week

Trace report

38 requests, $1.00000 total; failures: unsupported: 1

stepnp50 msp95 mscost $
POST /documents28340.00000
POST /documents/{id}/extract3030.00000
POST /index248610.00000
POST /ask1330.00000
POST /tasks/run4130.00000

Dothe week

The exercise is in your repository, where you can run it:

code weeks/6/README.md
make next

Read it on GitHub · what the gate verifies · the tests

Whythis week is here

You arrived with

Least agency first, a defence against instructions planted in documents and tool results, personal data masked before it reaches the model, and cost and time traced per step.

This week leaves

A published build someone else can run, a rollback you performed, the trade-off table, a recorded five-minute demo, and one page saying what it did for the business.

And then

That page, and the demo, are what an interview actually asks about.

Readthe concept

Interviewers ask what the last AI feature did for the business, not what it scored. A candidate who can only give a score has been building in a sandbox.

Read this once (about 15 minutes). Write the sentence in your own words in reflections/week-6.md, Q1. This week has less code and more proof.

Shipping a system that is not deterministic

A normal deployment is checked by tests that either pass or fail. This one answers differently on different days, and its provider changes under it. So the disciplines shift:

flowchart LR
  T1[tag v1.0.0] --> D1[deploy] --> S1["smoke ✓
expect-sha matches"] S1 --> BR["break on purpose
RELEVANCE_THRESHOLD=1.5"] --> D2[deploy] --> S2["smoke ✗
ask declines everything"] S2 --> RB["rollback
Run workflow, ref = v1.0.0"] --> S3["smoke ✓
minutes: ___"] S3 --> FX[fix forward] --> T2[tag v1.0.1] --> D3[deploy] --> S4[smoke ✓] style S2 fill:#fbeeed,stroke:#b3261e style S1 fill:#eef7ef,stroke:#2e7d4f style S3 fill:#eef7ef,stroke:#2e7d4f style S4 fill:#eef7ef,stroke:#2e7d4f

Proving it: the write-up and the portfolio

The document says it plainly: interviewers ask what the feature did for the business. So:

What this looks like in the service

Idea Where it lives What you do this week
Build identity app/build_info.py, /health Tag, release, read it back out of the running image
Publish the release workflow, ghcr.io/<you>/ai-eng-track Build, smoke test, publish; make the package public once
Smoke test scripts/smoke.py It gates the publish, and you run it again after a rollback
Rollback workflow_dispatch with a ref Break it on purpose, roll back, prove it with /health
Write-up weeks/6/WRITEUP_TEMPLATE.md One page, numbers not adjectives
Defence your mentor's final session The whole track, defended

What you should be able to say by Friday

Read more

Checked September 2026.

Optionalself-test

Answers are kept in this browser only, under hub.quiz in local storage. They are never sent anywhere: not to the repository, not to the progress export, not to your mentor, and they have no effect on your route. Clearing your browser data clears them. The explanations are the point, not the score.

‹ Week 5