⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
Fabro 2026-03-16 07:58:07 -04:00
parent f4d0cb7406
commit ca2d07b26a
3 changed files with 27 additions and 0 deletions

9
graph.fabro Normal file
View file

@ -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 a5917978be39d13cd90b517e1de4e7a539ffaa48 && 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
}

13
manifest.json Normal file
View file

@ -0,0 +1,13 @@
{
"run_id": "01KKV857HVVYX8Z5MRDPYTFTA4",
"workflow_name": "SWEBench",
"goal": "Please support header rows in RestructuredText output\n### Description\r\n\r\nIt would be great if the following would work:\r\n\r\n```Python\r\n>>> from astropy.table import QTable\r\n>>> import astropy.units as u\r\n>>> import sys\r\n>>> tbl = QTable({'wave': [350,950]*u.nm, 'response': [0.7, 1.2]*u.count})\r\n>>> tbl.write(sys.stdout, format=\"ascii.rst\")\r\n===== ========\r\n wave response\r\n===== ========\r\n350.0 0.7\r\n950.0 1.2\r\n===== ========\r\n>>> tbl.write(sys.stdout, format=\"ascii.fixed_width\", header_rows=[\"name\", \"unit\"])\r\n| wave | response |\r\n| nm | ct |\r\n| 350.0 | 0.7 |\r\n| 950.0 | 1.2 |\r\n>>> tbl.write(sys.stdout, format=\"ascii.rst\", header_rows=[\"name\", \"unit\"])\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/usr/lib/python3/dist-packages/astropy/table/connect.py\", line 129, in __call__\r\n self.registry.write(instance, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/astropy/io/registry/core.py\", line 369, in write\r\n return writer(data, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/astropy/io/ascii/connect.py\", line 26, in io_write\r\n return write(table, filename, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/astropy/io/ascii/ui.py\", line 856, in write\r\n writer = get_writer(Writer=Writer, fast_writer=fast_writer, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/astropy/io/ascii/ui.py\", line 800, in get_writer\r\n writer = core._get_writer(Writer, fast_writer, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/astropy/io/ascii/core.py\", line 1719, in _get_writer\r\n writer = Writer(**writer_kwargs)\r\nTypeError: RST.__init__() got an unexpected keyword argument 'header_rows'\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nRestructuredText output is a great way to fill autogenerated documentation with content, so having this flexible makes the life easier `:-)`\r\n\r\n\n",
"start_time": "2026-03-16T11:58:07.811771Z",
"node_count": 5,
"edge_count": 4,
"run_branch": "fabro/run/01KKV857HVVYX8Z5MRDPYTFTA4",
"base_sha": "470fcfe1200b2102c0cdf91c73b0ed8d925f258a",
"base_branch": "main",
"workflow_slug": "astropy__astropy-14182",
"host_repo_path": "/Users/bhelmkamp/p/fabro-sh/fabro/evals/swe-bench/results/opus-baseline/runs/astropy__astropy-14182"
}

5
sandbox.json Normal file
View file

@ -0,0 +1,5 @@
{
"provider": "daytona",
"working_directory": "/home/daytona/workspace",
"identifier": "fabro-01KKV857HVVYX8Z5MRDPYTFTA4"
}