But when I actually āpresentā, the graph is showing the default (?) values, not the randomized values, for the points. Any fix for this? In this particular activity, it isnāt really crucial that I randomize those values, but in some other context I might not want to give that up.
For some reason, when you use random in a graph, it only does it once and then it never randomizes again. Try using the CL for your randoms instead. Something like:
r = randomGenerator(expInput2.submitCount)
number("a"): r.int(-4,4)
...
Iām using the submitCount to seed the generator, so that, again, it doesnāt calculate just once.
Thanks for the help! I actually had to remove the submitCount, as I donāt want it to re-calculate the points, I want to compute the points once per student but randomly across students. With that in the random generator, it was re-computing the random points when the student clicked āsubmitā, which resulted in the correct answer now being wrong⦠lol!
Itās working perfectly now, and the randomly selected points are āstickingā for the snapshots! Thanks so much!!