Student Capacity Forecaster (scf). A student project made during Winter 2022 for Minnesota State University, Mankato to a simulate number of students, courses, and sections through a given course sequence. Created with @Cole-Harp. Archived.
Find a file
2023-01-08 15:07:08 -06:00
src Unify messages 2023-01-04 15:12:12 -06:00
tests Add get_highest_course function 2022-12-30 20:42:44 -06:00
.gitignore Remove compiled assets and add handover document 2023-01-08 15:04:49 -06:00
Handover doc.pdf Remove compiled assets and add handover document 2023-01-08 15:04:49 -06:00
json-to-csv.py Improve print messages 2023-01-04 14:03:52 -06:00
README.md Fix typos 2023-01-08 15:07:08 -06:00
requirements.txt Remove matplotlib 2023-01-02 21:03:35 -06:00
student_generator.py Remove last CIS-224 and CIS-223 from HI generated data 2023-01-04 14:13:50 -06:00

Student Capacity Forecaster (scf)

A Winter 2022 student project working with Minnesota State University, Mankato. The scf can be used to determine student capacity planning, courses, and sections through a given course sequence. Created with Python and Pip.

Running the code

Currently the only requirements are pytest for rudimentary testing, which can be installed with the command:

pip install -r requirements.txt

Other than that, just run the main script:

python src/main.py

Generating student data

Student data is generated in a configurable python script, located at ./student_generator.py. Running that generates student-{cs, cit, mis, hi}.json files, each with students of the respective major.

Generating CSV of student data

CSV generation is done in another helper script, located at ./json-to-csv.py. Running that will look for the student-{cs, cit, mis, hi}.json files with student data, and compile to one compiled_students.csv file.

Tests

The test suite utilizes pytest. To execute the tests, run:

pytest