-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a verified HashSet implementation + refactor package name of map …
…+ add script (#106) * renaming of package in the maps * add mutable sets project and start working on the implementation * working on hashset * add new lemmas about getKeysList to reuse in the set * working on listmap to use it for hashset * finished the Set * add a few properties * remove benchmark results * restore deleted file * change name package in lexers * rename map package in caching functions * finish renaming map package to map * Add script that runs all verify.sh scripts * scala version 3.5.0 for sbt projects * fail if one fails * config + remove useless file * add main class + method to get an empty set * filter hashset to not verify the maps * make it compile with SBT and add a Main * rename interfaces to avoid confusion with immutable structures * remove benchmark result files * add $1 at the end of verify.sh scripts to be able to pass --compact when running tests * add a success message in run-tests so that we can export the log to PR as long as the CI is dead * add unfold to make ConstFold verify * message out of the loop * typo in script * add mutablesets in the tests nightly * error in verify script for set + error in run-test scripts making all passing * run all tests once * run on laraquad2 * remove laraquad2 requirement * with VCs admit back * remove cache
- Loading branch information
1 parent
1b4745d
commit b209422
Showing
60 changed files
with
491 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
stainless-dotty src/main/scala/terverak/**/*.scala "$@" | ||
stainless-dotty src/main/scala/terverak/**/*.scala "$@" $1 |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
stainless-dotty\ | ||
CachedFunction.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/chassot/ListMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/chassot/ListLongMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/chassot/MutableHashMap.scala \ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/chassot/MutableLongMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/chassot/iMutableMaps.scala\ | ||
--config-file=stainless.conf --functions=CachedFunction._ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/map/ListMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/map/ListLongMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/map/MutableHashMap.scala \ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/map/MutableLongMap.scala\ | ||
../data-structures/maps/mutablemaps/src/main/scala/ch/epfl/map/iMutableMaps.scala\ | ||
--config-file=stainless.conf --functions=CachedFunction._\ | ||
$1 |
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...scala/ch/epfl/chassot/EfficientFill.scala → ...ain/scala/ch/epfl/map/EfficientFill.scala
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
2 changes: 1 addition & 1 deletion
2
...h/epfl/chassot/ListLongMap-onlyCode.scala → ...la/ch/epfl/map/ListLongMap-onlyCode.scala
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
2 changes: 1 addition & 1 deletion
2
...n/scala/ch/epfl/chassot/ListLongMap.scala → .../main/scala/ch/epfl/map/ListLongMap.scala
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
12 changes: 6 additions & 6 deletions
12
...src/main/scala/ch/epfl/chassot/Main.scala → ...aps/src/main/scala/ch/epfl/map/Main.scala
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
Oops, something went wrong.