Scientist v0.2.0 Scientist.Default
The default Scientist experiment.
This experiment module will be used when an experiment is created without a callback
module specified. It has trivial implementations of the required callbacks for
Scientist.Experiment
.
This experiment is always enabled and its results are never published.
Summary
Functions
Returns the default context for an experiment
Returns the default name for an experiment
Callback implementation for Scientist.Experiment.enabled?/0
Creates a new experiment
Callback implementation for Scientist.Experiment.publish/1
Called when an experiment run raises an error during an operation
Called when an experiment run throws an error during an operation
Functions
Returns the default context for an experiment.
Any additional context passed to new/2
will be merged with the default context.
Callback implementation for Scientist.Experiment.enabled?/0
.
Callback implementation for Scientist.Experiment.publish/1
.
Called when an experiment run raises an error during an operation.