-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into openhands-fix-issue-5076
- Loading branch information
Showing
145 changed files
with
8,543 additions
and
5,140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Run evaluation on a PR | ||
name: Run Eval | ||
|
||
# Runs when a PR is labeled with one of the "run-eval-" labels | ||
on: | ||
pull_request: | ||
types: [labeled] | ||
|
||
jobs: | ||
trigger-job: | ||
name: Trigger remote eval job | ||
if: ${{ github.event.label.name == 'run-eval-xs' || github.event.label.name == 'run-eval-s' || github.event.label.name == 'run-eval-m' }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout PR branch | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Trigger remote job | ||
run: | | ||
REPO_URL="https://github.com/${{ github.repository }}" | ||
PR_BRANCH="${{ github.head_ref }}" | ||
echo "Repository URL: $REPO_URL" | ||
echo "PR Branch: $PR_BRANCH" | ||
if [[ "${{ github.event.label.name }}" == "run-eval-xs" ]]; then | ||
EVAL_INSTANCES="1" | ||
elif [[ "${{ github.event.label.name }}" == "run-eval-s" ]]; then | ||
EVAL_INSTANCES="5" | ||
elif [[ "${{ github.event.label.name }}" == "run-eval-m" ]]; then | ||
EVAL_INSTANCES="30" | ||
fi | ||
curl -X POST \ | ||
-H "Authorization: Bearer ${{ secrets.PAT_TOKEN }}" \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-d "{\"ref\": \"main\", \"inputs\": {\"github-repo\": \"${REPO_URL}\", \"github-branch\": \"${PR_BRANCH}\", \"pr-number\": \"${{ github.event.pull_request.number }}\", \"eval-instances\": \"${EVAL_INSTANCES}\"}}" \ | ||
https://api.github.com/repos/All-Hands-AI/evaluation/actions/workflows/create-branch.yml/dispatches | ||
# Send Slack message | ||
PR_URL="https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}" | ||
slack_text="PR $PR_URL has triggered evaluation on $EVAL_INSTANCES instances..." | ||
curl -X POST -H 'Content-type: application/json' --data '{"text":"'"$slack_text"'"}' \ | ||
https://hooks.slack.com/services/${{ secrets.SLACK_TOKEN }} | ||
- name: Comment on PR | ||
uses: KeisukeYamashita/create-comment@v1 | ||
with: | ||
unique: false | ||
comment: | | ||
Running evaluation on the PR. Once eval is done, the results will be posted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 🙌 The OpenHands Community | ||
|
||
The OpenHands community is built around the belief that (1) AI and AI agents are going to fundamentally change the way | ||
we build software, and (2) if this is true, we should do everything we can to make sure that the benefits provided by | ||
such powerful technology are accessible to everyone. | ||
|
||
If this resonates with you, we'd love to have you join us in our quest! | ||
|
||
## 🤝 How to Join | ||
|
||
Check out our [How to Join the Community section.](https://github.com/All-Hands-AI/OpenHands?tab=readme-ov-file#-how-to-join-the-community) | ||
|
||
## 💪 Becoming a Contributor | ||
|
||
We welcome contributions from everyone! Whether you're a developer, a researcher, or simply enthusiastic about advancing | ||
the field of software engineering with AI, there are many ways to get involved: | ||
|
||
- **Code Contributions:** Help us develop new core functionality, improve our agents, improve the frontend and other | ||
interfaces, or anything else that would help make OpenHands better. | ||
- **Research and Evaluation:** Contribute to our understanding of LLMs in software engineering, participate in | ||
evaluating the models, or suggest improvements. | ||
- **Feedback and Testing:** Use the OpenHands toolset, report bugs, suggest features, or provide feedback on usability. | ||
|
||
For details, please check [CONTRIBUTING.md](./CONTRIBUTING.md). | ||
|
||
## Code of Conduct | ||
|
||
We have a [Code of Conduct](./CODE_OF_CONDUCT.md) that we expect all contributors to adhere to. | ||
Long story short, we are aiming for an open, welcoming, diverse, inclusive, and healthy community. | ||
All contributors are expected to contribute to building this sort of community. | ||
|
||
## 🛠️ Becoming a Maintainer | ||
|
||
For contributors who have made significant and sustained contributions to the project, there is a possibility of joining | ||
the maintainer team. The process for this is as follows: | ||
|
||
1. Any contributor who has made sustained and high-quality contributions to the codebase can be nominated by any | ||
maintainer. If you feel that you may qualify you can reach out to any of the maintainers that have reviewed your PRs and ask if you can be nominated. | ||
2. Once a maintainer nominates a new maintainer, there will be a discussion period among the maintainers for at least 3 days. | ||
3. If no concerns are raised the nomination will be accepted by acclamation, and if concerns are raised there will be a discussion and possible vote. | ||
|
||
Note that just making many PRs does not immediately imply that you will become a maintainer. We will be looking | ||
at sustained high-quality contributions over a period of time, as well as good teamwork and adherence to our [Code of Conduct](./CODE_OF_CONDUCT.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.