Published July 10, 2023 | Version EM 2022/23
Dataset Open

Alloy4Fun Dataset for 2022/23

  • 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 2023, totalling about 100.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) and 20/21 (~20), MFS 21/22 (~10) and 22/23 (~10) 4092
Classroom FOL YH3ANm7Y5Qe5dSYem EM 19/20 (~20) and 20/21 (~20), MFS 21/22 (~10) and 22/23 (~10) 5893
Trash RL PQAJE67kz8w5NWJuM EM 19/20 (~20) and 20/21 (~20) 4361
Classroom RL zRAn69AocpkmxXZnW EM 19/20 (~20) and 20/21 (~20) 6341
Graphs gAeD3MTGCCv8YNTaK EM 19/20 (~20) and 20/21 (~20) 3211
LTS zoEADeCW2b2suJB2k EM 19/20 (~20) and 20/21 (~20) 3382
Production line

jyS8Bmceejj9pLbTW

bNCCf9FMRZoxqobfX (v2)

aTwuoJgesSd8hXXEP (v3)

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

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

MFES 22/23 (~200)

898

4903

3175

CV

JC8Tij8o8GZb99gEJ 

WGdhwKZnCu7aKhXq9 (v2)

EM 19/20 (~20)

EM 20/21 (~20)

1199

393

Trash LTL 9jPK8KBWzjFmBx4Hb EM 19/20 (~20) and 20/21 (~20) 5279
Train Station

FwCGymHmbqcziisH5

QxGnrFQnXPGh2Lh8C (v2)

EM 20/21 (~20)

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

1264

8158

Courses

PSqwzYAfW9dFAa9im

JDKw8yJZF5fiP3jv3 (v2)

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

MFES 22/23 (~200)

14884

7632

Social network dkZH6HJNQNLLDX6Aj MFES 21/22 (~200) and 22/23 (~200), MFS 21/22 (~10) and 22/23 (~10) 22690

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 (210.9 MB)

Name Size Download all
md5:0fada42df82952c88b4f92b0a2af0f2b
15.3 MB Preview Download
md5:a29830389340e4c683643973717e4304
6.5 MB Preview Download
md5:c0b40fb7c29568dc93c2e44f4f70e17c
10.0 MB Preview Download
md5:4072dd00c68295deff283f239b835bad
37.0 MB Preview Download
md5:cafde68989065151eac790c9109764f0
3.9 MB Preview Download
md5:56e0c8dd8f95c0169bc72358b64bfd01
6.0 MB Preview Download
md5:01bde949490dc09d4ada4c82cb47340a
1.8 MB Preview Download
md5:bef6cab468be29bcf8ff863f646e480f
19.2 MB Preview Download
md5:045c1a7b6a1f93975a8b4aecb1e576b2
1.4 MB Preview Download
md5:9621116012234425e9351b8948b4de36
8.4 MB Preview Download
md5:a56214027137430c4601de08db979c77
36.8 MB Preview Download
md5:ba93cab8913fc4d018064e5871dde0ae
13.2 MB Preview Download
md5:8df32699bc129e29d9b553e1b92262e8
8.3 MB Preview Download
md5:8ca50f6f95c85d5fe2c8616bbbfafded
612.4 kB Preview Download
md5:5bff7a4dec04b7ab55f6766269ed8f66
19.3 MB Preview Download
md5:8e06543eb73ddc06f57dff6529eea44d
4.3 MB Preview Download
md5:541678ca82e8eb937a9bbfcc032561ca
19.0 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/2023-07-12
Data collection