Can You Spot AI's "Plausible Misfixes"? — The Test of Acceptance Judgment
A lesson plan to leave behind predictions, hardware verification, and reasons for acceptance or rejection before adopting AI's proposed fixes.
Languages
Table of Contents for This Article
When looking at students' screens in class, I often encounter scenes where they paste and run AI-proposed fixes as-is. If it works, it's correct; if the error disappears, it's solved. But no one has verified whether that fix was truly correct. What's more troubling is when AI's fix is "plausibly wrong." The explanation is smooth, and the code is clean. Yet it touches a different part than the bug it was supposed to fix, and the game's behavior quietly drifts from the original intent.
Why "It Works" Is Not Enough
I was originally a programmer at a game company. In the field, we stop even human-written code in reviews. There are no developers who unconditionally approve others' fixes. There should be no reason for AI output to be the exception.
- Pre-judgmentPredict what to fix and what to preserve
- Hardware TestingCheck problem conditions and normal conditions
- Acceptance/RejectionAccept or reject based on observations
So, in an era where AI writes code and even reads it, what remains for humans? I believe there are 3 things. Designing the input of what to have AI read and create. How to verify if the output is correct. And noticing the discrepancy between AI's explanation and actual behavior. This last 1 thing will become the central skill for future programmers.
Therefore, in my lessons, I am trying to change the form of achievement confirmation. Not a test that uniformly requires implementation without AI, but an "Understanding Gate." Can you explain the code structure in your own words? Can you read and trace the execution? Can you identify the cause of a bug? It is a gate to verify what you understand, not just what you can write.
Run the prototype and gather materials for judgment
Pre-judgment and Hardware Verification
At the core of this is the task of "Acceptance Judgment." First, without using AI, judge in your head whether the provided fix is correct. Next, verify on actual hardware while using AI, and finally decide whether to accept or reject. We grade not only whether a correct fix was accepted, but also whether a plausible misfix was spotted and rejected. Looking at both sides is the key point.
We are also starting small with daily operations. For the first 5 minutes of class, as a diagnostic drill, we have students predict the behavior of short code before asking AI. Submissions require only 3 lines of record: "Acceptance Criteria, Verification Results, Reason for Acceptance/Rejection." It's only 3 lines, but it's clear at a glance whether verification was done. Note that these are still ongoing trials. We are exploring the form that works well by running it in the field.
Leaving a Judgment in Three Lines
For example, if you fix a "double jump" bug, a change that uniformly prohibits jumping will only eliminate the symptom. If you separately test that you can jump once from the ground, that a second jump in the air is not accepted, and that you can jump again after landing, you can find a fix that breaks the gameplay. When submitting a judgment, writing not only the passed cases but also which cases led to rejection makes it easier to find the same failure next time.
Of course, there are pitfalls. If judgment records become mere formalities, acceptance judgment degrades into just a rubber stamp. So we require a one-word reason when rejecting, and we repeatedly present concepts that were wrong in drills at intervals. Even if the mechanism is simple, if you don't design it including the feel of operation, a culture of verification will not take root. I myself have come to see where students tend to stumble by reading their 3-line records. The understanding of the teacher is also updated in this way.
The ability to have AI create and the ability to doubt AI's output are different things. I believe that as more people can use the former, the difference in the latter will emerge. In your field, who and how is judging whether to "accept" AI's fixes?