Automated Code Efficiency Evaluation and Ranking System using Machine Learning

The importance of performance and correctness evaluations in automated assessment systems and competitive programming now holds an important place. In fact, the traditional evaluation systems have evaluated correctness without taking into account speed, memory usage, and code complexity. This paper presents an AI-based model that applies machine learning techniques to predict and rank C++ code submissions.Features such as LOC, Cyclomatic Complexity, Execution Time, and Memory Usage are extracted from the Project Codenet dataset. An efficiency score is calculated on the basis of a weighted formula combining structural complexity and runtime resource consumption. A Random Forest Regressor is trained on these scores to predict their values for high accuracy in submission ranking.To make it more user-friendly, the system has an interactive web-based UI which visualizes submission ranking, efficiency scores, and performance metrics. It allows filtering by problem ID, showcasing graphical trends, and comparing code efficiency to make it easier to find better quality solutions. This system allows for real-time assessment with minimal manual effort for scaling to large-scale coding environments.The framework can not only automate the assessment of the code but also act as a teacher for programmers and teachers encouraging them to code effectively. Future work will include using deep learning models for prediction accuracy, alongside containerized environments (like Docker) to give more precise benchmark results. The proposed system will have wide-ranging applications in programming training, coding competitions, and platform evaluation strategies.

Authors

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/ginotech63460.2025.11076955
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Code Efficiency Evaluation and Ranking System using Machine Learning

Swati Shinde, P. Pandit, Tirthesh Patange, Pratik Nikat et al.
Software Testing and Debugging Techniques
article

Automated Code Efficiency Evaluation and Ranking System using Machine Learning

Swati Shinde, P. Pandit, Tirthesh Patange, Pratik Nikat, Chaitanya Nalawade
article en

Abstract

The importance of performance and correctness evaluations in automated assessment systems and competitive programming now holds an important place. In fact, the traditional evaluation systems have evaluated correctness without taking into account speed, memory usage, and code complexity. This paper presents an AI-based model that applies machine learning techniques to predict and rank C++ code submissions.Features such as LOC, Cyclomatic Complexity, Execution Time, and Memory Usage are extracted from the Project Codenet dataset. An efficiency score is calculated on the basis of a weighted formula combining structural complexity and runtime resource consumption. A Random Forest Regressor is trained on these scores to predict their values for high accuracy in submission ranking.To make it more user-friendly, the system has an interactive web-based UI which visualizes submission ranking, efficiency scores, and performance metrics. It allows filtering by problem ID, showcasing graphical trends, and comparing code efficiency to make it easier to find better quality solutions. This system allows for real-time assessment with minimal manual effort for scaling to large-scale coding environments.The framework can not only automate the assessment of the code but also act as a teacher for programmers and teachers encouraging them to code effectively. Future work will include using deep learning models for prediction accuracy, alongside containerized environments (like Docker) to give more precise benchmark results. The proposed system will have wide-ranging applications in programming training, coding competitions, and platform evaluation strategies.

Openalex Percentile: Top 79%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Automated Code Efficiency Evaluation and Ranking System using Machine Learning — Swati Shinde, P. Pandit, et al. · (2025) | TGRS Research Map | TGRS