From 4f7be2c76c6ccb614456bbb6f31d93eb4b99efdd Mon Sep 17 00:00:00 2001 From: HaoYizhi Date: Tue, 14 Mar 2023 19:11:10 +0800 Subject: [PATCH] formatting --- conf_experiment.yaml | 8 ++++---- controller_db.py | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/conf_experiment.yaml b/conf_experiment.yaml index 27be028..5e04018 100644 --- a/conf_experiment.yaml +++ b/conf_experiment.yaml @@ -5,10 +5,10 @@ meta_seed: 0 test: # only for test scenarios n_sample: 1 - n_iter: 100 - n_max_trial: 3 + n_iter: 20 + n_max_trial: 10 not_test: # normal scenarios n_sample: 50 - n_iter: 100 - n_max_trial: 3 + n_iter: 20 + n_max_trial: 10 diff --git a/controller_db.py b/controller_db.py index 171721e..76f6928 100644 --- a/controller_db.py +++ b/controller_db.py @@ -48,8 +48,6 @@ class ControllerDB: for product_code in row.index[row == 1].to_list(): dct = {code: [product_code]} list_dct.append(dct) - # break - # break # list_dct = [{'140': ['1.4.5.1']}] list_dct = [{'133': ['1.4.4.1']}] # list_dct = [{'2': ['1.1.3']}]