3.0.0 (March 09, 2023)#

Added#

  • The score_functions.disabled() function, used to force a Mapper to work in override-only mode.

  • An optional argument for_value to the heuristic_functions.value_fstring_alias() function.

  • The Mapper.copy()-method now accepts keyword override arguments.

  • The envinterp module and misc.interpolate_environment_variables() function (replaces read_env_or_literal())

Changed#

  • Add n_splits argument to TimeFold (scikit-learn compatibility).

  • Raise AmbiguousScoreError if match scores do not allow deterministic mapping.

  • Add a small positional penalty in HeuristicScore, to favor alias functions that are defined early.

  • Add a small positional penalty in modified_hamming, to favor candidates that are defined early.

  • Reduce default value of Mapper.min_score (from 1.0 to 0.9).

  • Updated Mapper verbosity flag to be consistent. Now called verbose_logging everywhere.

Fixed#

  • The heuristic_functions.candidate_fstring_alias() function may now properly use value and context placeholders.

  • Properly raise exceptions in [value/candidate]_fstring_alias for invalid fstring arguments.

  • Added missing checks in Mapper.__eq__().

Removed#

  • The misc.read_env_or_literal() function has been replaced by rics.misc.interpolate_environment_variables().