0.15.0 (August 01, 2022)#

Added#

  • Verbosity-flags to control high-volume mapping function invocation logging.

  • Mapping primer page to the docs.

  • Multiple improvements to the Mapper class through a new mapping.support module:

    • Improved logging capabilities.

    • Force respecting cardinality argument in Mapper.apply (fewer errors are raised).

    • Allow users to retrieve raw score matrices (Mapper.compute_scores).

    • Improved documentation and added new links is multiple places.

  • Possibility to override select filtering logic; SqlFetcher.selection_filter_type.

  • An optional add_length_ratio_term argument to score_functions.modified_hamming.

  • The utiltiy.collections.as_list function for wrapping in/casting to list

  • Support for translating an attribute of translatable in Translator.translate.

    • Names may be inherited from the parent (ie a pandas Index may inherit the name of the series)

  • Cookbook recipes for translating dict keys and Pandas index types.

  • Translation of pandas.Index types.

  • The translation.testing module.

  • Experimental and hacky implementation of translation for nested sequences.

  • Entry point rics-perf for multivariate performance testing, taking candidates from ./candidates.py and test case data from ./test_data.py.

Changed#

  • Rename Translator.map_to_sources -> map.

  • Simplify Translator.translate signature.

    • Names must now be explicit names or None (use heuristics to filter names).

    • Simplify multiple docstrings.

  • Permit Translator instances to be created with explicit fetch data. Translations will be generated based on the inputs by using a TestFetcher instance. Functionality in this mode is limited.

  • Performance testing figures updated; now shows best result as well.

Removed#

  • An unnecessary restriction on runtime override functions in Mapper

  • The fetching.support.from_records method. Fixes spurious exceptions from PandasFetcher (#99).

  • Dunder Mapper.__call__.

  • Expected runtime checks for perftests.

Fixed#

  • An issue when using integers as explicit names to translate.

  • It is now possible to use one name per element when translating sequences.

  • Perftest argument time_per_candidate now used correctly.

  • Filter out NaN values in AbstractFetcher.