SEAIJan 30

Just-in-Time Catching Test Generation at Meta

arXiv:2601.22832v1h-index: 6
Originality Incremental advance
AI Analysis

This addresses the challenge of reducing development drag from false positives in bug prevention for large-scale industrial systems, representing an incremental improvement with practical applicability.

The paper tackled the problem of preventing bugs in large-scale backend systems by introducing Just-in-Time catching test generation, which generates tests meant to fail to surface bugs before code lands, resulting in a 4x improvement in candidate catch generation over hardening tests and a 70% reduction in human review load.

We report on Just-in-Time catching test generation at Meta, designed to prevent bugs in large scale backend systems of hundreds of millions of line of code. Unlike traditional hardening tests, which pass at generation time, catching tests are meant to fail, surfacing bugs before code lands. The primary challenge is to reduce development drag from false positive test failures. Analyzing 22,126 generated tests, we show code-change-aware methods improve candidate catch generation 4x over hardening tests and 20x over coincidentally failing tests. To address false positives, we use rule-based and LLM-based assessors. These assessors reduce human review load by 70%. Inferential statistical analysis showed that human-accepted code changes are assessed to have significantly more false positives, while human-rejected changes have significantly more true positives. We reported 41 candidate catches to engineers; 8 were confirmed to be true positives, 4 of which would have led to serious failures had they remained uncaught. Overall, our results show that Just-in-Time catching is scalable, industrially applicable, and that it prevents serious failures from reaching production.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes