Meta has rolled out JiTTests, an LLM based system designed to generate tests that fail when a risky code change is introduced. These tests, known as Just in Time Catching Tests (JiTTests), are part of Meta’s production infrastructure and are intended to provide concrete evidence that a change has altered the expected behavior of the code.

In the first half of 2026, JiTTests successfully caught 74 privacy security vulnerabilities (SEVs) at the diff stage. The method is described in the FSE 2026 research paper titled ‘Just in Time Catching Test Generation at Meta.’ This paper details how JiTTests operate and their effectiveness in identifying issues.

Meta’s JiTTests are divided into two workflows: the dodgy diff workflow and the intent aware workflow. The dodgy diff workflow treats every diff as a potential mutant of its parent and generates tests to distinguish between the two. The intent aware workflow, on the other hand, infers the intended behavior of the diff from its code, title, and summary, then generates tests to address potential risks. Weak catches, which are candidate failures, are produced in 6.4% of tests and on 7.9% of diffs, compared to 2.5% and 4.0% for the dodgy diff workflow, respectively. Earlier methods like Meta’s ACH mutation guided hardening scored lower, with 0.8% and 1.6% rates.

The research team analyzed 22,126 generated tests and found that diff aware methods produced 4 times more candidate catches than traditional hardening tests, and 20 times more than coincidental failures. The initial deployment of JiTTests involved 41 candidate catches, of which 8 were confirmed true positives, with a 19.5% rate. Four of these would have caused significant production failures.

In October 2026, Meta reported stronger production numbers through a human in the loop and human on the loop approach. In the human in the loop model, a person reviews every output, while in the human on the loop model, engineers set criteria and monitor results in aggregate, intervening only at the policy level. This approach significantly reduced the need for human review, cutting the load by 70%.

While JiTTests are internal Meta infrastructure and not publicly available, the team encourages others to adopt the pattern of diff aware mutation guided test generation, LLM judge ensembles, deterministic filters, and aggregate human oversight.

Source: https://www.marktechpost.com/2026/11/16/meta-jittests-llm-catching-tests-privacy-bugs/