Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix typos (#8469)

omahs4bb6ec2ee53a
diff --git a/evaluation/benchmarks/scienceagentbench/Dockerfile.evaluator b/evaluation/benchmarks/scienceagentbench/Dockerfile.evaluator
index f8263e1bb0..9a89d9a48a 100644
--- a/evaluation/benchmarks/scienceagentbench/Dockerfile.evaluator
+++ b/evaluation/benchmarks/scienceagentbench/Dockerfile.evaluator
@@ -17,7 +17,7 @@ RUN git checkout 4eddc7db6449a5ade3e37285747c8b208cd54ce7
RUN micromamba create -n sci-agent python=3.10 pip setuptools wheel
RUN micromamba run -n sci-agent pip install -r requirements.txt
-# Replace all occurence of conda with micromamba under the /workspace
+# Replace all occurrences of conda with micromamba under the /workspace
RUN find ./ -type f -exec sed -i 's/conda/micromamba/g' {} \;
# pushd evaluation/scienceagentbench
diff --git a/frontend/README.md b/frontend/README.md
index 5e46ffe62e..a6ebbd1a6c 100644
--- a/frontend/README.md
+++ b/frontend/README.md
@@ -61,7 +61,7 @@ make build
# Start the application
make run
```
-Or to run backend and frontend seperately.
+Or to run backend and frontend separately.
```sh
# Start the backend from the root directory
diff --git a/openhands/resolver/patching/patch.py b/openhands/resolver/patching/patch.py
index 4359e73251..684a8a953c 100644
--- a/openhands/resolver/patching/patch.py
+++ b/openhands/resolver/patching/patch.py
@@ -214,7 +214,7 @@ def parse_git_header(text: str | list[str]) -> header | None:
new_version = g.group(2)
continue
- # git always has it's own special headers
+ # git always has its own special headers
o = git_header_old_line.match(line)
if o:
old_path = o.group(1)
diff --git a/openhands/resolver/send_pull_request.py b/openhands/resolver/send_pull_request.py
index 41778c6bba..5d13aa1498 100644
--- a/openhands/resolver/send_pull_request.py
+++ b/openhands/resolver/send_pull_request.py
@@ -467,7 +467,7 @@ def update_existing_pull_request(
comment_id = issue.thread_ids[count]
handler.reply_to_comment(issue.number, comment_id, reply_comment)
except (json.JSONDecodeError, TypeError):
- msg = f'Error occured when replying to threads; success explanations {additional_message}'
+ msg = f'Error occurred when replying to threads; success explanations {additional_message}'
handler.send_comment_msg(issue.number, msg)
return pr_url