中文
相关论文

相关论文: Recommending Code Improvements Based on Stack Over…

200 篇论文

A typical approach to programming is to first code the main execution scenario, and then focus on filling out alternative behaviors and corner cases. But, almost always, there exist unusual conditions that trigger atypical behaviors, which…

软件工程 · 计算机科学 2022-01-20 Jessie Galasso , Michalis Famelis , Houari Sahraoui

Stack Overflow accumulates an enormous amount of software engineering knowledge. However, as time passes, certain knowledge in answers may become obsolete. Such obsolete answers, if not identified or documented clearly, may mislead answer…

软件工程 · 计算机科学 2019-04-01 Haoxiang Zhang , Shaowei Wang , Tse-Hsun , Chen , Ying Zou , Ahmed E. Hassan

We introduce a novel dataset tailored for code generation, aimed at aiding developers in common tasks. Our dataset provides examples that include a clarified intent, code snippets associated, and an average of three related unit tests. It…

计算与语言 · 计算机科学 2024-09-26 Nathanaël Beau , Benoît Crabbé

Large Language Models (LLMs) demonstrate strong capabilities in general coding tasks but encounter two key challenges when optimizing code: (i) the complexity of writing optimized code (such as performant CUDA kernels and competition-level…

机器学习 · 计算机科学 2026-01-12 Jiefu Ou , Sapana Chaudhary , Kaj Bostrom , Nathaniel Weir , Shuai Zhang , Huzefa Rangwala , George Karypis

The choice of programming language is a very important decision as it not only affects the performance and maintainability of the software but also dictates the talent pool and community support available. To better understand the…

软件工程 · 计算机科学 2020-06-03 Samarth Tambad , Rohit Nandwani , Suzanne K. McIntosh

Context. Source code refactoring is a well-established approach to improving source code quality without compromising its external behavior. Motivation. The literature described the benefits of refactoring, yet its application in practice…

软件工程 · 计算机科学 2024-07-26 Mikel Robredo , Matteo Esposito , Fabio Palomba , Rafael Peñaloza , Valentina Lenarduzzi

For tasks like code synthesis from natural language, code retrieval, and code summarization, data-driven models have shown great promise. However, creating these models require parallel data between natural language (NL) and code with…

计算与语言 · 计算机科学 2018-05-24 Pengcheng Yin , Bowen Deng , Edgar Chen , Bogdan Vasilescu , Graham Neubig

Nowadays, developers often turn to Stack Overflow for solutions to daily problems, however, these code snippets are partial code that cannot be tested and verified properly. One way to test these code snippets is to transform them into APIs…

软件工程 · 计算机科学 2025-04-22 Yubo Mai , Zhipeng Gao , Xing Hu , Lingfeng Bao , Jingyuan Chen , Jianling Sun

Recently, deep learning techniques have shown great success in automatic code generation. Inspired by the code reuse, some researchers propose copy-based approaches that can copy the content from similar code snippets to obtain better…

软件工程 · 计算机科学 2023-09-08 Jia Li , Yongmin Li , Ge Li , Zhi Jin , Yiyang Hao , Xing Hu

Code editing is essential in evolving software development. Many automated code editing tools have been proposed that leverage both Information Retrieval-based techniques and Machine Learning-based code generation and code editing models.…

软件工程 · 计算机科学 2024-02-27 Changshu Liu , Pelin Cetin , Yogesh Patodia , Saikat Chakraborty , Yangruibo Ding , Baishakhi Ray

Code comprehension and analysis of open-source project codebases is a task frequently performed by developers and researchers. However, existing tools that practitioners use for assistance with such tasks often require prior project setup,…

软件工程 · 计算机科学 2025-09-12 Ahmed Adnan , Mushfiqur Rahman , Saad Sakib Noor , Kazi Sakib

During code reviews, an essential step in software quality assurance, reviewers have the difficult task of understanding and evaluating code changes to validate their quality and prevent introducing faults to the codebase. This is a tedious…

软件工程 · 计算机科学 2024-05-14 Doriane Olewicki , Sarra Habchi , Bram Adams

Retrieval-based code question answering seeks to match user queries in natural language to relevant code snippets. Previous approaches typically rely on pretraining models using crafted bi-modal and uni-modal datasets to align text and code…

计算与语言 · 计算机科学 2024-03-26 Zehan Li , Jianfei Zhang , Chuantao Yin , Yuanxin Ouyang , Wenge Rong

Context: Software practitioners adopt approaches like DevOps, Scrum, and Waterfall for high-quality software development. However, limited research has been conducted on exploring software development approaches concerning practitioners…

软件工程 · 计算机科学 2023-05-03 Arif Ali Khan , Javed Ali Khan , Muhammad Azeem Akbar , Peng Zhou , Mahdi Fahmideh

Recommender systems are a valuable tool for software engineers. For example, they can provide developers with a ranked list of files likely to contain a bug, or multiple auto-complete suggestions for a given method stub. However, the way…

软件工程 · 计算机科学 2022-08-02 Christoph Treude

Many programmers, when they encounter an error, would like to have the benefit of automatic fix suggestions---as long as they are, most of the time, adequate. Initial research in this direction has generally limited itself to specific…

软件工程 · 计算机科学 2015-03-18 Yu Pei , Yi Wei , Carlo A. Furia , Martin Nordio , Bertrand Meyer

Software developers have benefited from various sources of knowledge such as forums, question-and-answer sites, and social media platforms to help them in various tasks. Extracting software-related knowledge from different platforms…

信息检索 · 计算机科学 2018-11-01 Agus Sulistya , Gede Artha Azriadi Prana , Abhishek Sharma , David Lo , Christoph Treude

We as software developers or researchers very often get stacktrace error messages while we are trying to write some code or install some packages. Many times these error messages are very obscure and verbose; do not make much sense to us.…

软件工程 · 计算机科学 2022-09-30 Md Abdullah Al Alamin

Code review is critical for ensuring software quality and maintainability. With the rapid growth in software scale and complexity, code review has become a bottleneck in the development process because of its time-consuming and…

软件工程 · 计算机科学 2026-02-24 Yuxin Zhang , Yuxia Zhang , Zeyu Sun , Yanjie Jiang , Hui Liu

We performed two online surveys of Stack Overflow answerers and visitors to assess their awareness to outdated code and software licenses in Stack Overflow answerers. The answerer survey targeted 607 highly reputed Stack Overflow users and…

软件工程 · 计算机科学 2018-06-22 Chaiyong Ragkhitwetsagul , Jens Krinke , Rocco Oliveto