changed completion criteria for approximate cycletarget
This commit is contained in:
@@ -170,7 +170,9 @@ def is_session_complete_ws(ws,ps):
|
||||
else:
|
||||
return ratio,'partial'
|
||||
else:
|
||||
if ratio>0.8 and ratio<1.2:
|
||||
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':
|
||||
return ratio,'completed'
|
||||
else:
|
||||
return ratio,'partial'
|
||||
|
||||
Reference in New Issue
Block a user