The test suite accuracy[1] is defined as the fraction of predictions that match the ground truth as measured by an execution on a set of databases.
Test suites were introduced as a refinement of Execution Matching on which multiple databases are tested against a query to reduce false positives[2].
The test suites accuracy
Where:
Usually, it is not practical to have a set of databases
SELECT Name FROM User WHERE Age >= 25
SELECT Name FROM User WHERE Age > 25
Both queries are considered to be neighbours since the difference in the parsing trees only occur with the symbols >=
and >
With that, the (randomised) test suite is defined as: