# Add rivet-based CI build and deviation test

## Description

- Add a CI build based on the Rivet docker image
- Add a CI run which actually analyses and plots events, such that we can afterwards check for strong deviations compared to a reference YODA file
- The deviation check is also run automatically, and the CI fails if the deviations are not acceptable

## Example Result

Below a two example histograms of deviations with respect to a reference run. One is uncorrelated, such that we get a Gaussian with mean approximately zero and std approximately one. The other is a correlated result, for we get mean equal to zero and std equal to zero. Both (and everything in between) are acceptable results for this automated check. Unacceptable would be a mean significantly away from zero, or a std significantly above one.

Edited by Enrico Bothmann