Module 14B: Projects

Ship & get hired5 projects0 of 5 complete

Starter projects are guided step by step and suit freshers. Stretch projects are open-ended, add production concerns, and suit experienced readers. The whole appendix is optional, and so are these projects: do them if you are preparing a job search.

Five projects: three starters and two stretches. Every one is keyless. This appendix calls no model and needs no API keys, no accounts beyond free tiers and no services. All code is Python 3.11+ standard library; the only package the appendix's lessons install is pytest for the drills' test suite (14B.6). The two optional stretches that used to sit here, a personal tech radar with a model-migration drill and a 30/60/90 plan with a work log, are now in Module 14A's projects.

The appendix's running example is the career_kit package itself: one file per lesson, assembled across the module and listed in full in lesson 14B.9's appendix. Set it up once:

bash
uv init career-kit --bare --python 3.13 && cd career-kit
mkdir -p career_kit && touch career_kit/__init__.py
uv add pytest                            # only needed by drills/test_drills.py

Then copy each lesson's code block into the file it names (job_decoder.py, portfolio_audit.py, readme_lint.py, readme_template.md, post_checklist.py, resume_lint.py, job_tracker.py, drills/, design_calc.py, design_template.md, story_bank.py, offer_compare.py, plan_30_60_90.py, worklog.py). Run everything from the project root with uv run (the commands below use uv run python; plain python3 also works for the standard-library-only tools if it is 3.11 or newer). worklog.py and job_tracker.py take file paths as arguments.

What "verify" means here. The linters, trackers and calculators produce deterministic output on the fixtures the lessons ship, so the expected outputs below are real shapes you should reproduce closely. Anything involving your own writing, repos or judgement (a README rewrite, a post, a story bank) has no fixed output; the acceptance checks are the observable signals the lessons name: lint clean, sections present, coverage reported, rubric scores recorded.


Starter

Starter: Portfolio README overhaul#

Goal: Take one project repo you built in Modules 00–13 (or a small new one) and turn it into a portfolio piece a hiring manager can verify in five minutes: a README written from readme_template.md, real eval/cost/failure documentation, a reproducible quickstart, licence and hygiene files, and a CI workflow that proves it on every push.

This project practises 14B.2's upgrade recipe and 14B.3's README anatomy on a real repo. It assumes the repo exists and runs keylessly (a docs_qa-style project with fakes is ideal — see 14B.2, 3.4).

What you'll practise:

  • The five-minute scan and what raises doubts — 14B.2, 1.1 and 1.3
  • The upgrade recipe: what to add (eval table with interval, ADR, cost note, failure modes) and what to remove — 14B.2, 3.2 and 3.3
  • Eval tables done right and the judgement checklist — 14B.2, 5.1 and 5.2
  • The README anatomy section by section, the five-minute quickstart and visuals — 14B.3, 2.2, 2.3 and 2.4
  • AI-project documentation: system card, eval methodology, model/provider seams, reproducibility — 14B.3, Part 3
  • The hygiene checklist — .env.example, secrets, licence, governance files, versioning — 14B.3, Part 4
  • The portfolio CI workflow and the keyless eval smoke test — 14B.3, 5.2 and 5.3
  • Auditing with portfolio_audit.py and linting with readme_lint.py — 14B.2, 10.1 and 14B.3, 7.1
  • The five-minute test and reproducibility drill — 14B.2, 9.1 and 6.4

Setup: the career_kit package above (you need portfolio_audit.py, readme_lint.py, readme_template.md), plus one repo of yours cloned or created locally. The CI workflow is YAML you commit — it is not executed in this project.

