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.
Fine on test data, broken at scale card 6 of 6

Ask: how many rows in production?

builds on: What the agent cannot see
Small tests cannot show costs that grow with data, and the agent never sees your volumes. For every loop, query, file read or regex over real data, ask how it behaves at production size. Then prove it with the query log, a profile or a large fixture.
Terms on this card
query log
A log of every SQL statement the application sends to the database, used to count and inspect queries per request.
fixture
Prepared test data loaded before a test runs.
large fixture
Test data sized like production (thousands to millions of rows or a big file) so that costs growing with volume become visible.
profile
A measurement of where a program spends time or memory while it runs, produced by a profiler.
regex
Regular expression: a pattern language for matching text.
Learn this step by step on Bytewise
Lesson goal: Recognise code that passes small tests but fails on production volumes: N+1 queries from ORM calls inside loops, unbounded queries with no pagination, reading whole files or tables into memory, quadratic list lookups in loops, and regexes prone to catastrophic backtracking. Explain why the agent cannot see this coming, and which check (query log, profile, large fixture) exposes it. · the whole lesson