AI Literacy in Code: Identifying and Explaining ChatGPT-Generated Programs in Educational Settings

dc.contributor.authorRacharak T.
dc.contributor.authorBoongaree N.
dc.contributor.authorRagkhitwetsagul C.
dc.contributor.authorSriwilailak C.
dc.contributor.authorSaeheng P.
dc.contributor.authorChuangsuwanich E.
dc.contributor.correspondenceRacharak T.
dc.contributor.otherMahidol University
dc.date.accessioned2026-04-29T18:28:34Z
dc.date.available2026-04-29T18:28:34Z
dc.date.issued2025-01-01
dc.description.abstractThe growing use of Generative Pre-trained Transformers (GPTs) or large language models (LLMs) in programming education has raised concerns about academic dishonesty and the trustworthiness of student submissions. To support educators in evaluating programming skills, it is crucial to identify whether code is written by students or generated by models like ChatGPT. This chapter introduces a framework consisting of two key components: (1) a supervised learning-based detector that distinguishes between human-written and ChatGPT-generated code, and (2) a novel post-hoc explanation mechanism that leverages GPT models to produce humanreadable justifications for each classification. By combining accurate detection with interpretable explanations, the framework enhances assessment transparency, fosters educator trust, and supports academic integrity in AI-assisted learning environments.
dc.identifier.citationStandards Based AI Innovation for the Learning Ecosystem (2025) , 213-259
dc.identifier.doi10.4018/979-8-3373-2235-3.ch007
dc.identifier.scopus2-s2.0-105036441069
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/123456789/116439
dc.rights.holderSCOPUS
dc.subjectComputer Science
dc.subjectSocial Sciences
dc.titleAI Literacy in Code: Identifying and Explaining ChatGPT-Generated Programs in Educational Settings
dc.typeBook Chapter
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105036441069&origin=inward
oaire.citation.endPage259
oaire.citation.startPage213
oaire.citation.titleStandards Based AI Innovation for the Learning Ecosystem
oairecerif.author.affiliationTohoku University
oairecerif.author.affiliationMahidol University
oairecerif.author.affiliationChulalongkorn University

Files

Collections