CHCarol Hanna

Carol Hanna

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Carol Hanna has a total of 22 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Hot Fixing Software: A Comprehensive Review of Terminology, Techniques, and Applications

    by Carol Hanna, David Clark, Federica Sarro, Justyna Petke

    A hot fix is an unplanned improvement to a specific time-critical issue deployed to a software system in production. While hot fixing is an essential and common activity in software maintenance, it has never been surveyed as a research activity. Thus, such a review is long overdue. In this article, we conduct a comprehensive literature review of work on hot fixing. We highlight the fields where this topic has been addressed, inconsistencies we identified in the terminology, gaps in the literature, and directions for future work. Our search concluded with 140 articles on the topic between the years 1986 and 2024. The articles found encompass many different research areas such as log analysis, runtime patching (also known as hot patching), and automated repair, as well as various application domains such as security, mobile, and video games. We find that many directions can take hot fix research forward such as unifying existing terminology, establishing a benchmark set of hot fixes, researching costs and frequency of hot fixes, and researching the possibility of end-to-end automation of detection, mitigation, and deployment. We discuss these avenues in detail to inspire the community to systematize hot fixing as a software engineering activity.


  • Open Access

    A Mixed-Method Study of Hot Fixing in Industry: Practices, Bottlenecks, and Opportunities

    by Carol Hanna, David Elliman, Wolfgang Emmerich, Federica Sarro, Justyna Petke

    Ensuring best practices for emergency bug handling is critical, yet the process remains elusive in the industry. In our previous work, we conducted the first study on hot fixing industrial practices to gain initial insights. Through an online questionnaire, we surveyed 24 employees of Zühlke, a mid-sized IT company, and 136 software practitioners from a wide range of companies, roles, and geographical areas. While our original work revealed valuable initial insights into industrial hot fixing practices, it also surfaced inconsistencies across participant responses, particularly in terminology, automation levels, and process structure. This suggested that hot fixing workflows vary significantly depending on factors such as system maturity, application domain, and organizational context. To investigate this, in this paper, we explore the workflows of nine distinct project teams working with clients across a range of sectors at Zühlke through semi-structured interviews with their technical leads and senior software engineers. These interviews provide first-hand, context-rich accounts of hot fixing practices across domains to reveal bottlenecks and opportunities for improvement. Together, our survey and case study results provide an empirically grounded view of hot fixing in practice, offering concrete recommendations for software engineering researchers and practitioners working to improve recovery workflows in production systems.


  • Open Access

    Applying Genetic Improvement Techniques for Automated Program Repair of Transpiled Code

    by Prasham Jadhwani, Carol Hanna, William B. Langdon, Justyna Petke

  • Open Access

    Behind the Hot Fix: Demystifying Hot Fixing Industrial Practices at Zühlke and Beyond

    by Carol Hanna, David Elliman, Wolgang Emmerich, Federica Sarro, Justyna Petke


  • Open Access

    Reinforcement learning for mutation operator selection in automated program repair

    by Carol Hanna, Aymeric Blot, Justyna Petke

    Automated program repair techniques aim to aid software developers with the challenging task of fixing bugs. In heuristic-based program repair, a search space of mutated program variants is explored to find potential patches for bugs. Most commonly, every selection of a mutation operator during search is performed uniformly at random, which can generate many buggy, even uncompilable programs. Our goal is to reduce the generation of variants that do not compile or break intended functionality which waste considerable resources. In this paper, we investigate the feasibility of a reinforcement learning-based approach for the selection of mutation operators in heuristic-based program repair. Our proposed approach is programming language, granularity-level, and search strategy agnostic and allows for easy augmentation into existing heuristic-based repair tools. We conducted an extensive empirical evaluation of four operator selection techniques, two reward types, two credit assignment strategies, two integration methods, and three sets of mutation operators using 30,080 independent repair attempts. We evaluated our approach on 353 real-world bugs from the Defects4J benchmark. The reinforcement learning-based mutation operator selection results in a higher number of test-passing variants, but does not exhibit a noticeable improvement in the number of bugs patched in comparison with the baseline, uniform random selection. While reinforcement learning has been previously shown to be successful in improving the search of evolutionary algorithms, often used in heuristic-based program repair, it has yet to demonstrate such improvements when applied to this area of research.


  • Open Access

    Large language model based mutations in genetic improvement

    by Alexander E. I. Brownlee, James Callan, Karine Even-Mendoza, Alina Geiger, Carol Hanna, Justyna Petke, Federica Sarro, Dominik Sobania

    Ever since the first large language models (LLMs) have become available, both academics and practitioners have used them to aid software engineering tasks. However, little research as yet has been done in combining search-based software engineering (SBSE) and LLMs. In this paper, we evaluate the use of LLMs as mutation operators for genetic improvement (GI), an SBSE approach, to improve the GI search process. In a preliminary work, we explored the feasibility of combining the Gin Java GI toolkit with OpenAI LLMs in order to generate an edit for the tool. Here we extend this investigation involving three LLMs and three types of prompt, and five real-world software projects. We sample the edits at random, as well as using local search. We also conducted a qualitative analysis to understand why LLM-generated code edits break as part of our evaluation. Our results show that, compared with conventional statement GI edits, LLMs produce fewer unique edits, but these compile and pass tests more often, with the model finding test-passing edits 77% of the time. The and LLMs are roughly equal in finding the best run-time improvements. Simpler prompts are more successful than those providing more context and examples. The qualitative analysis reveals a wide variety of areas where LLMs typically fail to produce valid edits commonly including inconsistent formatting, generating non-Java syntax, or refusing to provide a solution.


  • Open Access

    Exploring LLM-Driven Explanations for Quantum Algorithms

    by Giordano D'Aloisio, Sophie Fortz, Carol Hanna, Daniel Fortunato, Avner Bensoussan, Eñaut Mendiluze Usandizaga, Federica Sarro

    Background: Quantum computing is a rapidly growing new programming paradigm that brings significant changes to the design and implementation of algorithms. Understanding quantum algorithms requires knowledge of physics and mathematics, which can be challenging for software developers. Aims: In this work, we provide a first analysis of how LLMs can support developers’ understanding of quantum code. Method: We empirically analyse and compare the quality of explanations provided by three widely adopted LLMs (Gpt3.5, Llama2, and Tinyllama) using two different human-written prompt styles for seven state-of-the-art quantum algorithms. We also analyse how consistent LLM explanations are over multiple rounds and how LLMs can improve existing descriptions of quantum algorithms. Results: Llama2 provides the highest quality explanations from scratch, while Gpt3.5 emerged as the LLM best suited to improve existing explanations. In addition, we show that adding a small amount of context to the prompt significantly improves the quality of explanations. Finally, we observe how explanations are qualitatively and syntactically consistent over multiple rounds. Conclusions: This work highlights promising results, and opens challenges for future research in the field of LLMs for quantum code explanation. Future work includes refining the methods through prompt optimisation and parsing of quantum code explanations, as well as carrying out a systematic assessment of the quality of explanations.


  • Open Access

    Toward Systematizing Hot Fixing for Production Software

    by Carol Hanna

    A hot fix is an unplanned improvement to a specific time-critical issue deployed to a system in production. This topic has never been surveyed within software engineering despite hot fixing being a long-standing and common activity. We present a preliminary overview of existing work on the topic. We find that practices around hot fixing are generally not systematized, and thus present an initial taxonomy of work found with ideas for future studies. We hope our work will drive research on hot fixing forward.