Meta has introduced JiTTests, a system for generating tests using large language models to identify bugs in code changes before they are deployed. Unlike standard tools that act as reviewers, JiTTests execute code to detect behavioral differences. The research, detailed in the 2025 paper Harden and Catch, outlines two primary workflows: the dodgy diff approach and the intent-aware method.
The intent-aware workflow analyzes code, titles, and summaries to identify risks and generate specific tests. In testing, this method produced weak catches in 6.4% of cases, while the dodgy diff approach reached 2.5%. Meta’s earlier mutation-guided hardening tool achieved 0.8%. These automated assessors reduced the human review workload by 70%.
Initial deployment results showed 41 candidate catches reported to engineers, with 8 confirmed as true positives, representing a 19.5% success rate. Meta noted that 4 of these identified issues would have caused serious production failures. The system operates with human-on-the-loop oversight, where engineers monitor aggregate results rather than individual test code.
JiTTests remains internal infrastructure at Meta, with no public release of code, models, or APIs. However, the company suggests that other teams can replicate the pattern using diff-aware mutation-guided test generation, LLM judge ensembles, and deterministic filters.






