← 教程列表
news

Common Mistakes (Same as TDD)

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

**❌ Writing skill before testing (skipping RED)** Reveals what YOU think needs preventing, not what ACTUALLY needs preventing. ✅ Fix: Always run baseline scenarios first. **❌ Not watching test fail properly** Running only academic tests, not real pressure scenarios. ✅ Fix: Use pressure scenarios that make agent WANT to violate. **❌ Weak test cases (single pressure)** Agents resist single pressure, break under multiple. ✅ Fix: Combine 3+ pressures (time + sunk cost + exhaustion). **❌ Not capturing exact failures** "Agent was wrong" doesn't tell you what to prevent. ✅ Fix: Document exact rationalizations verbatim. **❌ Vague fixes (adding generic counters)** "Don't cheat" doesn't work. "Don't keep as reference" does. ✅ Fix: Add explicit negations for each specific rationalization. **❌ Stopping after first pass** Tests pass once ≠ bulletproof. ✅ Fix: Continue REFACTOR cycle until no new rationalizations.

← 返回教程列表 AI8899 · 内容仅供学习参考