Skip to content

Commit

Permalink
Use actual reason count in historical accuracy check
Browse files Browse the repository at this point in the history
  • Loading branch information
user12986714 committed Jul 4, 2020
1 parent 103026b commit d6b4696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/post_concerns/autoflagging.rb
Expand Up @@ -55,7 +55,7 @@ def autoflag
fake_flag_condition = FlagCondition.new(
sites: Site.mains,
max_poster_rep: post.user_reputation,
min_reason_count: 1,
min_reason_count: len(post.reasons),
min_weight: post.reasons.sum(&:weight)
)

Expand Down

0 comments on commit d6b4696

Please sign in to comment.