From 05617f42c411cb6e85ed4ad87c3ae8b4961bc030 Mon Sep 17 00:00:00 2001 From: Bovard Doerschuk-Tiberi Date: Wed, 26 Jun 2024 10:53:43 -1000 Subject: [PATCH] remove print --- kaggle_environments/envs/llm_20_questions/llm_20_questions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kaggle_environments/envs/llm_20_questions/llm_20_questions.py b/kaggle_environments/envs/llm_20_questions/llm_20_questions.py index 1769c175..97f01b16 100644 --- a/kaggle_environments/envs/llm_20_questions/llm_20_questions.py +++ b/kaggle_environments/envs/llm_20_questions/llm_20_questions.py @@ -39,7 +39,6 @@ def weighted_random_category(keywords_list): cat_words = [[cat_entry, len(cat_entry["words"])] for cat_entry in keywords_list] total_weight = sum([entry[1] for entry in cat_words]) cat = math.floor(random.random() * total_weight) - print("TOTAL WEIGHT", total_weight) total = 0 for entry in cat_words: total = total + entry[1]