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:50Z | 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:28Z | 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:04Z | 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:02Z | 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:33Z | 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:44Z | 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:01Z | 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:04Z | 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:54Z | 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:14Z | 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:02Z | 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:24Z | 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:33Z | 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:16Z | 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:33Z | 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:49Z | 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:12Z | 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:44Z | 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:13Z | 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:10Z | 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:08Z | 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:42Z | 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:35Z | 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:14Z | 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:18Z | 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": []
},
{
... |
pandas-dev__pandas__48660 | pandas-dev/pandas | d1ecf63e2040daecad6e0a8485a35e8a23393795 | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 43021fcbc13fb..620e3806a33b5 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -1594,8 +1594,9 @@
"\n",
"\n",
"- Only CSS2 named colors and hex colors of the form `#rgb` or `#r... | simple | Python | 2022-11-29T02:56:56Z | docker.io/biningbin/active-swe:simple-pandas-dev__pandas__48660 | [
"pandas/io/formats/css.py",
"pandas/io/formats/excel.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
[TEST_PATCH]
[TEST_CMD... |
#!/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/pandas/tests/io/excel/test_style.py b/pandas/tests/io/excel/test_style.py
index 00f6ccb96a905... | [
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_style[dashDot-xlsxwriter]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_styleediumDashed-openpyxl]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_style[hair-openpyxl]",
"pandas/tests/io/excel/test_styl... | [
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_basic_indexes[text-decoration: underline;-attrs5-single-openpyxl]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_basic_indexes[border: 1pt solid #111222-attrs25-expected25-openpyxl]",
"pandas/tests/io/excel/test_style.py::test_styler_to_ex... | {
"pandas-dev__pandas__48660": [
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_style[dashDot-xlsxwriter]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_styleediumDashed-openpyxl]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_border_style[hair-openpyx... | {
"pandas-dev__pandas__48660": [
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_basic_indexes[text-decoration: underline;-attrs5-single-openpyxl]",
"pandas/tests/io/excel/test_style.py::test_styler_to_excel_basic_indexes[border: 1pt solid #111222-attrs25-expected25-openpyxl]",
"pandas/tests/io... | [
{
"file": "doc/source/user_guide/style.ipynb",
"old_start": 1594,
"removed_line_numbers": [
1597
]
},
{
"file": "doc/source/whatsnew/v1.5.3.rst",
"old_start": 21,
"removed_line_numbers": [
24
]
},
{
"file": "pandas/io/formats/css.py",
"old_start": 105,
... |
scikit-learn__scikit-learn-30514 | scikit-learn/scikit-learn | 4f847f5ad881d46b1f8892ecf8d8adcd11e95d98 | diff --git a/examples/manifold/plot_mds.py b/examples/manifold/plot_mds.py
--- a/examples/manifold/plot_mds.py
+++ b/examples/manifold/plot_mds.py
@@ -21,31 +21,34 @@
from sklearn.decomposition import PCA
from sklearn.metrics import euclidean_distances
+# Generate the data
EPSILON = np.finfo(np.float32).eps
n_sam... | simple | Python | 2025-03-31T09:25:50Z | docker.io/biningbin/active-swe:simple-scikit-learn__scikit-learn-30514 | [
"examples/manifold/plot_mds.py",
"sklearn/manifold/_mds.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
# Apply test patch using he... | [
"sklearn/manifold/tests/test_mds.py::test_nonmetric_mds_optimization",
"sklearn/manifold/tests/test_mds.py::test_isotonic_outofbounds",
"sklearn/manifold/tests/test_mds.py::test_nonmetric_lower_normalized_stress",
"sklearn/manifold/tests/test_mds.py::test_returned_stress"
] | [
"sklearn/manifold/tests/test_mds.py::test_mds_recovers_true_data[False]",
"sklearn/manifold/tests/test_mds.py::test_normalized_stress_auto[True]",
"sklearn/manifold/tests/test_mds.py::test_smacof_error",
"sklearn/manifold/tests/test_mds.py::test_mds_recovers_true_data[True]",
"sklearn/manifold/tests/test_md... | {
"scikit-learn__scikit-learn-30514": [
"sklearn/manifold/tests/test_mds.py::test_nonmetric_mds_optimization",
"sklearn/manifold/tests/test_mds.py::test_isotonic_outofbounds",
"sklearn/manifold/tests/test_mds.py::test_nonmetric_lower_normalized_stress",
"sklearn/manifold/tests/test_mds.py::test_return... | {
"scikit-learn__scikit-learn-30514": [
"sklearn/manifold/tests/test_mds.py::test_mds_recovers_true_data[False]",
"sklearn/manifold/tests/test_mds.py::test_normalized_stress_auto[True]",
"sklearn/manifold/tests/test_mds.py::test_smacof_error",
"sklearn/manifold/tests/test_mds.py::test_mds_recovers_tru... | [
{
"file": "examples/manifold/plot_mds.py",
"old_start": 21,
"removed_line_numbers": [
26,
27,
32,
34,
35,
37,
38,
44,
48
]
},
{
"file": "examples/manifold/plot_mds.py",
"old_start": 53,
"removed_line_numbers": [
56,
60... |
scikit-learn__scikit-learn-21145 | scikit-learn/scikit-learn | 1bf13d567d3cd74854aa8343fd25b61dd768bb85 | diff --git a/sklearn/utils/metaestimators.py b/sklearn/utils/metaestimators.py
--- a/sklearn/utils/metaestimators.py
+++ b/sklearn/utils/metaestimators.py
@@ -194,7 +194,9 @@ def _check(self, obj):
if delegate is None:
return False
# raise original AttributeError
- return getattr(d... | simple | Python | 2021-10-20T14:36:15Z | docker.io/biningbin/active-swe:simple-scikit-learn__scikit-learn-21145 | [
"sklearn/utils/metaestimators.py"
] | [
"Exception Safety"
] | 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... | [
"sklearn/utils/tests/test_metaestimators.py::test_if_delegate_has_method_numpy_array"
] | [
"sklearn/utils/tests/test_metaestimators.py::test_available_if_docstring",
"sklearn/utils/tests/test_metaestimators.py::test_if_delegate_has_method",
"sklearn/utils/tests/test_metaestimators.py::test_delegated_docstring",
"sklearn/utils/tests/test_metaestimators.py::test_available_if_unbound_method",
"sklea... | {
"scikit-learn__scikit-learn-21145": [
"sklearn/utils/tests/test_metaestimators.py::test_if_delegate_has_method_numpy_array"
]
} | {
"scikit-learn__scikit-learn-21145": [
"sklearn/utils/tests/test_metaestimators.py::test_available_if_docstring",
"sklearn/utils/tests/test_metaestimators.py::test_if_delegate_has_method",
"sklearn/utils/tests/test_metaestimators.py::test_delegated_docstring",
"sklearn/utils/tests/test_metaestimators... | [
{
"file": "sklearn/utils/metaestimators.py",
"old_start": 194,
"removed_line_numbers": [
197
]
}
] |
scikit-learn__scikit-learn-24951 | scikit-learn/scikit-learn | 2c1581c32e641e535305647eb57a1787bcf803f0 | diff --git a/sklearn/datasets/_lfw.py b/sklearn/datasets/_lfw.py
--- a/sklearn/datasets/_lfw.py
+++ b/sklearn/datasets/_lfw.py
@@ -159,7 +159,9 @@ def _load_imgs(file_paths, slice_, color, resize):
# Checks if jpeg reading worked. Refer to issue #3594 for more
# details.
pil_img = Image.open(... | simple | Python | 2022-11-16T14:36:34Z | docker.io/biningbin/active-swe:simple-scikit-learn__scikit-learn-24951 | [
"sklearn/datasets/_lfw.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... | [
"sklearn/datasets/tests/test_lfw.py::test_fetch_lfw_people_internal_cropping"
] | [
"sklearn/datasets/tests/test_lfw.py::test_load_fake_lfw_people",
"sklearn/datasets/tests/test_lfw.py::test_load_fake_lfw_pairs",
"sklearn/datasets/tests/test_lfw.py::test_load_empty_lfw_people",
"sklearn/datasets/tests/test_lfw.py::test_load_empty_lfw_pairs",
"sklearn/datasets/tests/test_lfw.py::test_load_f... | {
"scikit-learn__scikit-learn-24951": [
"sklearn/datasets/tests/test_lfw.py::test_fetch_lfw_people_internal_cropping"
]
} | {
"scikit-learn__scikit-learn-24951": [
"sklearn/datasets/tests/test_lfw.py::test_load_fake_lfw_people",
"sklearn/datasets/tests/test_lfw.py::test_load_fake_lfw_pairs",
"sklearn/datasets/tests/test_lfw.py::test_load_empty_lfw_people",
"sklearn/datasets/tests/test_lfw.py::test_load_empty_lfw_pairs",
... | [
{
"file": "sklearn/datasets/_lfw.py",
"old_start": 159,
"removed_line_numbers": [
162
]
},
{
"file": "sklearn/datasets/_lfw.py",
"old_start": 263,
"removed_line_numbers": [
266,
267
]
}
] |
scikit-learn__scikit-learn-19271 | scikit-learn/scikit-learn | 38e6022e24e1a3c91f932fec87302ffc0610651b | diff --git a/sklearn/semi_supervised/_label_propagation.py b/sklearn/semi_supervised/_label_propagation.py
--- a/sklearn/semi_supervised/_label_propagation.py
+++ b/sklearn/semi_supervised/_label_propagation.py
@@ -279,6 +279,7 @@ def fit(self, X, y):
if self._variant == 'propagation':
nor... | simple | Python | 2021-02-01T20:53:37Z | docker.io/biningbin/active-swe:simple-scikit-learn__scikit-learn-19271 | [
"sklearn/semi_supervised/_label_propagation.py"
] | [
"Exception Safety"
] | 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 files that were co... | [
"sklearn/semi_supervised/tests/test_label_propagation.py::test_label_propagation_non_zero_normalizer[LabelPropagation]"
] | [
"sklearn/semi_supervised/tests/test_label_propagation.py::test_label_spreading_closed_form",
"sklearn/semi_supervised/tests/test_label_propagation.py::test_fit_transduction",
"sklearn/semi_supervised/tests/test_label_propagation.py::test_convergence_speed",
"sklearn/semi_supervised/tests/test_label_propagatio... | {
"scikit-learn__scikit-learn-19271": [
"sklearn/semi_supervised/tests/test_label_propagation.py::test_label_propagation_non_zero_normalizer[LabelPropagation]"
]
} | {
"scikit-learn__scikit-learn-19271": [
"sklearn/semi_supervised/tests/test_label_propagation.py::test_label_spreading_closed_form",
"sklearn/semi_supervised/tests/test_label_propagation.py::test_fit_transduction",
"sklearn/semi_supervised/tests/test_label_propagation.py::test_convergence_speed",
"skl... | [
{
"file": "sklearn/semi_supervised/_label_propagation.py",
"old_start": 279,
"removed_line_numbers": []
}
] |
pylint-dev__pylint-5964 | pylint-dev/pylint | 556304eb1e54c67940d0f9d0497ffa368b50a22a | diff --git a/pylint/checkers/format.py b/pylint/checkers/format.py
--- a/pylint/checkers/format.py
+++ b/pylint/checkers/format.py
@@ -320,6 +320,7 @@ def new_line(self, tokens, line_end, line_start):
def process_module(self, _node: nodes.Module) -> None:
pass
+ # pylint: disable-next=too-many-return... | simple | Python | 2022-03-26T22:31:50Z | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-5964 | [
"pylint/checkers/format.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/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"tests/test_functional.py::test_functional[superfluous_parens]"
] | [] | {
"pylint-dev__pylint-5964": [
"tests/test_functional.py::test_functional[superfluous_parens]"
]
} | {
"pylint-dev__pylint-5964": []
} | [
{
"file": "pylint/checkers/format.py",
"old_start": 320,
"removed_line_numbers": []
},
{
"file": "pylint/checkers/format.py",
"old_start": 382,
"removed_line_numbers": [
385,
386,
387,
388,
389,
390,
391,
392,
393,
394,
39... |
pylint-dev__pylint-5155 | pylint-dev/pylint | ab775f6f4507a1f0cd9dab0fd027c2f08be06928 | diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -1452,9 +1452,13 @@ def visit_dict(self, node: nodes.Dict) -> None:
for k, _ in node.items:
if isinstance(k, nodes.Const):
key = k.value
- i... | simple | Python | 2021-10-16T08:00:51Z | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-5155 | [
"pylint/checkers/base.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/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Set PYTHONPATH to ensure ... | [
"tests/test_functional.py::test_functional[duplicate_dict_literal_key]"
] | [] | {
"pylint-dev__pylint-5155": [
"tests/test_functional.py::test_functional[duplicate_dict_literal_key]"
]
} | {
"pylint-dev__pylint-5155": []
} | [
{
"file": "pylint/checkers/base.py",
"old_start": 1452,
"removed_line_numbers": [
1455,
1456,
1457
]
}
] |
pylint-dev__pylint-7472 | pylint-dev/pylint | a57edea63fa7a1edfcb63074f9e2a373ebabb7cd | --- a/pylint/checkers/modified_iterating_checker.py
+++ b/pylint/checkers/modified_iterating_checker.py
@@ -125,13 +125,13 @@
return isinstance(node, nodes.Assign) and (
isinstance(node.targets[0], nodes.Subscript)
and (isinstance(node.targets[0].value, nodes.Name))
)
... | simple | Python | 2022-09-16T07:24:19Z | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-7472 | [
"pylint/checkers/modified_iterating_checker.py",
"pylint/checkers/variables.py"
] | [
"Logic & Computation",
"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/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using h... | [
"tests/test_functional.py::test_functional[globals]",
"tests/test_functional.py::test_functional[unused_variable]",
"tests/test_functional.py::test_functionalodified_iterating]"
] | [
"tests/test_functional.py::test_functional[unused_variable_after_inference]",
"tests/test_functional.py::test_functional[unused_variable_py36]",
"tests/test_functional.py::test_functional[unused_variable_py38]"
] | {
"pylint-dev__pylint-7472": [
"tests/test_functional.py::test_functionalodified_iterating]"
],
"pylint-dev__pylint-7479": [
"tests/test_functional.py::test_functional[globals]",
"tests/test_functional.py::test_functional[unused_variable]"
]
} | {
"pylint-dev__pylint-7472": [
"tests/test_functional.py::test_functional[unused_variable_after_inference]",
"tests/test_functional.py::test_functional[unused_variable_py36]",
"tests/test_functional.py::test_functional[unused_variable_py38]"
],
"pylint-dev__pylint-7479": [
"tests/test_functional.p... | [
{
"file": "pylint/checkers/modified_iterating_checker.py",
"old_start": 128,
"removed_line_numbers": [
131
]
},
{
"file": "pylint/checkers/modified_iterating_checker.py",
"old_start": 141,
"removed_line_numbers": [
144
]
},
{
"file": "pylint/checkers/modified_... |
pylint-dev__pylint-7831 | pylint-dev/pylint | 15733b4c8117e19e57e60a003e693ca2a5c494a7 | diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.py
@@ -1135,6 +1135,11 @@ def _looks_like_infinite_iterator(param: nodes.NodeNG) -> bool:
... | simple | Python | 2022-11-24T20:51:04Z | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-7831 | [
"pylint/checkers/refactoring/refactoring_checker.py"
] | [
"Exception Safety"
] | 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/test_functional.py::test_functional[stop_iteration_inside_generator]"
] | [] | {
"pylint-dev__pylint-7831": [
"tests/test_functional.py::test_functional[stop_iteration_inside_generator]"
]
} | {
"pylint-dev__pylint-7831": []
} | [
{
"file": "pylint/checkers/refactoring/refactoring_checker.py",
"old_start": 1135,
"removed_line_numbers": []
}
] |
pylint-dev__pylint-6710 | pylint-dev/pylint | 2966a3abb81a569cc550f6ef431f862aab2b8ecb | diff --git a/pylint/checkers/classes/class_checker.py b/pylint/checkers/classes/class_checker.py
--- a/pylint/checkers/classes/class_checker.py
+++ b/pylint/checkers/classes/class_checker.py
@@ -1028,7 +1028,7 @@ def _check_unused_private_attributes(self, node: nodes.ClassDef) -> None:
if attribute.att... | simple | Python | 2022-05-26T20:21:09Z | docker.io/biningbin/active-swe:simple-pylint-dev__pylint-6710 | [
"pylint/checkers/classes/class_checker.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/bin/activate
conda activate testbed
# Change to testbed directory
cd /testbed
# Apply test patch using he... | [
"tests/test_functional.py::test_functional[unused_private_member]"
] | [] | {
"pylint-dev__pylint-6710": [
"tests/test_functional.py::test_functional[unused_private_member]"
]
} | {
"pylint-dev__pylint-6710": []
} | [
{
"file": "pylint/checkers/classes/class_checker.py",
"old_start": 1028,
"removed_line_numbers": [
1031
]
}
] |
goccy__go-json__95 | goccy/go-json | d4b5171fdf3153c5ef40c840f441aa7c04c468ff | diff --git a/decode_struct.go b/decode_struct.go
index 41ea0300..4ed88d8e 100644
--- a/decode_struct.go
+++ b/decode_struct.go
@@ -29,11 +29,18 @@ func newStructDecoder(structName, fieldName string, fieldMap map[string]*structF
func (d *structDecoder) decodeStream(s *stream, p unsafe.Pointer) error {
s.skipWhiteSp... | simple | Go | 2021-01-22T13:02:54Z | docker.io/biningbin/active-swe:simple-goccy__go-json__95 | [
"decode_struct.go",
"encode_vm.go",
"encode_vm_escaped.go",
"encode_vm_escaped_indent.go",
"encode_vm_indent.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/cover_string_test.go b/cover_string_test.go
index 04ae5479..d0665cce 100644
--- a/cover_string_test.go
+++ b/cover_s... | [
"TestCoverString"
] | [] | {
"goccy__go-json__95": [
"TestCoverString"
]
} | {
"goccy__go-json__95": []
} | [
{
"file": "decode_struct.go",
"old_start": 29,
"removed_line_numbers": [
32,
34,
35,
36
]
},
{
"file": "decode_struct.go",
"old_start": 92,
"removed_line_numbers": [
95
]
},
{
"file": "encode_vm.go",
"old_start": 6,
"removed_line_numb... |
goccy__go-json__272 | goccy/go-json | a1780c18a6d96c5ae9050882a4c8c6bc9af98745 | diff --git a/internal/cmd/generator/vm.go.tmpl b/internal/cmd/generator/vm.go.tmpl
index f2c992ac..5c623549 100644
--- a/internal/cmd/generator/vm.go.tmpl
+++ b/internal/cmd/generator/vm.go.tmpl
@@ -3439,7 +3439,7 @@ func Run(ctx *encoder.RuntimeContext, b []byte, codeSet *encoder.OpcodeSet) ([]b
code = code.Next
... | simple | Go | 2021-08-12T04:23:44Z | docker.io/biningbin/active-swe:simple-goccy__go-json__272 | [
"internal/encoder/vm/vm.go",
"internal/encoder/vm_color/vm.go",
"internal/encoder/vm_color_indent/vm.go",
"internal/encoder/vm_indent/vm.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/encode_test.go b/encode_test.go
index 98f71b03..83075c54 100644
--- a/encode_test.go
+++ b/encode_test.go
@@ -2086,3... | [
"TestEmbeddedNotFirstField"
] | [] | {
"goccy__go-json__272": [
"TestEmbeddedNotFirstField"
]
} | {
"goccy__go-json__272": []
} | [
{
"file": "internal/cmd/generator/vm.go.tmpl",
"old_start": 3439,
"removed_line_numbers": [
3442
]
},
{
"file": "internal/encoder/vm/vm.go",
"old_start": 3439,
"removed_line_numbers": [
3442
]
},
{
"file": "internal/encoder/vm_color/vm.go",
"old_start": 34... |
goccy__go-json__184 | goccy/go-json | 6fbf3fc7c0b8d6c95de4694b7dcfc282dc0aacbc | diff --git a/decode.go b/decode.go
index d06136d2..14d1a337 100644
--- a/decode.go
+++ b/decode.go
@@ -2,6 +2,7 @@ package json
import (
"encoding"
+ "fmt"
"io"
"reflect"
"strconv"
@@ -40,10 +41,11 @@ func unmarshal(data []byte, v interface{}) error {
if err != nil {
return err
}
- if _, err := dec.de... | simple | Go | 2021-04-10T10:23:45Z | docker.io/biningbin/active-swe:simple-goccy__go-json__184 | [
"decode.go"
] | [
"Domain-specific Workflow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Apply the test patch (will be replaced with actual content at runtime)
git apply -v - <<'EOF_114329324912'
diff --git a/decode_test... | [
"TestInvalidTopLevelValue"
] | [] | {
"goccy__go-json__184": [
"TestInvalidTopLevelValue"
]
} | {
"goccy__go-json__184": []
} | [
{
"file": "decode.go",
"old_start": 2,
"removed_line_numbers": []
},
{
"file": "decode.go",
"old_start": 40,
"removed_line_numbers": [
43,
46
]
},
{
"file": "decode.go",
"old_start": 59,
"removed_line_numbers": [
62,
65
]
}
] |
getkin__kin-openapi__655 | getkin/kin-openapi | 9ea22aedcb3f9fa0b06acb08981c11bc8fde4269 | diff --git a/openapi3/internalize_refs.go b/openapi3/internalize_refs.go
index 1733a495e..6ff6b8578 100644
--- a/openapi3/internalize_refs.go
+++ b/openapi3/internalize_refs.go
@@ -45,19 +45,19 @@ func parametersMapNames(s ParametersMap) []string {
return out
}
-func isExternalRef(ref string) bool {
- return ref !... | simple | Go | 2022-11-29T17:38:44Z | docker.io/biningbin/active-swe:simple-getkin__kin-openapi__655 | [
"openapi3/internalize_refs.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit
# Apply test patch (introduces openapi3/issue618_test.go)
git apply -v - <<'EOF_114329324912'
diff --git a/openapi3/issue618_t... | [
"TestIssue618"
] | [] | {
"getkin__kin-openapi__655": [
"TestIssue618"
]
} | {
"getkin__kin-openapi__655": []
} | [
{
"file": "openapi3/internalize_refs.go",
"old_start": 45,
"removed_line_numbers": [
48,
49,
52,
53,
54,
60
]
},
{
"file": "openapi3/internalize_refs.go",
"old_start": 65,
"removed_line_numbers": [
70,
71,
72,
77
]
},
... |
getkin__kin-openapi__747 | getkin/kin-openapi | 5c0555e4120f1ec285e261e69933701557557abc | diff --git a/openapi3/schema.go b/openapi3/schema.go
index 892f32541..fbf1900db 100644
--- a/openapi3/schema.go
+++ b/openapi3/schema.go
@@ -810,7 +810,7 @@ func (schema *Schema) IsEmpty() bool {
if ap := schema.AdditionalProperties.Schema; ap != nil && !ap.Value.IsEmpty() {
return false
}
- if apa := schema.Add... | simple | Go | 2023-01-22T19:09:52Z | docker.io/biningbin/active-swe:simple-getkin__kin-openapi__747 | [
"openapi3/schema.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit
# Apply the test patch (will be replaced with actual content at runtime)
git apply -v - <<'EOF_114329324912'
diff --git a/open... | [
"TestIssue746"
] | [] | {
"getkin__kin-openapi__747": [
"TestIssue746"
]
} | {
"getkin__kin-openapi__747": []
} | [
{
"file": "openapi3/schema.go",
"old_start": 810,
"removed_line_numbers": [
813
]
}
] |
getkin__kin-openapi__383 | getkin/kin-openapi | 6b4444becdebac4ea5658cbe205bac8c27a7ec41 | diff --git a/openapi3/paths.go b/openapi3/paths.go
index c6ddbf3bf..bdb87ae7d 100644
--- a/openapi3/paths.go
+++ b/openapi3/paths.go
@@ -21,31 +21,60 @@ func (value Paths) Validate(ctx context.Context) error {
pathItem = value[path]
}
- normalizedPath, pathParamsCount := normalizeTemplatedPath(path)
+ normal... | simple | Go | 2021-07-23T12:08:13Z | docker.io/biningbin/active-swe:simple-getkin__kin-openapi__383 | [
"openapi3/paths.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/openapi3/issue382_test.go b/openapi3/issue382_test.go
new file mode 100644
index 000000000..... | [
"TestPathParametersMatchPath"
] | [] | {
"getkin__kin-openapi__383": [
"TestPathParametersMatchPath"
]
} | {
"getkin__kin-openapi__383": []
} | [
{
"file": "openapi3/paths.go",
"old_start": 21,
"removed_line_numbers": [
24,
30,
34,
39,
43,
47,
48
]
},
{
"file": "openapi3/paths.go",
"old_start": 75,
"removed_line_numbers": [
78,
80
]
},
{
"file": "openapi3/paths.... |
kyverno__kyverno__3038 | kyverno/kyverno | 376a8d3b22098c4721c5ed001cadcb58cba8e2ba | diff --git a/pkg/engine/jmespath/arithmetic.go b/pkg/engine/jmespath/arithmetic.go
index 8e3740ef4f08..4eacf58c6af2 100644
--- a/pkg/engine/jmespath/arithmetic.go
+++ b/pkg/engine/jmespath/arithmetic.go
@@ -4,6 +4,7 @@ import (
"fmt"
"math"
"reflect"
+ "strconv"
"time"
"gopkg.in/inf.v0"
@@ -229,7 +230,7 @@ ... | simple | Go | 2022-01-21T11:06:09Z | docker.io/biningbin/active-swe:simple-kyverno__kyverno__3038 | [
"pkg/engine/jmespath/arithmetic.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Activate Go environment
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export CGO_ENABLED=0
export GO111MODULE=on
cd /testbed
# Checkout the specific test file... | [
"Test_Divide"
] | [
"Test_Compare",
"Test_Subtract",
"Test_Replace",
"Test_Base64Decode",
"Test_ParseJsonSerde",
"Test_Add",
"Test_RegexMatchWithNumber",
"Test_RegexMatch",
"Test_TimeSince",
"Test_Truncate",
"Test_HasPrefix",
"Test_ToUpper",
"Test_Split",
"Test_RegexReplaceAll",
"Test_Base64Decode_Secret",
... | {
"kyverno__kyverno__3038": [
"Test_Divide"
]
} | {
"kyverno__kyverno__3038": [
"Test_Compare",
"Test_Subtract",
"Test_Replace",
"Test_Base64Decode",
"Test_ParseJsonSerde",
"Test_Add",
"Test_RegexMatchWithNumber",
"Test_RegexMatch",
"Test_TimeSince",
"Test_Truncate",
"Test_HasPrefix",
"Test_ToUpper",
"Test_Split",
... | [
{
"file": "pkg/engine/jmespath/arithmetic.go",
"old_start": 4,
"removed_line_numbers": []
},
{
"file": "pkg/engine/jmespath/arithmetic.go",
"old_start": 229,
"removed_line_numbers": [
232
]
},
{
"file": "pkg/engine/jmespath/arithmetic.go",
"old_start": 255,
"rem... |
kyverno__kyverno__3137 | kyverno/kyverno | 2b1e7189b17db2952c44c6b78abb0dbe0588cbb2 | diff --git a/pkg/engine/jmespath/arithmetic.go b/pkg/engine/jmespath/arithmetic.go
index 4eacf58c6af2..34b754b584c4 100644
--- a/pkg/engine/jmespath/arithmetic.go
+++ b/pkg/engine/jmespath/arithmetic.go
@@ -227,11 +227,17 @@ func (op1 Scalar) Multiply(op2 interface{}) (interface{}, error) {
func (op1 Quantity) Divide(... | simple | Go | 2022-01-31T17:45:20Z | docker.io/biningbin/active-swe:simple-kyverno__kyverno__3137 | [
"pkg/engine/jmespath/arithmetic.go"
] | [
"Domain-specific Workflow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure Go environment is properly set
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export GO111MODULE=on
expor... | [
"Test_Divide"
] | [
"Test_Compare",
"Test_Subtract",
"Test_Replace",
"Test_ParseJsonSerde",
"Test_Add",
"Test_RegexMatchWithNumber",
"Test_RegexMatch",
"Test_HasPrefix",
"Test_ToUpper",
"Test_Split",
"Test_RegexReplaceAll",
"Test_ParseJsonComplex",
"Test_EqualFold",
"Test_Multiply",
"Test_RegexReplaceAllLit... | {
"kyverno__kyverno__3137": [
"Test_Divide"
]
} | {
"kyverno__kyverno__3137": [
"Test_Compare",
"Test_Subtract",
"Test_Replace",
"Test_ParseJsonSerde",
"Test_Add",
"Test_RegexMatchWithNumber",
"Test_RegexMatch",
"Test_HasPrefix",
"Test_ToUpper",
"Test_Split",
"Test_RegexReplaceAll",
"Test_ParseJsonComplex",
"Test_E... | [
{
"file": "pkg/engine/jmespath/arithmetic.go",
"old_start": 227,
"removed_line_numbers": []
},
{
"file": "pkg/engine/jmespath/arithmetic.go",
"old_start": 283,
"removed_line_numbers": []
}
] |
kyverno__kyverno__2737 | kyverno/kyverno | c30dfe70a52f82fc8bf460e6fe55261a6049077e | diff --git a/pkg/policymutation/policymutation.go b/pkg/policymutation/policymutation.go
index 3166047eecf0..c64babc91a0b 100644
--- a/pkg/policymutation/policymutation.go
+++ b/pkg/policymutation/policymutation.go
@@ -254,6 +254,10 @@ func defaultFailurePolicy(policy *kyverno.ClusterPolicy, log logr.Logger) ([]byt
fu... | simple | Go | 2022-01-19T17:42:31Z | docker.io/biningbin/active-swe:simple-kyverno__kyverno__2737 | [
"pkg/policymutation/policymutation.go"
] | [
"Domain-specific Workflow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Activate Go environment
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export CGO_ENABLED=0
export GO111MODULE=on
export PACKAGE=github.com/kyverno/k... | [
"Test_getControllers"
] | [
"Test_UpdateVariablePath",
"Test_CronJob_hasExclude",
"Test_Exclude",
"Test_Any",
"Test_CronJobAndDeployment",
"Test_All",
"Test_ForEachPod",
"Test_Deny",
"Test_checkForGVKFormatPatch",
"Test_CronJobOnly"
] | {
"kyverno__kyverno__2737": [
"Test_getControllers"
]
} | {
"kyverno__kyverno__2737": [
"Test_UpdateVariablePath",
"Test_CronJob_hasExclude",
"Test_Exclude",
"Test_Any",
"Test_CronJobAndDeployment",
"Test_All",
"Test_ForEachPod",
"Test_Deny",
"Test_checkForGVKFormatPatch",
"Test_CronJobOnly"
]
} | [
{
"file": "pkg/policymutation/policymutation.go",
"old_start": 254,
"removed_line_numbers": []
},
{
"file": "pkg/policymutation/policymutation.go",
"old_start": 288,
"removed_line_numbers": [
291
]
},
{
"file": "pkg/policymutation/policymutation.go",
"old_start": 30... |
kyverno__kyverno__4962 | kyverno/kyverno | a89fbac33324646319e41b48de6f3e2641d45693 | diff --git a/pkg/webhooks/utils/warning.go b/pkg/webhooks/utils/warning.go
index 794e0975a8e1..ff98d4412b67 100644
--- a/pkg/webhooks/utils/warning.go
+++ b/pkg/webhooks/utils/warning.go
@@ -10,7 +10,7 @@ func GetWarningMessages(engineResponses []*response.EngineResponse) []string {
var warnings []string
for _, er ... | simple | Go | 2022-10-17T11:45:57Z | docker.io/biningbin/active-swe:simple-kyverno__kyverno__4962 | [
"pkg/webhooks/utils/warning.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Apply test patch to update target test file
git apply -v - <<'EOF_114329324912'
diff --git a/pkg/webhooks/utils/warning_test.go b/pkg/webhooks/utils/warning_test.... | [
"TestGetWarningMessages"
] | [
"Test_updateRequestUpdater_updateAnnotation",
"TestBlockRequest",
"TestNewUpdateRequestUpdater",
"Test_updateRequestUpdater_setPendingStatus",
"TestExcludeKyvernoResources",
"Test_getAction",
"TestGetBlockedMessages"
] | {
"kyverno__kyverno__4962": [
"TestGetWarningMessages"
]
} | {
"kyverno__kyverno__4962": [
"Test_updateRequestUpdater_updateAnnotation",
"TestBlockRequest",
"TestNewUpdateRequestUpdater",
"Test_updateRequestUpdater_setPendingStatus",
"TestExcludeKyvernoResources",
"Test_getAction",
"TestGetBlockedMessages"
]
} | [
{
"file": "pkg/webhooks/utils/warning.go",
"old_start": 10,
"removed_line_numbers": [
13
]
}
] |
cosmos__cosmos-sdk__13063 | cosmos/cosmos-sdk | db8714da9e9e1dcc4b11682f7543486371d648ab | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b757e243515..7bee3495755c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,7 +39,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Features
-* (x/authz) [#12648](https://github.com/cosmos/cosmos-sdk/pull/12648) Add an allow list, an optional list of addresses all... | simple | Go | 2022-09-01T21:29:28Z | docker.io/biningbin/active-swe:simple-cosmos__cosmos-sdk__13063 | [
"types/context.go",
"x/gov/abci.go",
"x/group/keeper/msg_server.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit and have the test file
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/types/context_test.go b/types/c... | [
"TestContextTestSuite"
] | [] | {
"cosmos__cosmos-sdk__13063": [
"TestContextTestSuite"
]
} | {
"cosmos__cosmos-sdk__13063": []
} | [
{
"file": "CHANGELOG.md",
"old_start": 39,
"removed_line_numbers": [
42
]
},
{
"file": "CHANGELOG.md",
"old_start": 93,
"removed_line_numbers": []
},
{
"file": "types/context.go",
"old_start": 268,
"removed_line_numbers": [
271,
275
]
},
{
... |
cosmos__cosmos-sdk__8603 | cosmos/cosmos-sdk | f970056a92a77f38f9b15fd328568d8110946cc9 | diff --git a/x/gov/simulation/decoder.go b/x/gov/simulation/decoder.go
index 75cb4a5fccc8..180754ddee08 100644
--- a/x/gov/simulation/decoder.go
+++ b/x/gov/simulation/decoder.go
@@ -22,7 +22,7 @@ func NewDecodeStore(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string {
panic(err)
}
var proposalB types.Prop... | simple | Go | 2021-02-17T11:04:43Z | docker.io/biningbin/active-swe:simple-cosmos__cosmos-sdk__8603 | [
"x/gov/simulation/decoder.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to test directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Restore the specific test file to original state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/x/gov/simula... | [
"TestDecodeStore"
] | [
"TestSimulateMsgVoteWeighted",
"TestRandomizedGenState",
"TestSimulateMsgSubmitProposal",
"TestProposalContents",
"TestRandomizedGenState1",
"TestWeightedOperations",
"TestSimulateMsgVote",
"TestParamChanges",
"TestSimulateMsgDeposit"
] | {
"cosmos__cosmos-sdk__8603": [
"TestDecodeStore"
]
} | {
"cosmos__cosmos-sdk__8603": [
"TestSimulateMsgVoteWeighted",
"TestRandomizedGenState",
"TestSimulateMsgSubmitProposal",
"TestProposalContents",
"TestRandomizedGenState1",
"TestWeightedOperations",
"TestSimulateMsgVote",
"TestParamChanges",
"TestSimulateMsgDeposit"
]
} | [
{
"file": "x/gov/simulation/decoder.go",
"old_start": 22,
"removed_line_numbers": [
25
]
}
] |
cosmos__cosmos-sdk__15030 | cosmos/cosmos-sdk | dfb3271cddeff59375dfa09bf2f91bb644a12435 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 716421873780..fe8b696d5fc5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -270,6 +270,7 @@ extension interfaces. `module.Manager.Modules` is now of type `map[string]interf
### Bug Fixes
+* (x/capability) [#15030](https://github.com/cosmos/cosmos-sdk/pull/15030) Fixed... | simple | Go | 2023-02-15T15:33:30Z | docker.io/biningbin/active-swe:simple-cosmos__cosmos-sdk__15030 | [
"x/capability/keeper/keeper.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file from target commit
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/x/cap... | [
"TestCapabilityTestSuite"
] | [] | {
"cosmos__cosmos-sdk__15030": [
"TestCapabilityTestSuite"
]
} | {
"cosmos__cosmos-sdk__15030": []
} | [
{
"file": "CHANGELOG.md",
"old_start": 270,
"removed_line_numbers": []
},
{
"file": "x/capability/keeper/keeper.go",
"old_start": 119,
"removed_line_numbers": [
122,
123
]
}
] |
keptn__keptn__7631 | keptn/keptn | bfbdb4d32280bd2f1aa34d0f787c3c0d53a9c551 | diff --git a/shipyard-controller/common/utils.go b/shipyard-controller/common/utils.go
index 62bbe8dead..17c39a0c7b 100644
--- a/shipyard-controller/common/utils.go
+++ b/shipyard-controller/common/utils.go
@@ -28,29 +28,35 @@ func Stringp(s string) *string {
return &s
}
+// Merge merges together the two provided ... | simple | Go | 2022-05-04T12:52:37Z | docker.io/biningbin/active-swe:simple-keptn__keptn__7631 | [
"shipyard-controller/common/utils.go",
"shipyard-controller/models/sequence_execution.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to shipyard-controller directory where tests are located
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed/shipyard-controller
# Reset the specific test files to the target commit to ensure clean state
... | [
"TestMerge"
] | [
"Test_isServiceNotFoundErr",
"TestUpdateNonExistentSecret",
"TestUpdateSecret",
"TestValidateGitRemoteURL",
"TestGetSecret",
"TestCreateSecret",
"TestConfigurationStore",
"TestValidateShipyardStages",
"TestCreateSecretTwice",
"TestCopyMap",
"TestPaginationOnePage",
"TestPaginationGetTwoPages",... | {
"keptn__keptn__7631": [
"TestMerge"
]
} | {
"keptn__keptn__7631": [
"Test_isServiceNotFoundErr",
"TestUpdateNonExistentSecret",
"TestUpdateSecret",
"TestValidateGitRemoteURL",
"TestGetSecret",
"TestCreateSecret",
"TestConfigurationStore",
"TestValidateShipyardStages",
"TestCreateSecretTwice",
"TestCopyMap",
"TestPa... | [
{
"file": "shipyard-controller/common/utils.go",
"old_start": 28,
"removed_line_numbers": [
34,
35,
36,
38,
40,
41,
42,
44,
46,
50,
51
]
},
{
"file": "shipyard-controller/models/sequence_execution.go",
"old_start": 127,
... |
keptn__keptn__5175 | keptn/keptn | e9566d2c71b1b2931c899ba0d92ac87a1f8d3b4b | diff --git a/configuration-service/handlers/project.go b/configuration-service/handlers/project.go
index e115bfa2f6..40692ca5fa 100644
--- a/configuration-service/handlers/project.go
+++ b/configuration-service/handlers/project.go
@@ -36,6 +36,13 @@ func PostProjectHandlerFunc(params project.PostProjectParams) middlewa... | simple | Go | 2021-09-08T14:56:09Z | docker.io/biningbin/active-swe:simple-keptn__keptn__5175 | [
"configuration-service/handlers/project.go",
"shipyard-controller/handler/projectmanager.go"
] | [
"State & Lifecycle"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file we want to test
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/shipyard-c... | [
"TestUpdate_UpdateProjectInConfigurationStoreFails"
] | [
"TestCreate_WhenUploadingShipyardFails_thenProjectAndSecretGetDeletedAgain",
"TestEventDispatcher_OnSequencePaused",
"Test_getHTTPStatusForError",
"TestEvaluationManager_CreateEvaluation",
"TestCreateWithAlreadyExistingProject",
"TestGetAllProjects",
"TestEventDispatcher_OnSequenceFinished",
"TestGetP... | {
"keptn__keptn__5175": [
"TestUpdate_UpdateProjectInConfigurationStoreFails"
]
} | {
"keptn__keptn__5175": [
"TestCreate_WhenUploadingShipyardFails_thenProjectAndSecretGetDeletedAgain",
"TestEventDispatcher_OnSequencePaused",
"Test_getHTTPStatusForError",
"TestEvaluationManager_CreateEvaluation",
"TestCreateWithAlreadyExistingProject",
"TestGetAllProjects",
"TestEventDis... | [
{
"file": "configuration-service/handlers/project.go",
"old_start": 36,
"removed_line_numbers": []
},
{
"file": "configuration-service/handlers/project.go",
"old_start": 49,
"removed_line_numbers": []
},
{
"file": "configuration-service/handlers/project.go",
"old_start": 59,
... |
gohugoio__hugo__9110 | gohugoio/hugo | 4b36498a852edc4e4c269ba50855bad7bea0c4bb | diff --git a/common/htime/time.go b/common/htime/time.go
index 5071b08585b..9ab249d3835 100644
--- a/common/htime/time.go
+++ b/common/htime/time.go
@@ -123,9 +123,13 @@ func (f TimeFormatter) Format(t time.Time, layout string) string {
dayIdx := t.Weekday()
s = strings.ReplaceAll(s, longMonthNames[monthIdx], f.l... | simple | Go | 2021-11-01T14:45:59Z | docker.io/biningbin/active-swe:simple-gohugoio__hugo__9110 | [
"common/htime/time.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Ensure we are in the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Restore the target test file to its original state to ensure a clean baseline
# Apply the test patch (placeholder will ... | [
"TestTimeFormatter"
] | [] | {
"gohugoio__hugo__9110": [
"TestTimeFormatter"
]
} | {
"gohugoio__hugo__9110": []
} | [
{
"file": "common/htime/time.go",
"old_start": 123,
"removed_line_numbers": [
126,
128
]
}
] |
gohugoio__hugo__8461 | gohugoio/hugo | 65c502cc8110e49540cbe2b49ecd5a8ede9e67a1 | diff --git a/tpl/collections/where.go b/tpl/collections/where.go
index c371f6ae86a..8ffcf616570 100644
--- a/tpl/collections/where.go
+++ b/tpl/collections/where.go
@@ -87,7 +87,8 @@ func (ns *Namespace) checkCondition(v, mv reflect.Value, op string) (bool, error
var ima []int64
var fma []float64
var sma []string... | simple | Go | 2021-04-23T16:06:49Z | docker.io/biningbin/active-swe:simple-gohugoio__hugo__8461 | [
"tpl/collections/where.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure the test file is at the correct commit state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tp... | [
"TestWhere"
] | [
"TestDelimit",
"TestSort",
"TestLast",
"TestIntersect",
"TestDictionary",
"TestSymDiff",
"TestReverse",
"TestIndex",
"TestComplement",
"TestEchoParam",
"TestIn",
"TestCheckCondition",
"TestShuffle",
"TestInit",
"TestSlice",
"TestUnion",
"TestQuerify",
"TestShuffleRandomising",
"T... | {
"gohugoio__hugo__8461": [
"TestWhere"
]
} | {
"gohugoio__hugo__8461": [
"TestDelimit",
"TestSort",
"TestLast",
"TestIntersect",
"TestDictionary",
"TestSymDiff",
"TestReverse",
"TestIndex",
"TestComplement",
"TestEchoParam",
"TestIn",
"TestCheckCondition",
"TestShuffle",
"TestInit",
"TestSlice",
"T... | [
{
"file": "tpl/collections/where.go",
"old_start": 87,
"removed_line_numbers": [
90
]
}
] |
gohugoio__hugo__8915 | gohugoio/hugo | ffa2fe61172aa0d892234b23d1497c77a6a7f5c4 | diff --git a/common/maps/params.go b/common/maps/params.go
index c14026df7be..15511f56f68 100644
--- a/common/maps/params.go
+++ b/common/maps/params.go
@@ -76,6 +76,14 @@ func (p Params) Merge(pp Params) {
p.merge("", pp)
}
+// MergeRoot transfers values from pp to p for new keys where p is the
+// root of the tr... | simple | Go | 2021-08-22T11:25:20Z | docker.io/biningbin/active-swe:simple-gohugoio__hugo__8915 | [
"common/maps/params.go",
"config/defaultConfigProvider.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Apply the test patch (placeholder will be replaced with actual content)
git apply -v - <<'EOF_114329324912'
diff --git a/config... | [
"TestDefaultConfigProvider"
] | [] | {
"gohugoio__hugo__8915": [
"TestDefaultConfigProvider"
]
} | {
"gohugoio__hugo__8915": []
} | [
{
"file": "common/maps/params.go",
"old_start": 76,
"removed_line_numbers": []
},
{
"file": "config/defaultConfigProvider.go",
"old_start": 275,
"removed_line_numbers": [
278
]
}
] |
gohugoio__hugo__10800 | gohugoio/hugo | 32ea40aa82736d33aebac246c2552d1342988d9d | diff --git a/parser/metadecoders/decoder.go b/parser/metadecoders/decoder.go
index 3f322ad92e4..a65731ae4ca 100644
--- a/parser/metadecoders/decoder.go
+++ b/parser/metadecoders/decoder.go
@@ -244,7 +244,7 @@ func (d Decoder) unmarshalORG(data []byte, v any) error {
} else if k == "tags" || k == "categories" || k ==... | simple | Go | 2023-03-06T19:37:31Z | docker.io/biningbin/active-swe:simple-gohugoio__hugo__10800 | [
"parser/metadecoders/decoder.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure Go environment is available
export PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}"
export GO111MODULE=on
# First check... | [
"TestUnmarshalToInterface"
] | [
"TestFormatFromString",
"TestUnmarshalStringTo",
"TestUnmarshalXML",
"TestUnmarshalToMap",
"TestStringifyYAMLMapKeys",
"TestFormatFromContentString",
"TestFormatFromMediaType"
] | {
"gohugoio__hugo__10800": [
"TestUnmarshalToInterface"
]
} | {
"gohugoio__hugo__10800": [
"TestFormatFromString",
"TestUnmarshalStringTo",
"TestUnmarshalXML",
"TestUnmarshalToMap",
"TestStringifyYAMLMapKeys",
"TestFormatFromContentString",
"TestFormatFromMediaType"
]
} | [
{
"file": "parser/metadecoders/decoder.go",
"old_start": 244,
"removed_line_numbers": [
247
]
}
] |
gohugoio__hugo__12056 | gohugoio/hugo | 9cc65757a137206fda2d49e8975ae36b01017812 | diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go
index 70e8a0bb6b3..d9cbddfba62 100644
--- a/hugolib/content_map_page.go
+++ b/hugolib/content_map_page.go
@@ -1415,8 +1415,10 @@ func (sa *sitePagesAssembler) applyAggregatesToTaxonomiesAndTerms() error {
if err := p.setMetaPost(cascade); err ... | simple | Go | 2024-02-17T17:12:25Z | docker.io/biningbin/active-swe:simple-gohugoio__hugo__12056 | [
"hugolib/content_map_page.go"
] | [
"Domain-specific Workflow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure target test file is at the requested revision before patching
# Apply test patch (content injected by harness)
git apply -v - <<'EOF_114329324912'
diff -... | [
"TestTermDraft"
] | [
"TestTaxonomiesCountOrder",
"TestTaxonomiesHomeDraft",
"TestTaxonomiesDirectoryOverlaps",
"TestTaxonomiesWithAndWithoutContentFile",
"TestTaxonomiesIndexDraft",
"TestTaxonomiesWithBundledResources",
"TestTaxonomiesSpaceInName",
"TestTaxonomiesPathSeparation",
"TestTaxonomiesListTermsHome",
"TestTa... | {
"gohugoio__hugo__12056": [
"TestTermDraft"
]
} | {
"gohugoio__hugo__12056": [
"TestTaxonomiesCountOrder",
"TestTaxonomiesHomeDraft",
"TestTaxonomiesDirectoryOverlaps",
"TestTaxonomiesWithAndWithoutContentFile",
"TestTaxonomiesIndexDraft",
"TestTaxonomiesWithBundledResources",
"TestTaxonomiesSpaceInName",
"TestTaxonomiesPathSeparation... | [
{
"file": "hugolib/content_map_page.go",
"old_start": 1415,
"removed_line_numbers": [
1418,
1419
]
}
] |
open-policy-agent__opa__4827 | open-policy-agent/opa | a453d2e227dfe93e2bf744aadd553e6bb1bb476c | diff --git a/topdown/eval.go b/topdown/eval.go
index 7fe97a10be..dc0f484600 100644
--- a/topdown/eval.go
+++ b/topdown/eval.go
@@ -3039,9 +3039,12 @@ func (e evalEvery) eval(iter unifyIterator) error {
}
func (e *evalEvery) save(iter unifyIterator) error {
- cpy := e.expr.Copy()
- every := cpy.Terms.(*ast.Every)
+ ... | simple | Go | 2022-07-04T09:48:24Z | docker.io/biningbin/active-swe:simple-open-policy-agent__opa__4827 | [
"topdown/eval.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit for the target test file
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/topdown/topdown_partial_test... | [
"TestTopDownPartialEval"
] | [] | {
"open-policy-agent__opa__4827": [
"TestTopDownPartialEval"
]
} | {
"open-policy-agent__opa__4827": []
} | [
{
"file": "topdown/eval.go",
"old_start": 3039,
"removed_line_numbers": [
3042,
3043
]
},
{
"file": "topdown/eval.go",
"old_start": 3050,
"removed_line_numbers": []
},
{
"file": "topdown/eval.go",
"old_start": 3057,
"removed_line_numbers": [
3060,
... |
open-policy-agent__opa__3608 | open-policy-agent/opa | 94c4ad681dd7d196f56ef44304119af64a578020 | diff --git a/topdown/eval.go b/topdown/eval.go
index e7d03e62b4..3f31f23472 100644
--- a/topdown/eval.go
+++ b/topdown/eval.go
@@ -1035,23 +1035,34 @@ func (e *eval) buildComprehensionCacheObject(x *ast.ObjectComprehension, keys []
}
func (e *eval) biunifyComprehensionPartial(a, b *ast.Term, b1, b2 *bindings, swap ... | simple | Go | 2021-07-08T20:05:23Z | docker.io/biningbin/active-swe:simple-open-policy-agent__opa__3608 | [
"topdown/eval.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file to ensure clean state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/topdown/topdown_partial_test.go b/t... | [
"TestTopDownPartialEval"
] | [] | {
"open-policy-agent__opa__3608": [
"TestTopDownPartialEval"
]
} | {
"open-policy-agent__opa__3608": []
} | [
{
"file": "topdown/eval.go",
"old_start": 1035,
"removed_line_numbers": [
1038,
1039,
1040,
1041,
1042,
1043,
1044,
1045,
1046,
1047,
1048,
1049,
1050
]
},
{
"file": "topdown/eval.go",
"old_start": 1064,
"r... |
open-policy-agent__opa__4775 | open-policy-agent/opa | 8a3bf905e451cce5da537d70dccde30e99e5ab00 | diff --git a/topdown/eval.go b/topdown/eval.go
index 580f056e1a..7fe97a10be 100644
--- a/topdown/eval.go
+++ b/topdown/eval.go
@@ -2978,9 +2978,7 @@ func (e evalTerm) save(iter unifyIterator) error {
suffix := e.ref[e.pos:]
ref := make(ast.Ref, len(suffix)+1)
ref[0] = v
- for i := 0; i < len(suffix); i++ {
- ... | simple | Go | 2022-06-29T06:41:18Z | docker.io/biningbin/active-swe:simple-open-policy-agent__opa__4775 | [
"topdown/eval.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit for the target test file
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/topdown/topdown_partial_test.... | [
"TestTopDownPartialEval"
] | [] | {
"open-policy-agent__opa__4775": [
"TestTopDownPartialEval"
]
} | {
"open-policy-agent__opa__4775": []
} | [
{
"file": "topdown/eval.go",
"old_start": 2978,
"removed_line_numbers": [
2981,
2982,
2983
]
},
{
"file": "topdown/eval.go",
"old_start": 3044,
"removed_line_numbers": [
3047,
3050,
3052,
3053,
3058
]
}
] |
open-policy-agent__opa__3152 | open-policy-agent/opa | 111325574478ea5abc9a6b18f7fe7104f23d2935 | diff --git a/server/server.go b/server/server.go
index 3cb651e1fa..be5b07bbbe 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1603,7 +1603,13 @@ func (s *Server) v1PoliciesDelete(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
pretty := getBoolParam(r.URL, types.ParamPrettyV1, true)
include... | simple | Go | 2021-02-22T08:08:21Z | docker.io/biningbin/active-swe:simple-open-policy-agent__opa__3152 | [
"server/server.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file to ensure clean state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/server/server_test.go b/server/serv... | [
"TestPoliciesUrlEncoded"
] | [] | {
"open-policy-agent__opa__3152": [
"TestPoliciesUrlEncoded"
]
} | {
"open-policy-agent__opa__3152": []
} | [
{
"file": "server/server.go",
"old_start": 1603,
"removed_line_numbers": [
1606
]
},
{
"file": "server/server.go",
"old_start": 1660,
"removed_line_numbers": [
1663
]
},
{
"file": "server/server.go",
"old_start": 1737,
"removed_line_numbers": [
1... |
vitessio__vitess__9190 | vitessio/vitess | c88bcefffe5a59061829bf1a73afcaea10b1995a | diff --git a/go/vt/sqlparser/ast_funcs.go b/go/vt/sqlparser/ast_funcs.go
index e1e0f713ce9..eb172ea8f4c 100644
--- a/go/vt/sqlparser/ast_funcs.go
+++ b/go/vt/sqlparser/ast_funcs.go
@@ -1611,3 +1611,18 @@ func defaultRequiresParens(ct *ColumnType) bool {
return true
}
+
+// RemoveKeyspaceFromColName removes the Qua... | simple | Go | 2021-11-11T11:12:34Z | docker.io/biningbin/active-swe:simple-vitessio__vitess__9190 | [
"go/vt/sqlparser/ast_funcs.go",
"go/vt/vtgate/planbuilder/abstract/operator.go",
"go/vt/vtgate/planbuilder/horizon_planning.go",
"go/vt/vtgate/planbuilder/route_planning.go"
] | [
"Logic & Computation"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Activate environment - set up Go environment variables
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
export PATH="/usr/local/go/bin:${PATH}"
export CGO_ENABLED=0
export VTROOT=/testbed
export VTDATAROOT=/testbed/vtdataro... | [
"TestOperator"
] | [
"TestQPSimplifiedExpr",
"TestQP"
] | {
"vitessio__vitess__9190": [
"TestOperator"
]
} | {
"vitessio__vitess__9190": [
"TestQPSimplifiedExpr",
"TestQP"
]
} | [
{
"file": "go/vt/sqlparser/ast_funcs.go",
"old_start": 1611,
"removed_line_numbers": []
},
{
"file": "go/vt/vtgate/planbuilder/abstract/operator.go",
"old_start": 90,
"removed_line_numbers": [
93
]
},
{
"file": "go/vt/vtgate/planbuilder/abstract/operator.go",
"old_s... |
vitessio__vitess__12057 | vitessio/vitess | a278e6b7e05b3d57dbd482af9690266d6d8c2980 | diff --git a/doc/releasenotes/16_0_0_summary.md b/doc/releasenotes/16_0_0_summary.md
index bca1e18c5bd..a79cc727468 100644
--- a/doc/releasenotes/16_0_0_summary.md
+++ b/doc/releasenotes/16_0_0_summary.md
@@ -75,6 +75,10 @@ The default value for `remote_operation_timeout` has also changed from 30 second
During upgrade... | simple | Go | 2023-01-10T08:57:54Z | docker.io/biningbin/active-swe:simple-vitessio__vitess__12057 | [
"go/stats/prometheusbackend/collectors.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file to ensure clean state before patching
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/go/stats/prometheu... | [
"TestPrometheusLabels"
] | [
"TestPrometheusCounterDuration",
"TestPrometheusCounter",
"TestPrometheusMultiTimings_PanicWrongLength",
"TestCollector",
"TestPrometheusCounterDurationFunc",
"TestPrometheusMultiTimings",
"TestPrometheusGauge",
"TestPrometheusCountersWithMultiLabels",
"TestPrometheusGaugesWithSingleLabel",
"TestP... | {
"vitessio__vitess__12057": [
"TestPrometheusLabels"
]
} | {
"vitessio__vitess__12057": [
"TestPrometheusCounterDuration",
"TestPrometheusCounter",
"TestPrometheusMultiTimings_PanicWrongLength",
"TestCollector",
"TestPrometheusCounterDurationFunc",
"TestPrometheusMultiTimings",
"TestPrometheusGauge",
"TestPrometheusCountersWithMultiLabels",
... | [
{
"file": "doc/releasenotes/16_0_0_summary.md",
"old_start": 75,
"removed_line_numbers": []
},
{
"file": "go/stats/prometheusbackend/collectors.go",
"old_start": 74,
"removed_line_numbers": [
77
]
},
{
"file": "go/stats/prometheusbackend/collectors.go",
"old_start":... |
vitessio__vitess__9270 | vitessio/vitess | 9138b707416d44f310e10d1c8da7f32275b6c398 | diff --git a/go/vt/vtctl/reparentutil/util.go b/go/vt/vtctl/reparentutil/util.go
index c0f90bc645d..a5abe7454bf 100644
--- a/go/vt/vtctl/reparentutil/util.go
+++ b/go/vt/vtctl/reparentutil/util.go
@@ -125,9 +125,14 @@ func findPositionForTablet(ctx context.Context, tablet *topodatapb.Tablet, logge
return mysql.Posit... | simple | Go | 2021-11-30T06:00:37Z | docker.io/biningbin/active-swe:simple-vitessio__vitess__9270 | [
"go/vt/vtctl/reparentutil/util.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Set up environment variables
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
export PATH="/usr/local/go/bin:${PATH}"
export CGO_ENABLED=0
export VTROOT=/testbed
export VTDATAROOT=/testbed/vtdataroot
# Change to testbed di... | [
"TestFindPositionForTablet",
"TestChooseNewPrimary"
] | [
"TestEmergencyReparenter_waitForAllRelayLogsToApply",
"TestWaitForRelayLogsToApply",
"TestPlannedReparenter_performGracefulPromotion",
"TestNewEmergencyReparenter",
"TestEmergencyReparenter_promoteNewPrimary",
"TestPlannedReparenter_performPotentialPromotion",
"TestEmergencyReparenter_identifyPrimaryCan... | {
"vitessio__vitess__9270": [
"TestFindPositionForTablet",
"TestChooseNewPrimary"
]
} | {
"vitessio__vitess__9270": [
"TestEmergencyReparenter_waitForAllRelayLogsToApply",
"TestWaitForRelayLogsToApply",
"TestPlannedReparenter_performGracefulPromotion",
"TestNewEmergencyReparenter",
"TestEmergencyReparenter_promoteNewPrimary",
"TestPlannedReparenter_performPotentialPromotion",
... | [
{
"file": "go/vt/vtctl/reparentutil/util.go",
"old_start": 125,
"removed_line_numbers": [
128,
130
]
}
] |
influxdata__telegraf__9520 | influxdata/telegraf | ff8ed3776246d3756fb8ddb46e2c882b1a02bd84 | diff --git a/plugins/parsers/json_v2/parser.go b/plugins/parsers/json_v2/parser.go
index da128880d1d01..ef8981dffc859 100644
--- a/plugins/parsers/json_v2/parser.go
+++ b/plugins/parsers/json_v2/parser.go
@@ -323,7 +323,7 @@ func (p *Parser) expandArray(result MetricNode) ([]MetricNode, error) {
if result.Tag {
... | simple | Go | 2021-07-20T03:23:12Z | docker.io/biningbin/active-swe:simple-influxdata__telegraf__9520 | [
"plugins/parsers/json_v2/parser.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure Go environment is properly set up
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export GOCACHE="/tmp/go-build"
# Checkout the specific test ... | [
"TestData"
] | [] | {
"influxdata__telegraf__9520": [
"TestData"
]
} | {
"influxdata__telegraf__9520": []
} | [
{
"file": "plugins/parsers/json_v2/parser.go",
"old_start": 323,
"removed_line_numbers": [
326
]
},
{
"file": "plugins/parsers/json_v2/parser.go",
"old_start": 525,
"removed_line_numbers": [
528,
529
]
},
{
"file": "plugins/parsers/json_v2/parser.go",
... |
influxdata__telegraf__11237 | influxdata/telegraf | 91d50ee37406e2ce2eaeb316793f64372ece7df8 | diff --git a/plugins/serializers/splunkmetric/splunkmetric.go b/plugins/serializers/splunkmetric/splunkmetric.go
index fc9ffe61ecfe4..c4d2d5ed92a92 100644
--- a/plugins/serializers/splunkmetric/splunkmetric.go
+++ b/plugins/serializers/splunkmetric/splunkmetric.go
@@ -22,6 +22,7 @@ type CommonTags struct {
type HECT... | simple | Go | 2022-06-02T18:08:35Z | docker.io/biningbin/active-swe:simple-influxdata__telegraf__11237 | [
"plugins/serializers/splunkmetric/splunkmetric.go"
] | [
"State & Lifecycle"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Set up Go environment
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export GOROOT="/usr/local/go"
export GO111MODULE="on"
# Ensure test file is at ... | [
"TestSerializeMetricFloatHec",
"TestSerializeMetricIntHec",
"TestSerializeBatchHec",
"TestSerializeMultiHec",
"TestSerializeMetricBoolHec"
] | [
"TestSerializeBatch",
"TestSerializeMetricFloat",
"TestSerializeMetricInt",
"TestSerializeMulti",
"TestSerializeMetricString",
"TestSerializeMetricBool"
] | {
"influxdata__telegraf__11237": [
"TestSerializeMetricFloatHec",
"TestSerializeMetricIntHec",
"TestSerializeBatchHec",
"TestSerializeMultiHec",
"TestSerializeMetricBoolHec"
]
} | {
"influxdata__telegraf__11237": [
"TestSerializeBatch",
"TestSerializeMetricFloat",
"TestSerializeMetricInt",
"TestSerializeMulti",
"TestSerializeMetricString",
"TestSerializeMetricBool"
]
} | [
{
"file": "plugins/serializers/splunkmetric/splunkmetric.go",
"old_start": 22,
"removed_line_numbers": []
},
{
"file": "plugins/serializers/splunkmetric/splunkmetric.go",
"old_start": 65,
"removed_line_numbers": []
},
{
"file": "plugins/serializers/splunkmetric/splunkmetric.go",
... |
influxdata__telegraf__9456 | influxdata/telegraf | 1a0e937d8a39fd093a50cea88daee7c88839b6c1 | diff --git a/plugins/inputs/kube_inventory/endpoint.go b/plugins/inputs/kube_inventory/endpoint.go
index 4b3cffa59fad3..89cbf6587bf0d 100644
--- a/plugins/inputs/kube_inventory/endpoint.go
+++ b/plugins/inputs/kube_inventory/endpoint.go
@@ -39,7 +39,9 @@ func (ki *KubernetesInventory) gatherEndpoint(e corev1.Endpoints,... | simple | Go | 2021-07-06T19:57:52Z | docker.io/biningbin/active-swe:simple-influxdata__telegraf__9456 | [
"plugins/inputs/kube_inventory/endpoint.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure Go environment is properly set
export PATH="/usr/local/go/bin:${PATH}"
export GOPATH="/go"
export GOROOT="/usr/local/go"
e... | [
"TestEndpoint"
] | [
"TestDaemonSetSelectorFilter",
"TestDaemonSet",
"TestNewClient",
"TestDeploymentSelectorFilter",
"TestDeployment"
] | {
"influxdata__telegraf__9456": [
"TestEndpoint"
]
} | {
"influxdata__telegraf__9456": [
"TestDaemonSetSelectorFilter",
"TestDaemonSet",
"TestNewClient",
"TestDeploymentSelectorFilter",
"TestDeployment"
]
} | [
{
"file": "plugins/inputs/kube_inventory/endpoint.go",
"old_start": 39,
"removed_line_numbers": [
42
]
},
{
"file": "plugins/inputs/kube_inventory/endpoint.go",
"old_start": 57,
"removed_line_numbers": [
60
]
}
] |
hashicorp__terraform__34472 | hashicorp/terraform | 3a75362ccebd73ebbb7b8eead5c702e8045fab2c | diff --git a/internal/configs/configschema/filter.go b/internal/configs/configschema/filter.go
index f4697d2f20f0..35aeba714c42 100644
--- a/internal/configs/configschema/filter.go
+++ b/internal/configs/configschema/filter.go
@@ -50,10 +50,9 @@ func (b *Block) Filter(filterAttribute FilterT[*Attribute], filterBlock Fi... | simple | Go | 2024-01-05T16:52:32Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__34472 | [
"internal/configs/configschema/filter.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we are on the correct commit and restore the target test file to its original state
# Apply the test patch
git apply -v... | [
"TestFilter"
] | [] | {
"hashicorp__terraform__34472": [
"TestFilter"
]
} | {
"hashicorp__terraform__34472": []
} | [
{
"file": "internal/configs/configschema/filter.go",
"old_start": 50,
"removed_line_numbers": [
53,
54,
55,
56
]
}
] |
hashicorp__terraform__28067 | hashicorp/terraform | 42c6c5dd6c0d38f569b60c3fc6057865c73cc984 | diff --git a/lang/funcs/defaults.go b/lang/funcs/defaults.go
index 9c7d82ce1188..0e4fd41ffa67 100644
--- a/lang/funcs/defaults.go
+++ b/lang/funcs/defaults.go
@@ -94,6 +94,16 @@ func defaultsApply(input, fallback cty.Value) cty.Value {
return v
case wantTy.IsObjectType():
+ // For structural types, a null input... | simple | Go | 2021-03-15T12:03:08Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__28067 | [
"lang/funcs/defaults.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure the target test file is at the correct commit
# Apply the test patch (placeholder will be replaced at runtime)
git appl... | [
"TestDefaults"
] | [] | {
"hashicorp__terraform__28067": [
"TestDefaults"
]
} | {
"hashicorp__terraform__28067": []
} | [
{
"file": "lang/funcs/defaults.go",
"old_start": 94,
"removed_line_numbers": []
},
{
"file": "lang/funcs/defaults.go",
"old_start": 107,
"removed_line_numbers": []
}
] |
hashicorp__terraform__27421 | hashicorp/terraform | 638a73d7424c268a3e03373b8835f28c3b136c59 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa1c80bd2f72..0757df37f361 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ BUG FIXES:
* backend/remote: Disable remote Terraform workspace version check when the remote workspace is in local operations mode ([GH-27407])
* core: Fix panic when using `sensitiv... | simple | Go | 2021-01-06T15:10:57Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__27421 | [
"terraform/eval_variable.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the repository directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure Go environment is properly set
export PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}"
export GOPATH=/go
export GO111MO... | [
"TestContext2Plan_variableCustomValidationsSensitive"
] | [] | {
"hashicorp__terraform__27421": [
"TestContext2Plan_variableCustomValidationsSensitive"
]
} | {
"hashicorp__terraform__27421": []
} | [
{
"file": "CHANGELOG.md",
"old_start": 9,
"removed_line_numbers": []
},
{
"file": "terraform/eval_variable.go",
"old_start": 83,
"removed_line_numbers": [
89
]
},
{
"file": "terraform/testdata/validate-variable-custom-validations-child-sensitive/child/child.tf",
"ol... |
hashicorp__terraform__27979 | hashicorp/terraform | e9c7f37b8ca9391e8c5c6003da1067c704d530da | diff --git a/lang/funcs/defaults.go b/lang/funcs/defaults.go
index 0366ea66143f..9c7d82ce1188 100644
--- a/lang/funcs/defaults.go
+++ b/lang/funcs/defaults.go
@@ -127,9 +127,11 @@ func defaultsApply(input, fallback cty.Value) cty.Value {
case wantTy.IsMapType():
newVals := map[string]cty.Value{}
- for it := ... | simple | Go | 2021-03-05T19:39:51Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__27979 | [
"lang/funcs/defaults.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure the target test file is at the correct commit state
# Apply the test patch to modify the test file as required
git apply -v - <<'EOF_114329324912'
diff --... | [
"TestDefaults"
] | [] | {
"hashicorp__terraform__27979": [
"TestDefaults"
]
} | {
"hashicorp__terraform__27979": []
} | [
{
"file": "lang/funcs/defaults.go",
"old_start": 127,
"removed_line_numbers": [
130,
131,
132
]
},
{
"file": "lang/funcs/defaults.go",
"old_start": 139,
"removed_line_numbers": [
142,
143,
144,
145
]
},
{
"file": "lang/funcs/defau... |
hashicorp__terraform__33476 | hashicorp/terraform | d5fe1bd137b90303268c77fcb1eefb34b6a3fe78 | diff --git a/internal/command/jsonformat/structured/attribute_path/matcher.go b/internal/command/jsonformat/structured/attribute_path/matcher.go
index 0736094f7c1a..409fc60e168e 100644
--- a/internal/command/jsonformat/structured/attribute_path/matcher.go
+++ b/internal/command/jsonformat/structured/attribute_path/matc... | simple | Go | 2023-07-05T09:20:01Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__33476 | [
"internal/command/jsonformat/structured/attribute_path/matcher.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the repository root
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we are on the correct commit and restore the target test file to its original state
# Apply the test patch (placeholder w... | [
"TestSpecificCases"
] | [
"TestValue_ObjectAttributes",
"TestValue_CollectionAttributes",
"TestValue_Outputs",
"TestValue_BlockAttributesAndNestedBlocks",
"TestValue_SimpleBlocks",
"TestRelevantAttributes",
"TestDynamicPseudoType",
"TestValue_PrimitiveAttributes"
] | {
"hashicorp__terraform__33476": [
"TestSpecificCases"
]
} | {
"hashicorp__terraform__33476": [
"TestValue_ObjectAttributes",
"TestValue_CollectionAttributes",
"TestValue_Outputs",
"TestValue_BlockAttributesAndNestedBlocks",
"TestValue_SimpleBlocks",
"TestRelevantAttributes",
"TestDynamicPseudoType",
"TestValue_PrimitiveAttributes"
]
} | [
{
"file": "internal/command/jsonformat/structured/attribute_path/matcher.go",
"old_start": 3,
"removed_line_numbers": [
6
]
},
{
"file": "internal/command/jsonformat/structured/attribute_path/matcher.go",
"old_start": 173,
"removed_line_numbers": [
176,
177
]
... |
hashicorp__terraform__27479 | hashicorp/terraform | eed411e02b5df4ebdc01a60541dca406f918041e | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ab87110bcec9..bd6a66c8e381 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ UPGRADE NOTES:
BUG FIXES:
* backend/remote: Disable remote Terraform workspace version check when the remote workspace is in local operations mode ([[#27407](https://github.com/hash... | simple | Go | 2021-01-12T16:12:06Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__27479 | [
"repl/format.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Ensure Go environment is set
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
export GOPATH=/go
export PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}"
export GOPROXY="https://proxy.golang.org,direct"
export GO111MODULE="on"
... | [
"TestFormatValue"
] | [] | {
"hashicorp__terraform__27479": [
"TestFormatValue"
]
} | {
"hashicorp__terraform__27479": []
} | [
{
"file": "CHANGELOG.md",
"old_start": 9,
"removed_line_numbers": []
},
{
"file": "repl/format.go",
"old_start": 52,
"removed_line_numbers": [
55
]
}
] |
hashicorp__terraform__32932 | hashicorp/terraform | 32e69d8dc341d48bfe274fb97dc6adf4ae2c132b | diff --git a/internal/terraform/context_plan.go b/internal/terraform/context_plan.go
index fc2e0be61691..7ccd79fb8284 100644
--- a/internal/terraform/context_plan.go
+++ b/internal/terraform/context_plan.go
@@ -643,6 +643,12 @@ func (c *Context) planGraph(config *configs.Config, prevRunState *states.State,
}
}
+//... | simple | Go | 2023-03-28T20:01:36Z | docker.io/biningbin/active-swe:simple-hashicorp__terraform__32932 | [
"internal/terraform/context_plan.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure the target test file is at the correct commit
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a... | [
"TestContext2Plan_untargetedResourceSchemaChange"
] | [] | {
"hashicorp__terraform__32932": [
"TestContext2Plan_untargetedResourceSchemaChange"
]
} | {
"hashicorp__terraform__32932": []
} | [
{
"file": "internal/terraform/context_plan.go",
"old_start": 643,
"removed_line_numbers": []
},
{
"file": "internal/terraform/context_plan.go",
"old_start": 690,
"removed_line_numbers": [
693,
694,
695,
697,
704,
705,
706,
708,
716,
... |
keptn__keptn__4290 | keptn/keptn | 09a2563d1fb63de510784f81752e1d731c35d7ac | diff --git a/cli/cmd/generate_support_archive.go b/cli/cmd/generate_support_archive.go
index 9db90c5eb6..0654205026 100644
--- a/cli/cmd/generate_support_archive.go
+++ b/cli/cmd/generate_support_archive.go
@@ -126,7 +126,7 @@ keptn generate support-archive --dir=/some/directory`,
fmt.Println("Please confirm that... | simple | Go | 2021-06-14T06:32:39Z | docker.io/biningbin/active-swe:simple-keptn__keptn__4290 | [
"cli/cmd/generate_support_archive.go",
"cli/pkg/common/userinput.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the cli directory where tests should be executed
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed/cli
# Apply test patch to update target test file
git apply -v - <<'EOF_114329324912'
diff --git a/c... | [
"Test_UserInput"
] | [] | {
"keptn__keptn__4290": [
"Test_UserInput"
]
} | {
"keptn__keptn__4290": []
} | [
{
"file": "cli/cmd/generate_support_archive.go",
"old_start": 126,
"removed_line_numbers": [
129
]
},
{
"file": "cli/pkg/common/userinput.go",
"old_start": 42,
"removed_line_numbers": [
45
]
}
] |
keptn__keptn__3774 | keptn/keptn | 773519deb327e9d682d1c7a5c7e6fc017dff0a96 | diff --git a/shipyard-controller/handler/projectmanager.go b/shipyard-controller/handler/projectmanager.go
index dac1d1cce2..20798b578d 100644
--- a/shipyard-controller/handler/projectmanager.go
+++ b/shipyard-controller/handler/projectmanager.go
@@ -103,24 +103,41 @@ func (pm *ProjectManager) Create(params *operations... | simple | Go | 2021-04-14T10:53:46Z | docker.io/biningbin/active-swe:simple-keptn__keptn__3774 | [
"shipyard-controller/handler/projectmanager.go"
] | [
"Exception Safety"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the project directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed/shipyard-controller
# Ensure we're at the correct commit and restore the target test file
# Apply the test patch
git apply -v ... | [
"TestCreate_WhenCreatingStageInConfigStoreFails_ThenProjectAndSecretGetDeletedAgai"
] | [
"Test_getHTTPStatusForError",
"TestEvaluationManager_CreateEvaluation",
"TestCreateWithAlreadyExistingProject",
"TestGetAllProjects",
"TestEventHandler_HandleEvent",
"TestGetProjectsErr",
"Test_getStartEndTime",
"TestUpdateProject",
"TestEvaluationHandler_CreateEvaluation",
"TestGetByName",
"Tes... | {
"keptn__keptn__3774": [
"TestCreate_WhenCreatingStageInConfigStoreFails_ThenProjectAndSecretGetDeletedAgai"
]
} | {
"keptn__keptn__3774": [
"Test_getHTTPStatusForError",
"TestEvaluationManager_CreateEvaluation",
"TestCreateWithAlreadyExistingProject",
"TestGetAllProjects",
"TestEventHandler_HandleEvent",
"TestGetProjectsErr",
"Test_getStartEndTime",
"TestUpdateProject",
"TestEvaluationHandler_... | [
{
"file": "shipyard-controller/handler/projectmanager.go",
"old_start": 103,
"removed_line_numbers": [
108,
109,
110,
111,
112,
113,
114,
115,
123
]
},
{
"file": "shipyard-controller/handler/projectmanager.go",
"old_start": 135,
"... |
keptn__keptn__7902 | keptn/keptn | 42c1b2920488ac23f9460e2ec53e72e07a636eb7 | diff --git a/cli/cmd/trigger_sequence.go b/cli/cmd/trigger_sequence.go
index 5c77a341e2..2c4ea4e2ad 100644
--- a/cli/cmd/trigger_sequence.go
+++ b/cli/cmd/trigger_sequence.go
@@ -22,7 +22,6 @@ type sequenceStruct struct {
Project *string `json:"project"`
Service *string `json:"service"`
Stage *string `json:"... | simple | Go | 2022-05-30T12:01:41Z | docker.io/biningbin/active-swe:simple-keptn__keptn__7902 | [
"cli/cmd/trigger_sequence.go"
] | [
"Reference & Data Flow"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Checkout the specific test file to ensure clean state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git ... | [
"TestTriggerSequenceNonExistingService",
"TestTriggerSequence",
"TestTriggerSequenceMissing",
"TestTriggerSequenceNonExistingProject",
"TestTriggerSequenceFlag"
] | [] | {
"keptn__keptn__7902": [
"TestTriggerSequenceNonExistingService",
"TestTriggerSequence",
"TestTriggerSequenceMissing",
"TestTriggerSequenceNonExistingProject",
"TestTriggerSequenceFlag"
]
} | {
"keptn__keptn__7902": []
} | [
{
"file": "cli/cmd/trigger_sequence.go",
"old_start": 22,
"removed_line_numbers": [
25
]
},
{
"file": "cli/cmd/trigger_sequence.go",
"old_start": 64,
"removed_line_numbers": [
70,
74
]
},
{
"file": "cli/cmd/trigger_sequence.go",
"old_start": 86,
... |
getkin__kin-openapi__654 | getkin/kin-openapi | 9ea22aedcb3f9fa0b06acb08981c11bc8fde4269 | diff --git a/openapi3/loader.go b/openapi3/loader.go
index 1ab693b0f..2bb9999ee 100644
--- a/openapi3/loader.go
+++ b/openapi3/loader.go
@@ -742,7 +742,10 @@ func (loader *Loader) resolveSchemaRef(doc *T, component *SchemaRef, documentPat
return err
}
component.Value = resolved.Value
- foundPath := loade... | simple | Go | 2022-11-09T10:14:01Z | docker.io/biningbin/active-swe:simple-getkin__kin-openapi__654 | [
"openapi3/loader.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/openapi3/issue652_test.go b/openapi3/issue652_test.go
new file mode 100644
index 000000000..f36e92005
--- /dev/null... | [
"TestIssue652"
] | [] | {
"getkin__kin-openapi__654": [
"TestIssue652"
]
} | {
"getkin__kin-openapi__654": []
} | [
{
"file": "openapi3/loader.go",
"old_start": 742,
"removed_line_numbers": [
745
]
},
{
"file": "openapi3/loader.go",
"old_start": 790,
"removed_line_numbers": [
793,
797,
800,
802,
806,
809,
813
]
},
{
"file": "openapi3/test... |
getkin__kin-openapi__445 | getkin/kin-openapi | e9b36dac1a2890474ae44cfcf6446c00393527b5 | diff --git a/openapi3/schema.go b/openapi3/schema.go
index 443f71980..a0796989a 100644
--- a/openapi3/schema.go
+++ b/openapi3/schema.go
@@ -800,13 +800,22 @@ func (schema *Schema) visitJSON(settings *schemaValidationSettings, value interf
return schema.visitJSONArray(settings, value)
case map[string]interface{}:
... | simple | Go | 2021-11-08T09:27:45Z | docker.io/biningbin/active-swe:simple-getkin__kin-openapi__445 | [
"openapi3/schema.go"
] | [
"Data Processing & Type"
] | go_test | parse_log_gotest | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
export GOPROXY=off
export GOSUMDB=off
cd /testbed
# Ensure we're on the correct commit
# Apply test patch if needed
git apply -v - <<'EOF_114329324912'
diff --git a/routers/legacy/issue444_test.go b/routers/legacy... | [
"TestIssue444"
] | [
"Example",
"TestRouter"
] | {
"getkin__kin-openapi__445": [
"TestIssue444"
]
} | {
"getkin__kin-openapi__445": [
"Example",
"TestRouter"
]
} | [
{
"file": "openapi3/schema.go",
"old_start": 800,
"removed_line_numbers": [
803,
804,
805,
806,
807,
808
]
}
] |
vimeo__psalm__5416 | vimeo/psalm | 3046468d1e151a22a19d4c8cb2988ce3cf2633c4 | diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php
index ca0fac456d6..02e663cc754 100644
--- a/src/Psalm/Config.php
+++ b/src/Psalm/Config.php
@@ -4,6 +4,7 @@
use Composer\Autoload\ClassLoader;
use Composer\Semver\Semver;
+use Composer\Semver\VersionParser;
use DOMDocument;
use LogicException;
use Psalm\Co... | simple | PHP | 2021-03-18T13:42:01Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__5416 | [
"src/Psalm/Config.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked environment: base
_active_swe_env_path=
for _active_swe_env_candidate in "/opt/miniconda3" "/opt/conda"; do
if [ -d "$... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
source /opt/miniconda3/bin/activate
# Change to testbed directory
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/fixtures/ComposerPhpVersion/compo... | [
"Reads composer json for php version"
] | [] | {
"vimeo__psalm__5416": [
"Reads composer json for php version"
]
} | {
"vimeo__psalm__5416": []
} | [
{
"file": "src/Psalm/Config.php",
"old_start": 4,
"removed_line_numbers": []
},
{
"file": "src/Psalm/Config.php",
"old_start": 2053,
"removed_line_numbers": [
2057
]
}
] |
vimeo__psalm__6335 | vimeo/psalm | 9e1f7ade86bc136944d9760edfcb80a0b72c9bed | diff --git a/src/Psalm/Internal/Codebase/ClassLikes.php b/src/Psalm/Internal/Codebase/ClassLikes.php
index affc067e423..1402be44dee 100644
--- a/src/Psalm/Internal/Codebase/ClassLikes.php
+++ b/src/Psalm/Internal/Codebase/ClassLikes.php
@@ -321,11 +321,7 @@ public function hasFullyQualifiedClassName(
?string $... | simple | PHP | 2021-08-31T20:51:19Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__6335 | [
"src/Psalm/Internal/Codebase/ClassLikes.php"
] | [
"Reference & Data Flow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Internal/Codebase/ClassLikesTest.php b/tests/Internal/Codebase/ClassLikesTest.php
index 785a5293833..59c72695cc2 100644
---... | [
"Will resolve aliased aliases"
] | [] | {
"vimeo__psalm__6335": [
"Will resolve aliased aliases"
]
} | {
"vimeo__psalm__6335": []
} | [
{
"file": "src/Psalm/Internal/Codebase/ClassLikes.php",
"old_start": 321,
"removed_line_numbers": [
324,
325,
326,
327,
328
]
},
{
"file": "src/Psalm/Internal/Codebase/ClassLikes.php",
"old_start": 392,
"removed_line_numbers": [
395,
396,
... |
vimeo__psalm__7049 | vimeo/psalm | 16a61a758e44158c19c779c8b0a1c2143e40d83e | diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php
index 8343c2c9ce8..74f00590fc5 100644
--- a/src/Psalm/Internal/Cli/Psalm.php
+++ b/src/Psalm/Internal/Cli/Psalm.php
@@ -226,7 +226,7 @@ function () use ($current_dir, $options, $vendor_dir): ?\Composer\Autoload\Class
$config->se... | simple | PHP | 2021-12-04T17:49:24Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__7049 | [
"src/Psalm/Internal/Cli/Psalm.php",
"src/Psalm/Internal/CliUtils.php",
"src/Psalm/Report.php",
"src/Psalm/Report/ConsoleReport.php",
"src/Psalm/Report/ReportOptions.php"
] | [
"Reference & Data Flow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked environment: base
_active_swe_env_path=
for _active_swe_env_candidate in "/opt/miniconda3" "/opt/conda"; do
if [ -d "$... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
source /opt/miniconda3/bin/activate
# Change to testbed directory
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/EndToEnd/PsalmRunnerTrait.php b/t... | [
"Console report links are disabled in c i"
] | [
"Console report no snippet",
"Junit report",
"Emacs report",
"Checkstyle report",
"Console report no info",
"Sarif report",
"Json report",
"Console report with links",
"Sonarqube report",
"Report format valid",
"Console report",
"Report format exception",
"Github actions output",
"Empty re... | {
"vimeo__psalm__7049": [
"Console report links are disabled in c i"
]
} | {
"vimeo__psalm__7049": [
"Console report no snippet",
"Junit report",
"Emacs report",
"Checkstyle report",
"Console report no info",
"Sarif report",
"Json report",
"Console report with links",
"Sonarqube report",
"Report format valid",
"Console report",
"Report format ... | [
{
"file": "src/Psalm/Internal/Cli/Psalm.php",
"old_start": 226,
"removed_line_numbers": [
229
]
},
{
"file": "src/Psalm/Internal/Cli/Psalm.php",
"old_start": 310,
"removed_line_numbers": [
313
]
},
{
"file": "src/Psalm/Internal/Cli/Psalm.php",
"old_start":... |
vimeo__psalm__6818 | vimeo/psalm | dbc694c128a32ea634bb2740ee86bd713600e1b4 | diff --git a/src/Psalm/Report/GithubActionsReport.php b/src/Psalm/Report/GithubActionsReport.php
index 3abdb7d664b..aa0afa314f3 100644
--- a/src/Psalm/Report/GithubActionsReport.php
+++ b/src/Psalm/Report/GithubActionsReport.php
@@ -14,11 +14,12 @@ public function create(): string
foreach ($this->issues_data a... | simple | PHP | 2021-11-04T07:17:56Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__6818 | [
"src/Psalm/Report/GithubActionsReport.php"
] | [
"Data Processing & Type"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked environment: base
_active_swe_env_path=
for _active_swe_env_candidate in "/opt/miniconda3" "/opt/conda"; do
if [ -d "$... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
source /opt/miniconda3/bin/activate
# Change to testbed directory
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/ReportOutputTest.php b/tests/Repo... | [
"Github actions output"
] | [
"Emacs report",
"Junit report",
"Sarif report",
"Empty report if not error",
"Pylint report",
"Console report no snippet",
"Checkstyle report",
"Console report no info",
"Compact report",
"Console report",
"Json report",
"Filtered json report is still array",
"Sonarqube report",
"Report fo... | {
"vimeo__psalm__6818": [
"Github actions output"
]
} | {
"vimeo__psalm__6818": [
"Emacs report",
"Junit report",
"Sarif report",
"Empty report if not error",
"Pylint report",
"Console report no snippet",
"Checkstyle report",
"Console report no info",
"Compact report",
"Console report",
"Json report",
"Filtered json report i... | [
{
"file": "src/Psalm/Report/GithubActionsReport.php",
"old_start": 14,
"removed_line_numbers": [
17
]
}
] |
vimeo__psalm__6000 | vimeo/psalm | 74ec3affc2b305d9d61433be04e827ef2f939d84 | diff --git a/src/Psalm/ErrorBaseline.php b/src/Psalm/ErrorBaseline.php
index 9ab0cbfc7d6..e56a65527e6 100644
--- a/src/Psalm/ErrorBaseline.php
+++ b/src/Psalm/ErrorBaseline.php
@@ -19,6 +19,7 @@
use function preg_replace_callback;
use function str_replace;
use function strpos;
+use function trim;
use function usort... | simple | PHP | 2021-06-27T10:13:15Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__6000 | [
"src/Psalm/ErrorBaseline.php",
"src/Psalm/IssueBuffer.php"
] | [
"Data Processing & Type"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked environment: base
_active_swe_env_path=
for _active_swe_env_candidate in "/opt/miniconda3" "/opt/conda"; do
if [ -d "$... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
source /opt/miniconda3/bin/activate
# Change to testbed directory
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/ErrorBaselineTest.php b/tests/Err... | [
"Load should ignore line endings in issue snippet"
] | [
"Load should throw exception when files are not defined in baseline file",
"Update should remove existing issues without adding new ones",
"Load should parse xml baseline to php array",
"Load should throw exception when baseline file does not exist",
"Create should aggregate issues per file",
"Adding a co... | {
"vimeo__psalm__6000": [
"Load should ignore line endings in issue snippet"
]
} | {
"vimeo__psalm__6000": [
"Load should throw exception when files are not defined in baseline file",
"Update should remove existing issues without adding new ones",
"Load should parse xml baseline to php array",
"Load should throw exception when baseline file does not exist",
"Create should aggreg... | [
{
"file": "src/Psalm/ErrorBaseline.php",
"old_start": 19,
"removed_line_numbers": []
},
{
"file": "src/Psalm/ErrorBaseline.php",
"old_start": 115,
"removed_line_numbers": [
118
]
},
{
"file": "src/Psalm/ErrorBaseline.php",
"old_start": 273,
"removed_line_numbers... |
vimeo__psalm__5713 | vimeo/psalm | 9e19653a72fe85307b4989706973da467994f2ef | diff --git a/src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php b/src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php
index e84da91e276..fcafc5b2b77 100644
--- a/src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php
+++ b/src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDo... | simple | PHP | 2021-05-06T01:47:01Z | docker.io/biningbin/active-swe:simple-vimeo__psalm__5713 | [
"src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php",
"src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php"
] | [
"Domain-specific Workflow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/ClassLikeDocblockParserTest.php b/tests/ClassLikeDocblockParserTest.php
index 592bb350313..602b91f71dc 100644
--- a/tests/C... | [
"Prefer psalm prefixed annotations over phpstan ones"
] | [
"Docblock description"
] | {
"vimeo__psalm__5713": [
"Prefer psalm prefixed annotations over phpstan ones"
]
} | {
"vimeo__psalm__5713": [
"Docblock description"
]
} | [
{
"file": "src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php",
"old_start": 53,
"removed_line_numbers": []
},
{
"file": "src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeDocblockParser.php",
"old_start": 63,
"removed_line_numbers": [
70
]
},
{
"file": ... |
laravel__framework__43959 | laravel/framework | 0efbd7e6df26c48c3a2438fffefcdea932ec768f | diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
index 4b0950ed20ae..2dfc10e46492 100644
--- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
+++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
@@ -289,11 +2... | simple | PHP | 2022-09-01T13:35:25Z | docker.io/biningbin/active-swe:simple-laravel__framework__43959 | [
"src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php"
] | [
"Exception Safety"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Activate environment: start required services
# Active-SWE release policy: runtime dependency downloads are disabled.
/usr/local/bin/start-services.sh
# Set environment variables for testing
export APP_ENV=testing
export DB_CONNECTION=testing
export DB_HOST=127.0.0.1
export DB_PORT=... | [
"Models with custom casts can be converted to arrays",
"Saving casted attributes to database",
"Invalid argument exception on null",
"Invalid argument exception on invalid value"
] | [] | {
"laravel__framework__43959": [
"Models with custom casts can be converted to arrays",
"Saving casted attributes to database",
"Invalid argument exception on null",
"Invalid argument exception on invalid value"
]
} | {
"laravel__framework__43959": []
} | [
{
"file": "src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php",
"old_start": 289,
"removed_line_numbers": [
292,
296
]
},
{
"file": "src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php",
"old_start": 303,
"removed_line_numbers": [
306
]
},
{... |
laravel__framework__43758 | laravel/framework | 708ed2b85e37c7f0381de1aef40dd5b3b899c128 | diff --git a/src/Illuminate/Contracts/Database/ModelIdentifier.php b/src/Illuminate/Contracts/Database/ModelIdentifier.php
index 9893d280ef69..aacd18c079d8 100644
--- a/src/Illuminate/Contracts/Database/ModelIdentifier.php
+++ b/src/Illuminate/Contracts/Database/ModelIdentifier.php
@@ -34,6 +34,13 @@ class ModelIdentif... | simple | PHP | 2022-08-18T14:18:13Z | docker.io/biningbin/active-swe:simple-laravel__framework__43758 | [
"src/Illuminate/Contracts/Database/ModelIdentifier.php",
"src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php"
] | [
"Reference & Data Flow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to the testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Integration/Queue/ModelSerializationTest.php b/tests/Integration/Queue/ModelSerialization... | [
"Model serialization structure",
"Serialization types empty custom eloquent collection"
] | [
"It serializes a collection in correct order",
"It serializes an empty collection",
"It can unserialize a collection in correct order and handle deleted models",
"It serializes typed properties",
"It reloads relationships",
"It can run model boots and trait initializations",
"It reloads nested relations... | {
"laravel__framework__43758": [
"Model serialization structure",
"Serialization types empty custom eloquent collection"
]
} | {
"laravel__framework__43758": [
"It serializes a collection in correct order",
"It serializes an empty collection",
"It can unserialize a collection in correct order and handle deleted models",
"It serializes typed properties",
"It reloads relationships",
"It can run model boots and trait ini... | [
{
"file": "src/Illuminate/Contracts/Database/ModelIdentifier.php",
"old_start": 34,
"removed_line_numbers": []
},
{
"file": "src/Illuminate/Contracts/Database/ModelIdentifier.php",
"old_start": 50,
"removed_line_numbers": []
},
{
"file": "src/Illuminate/Queue/SerializesAndRestore... |
laravel__framework__40245 | laravel/framework | e66aafdbcf45a25712fe94fef5c1ea10ca283a41 | diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
index 8daf2d95c7ba..8833cb42b7d0 100644
--- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
+++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
@@ -571,8 +57... | simple | PHP | 2022-01-04T15:14:32Z | docker.io/biningbin/active-swe:simple-laravel__framework__40245 | [
"src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Start required services
# Active-SWE release policy: runtime dependency downloads are disabled.
/usr/local/bin/start-services.sh &
SERVICES_PID=$!
# Service startup slows down when many isolated eval containers run at
# once. Poll actual readiness instead of assuming both daemons st... | [
"One way casting"
] | [
"Basic custom casting",
"Setting raw attributes clears the cast cache",
"Get original with cast value objects"
] | {
"laravel__framework__40245": [
"One way casting"
]
} | {
"laravel__framework__40245": [
"Basic custom casting",
"Setting raw attributes clears the cast cache",
"Get original with cast value objects"
]
} | [
{
"file": "src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php",
"old_start": 571,
"removed_line_numbers": [
574,
575
]
},
{
"file": "src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php",
"old_start": 949,
"removed_line_numbers": [
952,
953
... |
laravel__framework__39939 | laravel/framework | fada7461eca5e2719b81894219da52b11724dd6d | diff --git a/src/Illuminate/Cache/RedisTaggedCache.php b/src/Illuminate/Cache/RedisTaggedCache.php
index 6a683c10c36b..a8c4c177a435 100644
--- a/src/Illuminate/Cache/RedisTaggedCache.php
+++ b/src/Illuminate/Cache/RedisTaggedCache.php
@@ -178,13 +178,19 @@ protected function deleteKeysByReference($reference)
*/
... | simple | PHP | 2021-12-13T19:06:02Z | docker.io/biningbin/active-swe:simple-laravel__framework__39939 | [
"src/Illuminate/Cache/RedisTaggedCache.php"
] | [
"Reference & Data Flow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Start required services
# Active-SWE release policy: runtime dependency downloads are disabled.
/usr/local/bin/start-services.sh &
SERVICES_PID=$!
# Wait a bit for services to be fully ready
sleep 10
# Navigate to the test directory
cd /testbed
# Ensure the test file is at the cor... | [
"Redis cache tags can be flushed"
] | [
"Cache can be set with datetime argument",
"Many with default values",
"Tags with string argument",
"Get multiple",
"Tags with increment can be flushed",
"Many",
"Redis cache tags push forever keys correctly with null t t l",
"Tags cache forever",
"Redis cache tags push forever keys correctly",
"C... | {
"laravel__framework__39939": [
"Redis cache tags can be flushed"
]
} | {
"laravel__framework__39939": [
"Cache can be set with datetime argument",
"Many with default values",
"Tags with string argument",
"Get multiple",
"Tags with increment can be flushed",
"Many",
"Redis cache tags push forever keys correctly with null t t l",
"Tags cache forever",
"... | [
{
"file": "src/Illuminate/Cache/RedisTaggedCache.php",
"old_start": 178,
"removed_line_numbers": [
181,
183,
184,
187
]
}
] |
laravel__framework__38563 | laravel/framework | 7cb5d258f6ee900a70a9961526018797b96924a9 | diff --git a/src/Illuminate/Validation/ValidationRuleParser.php b/src/Illuminate/Validation/ValidationRuleParser.php
index 252af3c720ba..ce499a55a58c 100644
--- a/src/Illuminate/Validation/ValidationRuleParser.php
+++ b/src/Illuminate/Validation/ValidationRuleParser.php
@@ -292,8 +292,8 @@ public static function filter... | simple | PHP | 2021-08-26T21:16:55Z | docker.io/biningbin/active-swe:simple-laravel__framework__38563 | [
"src/Illuminate/Validation/ValidationRuleParser.php"
] | [
"Exception Safety"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Ensure target test file is at the expected baseline before patching
# Apply test patch (content injected programmatically)
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Validation/Validatio... | [
"Conditional rules are properly expanded and filtered",
"Empty rules are preserved",
"Empty conditional rules are preserved"
] | [
"Conditional rules with default"
] | {
"laravel__framework__38563": [
"Conditional rules are properly expanded and filtered",
"Empty rules are preserved",
"Empty conditional rules are preserved"
]
} | {
"laravel__framework__38563": [
"Conditional rules with default"
]
} | [
{
"file": "src/Illuminate/Validation/ValidationRuleParser.php",
"old_start": 292,
"removed_line_numbers": [
295,
296
]
},
{
"file": "src/Illuminate/Validation/ValidationRuleParser.php",
"old_start": 303,
"removed_line_numbers": [
306
]
}
] |
phpactor__phpactor__1834 | phpactor/phpactor | f3c7c2a475d252ac9578f9b273329797ea4797d1 | diff --git a/lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseFillObject.php b/lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseFillObject.php
index 85d30af41e..fc88484a2a 100644
--- a/lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseFillObject.php
+++ b/lib/CodeTransform/Adapter/WorseReflection/Re... | simple | PHP | 2022-07-31T08:27:53Z | docker.io/biningbin/active-swe:simple-phpactor__phpactor__1834 | [
"lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseFillObject.php"
] | [
"Exception Safety"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply test patch using heredoc (Required pattern)
git apply -v - <<'EOF_114329324912'
diff --git a/lib/CodeTransform/Tests/Adapter/WorseReflection/Refactor/fixtures/fill... | [
"Fill not named with data set \"fillObject_noParens.test\"",
"Fill with data set \"fillObject_noParens.test\""
] | [] | {
"phpactor__phpactor__1834": [
"Fill not named with data set \"fillObject_noParens.test\"",
"Fill with data set \"fillObject_noParens.test\""
]
} | {
"phpactor__phpactor__1834": []
} | [
{
"file": "lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseFillObject.php",
"old_start": 107,
"removed_line_numbers": [
110
]
}
] |
phpactor__phpactor__1589 | phpactor/phpactor | daec92cf1003736c6aa78a87de4488dbeb1f4415 | diff --git a/lib/WorseReflection/Core/Inference/Walker/YieldWalker.php b/lib/WorseReflection/Core/Inference/Walker/YieldWalker.php
index 4e0ca987b5..17ab01e1f2 100644
--- a/lib/WorseReflection/Core/Inference/Walker/YieldWalker.php
+++ b/lib/WorseReflection/Core/Inference/Walker/YieldWalker.php
@@ -4,6 +4,8 @@
use Mi... | simple | PHP | 2022-05-14T11:47:20Z | docker.io/biningbin/active-swe:simple-phpactor__phpactor__1589 | [
"lib/WorseReflection/Core/Inference/Walker/YieldWalker.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply test patch using heredoc (Required pattern)
git apply -v - <<'EOF_114329324912'
diff --git a/lib/WorseReflection/Tests/Inference/generics/generator_yield_from_1.test b/lib/WorseReflection/Tests/... | [
"Self with data set \"generics generator_yield_from_1.test\""
] | [] | {
"phpactor__phpactor__1589": [
"Self with data set \"generics generator_yield_from_1.test\""
]
} | {
"phpactor__phpactor__1589": []
} | [
{
"file": "lib/WorseReflection/Core/Inference/Walker/YieldWalker.php",
"old_start": 4,
"removed_line_numbers": []
},
{
"file": "lib/WorseReflection/Core/Inference/Walker/YieldWalker.php",
"old_start": 23,
"removed_line_numbers": []
},
{
"file": "lib/WorseReflection/Core/Inference... |
phpactor__phpactor__1853 | phpactor/phpactor | 8adbb5f40c2e7a2419713ca9fff29638b23e76c7 | diff --git a/lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionClass.php b/lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionClass.php
index 6aaff06e6f..7ab7600b65 100644
--- a/lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionClass.php
+++ b/lib/WorseReflection/Bridge/TolerantPar... | simple | PHP | 2022-08-15T09:46:59Z | docker.io/biningbin/active-swe:simple-phpactor__phpactor__1853 | [
"lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionClass.php",
"lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionInterface.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply test patch using heredoc (Required pattern)
git apply -v - <<'EOF_114329324912'
diff --git a/lib/WorseReflection/Tests/Inference/generics/gh-1800.test b/lib/WorseR... | [
"Self with data set \"generics gh-1800.test\""
] | [] | {
"phpactor__phpactor__1853": [
"Self with data set \"generics gh-1800.test\""
]
} | {
"phpactor__phpactor__1853": []
} | [
{
"file": "lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionClass.php",
"old_start": 220,
"removed_line_numbers": []
},
{
"file": "lib/WorseReflection/Bridge/TolerantParser/Reflection/ReflectionInterface.php",
"old_start": 4,
"removed_line_numbers": [
7
]
}
] |
phpactor__phpactor__1672 | phpactor/phpactor | d4adf6e876c331b433cf1d6736064dc8fd5eb1e9 | diff --git a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php b/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
index 83a3af1dd4..e6211382c6 100644
--- a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
+++ b/lib/WorseReflection/Core/I... | simple | PHP | 2022-05-29T16:22:47Z | docker.io/biningbin/active-swe:simple-phpactor__phpactor__1672 | [
"lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php",
"lib/WorseReflection/Core/Inference/Resolver/SubscriptExpressionResolver.php",
"lib/WorseReflection/Core/Type/ArrayAccessType.php",
"lib/WorseReflection/Core/Type/ArrayLiteral.php",
"lib/WorseReflection/Core/Type/ArrayShapeType.... | [
"Data Processing & Type"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
# Active-SWE baked environment: testbed
_active_swe_env_path=
for _active_swe_env_candidate in "/opt/miniconda3/envs/testbed" "/envs/testbed"... |
#!/bin/bash
set -uxo pipefail
# Activate environment
# Active-SWE release policy: runtime dependency downloads are disabled.
source /opt/miniconda3/bin/activate
conda activate testbed
# Navigate to testbed directory
cd /testbed
# Apply test patch using heredoc
git apply -v - <<'EOF_114329324912'
diff --git a/lib/... | [
"Self with data set \"subscript-expression array_shape_access.test\""
] | [] | {
"phpactor__phpactor__1672": [
"Self with data set \"subscript-expression array_shape_access.test\""
]
} | {
"phpactor__phpactor__1672": []
} | [
{
"file": "lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php",
"old_start": 25,
"removed_line_numbers": [
29
]
},
{
"file": "lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php",
"old_start": 260,
"removed_line_numbers": [
... |
phpactor__phpactor__1661 | phpactor/phpactor | c607643eddb70e0f3e47a292550c79ffd99580a7 | diff --git a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php b/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
index d717143642..83a3af1dd4 100644
--- a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
+++ b/lib/WorseReflection/Core/I... | simple | PHP | 2022-05-26T12:52:02Z | docker.io/biningbin/active-swe:simple-phpactor__phpactor__1661 | [
"lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Navigate to test directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply test patch
git apply -v - <<'EOF_114329324912'
diff --git a/lib/WorseReflection/Tests/Inference/assignment/unknown_key.test b/lib/WorseReflection/Tests/Inference/as... | [
"Self with data set \"assignment unknown_key.test\""
] | [] | {
"phpactor__phpactor__1661": [
"Self with data set \"assignment unknown_key.test\""
]
} | {
"phpactor__phpactor__1661": []
} | [
{
"file": "lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php",
"old_start": 27,
"removed_line_numbers": []
},
{
"file": "lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php",
"old_start": 170,
"removed_line_numbers": []
},
{
"fi... |
doctrine__orm__9870 | doctrine/orm | 3295ccfa25d11296f06ea044f52c5b2fb7ee0649 | diff --git a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php
index 4f21a578a90..20865f10812 100644
--- a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php
+++ b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php
@@ -44,6 +44,9 @@ class ObjectHydra... | simple | PHP | 2022-07-03T20:25:18Z | docker.io/biningbin/active-swe:simple-doctrine__orm__9870 | [
"lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php"
] | [
"State & Lifecycle"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/GH9807Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/GH9807Test.php
new file mode 100644
index 00000000... | [
"Hydrate joined collection with first nullish row"
] | [] | {
"doctrine__orm__9870": [
"Hydrate joined collection with first nullish row"
]
} | {
"doctrine__orm__9870": []
} | [
{
"file": "lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php",
"old_start": 44,
"removed_line_numbers": []
},
{
"file": "lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php",
"old_start": 112,
"removed_line_numbers": [
115,
116,
117,
118
]
},
{
... |
doctrine__orm__8916 | doctrine/orm | d636d796868e90c43889e5510598686427e29dc7 | diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
index 0c1936757f6..49eea3486ec 100644
--- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
+++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
@@ -285,7 +285,10 @@ protected function validateRuntime... | simple | PHP | 2021-08-23T10:20:23Z | docker.io/biningbin/active-swe:simple-doctrine__orm__8916 | [
"lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php"
] | [
"Reference & Data Flow"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply the test patch (will be replaced with actual content at runtime)
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/GH8914... | [
"Discriminator map with several levels is supported"
] | [] | {
"doctrine__orm__8916": [
"Discriminator map with several levels is supported"
]
} | {
"doctrine__orm__8916": []
} | [
{
"file": "lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php",
"old_start": 285,
"removed_line_numbers": [
288
]
}
] |
doctrine__orm__9053 | doctrine/orm | 532673657198c1246edacce8efbf62076ddb8fc4 | diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php
index ca858881a0b..775eceaabd4 100644
--- a/lib/Doctrine/ORM/EntityManager.php
+++ b/lib/Doctrine/ORM/EntityManager.php
@@ -473,7 +473,9 @@ public function find($className, $id, $lockMode = null, $lockVersion = null)
case ... | simple | PHP | 2021-09-30T21:29:34Z | docker.io/biningbin/active-swe:simple-doctrine__orm__9053 | [
"lib/Doctrine/ORM/EntityManager.php"
] | [
"Exception Safety"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Ensure we're on the correct commit
# Apply the test patch (will be replaced with actual content at runtime)
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket... | [
"Deleted entity"
] | [] | {
"doctrine__orm__9053": [
"Deleted entity"
]
} | {
"doctrine__orm__9053": []
} | [
{
"file": "lib/Doctrine/ORM/EntityManager.php",
"old_start": 473,
"removed_line_numbers": [
476
]
}
] |
doctrine__orm__9028 | doctrine/orm | 1f6401ee0a36450308380121d2d9bc96d4d5e097 | diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php
index a9763008dab..4fbee2cbd1b 100644
--- a/lib/Doctrine/ORM/UnitOfWork.php
+++ b/lib/Doctrine/ORM/UnitOfWork.php
@@ -2872,6 +2872,10 @@ public function createEntity($className, array $data, &$hints = [])
... | simple | PHP | 2021-09-27T10:43:35Z | docker.io/biningbin/active-swe:simple-doctrine__orm__9028 | [
"lib/Doctrine/ORM/UnitOfWork.php"
] | [
"Exception Safety"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply the test patch (to be replaced with actual content at runtime)
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/GH9027Test.php b/tests/Doctrine/Tests/O... | [
"Unit of work handles null relations"
] | [] | {
"doctrine__orm__9028": [
"Unit of work handles null relations"
]
} | {
"doctrine__orm__9028": []
} | [
{
"file": "lib/Doctrine/ORM/UnitOfWork.php",
"old_start": 2872,
"removed_line_numbers": []
},
{
"file": "lib/Doctrine/ORM/UnitOfWork.php",
"old_start": 2892,
"removed_line_numbers": [
2895
]
}
] |
briannesbitt__Carbon__2687 | briannesbitt/Carbon | 63327892daac5781de8658d077a34019ef04113d | diff --git a/src/Carbon/Traits/Date.php b/src/Carbon/Traits/Date.php
index 7dc0b9bb69..0d9536c107 100644
--- a/src/Carbon/Traits/Date.php
+++ b/src/Carbon/Traits/Date.php
@@ -1354,9 +1354,14 @@ public function dayOfYear($value = null)
*/
public function weekday($value = null)
{
- $dayOfWeek = ($t... | simple | PHP | 2022-10-21T23:22:45Z | docker.io/biningbin/active-swe:simple-briannesbitt__Carbon__2687 | [
"src/Carbon/Traits/Date.php"
] | [
"Logic & Computation"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Checkout the target test file to ensure clean state
# Apply the test patch
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Carbon/WeekTest.php b/tests/Carbon/WeekTest.php
index f1e85d1214..e51... | [
"Weekday"
] | [
"Setters",
"Week utils"
] | {
"briannesbitt__Carbon__2687": [
"Weekday"
]
} | {
"briannesbitt__Carbon__2687": [
"Setters",
"Week utils"
]
} | [
{
"file": "src/Carbon/Traits/Date.php",
"old_start": 1354,
"removed_line_numbers": [
1357,
1359
]
}
] |
briannesbitt__Carbon__2475 | briannesbitt/Carbon | 2d363e8ae89bde9c7625c9ec108cf7aa65921bed | diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml
index 3559c34048..a11ed3da8d 100644
--- a/.github/workflows/phpstan.yml
+++ b/.github/workflows/phpstan.yml
@@ -30,6 +30,7 @@ jobs:
composer remove --no-update phpmd/phpmd friendsofphp/php-cs-fixer --no-interaction;
compose... | simple | PHP | 2021-10-18T20:13:37Z | docker.io/biningbin/active-swe:simple-briannesbitt__Carbon__2475 | [
"src/Carbon/Lang/gu.php"
] | [
"Data Processing & Type"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Change to testbed directory
# Active-SWE release policy: runtime dependency downloads are disabled.
cd /testbed
# Apply test patch using heredoc (Required pattern)
git apply -v - <<'EOF_114329324912'
diff --git a/tests/Localization/GuInTest.php b/tests/Localization/GuInTest.php
inde... | [
"Language"
] | [] | {
"briannesbitt__Carbon__2475": [
"Language"
]
} | {
"briannesbitt__Carbon__2475": []
} | [
{
"file": ".github/workflows/phpstan.yml",
"old_start": 30,
"removed_line_numbers": []
},
{
"file": "composer.json",
"old_start": 29,
"removed_line_numbers": []
},
{
"file": "src/Carbon/Lang/gu.php",
"old_start": 18,
"removed_line_numbers": [
21
]
}
] |
codeigniter4__CodeIgniter4__4499 | codeigniter4/CodeIgniter4 | 60d73989a0b7a7b23e1552b4282d97e22975b266 | diff --git a/system/CLI/GeneratorTrait.php b/system/CLI/GeneratorTrait.php
index 29a977b5aeda..6ee7bc016592 100644
--- a/system/CLI/GeneratorTrait.php
+++ b/system/CLI/GeneratorTrait.php
@@ -212,17 +212,24 @@ protected function qualifyClassName(): string
{
// @codeCoverageIgnoreStart
$nameLang = $this->class... | simple | PHP | 2021-03-28T07:10:58Z | docker.io/biningbin/active-swe:simple-codeigniter4__CodeIgniter4__4499 | [
"system/CLI/GeneratorTrait.php"
] | [
"Data Processing & Type"
] | phpunit | parse_log_phpunit | #!/bin/bash
set -uo pipefail
# Active-SWE synchronized template policy: runtime dependency downloads are disabled.
cd /testbed
git config --global --add safe.directory /testbed
[TEST_PATCH]
[TEST_CMD]
rc=$?
echo "OMNIGRIL_EXIT_CODE=$rc"
|
#!/bin/bash
set -uxo pipefail
# Set up environment variables for testing
# Active-SWE release policy: runtime dependency downloads are disabled.
export XDEBUG_MODE=coverage
export app.baseURL=http://example.com/
export HOMEPATH=./
export CONFIGPATH=./app/Config/
export PUBLICPATH=./public/
cd /testbed
# Checkout ... | [
"Generator preserves case but changes component name",
"Generator preserves case"
] | [
"Generate command with option group",
"Generate command with option suffix",
"Generate command with option command",
"Generate command"
] | {
"codeigniter4__CodeIgniter4__4499": [
"Generator preserves case but changes component name",
"Generator preserves case"
]
} | {
"codeigniter4__CodeIgniter4__4499": [
"Generate command with option group",
"Generate command with option suffix",
"Generate command with option command",
"Generate command"
]
} | [
{
"file": "system/CLI/GeneratorTrait.php",
"old_start": 212,
"removed_line_numbers": [
215,
216,
223,
224,
225
]
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.