Perplexity's Code Auditor Catches Backtest Bugs, Dropping Sharpe from 3.47 to -1.39

jeffgrimes9 · x · 2026-11-30

jeffgrimes9 shares a hands-on test of Perplexity's new Code Quality Auditor teammate, which uses Neon to audit Claude-powered workflows.

On a SPY trading strategy backtest, the auditor caught three classic pitfalls: a look-ahead shift(0) bug leaking future data into signals, hidden warmup NaNs, and zero-cost fill assumptions.

After fixing them, the reported Sharpe ratio fell from 3.47 (+129.2%) to -1.39 (-34.2%) — a seemingly stellar strategy was actually a loser. A compelling demo of AI coding-audit agents catching quant backtest traps.

Original post →

More from coding & agent

coding & agent channel →