Forum archive 2000-2006

Arnold K. Pizer - psvn Numbers and large classes

Arnold K. Pizer - psvn Numbers and large classes

by Arnold Pizer -
Number of replies: 0
inactiveTopicpsvn Numbers and large classes topic started 2/11/2001; 10:02:41 AM
last post 2/11/2001; 10:02:41 AM
userArnold K. Pizer - psvn Numbers and large classes  blueArrow
2/11/2001; 10:02:41 AM (reads: 825, responses: 0)
If when building problem sets you begin to see messages like

psvn Number 61536 already taken

you probably should increase the range of available psvn's (problem set version numbers). The default range is 10000 to 99999 which gives 99,000 psvn's. The number of available psvn's must be greater than (#students)*(#problem sets) for each course and for efficiency it should be a lot greater than this. When building sets, WeBWorK searchs randomly for unused psvns. The above message indicates it tried a number which was already used.

The default for the whole WebWorK system is set in Global.pm by

$psvn_digits = 5; # Number of digits in psvn numbers. E.g. if 4, psvn's will be between 1000 and 9999.

You can increase the default for the whole system by editing the value in Global.pm or for your individual course by entering e.g.

$psvn_digits = 6;

in webworkCourse.ph. This is a change you can do at any point. It will only effect new sets built after the change.

<| Post or View Comments |>