Skip to content
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

refactor: move get_pairs from memory to shared utils #4411

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

xingyaoww
Copy link
Contributor

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

I am hoping to use get_pairs from other eval scripts in the editing PR (example here: https://github.com/All-Hands-AI/OpenHands/pull/3985/files#diff-da3a53dcb2ace4b1d1acc580c43958796162db335ef86d5e43f8d0e491ed50e0R7), so it will be helpful to refactor this function out into events.utils.


Link of any specific issues this addresses

@xingyaoww xingyaoww requested review from enyst and rbren October 15, 2024 17:10
@xingyaoww xingyaoww enabled auto-merge (squash) October 15, 2024 19:07
@enyst
Copy link
Collaborator

enyst commented Oct 15, 2024

Good call! I was doing some reading history from jsonl, and it didn't occur to me to use this one. This looks better, it's just a utility converting format.

@xingyaoww xingyaoww merged commit da23189 into main Oct 15, 2024
14 checks passed
@xingyaoww xingyaoww deleted the xw/refactor-get-pairs branch October 15, 2024 19:31
AlexCuadron pushed a commit to AlexCuadron/OpenHands that referenced this pull request Oct 16, 2024
AlexCuadron pushed a commit to AlexCuadron/OpenHands that referenced this pull request Oct 16, 2024
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.

2 participants