Skip to content

Instantly share code, notes, and snippets.

@bgschiller
Forked from philipbjorge/rayage
Last active December 16, 2015 20:39
Show Gist options
  • Save bgschiller/5493654 to your computer and use it in GitHub Desktop.
Save bgschiller/5493654 to your computer and use it in GitHub Desktop.
Front End:
Run tests functionality (we can run every time they hit run)
[X] Test output tab has a line for every line in the reference
[x] Modify the html in static/custom/templates/Rayage.html to mess with test output contents
[X] 'Test' button sends a message asking for a diff. Server responds with a JSON object
[ ] downgrade Test output from terminal to something simpler
[ ] change 'Logout' to 'Unspoof' when we are spoofing. (Can't figure this one out. I have code that should do this at static/custom/RayageMenu.js:70. It's not very high priority for me)
Submit assignment
message to server: "submit_assigment"
Display feedback from professor/grader and state of files at submit-time
Codemirror: get the codemirror (editor) instance associated with the filename. codemirrorinstance.add_line_widget(comment)
See example with build errors.
Back End:
Submit Assignment
precompute the JSON object representing a submission, throw it in a folder, return it when the click the radio button.
This can be where we store professor comments (and even grades)
Commenting
[x] Professors, TAs can 'pretend' to be students -- see test output, code. They should be able to mess with the code, but somehow revert to the submission.
[ ] We need a 'comment' button on each line to add line-by-line feedback
Test-script uploads
[x] copy the upload template functionality. Test are associated with a particular assignment, so access this from the manage assigments pane.
[x] Tests have a pair: test_name.in, test_name.ref. Both must be present to run a test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment