Auto_Jobs_Applier_AIHawk is a tool that automates the jobs application process. Utilizing artificial intelligence, it enables users to apply for multiple job offers in an automated and personalized way.
Other
21.29k
stars
3.09k
forks
source link
[BUG]: Incorrect key prevents experienceLevel filter from working in search #696
In the src/aihawk_job_manager.py file, the get_base_search_url function incorrectly references the experience_level key instead of the correct experienceLevel key when extracting values. As a result, the experience level filter does not function as intended during search operations. Instead of returning the expected list of experience levels, the function returns an empty list. This issue hinders the ability to filter job searches based on the specified experience levels.
Steps to reproduce
Go to data_folder/config.yaml file.
Update the experienceLevel section to ensure that at least one value is set to true.
For example:
The experience_levels list in should contain indices for the True values in experienceLevel, allowing the search functionality to filter based on experience levels.
Actual behavior
The experience_levels list is empty due to the incorrect key, which prevents the experienceLevel filter from applying correctly during a search.
Describe the Bug
In the
src/aihawk_job_manager.py
file, theget_base_search_url
function incorrectly references theexperience_level
key instead of the correctexperienceLevel
key when extracting values. As a result, the experience level filter does not function as intended during search operations. Instead of returning the expected list of experience levels, the function returns an empty list. This issue hinders the ability to filter job searches based on the specified experience levels.Steps to reproduce
data_folder/config.yaml
file.experienceLevel
section to ensure that at least one value is set to true. For example:Expected behavior
The
experience_levels
list in should contain indices for theTrue
values inexperienceLevel
, allowing the search functionality to filter based on experience levels.Actual behavior
The
experience_levels
list is empty due to the incorrect key, which prevents theexperienceLevel
filter from applying correctly during a search.Branch
main
Branch name
No response
Python version
Python 3.12.7
LLM Used
gemini
Model used
gemini-pro
Additional context
No response