vix.ing · top · new · best · stats · spec

AIGCodeSet: A New Annotated Dataset for AI Generated Code Detection

2024/12/21 by Basak Demirok, Demirok, Basak, Mücahid Kutlu +1 · 2 citations
Biochemistry, Genetics and Molecular Biology · Computer Science · #Artificial Intelligence (cs.AI) #Biochemical and Structural Characterization #FOS: Computer and information sciences #Natural Language Processing Techniques #Software Engineering (cs.SE) #Text Readability and Simplification

paper · pdf · doi:10.48550/arxiv.2412.16594

openalex publication_date 2024/12/21 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

While large language models provide significant convenience for software development, they can lead to ethical issues in job interviews and student assignments. Therefore, determining whether a piece of code is written by a human or generated by an artificial intelligence (AI) model is a critical issue. In this study, we present AIGCodeSet, which consists of 2.828 AI-generated and 4.755 human-written Python codes, created using CodeLlama 34B, Codestral 22B, and Gemini 1.5 Flash. In addition, we share the results of our experiments conducted with baseline detection methods. Our experiments show that a Bayesian classifier outperforms the other models.

Cited by

Related