+2
-2
scripts/moderation_loop.py
+2
-2
scripts/moderation_loop.py
···
295
295
result = await analyzer.run(f"analyze {len(pending)} flags:\n\n{desc}")
296
296
analyses = result.output
297
297
298
-
# auto-resolve false positives
298
+
# auto-resolve false positives, everything else goes to human review
299
299
auto = [a for a in analyses if a.category == "FALSE_POSITIVE"]
300
-
human = [a for a in analyses if a.category == "NEEDS_HUMAN"]
300
+
human = [a for a in analyses if a.category != "FALSE_POSITIVE"]
301
301
console.print(f"analysis: {len(auto)} auto-resolve, {len(human)} need human")
302
302
303
303
for a in auto: