Skip to content

Commit 3979296

Browse files
committed
Set likely values for proof runtimes
Signed-off-by: Andrew Helwer <ahelwer@pm.me>
1 parent a3c2806 commit 3979296

40 files changed

Lines changed: 284 additions & 279 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ jobs:
146146
| map(select(has("proof")))
147147
# Failing on Linux
148148
| map(select(.path != "specifications/LoopInvariance/SumSequence.tla"))
149-
| map(select(.proof.maxRuntimeMinutes <= 1))
149+
# Skip long-running proofs in CI
150+
| map(select(.proof.maxRuntimeMinutes <= 5))
150151
| map((.proof.maxRuntimeMinutes | tostring) + "\u0000" + .path + "\u0000")
151152
| join("")' \
152153
| xargs --verbose --null --no-run-if-empty -n 2 \

specifications/Bakery-Boulangerie/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"models": [],
1515
"proof": {
16-
"runtime": "00:00:20"
16+
"maxRuntimeMinutes": 1
1717
}
1818
},
1919
{
@@ -23,7 +23,7 @@
2323
],
2424
"models": [],
2525
"proof": {
26-
"runtime": "00:00:30"
26+
"maxRuntimeMinutes": 1
2727
}
2828
},
2929
{

specifications/CigaretteSmokers/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"features": [],
4040
"models": [],
4141
"proof": {
42-
"runtime": "unknown"
42+
"maxRuntimeMinutes": 1
4343
}
4444
}
4545
]

specifications/CoffeeCan/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"features": [],
5757
"models": [],
5858
"proof": {
59-
"runtime": "unknown"
59+
"maxRuntimeMinutes": 1
6060
}
6161
}
6262
]

specifications/DieHard/manifest.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@
3636
}
3737
]
3838
},
39+
{
40+
"path": "specifications/DieHard/DieHard_proof.tla",
41+
"features": [],
42+
"models": [],
43+
"proof": {
44+
"maxRuntimeMinutes": 1
45+
}
46+
},
3947
{
4048
"path": "specifications/DieHard/DieHarder.tla",
4149
"features": [],
@@ -70,14 +78,6 @@
7078
"workers": 1
7179
}
7280
]
73-
},
74-
{
75-
"path": "specifications/DieHard/DieHard_proof.tla",
76-
"features": [],
77-
"models": [],
78-
"proof": {
79-
"runtime": "unknown"
80-
}
8181
}
8282
]
8383
}

specifications/Disruptor/manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
}
2020
]
2121
},
22-
{
23-
"path": "specifications/Disruptor/APRingBuffer.tla",
24-
"features": [],
25-
"models": []
26-
},
2722
{
2823
"path": "specifications/Disruptor/APDisruptor_SPMC.tla",
2924
"features": [],
@@ -36,6 +31,11 @@
3631
}
3732
]
3833
},
34+
{
35+
"path": "specifications/Disruptor/APRingBuffer.tla",
36+
"features": [],
37+
"models": []
38+
},
3939
{
4040
"path": "specifications/Disruptor/Disruptor_MPMC.tla",
4141
"features": [],

specifications/FiniteMonotonic/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"features": [],
5151
"models": [],
5252
"proof": {
53-
"runtime": "00:00:01"
53+
"maxRuntimeMinutes": 1
5454
}
5555
},
5656
{

specifications/KeyValueStore/manifest.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
"features": [],
2929
"models": []
3030
},
31+
{
32+
"path": "specifications/KeyValueStore/KeyValueStore_proof.tla",
33+
"features": [],
34+
"models": [],
35+
"proof": {
36+
"maxRuntimeMinutes": 1
37+
}
38+
},
3139
{
3240
"path": "specifications/KeyValueStore/MCKVS.tla",
3341
"features": [],
@@ -68,14 +76,6 @@
6876
"path": "specifications/KeyValueStore/Util.tla",
6977
"features": [],
7078
"models": []
71-
},
72-
{
73-
"path": "specifications/KeyValueStore/KeyValueStore_proof.tla",
74-
"features": [],
75-
"models": [],
76-
"proof": {
77-
"runtime": "unknown"
78-
}
7979
}
8080
]
8181
}

specifications/LearnProofs/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"models": [],
1616
"proof": {
17-
"runtime": "00:00:01"
17+
"maxRuntimeMinutes": 1
1818
}
1919
},
2020
{
@@ -24,7 +24,7 @@
2424
],
2525
"models": [],
2626
"proof": {
27-
"runtime": "00:00:10"
27+
"maxRuntimeMinutes": 1
2828
}
2929
},
3030
{

specifications/LoopInvariance/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"models": [],
1818
"proof": {
19-
"runtime": "00:00:01"
19+
"maxRuntimeMinutes": 1
2020
}
2121
},
2222
{
@@ -56,7 +56,7 @@
5656
],
5757
"models": [],
5858
"proof": {
59-
"runtime": "00:05:00"
59+
"maxRuntimeMinutes": 10
6060
}
6161
},
6262
{
@@ -66,8 +66,8 @@
6666
],
6767
"models": [],
6868
"proof": {
69-
"runtime": "00:01:30"
69+
"maxRuntimeMinutes": 3
7070
}
7171
}
7272
]
73-
}
73+
}

0 commit comments

Comments
 (0)