cleanlab--cleanlab
91cb6a7de0
The functions `_get_consensus_stats` and `_get_annotator_label_quality_score` take an argument `label_quality_score_kwargs`, a dictionary of keyword arguments to pass to `get_label_quality_scores`. When passing a `label_quality_score_kwargs` dictionary to these functions, using the unpacking operator is incorrect: that would be an extra level of unpacking. The _implementations_ of these functions will unpack the `label_quality_score_kwargs` when calling `get_label_quality_scores`. This patch fixes the issue and adds a basic regression test. [skip ci]