CodeWatcher:用于理解与 LLMs 编码交互的 IDE 遥测数据提取工具
CodeWatcher: IDE Telemetry Data Extraction Tool for Understanding Coding Interactions with LLMs
AI总结:
本文提出 CodeWatcher,一个轻量级无干扰的客户端-服务器系统,通过 VS Code 插件、Python RESTful API 和 MongoDB 后端捕获细粒度交互事件,支持编码会话重建与行为分析,助力负责任 AI 及 CGT 评估研究。
摘要:
了解开发者如何与代码生成工具(CGTs)交互,需要关于编程行为的详细、实时数据,而这些数据往往在不干扰工作流程的情况下难以收集。我们提出了 CodeWatcher,这是一个轻量级、无干扰的客户端-服务器系统,旨在从 Visual Studio Code(VS Code)编辑器内部捕获细粒度的交互事件。CodeWatcher 记录具有语义意义的事件,如 CGT 进行的插入、删除、复制粘贴操作和焦点转移,从而在不修改用户工作流程的情况下实现对开发者活动的持续监控。该系统包含一个 VS Code 插件、一个基于 Python 的 RESTful API 和一个 MongoDB 后端,全部容器化以实现可扩展性和易于部署。通过对每个事件进行结构化和时间戳标记,CodeWatcher 能够对编码会话进行事后重建,并促进丰富的行为分析,包括在开发过程中如何以及何时使用 CGT。这一基础设施对于支持负责任 AI、开发者生产力以及以人为中心的 CGT 评估的研究至关重要。演示、图表和工具请见:https://osf.io/j2kru/overview。
英文摘要:
Understanding how developers interact with code generation tools (CGTs) requires detailed, real-time data on programming behavior which is often difficult to collect without disrupting workflow. We present \textit{CodeWatcher}, a lightweight, unobtrusive client-server system designed to capture fine-grained interaction events from within the Visual Studio Code (VS Code) editor. \textit{CodeWatcher} logs semantically meaningful events such as insertions made by CGTs, deletions, copy-paste actions, and focus shifts, enabling continuous monitoring of developer activity without modifying user workflows. The system comprises a VS Code plugin, a Python-based RESTful API, and a MongoDB backend, all containerized for scalability and ease of deployment. By structuring and timestamping each event, \textit{CodeWatcher} enables post-hoc reconstruction of coding sessions and facilitates rich behavioral analyses, including how and when CGTs are used during development. This infrastructure is crucial for supporting research on responsible AI, developer productivity, and the human-centered evaluation of CGTs. Please find the demo, diagrams, and tool here: https://osf.io/j2kru/overview.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。