Skip to content
All free practice

LockedIn FDE Training field practice · Free and open

Prove that a repair fixes the defect

Use an unchanged acceptance condition to judge an AI-assisted code change.

Read the concept. Explore two decisions, then follow an optional free lab to run the work yourself.

Go to the decisions Looking for runnable work? Start with the local lab ↓

The working model

Understand the boundary.

A coding assistant needs a concrete way to verify its work. Establish the required behavior before editing, reproduce the failure, and inspect the final change. A passing check is useful only if it tests the behavior you actually need.

  1. Reproduce

    Capture the failing behavior

  2. Repair

    Change the implementation

  3. Verify

    Replay the same acceptance case

A worked example

A fictional scheduling tool displays the wrong local date near midnight. Record the input instant and required time zone, reproduce the incorrect date, then use that case to test a repair. Changing the expected date to match the bug would make the test green without repairing the product.

Claude Code: verification practices

Primary reading checked 2026-10-10. Provider learning stays with its issuer.

Practice deskDecision 1 of 2

Make a decision

The assistant changes the date formatter and updates the failing test's expected date. The full test suite now passes.

What would make this repair credible?

Choose one response before comparing the reasoning.

Optional. State why this response fits and any reading, person or AI help used. Use fictional details. This text is not evaluated.

Keep your current work.

You can pause before finishing. Keep your draft selection, compared choices and explanations already opened. Later prompts and unopened explanations stay out of this copy. Use fictional details; no account is needed.

This is a reading copy. Opening the file does not restore choices here. Add prior reading or help to the file. Work stays on this page until you leave or reload; nothing is saved automatically.

View your current practice record
# LockedIn FDE practice: Prove that a repair fixes the defect

---

Public exercise: https://training.lockedinlabs.ai/practice/coding-workflow

---

Original, fictional practice with authored feedback. This record is a learner copy, not observed tool execution, reviewed competence, an FDE level or a qualification result.

---

Practice state: 0 of 2 decisions compared. Reading copy only; opening this file does not restore choices on the website.

---

Prior reading and assistance beyond the decision notes (self-report): [not recorded]. This snapshot describes the current attempt, not an earlier-attempt history or established unaided performance.

---

## The concept

A coding assistant needs a concrete way to verify its work. Establish the required behavior before editing, reproduce the failure, and inspect the final change. A passing check is useful only if it tests the behavior you actually need.

---

## A worked example

A fictional scheduling tool displays the wrong local date near midnight. Record the input instant and required time zone, reproduce the incorrect date, then use that case to test a repair. Changing the expected date to match the bug would make the test green without repairing the product.

---

## The method

1. Reproduce: Capture the failing behavior
2. Repair: Change the implementation
3. Verify: Replay the same acceptance case

---

## Decision 1 — Not compared

The assistant changes the date formatter and updates the failing test's expected date. The full test suite now passes.

What would make this repair credible?

Available responses:
- The green suite is sufficient evidence.
- Restore the required expectation and show it failing before the repair and passing after.
- Ask several models whether the patch looks right.

Draft choice (not compared): No response selected.

Draft reasoning and help (not compared):
Not recorded.

Authored explanations for this decision are not included. This response has not been compared in the current attempt.

---

The changed decision has not been opened. Its scenario and explanations are not included in this copy.

---

## Work still to do

Continue the decisions and write your next test when ready. Unfinished work has not been filled from the published explanations.

---

## Optional local lab — not recorded as executed

Verify a repair against the requirement
40 planned minutes plus setup.
Environment: Node.js 24 · Built-in test runner
Use the worksheet and deliberately failing test in a new folder. No packages, AI account, network or existing-project edit. One initial assertion failure is expected.
Observe: Keep the zero, positive and missing-input expectations. Compare the actual defect, a weakened check and a bounded repair without changing the requirement to fit the result.
Receive: A receiving engineer runs the candidate independently and explains which assertion protects zero. Keep each person's prediction, actual output and assistance separate.
Free walkthrough: https://training.lockedinlabs.ai/training/guides/tests#7-optional-follow-on-verify-your-own-small-repair
Worksheet: https://training.lockedinlabs.ai/templates/fde-quantity-regression.md
Complete offline kit: https://training.lockedinlabs.ai/templates/fde-foundation-coding-workflow-kit.zip
Extract the kit into its own folder and read START-HERE.md. It includes the worksheet and required teaching programs, not a runtime installer or live source updates.
Optional prepared team agenda (not applied): https://training.lockedinlabs.ai/training/guides?starter=first-repair-receiving#guide-session-title
Team agenda: 75 planned minutes, excluding setup and breaks.
These are next-step instructions, not evidence that I ran the lab or that a receiver participated. Keep actual outputs and assistance in the separate worksheet.

---

## Source for further study

Claude Code: verification practices
https://code.claude.com/docs/en/best-practices
Source checked: 2026-10-10

---

Written notes have not been evaluated by AI or a human reviewer. This download does not submit coursework, save to an account or unlock private training.

Optional local lab / Free without an account

Take the decision into a working lab.

Verify a repair against the requirement

40 planned minutes plus setup. Start here directly or keep your two decisions first.

Prepare
Node.js 24 · Built-in test runner

Use the worksheet and deliberately failing test in a new folder. No packages, AI account, network or existing-project edit. One initial assertion failure is expected.

Observe
Keep the zero, positive and missing-input expectations. Compare the actual defect, a weakened check and a bounded repair without changing the requirement to fit the result.
Receive
A receiving engineer runs the candidate independently and explains which assertion protects zero. Keep each person's prediction, actual output and assistance separate.

Another concept

Connect a tool without lending it authority

Open the next free exercise

For teams

Build evidence through real work.

Advanced lessons, labs, mentoring and qualification workflows sit behind provisioned internal or licensed seats. Public practice does not unlock them.

Explore the private training pathway