arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09225cs.LOcs.PL
收藏

溯源引导的回滚建议

Provenance Guided Rollback Suggestions

David Zhao, Pavle Subotic, Mukund Raghothaman, Bernhard Scholz

AI总结:

本文提出一种基于增量溯源的 Datalog 调试技术,用于在增量环境中定位故障变更并提供回滚建议,在 Doop 和 DaCapo 基准上相比现有技术实现超 26.9 倍加速且结果质量更高。

摘要:

增量 Datalog 求值策略的进步使得 Datalog 在输入不断演变的用例中广受欢迎,例如持续集成和部署流水线中的静态分析。因此,需要新的逻辑编程调试技术来支持这些新兴用例。本文介绍了一种针对 Datalog 的增量调试技术,该技术能在增量环境中确定用于回滚的失败变更。我们的调试技术利用了一种新颖的增量溯源方法。我们使用 Soufflé Datalog 引擎的增量版本实现了该技术,并在由 Doop 静态分析库分析的 DaCapo Java 程序基准上评估了其有效性。与最先进的技术相比,我们能够定位故障并建议回滚,总体加速超过 26.9 倍,同时提供更高质量的结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