feder-cr / Auto_Jobs_Applier_AIHawk

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

Open SapirKro opened 14 hours ago

SapirKro commented 14 hours ago

Describe the Bug

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

  1. Go to data_folder/config.yaml file.
  2. Update the experienceLevel section to ensure that at least one value is set to true. For example:
    experienceLevel:
     internship: true
     entry: true
     associate: true
     mid-senior level: true
     director: false
     executive: false

Expected behavior

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.

Branch

main

Branch name

No response

Python version

Python 3.12.7

LLM Used

gemini

Model used

gemini-pro

Additional context

No response

cjbbb commented 8 hours ago

I will check