-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not force set path for cache/data
- Loading branch information
1 parent
f9e0e15
commit b02694a
Showing
5 changed files
with
86 additions
and
33 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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
""" | ||
Test attack implementations. Consists of basic execution tests to make sure attack works as expected and returns values as expected. | ||
""" | ||
import pytest | ||
|
||
|
||
class TestAttack: | ||
def test_attack_shape(self): | ||
# Check 1 - attack accepts inputs in given shape, and works for both text-based and tokenized inputs | ||
pass | ||
|
||
def test_attack_scores_shape(self): | ||
# Check 2 - scores returned match exepected shape | ||
pass | ||
|
||
def test_attack_score_range(self): | ||
# Check 3 - scores match expected range | ||
pass | ||
|
||
def test_attack_auc(self): | ||
# Check 4 (TODO) - Attack AUC is not horribly bad | ||
pass |