Skip to content

pass entrypoint properly for aider #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 29, 2024
Merged

pass entrypoint properly for aider #19

merged 3 commits into from
Nov 29, 2024

Conversation

sordonia
Copy link
Member

No description provided.

@MarcCote
Copy link
Collaborator

I'm ok with the changes, but that wouldn't extend to other benchmarks, eg. swe-bench needs to define a custom entrypoint for each problem.

@@ -122,12 +124,11 @@ def setup_workspace(
self.editable_files = [
p for p in self.all_files if not self.is_readonly(self.working_dir / p)
]
assert entrypoint.split()[0] == "python", "Only support python entrypoint for now."
Copy link
Collaborator

Choose a reason for hiding this comment

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

SWE need setup_workspace to set the new entrypoint. There's no way to know the entrypoint until you know the example you are trying to solve.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh and also I guess that assert won't work with with swe-bench :/

@MarcCote MarcCote merged commit 2780ca9 into main Nov 29, 2024
2 checks passed
@MarcCote MarcCote deleted the as/entrypoint-fix branch November 29, 2024 14:54
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