SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
chore: update pre-commit hooks (#701)
pre-commit-ci[bot]3d2ad7fc32af
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex fbdfb4b4..5317d0ef 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -15,14 +15,14 @@ repos:- id: trailing-whitespace- repo: https://github.com/crate-ci/typos- rev: v1.23.3+ rev: v1.23.6hooks:- id: typosfiles: \.(py|md|rst|yaml|toml)exclude: pyproject.toml- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.5.4+ rev: v0.5.6hooks:# Run the linter.- id: ruffdiff --git a/docs/reference/index.md b/docs/reference/index.mdindex b544e019..8ad4a9b6 100644--- a/docs/reference/index.md+++ b/docs/reference/index.md@@ -18,7 +18,7 @@ The core:* [Read about the `SWEEnv` class](agent.md)* [Explore the code](https://github.com/princeton-nlp/SWE-agent/tree/main/sweagent/environment/)-More subolders+More subfolders* See the [`scripts/`](https://github.com/princeton-nlp/SWE-agent/tree/main/scripts/) folder for other useful scripts and details.* See the [`config/`](https://github.com/princeton-nlp/SWE-agent/tree/main/config/) folder for details about how you can define your own configuration!diff --git a/docs/usage/coding_challenges.md b/docs/usage/coding_challenges.mdindex 1df9c787..f5814cd7 100644--- a/docs/usage/coding_challenges.md+++ b/docs/usage/coding_challenges.md@@ -149,4 +149,4 @@ index 1e7f08f..beabaa7 100644### Improving SWE-agent for coding challenges-By default, the demonstration trajectory the agent uses while solving a coding challenge is one in which it needs to solve a small bug in a short piece of code (from the HumanEvalFix dataset). Since that process is not too similar to solving a coding challenge, performance would probably substantially improve if the agent was given a demonstration trajectory in which it has to solve an actual programming challenge. To learn how to do that, read [this](../config/demonstrations.md).+By default, the demonstration trajectory the agent uses while solving a coding challenge is one in which it needs to solve a small bug in a short piece of code (from the HumanEvalFix dataset). Since that process is not too similar to solving a coding challenge, performance would probably substantially improve if the agent was given a demonstration trajectory in which it has to solve an actual programming challenge. To learn how to do that, read [this](../config/demonstrations.md).