How sahiti-web/student-performance-xai-governance-framework works
This is an institutional student-dropout prediction and governance framework, organized as data preparation, model benchmarking, explainability, and fairness review, with a unified dashboard for staff. The principal workflow turns student records into a held-out champion model, explains cohort and individual predictions, audits equity, and presents results and governance standards. README statements document the phase sequence and portal capabilities; sampled code confirms key phase responsibilities. Some implementation details and links for unsampled modules are not shown, so those relationships are omitted rather than inferred.
Main entry points: phase3_bundle.pkl Champion Bundle · phase4_fairness_audit_pipeline.py Equity Audits · phase2_model_training.py Benchmark Models · phase3_explainability_pipeline.py Global SHAP
Components 21
Data Preparation
- Student Records
dataset_evasao_MDE.xlsx - Prepare Features
phase1_data_preparation.py - English Dataset
translate_dataset.py
Modeling
- Benchmark Models
phase2_model_training.py - Champion Bundle
phase3_bundle.pkl - Benchmark Results
experiment_results.csv - Prediction Verification
verify_model.py
Explainability
- Global SHAP
phase3_explainability_pipeline.py - Local SHAP and LIME
phase3_explainability_pipeline.py - Counterfactual Scenarios
phase3_explainability_pipeline.py - English SHAP Outputs
regenerate_english_xai.py - XAI Dashboard
phase3_outputs/phase3_xai_dashboard.html
Equity Governance
- Equity Audits
phase4_fairness_audit_pipeline.py - Intersectional Audit
phase4_fairness_audit_pipeline.py - Early Warning Audit
phase4_fairness_audit_pipeline.py - Modality Audit
phase4_fairness_audit_pipeline.py - Governance Charter
PHASE4_FAIRNESS_GOVERNANCE_GUIDE.md - Fairness Dashboard
phase4_outputs/phase4_dashboard.html
Institutional Portal
- Portal Assembly
build_unified_portal.py - Governance Portal
unified_governance_portal.html
Other components
- Institutional Staff
Connections 20
- Student Records → Prepare Features: provides data
README.md - Prepare Features → Benchmark Models: prepares cohort
README.md - Benchmark Models → Champion Bundle: selects model
README.md - Benchmark Models → Benchmark Results: records results
- Champion Bundle → Global SHAP: explains model
README.md - Champion Bundle → Local SHAP and LIME: explains predictions
README.md - Local SHAP and LIME → Counterfactual Scenarios: simulates changes
README.md - Global SHAP → XAI Dashboard: presents results
README.md - Local SHAP and LIME → XAI Dashboard: presents cases
README.md - Champion Bundle → Equity Audits: audits predictions
README.md - Equity Audits → Intersectional Audit: includes matrix
README.md - Equity Audits → Early Warning Audit: includes validation
README.md - Equity Audits → Modality Audit: includes disaggregation
README.md - Equity Audits → Fairness Dashboard: presents audits
README.md - Governance Charter → Governance Portal: sets standards
README.md - Institutional Staff → Governance Portal: reviews results
README.md - Portal Assembly → Governance Portal: generates portal
- Global SHAP → English SHAP Outputs: regenerates labels
- English Dataset → English SHAP Outputs: translates features
- Champion Bundle → Prediction Verification: loads bundle
verify_model.py