REACH: Refining Alloy Scenarios by Scope

10/22/2021
by   Ana Jovanovic, et al.
0

Writing declarative models has numerous benefits, ranging from automated reasoning and correction of design-level properties be-fore 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. In Alloy, it is common for users to desire to first validate smaller scenarios, then once confident, move onto validating larger scenarios. However, the Analyzer only presents scenarios in the order they are discovered by the SAT solver. This paper presents Reach, an extension to the Analyzer which allows users to explore scenarios by size. Experimental results reveal Reach's enumeration improves performance while having the added benefit of maintaining a semi-sorted ordering of scenarios for the user. Moreover, we highlight Reach's ability to improve the performance of Alloy's analysis when the user makes incremental changes to the scope of the enumeration.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/13/2023

Crucible: Graphical Test Cases for Alloy Models

Alloy is a declarative modeling language that is well suited for verifyi...
research
05/29/2023

Writing user personas with Large Language Models: Testing phase 6 of a Thematic Analysis of semi-structured interviews

The goal of this paper is establishing if we can satisfactorily perform ...
research
09/23/2020

Efficient Incremental Modelling and Solving

In various scenarios, a single phase of modelling and solving is either ...
research
08/04/2023

MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors

While software engineers are optimistically adopting crypto-API misuse d...
research
08/14/2023

SOTIF-Compliant Scenario Generation Using Semi-Concrete Scenarios and Parameter Sampling

The SOTIF standard (ISO 21448) requires scenario-based testing to verify...
research
05/24/2023

A Controllable QA-based Framework for Decontextualization

Many real-world applications require surfacing extracted snippets to use...
research
09/01/2019

On-the-Fly Construction of Composite Events in Scenario-Based Modeling using Constraint Solvers

Scenario-Based Programming is a methodology for modeling and constructin...

Please sign up or login with your details

Forgot password? Click here to reset