Skip to content

tyler-boyd/mark-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f4e04f5 · Nov 25, 2013

History

18 Commits
Nov 25, 2013
Nov 25, 2013
Nov 6, 2013
Nov 25, 2013
Sep 27, 2013
Nov 25, 2013
Nov 6, 2013
Nov 25, 2013

Repository files navigation

mark-processor

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.

Usage

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:

Input

Header: Type a Lalala (this gets ignored) O.A O.A
Value: Lastname Firstname 2- 4 4++

Output:

Last Name First Name O.A#1 O.A#2 Overall Average:
Lastname Firstname 4 4++ 95%

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages