How wyf09140/salary-advisor works
This is an evidence-based salary advisor: a candidate supplies a job title, location, salary context, and resume, and receives a market wage range, a comparison point, and skill-pay associations. Its product workflow spans source-data preparation, occupation and geography matching, model fitting and evaluation, then app-side resume parsing and prediction. The graph also preserves baseline estimation and employer-grouped validation. Some model and app wiring is supported by the README and SOURCE INDEX; unsampled implementation details are not expanded into unverified links.
Main entry points: predict.py Prediction and advice · train.py Quantile training · clean.py Data cleaning · features.py Model features
Components 21
Data preparation
- Project configuration
src/config.py - Source downloads
src/data/download.py - Data cleaning
src/data/clean.py - Geography mapping
src/data/geo.py - Title matching
src/data/titles.py - Training schema
src/data/schema.py - Processed data
data/processed
Wage modeling
- BLS baseline
src/data/baseline.py - Employer splits
src/models/split.py - Model features
src/models/features.py - Quantile training
src/models/train.py - Model experiments
src/models/xgb.py - Model evaluation
src/models/evaluate.py - Skill associations
src/models/skills.py - Trained model artifact
src/models/train.py
Candidate advisor
- Resume parser
src/app/resume_parser.py - Advisor interface
src/app/app.py - Prediction and advice
src/models/predict.py
Other components
- Candidate
- Data sources
- Salary and skill advice
Connections 27
- Data sources → Source downloads: provides files
README.md - Source downloads → Project configuration: reads settings
src/data/download.py - Data cleaning → Project configuration: reads settings
src/data/clean.py - Data cleaning → Geography mapping: uses mapping
src/data/clean.py - Data cleaning → Title matching: matches titles
src/data/clean.py - Data cleaning → Training schema: uses schema
src/data/clean.py - Data cleaning → Processed data: writes dataset
src/data/clean.py - Candidate → Advisor interface: submits profile
README.md - Advisor interface → Resume parser: parses resume
src/app/app.py - Advisor interface → Prediction and advice: requests advice
src/app/app.py - Processed data → Quantile training: training input
README.md - Quantile training → Employer splits: assigns folds
src/models/train.py - Quantile training → Model features: builds features
src/models/train.py - Model features → BLS baseline: gets BLS quantiles
src/models/features.py - Quantile training → Trained model artifact: saves model
src/models/train.py - Model evaluation → Quantile training: fits models
src/models/evaluate.py - Prediction and advice → Trained model artifact: loads model
src/models/predict.py - Prediction and advice → Title matching: maps title
src/models/predict.py - Prediction and advice → Geography mapping: maps location
src/models/predict.py - Prediction and advice → BLS baseline: gets BLS fallback
src/models/predict.py - Prediction and advice → Model features: builds features
src/models/predict.py - Prediction and advice → Quantile training: predicts quantiles
src/models/predict.py - Prediction and advice → Skill associations: ranks skills
src/models/predict.py - Advisor interface → Salary and skill advice: presents advice
README.md - Model experiments → Model features: uses features
src/models/xgb.py - Model experiments → Model evaluation: uses evaluation
src/models/xgb.py - Skill associations → Model features: uses controls
src/models/skills.py