"""
SelfAssessmentAI
Generated by Eden via recursive self-improvement
2025-11-01 15:30:25.502360
"""

class SelfAssessmentAI:
    def __init__(self):
        self.questions = [
            "Do you have a clear understanding of your market needs and trends?",
            "Can you effectively communicate the value proposition of your business to stakeholders?",
            "Have you identified key challenges in your industry that you can innovate around?",
            "How do you handle stress and pressure, especially during high-demand periods?",
            "What strategies do you use for continuous learning and improvement within your business?"
        ]
        
    def ask_questions(self):
        scores = {}
        for question in self.questions:
            response = input(f"{question} (Enter 1-5: 1=Strongly Disagree, 3=Neutral, 5=Strongly Agree) ")
            try:
                score = int(response)
                if 1 <= score <= 5:
                    scores[question] = score
                else:
                    raise ValueError("Invalid response. Please enter a number between 1 and 5.")
            except ValueError as e:
                print(e)
        return scores
    
    def provide_insights(self, scores):
        total_score = sum(scores.values())
        average_score = total_score / len(scores)
        
        if average_score >= 4.0:
            print("Based on your responses, you have a strong entrepreneurial spirit and a clear understanding of business dynamics.")
        elif average_score >= 3.0:
            print("Your assessment shows a good balance between strengths and areas for improvement. Keep refining your skills.")
        else:
            print("There are some gaps in your self-assessment that may require further development to fully leverage your entrepreneurial potential.")

if __name__ == "__main__":
    assessment = SelfAssessmentAI()
    responses = assessment.ask_questions()
    assessment.provide_insights(responses)