From 67dc1fc13e488dea008a949af240a7ee6d16e9d6 Mon Sep 17 00:00:00 2001 From: Haoran Pan <167847254+TPLin22@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:12:08 +0800 Subject: [PATCH] avoid selecting the same components too many times (#654) --- rdagent/scenarios/data_science/proposal/prompts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rdagent/scenarios/data_science/proposal/prompts.yaml b/rdagent/scenarios/data_science/proposal/prompts.yaml index 044ece1c..5ca2acce 100644 --- a/rdagent/scenarios/data_science/proposal/prompts.yaml +++ b/rdagent/scenarios/data_science/proposal/prompts.yaml @@ -274,7 +274,7 @@ component_gen: You will be provided the feedback for the latest implementation. - Please select the component you are going to improve the latest implementation or sota implementation. + Please select the component you are going to improve the latest implementation or sota implementation. Please generate the output in JSON format following the format below: {{ component_output_format }} @@ -290,6 +290,7 @@ component_gen: {{ component_and_feedback_df }} Please choose the most proper component to focus on based on the information above. Please balance the exploration and exploitation. + Avoid selecting the same component more than 5 times in a row to ensure that the chosen component is not overly repetitive. exp_and_feedback: |-