Skip to content
HALLOWEEN edited this page Nov 4, 2022 · 110 revisions

Todo:

  • rename from thesis_model.pkl to ml-cheating-detection.pkl
  • add intro section to readme, w/ logo and all that tags stuff for promotion

Cleaning code, perfectionist-type agenda, I resolve to not do these:

  • Read on Semantic Versioning conventions.
  • 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

Routing Stuff

THESIS

  • 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?

TRY

FASTAPI

DEV

  • 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

GIT

  • git clone Work:username/repo.git

REFERENCES

Clone this wiki locally