Giter VIP home page Giter VIP logo

cs-grading's Introduction

cs-grading

Useful scripts for grading CS 112 labs at Calvin College

Basic Setup and Usage

Clone this repository into your calvin cs home directory. This repository contains the basic grading scripts

buildGrading.sh is the main script for compiling all the labs together so they can be processed in one place

In a terminal

# Go to the 112 directory
cd /home/cs/112/current

# Run the grading script for lab 1
~/cs-grading/buildGrading.sh 1

# See the output file
cat ~/Documents/gradelab1/output.txt

For labs that involve spreadsheets, this script will also copy those files into the output directory. buildGrading also has additional feature for other use cases

-i [usernames]: buildGrading will only run on those student submissions -e [usernames]: buildGrading will skip these student submissions

For example, If student abc123's and def456's projects fail to compile and cause buildGrading to fail, the script can be run as follows

~/cs-grading/buildGrading.sh 1 -e abc123 def456

Grading

Grading is done using Excel. By following the format provided by exampleGrading.csv, gradeFiles.py can do most of the work.

Before running the gradeFiles.py, you need to create a SectionList.txt (example found in exampleSectionList.txt) file which stores the order of the students in Moodle. This way, you can just go down the list of scores and enter them into moodle without having to find which student you are entering a score for. Unless there is a way to sort the Moodle list by firstname lastname, this seems to be the best solution.

# Go to the 112 directory
cd /home/cs/112/current

# Run the script
python3 ~/cs-grading/gradeFiles 1 /path/to/grading.csv

Enter the grading output into moodle

Other

If there are any questions, enhancements, or requests, submit a pull request or create an issue

cs-grading's People

Contributors

mcwissink avatar

Watchers

 avatar

cs-grading's Issues

Executable does not get removed between compilation iterations

I was grading a lab when a student's compilation failed. The output seemed to be just warnings, but since an executable from the previous student remained, the program seemed to run. The generated executable should be removed before a new student is graded.

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.