Lune

FM2024顶会

Alloy Repair Hint Generation Based on Historical Data

Ana Barros, Henrique Neto, Alcino Cunha, Nuno Macedo, Ana C. R. Paiva

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ATR: template-based repair for Alloy specifications 引用了 Bounded Exhaustive Search of Alloy Specification Repairs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper3

  1. ATR: template-based repair for Alloy specificationsGuolong Zheng, ThanhVu Nguyen, Simón Gutiérrez Brida, Germán Regis 等ISSTA 2022 · 18 次引用
  2. Applying cognitive principles to model-finding output: the positive value of negative informationTristan Dyer, Tim Nelson, Kathi Fisler, Shriram KrishnamurthiOOPSLA 2022 · 10 次引用
  3. Bounded Exhaustive Search of Alloy Specification RepairsSimón Gutiérrez Brida, Germán Regis, Guolong Zheng, Hamid Bagheri 等ICSE 2021 · 6 次引用

相关 Paper

  1. Forge: A Tool and Language for Teaching Formal MethodsTim Nelson, Ben Greenman, Siddhartha Prasad, Tristan Dyer 等OOPSLA 2024 · 8 次引用
  2. ICEBAR: Feedback-Driven Iterative Repair of Alloy SpecificationsSimón Gutiérrez Brida, Germán Regis, Guolong Zheng, Hamid Bagheri 等ASE 2022 · 13 次引用
  3. Automated Combinatorial Test Generation for AlloyAgustín Borda, Germán Regis, Nazareno Aguirre, Marcelo F. Frias 等ASE 2025
  4. Validating Formal Specifications with LLM-Generated Test CasesAlcino Cunha, Nuno MacedoFM 2026 · 1 次引用
  5. Context-aware and data-driven feedback generation for programming assignmentsDowon Song, Woosuk Lee, Hakjoo OhFSE 2021 · 22 次引用
黄昏的海面,两侧是细线勾勒的悬崖