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

Use Canvas API to automatically download submissions #31

Open
benjamin051000 opened this issue Feb 9, 2023 · 3 comments
Open

Use Canvas API to automatically download submissions #31

benjamin051000 opened this issue Feb 9, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@benjamin051000
Copy link
Member

benjamin051000 commented Feb 9, 2023

Something like https://github.com/ucfopen/canvasapi

here's a simple example that appears to work:

# Import the Canvas class
from canvasapi import Canvas
# Canvas API URL
API_URL = "https://ufl.instructure.com"
# Canvas API key
API_KEY = "private key here"

def main():
    canvas = Canvas(API_URL, API_KEY)
    print(canvas.get_course(472360))


if __name__ == '__main__':
    main()

This opens many possibilities up:

  • First, even easier to grade manually
  • We could just have the server automatically download submissions and grade them, no human interaction required! That would be sick
@benjamin051000 benjamin051000 added the enhancement New feature or request label Feb 9, 2023
@benjamin051000
Copy link
Member Author

And, it could post their grade automatically (assuming nothing went wrong). All TAs would have to do is intervene with students that didn't score 100%

@benjamin051000
Copy link
Member Author

For full automation, we would need some way to listen for when a student submits their assignment. The tool could receive that event or listen for it, then download the submission, grade it, and post the grades.

If there are issues (e.g., compile issue or < 100% score), the TA could be notified via email or something that they need to log in and manually grade that student's assignment.

@benjamin051000
Copy link
Member Author

This will definitely require #10 , since that separates each student's submission into its own modelsim project, allowing for greater flexibility, including this idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant