Skip to content

Commit

Permalink
checking values
Browse files Browse the repository at this point in the history
  • Loading branch information
lmickes committed Jan 7, 2025
1 parent ea1a275 commit 30a9040
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_02_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ def test_02_processing_test1_csv_descriptive_stats():
dr = pyWitness.DataRaw("../data/tutorial/test1.csv")
dp = dr.process()
dp.printDescriptiveStats()
assert(dp.dPrime == 1.9752208100241062)
assert(dp.pAUC == 0.020542013220820013)
# overall correct ID rate
assert(dp.data_rates.loc[("targetPresent", "suspectId")].max() == 0.6196868008948546)
# overall false ID rate
assert(dp.data_rates.loc[("targetAbsent", "suspectId")].max() == 0.0474040632054176)

def test_02_processing_test1_csv_response_time():
import pyWitness
Expand Down

0 comments on commit 30a9040

Please sign in to comment.