paper-with-me

홈 › Papers

LLM-Based Code Documentation Generation and Multi-Judge Evaluation

2026-05-11 · Ikbel Ghrab, Mohamed Dhieb, Ismail Khenissi, Ines Abdeljaoued-Tej arxiv

High-quality source code documentation is vital yet often neglected, especially in critical domains like healthcare where reliability and maintainability are essential. We presented an AI powered framework that automates documentation generation from code and repositories using eight state of the art Large Language Models (LLMs), including GPT, Gemini, Qwen, and LLaMA variants. Built on the PocketFlow orchestration framework, the system applies modular pipelines and advanced prompt engineering to produce structured, context aware documentation. To ensure quality and guide model selection, we introduced a MultiLLMasJudges evaluation framework, where four independent LLMs assess outputs across nine criteria, such as Completeness, Clarity, and Faithfulness. Experiments conducted on an open-source medical physics library, demonstrated showed a 42% performance gap between top and bottom models. By combining diverse model outputs, optimized prompting, and rigorous evaluation, our approach enhances documentation quality and reduces manual effort, especially in safety critical healthcare software.

📄 PDF Abstract BibTeX arXiv:2606.09852

Code (0)

등록된 구현이 없습니다.

Tasks

Code Documentation GenerationPrompt Engineering

Similar Papers 제목 키워드 기반

Evaluating Repository-level Software Documentation via Question Answering and Feature-Driven Development

2026-04-08 · Xinchen Wang, Ruida Hu, Cuiyun Gao, Pengfei Gao 외 arxiv

Software documentation is crucial for repository comprehension. While Large Language Models (LLMs) advance documentation generation from code snippets to entire repositories, existing benchmarks have two key limitations:…

Question Answering

DocSync: Agentic Documentation Maintenance via Critic-Guided Reflexion

2026-05-04 · Sidhesh Badrinarayan, Adithya Parthasarathy arxiv

Software documentation frequently drifts from executable logic as codebases evolve, creating technical debt that degrades maintainability and causes downstream API misuse. While static analysis tools can detect the absen…

Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QA

2026-05-28 · Jun Zhang, JianYing Qu, Hanwen Du, Zhongkai Sun 외 arxiv

We present Code-QA-Bench, a fully automated framework for synthesizing repository-level code understanding benchmarks that separates genuine code comprehension from documentation recall and pretraining memorization. The …

DocAgent: A Multi-Agent System for Automated Code Documentation Generation

2025-04-11 · Dayu Yang, Antoine Simoulin, Xin Qian, Xiaoyi Liu 외

High-quality code documentation is crucial for software development especially in the era of AI. However, generating it automatically using Large Language Models (LLMs) remains challenging, as existing approaches often p…

Code Documentation Generation

RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation

2024-02-26 · Qinyu Luo, Yining Ye, Shihao Liang, Zhong Zhang 외

Generative models have demonstrated considerable potential in software engineering, particularly in tasks such as code generation and debugging. However, their utilization in the domain of code documentation generation r…

Code Documentation GenerationCode GenerationLanguage ModelingLanguage Modelling+1