Provenance Guided Rollback Suggestions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhao, David, Subotic, Pavle, Raghothaman, Mukund, Scholz, Bernhard
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918003294076928
author Zhao, David
Subotic, Pavle
Raghothaman, Mukund
Scholz, Bernhard
author_facet Zhao, David
Subotic, Pavle
Raghothaman, Mukund
Scholz, Bernhard
contents Advances in incremental Datalog evaluation strategies have made Datalog popular among use cases with constantly evolving inputs such as static analysis in continuous integration and deployment pipelines. As a result, new logic programming debugging techniques are needed to support these emerging use cases. This paper introduces an incremental debugging technique for Datalog, which determines the failing changes for a \emph{rollback} in an incremental setup. Our debugging technique leverages a novel incremental provenance method. We have implemented our technique using an incremental version of the Soufflé Datalog engine and evaluated its effectiveness on the DaCapo Java program benchmarks analyzed by the Doop static analysis library. Compared to state-of-the-art techniques, we can localize faults and suggest rollbacks with an overall speedup of over 26.9$\times$ while providing higher quality results.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09225
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Provenance Guided Rollback Suggestions
Zhao, David
Subotic, Pavle
Raghothaman, Mukund
Scholz, Bernhard
Logic in Computer Science
Programming Languages
Advances in incremental Datalog evaluation strategies have made Datalog popular among use cases with constantly evolving inputs such as static analysis in continuous integration and deployment pipelines. As a result, new logic programming debugging techniques are needed to support these emerging use cases. This paper introduces an incremental debugging technique for Datalog, which determines the failing changes for a \emph{rollback} in an incremental setup. Our debugging technique leverages a novel incremental provenance method. We have implemented our technique using an incremental version of the Soufflé Datalog engine and evaluated its effectiveness on the DaCapo Java program benchmarks analyzed by the Doop static analysis library. Compared to state-of-the-art techniques, we can localize faults and suggest rollbacks with an overall speedup of over 26.9$\times$ while providing higher quality results.
title Provenance Guided Rollback Suggestions
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2501.09225