Fix job search: location filtering, keyword quality, anchor filter bypass #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Three related bugs prevent ejobs.ro and bestjobs.eu from returning job matches:
Stage 2 anchor filter too strict - HtmlJobSearcher rejects anchors whose text doesn't contain a CV keyword. Romanian job titles rarely contain abstract LLM keywords like 'leadership' or 'microservices', so every result is dropped (Grafana: 74 anchors found, 26 passed href filter, 0 passed keyword filter).
LLM extracts abstract keywords, not job-board search terms - The prompt produces concepts like '.NET leadership cloud microservices DevOps' that are poor search terms. Better: concise role + tech (e.g. 'Senior .NET Developer', 'C#', 'Azure').
No location filtering - All providers search without a city filter so LinkedIn returns jobs from any country.
Fix 1 - Per-provider RequireKeywordInAnchor flag
Fix 2 - Better keyword extraction
Fix 3 - Location extraction and URL filtering
Files to change