@@ -10,7 +10,7 @@ def __init__(self, system_prompt: str, client, model: str):
1010 self .model = model
1111
1212 def generate_observations (self , problem : str , num_observations : int = 3 ) -> List [str ]:
13- prompt = f"""You are an expert Python programmer. You will be given an competitive programming question
13+ prompt = f"""You are an expert Python programmer. You will be given a competitive programming question
1414(problem specification). You will return several useful, non-obvious, and correct observations
1515about the problem, like hints to solve the problem. You will NOT return any code. Be as
1616creative as possible, going beyond what you think is intuitively correct.
@@ -32,7 +32,7 @@ def generate_observations(self, problem: str, num_observations: int = 3) -> List
3232 return [obs .strip () for obs in observations if obs .strip ()]
3333
3434 def generate_derived_observations (self , problem : str , observations : List [str ], num_new_observations : int = 2 ) -> List [str ]:
35- prompt = f"""You are an expert Python programmer. You will be given an competitive programming question
35+ prompt = f"""You are an expert Python programmer. You will be given a competitive programming question
3636(problem specification) and several correct observations about the problem.
3737You will brainstorm several new, useful, and correct observations about the problem, derived
3838from the given observations. You will NOT return any code. Be as creative as possible, going
0 commit comments