Steps:

  1. Audit before you touch anything. Run uv run python career_kit/portfolio_audit.py /path/to/your/repo and read the full report, not just the summary line — 14B.2, 10.4 explains PASS/WARN/FAIL. Fix every FAIL first (a committed .env means rotate the credential before anything else — 14B.3, 4.2).
  2. Pick the piece's job. Write one sentence answering "what does this repo prove?" using 14B.2, 2.2. If you can't write the sentence, the project isn't portfolio-shaped yet — that's a finding, not a failure.
  3. Rewrite the README from the template. Copy career_kit/readme_template.md into the repo as README.md and fill every section: pitch, why-it-exists, features, quickstart, usage, architecture (a Mermaid diagram renders on GitHub — 14B.3, 2.4), design decisions, evaluation, limitations and failure modes, cost, security/privacy, structure, testing, configuration, roadmap, licence, acknowledgements, contact — the section list is 14B.3, 2.7. Study the three before/after rewrites in 14B.3, 2.6 first.
  4. Make the quickstart survive a stranger. Rewrite the quickstart so a clean clone with Python 3.11+ and no keys runs the core path in ~5 minutes — uv sync && uv run python <entry> or the fakes the project already ships (14B.3, 2.3, 14B.2, 6.4). Add .env.example with variable names and placeholders only.
  5. Add the AI-project documentation. Write docs/system-card.md (intended use, out-of-scope uses, model versions, data, eval summary, known limitations, safeguards, contact — 14B.3, 3.2) and docs/eval-report.md (dataset, method, metric, date, confidence interval or n — 14B.3, 3.4). Link both from the README.
  6. Fix the hygiene checklist. Walk 14B.3, Part 4: LICENSE (pick MIT or Apache-2.0 and use the SPDX identifier — 14B.3, 4.3, awareness not legal advice), CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, issue/PR templates, CHANGELOG.md with semver tags, meaningful commit history, .gitignore covering .env, and enable secret scanning + Dependabot + private vulnerability reporting (14B.3, 4.8).
  7. Add the CI workflow. Create .github/workflows/ci.yml from 14B.3, 5.2: lint, type-check, test (add a strategy.matrix for Python 3.11–3.13 as 14B.3, 5.6 describes), plus scripts/eval_smoke.py — a keyless eval smoke test using the fake model (14B.3, 5.3). Add the badge to the README (14B.3, 5.6) — only badges that mean something.
  8. Lint and iterate. Run uv run python career_kit/readme_lint.py README.md (add --strict once clean — 14B.3, 7.1) and uv run python career_kit/portfolio_audit.py . again. Re-run until FAILs are zero and WARNs are either fixed or justified in your notes.
  9. Run the five-minute test literally. mktemp -d, clone your repo there, and follow your own README quickstart with a timer — no memory, no shortcuts (14B.2, 6.4, 14B.2, 9.1). Record every stumble and fix the README, not your memory. If you can, have a peer do it and watch where they stall.
  10. Write the "why this project" paragraph. ~100 words: what it does, what makes it yours (domain, data, measurement), what you'd do next — 14B.2, exercise 3. This becomes your interview answer and your README's "Why this exists".

Verify it, and what you should see:

bash
uv run python career_kit/portfolio_audit.py .
uv run python career_kit/readme_lint.py README.md --strict

portfolio_audit.py should report no FAILs; remaining WARNs (e.g. no tests/ dir if the project genuinely has none, thin README before your rewrite) should each have a written justification or a fix. readme_lint.py should exit clean — its checks are the required headings, a quickstart code fence, no broken relative links, image alt text, badge count and secret-shaped strings (14B.3, 7.1); the lesson's fixture output shows the report shape. On the clean-clone test you should reach a running demo or a passing test suite in about five minutes; if it takes longer, the README — not the code — is what failed.

Done when:

  • portfolio_audit.py reports zero FAILs and every WARN is fixed or justified in writing
  • readme_lint.py --strict is clean on your README
  • A stranger can clone and run the core path in ~5 minutes with no keys, verified in a clean mktemp -d
  • The README says which results come from the keyless deterministic run (it proves the pipeline works) and which from a dated real-model eval (it measures quality), and any real-model report ships the raw outputs it was scored from (14B.2, 6.4)
  • The README contains: pitch, why-it-exists, quickstart, architecture diagram, eval table with method/dataset/metric/date and an interval or n, limitations/failure modes, cost note, security note, licence
  • docs/system-card.md and docs/eval-report.md exist and are linked
  • LICENSE, .env.example, .gitignore, SECURITY.md, CHANGELOG.md and a CI workflow with a keyless eval smoke test are committed
  • Your "why this project" paragraph is written and can be said aloud in 60 seconds

Stretch ideas:

  • Record a 90-second demo GIF or a narrated walkthrough video (14B.2, 6.1) and embed it above the fold (14B.3, 2.4)
  • Add a docs/decisions/ ADR for the most consequential trade-off in the project (14B.2, 5.3) and document one dead end honestly (14B.2, 4.4)
  • Publish the docs as a GitHub Pages site (14B.3, 5.4) once the README alone stops being enough (14B.3, 6.1)
  • Package the project as an installable CLI/library with pyproject.toml metadata (14B.3, 6.3) — a real distribution signal, per 01B.10

