verifiers 0.4.1.dev75__py3-none-any.whl → 0.4.1.dev76__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,5 +120,7 @@ def _episode_score(episode: Episode) -> float:
120
120
  """A candidate's score on one episode: the mean reward of the episode's scored
121
121
  traces. Seats that recorded no rewards (a reward-less judge) don't dilute the
122
122
  signal; an episode with no scored traces scores 0."""
123
+ if any(trace.is_dropped for trace in episode.traces):
124
+ raise ValueError("GEPA cannot score an episode containing dropped traces")
123
125
  scored = [trace.reward for trace in episode.traces if trace.rewards]
124
126
  return sum(scored) / len(scored) if scored else 0.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.4.1.dev75
3
+ Version: 0.4.1.dev76
4
4
  Summary: Verifiers: Environments for LLM Reinforcement Learning
5
5
  Project-URL: Homepage, https://github.com/primeintellect-ai/verifiers
6
6
  Project-URL: Documentation, https://github.com/primeintellect-ai/verifiers
@@ -77,7 +77,7 @@ verifiers/v1/envs/single_agent/env.py,sha256=iH-AnS5-5rDZM3MaYFxzaHSVqJAaw9mQJaa
77
77
  verifiers/v1/envs/user_sim/__init__.py,sha256=nnT695HdqjAEouYL5wtVu6MhIp2wf5yuK-EYgxOVx0s,118
78
78
  verifiers/v1/envs/user_sim/env.py,sha256=deI4r-Utn_v4E_Vb9P_X3LzFh2GRkCO4OlQt8BOCMGY,4942
79
79
  verifiers/v1/gepa/__init__.py,sha256=6nmdRE0-34AKioPHBjTxUg5Jo_2z7tMX-OU3zMNpAJI,197
80
- verifiers/v1/gepa/adapter.py,sha256=YNvHMR2L5Utl-vtPfjZxmDCd2tTcoAPWG6aVGnV1icM,6139
80
+ verifiers/v1/gepa/adapter.py,sha256=mM51skTJ7wxU5H7dhV7x_y505C09cNv-ChOBLUeNp4M,6280
81
81
  verifiers/v1/gepa/config.py,sha256=zRjrFkiyMWzD1LXvjuUV_rJtXVO5fWNiraVruHoIADA,4830
82
82
  verifiers/v1/gepa/dataset.py,sha256=cS4MtQVoBOnAHKs8REQm5lKGeqUpdXPU1hROU67aBG4,2130
83
83
  verifiers/v1/gepa/reflection.py,sha256=V1VSXuszkw5Fikwqwe5KSwunhlibudZ7F8csUXraENk,1144
@@ -204,8 +204,8 @@ verifiers/v1/utils/scope.py,sha256=bzUEiWDOVdbj7dXOwGOlzsQ_-Xu0j9NR5TalQB-8TS8,8
204
204
  verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
205
205
  verifiers/v1/utils/trace_store.py,sha256=Qo9qvsJAl8PoRUavjQAfUB2VNxmUtYQtU2ejLKPzY9c,3382
206
206
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
207
- verifiers-0.4.1.dev75.dist-info/METADATA,sha256=43YmLfDLfuNbyER8NarhPluXGaOig5-Y1E9cPcP5R6s,5234
208
- verifiers-0.4.1.dev75.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
209
- verifiers-0.4.1.dev75.dist-info/entry_points.txt,sha256=O1bIO0gyJWuLfWtTGF0h-JkNz6FkyXP7Z9iMFYnjeMI,222
210
- verifiers-0.4.1.dev75.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
211
- verifiers-0.4.1.dev75.dist-info/RECORD,,
207
+ verifiers-0.4.1.dev76.dist-info/METADATA,sha256=YnylyYTSzGQpyT4mreXqSukubHye7MUJSXIGqvTNq60,5234
208
+ verifiers-0.4.1.dev76.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
209
+ verifiers-0.4.1.dev76.dist-info/entry_points.txt,sha256=O1bIO0gyJWuLfWtTGF0h-JkNz6FkyXP7Z9iMFYnjeMI,222
210
+ verifiers-0.4.1.dev76.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
211
+ verifiers-0.4.1.dev76.dist-info/RECORD,,