ext_examples.library
Some things to do with &EXT() inside of a homework problem.
Any data that show up in the 'all submissions with details' view in problem grades are available, as are the current values of some parameters.
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') Details 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 necessarily the first try on the problem, rather it refers to the first 'transaction' in the data for this problem. Take a look at problem grades for a problem with the submissions view set to 'all submissions with 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 determined by how the most recently graded 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 which 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