-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add key assignment to model and driver (#1573)
* Start implementing key assignment in Quint * Update model * Update model * Update model * Add key assignment to functional layer * Start writing test for key assignment * Continue adding key assignment to model * Fix some behaviours in key assignment logic * Pull key assignment into its own module * Split key assignment into extra module * Start updating invariants for key assignment * Update key assignment spec * Merge key assignment into main model * Update spec, fix bug * Fix map building for key assignment * Fix key assignment invariants * Update driver to include key assignment * Fix key assignment in bounded steps * Finish key assignment integration in driver * Update clients every block * Add key assignment to invariant check * Use key assignment in its step * Revert changes to extraSpells * Add check to avoid empty set of running consumers * Update tests/mbt/model/ccv.qnt Co-authored-by: insumity <[email protected]> * Update tests/mbt/model/ccv.qnt Co-authored-by: insumity <[email protected]> * Incorporate review comments * Refactor keyAssignmentReplacement * Start refactoring a few things * Refactor, take into account comments * Refactor utility functions to type module * Minor refactor * Refactor utils into own file * Add key assignment invariant checks to make target * Add empty-list-handling to inv * Start refactoring keys of sentVscPackets map * Fix keys for packet map * Fix path to model * Add more comments, remove unnecessary disjuncts --------- Co-authored-by: insumity <[email protected]>
- Loading branch information
1 parent
dd84a9b
commit d60b880
Showing
13 changed files
with
1,042 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,6 @@ type Stats struct { | |
numTxs int | ||
|
||
totalBlockTimePassedPerTrace time.Duration | ||
|
||
numKeyAssignments int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.