repo
stringlengths
9
51
instance_id
stringlengths
13
56
base_commit
stringlengths
40
40
patch
stringlengths
313
54.4k
test_patch
stringlengths
398
59.4k
problem_statement
stringlengths
72
48.6k
hints_text
stringlengths
0
38.3k
created_at
stringlengths
19
25
version
stringlengths
3
23
meta
dict
install_config
dict
FAIL_TO_PASS
listlengths
1
16.3k
PASS_TO_PASS
listlengths
0
6.42k
environment_setup_commit
stringlengths
40
40
docker_image
stringlengths
52
95
image_name
stringlengths
52
95
interface
stringclasses
11 values
PennyLaneAI/pennylane
PennyLaneAI__pennylane-7671
32b5fd9f50a7226e649f9641eb40573fa6ce6bdd
diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md index 949c355bc..6ec541d8e 100644 --- a/doc/releases/changelog-dev.md +++ b/doc/releases/changelog-dev.md @@ -742,6 +742,11 @@ Here's a list of deprecations made this release. For a more detailed breakdown o <h3>Bug fixes 🐛</h3> +* A bug i...
diff --git a/tests/ops/op_math/test_prod.py b/tests/ops/op_math/test_prod.py index 3eb5d3b90..98bec399d 100644 --- a/tests/ops/op_math/test_prod.py +++ b/tests/ops/op_math/test_prod.py @@ -1244,6 +1244,33 @@ class TestSimplify: simplified_op = prod_op.simplify() qml.assert_equal(simplified_op, final_o...
[BUG] `qml.simplify` does not handle products with global phases correctly ### Expected behavior `qml.simplify` returns outputs equivalent to its inputs. ### Actual behavior The example operator below is "simplified" into an in-equivalent operator by swallowing a global phase. ### Additional information Note that...
2025-06-13 10:18:30
0.41
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e . --quiet && pip install 'autoray>=0.6.11,<0.8.0' --quiet && pip install 'pennylane-lightning>=0.41,<0.43' --quiet && pip install pytest pytest-cov pytest-mock pytest-xdist flaky pytest-forked pytest-benchmark toml matplotl...
[ "tests/ops/op_math/test_prod.py::TestSimplify::test_grouping_with_equal_paulis_single_wire", "tests/ops/op_math/test_prod.py::TestSimplify::test_grouping_with_equal_paulis_two_wires" ]
[ "tests/ops/op_math/test_prod.py::test_basic_validity", "tests/ops/op_math/test_prod.py::TestInitialization::test_init_prod_op[foo]", "tests/ops/op_math/test_prod.py::TestInitialization::test_init_prod_op[bar]", "tests/ops/op_math/test_prod.py::TestInitialization::test_hash", "tests/ops/op_math/test_prod.py:...
32b5fd9f50a7226e649f9641eb40573fa6ce6bdd
swerebench/sweb.eval.x86_64.pennylaneai_1776_pennylane-7671:latest
swerebench/sweb.eval.x86_64.pennylaneai_1776_pennylane-7671:latest
conan-io/conan
conan-io__conan-18444
5ca0501f378058c69a7e80673dd83ec3d1b11e75
diff --git a/conan/cli/commands/cache.py b/conan/cli/commands/cache.py index 1f1240caf..52abdb58b 100644 --- a/conan/cli/commands/cache.py +++ b/conan/cli/commands/cache.py @@ -187,5 +187,6 @@ def cache_backup_upload(conan_api: ConanAPI, parser, subparser, *args): """ Upload all the source backups present in ...
diff --git a/test/functional/tools/scm/test_git.py b/test/functional/tools/scm/test_git.py index 7e0a46d09..89f3c9a1d 100644 --- a/test/functional/tools/scm/test_git.py +++ b/test/functional/tools/scm/test_git.py @@ -1253,3 +1253,63 @@ class TestGitShallowTagClone: assert "pkg/0.1: URL: {}".format(url) in ...
[bug] git remote parsing fails in treeless clones ### Describe the bug When the local repository was cloned "treeless", then newer versions of git (tested with 2.43.0) add another token to the output of "git remote -v" that is then wrongly parsed in [conan/tools/scm/git.py#get_remote_url()](https://github.com/conan-io...
2025-06-10 15:18:18
2.17
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install...
[ "test/functional/tools/scm/test_git.py::TestGitTreelessRemote::test_treeless_clone", "test/functional/tools/scm/test_git.py::TestGitTreelessRemote::test_treeless_clone_with_parenthesis" ]
[ "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_commit_local", "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_remote_url", "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_remote_pushed_commit", "test/functional/tools/scm/test_git.p...
5ca0501f378058c69a7e80673dd83ec3d1b11e75
swerebench/sweb.eval.x86_64.conan-io_1776_conan-18444:latest
swerebench/sweb.eval.x86_64.conan-io_1776_conan-18444:latest
deepset-ai/haystack
deepset-ai__haystack-9527
67a8f1249be45422662d9e661bb558a9adde5e8c
diff --git a/haystack/core/super_component/super_component.py b/haystack/core/super_component/super_component.py index b13662e4..1e56bb3d 100644 --- a/haystack/core/super_component/super_component.py +++ b/haystack/core/super_component/super_component.py @@ -367,11 +367,13 @@ class _SuperComponent: :return: Di...
diff --git a/test/core/super_component/test_super_component.py b/test/core/super_component/test_super_component.py index 5adba29d..60a91a5c 100644 --- a/test/core/super_component/test_super_component.py +++ b/test/core/super_component/test_super_component.py @@ -266,6 +266,7 @@ class TestSuperComponent: assert...
Update `SuperComponent` to specify if Pipeline or AsyncPipeline should be used in `from_dict` Currently in SuperComponent, the `from_dict` method does not specify whether the component should be loaded using Pipeline or AsyncPipeline. It just always uses `Pipeline.from_dict`. We should update the internal logic so `to_...
coveralls: ## Pull Request Test Coverage Report for [Build 15709197968](https://coveralls.io/builds/74194905) ### Details * **0** of **0** changed or added relevant lines in **0** files are covered. * **1** unchanged line in **1** file lost coverage. * Overall coverage increased (+**0.002%**) to **90.145%** --- ...
2025-06-17 13:45:34
2.14
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "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": "pytest", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "p...
[ "test/core/super_component/test_super_component.py::TestSuperComponent::test_wrapper_serialization", "test/core/super_component/test_super_component.py::TestSuperComponent::test_super_component_async_serialization_deserialization" ]
[ "test/core/super_component/test_super_component.py::TestSuperComponent::test_split_component_path", "test/core/super_component/test_super_component.py::TestSuperComponent::test_split_component_path_error", "test/core/super_component/test_super_component.py::TestSuperComponent::test_invalid_input_mapping_type", ...
67a8f1249be45422662d9e661bb558a9adde5e8c
swerebench/sweb.eval.x86_64.deepset-ai_1776_haystack-9527:latest
swerebench/sweb.eval.x86_64.deepset-ai_1776_haystack-9527:latest
feder-observatory/stellarphot
feder-observatory__stellarphot-519
2c0714e45d0f4c4a20059fc670f316df70957085
diff --git a/pyproject.toml b/pyproject.toml index fc8770c..dcf1be9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -200,5 +200,8 @@ filterwarnings = [ # lightkurve issues a warning about an optional import 'ignore:.*the tpfmodel submodule is not available without oktopus.*:UserWarning', # Sometimes ...
diff --git a/stellarphot/settings/tests/test_models.py b/stellarphot/settings/tests/test_models.py index 00b8119..495faa4 100644 --- a/stellarphot/settings/tests/test_models.py +++ b/stellarphot/settings/tests/test_models.py @@ -9,6 +9,7 @@ from astropy.coordinates import EarthLocation, Latitude, Longitude from astrop...
Make the tables that stellarphot writes so they can be read by plain astropy Table When showing other people stellarphot I found it really inconvenient that I could not read a stellarphot table with the plain astropy table reader. I think the solution is to store the fancy stuff (e.g. observer) as a plain dictionary i...
2025-06-09 15:58:46
2.0
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e . && pip install pytest-astropy pytest-cov && pip install regions", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "python": "...
[ "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_plain_table_readability[Camera-settings0]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_plain_table_readability[PhotometryApertures-settings1]", "stellarphot/settings/tests/test_models.py::TestModelAgnostic...
[ "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_model[Camera-settings0]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_model[PhotometryApertures-settings1]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_m...
2c0714e45d0f4c4a20059fc670f316df70957085
swerebench/sweb.eval.x86_64.feder-observatory_1776_stellarphot-519:latest
swerebench/sweb.eval.x86_64.feder-observatory_1776_stellarphot-519:latest
feder-observatory/stellarphot
feder-observatory__stellarphot-526
da552391c4c5b4ae9128491dbbc3d103d3d2f313
diff --git a/stellarphot/photometry/photometry.py b/stellarphot/photometry/photometry.py index 65e2a3b..73f5be4 100644 --- a/stellarphot/photometry/photometry.py +++ b/stellarphot/photometry/photometry.py @@ -610,7 +610,10 @@ def single_image_photometry( photom["noise_cnts"].unit = ccd_image.unit # Compute ...
diff --git a/stellarphot/photometry/tests/test_photometry.py b/stellarphot/photometry/tests/test_photometry.py index ce76249..43881dc 100644 --- a/stellarphot/photometry/tests/test_photometry.py +++ b/stellarphot/photometry/tests/test_photometry.py @@ -295,6 +295,9 @@ class TestAperturePhotometry: np.a...
magnitude and magnitude error columns do not have the same units I'll add an example that reproduces this later, but `mag_inst` has no unit while `mag_error` has unit `1/adu`.
2025-06-12 14:08:45
2.0
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e \".[test]\" -q && pip install regions", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "python": "3.11", "reqs_path": [], ...
[ "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_no_outlier_rejection[True]", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_no_outlier_rejection[False]" ]
[ "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_create_aperture_photometry", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_with_outlier_rejection[True]", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::...
da552391c4c5b4ae9128491dbbc3d103d3d2f313
swerebench/sweb.eval.x86_64.feder-observatory_1776_stellarphot-526:latest
swerebench/sweb.eval.x86_64.feder-observatory_1776_stellarphot-526:latest
lmstudio-ai/venvstacks
lmstudio-ai__venvstacks-197
8e8d8267567f87ebcb1c2252fe3728e3c45ed052
diff --git a/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessary_in_build_subcommand.rst b/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessary_in_build_subcommand.rst new file mode 100644 index 0000000..bd42892 --- /dev/null +++ b/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessar...
diff --git a/tests/test_cli_invocation.py b/tests/test_cli_invocation.py index 90500b7..43d9a7a 100644 --- a/tests/test_cli_invocation.py +++ b/tests/test_cli_invocation.py @@ -544,9 +544,15 @@ class TestSubcommands: dict(dry_run=True, tag_outputs=False), # publish_artifacts ), ( - ...
Replace `--lock` with `--lock-if-needed` for the `build` subcommand The `build` subcommand intentionally fails by default if any of the transitive environment locks are invalid. Running `lock` separately, or passing `--lock` to the build subcommand, is needed to opt in to actually updating the transitive lock details. ...
2025-06-02 19:11:50
0.5
{ "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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pytest ...
[ "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock-if-needed)]", "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock)]", "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock-if-needed", "tests/test_cli_invocatio...
[ "tests/test_cli_invocation.py::TestTopLevelCommand::test_module_execution", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consistency[lock]", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consistency[build]", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consist...
8e8d8267567f87ebcb1c2252fe3728e3c45ed052
swerebench/sweb.eval.x86_64.lmstudio-ai_1776_venvstacks-197:latest
swerebench/sweb.eval.x86_64.lmstudio-ai_1776_venvstacks-197:latest
matthewwithanm/python-markdownify
matthewwithanm__python-markdownify-230
9b1412aa5b5bca345806068b66d35086cbc88b25
diff --git a/markdownify/__init__.py b/markdownify/__init__.py index 72c5214..e901d10 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -41,6 +41,9 @@ re_escape_misc_hashes = re.compile(r'(\s|^)(#{1,6}(?:\s|$))') # confused with a list item re_escape_misc_list_items = re.compile(r'((?:\s|^)[0-9]{1...
diff --git a/tests/test_conversions.py b/tests/test_conversions.py index 825559b..dd99dfb 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -101,6 +101,9 @@ def test_code(): assert md('<code>foo<s> bar </s>baz</code>') == '`foo bar baz`' assert md('<code>foo<sup>bar</sup>baz</code>', s...
Support backticks inside inline code spans With the version `1.1.0`, the following code ~~~python from markdownify import markdownify as md print( md( '<code>We have to `manage` this.</code>', ) ) ~~~ should print ~~~ ``We have to `manage` this.`` ~~~ instead of ~~~ `We have to `manage` this.` ~~~...
2025-06-29 12:29:32
1.1
{ "commit_name": "merge_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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pytest --n...
[ "tests/test_conversions.py::test_code" ]
[ "tests/test_conversions.py::test_a", "tests/test_conversions.py::test_a_spaces", "tests/test_conversions.py::test_a_with_title", "tests/test_conversions.py::test_a_shortcut", "tests/test_conversions.py::test_a_no_autolinks", "tests/test_conversions.py::test_a_in_code", "tests/test_conversions.py::test_b...
9b1412aa5b5bca345806068b66d35086cbc88b25
swerebench/sweb.eval.x86_64.matthewwithanm_1776_python-markdownify-230:latest
swerebench/sweb.eval.x86_64.matthewwithanm_1776_python-markdownify-230:latest
pybamm-team/PyBaMM
pybamm-team__PyBaMM-5061
314490709f14c1c3c5df06beffa2aaa39dd14ad5
diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c51adf3..04138bcc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Bug fixes - Converts sensitivities to numpy objects, fixing bug in `DiscreteTimeSum` sensitivity calculation ([#5037](https://github.com/pybamm-team/PyBaMM/pull/5037)) +- Raises error ...
diff --git a/tests/unit/test_expression_tree/test_interpolant.py b/tests/unit/test_expression_tree/test_interpolant.py index d004e4d65..b1eb55076 100644 --- a/tests/unit/test_expression_tree/test_interpolant.py +++ b/tests/unit/test_expression_tree/test_interpolant.py @@ -76,6 +76,11 @@ class TestInterpolant: ...
[Bug]: Interpolants seem to require x-data to be increasing (not decreasing) ### PyBaMM Version 25.6 ### Python Version 3.12.3 ### Describe the bug In some edge cases, the initial voltage depends on the direction (monotonically increasing/decreasing) of the interpolation x-data. I am using a custom model but just ...
2025-06-16 13:35:56
25.6
{ "commit_name": "merge_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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_interpolation_non_increasing", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_negation", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_div" ]
[ "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_name", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_boundary_value", "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_interpolation_float", "tests/unit/test_expression_t...
314490709f14c1c3c5df06beffa2aaa39dd14ad5
swerebench/sweb.eval.x86_64.pybamm-team_1776_pybamm-5061:latest
swerebench/sweb.eval.x86_64.pybamm-team_1776_pybamm-5061:latest
python-pillow/Pillow
python-pillow__Pillow-9023
4d0ebb040a8890eaa86414fda3e63f2ca7d00240
diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 0490ba439..a36eb4aa7 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -193,6 +193,20 @@ Image.Image.get_child_images() method uses an image's file pointer, and so child images could only be retrieved from an :py:class:`PIL.ImageFile.Ima...
diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py index 0f0886ab8..15f67385a 100644 --- a/Tests/test_file_png.py +++ b/Tests/test_file_png.py @@ -100,11 +100,11 @@ class TestFilePng: assert im.format == "PNG" assert im.get_format_mimetype() == "image/png" - for mode in ["1"...
Saving and loading int16 images to PNG format is causing data loss ### What did you do? Saving the int16 image into a PNG format previously used I mode but was changed to I;16 mode, which leads to a silent data loss. The change was done in [this pull request](https://github.com/python-pillow/Pillow/pull/7849). ### Wh...
2025-06-17 08:50:42
11.2
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
{ "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc li...
[ "Tests/test_file_png.py::TestFilePng::test_deprecation" ]
[ "Tests/test_file_png.py::TestFilePng::test_sanity", "Tests/test_file_png.py::TestFilePng::test_invalid_file", "Tests/test_file_png.py::TestFilePng::test_broken", "Tests/test_file_png.py::TestFilePng::test_bad_text", "Tests/test_file_png.py::TestFilePng::test_bad_ztxt", "Tests/test_file_png.py::TestFilePng...
4d0ebb040a8890eaa86414fda3e63f2ca7d00240
swerebench/sweb.eval.x86_64.python-pillow_1776_pillow-9023:latest
swerebench/sweb.eval.x86_64.python-pillow_1776_pillow-9023:latest
sympy/sympy
sympy__sympy-28122
c0fc06693343a228e75f44bfd796be245df0c376
diff --git a/.mailmap b/.mailmap index 859717b776..d9fb385d04 100644 --- a/.mailmap +++ b/.mailmap @@ -1272,6 +1272,7 @@ Riccardo Di Girolamo <riccardodigirolamo01@gmail.com> Riccardo Gori <goriccardo@gmail.com> Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Rich LaSota <rjlasota@gmail.com> +Richard Osbor...
diff --git a/sympy/core/tests/test_arit.py b/sympy/core/tests/test_arit.py index 591eea02df..d30ffd16c1 100644 --- a/sympy/core/tests/test_arit.py +++ b/sympy/core/tests/test_arit.py @@ -2481,3 +2481,24 @@ def test_issue_22613(): def test_issue_25176(): assert sqrt(-4*3**(S(3)/4)*I/3) == 2*3**(S(7)/8)*sqrt(-I)/...
Mul(0, x, evaluate=False).is_zero gives False ```py from sympy import symbols, Mul x = symbols("x") Mul(0, x, evaluate=False).is_zero # False ``` Interestingly, if you add `finite=True` or `finite=False` as assumptions, this bug goes away: ```py x = symbols("x", finite=True) Mul(0, x, evaluate=False).is_zero # True x...
2025-06-07 18:45:31
1.14
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "sympy/core/tests/test_arit.py::test_Mul_is_zero_with_zero_factor" ]
[ "sympy/core/tests/test_arit.py::test_bug1", "sympy/core/tests/test_arit.py::test_Symbol", "sympy/core/tests/test_arit.py::test_arit0", "sympy/core/tests/test_arit.py::test_div", "sympy/core/tests/test_arit.py::test_pow_arit", "sympy/core/tests/test_arit.py::test_pow2", "sympy/core/tests/test_arit.py::te...
c0fc06693343a228e75f44bfd796be245df0c376
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28122:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28122:latest
tobymao/sqlglot
tobymao__sqlglot-5189
696150dcb3337e328290434debbb28055233b2f8
diff --git a/sqlglot/dialects/hive.py b/sqlglot/dialects/hive.py index 8f3d7811..2bd1a95e 100644 --- a/sqlglot/dialects/hive.py +++ b/sqlglot/dialects/hive.py @@ -557,6 +557,7 @@ class Hive(Dialect): exp.GenerateDateArray: sequence_sql, exp.If: if_sql(), exp.ILike: no_ilike_sql, +...
diff --git a/tests/dialects/test_hive.py b/tests/dialects/test_hive.py index c7920913..b6dbf8b4 100644 --- a/tests/dialects/test_hive.py +++ b/tests/dialects/test_hive.py @@ -732,12 +732,20 @@ class TestHive(Validator): }, ) self.validate_all( - "x div y", + "x DIV y...
eliminate_join_marks has multiple issues ``` select t1.a, t2.b from t1, t2 where t1.id = case when t2.id (+) = "n/a" then null else t2.id (+) end ``` becomes a broken CASE statement ``` SELECT t1.a, t2.b FROM t1 LEFT JOIN t2 ON t2.id = "n/a" AND t1.id = CASE WHEN THEN NULL ELSE t2.id END ``` ``` select t1.a,...
snovik75: > Did you run `make style`? This should be automated enough already for dev work. nope. I did not know about it. it somewhat seems redundant to be honest. because if I have ruff and use an IDE which supports it like vsc, it will re-format the file to default settings which I think is line length 80. having...
2025-06-08 22:56:53
26.26
{ "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": 4 }
{ "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": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "tests/dialects/test_hive.py::TestHive::test_hive", "tests/dialects/test_sqlite.py::TestSQLite::test_sqlite", "tests/test_transforms.py::TestTransforms::test_eliminate_join_marks" ]
[ "tests/dialects/test_hive.py::TestHive::test_bits", "tests/dialects/test_hive.py::TestHive::test_cast", "tests/dialects/test_hive.py::TestHive::test_data_type", "tests/dialects/test_hive.py::TestHive::test_ddl", "tests/dialects/test_hive.py::TestHive::test_escapes", "tests/dialects/test_hive.py::TestHive:...
696150dcb3337e328290434debbb28055233b2f8
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5189:latest
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5189:latest
tobymao/sqlglot
tobymao__sqlglot-5233
eccb44cc6b5401fbf48a7d376d1704a4e04838ad
diff --git a/sqlglot/dialects/athena.py b/sqlglot/dialects/athena.py index e2aaa967c4..df600eac7a 100644 --- a/sqlglot/dialects/athena.py +++ b/sqlglot/dialects/athena.py @@ -108,6 +108,7 @@ class Tokenizer(Trino.Tokenizer): """ IDENTIFIERS = ['"', "`"] + STRING_ESCAPES = ["'", "\\"] ...
diff --git a/tests/dialects/test_athena.py b/tests/dialects/test_athena.py index dacaa4cae9..4f8a574305 100644 --- a/tests/dialects/test_athena.py +++ b/tests/dialects/test_athena.py @@ -7,6 +7,7 @@ class TestAthena(Validator): maxDiff = None def test_athena(self): + self.validate_identity("SELECT 'f...
Athena: escaped quotes in table/column comments not parsed correctly On AWS Athena, table/column comments use backslash-escaped single quotes `\'`: ```sql CREATE EXTERNAL TABLE my_table ( id bigint COMMENT 'this is the row\'s id', ) LOCATION 's3://my-s3-bucket'; ``` instead of the normal doubled-up quotes which it...
2025-06-16 18:43:50
26.27
{ "commit_name": "merge_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 . --quiet && pip install -e \".[dev]\" --quiet && pip install pytest -q", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "SQLGLOTRS_TOKENIZER=0 python -m unittest discover -v", "packages": ""...
[ "tests/dialects/test_athena.py::TestAthena::test_ddl" ]
[ "tests/dialects/test_athena.py::TestAthena::test_athena", "tests/dialects/test_athena.py::TestAthena::test_create_table", "tests/dialects/test_athena.py::TestAthena::test_ctas", "tests/dialects/test_athena.py::TestAthena::test_ddl_quoting", "tests/dialects/test_athena.py::TestAthena::test_dml", "tests/dia...
91afe4cfd7b3f427e4c0b298075e867b8a1bbe55
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5233:latest
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5233:latest
tobymao/sqlglot
tobymao__sqlglot-5253
5d0dd17c962bf66192662371da36c20a895d976c
diff --git a/sqlglot/dialects/presto.py b/sqlglot/dialects/presto.py index 543bf2d6c3..ad3e12b48e 100644 --- a/sqlglot/dialects/presto.py +++ b/sqlglot/dialects/presto.py @@ -315,6 +315,7 @@ class Tokenizer(tokens.Tokenizer): class Parser(parser.Parser): VALUES_FOLLOWED_BY_PAREN = False + ZONE_AW...
diff --git a/tests/dialects/test_presto.py b/tests/dialects/test_presto.py index 619f00dac6..c70cb7d308 100644 --- a/tests/dialects/test_presto.py +++ b/tests/dialects/test_presto.py @@ -10,14 +10,18 @@ def test_cast(self): self.validate_identity("DEALLOCATE PREPARE my_query", check_command_warning=True) ...
Trino: Timezone information is lost when using TIMEZONE literal/type constructor **Before you file an issue** - [x] Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")` - [x] Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")` - [x] Check if the issue still exists on main ...
2025-06-20 13:50:27
26.29
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e . -q && pip install -e \".[dev]\" -q && pip install pytest -q", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "SQLGLOTRS_TOKENIZER=0 python -m unittest discover -v", "packages": "", "pip_p...
[ "tests/dialects/test_presto.py::TestPresto::test_cast", "tests/dialects/test_trino.py::TestTrino::test_trino" ]
[ "tests/dialects/test_presto.py::TestPresto::test_analyze", "tests/dialects/test_presto.py::TestPresto::test_ddl", "tests/dialects/test_presto.py::TestPresto::test_encode_decode", "tests/dialects/test_presto.py::TestPresto::test_hex_unhex", "tests/dialects/test_presto.py::TestPresto::test_interval_plural_to_...
f5b5b9338eb92b7aa2c9b4c92c6138c2c05e1c40
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5253:latest
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5253:latest
tobymao/sqlglot
tobymao__sqlglot-5256
f5b5b9338eb92b7aa2c9b4c92c6138c2c05e1c40
diff --git a/sqlglot/dialects/spark.py b/sqlglot/dialects/spark.py index d7055534..70f1b13e 100644 --- a/sqlglot/dialects/spark.py +++ b/sqlglot/dialects/spark.py @@ -7,6 +7,7 @@ from sqlglot.dialects.dialect import rename_func, unit_to_var, timestampdiff_sql from sqlglot.dialects.hive import _build_with_ignore_nulls ...
diff --git a/tests/dialects/test_spark.py b/tests/dialects/test_spark.py index 1b5c7e3b..fe448bdc 100644 --- a/tests/dialects/test_spark.py +++ b/tests/dialects/test_spark.py @@ -822,6 +822,26 @@ TBLPROPERTIES ( "duckdb": "SELECT TRY_CAST(col AS TIMESTAMPTZ)", }, ) + self.v...
Allow Spark DataFrame Parameters In Spark, it's allowed to use brackets to reference DataFrames, which cannot be parsed by SqlGlot: ```python import sqlglot print(sqlglot.parse_one("""select * from test where id={id} """, dialect="databricks").sql("databricks")) # works fine print(sqlglot.parse_one("""select * from {...
2025-06-20 15:13:53
26.29
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "tests/dialects/test_spark.py::TestSpark::test_spark" ]
[ "tests/dialects/test_spark.py::TestSpark::test_analyze", "tests/dialects/test_spark.py::TestSpark::test_bool_or", "tests/dialects/test_spark.py::TestSpark::test_current_user", "tests/dialects/test_spark.py::TestSpark::test_ddl", "tests/dialects/test_spark.py::TestSpark::test_explode_projection_to_unnest", ...
f5b5b9338eb92b7aa2c9b4c92c6138c2c05e1c40
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5256:latest
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-5256:latest
trinodb/trino-python-client
trinodb__trino-python-client-564
84df329e23def866adad2a85c3276e31e7ad208f
diff --git a/trino/dbapi.py b/trino/dbapi.py index 9d2e277..fb73cc3 100644 --- a/trino/dbapi.py +++ b/trino/dbapi.py @@ -150,7 +150,7 @@ class Connection: schema=constants.DEFAULT_SCHEMA, session_properties=None, http_headers=None, - http_scheme=constants.HTTP, + http_scheme=Non...
diff --git a/tests/unit/test_dbapi.py b/tests/unit/test_dbapi.py index 49731d1..080a390 100644 --- a/tests/unit/test_dbapi.py +++ b/tests/unit/test_dbapi.py @@ -14,6 +14,7 @@ import uuid from unittest.mock import patch import httpretty +import pytest from httpretty import httprettified from requests import Sessio...
SQLAlchemy connection does not work after latest release ### Expected behavior connection engine connects successfully ``` engine = create_engine('trino://user:pass@trino.server.io:443/data') connection = engine.connect() ``` ### Actual behavior Following code snippet returns error ``` engine = create_engine('tri...
2025-06-04 16:18:49
0.334
{ "commit_name": "merge_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 '.[tests]'", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd":...
[ "tests/unit/test_dbapi.py::test_setting_http_scheme[mytrinoserver.domain-443-None-https]", "tests/unit/test_dbapi.py::test_setting_http_scheme[mytrinoserver.domain-8080-None-http]", "tests/unit/test_dbapi.py::test_setting_http_scheme[mytrinoserver.domain-None-None-http]" ]
[ "tests/unit/test_dbapi.py::test_http_session_is_correctly_passed_in", "tests/unit/test_dbapi.py::test_http_session_is_defaulted_when_not_specified", "tests/unit/test_dbapi.py::test_token_retrieved_once_when_authentication_instance_is_shared", "tests/unit/test_dbapi.py::test_token_retrieved_once_when_multithre...
84df329e23def866adad2a85c3276e31e7ad208f
swerebench/sweb.eval.x86_64.trinodb_1776_trino-python-client-564:latest
swerebench/sweb.eval.x86_64.trinodb_1776_trino-python-client-564:latest
vyperlang/vyper
vyperlang__vyper-4677
c3c0dee82caab24a34703266b25200635b3bb7cf
diff --git a/vyper/ast/parse.py b/vyper/ast/parse.py index 1c88d733..03e42a06 100644 --- a/vyper/ast/parse.py +++ b/vyper/ast/parse.py @@ -1,4 +1,5 @@ import ast as python_ast +import copy import pickle import tokenize from decimal import Decimal @@ -11,6 +12,14 @@ from vyper.exceptions import CompilerPanic, Parser...
diff --git a/tests/unit/ast/nodes/test_singletons.py b/tests/unit/ast/nodes/test_singletons.py new file mode 100644 index 00000000..88453efe --- /dev/null +++ b/tests/unit/ast/nodes/test_singletons.py @@ -0,0 +1,118 @@ +import pytest + +from vyper import ast as vy_ast + +# Note that this file only tests the correct gen...
Incorrect Error Location for DynArray Addition ### Version Information * vyper Version (output of `vyper --version`): 0.4.1 * OS: linux * Python Version (output of `python --version`): 3.12 ### What's your issue about? Vyper incorrectly reports the location of a type error when performing invalid operations on DynAr...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/vyperlang/vyper/pull/4677?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vyperlang) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 92.93...
2025-06-05 10:30:25
0.4
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd...
[ "tests/unit/ast/nodes/test_singletons.py::test_binop_operators[*]", "tests/unit/ast/nodes/test_singletons.py::test_binop_operators[^]", "tests/unit/ast/nodes/test_singletons.py::test_binop_operators[/]", "tests/unit/ast/nodes/test_singletons.py::test_binop_operators[+]", "tests/unit/ast/nodes/test_singleton...
[]
c3c0dee82caab24a34703266b25200635b3bb7cf
swerebench/sweb.eval.x86_64.vyperlang_1776_vyper-4677:latest
swerebench/sweb.eval.x86_64.vyperlang_1776_vyper-4677:latest
yt-dlp/yt-dlp
yt-dlp__yt-dlp-13403
4e7c1ea346b510280218b47e8653dbbca3a69870
diff --git a/yt_dlp/extractor/youtube/_video.py b/yt_dlp/extractor/youtube/_video.py index d82225718..0b53756dc 100644 --- a/yt_dlp/extractor/youtube/_video.py +++ b/yt_dlp/extractor/youtube/_video.py @@ -2229,20 +2229,20 @@ def _decrypt_nsig(self, s, video_id, player_url): def _extract_n_function_name(self, jscod...
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py index 3f777aed7..3336b6bff 100644 --- a/test/test_youtube_signature.py +++ b/test/test_youtube_signature.py @@ -320,6 +320,14 @@ 'https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js', 'D3XWVpYgwhLLKNK4AG...
[youtube] player `fc2a56a5`: nsig extraction failed: Some formats may be missing ### Checklist - [x] I'm reporting that yt-dlp is broken on a **supported** site - [x] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [x] I've c...
2025-06-05 21:05:35
2025.05
{ "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 .[default]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd":...
[ "test/test_youtube_signature.py::TestSignature::test_nsig_js_fc2a56a5_player_ias_vflset_en_US_base", "test/test_youtube_signature.py::TestSignature::test_nsig_js_fc2a56a5_tv_player_ias_vflset_tv_player_ias" ]
[ "test/test_youtube_signature.py::TestPlayerInfo::test_youtube_extract_player_info", "test/test_youtube_signature.py::TestSignature::test_nsig_js_009f1d77_player_ias_vflset_en_US_base", "test/test_youtube_signature.py::TestSignature::test_nsig_js_074a8365_player_ias_tce_vflset_en_US_base", "test/test_youtube_s...
4e7c1ea346b510280218b47e8653dbbca3a69870
swerebench/sweb.eval.x86_64.yt-dlp_1776_yt-dlp-13403:latest
swerebench/sweb.eval.x86_64.yt-dlp_1776_yt-dlp-13403:latest
zopefoundation/persistent
zopefoundation__persistent-220
e7258dbf29f05612dd5ec140bdcca00b1cf3ab48
diff --git a/CHANGES.rst b/CHANGES.rst index ab6121c..3be9400 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,9 @@ - Drop support for Python 3.8. +- Make ``Persistent``'s ``_p_oid`` representation follow the same format as the + ``ZODB.utils.oid_repr`` function. See `issue 219 <https://github.com/zopefounda...
diff --git a/src/persistent/tests/test_persistence.py b/src/persistent/tests/test_persistence.py index 6200c44..fa8aa3d 100644 --- a/src/persistent/tests/test_persistence.py +++ b/src/persistent/tests/test_persistence.py @@ -1887,6 +1887,14 @@ class _Persistent_Base: '<persistent.Persistent object at 0xdea...
`persistent.Persistent.__repr__` displays oids incompatible with `repr_to_oid` ## BUG/PROBLEM REPORT / FEATURE REQUEST ### What I did: (This is really a minor problem) <!-- Enter a reproducible description, including preconditions. --> ```python import persistent import ZODB.utils class P(persistent.Persistent): ...
perrinjerome: Thanks @dataflake
2025-06-01 12:14:23
6.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ...
[ "src/persistent/tests/test_persistence.py::PyPersistentTests::test_short_odd_oid" ]
[ "src/persistent/tests/test_persistence.py::PyPersistentTests::test_64bit_oid", "src/persistent/tests/test_persistence.py::PyPersistentTests::test___delattr___p__names", "src/persistent/tests/test_persistence.py::PyPersistentTests::test___delattr__normal_name_from_changed", "src/persistent/tests/test_persisten...
e7258dbf29f05612dd5ec140bdcca00b1cf3ab48
swerebench/sweb.eval.x86_64.zopefoundation_1776_persistent-220:latest
swerebench/sweb.eval.x86_64.zopefoundation_1776_persistent-220:latest
BQSKit/bqskit
BQSKit__bqskit-337
cea4a08e50b2404e199bf2c4512ede0f3ea70415
diff --git a/bqskit/passes/mapping/topology.py b/bqskit/passes/mapping/topology.py index 9ef146a..e6f782d 100644 --- a/bqskit/passes/mapping/topology.py +++ b/bqskit/passes/mapping/topology.py @@ -219,7 +219,7 @@ def filter_compatible_subgraphs( locations = graph.get_subgraphs_of_size(blocksize) induced_subgr...
diff --git a/tests/qis/test_graph.py b/tests/qis/test_graph.py index 1582389..70d12b4 100644 --- a/tests/qis/test_graph.py +++ b/tests/qis/test_graph.py @@ -266,12 +266,42 @@ class TestMachineGetSubgraph: assert (0, 1) in l assert (0, 2) in l - def test_invalid(self) -> None: + def test_3(self...
Issues with get_subgraph method of CouplingGraph I see a few issues with the method get_subgraph of CouplingGraph. Consider the following code, where we create a 5-qubit all-to-all, and then ask for a specific subgraph : ``` cg = CouplingGraph.all_to_all(5) sub_g = cg.get_subgraph((1,3,4)) ``` The issues I...
2025-06-09 05:08:17
1.2
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "tests/qis/test_graph.py::TestMachineGetSubgraph::test_invalid_3" ]
[ "tests/qis/test_graph.py::test_coupling_graph_init_valid", "tests/qis/test_graph.py::test_coupling_graph_init_invalid[None-4-remote_edges0-1.0-100.0-edge_weights_overrides0-TypeError]", "tests/qis/test_graph.py::test_coupling_graph_init_invalid[graph1-4-remote_edges1-1.0-100.0-edge_weights_overrides1-TypeError]...
cea4a08e50b2404e199bf2c4512ede0f3ea70415
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-337:latest
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-337:latest
JonathonReinhart/scuba
JonathonReinhart__scuba-269
429ec47fe756a2c9c209ece30fe83f10c7fc9db9
diff --git a/CHANGELOG.md b/CHANGELOG.md index de3b5f4..62b7e58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Fixed +- Fixed regression with Doc...
diff --git a/tests/test_dockerutil.py b/tests/test_dockerutil.py index 2dac1e1..df63d38 100644 --- a/tests/test_dockerutil.py +++ b/tests/test_dockerutil.py @@ -1,7 +1,7 @@ from pathlib import Path import pytest import subprocess -from typing import Sequence +from typing import Optional, Sequence from unittest impo...
Upgrading docker-ce=5:28.2.1-1~debian.12~bookworm makes scuba fail This morning I performed an `apt get upgrade` on my system. This upgraded `docker-ce` from `5:28.1.1-1~debian.12~bookworm` => `5:28.2.1-1~debian.12~bookworm`. Now when I run a scuba alias, I'm greeted with an error: ``` $ scuba distclean scuba: Failed ...
2025-06-08 08:31:57
2.13
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "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 scuba[argcomplete]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_pat...
[ "tests/test_dockerutil.py::test_get_image_entrypoint_mocked_no_entrypoint_new" ]
[ "tests/test_dockerutil.py::test_get_image_command_bad_image", "tests/test_dockerutil.py::test_get_image_no_docker", "tests/test_dockerutil.py::test_get_images_success__no_images", "tests/test_dockerutil.py::test_get_images_success__multiple_images", "tests/test_dockerutil.py::test_get_images__failure", "t...
429ec47fe756a2c9c209ece30fe83f10c7fc9db9
swerebench/sweb.eval.x86_64.jonathonreinhart_1776_scuba-269:latest
swerebench/sweb.eval.x86_64.jonathonreinhart_1776_scuba-269:latest
agronholm/anyio
agronholm__anyio-935
89874ca47cbb3fb3d56f91b043a09b5ec81959a8
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index 0c30277..61f2ed0 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -39,6 +39,8 @@ This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_. (`#926 <https://github.com/agronholm/anyio/issues/926>`_; PR by @hroncok)...
diff --git a/tests/test_lowlevel.py b/tests/test_lowlevel.py index 37795e5..b1e85c0 100644 --- a/tests/test_lowlevel.py +++ b/tests/test_lowlevel.py @@ -126,3 +126,16 @@ class TestRunVar: var.reset(token) with pytest.raises(ValueError, match="This token has already been used"): var.reset(...
RunVar name conflicts ### Things to check first - [x] I have searched the existing issues and didn't find my bug already reported there - [x] I have checked that my bug is still present in the latest release ### AnyIO version 4.8.0 ### Python version 3.12.9 ### What happened? `anyio.lowlevel.RunVar` instances ...
2025-06-29 07:11:24
4.9
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "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 --group test -e .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_c...
[ "tests/test_lowlevel.py::TestRunVar::test_runvar_does_not_share_storage_by_name[asyncio]", "tests/test_lowlevel.py::TestRunVar::test_runvar_does_not_share_storage_by_name[asyncio+uvloop]", "tests/test_lowlevel.py::TestRunVar::test_runvar_does_not_share_storage_by_name[trio]" ]
[ "tests/test_lowlevel.py::test_checkpoint_if_cancelled[asyncio-False]", "tests/test_lowlevel.py::test_checkpoint_if_cancelled[asyncio-True]", "tests/test_lowlevel.py::test_checkpoint_if_cancelled[asyncio+uvloop-False]", "tests/test_lowlevel.py::test_checkpoint_if_cancelled[asyncio+uvloop-True]", "tests/test_...
89874ca47cbb3fb3d56f91b043a09b5ec81959a8
swerebench/sweb.eval.x86_64.agronholm_1776_anyio-935:latest
swerebench/sweb.eval.x86_64.agronholm_1776_anyio-935:latest
biopython/biopython
biopython__biopython-5005
11728693973fafcce459cf65c0450d579fd81b18
diff --git a/Bio/PDB/qcprot.py b/Bio/PDB/qcprot.py index 7bb482064..0096a66c4 100644 --- a/Bio/PDB/qcprot.py +++ b/Bio/PDB/qcprot.py @@ -117,7 +117,7 @@ def qcp(coords1, coords2, natoms): delta = f / (f_prime + evalprec) # avoid division by zero mxEigenV = abs(mxEigenV - delta) - if (mxEigen...
diff --git a/Tests/test_PDB_CEAligner.py b/Tests/test_PDB_CEAligner.py index 00acba385..7fb1ba17c 100644 --- a/Tests/test_PDB_CEAligner.py +++ b/Tests/test_PDB_CEAligner.py @@ -43,7 +43,7 @@ class CEAlignerTests(unittest.TestCase): aligner.set_reference(s1) aligner.align(s2, final_optimization=False) ...
QCPSuperimposer stops iteration of Newton-Raphson too early giving a nonoptimal transformed structure The title is the root cause for an issue I found while aligning structures onto a reference with `QCPSuperimposer`. ## Explanation In one edge case the alignment result was very clearly far from optimal while other m...
2025-06-06 15:06:38
biopython-185
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
{ "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": "", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc python3-dev" ...
[ "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_compare_rmsd_to_transformed", "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_compare_to_svd_lines" ]
[ "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_compare_to_svd", "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_get_init_rms", "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_get_transformed", "Tests/test_PDB_QCPSuperimposer.py::QCPSuperimposerTest::test_run", "Tes...
11728693973fafcce459cf65c0450d579fd81b18
swerebench/sweb.eval.x86_64.biopython_1776_biopython-5005:latest
swerebench/sweb.eval.x86_64.biopython_1776_biopython-5005:latest
bodo-ai/PyDough
bodo-ai__PyDough-368
bce6fc846fe739fd8a9d913574aa4998b6cb5b73
diff --git a/pydough/qdag/collections/collection_qdag.py b/pydough/qdag/collections/collection_qdag.py index 10c0d74..80f1722 100644 --- a/pydough/qdag/collections/collection_qdag.py +++ b/pydough/qdag/collections/collection_qdag.py @@ -117,6 +117,24 @@ class PyDoughCollectionQDAG(PyDoughQDAG): for each re...
diff --git a/tests/test_pipeline_tpch_custom.py b/tests/test_pipeline_tpch_custom.py index 796b269..cd01f7d 100644 --- a/tests/test_pipeline_tpch_custom.py +++ b/tests/test_pipeline_tpch_custom.py @@ -57,6 +57,7 @@ from tests.test_pydough_functions.simple_pydough_functions import ( customer_most_recent_orders, ...
Ensure BEST has correct cardinality in all sitautions Consider a situation like these: - `regions.nations.CALCULATE(c=customers.BEST(by=account_balance.DESC(), per="regions").name)` - `regions.nations.CALCULATE(c=customers.BEST(by=account_balance.DESC()).name)` As strange as these cases are, they should work because th...
2025-06-15 02:15:37
1.00
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 pydough", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pyte...
[ "tests/test_pipeline_tpch_custom.py::test_pipeline_until_relational_tpch_custom[deep_best_analysis]" ]
[ "tests/test_pipeline_tpch_custom.py::test_pipeline_until_relational_tpch_custom[simple_scan_top_five]", "tests/test_pipeline_tpch_custom.py::test_pipeline_until_relational_tpch_custom[simple_filter_top_five]", "tests/test_pipeline_tpch_custom.py::test_pipeline_until_relational_tpch_custom[rank_nations_by_region...
bce6fc846fe739fd8a9d913574aa4998b6cb5b73
swerebench/sweb.eval.x86_64.bodo-ai_1776_pydough-368:latest
swerebench/sweb.eval.x86_64.bodo-ai_1776_pydough-368:latest
catalystneuro/neuroconv
catalystneuro__neuroconv-1406
5ec2993432811efed34a3c73416a755c68f6f4f7
diff --git a/CHANGELOG.md b/CHANGELOG.md index f2a924b4..7f78611b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ## Bug Fixes +* Fixed SpikeInterface physical unit properties being incorrectly included in electrodes table [PR #1406](https://github.com/catalystneuro/neuroconv/pull/1406) ## Features...
diff --git a/tests/test_modalities/test_ecephys/test_tools_spikeinterface.py b/tests/test_modalities/test_ecephys/test_tools_spikeinterface.py index 34bfc64c..aa8acb2f 100644 --- a/tests/test_modalities/test_ecephys/test_tools_spikeinterface.py +++ b/tests/test_modalities/test_ecephys/test_tools_spikeinterface.py @@ -5...
Exclude physical_unit properties from electrodes table Recently (I'm not sure when) SpikeInterface added the following properties to their recording extractors: `gain_to_physical_unit`, `offset_to_physical_unit`, and `physical_unit`. I believe these properties should be added to the list of excluded properties in `add_...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/catalystneuro/neuroconv/pull/1406?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=catalystneuro) Report All modified and coverable lines are covered by tests :white_check_mark: > Project cover...
2025-06-23 22:24:14
0.7
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e .[full]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y musl-...
[ "tests/test_modalities/test_ecephys/test_tools_spikeinterface.py::TestAddElectrodes::test_physical_unit_properties_excluded" ]
[ "tests/test_modalities/test_ecephys/test_tools_spikeinterface.py::TestAddElectricalSeriesWriting::test_default_values", "tests/test_modalities/test_ecephys/test_tools_spikeinterface.py::TestAddElectricalSeriesWriting::test_invalid_write_as_argument_assertion", "tests/test_modalities/test_ecephys/test_tools_spik...
5ec2993432811efed34a3c73416a755c68f6f4f7
swerebench/sweb.eval.x86_64.catalystneuro_1776_neuroconv-1406:latest
swerebench/sweb.eval.x86_64.catalystneuro_1776_neuroconv-1406:latest
geopandas/geopandas
geopandas__geopandas-3591
c36eba059f6170715b63a9aa065817c64025d263
diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cc8855..56554d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Version 1.1.1 + +- Fix regression in the GeoDataFrame constructor when np.nan is given as an only geometry (#3591). + ## Version 1.1.0 (June 1, 2025) Notes on dependencie...
diff --git a/geopandas/tests/test_geodataframe.py b/geopandas/tests/test_geodataframe.py index a9b7ac04..61eac57b 100644 --- a/geopandas/tests/test_geodataframe.py +++ b/geopandas/tests/test_geodataframe.py @@ -1513,6 +1513,32 @@ class TestConstructor: res = GeoDataFrame(df, geometry=Fruit.pear) asser...
Slight change in GeoDataFrame constructor behavior related to geometry column detection In v1.0.1 this worked: ```python gdf = gpd.GeoDataFrame( data=[[np.nan, np.nan]], columns=["geometry", "something"], crs="EPSG:4326", ) ``` silently converting the single value for geometry from NaN to `None`. In v1.1.0...
2025-06-05 07:55:40
1.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y g...
[ "geopandas/tests/test_geodataframe.py::TestConstructor::test_geometry_nan_scalar" ]
[ "geopandas/tests/test_geodataframe.py::TestDataFrame::test_df_init", "geopandas/tests/test_geodataframe.py::TestDataFrame::test_different_geo_colname", "geopandas/tests/test_geodataframe.py::TestDataFrame::test_geo_getitem", "geopandas/tests/test_geodataframe.py::TestDataFrame::test_getitem_no_geometry", "g...
c36eba059f6170715b63a9aa065817c64025d263
swerebench/sweb.eval.x86_64.geopandas_1776_geopandas-3591:latest
swerebench/sweb.eval.x86_64.geopandas_1776_geopandas-3591:latest
marcosschroh/dataclasses-avroschema
marcosschroh__dataclasses-avroschema-870
c2d2cefe4b7e54df9defd05f28aade188abfd08f
diff --git a/dataclasses_avroschema/model_generator/lang/python/base.py b/dataclasses_avroschema/model_generator/lang/python/base.py index 7df142f..0e07625 100644 --- a/dataclasses_avroschema/model_generator/lang/python/base.py +++ b/dataclasses_avroschema/model_generator/lang/python/base.py @@ -1,6 +1,7 @@ import cop...
diff --git a/tests/model_generator/conftest.py b/tests/model_generator/conftest.py index f512d62..9fb1dd9 100644 --- a/tests/model_generator/conftest.py +++ b/tests/model_generator/conftest.py @@ -62,6 +62,20 @@ def schema_with_invalid_python_identifiers() -> Dict: } +@pytest.fixture +def schema_with_python_ke...
Handling of schemas whose fields using reserved keywords for Python variables **Describe the bug** I have avro schema which contains field name like yield and fake. The generated model contains yield and fake as a field. having fake field in the model create issue when using fake method and yield causes issue because ...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/marcosschroh/dataclasses-avroschema/pull/870?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcos+Schroh) Report All modified and coverable lines are covered by tests :white_check_mark: > Pr...
2025-06-26 08:15:50
0.65
{ "commit_name": "merge_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": "poetry install --with dev,cli", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "poetry", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "...
[ "tests/model_generator/test_model_pydantic_generator.py::test_avro_pydantic_python_keywords" ]
[ "tests/model_generator/test_model_pydantic_generator.py::test_pydantic_model", "tests/model_generator/test_model_pydantic_generator.py::test_pydantic_model_with_meta_fields", "tests/model_generator/test_model_pydantic_generator.py::test_avro_pydantic_model", "tests/model_generator/test_model_pydantic_generato...
c2d2cefe4b7e54df9defd05f28aade188abfd08f
swerebench/sweb.eval.x86_64.marcosschroh_1776_dataclasses-avroschema-870:latest
swerebench/sweb.eval.x86_64.marcosschroh_1776_dataclasses-avroschema-870:latest
open-telemetry/opentelemetry-python
open-telemetry__opentelemetry-python-4614
347bfaeeba2c31728d606e0ec02703dca2b652d6
diff --git a/CHANGELOG.md b/CHANGELOG.md index d5dcce26..5947f4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Update ConsoleLogExporter.export to handle LogRecord's containing bytes type + in the bod...
diff --git a/opentelemetry-sdk/tests/logs/test_log_record.py b/opentelemetry-sdk/tests/logs/test_log_record.py index 4a0d58dc..76cc262a 100644 --- a/opentelemetry-sdk/tests/logs/test_log_record.py +++ b/opentelemetry-sdk/tests/logs/test_log_record.py @@ -28,34 +28,10 @@ from opentelemetry.sdk.resources import Resource ...
`ConsoleLogExporter` with bytes in body fails ### Describe your environment _No response_ ### What happened? When exporting a log with bytes in the body, the exporter fails with `TypeError: Object of type bytes is not JSON serializable` when trying to `json.dumps()` it. ### Steps to Reproduce ```py from time impor...
2025-06-04 14:21:45
1.34
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -q pytest==7.4.4 pytest-cov==4.1.0 && pip install -q -e ./opentelemetry-api && pip install -q -e ./opentelemetry-semantic-conventions && pip install -q -e ./opentelemetry-sdk && pip install -q -e ./tests/opentelemetry-test-uti...
[ "opentelemetry-sdk/tests/logs/test_log_record.py::TestLogRecord::test_log_record_to_json" ]
[ "opentelemetry-sdk/tests/logs/test_log_record.py::TestLogRecord::test_log_record_bounded_attributes", "opentelemetry-sdk/tests/logs/test_log_record.py::TestLogRecord::test_log_record_dropped_attributes_empty_limits", "opentelemetry-sdk/tests/logs/test_log_record.py::TestLogRecord::test_log_record_dropped_attrib...
347bfaeeba2c31728d606e0ec02703dca2b652d6
swerebench/sweb.eval.x86_64.open-telemetry_1776_opentelemetry-python-4614:latest
swerebench/sweb.eval.x86_64.open-telemetry_1776_opentelemetry-python-4614:latest
psf/black
psf__black-4676
24e4cb20ab03c20af390fec7303207af2a4a09e8
diff --git a/CHANGES.md b/CHANGES.md index ae8bb78..f5b123e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,9 @@ - Fix crash when a tuple appears in the `as` clause of a `with` statement (#4634) - Fix crash when tuple is used as a context manager inside a `with` statement (#4646) - Fix crash on a `\\r\n` (#467...
diff --git a/tests/data/cases/python37.py b/tests/data/cases/python37.py index f69f6b4..a600621 100644 --- a/tests/data/cases/python37.py +++ b/tests/data/cases/python37.py @@ -10,6 +10,7 @@ def g(): async def func(): + await ... if test: out_batched = [ i @@ -42,6 +43,7 @@ def g(): ...
Parser error on `await ...` The code `await ...` crashes the parser with `error: cannot format <string>: '...'` locally / misparses into `'...'` [online](https://black.vercel.app/?version=main&state=_Td6WFoAAATm1rRGAgAhARYAAAB0L-Wj4ACLAEtdAD2IimZxl1N_WlPVSXWuVXt1bY1-XkN94wERD1NLa81jCed1k68ehGtUe-mpv1KrgDnutAR7z5CtsAQmm...
2025-06-01 00:52:41
25.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd...
[ "tests/test_black.py::BlackTestCase::test_python37" ]
[ "tests/test_black.py::BlackTestCase::test_assertFormatEqual_print_full_tree", "tests/test_black.py::BlackTestCase::test_assertFormatEqual_print_tree_diff", "tests/test_black.py::BlackTestCase::test_backslash_carriage_return", "tests/test_black.py::BlackTestCase::test_bpo_2142_workaround", "tests/test_black....
24e4cb20ab03c20af390fec7303207af2a4a09e8
swerebench/sweb.eval.x86_64.psf_1776_black-4676:latest
swerebench/sweb.eval.x86_64.psf_1776_black-4676:latest
python-trio/trio
python-trio__trio-3280
efd785a20721707b52a6e2289a65e25722b30c96
diff --git a/newsfragments/3275.bugfix.rst b/newsfragments/3275.bugfix.rst new file mode 100644 index 00000000..b418b26d --- /dev/null +++ b/newsfragments/3275.bugfix.rst @@ -0,0 +1,1 @@ +Handle unwrapping SystemExit/KeyboardInterrupt exception gracefully in utility function ``raise_single_exception_from_group`` that r...
diff --git a/src/trio/_tests/test_util.py b/src/trio/_tests/test_util.py index 4182ba5d..3a57b9cf 100644 --- a/src/trio/_tests/test_util.py +++ b/src/trio/_tests/test_util.py @@ -323,25 +323,32 @@ async def test_raise_single_exception_from_group() -> None: [ ValueError("foo"), ValueEr...
raise_single_exception_from_group causes SystemExit to have no exit status `raise_single_exception_from_group` was introduced as part of https://github.com/python-trio/trio/pull/3240 and https://github.com/python-trio/trio/pull/3197, but handles `KeyboardInterrupt` and `SystemExit` by wrapping the original exception in...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/python-trio/trio/pull/3280?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-trio) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 99...
2025-06-06 02:19:22
0.30
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "p...
[ "src/trio/_tests/test_util.py::test_raise_single_exception_from_group" ]
[ "src/trio/_tests/test_util.py::test_ConflictDetector", "src/trio/_tests/test_util.py::test_module_metadata_is_fixed_up", "src/trio/_tests/test_util.py::test_is_main_thread", "src/trio/_tests/test_util.py::test_coroutine_or_error", "src/trio/_tests/test_util.py::test_generic_function", "src/trio/_tests/tes...
efd785a20721707b52a6e2289a65e25722b30c96
swerebench/sweb.eval.x86_64.python-trio_1776_trio-3280:latest
swerebench/sweb.eval.x86_64.python-trio_1776_trio-3280:latest
python-wheel-build/fromager
python-wheel-build__fromager-626
0a696b967862bfc81b423bd3e0d0fac393d6652c
diff --git a/pyproject.toml b/pyproject.toml index 13957c0..5f37283 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=64", "setuptools_scm>=8"] -build-backend = "setuptools.build_meta" +requires = ["hatchling", "hatch-vcs"] +build-backend = "hatchling.build" [...
diff --git a/requirements-test.txt b/requirements-test.txt deleted file mode 100644 index 8be8cfa..0000000 --- a/requirements-test.txt +++ /dev/null @@ -1,7 +0,0 @@ -coverage[toml]!=4.4,>=4.0 -pytest -requests-mock -setuptools_scm>=8 -setuptools>=64 -# Twine 6.1.0 added strict metadata validation -twine>=6.1.0 diff --g...
Use hatchling instead of setuptools `Hatchling` offers several advantages over `setuptools`, especially for modern Python projects: 1. **Modern Standard (`pyproject.toml`):** Fully embraces PEP 621, making `pyproject.toml` the clear, single source for all project metadata, unlike `setuptools`'s reliance on `setup.py`...
tiran: How about you split the PR into two, one for replacing `setuptools` with `hatchling` and then a second for replacing automation like `tox` with `hatch`? Your ticket #619 is about removing `setuptools` as a build backend and replacing it with `hatchling`, too. We like to move more projects away from setuptools...
2025-06-03 19:16:37
0.47
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_removed_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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd...
[ "tests/test_dependencies.py::test_get_build_system_dependencies" ]
[ "tests/test_dependencies.py::test_get_build_backend[build_system0-expected_results0]", "tests/test_dependencies.py::test_get_build_backend[build_system1-expected_results1]", "tests/test_dependencies.py::test_get_build_backend[build_system2-expected_results2]", "tests/test_dependencies.py::test_get_build_syste...
0a696b967862bfc81b423bd3e0d0fac393d6652c
swerebench/sweb.eval.x86_64.python-wheel-build_1776_fromager-626:latest
swerebench/sweb.eval.x86_64.python-wheel-build_1776_fromager-626:latest
radiasoft/pykern
radiasoft__pykern-578
9e0fc79e813a7dbae05e4bfad9365e58827d145d
diff --git a/pykern/sql_db.py b/pykern/sql_db.py index 586eb4d..1589722 100644 --- a/pykern/sql_db.py +++ b/pykern/sql_db.py @@ -34,7 +34,7 @@ _COL_MODIFIERS = frozenset( _STYPE_MAP = PKDict( { "bool": sqlalchemy.types.Boolean(), - "date_time": sqlalchemy.types.DateTime(), + "datetime": sql...
diff --git a/tests/sql_db_test.py b/tests/sql_db_test.py index 7edab3a..9011a50 100644 --- a/tests/sql_db_test.py +++ b/tests/sql_db_test.py @@ -48,7 +48,7 @@ def _meta(dir_path): a_name="str 64", a_text="text", a_int="int 32", - created="date_time index...
sql_db datetime date_time does not match other python types. make datetime.
2025-06-28 16:16:59
20250429.215443
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pytest ...
[ "tests/sql_db_test.py::test_1" ]
[]
9e0fc79e813a7dbae05e4bfad9365e58827d145d
swerebench/sweb.eval.x86_64.radiasoft_1776_pykern-578:latest
swerebench/sweb.eval.x86_64.radiasoft_1776_pykern-578:latest
sympy/sympy
sympy__sympy-28137
6564df67d64dea3d191c9c1a4b84346cf575cb39
diff --git a/.mailmap b/.mailmap index d9fb385d04..859717b776 100644 --- a/.mailmap +++ b/.mailmap @@ -1272,7 +1272,6 @@ Riccardo Di Girolamo <riccardodigirolamo01@gmail.com> Riccardo Gori <goriccardo@gmail.com> Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Rich LaSota <rjlasota@gmail.com> -Richard Osbor...
diff --git a/sympy/core/tests/test_arit.py b/sympy/core/tests/test_arit.py index d30ffd16c1..591eea02df 100644 --- a/sympy/core/tests/test_arit.py +++ b/sympy/core/tests/test_arit.py @@ -2481,24 +2481,3 @@ def test_issue_22613(): def test_issue_25176(): assert sqrt(-4*3**(S(3)/4)*I/3) == 2*3**(S(7)/8)*sqrt(-I)/...
Simplify gives an incorrect result on non-commutative symbols and adjoint() Hi, When I apply simplify to an expression, I think that I get an incorrect result. ```python from sympy import symbols, simplify x = symbols("x", commutative=False) b = x*(x**2).adjoint()*x c = simplify(b) print(b) # x*Dagger(x)**2*x...
sympy-bot: :white_check_mark: Hi, I am the [SymPy bot](https://github.com/sympy/sympy-bot). I'm here to help you write a release notes entry. Please read the [guide on how to write release notes](https://github.com/sympy/sympy/wiki/Writing-Release-Notes). Your release notes are in good order. Here is what the rele...
2025-06-10 23:52:42
1.14
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_removed_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 5 }
{ "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": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "sympy/simplify/tests/test_simplify.py::test_nc_simplify" ]
[ "sympy/core/tests/test_arit.py::test_bug1", "sympy/core/tests/test_arit.py::test_Symbol", "sympy/core/tests/test_arit.py::test_arit0", "sympy/core/tests/test_arit.py::test_div", "sympy/core/tests/test_arit.py::test_pow_arit", "sympy/core/tests/test_arit.py::test_pow2", "sympy/core/tests/test_arit.py::te...
6564df67d64dea3d191c9c1a4b84346cf575cb39
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28137:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28137:latest
sympy/sympy
sympy__sympy-28183
05989069585d736f4014770c3b408ab2f068ad02
diff --git a/sympy/polys/polyclasses.py b/sympy/polys/polyclasses.py index 1c12935f36..e930b13220 100644 --- a/sympy/polys/polyclasses.py +++ b/sympy/polys/polyclasses.py @@ -2854,6 +2854,8 @@ def __new__(cls, rep, mod, dom): else: mod = DMP(dup_strip(mod), dom, 0) + rep = rep.rem(mod) + ...
diff --git a/sympy/polys/tests/test_polyclasses.py b/sympy/polys/tests/test_polyclasses.py index 5e2c8f2c3c..5bff63aa9c 100644 --- a/sympy/polys/tests/test_polyclasses.py +++ b/sympy/polys/tests/test_polyclasses.py @@ -485,6 +485,10 @@ def test_ANP___init__(): raises(CoercionFailed, lambda: ANP([sqrt(2)], mod, Q...
ANP.__new___ not canonicalizing for mod With ```py3 from sympy.polys.polyclasses import ANP from sympy import QQ ANP({(0,):-2, (2,):1}, [1,0,-2], QQ) ``` I get: ```py3 ANP([1, 0, -2], [1, 0, -2], QQ) ``` I think it is wrong because it can be simplified by dividing the mod. <br> Here is an unexpected behavior caused b...
2025-06-25 00:28:28
1.14
{ "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": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "py...
[ "sympy/polys/tests/test_polyclasses.py::test_ANP___init__" ]
[ "sympy/polys/tests/test_polyclasses.py::test_DMP___init__", "sympy/polys/tests/test_polyclasses.py::test_DMP_rep_deprecation", "sympy/polys/tests/test_polyclasses.py::test_DMP___eq__", "sympy/polys/tests/test_polyclasses.py::test_DMP___bool__", "sympy/polys/tests/test_polyclasses.py::test_DMP_to_dict", "s...
05989069585d736f4014770c3b408ab2f068ad02
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28183:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-28183:latest
gitpython-developers/GitPython
gitpython-developers__GitPython-2051
85c8155a82a11a9195dd01098a1b284deb5cc0f7
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index fa60bcda..0e55b8fa 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -353,6 +353,11 @@ class Submodule(IndexObject, TraversableIterableObj): os.makedirs(module_abspath_dir) modu...
diff --git a/test/test_submodule.py b/test/test_submodule.py index d88f9dab..f44f086c 100644 --- a/test/test_submodule.py +++ b/test/test_submodule.py @@ -753,6 +753,22 @@ class TestSubmodule(TestBase): ) # END for each checkout mode + @with_rw_directory + @_patch_git_config("protocol.file...
Submodule from relative URL Git submodules allow relative URLs which are based on the parent repo URL. Right now this is not supported, ie. adding a submodule configuration in `.gitmodules` with a relative URL will fail when cloning in the `add` or `update` `Submodule`. A sample stack trace when calling `submodul...
2025-06-11 12:12:12
3.1
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_git_commit_hash" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "export HOME=/tmp/home && mkdir -p $HOME && git config --global user.email \"test@example.com\" && git config --global user.name \"Test User\" && pip install -e \".[test]\" -q && git submodule update --init --recursive", "log_parser": "p...
[ "test/test_submodule.py::TestSubmodule::test_update_submodule_with_relative_path" ]
[ "test/test_submodule.py::TestSubmodule::test_add_clone_multi_options_argument", "test/test_submodule.py::TestSubmodule::test_add_empty_repo", "test/test_submodule.py::TestSubmodule::test_add_no_clone_multi_options_argument", "test/test_submodule.py::TestSubmodule::test_branch_renames", "test/test_submodule....
85c8155a82a11a9195dd01098a1b284deb5cc0f7
swerebench/sweb.eval.x86_64.gitpython-developers_1776_gitpython-2051:latest
swerebench/sweb.eval.x86_64.gitpython-developers_1776_gitpython-2051:latest
pymc-devs/pymc
pymc-devs__pymc-7809
360cb6edde9ccba306c0e046d9576c936fa4e571
diff --git a/pymc/model/core.py b/pymc/model/core.py index d04011407..469001e80 100644 --- a/pymc/model/core.py +++ b/pymc/model/core.py @@ -964,6 +964,7 @@ class Model(WithMemoization, metaclass=ContextMeta): if name in self.coords: if not np.array_equal(values, self.coords[name]): ...
diff --git a/tests/model/test_core.py b/tests/model/test_core.py index 4375a17ad..b26a9d96b 100644 --- a/tests/model/test_core.py +++ b/tests/model/test_core.py @@ -33,6 +33,7 @@ import scipy.sparse as sps import scipy.stats as st from pytensor.graph import graph_inputs +from pytensor.graph.basic import get_var_by_...
BUG: <Please write a comprehensive title after the 'BUG: ' prefix> ### Describe the issue: `Model.add_coord` can add multiple `dim_length` shared variables for the same dimension, which can lead to serious problems down the line. ### Reproduceable code example: ```python import pymc as pm from pytensor.graph.basic i...
2025-06-03 16:26:55
5.23
{ "commit_name": "merge_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 -q -r requirements.txt && pip install -q pytest pytest-cov && pip install -q -e . && pip install -q \"arviz>=0.13.0,<1.0.0\"", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", ...
[ "tests/model/test_core.py::test_multiple_add_coords_with_same_name" ]
[ "tests/model/test_core.py::TestBaseModel::test_setattr_properly_works", "tests/model/test_core.py::TestBaseModel::test_context_passes_vars_to_parent_model", "tests/model/test_core.py::TestBaseModel::test_docstring_example", "tests/model/test_core.py::TestNested::test_nest_context_works", "tests/model/test_c...
360cb6edde9ccba306c0e046d9576c936fa4e571
swerebench/sweb.eval.x86_64.pymc-devs_1776_pymc-7809:latest
swerebench/sweb.eval.x86_64.pymc-devs_1776_pymc-7809:latest
scipp/plopp
scipp__plopp-459
a99d641794bc9c7ee7921790610bba771861d136
diff --git a/src/plopp/plotting/common.py b/src/plopp/plotting/common.py index 7a8090f..b549a23 100644 --- a/src/plopp/plotting/common.py +++ b/src/plopp/plotting/common.py @@ -76,64 +76,28 @@ def to_variable(obj) -> sc.Variable: return out -def _ensure_data_array_coords( - da: sc.DataArray, coords: list[st...
diff --git a/tests/plotting/plot_2d_test.py b/tests/plotting/plot_2d_test.py index f385001..34b6e41 100644 --- a/tests/plotting/plot_2d_test.py +++ b/tests/plotting/plot_2d_test.py @@ -99,14 +99,46 @@ def test_use_non_dimension_coords(linspace): assert p.canvas.ymax == 3.3 * da.coords['yy'].max().value -def te...
Using single name in `coords` arg for 2d plot raises Example: ```Py import plopp as pp da = pp.data.data2d() da.coords['x2'] = da.coords['x'] ** 2 pp.plot(da, coords=['x2']) # to plot with `x2` and `y` ``` raises with `KeyError`. I think this was introduced in #448 where it is assumed that we need to specify coords ...
2025-06-18 20:57:16
25.06
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 --force-reinstall -e .; pip install -e .[test]; pip install -e .[testing]; pip install -e .[tests]; pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requir...
[ "tests/plotting/plot_2d_test.py::test_use_dimension_coord_in_coords_arg[mpl-interactive-False]", "tests/plotting/plot_2d_test.py::test_use_dimension_coord_in_coords_arg[mpl-static-True]", "tests/plotting/plot_2d_test.py::test_single_use_non_dimension_coords[mpl-static-True]", "tests/plotting/plot_2d_test.py::...
[ "tests/plotting/plot_2d_test.py::test_plot_2d_datetime_coord[mpl-static-False]", "tests/plotting/plot_2d_test.py::test_save_to_disk_2d[mpl-static-True-jpg]", "tests/plotting/plot_2d_test.py::test_plot_2d_datetime_coord_binedges[mpl-static-False]", "tests/plotting/plot_2d_test.py::test_plot_2d_includes_masked_...
a99d641794bc9c7ee7921790610bba771861d136
swerebench/sweb.eval.x86_64.scipp_1776_plopp-459:latest
swerebench/sweb.eval.x86_64.scipp_1776_plopp-459:latest
isledecomp/reccmp
isledecomp__reccmp-142
e425c3a30c9da25269b0e453529c28280c40f650
diff --git a/reccmp/isledecomp/parser/error.py b/reccmp/isledecomp/parser/error.py index 95f4d90b..ef3aea99 100644 --- a/reccmp/isledecomp/parser/error.py +++ b/reccmp/isledecomp/parser/error.py @@ -58,33 +58,33 @@ class ParserError(Enum): DECOMP_ERROR_START = 200 # ERROR: We found a marker unexpectedly - ...
diff --git a/tests/test_parser.py b/tests/test_parser.py index 49b95a3b..43cd0fb2 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -839,3 +839,39 @@ def test_function_symbol_option_warning(parser): assert len(parser.functions) == 1 assert parser.functions[0].name_is_symbol is False assert ...
decomplint: `unexpected_marker` error displayed as `decomp_error_start` As referenced in #126. `unexpected_marker` happens when: 1. We read 1-to-N line-based function annotations (`// FUNCTION` or `// STUB`) 2. We begin our search for the opening curly bracket `{` of the function 3. We are interrupted by another annota...
disinvite: > If the errors from different sources can be mixed up that easily, would it maybe make sense to centralise all errors into one type, maybe an `IntEnum`? They aren't from different sources, it's just that `Enum` probably uses a `dict` for the value-to-name mapping, and if two entries have the same value t...
2025-06-18 03:42:45
unknown
{ "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 --force-reinstall -e .; pip install -e .[test]; pip install -e .[testing]; pip install -e .[tests]; pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requir...
[ "tests/test_parser.py::test_issue_137" ]
[ "tests/test_parser.py::test_synthetic", "tests/test_parser.py::test_invalid_marker", "tests/test_parser.py::test_function_with_spaces_implicit", "tests/test_parser.py::test_unexpected_marker", "tests/test_parser.py::test_function_with_spaces", "tests/test_parser.py::test_incompatible_marker", "tests/tes...
e425c3a30c9da25269b0e453529c28280c40f650
swerebench/sweb.eval.x86_64.isledecomp_1776_reccmp-142:latest
swerebench/sweb.eval.x86_64.isledecomp_1776_reccmp-142:latest
lmstudio-ai/lmstudio-python
lmstudio-ai__lmstudio-python-110
a8f9223547d251aa37d51dd39b971dedda6d4e49
diff --git a/src/lmstudio/_kv_config.py b/src/lmstudio/_kv_config.py index 167c31d..a88ab34 100644 --- a/src/lmstudio/_kv_config.py +++ b/src/lmstudio/_kv_config.py @@ -75,7 +75,8 @@ class CheckboxField(ConfigField): self, client_config: MutableDictObject, value: DictObject ) -> None: if value.ge...
diff --git a/tests/test_kv_config.py b/tests/test_kv_config.py index 67e0185..ca852ce 100644 --- a/tests/test_kv_config.py +++ b/tests/test_kv_config.py @@ -24,6 +24,7 @@ from lmstudio._sdk_models import ( GpuSetting, GpuSettingDict, GpuSplitConfigDict, + KvConfigFieldDict, KvConfigStackDict, ...
.act tool invocation fails - KeyError: value (broken model config json) ## Problem When model tries to run a tool using .act, the call fails with KeyError: value (kv["value"]) ## Replication ### Model Any of Qwen3-32B QwQ-32B ### Software LM-Studio 0.3.17 (Build 11) OS - Windows 10 Pro CUDA llama.cpp v1.37.1 LMStudio ...
2025-06-30 16:10:32
1.4
{ "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 --force-reinstall -e .; pip install -e .[test]; pip install -e .[testing]; pip install -e .[tests]; pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requir...
[ "tests/test_kv_config.py::test_gpu_split_strategy_config[favorMainGpu]", "tests/test_kv_config.py::test_gpu_split_strategy_config[evenly]" ]
[ "tests/test_kv_config.py::test_snake_case_conversion[input_dict2-expected_dict2-LlmLoadModelConfigStrict]", "tests/test_kv_config.py::test_kv_stack_prediction_config_conflict", "tests/test_kv_config.py::test_parse_server_config_load_embedding", "tests/test_kv_config.py::test_struct_field_coverage[config_dict3...
a8f9223547d251aa37d51dd39b971dedda6d4e49
swerebench/sweb.eval.x86_64.lmstudio-ai_1776_lmstudio-python-110:latest
swerebench/sweb.eval.x86_64.lmstudio-ai_1776_lmstudio-python-110:latest
meilisearch/meilisearch-mcp
meilisearch__meilisearch-mcp-39
bbb9e0d8d55424002a6054f824192c6c14015c5b
diff --git a/src/meilisearch_mcp/server.py b/src/meilisearch_mcp/server.py index 29a8728..6db263f 100644 --- a/src/meilisearch_mcp/server.py +++ b/src/meilisearch_mcp/server.py @@ -19,7 +19,7 @@ def json_serializer(obj: Any) -> str: if isinstance(obj, datetime): return obj.isoformat() # Handle Meilis...
diff --git a/tests/test_mcp_client.py b/tests/test_mcp_client.py index 5611cdd..9a7fd46 100644 --- a/tests/test_mcp_client.py +++ b/tests/test_mcp_client.py @@ -232,7 +232,7 @@ class TestMCPToolDiscovery: tools = await simulate_list_tools(mcp_server) tool_names = [tool.name for tool in tools] - ...
Delete index from Claude App Hi, thank you for the hard for on Meilisearch and on this little MCP tool, it's great ! I wanted to know why there is no task to delete an index while the `delete_index` function exists in the API. Is it because it's "too dangerous" ? If it's just because no one asked for it yet I can cre...
2025-06-06 14:25:27
unknown
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 --force-reinstall -e .; pip install -e .[test]; pip install -e .[testing]; pip install -e .[tests]; pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requir...
[ "tests/test_mcp_client.py::TestMCPToolDiscovery::test_complete_tool_list", "tests/test_mcp_client.py::TestIssue23DeleteIndexTool::test_delete_index_tool_discovery" ]
[ "tests/test_mcp_client.py::TestMCPClientIntegration::test_tool_error_handling", "tests/test_mcp_client.py::TestMCPClientIntegration::test_health_check_tool", "tests/test_mcp_client.py::TestMCPClientIntegration::test_mcp_server_initialization", "tests/test_mcp_client.py::TestMCPClientIntegration::test_tool_sch...
bbb9e0d8d55424002a6054f824192c6c14015c5b
swerebench/sweb.eval.x86_64.meilisearch_1776_meilisearch-mcp-39:latest
swerebench/sweb.eval.x86_64.meilisearch_1776_meilisearch-mcp-39:latest
ome-zarr-models/ome-zarr-models-py
ome-zarr-models__ome-zarr-models-py-206
48e7c82ef6995b245897baaecc453eaf5f4799fe
diff --git a/src/ome_zarr_models/common/multiscales.py b/src/ome_zarr_models/common/multiscales.py index 573d2d5..e6275c5 100644 --- a/src/ome_zarr_models/common/multiscales.py +++ b/src/ome_zarr_models/common/multiscales.py @@ -146,7 +146,7 @@ class MultiscaleBase(BaseAttrs): ) -> dict[str, Any]: d: dict...
diff --git a/tests/v04/test_image.py b/tests/v04/test_image.py index dd1f5fb..0451a1f 100644 --- a/tests/v04/test_image.py +++ b/tests/v04/test_image.py @@ -249,3 +249,5 @@ def test_no_global_transform() -> None: ) model_dict = new_image.model_dump() assert "coordinateTransformations" not in model_dict["...
`MultiscaleBase.model_dump(exclude_none=True)` fails with version 0.1.7 Hi there, Based on current `main` (that is, version 0.1.7), if I apply this patch ```diff diff --git a/tests/v04/test_image.py b/tests/v04/test_image.py index dd1f5fb..8ce3f74 100644 --- a/tests/v04/test_image.py +++ b/tests/v04/test_image.py @@ -...
2025-06-09 05:19:04
0.1
{ "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 . -q && pip install pytest pytest-cov -q && pip install \"zarr<3\" -q --force-reinstall && pip install \"pydantic-zarr<0.8\" -q --force-reinstall && pip install \"pydantic<2.10\" -q --force-reinstall", "log_parser": "pars...
[ "tests/v04/test_image.py::test_no_global_transform" ]
[ "tests/v04/test_image.py::test_image", "tests/v04/test_image.py::test_new_image", "tests/v04/test_image.py::test_datasets", "tests/v04/test_image.py::test_new_image_wrong_transforms", "tests/v04/test_image.py::test_global_transform" ]
48e7c82ef6995b245897baaecc453eaf5f4799fe
swerebench/sweb.eval.x86_64.ome-zarr-models_1776_ome-zarr-models-py-206:latest
swerebench/sweb.eval.x86_64.ome-zarr-models_1776_ome-zarr-models-py-206:latest
python-control/python-control
python-control__python-control-1138
f6799ab8e60d7fcd4b02d52d5903f08c24957faf
diff --git a/control/freqplot.py b/control/freqplot.py index fe258d63..04897996 100644 --- a/control/freqplot.py +++ b/control/freqplot.py @@ -2556,12 +2556,12 @@ def singular_values_plot( nyq_freq = None # Determine the color to use for this response - color = _get_color( + curren...
diff --git a/control/tests/freqplot_test.py b/control/tests/freqplot_test.py index c0dfa403..b3770486 100644 --- a/control/tests/freqplot_test.py +++ b/control/tests/freqplot_test.py @@ -680,6 +680,39 @@ def test_display_margins(nsys, display_margins, gridkw, match): assert cplt.axes[0, 0].get_title() == '' ...
Singular values plot not changing colors for list of systems When the singular values plot is generated for a list of systems, the colors of the lines should be different for each system. This doesn't seem to be happening. Example: ``` import control as ct sys1 = ct.rss(4, 2, 2, strictly_proper=True) sys2 = ct.rss(4,...
2025-03-02 21:53:32
0.10
{ "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 .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-timeout", "ruff" ], "pre_install": [ "ap...
[ "control/tests/freqplot_test.py::test_singular_values_plot_colors" ]
[ "control/tests/freqplot_test.py::test_response_plots[True-True-None-None-None-False-False-False-sys0]", "control/tests/freqplot_test.py::test_response_plots[True-True-None-None-None-False-False-False-sys1]", "control/tests/freqplot_test.py::test_response_plots[True-False-None-None-None-True-False-False-sys0]", ...
f6799ab8e60d7fcd4b02d52d5903f08c24957faf
swerebench/sweb.eval.x86_64.python-control_1776_python-control-1138:latest
swerebench/sweb.eval.x86_64.python-control_1776_python-control-1138:latest
RDFLib/pySHACL
RDFLib__pySHACL-285
ed3667a15ccc3e51bf128bb378f0d7937bed2efd
diff --git a/pyshacl/shapes_graph.py b/pyshacl/shapes_graph.py index 1be67e3..d3ed90a 100644 --- a/pyshacl/shapes_graph.py +++ b/pyshacl/shapes_graph.py @@ -416,7 +416,12 @@ class ShapesGraph(object): for _p in has_shape_expecting_p.keys(): property_entries = list(g.objects...
diff --git a/test/test_manual_targeting.py b/test/test_manual_targeting.py index 9b5ff32..31ffb32 100644 --- a/test/test_manual_targeting.py +++ b/test/test_manual_targeting.py @@ -84,10 +84,11 @@ exShape:HumanShape a sh:NodeShape ; exShape:AnimalShape a sh:NodeShape ; sh:property [ - sh:datatype xsd:int...
sh:or with or without --shape First off, thanks for creating this awesome SHACL validator! I’m trying to define a predicate whose value can be either xsd:string or xsd:int. While I can validate the data as expected without the --shape flag, I encounter an error when using it alongside `sh:or`. Below are the details....
2025-02-09 00:25:20
0.30
{ "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": "pip3 install -U pyshacl[http]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "pip3 install --upgrad...
[ "test/test_manual_targeting.py::test_validate_fail_manual_targeting_shape_or" ]
[ "test/test_manual_targeting.py::test_validate_pass_manual_targeting_focus", "test/test_manual_targeting.py::test_validate_fail_manual_targeting_focus", "test/test_manual_targeting.py::test_validate_fail_manual_targeting_shape", "test/test_manual_targeting.py::test_validate_fail_manual_targeting_focus_with_sha...
ed3667a15ccc3e51bf128bb378f0d7937bed2efd
swerebench/sweb.eval.x86_64.rdflib_1776_pyshacl-285:latest
swerebench/sweb.eval.x86_64.rdflib_1776_pyshacl-285:latest
MatterMiners/tardis
MatterMiners__tardis-361
3b08b88b6cfb10ff993bd31aa89944ca3abdb486
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 54abae6..6ce1116 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,11 +1,19 @@ -.. Created by changelog.py at 2024-12-18, command - '/Users/giffler/.cache/pre-commit/repoecmh3ah8/py_env-python3.12/bin/changelog docs/so...
diff --git a/tests/adapters_t/sites_t/test_htcondorsiteadapter.py b/tests/adapters_t/sites_t/test_htcondorsiteadapter.py index d44cf59..0770988 100644 --- a/tests/adapters_t/sites_t/test_htcondorsiteadapter.py +++ b/tests/adapters_t/sites_t/test_htcondorsiteadapter.py @@ -50,7 +50,10 @@ CONDOR_RM_FAILED_OUTPUT = "Job 1...
cobald-tardis stops with failure Dear Team, I am running a cobald-tardis instance to start drones for a local htcondor pool. HTCondor version is 23.10.19.77789 The error stack is as shown below: ``` journalctl -xe -u cobald@cobald_obs_site_local Jan 27 11:53:17 punchct.local cobald_tardis_daemon[2565052]: return ...
2025-02-04 15:01:57
0.8
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "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 .[contrib]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-as...
[ "tests/adapters_t/sites_t/test_htcondorsiteadapter.py::TestHTCondorSiteAdapter::test_stop_resource_failed_redo_not_running" ]
[ "tests/adapters_t/sites_t/test_htcondorsiteadapter.py::TestHTCondorSiteAdapter::test_deploy_resource_htcondor_obs", "tests/adapters_t/sites_t/test_htcondorsiteadapter.py::TestHTCondorSiteAdapter::test_exception_handling", "tests/adapters_t/sites_t/test_htcondorsiteadapter.py::TestHTCondorSiteAdapter::test_machi...
3b08b88b6cfb10ff993bd31aa89944ca3abdb486
swerebench/sweb.eval.x86_64.matterminers_1776_tardis-361:latest
swerebench/sweb.eval.x86_64.matterminers_1776_tardis-361:latest
cneud/alto-tools
cneud__alto-tools-29
62527461abc6f2a40eeb2a5a5a0edd9112fae3ae
diff --git a/pyproject.toml b/pyproject.toml index e301d15..9af942e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,16 @@ dependencies = [ # none ] +[project.optional-dependencies] +dev = [ + 'black', + 'pytest-cov', +] + +[tool.setuptools.packages.find] +where = ['src'] + + [project.scripts] ...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9f0e0c..0dc3c2e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,3 +1,5 @@ +--- + name: tests on: [push] @@ -7,18 +9,30 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false m...
cli option `-x`/`--xml-encoding` might be broken I am having a hard time using the `-x`/`--xml-encoding` option on an input file encoded with ISO-8859-1. The option doesn't seem to work neither as an argument nor as a binary flag: 1. passing an encoding identifier: ```bash alto-tools -t iso8859.xml -x iso8859-1 ``` `...
2025-02-10 17:01:36
0.1
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 -e .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd": "py...
[ "tests/test_cli.py::test_single_file_xml_encoding", "tests/test_cli.py::test_single_file_file_encoding" ]
[]
62527461abc6f2a40eeb2a5a5a0edd9112fae3ae
swerebench/sweb.eval.x86_64.cneud_1776_alto-tools-29:latest
swerebench/sweb.eval.x86_64.cneud_1776_alto-tools-29:latest
tobymao/sqlglot
tobymao__sqlglot-4661
d9625f5cbfb5ef2bfdb052adabfe7e555bc0b185
diff --git a/sqlglot/dialects/presto.py b/sqlglot/dialects/presto.py index de9e0a2c7e..9e42c4c53e 100644 --- a/sqlglot/dialects/presto.py +++ b/sqlglot/dialects/presto.py @@ -392,7 +392,6 @@ class Generator(generator.Generator): exp.Encode: lambda self, e: encode_decode_sql(self, e, "TO_UTF8"), ...
diff --git a/tests/dialects/test_presto.py b/tests/dialects/test_presto.py index c84f00035d..9443b4e638 100644 --- a/tests/dialects/test_presto.py +++ b/tests/dialects/test_presto.py @@ -1083,6 +1083,9 @@ def test_presto(self): "snowflake": "CURRENT_USER()", }, ) + self.val...
Trino first_value and last_value being incorrectly converted on sql generation - Read dialect = Trino - Write dialect = Trino - Still exists on main FIRST_VALUE and LAST_VALUE window functions are being converted to ARBITRARY. I suspect because of this [function](https://github.com/tobymao/sqlglot/blob/v26.3.8/sqlglot...
2025-01-27 08:58:17
26.3
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e . -q && pip install pytz python-dateutil -q && pip install duckdb -q && pip install pandas -q && pip install pytest -q", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "SQLGLOTRS_TOKENIZER=0 py...
[ "tests/dialects/test_presto.py::TestPresto::test_presto" ]
[ "tests/dialects/test_presto.py::TestPresto::test_analyze", "tests/dialects/test_presto.py::TestPresto::test_cast", "tests/dialects/test_presto.py::TestPresto::test_ddl", "tests/dialects/test_presto.py::TestPresto::test_encode_decode", "tests/dialects/test_presto.py::TestPresto::test_hex_unhex", "tests/dia...
1904b7605a7308608ac64e5cfb3c8424d3e55c17
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-4661:latest
swerebench/sweb.eval.x86_64.tobymao_1776_sqlglot-4661:latest
agronholm/sqlacodegen
agronholm__sqlacodegen-371
6da9a0b293461b42991413e3a3ec4dbf45b42701
diff --git a/CHANGES.rst b/CHANGES.rst index a1159ca..67d414a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,7 @@ Version history - Fixed ``AttributeError`` when metadata contains user defined column types - Fixed ``AssertionError`` when metadata contains a column type that is a type decorator with an all...
diff --git a/tests/test_generator_tables.py b/tests/test_generator_tables.py index 0bbd322..8607f5a 100644 --- a/tests/test_generator_tables.py +++ b/tests/test_generator_tables.py @@ -238,6 +238,7 @@ def test_mysql_column_types(generator: CodeGenerator) -> None: generator.metadata, Column("id", mysql...
MySQL DOUBLE(11,2) is converted to Double(11, True) ### Things to check first - [X] I have searched the existing issues and didn't find my bug already reported there - [X] I have checked that my bug is still present in the latest release ### Sqlacodegen version 3.0.0rc5 ### SQLAlchemy version 2.0.29 ### RDBMS v...
coveralls: [![Coverage Status](https://coveralls.io/builds/72385101/badge)](https://coveralls.io/builds/72385101) coverage: 97.046% (+0.004%) from 97.042% when pulling **7083c12f46a13e2479df96d2b6d7505a399581ff on fix-mysql-double** into **e5ee452e0e3991f0d4a94a80b34e709ca9de8dfc on master**.
2025-02-24 00:40:57
3.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd...
[ "tests/test_generator_tables.py::test_mysql_column_types[mysql]" ]
[ "tests/test_generator_tables.py::test_fancy_coltypes[postgresql]", "tests/test_generator_tables.py::test_boolean_detection", "tests/test_generator_tables.py::test_arrays[postgresql]", "tests/test_generator_tables.py::test_jsonb[postgresql]", "tests/test_generator_tables.py::test_jsonb_default[postgresql]", ...
636680d7948ee40710f13e6a451ccd771f2c7f1f
swerebench/sweb.eval.x86_64.agronholm_1776_sqlacodegen-371:latest
swerebench/sweb.eval.x86_64.agronholm_1776_sqlacodegen-371:latest
Blaizzy/mlx-vlm
Blaizzy__mlx-vlm-179
1e4579ad0c99b41c71f7309a4cb59d0c4e49fca1
diff --git a/mlx_vlm/models/qwen2_vl/vision.py b/mlx_vlm/models/qwen2_vl/vision.py index bd699a4..bd32514 100644 --- a/mlx_vlm/models/qwen2_vl/vision.py +++ b/mlx_vlm/models/qwen2_vl/vision.py @@ -88,7 +88,7 @@ class VisionRotaryEmbedding(nn.Module): inv_freq = 1.0 / ( self.theta ** (mx.arange(0, ...
diff --git a/mlx_vlm/tests/test_trainer.py b/mlx_vlm/tests/test_trainer.py index 97339e7..70dd370 100644 --- a/mlx_vlm/tests/test_trainer.py +++ b/mlx_vlm/tests/test_trainer.py @@ -47,15 +47,15 @@ class TestDataset(unittest.TestCase): mock_get_prompt.return_value = "Mocked prompt" - mock_prepare_inp...
LoRa fine-tuning is not working with Llama 3.2 vision model. After I pull the current main branch, lora fine-tuning of the Llama-3.2-11B-Vision-Instruct stopped working with the following error. ``` python3 -m mlx_vlm.lora --dataset /myspace/datasets --model-path /myspace/Llama-3.2-11B-Vision-Instruct --epochs 5 ...
2025-01-11 21:48:06
0.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y g...
[ "mlx_vlm/tests/test_trainer.py::TestDataset::test_dataset_getitem" ]
[ "mlx_vlm/tests/test_trainer.py::TestDataset::test_dataset_initialization", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_loss_fn", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_train_step", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_trainer_initialization" ]
7dc05f95c13f8912323648f7d8e5979a3140620a
swerebench/sweb.eval.x86_64.blaizzy_1776_mlx-vlm-179:latest
swerebench/sweb.eval.x86_64.blaizzy_1776_mlx-vlm-179:latest
pydata/xarray
pydata__xarray-9974
609412d8544217247ddf2f72f988da1b38ef01bc
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 17af655c..9b40a323 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -71,6 +71,8 @@ Bug fixes By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_. - Use zarr-fixture to prevent thread leakage errors (:pull:`9967`). By `Kai Mühlbauer <https://githu...
diff --git a/xarray/tests/test_dataset.py b/xarray/tests/test_dataset.py index 8a90a05a..f3867bd6 100644 --- a/xarray/tests/test_dataset.py +++ b/xarray/tests/test_dataset.py @@ -6685,11 +6685,15 @@ class TestDataset: assert len(out.data_vars) == 0 def test_polyfit_weighted(self) -> None: - # Mak...
Weighted polyfit is broken for arrays with more than two dimensions ### What happened? I get an error when trying to use the keyword argument w with arrays that have more than two dimensions. This worked in older versions of xarray. The issue was introduced in xarray v2024.11.0. ### What did you expect to happen? _N...
max-sixty: I'll merge, since the failures look unrelated
2025-01-22 15:16:55
2025.01
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 -e \".[dev]\" --quiet && pip install h5py netCDF4 cftime zarr --quiet", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "python": ...
[ "xarray/tests/test_dataset.py::TestDataset::test_polyfit_weighted" ]
[ "xarray/tests/test_dataset.py::TestDataset::test_repr", "xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex", "xarray/tests/test_dataset.py::TestDataset::test_repr_period_index", "xarray/tests/test_dataset.py::TestDataset::test_unicode_data", "xarray/tests/test_dataset.py::TestDataset::test_rep...
bd927827836cb331015fd54040337bc6aaa2310f
swerebench/sweb.eval.x86_64.pydata_1776_xarray-9974:latest
swerebench/sweb.eval.x86_64.pydata_1776_xarray-9974:latest
probabl-ai/skore
probabl-ai__skore-1133
e6b5de827c7de2ef717c2824382c88b526bbd728
diff --git a/skore/src/skore/sklearn/find_ml_task.py b/skore/src/skore/sklearn/find_ml_task.py index 20d652a..0af490d 100644 --- a/skore/src/skore/sklearn/find_ml_task.py +++ b/skore/src/skore/sklearn/find_ml_task.py @@ -8,9 +8,19 @@ from skore.externals._sklearn_compat import is_clusterer from skore.sklearn.types imp...
diff --git a/skore/tests/unit/sklearn/test_utils.py b/skore/tests/unit/sklearn/test_utils.py index 9df684e..631d645 100644 --- a/skore/tests/unit/sklearn/test_utils.py +++ b/skore/tests/unit/sklearn/test_utils.py @@ -1,3 +1,4 @@ +import numpy import pytest from sklearn.cluster import KMeans from sklearn.datasets imp...
feat(train_test_split): Refine detection of ML task ### Is your feature request related to a problem? Please describe. @koaning got the following error when running `skore.train_test_split`: > /workspaces/joblib-modal/.venv/lib/python3.12/site-packages/skore/sklearn/train_test_split/train_test_split.py:165: HighClass...
github-actions[bot]: <!-- Pytest Coverage Comment: display-backend-coverage --> <a href="https://github.com/probabl-ai/skore/blob/7d115ad74e9990a285b40b7c1ba1034e5400542f/README.md"><img alt="Coverage" src="https://img.shields.io/badge/Coverage-93%25-brightgreen.svg" /></a><details><summary>Coverage Report for backend ...
2025-01-16 10:36:41
0.5
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "sed -i 's/requires-python = \">=3.9, <3.13\"/requires-python = \">=3.9, <3.14\"/' skore/pyproject.toml && python -m pip install -e './skore[test,sphinx]' -q", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": ""...
[ "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_without_estimator[target5-regression]", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_without_estimator[target8-regression]", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_without_estimator[target7-regression]" ]
[ "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_without_estimator[None-clustering]", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_with_estimator[True-X1-y1-estimator1-regression]", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_with_estimator[False-X2-None-estimator2-cluster...
4bd8f2fba221dad77e37a2bbffa6c8201ace9f51
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1133:latest
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1133:latest
gerlero/foamlib
gerlero__foamlib-329
9627c7272f1ce4e23e12578a683bbb56f309c7d3
diff --git a/foamlib/_files/_parsing.py b/foamlib/_files/_parsing.py index 31be86c..1ecf502 100644 --- a/foamlib/_files/_parsing.py +++ b/foamlib/_files/_parsing.py @@ -235,11 +235,12 @@ _TENSOR = ( | _tensor(TensorKind.SYMM_TENSOR) | _tensor(TensorKind.TENSOR) ) -_IDENTIFIER = Forward() -_IDENTIFIER <<= Com...
diff --git a/tests/test_files/test_parsing.py b/tests/test_files/test_parsing.py index 140b899..486a22c 100644 --- a/tests/test_files/test_parsing.py +++ b/tests/test_files/test_parsing.py @@ -93,6 +93,7 @@ def test_parse_value() -> None: assert Parsed(b"(water oil mercury air)")[()] == ["water", "oil", "mercury",...
div((nuEff*dev2(T(grad(U))))) parsing Hi again, so I think I have found another issue with the parsing in the `fvSchemes` file for the `divSchemes` when trying to parse the following line `div((nuEff*dev2(T(grad(U)))))`. I think this is a valid keyword? ```py from pathlib import Path from foamlib import FoamFile Path...
2025-03-09 16:35:28
gerlero__foamlib-329
{ "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": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install...
[ "tests/test_files/test_parsing.py::test_parse_value" ]
[ "tests/test_files/test_parsing.py::test_parse_directive" ]
9627c7272f1ce4e23e12578a683bbb56f309c7d3
swerebench/sweb.eval.x86_64.gerlero_1776_foamlib-329:latest
swerebench/sweb.eval.x86_64.gerlero_1776_foamlib-329:latest
brightway-lca/brightway2-io
brightway-lca__brightway2-io-294
774b44635cbfcc833dd0a40e803ef66e0b204630
diff --git a/bw2io/strategies/ecospold2.py b/bw2io/strategies/ecospold2.py index 4a4375d..f506849 100644 --- a/bw2io/strategies/ecospold2.py +++ b/bw2io/strategies/ecospold2.py @@ -1177,6 +1177,8 @@ def add_cpc_classification_from_single_reference_product(db): "classifications": [], } + T...
diff --git a/tests/strategies/ecospold2.py b/tests/strategies/ecospold2.py index 22d05c4..7e27bc5 100644 --- a/tests/strategies/ecospold2.py +++ b/tests/strategies/ecospold2.py @@ -1,4 +1,4 @@ -from stats_arrays import * +from stats_arrays import LognormalUncertainty, UndefinedUncertainty from bw2io.strategies.ecosp...
Extraction of CPC & HS2017 classifications fail The fix for #282 does not seem to work. See the example below: ### setup - OS: Ubuntu 24.04.1 LTS - Python: 3.12.8 - bw2data version: (4, 3) - bw2io version: 0.9.3 ### description of the issue - CPC classification is truncated and only the first digit seems ex...
2025-01-08 18:01:30
0.9
{ "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": "", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd": "pyt...
[ "tests/strategies/ecospold2.py::test_add_cpc_classification_from_single_reference_product_single_classif" ]
[ "tests/strategies/ecospold2.py::test_drop_temporary_outdated_biosphere_flows", "tests/strategies/ecospold2.py::test_reparametrize_lognormal_to_agree_with_static_amount", "tests/strategies/ecospold2.py::test_fix_unreasonably_high_lognormal_uncertainties", "tests/strategies/ecospold2.py::test_remove_uncertainty...
839c10b85851eefe8bfe077ce38f1c1ec4d3c937
swerebench/sweb.eval.x86_64.brightway-lca_1776_brightway2-io-294:latest
swerebench/sweb.eval.x86_64.brightway-lca_1776_brightway2-io-294:latest
sphinx-doc/sphinx
sphinx-doc__sphinx-13261
019a6661f4b4ae6bffcfe015387e90d8b0190c8b
diff --git a/CHANGES.rst b/CHANGES.rst index 139ce579a..6271505bc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -92,6 +92,8 @@ Bugs fixed methods and attributes. Patch by Bénédikt Tran. * #12975: Avoid rendering a trailing comma in C and C++ multi-line signatures. +* #13178: autodoc: Fix resolution for ``pathlib...
diff --git a/tests/test_extensions/test_ext_autodoc_configs.py b/tests/test_extensions/test_ext_autodoc_configs.py index 348e84b2b..02ef26b30 100644 --- a/tests/test_extensions/test_ext_autodoc_configs.py +++ b/tests/test_extensions/test_ext_autodoc_configs.py @@ -696,11 +696,6 @@ def test_mocked_module_imports(app): ...
References to `pathlib` objects are incorrectly picked up by autodoc ### Describe the bug Type annotations using `pathlib.Path` of callable that are handed by autodoc generate the following warning on Python 3.13: ``` {filename}.py:docstring of {callable}:1: WARNING: py:class reference target not found: pathlib....
2025-01-23 02:57:43
8.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 -e .[docs,test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get updat...
[ "tests/test_util/test_util_typing.py::test_is_invalid_builtin_class" ]
[ "tests/test_extensions/test_ext_autodoc_configs.py::test_autoclass_content_class", "tests/test_extensions/test_ext_autodoc_configs.py::test_autoclass_content_init", "tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_class_signature_mixed", "tests/test_extensions/test_ext_autodoc_configs.py::test...
b678d17e002aec62c54acc176123d9a2d4be8409
swerebench/sweb.eval.x86_64.sphinx-doc_1776_sphinx-13261:latest
swerebench/sweb.eval.x86_64.sphinx-doc_1776_sphinx-13261:latest
vyperlang/vyper
vyperlang__vyper-4462
9e396fb8de9e0c8c72b9500365ade44435ef4bef
diff --git a/vyper/codegen/core.py b/vyper/codegen/core.py index aaf6f350..789cc775 100644 --- a/vyper/codegen/core.py +++ b/vyper/codegen/core.py @@ -560,7 +560,7 @@ def _get_element_ptr_array(parent, key, array_bounds_check): return IRnode.from_list("~empty", subtype) if parent.value == "multi": - ...
diff --git a/tests/functional/codegen/features/iteration/test_for_in_list.py b/tests/functional/codegen/features/iteration/test_for_in_list.py index 036e7c06..4b9eea3c 100644 --- a/tests/functional/codegen/features/iteration/test_for_in_list.py +++ b/tests/functional/codegen/features/iteration/test_for_in_list.py @@ -2...
panic when iterating over static arrays ### Version Information * vyper Version (output of `vyper --version`): 762eec682450a6631342fad06898471ea2a6aa90 ### What's your issue about? following contract panics when compiling: ```vyper X: constant(uint24[4]) = [1,2,3,4] @external def foo(): x: uint24 = 0 for s: ...
2025-01-22 00:27:39
0.4
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.10", "reqs_path": [], "test_cmd...
[ "tests/functional/codegen/features/iteration/test_for_in_list.py::test_constant_list_iter" ]
[ "tests/functional/codegen/features/iteration/test_for_in_list.py::test_bad_code[17", "tests/functional/codegen/features/iteration/test_for_in_list.py::test_iterator_modification_module_attribute", "tests/functional/codegen/features/iteration/test_for_in_list.py::test_bad_code[19", "tests/functional/codegen/fe...
9e396fb8de9e0c8c72b9500365ade44435ef4bef
swerebench/sweb.eval.x86_64.vyperlang_1776_vyper-4462:latest
swerebench/sweb.eval.x86_64.vyperlang_1776_vyper-4462:latest
CrossGL/crosstl
CrossGL__crosstl-257
bf894dbc90466d1ed9ae942f44396fbd04f18298
diff --git a/crosstl/translator/lexer.py b/crosstl/translator/lexer.py index 84cad4f..c260361 100644 --- a/crosstl/translator/lexer.py +++ b/crosstl/translator/lexer.py @@ -21,6 +21,7 @@ TOKENS = OrderedDict( ("FRAGMENT", r"\bfragment\b"), ("FLOAT_NUMBER", r"\d*\.\d+|\d+\.\d*"), ("FLOAT", r"\...
diff --git a/tests/test_translator/test_lexer.py b/tests/test_translator/test_lexer.py index f4793b0..5164c59 100644 --- a/tests/test_translator/test_lexer.py +++ b/tests/test_translator/test_lexer.py @@ -152,6 +152,7 @@ def test_data_types_tokenization(): float c; double d; bool e; + unsigned int f; ...
ToDO for translator frontend - this task is to add support for `translator` frontend add token in `lexer` so it can also identify these tokens. for this task the one file `crosstl/src/translator/lexer.py` List of task - [x] #42 - [x] #43 - [x] #44 - [x] #45 - [x] #46 - [x] #47 - [x] #48 - [x] #4...
github-actions[bot]: This pull request has been marked as stale because it has been inactive for more than 14 days. Please update this pull request or it will be automatically closed in 7 days.
2025-01-06 15:20:49
0.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "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": [ "apt-get update", "apt-get install -y g...
[ "tests/test_translator/test_lexer.py::test_data_types_tokenization" ]
[ "tests/test_translator/test_lexer.py::test_struct_tokenization", "tests/test_translator/test_lexer.py::test_if_statement_tokenization", "tests/test_translator/test_lexer.py::test_for_statement_tokenization", "tests/test_translator/test_lexer.py::test_else_statement_tokenization", "tests/test_translator/test...
36bed5871a8d102f73cfebf82c8d8495aaa89e87
swerebench/sweb.eval.x86_64.crossgl_1776_crosstl-257:latest
swerebench/sweb.eval.x86_64.crossgl_1776_crosstl-257:latest
sphinx-doc/sphinx
sphinx-doc__sphinx-13318
b11303adb9771346f79f5ca7bab0f3a6f733a6eb
diff --git a/CHANGES.rst b/CHANGES.rst index 59b0ef4c2..601c20f39 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -139,6 +139,8 @@ Bugs fixed Patch by Adam Turner. * #13136: autodoc: Correctly handle multiple inheritance. Patch by Pavel Holica +* #13273, #13318: Properly convert command-line overrides for Boolean ...
diff --git a/tests/test_config/test_config.py b/tests/test_config/test_config.py index 4b8321583..873785fd7 100644 --- a/tests/test_config/test_config.py +++ b/tests/test_config/test_config.py @@ -11,7 +11,6 @@ import pytest import sphinx -from sphinx.builders.gettext import _gettext_compact_validator from sphinx....
Boolean values passed to flag `--define` are wrongly interpreted as strings when building Sphinx docs ### Describe the bug I want to build Sphinx docs locally with `--define autosummary_generate=0` to temporarily disable the autosummary extension. However, my value of 0 is not interpreted as boolean despite that the [...
2025-02-07 19:30:15
8.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest>=6.0", "defusedxml>=0.7.1", "cython>=3.0", "setuptools...
[ "tests/test_config/test_config.py::test_gettext_compact_command_line_true", "tests/test_config/test_config.py::test_gettext_compact_command_line_false", "tests/test_config/test_config.py::test_translation_progress_classes_command_line", "tests/test_config/test_config.py::test_translation_progress_classes_comm...
[ "tests/test_config/test_config.py::test_is_serializable", "tests/test_config/test_config.py::test_config_opt_deprecated", "tests/test_config/test_config.py::test_core_config", "tests/test_config/test_config.py::test_config_not_found", "tests/test_config/test_config.py::test_config_pickle_protocol[0]", "te...
b678d17e002aec62c54acc176123d9a2d4be8409
swerebench/sweb.eval.x86_64.sphinx-doc_1776_sphinx-13318:latest
swerebench/sweb.eval.x86_64.sphinx-doc_1776_sphinx-13318:latest
sympy/sympy
sympy__sympy-27809
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
diff --git a/sympy/polys/numberfields/subfield.py b/sympy/polys/numberfields/subfield.py index b959ddeb27..c56d0662e4 100644 --- a/sympy/polys/numberfields/subfield.py +++ b/sympy/polys/numberfields/subfield.py @@ -347,6 +347,12 @@ def primitive_element(extension, x=None, *, ex=False, polys=False): else: ...
diff --git a/sympy/polys/numberfields/tests/test_subfield.py b/sympy/polys/numberfields/tests/test_subfield.py index 34b93229ce..b152dd684a 100644 --- a/sympy/polys/numberfields/tests/test_subfield.py +++ b/sympy/polys/numberfields/tests/test_subfield.py @@ -12,6 +12,7 @@ primitive_element, to_number_field, ...
Bug of domain.unify Here is a reproduction. ```python from sympy.abc import x from sympy import Poly, QQ, CRootOf f1 = QQ.algebraic_field(CRootOf(49*x**3 - 49*x**2 + 14*x - 1, 2)) f2 = QQ.algebraic_field(CRootOf(49*x**3 - 49*x**2 + 14*x - 1, 0)) f3 = f1.unify(f2) print(f3.mod) print(f3.mod.primitive()) # divisible by ...
2025-03-22 09:09:50
1.13
{ "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": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ...
[ "sympy/polys/numberfields/tests/test_subfield.py::test_issue_27798" ]
[ "sympy/polys/numberfields/tests/test_subfield.py::test_field_isomorphism_pslq", "sympy/polys/numberfields/tests/test_subfield.py::test_field_isomorphism", "sympy/polys/numberfields/tests/test_subfield.py::test_primitive_element", "sympy/polys/numberfields/tests/test_subfield.py::test_to_number_field", "symp...
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27809:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27809:latest
sympy/sympy
sympy__sympy-27512
7f0b42c29807be66eb3bc181c818a431f211ffd4
diff --git a/sympy/assumptions/handlers/ntheory.py b/sympy/assumptions/handlers/ntheory.py index 38cedecd49..cfe63ba646 100644 --- a/sympy/assumptions/handlers/ntheory.py +++ b/sympy/assumptions/handlers/ntheory.py @@ -63,7 +63,14 @@ def _(expr, assumptions): return _PrimePredicate_number(expr, assumptions) ...
diff --git a/sympy/assumptions/tests/test_query.py b/sympy/assumptions/tests/test_query.py index 4bf385d857..f6da573b13 100644 --- a/sympy/assumptions/tests/test_query.py +++ b/sympy/assumptions/tests/test_query.py @@ -1790,7 +1790,21 @@ def test_prime(): assert ask(Q.prime(x**2), Q.integer(x)) is False ass...
ask(Q.prime(x ** y)) wrongly returns False when x and y are positive integers ```python >>>from sympy import Symbol, ask, Q >>>x = Symbol('x', positive=True, integer=True) >>>y = Symbol('y', positive=True, integer=True) >>>ask(Q.prime(x ** y)) False ``` ~~1 is a positive integer, so 1^1 is a counterexample.~~ 2^1 = 2 ...
sympy-bot: Hi, I am the [SymPy bot](https://github.com/sympy/sympy-bot). I'm here to help you write a release notes entry. Please read the [guide on how to write release notes](https://github.com/sympy/sympy/wiki/Writing-Release-Notes). :x: There was an issue with the release notes. **Please do not close this pull r...
2025-01-26 08:51:38
1.13
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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" ], "pre_install": [ "apt-get update", "apt-get install...
[ "sympy/assumptions/tests/test_query.py::test_prime", "sympy/stats/tests/test_discrete_rv.py::test_negative_binomial", "sympy/stats/tests/test_discrete_rv.py::test_moment_generating_functions" ]
[ "sympy/assumptions/tests/test_query.py::test_int_1", "sympy/assumptions/tests/test_query.py::test_int_11", "sympy/assumptions/tests/test_query.py::test_int_12", "sympy/assumptions/tests/test_query.py::test_float_1", "sympy/assumptions/tests/test_query.py::test_zero_0", "sympy/assumptions/tests/test_query....
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27512:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27512:latest
probabl-ai/skore
probabl-ai__skore-1229
c976c4ba555a599a17dcb48b3f3a44d9e6366583
diff --git a/skore/src/skore/sklearn/find_ml_task.py b/skore/src/skore/sklearn/find_ml_task.py index 7ba71f5..9941964 100644 --- a/skore/src/skore/sklearn/find_ml_task.py +++ b/skore/src/skore/sklearn/find_ml_task.py @@ -72,7 +72,7 @@ def _find_ml_task(y, estimator=None) -> MLTask: return "mult...
diff --git a/skore/tests/unit/sklearn/test_utils.py b/skore/tests/unit/sklearn/test_utils.py index 680b748..08675c0 100644 --- a/skore/tests/unit/sklearn/test_utils.py +++ b/skore/tests/unit/sklearn/test_utils.py @@ -28,7 +28,7 @@ from skore.sklearn.find_ml_task import _find_ml_task ( *make_multil...
refactor: Change output of `_find_ml_task` from "unsupported" to "unknown" As discussed with @glemaitre, "unsupported" makes it seem like skore is not usable in certain cases (e.g. using an EstimatorReport with a Keras model), whereas it just makes it more difficult for us to add extra information (e.g. in the Estimato...
github-actions[bot]: <!-- Pytest Coverage Comment: display-backend-coverage --> <a href="https://github.com/probabl-ai/skore/blob/6cd2fa036b1d296e8db92e6400a6164f2f2e31d6/README.md"><img alt="Coverage" src="https://img.shields.io/badge/Coverage-92%25-brightgreen.svg" /></a><details><summary>Coverage Report for backend ...
2025-01-27 10:46:39
0.6
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": "sed -i 's/requires-python = \">=3.9, <3.13\"/requires-python = \">=3.9, <3.14\"/' /testbed/skore/pyproject.toml && pip install -e '/testbed/skore[test]' --quiet", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd"...
[ "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_with_estimator[True-X3-y3-estimator3-unknown]", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_unfitted_estimator", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_without_estimator[target4-unknown]", "skore/tests/unit/sklearn/t...
[ "skore/tests/unit/utils/test_accessors.py::test_check_supported_ml_task", "skore/tests/unit/utils/test_accessors.py::test_register_accessor", "skore/tests/unit/sklearn/test_utils.py::test_find_ml_task_with_estimator[True-X0-y0-estimator0-binary-classification]", "skore/tests/unit/sklearn/test_utils.py::test_f...
035e4f65d914d492ac75c387c7b227fb1ed9e1c2
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1229:latest
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1229:latest
brightway-lca/brightway2-data
brightway-lca__brightway2-data-235
f9f36639f2637e4cb9f033d44e2acd7cf59fe026
diff --git a/bw2data/search/indices.py b/bw2data/search/indices.py index c59ad89..d8ccef8 100644 --- a/bw2data/search/indices.py +++ b/bw2data/search/indices.py @@ -13,7 +13,7 @@ class IndexManager: def __init__(self, database_path): self.path = os.path.join(projects.request_directory("search"), database_...
diff --git a/tests/search.py b/tests/search.py index c4c58e8..d9044e9 100644 --- a/tests/search.py +++ b/tests/search.py @@ -146,7 +146,7 @@ def test_modify_database(): @bw2test -def test_delete_database(): +def test_searchable_database(): db = SQLiteBackend("foo") ds = {("foo", "bar"): {"database": "foo...
`IndexManager` does not properly delete search database **Issue in short:** When you delete a searchable database and create one with the same name, you cannot properly create activities within it anymore. When you delete a database, the `IndexManager` deletes the accompanied search database by dropping the tables a...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/brightway-lca/brightway2-data/pull/235?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brightway-lca) Report All modified and coverable lines are covered by tests :white_check_mark: > Project ...
2025-01-28 10:42:58
4.4
{ "commit_name": "merge_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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "tests/search.py::test_delete_database" ]
[ "tests/search.py::test_reset_index", "tests/search.py::test_search_dataset", "tests/search.py::test_product_term", "tests/search.py::test_searchable_database", "tests/search.py::test_synonym_search", "tests/search.py::test_categories_term", "tests/search.py::test_delete_dataset", "tests/search.py::tes...
f9f36639f2637e4cb9f033d44e2acd7cf59fe026
swerebench/sweb.eval.x86_64.brightway-lca_1776_brightway2-data-235:latest
swerebench/sweb.eval.x86_64.brightway-lca_1776_brightway2-data-235:latest
fabfuel/circuitbreaker
fabfuel__circuitbreaker-67
646651337a3034062b2cf4889e2090c1ba19b61c
diff --git a/circuitbreaker.py b/circuitbreaker.py index ff15b48..2d317fb 100644 --- a/circuitbreaker.py +++ b/circuitbreaker.py @@ -281,7 +281,7 @@ class CircuitBreaker(object): return self._fallback_function def __str__(self, *args, **kwargs): - return self._name + return self.name or 'u...
diff --git a/tests/test_unit.py b/tests/test_unit.py index 37a51e7..ac99871 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -34,6 +34,11 @@ def test_circuitbreaker__str__(): assert str(cb) == 'Foobar' +def test_circuitbreaker_unnamed__str__(): + cb = CircuitBreaker() + assert str(cb) == 'unna...
Non obvious circuit breaker "name" property behavior If you don't pass a "name" argument you can end up with a TypeError: ```python cb = CircuitBreaker() str(cb) #TypeError: __str__ returned non-string (type NoneType) ``` Of course you have no problem if you first decorate something: ```python cb = CircuitBreaker()...
2025-03-29 18:33:43
2.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": [ "pytest", "pytest-asyncio", "pytest-mock", "pytest-cov" ], ...
[ "tests/test_unit.py::test_circuitbreaker_unnamed__str__" ]
[ "tests/test_unit.py::test_circuitbreaker__str__", "tests/test_unit.py::test_circuitbreaker_error__str__", "tests/test_unit.py::test_circuitbreaker_wrapper_matches_function_type[sync-function]", "tests/test_unit.py::test_circuitbreaker_wrapper_matches_function_type[sync-generator]", "tests/test_unit.py::test...
646651337a3034062b2cf4889e2090c1ba19b61c
swerebench/sweb.eval.x86_64.fabfuel_1776_circuitbreaker-67:latest
swerebench/sweb.eval.x86_64.fabfuel_1776_circuitbreaker-67:latest
ethereum/eth-account
ethereum__eth-account-317
22c9d54b07f948f191d0f9075441fac462c39984
diff --git a/eth_account/_utils/encode_typed_data/encoding_and_hashing.py b/eth_account/_utils/encode_typed_data/encoding_and_hashing.py index 832af0d..63703bb 100644 --- a/eth_account/_utils/encode_typed_data/encoding_and_hashing.py +++ b/eth_account/_utils/encode_typed_data/encoding_and_hashing.py @@ -87,7 +87,8 @@ d...
diff --git a/tests/core/test_encode_typed_data/test_encode_typed_data_internals.py b/tests/core/test_encode_typed_data/test_encode_typed_data_internals.py index c387b5b..26ca9e5 100644 --- a/tests/core/test_encode_typed_data/test_encode_typed_data_internals.py +++ b/tests/core/test_encode_typed_data/test_encode_typed_d...
Error prone parsing of `bool` in `encode_typed_data/encoding_and_hashing.py:encode_field` ### What happened? The `encode_data` method which is the underlying method for EIP712 encoding uses `encode_field` to encode its fields into the underlying python type. In the case of `bool` it just uses the python `bool` method ...
2025-03-21 21:25:08
0.13
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "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 -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y nodejs...
[ "tests/core/test_encode_typed_data/test_encode_typed_data_internals.py::test_encode_field_pass[string" ]
[ "tests/core/test_encode_typed_data/test_encode_typed_data_internals.py::test_get_primary_type_pass[primary_type", "tests/core/test_encode_typed_data/test_encode_typed_data_internals.py::test_get_primary_type_fail[primary_type", "tests/core/test_encode_typed_data/test_encode_typed_data_internals.py::test_get_pri...
22c9d54b07f948f191d0f9075441fac462c39984
swerebench/sweb.eval.x86_64.ethereum_1776_eth-account-317:latest
swerebench/sweb.eval.x86_64.ethereum_1776_eth-account-317:latest
Materials-Consortia/optimade-python-tools
Materials-Consortia__optimade-python-tools-2250
98cb352464082019f10b6c7b0659c53f6240fbbb
diff --git a/optimade/client/client.py b/optimade/client/client.py index 5f592aaa..d225773f 100644 --- a/optimade/client/client.py +++ b/optimade/client/client.py @@ -90,6 +90,12 @@ class OptimadeClient: max_attempts: int """The maximum number of times to repeat a failed query before giving up.""" + max_...
diff --git a/tests/server/test_client.py b/tests/server/test_client.py index 69d9b7bb..aa89db2b 100644 --- a/tests/server/test_client.py +++ b/tests/server/test_client.py @@ -599,3 +599,34 @@ async def test_raw_get_one_async(async_http_client): paginate=False, ) assert len(override[TEST_URL].data) ==...
Client can be forced into infinite loop by bad API responses Reported by @mehmetgiritli (and then addressed in #2248). Currently the `OptimadeClient` will happily visit an infinite loop of `next_url`s if provided by an API, even if no data is served. This is fixed in #2248 by halting operation if the page contains n...
2025-03-20 13:08:43
1.2
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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" ], "pre_install": [ "git submodule update --init" ], "...
[ "tests/server/test_client.py::test_guardrail_async", "tests/server/test_client.py::test_guardrail_sync" ]
[ "tests/server/test_client.py::test_client_endpoints[False]", "tests/server/test_client.py::test_client_endpoints[True]", "tests/server/test_client.py::test_filter_validation[True]", "tests/server/test_client.py::test_filter_validation[False]", "tests/server/test_client.py::test_client_response_fields[True]"...
e2732329cceb411983099fbf04fef09434848b3e
swerebench/sweb.eval.x86_64.materials-consortia_1776_optimade-python-tools-2250:latest
swerebench/sweb.eval.x86_64.materials-consortia_1776_optimade-python-tools-2250:latest
qBraid/pyqasm
qBraid__pyqasm-120
3405be900238678687aac7a2a2decc449358f431
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ab7268..cb71cd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,23 @@ Types of changes: ## Unreleased ### Added +- Added support for classical declarations with measurement ([#120](https://github.com/qBraid/pyqasm/pull/120)). Usage example - + +```python +In...
diff --git a/tests/qasm3/test_measurement.py b/tests/qasm3/test_measurement.py index 2872d5a..3c74502 100644 --- a/tests/qasm3/test_measurement.py +++ b/tests/qasm3/test_measurement.py @@ -128,6 +128,42 @@ def test_remove_measurement(): check_unrolled_qasm(dumps(module), expected_qasm) +def test_init_measure()...
[BUG] Measurement in declaration `bit[4] = measure q;` fails ### Environment - **PyQASM version**: 0.1.0 - **Python version**: 3.11.6 - **Operating system**: macOS 15.1.1 ### What happened? Unrolling the following program raises error - ```python In [1]: import pyqasm In [2]: s = """ ...: OPENQASM 3;...
TheGupta2012: @arulandu thanks for resolving this bug! Just added a comment to make the test more robust
2025-01-09 01:15:29
0.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 .[docs]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [], "python": "3.10", "reqs_pat...
[ "tests/qasm3/test_measurement.py::test_init_measure" ]
[ "tests/qasm3/test_measurement.py::test_measure", "tests/qasm3/test_measurement.py::test_has_measurements", "tests/qasm3/test_measurement.py::test_remove_measurement", "tests/qasm3/test_measurement.py::test_incorrect_measure" ]
76888435f7facdb56307e966435530d317cb1cc0
swerebench/sweb.eval.x86_64.qbraid_1776_pyqasm-120:latest
swerebench/sweb.eval.x86_64.qbraid_1776_pyqasm-120:latest
astropy/astropy
astropy__astropy-17705
f6bcea33cf16f3d5e06d860022b82b307d951565
diff --git a/astropy/io/fits/connect.py b/astropy/io/fits/connect.py index ae315c9d06..0f318ff699 100644 --- a/astropy/io/fits/connect.py +++ b/astropy/io/fits/connect.py @@ -435,7 +435,7 @@ def write_table_fits(input, output, overwrite=False, append=False): ---------- input : Table The table to writ...
diff --git a/astropy/io/fits/tests/test_connect.py b/astropy/io/fits/tests/test_connect.py index 05322fe837..c8b16a608f 100644 --- a/astropy/io/fits/tests/test_connect.py +++ b/astropy/io/fits/tests/test_connect.py @@ -1,6 +1,7 @@ import contextlib import gc import warnings +from io import BytesIO from pathlib impo...
Path handling in FITS broke benchmark code @neutrinoceros , I vaguely remember you did some Path support on this recently. Are you able to assist with debugging? Thanks! I see this when I apply `benchmark` label on a PR that did not touch FITS code (#17689). Example log: https://github.com/astropy/astropy/actions/runs...
github-actions[bot]: 👋 Thank you for your draft pull request! Do you know that you can use `[ci skip]` or `[skip ci]` in your commit messages to skip running continuous integration tests until you are ready? pllim: benchmark failing doesn't mean much because I think it still pulls in the broken code in `main` for rela...
2025-02-01 12:05:44
6.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 -q setuptools setuptools_scm cython numpy extension-helpers && pip install -q -e \".[test]\" && pip install -q \"numpy>=2.0.0,<2.2\" && sed -i '1248,1253s/^/# /' astropy/units/quantity_helper/function_helpers.py && rm -rf .hyp...
[ "astropy/io/fits/tests/test_connect.py::TestSingleTable::test_write_to_fileobj" ]
[ "astropy/io/fits/tests/test_connect.py::TestSingleTable::test_overwrite_with_path", "astropy/io/fits/tests/test_connect.py::TestSingleTable::test_simple", "astropy/io/fits/tests/test_connect.py::TestSingleTable::test_simple_pathlib", "astropy/io/fits/tests/test_connect.py::TestSingleTable::test_simple_meta", ...
1b20a941202a17c8f77f788b8a8c94f57a16b66e
swerebench/sweb.eval.x86_64.astropy_1776_astropy-17705:latest
swerebench/sweb.eval.x86_64.astropy_1776_astropy-17705:latest
gerlero/foamlib
gerlero__foamlib-315
3ca383de60c17cada3b91a5673d14b41096e470b
diff --git a/foamlib/_files/_files.py b/foamlib/_files/_files.py index ab4730a..80678b7 100644 --- a/foamlib/_files/_files.py +++ b/foamlib/_files/_files.py @@ -316,7 +316,7 @@ class FoamFile( + dumps(keywords[-1]) + b" " + dumps(data, kind=kind) - ...
diff --git a/tests/test_files/test_parsing.py b/tests/test_files/test_parsing.py index 6f1679c..140b899 100644 --- a/tests/test_files/test_parsing.py +++ b/tests/test_files/test_parsing.py @@ -98,3 +98,11 @@ def test_parse_value() -> None: ] assert Parsed(b"[]")[()] == FoamFile.DimensionSet() assert Pars...
Adding includeFunc in controlDict crashes FoamFile serialization I'm trying to add a FOAM includeFunction in the system/controlDict: ``` import foamlib controlDict = foamlib.FoamFile("./system/controlDict") controlDict["functions"]["#includeFunc"] = "funcName" ``` this crashes my Python script and throws a ...
2025-01-08 20:23:33
gerlero__foamlib-315
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install...
[ "tests/test_files/test_parsing.py::test_parse_directive" ]
[ "tests/test_files/test_parsing.py::test_parse_value" ]
9627c7272f1ce4e23e12578a683bbb56f309c7d3
swerebench/sweb.eval.x86_64.gerlero_1776_foamlib-315:latest
swerebench/sweb.eval.x86_64.gerlero_1776_foamlib-315:latest
sympy/sympy
sympy__sympy-27462
5f88b01afcd7d429ffb6e549f028b34be6b28ba0
diff --git a/.mailmap b/.mailmap index 5a0ac713f4..a14247066b 100644 --- a/.mailmap +++ b/.mailmap @@ -923,6 +923,7 @@ Louis Abraham <louis.abraham@yahoo.fr> louisabraham <louis.abraham@yahoo.fr> Luca Weihs <astronomicalcuriosity@gmail.com> Lucas Gallindo <lgallindo@gmail.com> Lucas Jones <lucas@lucasjones.co.uk> +L...
diff --git a/sympy/printing/tests/test_pycode.py b/sympy/printing/tests/test_pycode.py index 84ac7c1c87..932b703c28 100644 --- a/sympy/printing/tests/test_pycode.py +++ b/sympy/printing/tests/test_pycode.py @@ -1,3 +1,4 @@ +from sympy import Not from sympy.codegen import Assignment from sympy.codegen.ast import none ...
Lambdify fails to translate Not Consider the following code (SymPy 1.13.1, Python 3.11) ``` import sympy import inspect a = sympy.symbols('a') expr = sympy.Not(a) le = sympy.lambdify(a, expr) print(inspect.getsource(le)) print(le(True)) ``` When the default math library is used, this fails with the messag...
2025-01-08 23:30:52
1.13
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "numpy>=1.16.0", "pandas>=1.0.0" ], "pre_install": [ ...
[ "sympy/printing/tests/test_pycode.py::test_PythonCodePrinter" ]
[ "sympy/printing/tests/test_pycode.py::test_PythonCodePrinter_standard", "sympy/printing/tests/test_pycode.py::test_MpmathPrinter", "sympy/printing/tests/test_pycode.py::test_NumPyPrinter", "sympy/printing/tests/test_pycode.py::test_issue_18770", "sympy/printing/tests/test_pycode.py::test_SciPyPrinter", "s...
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27462:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27462:latest
zarr-developers/VirtualiZarr
zarr-developers__VirtualiZarr-410
9c3d0f90cc79fa20fe33833e244ae28a1ee91f17
diff --git a/virtualizarr/readers/hdf/hdf.py b/virtualizarr/readers/hdf/hdf.py index 9a0b69e..2b45cd9 100644 --- a/virtualizarr/readers/hdf/hdf.py +++ b/virtualizarr/readers/hdf/hdf.py @@ -371,6 +371,10 @@ class HDFVirtualBackend(VirtualBackend): group_name = "/" variables = {} + non_coor...
diff --git a/virtualizarr/tests/test_backend.py b/virtualizarr/tests/test_backend.py index e4157b7..f27cb0c 100644 --- a/virtualizarr/tests/test_backend.py +++ b/virtualizarr/tests/test_backend.py @@ -194,8 +194,6 @@ class TestDetermineCoords: + expected_2d_coords + expected_1d_non_dimension_c...
HDF reader creating spurious dimension coordinates This is what the output looks like for the kerchunk-based reader: ```python <xarray.Dataset> Size: 16B Dimensions: (dim_0: 2) Dimensions without coordinates: dim_0 Data variables: bar (dim_0) int64 16B ManifestArray<shape=(2,), dtype=int64...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/zarr-developers/VirtualiZarr/pull/410?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers) Report All modified and coverable lines are covered by tests :white_check_mark: > Project...
2025-01-31 17:04:33
1.2
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [ "ci/environment.yml" ], "install": "python -m pip install -e . --no-deps", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-cov", "...
[ "virtualizarr/tests/test_backend.py::TestDetermineCoords::test_var_attr_coords[HDFVirtualBackend]", "virtualizarr/tests/test_backend.py::TestOpenVirtualDatasetHDFGroup::test_open_subgroup[HDFVirtualBackend]", "virtualizarr/tests/test_backend.py::TestOpenVirtualDatasetHDFGroup::test_open_root_group[-HDFVirtualBa...
[ "virtualizarr/tests/test_backend.py::test_automatically_determine_filetype_netcdf3_netcdf4", "virtualizarr/tests/test_backend.py::test_valid_filetype_bytes[netcdf3-CDF]", "virtualizarr/tests/test_backend.py::test_valid_filetype_bytes[hdf5-\\x89HDF]", "virtualizarr/tests/test_backend.py::test_valid_filetype_by...
9c3d0f90cc79fa20fe33833e244ae28a1ee91f17
swerebench/sweb.eval.x86_64.zarr-developers_1776_virtualizarr-410:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_virtualizarr-410:latest
unionai-oss/pandera
unionai-oss__pandera-1898
a8321722ec7a097495a813df30bc6e29cfbc0bd5
diff --git a/pandera/api/pandas/types.py b/pandera/api/pandas/types.py index cdb23b5..2c66392 100644 --- a/pandera/api/pandas/types.py +++ b/pandera/api/pandas/types.py @@ -108,6 +108,7 @@ def get_backend_types(check_cls_fqn: str) -> BackendTypes: register_fn = { "pandas": register_pandas_backend, ...
diff --git a/tests/core/test_parsers.py b/tests/core/test_parsers.py index ac188f1..cbc3ad7 100644 --- a/tests/core/test_parsers.py +++ b/tests/core/test_parsers.py @@ -94,3 +94,22 @@ def test_parser_non_existing() -> None: ) with pytest.raises(pa.errors.SchemaInitError, match=err_msg): Schema.to_sch...
Parse function of pa.DataFrameModel is called twice **Describe the bug** Hello, It seems like the parse function is called twice for a specified column of given pandas dataframe. Please check sample code and sample output. - [x] I have checked that this issue has not already been reported. - [x] I have confirmed...
2025-01-22 01:57:50
0.22
{ "commit_name": "merge_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": [ "environment.yml" ], "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9...
[ "tests/core/test_parsers.py::test_parser_called_once" ]
[ "tests/core/test_parsers.py::test_dataframe_schema_parse", "tests/core/test_parsers.py::test_dataframe_schema_parse_with_element_wise", "tests/core/test_parsers.py::test_series_schema_parse_with_element_wise", "tests/core/test_parsers.py::test_parser_equality_operators", "tests/core/test_parsers.py::test_eq...
32b08fde3b5b1d9c34c62f360e8c7670b0554256
swerebench/sweb.eval.x86_64.unionai-oss_1776_pandera-1898:latest
swerebench/sweb.eval.x86_64.unionai-oss_1776_pandera-1898:latest
ASPP/pelita
ASPP__pelita-863
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
diff --git a/pelita/team.py b/pelita/team.py index a3ef1138..aea97327 100644 --- a/pelita/team.py +++ b/pelita/team.py @@ -726,6 +726,9 @@ class Bot: out.write(footer) return out.getvalue() + def __repr__(self): + return f'<Bot: {self.char} ({"blue" if self.is_blue else "red"}), {s...
diff --git a/test/test_team.py b/test/test_team.py index f6db4eb9..babe7ccc 100644 --- a/test/test_team.py +++ b/test/test_team.py @@ -695,3 +695,34 @@ def test_bot_html_repr(): # check that all is good assert state['fatal_errors'] == [[], []] + +def test_bot_repr(): + test_layout = """ + ########...
Better Bot repr For reference, this is the current `repr(bot)`: <pelita.team.Bot object at 0x102778b90> This is `str(bot)`: ``` Playing on red side. Current turn: 1. Bot: y. Round: 1, score: 0:0. timeouts: 0:0 ################################ #. . #. . . #.y# # # #### ### . # . .x# # ...
2025-03-13 17:07:06
2.5
{ "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": [ "pytest pytest-cov pytest-timestamper flit sphinx", "pytest" ], "pr...
[ "test/test_team.py::test_bot_repr" ]
[ "test/test_team.py::TestStoppingTeam::test_stopping", "test/test_team.py::test_track_and_kill_count", "test/test_team.py::test_eaten_flag_kill[0]", "test/test_team.py::test_eaten_flag_kill[1]", "test/test_team.py::test_eaten_flag_kill[2]", "test/test_team.py::test_eaten_flag_kill[3]", "test/test_team.py...
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
swerebench/sweb.eval.x86_64.aspp_1776_pelita-863:latest
swerebench/sweb.eval.x86_64.aspp_1776_pelita-863:latest
omni-us/jsonargparse
omni-us__jsonargparse-667
2a4454abfb15172029fba222a69bd3c86164181a
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 19c2a29..de173b2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -25,6 +25,8 @@ Fixed ^^^^^ - Incorrect instantiation order when instantiation targets share a parent (`#662 <https://github.com/omni-us/jsonargparse/pull/662>`__). +- Pydantic discriminated unions ha...
diff --git a/jsonargparse_tests/test_dataclass_like.py b/jsonargparse_tests/test_dataclass_like.py index 51a990a..1148f60 100644 --- a/jsonargparse_tests/test_dataclass_like.py +++ b/jsonargparse_tests/test_dataclass_like.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses import json -from typ...
Dot syntax not working correctly for pydantic 2 models <!-- If you like this project, please ⭐ star it https://github.com/omni-us/jsonargparse/ --> ## 🐛 Bug report <!-- A clear and concise description of the bug. --> ### To reproduce ```py from jsonargparse import CLI from pydantic import BaseModel, Fiel...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/omni-us/jsonargparse/pull/667?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=omni-us) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 100...
2025-02-03 06:32:06
4.36
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 -e .[dev]", "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": [], ...
[ "jsonargparse_tests/test_dataclass_like.py::TestPydantic::test_field_union_discriminator_dot_syntax" ]
[ "jsonargparse_tests/test_dataclass_like.py::test_add_class_arguments", "jsonargparse_tests/test_dataclass_like.py::test_add_dataclass_nested_defaults", "jsonargparse_tests/test_dataclass_like.py::test_add_class_with_dataclass_attributes", "jsonargparse_tests/test_dataclass_like.py::test_add_class_dataclass_ty...
2a4454abfb15172029fba222a69bd3c86164181a
swerebench/sweb.eval.x86_64.omni-us_1776_jsonargparse-667:latest
swerebench/sweb.eval.x86_64.omni-us_1776_jsonargparse-667:latest
deepset-ai/haystack
deepset-ai__haystack-8879
de3d0a23e816d54717a7542a9a1a1f2eb7a7eaec
diff --git a/haystack/components/generators/chat/openai.py b/haystack/components/generators/chat/openai.py index 23bf4672..1b872a0d 100644 --- a/haystack/components/generators/chat/openai.py +++ b/haystack/components/generators/chat/openai.py @@ -350,19 +350,24 @@ class OpenAIChatGenerator: tool_calls = [] ...
diff --git a/test/components/generators/chat/test_openai.py b/test/components/generators/chat/test_openai.py index f6ae59f5..9a5b2e83 100644 --- a/test/components/generators/chat/test_openai.py +++ b/test/components/generators/chat/test_openai.py @@ -492,6 +492,296 @@ class TestOpenAIChatGenerator: assert len(...
OpenAIChatGenerator - streaming + tools does not work properly **To Reproduce** Run [tutorial 40](https://haystack.deepset.ai/tutorials/40_building_chat_application_with_function_calling) **Describe the bug** Something is not working properly when using streaming + tools **Error message** See [nightly tests failing f...
sjrl: > I would also involve @vblagoje for a quick review. > > The change in #8829 was done to unify tools + streaming support for OpenAI + Mistral (`MistralChatGenerator` inherits from `OpenAIChatGenerator`). Could you check if `MistralChatGenerator` works with this change or we need to modify it? I checked and ...
2025-02-19 15:22:04
2.10
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files" ], "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "[", "test/components/generators/chat/test_openai.py::TestOpenAIChatGenerator::test_convert_streaming_chunks_to_chat_message_tool_calls_in_any_chunk" ]
[ "test/components/generators/chat/test_openai.py::TestOpenAIChatGenerator::test_init_default", "test/components/generators/chat/test_openai.py::TestOpenAIChatGenerator::test_init_fail_wo_api_key", "test/components/generators/chat/test_openai.py::TestOpenAIChatGenerator::test_init_fail_with_duplicate_tool_names",...
b77f2bad794d9dd225c9e04334f51a17510e6b10
swerebench/sweb.eval.x86_64.deepset-ai_1776_haystack-8879:latest
swerebench/sweb.eval.x86_64.deepset-ai_1776_haystack-8879:latest
pandas-dev/pandas
pandas-dev__pandas-60736
fef01c5c58a72dd58e20c776bc30b21924131303
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index fea269ac45..517ac7a4b4 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -804,6 +804,7 @@ Other - Bug in :meth:`Index.sort_values` when passing a key function that turns values into tuples, e.g. ``key=n...
diff --git a/pandas/tests/series/methods/test_isin.py b/pandas/tests/series/methods/test_isin.py index e997ae32cf..4f8484252b 100644 --- a/pandas/tests/series/methods/test_isin.py +++ b/pandas/tests/series/methods/test_isin.py @@ -211,6 +211,30 @@ def test_isin_large_series_mixed_dtypes_and_nan(monkeypatch): tm.as...
BUG: boolean series .isin([pd.NA])] inconsistent for series length ### 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. - [ ] I have confirmed this bu...
2025-01-19 23:08:58
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 meson-python meson cython numpy versioneer[toml] ninja && pip install -e . --no-build-isolation -Ceditable-verbose=true && pip install pytest hypothesis pytest-xdist", "log_parser": "parse_log_pytest", "no_use_env": false,...
[ "pandas/tests/series/methods/test_isin.py::test_isin_large_series_and_pdNA[boolean-data0-values0-expected0]", "pandas/tests/series/methods/test_isin.py::test_isin_large_series_and_pdNA[Int64-data1-values1-expected1]", "pandas/tests/series/methods/test_isin.py::test_isin_large_series_and_pdNA[boolean-data2-value...
[ "pandas/tests/series/methods/test_isin.py::TestSeriesIsIn::test_isin", "pandas/tests/series/methods/test_isin.py::TestSeriesIsIn::test_isin_with_string_scalar", "pandas/tests/series/methods/test_isin.py::TestSeriesIsIn::test_isin_datetimelike_mismatched_reso", "pandas/tests/series/methods/test_isin.py::TestSe...
543680dcd9af5e4a9443d54204ec21e801652252
swerebench/sweb.eval.x86_64.pandas-dev_1776_pandas-60736:latest
swerebench/sweb.eval.x86_64.pandas-dev_1776_pandas-60736:latest
simonw/files-to-prompt
simonw__files-to-prompt-44
fdca384b1ca8dcabd87bf81cd7a113279a21ada7
diff --git a/README.md b/README.md index eb336fe..d5e92fc 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,12 @@ This will output the contents of every file, with each file preceded by its rela ... ``` +- `-0/--null`: Use NUL character as separator when reading paths from stdin. Useful when filenames may c...
diff --git a/tests/test_files_to_prompt.py b/tests/test_files_to_prompt.py index 07dd53e..e133f54 100644 --- a/tests/test_files_to_prompt.py +++ b/tests/test_files_to_prompt.py @@ -322,3 +322,56 @@ def test_line_numbers(tmpdir): assert "2 Second line" in result.output assert "3 Third line" in result...
Feature request: support for files list via stdin Adding support for files list via stdin (one-per-line or print0-separated like most UNIX-like tools) would allow chaining with other tools like `find` (or [`fd`](https://github.com/sharkdp/fd)). Example usage: `fd --full-path 'some/path/.*\.md' --exclude='some-huge-fil...
thelastnode: You can run this without cloning using `uv`: `uvx --with git+https://github.com/thelastnode/files-to-prompt.git@as/add-stdin-support files-to-prompt` Chains very nicely after something like `llm cmd git command for file names changed in the last commit, NUL separated` Example to try for easy copy-pas...
2025-02-19 03:48:37
0.5
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 '.[test]'", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "click pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "...
[ "tests/test_files_to_prompt.py::test_reading_paths_from_stdin[test_dir1/file1.txt\\ntest_dir2/file2.txt-extra_args0]", "tests/test_files_to_prompt.py::test_reading_paths_from_stdin[test_dir1/file1.txt\\ntest_dir2/file2.txt-extra_args1]", "tests/test_files_to_prompt.py::test_reading_paths_from_stdin[test_dir1/fi...
[ "tests/test_files_to_prompt.py::test_basic_functionality", "tests/test_files_to_prompt.py::test_include_hidden", "tests/test_files_to_prompt.py::test_ignore_gitignore", "tests/test_files_to_prompt.py::test_multiple_paths", "tests/test_files_to_prompt.py::test_ignore_patterns", "tests/test_files_to_prompt....
fdca384b1ca8dcabd87bf81cd7a113279a21ada7
swerebench/sweb.eval.x86_64.simonw_1776_files-to-prompt-44:latest
swerebench/sweb.eval.x86_64.simonw_1776_files-to-prompt-44:latest
zarr-developers/zarr-python
zarr-developers__zarr-python-2668
bc5877be4f61895a29fd811882e188f84fa3f8f2
diff --git a/src/zarr/core/group.py b/src/zarr/core/group.py index 82970e4b..79ab3111 100644 --- a/src/zarr/core/group.py +++ b/src/zarr/core/group.py @@ -2729,6 +2729,8 @@ class Group(SyncMixin): Whether to overwrite an array with the same name in the store, if one exists. config : ArrayConfig or...
diff --git a/tests/test_group.py b/tests/test_group.py index c2a5f751..1d3563fe 100644 --- a/tests/test_group.py +++ b/tests/test_group.py @@ -619,8 +619,7 @@ def test_group_create_array( array[:] = data elif method == "array": with pytest.warns(DeprecationWarning): - array = group.arr...
`Group.array` method ignores `data` argument ### Zarr version 3.0.0b3.dev73+g91385283 ### Numcodecs version 0.14.0 ### Python Version 3.11 ### Operating System Mac ### Installation editable install from main into a conda env ### Description The `data` argument to `Group.array` is ignored: https://github.com...
2025-01-07 15:54:44
3.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference" ], "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": "pytest", "pip_packages": [ "coverage", "pytest", "pytest-cov", "msgpack", "lmdb", "s3fs", ...
[ "tests/test_group.py::test_group_create_array[local-zarr2-True-array]", "tests/test_group.py::test_group_create_array[local-zarr2-False-array]", "tests/test_group.py::test_group_create_array[local-zarr3-True-array]", "tests/test_group.py::test_group_create_array[local-zarr3-False-array]", "tests/test_group....
[ "tests/test_group.py::test_group_init[local-zarr2]", "tests/test_group.py::test_group_init[local-zarr3]", "tests/test_group.py::test_group_init[memory-zarr2]", "tests/test_group.py::test_group_init[memory-zarr3]", "tests/test_group.py::test_group_init[zip-zarr2]", "tests/test_group.py::test_group_init[zip...
fae8fb907d5d1afb7fb479d2d9a514ff321c5ed5
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2668:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2668:latest
pgmpy/pgmpy
pgmpy__pgmpy-1905
4b1743dfefcc2b749517df68887ec783f009e5e7
diff --git a/pgmpy/sampling/base.py b/pgmpy/sampling/base.py index c5fe81aa..9d7a23b9 100644 --- a/pgmpy/sampling/base.py +++ b/pgmpy/sampling/base.py @@ -65,7 +65,7 @@ class BayesianModelInference(Inference): return cached_values @staticmethod - def _reduce_marg(variable_cpd, variable_evid, reduce_i...
diff --git a/pgmpy/tests/test_sampling/test_Sampling.py b/pgmpy/tests/test_sampling/test_Sampling.py index e0229623..4f2757e4 100644 --- a/pgmpy/tests/test_sampling/test_Sampling.py +++ b/pgmpy/tests/test_sampling/test_Sampling.py @@ -633,3 +633,27 @@ class TestGibbsSampling(unittest.TestCase): samples = [samp...
Incorrect sampling when the state names of a variable overlap with the state numbers ### Subject of the issue The short explanation is to take a look at https://github.com/pgmpy/pgmpy/blob/f303886ff5b0979e13ca665dab8f476a1a49758c/pgmpy/sampling/Sampling.py#L316 and https://github.com/pgmpy/pgmpy/blob/f303886ff5b0979e1...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/pgmpy/pgmpy/pull/1905?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pgmpy) Report Attention: Patch coverage is `54.16667%` with `11 lines` in your changes missing coverage. Please review. > ...
2025-01-26 14:51:37
0.1
{ "commit_name": "merge_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 .[all]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ...
[ "pgmpy/tests/test_sampling/test_Sampling.py::TestBayesianModelSamplingWithIntegerStateName::test_rejection_sample" ]
[ "pgmpy/tests/test_sampling/test_Sampling.py::TestBayesianModelSampling::test_forward_sample", "pgmpy/tests/test_sampling/test_Sampling.py::TestBayesianModelSampling::test_init", "pgmpy/tests/test_sampling/test_Sampling.py::TestBayesianModelSampling::test_likelihood_weighted_sample", "pgmpy/tests/test_sampling...
b56e6923be0020f2e89587aaa22ad37d2a5b3c55
swerebench/sweb.eval.x86_64.pgmpy_1776_pgmpy-1905:latest
swerebench/sweb.eval.x86_64.pgmpy_1776_pgmpy-1905:latest
kedro-org/kedro
kedro-org__kedro-4570
f1f49e51bd6cfce827f9090fc3d10096d6edab9c
diff --git a/kedro/pipeline/pipeline.py b/kedro/pipeline/pipeline.py index b434bae4..b4e2c6fa 100644 --- a/kedro/pipeline/pipeline.py +++ b/kedro/pipeline/pipeline.py @@ -371,15 +371,17 @@ class Pipeline: @property def grouped_nodes_by_namespace(self) -> dict[str, dict[str, Any]]: - """Return a dicti...
diff --git a/tests/pipeline/test_pipeline.py b/tests/pipeline/test_pipeline.py index 1315e759..848d33cf 100644 --- a/tests/pipeline/test_pipeline.py +++ b/tests/pipeline/test_pipeline.py @@ -452,6 +452,21 @@ class TestValidPipeline: names = [node.name for node in value["nodes"]] assert set(nam...
Update node grouping API to only work with top level namespace ## Description re #4427 Currently the node grouping API i.e. `pipeline.grouped_nodes_by_namespace` treats nested namespaces as individual namespaces. They should be grouped on top level namespace groups only.
ElenaKhaustova: > Not sure why the code coverage is failing for python 3.9 ![Screenshot 2025-03-17 at 10 06 26](https://github.com/user-attachments/assets/313dcf11-1b19-4479-b20f-8cb49e457e47) I think that's because of odd continue
2025-03-13 09:57:45
0.19
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ...
[ "tests/pipeline/test_pipeline.py::TestValidPipeline::test_node_grouping_by_namespace_nested" ]
[ "tests/pipeline/test_pipeline.py::test_deprecation", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_no_transcode_part", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_with_transcode", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_too_many_parts", ...
6696353417c0435a227a9bd5cb3f353ed2758e1d
swerebench/sweb.eval.x86_64.kedro-org_1776_kedro-4570:latest
swerebench/sweb.eval.x86_64.kedro-org_1776_kedro-4570:latest
carsdotcom/skelebot
carsdotcom__skelebot-280
9532b09fb914e0d62c2221464518990c9afebf25
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dfe89a..7a4077c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,15 @@ Documenting All Changes to the Skelebot Project --- +## v2.1.1 +#### Added +- **Package Component** | Updated `package` component to delete destination path if it already exists before arch...
diff --git a/test/test_components_package.py b/test/test_components_package.py index 9f33c4a..ed04729 100644 --- a/test/test_components_package.py +++ b/test/test_components_package.py @@ -35,6 +35,23 @@ class TestPlugin(unittest.TestCase): mock_call.assert_called_once_with("zip -r test.zip .", shell=True) ...
`skelebot package` appends if archive already exists ### Problem When using `skelebot package`, if the target `path` already exists skelebot will add/append to it instead of re-creating the file. This is because of how `zip`, the underlying command used by skelebot for this command, works. This can lead to unexpected ...
codecov-commenter: ## [Codecov](https://app.codecov.io/gh/carsdotcom/skelebot/pull/280?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=carsdotcom) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage...
2025-01-24 20:04:19
2.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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" ], "pre_install": [ "apt-get update", "apt-get install...
[ "test/test_components_package.py::TestPlugin::test_execute_existing" ]
[ "test/test_components_package.py::TestPlugin::test_addParsers", "test/test_components_package.py::TestPlugin::test_execute", "test/test_components_package.py::TestPlugin::test_execute_ignores", "test/test_components_package.py::TestPlugin::test_invalid", "test/test_components_package.py::TestPlugin::test_va...
b7370fbee256c63153db97cb5d83b9c25e33ef8a
swerebench/sweb.eval.x86_64.carsdotcom_1776_skelebot-280:latest
swerebench/sweb.eval.x86_64.carsdotcom_1776_skelebot-280:latest
sympy/sympy
sympy__sympy-27559
b382c9ddae745d6fd9846c4e0f58e6804ea53372
diff --git a/sympy/stats/drv_types.py b/sympy/stats/drv_types.py index 8f8b0cffcc..84920d31c0 100644 --- a/sympy/stats/drv_types.py +++ b/sympy/stats/drv_types.py @@ -451,19 +451,19 @@ def pdf(self, k): r = self.r p = self.p - return binomial(k + r - 1, k) * (1 - p)**r * p**k + return ...
diff --git a/sympy/stats/tests/test_discrete_rv.py b/sympy/stats/tests/test_discrete_rv.py index 0517f1f0c2..39650a1a08 100644 --- a/sympy/stats/tests/test_discrete_rv.py +++ b/sympy/stats/tests/test_discrete_rv.py @@ -131,10 +131,10 @@ def test_negative_binomial(): r = 5 p = S.One / 3 x = NegativeBinomi...
`stats.NegativeBinomial`'s parameter p should designate success, not failure By both wikipedia and Wolfram mathworld, references given in the documentation page of `stats.NegativeBinomial(name, r, p)`, the `p` designates the probability of __success__. But in the current implementation and documentation, `p` seems to b...
2025-02-06 15:57:57
1.13
{ "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": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install...
[ "sympy/stats/tests/test_discrete_rv.py::test_negative_binomial", "sympy/stats/tests/test_discrete_rv.py::test_moment_generating_functions" ]
[ "sympy/stats/tests/test_discrete_rv.py::test_PoissonDistribution", "sympy/stats/tests/test_discrete_rv.py::test_FlorySchulz", "sympy/stats/tests/test_discrete_rv.py::test_Hermite", "sympy/stats/tests/test_discrete_rv.py::test_Logarithmic", "sympy/stats/tests/test_discrete_rv.py::test_skellam", "sympy/stat...
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27559:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27559:latest
zarr-developers/zarr-python
zarr-developers__zarr-python-2709
168999ceff099799da9ead7c12f38aa9378a831f
diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 2e573282..ecd41351 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -13,6 +13,8 @@ Bug fixes * Fixes a bug that prevented reading Zarr format 2 data with consolidated metadata written using ``zarr-python`` version 2 (:issue:`2694`)...
diff --git a/tests/test_group.py b/tests/test_group.py index 788e81e6..14405460 100644 --- a/tests/test_group.py +++ b/tests/test_group.py @@ -9,7 +9,7 @@ from typing import TYPE_CHECKING, Any, Literal import numpy as np import pytest -from numcodecs import Zstd +from numcodecs import Blosc import zarr import z...
In V2, creating an array with compressor=None assumes Zstd ### Zarr version 3.0.1.dev9+g168999ce ### Numcodecs version - ### Python Version 3.12 ### Operating System linux ### Installation manual from source ### Description In zarr V2, creating an array would assume the default compression (blosc); to get un...
martindurant: @dstansby , added release note
2025-01-14 16:32:44
3.0
{ "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 .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.11", "reqs_path": [], ...
[ "tests/test_group.py::test_group_child_iterators[local-zarr2-True]", "tests/test_group.py::test_group_child_iterators[memory-zarr2-True]", "tests/test_group.py::test_group_child_iterators[zip-zarr2-True]", "tests/test_metadata/test_consolidated.py::TestConsolidated::test_consolidated_metadata_v2", "tests/te...
[ "tests/test_group.py::test_group_init[local-zarr2]", "tests/test_group.py::test_group_init[local-zarr3]", "tests/test_group.py::test_group_init[memory-zarr2]", "tests/test_group.py::test_group_init[memory-zarr3]", "tests/test_group.py::test_group_init[zip-zarr2]", "tests/test_group.py::test_group_init[zip...
fae8fb907d5d1afb7fb479d2d9a514ff321c5ed5
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2709:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2709:latest
ipython/ipython
ipython__ipython-14695
b8220b5b975e3f4e19d078033aa1e68da28e2c9b
diff --git a/IPython/core/magics/script.py b/IPython/core/magics/script.py index 8abc22efe..3bfc4d8d6 100644 --- a/IPython/core/magics/script.py +++ b/IPython/core/magics/script.py @@ -220,7 +220,7 @@ def in_thread(coro): async def _readchunk(stream): try: - return await stream.re...
diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py index a107da0c6..4e167007c 100644 --- a/IPython/core/tests/test_magic.py +++ b/IPython/core/tests/test_magic.py @@ -12,6 +12,8 @@ from importlib import invalidate_caches from io import StringIO from pathlib import Path +from time import...
Jupyter shebang cells won't show partially written lines When a shebang cell (i.e., %%sh, %%bash, etc.) in a Jupyter notebook writes/flushes output, the output doesn't show up until the script ends or a newline is written. This hurts the usability of programs that indicate progress by writing periodically on the same l...
2025-01-29 16:02:08
8.31
{ "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 .[test]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-asyncio" ], "pre_install": [], "python": "...
[ "IPython/core/tests/test_magic.py::test_script_streams_continiously" ]
[ "IPython/core/tests/test_magic.py::IPython.core.tests.test_magic.doctest_hist_f", "IPython/core/tests/test_magic.py::IPython.core.tests.test_magic.doctest_hist_op", "IPython/core/tests/test_magic.py::IPython.core.tests.test_magic.doctest_precision", "IPython/core/tests/test_magic.py::IPython.core.tests.test_m...
b8220b5b975e3f4e19d078033aa1e68da28e2c9b
swerebench/sweb.eval.x86_64.ipython_1776_ipython-14695:latest
swerebench/sweb.eval.x86_64.ipython_1776_ipython-14695:latest
DS4SD/docling
DS4SD__docling-824
6875913e34abacb8d71b5d31543adbf7b5bd5e92
diff --git a/docling/backend/md_backend.py b/docling/backend/md_backend.py index 8171085..0a08398 100644 --- a/docling/backend/md_backend.py +++ b/docling/backend/md_backend.py @@ -65,7 +65,7 @@ class MarkdownDocumentBackend(DeclarativeDocumentBackend): self.in_table = False self.md_table_buffer: li...
diff --git a/tests/data/groundtruth/docling_v2/duck.md.md b/tests/data/groundtruth/docling_v2/duck.md.md new file mode 100644 index 0000000..2a8d1ef --- /dev/null +++ b/tests/data/groundtruth/docling_v2/duck.md.md @@ -0,0 +1,52 @@ +Summer activities + +# Swimming in the lake + +Duck + +Figure 1: This is a cute duckling...
Bug: Docling misinterprets linebreaks in markdown input as paragraph breaks ### Bug When feeding a markdown with line-wrapped content (ie a text editor or human user has wrapped all lines at 72, 80, or some number of characters), Docling is misinterpreting this single linebreak between lines as separate paragraphs in t...
mergify[bot]: # Merge Protections Your pull request matches the following merge protections and will not be merged until they are valid. ## 🔴 Require two reviewer for test updates <details open><summary>This rule is failing.</summary> When test data is updated, we require two reviewers - [ ] `#approved-reviews-by ...
2025-01-28 14:06:08
2.16
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "tests/test_backend_markdown.py::test_convert_valid" ]
[ "tests/test_backend_msword.py::test_heading_levels" ]
6875913e34abacb8d71b5d31543adbf7b5bd5e92
swerebench/sweb.eval.x86_64.ds4sd_1776_docling-824:latest
swerebench/sweb.eval.x86_64.ds4sd_1776_docling-824:latest
pymc-devs/pymc
pymc-devs__pymc-7658
0db176c9d7773fac5d682d9c75f0fd7cb9459ec1
diff --git a/pymc/pytensorf.py b/pymc/pytensorf.py index 1f390b177..eda206482 100644 --- a/pymc/pytensorf.py +++ b/pymc/pytensorf.py @@ -855,35 +855,44 @@ def collect_default_updates( # Root case, RNG is not used elsewhere if not rng_clients: - return rng + return None ...
diff --git a/tests/test_pytensorf.py b/tests/test_pytensorf.py index 0ea18dabe..c434f1a9c 100644 --- a/tests/test_pytensorf.py +++ b/tests/test_pytensorf.py @@ -619,6 +619,20 @@ class TestCompilePyMC: fn = compile([], x, random_seed=1) assert not (set(fn()) & set(fn())) + def test_unused_ofg_rng(...
`collect_default_updates` should ignore unused rng inputs to OpFromGraph ### Description Consider the following graph: ```py import pytensor import pytensor.tensor.random as ptr import pytensor.tensor as pt from pytensor.compile import shared from pytensor.compile.builders import OpFromGraph import numpy as np impor...
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/pymc-devs/pymc/pull/7658?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs) Report Attention: Patch coverage is `95.23810%` with `1 line` in your changes missing coverage. Please revie...
2025-01-25 12:37:36
5.20
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [ "conda-envs/environment-dev.yml" ], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": true, "old_test_cmd": "", "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": [], "pyth...
[ "tests/test_pytensorf.py::TestCompilePyMC::test_unused_ofg_rng" ]
[ "tests/test_pytensorf.py::test_pd_dataframe_as_tensor_variable[np_array0]", "tests/test_pytensorf.py::test_pd_dataframe_as_tensor_variable[np_array1]", "tests/test_pytensorf.py::test_pd_dataframe_as_tensor_variable[np_array2]", "tests/test_pytensorf.py::test_pd_series_as_tensor_variable[np_array0]", "tests/...
d7d2be275caa43570ba28e667d9f2a1186e743e4
swerebench/sweb.eval.x86_64.pymc-devs_1776_pymc-7658:latest
swerebench/sweb.eval.x86_64.pymc-devs_1776_pymc-7658:latest
noppanut15/depthviz
noppanut15__depthviz-55
2ff0116c167d4870d86781d2291770595100f7bc
diff --git a/README.md b/README.md index 6bea6ab..7724b27 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,11 @@ depthviz -i <input_file> -s <source> -o <output_video.mp4> * `-o`, `--output <output_video.mp4>`: Path or filename for the generated video with the depth overlay. The output file format must be `.mp4`. ...
diff --git a/tests/test_core.py b/tests/test_core.py index 7bb420b..4f186aa 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -364,3 +364,32 @@ class TestDepthReportVideoCreator: _ = DepthReportVideoCreator(fps=1, font=file_path) assert f"{expected_error_prefix}{file_path}" in str(e.va...
Feature Request: Background color options **Is your feature request related to a problem? Please describe.** A user wants to adjust the background color. A user reported that some VDO editing software (i.e., Adobe PR) cannot pick up a black color for chroma keying. **Describe the solution you'd like** Add an option to...
2025-01-21 12:48:05
0.5
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_invalid_bg_color[#00000]", "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_invalid_bg_color[blackk]", "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_...
[ "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video", "tests/test_core.py::TestDepthReportVideoCreator::test_save_specific_dir", "tests/test_core.py::TestDepthReportVideoCreator::test_save_current_dir", "tests/test_core.py::TestDepthReportVideoCreator::test_save_to_nonexistent_pat...
72142b5ae07bacecdc50fd32fcc7f2db06855ecf
swerebench/sweb.eval.x86_64.noppanut15_1776_depthviz-55:latest
swerebench/sweb.eval.x86_64.noppanut15_1776_depthviz-55:latest
dag-hammarskjold-library/dlx
dag-hammarskjold-library__dlx-512
117817f3321b71ef5061a84aaf99877f514ecb1c
diff --git a/dlx/marc/query.py b/dlx/marc/query.py index 47abc1b..b3cf408 100644 --- a/dlx/marc/query.py +++ b/dlx/marc/query.py @@ -109,9 +109,7 @@ class Query(): '''Returns: dlx.query.Condition''' # fully qualified syntax - match = re.match(r'(\d{3})(.)(.)([a-z0-9]):...
diff --git a/tests/test_marc.py b/tests/test_marc.py index 519bbc4..6df7723 100644 --- a/tests/test_marc.py +++ b/tests/test_marc.py @@ -367,6 +367,10 @@ def test_querystring(db): query = Query.from_string('650:\'Header\'') results = list(BibSet.from_query(query.compile())) assert len(results) == 2 + + ...
Regex in querystrings not properly matching beginning of strings The following regex in querystrings does not return the proper results: `520:/corn/`. Whereas this search does: `520:/.*corn/`. These should both return the same results. Adresses https://github.com/dag-hammarskjold-library/dlx-rest/issues/1643
2025-03-03 18:49:04
1.4
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y g...
[ "tests/test_marc.py::test_querystring" ]
[ "tests/test_marc.py::test_init_marc", "tests/test_marc.py::test_init_bib", "tests/test_marc.py::test_init_auth", "tests/test_marc.py::test_init_auth_check", "tests/test_marc.py::test_commit", "tests/test_marc.py::test_delete", "tests/test_marc.py::test_from_id", "tests/test_marc.py::test_querydocument...
aef49b3814de5d0bed103e5642fa3d8ab0ba96ed
swerebench/sweb.eval.x86_64.dag-hammarskjold-library_1776_dlx-512:latest
swerebench/sweb.eval.x86_64.dag-hammarskjold-library_1776_dlx-512:latest
noppanut15/depthviz
noppanut15__depthviz-56
f24b3f7adea7a66417c43b7b38c5abf581a8bc93
diff --git a/README.md b/README.md index 7724b27..ab93fad 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,10 @@ depthviz -i <input_file> -s <source> -o <output_video.mp4> **Optional Arguments:** * `-d`, `--decimal-places <0-2>`: Number of decimal places to display in the depth overlay. Valid values are `0`, `1`, ...
diff --git a/tests/test_core.py b/tests/test_core.py index 4f186aa..5fbf4f2 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -393,3 +393,30 @@ class TestDepthReportVideoCreator: _ = DepthReportVideoCreator(fps=1, bg_color=bg_color) assert "Invalid background color: " in str(e.value) +...
Feature Request: Stroke width options **Is your feature request related to a problem? Please describe.** A user wants to adjust the width of the stroke. (text border) **Describe the solution you'd like** Add an option to specify the width of text stroke. (e.g., `--stroke-width <int>`) **Describe alternatives you've c...
2025-01-21 13:41:51
0.5
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_invalid_stroke_width[-1]", "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_invalid_stroke_width[]", "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video_with_in...
[ "tests/test_core.py::TestDepthReportVideoCreator::test_render_depth_report_video", "tests/test_core.py::TestDepthReportVideoCreator::test_save_specific_dir", "tests/test_core.py::TestDepthReportVideoCreator::test_save_current_dir", "tests/test_core.py::TestDepthReportVideoCreator::test_save_to_nonexistent_pat...
72142b5ae07bacecdc50fd32fcc7f2db06855ecf
swerebench/sweb.eval.x86_64.noppanut15_1776_depthviz-56:latest
swerebench/sweb.eval.x86_64.noppanut15_1776_depthviz-56:latest
modelcontextprotocol/python-sdk
modelcontextprotocol__python-sdk-222
2628e01f4b892b9c59f3bdd2abbad718c121c87a
diff --git a/src/mcp/server/fastmcp/server.py b/src/mcp/server/fastmcp/server.py index e08a161..122aceb 100644 --- a/src/mcp/server/fastmcp/server.py +++ b/src/mcp/server/fastmcp/server.py @@ -3,7 +3,7 @@ import inspect import json import re -from collections.abc import AsyncIterator +from collections.abc import Asy...
diff --git a/tests/issues/test_141_resource_templates.py b/tests/issues/test_141_resource_templates.py index d6526e9..3c17cd5 100644 --- a/tests/issues/test_141_resource_templates.py +++ b/tests/issues/test_141_resource_templates.py @@ -51,8 +51,10 @@ async def test_resource_template_edge_cases(): # Verify valid...
Returning multiple Resource and Tool results from FastMCP and Lowlevel We currently do not support returning multiple values from resources and tools despite the spec explicitly allowing for it.
2025-02-20 14:18:45
1.3
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "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 .[cli,dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.10", "reqs_path": [], "test...
[ "tests/issues/test_141_resource_templates.py::test_resource_template_edge_cases", "tests/issues/test_152_resource_mime_type.py::test_lowlevel_resource_mime_type", "tests/server/fastmcp/servers/test_file_server.py::test_read_resource_dir", "tests/server/fastmcp/servers/test_file_server.py::test_read_resource_f...
[ "tests/issues/test_141_resource_templates.py::test_resource_template_client_interaction", "tests/issues/test_152_resource_mime_type.py::test_fastmcp_resource_mime_type", "tests/server/fastmcp/servers/test_file_server.py::test_list_resources", "tests/server/fastmcp/servers/test_file_server.py::test_delete_file...
689c54c5915dda3ba484e55a59c126cb46dfc739
swerebench/sweb.eval.x86_64.modelcontextprotocol_1776_python-sdk-222:latest
swerebench/sweb.eval.x86_64.modelcontextprotocol_1776_python-sdk-222:latest
twisted/towncrier
twisted__towncrier-687
cd0d2df75d3fe8d6d8795a52e7fd115c43cf6f0c
diff --git a/docs/configuration.rst b/docs/configuration.rst index 771b3b1..6022cd9 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -17,9 +17,8 @@ A minimal configuration for a Python project looks like this: .. code-block:: toml # pyproject.toml - - [tool.towncrier] - package = "myprojec...
diff --git a/src/towncrier/test/test_settings.py b/src/towncrier/test/test_settings.py index 1455408..f46db2b 100644 --- a/src/towncrier/test/test_settings.py +++ b/src/towncrier/test/test_settings.py @@ -3,6 +3,8 @@ import os +from textwrap import dedent + from click.testing import CliRunner from twisted.trial....
Default `name` should refer to pyproject.toml.project.name This applies to the `pyproject.toml` integration. The `tool.towncrier.package` field defaults to `""`. However, when towncrier is defined in a `pyproject.toml` file, wouldn't it make sense it if picked up the `project.name` field? Seems redundant to double an...
2025-02-20 08:59:00
24.8
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks", "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 .[dev]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd"...
[ "src/towncrier/test/test_settings.py::TomlSettingsTests::test_pyproject_assert_fallback", "src/towncrier/test/test_settings.py::TomlSettingsTests::test_pyproject_only_pyproject_toml" ]
[ "src/towncrier/test/test_settings.py::TomlSettingsTests::test_base", "src/towncrier/test/test_settings.py::TomlSettingsTests::test_custom_types_as_tables", "src/towncrier/test/test_settings.py::TomlSettingsTests::test_custom_types_as_tables_array_deprecated", "src/towncrier/test/test_settings.py::TomlSettings...
cd0d2df75d3fe8d6d8795a52e7fd115c43cf6f0c
swerebench/sweb.eval.x86_64.twisted_1776_towncrier-687:latest
swerebench/sweb.eval.x86_64.twisted_1776_towncrier-687:latest
Toloka/crowd-kit
Toloka__crowd-kit-128
a90bdca30aeb1974adb3dd3230a45975f5df45fb
diff --git a/crowdkit/aggregation/classification/dawid_skene.py b/crowdkit/aggregation/classification/dawid_skene.py index 65bca6b..07fe1f5 100644 --- a/crowdkit/aggregation/classification/dawid_skene.py +++ b/crowdkit/aggregation/classification/dawid_skene.py @@ -578,3 +578,31 @@ class OneCoinDawidSkene(DawidSkene): ...
diff --git a/tests/aggregation/test_ds_aggregation.py b/tests/aggregation/test_ds_aggregation.py index 8fac92d..3e447d0 100644 --- a/tests/aggregation/test_ds_aggregation.py +++ b/tests/aggregation/test_ds_aggregation.py @@ -404,6 +404,16 @@ def test_aggregate_hds_on_toy_ysda( toy_ground_truth_df.sort_index(),...
[BUG] `OneCoinDawidSkene` is broken after vesion `1.4.0`. ### Observed behavior In crowd-kit 1.4.0 and later, the following error occurs when running `fit_predict()` on `OneCoinDawidSkene`. Code (Same as the example in docs): ``` from crowdkit.aggregation import OneCoinDawidSkene from crowdkit.datasets import l...
2025-01-12 02:35:14
1.4
{ "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 .", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio", "pytest-mock", "pytest-xdist" ...
[ "tests/aggregation/test_ds_aggregation.py::test_aggregate_hds_on_toy_ysda[10-0]", "tests/aggregation/test_ds_aggregation.py::test_aggregate_hds_on_toy_ysda[100500-1e-05]", "tests/aggregation/test_ds_aggregation.py::test_aggregate_hds_on_simple[10-0]", "tests/aggregation/test_ds_aggregation.py::test_aggregate_...
[ "tests/aggregation/test_ds_aggregation.py::TestWorkerInitError::test_without_initial_error_on_toy_ysda[10-0-addition]", "tests/aggregation/test_ds_aggregation.py::TestWorkerInitError::test_without_initial_error_on_toy_ysda[10-0-assign]", "tests/aggregation/test_ds_aggregation.py::TestWorkerInitError::test_witho...
a90bdca30aeb1974adb3dd3230a45975f5df45fb
swerebench/sweb.eval.x86_64.toloka_1776_crowd-kit-128:latest
swerebench/sweb.eval.x86_64.toloka_1776_crowd-kit-128:latest
icloud-photos-downloader/icloud_photos_downloader
icloud-photos-downloader__icloud_photos_downloader-1060
337ea77aefb5c1189681a2971c037caeeec43f51
diff --git a/src/icloudpd/xmp_sidecar.py b/src/icloudpd/xmp_sidecar.py index e2e7e78..60dd745 100644 --- a/src/icloudpd/xmp_sidecar.py +++ b/src/icloudpd/xmp_sidecar.py @@ -160,7 +160,7 @@ def build_metadata(asset_record: dict[str, Any]) -> XMPMetadata: ): rating = -1 # -1 means rejected: https://www.ipt...
diff --git a/tests/test_xmp_sidecar.py b/tests/test_xmp_sidecar.py index 32b9c04..b662552 100644 --- a/tests/test_xmp_sidecar.py +++ b/tests/test_xmp_sidecar.py @@ -81,6 +81,11 @@ class BuildXMPMetadata(TestCase): metadata = build_metadata(assetRecordStub) assert metadata.Rating == 5 + # Test...
Crash accessing `isFavorite` for --xmp-sidecar ## Overview Note: the version I'm using is latest master at the time of writing, 337ea77aefb5c1189681a2971c037caeeec43f51 I have a couple `jpg` images in my library which I imported from a proper camera (a sony a6000). With `--xmp-sidecar`, I get the following error: `...
2025-01-18 05:00:10
1.26
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_git_commit_hash" ], "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": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asynci...
[ "tests/test_xmp_sidecar.py::BuildXMPMetadata::test_build_metadata" ]
[]
337ea77aefb5c1189681a2971c037caeeec43f51
swerebench/sweb.eval.x86_64.icloud-photos-downloader_1776_icloud_photos_downloader-1060:latest
swerebench/sweb.eval.x86_64.icloud-photos-downloader_1776_icloud_photos_downloader-1060:latest
streamlink/streamlink
streamlink__streamlink-6420
638ea0dffad99cb2c28a64888bb2f528a3e4f31c
diff --git a/src/streamlink/plugins/nos.py b/src/streamlink/plugins/nos.py index 12e7942d..46473831 100644 --- a/src/streamlink/plugins/nos.py +++ b/src/streamlink/plugins/nos.py @@ -19,7 +19,7 @@ log = logging.getLogger(__name__) @pluginmatcher( - re.compile(r"https?://(?:\w+\.)?nos\.nl/(?:live|video|collectie...
diff --git a/tests/plugins/test_nos.py b/tests/plugins/test_nos.py index 5b1ceb44..57cdbe69 100644 --- a/tests/plugins/test_nos.py +++ b/tests/plugins/test_nos.py @@ -7,12 +7,17 @@ class TestPluginCanHandleUrlNOS(PluginCanHandleUrl): should_match = [ "https://nos.nl/live", - "https://nos.nl/colle...
plugins.nos: No plugin can handle URL | Unable to validate response text ### Checklist - [x] This is a [plugin issue](https://streamlink.github.io/plugins.html) and not [a different kind of issue](https://github.com/streamlink/streamlink/issues/new/choose) - [x] [I have read the contribution guidelines](https://github...
2025-02-02 23:10:13
7.1
{ "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-trio", "requests-mock", "fr...
[ "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_url_matches_positive_unnamed[https://nos.nl/l/2490788]", "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_url_matches_negative[https://nos.nl/livestream]", "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_url_matches_negative[http...
[ "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_class_setup", "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_class_name", "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_all_matchers_match[#0]", "tests/plugins/test_nos.py::TestPluginCanHandleUrlNOS::test_url_matches_positi...
178d0dbde6167b0f1a83c9faabf1bf33ba0087d8
swerebench/sweb.eval.x86_64.streamlink_1776_streamlink-6420:latest
swerebench/sweb.eval.x86_64.streamlink_1776_streamlink-6420:latest
scott-huberty/eyelinkio
scott-huberty__eyelinkio-22
1d57c07e5e186b8219be6586d09b16ac6397c43c
diff --git a/src/eyelinkio/edf/read.py b/src/eyelinkio/edf/read.py index 7744abb..fd8712f 100644 --- a/src/eyelinkio/edf/read.py +++ b/src/eyelinkio/edf/read.py @@ -151,6 +151,8 @@ _ets2pp = dict( BUTTONEVENT="buttons", INPUTEVENT="inputs", MESSAGEEVENT="messages", + STARTEVENTS="starts", + ENDEVEN...
diff --git a/src/eyelinkio/tests/test_edf.py b/src/eyelinkio/tests/test_edf.py index 0d66072..60b6682 100644 --- a/src/eyelinkio/tests/test_edf.py +++ b/src/eyelinkio/tests/test_edf.py @@ -25,6 +25,10 @@ def test_read_raw(): # XXX: ideally we should get a binocular file with a calibration asse...
Read (and store) START and END events EyeLink trackers will stop recording samples: 1) **during calibration sequences** and oftentimes 2) **Between trials**. This usually occurs for folks whose experiments are driven by SR's "Experiment builder". The UI of that program allows (encourages?) for recording to o...
scott-huberty: @teonbrooks would you be available to provide a review?
2025-02-05 21:17:46
0.3
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-timeout", "ruff", "numpydoc", "co...
[ "src/eyelinkio/tests/test_edf.py::test_read_raw" ]
[ "src/eyelinkio/tests/test_edf.py::test_to_pandas", "src/eyelinkio/tests/test_edf.py::test_to_mne", "src/eyelinkio/tests/test_edf.py::test_edfapi_not_installed" ]
aabcf1868a95371a5dea816c70629f2d727093ff
swerebench/sweb.eval.x86_64.scott-huberty_1776_eyelinkio-22:latest
swerebench/sweb.eval.x86_64.scott-huberty_1776_eyelinkio-22:latest
sympy/sympy
sympy__sympy-27510
f07466ae38d6f7985c4e9eec2c7dfff43fec3cf7
diff --git a/sympy/printing/precedence.py b/sympy/printing/precedence.py index 563a04b349..d22d5746ae 100644 --- a/sympy/printing/precedence.py +++ b/sympy/printing/precedence.py @@ -59,6 +59,11 @@ def precedence_Mul(item): + from sympy.core.function import Function + if any(hasattr(arg, 'precedence') and is...
diff --git a/sympy/printing/tests/test_precedence.py b/sympy/printing/tests/test_precedence.py index 372a5b0356..d08ea07483 100644 --- a/sympy/printing/tests/test_precedence.py +++ b/sympy/printing/tests/test_precedence.py @@ -1,6 +1,6 @@ from sympy.concrete.products import Product from sympy.concrete.summations impo...
Printing multiplication by negative number with custom (infix) function not correctly parenthesized. I am trying to define a custom function with lower precedence than multiplication. However, whenever there is a negative number involved, the parentheses are not there anymore. ----- **Custom function:** ```pytho...
2025-01-25 09:17:03
1.13
{ "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": [ "pytest", "hypothesis" ], "pre_install": [], "python": "3.9", "...
[ "sympy/printing/tests/test_precedence.py::test_custom_function_precedence_comparison" ]
[ "sympy/printing/tests/test_precedence.py::test_Add", "sympy/printing/tests/test_precedence.py::test_Function", "sympy/printing/tests/test_precedence.py::test_Derivative", "sympy/printing/tests/test_precedence.py::test_Integral", "sympy/printing/tests/test_precedence.py::test_Mul", "sympy/printing/tests/te...
490c6d0f7df7b02a70e04c0ed4ead899cd430e70
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27510:latest
swerebench/sweb.eval.x86_64.sympy_1776_sympy-27510:latest
lmfit/lmfit-py
lmfit__lmfit-py-989
8cece2f3f68e1c96f86649b4af2f26cda9e849a8
diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst index 87e5a5b3..6f500512 100644 --- a/doc/whatsnew.rst +++ b/doc/whatsnew.rst @@ -11,6 +11,15 @@ significant to the use and behavior of the library. This is not meant to be a comprehensive list of changes. For such a complete record, consult the `lmfit GitHub repositor...
diff --git a/tests/test_model_saveload.py b/tests/test_model_saveload.py index 727ff686..6aa9cea8 100644 --- a/tests/test_model_saveload.py +++ b/tests/test_model_saveload.py @@ -13,7 +13,7 @@ from lmfit.lineshapes import gaussian, lorentzian from lmfit.model import (Model, ModelResult, load_model, load_modelresult, ...
Loading a saved SplineModel fit result using `load_modelresult` does not work for more than 6 knots lmfit 1.3.2 scipy 1.12.0 numpy 1.26.4 asteval 1.0.5 Windows 10 Python 3.10.4 Code run in a jupyter notebook using DataSpell I would like to save the results of a fit using `SplineModel` for later use. I used the functio...
2025-01-28 09:52:50
1.3
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "flaky" ], "pre_install": [ "apt-ge...
[ "tests/test_model_saveload.py::test_saveload_modelresult_spline_model" ]
[ "tests/test_model_saveload.py::test_save_load_model", "tests/test_model_saveload.py::test_save_load_modelresult", "tests/test_model_saveload.py::test_load_legacy_modelresult", "tests/test_model_saveload.py::test_saveload_modelresult_attributes", "tests/test_model_saveload.py::test_saveload_modelresult_excep...
8cece2f3f68e1c96f86649b4af2f26cda9e849a8
swerebench/sweb.eval.x86_64.lmfit_1776_lmfit-py-989:latest
swerebench/sweb.eval.x86_64.lmfit_1776_lmfit-py-989:latest
IAMconsortium/nomenclature
IAMconsortium__nomenclature-460
c62da7f6bf68628a386f6145f1d8d55a1deed844
diff --git a/docs/user_guide/config.rst b/docs/user_guide/config.rst index 57f3db8..65ef063 100644 --- a/docs/user_guide/config.rst +++ b/docs/user_guide/config.rst @@ -152,3 +152,25 @@ validation: - region - variable - scenario + + +Filter model mappings from external repositories +---------------------...
diff --git a/tests/data/config/filter_mappings.yaml b/tests/data/config/filter_mappings.yaml new file mode 100644 index 0000000..90a95fb --- /dev/null +++ b/tests/data/config/filter_mappings.yaml @@ -0,0 +1,9 @@ +repositories: + common-definitions: + url: https://github.com/IAMconsortium/common-definitions.git/ + ...
Allow filtering of model mappings from external repositories Example: ```yaml ... mappings: repository: name: common-definitions include: - MESSAGEix-GLOBIOM-GAINS 2.1-M-R12 ```
phackstock: > Two nitpicky suggestions inline, but good to be merged from my side That's why we do the reviews :smile:
2025-01-15 16:50:06
0.22
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "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", "pytest" ], "pre_inst...
[ "tests/test_region_aggregation.py::test_mapping_from_external_repository" ]
[ "tests/test_config.py::test_hash_and_release_raises", "tests/test_config.py::test_setting_local_path_raises", "tests/test_config.py::test_unknown_repo_raises", "tests/test_config.py::test_multiple_definition_repos", "tests/test_config.py::test_multiple_mapping_repos", "tests/test_config.py::test_double_st...
fc26782ad0faaa8220b009b25c782ab496376d85
swerebench/sweb.eval.x86_64.iamconsortium_1776_nomenclature-460:latest
swerebench/sweb.eval.x86_64.iamconsortium_1776_nomenclature-460:latest
zarr-developers/zarr-python
zarr-developers__zarr-python-2638
584d66dd4c2c8ccb5788aa6f9a27bfa76e3166bd
diff --git a/src/zarr/core/group.py b/src/zarr/core/group.py index 7a0d2efc..5cb42db5 100644 --- a/src/zarr/core/group.py +++ b/src/zarr/core/group.py @@ -1165,7 +1165,16 @@ class AsyncGroup: .. deprecated:: 3.0.0 The h5py compatibility methods will be removed in 3.1.0. Use `AsyncGroup.create_arra...
diff --git a/tests/test_group.py b/tests/test_group.py index a4ce04e8..19a9f9c9 100644 --- a/tests/test_group.py +++ b/tests/test_group.py @@ -1137,6 +1137,18 @@ async def test_require_groups(store: LocalStore | MemoryStore, zarr_format: Zarr assert no_group == () +def test_create_dataset_with_data(store: Stor...
Group.create_dataset does not match 2.x API ### Zarr version 3.0.0rc2.dev1+gc070940e ### Numcodecs version 0.14.1 ### Python Version 3.11.11 ### Operating System macOS 15.1.1 ### Installation editable install from main into a conda env ### Description #2463 broke the signature of `Group.create_dataset`, beca...
2025-01-04 00:13:53
3.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_git_commit_hash" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e .[test,jupyter,gpu,docs]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio" ], "...
[ "tests/test_group.py::test_create_dataset_with_data[local-zarr2]", "tests/test_group.py::test_create_dataset_with_data[local-zarr3]", "tests/test_group.py::test_create_dataset_with_data[memory-zarr2]", "tests/test_group.py::test_create_dataset_with_data[memory-zarr3]", "tests/test_group.py::test_create_data...
[ "tests/test_group.py::test_group_init[local-zarr2]", "tests/test_group.py::test_group_init[local-zarr3]", "tests/test_group.py::test_group_init[memory-zarr2]", "tests/test_group.py::test_group_init[memory-zarr3]", "tests/test_group.py::test_group_init[zip-zarr2]", "tests/test_group.py::test_group_init[zip...
fae8fb907d5d1afb7fb479d2d9a514ff321c5ed5
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2638:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2638:latest
astropy/astroquery
astropy__astroquery-3275
f3f44261e811f690690eed8c2073d0a91e9eca81
diff --git a/CHANGES.rst b/CHANGES.rst index ae094673..113b7793 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,8 @@ heasarc ^^^^^^^ - Add support for astropy.table.Row in Heasarc.download_data and Heasarc.locate_data. [#3270] +- Heasarc.locate_data returns empty rows with an error in the error_message colu...
diff --git a/astroquery/heasarc/tests/test_heasarc.py b/astroquery/heasarc/tests/test_heasarc.py index fc096b96..a2f51b5c 100644 --- a/astroquery/heasarc/tests/test_heasarc.py +++ b/astroquery/heasarc/tests/test_heasarc.py @@ -365,6 +365,28 @@ def test_download_data__table_row(): assert os.path.exists(f'{downl...
`astroquery.heasarc.locate_data` doesn't returns links for some rows when retrieving the data from `nicermaster` catalog it return the table same as returned by Heasarc browse interface. But some of files dont have download link(checked from browse interface) retrieving these files from `astroquery.heasarc.locate_da...
2025-03-26 16:32:21
0.4
{ "commit_name": "head_commit", "failed_lite_validators": [ "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 'setuptools<80' && pip install -e \".[test]\" --no-build-isolation --quiet", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "pyth...
[ "astroquery/heasarc/tests/test_heasarc.py::test_download_data__exclude_rows_with_errors" ]
[ "astroquery/heasarc/tests/test_heasarc.py::test_query_region_cone[True-radius0-182d38m08.64s", "astroquery/heasarc/tests/test_heasarc.py::test_query_region_cone[True-radius0-coordinates1]", "astroquery/heasarc/tests/test_heasarc.py::test_query_region_cone[True-0d2m0s-182d38m08.64s", "astroquery/heasarc/tests/...
f3f44261e811f690690eed8c2073d0a91e9eca81
swerebench/sweb.eval.x86_64.astropy_1776_astroquery-3275:latest
swerebench/sweb.eval.x86_64.astropy_1776_astroquery-3275:latest
beeware/briefcase
beeware__briefcase-2114
8acc982527cefbffae5bbc46c9b1221a2b66c723
diff --git a/changes/2114.feature.rst b/changes/2114.feature.rst new file mode 100644 index 00000000..1b633c16 --- /dev/null +++ b/changes/2114.feature.rst @@ -0,0 +1,1 @@ +Project bootstraps now have access to the Briefcase logger, console, and the overrides specified with ``-Q`` options at the command line. diff --gi...
diff --git a/tests/commands/new/test_build_context.py b/tests/commands/new/test_build_context.py index 7e56bf56..e0786b71 100644 --- a/tests/commands/new/test_build_context.py +++ b/tests/commands/new/test_build_context.py @@ -34,7 +34,7 @@ def test_question_sequence_bootstrap_context( class GuiBootstrap: ...
Create new project with Positron template (Django or Static) ### What is the problem or limitation you are having? Right now creating the Positron app is very hands-on, need to start with the Toga template and then paste the example ### Describe the solution you'd like Adding options when calling `briefcase new` to ...
freakboy3742: We don't really *have* a formal published API for anything in Briefcase at the moment, mostly because *most* users aren't interacting with Briefcase as an API. We probably *should* formalize an API... but that's a much bigger fish to fry. In the meantime, "try not to break things" is about as good as we'r...
2025-01-17 01:30:07
0.3
{ "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": 3 }
{ "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": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asynci...
[ "tests/commands/new/test_build_context.py::test_question_sequence_bootstrap_context", "tests/commands/new/test_build_context.py::test_question_sequence_with_overrides", "tests/commands/new/test_build_context.py::test_question_sequence_with_bad_license_override", "tests/commands/new/test_build_context.py::test...
[ "tests/commands/new/test_build_context.py::test_question_sequence_toga", "tests/commands/new/test_build_context.py::test_question_sequence_console", "tests/commands/new/test_build_context.py::test_question_sequence_pyside6", "tests/commands/new/test_build_context.py::test_question_sequence_pygame", "tests/c...
9944626e7798b38b5529975db1eb49952a007f9d
swerebench/sweb.eval.x86_64.beeware_1776_briefcase-2114:latest
swerebench/sweb.eval.x86_64.beeware_1776_briefcase-2114:latest
probabl-ai/skore
probabl-ai__skore-1287
ceb3a8027b147199a45447639194774ef676227b
diff --git a/skore/src/skore/sklearn/_cross_validation/report.py b/skore/src/skore/sklearn/_cross_validation/report.py index c1b0f52..d0405da 100644 --- a/skore/src/skore/sklearn/_cross_validation/report.py +++ b/skore/src/skore/sklearn/_cross_validation/report.py @@ -2,6 +2,7 @@ import time import joblib import nu...
diff --git a/skore/tests/unit/sklearn/test_cross_validation.py b/skore/tests/unit/sklearn/test_cross_validation.py index ad845db..ced36f5 100644 --- a/skore/tests/unit/sklearn/test_cross_validation.py +++ b/skore/tests/unit/sklearn/test_cross_validation.py @@ -4,7 +4,7 @@ import joblib import numpy as np import panda...
feat: For long ML tasks, make intermediate saves ### Is your feature request related to a problem? Please describe. As a data scientist, I might launch some long ML tasks on a server that is bad and I might loose all my results if the server crashes. Got this issue from 2 user interviews. ### Describe the solution yo...
2025-02-04 16:32:54
0.6
{ "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": "sed -i 's/requires-python = \">=3.9, <3.13\"/requires-python = \">=3.9, <3.14\"/' /testbed/skore/pyproject.toml && sed -i 's/\"--ignore=notebooks\",/\"--ignore=notebooks\",\n \"--ignore=hatch\",/' /testbed/skore/pyproject.toml && pip ins...
[ "skore/tests/unit/sklearn/test_cross_validation.py::test_cross_validation_report_cache_predictions[1-binary_classification_data-8]", "skore/tests/unit/sklearn/test_cross_validation.py::test_cross_validation_report_cache_predictions[2-multiclass_classification_data-10]", "skore/tests/unit/sklearn/test_cross_vali...
[ "skore/tests/unit/sklearn/test_cross_validation.py::test_cross_validation_report_report_metrics_invalid_metric_type", "skore/tests/unit/sklearn/test_cross_validation.py::test_cross_validation_report_metrics_multiclass_classification[accuracy-1]", "skore/tests/unit/sklearn/test_cross_validation.py::test_cross_va...
035e4f65d914d492ac75c387c7b227fb1ed9e1c2
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1287:latest
swerebench/sweb.eval.x86_64.probabl-ai_1776_skore-1287:latest
zarr-developers/zarr-python
zarr-developers__zarr-python-2817
feeb08f4e49f6574d712fe5ceb42ce80ab6ceb3f
diff --git a/changes/2817.bugfix.rst b/changes/2817.bugfix.rst new file mode 100644 index 00000000..b1c0fa92 --- /dev/null +++ b/changes/2817.bugfix.rst @@ -0,0 +1,1 @@ +Fix fancy indexing (e.g. arr[5, [0, 1]]) with the sharding codec \ No newline at end of file diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codec...
diff --git a/tests/test_array.py b/tests/test_array.py index 6aaf1072..48381295 100644 --- a/tests/test_array.py +++ b/tests/test_array.py @@ -1429,3 +1429,18 @@ def test_multiprocessing(store: Store, method: Literal["fork", "spawn", "forkser results = pool.starmap(_index_array, [(arr, slice(len(data)))]) a...
Outer indexing when using sharding ### Zarr version 3.0.2 ### Numcodecs version 0.15.0 ### Python Version 3.12 ### Operating System Linux ### Installation pip ### Description When indexing into a sharded array using an array or list I get the following error. This only happens when using a sharded array ``...
d-v-b: thanks, this looks great. For posterity, could you explain what the bug was exactly? I don't actually remember offhand what fancy indexing is, so the logic of the fix isn't immediately obvious to me. LDeakin: > thanks, this looks great. For posterity, could you explain what the bug was exactly? I don't actually ...
2025-02-11 21:13:20
3.0
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "docker_specs": null, "env_vars": null, "env_yml_path": [], "install": "pip install -e \".[test]\" --quiet", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "", "pip_packages": [], "pre_install": [], "python": "3.11", "reqs_path": [], "test_cmd": "pytes...
[ "tests/test_array.py::test_sharding_coordinate_selection" ]
[ "tests/test_array.py::test_array_creation_existing_node[array-True-2-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-2-memory]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-memory...
fae8fb907d5d1afb7fb479d2d9a514ff321c5ed5
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2817:latest
swerebench/sweb.eval.x86_64.zarr-developers_1776_zarr-python-2817:latest
PyPSA/linopy
PyPSA__linopy-412
9b80b320a3961f3696de0b8aa249ab10026746bf
diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 787c633..0a42d6b 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -5,6 +5,7 @@ Upcoming Version ---------------- * The internal handling of `Solution` objects was improved for more consistency. Solution objects created from solver cal...
diff --git a/test/test_linear_expression.py b/test/test_linear_expression.py index 0de9c3c..017d165 100644 --- a/test/test_linear_expression.py +++ b/test/test_linear_expression.py @@ -246,9 +246,14 @@ def test_linear_expression_with_constant(m, x, y): def test_linear_expression_with_constant_multiplication(m, x, y)...
Multiplication by constant to introduce a new dimension ### Version Checks (indicate both or one) - [x] I have confirmed this bug exists on the lastest [release](https://github.com/pypsa/linopy/releases) of Linopy. - [x] I have confirmed this bug exists on the current [`master`](https://github.com/pypsa/linopy/tree/m...
FabianHofmann: @coroa feel free to merge whenever you want
2025-02-04 17:26:18
0.4
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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 .[dev,solvers]", "log_parser": "parse_log_pytest", "no_use_env": false, "old_test_cmd": "", "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get...
[ "test/test_linear_expression.py::test_linear_expression_with_constant_multiplication" ]
[ "test/test_linear_expression.py::test_empty_linexpr", "test/test_linear_expression.py::test_linexpr_with_wrong_data", "test/test_linear_expression.py::test_linexpr_with_helper_dims_as_coords", "test/test_linear_expression.py::test_linexpr_with_data_without_coords", "test/test_linear_expression.py::test_line...
9b80b320a3961f3696de0b8aa249ab10026746bf
swerebench/sweb.eval.x86_64.pypsa_1776_linopy-412:latest
swerebench/sweb.eval.x86_64.pypsa_1776_linopy-412:latest