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

Result Release Randomization #623

Open
timkato opened this issue Aug 23, 2019 · 1 comment
Open

Result Release Randomization #623

timkato opened this issue Aug 23, 2019 · 1 comment

Comments

@timkato
Copy link

timkato commented Aug 23, 2019

SN ENHC0011932
Pete Ostafischuk provided some astute feedback:
Students are noticing that they get scores/comments in the same order for every peer evaluation within their group throughout the term. Pete suggests it should be randomized each time to avoid students figuring out extra information about which group member gave them which score/comment.

@kitsook
Copy link
Contributor

kitsook commented Sep 26, 2019

This should be fixed without code change since the PHP 7 upgrade. The existing code uses shuffle to randomize the result. But the random number generator wasn't seeded properly and thus randomization wasn't effective.

Since PHP 7.1, the shuffle function changed to use a diff random number generator mt_rand which is seeded automatically. So the randomization should be working now.

I tested it on my dev machine with simple / rubric / mixed eval. The sorting order is diff every time the student reload the result page.

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

No branches or pull requests

2 participants