An explainable, local-first Applicant Tracking System for resume screening, skill-gap analysis, ATS scoring, and candidate ranking.
Overview โข Features โข Architecture โข Installation โข Usage โข Responsible Use
SmartHire AI is an open-source Applicant Tracking System prototype that helps recruiters and hiring teams perform faster and more consistent first-pass resume screening.
The platform combines classical machine learning, natural-language processing, explainable ATS scoring, skill extraction, and interactive analytics inside a polished Streamlit dashboard.
It is intentionally designed to be:
- Local-first โ runs on a laptop without paid APIs
- CPU-friendly โ built using TF-IDF, cosine similarity, and LinearSVC
- Explainable โ shows why a candidate received a particular score
- Recruiter-friendly โ provides ranked results, skill gaps, recommendations, and CSV export
- Portfolio-ready โ demonstrates a complete end-to-end machine-learning workflow
One-line pitch: Turn manual resume screening into an efficient, repeatable, and explainable recruitment workflow.
- Recruiters and hiring teams
- HR analysts
- Talent-acquisition teams
- Students demonstrating applied NLP and machine-learning skills
- Developers building lightweight ATS prototypes
| Metric | Current Demo Value |
|---|---|
| Resume records | 2,484 |
| Resume categories | 24 |
| Job-source records | 1,637,940 |
| Category-classifier accuracy | 71.03% |
Values depend on the locally available datasets and may change when different files are loaded.
- Rank multiple resumes against a selected job description
- Calculate an overall ATS score for every candidate
- Display similarity, skill-match, and role-match components
- Generate an explanation describing why each candidate received their score
- Categorize results using recruiter-friendly recommendations
- Extract skills from resumes and job descriptions
- Identify matched and missing skills
- Calculate skill-match percentages
- Classify skill-gap severity
- Display required skills clearly for recruiter review
- Predict resume categories using TF-IDF + LinearSVC
- Train the classifier from categorized resume data
- Display model accuracy inside the dashboard
- Support classification across 24 resume categories
- Use built-in resume datasets
- Upload custom resume CSV files
- Filter candidates by category
- Select how many top candidates to display
- Export ranked candidate results as CSV
- Upload one TXT or CSV resume
- Compare it directly against a job description
- View ATS score, similarity, skill match, predicted category, and recommendation
- Review matched and missing skills instantly
- Resume-category distribution chart
- Dataset metrics and model-performance overview
- Resume keyword WordCloud
- ATS-score comparison chart
- Skill-gap severity visualization
- Interactive Plotly exploration
- Multi-encoding CSV support
- Graceful handling of missing datasets
- Automatic text-column detection
- Friendly Streamlit warnings instead of application crashes
- Local export storage under
outputs/
SmartHire AI follows a modular machine-learning architecture that separates data ingestion, text processing, skill intelligence, scoring, classification, visualization, and export operations.
Resume Dataset / Uploaded Resume
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Data Ingestion โ
โ โ
โ โข Load default resume datasets โ
โ โข Upload custom CSV resume files โ
โ โข Load stored or custom job descriptions โ
โ โข Handle UTF-8, Latin-1, ISO-8859-1, CP1252โ
โ โข Automatically detect text columns โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Text Preprocessing โ
โ โ
โ โข Convert input into normalized text โ
โ โข Remove unnecessary symbols and noise โ
โ โข Standardize resume and job-description โ
โ content โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Skill Intelligence โ
โ โ
โ โข Extract skills from the job description โ
โ โข Extract skills from each resume โ
โ โข Identify matched skills โ
โ โข Identify missing skills โ
โ โข Calculate skill-gap severity โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Machine-Learning Analysis โ
โ โ
โ โข TF-IDF text vectorization โ
โ โข Resume-to-job cosine similarity โ
โ โข LinearSVC resume-category prediction โ
โ โข Role relevance calculation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ATS Scoring Engine โ
โ โ
โ โข 50% Resume-to-job similarity โ
โ โข 30% Required skill match โ
โ โข 20% Role relevance โ
โ โข Final weighted ATS score โ
โ โข Candidate recommendation generation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Ranking and Explainability โ
โ โ
โ โข Sort candidates by ATS score โ
โ โข Generate ranking explanations โ
โ โข Display matched and missing skills โ
โ โข Show predicted resume category โ
โ โข Assign recruiter-friendly recommendation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Streamlit Dashboard and Export โ
โ โ
โ โข Dashboard metrics โ
โ โข Candidate ranking table โ
โ โข Score comparison charts โ
โ โข Skill-gap analysis โ
โ โข Single-resume analyzer โ
โ โข Ranked-results CSV export โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Resume Text โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Job Description โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ TF-IDF Similarity โ โ Skill Matching โ โ Role Relevance โ
โ โ โ โ โ โ
โ Weight: 50% โ โ Weight: 30% โ โ Weight: 20% โ
โโโโโโโโโโโโฌโโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Final ATS Score โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Candidate Recommendation โ
โ and Ranking Explanation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Module | Responsibility |
|---|---|
app/app.py |
Streamlit interface, navigation, analysis workflow, charts, and exports |
src/data_loader.py |
Safe dataset loading, encoding fallback, and validation |
src/preprocessing.py |
Resume and job-description text cleaning |
src/skill_extractor.py |
Skill extraction, matching, and gap analysis |
src/scoring.py |
Similarity, skill-match, role-match, and ATS score calculation |
src/category_model.py |
LinearSVC resume-category classifier training and prediction |
scripts/ |
Supporting utility and training scripts |
outputs/ |
Generated ranked-candidate CSV exports |
tests/ |
Automated tests for core project functionality |
- Modular: Processing, scoring, classification, and UI logic are separated.
- Explainable: Every ranking includes visible scoring components and skill gaps.
- Local-first: The application works without paid external APIs.
- CPU-friendly: Classical machine-learning models keep execution lightweight.
- Defensive: Missing files and invalid datasets produce clear warnings instead of crashes.
- Configurable: ATS scoring weights can be adjusted inside
src/scoring.py.
SmartHire AI uses a configurable weighted scoring model:
ATS Score = 50% ร Similarity Score
+ 30% ร Skill Match Score
+ 20% ร Role Match Score
| Score Component | Description | Range |
|---|---|---|
| Similarity Score | TF-IDF cosine similarity between resume and job description | 0โ100 |
| Skill Match Score | Percentage of required skills identified in the resume | 0โ100 |
| Role Match Score | Category relevance heuristic based on the target job | 0โ100 |
The weights are normalized automatically and can be modified in:
src/scoring.py
The final ATS score is converted into a recruiter-friendly recommendation such as:
- Strong Hire
- Good Match
- Moderate Match
- Weak Match
- Not Recommended
These labels are intended to support human review, not replace it.
Resume CSV / Uploaded Resume
โ
Safe Data Loading
โโ Encoding fallback
โโ Missing-file handling
โโ Automatic text-column detection
โ
Text Preprocessing
โโ Clean and normalize text
โโ Remove noisy characters
โโ Prepare text for analysis
โ
Skill Intelligence
โโ Extract resume skills
โโ Extract required job skills
โโ Identify matched skills
โโ Identify missing skills
โ
Machine-Learning Analysis
โโ TF-IDF vectorization
โโ Cosine similarity
โโ LinearSVC category prediction
โโ Role relevance calculation
โ
ATS Scoring Engine
โโ Similarity score
โโ Skill-match score
โโ Role-match score
โโ Weighted final ATS score
โ
Recruiter Dashboard
โโ Candidate ranking
โโ Explainable recommendations
โโ Interactive visualizations
โโ CSV export
| Module | Purpose |
|---|---|
app/app.py |
Streamlit UI, navigation, analysis workflow, charts, and exports |
src/data_loader.py |
Safe CSV loading and dataset validation |
src/preprocessing.py |
Resume and job-description text cleaning |
src/skill_extractor.py |
Skill extraction and skill-gap analysis |
src/scoring.py |
Similarity, role relevance, ATS scoring, and recommendations |
src/category_model.py |
Resume-category classifier training and prediction |
scripts/ |
Utility and model-training scripts |
tests/ |
Automated project tests |
outputs/ |
Generated ranking exports |
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Streamlit | Interactive recruitment dashboard |
| Data processing | Pandas, NumPy | Data loading, cleaning, and manipulation |
| Machine learning | scikit-learn | TF-IDF, cosine similarity, and LinearSVC |
| NLP | TF-IDF and regex-based extraction | Resume matching and skill intelligence |
| Visualization | Plotly | Interactive charts and analytics |
| Keyword analysis | WordCloud, Matplotlib | Resume keyword visualization |
| Testing | pytest | Automated validation |
| Runtime | Python 3.8+ | Core application environment |
- Reduce repetitive manual resume review
- Rank large candidate pools consistently
- Focus recruiter attention on the most relevant profiles
- Show why a candidate ranked highly or poorly
- Separate similarity, skill match, and role relevance
- Make screening results easier to review and discuss
- Identify required skills missing from candidate resumes
- Compare candidates against the same job requirements
- Support more structured interview preparation
- Use default datasets for demonstrations
- Upload custom resume datasets
- Enter manual job descriptions or select stored descriptions
- Export ranked candidate lists for further review
FUTURE_ML_03/
โโโ .github/ # GitHub configuration and workflows
โโโ .venv/ # Local virtual environment; ignored by Git
โ
โโโ app/
โ โโโ __pycache__/ # Generated Python cache; ignored by Git
โ โโโ app.py # Main Streamlit application
โ
โโโ data/
โ โโโ categorized_resumes/ # Categorized resume dataset
โ โโโ Resume/
โ โ โโโ Resume.csv # Default resume dataset
โ โโโ job_descriptions.csv # Internal job-description dataset
โ โโโ monster_com-job_sample.csv # External job-description sample
โ
โโโ notebooks/ # Optional experiments and analysis
โโโ outputs/ # Generated candidate rankings and exports
โโโ scripts/ # Utility and training scripts
โ
โโโ src/
โ โโโ __init__.py
โ โโโ category_model.py # Resume category classifier
โ โโโ data_loader.py # Dataset loading utilities
โ โโโ preprocessing.py # Text cleaning and normalization
โ โโโ scoring.py # ATS scoring logic
โ โโโ skill_extractor.py # Skill extraction and gap analysis
โ
โโโ tests/ # Automated tests
โโโ visuals/ # README screenshots and visual assets
โโโ .gitignore # Repository ignore rules
โโโ LICENSE # MIT License
โโโ main.py # Application launcher
โโโ README.md # Project documentation
โโโ requirements.txt # Python dependencies
The structure above preserves the current project architecture. Local virtual environments, caches, generated outputs, large datasets, and private applicant records should not be committed to GitHub.
- Python 3.8 or later
- Git
- Windows, macOS, or Linux
- Approximately 1 GB of free space, depending on local datasets
git clone https://github.com/itzPardhiv/FUTURE_ML_03.git
cd FUTURE_ML_03Windows PowerShell
py -m venv .venv
.\.venv\Scripts\Activate.ps1Linux or macOS
python3 -m venv .venv
source .venv/bin/activatepython -m pip install --upgrade pip
pip install -r requirements.txtstreamlit run app/app.pyAlternatively:
python main.pyhttp://localhost:8501
Use the Dashboard to review:
- total resume count;
- number of resume categories;
- available job-source records;
- category-classifier accuracy;
- resume-category distribution;
- common resume keywords.
- Select Use Default Datasets or Upload Custom Datasets.
- Enter, upload, or select a job description.
- Optionally filter resumes by category.
- Select the number of top candidates to display.
- Click Analyze Resumes.
- Review the candidate ranking, score breakdown, skill gaps, and recommendations.
- Export the ranked candidates as CSV.
- Upload a TXT or CSV resume.
- Paste a target job description.
- Click Analyze.
- Review the ATS score, similarity, skill match, category, recommendation, and missing skills.
Use the Data Preview page to inspect the currently loaded:
- resume dataset;
- internal job-description dataset;
- Monster job-description dataset.
SmartHire AI automatically searches for likely text columns such as:
Resume_str
Resume
resume
text
Description
Job Description
job_description
Responsibilities
Content
Summary
Body
Name,Category,Resume_str
Candidate A,INFORMATION-TECHNOLOGY,"Python developer with SQL and machine-learning experience"
Candidate B,SALES,"Sales professional with lead-generation and customer-service experience"Role,job_description
AI/ML Intern,"Python, machine learning, SQL, Streamlit, Git, and data visualization required"Run the test suite:
pytest -qCompile the project to catch syntax issues:
python -m compileall app src main.pyPerformance depends heavily on dataset size and local hardware.
For responsive development and demonstrations:
- avoid loading unnecessary multi-million-row datasets;
- cache dataset-loading functions;
- generate WordClouds only when requested;
- train the classifier only when required;
- test custom uploads with smaller sample files first.
Stop the server and restart it:
Ctrl + C
streamlit run app/app.pyA blank page may occur when a large dataset, classifier-training process, or WordCloud generation blocks the initial render.
Set-ExecutionPolicy -Scope Process Bypass
.\.venv\Scripts\Activate.ps1Confirm the required files exist under:
data/Resume/Resume.csv
data/job_descriptions.csv
data/monster_com-job_sample.csv
The application can also fall back to sample datasets when configured.
SmartHire AI attempts multiple encodings, including:
UTF-8
Latin-1
ISO-8859-1
CP1252
streamlit run app/app.py --server.port 8502SmartHire AI is a decision-support prototype. It must not be used as the sole system for accepting or rejecting candidates.
Resume data may contain personal and sensitive information. Users should:
- obtain permission before processing applicant data;
- avoid committing real resumes to public repositories;
- remove unnecessary personally identifiable information;
- review model outputs for errors and bias;
- keep a qualified human reviewer involved in every hiring decision;
- comply with applicable recruitment, privacy, and employment laws.
- Regex-based skill extraction may miss synonyms and contextual meaning.
- TF-IDF similarity does not fully understand deep semantic relationships.
- Category predictions depend on the quality and balance of training data.
- Role-match scoring is heuristic.
- PDF and DOCX resume parsing are not currently included.
- ATS scores should not be interpreted as objective hiring decisions.
- PDF and DOCX resume parsing
- Expanded and configurable skill taxonomy
- Transformer-based semantic similarity
- Improved role-match scoring
- Candidate comparison dashboard
- REST API using FastAPI
- SQLite or PostgreSQL persistence
- Recruiter authentication
- Saved jobs and candidate pipelines
- Cloud deployment
- Bias and fairness evaluation
- Model-performance dashboard
- Configurable recruiter scorecards
- Audit logs and decision explanations
- Human-feedback collection
- Multi-user collaboration
- Role-based access control
- Integration with recruitment platforms
- Automated reports
- Multi-language resume support
Contributions are welcome.
git checkout -b feature/your-feature
git add .
git commit -m "Add your feature"
git push origin feature/your-featureThen open a pull request describing:
- the problem being solved;
- the proposed implementation;
- testing performed;
- screenshots for UI changes.
Do not include private applicant data, secrets, virtual environments, generated files, or large datasets in pull requests.
A. J. Pardhiv
Artificial Intelligence and Data Science student focused on machine learning, NLP, data analytics, and practical AI applications.
- GitHub: @itzPardhiv
- LinkedIn: AJ Pardhiv
This project is licensed under the MIT License. See the LICENSE file for details.
- Streamlit โ interactive data-application framework
- scikit-learn โ machine-learning algorithms and utilities
- Plotly โ interactive visualization engine
- Pandas โ data-processing framework
- WordCloud โ resume keyword visualization
- Open-source resume and job-description datasets used for development and demonstration
If SmartHire AI is useful to you:
- โญ Star the repository
- ๐ Share it with other developers
- ๐ Submit improvements
- ๐ฌ Open issues with feedback
Built as an explainable, practical, and recruiter-friendly machine-learning portfolio project.