Skip to content

Commit 219bc06

Browse files
committed
fixes
1 parent 598cb8f commit 219bc06

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

commit0/harness/evaluate.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ def main(
5353
if branch is None:
5454
git_path = os.path.join(base_dir, example["instance_id"])
5555
branch = get_active_branch(git_path)
56-
log_dir = RUN_PYTEST_LOG_DIR / example["instance_id"] / branch / hashed_test_ids
56+
log_dir = (
57+
RUN_PYTEST_LOG_DIR
58+
/ example["instance_id"].split("/")[-1]
59+
/ branch
60+
/ hashed_test_ids
61+
)
5762
log_dirs.append(str(log_dir))
5863
triples.append((example["instance_id"], example["test"]["test_dir"], branch))
5964

commit0/harness/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def make_repo_script_list(self) -> list[str]:
238238
cmd = f"uv pip install {pip_packages}"
239239
setup_commands.append(cmd)
240240
setup_commands.append(
241-
"uv pip install -U pytest pytest-cov coverage pytest-json-report"
241+
"uv pip install pytest pytest-cov coverage pytest-json-report"
242242
)
243243
return setup_commands
244244

0 commit comments

Comments
 (0)