JonathanSudibya / ghc_autograder

ghc_autograder for haskell made with shell bash script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ghc_autograder

Usage ./autograder_ghc.sh [tc_folder] [source_folder]

tc_folder structure

tc/ |_tc/1 |_tc/2 |tc/3 | ... |_tc/n

Notes :

  • tc number equal to test case question number (so if only question 2 and 5 who will be graded then there only be folder named 2 and 5)
  • Question are sequentially ordered (see next section "source_folder")

source_folder section

Basicly using downloadsource features from http://oddyseus.if.itb.ac.id, then extract compressed size

it will create structer similar to this :

src/ |_src/ |_src//question_1 |_src//question_2 |_src//question_3 |_src/ |_src//question_1 |_src//question_2 |src//question_3 | ... |_src/ |_src//question_1 |_src//question_2 |_src//question_3

Result

There will be a .csv file that has src_folder name containing student's name and grade for each question.

About

ghc_autograder for haskell made with shell bash script


Languages

Language:Shell 100.0%