-
Notifications
You must be signed in to change notification settings - Fork 296
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
base_commit & patch how to use? #201
Comments
Then I checkout to this base_commit, run FAIL_TO_PASS, is not all fail, run PASS_TO_PASS is not all pass, why? |
Regarding |
This FAIL_TO_PASS Why i can not foud the test in base_commit 'a820c139ccbe6d1865d73c4a459945cd69899f8f' ? I don't understand the design of this data. (sqlfluff) sqlfluff a820c139c @ pytest test/cli/commands_test.py::test__cli__fix_multiple
========================================================== test session starts ==========================================================
platform darwin -- Python 3.11.9, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/emacspy/EmacsPyPro/sqlfluff
configfile: pytest.ini
plugins: cov-5.0.0, hypothesis-6.110.2, xdist-3.6.1
collected 0 items
========================================================= no tests ran in 0.06s =========================================================
ERROR: not found: /Users/emacspy/EmacsPyPro/sqlfluff/test/cli/commands_test.py::test__cli__fix_multiple
(no match in any of [<Module commands_test.py>])
(sqlfluff) sqlfluff a820c139c @ pytest test/cli/commands_test.py::test__cli__fix_multiple_errors_quiet_no_force
========================================================== test session starts ==========================================================
platform darwin -- Python 3.11.9, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/emacspy/EmacsPyPro/sqlfluff
configfile: pytest.ini
plugins: cov-5.0.0, hypothesis-6.110.2, xdist-3.6.1
collected 0 items
========================================================= no tests ran in 0.06s =========================================================
ERROR: not found: /Users/emacspy/EmacsPyPro/sqlfluff/test/cli/commands_test.py::test__cli__fix_multiple_errors_quiet_no_force
(no match in any of [<Module commands_test.py>])
(sqlfluff) sqlfluff a820c139c @ git branch
* (HEAD detached at a820c139c)
main
steve-first-swe
(sqlfluff) sqlfluff a820c139c @
(sqlfluff) sqlfluff a820c139c @ pytest test/cli/commands_test.py::test__cli__command_directed
========================================================== test session starts ==========================================================
platform darwin -- Python 3.11.9, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/emacspy/EmacsPyPro/sqlfluff
configfile: pytest.ini
plugins: cov-5.0.0, hypothesis-6.110.2, xdist-3.6.1
collected 1 item
test/cli/commands_test.py . [100%]
=========================================================== 1 passed in 0.56s ===========================================================
(sqlfluff) sqlfluff a820c139c @ pytest test/cli/commands_test.py::test__cli__command_dialect
========================================================== test session starts ==========================================================
platform darwin -- Python 3.11.9, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/emacspy/EmacsPyPro/sqlfluff
configfile: pytest.ini
plugins: cov-5.0.0, hypothesis-6.110.2, xdist-3.6.1
collected 1 item
test/cli/commands_test.py . [100%]
=========================================================== 1 passed in 0.06s ===========================================================
(sqlfluff) sqlfluff a820c139c @ |
Hi. Not sure if you already answered the question yourself, because you closed it. But some of the tests are added by the gold patch and so are meant to fail before the gold patch is applied (i.e., on the base patch). This is explained in detail in the swe-B paper. |
Describe the issue
The definition of base_commit & patch is vague. I git apply the patch content to checkout to base_commit, but found that the apply failed. What does this design mean? Then I manually set up env and found that this dataset types-pkg-resources does not exist. How can I use and test the patch with this dataset?
Suggest an improvement to documentation
No response
The text was updated successfully, but these errors were encountered: