Published October 2025 | Version MFES 24/25
Dataset Open

Alloy4Fun Dataset for 2024/25

  • 1. FEUP & INESC TEC
  • 2. UM & INESC TEC

Description

This dataset contains models submitted by students in the Alloy4Fun platform to solve the challenge models from various editions of formal methods courses in the University of Minho (UM) and the University of Porto (UP) between the fall of 2019 and the spring of 2025, totalling around 185.000 entries. Participants include those enrolled in the optional MSc course "Specification and Modelling" (EM) and the mandatory MSc course "Formal Methods in Software Engineering" (MFES) in UM, and the optional MSc course "Formal Methods for Critical Systems" (MFS) in UP. Note that since the challenges' permalinks are publicly available, the dataset may contain submissions from other participants outside the classroom context.

The analysis of the 2021 dataset is reported in the Science of Computer Programming paper "Experiences on Teaching Alloy with an Automated Assessment Platform" (extending the ABZ'20 conference version analysing the 2020 dataset).

Name Permalink Courses (Students) Entries
Trash FOL sDLK7uBCbgZon3znd EM 19/20 (~20) & 20/21 (~20), MFS 21/22 (~10) & 22/23 (~10) 4333
Classroom FOL YH3ANm7Y5Qe5dSYem EM 19/20 (~20) & 20/21 (~20), MFS 21/22 (~10) & 22/23 (~10) 5106
Trash RL PQAJE67kz8w5NWJuM EM 19/20 (~20) & 20/21 (~20) 4929
Classroom RL zRAn69AocpkmxXZnW EM 19/20 (~20) & 20/21 (~20) 6813
Graphs gAeD3MTGCCv8YNTaK EM 19/20 (~20) & 20/21 (~20) 3382
LTS zoEADeCW2b2suJB2k EM 19/20 (~20) & 20/21 (~20) 3597
Production line

jyS8Bmceejj9pLbTW

bNCCf9FMRZoxqobfX (v2)

aTwuoJgesSd8hXXEP (v3)

dyj49tEp7j6aWAQQX (v4)

EM 19/20 (~20) & 20/21 (~20)

MFES 21/22 (~200), MFS 21/22 (~10) & 22/23 (~10) & 23/24. (~10)

MFES 22/23 (~200)

MFES 23/24 (~200) & 24/25 (~200)

2582

6731

3684

13238

CV

JC8Tij8o8GZb99gEJ 

WGdhwKZnCu7aKhXq9 (v2)

EM 19/20 (~20)

EM 20/21 (~20)

1423

393

Trash LTL 9jPK8KBWzjFmBx4Hb EM 19/20 (~20) & 20/21 (~20) 5910
Train Station

FwCGymHmbqcziisH5

QxGnrFQnXPGh2Lh8C (v2)

cXPP9QBPTYgTX6WJ6 (v3)

EM 20/21 (~20)

MFES 21/22 (~200) & 22/23 (~200), MFS 21/22 (~10) & 22/23 (~10) & 23/24 (~10)

MFES 23/24 (~200) & 24/25 (~200)

1285

9383

8805

Courses

PSqwzYAfW9dFAa9im

JDKw8yJZF5fiP3jv3 (v2)

iP5JL36afv5KbDKP6 (v3)

MFES 21/22 (~200), MFS 21/22 (~10) & 22/23 (~10) & 23/24 (~10)

MFES 22/23 (~200)

MFES 23/24 (~200) & 24/25 (~200)

17515

8533

25722

Social network

dkZH6HJNQNLLDX6Aj

x3JXgWhJ3uti5Dzxz (v2)

MFES 21/22 (~200) & 22/23 (~200), MFS 21/22 (~10) & 22/23 (~10) & 23/24 (~10)

MFES 23/24 (~200) & 24/25 (~200)

24688

27302

Each entry of the dataset registers either an execution (which may have returned a result or an error) or the creation of a permalink for sharing, and contains:

  • _id: the id of the interaction
  • time: the timestamp of its creation
  • derivationOf: the parent entry
  • original: the first ancestor with secrets (always the same within an exercise)
  • code: the complete code of the model (excluding the secrets defined in the original entry) (with student comments removed)
  • sat: whether the command was satisfiable (counter-example found for checks), or -1 when error thrown [only for executions]
  • cmd_i: the index of the executed command [only for executions]
  • cmd_n: the name of the executed command [only for successful executions, i.e. no error thrown]
  • cmd_c: whether the command was a check [only for successful executions, i.e. no error thrown]
  • msg: the error or warning message [only for successful executions with warnings or when error thrown]
  • theme: the visualisation theme [only for sharing entries]

User comments were removed from the code to guarantee anonymization. 

Files

9jPK8KBWzjFmBx4Hb.json

Files (391.6 MB)

Name Size Download all
md5:12e539437e9a324a1b45a476330a0b28
17.2 MB Preview Download
md5:bd00d724228fdf36165d58b495ad03bb
7.4 MB Preview Download
md5:0c4cbaeaeaf8d0efccda2f58dcb0575c
13.7 MB Preview Download
md5:41036f2d0b30bb0a75082279fab7480c
14.4 MB Preview Download
md5:a16158cd91ae607160cca2cb4ff2a488
40.3 MB Preview Download
md5:b7e0b65a134a90f22841bdbad6ce84e2
27.7 MB Preview Download
md5:2c8b9f8b014bd2d9893fc52dda9d481e
4.0 MB Preview Download
md5:ebc42125886d2f8fe2d7afe563f507c7
6.2 MB Preview Download
md5:ffcd7a2b5a18ac113955cdc4491a53fc
64.5 MB Preview Download
md5:cc66645cc214fefb91da9b0680ccda91
2.2 MB Preview Download
md5:8c3f3024d79c403985dce696eae9205e
21.4 MB Preview Download
md5:1f870114d939c05afc5279a6bd58440b
3.9 MB Preview Download
md5:e83e3cd7efd577bc6ead989a169a0980
9.5 MB Preview Download
md5:79194e9f51835a0c9f301a1aab750f42
43.2 MB Preview Download
md5:ce3eff3ef20151ada48c588c322f40dc
15.2 MB Preview Download
md5:45582237e38ec1e2619334803a3adb28
8.7 MB Preview Download
md5:ead0761587a4a13f031fedf5844d0e0c
612.4 kB Preview Download
md5:b327e211cfa6979337d0621f882075bd
46.4 MB Preview Download
md5:3a3c325538be2fe499507e86d94e7202
19.9 MB Preview Download
md5:2d7bed8a9e09f0a5c3aa8d7de196e42b
4.6 MB Preview Download
md5:1926ead97bc8e4949ff5e34884efbff6
20.5 MB Preview Download

Additional details

Related works

Is supplement to
Journal article: 10.1016/j.scico.2021.102690 (DOI)
Conference paper: 10.1007/978-3-030-48077-6_5 (DOI)

Funding

Fundação para a Ciência e Tecnologia
TRUST - Trustworthy Software Design with Alloy OCI-01-0145-FEDER-016826
Fundação para a Ciência e Tecnologia
EXPL/CCI-COM/1637/2021 - Constraint-based Specification Repair EXPL/CCI-COM/1637/2021

Dates

Collected
2019-09-01/2025-09-16
Data collection