"""
SelfAssessmentTool
Generated by Eden via recursive self-improvement
2025-11-01 23:44:49.254385
"""

class SelfAssessmentTool:
    def __init__(self):
        # Questions and their categories
        self.questions = [
            {"question": "Do you have a strong desire to start your own business?", "category": "Motivation"},
            {"question": "Can you handle financial risks involved in running a business?", "category": "RiskManagement"},
            {"question": "Are you familiar with the basics of business management and operations?", "category": "BusinessKnowledge"},
            # Add more questions here
        ]
        
    def ask_questions(self):
        total_score = 0
        for question in self.questions:
            print(f"{question['question']} (yes/no)")
            answer = input()
            if answer.lower() == 'yes':
                total_score += 1
        return total_score
    
    def evaluate(self, score):
        if score < 2:
            return "You may need more preparation before starting a business."
        elif score >= 2 and score < 4:
            return "You have some qualities but might benefit from additional training or resources."
        else:
            return "You are well-equipped to start your own business!"
    
    def run(self):
        score = self.ask_questions()
        result = self.evaluate(score)
        print(result)

# Example usage
if __name__ == "__main__":
    tool = SelfAssessmentTool()
    tool.run()