中文
相关论文

相关论文: Code Comment Inconsistency Detection with BERT and…

200 篇论文

Large language models (LLMs) have brought a paradigm shift to the field of code generation, offering the potential to enhance the software development process. However, previous research mainly focuses on the accuracy of code generation,…

软件工程 · 计算机科学 2025-06-24 Yanlin Wang , Tianyue Jiang , Mingwei Liu , Jiachi Chen , Mingzhi Mao , Xilin Liu , Yuchi Ma , Zibin Zheng

We examine diverging preferences in human-labeled preference datasets. We develop a taxonomy of disagreement sources spanning ten categories across four high-level classes and find that the majority of disagreements are due to factors such…

Ensuring factual consistency between the summary and the original document is paramount in summarization tasks. Consequently, considerable effort has been dedicated to detecting inconsistencies. With the advent of Large Language Models…

计算与语言 · 计算机科学 2024-03-13 Jiuding Yang , Hui Liu , Weidong Guo , Zhuwei Rao , Yu Xu , Di Niu

Software maintenance constitutes a substantial portion of the total lifetime costs of software, with a significant portion attributed to code comprehension. Software comprehension is eased by documentation such as comments that summarize…

软件工程 · 计算机科学 2024-07-19 Skyler Grandel , Scott Thomas Andersen , Yu Huang , Kevin Leach

Identifying feature requests and bug reports in user comments holds great potential for development teams. However, automated mining of RE-related information from social media and app stores is challenging since (1) about 70% of user…

计算与语言 · 计算机科学 2021-08-03 Pablo Restrepo Henao , Jannik Fischbach , Dominik Spies , Julian Frattini , Andreas Vogelsang

Large Language Models (LLMs) have demonstrated impressive capabilities in understanding and generating codes. Due to these capabilities, many recent methods are proposed to automatically refine the codes with LLMs. However, we should…

软件工程 · 计算机科学 2024-10-31 Minju Seo , Jinheon Baek , Sung Ju Hwang

Developers often write low-quality code comments due to the lack of programming experience, which can reduce the efficiency of developers program comprehension. Therefore, developers hope that code comment generation tools can be developed…

软件工程 · 计算机科学 2021-07-09 Guang Yang , Xiang Chen , Jinxin Cao , Shuyuan Xu , Zhanqi Cui , Chi Yu , Ke Liu

Code comments provide important information for understanding the source code. They can help developers understand the overall purpose of a function or class, as well as identify bugs and technical debt. However, an overabundance of…

计算与语言 · 计算机科学 2024-08-12 Nam Le Hai , Nghi D. Q. Bui

Cutting-edge abstractive summarisers generate fluent summaries, but the factuality of the generated text is not guaranteed. Early summary factuality evaluation metrics are usually based on n-gram overlap and embedding similarity, but are…

计算与语言 · 计算机科学 2024-09-24 Yuxuan Ye , Edwin Simpson , Raul Santos Rodriguez

The term "Code Mixed" refers to the use of more than one language in the same text. This phenomenon is predominantly observed on social media platforms, with an increasing amount of adaptation as time goes on. It is critical to detect…

计算与语言 · 计算机科学 2023-05-29 Aryan Patil , Varad Patwardhan , Abhishek Phaltankar , Gauri Takawane , Raviraj Joshi

It is natural to suppose that a Large Language Model is more likely to generate correct test cases when prompted with correct code under test, compared to incorrect code under test. However, the size of this effect has never been previously…

软件工程 · 计算机科学 2025-03-31 Dong Huang , Jie M. Zhang , Mark Harman , Mingzhe Du , Heming Cui

Large language models (LLMs) have become essential tools in software development, widely used for requirements engineering, code generation and review tasks. Software engineers often rely on LLMs to assess whether system code implementation…

软件工程 · 计算机科学 2025-08-19 Haolin Jin , Huaming Chen

Most software maintenance and evolution tasks require developers to understand the source code of their software systems. Software developers usually inspect class comments to gain knowledge about program behavior, regardless of the…

软件工程 · 计算机科学 2023-04-26 Pooja Rani , Sebastiano Panichella , Manuel Leuenberger , Andrea Di Sorbo , Oscar Nierstrasz

Language models have shown strong capabilities across a wide range of tasks in software engineering, such as code generation, yet they suffer from hallucinations. While hallucinations have been studied independently in natural language and…

软件工程 · 计算机科学 2025-08-13 Chunhua Liu , Hong Yi Lin , Patanamon Thongtanunam

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

Large Language Models (LLMs) have shown impressive capabilities in various applications, but they still face various inconsistency issues. Existing works primarily focus on the inconsistency issues within a single LLM, while we…

计算与语言 · 计算机科学 2024-11-15 Kai Xiong , Xiao Ding , Yixin Cao , Ting Liu , Bing Qin

Code comments play a prominent role in program comprehension activities. However, source code is not always documented and code and comments not always co-evolve. To deal with these issues, researchers have proposed techniques to…

软件工程 · 计算机科学 2021-07-23 Antonio Mastropaolo , Emad Aghajani , Luca Pascarella , Gabriele Bavota

While comments are essential for enhancing code readability and maintainability in modern software projects, developers are often motivated to update code but not comments, leading to outdated or inconsistent documentation that hinders…

软件工程 · 计算机科学 2025-07-14 Hua Ge , Juan Zhai , Minxue Pan , Fusen He , Ziyue Tan

Natural Language Inference (NLI) is the task of determining whether a sentence pair represents entailment, contradiction, or a neutral relationship. While NLI models perform well on many inference tasks, their ability to handle fine-grained…

计算与语言 · 计算机科学 2025-06-09 Tara Azin , Daniel Dumitrescu , Diana Inkpen , Raj Singh

The rapid proliferation of Large Language Models (LLMs) in software development has made distinguishing AI-generated code from human-written code a critical challenge with implications for academic integrity, code quality assurance, and…

软件工程 · 计算机科学 2026-04-20 Mahir Labib Dihan , Abir Muhtasim