---
id: 20260801-T0-12
title: "TraceCoder：为代码生成提供可解释、可审计版本追踪"
title_en: "TraceCoder Adds Explainable, Auditable Code Generation with Versioned Snippets"
url: https://ai.daily.yangsir.net/daily/20260801-T0-12
issue_date: 2026-08-01
publish_date: 2026-07-31T04:00:00.000Z
category: research
source_name: "arXiv cs.AI"
source_url: https://arxiv.org/abs/2607.26307
---

# TraceCoder：为代码生成提供可解释、可审计版本追踪

arXiv新研究发布TraceCoder，一种带位置键代码片段版本追踪的代码生成方法。它使每一行生成的代码都有可追溯的决策依据，并记录基准驱动修复的演化过程，支持事后审计。这解决LLM编程助手黑盒输出的痛点，增强代码可信度，尤适用于合规严格或关键任务场景的开发流程。

## English Version

**TraceCoder Adds Explainable, Auditable Code Generation with Versioned Snippets**

TraceCoder from arXiv generates code with auditable traceability: each line links to a rationale, and benchmark-driven repair evolution is versioned for post-hoc review. This counters the black-box nature of modern LLM coding agents. For compliance-heavy or mission-critical development, it adds much-needed explainability and audit trails to AI-generated code.

---

**来源**：[arXiv cs.AI](https://arxiv.org/abs/2607.26307)

**详情页**：https://ai.daily.yangsir.net/daily/20260801-T0-12

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*