正确还是错误——理解新手用户如何编写软件模型
Right or Wrong -- Understanding How Novice Users Write Software Models
AI总结:
本文通过对新手用户编写的超过97,000个Alloy模型进行实证研究,分析正确与错误模型的编写模式,为Alloy模型调试与教学提供综合基准和指导性观察。
摘要:
编写声明式模型具有诸多益处,包括在系统构建之前对设计级属性进行自动化推理与修正,以及在系统构建之后对其实现进行自动化测试与调试。Alloy是一种声明式建模语言,非常适合用于验证系统设计。Alloy的一个关键优势在于其场景发现工具集,即Analyzer,它允许用户在用户提供的范围内探索所有符合模型约束的有效场景。然而,即使有了可视化场景,编写正确的Alloy模型仍然很困难。为了解决这一问题,越来越多的研究探索了调试Alloy模型的不同技术。为了以有效的方式开发和评估这些技术,本文对新手用户在学习Alloy过程中编写的超过97,000个模型进行了实证研究。我们研究了用户如何编写正确和错误的模型,以生成一个可供未来使用的综合基准,以及一系列观察结果,用于指导Alloy模型开发中的调试和教育工作。
英文摘要:
Writing declarative models has numerous benefits, ranging from automated reasoning and correction of design-level properties before systems are built, to automated testing and debugging of their implementations after they are built. Alloy is a declarative modeling language that is well-suited for verifying system designs. A key strength of Alloy is its scenario-finding toolset, the Analyzer, which allows users to explore all valid scenarios that adhere to the model's constraints up to a user-provided scope. However, even with visualized scenarios, it is difficult to write correct Alloy models. To address this, a growing body of work explores different techniques for debugging Alloy models. In order to develop and evaluate these techniques in an effective manor, this paper presents an empirical study of over 97,000 models written by novice users trying to learn Alloy. We investigate how users write both correct and incorrect models in order to produce a comprehensive benchmark for future use as well as a series of observations to guide debugging and educational efforts for Alloy model development.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。