Common problems:

  • The audit FAILs on a committed .env. Rotate the credential at the provider first — it's compromised the moment it's public — then remove it and scrub history carefully (14B.3, 4.2, 12.7). Never just delete the file.
  • readme_lint.py flags a "possible key" that isn't one. The linter labels every hit "possible — verify"; check the string, and if it's a placeholder, the PLACEHOLDER_RE filter should have skipped it — rename it to something obviously placeholder (14B.2, 10.1).
  • The clean-clone test fails on a missing dataset or model download. That's the most common stumble: either bundle a small public/synthetic sample or make the fakes the default path — "no key? the demo runs" is a portfolio superpower (14B.3, 2.3).
  • The eval table has no confidence interval. At small n a point estimate misleads — compute the rough half-width 1.96·√(p(1−p)/n) yourself or report n so the reader can (14B.2, 5.2).
  • You're tempted to hide a failed experiment. Don't — a documented dead end with evidence is the highest-credibility paragraph you can write (14B.2, 4.4).

Starter

Starter: Profile and résumé kit#

Goal: Assemble the "be found" package: a GitHub profile README with six honest pins, a one-page résumé built from the lesson template and linted clean, the LinkedIn text that matches it, and a job tracker already logging your first ten target roles.

This project practises 14B.3 Part 1 and 14B.5 end to end. It needs no repos beyond the profile README repo GitHub gives you (<username>/<username>) and the résumé Markdown file — everything else is text.

What you'll practise:

  • What a reviewer sees in the first minute — profile README, bio, pins, contribution-graph truths, privacy — 14B.3, 1.1, 1.2, 1.5 and 1.7
  • Pin ordering and the one-sentence test — 14B.3, 1.4
  • The résumé anatomy for freshers vs switchers — 14B.5, 2.4 and 2.5
  • The impact-statement formula and honest quantification — 14B.5, 2.7 and 2.8
  • LLM-specific bullets that survive scrutiny — 14B.5, 2.9
  • The fabrication line, gaps and AI-assisted materials — 14B.5, Part 3
  • The copy-ready résumé template and review rubric — 14B.5, 2.10 and 7.1
  • LinkedIn anatomy and Open to Work's three modes — 14B.5, Part 4
  • The job-search funnel and tracker — 14B.5, 5.3 and 5.6

Setup: career_kit with readme_lint.py and resume_lint.py + job_tracker.py. Create resumes/ and outreach/ folders in the project. Your GitHub profile README repo may not exist yet — create it as a public repo named exactly your username.

