This repository contains a deterministic workflow to rank required MAcc core courses using the 2024 graduate exit survey.
Rank required MAcc courses based on their average overall course rating for the 2024 survey year.
Primary expected input path:
data/grad_exit_survey_2024.xlsx
For compatibility with the original repository file name, the script and CI job can fall back to:
Grad Program Exit Survey Data 2024 (1).xlsx
python scripts/rank_required_courses.py performs the following steps:
- Reads the Excel workbook directly (no third-party Python dependencies).
- Detects required core course columns from the survey question metadata.
- Converts rating cells to numeric values and removes blank/missing values.
- Aggregates by course:
- mean rating
- response count
- Ranks courses by:
- descending mean rating
- ascending alphabetical course name (tie-break)
- Writes outputs:
outputs/rank_order.csvoutputs/rank_order.png(horizontal bar chart ordered highest-to-lowest)
On every push, GitHub Actions runs .github/workflows/rank-required-courses.yml, which:
- Checks out the repository
- Sets up Python 3.11
- Ensures
data/grad_exit_survey_2024.xlsxexists (copies from the original filename if needed) - Runs the ranking script
- Uploads the generated files as workflow artifacts
outputs/rank_order.csv and outputs/rank_order.png are generated artifacts and are gitignored to keep pull requests text-only and reviewable.