mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-27 17:23:08 +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
|
|
@ -404,10 +404,6 @@ class SingleToolCallingEnv(BaseEnv):
|
|||
# Apply linear penalty scaling from 1.0 down to 0.0
|
||||
scores["scores"].append(1.0 - percentage_of_range)
|
||||
|
||||
# Check if all scores are the same (no learning signal)
|
||||
if all(scores["scores"][0] == score for score in scores["scores"]):
|
||||
return None
|
||||
|
||||
return scores
|
||||
|
||||
async def get_next_item(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue