Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Meta's just-in-time LLM tests catch bugs before code lands

    Meta has large language models write tests for each risky code change that fail when the change breaks behavior, then asks the engineer only whether that change was intended.

    MetaUnited StatesInternet platforms and advertisingIn production since Sep 2025
    Scale
    589 engineers engaged with its findings
    Scenario
    Just-in-time bug-catching tests for code changes
    Business function
    Software engineering
    Who built it
    Built in-house
    Human oversight
    Acts under watch
    Organization
    Enterprise, 10,000 to 99,999 employees
    AI types
    Generative AI, Machine learning
    Users
    589
    Team size
    four engineers

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Meta

    2. InfoQ

    tl;drJiTTests helped catch 74 serious privacy bugs at Meta before they landed in the first half of 2026.See the results

    View the solutionBuild this solution yourself

    Meta uses large language models (LLMs) to generate Catching Just-in-Time Tests (JiTTests), tests written for one code change and designed to fail when that change introduces a bug1. Catching JiTTests surface bugs in code changes, which Meta calls diffs, before they land in production1.

    The system picks the risky diffs, generates tests for each, and ranks the failing tests with rule-based and LLM judges1. It then asks the engineer only whether the observed behavior change was intended1.

    By October 2026, Catching JiTTests were no longer a research prototype but part of Meta’s infrastructure1. In the first half of 2026, they helped catch 74 serious (SEV) privacy bugs at the diff stage, and they helped lower the overall occurrence of privacy SEVs by 20% in that period1.

    Before the deployment

    Before Catching JiTTests, Meta’s automated tests were hardening tests, which pass when they’re generated and land in the codebase to guard against future regressions3. Meta already generated hardening tests with LLMs, by using mutation-guided test generation in its continuous integration system, Phabricator3.

    • Codebase: Hundreds of millions of lines of code in backend systems used by over 3.5 billion people every day3.
    • Maintenance: Traditional tests are built by hand as new code lands, and they need regular updates and maintenance2.
    • Low catch rate: A hardening test is expected to fail on about 1% of the diffs that it’s applied to3.
    • Faster change: Agentic development increases the pace of code change and scales the cost of false positives and test maintenance2.

    With hundreds of millions of lines of code constantly evolving at Meta, traditional testing can’t keep pace1.

    What was built

    Catching JiTTests generate executable tests for one diff that show a concrete behavioral difference introduced by the change1. A catching test fails by design, so it never lands with the change. Either the engineer fixes the change, or the test is discarded3. The tests don’t reside in the codebase, so they need no maintenance and no test code review2.

    • Risk targeter: A model similar to Diff Risk Score (DRS), trained on previous code changes, picks the risky diffs submitted the previous day. It runs overnight on spare capacity1.
    • Test-generating LLMs: Two workflows write tests for each diff. The intent-aware workflow aims at the risks of what the change tries to do, and the dodgy diff workflow treats the change itself as a bug1.
    • Assessors: RubFake, a rules engine, and the LLM-as-Judge ensemble rank each failing test as a likely true or false positive1.
    • Diff authors: Answer a chat message that asks whether the observed change was intended3. They rarely need to read test code1.
    • Engineers on the loop: Set the criteria and review outcomes at an aggregate level rather than supervising every output1.

    “This work represents a fundamental shift from ‘hardening’ tests that pass today to ‘catching’ tests that find tomorrow’s bugs.”

    Mark Harman, research scientist at Meta4

    Alternatives considered

    • AI code review: Most AI approaches review the code as a human reviewer would, only faster. Meta chose executable tests because they catch classes of bugs that LLM- or agent-based reviews might not, at the cost of more computational steps1.
    • Coincidental catches: Only 0.2% of hardening tests that failed on a diff were weak catches. Meta discontinued that workflow on November 11, 20253.
    • Human-in-the-loop review: In the initial deployment, a person decided whether each candidate catch went to the diff author3. Meta moved to human-on-the-loop review to reduce friction1.

    Rollout

    Figure 1From production workflows to full-scale results
    From production workflows to full-scale resultsThe two diff-aware workflows entered production in September 2025, when the team also began reaching out to engineers about candidate catches. Meta discontinued the coincidental catch workflow on November 11, 2025, published its paper on January 30, 2026, presented it at FSE 2026 in June 2026, and reported full-scale results on October 29, 2026.Sep 2025Sep 2025 · Diff-aware workflows in production · Documented in source [3]Diff-aware workflows in production11 Nov 202511 Nov 2025 · Coincidental catch workflow discontinued · Documented in source [3]Coincidental catchworkflow discontinued30 Jan 202630 Jan 2026 · Paper published on arXiv · Documented in source [3]Paper published on arXivJun 2026Jun 2026 · Paper presented at FSE 2026 · Documented in sources [1] [3]Paper presented at FSE 202629 Oct 202629 Oct 2026 · Full-scale results published · Documented in source [1]Full-scale results publishedFrom production workflows to full-scale resultsThe two diff-aware workflows entered production in September 2025, when the team also began reaching out to engineers about candidate catches. Meta discontinued the coincidental catch workflow on November 11, 2025, published its paper on January 30, 2026, presented it at FSE 2026 in June 2026, and reported full-scale results on October 29, 2026.Sep 2025Sep 2025 · Diff-aware workflows in production · Documented in source [3]Diff-aware workflowsin production2 mo11 Nov 202511 Nov 2025 · Coincidental catch workflow discontinued · Documented in source [3]Coincidental catchworkflow discontinued2 mo30 Jan 202630 Jan 2026 · Paper published on arXiv · Documented in source [3]Paper publishedon arXiv5 moJun 2026Jun 2026 · Paper presented at FSE 2026 · Documented in sources [1] [3]Paper presentedat FSE 20264 mo29 Oct 202629 Oct 2026 · Full-scale results published · Documented in source [1]Full-scale resultspublished
    • Key milestone
    Sources [1][3]
    About a year after the diff-aware workflows entered production, Meta reported full-scale results.

    From mid-September to the end of October 2025, the team reached out to 41 engineers with candidate catches, which gave it the ground truth to refine the assessors3.

    Technology and architecture

    Figure 2How Catching JiTTests turn a risky diff into a question for its author
    How Catching JiTTests turn a risky diff into a question for its authorDiffs submitted to Phabricator go to a risk targeter, which picks the risky ones overnight. Two LLM workflows, intent-aware and dodgy diff, generate tests, which run on the diff. Failing tests, the weak catches, go to the LLM-as-Judge ensemble and to the RubFake rules engine. Their ranking decides whether the system sends a question to the diff author. Engineers on the loop set the criteria and review outcomes in aggregate. No part of the figure is inferred.previous day's diffs (data) · Documented in sources [1] [3]risky diffs (trigger or control) · Documented in source [1]risky diffs (trigger or control) · Documented in source [1]tests (data) · Documented in source [1]tests (data) · Documented in source [1]weak catches (data) · Documented in source [1]weak catches (data) · Documented in source [1]scores (data) · Documented in source [1]verdicts (data) · Documented in source [1]was this intended? (handoff to people) · Documented in sources [1] [3]criteria (trigger or control) · Documented in source [1]META CICATCHING JITTESTSENGINEERSPhabricator diffs · System · Documented in source [3]SYSTEMPhabricatordiffsRisk targeter · AI model · Documented in sources [1] [3]AI MODELRisk targeterIntent-aware workflow · AI model · Documented in source [1]AI MODELIntent-awareworkflowDodgy diff workflow · AI model · Documented in source [1]AI MODELDodgy diffworkflowTests run on the diff · Step · Documented in source [1]Tests runon the diffLLM-as-Judge ensemble · AI model · Documented in sources [1] [3]AI MODELLLM-as-JudgeensembleRubFake rules · System · Documented in sources [1] [3]SYSTEMRubFake rulesReach out? · Decision · Documented in source [1]DECISIONReach out?Diff author · Person · Documented in sources [1] [3]PERSONDiff authorEngineers on the loop · Team · Documented in source [1]TEAMEngineerson the looppreviousday's diffsrisky diffsrisky diffsteststestsweak catchesweak catchesscoresverdictswas thisintended?criteriaHow Catching JiTTests turn a risky diff into a question for its authorDiffs submitted to Phabricator go to a risk targeter, which picks the risky ones overnight. Two LLM workflows, intent-aware and dodgy diff, generate tests, which run on the diff. Failing tests, the weak catches, go to the LLM-as-Judge ensemble and to the RubFake rules engine. Their ranking decides whether the system sends a question to the diff author. Engineers on the loop set the criteria and review outcomes in aggregate. No part of the figure is inferred.previous day's diffs (data) · Documented in sources [1] [3]risky diffs (trigger or control) · Documented in source [1]risky diffs (trigger or control) · Documented in source [1]tests (data) · Documented in source [1]tests (data) · Documented in source [1]weak catches (data) · Documented in source [1]weak catches (data) · Documented in source [1]scores (data) · Documented in source [1]verdicts (data) · Documented in source [1]was this intended? (handoff to people) · Documented in sources [1] [3]criteria (trigger or control) · Documented in source [1]META CICATCHING JITTESTSENGINEERSPhabricator diffs · System · Documented in source [3]SYSTEMPhabricator diffsRisk targeter · AI model · Documented in sources [1] [3]AI MODELRisk targeterIntent-aware workflow · AI model · Documented in source [1]AI MODELIntent-aware workflowDodgy diff workflow · AI model · Documented in source [1]AI MODELDodgy diff workflowTests run on the diff · Step · Documented in source [1]Tests run on the diffLLM-as-Judge ensemble · AI model · Documented in sources [1] [3]AI MODELLLM-as-JudgeensembleRubFake rules · System · Documented in sources [1] [3]SYSTEMRubFake rulesReach out? · Decision · Documented in source [1]DECISIONReach out?Diff author · Person · Documented in sources [1] [3]PERSONDiff authorEngineers on the loop · Team · Documented in source [1]TEAMEngineers on the loopprevious day's diffsrisky diffsrisky diffsteststestsweak catchesweak catchesscoresverdictswas this intended?criteria
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    Sources [1][3]
    LLMs write tests that fail on the diff, and two assessors rank the failures before the system asks the diff author.
    Layer What they used Role Source
    Solution platform Catching JiTTests Generates tests for each risky diff, runs them, ranks the failures, and decides whether to reach out to the engineer 1, 3
    Predictive model Diff risk targeter Picks the previous day’s risky diffs, by using a mechanism similar to Diff Risk Score trained on previous code changes 1, 3
    Language model Intent-aware workflow Has an LLM infer a diff’s intent and risks, turns each risk into a mutant, and generates a test to kill it 1, 3
    Language model Dodgy diff workflow Treats the diff as a mutant of its parent and generates tests that tell the two apart 1, 3
    Language model Mutation-Guided LLM-based Test Generator Writes the tests in both workflows, as it already did for hardening tests in Meta’s CI 3
    Checker model LLM-as-Judge Ensemble of LLMs that scores each failing test as a likely true or false positive and explains why 1, 3
    Checker model Llama3.3-70B Judge in the ensemble, and the model whose token probability gives the yes-or-no score 3
    Checker model Gemini 3 Pro Judge in the ensemble 3
    Checker model Claude Sonnet 4 Judge in the ensemble 3
    Rules and decision logic RubFake Rule-Based False-Positive Killing Environment that flags known false and true positive patterns deterministically 1, 3
    Messaging and notifications Engineer reach-out Chat message to the diff author that asks whether the observed behavior change was intended 1, 3

    Data inputs

    • Diff: The code changes between the parent and the child revision, with the diff title and summary1.
    • Parent revision: Each generated test must pass on the parent and fail on the diff to count as a weak catch1, 3.
    • Test-execution outcome: The failure code, message, and execution trace of each weak catch, which the judges read1.
    • Previous code changes: The data that the risk targeter was trained on1.
    • Reviewer labels: Diffs that reviewers accepted or rejected, which Meta used to test whether the assessors tell true from false positives3.

    Integrations

    • Phabricator: Meta’s continuous integration system, where engineers submit diffs. The catch workflows are deployed at diff submission time3.
    • Engineer chat: The system sends the diff author a simple chat-based message that asks whether the observed change was intended3.

    How one diff flows through the system

    1. The risk targeter selects the diffs submitted the previous day that it flags as high risk3.
    2. The dodgy diff workflow treats the diff as a mutant of its parent. The Mutation-Guided LLM-based Test Generator writes tests that tell the two apart1, 3.
    3. The intent-aware workflow has an LLM infer the diff’s intent from the code changes, diff title, and summary. The LLM then describes the risks of implementing that intent1.
    4. The workflow turns each risk into a mutant of the parent and generates a test to kill it1.
    5. The system runs the tests on the actual diff. Each test that fails is a weak catch1.
    6. The LLM-as-Judge ensemble reads the test code, the execution outcome, the diff, and the inferred intent. Llama3.3-70B gives a yes-or-no score from its token probability, and the median of the models’ ratings gives a second score1, 3.
    7. RubFake checks for known false positive patterns, such as a test that relies on reflection, and true positive patterns, such as a value that becomes null although the change didn’t touch it3.
    8. The two assessors produce one ranking, and the system decides whether to reach out to an engineer1.
    9. The diff author reads a description of the changed behavior and says whether it’s expected3. Of the strong catches in the initial deployment that weren’t severe, two led to fixes and two diffs were abandoned3.

    Results

    Meta published the production figures in October 2026, about a year after the diff-aware workflows entered production1, 3.

    Metric Before After Scope and timeframe Reported by
    Serious (SEV) privacy bugs caught at the diff stage Not disclosed 74 Meta, first half of 2026 Meta, measured1
    Lower overall occurrence of privacy SEVs Not disclosed 20% Meta, first half of 2026 Meta, measured1
    Rate of true positives among findings Not disclosed 60% 589 engaged engineers, to October 2026 Meta, measured1
    Lower human review load from the assessors Manual review of every weak catch 70% 600 weak catches, October to November 2025 Meta, measured3
    • Privacy bugs caught: The 74 serious privacy bugs were caught at the diff stage, before they landed in production, in the first half of 20261.
    • Privacy SEVs: The 20% is the drop in the overall occurrence of privacy SEVs at Meta over the same timeframe, in which Catching JiTTests played a key role1.
    • True positives: The 60% rate is what the 589 engineers who engaged with Catching JiTTests reported. They were 64% of the engineers that Meta reached out to1.
    • Review load: The 70% comes from the initial deployment. The assessors removed the lowest-scored weak catches, which let the team handle about four times the evaluations of manual review alone3.
    • Initial reach-outs: Of 41 reach-outs in autumn 2025, eight were confirmed as real bugs, and four of those would have led to serious failures3.
    • Test generation: Across 22,126 generated tests, the diff-aware workflows produced 4x the weak catches of hardening tests and 20x those of coincidentally failing tests3.

    Lessons learned

    The deployment grew from an initial study into part of Meta’s infrastructure. It helped catch 74 serious privacy bugs before they landed, and 589 engineers engaged with it1.

    The later account reports a higher true positive rate. The paper reported 19.5% across 41 reach-outs in autumn 2025, and the October 2026 post reported a 60% rate from engaged engineers1, 3. The two figures differ in period and in method: one counts confirmed catches, the other is what engineers reported.

    Most early reach-outs were false positives: only eight of 41 were confirmed as real bugs3. Meta’s answer was to make a false positive cheap. The engineer answers whether a described change is expected, which took no more than a few minutes, so the system can tolerate more false positives3.

    The LLM judges are non-deterministic and hard to verify, which is why Meta pairs them with deterministic rules1. The paper found only modest agreement between the LLM-based and rule-based assessors3. Its authors also say that the 98% precision of the judges means less than the 70% saving, because almost all weak catches are false positives3.

    Catching tests cost compute. The workflows run overnight on spare capacity and only on diffs that the targeter flags as high risk3.

    Every figure is Meta’s own, from its engineering blog and a paper by its engineers, and InfoQ relays them1, 3, 4. InfoQ calls the 4x figure a bug detection gain, but in the paper it counts weak catches, the failing tests before any filtering3, 4. The authors also say that they have too few data points for strong scientific claims about the share of catches that are severe3.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    • A risk score for your diffs: Meta spends its compute only on the previous day’s diffs that a model trained on past changes flags as high risk3. Check that you can rank your own changes before you generate tests for them.
    • An LLM test generator in your CI: The catch workflows reuse the mutation-guided generator that Meta already ran in Phabricator for hardening tests3.
    • Engineers to label weak catches: Two and then four engineers analyzed 600 weak catches to find the false positive patterns that RubFake encodes3.
    • Diff authors who answer a short question: The signal works because an author can dismiss an intended change in minutes3.

    Reference architecture

    Software engineering assistant

    A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    Cite this case study

    Enterprise AI Case Studies. "Meta's just-in-time LLM tests catch bugs before code lands." Updated Nov 26, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-064-just-in-time-catching-tests-meta/

    @misc{csai-er-064,
      author = {{Enterprise AI Case Studies}},
      title = {{Meta's just-in-time LLM tests catch bugs before code lands}},
      year = {2026},
      note = {Updated 2026-11-26},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-064-just-in-time-catching-tests-meta/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Catching Bugs Before They Land: JiTTesting's Human-on-the-Loop Approach at Full Scale

      OrganizationMeta, Oct 29, 202629 Oct 2026By Sreeja Thummala, Sophie Zeng, Mark Harman, Weini Liu, and Eric LiuAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (30)
      • Catching JiTTests are no longer a research prototype
      • part of Meta's infrastructure
      • With hundreds of millions of lines of code constantly evolving at Meta, traditional testing can't keep pace.
      • It generates executable tests that demonstrate a concrete behavioral difference introduced by the change. While it requires more computational steps, it catches classes of bugs that LLM- or agent-based code reviews might not.
      • They work through the same review process that a human reviewer would, only faster.
      • JiTTests are automatically generated and designed to fail, surfacing bugs in code changes (diffs) before they land in production.
      • workflow that infers the intention and risks of a code change and targets test generation toward likely failure points.
      • treats every code change as if it were a mutant/bug and generates tests to expose its behavioral differences without reasoning about intent
      • To filter false positives, we employed a traditional rule-based approach combined with an ensemble approach we call
      • aggregates judgements from several state-of-the-art (SOTA) LLMs, all tasked with classifying weak catches as likely true or false positives.
      • The system runs overnight on spare capacity and targets diffs submitted the previous day that are deemed
      • using a mechanism similar to Diff Risk Score (DRS) and trained on previous code changes
      • The dodgy diff workflow treats each diff as if it were a mutant and uses mutation-guided LLM-based test generation to produce tests that distinguish the diff's behavior from its parent.
      • using the code changes, diff title, and summary
      • It then uses those risk descriptions to construct mutants
      • Tests are generated to kill each mutant (i.e., distinguish mutant behavior from parent).
      • Those tests are then run on the actual diff. Any that fail are harvested as weak catches.
      • The weak-catch test-case code.
      • The test-execution outcome (failure code, message, execution trace).
      • The inferred diff intent.
      • LLM-as-Judge has rich semantics, but its judgements are non-deterministic and challenging to verify. By contrast, RubFake provides verified, deterministic judgments.
      • Working together, RubFake and LLM-as-Judge produce an overall ranking of weak-catch candidates
      • Based on the ranking from LLM-as-Judge and RubFake, the system then decides whether to reach out to human engineers.
      • we've reduced friction through a human-on-the-loop approach, where human engineers set criteria and review outcomes at an aggregate level rather than supervising every output.
      • 589 engineers at Meta (64% of our outreach) have engaged with Catching JiTTests
      • with a 60% rate of true positives
      • In the first half of 2026, Catching JiTTests played a key role in catching 74 serious (SEV) privacy bugs at the diff stage, before they landed in production and lowering the overall occurrence of privacy SEVs by 20% during that timeframe.
      • engineers rarely need to read test code and only need to confirm whether an observed behavioral change was intended
      • Engineers define success criteria early, let AI execute the testing, monitor the outcomes at an aggregate level, and intervene at the policy level rather than per item.
      • which was presented at FSE 2026
    2. Source 2:

      The Death of Traditional Testing: Agentic Development Broke a 50-Year-Old Field, JiTTesting Can Revive It

      OrganizationMeta, Feb 11, 202611 Feb 2026By Mark HarmanAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (5)
      • Under the traditional paradigm, tests are manually built as new code lands in a codebase and continually executed, requiring regular updates and maintenance.
      • Agentic development dramatically increases the pace of code change, straining test development burden and scaling the cost of false positives and test maintenance to breaking point.
      • Catching JiTTests require no test maintenance and no test code review
      • They are generated on-the-fly for each code change and do not reside in the codebase, eliminating ongoing maintenance costs and shifting effort from humans to machines.
      • They only require human review when a bug is actually caught.
    3. Source 3:

      Just-in-Time Catching Test Generation at Meta

      AcademicMeta, Jan 30, 202630 Jan 2026By Matthew Becker, Yifei Chen, Nicholas Cochran, Pouyan Ghasemi, Abhishek Gulati, Mark Harman, Zachary Haluza, Mehrdad Honarkhah, Herve Robert, Jiacheng Liu, Weini Liu, Sreeja Thummala, Xiaoning Yang, Rui Xin, and Sophie ZengDocumentAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (52)
      • The two diff-aware work flows are part of our production deployment since September 2025
      • of hundreds of millions of lines of code used by over 3.5 billion
      • people worldwide every day
      • and land into the code base to 'harden' against future regressions.
      • continuous integration system, Phabricator
      • workflows are deployed at diff submission time.
      • either be discarded (because it is deemed unhelpful), or its signal must be addressed (to fix the changes and make the test pass).
      • we therefore would expect hardening tests to fail on approximately 1% of the diffs to which they are applied.
      • This proportion is 0.2%
      • 11th November 2025, when the coincidental catch workflow was discontinued.
      • The noticeably lower results for the number of weak catches led us to abandon any further attempt to harvest
      • 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.
      • These assessors reduce human review load by 70%.
      • 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.
      • yielding an engineer-experienced true positive rate of 19.5%.
      • We also found that dismissing false positives took only a few minutes and therefore had negligible drag on developer velocity.
      • We prioritize catching severe bugs using a targeting mechanism similar to Diff Risk Score (DRS)
      • trained on previous code changes and running overnight (west coast USA) using spare capacity.
      • It is important to focus on severe regressions, because catching test generation is inherently computationally expensive
      • The workflow is triggered for all the diffs submitted for the previous day that are flagged as high risk by the targetter.
      • We simply treat the diff as if it were already a mutant (a buggy version of the parent). We then use a Mutation-Guided LLM-based Test Generator
      • to generate tests that attempt to kill the mutant
      • the first version of the intent-aware workflow we deployed simply used the code itself, and the diff title and summary, and no other contextual information
      • We wanted to provide a baseline against which to measure such richer sources of information
      • using the dodgy diff approach we generate weak catches for 4.0% of diffs, rising to 7.9% of diffs
      • for a period of 10 days between 14th and 24th
      • To maximize robustness and reduce the risk of idiosyncratic model errors or biases, we employ an ensemble approach
      • Gemini 3 Pro, and Claude Sonnet 4)
      • probability was only available for Llama models, and we chose Llama3.3-70B and tasked the LLM with a binary classification
      • The final score is determined by taking the median across the ensemble
      • The median is chosen over the mean because the mapped values are ordinal rather than continuous
      • Each explanation is presented individually, allowing human reviewers to evaluate the performance of each judge
      • the LLM judges achieved over 98% precision
      • Therefore, the important take-home message from these numbers is the 70% saving, rather than the 98% precision.
      • The tests are drawn from extremely unbalanced population in which almost all of them are false positives.
      • allowing us to scale evaluation capacity to approximately 4 times that of manual review alone.
      • Between October and November 2025, we manually analyzed 600 weak catches, in order to identify patterns of false positive behavior.
      • We initially had two engineers performing this process, in which one would conduct the assessment and the other act as a checker on this assessment.
      • Subsequently, as we scaled up the deployment, we employed four engineers
      • reflection tends to lead to highly brittle test since it is inherently implementation dependent
      • suspicious when variables not directly implicated in code changes become null
      • In our initial deployment, we also have a human-in-the-loop.
      • The purpose of the human is, simultaneously, to determine whether a candidate strong catch signal is sent to the diff author, and to provide feedback on true and false positive patterns
      • During the period from mid-September through to the end of October, we reached out to 41 engineers, with a very simple chat-based message asking whether the observed change was intended or not.
      • Rather than showing them a test case and asking them to debug, it is much better, in the first instance, to clearly articulate what the changed behavior is (between parent and child) and to simply ask whether this is expected.
      • False positives are thus eliminated with alacrity, and consequently a higher proportion can be tolerated than were the engineer required to actually look at test code or code under test.
      • Of the remaining 4 issues caught, 2 lead to fixes involving landing defensive programming to prevent future regressions, while for the other 2, the diffs were simply abandoned by their authors.
      • At this point in the evolution of our catch workflows, we have too few data points to make strong scientific claims of this nature
      • We also found only modest inter-rater agreement and rank correlation between LLM-based and rule-based assessors.
      • diffs (accepted or committed by reviewers) and
      • diffs (reverted, abandoned, or flagged for changes).
      • coincidental hardening test generated by catching are highly prevalent
    4. Source 4:

      Meta Reports 4x Higher Bug Detection with Just-in-Time Testing

      IndependentInfoQ, Apr 17, 202617 Apr 2026By Leela KumiliAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (4)
      • Meta reports that the system was evaluated on over 22,000 generated tests. Results show a 4x improvement in bug detection over baseline-generated tests
      • As Mark Harman, research scientist at Meta, notes:
      • This work represents a fundamental shift from 'hardening' tests that pass today to 'catching' tests that find tomorrow's bugs.
      • Mutation testing, after decades of purely intellectual impact, confined to academic circles, is finally breaking out into industry and transforming practical, scalable Software Testing 2.0.

    More in Engineering & Research

    View all