Cookies
O website necessita de alguns cookies e outros recursos semelhantes para funcionar. Caso o permita, o INESC TEC irá utilizar cookies para recolher dados sobre as suas visitas, contribuindo, assim, para estatísticas agregadas que permitem melhorar o nosso serviço. Ver mais
Aceitar Rejeitar
  • Menu
Publicações

Publicações por HASLab

2025

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

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

Publicação
CoRR

Abstract

2025

Are Users More Willing to Use Formally Verified Password Managers?

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

Publicação
CoRR

Abstract

2025

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

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

Publicação
CoRR

Abstract

2025

InfraFix: Technology-Agnostic Repair of Infrastructure as Code

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

Publicação
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

Autores
Wu, V; Mendes, A; Abreu, A;

Publicação
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

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

Publicação

Abstract

  • 11
  • 262