Alloy Repair Hint Generation Based on Historical Data

dc.contributor.author Alcino Cunha en
dc.contributor.author Nuno Moreira Macedo en
dc.contributor.author Ana Cristina Paiva en
dc.contributor.other 5612 en
dc.contributor.other 5625 en
dc.contributor.other 6073 en
dc.date.accessioned 2025-06-23T07:26:54Z
dc.date.available 2025-06-23T07:26:54Z
dc.date.issued 2025 en
dc.description.abstract Platforms to support novices learning to program are often accompanied by automated next-step hints that guide them towards correct solutions. Many of those approaches are data-driven, building on historical data to generate higher quality hints. Formal specifications are increasingly relevant in software engineering activities, but very little support exists to help novices while learning. Alloy is a formal specification language often used in courses on formal software development methods, and a platform-Alloy4Fun-has been proposed to support autonomous learning. While non-data-driven specification repair techniques have been proposed for Alloy that could be leveraged to generate next-step hints, no data-driven hint generation approach has been proposed so far. This paper presents the first data-driven hint generation technique for Alloy and its implementation as an extension to Alloy4Fun, being based on the data collected by that platform. This historical data is processed into graphs that capture past students' progress while solving specification challenges. Hint generation can be customized with policies that take into consideration diverse factors, such as the popularity of paths in those graphs successfully traversed by previous students. Our evaluation shows that the performance of this new technique is competitive with non-data-driven repair techniques. To assess the quality of the hints, and help select the most appropriate hint generation policy, we conducted a survey with experienced Alloy instructors. en
dc.identifier P-016-ZXD en
dc.identifier.uri https://repositorio.inesctec.pt/handle/123456789/15531
dc.language eng en
dc.rights info:eu-repo/semantics/openAccess en
dc.title Alloy Repair Hint Generation Based on Historical Data en
dc.type en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
P-016-ZXD.pdf
Size:
1.17 MB
Format:
Adobe Portable Document Format
Description: