verifiers 0.3.2.dev40__py3-none-any.whl → 0.3.2.dev41__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.
@@ -68,8 +68,8 @@ class RLMHarnessConfig(HarnessConfig):
68
68
  unset defers to nano-rlm's default (on, automatic thresholds, bounded by its
69
69
  default 1M tree-token budget)."""
70
70
  max_concurrent_subagents: PositiveInt | None = None
71
- """Sub-agents running at once per session tree; `None` = nano-rlm's default (4).
72
- nano-rlm requires it to be at least `max_depth`."""
71
+ """Sub-agents running at once per session tree; `None` = nano-rlm's default (4),
72
+ raised to an explicit `max_depth` when needed to keep the policy valid."""
73
73
  max_total_turns: PositiveInt | None = None
74
74
  """Tree-total turn budget (one turn = one work-loop model call, any engine); every
75
75
  engine stops before its next call once spent. `None` = uncapped."""
@@ -152,9 +152,12 @@ class RLMHarness(ACPHarness[RLMHarnessConfig]):
152
152
  system_prompt: str | None,
153
153
  ) -> JsonObject:
154
154
  compaction = self.config.compaction
155
+ max_concurrent_subagents = self.config.max_concurrent_subagents
156
+ if max_concurrent_subagents is None and self.config.max_depth is not None:
157
+ max_concurrent_subagents = max(4, self.config.max_depth)
155
158
  policy_knobs: dict[str, Any] = {
156
159
  "max_depth": self.config.max_depth,
157
- "max_concurrent_subagents": self.config.max_concurrent_subagents,
160
+ "max_concurrent_subagents": max_concurrent_subagents,
158
161
  "max_total_turns": self.config.max_total_turns,
159
162
  "max_total_tokens": self.config.max_total_tokens,
160
163
  "max_tool_output_bytes": self.config.max_tool_output_bytes,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.3.2.dev40
3
+ Version: 0.3.2.dev41
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
@@ -109,7 +109,7 @@ verifiers/v1/harnesses/pool/harness.py,sha256=HKAogPbyLK5QpvPQ1teHOh_IyRQX-or2JF
109
109
  verifiers/v1/harnesses/prime_agent/__init__.py,sha256=xfPC4RrlnyYWaf38tPAOZq4YL6M55lMpj5BoRLmaK8I,171
110
110
  verifiers/v1/harnesses/prime_agent/harness.py,sha256=_FJtiYvWOsBpjEBKuJsnmuldYNwJxKK8ONa5e-c_mYM,11205
111
111
  verifiers/v1/harnesses/rlm/__init__.py,sha256=hwx51xTdEWzzYgMj-p4ETNcptoub3IPMDbEdJ4uB8Ns,122
112
- verifiers/v1/harnesses/rlm/harness.py,sha256=1a88tUM8l4BRf-In-dPyhtW9ilyH2GJdbh1ezL2BRcQ,10297
112
+ verifiers/v1/harnesses/rlm/harness.py,sha256=iVdI4dzbuXm5v6Pq28ctLjOmcXWtC2Vmp2aKOniq0ss,10532
113
113
  verifiers/v1/harnesses/terminus_2/__init__.py,sha256=l1pwfg1HyVDEqT9efdnFWcXqaZwtKwe7TrplkyxZSA0,166
114
114
  verifiers/v1/harnesses/terminus_2/harness.py,sha256=kXKhi-aqqsoXGnvet0Tq_v7LYYpRYEzARyQL2MTEGWs,3101
115
115
  verifiers/v1/harnesses/terminus_2/program.py,sha256=X8MZdyItU3gbXGXnGOlJ9LWcUTnqIDaxlhkZvoRiqKY,2703
@@ -185,8 +185,8 @@ verifiers/v1/utils/prime.py,sha256=UTYRjp9cbjNb6CVmBHda-1wWZAIIfxNOmTyNuT7_wL4,9
185
185
  verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
186
186
  verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
187
187
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
188
- verifiers-0.3.2.dev40.dist-info/METADATA,sha256=e5bkm_Lm2AKE8KvhdjM6WmekaMIDNsqwuHT0ivu7QF0,4065
189
- verifiers-0.3.2.dev40.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
190
- verifiers-0.3.2.dev40.dist-info/entry_points.txt,sha256=uqQje0TMsr7k6nXlWxlPs13Si0evb3pVCEDF6c-YL80,241
191
- verifiers-0.3.2.dev40.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
192
- verifiers-0.3.2.dev40.dist-info/RECORD,,
188
+ verifiers-0.3.2.dev41.dist-info/METADATA,sha256=FPDLtvKlNJNZqjrPtB9qxx8gJJJS4ccdCIzWwYxqptg,4065
189
+ verifiers-0.3.2.dev41.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
190
+ verifiers-0.3.2.dev41.dist-info/entry_points.txt,sha256=uqQje0TMsr7k6nXlWxlPs13Si0evb3pVCEDF6c-YL80,241
191
+ verifiers-0.3.2.dev41.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
192
+ verifiers-0.3.2.dev41.dist-info/RECORD,,