You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sb-cli evaluation marks pylint-dev__pylint-6528 as resolved: false even though all 4 FAIL_TO_PASS tests pass. The failure is caused by 4 PASS_TO_PASS tests being SKIPPED (not failed) in the Docker environment, which the evaluation framework then counts as regressions.
Root Cause
The Docker container used by sb-cli has only 1 CPU core. Four tests in the PASS_TO_PASS list have a skip condition requiring 2+ cores:
SKIPPED [1] tests/lint/unittest_lint.py:774: Need 2 or more cores for test to be meaningful
SKIPPED [2] tests/lint/unittest_lint.py:803: Need 2 or more cores for test to be meaningful
SKIPPED [1] tests/test_self.py:1050: Need 2 or more cores for test to be meaningful
The gold patch also changes _discover_files from @staticmethod to instance method (same as the submitted patch), so these tests would be skipped for the gold patch as well in the same environment. This means the instance is unsolvable in a single-core environment — the gold patch itself would also be marked resolved: false.
Additional Notes
The overall pytest result line confirms: 2 failed, 171 passed, 4 skipped, 1 xfailed
The 2 actual failures (test_generate_toml_config, test_generate_toml_config_disable_symbolic_names) are caused by a pre-existing tomlkit version incompatibility in the Docker image and are not in the PASS_TO_PASS list.
Note
This should only affect evaluation with
sb-cliAffected Instance
pylint-dev__pylint-6528Description
The sb-cli evaluation marks
pylint-dev__pylint-6528asresolved: falseeven though all 4 FAIL_TO_PASS tests pass. The failure is caused by 4 PASS_TO_PASS tests being SKIPPED (not failed) in the Docker environment, which the evaluation framework then counts as regressions.Root Cause
The Docker container used by sb-cli has only 1 CPU core. Four tests in the PASS_TO_PASS list have a skip condition requiring 2+ cores:
The gold patch also changes
_discover_filesfrom@staticmethodto instance method (same as the submitted patch), so these tests would be skipped for the gold patch as well in the same environment. This means the instance is unsolvable in a single-core environment — the gold patch itself would also be markedresolved: false.Additional Notes
2 failed, 171 passed, 4 skipped, 1 xfailedtest_generate_toml_config,test_generate_toml_config_disable_symbolic_names) are caused by a pre-existing tomlkit version incompatibility in the Docker image and are not in the PASS_TO_PASS list.