numerical tolerance

Is there a way to set a tolerance for numerical answers for the fill in the blank portion of the quiz set?  I am looking for a way that I can account for rounding and such.  For example if the answer is 10 I would like to set it so that the answer could be + or - 5%.  That way if students answered anywhere between 9.5 and 10.5 would be right.  Thanks so much

2
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
otacke's picture

Hi Flinnagin!

You're not the only one who could need this feature :-) I wrote the code and created a pull request: https://github.com/h5p/h5p-blanks/pull/10 - but that was three years ago, and I assume it won't be merged into the official code.

Best,

Oliver 

nugraha's picture

In the field of science and engineering, numerical quizzes with tolerance are needed, such as numeric quizzes on Moodle which use the answer: tolerance format, for example, 10:1, meaning that the answers are between 9 and 11. I hope this can be realized also on the h5p fill in the blank quiz. Thanks so much

otacke's picture

Hi!

There was code for this feature since 2016, but the H5P core team never got around to reviewing it, so I closed the pull request.

Best,
Oliver

nugraha's picture

Thanks Oliver for the information.

I've read it, but I don't know how to use it. I want to try it, can you show me how to use it and how to enter the code you created on h5p. I use Lumi Education.

best regards

Nugraha

otacke's picture

Hi Nugraha!

I am sorry, but I cannot spare the time to give individual coding lessons albeit explaining what could go wrong if you patch H5P libraries.

Best,
Oliver

nugraha's picture

Thank you, so I will wait until there is a numeric quiz library with tolerance

best regard

Nugraha