Skip to content

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: Fix formatting and links

Kilian Lieretf193829947c7
diff --git a/docs/config/demonstrations.md b/docs/config/demonstrations.md
index d54e41fb..65547e2f 100644
--- a/docs/config/demonstrations.md
+++ b/docs/config/demonstrations.md
@@ -8,7 +8,7 @@ Demo (yaml) files are stored in the `make_demos/demos` directory by default and
## Converting an existing trajectory into a demonstration
-Here's how you can make a demo from an existing trajectory file:
+Here's how you can make a demo from an existing trajectory file:
1. Find a basic trajectory that you already like and want to use as the basis for your demo.
For instance, consider the `.traj` files in the [`trajectories/demonstrations/` folder](https://github.com/princeton-nlp/SWE-agent/tree/main/trajectories/demonstrations).
diff --git a/docs/dev/contribute.md b/docs/dev/contribute.md
index 33964fbf..2c1c8bf2 100644
--- a/docs/dev/contribute.md
+++ b/docs/dev/contribute.md
@@ -93,6 +93,6 @@ and point your browser to port 8000 or click one of the links in the output.
Read the reference for more information on our code.
- [:octicons-arrow-right-24: Read more](codespaces.md)
+ [:octicons-arrow-right-24: Read more](reference/index.md)
-</div>
\ No newline at end of file
+</div>
diff --git a/docs/usage/cl_tutorial.md b/docs/usage/cl_tutorial.md
index e59ecb0d..5a2ca736 100644
--- a/docs/usage/cl_tutorial.md
+++ b/docs/usage/cl_tutorial.md
@@ -20,7 +20,7 @@ python run.py \
Here,
-* `--model_name` sets the language model that is used by SWE-agent (with `gpt4` being the default). More information on the available models in our [FAQ](faq.md)
+* `--model_name` sets the language model that is used by SWE-agent (with `gpt4` being the default). More information on the available models in our [FAQ](usage_faq.md)
* `--data_path` points to the source of the *problem statement* (for example, the GitHub issue that you want to solve). You can also point it to local files (see [below](#specifying-the-repository))
* `--config_file` includes settings such as the prompts. Changing the config file is the easiest way to get started with modifying SWE-agent (more advanced options are discussed [here](../config/config.md)).
* `--per_instance_cost_limit` limits the total inference cost to $2 (default is $3).