Scientist v0.2.0 Scientist.Result

A set of functions for working with experiment results.

A Scientist.Result struct contains all observations from running an experiment, as well as information about whether observations were mismatched or ignored.

Summary

Functions

Returns true if any experiment mismatches were ignored

Returns true if all observations matched the control

Returns true if any observations failed to match the control

Creates a new result

Functions

ignored?(result)

Returns true if any experiment mismatches were ignored.

matched?(result)

Returns true if all observations matched the control.

Ignored mismatches are excluded.

mismatched?(result)

Returns true if any observations failed to match the control.

Ignored mismatches are excluded.

new(ex, control, candidates)

Creates a new result.