Summary: | With the rapid development of IT technology, the IT community has accumulated a large number of code snippets, but the quality of these codes varies, which makes it inconvenient for users to find and use codes. If these codes can be ranked according to their quality to provide reference for users, it will greatly improve user experience. Existing methods use machine learning techniques to rank code quality, but the extraction of features often carries the author's patterned subj ective judgment, and the evaluation standard is relatively single, in order to solve this problem, this paper proposes an intuitionistic fuzzy multi-attribute decision-making method based on user comments for code quality evaluation, which is divided into two steps, one is to take aspect-oriented sentiment analysis based on BERT pre-training model on user comments to obtain the fuzzy decision matrix. analysis to get the fuzzy decision matrix. The second is to use the TOPSIS fuzzy multi-attribute decision-making model and give different weighting schemes according to the content of different comments, and finally arrive at the answer ranking of a specific question. This study is based on the CSDN technical Q&A(Question and Answer) community data for instantiation verification, and the results show that the use of fuzzy multi-attribute decision-making can better adapt to the problem of the level of the commenters and differences in opinions, and the different weighting scheme better adapts to the different needs of the users who ask questions. © 2024 IEEE.
|