HF RL Explorer

ZeroDivisionError when calling get histogram counts() on data with zero interquartile range

ZeroDivisionError when calling get histogram counts() on data with zero interquartile range: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). When all (or nearly all) values in a Stats object are identical, calling get histogram counts() raises a ZeroDivisionError .

The task

When all (or nearly all) values in a `Stats` object are identical, calling `get_histogram_counts()` raises a `ZeroDivisionError`.

Part of FineEnvs/repo2rlenv-r2e-gym.