Calculating correlation edits the input metrics
danieldeutsch opened this issue · 0 comments
danieldeutsch commented
During the correlation calculation, multiple metrics objects are merged into one
sacrerouge/sacrerouge/commands/correlate.py
Lines 34 to 38 in f1a864c
If someone calls correlate multiple times in a row, it will mess up the results. This should not happen. We should instead make a copy of all of the objects so we don't change the input objects.