diff --git a/graph.fabro b/graph.fabro new file mode 100644 index 000000000..ff6222bec --- /dev/null +++ b/graph.fabro @@ -0,0 +1,9 @@ +digraph SWEBench { + rankdir=LR + start [shape=Mdiamond] + exit [shape=Msquare] + setup [label="Setup", shape=parallelogram, script="git clone https://github.com/astropy/astropy.git . && git checkout d16bfe05a744909de4b27f5875fe0d4ed41ce607 && sed -i 's/requires = \\[\"setuptools\",/requires = \\[\"setuptools==68.0.0\",/' pyproject.toml && python -m pip install -e .[test] --verbose"] + solve [label="Solve", prompt="Fix this GitHub issue in the repository. Make the minimal code change needed."] + extract_patch [label="Extract Patch", shape=parallelogram, script="git diff"] + start -> setup -> solve -> extract_patch -> exit +} diff --git a/manifest.json b/manifest.json new file mode 100644 index 000000000..ecd7406fe --- /dev/null +++ b/manifest.json @@ -0,0 +1,13 @@ +{ + "run_id": "01KKV8D5GSGKS4B48NJAMDYHVF", + "workflow_name": "SWEBench", + "goal": "Modeling's `separability_matrix` does not compute separability correctly for nested CompoundModels\nConsider the following model:\r\n\r\n```python\r\nfrom astropy.modeling import models as m\r\nfrom astropy.modeling.separable import separability_matrix\r\n\r\ncm = m.Linear1D(10) & m.Linear1D(5)\r\n```\r\n\r\nIt's separability matrix as you might expect is a diagonal:\r\n\r\n```python\r\n>>> separability_matrix(cm)\r\narray([[ True, False],\r\n [False, True]])\r\n```\r\n\r\nIf I make the model more complex:\r\n```python\r\n>>> separability_matrix(m.Pix2Sky_TAN() & m.Linear1D(10) & m.Linear1D(5))\r\narray([[ True, True, False, False],\r\n [ True, True, False, False],\r\n [False, False, True, False],\r\n [False, False, False, True]])\r\n```\r\n\r\nThe output matrix is again, as expected, the outputs and inputs to the linear models are separable and independent of each other.\r\n\r\nIf however, I nest these compound models:\r\n```python\r\n>>> separability_matrix(m.Pix2Sky_TAN() & cm)\r\narray([[ True, True, False, False],\r\n [ True, True, False, False],\r\n [False, False, True, True],\r\n [False, False, True, True]])\r\n```\r\nSuddenly the inputs and outputs are no longer separable?\r\n\r\nThis feels like a bug to me, but I might be missing something?\n", + "start_time": "2026-03-16T12:02:27.504046Z", + "node_count": 5, + "edge_count": 4, + "run_branch": "fabro/run/01KKV8D5GSGKS4B48NJAMDYHVF", + "base_sha": "470fcfe1200b2102c0cdf91c73b0ed8d925f258a", + "base_branch": "main", + "workflow_slug": "astropy__astropy-12907", + "host_repo_path": "/Users/bhelmkamp/p/fabro-sh/fabro/evals/swe-bench/results/gpt54-baseline/runs/astropy__astropy-12907" +} \ No newline at end of file diff --git a/sandbox.json b/sandbox.json new file mode 100644 index 000000000..18dfc3df8 --- /dev/null +++ b/sandbox.json @@ -0,0 +1,5 @@ +{ + "provider": "daytona", + "working_directory": "/home/daytona/workspace", + "identifier": "fabro-01KKV8D5GSGKS4B48NJAMDYHVF" +} \ No newline at end of file