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

feature request: random seed option #18

Open
alexholcombe opened this issue Jan 31, 2022 · 3 comments
Open

feature request: random seed option #18

alexholcombe opened this issue Jan 31, 2022 · 3 comments

Comments

@alexholcombe
Copy link
Contributor

I can see in the code that there actually is a seed option that is mostly implement, it's just not quite there yet. Looks like maybe you ran into a problem during implementation and gave up - I tried to fix it myself but didn't get anywhere.

A working seed parameter would be very useful because (as discussed with @richarddmorey on email) with different randomize runs, one gets different results, with some results better than others, but presently that is not reproducible. It seems that the result depends not on the order that the students that are listed in, but instead the order of the student numbers. Thus the only way I could come up with to run the algorithm repeatedly with different "seeds" was to make a fake student number for the algorithm's input files, and then take the algorithm's output and convert all the student numbers back to the real student numbers. This took a bit of programming, of course.

@richarddmorey
Copy link
Owner

It is definitely implemented in the javascript code - it's been a while since I've looked at this, but is it not working?

@alexholcombe
Copy link
Contributor Author

I only know (or am 98% confident, based on me not getting it to work) that it isn't working when called from R.

@richarddmorey
Copy link
Owner

ok, I'll check it out. From what I remember, it should be passing that parameter into the javascript engine, but maybe it isn't getting picked up fro some reason.

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