# Coloration error in tournament mode

**URL:** <https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 13, 2022, 1:59pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041 "2022-06-13T13:59:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gsqsf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gsqsf/32/106583_2.png) [@Gsqsf](https://discuss.elastic.co/u/Gsqsf)\
**Post date:** [June 13, 2022, 1:59pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041/1 "2022-06-13T13:59:24Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34a7dfe0214ff3baf782341241525f5e12dff090.png)

An upgrade in the range -90% percent take the color red for  
Mean Throughput  
Median Throughput  
Max Throughput

---

<div class="post-metadata">

**Author:** ![Gsqsf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gsqsf/32/106583_2.png) [@Gsqsf](https://discuss.elastic.co/u/Gsqsf)\
**Post date:** [June 13, 2022, 2:05pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041/2 "2022-06-13T14:05:22Z")

</div>

Also Min Throughput is green instead of red.

---

<div class="post-metadata">

**Author:** ![michaelbaamonde](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michaelbaamonde](https://discuss.elastic.co/u/michaelbaamonde)\
**Post date:** [June 13, 2022, 4:49pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041/3 "2022-06-13T16:49:53Z")

</div>

Hello and thanks for your interest in Rally!

Race comparisons report the percentage difference per metric between a baseline race and a contender race. Whether the difference is colored red or green depends on whether an increase is considered "good' or "bad".

Increases in throughput are a good thing, so they're colored green, while decreases in throughput are colored red. It's the opposite for latency: increases are bad and will be red while decreases are good will be green.

Since we're comparing two races, it's important to clarify which race is the baseline, i.e. the results that Rally should compare the contender's results against. In your case, since you're surprised by the output, my guess is that you simply swapped the `--baseline` and `--contender` arguments. This will result in the percentage differences being inverted from what you expected since you've accidentally flipped the comparison. It's an easy mistake to make! I've done it myself. 🙂

Try swapping the race IDs passed to the `--baseline` and `--contender` arguments and that will probably give you the output you'd expect.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 11, 2022, 4:50pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041/4 "2022-07-11T16:50:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
