Revert "rm hardcoded same score check"

This reverts commit f02c24204d.
This commit is contained in:
Partho Das 2026-03-10 01:42:44 +05:30
parent cdc23ba5dc
commit 632ab0161c
22 changed files with 85 additions and 0 deletions

View file

@ -408,6 +408,9 @@ class SQLQueryEnv(BaseEnv):
percentage_of_range = min(percentage_of_range, 1.0)
scores["scores"].append(1.0 - percentage_of_range)
if all([scores["scores"][0] == score for score in scores["scores"]]):
return None # If all the same, return None
return scores
async def get_next_item(self) -> WikiSQLRow: