01 Why can AI-generated code look correct and still fail?The assistant deliberately simplifies code for learners. The assistant generates likely output from learned patterns and doesn’t run or check the code unless you provide evidence. The assistant runs the code but hides the errors. The assistant only knows outdated languages.
02 An assistant answers a question about your library with complete confidence. What does the module say that confidence tells you?The answer is very likely right. The assistant has checked your installed version. The question was easy. Nothing: correct and incorrect answers can sound equally confident. Tone is not evidence.
03 Task.validate_fields(data) appears in AI-generated Pydantic code. What is the right review question?Does this method actually exist in the library version I am using? Is the method name long enough to be descriptive? Should this be wrapped in logging? Would a different model have used another name?
04 A vague prompt for POST /tasks returns code that accepts JSON, creates a task and returns 200. Which failure mode is this?A hallucinated API. A tool-dependency problem. Missing non-functional requirements: no validation, response schema, useful 422 or explicit scope. Shallow business logic in the status transitions.
05 What does “production-aware” mean in Module 1?The skeleton is ready to deploy. Building the habit of thinking about validation, errors and edge cases, without claiming production-grade software. Using a production database from day one. Adding authentication early.
06 Generated code for a status update simply assigns whatever status it receives. What is missing?A faster algorithm. A logging library. A second endpoint. The real business rules: valid statuses, whether Done can move back, missing tasks, repeated updates.
07 Which four parts make up the module’s prompt anatomy?Role or context, task, constraints, output format. Greeting, question, examples, thanks. Goal, plan, code, test. System, user, assistant, tool.
08 You ask for an endpoint and don’t mention a database. The assistant adds one. What principle explains this?Assistants always prefer databases. The model was too small. The absence of a constraint is often treated as permission, so negative constraints must be stated. The output format was wrong.
09 The endpoint the assistant wrote accepts a whitespace-only title. What does the module recommend?Throw the answer away and ask again from scratch. Accept it; titles rarely contain only spaces. Switch to a different tool. Write a targeted follow-up: strip whitespace, return 422 with a clear message, keep the existing signature.
10 What does the notes’ example in a few-shot prompt control, besides the format?The length of the conversation. The quality ceiling of the output. Which model is used. Whether the code runs.
11 When does the module suggest using role, few-shot and constraint-based prompting together?When the output is complex or high-stakes, such as ADR drafts or structured test cases. Only for boilerplate. Never; one pattern per prompt. Only in ChatGPT.
12 In the AI interaction loop, which of these counts as the Test step?Reading the code carefully and deciding it looks right. Asking the assistant whether its code is correct. Trying an empty title, a whitespace-only title, an invalid status and a valid object. Starting the server.
13 What does “run” mean when the loop is applied to requirements?Executing the user stories as scripts. Pasting them into a new chat. Converting them to code immediately. Checking whether each story can actually be built and tested.
14 Why does the Task Tracker exclude authentication, multi-tenancy, real-time sync and mobile?They would hide the workflow behind product complexity; the course builds transferable habits first. FastAPI can’t support them. They are covered by a different course. The tools can’t generate that code.
15 You start a new chat to continue yesterday’s Task Tracker work. What should you do first?Ask the assistant to recall yesterday’s decisions. Paste a short context block: stack, fields, scope and exclusions, and the loop. Rely on Custom Instructions alone. Ask for the full app so nothing is forgotten.
16 Which task most deserves a deeper reasoning mode, by the module’s rule?Creating a basic .gitignore. Looking up a command’s syntax. Reasoning through status transition rules. Writing straightforward setup text.
17 Which ADR meets the module’s requirement?An AI-written page comparing five architectures. A bullet list of the libraries in requirements.txt. The B1 output pasted as-is. One paragraph in your words: the choice, why it fits the four criteria, two rejected AI assumptions, one risk to revisit.
18 Which of these belongs in the Module 1 skeleton?Full CRUD task endpoints. A GET /health endpoint returning HTTP 200 with status and timestamp. A Dockerfile for deployment. User accounts for the task board.