62  AI: The AI-off test

The closing AI beat: verification turned on your own learning.

Every verification habit this course has built points outward: at a function, at a claim about biology, at a call to a library you did not write. This last one points at you. It is the same principle, evidence is to a fact what a test is to a function, applied to the plainest fact of all: whether you actually learned something, or only watched the assistant produce something that worked.

The test itself

Here it is, stated so plainly there is nothing to misread: you have learned something when you can do it, or explain it, with the assistant switched off. Not “with the assistant available but unconsulted.” Off. Browser tab closed, no rereading a previous answer, no reaching for a hint half-remembered from a chat. Pick a function from your own finale, one you built with real help from the assistant, close everything, and either rewrite it from a blank page or explain to another person, in your own words, exactly what it does and why each part is there. If you can, the understanding was yours, and the assistant was a tool you used to get there faster. If you cannot, something is missing, no matter how correct and well-tested the function sitting in your project already is.

That gap, between a working function and an explainable one, is the entire reason this test exists. Passing tests, as you know by now, tells you the code is correct on the cases you thought to try. It says nothing at all about whether you are the one who could produce it again. A finale full of green tests and functions you could not rebuild or explain is a finale that ran once, with help, and that is a real accomplishment but not quite the one this course is asking for.

Why this is the line, not a rule about honesty

It would be easy to hear “test yourself with the assistant off” as a policing rule, a way of catching cheaters, and to feel a little defensive about it. That is not what it is for. It is a diagnostic you run on yourself, for yourself, and the result belongs to no one but you. Producing something you formulated, understand, and can rebuild is not cheating, no matter how much of the typing the assistant did; that is what every note since week one has been training you to do safely. Producing something you cannot explain and could not rebuild, and presenting it as understood, is where the line actually sits, and the AI-off test is simply how you find out, honestly, which side of it you are standing on before anyone else asks.

This is also the reason SOLO exercises have run alongside the badged ones all term, and the reason your prompt journal on the finale asked you to record where the assistant was wrong and how you caught it. Both are the same test, run continuously in small doses, rather than saved up as one nerve-wracking check at the very end. If you have been doing the SOLO work honestly and keeping the journal honestly, the AI-off test at the end should mostly confirm what you already suspected about your own understanding, not surprise you.

Running it on purpose

Do not wait for this to happen to you by accident. At the end of the finale, choose two or three functions you are least sure about, close the assistant, and try each one: rebuild it from the docstring alone, or explain it out loud to a classmate who was not there when you wrote it. Where it goes well, you have real evidence of learning, not a hopeful feeling. Where it does not, you now know exactly what to go back and actually learn, while the project is still open in front of you and there is still time to close the gap.

Exercise 62-1

SOLO

Pick one function from this week’s project that the assistant helped you write. With the assistant closed, rewrite it from a blank page, using only its docstring and your own understanding. Compare your version to the original: where they differ, decide whether the difference is a real gap in your understanding or simply a different valid way of writing the same thing.

For your logbook this week, name the function from your finale you are most confident you could explain in full right now with the assistant off, and the one you are least confident about, and say what you plan to do about the second one before you consider the project finished.