paperbot · PL 论文追踪

全部论文 待读 收藏

P2 PySTAAR: An End-to-End, Extensible Framework for Automated Python Type Error Repair

PySTAAR:一个端到端、可扩展的 Python 类型错误自动修复框架
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 4/10 · 论文属于用 LLM/修复技术做 Python 类型错误自动修复的自动化程序修复工作,与用户关注的 LLM 用于程序语言/静态分析有间接关联;但它并非静态分析或形式化验证本身,也不涉及 Agentic 程序、浮点程序分析或贝叶斯程序分析,且偏工具演示而非理论/benchmark 深入分析。引用 0 inbox
Wonseok Oh, Hyobin Park, Miryeong Kang, Seungbin Choi, Yunja Choi, Hakjoo Oh
crossref: 2026-09-12

AI 速览

一句话:提出端到端可扩展框架 PySTAAR,集成测试生成、故障定位、补丁合成与验证,借助大模型自动修复 Python 类型错误。

本文介绍 PySTAAR,一个面向 Python 程序的端到端、可扩展的类型错误自动检测与修复框架。现有 Python 类型错误修复工作通常只覆盖流水线中的单个环节,难以在真实应用上全自动完成从发现问题到确认补丁的完整流程。PySTAAR 将测试生成、故障定位、补丁合成与补丁验证整合为一条全自动流水线,并结合大语言模型与当前最先进的修复技术。框架采用模块化、可扩展的架构,并提供可视化整个工作流的易用 Web 界面,使不同经验水平的开发者都能使用。作者在真实 Python 应用上进行了工具演示,表明 PySTAAR 无需人工干预即可自动检测并修复类型错误,并取得较高的修复率。

问题
Python 缺乏静态类型检查保障,类型错误常在运行时才暴露,而现有自动修复技术多只解决流水线中的单一环节,难以在真实程序中端到端地自动定位并修复类型错误。
方法
PySTAAR 将测试生成、故障定位、补丁合成与补丁验证集成为一条全自动流水线,结合大语言模型与先进修复技术,并采用模块化可扩展架构与可视化 Web 界面。
评估
作者在真实 Python 应用上进行工具演示,展示框架无需人工干预即可自动检测并修复类型错误,并报告了较高的修复率。
原文摘要(Abstract)

We present PySTAAR, an end-to-end, extensible framework for automatically detecting and repairing type errors in Python programs. PySTAAR integrates test generation, fault localization, patch synthesis, and patch validation into a fully automated pipeline, leveraging large language models and state-of-the-art repair techniques. The framework features a modular, extensible architecture and a user-friendly web interface that visualizes the workflow, making it accessible to developers of all experience levels. We demonstrate that PySTAAR can automatically detect and repair type errors in real-world Python applications, achieving high repair rate without manual intervention. Our tool demonstration is available at https://youtu.be/VizRQsrtsdk.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11542,
  title = {PySTAAR: An End-to-End, Extensible Framework for Automated Python Type Error Repair},
  author = {Wonseok Oh and Hyobin Park and Miryeong Kang and Seungbin Choi and Yunja Choi and Hakjoo Oh},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3774748.3787613}
}