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

Edu 14 #40

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Edu 14 #40

wants to merge 2 commits into from

Conversation

kaamil2
Copy link
Contributor

@kaamil2 kaamil2 commented Oct 10, 2023

What was the ticket?

Link to Ticket: #36

What did I do?

I modified the submodule exam schema to have an answer section, and removed the user-associated columns.
I parsed the input of the post request to get the submoduleid and userId. The submoduleid was used to get the correct answers from the database, which were checked against a submission. A score was generated. Relevant information was pushed to update the user database based on the userID. Finally, the response was sent back to the user.

How did I test it? Document test cases here.

Screenshot 2023-10-10 at 6 43 16 PM Screenshot 2023-10-10 at 6 43 10 PM Screenshot 2023-10-10 at 6 43 01 PM Screenshot 2023-10-10 at 6 42 37 PM

What could go wrong in the future? What parts of your code should the reviewer pay the most attention to?

the schema and database is different so the way that is all setup will be altered in the future

Additional comments for the reviewers

Screenshots

@kaamil2 kaamil2 linked an issue Oct 10, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

EDU-14 post submodule quiz
1 participant