π OpenHands: AI-Driven Development
Propose fix some typos and ignore emacs backup files (#11701)
John Eismeier967e9e1891e0
diff --git a/.gitignore b/.gitignoreindex 97236ca41c..6fc0934a02 100644--- a/.gitignore+++ b/.gitignore@@ -185,6 +185,9 @@ cython_debug/.repomixrepomix-output.txt+# Emacs backup+*~+# evaluationevaluation/evaluation_outputsevaluation/outputsdiff --git a/evaluation/benchmarks/multi_swe_bench/README.md b/evaluation/benchmarks/multi_swe_bench/README.mdindex 88843ca9ce..58f2221e9f 100644--- a/evaluation/benchmarks/multi_swe_bench/README.md+++ b/evaluation/benchmarks/multi_swe_bench/README.md@@ -15,7 +15,7 @@ python evaluation/benchmarks/multi_swe_bench/scripts/data/data_change.py## Docker image download-Please download the multi-swe-bench dokcer images from [here](https://github.com/multi-swe-bench/multi-swe-bench?tab=readme-ov-file#run-evaluation).+Please download the multi-swe-bench docker images from [here](https://github.com/multi-swe-bench/multi-swe-bench?tab=readme-ov-file#run-evaluation).## Generate patch@@ -47,7 +47,7 @@ For debugging purposes, you can set `export EVAL_SKIP_MAXIMUM_RETRIES_EXCEEDED=tThe results will be generated in evaluation/evaluation_outputs/outputs/XXX/CodeActAgent/YYY/output.jsonl, you can refer to the [example](examples/output.jsonl).-## Runing evaluation+## Running evaluationFirst, install [multi-swe-bench](https://github.com/multi-swe-bench/multi-swe-bench).diff --git a/frontend/__tests__/components/image-preview.test.tsx b/frontend/__tests__/components/image-preview.test.tsxindex 39d2f089fb..7e40d4b925 100644--- a/frontend/__tests__/components/image-preview.test.tsx+++ b/frontend/__tests__/components/image-preview.test.tsx@@ -30,7 +30,7 @@ describe("ImagePreview", () => {expect(onRemoveMock).toHaveBeenCalledOnce();});- it("shoud not display the close button when onRemove is not provided", () => {+ it("should not display the close button when onRemove is not provided", () => {render(<ImagePreview src="https://example.com/image.jpg" />);expect(screen.queryByRole("button")).not.toBeInTheDocument();});diff --git a/openhands/agenthub/codeact_agent/function_calling.py b/openhands/agenthub/codeact_agent/function_calling.pyindex 34875645bd..763b75ee53 100644--- a/openhands/agenthub/codeact_agent/function_calling.py+++ b/openhands/agenthub/codeact_agent/function_calling.py@@ -286,7 +286,7 @@ def response_to_actions(f'Unexpected task format in task_list: {type(task)} - {task}')raise FunctionCallValidationError(- f'Unexpected task format in task_list: {type(task)}. Each task shoud be a dictionary.'+ f'Unexpected task format in task_list: {type(task)}. Each task should be a dictionary.')normalized_task_list.append(normalized_task)