mi.sample with weights ignores weights and samples uniformly
mi.sample with weights ignores weights and samples uniformly: a task in repo2rlenv-swe-smith (Harbor dataset). more itertools.sample with a weights argument does not respect the provided weights. Instead of drawing items proportional to their weights, it appears to sample uniformly (or uses a…
Part of FineEnvs/repo2rlenv-swe-smith.