Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ which are a mix of code and LLM calls to achieve a desired tradeoff between flex
```bash
# Benchmarking requires certain prerequisites, see the full documentation for more details.
# With uv (add to project dependencies, pinned to a release tag)
uv add "eval-recipes @ git+https://github.com/microsoft/eval-recipes@v0.0.33"
uv add "eval-recipes @ git+https://github.com/microsoft/eval-recipes@v0.0.34"

# With pip
pip install "git+https://github.com/microsoft/eval-recipes@v0.0.33"
pip install "git+https://github.com/microsoft/eval-recipes@v0.0.34"
```

> [!WARNING]
Expand Down
4 changes: 2 additions & 2 deletions docs/BENCHMARKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This module provides a benchmarking harness for evaluating AI agents within isol
```bash
# Install prerequisites below first.
# With uv (add to project dependencies, pinned to a release tag)
uv add "eval-recipes @ git+https://github.com/microsoft/eval-recipes@v0.0.33"
uv add "eval-recipes @ git+https://github.com/microsoft/eval-recipes@v0.0.34"

# With pip
pip install "git+https://github.com/microsoft/eval-recipes@v0.0.33"
pip install "git+https://github.com/microsoft/eval-recipes@v0.0.34"
```


Expand Down
8 changes: 7 additions & 1 deletion eval_recipes/benchmarking/docker_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,15 +473,21 @@ def collect_eval_recipes_package() -> dict[str, bytes]:
spec = pathspec.PathSpec.from_lines("gitwildmatch", ["__pycache__/", "*.pyc"])

files: dict[str, bytes] = {}
is_installed_mode = not pyproject_path.exists()

for file_path in project_root.rglob("*"):
if not file_path.is_file():
continue
rel_path = file_path.relative_to(project_root)
if not spec.match_file(str(rel_path)):
# In installed mode, prefix with eval_recipes/ to maintain package structure
# This ensures hatchling can find the package directory
if is_installed_mode:
rel_path = Path("eval_recipes") / rel_path
files[str(rel_path)] = file_path.read_bytes()

# In installed mode, generate pyproject.toml for uv to resolve dependencies
if not pyproject_path.exists():
if is_installed_mode:
pyproject_content = _generate_minimal_pyproject()
files["pyproject.toml"] = pyproject_content.encode("utf-8")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "eval_recipes"
version = "0.0.33"
version = "0.0.34"
description = "Eval Recipes"
authors = [{ name = "Semantic Workbench Team" }]
readme = "README.md"
Expand Down
51 changes: 25 additions & 26 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading