[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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part&gt=
;&lt;import&gt; prob7.library &lt;/import&gt;&lt;/part&gt;<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &lt;part&gt;&lt;import&gt; prob5.library &lt;/import&gt;&=
lt;/part&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part&gt;&lt;import&gt; p=
rob72.library &lt;/import&gt;&lt;/part&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; &lt;part&gt;&lt;import&gt; prob14.library &lt;/import&gt;&lt;/part&gt;<BR=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part&gt;&lt;import&gt; prob23.library &=
lt;/import&gt;&lt;/part&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part&gt;&=
lt;import&gt; prob53.library &lt;/import&gt;&lt;/part&gt;<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; &lt;part&gt;&lt;import&gt; prob11.library &lt;/import&gt;&=
lt;/part&gt;<BR></DIV><DIV>where each of 15&nbsp;problem numbers is generat=
ed by a piece of code.</DIV><DIV>&nbsp;</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>&nbsp;</DIV><DIV>brewington/Chemistry/R=
egentsReview/FinalMaster.problem</DIV><DIV>&nbsp;</DIV><DIV>to see how it w=
orks. </DIV><DIV>&nbsp;</DIV><DIV>I can then set up a series of problem she=
ets (say,&nbsp;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>&nbsp;</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>&nbsp;</DIV><DIV>Last spring&nbsp;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&nbsp;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>&nbsp;</DIV><DIV>I expect to add more problems to the pool t=
wice a year, a couple of hundred each time. It&nbsp;is very awkward not hav=
ing the ability to do mass deletes, moves, renames, and so on. Apparently&n=
bsp;people&nbsp;running their own servers&nbsp;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>&nbsp;</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 &lt;ko=
rte@lite.msu.edu&gt;<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>&gt; I am importing a couple of hundred =
questions into LonCapa.<BR>&gt;<BR>&gt; For my system, I need these to come=
 in as libraries, not as &nbsp;<BR>&gt; problems. Currently, I have to do s=
everal thousand mouse clicks to &nbsp;<BR>&gt; 1) rename each file to libra=
ry, and 2) replace the &lt;problem&gt; tags &nbsp;<BR>&gt; with &lt;library=
&gt;. I just did 50 questions, and it took 600 mouse &nbsp;<BR>&gt; 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>=