avast / ep-stats

Statistics for Experimentation Platform
MIT License
16 stars 11 forks source link

Fixing wrong formatting #35

Closed samuelpucek closed 2 years ago

samuelpucek commented 2 years ago

Problem

Nice formatting of columns Impact, Conf. inteval lower bound and Conf. interval upper bound stopped working - there are unformatted floats instead of nicely formatted floats.

Screenshot 2022-06-10 at 15 42 15

The problem is that multiple times is called function .format() and only the last call is applied, former calls are ignored.

Solution

Merge all formats into one dictionary and call the function .format() only once.