A code autograder for student homework submissions
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 2.3 KiB

il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. kgrader
  2. =======
  3. __kgrader__ is a code autograder, originally created by the course staff of
  4. [CS 296-41](https://cs.illinois.edu/courses/profile/CS296) (Systems Programming
  5. Honors) at the University of Illinois to grade student homework submissions.
  6. It is written in Ruby.
  7. Installation
  8. ------------
  9. Download kgrader over git:
  10. git clone https://github.com/earwig/kgrader.git kgrader
  11. cd kgrader
  12. If you want to use UIUC-specific assignment specifications (requires special
  13. permissions, but you have those if you want to grade our assignments, right?):
  14. git submodule update --init
  15. Usage
  16. -----
  17. kgrader uses rake as its command-line interface.
  18. ### Setup
  19. To show all known classes, semesters, and assignments:
  20. rake list
  21. To load a roster (a newline-delimited list of student identifiers) for the
  22. current semester of a particular course (e.g. "cs123"):
  23. rake roster cs123 myroster.csv
  24. You can also specify the semester:
  25. rake roster cs123 myroster.csv sp16
  26. ### Grading
  27. To grade a particular assignment (e.g., "mp1" for "cs123"):
  28. rake grade cs123 mp1
  29. After verifying that everything looks good, push the grade reports with:
  30. rake commit cs123 mp1
  31. ### Housekeeping
  32. To do some basic cleanup (i.e., trash uncommitted grading attempts, or reset
  33. messy internal state after a bad run):
  34. rake clean
  35. To restore kgrader to its "factory defaults" (i.e., everything `clean` does,
  36. but also delete checked-out student repos and roster files -- dangerous!):
  37. rake clobber
  38. ### Advanced
  39. `grade` has an extended syntax for different options.
  40. To specify the semester, instead of the inferred current one:
  41. rake grade cs123 mp1 semester=sp16
  42. To set a cutoff date after which commits will be ignored:
  43. rake grade cs123 mp1 due="March 20, 2016 11:59:59 PM CDT"
  44. To grade without fetching new student repo changes:
  45. rake grade cs123 mp1 fetch=no
  46. To grade specific students only:
  47. rake grade cs123 mp1 students=ksmith12
  48. rake grade cs123 mp1 students=ksmith12,bcooper3,mjones14
  49. Normally, kgrader will only regrade a particular student's assignment if their
  50. repo has changed since the last run. To forcibly regrade:
  51. rake grade cs123 mp1 regrade=yes
  52. You can combine these arguments in any meaningful way. `semester` and
  53. `students` are also available options for `commit`.