14:49Nathan Sobo explains how Zed adapted its rigorous software testing practices for AI features with stochastic behavior. The team starts with broad, data-driven evaluations, then narrows failures into focused stochastic tests and deterministic unit tests. Examples include improving search results with syntax-aware matching and handling malformed streamed edits, indentation changes, and escaping. Sobo argues that traditional software engineering techniques remain essential, with repeated runs and pass-rate thresholds added to account for model variability.
