agent-eval-rpc 2.0.0__tar.gz → 2.0.2__tar.gz
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.
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/PKG-INFO +4 -2
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/README.md +3 -1
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/pyproject.toml +1 -1
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/__init__.py +1 -1
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_bridge.py +3 -3
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_bridge_proof.py +10 -3
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/uv.lock +1 -1
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/.gitignore +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/examples/judge_anti_slop.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/scripts/verify_publishable_dist.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/client.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_metric.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_codetrace.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_output.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_repair.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_sandbox.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_tools.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/dspy_rlm_validation.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/errors.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/finding_codec.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/finding_contract.json +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_api.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_bridge.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_bridge_contract.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_compat_0_1_4.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/gepa_model_proxy.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/hosted.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/models.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/optimizer_bridge_common.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/skillopt_bridge.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/src/agent_eval_rpc/skillopt_compat_v020.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/fixtures/gepa-chat-request.json +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/fixtures/skillopt-chat-request.json +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_client.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_dspy_metric.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_dspy_rlm_bridge.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_dspy_rlm_bridge_codetrace.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_dspy_rlm_bridge_repair.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_finding_codec.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_gepa_bridge.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_gepa_release_compatibility.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_hosted.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_models.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_official_optimizer_compatibility.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_optimizer_bridge_common.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_skillopt_bridge.py +0 -0
- {agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_subprocess.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agent-eval-rpc
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Python RPC client, official optimizer bridge, and DSPy metric adapter for @tangle-network/agent-eval.
|
|
5
5
|
Project-URL: Homepage, https://github.com/tangle-network/agent-eval
|
|
6
6
|
Project-URL: Issues, https://github.com/tangle-network/agent-eval/issues
|
|
@@ -414,9 +414,11 @@ pnpm build
|
|
|
414
414
|
cd clients/python
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
|
|
417
|
+
Lint the client, then run each compatibility suite with its locked dependencies:
|
|
418
418
|
|
|
419
419
|
```sh
|
|
420
|
+
uv run --frozen --extra dev ruff check .
|
|
421
|
+
|
|
420
422
|
uv sync --frozen --extra dev --group gepa-release
|
|
421
423
|
AGENT_EVAL_EXPECT_GEPA_RELEASE=1 \
|
|
422
424
|
uv run --frozen --extra dev --group gepa-release \
|
|
@@ -383,9 +383,11 @@ pnpm build
|
|
|
383
383
|
cd clients/python
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
|
|
386
|
+
Lint the client, then run each compatibility suite with its locked dependencies:
|
|
387
387
|
|
|
388
388
|
```sh
|
|
389
|
+
uv run --frozen --extra dev ruff check .
|
|
390
|
+
|
|
389
391
|
uv sync --frozen --extra dev --group gepa-release
|
|
390
392
|
AGENT_EVAL_EXPECT_GEPA_RELEASE=1 \
|
|
391
393
|
uv run --frozen --extra dev --group gepa-release \
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agent-eval-rpc"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.2"
|
|
8
8
|
description = "Python RPC client, official optimizer bridge, and DSPy metric adapter for @tangle-network/agent-eval."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -217,9 +217,9 @@ def _analyze(input_value: dict[str, Any]) -> dict[str, Any]:
|
|
|
217
217
|
cache=False,
|
|
218
218
|
num_retries=0,
|
|
219
219
|
max_tokens=model_proxy["maxOutputTokens"],
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
|
|
220
|
+
# RLM requests a short plan. None keeps the plan in the text signature
|
|
221
|
+
# and leaves the provider's reasoning policy to the execution AgentProfile.
|
|
222
|
+
reasoning_effort=None,
|
|
223
223
|
)
|
|
224
224
|
tools = _build_dspy_tools(dspy, input_value["toolSpecs"])
|
|
225
225
|
|
|
@@ -7,9 +7,10 @@ import sys
|
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
+
from gepa.strategies.instruction_proposal import InstructionProposalSignature
|
|
11
|
+
|
|
10
12
|
from agent_eval_rpc.gepa_api import load_gepa_api
|
|
11
13
|
from agent_eval_rpc.gepa_bridge import _decode_images, _run_recipe
|
|
12
|
-
from gepa.strategies.instruction_proposal import InstructionProposalSignature
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
def main() -> None:
|
|
@@ -65,14 +66,20 @@ def main() -> None:
|
|
|
65
66
|
})
|
|
66
67
|
if not isinstance(prompt, list):
|
|
67
68
|
raise ValueError("Official reflection renderer did not emit multimodal messages")
|
|
68
|
-
images = [
|
|
69
|
+
images = [
|
|
70
|
+
part for message in prompt for part in message["content"] if part["type"] == "image_url"
|
|
71
|
+
]
|
|
69
72
|
if len(images) != len(rows):
|
|
70
73
|
raise ValueError("Reflection lost a retained image")
|
|
71
74
|
(output / "reflection-prompt.json").write_text(json.dumps(prompt))
|
|
72
75
|
summary = {
|
|
73
76
|
"scenarios": calls, "objectiveKeys": sorted(responses[0]["info"]["scores"]),
|
|
74
77
|
"frontierKeys": sorted(population), "imageParts": len(images),
|
|
75
|
-
"modelRequests": 0,
|
|
78
|
+
"modelRequests": 0,
|
|
79
|
+
"scope": (
|
|
80
|
+
"Baseline frontier and actual reflection prompt construction only; "
|
|
81
|
+
"no search or quality improvement claim"
|
|
82
|
+
),
|
|
76
83
|
"promptSha256": hashlib.sha256(json.dumps(prompt).encode()).hexdigest(),
|
|
77
84
|
}
|
|
78
85
|
(output / "bridge-proof.json").write_text(json.dumps(summary, indent=2))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_eval_rpc-2.0.0 → agent_eval_rpc-2.0.2}/tests/test_official_optimizer_compatibility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|