[LON-CAPA-users] Importing library routines
lon-capa-users@mail.lon-capa.org
lon-capa-users@mail.lon-capa.org
Tue, 29 Aug 2006 12:54:13 -0400
<FONT face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D2><DIV>My setup constructs a randomized set of problems for students. It=
does a construct like</DIV><DIV> <part>=
;<import> prob7.library </import></part><BR> &=
nbsp; <part><import> prob5.library </import>&=
lt;/part><BR> <part><import> p=
rob72.library </import></part><BR>  =
; <part><import> prob14.library </import></part><BR=
> <part><import> prob23.library &=
lt;/import></part><BR> <part>&=
lt;import> prob53.library </import></part><BR> &n=
bsp; <part><import> prob11.library </import>&=
lt;/part><BR></DIV><DIV>where each of 15 problem numbers is generat=
ed by a piece of code.</DIV><DIV> </DIV><DIV>Using problems instead of=
the library did not work; I think it was because I cannot import problems,=
they have to be libraries. I have tried to make all my code available to e=
veryone; you can look at </DIV><DIV> </DIV><DIV>brewington/Chemistry/R=
egentsReview/FinalMaster.problem</DIV><DIV> </DIV><DIV>to see how it w=
orks. </DIV><DIV> </DIV><DIV>I can then set up a series of problem she=
ets (say, 50 of them). Each student then sees 50 sheets of 15 problems=
each, where the problems have been randomly selected from the main pool of=
several hundred problems. Each student sees different problems with differ=
ent randomizations.</DIV><DIV> </DIV><DIV>It works pretty well, althou=
gh it unfortunately does not allow statistics on the problems. I guess prob=
lems are indexed by their positions on sequences, not by an actual problem =
or part id. </DIV><DIV> </DIV><DIV>Last spring I had to have Guy =
manually move/rename stuff, partly due to my learning curve and partly beca=
use I do not have the access to do these operations. I am reluctant to keep=
bugging him for my problem manipulations. He has lots of serious stuf=
f to do. On the other hand, I don't know if I have enough time in the day t=
o do this through the web interface... Only a few days now until school sta=
rts!</DIV><DIV> </DIV><DIV>I expect to add more problems to the pool t=
wice a year, a couple of hundred each time. It is very awkward not hav=
ing the ability to do mass deletes, moves, renames, and so on. Apparently&n=
bsp;people running their own servers have root access, so they&nb=
sp;routinely go in and do things with shell scripts. I have the knowledge &=
amp; experience to do this, but do not have that access since I am hosted o=
n the educog machine. In addition, I am perhaps unusual in my structure and=
overall number of problems. </DIV><DIV> </DIV><DIV>Thanks,</DIV><DIV>=
brew</DIV><FONT color=3D#990099>-----lon-capa-users-admin@mail.lon-capa.org=
wrote: -----<BR><BR></FONT><blockquote style=3D"PADDING-RIGHT: 0px; PADDIN=
G-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT=
: 0px">To: lon-capa-users@mail.lon-capa.org<BR>From: Gerd Kortemeyer <ko=
rte@lite.msu.edu><BR>Sent by: lon-capa-users-admin@mail.lon-capa.org<BR>=
Date: 08/29/2006 10:46AM<BR>Subject: Re: [LON-CAPA-users] Importing library=
routines<BR><BR><FONT face=3D"Default Monospace,Courier New,Courier,monosp=
ace" size=3D2 >Hi Brew,<BR><BR>On Aug 29, 2006, at 10:38 AM, Robert=5FBrew=
ington@er.monroe.edu wrote:<BR><BR>> I am importing a couple of hundred =
questions into LonCapa.<BR>><BR>> For my system, I need these to come=
in as libraries, not as <BR>> problems. Currently, I have to do s=
everal thousand mouse clicks to <BR>> 1) rename each file to libra=
ry, and 2) replace the <problem> tags <BR>> with <library=
>. I just did 50 questions, and it took 600 mouse <BR>> clicks =
and 250 screen loads just to rename the files.<BR><BR>I am not sure ... why=
"library"?<BR><BR>- Gerd.<BR><BR>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F<BR>LON-CAPA-users mailing list<BR>LON-CAPA-user=
s@mail.lon-capa.org<BR><A href=3D"http://mail.lon-capa.org/mailman/listinfo=
/lon-capa-users" target=3Dblank >http://mail.lon-capa.org/mailman/listinfo=
/lon-capa-users</A><BR></FONT></blockquote><br></FONT>=