GithubHelp home page GithubHelp logo

lahvak / matholympics-grader Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 16 KB

Grading program for the SVSU Math Olympics competition

License: BSD 3-Clause "New" or "Revised" License

Haskell 100.00%

matholympics-grader's Introduction

matholympics

Program for grading answer sheets for the Math Olympics competition at SVSU.

Usage: matholympics-exe [-d|--data CSVFILE] [-c|--codes|--schools CODEFILE]
                        [--mca1 MCAFILE] [--mca2 MCAFILE] [--datadir DATADIR]
                        [--TeXdir TEXDIR]
  Grade Math Olympics data and produce reports

Available options:
  -d,--data CSVFILE        CSV data file from SCANTRON
                           machine (default: "data.csv")
  -c,--codes,--schools CODEFILE
                           File containing schools and school
                           codes (default: "codes.txt")
  --mca1 MCAFILE           MCA (correct answers) file for level
                           1 (default: "level1.mca")
  --mca2 MCAFILE           MCA (correct answers) file for level
                           2 (default: "level2.mca")
  --datadir DATADIR        Directory containing data files. Defaults to the
                           current working directory.
  --TeXdir TEXDIR          Directory where the generated TeX files should be
                           placed. Defaults to the current working directory.
  -h,--help                Show this help text

Input files:

The data file

A file produced by the SCANTRON machine, containing raw data from the answer sheets in CSV format.

School codes

A list of school names and codes.

A text file with each line corresponding to one school. Each line contains the school name and a three digit code, separated by comma.

MCA files

Correct answers for multiple choice questions.

Each MCA file is a text file where each line corresponds to one question. Each line consists of either

  • a list of uppercase letters A through E. In this case, any of these letters is considered correct. One or more of them must be marked, however, no other letters should be marked in order for the answer to be considered correct.
  • an exclamation mark (!) followed by a list of uppercase letters A through E. In this case, exactly these letters must be marked on the SCANTRON sheet for the answer to be considered correct.

The following is a valid example of a MCA file with 25 questions:

D
BC
B
B
BDE
C
E
D
!CE
C
B
C
B
D
D
B
D
ABD
A
B
B
C
!AC
A
B

For the first question, D is the correct answer. For the second question, B or C are correct, so marking either one or both of them will be graded as correct, but marking any other letter will be incorrect. For the ninth question, exactly the letters C and E must be marked.

matholympics-grader's People

Contributors

lahvak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.