squaresLab / BugZoo

Keep your bugs contained. A platform for studying historical software bugs.
https://squareslab.github.io/BugZoo
MIT License
67 stars 12 forks source link

Remove dependence on numpy #217

Closed ChrisTimperley closed 6 years ago

ChrisTimperley commented 6 years ago

numpy is currently used by a single method in BugZoo to sample items from a weighted list. numpy is an incredibly heavy dependency that requires a considerable amount of disk space and time to install, as well as a complete C buildchain. Rather than using numpy, BugZoo should roll its own function for sampling items from a weighted item (located in bugzoo.util).

ChrisTimperley commented 6 years ago

This functionality has been implemented in Darjeeling's localization module -- the only place where it's being used -- so it should be fine to remove it in v2.2.