Steps:

  1. Audit your GitHub in a private window. List what a reviewer sees in order (avatar → bio → README → pins → graph) and write down the bio line and profile README you want them to see — under 60 lines, honest, specific (14B.3, exercise 1).
  2. Write the profile README. Create <username>/<username> with a README.md: who you are, what you build, links to your best 3–4 repos and writing, one honest line about what you're looking for. Keep it under ~60 lines (14B.3, 1.2).
  3. Pick and order the pins. Up to six slots, repos and gists combined (14B.3, 1.4). For each pin write one sentence "what it proves"; no sentence, no slot. Flagship first.
  4. Fix privacy and contribution-graph hygiene. Settings → Emails: keep my email private, block pushes that expose it; check why any commit of yours doesn't count (14B.3, 1.5, 1.7).
  5. Build the master résumé. Fill the 14B.5, 2.10 template with everything real — jobs, projects, education, OSS, writing — unabridged. Freshers lead with Projects; switchers lead with Experience translated through the impact formula (14B.5, 2.4, 2.5).
  6. Rewrite ten bullets. Take your five weakest bullets and rewrite each as verb + scope + method + measured result (14B.5, 2.7); where you have no metrics use the quantification ladder — scale markers and honest estimates, never invented numbers (14B.5, 2.8).
  7. Cut to one page and lint. Produce resume.md, run uv run python career_kit/resume_lint.py resume.md and fix every real warning (14B.5, 8.1); then run the rubric's 15-second test with a friend (14B.5, 7.1) — can they say what you do and what you're looking for from the top third alone?
  8. Write the LinkedIn text. Headline (what you do and what you're for), About (first person, one concrete number, natural keywords — 14B.5, 4.1), Featured section pointing at your best artefact, and a deliberate Open to Work mode choice with its caveat (14B.5, 4.3). Save as linkedin.md.
  9. Set up the tracker and log ten roles. touch applications.jsonl, then add ten real target roles — decoded postings from 14B.1, 2.6 — using uv run python career_kit/job_tracker.py applications.jsonl add --company "<name>" --role "<title>" --channel <channel> (--company and --role are required; --url, --contact, --date YYYY-MM-DD and --notes are optional; 14B.5, 5.3). Vary the --channel value across the tracker's choices (referral, board, company_site, community, recruiter, event, contract, other) so the funnel has something to measure; new rows start at stage applied, status active.
  10. Run the funnel report and read it honestly. uv run python career_kit/job_tracker.py applications.jsonl report — with only applied rows it will show top-of-funnel only; that's expected. Note the baseline so week-over-week deltas mean something (14B.5, 5.6, 14B.5, 8.3).

Verify it, and what you should see:

bash
uv run python career_kit/resume_lint.py resume.md
uv run python career_kit/job_tracker.py applications.jsonl report

resume_lint.py should be clean or show only warnings you've decided are false positives (it checks verb-first bullets, numbers/scale markers, bullet length, passive voice, filler phrases, duplicates, section presence — 14B.5, 8.1). The tracker report should print the stage funnel, exits-by-stage and by-channel breakdowns (14B.5, 8.2) — with ten applied rows you'll see 10 at stage 1 and zeros downstream, which is the honest starting point. Your profile README renders on github.com/ once pushed.

Done when:

  • Profile README live, under ~60 lines, with links to your best work and an honest "looking for" line
  • Six pins max, each with a written "what it proves" sentence, flagship first
  • Email privacy enabled and contribution-graph anomalies explained
  • resume.md is one page, template-built, resume_lint.py clean, and passes the 15-second test with a reader
  • Every bullet contains a verb, a scope/method and a result or honest scale marker — zero invented metrics
  • linkedin.md has headline, About with one real number, Featured link, deliberate Open to Work mode
  • applications.jsonl holds 10+ real target roles across at least three channels, and report runs clean

Stretch ideas:

  • Write the outreach kit: one referral request, one informational-interview request, one follow-up — using the 14B.5, 4.4 templates, sent to people whose work you genuinely know
  • Produce the tailored cut for your single best-matching posting (14B.5, 5.4) and diff it against the master to see what tailoring actually changed
  • Draft the screening-call answers (salary expectations, notice period, work authorisation — awareness, jurisdiction-dependent) from 14B.5, 5.7
  • If you are applying outside the US, produce a locale-specific cut of your résumé using the 14B.5, 1.6 conventions table, and replace one US market statistic from 14B.1, 2.2 with a sourced local equivalent (14B.1, 6.6)
  • Run a scam-screen on three postings using the 14B.5, 4.6 checklist and file what you checked

Common problems:

  • Keyword-stuffing temptation. Match scores are often ignored and humans spot stuffing instantly — keywords must map to true, defensible skills (14B.5, common misconceptions).
  • "The ATS auto-rejects 75% of résumés." That figure traces to a defunct vendor's 2012 marketing; parsers file and rank, humans reject — optimise for clean parsing and a compelling human first read (14B.5, 1.2).
  • A gap you're hoping nobody notices. Gaps are explainable and common — write the honest line ("career break — caregiving; kept current via shipped projects") rather than omitting dates (14B.5, 3.3).
  • AI drafting your bullets. It can tighten your true claims and will also invent plausible false ones — you sign your name; verify every word (14B.5, 3.4).
  • Open to Work privacy assumptions. LinkedIn itself says "recruiters only" can't guarantee complete privacy — choose deliberately and know the caveat (14B.5, 4.3).
Starter

Starter: One technical post, end to end#

Goal: Take one real project or experiment from your own work, turn it into a published-quality technical post — thesis, evidence, failures, limitations — lint it clean, get one peer review, and publish it (or keep it private if you prefer). Optionally prepare a five-minute talk outline from the same material.

This project practises 14B.4 as a pipeline: log → topic → outline → draft → check → review → publish. It needs only a text editor, your notes repo and post_checklist.py — no keys, no site required (publishing is the last, optional step).

What you'll practise:

  • Why write and what actually gets read — 14B.4, 1.1 and 1.3
  • Choosing the post type and generating topics from your project log — 14B.4, 2.1 and 2.2
  • The post skeleton, length/headlines, evidence presentation and the three editing passes — 14B.4, 3.1, 3.2, 3.3 and 3.4
  • The four post-type templates and the two annotated examples — 14B.4, 3.5, 3.6 and 3.7
  • Truth and rigour: numbers with method, disclosure, AI-assisted drafting — 14B.4, Part 4
  • Where to publish and the canonical-home pattern — 14B.4, Part 5
  • Measuring what matters and the brag document — 14B.4, Part 8
  • Ethics of public learning — 14B.4, Part 9

Setup: career_kit/post_checklist.py and a notes repo (the notes/ journal from 00.9); a blog or platform only if you choose to publish — the lesson's MkDocs path is optional.

Steps:

  1. Start the log if you haven't. Create notes/public-learning.md and add three dated entries per active project — what you did, what surprised you, what you measured (14B.4, exercise 1). This is the topic generator's raw material.
  2. Pick the topic. Run the 2.2 generator over your log: candidates are a measured improvement, a debugging story, an eval post-mortem, a tool comparison with real methodology, or an explain-it-simply piece (14B.4, 2.1). Choose the one with the strongest number you can defend.
  3. Write the thesis first. Three to five sentences: the hook plus the claim and the number. If you can't state the claim with a figure, pick a different topic — 14B.4, 3.1 explains why weak posts omit exactly this.
  4. Draft with a template. Expand using the matching template from 14B.4, 3.5 — project write-up (Template A) or eval post-mortem (Template B) are the highest-value for this path. Study the annotated examples in 3.6 and 3.7 before writing.
  5. Attach method to every number. For each figure in the draft write the dataset, metric, date and method beside it — "Recall@5 = 0.83 on 120 tickets" is checkable, "recall improved" is not (14B.4, 4.1).
  6. Run the checker and fix every WARN. uv run python career_kit/post_checklist.py draft.md — it checks thesis line, results-with-numbers, limitations section, code-fence languages, link text, reading-time estimate and first-person density (14B.4, 10.1). Re-run until clean; the fixture output in 10.3 shows the report shape.
  7. Do the three editing passes. Cut by a third, read aloud, verify every code block and link — 14B.4, 3.4. Then the disclosure pass: data, prompts, employer information, AI assistance (14B.4, 4.2, 4.4).
  8. Peer review. Send the draft to one person with the question "could you repeat my argument back?" Fix what they couldn't follow — that's where the thesis is weak.
  9. Publish or file. Canonical home first (your own site/repo/README), syndicate with canonical links (14B.4, 5.1–5.3) — or keep it private; a finished private draft still counts as the exercise. Privacy-friendly analytics only if you publish (14B.4, 5.4).
  10. Extract the talk outline. Expand the thesis into a five-minute outline — hook 30s, problem 1min, approach with one decision point 2min, result with number 1min, limitation and takeaway 30s (14B.4, exercise 6). This is your CFP submission in embryo (14B.4, 6.1).
  11. Log the outcome. Add a brag-document entry: shipped, problem solved, skill learned — dated, with visibility and tags (14B.4, 8.2).

Verify it, and what you should see:

bash
uv run python career_kit/post_checklist.py draft.md

The checker should report no WARN or FAIL (it is advisory and always exits 0, so read the summary line): it reports the thesis line, whether a results section contains numbers, whether a limitations/failures section exists, whether code fences declare languages, whether links have text, an estimated reading time, and first-person-density warnings (14B.4, 10.1). Your post should be 600–1,200 words for a project write-up or ~800 for an eval post-mortem, every number carrying its method, and a limitations section a sceptical reader can't poke through. If you published, the canonical URL and any syndication links resolve.

Done when:

  • The post has a defensible thesis with at least one real number and its method attached
  • It includes what broke or surprised you, and a limitations section
  • post_checklist.py is clean
  • Every data/prompt/employer/AI-assistance disclosure decision is made and applied
  • A peer could repeat your argument back after one read
  • The five-minute talk outline exists (published or not)
  • A dated brag-document entry records the work

Stretch ideas:

  • Write the second post as a debugging story or comparison using Templates C/D (14B.4, 3.5) — aim for a cadence of one post per project milestone, not per week (14B.4, 7.1)
  • Answer one real question in a forum or GitHub Discussions — specificity over promotion (14B.4, 6.3)
  • Set up the minimal static site from 14B.4, 5.2 and publish there with RSS/canonical URLs (14B.4, 5.3)
  • Submit the talk outline as an actual CFP after checking the event's own process (14B.4, 6.1)

Common problems:

  • The post is a tutorial re-tell. A tutorial proves you can re-teach; a write-up proves you did the work — lead with your measured result, not the steps (14B.4, check-yourself).
  • Numbers without method. Every figure needs dataset, metric, date, method — the checker catches missing results sections but can't judge your method; that's on you (14B.4, 4.1).
  • Publishing unverified AI-drafted claims. You are accountable for every claim; verify each one yourself and disclose AI assistance where appropriate — never publish invented citations (14B.4, 4.4).
  • Leaking employer or customer detail. Generalise architecture, customer names and unreleased features before publishing (14B.4, 4.2, 14B.2, 8.4).
  • Burnout cadence. One good post per project beats weekly noise — sustainability is the strategy (14B.4, 7.1).

Stretch

Stretch: Mock LLM system design#

Goal: Run the 45-minute LLM system-design framework end to end on a fictional product — clarify, define success, estimate, architect, deep-dive, cover quality/safety/security, discuss evolution — then score your own answer with the lesson's rubric and iterate. Finish by writing the design as a document a reviewer could critique.

This is the existing skeleton project, expanded: it practises 14B.7 as a repeatable interview simulation. No keys, no whiteboard — a text editor, design_calc.py, design_template.md and a timer are the whole rig.

What you'll practise:

  • What the round assesses and how it differs from classic system design — 14B.7, 1.1 and 1.3
  • The eight moves and their time allocation — 14B.7, 2.1
  • Clarifying before designing — 14B.7, 2.2
  • Defining success and measurement before architecture — 14B.7, 2.3
  • Back-of-envelope estimation — load/concurrency, tokens/cost, latency, retrieval sizing, caching, storage — 14B.7, Part 3 with design_calc.py at 3.8
  • Drawing the high-level architecture and choosing deep dives — 14B.7, 2.5 and 2.6
  • Quality, safety, security and rollout — 14B.7, 2.7 and 2.8
  • The trade-off decision tables — 14B.7, 4.1
  • The fill-in design template — 14B.7, 4.2
  • The ten worked designs, two diagnoses and the eval-design question — 14B.7, Parts 5–7
  • Pitfalls, mock practice and the scoring approach — 14B.7, Part 8

Setup: career_kit/design_calc.py and career_kit/design_template.md. A timer. Optionally a peer to play interviewer (14B.7, 8.3 has scripts).

Steps:

  1. Pick your design brief. Choose one you haven't studied: the ten worked designs in 14B.7, Parts 5–6 are off-limits for the first run — pick a fresh fictional prompt ("design an AI tutor for a coding bootcamp", "design a contract-review copilot for a small law firm", "design a meeting-notes assistant that answers questions across a team's history") or reuse one after your first pass.
  2. Run the timer honestly. 45 minutes, eight moves, in order (14B.7, 2.1). If you can, record yourself or have a peer read the clarifying questions aloud — the round is scored on communication as much as content (14B.7, 1.1).
  3. Clarify first, always. Write the clarifying questions before any architecture: users, scale, constraints, risk tier, what "good" means, what data exists, latency budget, compliance — 14B.7, 2.2. State assumptions explicitly; never silently pick them.
  4. Define success and measurement. Offline eval plan, online signals, guardrail metrics, the abstention behaviour — before drawing boxes (14B.7, 2.3, 14B.7, 7.4).
  5. Estimate before detailing. Fill a Scenario in design_calc.py or compute by hand: requests/day, peak factor, tokens per call, model calls per request, prices, cached tokens, latency, vector count × dimensions — run uv run python career_kit/design_calc.py first to see the three built-in scenarios and their output shape (14B.7, 3.8, 3.9 lists what it omits — say so in your answer).
  6. Draw the architecture. High-level boxes and flows in Mermaid (users → API → orchestration → retrieval/tools → model → guardrails → store), with trust boundaries marked (14B.7, 2.5). Then pick two deep dives and go deep — retrieval design, agent loop, routing, caching, streaming — and explicitly not the rest.
  7. Cover the LLM-specific layer. Quality (evals, abstention, citations), safety/security (injection surface, permissions, PII), reliability/cost/rollout — each with the trade-off named, not just the component listed (14B.7, 2.7). Use the decision tables for every fork: RAG vs fine-tune, workflow vs agent, sync vs async, managed vs self-hosted, build vs buy (14B.7, 4.1).
  8. Answer the follow-ups. "What changes at 10x? At 100x?" and "what would you cut?" — rehearse them from 14B.7, 2.8 and the staff-level extras in 8.4.
  9. Write it into the template. Fill career_kit/design_template.md completely — problem/users, success/measurement, estimates, architecture, deep dives, quality/safety/security, reliability/rollout, trade-offs/evolution (14B.7, 4.2). This document is your artefact.
  10. Score it against the pitfalls. Check your answer against 14B.7, 8.1–8.2: did you jump to architecture before requirements? Ignore evals? Say "we'll use a better model" vaguely? Forget abstention or injection or cost? Gold-plate? Over-claim accuracy? Fix each occurrence and note what it cost you.
  11. Repeat with a peer or a second brief. Run the same 45 minutes on a different brief, or have a peer play interviewer using the 8.3 scripts and score both of you on the rubric dimensions. Two runs is where the framework starts feeling natural.

Verify it, and what you should see:

Your design.md (filled from design_template.md) should contain: a requirements section a stranger could sanity-check, a measurement plan with offline and online evals, a numeric estimate block (QPS, tokens, cost/month, index size — with the price assumptions labelled illustrative and dated), a Mermaid architecture with trust boundaries, two justified deep dives, a quality/safety/security section naming injection and permission handling, a rollout plan, and a trade-offs section using the decision-table vocabulary. uv run python career_kit/design_calc.py should have been run (or your numbers hand-checked against its formulas) so cost and concurrency figures are internally consistent. Self-score against the rubric: requirements, structure, depth, evaluation, safety, communication.

Done when:

  • Two complete 45-minute runs on different briefs, timed honestly
  • Both designs clarify requirements and define measurable success before any architecture
  • Every estimate traces to design_calc.py output or shown arithmetic, with price assumptions labelled illustrative
  • Architecture includes trust boundaries, retrieval/permission handling and a named eval plan
  • Trade-offs use the decision-table vocabulary (RAG vs fine-tune, workflow vs agent, etc.) with reasons, not just choices
  • Follow-up answers at 10x/100x and "what would you cut" are rehearsed
  • The pitfalls gallery check found and fixed every applicable mistake
  • design.md exists as a critique-able document

Stretch ideas:

  • Do one of the two worked diagnoses in 14B.7, 7.2–7.3 cold, then design the eval system question in 7.4 as a third run
  • Run a full mock with a peer using the 8.3 scripts, score independently, and compare — the gap between self-perception and observer scores is diagnostic
  • Re-design one of your own portfolio projects through the framework and diff the answer against what you actually built — the discrepancies are your real gaps (14B.7, 8.5)
  • Add the staff-level layer: organisational constraints, migration plan, multi-tenant/compliance requirements, vendor risk (14B.7, 8.4)

Common problems:

  • Starting to draw before clarifying. The single most common failure — requirements determine which components are appropriate; architecture without them is guesswork (14B.7, 1.4).
  • Vague quality claims. "We'll use a better model" and "we'll add evals" are not answers — name the metric, the dataset, the gate and the owner (14B.7, 8.2).
  • Forgetting the LLM-specific layer. Non-determinism, evals, cost, latency, safety and prompt injection are the new surface — classic system-design answers miss them (14B.7, 1.3).
  • Invented prices. design_calc.py prices are illustrative parameters — label them and say where the real numbers come from (14B.7, 3.9, 02.9).
  • "I don't know" freezing. The taught move: state the assumption, name the source you'd verify, and keep designing the parts you do know (14B.7, check-yourself).
Stretch

Stretch: Interview loop rehearsal#

Goal: Run one complete mock interview loop — coding drills, LLM fundamentals, system design, take-home dry run, behavioural round — with a peer or against yourself on a schedule, score every round, and write a retrospective that names your three weakest areas.

This project assembles 14B.6, 14B.7 and 14B.8 into a single rehearsal. It is the capstone of the module's interview track: everything is keyless, everything is timed, and everything produces artefacts you keep.

What you'll practise:

Setup: the full career_kit package. A peer is strongly recommended for the mock rounds (14B.6, 2.3); solo rehearsal works if you record yourself. pytest for the drills suite.

Steps:

  1. Write your loop hypothesis. From 14B.6, 1.4, list the rounds your target companies actually run (recruiter screen → technical screen(s) → coding → system design → take-home/pairing → behavioural → final loop, with honest variation). Your rehearsal mirrors your loop, not a generic one.
  2. Set the runway and the plan. Pick 2, 6 or 12 weeks (14B.6, 2.1) and write the schedule into your calendar: drills, fundamentals review, mocks, rest. Deliberate practice beats volume — every session has a target weakness (14B.6, 2.2).
  3. Verify the drills rig. uv run python career_kit/drills/run_all.py then uv run pytest career_kit/drills/test_drills.py — confirm the package runs before you need it under time pressure (14B.6, 4.18).
  4. Coding round rehearsal. Pick eight drills across the taxonomy (e.g. rate limiter, retry, SSE parser, BM25, RRF, tool loop, retrieval metrics, eval diff), give each 30 minutes, narrate aloud using the 3.1 routine, then compare against the reference and its tests (14B.6, exercise 4). Record yourself; replay for the "we vs I" and silence checks.
  5. Fundamentals round. Have a peer (or yourself with answers hidden) ask ten random questions from 14B.6, Part 5, 60–90 seconds each, no notes. Score completeness + accuracy; log the misses for the flashcard deck (14B.6, exercise 5).
  6. System-design round. Run the Stretch A project (or reuse its design.md) under the same 45-minute constraint, this time with the peer as interviewer interrupting with follow-ups.
  7. Take-home dry run. Write a one-page fictional brief for a project you've built, then produce the submission outline: clarifying questions, assumptions, MVP-first plan, tests, README, eval, honest limitations, AI-assistance disclosure (14B.8, exercises 1 and the 1.4 worked brief). Time-box to ~90 minutes, then self-score with the 1.6 rubric.
  8. Behavioural round. Build your story bank: 8–10 real stories in the story_bank.py format saved as my_bank.json, run uv run python career_kit/story_bank.py my_bank.json, fix every FAIL, and reach full competency coverage (14B.8, 2.3). Then rehearse three AI-specific questions (14B.8, 2.4) and one ethics question (14B.8, 2.5) aloud, under two minutes each.
  9. Project deep-dive. Give the five-minute "explain what you built" narrative (14B.8, 3.1) and have the peer ask "why didn't you use X?" for three alternatives — practise the steelman-constraint-tradeoff answer (14B.8, 3.2, exercise 4).
  10. Score and retrospect. Score every round on the mock rubric (14B.6, 2.6) plus the system-design rubric; write a one-page retrospective naming your three weakest areas, the evidence for each, and the next two weeks' plan to close them. File it next to your portfolio as evidence of iteration.

Verify it, and what you should see:

  • uv run python career_kit/drills/run_all.py prints real output for all seventeen drills; uv run pytest career_kit/drills/test_drills.py passes its suite.
  • uv run python career_kit/story_bank.py my_bank.json reports zero FAILs and full competency coverage (the lesson's coverage report shows which competencies have no story).
  • Your take-home dry run produces a submission outline containing all eight README sections from 14B.8, 1.5 including the AI-assistance disclosure.
  • The retrospective exists, names three evidence-backed weaknesses, and each has a scheduled fix.

Done when:

  • A written loop hypothesis exists and the rehearsal mirrored it
  • Eight drills solved timed and narrated, with recordings reviewed
  • Ten fundamentals questions answered cold and scored, misses logged
  • One timed system-design run with interviewer follow-ups
  • One take-home dry run with rubric self-score
  • Story bank at full coverage; three AI-specific + one ethics question rehearsed aloud
  • Five-minute project narrative delivered and defended against "why not X"
  • Scored retrospective with three named weaknesses and scheduled fixes

Stretch ideas:

  • Add the offers round: build three fictional offers with different base/equity/benefits mixes, run them through offer_compare.py, and rehearse the negotiation scripts (14B.8, Part 5)
  • Do a second full loop two weeks later and measure the score deltas — the improvement curve is itself portfolio evidence
  • Recruit two peers for a realistic panel (one technical, one behavioural) using the 14B.8, 4.1 question lists in reverse
  • Run the whole rehearsal under a compressed "interview week" schedule (14B.6, 2.1) to simulate real pressure

Common problems:

  • Rehearsing the easy rounds only. The rounds you dread (system design, behavioural) are where offers are decided — schedule them first, while energy is high.
  • Solo mocks without recording. You can't fix what you can't hear — record every round; the "we vs I" and rambling tells are invisible live (14B.6, 2.4).
  • Assuming AI tools are allowed. Policies differ by company and round — the only safe default is to ask the recruiter before assuming (14B.6, 1.3, 14B.8, 1.8).
  • Take-home over-engineering. MVP first, honest limitations, clear README — a working core beats a half-finished ambitious build (14B.8, 1.9).
  • STAR stories that are all "we". The interviewer can't tell what you did — rewrite actions in first person with a number and a lesson (14B.8, 2.2).

Esc
02.2Tokens and TokenizationHow LLMs Work · 21k wordsLesson
02.3EmbeddingsHow LLMs Work · 18k wordsLesson
07Retrieval-Augmented Generation (RAG)11 lessons · Everyone who will build LLM features that must answer from knowledge the model doesn't have in its weights: internal handbooks and help centres, contracts, ticket histories, product docs, or any corpus that changes faster than a training run. The module covers the full RAG stack — architecture, retrieval strategy, query understanding, grounded generation, citations, conversation, managed services, advanced patterns, evaluation, debugging and production operation — and shows where each major provider's managed retrieval and citation features fit (OpenAI, Anthropic, Google Gemini and OpenRouter). All code is Python.Overview
08E.1The Model Context Protocol (MCP)Protocols and Extensibility · 12k wordsLesson
↑ ↓ navigate↵ openesc close