Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highly Repetitive & Pattern Incrementing #4

Merged
merged 6 commits into from
Aug 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Uncommented Code
  • Loading branch information
aflah02 committed Jul 30, 2023
commit 6914568dbcd360373032560ec514193b82515246
4 changes: 2 additions & 2 deletions filters/pattern_incrementing.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def incrementing_sequences_filter(text):
# When post cleanup the list is too small, it is not an incrementing sequence
# This threshold leads to P, R, F1 of 0.71, 0.63, 0.67
# These values are subject to change based on the dataset and the code modifications done post procuring them
# if len(ls) < 4:
# return False
if len(ls) < 4:
return False

# Basic case where numbers are only increasing or decreasing
isIncreasing = True
Expand Down