New Dataset and Metrics for Analyzing Alloy Models

We are excited to announce the publication of our new paper, dataset, and accompanying code: On Writing Alloy Models: Metrics and a New Dataset presented at ABZ 2025

In this work, we introduce FMPals, a new dataset of Alloy models authored on our Formal Methods Playground.

๐Ÿ“ What Weโ€™re Releasing

๐Ÿ“„ Paper:

Soaibuzzaman, S. Kalantari, J.O. Ringert. On Writing Alloy Models: Metrics and a new Dataset. Rigorous State-Based Methods. ABZ 2025. LNCS 15728, pp. 1โ€“18, 2025.

๐Ÿ“ฅ PDF

๐Ÿ“š DOI: 10.1007/978-3-031-94533-5_5

๐Ÿ—ƒ๏ธ Dataset:

Formal Methods Playground Alloy Dataset ๐Ÿ”— Zenodo: https://zenodo.org/records/15619393

๐Ÿ’ป Code & Metrics:

Includes our Halstead metric implementation and all scripts for edit path analysis and data processing. ๐Ÿ”— GitHub: https://github.com/se-buw/alloy-metrics

๐Ÿงช Highlights from the Paper

  • A new application of Halstead difficulty metrics to Alloy.

  • Comparison with the Alloy4Fun dataset shows:

    • Broader modeling behaviors in FMPals.
    • Frequent user edits to all language constructs.
    • Iterative and exploratory modeling styles.
  • Insights into how users fix errors and how model complexity evolves over time.

Soaibuzzaman
Soaibuzzaman
PhD Candidate | Research Associate

TBA

Jan Oliver Ringert
Jan Oliver Ringert
Professor of Software Engineering

TBA