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 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 79