Remove points limit
This commit is contained in:
@@ -124,12 +124,6 @@ points: easy=20-40, medium=45-75, hard=90-150
|
||||
points = ch.get("points", 30)
|
||||
if not isinstance(points, int) or points < 1:
|
||||
points = 30
|
||||
if difficulty == "easy":
|
||||
points = max(20, min(40, points))
|
||||
elif difficulty == "medium":
|
||||
points = max(45, min(75, points))
|
||||
elif difficulty == "hard":
|
||||
points = max(90, min(150, points))
|
||||
|
||||
return ChallengeGenerated(
|
||||
title=ch.get("title", "Unnamed Challenge")[:100],
|
||||
|
||||
Reference in New Issue
Block a user