arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22110cs.SEcs.AIcs.HC
收藏

TraceView: 智能体程序修复轨迹的交互式可视化

TraceView: Interactive Visualization of Agentic Program Repair Trajectories

Belmont University(贝尔蒙特大学)

Amirali Sajadi, Tu Nguyen, Kimmie Huynh, Esteban Parra, Preetha Chatterjee

AI总结:

提出TraceView工具,通过交互式可视化和语义关系标注,帮助开发者诊断LLM-based自动程序修复代理的失败原因,支持轨迹扫描与理解。

摘要:

基于LLM的自动程序修复(APR)代理生成补丁以修复软件缺陷,几乎无需人工干预。这些代理通常产生包含推理、工具使用和反馈的长轨迹,以生成候选补丁。最终补丁结果显示了修复尝试的成功或失败,但并未展示代理如何达到该结果,或者过程在何处变得重复或与任务不一致。这使得代理修复失败难以诊断、重现和预防。为帮助开发者应对这些挑战,我们提出了TraceView,一个用于标注和可视化APR系统修复轨迹的交互式工具。TraceView将原始和预标注的代理运行组织为思考、行动和结果组件,支持语义关系标注和诊断,并将生成的轨迹渲染为图形视图。此外,TraceView提供关系过滤器、补丁结果摘要、度量和节点级证据面板,帮助用户检查推理、行动和反馈如何在代理修复尝试的各个步骤中连接。我们通过一项基于调查的用户研究,与五位研究人员一起评估了TraceView。参与者报告称,TraceView使轨迹更易于扫描,其从概览到细节的工作流程帮助他们更好地理解修复行为。TraceView源代码可在以下网址获取:https://...。TraceView的屏幕录像可在以下网址获取:https://...

英文摘要:

LLM-based automated program repair (APR) agents generate patches to fix software bugs with minimal human intervention. These agents often produce long trajectories of reasoning, tool use, and feedback to produce candidate patches. Final patch outcomes show whether a repair attempt succeeded or failed, but they do not show how the agent reached that outcome, or where the process became repetitive or misaligned with the task. This makes agentic repair failures difficult to diagnose, reproduce, and prevent. To help developers address these challenges, we present TraceView, an interactive tool for labeling and visualizing repair trajectories from APR systems. TraceView organizes raw and pre-labeled agentic runs with Thought, Action, and Result components to support semantic relation labeling and diagnosis, and renders the resulting trajectory as graph views. Furthermore, TraceView provides relation filters, patch outcome summaries, metrics, and node-level evidence panels to help users inspect how reasoning, actions, and feedback connect across the various steps of an agentic repair attempt. We evaluate TraceView with five researchers through a survey-based user study. Participants reported that TraceView made trajectories easier to scan and that its overview-to-detail workflow helped them better understand repair behavior. The TraceView source code is available at https://github.com/SOAR-Lab/agent-traj-visualization. A screencast of TraceView is available at https://youtu.be/9ZCh7Ifj2AQ.

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

↑