Aggregation plotting does not plot the same set of points for every student. See here for a sample of what students saw:
Reduced test case here: aggregation • Activity Builder by Desmos Classroom
I think what’s probably happening is that aggregation does not keep good track of the order in which its data is registered, meaning it sometimes plots (x,y) pairs that are not true pairs, but rather come from somewhere in the list of x’s and y’s.
Needless to say it’s a problem for plotting. Thoughts?
I’m sorry I never caught the reason before, but here’s my fix for the above screen. I left all the old code in there with comments. Essentially, you were defining two aggregate lists and a dummy list…
aggregate(table.cellNumericValue(1,1))
aggregate(table.cellNumericValue(1,2))
aggregate([numericValue("*")])
but you were conditionally applying either the cell list or the dummy list (i.e. each student would either see the cell aggregates or the dummy list), rather than conditionally aggregating the cell or dummy into the list.
when bTableLock.pressCount>0 aggregate(table.cellNumericValue(1,1))
otherwise [numericValue("*")]
versus
aggregate(when bTableLock.pressCount>0 table.cellNumericValue(1,1)
otherwise numericValue("*") )
I used the latter to define variables studentHand and studentHeight and then aggregated those:
studentHand = when bTableLock.pressCount>0 table.cellNumericValue(1,1)
otherwise numericValue("*")
studentHeight = when bTableLock.pressCount>0 table.cellNumericValue(1,2)
otherwise numericValue("*")
numberList(`h_{andSpanYou}`): aggregate(studentHand)
numberList(`h_{eightYou}`): aggregate(studentHeight)
Hope this clarifies and helps regain some confidence in the aggregate!