Function: optOutModeler()
This allows modelers to opt out.
Branches and code coverage
Intended branches
Reset the
medianPerformanceResultsof the modeler. Currently not performed.Reset the
modelerSubmissionBlockof the modeler. Currently not performed.Assure that the modeler is registered.
Assure that the modeler has not already opted out.
Assure that the modeler has not already begun the opt-out process.
Update the
optOutTimeof the modeler to the current time plus one day.Transfer the modeler's stake back to them.
Negative behavior
Should not allow a top N modeler to opt out. Currently not checked.