mlsanityData to 14 Oct 2026

Deduplicating and Ranking Solution Programs for Suggesting Reference Solutions

arXiv 2307.07940 ↗First posted 16 Jul 2023cs.SE cs.CL cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

Referring to solution programs written by other users is helpful for learners in programming education. However, current online judge systems just list all solution programs submitted by users for references, and the programs are sorted based on the submission date and time, execution time, or user rating, ignoring to what extent the programs can be helpful to be referenced. In addition, users struggle to refer to a variety of solution approaches since there are too many duplicated and near-duplicated programs. To motivate learners to refer to various solutions to learn better solution approaches, in this paper, we propose an approach to deduplicate and rank common solution programs in each programming problem. Inspired by the nature that the many-duplicated program adopts a more common approach and can be a general reference, we remove the near-duplicated solution programs and rank the unique programs based on the duplicate count. The experiments on the solution programs submitted to a real-world online judge system demonstrate that the number of programs is reduced by 60.20%, whereas the baseline only reduces by 29.59% after the deduplication, meaning that users only need to refer to 39.80% of programs on average. Furthermore, our analysis shows that top-10 ranked programs cover 29.95% of programs on average, indicating that users can grasp 29.95% of solution approaches by referring to only 10 programs. The proposed approach shows the potential of reducing the learners' burden of referring to too many solutions and motivating them to learn a variety of solution approaches.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 28 references that are in the map. First posted on arXiv 16 Jul 2023.

Builds on

16 of 28 references.

References · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  4. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  5. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  6. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  7. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  8. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  9. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
  10. 2023SantaCoder: don't reach for the stars!cited by 170
  11. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 126
  12. 2023Learning Performance-Improving Code Editscited by 106
4 more
  1. 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
  2. 2016Learning Python Code Suggestion with a Sparse Pointer Networkcited by 12
  3. 2017A Survey on Online Judge Systems and Their Applicationscited by 7
  4. 2021Senatus -- A Fast and Accurate Code-to-Code Recommendation Enginecited by 3

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.