version 1.2, 2013/08/09 10:53:00
|
version 1.3, 2014/02/26 15:41:38
|
Line 3
|
Line 3
|
<startouttext /> |
<startouttext /> |
<hr /> |
<hr /> |
Some things to do with &EXT() inside of a homework problem.<br /> |
Some things to do with &EXT() inside of a homework problem.<br /> |
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. |
<table border="1"> |
<table border="1"> |
<tr><th>Incantation</th><th>result</th><th>Explanation</th></tr> |
<tr><th>Incantation</th><th>result</th><th>Explanation</th></tr> |
<tr><td>user.resource.resource.<partid>.<responseid>.submission</td><td>&EXT('user.resource.resource.0.12.submission')</td> |
<tr><td>user.resource.resource.<partid>.<responseid>.submission</td><td>&EXT('user.resource.resource.0.12.submission')</td> |
<td>text of the most recent submission</td></tr> |
<td>Text of the most recent submission</td></tr> |
<tr><td>user.resource.resource.<partid>.<responseid>.awarddetail</td><td>&EXT('user.resource.resource.0.12.awarddetail')</td> |
<tr><td>user.resource.resource.<partid>.<responseid>.awarddetail</td><td>&EXT('user.resource.resource.0.12.awarddetail')</td> |
<td>Detail of how the most recent submission was graded. </td></tr> |
<td>Details of how the most recent submission was graded</td></tr> |
<tr><td>user.resource.1:resource.<partid>.<responseid>.submission</td><td>&EXT('user.resource.1:resource.0.12.submission')</td> |
<tr><td>user.resource.1:resource.<partid>.<responseid>.submission</td><td>&EXT('user.resource.1:resource.0.12.submission')</td> |
<td>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'.</td></tr> |
<td>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'.</td></tr> |
|
|
<tr><td>user.resource.resource.<partid>.tries</td><td>&EXT('user.resource.resource.0.tries')</td> |
<tr><td>user.resource.resource.<partid>.tries</td><td>&EXT('user.resource.resource.0.tries')</td> |
<td>current number of tries on the problem</td></tr> |
<td>current number of tries on the problem</td></tr> |
<tr><td>user.resource.resource.<partid>.solved</td><td>&EXT('user.resource.resource.0.solved')</td> |
<tr><td>user.resource.resource.<partid>.solved</td><td>&EXT('user.resource.resource.0.solved')</td> |
<td>current status of the problem</td></tr> |
<td>current status of the problem</td></tr> |
<tr><td>user.resource.resource.<partid>.awarded</td><td>&EXT('user.resource.resource.0.awarded')</td> |
<tr><td>user.resource.resource.<partid>.awarded</td><td>&EXT('user.resource.resource.0.awarded')</td> |
<td>A floating point number between 0 and 1 inclusive, that is the percentage of the weight for this problem.</td></tr> |
<td>A floating point number between 0 and 1 inclusive, that is the percentage of the weight for this problem.</td></tr> |
<tr><td>user.resource.resource.<partid>.award</td><td>&EXT('user.resource.resource.0.award')</td> |
<tr><td>user.resource.resource.<partid>.award</td><td>&EXT('user.resource.resource.0.award')</td> |
<td>Detailed award of the most recent part was graded. (This will be one of the <responseid>'s <tt>awarddetail</tt></td></tr> |
<td>Detailed award determined by how the most recently graded part was graded. (This will be one of the <responseid>'s <tt>awarddetail</tt>).</td></tr> |
</table> |
</table> |
<hr /> |
<hr /> |
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. <br /> |
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. <br /> |
<table border="1"> |
<table border="1"> |
<tr><th>Incantation</th><th>result</th><th>Explanation</th></tr> |
<tr><th>Incantation</th><th>Result</th><th>Explanation</th></tr> |
<tr><td>resource.<partid>.<responseid>.tolerance</td><td>&EXT('resource.0.12.tolerance')</td> |
<tr><td>resource.<partid>.<responseid>.tolerance</td><td>&EXT('resource.0.12.tolerance')</td> |
<td>Current setting of the tolerance parameter for the particular response.</td></tr> |
<td>Current setting of the tolerance parameter for the particular response.</td></tr> |
<tr><td>resource.<partid>.maxtries</td><td>&EXT('resource.0.maxtries')</td> |
<tr><td>resource.<partid>.maxtries</td><td>&EXT('resource.0.maxtries')</td> |