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
- Salakapuri Rakesh (ORCID: https://orcid.org/0000-0001-6904-2661)
- Sagar Seth
Institutions
- Symbiosis International (Deemed University) (IN)
- Jaypee University of Engineering and Technology, Guna (IN)
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