HF RL Explorer

The Stats.get histogram counts() method crashes with a divide-by-zero error when the interquartile range of…

The Stats.get histogram counts() method crashes with a divide-by-zero error when the interquartile range of…: a task in repo2rlenv-swe-gen (Harbor dataset). Currently, when computing automatic histogram bins using the Freedman-Diaconis estimator, the bin width is calculated as a function of the…

The task

Currently, when computing automatic histogram bins using the Freedman-Diaconis estimator, the bin width is calculated as a function of the IQR. When the IQR is zero, this produces a zero bin width, leading to a division by zero error.

Part of FineEnvs/repo2rlenv-swe-gen.