[KongchangAI]
ProductJust-in-Time Tests

JiTTests

An LLM-based automated test generation system developed by Meta. It generates test cases expected to fail in response to code changes (diffs), intercepting high-risk defects before code is merged, with particular attention to privacy and security issues.

Timeline (last 90 days)

Nov 16

Meta's JiTTests system has moved from the experimental stage into production.

Unverified50%
Nov 16

JiTTests generates expected-to-fail test cases for code changes (diffs) about to be merged, to expose risks before merging.

Unverified50%
Nov 16

In the first half of the year, JiTTests caught 74 privacy-related severe incidents (SEVs) before code was merged.

Unverified50%
Nov 16

The true-positive rate of JiTTests reported by engineers reached 60%.

Unverified50%
Nov 16

JiTTests takes code diffs as input, lets an LLM analyze the semantics of the changes and generate test cases.

Unverified50%
Nov 16

JiTTests chose to trigger only in the narrow scenario of "high-risk diffs" rather than running on all commits, in order to balance coverage and engineering feasibility.

Unverified50%
Nov 16

A 60% true positive rate is above the middle level for LLM-generated tests, but is not yet sufficient to serve as a hard gate blocking merges, and is better suited as an auxiliary signal.

Unverified50%
Nov 16

The "reverse design" of JiTTests lies in moving the testing checkpoint forward to before the code lands, letting the LLM judge risk based on diff semantics and generate tests.

Unverified50%

All Facts (8)

Source Articles