Skip to content

Commit

Permalink
Fix the value log for generated paired slice candidates (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
adedaran authored Sep 27, 2022
1 parent 212b0e1 commit c788023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sliceline/slicefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,6 @@ def _get_pair_candidates(
feature_offset_end: np.ndarray,
) -> sp.csr_matrix:
"""Compute and prune plausible slices candidates."""
slices, statistics = self._get_pruned_s_r(slices, statistics)

compatible_slices = self._join_compatible_slices(slices, level)

if np.sum(compatible_slices) == 0:
Expand Down Expand Up @@ -587,6 +585,7 @@ def _search_slices(
level += 1

# enumerate candidate join pairs, including size/error pruning
slices, statistics = self._get_pruned_s_r(slices, statistics)
nr_s = slices.shape[0]
slices = self._get_pair_candidates(
slices,
Expand Down

0 comments on commit c788023

Please sign in to comment.