Abstract
Assessing software testing proficiency at scale is a significant challenge due to the mix of objective technical requirements and subjective design quality. This paper introduces RUM (Rule+LLM), a hybrid framework that automates the evaluation of testing skills. By integrating rule-based engines for deterministic checks with Large Language Models (LLMs) for qualitative reasoning, RUM achieves human-level grading accuracy. Experimental results from a large-scale student contest demonstrate that RUM reduces assessment costs by over 97% and increases processing speed by 80%, providing a scalable solution for high-volume educational and professional testing assessments.
Introduction
The evaluation of software testing skills involves more than just checking if a script runs. It requires judging the "art" of testing: the logic behind test case design, the coverage of edge cases, and the clarity of reporting. For massive events like the National College Student Contest on Software Testing in China, which involves over 100,000 participants, manual grading by experts is a major bottleneck. It is slow, expensive, and prone to "inter-rater variability," where different human assessors provide inconsistent scores for the same work. While previous automated systems could handle objective code metrics, they struggled with these subjective elements. RUM aims to bridge this gap by combining the precision of rules with the nuanced understanding of LLMs.
The RUM Framework
The RUM framework utilizes a three-stage pipeline to process and evaluate student submissions effectively.
1. Pre-Processing and Data Unification
Student submissions are often "messy," consisting of a mix of formats such as Word/PDF documents, source code files, and screenshots of test execution. RUM unifies these diverse inputs into a structured JSON format. To handle visual evidence efficiently, the system employs a high-concurrency OCR API to extract text from screenshots. This approach is significantly more cost-effective and faster than using multimodal Vision-Language Models (VLMs) for initial data extraction, allowing the system to use cheaper, text-only LLMs for the actual reasoning.
2. Criteria Construction and Dual-Engine Assessment
RUM uses LLMs to translate natural language requirements and expert rubrics into actionable evaluation criteria. These are split into two categories:
- Rule-based code: For objective indicators like file naming conventions and basic script syntax.
- Subjective checklists: For the LLM engine to evaluate qualitative aspects, such as whether a test case logically aligns with complex business requirements (e.g., handling "With Children" passenger types).
The core of RUM is its dual-engine approach. A Rule-based Engine handles deterministic checks with 100% consistency. Simultaneously, an LLM-based Engine performs qualitative judging using structured prompts. These prompts include specific "Rules" that act as guardrails, forcing the LLM to follow a strict deduction logic to minimize hallucinations and grading drift.
Key Results and Insights
The researchers benchmarked RUM using data from 148 students participating in the 2024 National College Student Contest on Software Testing. The dataset included test cases, scripts (Java/Python), and reports for a flight booking system.
- Accuracy: RUM achieved a Quadratic Weighted Kappa (QWK) of 0.889, indicating "excellent" agreement with human expert scores. For code-related metrics, the correlation exceeded 0.99.
- Efficiency: Manual grading took an average of 21 minutes per submission; RUM reduced this to 4 minutes, an 80.77% improvement.
- Cost-Effectiveness: The cost per submission plummeted from $7.10 to $0.186, a staggering 97.38% reduction.
One of the most significant findings is the "Guardrail" effect: LLMs perform better when constrained by rules. By feeding the LLM a pre-generated checklist derived from the requirements, the researchers reduced the inherent uncertainty of the model, leading to more stable and fair grading.
Conclusion
RUM represents a major step forward in automating the complex task of software testing assessment. By leveraging a hybrid approach, it captures the best of both worlds: the rigidity of rules for technical standards and the flexibility of LLMs for design evaluation. Future work will focus on expanding RUM's domain specificity to areas like security testing and developing a feedback loop to provide students with pedagogical insights into their performance.
Summary updated