Add files via upload

This commit is contained in:
PYDT authored and GitHub committed 2023-10-27 00:33:05 +08:00
1 parent bfcd00acec
commit 89513b2c0d
1 file changed
+1 -1
+1 -1
View File
@@ -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