Palash Ranjan Roy

Home / Publications / ESEM 2024

Are Large Language Models a Threat to Programming Platforms? An Exploratory Study

Md Mustakim Billah, Palash Ranjan Roy, Zadia Codabux, Banani Roy

Proceedings of the 18th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, pp. 292–301, 2024 · ACM

Palash Ranjan Roy (published as Palash Roy / Palash R. Roy) · ORCID 0000-0001-9470-4233

Abstract

Background: Competitive programming platforms such as LeetCode, Codeforces, and HackerRank provide challenges to evaluate programming skills. Technical recruiters frequently utilize these platforms as a criterion for screening resumes. With the recent advent of advanced Large Language Models (LLMs) like ChatGPT, Gemini, and Meta AI, there is a need to assess their problem-solving ability on the programming platforms. Aims: This study aims to assess LLMs’ capability to solve diverse programming challenges across programming platforms with varying difficulty levels, providing insights into their performance in real-time and offline scenarios, comparing them to human programmers, and identifying potential threats to established norms in programming platforms. Method: This study utilized 98 problems from LeetCode and 126 from Codeforces, covering 15 categories and varying difficulty levels. Then, we participated in nine online contests from Codeforces and LeetCode. Finally, two certification tests were attempted on HackerRank to gain insights into LLMs’ real-time performance. Prompts were used to guide LLMs in solving problems, and iterative feedback mechanisms were employed. We also tried to find any possible correlation among the LLMs in different scenarios. Results: LLMs generally achieved higher success rates on LeetCode (e.g., ChatGPT at 71.43%) but faced challenges on Codeforces. While excelling in HackerRank certifications, they struggled in virtual contests, especially on Codeforces. Despite diverse performance trends, ChatGPT consistently performed well across categories, yet all LLMs struggled with harder problems and lower acceptance rates. In LeetCode archive problems, LLMs generally outperformed users in time efficiency and memory usage but exhibited moderate performance in live contests, particularly in harder Codeforces contests compared to humans. Conclusions: While not necessarily a threat, the performance of LLMs on programming platforms is indeed a cause for concern. With the prospect of more efficient models emerging in the future, programming platforms need to address this issue promptly.

Problem addressed

Competitive programming platforms are used to assess programming skill and screen candidates, but it was unclear how well current large language models can solve their problems and whether this threatens the platforms' norms.

Relevant to

Cite

@inproceedings{billah2024llmthreat,
  series = {ESEM '24},
  title = {Are Large Language Models a Threat to Programming Platforms? An Exploratory Study},
  url = {https://doi.org/10.1145/3674805.3686689},
  doi = {10.1145/3674805.3686689},
  booktitle = {Proceedings of the 18th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement},
  publisher = {ACM},
  author = {Billah, Md Mustakim and Roy, Palash Ranjan and Codabux, Zadia and Roy, Banani},
  year = {2024},
  month = {Oct},
  pages = {292--301}
}

Download BibTeX · Markdown version