[LON-CAPA-users] LON-CAPA-users Digest, Vol 81, Issue 4

Raeburn, Stuart raeburn at msu.edu
Fri Sep 7 11:59:46 EDT 2018


Mark,

Yes, by adding something like this to the XML of the problem, where the default value (500) is the time-limit (in seconds):

<parameter name="interval" type="date_interval" default="500" description="Time-Limit" />

In the table view of parameters (in course context) for the specific resource, the default value set in the published problem will be displayed in the Resource level (default) column.  If the problem has been imported into a course, and a Course Coordinator preferred not to use a time limit, this parameter could be overridden by setting the time limit to 0, using a column to the right of the Resource level (default) column, e.g., the" in Course, for Resource" column.

Stuart Raeburn
LON-CAPA Academic Consortium

________________________________________
From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of Mark Wall <Mark.Wall at Dal.Ca>
Sent: Friday, September 7, 2018 10:27 AM
To: lon-capa-users at mail.lon-capa.org
Subject: Re: [LON-CAPA-users] LON-CAPA-users Digest, Vol 81, Issue 4

Hi,

Is it possible to hard code the time-limit parameter into a problem, similar to hard coding the max tries for a part using <parameter description="Maximum Number of Tries" type="int_pos" default="1" name="maxtries">.

Thanks,
Mark


______________________
Mark Wall
Department of Chemistry
Dalhousie University




More information about the LON-CAPA-users mailing list