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

@ -248,10 +248,6 @@ class RegexEnv(BaseEnv):
1.0 if s >= self.config.score_threshold else 0.0
)
# If all scores identical, no learning signal
if len(set(scores["scores"])) == 1:
return None
return scores
async def rollout_and_score_eval(self, problem: dict) -> dict: