Unsupervised Detection of Solving Strategies for Competitive Programming
Abstract
Transformers are becoming more and more used for solving various Natural Language Processing tasks. Recently, they have also been employed to process source code to analyze very large code-bases automatically. This paper presents a custom-designed data analysis pipeline that can classify source code from competitive programming solutions. Our experiments show that the proposed models accurately determine the number of distinct solutions for a programming challenge task, even in an unsupervised setting. Together with our model, we also introduce a new dataset called AlgoSol-10 for this task that consists of ten programming problems together with all the source code submissions manually clustered by experts based on the algorithmic solution used to solve each problem. Taking into account the success of the approach on small source codes, we discuss the potential of further using transformers for the analysis of large code bases.
BibTeX
@inproceedings{stoica2021unsupervised,
author = {Alexandru Stefan Stoica and Daniel Babiceanu and Marian Cristian Mihaescu and Traian Rebedea},
title = {{Unsupervised Detection of Solving Strategies for Competitive Programming}},
booktitle = {IDEAL},
year = {2021},
doi = {10.1007/978-3-030-91608-4\_16},
}Ask Althea to put this paper to the test.
Loading related content...