Skip to content

🐛 [Bug]: c++ is never detected due to isalnum() stripping special characters #562

@Tech4Aditya

Description

@Tech4Aditya

📝 Description

The skill "c++" can never be detected by the analyzer even if
it's explicitly written in the resume. The isalnum() filter
strips all non-alphanumeric characters during tokenization,
which removes the + signs from "c++". Same issue affects
"c#" and ".net".

🔄 Steps to Reproduce

  1. Go to resume_analyzer.py
  2. Run script python resume_analyzer.py
  3. Paste a resume containing the text "Proficient in C++"
  4. See error — c++ never appears in detected skills output

🎯 Expected Behavior

c++, c#, and .net should be detected and listed under
"✅ Skills detected:" when present in the resume text.

❌ Actual Behavior / Error Logs

c++ does not appear in detected skills even when explicitly
written in the resume. No error is thrown — it silently
misses the skill, causing an incorrect ATS score.

Root cause:

clean_words = [
    w for w in words
    if w.isalnum() and w not in stop_words  # ❌ strips +, #, .
]

💻 Environment

  • OS: Windows / macOS / Linux (reproducible on all)
  • Python Version: 3.10+
  • File Name: resume_analyzer.py

  • I am a registered GSSoC 2026 contributor.
  • I want to be assigned to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions