From f7374c03afe8ba5c0e3278772a634310decb7cfb Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Fri, 11 Oct 2024 14:55:45 +0800 Subject: [PATCH] rename analysis pool to insight pool --- expo/insights/instruction_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expo/insights/instruction_generator.py b/expo/insights/instruction_generator.py index ae6c742fb..330795730 100644 --- a/expo/insights/instruction_generator.py +++ b/expo/insights/instruction_generator.py @@ -36,7 +36,7 @@ class InstructionGenerator: def __init__(self, file_path, use_fixed_insights=False): self.file_path = file_path self.use_fixed_insights = use_fixed_insights - self.analysis_pool = self.load_analysis_pool(file_path, use_fixed_insights) + self.analysis_pool = self.load_insight_pool(file_path, use_fixed_insights) self.proposer = SolutionDesigner() @staticmethod @@ -76,7 +76,7 @@ class InstructionGenerator: return new_data @staticmethod - def load_analysis_pool(file_path, use_fixed_insights, task_id=None): + def load_insight_pool(file_path, use_fixed_insights, task_id=None): data = InstructionGenerator.load_json_data(file_path) if use_fixed_insights: current_directory = os.path.dirname(__file__)