Sign inSign up

devonmerrill/cse141l-development-environment

By devonmerrill

•Updated about 7 years ago

Image
0

100K+

devonmerrill/cse141l-development-environment repository overview

⁠CSE141pp_server_utils

These are some scripts to setup and run a new packet.com lab grading server. Also, this repo should work as a Gradescope autograder to talk to the packet servers.

⁠Server Setup

On a fresh server download and run packet_server_setup.sh. This will setup the rest of the tools.

⁠Lab Setup

You can then set STUDENT_ID STUDENT_REPO INSTRUCTOR_ID LAB_REPO. This should be the github id of the student, student submission, github id of the instructor, and lab repo. The lab repo should be based on CSE141pp_Example_Lab_1⁠. (In particular with the make pcm_submission target in the Makefile.)

⁠Grading a Submission

Submissions are graded by copying the student's $STUDENT_REPO/submission dir into $LAB_REPO/submission and calling make pcm_submission.

To actually run the submission, use grade_submission.sh. It should be in the PATH and it should take care of moving to the right directories, but I've been running it from /root.

The make pcm_submission target will be called on the lab in a Docker container. The result must be in /root/lab/submission/result.out. This is the only file that will be preserved from the run.

⁠Gradescope Autograder

To use as an autograder: download the repo add the credential json file zip up all the files (file must be in root of the zip) upload to gradescope

⁠Useful Web Pages

  1. PCM API Spec:https://intel-pcm-api-documentation.github.io/classPCM.html⁠

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

about 7 years ago

docker pull devonmerrill/cse141l-development-environment