Skip to content

Conversation

@xzrderek
Copy link
Contributor

@xzrderek xzrderek commented Dec 6, 2025

Note

Adds EPParameters model and attaches it to @evaluation_test, introduces a DSPy-based GEPA trainer/utilities, updates OpenEnv vLLM integration to consume EPParameters, and includes tests plus dspy dependency.

  • Training:
    • GEPA/DSPy: Add GEPATrainer and helpers (gepa_utils.py, trainer.py, utils.py) to optimize/system-prompt via GEPA, convert EP datasets to DSPy Examples, and evaluate via EP.
  • Pytest/Evaluation:
    • Expose parameters: @evaluation_test now attaches full EPParameters metadata (__ep_params__) built from invocation args/env; wrapper stores it on the callable.
  • Models:
    • New: EPParameters Pydantic model encapsulating eval/config fields (completion, datasets, loaders, rollout processor, concurrency, etc.).
  • Integrations:
    • OpenEnv TRL vLLM: Read __ep_params__ as EPParameters via attribute access (rollout processor, kwargs, mcp_config_path).
  • Dependencies:
    • Add dspy to project dependencies.
  • Tests:
    • Add tests for EPParameters defaults/type flexibility and build_ep_parameters_from_test utility.

Written by Cursor Bugbot for commit 7b3c420. This will update automatically on new commits. Configure here.

"""
from eval_protocol.pytest.default_single_turn_rollout_process import SingleTurnRolloutProcessor
from eval_protocol.pytest.execution import execute_pytest
from eval_protocol.logging import default_logger
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im getting a type error on this. also can we move this to top.

"default_logger" is unknown import symbolbasedpyrightreportAttributeAccessIssue

@xzrderek xzrderek requested a review from dphuang2 December 12, 2025 20:29
@xzrderek xzrderek changed the title gepa integration part 1 gepa integration Dec 15, 2025
@shreymodi1 shreymodi1 merged commit 2b765e0 into main Dec 17, 2025
17 checks passed
@shreymodi1 shreymodi1 deleted the derekx/gepa-part-1 branch December 17, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants