Git Product home page Git Product logo

hw5-grading-script's Introduction

CS131 HW5 Sample Grading Script

  • This is a real grading script used in 2019 Fall, but all test cases are omitted.

Usage

  • Create a folder for each submission in the submissions folder
  • Put expr-compare.ss in the corresponding folder. Make sure there are #lang racket and (provide (all-defined-out)) lines in that file.
  • Please make sure that in your expr-compare.ss, there are only definitions. Top-level function calls such as (test-expr-compare test-expr-x test-expr-y) may cause compiling error and thus not allowed.
  • Execute the script via
    racket ./main.rkt ./submissions
  • Go to each subfolder in the submissions folder and check the report.txt.
  • For each test case, there are 4 kinds of results:
    • AC (Accepted): Correct
    • WA (Wrong Answer): The answer is wrong.
    • RE (Runtime Error): An exception is thrown during this test case.
    • TLE (Time Limit Exceed): Your program stuck on this test case for >600ms.
  • There are about 50 test cases. Among them, about 30 are included in test-case.rkt.
    • So you can expect to get approximately 60% if you passed all of the test cases.
    • I reserve the right to change all cases if I see someone tries to enumerate test cases instead of implementing the program.
  • To add new test cases, modify test-cases.rkt.

hw5-grading-script's People

Contributors

zjkmxy avatar

Watchers

 avatar  avatar  avatar

Forkers

cs131-ta-team

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.