We have done a good job of making the badapted repo devoid of any DARC specific content so that it is entirely general.
But the badapted repo is missing the BayesianAdaptiveDesignGeneratorDARC class which is very general. We need to move this class (and associated helper functions into the badapted repo and out of this one.
By doing this, we create a new class (BayesianAdaptiveDesignGenerator) in the badapted repo which developers can then easily subclass for their own custom experiment toolboxes.
BayesianAdaptiveDesignGeneratorDARC class
[x] move BayesianAdaptiveDesignGeneratorDARC into the badapted repo.
[x] Rename it BayesianAdaptiveDesignGenerator to avoid the DARC related naming
[x] Inherit from DesignGeneratorABC rather than DARCDesignGenerator
[x] update the necessary imports
Then...
[x] We will then use DARCDesignGenerator as the DARC specific class
[x] so BayesianAdaptiveDesignGeneratorDARC will be the concrete class that people use.
[x] Then go through the code (PsychoPy demos, tests, etc) and set the actual concrete design generator as DARCDesignGenerator
We have done a good job of making the
badapted
repo devoid of any DARC specific content so that it is entirely general.But the
badapted
repo is missing theBayesianAdaptiveDesignGeneratorDARC
class which is very general. We need to move this class (and associated helper functions into thebadapted
repo and out of this one.By doing this, we create a new class (
BayesianAdaptiveDesignGenerator
) in thebadapted
repo which developers can then easily subclass for their own custom experiment toolboxes.BayesianAdaptiveDesignGeneratorDARC
classBayesianAdaptiveDesignGeneratorDARC
into thebadapted
repo.BayesianAdaptiveDesignGenerator
to avoid the DARC related namingDesignGeneratorABC
rather thanDARCDesignGenerator
Then...
DARCDesignGenerator
as the DARC specific classBayesianAdaptiveDesignGeneratorDARC
will be the concrete class that people use.DARCDesignGenerator
badapted
repo