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

Correct answers and points #431

Open
smirolo opened this issue Jan 14, 2024 · 1 comment
Open

Correct answers and points #431

smirolo opened this issue Jan 14, 2024 · 1 comment

Comments

@smirolo
Copy link
Contributor

smirolo commented Jan 14, 2024

Following #423 , introduce a model that indicates a "correct" answer to a question when the Campaign is used as a quiz (we are only interested in questions with an default_unit of type SYSTEM_ENUMERATED at this point).
Then modify the "complete" API endpoint (survey_api_sample_freeze_index / djaopsp.api.samples.AssessmentCompleteIndexAPIView) to calculate a score based on the answers in the sample and correct answers as defined in the database. Instead of having, say 1 point per correct answer, specify the number of points in the CorrectAnswer model.

@smirolo
Copy link
Contributor Author

smirolo commented Jan 22, 2024

Currently being worked on as part of PR #433

Deep-Chill added a commit to Deep-Chill/djaopsp that referenced this issue Feb 20, 2024
Implements a Quiz Score Calculator and Correct Answer Model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant