From 29866e5dbffe4f2b8792e146603e9fe40f801a52 Mon Sep 17 00:00:00 2001 From: zhiyang7 Date: Mon, 27 Dec 2021 11:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98eval=20worker=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douzero/server/battle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/douzero/server/battle.py b/douzero/server/battle.py index 05a2ef3..76992e7 100644 --- a/douzero/server/battle.py +++ b/douzero/server/battle.py @@ -25,7 +25,7 @@ def battle_logic(baseline : Baseline, battle : Battle): challenger_baseline['landlord_front_path'], challenger_baseline['landlord_down_path'], eval_data_first, - 1, + 3, False, 'New') def _second_eval(landlord_wp, farmer_wp, landlord_adp, farmer_adp): @@ -35,7 +35,7 @@ def battle_logic(baseline : Baseline, battle : Battle): challenger_baseline['landlord_front_path'], challenger_baseline['landlord_down_path'], eval_data_second, - 1, + 3, False, 'New') return (landlord_wp + landlord_wp_2 * 4.0) / 5, \