Amal Nimmy Lal commited on
Commit ·
dd7fe20
1
Parent(s): 782bef2
Added sample resume , jd, job role in test.py
Browse files- core/answering_competitor.py +1 -110
- core/test.py +81 -33
core/answering_competitor.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
from model import generate_response
|
|
|
|
| 2 |
|
| 3 |
class Answering_competitor:
|
| 4 |
def __init__(self,resume,job_description,difficulty_level,questions):
|
|
@@ -119,116 +120,6 @@ class Answering_competitor:
|
|
| 119 |
return answers
|
| 120 |
|
| 121 |
if __name__=="__main__":
|
| 122 |
-
resume= """
|
| 123 |
-
ALEX JOHNSON
|
| 124 |
-
Email: alex.johnson@email.com | Phone: (555) 123-4567
|
| 125 |
-
Address: Seattle, WA 98101 | LinkedIn: linkedin.com/in/alexjohnson
|
| 126 |
-
GitHub: github.com/ajohnson
|
| 127 |
-
|
| 128 |
-
PROFESSIONAL SUMMARY
|
| 129 |
-
Detail-oriented Computer Engineer with a strong foundation in software development and hardware systems.
|
| 130 |
-
Skilled in programming languages including Python, Java, and C++.
|
| 131 |
-
Passionate about creating efficient solutions and implementing new technologies.
|
| 132 |
-
|
| 133 |
-
EDUCATION
|
| 134 |
-
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING
|
| 135 |
-
University of Washington
|
| 136 |
-
2018 - 2022
|
| 137 |
-
Relevant Coursework: Computer Architecture, Digital Systems Design, Software Engineering, Database Systems, Operating Systems
|
| 138 |
-
|
| 139 |
-
TECHNICAL SKILLS
|
| 140 |
-
• Programming Languages: Python, Java, C++, JavaScript
|
| 141 |
-
• Hardware: PCB Design, Microcontroller Programming, Digital Circuit Design
|
| 142 |
-
• Software: MATLAB, Visual Studio, Git, Linux/Unix
|
| 143 |
-
• Web Technologies: HTML, CSS, React.js
|
| 144 |
-
• Database Systems: SQL, MongoDB
|
| 145 |
-
|
| 146 |
-
PROJECTS
|
| 147 |
-
SMART HOME MONITORING SYSTEM
|
| 148 |
-
• Designed and built an IoT-based monitoring system using Raspberry Pi and Arduino
|
| 149 |
-
• Implemented sensors for temperature, humidity, and motion detection
|
| 150 |
-
• Created a web interface for remote monitoring using React.js and Node.js
|
| 151 |
-
|
| 152 |
-
INVENTORY MANAGEMENT APPLICATION
|
| 153 |
-
• Developed a desktop application for inventory tracking using Java
|
| 154 |
-
• Implemented database functionality with MySQL for data persistence
|
| 155 |
-
• Created user-friendly interface with filtering and reporting capabilities
|
| 156 |
-
|
| 157 |
-
EXPERIENCE
|
| 158 |
-
SOFTWARE ENGINEERING INTERN
|
| 159 |
-
TechSolutions Inc. | Seattle, WA
|
| 160 |
-
Summer 2021
|
| 161 |
-
• Assisted in developing and testing code for client-facing applications
|
| 162 |
-
• Participated in code reviews and debugging sessions
|
| 163 |
-
• Collaborated with team members using Agile methodology
|
| 164 |
-
• Documented software processes and requirements
|
| 165 |
-
|
| 166 |
-
COMPUTER LAB ASSISTANT
|
| 167 |
-
University of Washington | Seattle, WA
|
| 168 |
-
2019 - 2022
|
| 169 |
-
• Assisted students with hardware and software troubleshooting
|
| 170 |
-
• Maintained lab equipment and installed software updates
|
| 171 |
-
• Conducted basic workshops on programming fundamentals
|
| 172 |
-
|
| 173 |
-
CERTIFICATIONS
|
| 174 |
-
• CompTIA A+ Certification - 2021
|
| 175 |
-
• Cisco Certified Network Associate (CCNA) - 2022
|
| 176 |
-
"""
|
| 177 |
-
|
| 178 |
-
jd="""
|
| 179 |
-
COMPANY: Tech Innovations Inc.
|
| 180 |
-
LOCATION: San Francisco, CA (Hybrid)
|
| 181 |
-
POSITION: Software Engineer
|
| 182 |
-
|
| 183 |
-
ABOUT US:
|
| 184 |
-
Tech Innovations Inc. is a leading software company specializing in cloud-based solutions and AI-driven applications.
|
| 185 |
-
We are currently seeking a talented and motivated Software Engineer to join our growing development team.
|
| 186 |
-
|
| 187 |
-
JOB DESCRIPTION:
|
| 188 |
-
We are looking for a Software Engineer with strong programming skills to design, develop, and maintain efficient, reusable, and reliable code. You will be part of a cross-functional team that is responsible for the full software development life cycle, from conception to deployment.
|
| 189 |
-
|
| 190 |
-
RESPONSIBILITIES:
|
| 191 |
-
• Design and develop high-quality software solutions that meet project requirements
|
| 192 |
-
• Write clean, maintainable, and efficient code following best practices
|
| 193 |
-
• Collaborate with cross-functional teams to define, design, and ship new features
|
| 194 |
-
• Troubleshoot, debug, and upgrade existing systems
|
| 195 |
-
• Participate in code reviews and mentor junior developers
|
| 196 |
-
• Work with product managers to understand end-user requirements and translate them into technical specifications
|
| 197 |
-
• Ensure the performance, quality, and responsiveness of applications
|
| 198 |
-
• Monitor and improve application performance and reliability
|
| 199 |
-
|
| 200 |
-
REQUIREMENTS:
|
| 201 |
-
• Bachelor's degree in Computer Science, Engineering, or related field
|
| 202 |
-
• 2+ years of professional software development experience
|
| 203 |
-
• Strong proficiency in one or more programming languages (Java, Python, C++, JavaScript)
|
| 204 |
-
• Experience with front-end technologies (React, Angular, or Vue.js)
|
| 205 |
-
• Knowledge of database systems (SQL, NoSQL) and data structures
|
| 206 |
-
• Familiarity with version control tools (Git) and continuous integration processes
|
| 207 |
-
• Strong problem-solving skills and attention to detail
|
| 208 |
-
• Excellent communication and teamwork skills
|
| 209 |
-
• Experience with cloud services (AWS, Azure, or GCP) preferred
|
| 210 |
-
• Knowledge of agile development methodologies
|
| 211 |
-
|
| 212 |
-
WHAT WE OFFER:
|
| 213 |
-
• Competitive salary and benefits package
|
| 214 |
-
• Professional growth opportunities
|
| 215 |
-
• Flexible work arrangements
|
| 216 |
-
• Collaborative and innovative work environment
|
| 217 |
-
• Opportunity to work with cutting-edge technologies
|
| 218 |
-
• Regular team building activities and events
|
| 219 |
-
|
| 220 |
-
Tech Innovations Inc. is an equal opportunity employer. We celebrate diversity and are committed to creating an inclusive environment for all employees.
|
| 221 |
-
|
| 222 |
-
"""
|
| 223 |
-
|
| 224 |
-
questions= [
|
| 225 |
-
"Tell me about your experience with software development and how it prepares you for this role.",
|
| 226 |
-
"Describe a challenging project you worked on and how you approached problem-solving during its development.",
|
| 227 |
-
"How do you stay current with emerging technologies and programming languages in the fast-paced tech industry?",
|
| 228 |
-
"Can you share your experience working in Agile development environments and how you collaborate with cross-functional teams?",
|
| 229 |
-
"What experience do you have with cloud services, and how have you implemented them in your previous projects?"
|
| 230 |
-
]
|
| 231 |
-
|
| 232 |
obj=Answering_competitor(resume,jd,20,questions)
|
| 233 |
factors=obj.extract_factors()
|
| 234 |
obj.determine_enhancement()
|
|
|
|
| 1 |
from model import generate_response
|
| 2 |
+
from test import resume, jd,questions
|
| 3 |
|
| 4 |
class Answering_competitor:
|
| 5 |
def __init__(self,resume,job_description,difficulty_level,questions):
|
|
|
|
| 120 |
return answers
|
| 121 |
|
| 122 |
if __name__=="__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
obj=Answering_competitor(resume,jd,20,questions)
|
| 124 |
factors=obj.extract_factors()
|
| 125 |
obj.determine_enhancement()
|
core/test.py
CHANGED
|
@@ -1,33 +1,81 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
resume = """
|
| 2 |
+
TAYLOR MORGAN
|
| 3 |
+
Email: taylor.morgan@email.com | Phone: (555) 987-6543
|
| 4 |
+
Address: Seattle, WA 98101 | LinkedIn: linkedin.com/in/taylormorgan
|
| 5 |
+
GitHub: github.com/tmorgan
|
| 6 |
+
|
| 7 |
+
PROFESSIONAL SUMMARY
|
| 8 |
+
Software Developer with 3 years of experience building web applications using React and Node.js. Strong knowledge of JavaScript, HTML/CSS, and database design. Passionate about creating intuitive user experiences and writing clean, maintainable code.
|
| 9 |
+
|
| 10 |
+
EDUCATION
|
| 11 |
+
BACHELOR OF SCIENCE IN COMPUTER SCIENCE
|
| 12 |
+
University of Washington
|
| 13 |
+
2018 - 2022
|
| 14 |
+
|
| 15 |
+
TECHNICAL SKILLS
|
| 16 |
+
• Front-end: React, JavaScript, HTML5, CSS3, TypeScript
|
| 17 |
+
• Back-end: Node.js, Express, Python
|
| 18 |
+
• Database: MongoDB, PostgreSQL, MySQL
|
| 19 |
+
• Tools: Git, Docker, AWS, Jest
|
| 20 |
+
|
| 21 |
+
EXPERIENCE
|
| 22 |
+
JUNIOR SOFTWARE DEVELOPER
|
| 23 |
+
TechSolutions Inc. | Seattle, WA
|
| 24 |
+
2022 - Present
|
| 25 |
+
• Developed and maintained React components for customer-facing web applications
|
| 26 |
+
• Collaborated with design team to implement responsive UI features
|
| 27 |
+
• Reduced page load time by 30% through code optimization
|
| 28 |
+
• Participated in code reviews and contributed to team documentation
|
| 29 |
+
|
| 30 |
+
PROJECTS
|
| 31 |
+
ECOMMERCE PLATFORM
|
| 32 |
+
• Built a full-stack ecommerce site using React, Node.js and MongoDB
|
| 33 |
+
• Implemented secure payment processing with Stripe API
|
| 34 |
+
• Created admin dashboard for product and inventory management
|
| 35 |
+
"""
|
| 36 |
+
jd= """
|
| 37 |
+
COMPANY: DataViz Technologies
|
| 38 |
+
LOCATION: Remote (US-based)
|
| 39 |
+
POSITION: Front-End Developer
|
| 40 |
+
|
| 41 |
+
ABOUT US:
|
| 42 |
+
DataViz Technologies specializes in data visualization tools and analytics dashboards for business intelligence. Our products help companies make sense of complex data through intuitive visual interfaces.
|
| 43 |
+
|
| 44 |
+
JOB DESCRIPTION:
|
| 45 |
+
We're looking for a talented Front-End Developer to join our growing product team. You'll be responsible for building and optimizing user interfaces that make complex data accessible and actionable.
|
| 46 |
+
|
| 47 |
+
RESPONSIBILITIES:
|
| 48 |
+
• Develop new user-facing features using React.js
|
| 49 |
+
• Build reusable components and libraries for future use
|
| 50 |
+
• Translate designs and wireframes into high-quality code
|
| 51 |
+
• Optimize components for maximum performance across devices
|
| 52 |
+
• Collaborate with back-end developers to integrate UI with API services
|
| 53 |
+
|
| 54 |
+
REQUIREMENTS:
|
| 55 |
+
• 2+ years experience with React.js and modern JavaScript (ES6+)
|
| 56 |
+
• Strong proficiency in HTML5, CSS3, and responsive design
|
| 57 |
+
• Experience with state management (Redux, Context API)
|
| 58 |
+
• Understanding of REST APIs and asynchronous request handling
|
| 59 |
+
• Knowledge of browser testing and debugging
|
| 60 |
+
• Familiarity with code versioning tools (Git)
|
| 61 |
+
• Experience with data visualization libraries (D3.js, Chart.js) is a plus
|
| 62 |
+
|
| 63 |
+
WHAT WE OFFER:
|
| 64 |
+
• Competitive salary and benefits
|
| 65 |
+
• Flexible remote work policy
|
| 66 |
+
• Professional development budget
|
| 67 |
+
• Collaborative, innovative team environment
|
| 68 |
+
"""
|
| 69 |
+
|
| 70 |
+
jr="Front-End Developer"
|
| 71 |
+
|
| 72 |
+
questions= [
|
| 73 |
+
"Tell me about your experience with software development and how it prepares you for this role.",
|
| 74 |
+
"Describe a challenging project you worked on and how you approached problem-solving during its development.",
|
| 75 |
+
"How do you stay current with emerging technologies and programming languages in the fast-paced tech industry?",
|
| 76 |
+
"Can you share your experience working in Agile development environments and how you collaborate with cross-functional teams?",
|
| 77 |
+
"What experience do you have with cloud services, and how have you implemented them in your previous projects?"
|
| 78 |
+
]
|
| 79 |
+
|
| 80 |
+
if __name__ == "__main__":
|
| 81 |
+
print("Test data loaded")
|