Developer builds Cross-Examine tool to catch AI-generated Python regressions tests miss
A developer discovered that an AI-generated Python code change silently altered a function's return value from an empty list to None, a subtle behavioral regression that passed all existing tests. This prompted the creation of Cross-Examine, an open-source Python verification harness that compares the behavior of a base and revised Git revision by replaying identical inputs against both versions. When a behavioral difference is detected, the tool generates a reproducible receipt containing the input, command, and outputs from both code versions for developer inspection. GPT-5.6 proposes candidate inputs to test via a constrained schema, but all verdicts are determined by deterministic execution rather than AI judgment. The tool was built during OpenAI Build Week and is currently limited to Python repositories the user trusts, as it executes live code outside a sandbox.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in