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

Randomising the question ordering in the case of a tie #200

Open
hgeorgsch opened this issue Apr 25, 2021 · 1 comment
Open

Randomising the question ordering in the case of a tie #200

hgeorgsch opened this issue Apr 25, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@hgeorgsch
Copy link
Contributor

Supersedes #199

Is your feature request related to a problem? Please describe.
It may be useful to start with questions with equal rating. In this case the next question will be taken from the arbitrary ordering in the DB, and students risk getting the same questions repeated.,

Describe the solution you'd like
If we could randomise the ordering of questions with equal rating difference, the student would get different questions even when they tie.

Describe alternatives you've considered
No other idea.

Additional context
The reason for the current solution is of course that the randomisation is expensive, and hence this may not be a practical solution. The issue came up from a user expecting a different behaviour, and the use case is valid enough. Very often you do not know how to rate the questions, and assigning equal ratings and wait for the system to learn from student performance is a reasomnable approach.

@hgeorgsch hgeorgsch added the enhancement New feature or request label Apr 25, 2021
@hgeorgsch hgeorgsch changed the title Randomising the question Randomising the question ordering Apr 25, 2021
@hgeorgsch
Copy link
Contributor Author

In theory, this should be soluble in SQL, combining the ideas from

  1. https://www.petefreitag.com/item/466.cfm
  2. https://learnsql.com/cookbook/how-to-order-by-two-columns-in-sql/
    We need to translate this into the PHP/Moodle API though.

@hgeorgsch hgeorgsch changed the title Randomising the question ordering Randomising the question ordering in the case of a tie May 11, 2023
@hgeorgsch hgeorgsch added bug Something isn't working good first issue Good for newcomers labels May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant