I'm having a great time running my online experiments with OSWeb, thanks for the excellent work !
Just struggling with my trial counter. I'd like to have a text display at the end of each of my 40-trial test blocks, which says "You have [remaining] trials left", so 120 left, 80 left, etc. I define this variable as "vars.remaining = ..." in my java "inline_remaining" but upon execution it says that the variable is not present in the variable store. I only manage to get a correct display of the text when I define vars.remaining UPSTREAM of my test_loop, whereas I would need to define it within this loop so that it's correctly updated (see below my experiment's structure).
In general, I've noticed that my program sometimes craches when some custom variables are not defined at the same loop level. Looks like some variables are local for some loops, sthg like that.
Someone has an explanation? :-)