package regrade
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=5dacf65f0beb1a00604422596d5074fd
sha512=efd94e13c942074877307262b0ef120af8eaabafc01ecd2730abab988caee8c0407634e9f89cf877207f234dd7975d2b77fc2ad83dd24a2ffb3867ea2e34331d
Description
Simple grading system based on regular expressions.
Added to opam-repository:
README
REGrade: a simple grading system based on regular expressions
This is a simple program to automatically grade homework. Each question is validated by looking a whether the file matches a regular expression. It can be useful as a first approximation of the correction, or in cases where tests are sufficient to ensure the validity of the answers.
The correction is specified by a csv file of the form
name,Test
maximum,10
question,Q1,Q2,Q3
regexp,module,bla,(if|and)
points,,2,3where the signification of the lines is the following
name: name of the exam,maximum: maximum grade (20 if not specified),question: name of each question,regexp: regexp for correcting each question (in PCRE format),file: give points when there is a file whose name matches the regular expression,points: number of points for each question (1 if not specified).
You can then run a command of the form
regrade exam.csv file1 file file3and it will grade the various files, outputting the results in grades.csv. If a folder is given instead of a file, all the files it contains are considered as one homework.
When using the --formulas flag, a csv containing Excel formulas will be generated (so that the coefficients can easily be modified).
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building regrade with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.1.0 (this version) | n/a | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure