[LON-CAPA-users] Importing library routines

lon-capa-users@mail.lon-capa.org lon-capa-users@mail.lon-capa.org
Wed, 30 Aug 2006 12:39:44 -0400


<div>Last year I limited to 1 attempt per problem. The students wanted some=
 way to determine what the actual answer was, so this year I will see what =
happens allowing 4 tries. <br><br>However, my scoring system only gives the=
m credit for problems they answer correctly on the first try. Incorrect ans=
wers, or correct answers after 3 or more tries result in negative scores, s=
o there is incentive to get it right the first time. Also, unanswered quest=
ions on a sheet where at least one problem has been attempted yield large n=
egative values, so students can't cherry pick the easy questions.<br><br>br=
ew<br></div><font color=3D"#990099">-----lon-capa-users-admin@mail.lon-capa=
.org wrote: -----<br><br></font><blockquote style=3D"border-left: 2px solid=
 rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; mar=
gin-right: 0px;">To: &lt;lon-capa-users@mail.lon-capa.org&gt;<br>From: "Rob=
ley Light" &lt;rlight@chemmail.chem.fsu.edu&gt;<br>Sent by: lon-capa-users-=
admin@mail.lon-capa.org<br>Date: 08/29/2006 04:35PM<br>Subject: RE: [LON-CA=
PA-users] Importing library routines<br><br>



<div dir=3D"ltr" align=3D"left"><span class=3D"812133619-29082006"><font co=
lor=3D"#0000ff" face=3D"Arial" size=3D"2">An interesting way to group probl=
ems.&nbsp; Thanks for=20
making the code available so others can see how you do this.
</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"812133619-29082006"><font co=
lor=3D"#0000ff" face=3D"Arial" size=3D"2"></font></span>&nbsp;
</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"812133619-29082006"><font co=
lor=3D"#0000ff" face=3D"Arial" size=3D"2">Since each question is a separate=
 part, I presume you limit=20
the tries to 1 per part?
</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"812133619-29082006"><font co=
lor=3D"#0000ff" face=3D"Arial" size=3D"2"></font></span>&nbsp;
</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"812133619-29082006"><font co=
lor=3D"#0000ff" face=3D"Arial" size=3D"2">Robley Light
</font></span></div>
<p align=3D"left"><font size=3D"2">****************************************=
*********************<br>Robley=20
J.=20
Light&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

Professor of Chemistry and Biochemistry<br>Department of=20
Chemistry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Phone:&nbsp;&nbsp; (850) 644-3844<br>&nbsp;&nbsp; and=20
Biochemistry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Email:&nbsp; rlight@chem.fsu.edu&nbsp;&nbsp;<br>Florida State=20
University&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (850) 644-8281<br>Tallahassee, FL=20
32306-4390&nbsp;&nbsp;&nbsp; Home Page:&nbsp;=20
<a href=3D"http://www.chem.fsu.edu/editors/rlight" target=3D"=5Fblank">http=
://www.chem.fsu.edu/editors/rlight
</a>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</font></p>
<div><font color=3D"#0000ff" face=3D"Arial" size=3D"2"></font>&nbsp;
</div><br>
<blockquote style=3D"border-left: 2px solid rgb(0, 0, 255); padding-left: 5=
px; margin-left: 5px; margin-right: 0px;">
 =20
<div class=3D"OutlookMessageHeader" dir=3D"ltr" align=3D"left" lang=3D"en-u=
s">
 =20
<hr tabindex=3D"-1">
 =20
<font face=3D"Tahoma" size=3D"2"><b>From:
</b> lon-capa-users-admin@mail.lon-capa.org=20
  [mailto:lon-capa-users-admin@mail.lon-capa.org]=20
<b>On Behalf Of=20
 =20
</b>Robert=5FBrewington@er.monroe.edu<br><b>Sent:
</b> Tuesday, August 29, 2006=20
  12:54 PM<br><b>To:
</b> lon-capa-users@mail.lon-capa.org<br><b>Subject:
</b> Re:=20
  [LON-CAPA-users] Importing library routines<br></font><br></div>
 =20
<div></div><font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" size=3D"2">
 =20
<div>My setup constructs a randomized set of problems for students. It does=
 a=20
  construct like
</div>
 =20
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part&gt;&lt;import&gt; prob7.librar=
y=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob5.library=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob72.library=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob14.library=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob23.library=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob53.library=20
  &lt;/import&gt;&lt;/part&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;part&gt;&lt;import&gt; prob11.library=20
  &lt;/import&gt;&lt;/part&gt;<br></div>
 =20
<div>where each of 15&nbsp;problem numbers is generated by a piece of=20
  code.
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>Using problems instead of the library did not work; I think it was=20
  because I cannot import problems, they have to be libraries. I have tried=
 to=20
  make all my code available to everyone; you can look at=20
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>brewington/Chemistry/RegentsReview/FinalMaster.problem
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>to see how it works.=20
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>I can then set up a series of problem sheets (say,&nbsp;50 of them). E=
ach=20
  student then sees 50 sheets of 15 problems each, where the problems have =
been=20
  randomly selected from the main pool of several hundred problems. Each st=
udent=20
  sees different problems with different randomizations.
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>It works pretty well, although it unfortunately does not allow statist=
ics=20
  on the problems. I guess problems are indexed by their positions on seque=
nces,=20
  not by an actual problem or part id.=20
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>Last spring&nbsp;I had to have Guy manually move/rename stuff, partly =
due=20
  to my learning curve and partly because I do not have the access to do th=
ese=20
  operations. I am reluctant to keep bugging him for my&nbsp;problem=20
  manipulations. He has lots of serious stuff to do. On the other hand, I d=
on't=20
  know if I have enough time in the day to do this through the web interfac=
e...=20
  Only a few days now until school starts!
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>I expect to add more problems to the pool twice a year, a couple of=20
  hundred each time. It&nbsp;is very awkward not having the ability to do m=
ass=20
  deletes, moves, renames, and so on. Apparently&nbsp;people&nbsp;running t=
heir=20
  own servers&nbsp;have root access, so they&nbsp;routinely go in and do th=
ings=20
  with shell scripts. I have the knowledge &amp; experience to do this, but=
 do=20
  not have that access since I am hosted on the educog machine. In addition=
, I=20
  am perhaps unusual in my structure and overall number of problems.=20
</div>
 =20
<div>&nbsp;
</div>
 =20
<div>Thanks,
</div>
 =20
<div>brew
</div><font color=3D"#990099">-----lon-capa-users-admin@mail.lon-capa.org=20
  wrote: -----<br><br></font>
 =20
<blockquote style=3D"border-left: 2px solid rgb(0, 0, 0); padding-right: 0p=
x; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To:=20
    lon-capa-users@mail.lon-capa.org<br>From: Gerd Kortemeyer=20
    &lt;korte@lite.msu.edu&gt;<br>Sent by:=20
    lon-capa-users-admin@mail.lon-capa.org<br>Date: 08/29/2006=20
    10:46AM<br>Subject: Re: [LON-CAPA-users] Importing library=20
    routines<br><br><font face=3D"Default Monospace,Courier New,Courier,mon=
ospace" size=3D"2">Hi Brew,<br><br>On Aug 29, 2006, at 10:38 AM,=20
    Robert=5FBrewington@er.monroe.edu wrote:<br><br>&gt; I am importing a c=
ouple=20
    of hundred questions into LonCapa.<br>&gt;<br>&gt; For my system, I nee=
d=20
    these to come in as libraries, not as &nbsp;<br>&gt; problems. Currentl=
y, I=20
    have to do several thousand mouse clicks to &nbsp;<br>&gt; 1) rename ea=
ch=20
    file to library, and 2) replace the &lt;problem&gt; tags &nbsp;<br>&gt;=
 with=20
    &lt;library&gt;. I just did 50 questions, and it took 600 mouse=20
    &nbsp;<br>&gt; clicks and 250 screen loads just to rename the=20
    files.<br><br>I am not sure ... why "library"?<br><br>-=20
    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=20
    mailing list<br>LON-CAPA-users@mail.lon-capa.org<br><a href=3D"http://m=
ail.lon-capa.org/mailman/listinfo/lon-capa-users" target=3D"blank">http://m=
ail.lon-capa.org/mailman/listinfo/lon-capa-users
</a><br></font></blockquote><br></font>=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=20
  LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org=20
  http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
</blockquote></blockquote><br>=