Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
What makes a test able to fail card 6 of 6

Remember

A test is inputs plus an oracle. Take the oracle from the spec, never from the code under test. Then ask of every test: would it go red if the code were wrong? If not, it proves nothing.
Terms on this card
oracle
The expected result a test compares the code's actual output against; it decides pass or fail.
spec
Specification: the stated requirements for what the code should do, e.g. a ticket, design doc or agreed rules.
red
A test or check that fails.
code under test
The function or module a test is meant to check, as opposed to the test code itself.
Learn this step by step on Bytewise
Lesson goal: Explain a test as inputs plus an oracle, the expected result. The oracle must come from the specification rather than from the code under test. A test that cannot go red when the code is wrong proves nothing. · the whole lesson