Batch session update after each participant
I am wondering if (and if yes, how) it is possible to update the batch session data after every participant and I guess my question is twofold.
Suppose I have an experiment with two between-subjects conditions, in each of which I want to have 5 participants in the end and I am doing condition assignment using Batch Session Data (i.e., the batch session data would look something like
"conditions": [ "A", "A", "A", "A", "A", "B", "B", "B", "B", "B" ]
1) Places in the experiment are obviously taken away also from participants who start but then abort the study (or just never finish it). Is there a way to put that condition back into the batch session data, for instance if the experiment is not finished within a given timeframe?
2) Of course, I would only want 5 "good" participants per condition, so only those who passed an attention check and with full datasets, for instance. I could implement my attention check script within my experiment, and again: if a participant had failed the attention check, could I replace that condition again in the Batch Session Data?
My overall goal is to have equal-sized conditions more easily, rather than frantically checking the data of all participants so far towards the end of a data collection and manually changing the available spaces in the experiment.