Forum archive 2000-2006

Zbigniew Fiedorowicz - bug in profChangeDates.pl

Zbigniew Fiedorowicz - bug in profChangeDates.pl

by Arnold Pizer -
Number of replies: 0
inactiveTopicbug in profChangeDates.pl topic started 7/26/2001; 6:06:06 PM
last post 8/17/2001; 1:00:25 PM
userZbigniew Fiedorowicz - bug in profChangeDates.pl  blueArrow
7/26/2001; 6:06:06 PM (reads: 996, responses: 1)
It seems that when you use profChangeDates.pl to add new problems or to reseed an existing problem in a problem set: everybody gets the same seed for a given problem.

This seems to be due to srand(time) occuring inside a loop foreach $psvn(@psvn) true. Moving the srand(time) call outside the loop seems to cure the problem.

Zig Fiedorowicz

<| Post or View Comments |>


userDonald Behan - Re: bug in profChangeDates.pl  blueArrow
8/17/2001; 1:00:25 PM (reads: 1247, responses: 0)
I am getting an error message when I try to change the dates for a problem set. "Odd number of elements in hash assignment at /ww/webwork/system/scripts/DBglue7.pl line 102". This is followed by specific references to the profChangeDates.pl file. I set the set definition file up myself following the documentation on the newbie guide. I included only the dates and the problem names. Everything else about this set is working fine. Is this error message anything to be concerned about? From Don Behan, Georgia State

<| Post or View Comments |>