GAssert: A Fully Automated Tool to Improve Assertion Oracles

03/04/2021
by   Valerio Terragni, et al.
0

This demo presents the implementation and usage details of GASSERT, the first tool to automatically improve assertion oracles. Assertion oracles are executable boolean expressions placed inside the program that should pass (return true) for all correct executions and fail (return false) for all incorrect executions. Because designing perfect assertion oracles is difficult, assertions are prone to both false positives (the assertion fails but should pass) and false negatives (the assertion passes but should fail). Given a Java method containing an assertion oracle to improve, GASSERT returns an improved assertion with fewer false positives and false negatives than the initial assertion. Internally, GASSERT implements a novel co-evolutionary algorithm that explores the space of possible assertions guided by two fitness functions that reward assertions with fewer false positives, fewer false negatives, and smaller size.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/04/2021

Stretching Your Data With Taffy Filters

Popular approximate membership query structures such as Bloom filters an...
research
10/18/2022

ModSandbox: Facilitating Online Community Moderation Through Error Prediction and Improvement of Automated Rules

Despite the common use of rule-based tools for online content moderation...
research
07/25/2018

Robustness to fundamental uncertainty in AGI alignment

The AGI alignment problem has a bimodal distribution of outcomes with mo...
research
02/28/2022

On classification of strategic agents who can both game and improve

In this work, we consider classification of agents who can both game and...
research
12/27/2019

Combining Deep Learning and Verification for Precise Object Instance Detection

Deep learning object detectors often return false positives with very hi...
research
05/23/2018

WisenetMD: Motion Detection Using Dynamic Background Region Analysis

Motion detection algorithms that can be applied to surveillance cameras ...
research
03/06/2021

Improving Automated Sonar Video Analysis to Notify About Jellyfish Blooms

Human enterprise often suffers from direct negative effects caused by je...

Please sign up or login with your details

Forgot password? Click here to reset