Neural-MCTS Test Prioritization for Smart Contract Mutation Testing
Open Access
- 3 July 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Distributed Ledger Technologies: Research and Practice
Abstract
The immutability of deployed smart contracts increases the impact of undetected faults. Mutation testing evaluates test suite effectiveness by injecting controlled faults (mutants) into contract code and observing whether existing tests detect them. However, the number of generated mutants and the required test executions make mutation testing costly, limiting its scalability in realistic settings. We present ASCENT , an online test prioritization technique based on a Neural Monte Carlo Tree Search (Neural-MCTS) algorithm that dynamically learns and adapts test execution strategies during mutation analysis. The approach prioritizes tests in real time without requiring prior knowledge of the system under test, reducing execution cost while preserving fault detection effectiveness. This paper provides a comprehensive evaluation across five real-world Solidity projects. We analyze behavior under a wide range of hyperparameter configurations, examine how different state representations influence prioritization performance, and evaluate an asynchronous execution model that decouples search, inference, and training to reduce wall-clock execution time. The results show consistent reductions across all projects, ranging from 28–61% depending on project features and hyperparameter configurations, alongside a parallelized variant that substantially reduces wall-clock execution time with controlled trade-offs in prioritization performance.Keywords
This publication has 20 references indexed in Scilit:
- AnoLSTM-A Deep Learning Approach for Test Cases PrioritizationProcedia Computer Science, 2025
- Effective test generation using pre-trained Large Language Models and mutation testingInformation and Software Technology, 2024
- ReSuMo: a regression strategy and tool for mutation testing of solidity smart contractsSoftware Quality Journal, 2023
- SuMo: A mutation testing approach and tool for the Ethereum blockchainJournal of Systems and Software, 2022
- A Systematic Literature Review on prioritizing software test cases using Markov chainsInformation and Software Technology, 2022
- Test case selection and prioritization using machine learning: a systematic literature reviewEmpirical Software Engineering, 2021
- Empirical evaluation of mutation‐based test case prioritization techniquesSoftware Testing, Verification and Reliability, 2018
- Test case prioritization approaches in regression testing: A systematic literature reviewInformation and Software Technology, 2018
- MuRanker: a mutant ranking toolSoftware Testing, Verification and Reliability, 2014
- Guidelines for conducting and reporting case study research in software engineeringEmpirical Software Engineering, 2008