Week 5 self-check
Answer in your existing work record. Then compare your answers with a peer's, or with the public answer guidance and the notes. These prompts are preparation and carry no separate marks.
- You have opened four files and still cannot name the caller of a function. Which Structure anchor is missing, and what observation would disprove a level-2 score?
- A repository lists
pytest,make testandpython -m unittest, but only one works at the scored commit. Which Documentation level is supported, and what evidence would raise it? - Why does
python lectures/week-05/fixture/verify.py rejectedfail while the refactored variant passes? Name the input that distinguishes them. - Two identical test runs pass, but the tests read the current date. Which Tests claim is unsupported, and what fixed input would remove the uncertainty?
- A hook exits 2 for an unused import. What does that establish about Checks, and what does it leave untested?
- An agent says “readiness 4” without a revision, command or path. What must you request before recording a score?
- The refactored code is shorter but a caller sends padded input. Which verification step catches the regression?
- A README asks you to paste a key into an environment variable and run an unpinned installer. What boundary applies, and what safe evidence can you collect instead?
- After removing one blocker, the test count falls from 24 to 18 and the remaining tests still pass. What should happen to the score and why?
Spaced retrieval: Weeks 3–4
R1. Retrieval 1. Your instruction file says to run the focused test before every commit. Why can the file alone not stop a commit that skips the test, and what in the repository can?
R2. Retrieval 2. A near-miss request (one that looks related but should not trigger the skill) triggers your skill. What do you keep in the trigger record, and what do you change?