[Bug]: swe_bench/eval_infer.py
type checking issues
#6336
Labels
bug
Something isn't working
evaluation
Related to running evaluations with OpenHands
fix-me
Attempt to fix this issue with OpenHands
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
There are a number of issues in
eval_infer.py
for swe_bench that would not pass mypy checks.For instance in this line:
https://github.com/All-Hands-AI/OpenHands/blob/main/evaluation/benchmarks/swe_bench/eval_infer.py#L94
The type of
metadata
isEvalMetadata | None
, but theNone
type is not accounted for. We should run basic linting and type safety checks to tighten up the code and reduce unexpected errors.OpenHands Installation
Docker command in README
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: