mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-06 21:44:00 -05:00
Propose fix some typos and ignore emacs backup files (#11701)
Signed-off-by: John E <jeis4wpi@outlook.com>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -185,6 +185,9 @@ cython_debug/
|
|||||||
.repomix
|
.repomix
|
||||||
repomix-output.txt
|
repomix-output.txt
|
||||||
|
|
||||||
|
# Emacs backup
|
||||||
|
*~
|
||||||
|
|
||||||
# evaluation
|
# evaluation
|
||||||
evaluation/evaluation_outputs
|
evaluation/evaluation_outputs
|
||||||
evaluation/outputs
|
evaluation/outputs
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ python evaluation/benchmarks/multi_swe_bench/scripts/data/data_change.py
|
|||||||
|
|
||||||
## Docker image download
|
## 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
|
## Generate patch
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ For debugging purposes, you can set `export EVAL_SKIP_MAXIMUM_RETRIES_EXCEEDED=t
|
|||||||
|
|
||||||
The results will be generated in evaluation/evaluation_outputs/outputs/XXX/CodeActAgent/YYY/output.jsonl, you can refer to the [example](examples/output.jsonl).
|
The 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 evaluation
|
||||||
|
|
||||||
First, install [multi-swe-bench](https://github.com/multi-swe-bench/multi-swe-bench).
|
First, install [multi-swe-bench](https://github.com/multi-swe-bench/multi-swe-bench).
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ describe("ImagePreview", () => {
|
|||||||
expect(onRemoveMock).toHaveBeenCalledOnce();
|
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" />);
|
render(<ImagePreview src="https://example.com/image.jpg" />);
|
||||||
expect(screen.queryByRole("button")).not.toBeInTheDocument();
|
expect(screen.queryByRole("button")).not.toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ def response_to_actions(
|
|||||||
f'Unexpected task format in task_list: {type(task)} - {task}'
|
f'Unexpected task format in task_list: {type(task)} - {task}'
|
||||||
)
|
)
|
||||||
raise FunctionCallValidationError(
|
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)
|
normalized_task_list.append(normalized_task)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user