Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions utils/recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,21 @@
"time": 1,
}

# Common aliases and abbreviations for skills.
# This improves recommendation accuracy by normalizing user input.
WEIGHT_SKILL = SCORING_WEIGHTS["skill"]
WEIGHT_LEVEL = SCORING_WEIGHTS["level"]
WEIGHT_INTEREST = SCORING_WEIGHTS["interest"]
WEIGHT_TIME = SCORING_WEIGHTS["time"]

VALID_INTERESTS = {
"web", "data", "education", "automation", "games",
"cybersecurity", "devops", "mobile", "machine learning/ai",
"artificial intelligence", "cloud computing", "mobile app development",
"backend", "tools", "productivity", "business logic"
}
VALID_TIMES = {"low", "medium", "high"}

# Common aliases and abbreviations for skills
# This improves recommendation accuracy by normalizing user input
SKILL_ALIASES = {
"js": "javascript",
"py": "python",
Expand Down
Loading