Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
large_string
created_at
large_string
difficulty
large_string
environment_setup_commit
large_string
eval_type
large_string
image
large_string
instance_id
large_string
log_parser
large_string
repo
large_string
version
large_string
patch
large_string
test_patch
large_string
eval_script
large_string
problem_statement
large_string
hints_text
large_string
FAIL_TO_PASS
list
PASS_TO_PASS
list
patch_lines
int64
diff_bin
large_string
repo_grp
large_string
stratum
large_string
7269fa3e33e8d02485a647da91a5a2a60a06af61
2023-02-06T19:20:34Z
15 min - 1 hour
5f74eacbcc7fff707a44d8eb58adaa514cb7dcb5
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.astropy_1776_astropy-14365:test
astropy__astropy-14365
parse_log_astropy
astropy/astropy
5.1
diff --git a/astropy/io/ascii/qdp.py b/astropy/io/ascii/qdp.py --- a/astropy/io/ascii/qdp.py +++ b/astropy/io/ascii/qdp.py @@ -68,7 +68,7 @@ def _line_type(line, delimiter=None): _new_re = rf"NO({sep}NO)+" _data_re = rf"({_decimal_re}|NO|[-+]?nan)({sep}({_decimal_re}|NO|[-+]?nan))*)" _type_re = rf"^\s*((...
diff --git a/astropy/io/ascii/tests/test_qdp.py b/astropy/io/ascii/tests/test_qdp.py --- a/astropy/io/ascii/tests/test_qdp.py +++ b/astropy/io/ascii/tests/test_qdp.py @@ -43,7 +43,18 @@ def test_get_tables_from_qdp_file(tmp_path): assert np.isclose(table2["MJD_nerr"][0], -2.37847222222222e-05) -def test_roundt...
#!/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 -c core.fileMode=false diff 7269fa3e33e8d02485a647da91a5a2a60a06af61 source /opt/miniconda3/bin/activate conda activate testbed pytho...
ascii.qdp Table format assumes QDP commands are upper case ### Description ascii.qdp assumes that commands in a QDP file are upper case, for example, for errors they must be "READ SERR 1 2" whereas QDP itself is not case sensitive and case use "read serr 1 2". As many QDP files are created by hand, the expectation...
Welcome to Astropy 👋 and thank you for your first issue! A project member will respond to you as soon as possible; in the meantime, please double-check the [guidelines for submitting issues](https://github.com/astropy/astropy/blob/main/CONTRIBUTING.md#reporting-issues) and make sure you've provided the requested deta...
[ "astropy/io/ascii/tests/test_qdp.py::test_roundtrip[True]" ]
[ "astropy/io/ascii/tests/test_qdp.py::test_get_tables_from_qdp_file", "astropy/io/ascii/tests/test_qdp.py::test_roundtrip[False]", "astropy/io/ascii/tests/test_qdp.py::test_read_example", "astropy/io/ascii/tests/test_qdp.py::test_roundtrip_example", "astropy/io/ascii/tests/test_qdp.py::test_roundtrip_example...
21
med
other
other|med
004b4620f6f4ad87261e149898940f2dcd5757ef
2021-08-23T12:59:59Z
<15 min fix
647480166bfe7532e8c471fef0146e3a17e6c0c9
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.django_1776_django-14787:test
django__django-14787
parse_log_django
django/django
4.1
diff --git a/django/utils/decorators.py b/django/utils/decorators.py --- a/django/utils/decorators.py +++ b/django/utils/decorators.py @@ -37,7 +37,7 @@ def _wrapper(self, *args, **kwargs): # 'self' argument, but it's a closure over self so it can call # 'func'. Also, wrap method.__get__() in a functi...
diff --git a/tests/decorators/tests.py b/tests/decorators/tests.py --- a/tests/decorators/tests.py +++ b/tests/decorators/tests.py @@ -425,6 +425,29 @@ class Test: def __module__(cls): return "tests" + def test_wrapper_assignments(self): + """@method_decorator preserves...
#!/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 -c core.fileMode=false diff 004b4620f6f4ad87261e149898940f2dcd5757ef source /opt/miniconda3/bin/activate conda activate testbed pytho...
method_decorator() should preserve wrapper assignments Description the function that is passed to the decorator is a partial object and does not have any of the attributes expected from a function i.e. __name__, __module__ etc... consider the following case def logger(func): @wraps(func) def inner(*args, **kwargs):...
[ "@method_decorator preserves wrapper assignments." ]
[ "test_cache_control_decorator_http_request (decorators.tests.CacheControlDecoratorTest)", "Ensures @xframe_options_deny properly sets the X-Frame-Options header.", "Ensures @xframe_options_exempt properly instructs the", "Ensures @xframe_options_sameorigin properly sets the X-Frame-Options", "Built-in decor...
12
small
django/django
django/django|small
0d4e575c96d408e0efb4dfd0cbfc864219776950
2021-10-15T20:19:33Z
647480166bfe7532e8c471fef0146e3a17e6c0c9
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.django_1776_django-14997:test
django__django-14997
parse_log_django
django/django
4.1
diff --git a/django/db/backends/ddl_references.py b/django/db/backends/ddl_references.py --- a/django/db/backends/ddl_references.py +++ b/django/db/backends/ddl_references.py @@ -212,11 +212,7 @@ def __init__(self, table, expressions, compiler, quote_value): def rename_table_references(self, old_table, new_table):...
diff --git a/tests/backends/test_ddl_references.py b/tests/backends/test_ddl_references.py --- a/tests/backends/test_ddl_references.py +++ b/tests/backends/test_ddl_references.py @@ -5,6 +5,7 @@ from django.db.models import ExpressionList, F from django.db.models.functions import Upper from django.db.models.indexes ...
#!/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 -c core.fileMode=false diff 0d4e575c96d408e0efb4dfd0cbfc864219776950 source /opt/miniconda3/bin/activate conda activate testbed pytho...
Remaking table with unique constraint crashes on SQLite. Description In Django 4.0a1, this model: class Tag(models.Model): name = models.SlugField(help_text="The tag key.") value = models.CharField(max_length=150, help_text="The tag value.") class Meta: ordering = ["name", "value"] constraints = [ models.Un...
Thanks for the report. Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks for the report! Looks like we don't check if an alias is set on the Col before we update it to new_table in Expressions.rename_table_references when running _remake_table.
[ "test_rename_table_references_without_alias (backends.test_ddl_references.ExpressionsTests)", "test_alter_field_with_func_index (migrations.test_operations.OperationTests)", "test_alter_field_with_func_unique_constraint (migrations.test_operations.OperationTests)" ]
[ "test_references_column (backends.test_ddl_references.ColumnsTests)", "test_references_table (backends.test_ddl_references.ColumnsTests)", "test_rename_column_references (backends.test_ddl_references.ColumnsTests)", "test_rename_table_references (backends.test_ddl_references.ColumnsTests)", "test_repr (back...
16
med
django/django
django/django|med
361bb8f786f112ee275be136795c0b1ecefff928
2021-12-28T15:51:06Z
15 min - 1 hour
647480166bfe7532e8c471fef0146e3a17e6c0c9
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.django_1776_django-15252:test
django__django-15252
parse_log_django
django/django
4.1
diff --git a/django/db/migrations/executor.py b/django/db/migrations/executor.py --- a/django/db/migrations/executor.py +++ b/django/db/migrations/executor.py @@ -96,8 +96,12 @@ def migrate(self, targets, plan=None, state=None, fake=False, fake_initial=False (un)applied and in a second step run all the databas...
diff --git a/tests/backends/base/test_creation.py b/tests/backends/base/test_creation.py --- a/tests/backends/base/test_creation.py +++ b/tests/backends/base/test_creation.py @@ -57,12 +57,12 @@ def test_custom_test_name_with_test_prefix(self): @mock.patch.object(connection, 'ensure_connection') @mock.patch.object(co...
#!/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 -c core.fileMode=false diff 361bb8f786f112ee275be136795c0b1ecefff928 source /opt/miniconda3/bin/activate conda activate testbed pytho...
MigrationRecorder does not obey db_router allow_migrate rules Description Hi, We have a multi-db setup. We have one connection that is for the django project, and several connections that talk to other dbs for information (ie models with managed = False). Django should only create tables in the first connection, neve...
I don't think you've implemented your router correctly, but I'd need to check the router code to see if it's called multiple times (num_dbs*num_models) to be sure. This is how we implement our routers for allow_migrate: def allow_migrate(self, db, model): if db == 'other': return model._meta.app_label == 'legacy_app' #...
[ "test_migrate_test_setting_false_ensure_schema (backends.base.test_creation.TestDbCreationTests)", "The django_migrations table is not created if there are no migrations" ]
[ "test_mark_expected_failures_and_skips (backends.base.test_creation.TestMarkTests)", "test_custom_test_name (backends.base.test_creation.TestDbSignatureTests)", "test_custom_test_name_with_test_prefix (backends.base.test_creation.TestDbSignatureTests)", "test_default_name (backends.base.test_creation.TestDbSi...
18
med
django/django
django/django|med
c61219a7ae051d2baab53f041e00592011fc550c
2023-05-02T06:32:13Z
4a72da71001f154ea60906a2f74898d32b7322a7
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.django_1776_django-16820:test
django__django-16820
parse_log_django
django/django
5.0
diff --git a/django/db/migrations/operations/models.py b/django/db/migrations/operations/models.py --- a/django/db/migrations/operations/models.py +++ b/django/db/migrations/operations/models.py @@ -303,6 +303,71 @@ def reduce(self, operation, app_label): managers=self.managers, ...
diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -2266,10 +2266,9 @@ def test_same_app_circular_fk_dependency_with_unique_together_and_indexes(self): changes, "e...
#!/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 -c core.fileMode=false diff c61219a7ae051d2baab53f041e00592011fc550c source /opt/miniconda3/bin/activate conda activate testbed pytho...
Squashing migrations with Meta.index_together -> indexes transition should remove deprecation warnings. Description Squashing migrations with Meta.index_together -> Meta.indexes transition should remove deprecation warnings. As far as I'm aware, it's a 4.2 release blocker because you cannot get rid of the index_toget...
[ "test_create_model_add_index (migrations.test_optimizer.OptimizerTests.test_create_model_add_index)", "test_create_model_index_together_rename_index (migrations.test_optimizer.OptimizerTests.test_create_model_index_together_rename_index)", "test_create_model_remove_index (migrations.test_optimizer.OptimizerTest...
[ "test_auto (migrations.test_autodetector.MigrationSuggestNameTests.test_auto)", "test_many_operations_suffix (migrations.test_autodetector.MigrationSuggestNameTests.test_many_operations_suffix)", "test_no_operations (migrations.test_autodetector.MigrationSuggestNameTests.test_no_operations)", "test_no_operati...
75
large
django/django
django/django|large
29a86636a9c45ab5ac4d80ac76eaee497f460dce
2022-08-05T13:44:06Z
de98877e3dc45de8dd441d008f23d88738dc015d
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.matplotlib_1776_matplotlib-23562:test
matplotlib__matplotlib-23562
parse_log_matplotlib
matplotlib/matplotlib
3.5
diff --git a/lib/mpl_toolkits/mplot3d/art3d.py b/lib/mpl_toolkits/mplot3d/art3d.py --- a/lib/mpl_toolkits/mplot3d/art3d.py +++ b/lib/mpl_toolkits/mplot3d/art3d.py @@ -867,9 +867,19 @@ def set_alpha(self, alpha): self.stale = True def get_facecolor(self): + # docstring inherited + # self._f...
diff --git a/lib/mpl_toolkits/tests/test_mplot3d.py b/lib/mpl_toolkits/tests/test_mplot3d.py --- a/lib/mpl_toolkits/tests/test_mplot3d.py +++ b/lib/mpl_toolkits/tests/test_mplot3d.py @@ -1812,6 +1812,28 @@ def test_scatter_spiral(): fig.canvas.draw() +def test_Poly3DCollection_get_facecolor(): + # Smoke tes...
#!/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 -c core.fileMode=false diff 29a86636a9c45ab5ac4d80ac76eaee497f460dce source /opt/miniconda3/bin/activate conda activate testbed pytho...
'Poly3DCollection' object has no attribute '_facecolors2d' The following minimal example demonstrates the issue: ``` import numpy as np import matplotlib.tri as mtri import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D y,x = np.ogrid[1:10:100j, 1:10:100j] z2 = np.cos(x)**3 - np.sin(y)**2 fig = plt....
Ok, I have a "fix", in the sense that that attribute will be defined upon initialization. However, for your example, the facecolors returned is completely useless ([[0, 0, 1, 1]] -- all blue, which is default). I suspect that there is a deeper problem with ScalarMappables in general in that they don't set their facecol...
[ "lib/mpl_toolkits/tests/test_mplot3d.py::test_Poly3DCollection_get_facecolor", "lib/mpl_toolkits/tests/test_mplot3d.py::test_Poly3DCollection_get_edgecolor" ]
[ "lib/mpl_toolkits/tests/test_mplot3d.py::test_invisible_axes[png]", "lib/mpl_toolkits/tests/test_mplot3d.py::test_aspects[png]", "lib/mpl_toolkits/tests/test_mplot3d.py::test_axes3d_repr", "lib/mpl_toolkits/tests/test_mplot3d.py::test_bar3d[png]", "lib/mpl_toolkits/tests/test_mplot3d.py::test_bar3d_colors",...
23
med
matplotlib/matplotlib
matplotlib/matplotlib|med
149a0398b391cfc4eddb5e659f50b3c66f32ea65
2022-08-05T15:52:55Z
de98877e3dc45de8dd441d008f23d88738dc015d
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.matplotlib_1776_matplotlib-23563:test
matplotlib__matplotlib-23563
parse_log_matplotlib
matplotlib/matplotlib
3.5
"diff --git a/lib/mpl_toolkits/mplot3d/art3d.py b/lib/mpl_toolkits/mplot3d/art3d.py\n--- a/lib/mpl_t(...TRUNCATED)
"diff --git a/lib/mpl_toolkits/tests/test_mplot3d.py b/lib/mpl_toolkits/tests/test_mplot3d.py\n--- a(...TRUNCATED)
"#!/bin/bash\nset -uxo pipefail\nsource /opt/miniconda3/bin/activate\nconda activate testbed\ncd /te(...TRUNCATED)
"[Bug]: 'Line3D' object has no attribute '_verts3d'\n### Bug summary\n\nI use matplotlib 3D to visua(...TRUNCATED)
"> x_s_0 = np.array(['my int number list'])\r\n\r\nPlease put some actual numbers in here. This exam(...TRUNCATED)
[ "lib/mpl_toolkits/tests/test_mplot3d.py::test_draw_single_lines_from_Nx1" ]
["lib/mpl_toolkits/tests/test_mplot3d.py::test_invisible_axes[png]","lib/mpl_toolkits/tests/test_mpl(...TRUNCATED)
11
small
matplotlib/matplotlib
matplotlib/matplotlib|small
5c4595267ccd3daf78f5fd05693b7ecbcd575c1e
2022-09-16T21:51:24Z
73909bcb408886a22e2b84581d6b9e6d9907c813
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.matplotlib_1776_matplotlib-23913:test
matplotlib__matplotlib-23913
parse_log_matplotlib
matplotlib/matplotlib
3.6
"diff --git a/lib/matplotlib/legend.py b/lib/matplotlib/legend.py\n--- a/lib/matplotlib/legend.py\n+(...TRUNCATED)
"diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py\n--- a/lib/m(...TRUNCATED)
"#!/bin/bash\nset -uxo pipefail\nsource /opt/miniconda3/bin/activate\nconda activate testbed\ncd /te(...TRUNCATED)
"legend draggable as keyword\n<!--To help us understand and resolve your issue, please fill out the (...TRUNCATED)
"This seems like a reasonable request, you're welcome to submit a PR :-) Note that the same comment(...TRUNCATED)
["lib/matplotlib/tests/test_legend.py::test_legend_draggable[True]","lib/matplotlib/tests/test_legen(...TRUNCATED)
["lib/matplotlib/tests/test_legend.py::test_legend_ordereddict","lib/matplotlib/tests/test_legend.py(...TRUNCATED)
33
large
matplotlib/matplotlib
matplotlib/matplotlib|large
e98d8d085e8f53ec0467422b326f7738a2dd695e
2022-09-22T21:39:02Z
73909bcb408886a22e2b84581d6b9e6d9907c813
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.matplotlib_1776_matplotlib-23987:test
matplotlib__matplotlib-23987
parse_log_matplotlib
matplotlib/matplotlib
3.6
"diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py\n--- a/lib/matplotlib/figure.py\n+(...TRUNCATED)
"diff --git a/lib/matplotlib/tests/test_constrainedlayout.py b/lib/matplotlib/tests/test_constrained(...TRUNCATED)
"#!/bin/bash\nset -uxo pipefail\nsource /opt/miniconda3/bin/activate\nconda activate testbed\ncd /te(...TRUNCATED)
"[Bug]: Constrained layout UserWarning even when False\n### Bug summary\r\n\r\nWhen using layout set(...TRUNCATED)
"Yup, that is indeed a bug https://github.com/matplotlib/matplotlib/blob/e98d8d085e8f53ec0467422b326(...TRUNCATED)
[ "lib/matplotlib/tests/test_constrainedlayout.py::test_set_constrained_layout[False-False]" ]
["lib/matplotlib/tests/test_constrainedlayout.py::test_constrained_layout1[png]","lib/matplotlib/tes(...TRUNCATED)
17
med
matplotlib/matplotlib
matplotlib/matplotlib|med
e148998d9bed9d1b53a91587ad48f9bb43c7737f
2022-10-25T02:03:19Z
73909bcb408886a22e2b84581d6b9e6d9907c813
pass_and_fail
ghcr.io/jtaylor05/sweb.eval.x86_64.matplotlib_1776_matplotlib-24265:test
matplotlib__matplotlib-24265
parse_log_matplotlib
matplotlib/matplotlib
3.6
"diff --git a/lib/matplotlib/style/core.py b/lib/matplotlib/style/core.py\n--- a/lib/matplotlib/styl(...TRUNCATED)
"diff --git a/lib/matplotlib/tests/test_style.py b/lib/matplotlib/tests/test_style.py\n--- a/lib/mat(...TRUNCATED)
"#!/bin/bash\nset -uxo pipefail\nsource /opt/miniconda3/bin/activate\nconda activate testbed\ncd /te(...TRUNCATED)
"[Bug]: Setting matplotlib.pyplot.style.library['seaborn-colorblind'] result in key error on matplot(...TRUNCATED)
[ "lib/matplotlib/tests/test_style.py::test_deprecated_seaborn_styles" ]
["lib/matplotlib/tests/test_style.py::test_invalid_rc_warning_includes_filename","lib/matplotlib/tes(...TRUNCATED)
101
large
matplotlib/matplotlib
matplotlib/matplotlib|large
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
27