cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[OPEN] The range() function in Classic Quizzes formula questions can sometimes return incorrect values

[OPEN] The range() function in Classic Quizzes formula questions can sometimes return incorrect values

Canvas white logo

 

Known issues indicate notable behaviors that has been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.
Description


When using the range() function in a Classic Quizzes formula question, some combinations of integers can return incorrect values. In some instances the value is the negative of the correct answer, others the answer is just outright incorrect.

Expected Behavior


Instead it should calculate the range of values correctly.

Workaround


No workaround exists at this time.

Steps to Reproduce

 

  1. Create a formula question in a Classic Quiz with at least three variables

  2. Set the min/max of the first variable to 1 and 9

  3. Set the min/max of the other two variables to 10 and 50

  4. Enter range(a,b,c) in the Formula box and click Save

  5. Enter ~20 or more in the “Offer possible value combinations” field and click Generate

  6. Scroll through the list of generated answers to see incorrect and/or negative values

 

Additional Info


QO-807

Labels (2)