Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign Autograding API #29

Open
cycomachead opened this issue Jul 10, 2017 · 0 comments
Open

Redesign Autograding API #29

cycomachead opened this issue Jul 10, 2017 · 0 comments

Comments

@cycomachead
Copy link
Member

We should make available 1-2 functions / objects. Not totally sure what the API should feel like, but some ideas...

SnapAutograder seems like a good one.
autograder = new SnapAutograder(world)
SnapAutograder.registerTests({} || function() {})

AutograderConfiguration should be an object or function that lets you configure:

  • where to post results to
  • any log transformations
  • callbacks functions for various events, "onRevertSubmission", "onRunTests", "onShowFeedback"
  • a debugging log level
@cycomachead cycomachead changed the title Define a better API Redesign Autograding API Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant