repo
stringlengths
9
49
instance_id
stringlengths
16
55
base_commit
stringlengths
40
40
patch
stringlengths
485
4.69k
test_patch
stringlengths
519
22.5k
problem_statement
stringlengths
123
10.8k
hints_text
stringlengths
0
38.3k
created_at
stringdate
2025-01-03 00:43:09
2025-01-31 23:26:11
version
stringlengths
3
20
meta
dict
install_config
dict
FAIL_TO_PASS
listlengths
1
12
PASS_TO_PASS
listlengths
0
2.23k
environment_setup_commit
stringlengths
40
40
docker_image
stringlengths
55
94
image_name
stringlengths
55
94
interface
stringclasses
1 value
zarr-developers/zarr-python
zarr-developers__zarr-python-2655
bb8ab0fa1f847eb95a545cd17af1c6ba51e69f65
diff --git a/src/zarr/core/metadata/v2.py b/src/zarr/core/metadata/v2.py index b9543306..29cf15a1 100644 --- a/src/zarr/core/metadata/v2.py +++ b/src/zarr/core/metadata/v2.py @@ -116,7 +116,13 @@ class ArrayV2Metadata(Metadata): else: return o.descr if isinstance(o, nu...
diff --git a/tests/test_metadata/test_v2.py b/tests/test_metadata/test_v2.py index 69dbd464..5a5bf5f7 100644 --- a/tests/test_metadata/test_v2.py +++ b/tests/test_metadata/test_v2.py @@ -9,6 +9,7 @@ import pytest import zarr.api.asynchronous import zarr.storage from zarr.core.buffer import cpu +from zarr.core.buffer...
Regression with 3.0.0rc1: reading zarr with tensorstore ### Zarr version 3.0.0rc1 ### Numcodecs version 0.14.1 ### Python Version 3.12 ### Operating System macOS, but also all on CI ### Installation pip ### Description With 3.0.0rc1 we observed some fails in napari --pre tests. Juan is already addressing one...
2025-01-06 16:39:44
3.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio", "pytest-accept", ...
[ "tests/test_metadata/test_v2.py::test_zstd_checksum" ]
[ "tests/test_metadata/test_v2.py::test_parse_zarr_format_valid", "tests/test_metadata/test_v2.py::test_parse_zarr_format_invalid[None]", "tests/test_metadata/test_v2.py::test_parse_zarr_format_invalid[1]", "tests/test_metadata/test_v2.py::test_parse_zarr_format_invalid[3_0]", "tests/test_metadata/test_v2.py:...
fae8fb907d5d1afb7fb479d2d9a514ff321c5ed5
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2655:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2655:latest
marshmallow-code/marshmallow
marshmallow-code__marshmallow-2800
ea26aeb08c37c4e4c5bd323689c873d14f13d58d
diff --git a/AUTHORS.rst b/AUTHORS.rst index dc645c3c..a43a00f0 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -176,3 +176,4 @@ Contributors (chronological) - Peter C `@somethingnew2-0 <https://github.com/somethingnew2-0>`_ - Marcel Jackwerth `@mrcljx` <https://github.com/mrcljx>`_ - Fares Abubaker `@Fares-Abubaker <...
diff --git a/tests/test_validate.py b/tests/test_validate.py index 866276de..783e9006 100644 --- a/tests/test_validate.py +++ b/tests/test_validate.py @@ -205,6 +205,40 @@ def test_url_custom_scheme(): assert validator(url) == url +@pytest.mark.parametrize( + "valid_url", + ( + "file:///tmp/tmp123...
`fields.Url` does not accept `file` URLs without host # Steps to reproduce Run this test case: ``` import marshmallow as mm class LOL(mm.Schema): url = mm.fields.Url(schemes={'file'}) LOL().load(dict(url="file:///var/storage/somefile.zip")) ``` # Expected result ``` {'url': 'file:///var/storage/some...
sloria: we generally go the other way--merge into older release line then forward-port. but tbh it doesn't matter that much. happy to backport this if you don't have time to switch it 0xDEC0DE: Done.
2025-01-21 19:27:58
3.25
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e \".[tests]\" -q", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pytest --...
[ "tests/test_validate.py::test_url_accepts_valid_file_urls[file:///tmp/tmp1234]", "tests/test_validate.py::test_url_accepts_valid_file_urls[file:///C:/Users/test/file.txt]", "tests/test_validate.py::test_url_accepts_valid_file_urls[file:///home/user/documents/test.pdf]", "tests/test_validate.py::test_url_accep...
[ "tests/test_validate.py::test_url_absolute_valid[http://example.org]", "tests/test_validate.py::test_url_absolute_valid[https://example.org]", "tests/test_validate.py::test_url_absolute_valid[ftp://example.org]", "tests/test_validate.py::test_url_absolute_valid[ftps://example.org]", "tests/test_validate.py:...
ea26aeb08c37c4e4c5bd323689c873d14f13d58d
swerebench/sweb.eval.x86_64.marshmallow-code_1776_marshmallow-2800:latest
swerebench/sweb.eval.x86_64.marshmallow-code_1776_marshmallow-2800:latest
probabl-ai/skore
probabl-ai__skore-1085
7e03c9c99c6d2ad3a234970bf3d475fa96639f46
diff --git a/skore/src/skore/sklearn/_estimator/report.py b/skore/src/skore/sklearn/_estimator/report.py index 94dc040..294f488 100644 --- a/skore/src/skore/sklearn/_estimator/report.py +++ b/skore/src/skore/sklearn/_estimator/report.py @@ -1,5 +1,7 @@ +import copy import inspect import time +import warnings from it...
diff --git a/skore/tests/unit/sklearn/test_estimator.py b/skore/tests/unit/sklearn/test_estimator.py index 8fd2c54..b8f9b36 100644 --- a/skore/tests/unit/sklearn/test_estimator.py +++ b/skore/tests/unit/sklearn/test_estimator.py @@ -187,7 +187,8 @@ def test_estimator_report_from_fitted_estimator(binary_classification_d...
Follow-up EstimatorReport: freeze the estimator when it is a fitted estimator Yesterday, we assess that a fitted estimator is prone to side effect. Let's take the following example: ```python estimator = LinearRegression().fit(X, y) reporter = EstimatorReport(estimator) # altering estimator, we also alter the i...
github-actions[bot]: [Documentation preview](https://skoredoc.k.probabl.dev/1085) @ 055e9afc06128779db2b2224a755ddc698cf6ef0 <!-- Sticky Pull Request Commentdocumentation-preview --> glemaitre: So putting here some comments that we had in a IRL discussion with @augustebaum. I did not evaluate the problem properly: for ...
2025-01-10 15:17:19
0.5
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e './skore[test,sphinx]'", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": ...
[ "skore/tests/unit/sklearn/test_estimator.py::test_estimator_has_no_deep_copy", "skore/tests/unit/sklearn/test_estimator.py::test_estimator_has_side_effects[True]" ]
[ "skore/tests/unit/sklearn/test_estimator.py::test_estimator_not_fitted[auto]", "skore/tests/unit/sklearn/test_estimator.py::test_estimator_report_metrics_regression[r2]", "skore/tests/unit/sklearn/test_estimator.py::test_estimator_report_metrics_binary_classification[precision]", "skore/tests/unit/sklearn/tes...
4bd8f2fba221dad77e37a2bbffa6c8201ace9f51
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1085:latest
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1085:latest
owkin/PyDESeq2
owkin__PyDESeq2-356
5a44961789b96edb8012c3b62ba650d9e14ed05a
diff --git a/pydeseq2/dds.py b/pydeseq2/dds.py index 573efca..ff91a2e 100644 --- a/pydeseq2/dds.py +++ b/pydeseq2/dds.py @@ -87,6 +87,13 @@ class DeseqDataSet(ad.AnnData): may be few or no genes which have no zero values. ``"iterative"``: fit size factors iteratively. (default: ``"ratio"``). + co...
diff --git a/tests/test_pydeseq2.py b/tests/test_pydeseq2.py index 54c6119..a61682f 100644 --- a/tests/test_pydeseq2.py +++ b/tests/test_pydeseq2.py @@ -73,27 +73,22 @@ def test_size_factors_poscounts(counts_df, metadata): def test_size_factors_control_genes(counts_df, metadata): """Test that the size_factors cal...
Option to specify control genes for fitting size factors The original DESeq2 package enables one to specify "control genes" that are used to fit the size factors. These are genes that are not expected to be changing between samples. See: https://www.rdocumentation.org/packages/DESeq2/versions/1.12.3/topics/estimateSize...
2025-01-10 10:23:49
0.5
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pyt...
[ "tests/test_pydeseq2.py::test_size_factors_control_genes" ]
[ "tests/test_pydeseq2.py::test_size_factors_ratio", "tests/test_pydeseq2.py::test_size_factors_poscounts", "tests/test_pydeseq2.py::test_deseq_independent_filtering_parametric_fit", "tests/test_pydeseq2.py::test_deseq_independent_filtering_mean_fit", "tests/test_pydeseq2.py::test_deseq_without_independent_fi...
5a44961789b96edb8012c3b62ba650d9e14ed05a
swerebench/sweb.eval.x86_64.owkin_1776_pydeseq2-356:latest
swerebench/sweb.eval.x86_64.owkin_1776_pydeseq2-356:latest
duo-labs/py_webauthn
duo-labs__py_webauthn-241
aa365d75e58bb5c506226449a9b859897f024811
diff --git a/webauthn/authentication/verify_authentication_response.py b/webauthn/authentication/verify_authentication_response.py index 76a11dd..6674f2e 100644 --- a/webauthn/authentication/verify_authentication_response.py +++ b/webauthn/authentication/verify_authentication_response.py @@ -35,7 +35,6 @@ class Verifie...
diff --git a/tests/test_verify_authentication_response.py b/tests/test_verify_authentication_response.py index fe56630..4e3e5a7 100644 --- a/tests/test_verify_authentication_response.py +++ b/tests/test_verify_authentication_response.py @@ -43,7 +43,6 @@ class TestVerifyAuthenticationResponse(TestCase): assert...
Tweak SafetyNet check SafetyNet-based attestation is on its way out for Android Keystore attestation via Play Integrity (if I'm understanding https://developer.android.com/privacy-and-security/safetynet/deprecation-timeline and https://android-developers.googleblog.com/2024/09/attestation-format-change-for-android-fido...
2025-01-16 22:04:58
2.4
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [ "requ...
[ "tests/test_verify_registration_response_android_safetynet.py::TestVerifyRegistrationResponseAndroidSafetyNet::test_verify_attestation_android_safetynet_basic_integrity_true_cts_profile_match_false" ]
[ "tests/test_verify_authentication_response.py::TestVerifyAuthenticationResponse::test_raises_exception_on_incorrect_public_key", "tests/test_verify_authentication_response.py::TestVerifyAuthenticationResponse::test_raises_exception_on_uv_required_but_false", "tests/test_verify_authentication_response.py::TestVe...
aa365d75e58bb5c506226449a9b859897f024811
swerebench/sweb.eval.x86_64.duo-labs_1776_py_webauthn-241:latest
swerebench/sweb.eval.x86_64.duo-labs_1776_py_webauthn-241:latest
rollbar/pyrollbar
rollbar__pyrollbar-468
b7b489df3daf53ec90c0cfe6fb190061cdfc0bd7
diff --git a/rollbar/__init__.py b/rollbar/__init__.py index 2a3a62d..d9a9c56 100644 --- a/rollbar/__init__.py +++ b/rollbar/__init__.py @@ -268,6 +268,7 @@ SETTINGS = { 'environment': 'production', 'exception_level_filters': [], 'root': None, # root path to your code + 'host': None, # custom hostna...
diff --git a/rollbar/test/test_rollbar.py b/rollbar/test/test_rollbar.py index 29daf3d..eeb77db 100644 --- a/rollbar/test/test_rollbar.py +++ b/rollbar/test/test_rollbar.py @@ -74,14 +74,16 @@ class RollbarTest(BaseTest): self.assertIn('argv', server_data) self.assertNotIn('branch', server_data) ...
Unable to Override the Host name I'm integrating the RollBar with python for our project that ran on Docker. But I can't override the host name of Server. Rollbar is only reporting default host name. How can I change the host name ?
2025-01-17 16:45:21
1.1
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "webob", "blinker", "httpx", "pytest" ], "pre_install": [ ...
[ "rollbar/test/test_rollbar.py::RollbarTest::test_server_data" ]
[ "rollbar/test/test_rollbar.py::RollbarTest::test_502_failsafe", "rollbar/test/test_rollbar.py::RollbarTest::test_all_project_frames_have_locals", "rollbar/test/test_rollbar.py::RollbarTest::test_anonymous_tuple_args", "rollbar/test/test_rollbar.py::RollbarTest::test_args_constructor", "rollbar/test/test_rol...
8805c6f98d8904e412c7411c34dc318a9f2eb006
swerebench/sweb.eval.x86_64.rollbar_1776_pyrollbar-468:latest
swerebench/sweb.eval.x86_64.rollbar_1776_pyrollbar-468:latest
statsmodels/statsmodels
statsmodels__statsmodels-9468
831e26ca5dfb087658500f08236a30b99b3f4501
diff --git a/statsmodels/tsa/vector_ar/svar_model.py b/statsmodels/tsa/vector_ar/svar_model.py index 6af60aa92..02375d8e1 100644 --- a/statsmodels/tsa/vector_ar/svar_model.py +++ b/statsmodels/tsa/vector_ar/svar_model.py @@ -78,12 +78,14 @@ class SVAR(tsbase.TimeSeriesModel): A = np.identity(self.neqs) ...
diff --git a/statsmodels/tsa/vector_ar/tests/test_svar.py b/statsmodels/tsa/vector_ar/tests/test_svar.py index 58f35dce7..b53adeb14 100644 --- a/statsmodels/tsa/vector_ar/tests/test_svar.py +++ b/statsmodels/tsa/vector_ar/tests/test_svar.py @@ -74,3 +74,32 @@ class TestSVAR: # Windows precision limits require ...
Bug when trying to estimate SVAR because of changes in numpy I am trying to estimate a two equation SVAR model using statsmodels but I am facing an issue. For reference, I am using the following code where 'subset' is just a pandas dataframe with two columns (the two series for the variables of the system) and a time s...
pep8speaks: Hello @josef-pkt! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found: * In the file [`statsmodels/tsa/vector_ar/tests/test_svar.py`](https://github.com/statsmodels/statsmodels/blob/598c137fdd56b22e8a4b8d7ef99c3dc70b1aaa0...
2025-01-05 21:27:18
0.14
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[develop]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov", "pytest" ], "pre_install": [ "apt-get ...
[ "statsmodels/tsa/vector_ar/tests/test_svar.py::test_oneparam" ]
[ "statsmodels/tsa/vector_ar/tests/test_svar.py::TestSVAR::test_basic", "statsmodels/tsa/vector_ar/tests/test_svar.py::TestSVAR::test_llf_ic", "statsmodels/tsa/vector_ar/tests/test_svar.py::TestSVAR::test_irf", "statsmodels/tsa/vector_ar/tests/test_svar.py::TestSVAR::test_A", "statsmodels/tsa/vector_ar/tests/...
17d96d0007eb46a0e8483e912a6bd2d01923907c
swerebench/sweb.eval.x86_64.statsmodels_1776_statsmodels-9468:latest
swerebench/sweb.eval.x86_64.statsmodels_1776_statsmodels-9468:latest
pandas-dev/pandas
pandas-dev__pandas-60691
0110487d4bccf3f7498c22a71e6a0dfdb3be3a16
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 94c289ef3a..5cc258a54f 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -798,6 +798,7 @@ Other - Bug in :meth:`Series.dt` methods in :class:`ArrowDtype` that were returning incorrect values. (:issue:`5...
diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py index b2320798ea..c95806d931 100644 --- a/pandas/tests/frame/methods/test_replace.py +++ b/pandas/tests/frame/methods/test_replace.py @@ -713,6 +713,13 @@ class TestDataFrameReplace: ) tm.assert_frame_...
BUG: ValueError in pandas.DataFrame.replace with regex on single-row DataFrame with None/NaN ### Pandas version checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X...
2025-01-10 06:21:42
2.3
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_git_commit_hash", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -q meson-python meson Cython numpy versioneer[toml] ninja && sed -i \"s/dependencies: ext_dict.get('deps', '')/dependencies: ext_dict.get('deps', [])/\" pandas/_libs/tslibs/meson.build && sed -i \"s/dependencies: ext_dict.get(...
[ "pandas/tests/frame/methods/test_replace.py::TestDataFrameReplace::test_replace_all_NA", "pandas/tests/series/methods/test_replace.py::TestSeriesReplace::test_replace_all_NA" ]
[ "pandas/tests/frame/methods/test_replace.py::TestDataFrameReplace::test_replace_inplace", "pandas/tests/frame/methods/test_replace.py::TestDataFrameReplace::test_regex_replace_list_obj[True-True-to_replace0-values0-expected0]", "pandas/tests/frame/methods/test_replace.py::TestDataFrameReplace::test_regex_replac...
543680dcd9af5e4a9443d54204ec21e801652252
swerebench/sweb.eval.x86_64.pandas-dev_1776_pandas-60691:latest
swerebench/sweb.eval.x86_64.pandas-dev_1776_pandas-60691:latest
astropy/astropy
astropy__astropy-17642
92b38aebbba6422890f1023031558f6df738e2a5
diff --git a/astropy/io/fits/hdu/base.py b/astropy/io/fits/hdu/base.py index 7fca455fa3..cbf6bf5f83 100644 --- a/astropy/io/fits/hdu/base.py +++ b/astropy/io/fits/hdu/base.py @@ -19,7 +19,6 @@ from astropy.io.fits.util import ( _free_space_check, _get_array_mmap, _is_int, - _is_pseudo_integer, de...
diff --git a/astropy/io/fits/tests/test_hdulist.py b/astropy/io/fits/tests/test_hdulist.py index ece20333c4..308d9877f4 100644 --- a/astropy/io/fits/tests/test_hdulist.py +++ b/astropy/io/fits/tests/test_hdulist.py @@ -178,6 +178,32 @@ class TestHDUListFunctions(FitsTestCase): with pytest.raises(ValueError): ...
Bug copying HDUs with scaled data from one file to another This is yet another example of how broken the current data model is for FITS data. When copying an HDU from one file to another, for example like: ``` python source = fits.open('path/to/source.fits', do_not_scale_image_data=True) with fits.open('path/to/dest....
2025-01-16 21:10:43
7.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e . --quiet && pip install pytest hypothesis pytest-doctestplus scipy pytest-astropy-header pytest-remotedata --quiet && echo 'aW1wb3J0IHJlCgojIFBhdGNoIDE6IEZpeCBpbjFkIGRlY29yYXRvcgp3aXRoIG9wZW4oJy90ZXN0YmVkL2FzdHJvcHkvdW5pdH...
[ "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctions::test_append_scaled_image_with_do_not_scale_image_data[True-scale.fits]", "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctions::test_append_scaled_image_with_do_not_scale_image_data[True-fixed-1890.fits]", "astropy/io/fits/tests/test_hdulist.p...
[ "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctions::test_update_name", "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctions::test_hdu_file_bytes", "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctions::test_hdulist_file_info", "astropy/io/fits/tests/test_hdulist.py::TestHDUListFunctio...
92b38aebbba6422890f1023031558f6df738e2a5
swerebench/sweb.eval.x86_64.astropy_1776_astropy-17642:latest
swerebench/sweb.eval.x86_64.astropy_1776_astropy-17642:latest