CatIss:一个使用Transformers对问题报告进行分类的智能工具
CatIss: An Intelligent Tool for Categorizing Issues Reports using Transformers
摘要:
用户使用问题跟踪系统来跟踪和管理其存储库中的问题报告。问题是软件信息的丰富来源,包含不同的报告,包括问题、新功能请求或仅仅是关于软件产品的问题。随着这些问题数量的增加,手动管理它们变得越来越困难。因此,提出了自动方法来帮助促进问题报告的管理。本文介绍了CatIss,一个自动CATegorizer的ISSue报告,这是建立在基于transformer的预训练的RoberTa模型。CatIss将问题报告分为三个主要类别:Bug报告、增强/功能请求和问题。首先,为NLBSE工具竞赛提供的数据集被清理和预处理。然后,预训练的RoBERTa模型在预处理的数据集上进行微调。在GitHub上对CatIss的大约8万份问题报告进行评估,表明它的表现非常好,超过了竞争基线TicketTagger,并达到了87.2%的F1分数(微平均)。此外,由于CatIss是在广泛的存储库上训练的,因此它是一个通用的预测模型,因此适用于任何看不见的软件项目或几乎没有历史数据的项目。用于清理数据集、训练CatIss和评估模型的工具是公开的。
英文摘要:
Users use Issue Tracking Systems to keep track and manage issue reports in their repositories. An issue is a rich source of software information that contains different reports including a problem, a request for new features, or merely a question about the software product. As the number of these issues increases, it becomes harder to manage them manually. Thus, automatic approaches are proposed to help facilitate the management of issue reports. This paper describes CatIss, an automatic CATegorizer of ISSue reports which is built upon the Transformer-based pre-trained RoBERTa model. CatIss classifies issue reports into three main categories of Bug reports, Enhancement/feature requests, and Questions. First, the datasets provided for the NLBSE tool competition are cleaned and preprocessed. Then, the pre-trained RoBERTa model is fine-tuned on the preprocessed dataset. Evaluating CatIss on about 80 thousand issue reports from GitHub, indicates that it performs very well surpassing the competition baseline, TicketTagger, and achieving 87.2% F1-score (micro average). Additionally, as CatIss is trained on a wide set of repositories, it is a generic prediction model, hence applicable for any unseen software project or projects with little historical data. Scripts for cleaning the datasets, training CatIss, and evaluating the model are publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。