Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Publications

Publications by HASLab

2025

From "Worse is Better" to Better: Lessons from a Mixed Methods Study of Ansible's Challenges

Authors
Carreira, C; Saavedra, N; Mendes, A; Ferreira, JF;

Publication
CoRR

Abstract

2025

Are Users More Willing to Use Formally Verified Password Managers?

Authors
Carreira, C; Ferreira, JF; Mendes, A; Christin, N;

Publication
CoRR

Abstract

2025

A Systematic Review of Security Communication Strategies: Guidelines and Open Challenges

Authors
Carreira, C; Mendes, A; Ferreira, JF; Christin, N;

Publication
CoRR

Abstract

2025

InfraFix: Technology-Agnostic Repair of Infrastructure as Code

Authors
Saavedra, N; Ferreira, JF; Mendes, A;

Publication
Proceedings of the 34th ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA Companion 2025, Clarion Hotel Trondheim, Trondheim, Norway, June 25-28, 2025

Abstract

2025

Specification-Guided Repair of Arithmetic Errors in Dafny Programs using LLMs

Authors
Wu, V; Mendes, A; Abreu, A;

Publication
CoRR

Abstract
Debugging and repairing faults when programs fail to formally verify can be complex and time-consuming. Automated Program Repair (APR) can ease this burden by automatically identifying and fixing faults. However, traditional APR techniques often rely on test suites for validation, but these may not capture all possible scenarios. In contrast, formal specifications provide strong correctness criteria, enabling more effective automated repair. In this paper, we present an APR tool for Dafny, a verification-aware programming language that uses formal specifications — including pre-conditions, post-conditions, and invariants — as oracles for fault localization and repair. Assuming the correctness of the specifications and focusing on arithmetic bugs, we localize faults through a series of steps, which include using Hoare logic to determine the state of each statement within the program, and applying Large Language Models (LLMs) to synthesize candidate fixes. The models considered are GPT-4o mini, Llama 3, Mistral 7B, and Llemma 7B. We evaluate our approach using DafnyBench, a benchmark of real-world Dafny programs. Our tool achieves 89.7% fault localization success rate and GPT-4o mini yields the highest repair success rate of 74.18%. These results highlight the potential of combining formal reasoning with LLM-based program synthesis for automated program repair. © The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.

2025

Survey about Teachers' Perspective on Software Testing Education

Authors
Tramontana, P; Marín, B; Paiva, ACR; Mendes, A; Vos, TEJ; Cammaerts, F; Snoeck, M; Saadatmand, M; Fasolino, AR;

Publication

Abstract

  • 11
  • 262