verifiers 0.4.2.dev87__py3-none-any.whl → 0.4.2.dev88__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.
@@ -12,8 +12,8 @@ class DecoratedFunctionConfig(BaseConfig):
12
12
  """A plugged function standing in for a decorated task method."""
13
13
 
14
14
  fn: str | None = None
15
- """Import path to the function: `pkg.module.function`, `pkg.module:function`,
16
- or `path/to/file.py:function`. Unset keeps the task's decorated method with the
15
+ """Import path to the function: `pkg.module:function` or
16
+ `path/to/file.py:function`. Unset keeps the task's decorated method with the
17
17
  entry's name and only overrides its metadata (priority, weight, skip_scoring)."""
18
18
 
19
19
  priority: int | None = None
@@ -228,15 +228,12 @@ def file_module(path: str) -> ModuleType:
228
228
 
229
229
 
230
230
  def plugged_fn(path: str) -> Callable[..., Any]:
231
- """Resolve a plugged function's import path: `pkg.module.function`,
232
- `pkg.module:function`, or `path/to/file.py:function`."""
231
+ """Resolve a plugged function's import path: `pkg.module:function` or
232
+ `path/to/file.py:function`."""
233
233
  module_path, _, attr = path.rpartition(":")
234
- if not module_path:
235
- module_path, _, attr = path.rpartition(".")
236
234
  if not module_path or not attr:
237
235
  raise ValueError(
238
- f"fn {path!r} must be `pkg.module.function`, `pkg.module:function`, "
239
- "or `path/to/file.py:function`"
236
+ f"fn {path!r} must be `pkg.module:function` or `path/to/file.py:function`"
240
237
  )
241
238
  if module_path.endswith(".py"):
242
239
  module = file_module(module_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.4.2.dev87
3
+ Version: 0.4.2.dev88
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
@@ -46,7 +46,7 @@ verifiers/v1/configs/runtime.py,sha256=7To2aecnYuv_ThVt5OIlKUiocldmt4O0hZzkSwuJs
46
46
  verifiers/v1/configs/sampling.py,sha256=yHYb-ymUg8MlXfNDn9VZ3yXL5SXNqrEDT6JLuMAovYU,1146
47
47
  verifiers/v1/configs/scoring.py,sha256=8t5NrQU9b8R9dGdcG-aQm_U1m3TgeMIbw_XUN4esoF0,3115
48
48
  verifiers/v1/configs/select.py,sha256=a72aweHXsA1B9i-ShR710NZr4ZFC-0xfSQ5J8aQGrew,5820
49
- verifiers/v1/configs/task.py,sha256=3CB9pumHdxAHlxLKuLEiCfQPW37tNqy_HC6DgG2GKj4,2958
49
+ verifiers/v1/configs/task.py,sha256=Au-SIawoJff2MBUwCqpqPCxFVoqvd4fvg74dnmM9uz4,2934
50
50
  verifiers/v1/configs/taskset.py,sha256=OJG_DfM2_6I4Mm1-egMcrIEN6UtD2JaBaXnzW9SZXk8,906
51
51
  verifiers/v1/configs/cli/__init__.py,sha256=YMDUPdbRlDJ77dhj3QqzmyRhqNgUvuQdpj_bdBqzZPM,78
52
52
  verifiers/v1/configs/cli/debug.py,sha256=1vddnShdwYzRJp0Ubl9sp7sgnR3m2JKHkAOk741UnWU,2748
@@ -177,7 +177,7 @@ verifiers/v1/utils/generic.py,sha256=lKIzu5rvwnuSlr_kTFdupf-ElubjjvOo0vnBHYMUpC4
177
177
  verifiers/v1/utils/git.py,sha256=LJGHrIxZs7eg58e_W7TiNYbZQCXMBERgkP42F4IOk9A,8363
178
178
  verifiers/v1/utils/image.py,sha256=OFw_wdwVtbdwa8uJ3X3vYfhpUAi0CTH5HMBupjVsRRQ,282
179
179
  verifiers/v1/utils/interrupt.py,sha256=HueVSI54ZVIKcJ0uZ62uQduUSgXEXJRL3tlzlo1FCak,1043
180
- verifiers/v1/utils/loaders.py,sha256=lEeRQ5j6-YJ9UKshhGKBz6g5yx6dn-M1T8urXpNP5KI,13043
180
+ verifiers/v1/utils/loaders.py,sha256=QbkQmzcWDB7frHzzO6kutkLz9YAgZIswQ3aFffOkSog,12904
181
181
  verifiers/v1/utils/logging.py,sha256=F1ymwd1A8Unu85kAQ52MAowHnR7EKQIl0RDRY8u-N5I,5392
182
182
  verifiers/v1/utils/memory.py,sha256=ZkIvGk6uITAH5sKon65LifKPbvZr8mJ__PVc23FZpOQ,1835
183
183
  verifiers/v1/utils/network.py,sha256=SI6_PXHIAPows6VBpK75N6dMbPw6lWQQ3OjBQkSDGN4,1463
@@ -188,8 +188,8 @@ verifiers/v1/utils/scope.py,sha256=zbs4pj6AVk4jywlAJ3AX0Q0_kzB9dBB02nY-9H4ELdQ,8
188
188
  verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
189
189
  verifiers/v1/utils/trace_store.py,sha256=V7lBiwyuSoYP6VYwjIR1woF_zf6fKqM8t9Mz2okPBV4,2587
190
190
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
191
- verifiers-0.4.2.dev87.dist-info/METADATA,sha256=au2e47zOjXqrhK4vl7n8YrgdNzK9rElCvnXAnBbA6AI,5116
192
- verifiers-0.4.2.dev87.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
193
- verifiers-0.4.2.dev87.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
194
- verifiers-0.4.2.dev87.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
195
- verifiers-0.4.2.dev87.dist-info/RECORD,,
191
+ verifiers-0.4.2.dev88.dist-info/METADATA,sha256=UUDVLg7AwLqtsMoIMkJMtntnNk3FmZcJ8wgyJ9_1Ls4,5116
192
+ verifiers-0.4.2.dev88.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
193
+ verifiers-0.4.2.dev88.dist-info/entry_points.txt,sha256=qdMg7ajiFpDsHf7tuPMRclJXizu1J6LTWawS5YS0B0I,137
194
+ verifiers-0.4.2.dev88.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
195
+ verifiers-0.4.2.dev88.dist-info/RECORD,,