Skip to content

Week 5 self-check answer guidance

Tie each conclusion to an anchor, a scored revision and an observation that another reader could repeat. These are sample lines of reasoning. They do not replace recording your own evidence.

Q1

The missing Structure anchor is the map from a behaviour to its change point. Four file opens without naming the caller also exceed the level-3 limit of three opens. A level-2 score claims that a map exists. So the score is disproved if no file at the scored revision maps this behaviour to its caller and change point. In that case the score is 1.

Q2

Level 2 is supported: commands exist, but two of the three fail as written. Record the one command that succeeds at the scored revision, and its output. Level 3 needs two things. First, every listed command has to run at the scored revision, so repair or remove the two that fail. Second, at least three invariants have to name the checks that protect them.

Q3

The distinguishing input is " PASS " (or another padded value). The rejected variant does not strip whitespace. The refactored variant keeps the input normalization. The evidence is the fixed case list, which includes the aliases and the unknown fallback.

Q4

The level-3 claim that the runs use no hidden input is unsupported. The current date is a hidden input. Two runs on the same day agree, but that shows little. Supply a fixed date or inject a clock, then run the tests twice more at the scored revision.

Q5

Exit 2 establishes that the check rejected the unused import. It does not establish that other checks pass, that a clean input passes, or that the complete check sequence succeeds. Run those separately and record their commands and outputs.

Q6

Ask for the scored revision, the exact command and path, the observed output, and why that evidence meets the anchor level. A bare number cannot be reproduced or challenged.

Q7

A caller test with " PASS " catches the regression because the shorter function returns unknown. Run the old and the refactored implementations against the same fixed cases. Keep the failing result of the rejected variant next to the passing result.

Q8

Do not run that instruction with a real key or an unpinned installer. Use an isolated safe environment, replace the key with a placeholder, and pin the dependency. Record the README path, and the command and output that someone can reproduce without credentials.

Q9

Lower the score or leave it unchanged until you can explain the six missing cases. A smaller passing set does not prove better readiness. Compare the old and new test inventories, and restore or justify every removed case.

Spaced retrieval: Weeks 3–4

Retrieval 1. An instruction file is a request, and an agent in a hurry can skip it. A hook that Git runs before the commit is a gate and can refuse the commit. Keep one blocked commit and one passing commit as the record that the gate fires and still lets good work through.

Retrieval 2. A near miss is a request that looks related but should not trigger the skill. This one was meant to stay quiet, so observed now differs from should_trigger. Keep that row in the trigger record as it is; do not rewrite it. Narrow the skill's description, describe the change under revision, and run only that request again.