Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some SWE-bench_Verified test specs are missing test parameters #292

Open
jsdelfino opened this issue Jan 17, 2025 · 0 comments
Open

Some SWE-bench_Verified test specs are missing test parameters #292

jsdelfino opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jsdelfino
Copy link

Describe the bug

A number of parametrized test specs from SWE-Bench_Verified are incorrect as they are missing parameters.

For example issue pylint-7277 references PASS_TO_PASS test tests/test_self.py::TestRunTC::test_stdin[/mymodule.py]

The dataset entry is here: https://huggingface.co/datasets/princeton-nlp/SWE-bench_Verified/viewer/default/test?q=pylint+684a1d6aa0a6791e20078bc524f97c8906332390

There is a single /mymodule.py parameter in the test spec. This is incorrect as test_stdin requires 3 parameters, as can be seen here:
https://github.com/pylint-dev/pylint/blob/684a1d6aa0a6791e20078bc524f97c8906332390/tests/test_self.py#L497

Steps/Code to Reproduce

Review the links included in the bug description.

Expected Results

Correct test specs including the required parameters.

Actual Results

Spec tests are missing the required parameters.

System Information

No response

@jsdelfino jsdelfino added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant