Skip to content

Commit 2a399f4

Browse files
authored
Merge pull request #1 from eval-protocol/codex/migrate-reward-kit-to-eval-protocol
Fix naming to Eval Protocol
2 parents 6324303 + c99afad commit 2a399f4

11 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ If applicable, add screenshots to help explain your problem.
2525

2626
**Environment (please complete the following information):**
2727
- OS: [e.g. macOS, Windows, Linux]
28-
- Python version: [e.g. 3.9, 3.10]
29-
- Reward Kit version: [e.g. 0.1.0, or commit SHA if from source]
30-
- How installed: [e.g. pip, from source]
28+
- Python version: [e.g. 3.9, 3.10]
29+
- Eval Protocol version: [e.g. 0.1.0, or commit SHA if from source]
30+
- How installed: [e.g. pip, from source]
3131

3232
**Additional context**
3333
Add any other context about the problem here. For example, are you using it with a specific LLM provider, or in a particular environment?

development/CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ uv run black eval_protocol
360360
361361
## Available Reward Functions
362362
363-
Reward Kit includes these out-of-the-box reward functions:
363+
Eval Protocol includes these out-of-the-box reward functions:
364364
365365
| Category | Reward Functions |
366366
|----------|-----------------|
@@ -380,7 +380,7 @@ Reward Kit includes these out-of-the-box reward functions:
380380
381381
## Running Examples
382382
383-
The examples folder contains sample code for using the Reward Kit:
383+
The examples folder contains sample code for using Eval Protocol:
384384
385385
```bash
386386
# Run evaluation preview example
@@ -506,7 +506,7 @@ If you encounter authentication issues:
506506
3. **Check Account ID**: Confirm that the `FIREWORKS_ACCOUNT_ID` is correct for the environment you are targeting (e.g., `pyroworks-dev` for the dev API, or your personal account ID).
507507
4. **API Base URL**: If using `FIREWORKS_API_BASE`, ensure it points to the correct API endpoint (e.g., `https://dev.api.fireworks.ai` for development).
508508
509-
You can use the following snippet to check what credentials the Reward Kit is resolving:
509+
You can use the following snippet to check what credentials Eval Protocol is resolving:
510510
```python
511511
from eval_protocol.auth import get_fireworks_api_key, get_fireworks_account_id
512512
@@ -556,7 +556,7 @@ uv pip install dist/eval_protocol-*.whl
556556
557557
## Contributing Process
558558
559-
We welcome contributions to Reward Kit! Please follow these steps to contribute:
559+
We welcome contributions to Eval Protocol! Please follow these steps to contribute:
560560
561561
1. **Find or Create an Issue**:
562562
* Look for existing issues on the [GitHub Issues page](https://github.com/fireworks-ai/eval-protocol/issues) that you'd like to work on.
@@ -581,9 +581,9 @@ We welcome contributions to Reward Kit! Please follow these steps to contribute:
581581
582582
6. **Run Code Quality Checks**:
583583
584-
* Format your code: `uv run black reward_kit tests`
585-
* Check linting: `uv run flake8 reward_kit tests`
586-
* Check types: `uv run mypy reward_kit`
584+
* Format your code: `uv run black eval_protocol tests`
585+
* Check linting: `uv run flake8 eval_protocol tests`
586+
* Check types: `uv run mypy eval_protocol`
587587
* Run pre-commit hooks: `pre-commit run --all-files`
588588
589589
7. **Update Documentation**:

eval_protocol/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Main entry point for running reward-kit as a module.
2+
Main entry point for running Eval Protocol as a module.
33
"""
44

55
import sys

eval_protocol/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig:
5151
cfg.VCS = "git"
5252
cfg.style = "pep440"
5353
cfg.tag_prefix = "v"
54-
cfg.parentdir_prefix = "reward-kit-"
54+
cfg.parentdir_prefix = "eval-protocol-"
5555
cfg.versionfile_source = "eval_protocol/_version.py"
5656
cfg.verbose = False
5757
return cfg

eval_protocol/cli_commands/deploy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _establish_local_server_and_tunnel(args):
9393
function_ref = args.function_ref
9494
local_server_port = args.local_port
9595

96-
log_dir = os.path.join(os.getcwd(), "logs", "reward-kit-local")
96+
log_dir = os.path.join(os.getcwd(), "logs", "eval-protocol-local")
9797
os.makedirs(log_dir, exist_ok=True)
9898
generic_server_log_path = os.path.join(log_dir, f"generic_server_{evaluator_id}.log")
9999

@@ -270,9 +270,9 @@ def _deploy_to_gcp_cloud_run(args, current_config, gcp_config_from_yaml):
270270

271271
gcp_sanitized_eval_id = "".join(filter(lambda char: char.isalnum() or char in ["-", "_"], args.id))
272272
if not gcp_sanitized_eval_id:
273-
gcp_sanitized_eval_id = "rewardkit-evaluator"
273+
gcp_sanitized_eval_id = "evalprotocol-evaluator"
274274
secret_id_for_auth_key = f"rk-eval-{gcp_sanitized_eval_id}-authkey"
275-
secret_labels = {"managed-by": "reward-kit", "evaluator-id": evaluator_id}
275+
secret_labels = {"managed-by": "eval-protocol", "evaluator-id": evaluator_id}
276276

277277
api_key_secret_version_id = ensure_gcp_secret(
278278
project_id=gcp_project_id,

eval_protocol/cli_commands/deploy_mcp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _generate_mcp_dockerfile_content(
4343
# Base requirements for MCP servers - matching setup.py dependencies
4444
base_requirements = [
4545
"fastmcp>=0.1.0",
46-
# Core reward-kit dependencies from setup.py
46+
# Core Eval Protocol dependencies from setup.py
4747
"requests>=2.25.0",
4848
"pydantic>=2.0.0",
4949
"dataclasses-json>=0.5.7",
@@ -154,7 +154,7 @@ def _deploy_mcp_to_gcp_cloud_run(args, current_config, gcp_config_from_yaml):
154154
if not gcp_ar_repo_name and gcp_config_from_yaml:
155155
gcp_ar_repo_name = gcp_config_from_yaml.artifact_registry_repository
156156
if not gcp_ar_repo_name:
157-
gcp_ar_repo_name = "reward-kit-mcp-servers"
157+
gcp_ar_repo_name = "eval-protocol-mcp-servers"
158158

159159
print(f"Using GCP Project: {gcp_project_id}, Region: {gcp_region}, AR Repo: {gcp_ar_repo_name}")
160160

eval_protocol/execution/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Core evaluation execution pipeline for reward-kit.
2+
Core evaluation execution pipeline for Eval Protocol.
33
This module orchestrates dataset loading, model response generation (optional),
44
and evaluation using specified reward functions.
55
"""

eval_protocol/gcp_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def ensure_artifact_registry_repo_exists(project_id: str, region: str, repo_name
289289
"--location",
290290
region,
291291
"--description",
292-
"Repository for reward-kit evaluators (auto-created by reward-kit CLI)",
292+
"Repository for Eval Protocol evaluators (auto-created by Eval Protocol CLI)",
293293
]
294294
create_success, create_stdout, create_stderr = _run_gcloud_command(create_cmd, dry_run=dry_run)
295295
if create_success:
@@ -442,7 +442,7 @@ def ensure_gcp_secret(
442442
dummy_dockerfile = 'FROM python:3.10-slim\nCMD ["echo", "hello"]'
443443
img_name = "gcr.io/my-test-project/my-test-reward-eval:latest" # Old GCR name, update for AR
444444
# Example AR image name: us-central1-docker.pkg.dev/my-test-project/my-ar-repo/my-test-reward-eval:latest
445-
ar_img_name = "us-central1-docker.pkg.dev/my-test-project/reward-kit-images/my-test-reward-eval:latest"
445+
ar_img_name = "us-central1-docker.pkg.dev/my-test-project/eval-protocol-images/my-test-reward-eval:latest"
446446

447447
print(f"\n1. Simulating build and push for {ar_img_name} (dry_run=True)")
448448
build_and_push_docker_image(
@@ -478,7 +478,7 @@ def ensure_gcp_secret(
478478
project_id="my-test-project",
479479
secret_id="my-test-api-key-secret",
480480
secret_value="supersecretvalue123",
481-
labels={"managed-by": "reward-kit-test"},
481+
labels={"managed-by": "eval-protocol-test"},
482482
dry_run=True,
483483
)
484484
print("\nNote: These are placeholder executions. Real implementation requires gcloud CLI and Docker.")

eval_protocol/mcp_agent/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def model_post_init(self, __context: Any) -> None:
114114

115115

116116
class AppConfig(BaseModel):
117-
"""Root configuration for the RewardKit Intermediary MCP Server."""
117+
"""Root configuration for the Eval Protocol Intermediary MCP Server."""
118118

119119
backends: List[BackendServerConfig] = Field(
120120
default_factory=list,

eval_protocol/mcp_env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
MCP Environment API for reward-kit - Backward Compatibility Facade
2+
MCP Environment API for Eval Protocol - Backward Compatibility Facade
33
44
This module has been refactored into modular components for better maintainability.
55
This file now serves as a backward compatibility facade.

0 commit comments

Comments
 (0)