Arrowman123 commited on
Commit
451bd0f
·
verified ·
1 Parent(s): 61966fb
Files changed (1) hide show
  1. environment.py +2 -1
environment.py CHANGED
@@ -35,7 +35,8 @@ class SupportEnv:
35
  total = len(self.cases)
36
  score = self.correct_count / total if total > 0 else 0.0
37
 
38
- return max(0.01, min(0.99, score)) # strict range
 
39
 
40
  def _get_obs(self):
41
  case = self.cases[self.index]
 
35
  total = len(self.cases)
36
  score = self.correct_count / total if total > 0 else 0.0
37
 
38
+ # ensure strict range
39
+ return max(0.01, min(0.99, score))
40
 
41
  def _get_obs(self):
42
  case = self.cases[self.index]