-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add sensitivity tests for correctness
- Loading branch information
1 parent
48c3eba
commit 23b86f2
Showing
8 changed files
with
284 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ setuptools | |
pre-commit | ||
ml_collections | ||
absl-py | ||
pytest | ||
tox | ||
black | ||
pytest | ||
|
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,15 +1,19 @@ | ||
# Tests | ||
|
||
To run all the tests, simply type | ||
To run all the tests, start from the root and simply type | ||
|
||
```bash | ||
cd test/ | ||
pytest . | ||
``` | ||
|
||
To run a specific test, type | ||
To run a specific test , type | ||
|
||
```bash | ||
python test_<name>.py | ||
cd test/ | ||
python test_<name1>.py Test<name2>.test_<name3> | ||
``` | ||
|
||
where `<name>` is the name of the test file. | ||
where `<name1>, <name2>, <name3>` are the names of the test file, the class and the test function, respectively. | ||
|
||
By default, tests are not run on GPU to enfore reproducibility. |
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.