Bowling Green State University
Automatic Pull Request Description Generation Using Large Language Models
Abstract
dc:descriptionPull request descriptions provide reviewers with the context needed to understand and assess proposed code changes, but they are often vague, incomplete, or weakly grounded in the actual code diffs. Prior work has explored automatic pull request description generation, yet many approaches rely heavily on commit messages, comments, or lexical-overlap objectives rather than treating code diffs as primary evidence. This thesis addresses that gap with a lightweight, prompt-only pipeline for diff-grounded pull request description generation, using optional commit-message refinement and file-level diff summarization as controlled evidence-construction stages. The study evaluates four generation modes on the AIDev and PRSummarizer datasets using an evidence-scoped large-language-model judge and a human ranking study. The raw mode is treated as the primary zero-shot baseline because it uses the same final generation prompt and model as the enriched modes, but without commit-message refinement or file-level diff summarization. Generated descriptions consistently outperform both the original descriptions and the raw baseline, and component comparisons show that file-level diff evidence drives most of the improvement while commit-message refinement provides smaller secondary gains. Failure analysis further shows that remaining errors are dominated by missed key changes, reinforcing that evidence coverage is central to practical pull request description quality.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MS)
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Computer Science
- Grantor dc:publisher
- Bowling Green State University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Miriyala, Aryan
- Chair dc:contributor.committeechair
-
- Heydarnoori, Abbas
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=bgsu1782936370581842