Skip to content

Commit

Permalink
chore(sentiment): make .9 & up as neutral
Browse files Browse the repository at this point in the history
  • Loading branch information
benzend committed Dec 18, 2024
1 parent 37cb379 commit 8205c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/glare/ux_metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def result
def threshold
@threshold ||= if result > 1.5
"positive"
elsif result > 1.0
elsif result > 0.9
"neutral"
else
"negative"
Expand Down

0 comments on commit 8205c42

Please sign in to comment.