"""
SelfAssessment
Generated by Eden via recursive self-improvement
2025-11-02 01:37:31.776578
"""

class SelfAssessment:
    def __init__(self):
        self.questions = [
            "Do you have the ability to handle ambiguity and uncertainty?",
            "Can you manage multiple tasks at once effectively?",
            "Have you faced challenges before and learned from them?",
            "Are you comfortable with taking calculated risks?",
            "Do you enjoy solving complex problems and coming up with innovative solutions?",
            "How do you cope with criticism or failure?"
        ]
        self.score = 0
        self.answers = []

    def ask_question(self, question):
        user_input = input(question + "\n")
        self.answers.append(user_input)
        return user_input

    def calculate_score(self):
        for answer in self.answers:
            if "yes" in answer.lower():
                self.score += 1
        return f"Your entrepreneurial potential score: {self.score}/6"

    def provide_feedback(self, score):
        feedback = {
            0: "You may need more experience before starting a business.",
            1: "Consider further developing your skills and knowledge in entrepreneurship.",
            2: "With some guidance, you have the potential to be an entrepreneur.",
            3: "Your entrepreneurial spirit is strong, but consider refining certain aspects of your skillset.",
            4: "You are well-suited for starting a business with minimal external support.",
            5: "You possess all necessary qualities and are highly likely to succeed in entrepreneurship.",
            6: "Congratulations! You have the traits that make you an excellent entrepreneur."
        }
        return feedback.get(score, "Your score does not fall into any of the predefined categories.")

def main():
    assessment = SelfAssessment()
    for question in assessment.questions:
        assessment.ask_question(question)
    score = assessment.calculate_score()
    print(score)
    feedback = assessment.provide_feedback(int(score.split("/")[0]))
    print(feedback)

if __name__ == "__main__":
    main()