← Back to Labs
Auditing AI-Generated Code
Step through reviewer cognitive bias, synthetic code anti-patterns (inverted booleans, missing locks), AST tree-sitter linting, and property tests
export class AsyncBatchProcessor {
// Flawless JSDoc: High performance flush queue
public async pushAndFlush(item: Item) {
this.buffer.push(item); // Missing lock!
if (this.buffer.length >= 100) this.flushBatch(); // Floating promise!
}
}
STEP 1 OF 6
The Illusion of Code Quality
AI-generated pull requests often look impeccably styled with clean formatting, type annotations, and JSDoc comments. However, this high superficial polish creates a cognitive halo effect that masks subtle structural defects.
Arrow keys to navigate · R to reset
Tap dots to jump to any step