JudgeLib as a lightweight online judge system for competitive programming education

The increasing popularity of competitive programming (CP) as a means of computer science education has established a strong demand for robust and accessible online judging systems that facilitate skill-building as well as unbiased evaluation. This work presents an educationally centered solution to the design and implementation of such a system, illustrated by the development of JudgeLib. JudgeLib is a light, distributed, and highly versatile platform specifically designed with teaching environments in mind. Its design includes a Redis-backed job queue for horizontally scalable task execution, specialized worker services for running code in several languages (C++, Java, and Python) in managed sandbox environments, and a complete REST API with a complementing administration interface for monitoring and governance. Built with simplicity of deployment and streamlined resource consumption in mind, JudgeLib is especially suited to institutions that have limited technical infrastructures. Core functionalities are stable compilation and execution pipelines, auto-checked output, and process isolation through Node.js spawn() with custom protection. In addition to enabling precise and efficient code assessment, JudgeLib also serves as an efficient feedback mechanism, enhancing the learning experience in programming classes. The system is released as a reusable NPM package (lib-judge) and has been successfully deployed in a functional live coding platform, the details of which are formally documented and cited within the manuscript. This deployment demonstrates both its real-world applicability and its pedagogical benefits in educational environments.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-26
DOI
https://doi.org/10.1038/s41598-026-81744-y
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

JudgeLib as a lightweight online judge system for competitive programming education

Salakapuri Rakesh, Sagar Seth
Scientific Reports
Teaching and Learning Programming
article

JudgeLib as a lightweight online judge system for competitive programming education

Salakapuri Rakesh, Sagar Seth
article en

Abstract

The increasing popularity of competitive programming (CP) as a means of computer science education has established a strong demand for robust and accessible online judging systems that facilitate skill-building as well as unbiased evaluation. This work presents an educationally centered solution to the design and implementation of such a system, illustrated by the development of JudgeLib. JudgeLib is a light, distributed, and highly versatile platform specifically designed with teaching environments in mind. Its design includes a Redis-backed job queue for horizontally scalable task execution, specialized worker services for running code in several languages (C++, Java, and Python) in managed sandbox environments, and a complete REST API with a complementing administration interface for monitoring and governance. Built with simplicity of deployment and streamlined resource consumption in mind, JudgeLib is especially suited to institutions that have limited technical infrastructures. Core functionalities are stable compilation and execution pipelines, auto-checked output, and process isolation through Node.js spawn() with custom protection. In addition to enabling precise and efficient code assessment, JudgeLib also serves as an efficient feedback mechanism, enhancing the learning experience in programming classes. The system is released as a reusable NPM package (lib-judge) and has been successfully deployed in a functional live coding platform, the details of which are formally documented and cited within the manuscript. This deployment demonstrates both its real-world applicability and its pedagogical benefits in educational environments.

Scientific Reports
Symbiosis International (Deemed University) (IN), Jaypee University of Engineering and Technology, Guna (IN)
Teaching and Learning Programming
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.

Laika access coming soon