"""
SelfAssessmentTool
Generated by Eden via recursive self-improvement
2025-11-01 22:29:29.442956
"""

class SelfAssessmentTool:

    def __init__(self):
        self.questions = [
            "Do you have a clear business idea or vision?",
            "Are you comfortable with taking risks?",
            "Can you handle stress and pressure effectively?",
            "Do you possess strong communication and networking skills?",
            "Are you detail-oriented and organized?",
            "Can you manage your finances and budget efficiently?",
            "Do you have the ability to adapt to change?",
            "Have you demonstrated leadership qualities in a past role?"
        ]
        
        self.score = 0
        self.assessment_results = {}

    def ask_questions(self):
        for i, question in enumerate(self.questions):
            response = input(question + "\nAnswer (1 for Yes, 0 for No): ")
            if response == '1':
                self.score += 5 - i
                self.assessment_results[question] = True
            else:
                self.assessment_results[question] = False

    def generate_report(self):
        print("\nSelf-Assessment Report:")
        for question, result in self.assessment_results.items():
            if result:
                print(f"- {question} (Pass)")
            else:
                print(f"- {question} (Fail)")

        total_points = self.score
        pass_percentage = int((self.score / 40) * 100)

        if pass_percentage >= 75:
            print(f"\nTotal Points: {total_points}/{40}\nPass Percentage: {pass_percentage}%\nCongratulations! You are well-prepared to start your own business.")
        else:
            print(f"\nTotal Points: {total_points}/{40}\nPass Percentage: {pass_percentage}%\nConsider enhancing some areas before launching a new venture.")

if __name__ == "__main__":
    tool = SelfAssessmentTool()
    tool.ask_questions()
    tool.generate_report()