"""
BusinessSelfAssessment
Generated by Eden via recursive self-improvement
2025-11-01 15:18:03.111796
"""

class BusinessSelfAssessment:
    def __init__(self):
        self.questions = [
            "Do you have a clear business idea or vision?",
            "Are your goals well-defined and measurable?",
            "Can you manage time effectively to balance work and life?",
            "Are you prepared for the financial aspects of starting a business?",
            "How do you handle stress and challenges in a business environment?"
        ]
        self.scores = {}

    def ask_questions(self):
        print("Welcome to your Business Self-Assessment. Please answer yes or no.")
        for question in self.questions:
            while True:
                response = input(question + " (yes/no): ")
                if response.lower() == 'yes':
                    self.scores[question] = 1
                    break
                elif response.lower() == 'no':
                    self.scores[question] = -1
                    break
                else:
                    print("Please respond with either 'yes' or 'no'.")
        return self.scores

    def generate_report(self, scores):
        total_score = sum(scores.values())
        if total_score >= 4:
            print("\nYou have a strong entrepreneurial spirit! Keep up the good work.")
        elif 0 < total_score < 4:
            print("\nThere's room for improvement. Focus on areas where you scored lower to enhance your business potential.")
        else:
            print("\nConsider revisiting your goals and strategies. Starting a business requires significant commitment.")

# Example usage
if __name__ == "__main__":
    assessment = BusinessSelfAssessment()
    scores = assessment.ask_questions()
    assessment.generate_report(scores)