"""
SelfEvaluationTool
Generated by Eden via recursive self-improvement
2025-11-02 11:16:37.582521
"""

class SelfEvaluationTool:
    def __init__(self):
        self.questions = [
            "How well do you understand your business goals?",
            "Do you effectively manage your time and resources?",
            "Are you able to adapt to changing market conditions?",
            "How do you handle stress and pressure in the workplace?",
            "What are your biggest strengths as a business owner?"
        ]
        self.areas_for_growth = []

    def ask_questions(self):
        print("Please answer the following questions to evaluate yourself:")
        for index, question in enumerate(self.questions, start=1):
            response = input(f"{index}. {question}\n")
            if "strength" not in response.lower():
                self.areas_for_growth.append(response)
            else:
                print("\nStrengths are great, but identifying areas for improvement is equally important.\n")

    def generate_report(self):
        report = {
            'strengths': [],
            'weaknesses': []
        }
        
        # Example input responses
        user_responses = [
            "I have a clear understanding of my business goals.",
            "Sometimes I struggle to manage my time effectively.",
            "I am adaptable, but there's room for improvement in handling unexpected changes.",
            "Stress doesn't significantly impact me, but I could improve my methods of managing it.",
            "My strengths include strategic planning and networking."
        ]
        
        # Populate the report based on responses
        for index, response in enumerate(user_responses):
            if "strength" in response.lower():
                report['strengths'].append(response)
            else:
                report['weaknesses'].append(response)

        print("\nSelf Evaluation Report:")
        print(f"Strengths: {report['strengths']}")
        print(f"Weaknesses/areas for growth: {report['weaknesses']}")

    def run_evaluation(self):
        self.ask_questions()
        self.generate_report()

# Example usage
tool = SelfEvaluationTool()
tool.run_evaluation()