How rayanrayanhussain9-coder/jobsheild works
JobShield is a local Streamlit application for screening job advertisements. A user submits an ad through the interface; the predictor gates inadequate text, combines deterministic warnings with a calibrated model result, and produces explanations and missing-information observations. The interface also supports comparison, performance views, and audit-report downloads. The repository includes a separate data-preparation and model-training workflow. Source excerpts establish key inference calls; some UI wiring and artifact relationships are supported only by README statements.
Main entry points: app.py Streamlit application · predictor.py Screening orchestrator · data_processor.py Dataset preparation · train.py Model training
Components 15
Screening interface
- Streamlit application
app.py - About experience
src/home.py - Landing experience
src/particle_home.py
Inference and analysis
- Screening orchestrator
src/predictor.py - Text adequacy
src/text_cleaner.py - Rule screening
src/rules_engine.py - Feature attribution
src/explainer.py - Runtime configuration
src/config.py
Model lifecycle
- Trained pipeline
artifacts/model.joblib - Dataset preparation
src/data_processor.py - Model training
src/train.py - Prepared partitions
data/processed
Reporting and metrics
- Audit reports
src/report_generator.py - Evaluation artifacts
artifacts
Other components
- Job seeker
Connections 17
- Job seeker → Streamlit application: submits ad
README.md - Streamlit application → Screening orchestrator: screens ad
README.md - Streamlit application → About experience: renders
app.py - Streamlit application → Landing experience: renders
app.py - Screening orchestrator → Text adequacy: checks adequacy
src/predictor.py - Screening orchestrator → Rule screening: screens text
src/predictor.py - Screening orchestrator → Feature attribution: explains result
src/predictor.py - Screening orchestrator → Trained pipeline: loads pipeline
src/predictor.py - Screening orchestrator → Runtime configuration: uses thresholds
src/predictor.py - Dataset preparation → Text adequacy: normalizes text
src/data_processor.py - Dataset preparation → Runtime configuration: uses paths
src/data_processor.py - Dataset preparation → Prepared partitions: writes partitions
README.md - Model training → Prepared partitions: trains on
README.md - Model training → Trained pipeline: exports model
README.md - Model training → Evaluation artifacts: exports evaluation
README.md - Streamlit application → Audit reports: exports reports
README.md - Streamlit application → Evaluation artifacts: shows metrics
README.md