Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setupDefaults() {
this.numSegments = 100;
}
setup() {
this.setName('MyNamespace');
this.setPrimaryUnit('id');
}
setupExperiments() {
this.addExperiment('SampleExperiment', DefaultExperiment, 50);
this.addExperiment('SampleExperiment2', DefaultExperiment2, 50);
}
};
class DefaultEmptyNamespace extends planout.Namespace.SimpleNamespace {
setupDefaults() {
this.numSegments = 100;
}
setup() {
this.setName('MyNamespace');
this.setPrimaryUnit('id');
}
setupExperiments() {
return;
}
};