diff --git a/src/dispatch_checker.jl b/src/dispatch_checker.jl index dfb627d..e43e493 100644 --- a/src/dispatch_checker.jl +++ b/src/dispatch_checker.jl @@ -63,21 +63,21 @@ function is_dispatchable(conn::DbConnection, psbid::Int64) nrow(extra_results) == 1 && let extra_result = Tables.rowtable(extra_results) |> first f1 = - ismissing(extra_result.insufficient_reset_with_10) && + !ismissing(extra_result.insufficient_reset_with_10) && extra_result.insufficient_reset_with_10 >= extra_result.num_tests * THRESHOLD_INSUFFICIENT_RESET_WITH_10 f2 = - ismissing(extra_result.reset_failed_though_reconfig_done) && + !ismissing(extra_result.reset_failed_though_reconfig_done) && extra_result.reset_failed_though_reconfig_done >= extra_result.num_tests * THRESHOLD_RESET_FAILED_THOUGH_RECONFIG_DONE f3 = - ismissing(extra_result.always_hit_flag_true) && + !ismissing(extra_result.always_hit_flag_true) && extra_result.always_hit_flag_true >= extra_result.num_tests * THRESHOLD_ALWAYS_HIT_FLAG_TRUE f4 = - ismissing(extra_result.bcid_fail) && + !ismissing(extra_result.bcid_fail) && extra_result.bcid_fail >= extra_result.num_tests * THRESHOLD_BCID_FAIL - @debug "" f1 f2 f3 f4 + @debug "" extra_result f1 f2 f3 f4 !(f1 || f2 || f3 || f4) end @debug "" is_extra_passed extra_results