Ranx

Latest version: v0.3.20

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

Scan your dependencies

Page 3 of 4

0.3.7

Added
- Added `make_comparable` to `run.py`. It makes a run comparable to a given qrels whether the run misses results for queries appearing in the qrels or have results for additional queries, which are removed.
- Added `make_comparable` parameter to `evaluate.py`.
- Added `make_comparable` parameter to `compare.py`.

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.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.