Bug fixed, now what? by Konstantinos Kitsios
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A PhD researcher presents an open-source tool that automatically generates regression tests when a bug fix is submitted as a pull request. The tool uses a hybrid LLM and search-based software testing approach (genetic algorithms) to produce 'fail-to-pass' tests — tests that fail before the patch and pass after. It only posts a suggested test as a PR comment when it has verified the test actually exhibits this behavior, reducing false positives. Evaluated on 426 Python PRs across 12 repositories, it succeeded ~30% of the time. It was also deployed at Mozilla, yielding 8 confirmed useful tests. The tool supports Python primarily, with beta support for JavaScript and Rust, and requires a Docker setup, a lightweight server, and an LLM API key.
Sort: