verifiers 0.2.2.dev96__py3-none-any.whl → 0.2.2.dev97__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.
@@ -141,7 +141,11 @@ def _content_to_wire(content):
141
141
 
142
142
  def message_to_wire(message: Message) -> dict:
143
143
  if message.role == "assistant":
144
- wire: dict = {"role": "assistant", "content": message.content}
144
+ # Strict providers reject `content: null` without tool calls.
145
+ content = message.content
146
+ if content is None and not message.tool_calls:
147
+ content = ""
148
+ wire: dict = {"role": "assistant", "content": content}
145
149
  if message.provider_state:
146
150
  wire["reasoning_details"] = message.provider_state
147
151
  elif message.reasoning_content is not None:
@@ -21,13 +21,14 @@ from pydantic import Field
21
21
 
22
22
  import verifiers.v1 as vf
23
23
 
24
- PERSONA = """You are role-playing a USER talking to an AI assistant. This is your situation and goal:
24
+ PERSONA = """You are role-playing a USER talking to an AI assistant. This is your situation — what you want the ASSISTANT to do for you:
25
25
 
26
26
  {scenario}
27
27
 
28
28
  Rules:
29
29
  - Open the conversation with your request, in your own words.
30
30
  - Stay in character: short, natural user messages; never act as the assistant.
31
+ - The assistant does the work, not you: never perform the task yourself — any tool call, answer, or output format it asks for must come from the assistant; ask for it instead.
31
32
  - Reveal details only when asked, as a real user would.
32
33
  - When the assistant has fully met your goal — or you are convinced it cannot — reply with exactly {done} and nothing else."""
33
34
 
@@ -117,10 +117,8 @@ class OpenClawHarness(Harness[OpenClawHarnessConfig]):
117
117
  data: TaskData,
118
118
  ) -> ProgramResult:
119
119
  system_prompt, prompt = self.resolve_prompt(data)
120
- reasoning = ctx.sampling.reasoning_effort not in (
121
- None,
122
- "none",
123
- ) or ctx.model.rsplit("/", 1)[-1].startswith(("gpt-5", "o1", "o3", "o4"))
120
+ # Opt-in via sampling: OpenClaw redacts persisted encrypted reasoning, so resumed sessions 400 replaying it.
121
+ reasoning = ctx.sampling.reasoning_effort not in (None, "none")
124
122
  directory = OPENCLAW_DIR.format(version=self.config.version)
125
123
  state_dir = f".vf-openclaw/{trace.id}"
126
124
  config_path = f"{state_dir}/openclaw.json"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: verifiers
3
- Version: 0.2.2.dev96
3
+ Version: 0.2.2.dev97
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
@@ -229,7 +229,7 @@ verifiers/v1/configs/cli/validate.py,sha256=Yy3bJdCHdnLblaG-l84xAFHg9YgHfg2i-gVw
229
229
  verifiers/v1/dialects/__init__.py,sha256=p72C7VYrFQzVgTcfmzpHGSwXlvThfc4pvjBxsqw7kHE,786
230
230
  verifiers/v1/dialects/anthropic.py,sha256=nj9J7OOhexmPHa-sWiNP2xlI9_bGhvwM5VWzdh19pBc,13526
231
231
  verifiers/v1/dialects/base.py,sha256=YZQDnasQseDXK-GHLfJLZgyHIIygS80YhD_sTjmUbfA,8126
232
- verifiers/v1/dialects/chat.py,sha256=R_otqi5N0snB1QVKIYloNeLHR9kc7OmI06HYg1ir_Lw,14021
232
+ verifiers/v1/dialects/chat.py,sha256=uVfxIj8c35yGXMmFJVH8Cbt87SnQUrx87lohu2cNL0g,14197
233
233
  verifiers/v1/dialects/responses.py,sha256=ismnxUikPcPUIm80FUTPBbj-Cn1e0yGAsISMEseAWRc,13679
234
234
  verifiers/v1/envs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
235
235
  verifiers/v1/envs/agentic_judge/__init__.py,sha256=LfEcRHLG_siKzhzWmODDXWSLpLgfum3UFdQDK9XG0gk,325
@@ -240,7 +240,7 @@ verifiers/v1/envs/shared_agentic_judge/__init__.py,sha256=9T4vyYAuqgZSQjqTIceghx
240
240
  verifiers/v1/envs/single_agent/__init__.py,sha256=r0edAc_6gtHBhPzeBGVcdHZZqSdCPZnLMje6eVgyz5U,138
241
241
  verifiers/v1/envs/single_agent/env.py,sha256=lPs_a6VA7KoH1xqA3T8S32Jzb_d4zrx0_54LrqT5z1Q,1187
242
242
  verifiers/v1/envs/user_sim/__init__.py,sha256=nnT695HdqjAEouYL5wtVu6MhIp2wf5yuK-EYgxOVx0s,118
243
- verifiers/v1/envs/user_sim/env.py,sha256=6NXSnf9lc-3qCIGQGZmE8eeNT3Z2cDRQQUvJMHRB00o,4727
243
+ verifiers/v1/envs/user_sim/env.py,sha256=deI4r-Utn_v4E_Vb9P_X3LzFh2GRkCO4OlQt8BOCMGY,4942
244
244
  verifiers/v1/gepa/__init__.py,sha256=6nmdRE0-34AKioPHBjTxUg5Jo_2z7tMX-OU3zMNpAJI,197
245
245
  verifiers/v1/gepa/adapter.py,sha256=YNvHMR2L5Utl-vtPfjZxmDCd2tTcoAPWG6aVGnV1icM,6139
246
246
  verifiers/v1/gepa/config.py,sha256=gFn8Re4GoeHJs2PZ-iw4jCEZ72AiM1lNgwaA0uvJlYw,4626
@@ -271,7 +271,7 @@ verifiers/v1/harnesses/null/__init__.py,sha256=XDeKOPeoXUQi9US9_Z3_yH9YaZ4EiOMKJ
271
271
  verifiers/v1/harnesses/null/harness.py,sha256=3_BSQKFHTl9k54Aq1pcBEuE1n3hRF2xpP2100H5KGv4,2596
272
272
  verifiers/v1/harnesses/null/program.py,sha256=Lapx_g-uioKt0w9r2lcfoIkC0NPAX7wwNzxKQeJ82t4,8445
273
273
  verifiers/v1/harnesses/openclaw/__init__.py,sha256=kNyfPB1sGwEf4K3mTfKN0VEyxun3SGvNpvArVKvH-x8,160
274
- verifiers/v1/harnesses/openclaw/harness.py,sha256=n1o7gvsEEv0OsnU_WvyEd00Q4KizWQawSwHqdvqzLnw,14745
274
+ verifiers/v1/harnesses/openclaw/harness.py,sha256=cJUDlzoVGdSYsomsM-RgSn6HjyI8Bq-_BW5l2x0NsN4,14755
275
275
  verifiers/v1/harnesses/pi/__init__.py,sha256=1mSnzOf-RdEchdeg6IHtcdobG5KIpAhuTdUIgsCIn74,117
276
276
  verifiers/v1/harnesses/pi/harness.py,sha256=Gwl-oCMuEplQP4PsrWZarNR3crcVdCbEOJtKCYSWWtc,7387
277
277
  verifiers/v1/harnesses/pool/__init__.py,sha256=HTYsNiWGdiNEsSHj4xhPmshJSNb7SHjQ7d4yZQ4p3HM,127
@@ -340,8 +340,8 @@ verifiers/v1/utils/platform.py,sha256=56Ixmk1SER6q5LvzyYcA0hgzGpzhxKZL8Hiqp4c_XV
340
340
  verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
341
341
  verifiers/v1/utils/score.py,sha256=-R5Cog14r_tJ6Q_oOfGr5VPAm2CCUhofYZB6B9lm4wM,5787
342
342
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
343
- verifiers-0.2.2.dev96.dist-info/METADATA,sha256=PcK9Bjal72b0WZkEVAOhTTlLqkJUhtpMvEl2xhEJlPA,4545
344
- verifiers-0.2.2.dev96.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
345
- verifiers-0.2.2.dev96.dist-info/entry_points.txt,sha256=v6v0QT9vVExnfn4br42MostI_o3f3ZbWYlTormz-U3g,515
346
- verifiers-0.2.2.dev96.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
347
- verifiers-0.2.2.dev96.dist-info/RECORD,,
343
+ verifiers-0.2.2.dev97.dist-info/METADATA,sha256=Ac-1-i3X2oeCohfaXubfYHPwk6Jy1y_AFmNRXgXFn1I,4545
344
+ verifiers-0.2.2.dev97.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
345
+ verifiers-0.2.2.dev97.dist-info/entry_points.txt,sha256=v6v0QT9vVExnfn4br42MostI_o3f3ZbWYlTormz-U3g,515
346
+ verifiers-0.2.2.dev97.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
347
+ verifiers-0.2.2.dev97.dist-info/RECORD,,