UTCS Artificial Intelligence
courses
talks/events
demos
people
projects
publications
software/data
labs
areas
admin
Facilitating Software Evolution through Natural Language Comments and Dialogue (2021)
Sheena Panthaplackel
Software projects are continually evolving, as developers incorporate changes to refactor code, support new functionality, and fix bugs. To uphold software quality amidst constant changes and also facilitate the prompt implementation of critical changes, it is desirable to have automated tools for guiding developers in making methodical software changes. We explore tasks and data and design machine learning approaches which leverage natural language to serve this purpose. When developers make code changes, they sometimes fail to update the accompanying natural language comments documenting various aspects of the code, which can lead to confusion and vulnerability to bugs. We present our completed work on alerting developers of inconsistent comments upon code changes and suggesting updates by learning to correlate comments and code. When a bug is reported, developers engage in a dialogue to collaboratively understand it and ultimately resolve it. While the solution is likely formulated within the discussion, it is often buried in a large amount of text, making it difficult to comprehend, which delays its implementation through the necessary repository changes. To guide developers in more easily absorbing information relevant towards making these changes and consequently expedite bug resolution, we investigate generating a concise natural language description of the solution by synthesizing relevant content as it emerges in the discussion. In completed work, we benchmark models for generating solution descriptions and design a classifier for determining when sufficient context for generating an informative description becomes available. We also investigate a pipelined approach for real-time generation, entailing separate classification and generation models. For future work, we propose an improved classifier and also a more intricate system that is jointly trained on generation and classification. Next, we intend to study a system that can interactively generate natural language descriptions that can drive code changes. Finally, we plan to investigate how we can leverage the discussion context to also suggest concrete code changes for bug resolution
View:
PDF
Citation:
Ph.D. Proposal.
Bibtex:
@misc{panthaplackel:proposal2021, title={Facilitating Software Evolution through Natural Language Comments and Dialogue}, author={Sheena Panthaplackel}, month={October}, note={Ph.D. Proposal}, url="http://www.cs.utexas.edu/users/ai-labpub-view.php?PubID=127930", year={2021} }
Presentation:
Slides (PDF)
Video
People
Sheena Panthaplackel
Ph.D. Alumni
spantha [at] cs utexas edu
Areas of Interest
Natural Language for Software Engineering
Natural Language Processing
Labs
Machine Learning