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.
An honest report: what was verified and what wasn't card 4 of 6

Same work, two reports

builds on: A confident summary that doesn't match the diff, What 'done' means for a change
**Overclaims:** "Fixed rounding. All tests pass, edge cases handled, ready to merge." **Reliable:** "Ran `pytest tests/test_invoice.py`: 14 passed. Full `pytest`: 312 passed, 9 errors (ledger tests need Postgres, unreachable here). *Not tested:* ledger posting, negative amounts. *Assumed:* half-up rounding to cents. *Open:* should refunds round the same way? *Limit:* 2-decimal currencies only." The second report tells you exactly where your review time should go.
Terms on this card
pytest
The most common Python test runner. `pytest -q` runs tests with brief output and ends with a summary line of passed, failed and error counts.
Postgres
PostgreSQL, a widely used database server. Tests that need it fail with connection errors when no server is running.
half-up rounding
Rounding that sends a value exactly halfway between two cents away from zero, for example 2.345 becomes 2.35.
edge cases
Unusual but valid inputs or situations at the limits of normal use, such as empty, zero, negative or very large values.
`pytest`
The common Python test runner; prints which tests pass or fail.
Learn this step by step on Bytewise
Lesson goal: Expect, and ask for, a report that lists the commands run with their results, what is still untested, the assumptions made, open questions and known limitations. Recognise a report that overclaims compared with one you can rely on. · the whole lesson