[LON-CAPA-users] seed of student's problem

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Fri, 7 Mar 2003 16:00:19 -0500 (EST)

Hi Lars,

> Where is the seed of a student's problem stored? -I don't see it in the
> SUBM menu when viewing "all details"...

It isn't stored anywhere. 

The fuinction taht generates the seed in the Apache::lonnet::rndseed
function in the lonnet.pm file in /home/httpd/lib/perl/Apache

It takes the internal instance name of the the resource, the internal
course id number, the user's domain and the user's name to generate
the seed.

The <radiobutton/option/image/match/rank response> use the
Apache::response::setrandomnumber function to also include to
problem's part id into the seed.

If you want to see the seed inside the script environment the variable
$external::randomseed is set to what is used.

What's up?

guy@albertelli.com  LON-CAPA Developer  0-7-7-4-