So, to make it clearer, I was trying to combine several practice questions into one practice for a whole unit. We did all of 8.7.01-06 in one day, so I wanted to make a practice to go along with it. This is what I ended up assigning:
- 8.7.01 slides 1-3,
- 8.7.02 slides 1-2,
- 8.7.03 slides 1-5,
- 8.7.04 slides 1-3,
- 8.7.05 slides 1-3,
- 8.7.06 slides 1-3
because I still wanted them to see if their answers were correct.
As I was consolidating practice questions, I could easily change each label in the Activity Builder, but I was receiving code errors. Come to find out, it’s because Desmos has every practice’s student response boxes named input1, input2, inputn and reuses note1, note2, noten for every practice, so the results pages all have code that looks like this:
cellContent(1,1):
when not(note1.script.complete) “”
when note1.script.incomplete “Incomplete”
when note1.script.type= 3 “Completed*”
when note1.script.type = 2 and note1.script.correct and not(note1.script.error) “Correct*”
when note1.script.type =1 and note1.script.correct and not(note1.script.error) “Correct”
otherwise “Incorrect”
cellContent(2,1):
when not(note2.script.complete) “”
when note2.script.incomplete “Incomplete”
when note2.script.type= 3 “Completed*”
when note2.script.type = 2 and note2.script.correct and not(note2.script.error) “Correct*”
when note2.script.type =1 and note2.script.correct and not(note2.script.error) “Correct”
otherwise “Incorrect”
…
cellErrorMessage(1,1): when note1.script.error and not(note1.script.incomplete) note1.script.errorM otherwise “”
cellErrorMessage(2,1): when note2.script.error and not(note2.script.incomplete) note2.script.errorM otherwise “”
cellErrorMessage(3,1): when note3.script.error and not(note3.script.incomplete) note3.script.errorM otherwise “”
cellErrorMessage(4,1): when note4.script.error and not(note4.script.incomplete) note4.script.errorM otherwise “”
cellErrorMessage(5,1): when note5.script.error and not(note5.script.incomplete) note5.script.errorM otherwise “”
cellErrorMessage(6,1): when note6.script.error and not(note6.script.incomplete) note6.script.errorM otherwise “”
so it didn’t know what to do with multiple note1 and multiple note2 and so forth. So I would do a “find” then manually replace 12
note1
with
note7
but I got very tired of doing that after the first 60 times and wanted to have an easy process to find all “note1” and replace with “note7” but apparently that doesn’t exist in Desmos.
*tl/dr Could Desmos give us a “find and replace all” or maybe even rename their objects so that there is specificity in the variable name (“note8.7.02.2” instead of “note2”) or better yet, define variables at the top of the code to refer to throughout the body so I could make one change at the top for every use of “note2”?