Skip to content

fix : close unclosed SKILL_SYNONYMS dict and remove duplicate parse_skills in recommender - #1485

Open
tmdeveloper007 wants to merge 3 commits into
komalharshita:mainfrom
tmdeveloper007:#1480
Open

fix : close unclosed SKILL_SYNONYMS dict and remove duplicate parse_skills in recommender#1485
tmdeveloper007 wants to merge 3 commits into
komalharshita:mainfrom
tmdeveloper007:#1480

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Fixed a critical syntax error in src/utils/recommender.py that prevented the application from starting, and removed duplicate dead code.

Changes:

  1. Added closing } to the SKILL_SYNONYMS dictionary after the last entry ("tf": "tensorflow") — this was the root cause of SyntaxError: '{' was never closed
  2. Removed 36 lines of orphaned unreachable code (lines that were deeply indented at module level as a result of the original bug)
  3. Removed 2 duplicate parse_skills function definitions that were dead code (Python only uses the last definition)

Changes Made

  • 1 file changed, 1 insertion, 40 deletions

Impact it Made

  • App can now be imported and started without SyntaxError
  • Removes dead/duplicate code, improving maintainability
  • parse_skill_entries and parse_skills now work correctly

Closes #1480

Note

Please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix : close unclosed SKILL_SYNONYMS dict and remove duplicate parse_skills in recommender

1 participant