ext_examples.library
Some things to do with &EXT() inside of a homework problem.
Anything data that shows up in the 'all deatils' view in PGRD is avaliable, as is the current value of any
IncantationresultExplanation
user.resource.resource.<partid>.<responseid>.submission&EXT('user.resource.resource.0.12.submission') text of the most recent submission
user.resource.resource.<partid>.<responseid>.awarddetail&EXT('user.resource.resource.0.12.awarddetail') Detail of how the most recent submission was graded.
user.resource.1:resource.<partid>.<responseid>.submission&EXT('user.resource.1:resource.0.12.submission') text of the submission on the first submission to the problem. The '1:' is not neccessarily the first try on the problem, rather it referes to the first 'transaction' in the data for this problem. Take a look at PGRD for a problem with the submissions view set to 'all details'.
user.resource.resource.<partid>.tries&EXT('user.resource.resource.0.tries') current number of tries on the problem
user.resource.resource.<partid>.solved&EXT('user.resource.resource.0.solved') current status of the problem
user.resource.resource.<partid>.awarded&EXT('user.resource.resource.0.awarded') A floating point number between 0 and 1 inclusive, that is the percentage of the weight for this problem.
user.resource.resource.<partid>.award&EXT('user.resource.resource.0.award') Detailed award of the most recent part was graded. (This will be one of the <responseid>'s awarddetail

You can get access to the current values of some parameters. But these only work reliably in a published problem that is in a course.
IncantationresultExplanation
resource.<partid>.<responseid>.tolerance&EXT('resource.0.12.tolerance') Current setting of the tolerance parameter for the particular response.
resource.<partid>.maxtries&EXT('resource.0.maxtries') Current setting for the maximum number of tries for the part.


The answer is 1