aboutsummaryrefslogtreecommitdiff
path: root/test_moderator.py
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-17 20:12:45 -0700
committerFuwn <[email protected]>2025-09-17 20:12:45 -0700
commitbbe6e5457c452c575bad91376299536c7ed9d20c (patch)
tree3079d2405b31a7c358e1d08d44a47b585d639339 /test_moderator.py
parentfeat(intelligent_moderator): Include Discord server invite when marking as lo... (diff)
downloadumabot-bbe6e5457c452c575bad91376299536c7ed9d20c.tar.xz
umabot-bbe6e5457c452c575bad91376299536c7ed9d20c.zip
feat(intelligent_moderator): Update response grammar
Diffstat (limited to 'test_moderator.py')
-rwxr-xr-xtest_moderator.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_moderator.py b/test_moderator.py
index 061adda..939d214 100755
--- a/test_moderator.py
+++ b/test_moderator.py
@@ -286,7 +286,7 @@ class TestIntelligentModerator(IntelligentModeratorBase):
issues.append('no plot development')
if any(word in reasoning_lower for word in ['effort', 'substance', 'content']):
if 'low' in reasoning_lower or 'lack' in reasoning_lower:
- issues.append('low effort')
+ issues.append('low-effort')
if any(word in reasoning_lower for word in ['creativity', 'originality']):
if 'lack' in reasoning_lower or 'no' in reasoning_lower:
issues.append('lacks creativity')
@@ -378,7 +378,7 @@ def print_results(results: List[Dict[str, Any]], pause: bool = False, moderator:
if action == "CHANGE_FLAIR_TO_ART":
print(" šŸŽØ Change flair to Art")
elif action == "REMOVE_POST":
- print(" šŸ—‘ļø Remove post (low effort)")
+ print(" šŸ—‘ļø Remove post (low-effort)")
elif action == "ALLOW_POST":
print(" āœ… Allow post")
@@ -399,8 +399,8 @@ def print_results(results: List[Dict[str, Any]], pause: bool = False, moderator:
if "REMOVE_POST" in actions:
print(f"\nšŸ“§ Mod Mail (Low Effort Removal):")
- print(f" Subject: Your roleplay post has been removed for low effort")
- print(f" Message: Your roleplay post has been removed because it was determined to be low effort content.")
+ print(f" Subject: Your roleplay post has been removed for low-effort")
+ print(f" Message: Your roleplay post has been removed because it was determined to be low-effort content.")
# Format reasoning based on moderator's reasoning level
if moderator: