Wisening Assertions: A live Bayesian reasoning system for probabilistic correctness
Thu 19 Jan 2023 14:30 - 14:45 at White Hill - SRC Presentation
Incorporating assertions into code is a powerful way to increase confidence in correctness with greater precision than testing. Unfortunately, the ideal assertions often require deep traversal of a large object graph or expensive computation of a quantified formula. Because of this run-time cost, usage of assertions is typically confined to testing environments and disabled in production environments. The spectrum of input data against which code is run in production dwarfs testing environments, so production-disabled assertions sacrifice significant potential robustness. This work presents a new middle ground between expensive “always-on” behavior and unsound ``always-off'' behavior for run-time assertions, by gradually transitioning from “on” to “off” as confidence in code correctness increases over time. A novel static analysis determines the exact extent to which each assertion depends on its surrounding code under a probabilistic model of program execution, allowing demonstration that even as the frequency of assertion execution decreases, confidence in correctness does not. This system combines the robustness of “always-on” assertions with the scalability and eventually zero overhead of “always-off” assertions, providing a powerful new sweet spot in design of testing and correctness systems.
Research Advisor: Andrew Myers ACM member number: 3741362 Category: PhD student
Wed 18 JanDisplayed time zone: Eastern Time (US & Canada) change
Thu 19 JanDisplayed time zone: Eastern Time (US & Canada) change
13:30 - 15:00 | |||
13:30 15mTalk | Scalable Synthesis of Regular Expressions From Only Positive Examples Student Research Competition | ||
13:45 15mTalk | Synthesizing Vectorized Code via Verified Lifting Student Research Competition Jeremy Ferguson University of California-Berkeley | ||
14:00 15mTalk | Evaluating Soundness of a Gradual Verifier with Property Based Testing Student Research Competition Jan-Paul Ramos-Davila Cornell University | ||
14:15 15mTalk | On the metatheory of IRs and the CPS-calculus Student Research Competition Paulo Torrens University of Kent | ||
14:30 15mTalk | Wisening Assertions: A live Bayesian reasoning system for probabilistic correctness Student Research Competition Julia Turcotti MIT-CSAIL | ||
14:45 15mTalk | Compiling and Running High-level Quantum Programs Student Research Competition Hristo Venev INSAIT |