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

Convert notebooks to canvas quizzes #38

Open
5 tasks
phaustin opened this issue Jun 17, 2020 · 5 comments
Open
5 tasks

Convert notebooks to canvas quizzes #38

phaustin opened this issue Jun 17, 2020 · 5 comments
Assignees

Comments

@phaustin
Copy link
Contributor

phaustin commented Jun 17, 2020

Now working in https://github.com/bkchang-97/e340quizzes

  • Use read api token from a .env file that's not checked in to git

  • dump file listing to yaml for easy editing

  • read edited file list and delete listed files from sandbox

  • parameterize questions using https://pypi.org/project/papermill-jupytext/

  • create pdf files for the student and solution notebooks

@marasolen
Copy link
Contributor

Just commenting progress here. The work for this is being done in this repo.

As of writing this comment the following is functional:

  • Reading .md, .ipynb, and .json files for parsing
  • Parsing the files, including converting latex to the Canvas format
  • Multiple choice questions
  • Question groups

Things to continue working on:

  • When updating an existing quiz, don't add duplicate groups or questions
  • Add all other question types
  • Add references to other files such as images or hyperlinks

Then we can work on paramaterizing the quizzes.

@marasolen
Copy link
Contributor

All of the todos from my last comment are done.

@phaustin
Copy link
Contributor Author

that's great -- before we get to parameterization, I think it would be good to add a docs folder and start a jupyter-book markdown page, since this is getting more complex. At some point we'll figure out readthedocs, but for now just fake it with a github action to build a gh-pages deployment. Go ahead and free-associate as far as a walkthrough of what you've got so far. Put in placeholders for 1) working with a solution key notebook that can includes answers to questions that can be filtered out for the student version, 2) quiz parameterization 3) printing quizzes using paged_html_theme and trio_chrome.

@phaustin phaustin assigned bkchang-97 and unassigned marasolen Sep 11, 2020
@phaustin
Copy link
Contributor Author

continue work on https://github.com/eoas-ubc/md2canvas

@phaustin
Copy link
Contributor Author

phaustin commented Apr 12, 2021

https://github.com/bkchang-97/md2canvas/tree/master/examples/e340quiz

  1. documentation script/playbook/narrative that walks through the canvas e340 quiiz from nose to tail
    i) run phil's script -- link repo
    ii) clean markdown -- 3 most common issues
    ...

  2. file upload/list/destroy in same manner

Add to https://github.com/bkchang-97/e340quizzes in a separate directory called "file_management"

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

3 participants