-
Notifications
You must be signed in to change notification settings - Fork 2
Home
HALLOWEEN edited this page Aug 5, 2022
·
110 revisions
Open issues for these:
- Delete
heroku
branch and move config files to github gist (?) - the snippet thing, then link here at wiki new pageDeploying to Heroku
- Check if test case is present for deleting records with relationships (ALL models)
- Create enhancement request at kweeznuts repository: loading screen (progress bar/ circle icon or smth) for longer transactions
When done with issues & pull requests:
* Cleaning code, perfectionist-type agenda, I resolve to not do these
- Update all methods that use factories to get object itself as input instead of id
- Update all CRUD methods to use sqlalchemy join method instead of so much customizations (see quiz_action crud)
- Rename to inquizitor-ai? see https://namae.dev/
- Organize: https://fastapi.tiangolo.com/tutorial/path-operation-configuration/#tags-with-enums
- Clean existing tests, divide into crud tests and api tests
- Ponder:
read-answers endpoint, is it necessary?
- Add Test utility for letting a student to answer stuff prior
- crud_quiz:: get_multi_by_participant:: return None for quiz["answers"] if due date has not yet passed
- Investigate JWT authentication via FastAPI issue
- Ponder what happens when a question is left unanswered? see
\inquizitor\inquizitor\tests\api\api_v1\test_answers.py
- Ensure that quiz-user combination is unique, see
\inquizitor\inquizitor\api\api_v1\endpoints\quiz\quiz.py
- Update factories (new model factory attributes), see
\inquizitor\inquizitor\tests\factories.py
- Should users be unable to create accounts? Admin will create accounts from an email list instead (import)
- Should superusers and teachers also be able to answer a quiz for testing purposes?
- https://dev.to/aurelmegn/how-to-deploy-poetry-based-fast-api-on-heroku-2hd6
- https://devcenter.heroku.com/articles/procfile#procfile-naming-and-location
- https://devcenter.heroku.com/articles/heroku-postgresql#connecting-in-python
- https://stackoverflow.com/questions/62688256/sqlalchemy-exc-nosuchmoduleerror-cant-load-plugin-sqlalchemy-dialectspostgre
- https://devcenter.heroku.com/articles/git
- pyproject.toml: must specify exact python version, e.g. 3.9.6 instead of ^3.9
- HTTPie: user-friendly command-line HTTP client for the API era
- Black: uncompromising Python code formatter, makes code review faster by producing the smallest diffs possible
SUBLIME3
- vertical split USE: alt+shift+8
- switch editor window
GIT
git clone Work:username/repo.git
REFERENCES
- Quiz API
- Django quiz app
- Django quiz app 2
- Google search
- Quiz models
- Canvas Quizzes, Quiz Questions, Poll Choices
- searching...
- Cleaning/ refactoring
- Update question and quiz endpoints to use the new Dependency functions
- branch
get-results-teacher
>rapid-dev
- pull main
- test GET "/quizzes/": crud.quiz.get_multi_by_participant: answers pulled doesn't come from the latest attempt'
- review and refactor crud methods for each model
- review and merge rapid-dev
- run https://pypi.org/project/black/ on main to clean the codebase
- add documentation to readme (either screenshot or convert interactive doc to html)
- gitignore logs
- Add initial-data option to get real-world quiz data from available APIs (and note to user that it requires internet connection)
- Identifying potential cheaters by tracking their behaviors through mouse activities
- https://data.mendeley.com/datasets/r9zwb4tvg5/1
- https://zenodo.org/record/3479756
- https://data.mendeley.com/datasets/vznyfcx9xk/2
- https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/H4UQ2R
- https://www.impactcybertrust.org/dataset_view?idDataset=950
- continue google dataset search: key=
mouse dynamics
Fields in common: quiz_id, student_id, attempt_id, question_id, timestamp Models and their respective fields:
-
Blur:
x-y coordinate -
Focus:
x-y coordinate -
Copy:
content -
Paste:
content, location pasted - Left-click
- Right-click
- Double-click