-
Notifications
You must be signed in to change notification settings - Fork 36
Envs for images #291
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
Envs for images #291
Conversation
2a0f4d1 to
c80e6d8
Compare
MarcCote
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are ready for a final review.
| self._task_name = base_image | ||
| self.setup_commands = setup_commands or [] | ||
| self.namespace = namespace | ||
| self.namespace = namespace or os.environ.get("K8S_NAMESPACE", "default") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you document these env vars in the readme?
matheper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR, LGTM!
|
run.py is broken. apparently we don't have integration tests for it. Will fix and add some. |
MarcCote
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing run.py
|
@copilot summarize what this PR is about. |
|
@xingdi-eric-yuan I've opened a new pull request, #302, to work on those changes. Once the pull request is ready, I'll request review from you. |
| from debug_gym.gym.terminals.terminal import Terminal | ||
|
|
||
|
|
||
| class LocalEnv(RepoEnv): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be confusing if local env can be use non-local terminals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open to suggestion to rename it. LocalDirEnv?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BaseEnv and RepoEnv sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will tackle naming in #284
a765ee7 to
4c9dbfa
Compare
4c9dbfa to
22121f3
Compare
a4a49c1 to
a55cd11
Compare
MarcCote
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good to go.
also removes dependency on swesmith: #292