Skip to content
Book Open access

CODENS: Transforming Code Changes into Living, Accessible, and Queryable Documentation

Jul 2026 · Proceedings of the 2026 ACM Symposium on Document Engineering · 0 citations · 10 references
Computer Science

TL;DR

Results show that CODENS produces highly relevant and well-grounded answers, while qualitative feedback highlights a remaining challenge in concise, documentation-oriented synthesis.

Abstract

Maintaining up-to-date code documentation is difficult in fast-moving repositories because design knowledge is scattered across source files and pull requests. We present CODENS, a system that turns pull requests into living, accessible, and queryable documentation for production codebases. CODENS incrementally builds a typed software knowledge graph from pull requests, enriches components through schema-driven semantic extraction, derives typed relations between them, and exposes the resulting knowledge through three retrieval modes, including agent-guided graph traversal for repository-level question answering. The system also preserves semantic change history across pull requests and integrates both answer-quality and operational evaluation metrics. We evaluate CODENS on a client Ruby on Rails project in production. Results show that CODENS produces highly relevant and well-grounded answers, while qualitative feedback highlights a remaining challenge in concise, documentation-oriented synthesis.

Read PDF

Similar papers

Review Jul 2026

WebDesignIter: Co-Evolving Design Knowledge for Repository-Level Front-End Code Generation

This work proposes WebDesignIter, a framework built around a persistent knowledge graph (WebAppArchKG) that fuses repository structure with design knowledge and keeps both in sync across development cycles, and outperforms every general-purpose coding agent Claude Code, OpenHands, SWE-Agent, Codex CLI on every model co...

Zheng Pei, Mingwei Liu, Zhenxi Chen et al. · 1 citation · ⚡1
Book Open access Aug 2026

AutoSQL: Extracting SQL Templates from Imperative ORM Code in Large-Scale Repositories

This work presents AutoSQL, a system that reconstructs SQL templates from Go ORM code that constructs a Code Index, a directed graph that captures structural dependencies between functions, types, and global variables as navigable edges and synthesizes SQL templates.

Jun-Song Pu, Yi-Chen Li, Zhuang-Bin Chen et al. · 0 citations
Jul 2026

OwlPath: Lossless Knowledge Compression for LLM Bug Repair

OwlPath is presented, an OWL2 reasoning layer atop CodeGraph, a widely used code intelligence platform with 500K+ GitHub stars, offering a unified CLI for structural code retrieval, with lossless knowledge compression.

Bo Zhang, Renke Pan, Huan Chen et al. · 0 citations
Preprint Aug 2026

DepWareTrans: Dependency-Aware Incremental Repository Migration across Co-executable Languages

This paper proposes a dependency-aware incremental migration framework that elevates the unit of translation from individual files to dependency-consistent batches and improves scalability and reliability in repository-level code translation.

Sivajeet Chand, Alexander Pretschner, Steve Haupt et al. · 2 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.