Skip to content

Commit 624a640

Browse files
committed
Update task_adapter.py
1 parent 0919762 commit 624a640

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/algotune/task_adapter.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,13 @@ def replace_latex_command(match):
12091209
12101210
# Prompt Configuration - Optimal settings
12111211
prompt:
1212-
system_message: "{system_prompt}You are an expert programmer specializing in {category} algorithms. Your task is to improve the {task_name} algorithm implementation with baseline comparison.\n\nThe problem description is:\n{clean_description}\n\nFocus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness."
1212+
system_message: |
1213+
{system_prompt}You are an expert programmer specializing in {category} algorithms. Your task is to improve the {task_name} algorithm implementation with baseline comparison.
1214+
1215+
The problem description is:
1216+
{clean_description}
1217+
1218+
Focus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness.
12131219
num_top_programs: 3 # Best balance
12141220
num_diverse_programs: 2 # Best balance
12151221
include_artifacts: true # +20.7% improvement

0 commit comments

Comments
 (0)