rm hardcoded same score check

This commit is contained in:
Partho Das 2026-02-23 15:03:17 +05:30
parent 708b42a00f
commit f02c24204d
22 changed files with 0 additions and 85 deletions

View file

@ -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):