aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-23 04:50:59 -0700
committerFuwn <[email protected]>2025-09-23 04:50:59 -0700
commit46063e66e9bc4faebbd9b516e885cc03f2467eb0 (patch)
tree70d7679777642c64f4644702dfbf0d2d918b8239 /src
parentfeat(bot): Skip applying rules for approved posts (diff)
downloadumabot-46063e66e9bc4faebbd9b516e885cc03f2467eb0.tar.xz
umabot-46063e66e9bc4faebbd9b516e885cc03f2467eb0.zip
fix(irm): Improve confidence evaluation
Diffstat (limited to 'src')
-rw-r--r--src/umabot/rules/intelligent_moderator_base.py2
-rw-r--r--src/umabot/rules/intelligent_roleplay_moderator.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/umabot/rules/intelligent_moderator_base.py b/src/umabot/rules/intelligent_moderator_base.py
index 86acdfe..7839f58 100644
--- a/src/umabot/rules/intelligent_moderator_base.py
+++ b/src/umabot/rules/intelligent_moderator_base.py
@@ -44,7 +44,7 @@ Guidelines for Content Needing Development:
- Consider factors like: word count, creativity, effort, engagement potential, originality, character development
- Be VERY lenient - err heavily on the side of allowing content unless it's clearly and obviously brief
- Only remove content that is genuinely low-quality, not just short
-- High confidence (0.8+) for clear cases, lower confidence for borderline cases
+- High confidence (0.7+) for clear cases, lower confidence for borderline cases
Examples of ACCEPTABLE content (should NOT be removed):
- Character status updates with context and future plans
diff --git a/src/umabot/rules/intelligent_roleplay_moderator.py b/src/umabot/rules/intelligent_roleplay_moderator.py
index b9bc62f..8e9582c 100644
--- a/src/umabot/rules/intelligent_roleplay_moderator.py
+++ b/src/umabot/rules/intelligent_roleplay_moderator.py
@@ -43,9 +43,9 @@ class IntelligentRoleplayModerator(Rule, IntelligentModeratorBase):
return False # Don't remove, just change flair
elif evaluation["is_low_effort"]:
- # Only remove if confidence is high enough (0.8+)
+ # Only remove if confidence is high enough (0.7+)
confidence = evaluation.get("confidence", 0.0)
- if confidence >= 0.8:
+ if confidence >= 0.7:
# Remove brief post and notify user
self._notify_brief_content_removal(submission, evaluation)
return True # Remove the post