A code autograder for student homework submissions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
585 B

  1. module KGrader
  2. class Task
  3. def initialize(filesystem, course, semester, assignment)
  4. @fs = filesystem
  5. @course = course
  6. @semester = semester
  7. @assignment = assignment
  8. @roster = @course.roster @semester
  9. end
  10. def grade(options = {})
  11. # TODO
  12. puts "Grading #{@course.name}:#{@semester} assignment #{@assignment}..."
  13. puts "- options: #{options}"
  14. end
  15. def commit(options = {})
  16. # TODO
  17. puts "Committing #{@course.name}:#{@semester} assignment #{@assignment}..."
  18. puts "- options: #{options}"
  19. end
  20. end
  21. end