--- loncom/html/adm/help/ext_examples.problem 2013/08/09 10:53:00 1.2 +++ loncom/html/adm/help/ext_examples.problem 2014/02/26 15:41:38 1.3 @@ -3,29 +3,29 @@
Some things to do with &EXT() inside of a homework problem.
-Any data that shows up in the 'all submissions with details' view in problem grades is available, as is the current value of some parameters. +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
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.
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 neccessarily the first try on the problem, rather it referes 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'.
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.
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
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 that is in a course.
+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
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')