MétaCan
Menu
← Back to cohort

Evaluating Source Code Embeddings From LLMS for Educational Downstream Tasks

2025· article· W4417003938 on OpenAlexaff
Neil Allister Pais, Kofi Sampong, Eric Sartor, Ritu Chaturvedi

Bibliographic record

Venuenot available
Typearticle
Language
FieldComputer Science
TopicSoftware Engineering Research
Canadian institutionsUniversity of Guelph
Fundersnot available
KeywordsSource codeAutomatic summarizationCode reviewNatural languageCode (set theory)EmbeddingDownstream (manufacturing)Paragraph

Abstract

fetched live from OpenAlex

Recent advancements in deep learning (DL) have significantly impacted natural language processing tasks such as language modeling, translation, and paragraph comprehension. These developments extend naturally to the software engineering domain, particularly in learning from source code. This work focuses on optimizing DL applications in source code learning by analyzing how different input embeddings affect model performance when training on C++ code. Given that source code differs from natural language in structure and semantics, we introduce a framework to systematically compare multiple embedding strategies for three educational downstream tasks: code correctness, code summarization, and introduce a framework for code similarity. We also propose a fine-tuning approach for adapting a pre-trained, code-centric large language model to generate context-aware C++ embeddings tailored to these tasks and explore their performance on these downstream tasks. Experimental evaluations reveal key findings on features associated with C++ source code and their respective embeddings at varying levels of problem complexity. We also discuss limitations and drawbacks of code embeddings generated by such models in classifying correct versus incorrect code, and how these findings can support automated and accurate grading in educational settings. In addition, we evaluate the models' source code summarization capabilities, highlighting how well they generate meaningful summaries that capture both structural and semantic aspects of the code.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.002
metaresearch head score (Gemma)0.017
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Bench or experimental · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: Empirical
Teacher disagreement score0.004
Threshold uncertainty score0.010

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0020.017
Meta-epidemiology (narrow)0.0020.000
Meta-epidemiology (broad)0.0000.001
Bibliometrics0.0010.001
Science and technology studies0.0000.000
Scholarly communication0.0010.002
Open science0.0010.001
Research integrity0.0020.002
Insufficient payload (model declined to judge)0.0020.002

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.045
GPT teacher head0.391
Teacher spread0.346 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designBench or experimental
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2025
Admission routes1
Has abstractyes

Explore more

Same topicSoftware Engineering Research→French-language works237,207→