Skip to content

v0.6.0

Compare
Choose a tag to compare
@a-vester a-vester released this 18 Jan 12:32
· 7 commits to main since this release
092f7dd

Added

  • Option to choose between three different strategies to translate scores into short-term ratings (#24).
  • Functionality to remove prefix '(P)' when cleaning ratings (#27).
  • Functions to consolidate ratings and return numerical rating scores (#37):
    • get_best_scores
    • get_second_best_scores
    • get_worst_scores
  • Function consolidate_ratings: Wrapper function for get_best_ratings, get_second_best_ratings, and get_worst_ratings (#37).

Changed

  • BREAKING CHANGE: Automatic column naming (#9).
    • get_scores_from_ratings()
      When input a pd.Series, the name of the output series will now become ratings.name prefixed with "rtg_score_".
      When input a pd.DataFrame, the column names of the output frame will now become ratings.columns prefixed with "rtg_score_".
    • get_warf_from_ratings()
      When input a pd.Series, the name of the output series will now become ratings.name prefixed with "warf_".
      When input a pd.DataFrame, the column names of the output frame will now become ratings.columns prefixed with "warf_".
  • BREAKING CHANGE: Translations of short-term ratings are now different (#16).

Fixed

  • Short-term DBRS rating entries in Ratings.db (#29).

Improved

  • Splitting the code base into multiple files in order to increase maintainability (#8).
  • Internal checks have been improved (#20).
  • Documentation has been updated and will now be created via mkdocs and mkdocstrings.
  • Using nox to test the code base against multiple Python versions.
  • Make code base flake8 compliant.
  • Use pre-commit to ensure good quality before commiting/sending PRs.
  • Use python-kacl in order to maintain CHAGELOG.