This is a mark processor library and CSV parser library bundled together. It's designed for the level system used in the OCDSB, and converts a CSV with various mark information into a new CSV with overall averages for each student.
Run the executable as follows:
mark-processor.exe [-f filename] [-n nunits] [-e exclude] [-i restrict] [-o output]
filename: The path to the input CSV file
nunits: The number of units to include while marking
exclude: The name of any student(s) that you want to exclude from the output. For example, -e tyler would exclude any student whose name that has "tyler" in it.
restrict: The opposite of exclude...only students whose names match restrict are output. Meaning, -i tyler would exclude every student whose name doesn't have "tyler" in it.
output: The path to the output CSV file (doesn't have to exist, but will overwrite if it does).
The first 2 columns are the student's last and first name. Any following columns will be ignored unless their header is "O.A" A CSV with the following headers:
Header: | Type | a | Lalala (this gets ignored) | O.A | O.A |
---|---|---|---|---|---|
Value: | Lastname | Firstname | 2- | 4 | 4++ |
Last Name | First Name | O.A#1 | O.A#2 | Overall Average: |
---|---|---|---|---|
Lastname | Firstname | 4 | 4++ | 95% |