From 0d524aa08c8d0fbe48862f16a1da20e202fce684 Mon Sep 17 00:00:00 2001 From: FiveMovesAhead Date: Fri, 11 Jul 2025 09:34:35 +0100 Subject: [PATCH] Skip not yet active challenges. --- tig-benchmarker/master/master/job_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tig-benchmarker/master/master/job_manager.py b/tig-benchmarker/master/master/job_manager.py index f04883d..c278d88 100644 --- a/tig-benchmarker/master/master/job_manager.py +++ b/tig-benchmarker/master/master/job_manager.py @@ -67,10 +67,12 @@ class JobManager: self.hash_thresholds[x.details.block_started] = { c['id']: c['block_data']['hash_threshold'] for c in d["challenges"] + if c['state']['round_active'] <= block.details.round } self.average_solution_ratio[x.details.block_started] = { c['id']: c['block_data']['average_solution_ratio'] for c in d["challenges"] + if c['state']['round_active'] <= block.details.round } hash_threshold = self.hash_thresholds[x.details.block_started][x.settings.challenge_id] average_solution_ratio = self.average_solution_ratio[x.details.block_started][x.settings.challenge_id]