Ranx

Latest version: v0.3.19

Safety actively analyzes 638773 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.3.5

Fixed
- Fixed a bug affecting `Tukey's HSD Test`: results from the test were not converted to proper dtypes from strings, causing the superscript reporting statistical significance differences in `report.py` to be wrong.

Changed
- Changed `tukey_hsd_test.py` to use `tukey_hsd` provided by `scipy`.
- `ranx` now requires `python>=3.8`.
- `ranx` now requires `scipy>=1.8`.

Removed
- Removed dependency from `statsmodels`.

0.3.4

Fixed
- Fixed a bug affecting `precision.py`, `recall.py`, and `f1.py`: `numba` does not raise ZeroDivisionError, added a control to make sure zero is returned when no retrieved results are provided for a specific query.
- Fixed a bug in `f1.py`: missing argument in function call.

[0.3.x] - 2022

Sorry, I have been lazy.

0.2.13

Fixed
- Fixed a bug in `posfuse.py`: `numba` does not raise out of bounds error in some specific cases, added a control to make sure ranking positions with no associated probability get 0 probability.
- Fixed a bug in `baysfuse.py`: as it uses log odds, which can be negative, `comb_sum` cannot be used. Added a `odds_sum` function to combine the log odds.

0.2.12

Fixed
- Fixed a bug in `data_structures/common.py:sort_dict_by_value` that was preventing result list sorting to be consistent for documents with the same score.
- Fixed a bug causing original runs to be modified by fusion methods.

0.2.11

Fixed
- Fixed a bug in `max_norm.py`, `min_max_norm.py`, and `sum_norm.py`: `min` and `max` functions called on empty lists do not raise error in `Numba` causing downstream miscalculations.

0.2.10

Fixed
- Fixed a bug in `bordafuse.py`: `get_candidates` raised error if no run had retrieved docs for a given query.
- Fixed a bug in `borda_norm.py`: `get_candidates` raised error if no run had retrieved docs for a given query.
- Fixed a bug in `condorcet.py`: `get_candidates` raised error if no run had retrieved docs for a given query.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.