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.

24 lines
544 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. end
  9. def grade(options = {})
  10. # TODO
  11. puts "Grading #{@course.name}:#{@semester} assignment #{@assignment}..."
  12. puts "- options: #{options}"
  13. end
  14. def commit(options = {})
  15. # TODO
  16. puts "Committing #{@course.name}:#{@semester} assignment #{@assignment}..."
  17. puts "- options: #{options}"
  18. end
  19. end
  20. end