Skip to content

Evaluating Regional-Language and Code-Mixed Explanations Generated by Large Language Models for Python Code Comprehension: A Comparative Study

Nov 2026 · Iconic Research and Engineering Journals
Teaching and Learning Programming

Abstract

Large Language Models (LLMs) are increasingly used to explain source code to novice programmers, yet most evaluations assume English-language explanations. Many learners in Maharashtra think about programming in Marathi while relying on English technical vocabulary, so a Marathi-English code-mixed explanation may be more accessible, but only if it remains technically correct. This study asks whether LLM-generated code-mixed explanations are as useful as English ones. Ten Python programs covering variables and data types, conditionals, loops, functions, lists and dictionaries, string manipulation, recursion, exception handling, searching and sorting, and object-oriented programming were each explained by one fixed model (Claude Sonnet 5.5) in English and in Marathi-English using equivalent prompts. The study has two components. Component A is a learner-perception pilot: the same 20 students reported, for each format, whether they understood the explanations easily or needed time. In the English format 8 of 20 students (40%) understood easily; in the Marathi-English format 14 of 20 (70%) did. The 30-percentage-point difference favours Marathi-English. Because the same students rated both formats, the appropriate test is McNemar's exact test; the response totals alone place its two-sided p-value between 0.031 and 0.238, so the difference is reported as a trend and not as a confirmed effect. Component B is a five-criterion rubric evaluation (technical correctness, completeness, clarity, terminology consistency and debugging usefulness, 0 to 4 each) by two raters; this component is fully designed but its scores have not yet been collected. The survey measures perceived understanding only, not learning gain or technical accuracy. The main contribution is a reproducible protocol and rubric for evaluating regional-language explanations of code, together with a first small perception baseline for Marathi-English.

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#large language models Review Open access Nov 2020

Status of the WHO recommended timing and frequency of antenatal care visits in Northern Bangladesh

Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...

B. Sarker, Musfikur Rahman, T. Rahman et al. · 89 citations · ⚡7

Related blog posts

GPT-Lab Nov 26, 2026

How Much Electricity Does AI Use? It Depends Mostly on What You Ask

An ordinary text question to an AI uses less electricity than many people guess, but video and thinking modes multiply consumption many times over. We put the numbers next to everyday things, from boiling water to a Finnish sauna evening, and share three tips for using AI with a smaller footprint. The post How Much Electricity Does AI Use? It Depends Mostly on What You Ask appeared first on GPT-Lab.

MIT News · Artificial Intelligence Nov 23, 2026

Many languages, one common neural code

Analyzing speakers of 21 languages, an MIT study using multilingual AI finds the human brain may represent meaning in much the same way.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.