I went back and forth on whether this belonged under Support or Discussion. How does Doenet decide how many decimal places to display in a problem when the author doesn’t specify? In this problem specifically, for example. Doenet
It took me quite a while to figure out why 1 or 2 students out of 20 were being marked wrong on Part b while everyone else was being marked correct. If you choose version k from that link, you can see this in action also. The issue is that Doenet displayed two digits 1.85 for the value of the derivative when the actual value was 1.85396, and in this random version, the difference in time in this version was large enough (3.5) that the product .00396*3.5 put the error outside the .01 allowed. But I don’t see where the problem as authored told Doenet to only display 2 digits in the first place?
I know I can fix it by increasing the allowed error, or forcing Doenet to display more digits, or by changing the expected answer to use a value rounded to 2 decimal places, but it feels like there’s a larger issue for me to figure out here.
Allowed error is tricky - I usually want students to have a little leeway in rounding, but not so much that they’re being called correct when they are doing incorrect calculations. I have seen students get very confused when a formula is called correct and then plugging a number into the formula correctly is called incorrect. Or when plugging in 2 different numbers into a formula and one is called correct and one isn’t. When that happens, students think there’s something wrong with the problem instead of realizing that there was actually something wrong with an answer that was marked correct.
More general error thoughts/questions: Matt seems to have preferred using .01 absolute error when authoring problems; WeBWorK’s default is something like .01%, Edfinity’s might be more like 2%. But I’m certain WeBWorK would have displayed more like 5 or 6 digits at a minimum, maybe even 8 or 9. I can see how might make more sense to ask problem authors to specify how numbers will be displayed and also how much error to allow. However, I think it’s pretty unusual, and Matt never wrote WeBWorK and doesn’t seem to have found it intuitive either based on how he wrote his problems.
I decided to put this under Discussion because I know how to fix the exercise. But I don’t know if there’s things I should know, and I wanted to learn about decimal places shown by default and other thoughts on allowed error best practices.
Chrissy