中文
相关论文

相关论文: Code Attention: Translating Code to Comments by Ex…

200 篇论文

Modern software development requires developers to find and effectively utilize new APIs and their documentation, but documentation has many well-known issues. Despite this, developers eventually overcome these issues but have no way of…

Code readability is one of the main aspects of code quality, influenced by various properties like identifier names, comments, code structure, and adherence to standards. However, measuring this attribute poses challenges in both industry…

软件工程 · 计算机科学 2025-10-21 Igor Regis da Silva Simoes , Elaine Venson

Attention mechanism has become the dominant module in natural language processing models. It is computationally intensive and depends on massive power-hungry multiplications. In this paper, we rethink variants of attention mechanism from…

计算与语言 · 计算机科学 2022-10-20 Yu Wan , Baosong Yang , Dayiheng Liu , Rong Xiao , Derek F. Wong , Haibo Zhang , Boxing Chen , Lidia S. Chao

Natural language comments convey key aspects of source code such as implementation, usage, and pre- and post-conditions. Failure to update comments accordingly when the corresponding code is modified introduces inconsistencies, which is…

软件工程 · 计算机科学 2020-12-29 Sheena Panthaplackel , Junyi Jessy Li , Milos Gligoric , Raymond J. Mooney

Code review is a fundamental process in software development that plays a critical role in ensuring code quality and reducing the likelihood of errors and bugs. However, code review might be complex, subjective, and time-consuming. Comment…

软件工程 · 计算机科学 2023-09-08 Oussama Ben Sghaier , Lucas Maes , Houari Sahraoui

We tackle the problem of generating code snippets from natural language descriptions using the CoNaLa dataset. We use the self-attention based transformer architecture and show that it performs better than recurrent attention-based encoder…

计算与语言 · 计算机科学 2022-02-02 Uday Kusupati , Venkata Ravi Teja Ailavarapu

Code comments serve a crucial role in software development for documenting functionality, clarifying design choices, and assisting with issue tracking. They capture developers' insights about the surrounding source code, serving as an…

软件工程 · 计算机科学 2026-01-28 Thomas Borsani , Andrea Rosani , Giuseppe Di Fatta

We introduce the Constructive Comments Corpus (C3), comprised of 12,000 annotated news comments, intended to help build new tools for online communities to improve the quality of their discussions. We define constructive comments as…

计算与语言 · 计算机科学 2020-08-06 Varada Kolhatkar , Nithum Thain , Jeffrey Sorensen , Lucas Dixon , Maite Taboada

Large language models (LLMs) such as ChatGPT have shown remarkable capabilities in code generation. Despite significant achievements, they rely on enormous training data to acquire a broad spectrum of open-domain knowledge. Besides, their…

软件工程 · 计算机科学 2025-02-18 Xiaodong Gu , Meng Chen , Yalan Lin , Yuhan Hu , Hongyu Zhang , Chengcheng Wan , Zhao Wei , Yong Xu , Juhong Wang

Pre-trained code models rely heavily on high-quality pre-training data, particularly human-written reference comments that bridge code and natural language. However, these comments often become outdated as software evolves, degrading model…

软件工程 · 计算机科学 2025-04-29 Kang Yang , Xinjun Mao , Shangwen Wang , Yanlin Wang , Tanghaoran Zhang , Bo Lin , Yihao Qin , Zhang Zhang , Yao Lu , Kamal Al-Sabahi

Attention mechanisms have attracted considerable interest in image captioning because of its powerful performance. Existing attention-based models use feedback information from the caption generator as guidance to determine which of the…

计算机视觉与模式识别 · 计算机科学 2018-07-11 Zhihao Zhu , Zhan Xue , Zejian Yuan

Image captioning has attracted ever-increasing research attention in the multimedia community. To this end, most cutting-edge works rely on an encoder-decoder framework with attention mechanisms, which have achieved remarkable progress.…

计算机视觉与模式识别 · 计算机科学 2019-09-04 Chen Shen , Rongrong Ji , Fuhai Chen , Xiaoshuai Sun , Xiangming Li

Commenting code is a crucial activity in software development, as it aids in facilitating future maintenance and updates. To enhance the efficiency of writing comments and reduce developers' workload, researchers has proposed various…

Context: Code reviews are essential for maintaining software quality, yet many human review comments suffer from issues such as redundancy, vagueness, or lack of constructiveness. These types of comments may slow down feedback and obscure…

软件工程 · 计算机科学 2026-04-28 Semih Çağlar , Şükrü Eren Gökırmak , Eray Tüzün

The joint understanding of vision and language has been recently gaining a lot of attention in both the Computer Vision and Natural Language Processing communities, with the emergence of tasks such as image captioning, image-text matching,…

计算机视觉与模式识别 · 计算机科学 2020-07-14 Matteo Stefanini , Marcella Cornia , Lorenzo Baraldi , Rita Cucchiara

Automated code generation can be a powerful technique for software development, significantly reducing developers' efforts and time required to create new code by generating it automatically based on requirements. Recently, OpenAI's…

软件工程 · 计算机科学 2023-05-16 Chao Liu , Xuanlin Bao , Hongyu Zhang , Neng Zhang , Haibo Hu , Xiaohong Zhang , Meng Yan

Social annotation platforms enable student engagement by integrating discussions directly into course materials. However, in large online courses, the sheer volume of comments can overwhelm students and impede learning. This paper…

人机交互 · 计算机科学 2025-01-06 Jumana Almahmoud , Marc Facciotti , Michele Igo , Kamali Sripathi , David Karger

Although peer code review is widely adopted in both commercial and open source development, existing studies suggest that such code reviews often contain a significant amount of non-useful review comments. Unfortunately, to date, no tools…

软件工程 · 计算机科学 2018-07-13 Mohammad Masudur Rahman , Chanchal K. Roy , Raula G. Kula

Developers use shell commands for many tasks, such as file system management, network control, and process management. Bash is one of the most commonly used shells and plays an important role in Linux system development and maintenance. Due…

软件工程 · 计算机科学 2022-06-28 Chi Yu , Guang Yang , Xiang Chen , Ke Liu , Yanlin Zhou

Software developers maintain extensive mental models of code they produce and its context, often relying on memory to retrieve or reconstruct design decisions, edge cases, and debugging experiences. These missing links and data obstruct…

软件工程 · 计算机科学 2025-04-29 Edward Misback , Erik Vank , Zachary Tatlock , Steven Tanimoto