instance_id large_string | repo large_string | base_commit large_string | patch large_string | set large_string | language large_string | merged_at timestamp[us, tz=UTC] | image large_string | files_pending_review list | major_category list | test_framework large_string | log_parser large_string | template large_string | eval_script large_string | FAIL_TO_PASS list | PASS_TO_PASS list | source_f2p unknown | source_p2p unknown | edit_hunks list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pylint-dev__pylint-5417 | pylint-dev/pylint | 1f1c7b94d41e93b42ebed5e633b548d8dcbdf387 | diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -630,17 +630,7 @@ def _no_context_variadic_keywords(node, scope):
def _no_context_variadic_positional(node, scope):
- variadics = ()
- if isinstance(scope, nodes.L... | simple | Python | 2021-12-14T15:51:50 | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-5417 | [
"pylint/checkers/typecheck.py"
] | [
"Logic & Computation"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -xo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Set PYTHONPATH to include ... | [
"tests/test_functional.py::test_functional[regression_no_value_for_parameter]"
] | [] | {
"pylint-dev__pylint-5417": [
"tests/test_functional.py::test_functional[regression_no_value_for_parameter]"
]
} | {
"pylint-dev__pylint-5417": []
} | [
{
"file": "pylint/checkers/typecheck.py",
"old_start": 630,
"removed_line_numbers": [
633,
634,
635,
636,
637,
638,
639,
640,
641,
642,
643
]
}
] |
pylint-dev__pylint__4010 | pylint-dev/pylint | b41e8d940dbd0a92d2805a99eb0f97c01f620197 | diff --git a/ChangeLog b/ChangeLog
index 718db35da4..6edaff67c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
------------------
Pylint's ChangeLog
------------------
+* Bug fix for empty-comment message line number.
+
+ Closes #4009
+
* Only emit `bad-reversed-sequence` on dictionaries if below py3.8
... | simple | Python | 2021-01-03T19:30:28 | docker.io/biningbin/active-swe:simple-pylint-dev__pylint__4010 | [
"pylint/extensions/empty_comment.py"
] | [
"Logic & Computation"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate conda environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/etc/profile.d/conda.sh
conda activate testbed
# Navigate to the test directory
cd /testbed
# Ensure... | [
"tests/extensions/test_empty_comment.py::test_comment_base_case"
] | [] | {
"pylint-dev__pylint__4010": [
"tests/extensions/test_empty_comment.py::test_comment_base_case"
]
} | {
"pylint-dev__pylint__4010": []
} | [
{
"file": "ChangeLog",
"old_start": 1,
"removed_line_numbers": []
},
{
"file": "pylint/extensions/empty_comment.py",
"old_start": 49,
"removed_line_numbers": [
52
]
}
] |
pylint-dev__pylint-6577 | pylint-dev/pylint | dee2f1449139aa013906cec685c05a8c1d5e6360 | diff --git a/pylint/config/config_file_parser.py b/pylint/config/config_file_parser.py
--- a/pylint/config/config_file_parser.py
+++ b/pylint/config/config_file_parser.py
@@ -42,7 +42,7 @@ def _parse_ini_file(self, file_path: Path) -> tuple[dict[str, str], list[str]]:
config_content: dict[str, str] = {}
... | simple | Python | 2022-06-29T10:49:04 | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-6577 | [
"pylint/config/config_file_parser.py"
] | [
"Data Processing & Type"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"tests/config/test_functional_config_loading.py::test_functional_config_loading[setup_cfg/issue_3630/not_setup.cfg]"
] | [
"tests/config/test_functional_config_loading.py::test_functional_config_loading[setup_cfg/issue_3630/setup.cfg]"
] | {
"pylint-dev__pylint-6577": [
"tests/config/test_functional_config_loading.py::test_functional_config_loading[setup_cfg/issue_3630/not_setup.cfg]"
]
} | {
"pylint-dev__pylint-6577": [
"tests/config/test_functional_config_loading.py::test_functional_config_loading[setup_cfg/issue_3630/setup.cfg]"
]
} | [
{
"file": "pylint/config/config_file_parser.py",
"old_start": 42,
"removed_line_numbers": [
45
]
},
{
"file": "pylint/config/config_file_parser.py",
"old_start": 61,
"removed_line_numbers": [
64,
66,
68
]
}
] |
django__django-14602 | django/django | 68cc04887b3c5b7ce8f28eaae5de266db99ca9a6 | diff --git a/django/utils/dateparse.py b/django/utils/dateparse.py
--- a/django/utils/dateparse.py
+++ b/django/utils/dateparse.py
@@ -16,7 +16,7 @@
time_re = _lazy_re_compile(
r'(?P<hour>\d{1,2}):(?P<minute>\d{1,2})'
- r'(?::(?P<second>\d{1,2})(?:[\.,](?P<microsecond>\d{1,6})\d{0,6})?)?'
+ r'(?::(?P<seco... | simple | Python | 2021-07-07T11:01:02 | docker.io/biningbin/active-swe:simple-django__django-14602 | [
"django/utils/dateparse.py"
] | [
"Data Processing & Type"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Clean up any untracked fi... | [
"test_parse_time (utils_tests.test_dateparse.DateParseTests)"
] | [
"test_minutes_seconds (utils_tests.test_dateparse.DurationParseTests)",
"test_parse_python_format (utils_tests.test_dateparse.DurationParseTests)",
"test_parse_postgresql_format (utils_tests.test_dateparse.DurationParseTests)",
"test_negative (utils_tests.test_dateparse.DurationParseTests)",
"test_parse_dat... | {
"django__django-14602": [
"test_parse_time (utils_tests.test_dateparse.DateParseTests)"
]
} | {
"django__django-14602": [
"test_minutes_seconds (utils_tests.test_dateparse.DurationParseTests)",
"test_parse_python_format (utils_tests.test_dateparse.DurationParseTests)",
"test_parse_postgresql_format (utils_tests.test_dateparse.DurationParseTests)",
"test_negative (utils_tests.test_dateparse.Dur... | [
{
"file": "django/utils/dateparse.py",
"old_start": 16,
"removed_line_numbers": [
19
]
}
] |
django__django-17236 | django/django | e41f9f94505f690525f16af8bd10e62e22bc0207 | diff --git a/django/conf/__init__.py b/django/conf/__init__.py
--- a/django/conf/__init__.py
+++ b/django/conf/__init__.py
@@ -222,8 +222,9 @@ def __init__(self, settings_module):
raise ImproperlyConfigured(
"DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive."
)... | simple | Python | 2023-09-11T11:04:33 | docker.io/biningbin/active-swe:simple-django__django-17236 | [
"django/conf/__init__.py"
] | [
"State & Lifecycle"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"test_access (deprecation.test_storages.DefaultStorageDeprecationTests)",
"test_access (deprecation.test_storages.StaticfilesStorageDeprecationTests)",
"test_access_warning (deprecation.test_storages.DefaultStorageDeprecationTests)",
"test_access_warning (deprecation.test_storages.StaticfilesStorageDeprecatio... | [] | {
"django__django-17236": [
"test_access (deprecation.test_storages.DefaultStorageDeprecationTests)",
"test_access (deprecation.test_storages.StaticfilesStorageDeprecationTests)",
"test_access_warning (deprecation.test_storages.DefaultStorageDeprecationTests)",
"test_access_warning (deprecation.test_s... | {
"django__django-17236": []
} | [
{
"file": "django/conf/__init__.py",
"old_start": 222,
"removed_line_numbers": [
225,
226
]
},
{
"file": "django/conf/__init__.py",
"old_start": 232,
"removed_line_numbers": [
235,
236
]
}
] |
django__django-14372 | django/django | b81c7562fc33f50166d5120138d6398dc42b13c3 | diff --git a/django/core/files/utils.py b/django/core/files/utils.py
--- a/django/core/files/utils.py
+++ b/django/core/files/utils.py
@@ -1,16 +1,26 @@
import os
+import pathlib
from django.core.exceptions import SuspiciousFileOperation
-def validate_file_name(name):
- if name != os.path.basename(name):
- ... | simple | Python | 2021-05-13T06:53:44 | docker.io/biningbin/active-swe:simple-django__django-14372 | [
"django/core/files/utils.py",
"django/db/models/fields/files.py"
] | [
"Domain-specific Workflow"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"A FileField with unique=True shouldn't allow two instances with the",
"Calling delete on an unset FileField should not call the file deletion",
"FieldField.open() returns self so it can be used as a context manager.",
"FileField.model returns the concrete model for fields defined in an",
"FileField.save_fo... | [] | {
"django__django-14372": [
"A FileField with unique=True shouldn't allow two instances with the",
"Calling delete on an unset FileField should not call the file deletion",
"FieldField.open() returns self so it can be used as a context manager.",
"FileField.model returns the concrete model for fields ... | {
"django__django-14372": []
} | [
{
"file": "django/core/files/utils.py",
"old_start": 1,
"removed_line_numbers": [
6,
7,
8,
9,
11
]
},
{
"file": "django/db/models/fields/files.py",
"old_start": 313,
"removed_line_numbers": [
316
]
}
] |
django__django-17106 | django/django | e02fc588893485e5f5e509cdb67c63d8e1a45b31 | diff --git a/django/template/autoreload.py b/django/template/autoreload.py
--- a/django/template/autoreload.py
+++ b/django/template/autoreload.py
@@ -31,12 +31,19 @@ def get_template_directories():
def reset_loaders():
+ from django.forms.renderers import get_default_renderer
+
for backend in engines.all(... | simple | Python | 2023-08-09T08:03:01 | docker.io/biningbin/active-swe:simple-django__django-17106 | [
"django/template/autoreload.py"
] | [
"State & Lifecycle"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"test_form_template_reset_non_template_change (template_tests.test_autoreloader.TemplateReloadTests)",
"test_form_template_reset_template_change (template_tests.test_autoreloader.TemplateReloadTests)",
"test_form_template_reset_template_change_reset_call (template_tests.test_autoreloader.TemplateReloadTests)",
... | [] | {
"django__django-17106": [
"test_form_template_reset_non_template_change (template_tests.test_autoreloader.TemplateReloadTests)",
"test_form_template_reset_template_change (template_tests.test_autoreloader.TemplateReloadTests)",
"test_form_template_reset_template_change_reset_call (template_tests.test_au... | {
"django__django-17106": []
} | [
{
"file": "django/template/autoreload.py",
"old_start": 31,
"removed_line_numbers": []
}
] |
django__django-18001 | django/django | b6e2b83901d841cf4d2179f650d1e7dca7e90c16 | diff --git a/django/core/files/move.py b/django/core/files/move.py
--- a/django/core/files/move.py
+++ b/django/core/files/move.py
@@ -32,13 +32,12 @@ def file_move_safe(
except OSError:
pass
- try:
- if not allow_overwrite and os.access(new_file_name, os.F_OK):
- raise FileExistsEr... | simple | Python | 2024-03-24T18:43:04 | docker.io/biningbin/active-swe:simple-django__django-18001 | [
"django/core/files/move.py"
] | [
"Exception Safety"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"test_file_move_overwrite (files.tests.FileMoveSafeTests)"
] | [
"test_open_resets_opened_file_to_start_and_returns_context_manager (files.tests.FileTests)",
"test_open_supports_full_signature (files.tests.FileTests)",
"#8149 - File objects with",
"File objects should yield lines when iterated over.",
"test_readable (files.tests.FileTests)",
"test_content_file_default_... | {
"django__django-18001": [
"test_file_move_overwrite (files.tests.FileMoveSafeTests)"
]
} | {
"django__django-18001": [
"test_open_resets_opened_file_to_start_and_returns_context_manager (files.tests.FileTests)",
"test_open_supports_full_signature (files.tests.FileTests)",
"#8149 - File objects with",
"File objects should yield lines when iterated over.",
"test_readable (files.tests.File... | [
{
"file": "django/core/files/move.py",
"old_start": 32,
"removed_line_numbers": [
35,
36,
37,
38,
39,
40
]
}
] |
django__django-15315 | django/django | 652c68ffeebd510a6f59e1b56b3e007d07683ad8 | diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py
--- a/django/db/models/fields/__init__.py
+++ b/django/db/models/fields/__init__.py
@@ -542,11 +542,7 @@ def __lt__(self, other):
return NotImplemented
def __hash__(self):
- return hash((
- self.crea... | simple | Python | 2022-01-14T08:39:54 | docker.io/biningbin/active-swe:simple-django__django-15315 | [
"django/db/models/fields/__init__.py"
] | [
"State & Lifecycle"
] | django | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"test_hash_immutability (model_fields.tests.BasicFieldTests)"
] | [
"test_blank_in_grouped_choices (model_fields.tests.GetChoicesTests)",
"test_field_verbose_name (model_fields.tests.BasicFieldTests)",
"Field instances can be pickled.",
"Field.formfield() sets disabled for fields with choices.",
"A defined field name (name=\"fieldname\") is used instead of the model",
"te... | {
"django__django-15315": [
"test_hash_immutability (model_fields.tests.BasicFieldTests)"
]
} | {
"django__django-15315": [
"test_blank_in_grouped_choices (model_fields.tests.GetChoicesTests)",
"test_field_verbose_name (model_fields.tests.BasicFieldTests)",
"Field instances can be pickled.",
"Field.formfield() sets disabled for fields with choices.",
"A defined field name (name=\"fieldname\"... | [
{
"file": "django/db/models/fields/__init__.py",
"old_start": 542,
"removed_line_numbers": [
545,
546,
547,
548,
549
]
}
] |
pydata__xarray-6857 | pydata/xarray | 434f9e8929942afc2380eab52a07e77d30cc7885 | diff --git a/xarray/core/alignment.py b/xarray/core/alignment.py
--- a/xarray/core/alignment.py
+++ b/xarray/core/alignment.py
@@ -467,7 +467,7 @@ def override_indexes(self) -> None:
if obj_idx is not None:
for name, var in self.aligned_index_vars[key].items():
... | simple | Python | 2022-08-31T07:16:14 | docker.io/biningbin/active-swe:simple-pydata__xarray-6857 | [
"xarray/core/alignment.py"
] | [
"State & Lifecycle"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"xarray/tests/test_dataset.py::TestDataset::test_align_index_var_attrs[left]"
] | [] | {
"pydata__xarray-6857": [
"xarray/tests/test_dataset.py::TestDataset::test_align_index_var_attrs[left]"
]
} | {
"pydata__xarray-6857": []
} | [
{
"file": "xarray/core/alignment.py",
"old_start": 467,
"removed_line_numbers": [
470
]
},
{
"file": "xarray/core/alignment.py",
"old_start": 507,
"removed_line_numbers": [
510
]
}
] |
pydata__xarray-9407 | pydata/xarray | 12d8cfa317b1a08748cb6a0a1b10a6efe3a7d3d2 | diff --git a/xarray/backends/api.py b/xarray/backends/api.py
--- a/xarray/backends/api.py
+++ b/xarray/backends/api.py
@@ -167,7 +167,7 @@ def check_name(name: Hashable):
check_name(k)
-def _validate_attrs(dataset, invalid_netcdf=False):
+def _validate_attrs(dataset, engine, invalid_netcdf=False):
"""... | simple | Python | 2024-09-02T17:41:02 | docker.io/biningbin/active-swe:simple-pydata__xarray-9407 | [
"xarray/backends/api.py"
] | [
"Data Processing & Type"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"xarray/tests/test_backends.py::TestNetCDF4Data::test_byte_attrs"
] | [] | {
"pydata__xarray-9407": [
"xarray/tests/test_backends.py::TestNetCDF4Data::test_byte_attrs"
]
} | {
"pydata__xarray-9407": []
} | [
{
"file": "xarray/backends/api.py",
"old_start": 167,
"removed_line_numbers": [
170
]
},
{
"file": "xarray/backends/api.py",
"old_start": 177,
"removed_line_numbers": [
180,
181
]
},
{
"file": "xarray/backends/api.py",
"old_start": 202,
"removed_... |
pydata__xarray-9927 | pydata/xarray | 251329e3d4623fd1fa09422c7bf3f8a70bb76a81 | diff --git a/xarray/backends/zarr.py b/xarray/backends/zarr.py
--- a/xarray/backends/zarr.py
+++ b/xarray/backends/zarr.py
@@ -447,10 +447,11 @@ def extract_zarr_variable_encoding(
safe_to_drop = {"source", "original_shape", "preferred_chunks"}
valid_encodings = {
- "codecs",
"chunks",
- ... | simple | Python | 2025-01-07T14:11:24 | docker.io/biningbin/active-swe:simple-pydata__xarray-9927 | [
"xarray/backends/zarr.py"
] | [
"Reference & Data Flow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"xarray/tests/test_backends.py::test_extract_zarr_variable_encoding"
] | [] | {
"pydata__xarray-9927": [
"xarray/tests/test_backends.py::test_extract_zarr_variable_encoding"
]
} | {
"pydata__xarray-9927": []
} | [
{
"file": "xarray/backends/zarr.py",
"old_start": 447,
"removed_line_numbers": [
450,
452
]
},
{
"file": "xarray/backends/zarr.py",
"old_start": 480,
"removed_line_numbers": []
},
{
"file": "xarray/backends/zarr.py",
"old_start": 816,
"removed_line_numbers... |
matplotlib__matplotlib-27334 | matplotlib/matplotlib | b16031ce6f711b8c80c2122886b9b43149a0971f | diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py
--- a/lib/matplotlib/contour.py
+++ b/lib/matplotlib/contour.py
@@ -1339,15 +1339,18 @@ def _find_nearest_contour(self, xy, indices=None):
for idx_level in indices:
path = self._paths[idx_level]
- if not len(path.verti... | simple | Python | 2023-11-16T23:58:33 | docker.io/biningbin/active-swe:simple-matplotlib__matplotlib-27334 | [
"lib/matplotlib/contour.py"
] | [
"Logic & Computation"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/etc/profile.d/conda.sh
conda activate testbed
# Clean up any untracked files created during build
rm -rf /... | [
"test_contour.py::test_contour_manual_moveto"
] | [] | {
"matplotlib__matplotlib-27334": [
"test_contour.py::test_contour_manual_moveto"
]
} | {
"matplotlib__matplotlib-27334": []
} | [
{
"file": "lib/matplotlib/contour.py",
"old_start": 1339,
"removed_line_numbers": [
1342,
1343,
1344,
1345,
1346,
1347,
1348,
1349,
1350
]
}
] |
matplotlib__matplotlib-30079 | matplotlib/matplotlib | 1c881a3e5fb2699067aa9f5ac687b881dcaeab5e | --- a/lib/matplotlib/legend.py
+++ b/lib/matplotlib/legend.py
@@ -456,12 +456,13 @@
self.shadow = mpl._val_or_rc(shadow, 'legend.shadow')
if reverse:
labels = [*reversed(labels)]
handles = [*reversed(handles)]
+ handles = list(handles)
if len(handles) < 2:... | simple | Python | 2025-05-19T19:32:16 | docker.io/biningbin/active-swe:simple-matplotlib__matplotlib-30079 | [
"lib/matplotlib/legend.py",
"lib/matplotlib/_constrained_layout.py"
] | [
"Data Processing & Type",
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Remove wraplock file cre... | [
"lib/matplotlib/tests/test_constrainedlayout.py::test_submerged_subfig",
"lib/matplotlib/tests/test_legend.py::test_legend_generator"
] | [] | {
"matplotlib__matplotlib-30079": [
"lib/matplotlib/tests/test_legend.py::test_legend_generator"
],
"matplotlib__matplotlib-30089": [
"lib/matplotlib/tests/test_constrainedlayout.py::test_submerged_subfig"
]
} | {
"matplotlib__matplotlib-30079": [],
"matplotlib__matplotlib-30089": []
} | [
{
"file": "lib/matplotlib/legend.py",
"old_start": 459,
"removed_line_numbers": []
},
{
"file": "lib/matplotlib/_constrained_layout.py",
"old_start": 521,
"removed_line_numbers": [
525,
528
]
},
{
"file": "lib/matplotlib/_constrained_layout.py",
"old_start": 5... |
matplotlib__matplotlib-29873 | matplotlib/matplotlib | 3274d6a65d8a6e911ef3fd7d180e34c41c132bec | diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py
--- a/lib/matplotlib/axes/_axes.py
+++ b/lib/matplotlib/axes/_axes.py
@@ -3303,6 +3303,9 @@ def pie(self, x, explode=None, labels=None, colors=None,
if np.any(x < 0):
raise ValueError("Wedge sizes 'x' must be non negative val... | simple | Python | 2025-04-24T21:49:33 | docker.io/biningbin/active-swe:simple-matplotlib__matplotlib-29873 | [
"lib/matplotlib/axes/_axes.py"
] | [
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Remove any stale files
rm... | [
"lib/matplotlib/tests/test_axes.py::test_pie_non_finite_values"
] | [] | {
"matplotlib__matplotlib-29873": [
"lib/matplotlib/tests/test_axes.py::test_pie_non_finite_values"
]
} | {
"matplotlib__matplotlib-29873": []
} | [
{
"file": "lib/matplotlib/axes/_axes.py",
"old_start": 3303,
"removed_line_numbers": []
}
] |
napari__napari__2099 | napari/napari | b3dd593ea1b29e48e38ef3729bced196ab6aab6d | diff --git a/docs/release/release_0_4_3.md b/docs/release/release_0_4_3.md
index ed2c58f4cd5..f5282330334 100644
--- a/docs/release/release_0_4_3.md
+++ b/docs/release/release_0_4_3.md
@@ -82,6 +82,7 @@ Finally we've added our [0.4 series roadmap](https://napari.org/docs/dev/develop
- Coerce name before layer is added... | simple | Python | 2021-01-13T17:05:49 | docker.io/biningbin/active-swe:simple-napari__napari__2099 | [
"napari/plugins/__init__.py"
] | [
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate the conda environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source activate testbed
cd /testbed
# Ensure we're on the correct commit for the target test file
# Apply the test pa... | [
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[good_magic_kwargs]"
] | [
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[bad_tuple2]",
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[tuple_list]",
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[single_func]",
"napari/plugins/_tests/t... | {
"napari__napari__2099": [
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[good_magic_kwargs]"
]
} | {
"napari__napari__2099": [
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[bad_tuple2]",
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[tuple_list]",
"napari/plugins/_tests/test_plugin_widgets.py::test_function_widget_registration[single_... | [
{
"file": "docs/release/release_0_4_3.md",
"old_start": 82,
"removed_line_numbers": []
},
{
"file": "napari/plugins/__init__.py",
"old_start": 89,
"removed_line_numbers": [
92
]
},
{
"file": "napari/plugins/__init__.py",
"old_start": 133,
"removed_line_numbers":... |
napari__napari__3328 | napari/napari | fa785db08bb41e910ab492544835fc6431ef83b3 | diff --git a/napari/_qt/qt_event_loop.py b/napari/_qt/qt_event_loop.py
index 89d4dedfb3e..10e0a53a092 100644
--- a/napari/_qt/qt_event_loop.py
+++ b/napari/_qt/qt_event_loop.py
@@ -55,6 +55,7 @@ def set_app_id(app_id):
# store reference to QApplication to prevent garbage collection
_app_ref = None
+_IPYTHON_WAS_HER... | simple | Python | 2021-09-02T19:58:12 | docker.io/biningbin/active-swe:simple-napari__napari__3328 | [
"napari/_qt/qt_event_loop.py"
] | [
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate the conda environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /opt/miniconda3/bin/activate
conda activate testbed
cd /testbed
# Apply test patch using heredoc
git apply -v -... | [
"napari/_qt/_tests/test_app.py::test_run_outside_ipython"
] | [] | {
"napari__napari__3328": [
"napari/_qt/_tests/test_app.py::test_run_outside_ipython"
]
} | {
"napari__napari__3328": []
} | [
{
"file": "napari/_qt/qt_event_loop.py",
"old_start": 55,
"removed_line_numbers": []
},
{
"file": "napari/_qt/qt_event_loop.py",
"old_start": 165,
"removed_line_numbers": [
168
]
}
] |
napari__napari__3670 | napari/napari | 1f9cbfc6e771620a19c0072764ccfc14be661dc4 | diff --git a/napari/_vispy/layers/image.py b/napari/_vispy/layers/image.py
index ea24a979715..ba682d71c3d 100644
--- a/napari/_vispy/layers/image.py
+++ b/napari/_vispy/layers/image.py
@@ -64,18 +64,21 @@ def __init__(self, layer, node=None):
self._on_experimental_slicing_plane_normal_change
)
+... | simple | Python | 2021-11-23T03:34:44 | docker.io/biningbin/active-swe:simple-napari__napari__3670 | [
"napari/_vispy/layers/image.py"
] | [
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source activate testbed
cd /testbed
# Apply test patch using heredoc
git apply -v - <<'EOF_114329324912'
diff --git a/napari/_qt/_tests/test_qt_viewer.p... | [
"napari/_qt/_tests/test_qt_viewer.py::test_remove_add_image_3D"
] | [] | {
"napari__napari__3670": [
"napari/_qt/_tests/test_qt_viewer.py::test_remove_add_image_3D"
]
} | {
"napari__napari__3670": []
} | [
{
"file": "napari/_vispy/layers/image.py",
"old_start": 64,
"removed_line_numbers": [
71,
78
]
}
] |
tobymao__sqlglot__899 | tobymao/sqlglot | bac38151a8d72687247922e6898696be43ff4992 | diff --git a/sqlglot/dialects/clickhouse.py b/sqlglot/dialects/clickhouse.py
index 6e655c2118..3ef467b1f6 100644
--- a/sqlglot/dialects/clickhouse.py
+++ b/sqlglot/dialects/clickhouse.py
@@ -11,13 +11,6 @@ def _lower_func(sql):
return sql[:index].lower() + sql[index:]
-def _quantile_sql(self, expression: exp.Q... | simple | Python | 2023-01-06T21:58:13 | docker.io/biningbin/active-swe:simple-tobymao__sqlglot__899 | [
"sqlglot/dialects/clickhouse.py",
"sqlglot/expressions.py"
] | [
"Data Processing & Type"
] | unittest | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD... |
#!/bin/bash
set -uxo pipefail
set +u
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source /root/.bashrc
set -u
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/tests/dialects/test_clickhouse.py b/tests/dialects/test_c... | [
"test_clickhouse (tests.dialects.test_clickhouse.TestClickhouse.test_clickhouse)"
] | [] | {
"tobymao__sqlglot__899": [
"test_clickhouse (tests.dialects.test_clickhouse.TestClickhouse.test_clickhouse)"
]
} | {
"tobymao__sqlglot__899": []
} | [
{
"file": "sqlglot/dialects/clickhouse.py",
"old_start": 11,
"removed_line_numbers": [
14,
15,
16,
17,
18,
19,
20
]
},
{
"file": "sqlglot/dialects/clickhouse.py",
"old_start": 44,
"removed_line_numbers": [
47,
48
]
},
{
... |
tobymao__sqlglot__772 | tobymao/sqlglot | bb8303c7c1c89f2fad7e90c49c2fbb55a6270756 | diff --git a/sqlglot/expressions.py b/sqlglot/expressions.py
index da7720326f..ab35b1f79b 100644
--- a/sqlglot/expressions.py
+++ b/sqlglot/expressions.py
@@ -2447,7 +2447,7 @@ class ArrayFilter(Func):
class ArraySize(Func):
- pass
+ arg_types = {"this": True, "expression": False}
class ArraySort(Func): | simple | Python | 2022-11-28T16:43:10 | docker.io/biningbin/active-swe:simple-tobymao__sqlglot__772 | [
"sqlglot/expressions.py"
] | [
"Data Processing & Type"
] | unittest | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/tests/dialects/test_duckdb.py b/tests/dialects/test_duckdb.py
index 0678702266..4d605506b3 10... | [
"test_duckdb (tests.dialects.test_duckdb.TestDuckDB)"
] | [
"test_time (tests.dialects.test_duckdb.TestDuckDB)"
] | {
"tobymao__sqlglot__772": [
"test_duckdb (tests.dialects.test_duckdb.TestDuckDB)"
]
} | {
"tobymao__sqlglot__772": [
"test_time (tests.dialects.test_duckdb.TestDuckDB)"
]
} | [
{
"file": "sqlglot/expressions.py",
"old_start": 2447,
"removed_line_numbers": [
2450
]
}
] |
tobymao__sqlglot__1340 | tobymao/sqlglot | 80f14e391eee52768ed168fd44209e9e5869655e | diff --git a/sqlglot/dialects/duckdb.py b/sqlglot/dialects/duckdb.py
index e773dff52c..c03420802b 100644
--- a/sqlglot/dialects/duckdb.py
+++ b/sqlglot/dialects/duckdb.py
@@ -80,6 +80,7 @@ class DuckDB(Dialect):
class Tokenizer(tokens.Tokenizer):
KEYWORDS = {
**tokens.Tokenizer.KEYWORDS,
+ ... | simple | Python | 2023-03-24T14:33:08 | docker.io/biningbin/active-swe:simple-tobymao__sqlglot__1340 | [
"sqlglot/dialects/duckdb.py"
] | [
"Domain-specific Workflow"
] | unittest | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate the conda environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source activate testbed
cd /testbed
# Apply the test patch (will be replaced with actual content during execution)
git... | [
"test_duckdb (tests.dialects.test_duckdb.TestDuckDB)"
] | [
"test_array (tests.dialects.test_duckdb.TestDuckDB)",
"test_bool_or (tests.dialects.test_duckdb.TestDuckDB)",
"test_sample (tests.dialects.test_duckdb.TestDuckDB)",
"test_cast (tests.dialects.test_duckdb.TestDuckDB)",
"test_time (tests.dialects.test_duckdb.TestDuckDB)"
] | {
"tobymao__sqlglot__1340": [
"test_duckdb (tests.dialects.test_duckdb.TestDuckDB)"
]
} | {
"tobymao__sqlglot__1340": [
"test_array (tests.dialects.test_duckdb.TestDuckDB)",
"test_bool_or (tests.dialects.test_duckdb.TestDuckDB)",
"test_sample (tests.dialects.test_duckdb.TestDuckDB)",
"test_cast (tests.dialects.test_duckdb.TestDuckDB)",
"test_time (tests.dialects.test_duckdb.TestDuckDB)... | [
{
"file": "sqlglot/dialects/duckdb.py",
"old_start": 80,
"removed_line_numbers": []
}
] |
tobymao__sqlglot__1309 | tobymao/sqlglot | 1b094368a41af487e4a0f94ba62b24b7b6ea1134 | diff --git a/sqlglot/expressions.py b/sqlglot/expressions.py
index 3123fb42a6..37c64a9424 100644
--- a/sqlglot/expressions.py
+++ b/sqlglot/expressions.py
@@ -3681,6 +3681,7 @@ class Quantile(AggFunc):
# https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/quantiles/#quantiles
class Quantiles(Ag... | simple | Python | 2023-03-17T19:59:42 | docker.io/biningbin/active-swe:simple-tobymao__sqlglot__1309 | [
"sqlglot/expressions.py"
] | [
"Domain-specific Workflow"
] | unittest | parse_log_django | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate the conda environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source activate testbed
cd /testbed
# Checkout the specific version of the test file(s) to ensure clean state
# Apply... | [
"test_clickhouse (tests.dialects.test_clickhouse.TestClickhouse)"
] | [
"test_cte (tests.dialects.test_clickhouse.TestClickhouse)"
] | {
"tobymao__sqlglot__1309": [
"test_clickhouse (tests.dialects.test_clickhouse.TestClickhouse)"
]
} | {
"tobymao__sqlglot__1309": [
"test_cte (tests.dialects.test_clickhouse.TestClickhouse)"
]
} | [
{
"file": "sqlglot/expressions.py",
"old_start": 3681,
"removed_line_numbers": []
}
] |
pandas-dev__pandas__44873 | pandas-dev/pandas | a754bb5921b02aed37c973b026fe1f29880e2d43 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 916bcf3db9a4a..9fde24ba89891 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -710,6 +710,7 @@ Missing
- Bug in :meth:`DataFrame.fillna` not replacing missing values when using a dict-like ``value`` an... | simple | Python | 2021-12-14T17:57:35 | docker.io/biningbin/active-swe:simple-pandas-dev__pandas__44873 | [
"pandas/core/indexes/base.py",
"pandas/core/indexes/category.py"
] | [
"Logic & Computation"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Activate conda environment properly inside container
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
eval "$(conda shell.bash hook)"
conda activate testbed
cd /testbed
git apply -v - <<'EOF_11432932... | [
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_copies_with_no_nas"
] | [
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_validates_with_no_nas",
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_categorical"
] | {
"pandas-dev__pandas__44873": [
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_copies_with_no_nas"
]
} | {
"pandas-dev__pandas__44873": [
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_validates_with_no_nas",
"pandas/tests/indexes/categorical/test_fillna.py::TestFillNA::test_fillna_categorical"
]
} | [
{
"file": "doc/source/whatsnew/v1.4.0.rst",
"old_start": 710,
"removed_line_numbers": []
},
{
"file": "pandas/core/indexes/base.py",
"old_start": 2723,
"removed_line_numbers": [
2731
]
},
{
"file": "pandas/core/indexes/category.py",
"old_start": 377,
"removed_li... |
pandas-dev__pandas__39420 | pandas-dev/pandas | 2c4c9f3bad6d95ad49fba7879c27ecd6cd8cff4f | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 1dcde2000fc89..3be38e123b5d5 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -330,6 +330,7 @@ I/O
- Bug in :func:`read_csv` not switching ``true_values`` and ``false_values`` for nullable ``boolean`` ... | simple | Python | 2021-01-30T20:46:14 | docker.io/biningbin/active-swe:simple-pandas-dev__pandas__39420 | [
"pandas/core/computation/pytables.py"
] | [
"Domain-specific Workflow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
source activate testbed
cd /testbed
# Checkout the target test file to ensure clean state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
dif... | [
"pandas/tests/io/pytables/test_categorical.py::test_convert_value[col==\"q\"-df0-expected0]"
] | [
"pandas/tests/io/pytables/test_categorical.py::test_categorical",
"pandas/tests/io/pytables/test_categorical.py::test_convert_value[col==\"a\"-df1-expected1]",
"pandas/tests/io/pytables/test_categorical.py::test_categorical_conversion",
"pandas/tests/io/pytables/test_categorical.py::test_categorical_nan_only_... | {
"pandas-dev__pandas__39420": [
"pandas/tests/io/pytables/test_categorical.py::test_convert_value[col==\"q\"-df0-expected0]"
]
} | {
"pandas-dev__pandas__39420": [
"pandas/tests/io/pytables/test_categorical.py::test_categorical",
"pandas/tests/io/pytables/test_categorical.py::test_convert_value[col==\"a\"-df1-expected1]",
"pandas/tests/io/pytables/test_categorical.py::test_categorical_conversion",
"pandas/tests/io/pytables/test_c... | [
{
"file": "doc/source/whatsnew/v1.3.0.rst",
"old_start": 330,
"removed_line_numbers": []
},
{
"file": "pandas/core/computation/pytables.py",
"old_start": 210,
"removed_line_numbers": [
213,
214,
215,
216,
217
]
}
] |
pandas-dev__pandas__47206 | pandas-dev/pandas | 4791cd75c0c26f3df42cb945e73125a91b324cc8 | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 54cad82366e43..5898e51ab5f52 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.replace` when the replacement value was explicitly ... | simple | Python | 2022-06-05T22:47:18 | docker.io/biningbin/active-swe:simple-pandas-dev__pandas__47206 | [
"pandas/core/indexes/api.py"
] | [
"Reference & Data Flow"
] | pytest | parse_log_pytest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PYTHONPATH="/testbed${PYTHONPATH:+:$PYTHONPATH}"
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked envir... |
#!/bin/bash
set -x -o pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export PIP_NO_INDEX=1
export PIP_DISABLE_PIP_VERSION_CHECK=1
export PS1=${PS1:-}
source /root/.bashrc
cd /testbed
# Checkout target test file to ensure clean state
# Apply test patch
git apply -v - <<'EOF_1143293... | [
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_outer_sort_columns",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_sort_columns_one_df",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_inner_sort_columns"
] | [
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_concat_copies[0-F-True]",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_concat_copies[1-C-False]",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_concat_copies[1-F-False]",
"pandas/... | {
"pandas-dev__pandas__47206": [
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_outer_sort_columns",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_sort_columns_one_df",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_inner_so... | {
"pandas-dev__pandas__47206": [
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_concat_copies[0-F-True]",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::test_concat_copies[1-C-False]",
"pandas/tests/reshape/concat/test_dataframe.py::TestDataFrameConcat::tes... | [
{
"file": "doc/source/whatsnew/v1.4.3.rst",
"old_start": 17,
"removed_line_numbers": []
},
{
"file": "pandas/core/indexes/api.py",
"old_start": 1,
"removed_line_numbers": []
},
{
"file": "pandas/core/indexes/api.py",
"old_start": 10,
"removed_line_numbers": []
},
{
... |
Active-SWE
Paper | Project Page | HF Space | Code | Dataset | Docker Images
Active-SWE is a proactive bug-fixing benchmark for evaluating whether a coding model can find and repair functional bugs from a set of files selected for review. It is designed for local Docker-based evaluation and is different from issue-based benchmarks that provide a complete issue description as the main input.
The benchmark evaluates two kinds of instances:
- simple: an instance centered on one source bug.
- hard: an instance that combines multiple source bugs and supports multi-bug validation.
The set column identifies the instance type. The same instance_id can occur
once in each set, so use (set, instance_id) as the stable key when combining
the two sets.
Files
This dataset repository contains one configuration with two previewable splits:
| Split | File | Rows | simple | hard | Use |
|---|---|---|---|---|---|
main |
data/Active-SWE.parquet |
400 | 300 | 100 | Main evaluation set |
extend |
data/Active-SWE-Extend.parquet |
1663 | 1411 | 252 | Extended evaluation set |
The extended set contains the larger evaluation pool. The main set is intended for a smaller, faster evaluation run.
Data fields
| Field | Description |
|---|---|
instance_id |
Public instance identifier |
repo |
Source repository in owner/name form |
base_commit |
Repository commit used as the evaluation base |
patch |
Ground-truth patch for oracle and evaluation use |
set |
simple or hard |
language |
Main programming language |
merged_at |
Source change timestamp, when available |
image |
Docker image used by the evaluation harness |
files_pending_review |
Files provided to the proactive review stage |
major_category |
Bug taxonomy labels |
test_framework |
Test framework used by the instance |
log_parser |
Harness log parser for the test output |
template |
Template used to render the evaluation command |
eval_script |
Instance-specific evaluation script |
FAIL_TO_PASS |
Tests expected to pass after the ground-truth fix |
PASS_TO_PASS |
Tests expected to remain passing |
source_f2p |
Source-level F2P mapping, mainly used for hard instances |
source_p2p |
Source-level P2P mapping, mainly used for hard instances |
edit_hunks |
Changed-file and hunk metadata |
The Parquet files include oracle and evaluation fields because they are needed
by the harness to calculate the benchmark metrics. They should not be exposed
as model input during generation. In particular, patch, eval_script,
FAIL_TO_PASS, PASS_TO_PASS, and source-level oracle fields are evaluation
inputs, not prompt fields for the proactive review model.
Images
The image column contains the exact Docker image reference used by the
release harness. Images are hosted in the public Docker Hub repository
docker.io/biningbin/active-swe and are tagged with the simple- or hard-
prefix. The dataset does not contain image layers; pull the referenced image
before running an evaluation.
For example:
docker pull docker.io/biningbin/active-swe:simple-pylint-dev__pylint-5417
Loading the dataset
from datasets import load_dataset
dataset = load_dataset("XLearning-SCU/Active-SWE", name="main")
main_data = dataset["main"]
extend_data = dataset["extend"]
Or download one file with the Hugging Face CLI:
hf download XLearning-SCU/Active-SWE data/Active-SWE.parquet \
--repo-type dataset --local-dir ./active_swe_data
Evaluation protocol
The release harness runs the benchmark stages locally with Docker. The model first receives the files pending review and generates a code patch. Later stages can generate and validate tests, and the harness runs the rendered evaluation scripts inside the referenced image.
The primary paper-facing metrics are:
LR | LP | Resolved | Count | TV | Revealed
The denominator is the number of rows supplied to the corresponding run. The release harness preserves one output row per input instance, including rows that fail during generation or evaluation.
Paper
Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports
Haobin Li, Ping Deng, Weizhong Qian, Liang Jiang, Zhenyu Huang, Mouxing Yang, and Xi Peng.
Active-SWE evaluates coding agents on proactively discovering and fixing bugs without issue-report guidance. The benchmark contains 1,663 tasks across six bug categories and eight programming languages, including both single-bug and multi-bug evaluation settings.
- Project page: https://hbinli.github.io/Active-SWE/
- Paper: https://arxiv.org/abs/2608.04682
- PDF: https://arxiv.org/pdf/2608.04682
- Code: https://github.com/XLearning-SCU/Active-SWE
- Docker images: https://hub.docker.com/r/biningbin/active-swe
Citation and source licenses
Please cite the Active-SWE paper when using this dataset:
@article{li2026activeswe,
title={Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports},
author={Li, Haobin and Deng, Ping and Qian, Weizhong and Jiang, Liang and Huang, Zhenyu and Yang, Mouxing and Peng, Xi},
journal={arXiv preprint arXiv:2608.04682},
year={2026}
}
The source repositories represented in the benchmark retain their respective licenses; users are responsible for complying with those licenses when inspecting or redistributing source code and patches.
- Downloads last month
- 86