I want to merge multiple results together but the statistics are not an average of each result but different. I am confident the root cause is in line 115-118 in core/result.py
merged_result.stats = {
key: ((merged_result.stats[key] + result.stats[key]) / 2)
for key in merged_result.stats
}
example with some of my results: (0.067716037 + 0.186864859 + 0.068158952 + 0.065110102) / 4 = 0.096962488
how the software calculates it:
(0.0677 + 0.1868) / 2 = 0.127290448
(0.12729 + 0.068158952) / 2 = 0.097724476
(0.0977244 + 0.06511012) / 2 = 0.081417288
As you can see the answer is different. Could you confirm my findings?
Hi,
I want to merge multiple results together but the statistics are not an average of each result but different. I am confident the root cause is in line 115-118 in core/result.py
merged_result.stats = { key: ((merged_result.stats[key] + result.stats[key]) / 2) for key in merged_result.stats }
example with some of my results: (0.067716037 + 0.186864859 + 0.068158952 + 0.065110102) / 4 = 0.096962488 how the software calculates it: (0.0677 + 0.1868) / 2 = 0.127290448 (0.12729 + 0.068158952) / 2 = 0.097724476 (0.0977244 + 0.06511012) / 2 = 0.081417288
As you can see the answer is different. Could you confirm my findings?