Giter VIP home page Giter VIP logo

haskell-autograder's Introduction

haskell-autograder

An automatic grader for the Haskell lab test. Beyond the fact that it freed me of the burden of manually correcting code and potentially making mistakes, it prooved itself useful by interactively leading the students to correct solutions.

The test, including the grader framework, is defined in the Test.hs file, and it can be executed with the runhaskell Test.hs command. The students can write their solutions in the Impl.hs file.

The program runs entirely in the command line. In Linux terminals it has colored output, if someone wants to use it on Windows the coloring of the output can be turned off by setting a flag defined in the Impl.hs file. Screenshot

The exercises provided in the test are not hard-coded in the grader framework, all the data regarding the problems and the solutions can be found under the comment -- define the problems and the soultions in Test.hs file. One can change the exercises to suit their or the students' needs without understanding the grader framework itself, by only understanding the data structure used to define the test. The aforementioned structure won't be discussed, because it is intuitive and can be understood with a bit of tinkering.

haskell-autograder's People

Contributors

danalizieors avatar

Stargazers

Jose Abel Castellanos Joo avatar

Watchers

 avatar

haskell-autograder's Issues

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.