How dikshit0012/cortexhr-phase-all-task works
CortexHR is a collection of research and decision-support experiments and services, not one application. Its major work spans attrition modeling, attendance/payroll anomaly detection, HR chat and integration, resume ranking and fairness, and compensation recommendations. The graph preserves these distinct task workflows rather than implying a shared runtime. Edges are limited to relationships visible in the supplied excerpts or SOURCE INDEX; several unsampled capabilities are represented by their task directories, without inferred internal call sequences.
Main entry points: model_training.py Attrition training · chat_service.py FAQ chat service · pipeline.py Explain and rank · features.py Feature pipeline
Components 19
Attrition analytics
- Data audit
phase-1/task01/src/cortexhr/audit.py - Feature pipeline
phase-1/task02/src/cortexhr/features.py - Model baselines
phase-1/task03/src/cortexhr/baselines.py - Attrition training
phase-3/task13/src/attrition_v2/model_training.py - Risk explanations
phase-3/task14/src/cortexhr_task14/pipeline.py
Anomaly services
- Attendance detection
phase-2/task05/src/cortexhr_task5/attendance_anomaly_detector.py - Payroll detection
phase-2/task06/task 6/src/cortexhr_task6/detection.py - Explain and rank
phase-2/task07/task 7/src/cortexhr_task7/pipeline.py - Anomaly API
phase-2/task08/task 8/app/main.py - Scoring service
phase-2/task08/task 8/app/scoring.py
HR chat integration
- FAQ chat service
phase-2/task09/cortexhr_task9/task 9/src/cortexhr_task9/chat_service.py - Intent classifier
phase-2/task09/cortexhr_task9/task 9/src/cortexhr_task9/intent_model.py - Approved answers
phase-2/task09/cortexhr_task9/task 9/src/cortexhr_task9/faq.py - HR integration
phase-2/task10/src/cortexhr_task10
Hiring fairness
- Resume ranking
phase-3/task11/src/cortexhr_task11/ranking_engine.py - Hiring fairness audit
phase-3/task12/src/cortexhr_task12/fairness_audit.py
Compensation analytics
- Fair-pay analysis
phase-3/task15/src/cortexhr_task15/pipeline.py - Pay bands
phase-3/task15/src/cortexhr_task15/bands.py
Other components
- HR analyst
Connections 16
- HR analyst → Data audit: initiates task
- HR analyst → Anomaly API: submits records
- HR analyst → FAQ chat service: asks question
- HR analyst → Resume ranking: starts analysis
- HR analyst → Attrition training: starts analysis
- HR analyst → Fair-pay analysis: starts analysis
- Feature pipeline → Data audit: checks data
phase-1/task02/src/cortexhr/features.py - Explain and rank → Attendance detection: runs detector
phase-2/task07/task 7/src/cortexhr_task7/pipeline.py - Explain and rank → Payroll detection: runs detection
phase-2/task07/task 7/src/cortexhr_task7/pipeline.py - Anomaly API → Scoring service: scores records
phase-2/task08/task 8/app/main.py - FAQ chat service → Intent classifier: loads classifier
phase-2/task09/cortexhr_task9/task 9/src/cortexhr_task9/chat_service.py - FAQ chat service → Approved answers: loads answers
phase-2/task09/cortexhr_task9/task 9/src/cortexhr_task9/chat_service.py - Resume ranking → Hiring fairness audit: audited by
phase-3/task12/src/cortexhr_task12/fairness_audit.py - Fair-pay analysis → Pay bands: builds bands
phase-3/task15/src/cortexhr_task15/pipeline.py - Attrition training → Feature pipeline: uses features
phase-3/task13/run_task13.py - Attrition training → Model baselines: uses evaluation
phase-3/task13/run_task13.py