Resume Matcher is an open source, free tool to improve your resume. It works by using language models to compare and rank resumes with job descriptions.
Fixed having less than 2 resumes causes an error: "IndexError: list index out of range"
Related Issue
117
Description
This PR fixes an issue where users having at most 2 resumes in their Data directory will have errors in certain conditions.
It will also improve the UX: For example, if the user added only 1 resume, we should remove the slider. On the other hand, if he has no resumes, a warning should appear reminding him to add a resume.
Type
[x] Bug Fix
[x] Feature Enhancement
[ ] Documentation Update
[ ] Code Refactoring
[ ] Other (please specify):
Proposed Changes
Add condition when there are no resumes
Add condition when there is only 1 resume (remove slider and display only text)
Fix slider indexing when the user has precisely 2 resumes.
Screenshots / Code Snippets (if applicable)
No resumes:
1 resume:
2 resumes:
More than 2 resumes:
How to Test
Launch the app after removing all current items in the Data folder.
Conditions:
2.1. Keep it with no resumes, then refresh tab and test.
2.2. Add exactly 1 resume, then refresh tab and test.
2.3. Add exactly 2 resumes, then refresh tab and test.
Checklist
[x] The code compiles successfully without any errors or warnings
[x] The changes have been tested and verified
[ ] The documentation has been updated (if applicable)
[x] The changes follow the project's coding guidelines and best practices
[x] The commit messages are descriptive and follow the project's guidelines
[x] All tests (if applicable) pass successfully
[x] This pull request has been linked to the related issue (if applicable)
Pull Request Title
Fixed having less than 2 resumes causes an error: "IndexError: list index out of range"
Related Issue
117
Description
This PR fixes an issue where users having at most 2 resumes in their Data directory will have errors in certain conditions. It will also improve the UX: For example, if the user added only 1 resume, we should remove the slider. On the other hand, if he has no resumes, a warning should appear reminding him to add a resume.
Type
Proposed Changes
Screenshots / Code Snippets (if applicable)
No resumes:
1 resume:
2 resumes:
More than 2 resumes:
How to Test
Checklist
Additional Information