updated criteria after the committee decided
This commit is contained in:
@@ -165,14 +165,14 @@ def is_session_complete_ws(ws,ps):
|
||||
else:
|
||||
return ratio,'partial'
|
||||
elif ps.criterium == 'minimum':
|
||||
if ratio > 1.0:
|
||||
if ratio >= 1.0:
|
||||
return ratio,'completed'
|
||||
else:
|
||||
return ratio,'partial'
|
||||
else:
|
||||
if ratio>0.8 and ratio<1.2 and ps.sessiontype=='session':
|
||||
return ratio,'completed'
|
||||
elif ratio>0.95 and ratio<1.1 and ps.sessiontype=='cycletarget':
|
||||
elif ratio>0.9167 and ratio<1.0833 and ps.sessiontype=='cycletarget':
|
||||
return ratio,'completed'
|
||||
else:
|
||||
return ratio,'partial'
|
||||
|
||||
Reference in New Issue
Block a user