From c4c90b234d08efb2f542f61091db2ba1e6bc22d6 Mon Sep 17 00:00:00 2001
From: Dipam Chakraborty <dipam@aicrowd.com>
Date: Tue, 17 Aug 2021 15:18:48 +0530
Subject: [PATCH] fix timeout and completion threshold

---
 flatland/evaluators/service.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flatland/evaluators/service.py b/flatland/evaluators/service.py
index 92537282..c896cde5 100644
--- a/flatland/evaluators/service.py
+++ b/flatland/evaluators/service.py
@@ -50,7 +50,7 @@ m.patch()
 ########################################################
 
 # Don't proceed to next Test if the previous one didn't reach this mean completion percentage
-TEST_MIN_PERCENTAGE_COMPLETE_MEAN = float(os.getenv("TEST_MIN_PERCENTAGE_COMPLETE_MEAN", -0.05))
+TEST_MIN_PERCENTAGE_COMPLETE_MEAN = float(os.getenv("TEST_MIN_PERCENTAGE_COMPLETE_MEAN", 0.25))
 
 # After this number of consecutive timeouts, kill the submission:
 # this probably means the submission has crashed
@@ -65,7 +65,7 @@ if debug_mode:
 # 8 hours (will get debug timeout from env variable if applicable)
 OVERALL_TIMEOUT = int(os.getenv(
     "FLATLAND_OVERALL_TIMEOUT",
-    8 * 60 * 60))
+    2 * 60 * 60))
 
 # 10 mins
 INTIAL_PLANNING_TIMEOUT = int(os.getenv(
-- 
GitLab