Testing the Effect of Code Documentation on Large Language Model Code Understanding

William Macke, Michael Doyle
4/3/2024
cs.SEcs.AIcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Large Language Models (LLMs) have demonstrated impressive abilities in recent years with regards to code generation and understanding. However, little work has investigated how documentation and other code properties affect an LLM's ability to understand and generate code or documentation. We present an empirical analysis of how underlying properties of code or documentation can affect an LLM's capabilities. We show that providing an LLM with "incorrect" documentation can greatly hinder code understanding, while incomplete or missing documentation does not seem to significantly affect an LLM's ability to understand code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{macke2024testing,
  title  = {Testing the Effect of Code Documentation on Large Language Model Code Understanding},
  author = {William Macke and Michael Doyle},
  year   = {2024},
  eprint = {2404.03114},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.03114v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.03114.svg)](https://codeofpaper.com/paper/2404.03114)

Discussion