evaluator_prompt = """ Evaluate this following code implementation for:
- code correctness
- time complexity
- style and best practices
You should be evaluating only and not attemping to solve the task. Only output "PASS" if all criteria are met and you have no further suggestions for improvements. Output your evaluation concisely in the following format.
PASS, NEEDS_IMPROVEMENT, or FAIL What needs improvement and why. """
generator_prompt = """ Your goal is to complete the task based on . If there are feedback from your previous generations, you should reflect on them to improve your solution
Output your answer concisely in the following format:
[Your understanding of the task and feedback and how you plan to improve] [Your code implementation here] """task = """ Implement a Stack with:
- push(x)
- pop()
- getMin() All operations should be O(1). </user input> """
ORCHESTRATOR_PROMPT = """ Analyze this task and break it down into 2-3 distinct approaches:
Task: {task}
Return your response in this format:
Explain your understanding of the task and which variations would be valuable. Focus on how each approach serves different aspects of the task. formal Write a precise, technical version that emphasizes specifications conversational Write an engaging, friendly version that connects with readers """WORKER_PROMPT = """ Generate content based on: Task: {original_task} Style: {task_type} Guidelines: {task_description}
Return your response in this format:
Your content here, maintaining the specified style and fully addressing requirements. """prompts from the following posts https://github.com/anthropics/anthropic-cookbook/tree/main