This paper introduces a novel approach to automated algorithm discovery for gravitational wave detection, employing a custom Monte Carlo Tree Search (MCTS) algorithm. The authors frame this as a method to navigate the complex space of possible algorithms, iteratively building and evaluating code snippets to identify effective detection strategies. The core of their methodology involves a modified MCTS process, which they term Evo-MCTS, that combines the exploration capabilities of Monte Carlo Tree Search with the optimization power of evolutionary algorithms. This approach is applied to the Gravity Spy II challenge, a competition focused on identifying gravitational wave signals, where the authors report competitive results, with their algorithms ranking in the top 5% of all submissions. The paper also includes a thorough analysis of the discovered algorithms, examining their generalization capabilities, sensitivity to temporal constraints, and resistance to overfitting. The authors delve into the properties of the algorithms, such as their performance under different temporal constraints and their robustness to overfitting, providing a detailed understanding of the strengths and limitations of their approach. The experimental validation is extensive, involving the optimization of 877 algorithms and their evaluation under various temporal constraints. The authors also analyze the impact of different algorithmic techniques on performance, providing a detailed understanding of the factors that contribute to the success of their approach. The paper's main contribution lies in the application of MCTS to the problem of automated algorithm discovery in a scientifically relevant domain, demonstrating the potential of this approach to identify effective algorithms that can compete with human-designed ones. The thorough analysis of the discovered algorithms, including their generalization behavior and resistance to overfitting, adds significant value to the study, providing insights into the characteristics of effective gravitational wave detection strategies. The authors also explore the impact of different algorithmic techniques on performance, providing a detailed understanding of the factors that contribute to the success of their approach. Overall, the paper presents a compelling case for the use of automated algorithm discovery in scientific research, demonstrating the potential of MCTS to identify effective algorithms that can compete with human-designed ones.