Re: [LON-CAPA-users] Tolerances with Hints

2018-02-22 Thread Lucas, Mark
Carl, Thanks for looking into that. Stuart actually tacked me on to the bug report. The printing of the tolerance was not my main concern. The use of the variable was so that if anyone overrode the tolerance externally (which it turns out can’t be done for the hint), then it would display properl

Re: [LON-CAPA-users] Tolerances with Hints

2018-02-22 Thread Mills, Douglas G
I've done no testing on this but am wondering -- could the responseparams for the problem occur just before the closing or tag so that those are the values in force and would the other tolerance statements then still work as intended for their hints? Doug Douglas Mills Director of Inst

Re: [LON-CAPA-users] Tolerances with Hints

2018-02-19 Thread Carl Lira
Hi Mark, It looks like you are wanting to display the tolerance in the hint? This can be done if you set the tolerance as a variable in the script. In the test environment this works OK. I have not tried to include it in a course. This problem provides hints if the answer is wrong but within 1

Re: [LON-CAPA-users] Tolerances with Hints

2018-02-19 Thread Carl Lira
whoops. There is a bug. The problem works correctly in the authoring environment, but you are correct that in the production environment, the answer tolerance gets clobbered by the value from the hint and the problem is graded based on the hint tolerance instead of the answer tolerance. Changing