Add files via upload
This commit is contained in:
1 file changed
+1
-1
@@ -843,7 +843,7 @@ class MainWindow_Controller(QMainWindow):
|
||||
max_vfl = max(len(set(fn) & set(vfl)) / len(set(fn) | set(vfl)) for vfl in function_list)
|
||||
max_sfl = max(len(set(fn) & set(sfl)) / len(set(fn) | set(sfl)) for sfl in function_list_safe)
|
||||
print(f'Virus:{int(max_vfl * 100)}%, Safe:{int(max_sfl * 100)}%, Gap:{int((max_vfl - max_sfl) * 100)}')
|
||||
return max_vfl > max_sfl
|
||||
return max_vfl - max_sfl > 0.1
|
||||
except:
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user