Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
1 value
instance_id
stringclasses
1 value
base_commit
stringclasses
1 value
patch
stringclasses
1 value
test_patch
stringclasses
1 value
problem_statement
stringclasses
1 value
hints_text
stringclasses
1 value
created_at
stringclasses
1 value
version
stringclasses
1 value
FAIL_TO_PASS
stringclasses
1 value
PASS_TO_PASS
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
parsed_commit
stringclasses
1 value
run_tests
stringclasses
1 value
docker_image
stringclasses
1 value
astropy/astropy
astropy__astropy-12907
d16bfe05a744909de4b27f5875fe0d4ed41ce607
diff --git a/astropy/modeling/separable.py b/astropy/modeling/separable.py --- a/astropy/modeling/separable.py +++ b/astropy/modeling/separable.py @@ -242,7 +242,7 @@ def _cstack(left, right): cright = _coord_matrix(right, 'right', noutp) else: cright = np.zeros((noutp, right.shape[1])) - ...
diff --git a/astropy/modeling/tests/test_separable.py b/astropy/modeling/tests/test_separable.py --- a/astropy/modeling/tests/test_separable.py +++ b/astropy/modeling/tests/test_separable.py @@ -28,6 +28,13 @@ p1 = models.Polynomial1D(1, name='p1') +cm_4d_expected = (np.array([False, False, True, True]), + ...
Modeling's `separability_matrix` does not compute separability correctly for nested CompoundModels Consider the following model: ```python from astropy.modeling import models as m from astropy.modeling.separable import separability_matrix cm = m.Linear1D(10) & m.Linear1D(5) ``` It's separability matrix as y...
2022-03-03T15:14:54Z
4.3
["astropy/modeling/tests/test_separable.py::test_separable[compound_model6-result6]", "astropy/modeling/tests/test_separable.py::test_separable[compound_model9-result9]"]
["astropy/modeling/tests/test_separable.py::test_coord_matrix", "astropy/modeling/tests/test_separable.py::test_cdot", "astropy/modeling/tests/test_separable.py::test_cstack", "astropy/modeling/tests/test_separable.py::test_arith_oper", "astropy/modeling/tests/test_separable.py::test_separable[compound_model0-result0]"...
298ccb478e6bf092953bca67a3d29dc6c35f6752
{ "file_diffs": [ { "old_file_content": "# Licensed under a 3-clause BSD style license - see LICENSE.rst\n\n\"\"\"\nFunctions to determine if a model is separable, i.e.\nif the model outputs are independent.\n\nIt analyzes ``n_inputs``, ``n_outputs`` and the operators\nin a compound model by ste...
#!/bin/bash set -uxo pipefail source /opt/miniconda3/bin/activate conda activate testbed cd /testbed git config --global --add safe.directory /testbed cd /testbed git status git show git diff d16bfe05a744909de4b27f5875fe0d4ed41ce607 source /opt/miniconda3/bin/activate conda activate testbed python -m pip install -e .[t...
swebench-verified-sweb.eval.x86-64.astropy-astropy-12907:r2e777
README.md exists but content is empty.
Downloads last month
9