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]
Doc: Typo fixes
Mayur Kawale06f0c843dcc3
diff --git a/docs/config/commands.md b/docs/config/commands.mdindex a94be044..acf3899b 100644--- a/docs/config/commands.md+++ b/docs/config/commands.md@@ -29,7 +29,7 @@ Every command subscribes to the following skeleton code.* The minimal documentation requirements are `signature` and `docstring`.* If you'd like multiple commands to make modifications to a similar body of functions, we recommend using global variables.* For instance, in `config/commands/default.sh`, you'll see we define the `CURRENT_LINE` variable for the file viewer. This variable is modified across multiple commands, including `open`, `goto`, `scroll_up`, `scroll_down`, and `edit`.- * You can also leverage third party libraries (check out how we do linting enabled `edit` in `config/commands/edit_linting.sh`).+ * You can also third-party libraries (check out how we enable linting in `config/commands/edit_linting.sh`).* To show effects of the command, print to standard output (i.e. `echo`). SWE-agent is implemented such that it does not look for a return value from these commands.* The following environment variables are used to persist information between commands:* `CURRENT_FILE`: File that is currently opendiff --git a/docs/config/demonstrations.md b/docs/config/demonstrations.mdindex 6b1d8de3..7d952e7e 100644--- a/docs/config/demonstrations.md+++ b/docs/config/demonstrations.md@@ -2,7 +2,7 @@An important way to show LMs how to use commands and interact with the environment is through providing a demonstration - which is basically a completed [trajectory](../usage/trajectories.md) that the LM can learn from.-For simplicity we only ingest demonstrations in the from of a trajectory file. However, since trajectory files are usually JSON, you can convert them to yaml using the `make_demos/convert_traj_to_demo.py` script to be more human-readable and easier to edit.+For simplicity we only ingest demonstrations in the form of a trajectory file. However, since trajectory files are usually JSON, you can convert them to yaml using the `make_demos/convert_traj_to_demo.py` script to be more human-readable and easier to edit.Demo (yaml) files are stored in the `make_demos/demos` directory by default and consist primarily of the sequence of actions that an LM would need to take to complete a task. It's important that your demo have the proper format to be parsed by SWE-agent and your config.diff --git a/docs/config/summarizers.md b/docs/config/summarizers.mdindex 08e1ef8b..5999e214 100644--- a/docs/config/summarizers.md+++ b/docs/config/summarizers.md@@ -11,7 +11,7 @@ The summarizer configuration is defined within the main [configuration](config.m```yamlsummarizer_config:function: Reference to functionality of the summarizer. Can be one of SimpleSummarizer, LMSummarizer or Identity- window_length: Threshold of the line count limit. Observation output exceeding these number, will be summarized.+ window_length: Threshold of the line count limit. Observation output exceeding this number will be summarized.system_template: |-First `system` message shown to the LMSummarizer.This has no effect in other summarizer functionalities.