3.0.0 (March 09, 2023)#
Added#
The
score_functions.disabled()function, used to force aMapperto work in override-only mode.An optional argument
for_valueto theheuristic_functions.value_fstring_alias()function.The
Mapper.copy()-method now accepts keyword override arguments.The
envinterpmodule andmisc.interpolate_environment_variables()function (replacesread_env_or_literal())
Changed#
Add
n_splitsargument toTimeFold(scikit-learn compatibility).Raise
AmbiguousScoreErrorif 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
Mapperverbosity flag to be consistent. Now calledverbose_loggingeverywhere.
Fixed#
The
heuristic_functions.candidate_fstring_alias()function may now properly use value and context placeholders.Properly raise exceptions in
[value/candidate]_fstring_aliasfor invalidfstringarguments.Added missing checks in
Mapper.__eq__().
Removed#
The
misc.read_env_or_literal()function has been replaced byrics.misc.interpolate_environment_variables().