File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
### Deprecated
13
13
### Removed
14
14
### Fixed
15
+
16
+ - Fixed a problem where traces other than the first one when ` --n-traces ` > 1
17
+ and ` --mbt ` is true had the incorrect ` action_taken ` and ` nondet_picks ` values
18
+ (#1553 ).
19
+
15
20
### Security
16
21
17
22
## v0.22.3 -- 2024-10-28
Original file line number Diff line number Diff line change @@ -894,14 +894,16 @@ rm out-itf-example.itf.json
894
894
895
895
<!-- !test in run with n-traces itf -->
896
896
```
897
- quint run --out-itf=out-itf-example.itf.json --n-traces=3 --max-steps=5 --seed=123 ../examples/tutorials/coin.qnt
897
+ quint run --out-itf=out-itf-example.itf.json --n-traces=3 --mbt -- max-steps=5 --seed=123 ../examples/tutorials/coin.qnt
898
898
cat out-itf-example0.itf.json | jq '.["#meta"].status'
899
+ cat out-itf-example1.itf.json | jq '.states[0].action_taken'
899
900
rm out-itf-example*.itf.json
900
901
```
901
902
902
903
<!-- !test out run with n-traces itf -->
903
904
```
904
905
"ok"
906
+ "init"
905
907
```
906
908
907
909
### Run to generate multiple ITF traces with violation
Original file line number Diff line number Diff line change @@ -140,6 +140,12 @@ export class VarStorage {
140
140
reset ( ) {
141
141
this . vars . forEach ( reg => ( reg . value = initialRegisterValue ( reg . name ) ) )
142
142
this . nextVars . forEach ( reg => ( reg . value = initialRegisterValue ( reg . name ) ) )
143
+ if ( this . storeMetadata ) {
144
+ this . actionTaken = undefined
145
+ this . nondetPicks . forEach ( ( _ , key ) => {
146
+ this . nondetPicks . set ( key , undefined )
147
+ } )
148
+ }
143
149
}
144
150
145
151
/**
You can’t perform that action at this time.
0 commit comments