Remove points limit

This commit is contained in:
2026-01-09 19:02:08 +07:00
parent 76de7ccbdb
commit cd78a99ce7
5 changed files with 5 additions and 16 deletions

View File

@@ -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],