mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
rm hardcoded same score check
This commit is contained in:
parent
708b42a00f
commit
f02c24204d
22 changed files with 0 additions and 85 deletions
|
|
@ -408,9 +408,6 @@ 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue