rubric_id
stringlengths
12
12
text
stringlengths
842
4.32k
title
stringlengths
5
189
prompt_block
stringlengths
842
4.32k
retrieval_text
stringlengths
251
614
input_condition
stringclasses
1 value
artifact
stringclasses
1 value
family
stringclasses
1 value
library
stringclasses
1 value
manifest_rank
int64
0
96
source_instance_id
stringlengths
15
62
source_repo
stringlengths
9
46
9e957f8bd14f
### Handling `TypeVar` indexing by falling back to the upper bound *unconditionally* - **Applies when**: `code` -- the diff touches the index/subscript (or attribute/operator) dispatch for `TypeVarType` operands (e.g. `visit_index_with_type` in `mypy/checkexpr.py`), or more generally adds/loosens a branch that rewrite...
Handling `TypeVar` indexing by falling back to the upper bound *unconditionally*
### Handling `TypeVar` indexing by falling back to the upper bound *unconditionally* - **Applies when**: `code` -- the diff touches the index/subscript (or attribute/operator) dispatch for `TypeVarType` operands (e.g. `visit_index_with_type` in `mypy/checkexpr.py`), or more generally adds/loosens a branch that rewrite...
Handling `TypeVar` indexing by falling back to the upper bound *unconditionally* -- `code` -- the diff touches the index/subscript (or attribute/operator) dispatch for `TypeVarType` operands (e.g. `visit_index_with_type` in `mypy/checkexpr.py`), or more generally adds/loosens a branch that rewrites a type variable to `...
task
lib_specific_opus
lib_specific_opus
0
python__mypy-11434
python/mypy
266afe2499df
### Registering template helpers without changing the template that emits the output - **Applies when**: `code` -- the fix targets text generated by a Jinja2/string template (e.g. `conan_toolchain.cmake`, `CMakeToolchain._template`), and the diff only touches filter/test/helper registration, context building, or `rend...
Registering template helpers without changing the template that emits the output
### Registering template helpers without changing the template that emits the output - **Applies when**: `code` -- the fix targets text generated by a Jinja2/string template (e.g. `conan_toolchain.cmake`, `CMakeToolchain._template`), and the diff only touches filter/test/helper registration, context building, or `rend...
Registering template helpers without changing the template that emits the output -- `code` -- the fix targets text generated by a Jinja2/string template (e.g. `conan_toolchain.cmake`, `CMakeToolchain._template`), and the diff only touches filter/test/helper registration, context building, or `render()` plumbing.
task
lib_specific_opus
lib_specific_opus
1
conan-io__conan-10941
conan-io/conan
eadb4fe38ffc
### Missing import / wrong-layer guard when raising an exception for malformed version-range tokens - **Applies when**: `code` — the patch adds a `raise ConanException(...)` (or any exception type) inside `conans/model/version_range.py` (or any module) to reject malformed `required_conan_version` / version-range strin...
Missing import / wrong-layer guard when raising an exception for malformed version-range tokens
### Missing import / wrong-layer guard when raising an exception for malformed version-range tokens - **Applies when**: `code` — the patch adds a `raise ConanException(...)` (or any exception type) inside `conans/model/version_range.py` (or any module) to reject malformed `required_conan_version` / version-range strin...
Missing import / wrong-layer guard when raising an exception for malformed version-range tokens -- `code` — the patch adds a `raise ConanException(...)` (or any exception type) inside `conans/model/version_range.py` (or any module) to reject malformed `required_conan_version` / version-range strings such as `">= 1.36.0...
task
lib_specific_opus
lib_specific_opus
2
conan-io__conan-12695
conan-io/conan
88d05d550df0
### Duck-typed `__array__` fallback must be a guarded *last resort* in `Serializer._encode_other` - **Applies when**: `task` reports `SerializationError: can't serialize <SomeArrayLikeType>` (polars/pyarrow/torch/xarray/etc.) and the `code` diff touches `src/bokeh/core/serialization.py` (`Serializer.encode` / `_encode...
Duck-typed `__array__` fallback must be a guarded *last resort* in `Serializer._encode_other`
### Duck-typed `__array__` fallback must be a guarded *last resort* in `Serializer._encode_other` - **Applies when**: `task` reports `SerializationError: can't serialize <SomeArrayLikeType>` (polars/pyarrow/torch/xarray/etc.) and the `code` diff touches `src/bokeh/core/serialization.py` (`Serializer.encode` / `_encode...
Duck-typed `__array__` fallback must be a guarded *last resort* in `Serializer._encode_other` -- `task` reports `SerializationError: can't serialize <SomeArrayLikeType>` (polars/pyarrow/torch/xarray/etc.) and the `code` diff touches `src/bokeh/core/serialization.py` (`Serializer.encode` / `_encode_other` / `_encode_nda...
task
lib_specific_opus
lib_specific_opus
3
bokeh__bokeh-13328
bokeh/bokeh
e83b4c2be56b
### Aggregate/alias generated file: new template variables must be fed consistently from every construction site - **Applies when**: `code` -- the fix adds a new variable (e.g. `prefix=`) and/or optional custom content to a secondary ("shortened"/alias) template of a file generator (`conan/tools/gnu/pkgconfigdeps.py`,...
Aggregate/alias generated file: new template variables must be fed consistently from every construction site
### Aggregate/alias generated file: new template variables must be fed consistently from every construction site - **Applies when**: `code` -- the fix adds a new variable (e.g. `prefix=`) and/or optional custom content to a secondary ("shortened"/alias) template of a file generator (`conan/tools/gnu/pkgconfigdeps.py`,...
Aggregate/alias generated file: new template variables must be fed consistently from every construction site -- `code` -- the fix adds a new variable (e.g. `prefix=`) and/or optional custom content to a secondary ("shortened"/alias) template of a file generator (`conan/tools/gnu/pkgconfigdeps.py`, `_PCContentGenerator....
task
lib_specific_opus
lib_specific_opus
4
conan-io__conan-14051
conan-io/conan
250fa11b3b7f
### Fix must propagate visibility flags (`module_public`/`module_hidden`) into the incomplete/placeholder symbol, not re-route import control flow - **Applies when**: `task` is a mypy (or similar semantic-analyzer) crash such as `AssertionError: Definition of X is unexpectedly incomplete` that only reproduces with a r...
Fix must propagate visibility flags (`module_public`/`module_hidden`) into the incomplete/placeholder symbol, not re-route import control flow
### Fix must propagate visibility flags (`module_public`/`module_hidden`) into the incomplete/placeholder symbol, not re-route import control flow - **Applies when**: `task` is a mypy (or similar semantic-analyzer) crash such as `AssertionError: Definition of X is unexpectedly incomplete` that only reproduces with a r...
Fix must propagate visibility flags (`module_public`/`module_hidden`) into the incomplete/placeholder symbol, not re-route import control flow -- `task` is a mypy (or similar semantic-analyzer) crash such as `AssertionError: Definition of X is unexpectedly incomplete` that only reproduces with a re-export/visibility fl...
task
lib_specific_opus
lib_specific_opus
5
python__mypy-11632
python/mypy
4d5eb94d0704
### Title Resolver/accessor added, but the singleton state it reads from is still un-scoped (no isolated snapshot) - **Applies when**: `task` asks to expose runtime state held in a global/singleton (e.g. `HydraConfig`) through a new access path (a resolver like `${hydra:...}`, helper, or API), **and** `code` has a set...
Title
### Title Resolver/accessor added, but the singleton state it reads from is still un-scoped (no isolated snapshot) - **Applies when**: `task` asks to expose runtime state held in a global/singleton (e.g. `HydraConfig`) through a new access path (a resolver like `${hydra:...}`, helper, or API), **and** `code` has a set...
Title -- `task` asks to expose runtime state held in a global/singleton (e.g. `HydraConfig`) through a new access path (a resolver like `${hydra:...}`, helper, or API), **and** `code` has a setter that stores a reference to a larger, live object (`self.cfg = cfg`) of which only a sub-node is meant to be exposed.
task
lib_specific_opus
lib_specific_opus
6
facebookresearch__hydra-614
facebookresearch/hydra
7389799384fd
### Scope creep: prefix handling leaked into the config‑key (`_get_matches`) branch of `_query` - **Applies when**: `code` -- the diff touches `hydra/plugins/completion_plugin.py` to add support for `+`/`~` (append/delete defaults) completions, i.e. it strips a leading `+`/`~` from the word and re‑prepends it to resul...
Scope creep: prefix handling leaked into the config‑key (`_get_matches`) branch of `_query`
### Scope creep: prefix handling leaked into the config‑key (`_get_matches`) branch of `_query` - **Applies when**: `code` -- the diff touches `hydra/plugins/completion_plugin.py` to add support for `+`/`~` (append/delete defaults) completions, i.e. it strips a leading `+`/`~` from the word and re‑prepends it to resul...
Scope creep: prefix handling leaked into the config‑key (`_get_matches`) branch of `_query` -- `code` -- the diff touches `hydra/plugins/completion_plugin.py` to add support for `+`/`~` (append/delete defaults) completions, i.e. it strips a leading `+`/`~` from the word and re‑prepends it to results.
task
lib_specific_opus
lib_specific_opus
7
facebookresearch__hydra-1842
facebookresearch/hydra
074a01002617
### Symptom-level coercion in a shared constructor instead of fixing the call site that produces the wrong type - **Applies when**: `code` — the bug is a type-contract violation (a `pandas.Index`/tuple/generator flowing where a `list` is declared, e.g. `DtypesDescriptor(cols_with_unknown_dtypes=...)`), and the diff ch...
Symptom-level coercion in a shared constructor instead of fixing the call site that produces the wrong type
### Symptom-level coercion in a shared constructor instead of fixing the call site that produces the wrong type - **Applies when**: `code` — the bug is a type-contract violation (a `pandas.Index`/tuple/generator flowing where a `list` is declared, e.g. `DtypesDescriptor(cols_with_unknown_dtypes=...)`), and the diff ch...
Symptom-level coercion in a shared constructor instead of fixing the call site that produces the wrong type -- `code` — the bug is a type-contract violation (a `pandas.Index`/tuple/generator flowing where a `list` is declared, e.g. `DtypesDescriptor(cols_with_unknown_dtypes=...)`), and the diff changes the *receiver* (...
task
lib_specific_opus
lib_specific_opus
8
modin-project__modin-6844
modin-project/modin
440156265137
### Test-only patch: feature API never implemented across the dispatch chain - **Applies when**: `task` asks to add a new public I/O entry point (e.g. `read_json_glob` / `DataFrame.modin.to_json_glob`) mirroring an existing one (`read_csv_glob`, `read_parquet_glob`), and the `code` base routes I/O through layers (publi...
Test-only patch: feature API never implemented across the dispatch chain
### Test-only patch: feature API never implemented across the dispatch chain - **Applies when**: `task` asks to add a new public I/O entry point (e.g. `read_json_glob` / `DataFrame.modin.to_json_glob`) mirroring an existing one (`read_csv_glob`, `read_parquet_glob`), and the `code` base routes I/O through layers (publi...
Test-only patch: feature API never implemented across the dispatch chain -- `task` asks to add a new public I/O entry point (e.g. `read_json_glob` / `DataFrame.modin.to_json_glob`) mirroring an existing one (`read_csv_glob`, `read_parquet_glob`), and the `code` base routes I/O through layers (public API → `FactoryDispa...
task
lib_specific_opus
lib_specific_opus
9
modin-project__modin-6873
modin-project/modin
00d6b063e343
### Missing helper-signature update when a new call site passes a *set/tuple* of fullnames to a single-name resolver - **Applies when**: `code` — the diff adds detection logic that reuses an existing name-resolution helper (e.g. `refers_to_fullname(name, fullname)`, `is_alias_expression`, `resolve_name`) but passes a ...
Missing helper-signature update when a new call site passes a *set/tuple* of fullnames to a single-name resolver
### Missing helper-signature update when a new call site passes a *set/tuple* of fullnames to a single-name resolver - **Applies when**: `code` — the diff adds detection logic that reuses an existing name-resolution helper (e.g. `refers_to_fullname(name, fullname)`, `is_alias_expression`, `resolve_name`) but passes a ...
Missing helper-signature update when a new call site passes a *set/tuple* of fullnames to a single-name resolver -- `code` — the diff adds detection logic that reuses an existing name-resolution helper (e.g. `refers_to_fullname(name, fullname)`, `is_alias_expression`, `resolve_name`) but passes a *collection* constant ...
task
lib_specific_opus
lib_specific_opus
10
python__mypy-14682
python/mypy
c038e2cdf535
### Context-manager config feature added as metaclass/`__call__` magic instead of an exported public helper - **Applies when**: `task` asks to add a new user-facing convenience API (e.g., "set config X temporarily with a `with` block") to a library that already has a public package namespace (`package/__init__.py` wit...
Context-manager config feature added as metaclass/`__call__` magic instead of an exported public helper
### Context-manager config feature added as metaclass/`__call__` magic instead of an exported public helper - **Applies when**: `task` asks to add a new user-facing convenience API (e.g., "set config X temporarily with a `with` block") to a library that already has a public package namespace (`package/__init__.py` wit...
Context-manager config feature added as metaclass/`__call__` magic instead of an exported public helper -- `task` asks to add a new user-facing convenience API (e.g., "set config X temporarily with a `with` block") to a library that already has a public package namespace (`package/__init__.py` with `__all__`), and the ...
task
lib_specific_opus
lib_specific_opus
11
modin-project__modin-7142
modin-project/modin
bc85204956da
### Recombining enum-literal unions in the printer instead of in the type system - **Applies when**: `task` asks for a union of literal types (enum members, `Literal[True]/[False]`) to be displayed/inferred as the original type, **or** `code` diff touches `mypy/messages.py:format_type_inner` / `mypy/types.py:TypeStrVi...
Recombining enum-literal unions in the printer instead of in the type system
### Recombining enum-literal unions in the printer instead of in the type system - **Applies when**: `task` asks for a union of literal types (enum members, `Literal[True]/[False]`) to be displayed/inferred as the original type, **or** `code` diff touches `mypy/messages.py:format_type_inner` / `mypy/types.py:TypeStrVi...
Recombining enum-literal unions in the printer instead of in the type system -- `task` asks for a union of literal types (enum members, `Literal[True]/[False]`) to be displayed/inferred as the original type, **or** `code` diff touches `mypy/messages.py:format_type_inner` / `mypy/types.py:TypeStrVisitor.visit_union_type...
task
lib_specific_opus
lib_specific_opus
12
python__mypy-9097
python/mypy
0556af669bd2
### Incompatible signature change to a shared type (`SearchPathQuery`) without updating all call sites - **Applies when**: `code` -- the diff converts an existing class into a `@dataclass` (or otherwise rewrites its `__init__`), renames/reorders its parameters, or renames a module-level function that is imported elsew...
Incompatible signature change to a shared type (`SearchPathQuery`) without updating all call sites
### Incompatible signature change to a shared type (`SearchPathQuery`) without updating all call sites - **Applies when**: `code` -- the diff converts an existing class into a `@dataclass` (or otherwise rewrites its `__init__`), renames/reorders its parameters, or renames a module-level function that is imported elsew...
Incompatible signature change to a shared type (`SearchPathQuery`) without updating all call sites -- `code` -- the diff converts an existing class into a `@dataclass` (or otherwise rewrites its `__init__`), renames/reorders its parameters, or renames a module-level function that is imported elsewhere, while the task i...
task
lib_specific_opus
lib_specific_opus
13
facebookresearch__hydra-876
facebookresearch/hydra
d4cfdf0d1c90
### Missing implementation of the new API the issue asks for (dispatch to non-existent symbols) - **Applies when**: `task` -- the issue requests new public functions in a specific module (e.g. "implement `dask.array.ma.ones_like`/`zeros_like`/`empty_like` via `map_blocks`"), and the `code` diff only edits *other* call...
Missing implementation of the new API the issue asks for (dispatch to non-existent symbols)
### Missing implementation of the new API the issue asks for (dispatch to non-existent symbols) - **Applies when**: `task` -- the issue requests new public functions in a specific module (e.g. "implement `dask.array.ma.ones_like`/`zeros_like`/`empty_like` via `map_blocks`"), and the `code` diff only edits *other* call...
Missing implementation of the new API the issue asks for (dispatch to non-existent symbols) -- `task` -- the issue requests new public functions in a specific module (e.g. "implement `dask.array.ma.ones_like`/`zeros_like`/`empty_like` via `map_blocks`"), and the `code` diff only edits *other* call sites to delegate to ...
task
lib_specific_opus
lib_specific_opus
14
dask__dask-9378
dask/dask
dfe039da948c
### Fix must restore the *safety guard* on cross-scope narrowing propagation, not copy more binder state - **Applies when**: `task` describes mypy propagating (or failing to propagate) type narrowing from an outer function into a nested function/lambda, and `code` touches `check_func_def`'s `top_frame_context()` block...
Fix must restore the *safety guard* on cross-scope narrowing propagation, not copy more binder state
### Fix must restore the *safety guard* on cross-scope narrowing propagation, not copy more binder state - **Applies when**: `task` describes mypy propagating (or failing to propagate) type narrowing from an outer function into a nested function/lambda, and `code` touches `check_func_def`'s `top_frame_context()` block...
Fix must restore the *safety guard* on cross-scope narrowing propagation, not copy more binder state -- `task` describes mypy propagating (or failing to propagate) type narrowing from an outer function into a nested function/lambda, and `code` touches `check_func_def`'s `top_frame_context()` block in `mypy/checker.py` ...
task
lib_specific_opus
lib_specific_opus
15
python__mypy-15133
python/mypy
72a914a07eb7
### Removing an `is_dynamic()` guard wholesale, and only in one of several dispatch paths - **Applies when**: `task` asks for a check (e.g. `@final` override, `@override`, name-clash) to fire on *untyped*/dynamic function bodies, and the `code` disables that check via an `is_dynamic()` (or `check_untyped_defs`) guard ...
Removing an `is_dynamic()` guard wholesale, and only in one of several dispatch paths
### Removing an `is_dynamic()` guard wholesale, and only in one of several dispatch paths - **Applies when**: `task` asks for a check (e.g. `@final` override, `@override`, name-clash) to fire on *untyped*/dynamic function bodies, and the `code` disables that check via an `is_dynamic()` (or `check_untyped_defs`) guard ...
Removing an `is_dynamic()` guard wholesale, and only in one of several dispatch paths -- `task` asks for a check (e.g. `@final` override, `@override`, name-clash) to fire on *untyped*/dynamic function bodies, and the `code` disables that check via an `is_dynamic()` (or `check_untyped_defs`) guard that sits at a per-nod...
task
lib_specific_opus
lib_specific_opus
16
python__mypy-17276
python/mypy
c32c88f15423
### Toolchain override must be plumbed through the existing tool-locator abstraction and every internal helper, not bolted on as a new conf knob - **Applies when**: `task` asks to make a hardcoded external binary (e.g. `otool`, `install_name_tool`, `strip`, `ranlib`) configurable/relocatable, and `code` already contai...
Toolchain override must be plumbed through the existing tool-locator abstraction and every internal helper, not bolted on as a new conf knob
### Toolchain override must be plumbed through the existing tool-locator abstraction and every internal helper, not bolted on as a new conf knob - **Applies when**: `task` asks to make a hardcoded external binary (e.g. `otool`, `install_name_tool`, `strip`, `ranlib`) configurable/relocatable, and `code` already contai...
Toolchain override must be plumbed through the existing tool-locator abstraction and every internal helper, not bolted on as a new conf knob -- `task` asks to make a hardcoded external binary (e.g. `otool`, `install_name_tool`, `strip`, `ranlib`) configurable/relocatable, and `code` already contains a resolver class fo...
task
lib_specific_opus
lib_specific_opus
17
conan-io__conan-14195
conan-io/conan
40b1485feaa1
### Symptom-suppressing guard at the crash frame instead of fixing the component that produced the malformed node - **Applies when**: `task` is a crash/INTERNAL-ERROR report whose traceback bottoms out in generic shared machinery (`subtypes.py`, `typeops.py`, `expandtype.py`, `join.py`, …) but whose *reproducer* names...
Symptom-suppressing guard at the crash frame instead of fixing the component that produced the malformed node
### Symptom-suppressing guard at the crash frame instead of fixing the component that produced the malformed node - **Applies when**: `task` is a crash/INTERNAL-ERROR report whose traceback bottoms out in generic shared machinery (`subtypes.py`, `typeops.py`, `expandtype.py`, `join.py`, …) but whose *reproducer* names...
Symptom-suppressing guard at the crash frame instead of fixing the component that produced the malformed node -- `task` is a crash/INTERNAL-ERROR report whose traceback bottoms out in generic shared machinery (`subtypes.py`, `typeops.py`, `expandtype.py`, `join.py`, …) but whose *reproducer* names a specific feature (h...
task
lib_specific_opus
lib_specific_opus
18
python__mypy-15629
python/mypy
6a0526de637e
### Removing/weakening an existing guard clause instead of making the minimal additive fix - **Applies when**: `code` — the diff touches a dispatch/validation branch in a public API (e.g. `DataFrame.join`'s `if is_series_like(other) and hasattr(other, "name"): other = other.to_frame()`), and the issue only asks for a ...
Removing/weakening an existing guard clause instead of making the minimal additive fix
### Removing/weakening an existing guard clause instead of making the minimal additive fix - **Applies when**: `code` — the diff touches a dispatch/validation branch in a public API (e.g. `DataFrame.join`'s `if is_series_like(other) and hasattr(other, "name"): other = other.to_frame()`), and the issue only asks for a ...
Removing/weakening an existing guard clause instead of making the minimal additive fix -- `code` — the diff touches a dispatch/validation branch in a public API (e.g. `DataFrame.join`'s `if is_series_like(other) and hasattr(other, "name"): other = other.to_frame()`), and the issue only asks for a *missing* code path to...
task
lib_specific_opus
lib_specific_opus
19
dask__dask-6809
dask/dask
7da20b53a760
### Over-broad fallback: disabling the distributed path for *all* non-string connections instead of converting SQLAlchemy Engine/Connection to a URL string - **Applies when**: `code` -- the fix touches a distributed write/read dispatcher (e.g. `SQLDispatcher.write` / `to_sql`) that must decide, per connection argument...
Over-broad fallback: disabling the distributed path for *all* non-string connections instead of converting SQLAlchemy Engine/Connection to a URL string
### Over-broad fallback: disabling the distributed path for *all* non-string connections instead of converting SQLAlchemy Engine/Connection to a URL string - **Applies when**: `code` -- the fix touches a distributed write/read dispatcher (e.g. `SQLDispatcher.write` / `to_sql`) that must decide, per connection argument...
Over-broad fallback: disabling the distributed path for *all* non-string connections instead of converting SQLAlchemy Engine/Connection to a URL string -- `code` -- the fix touches a distributed write/read dispatcher (e.g. `SQLDispatcher.write` / `to_sql`) that must decide, per connection argument, between a parallel p...
task
lib_specific_opus
lib_specific_opus
20
modin-project__modin-5940
modin-project/modin
630da3cffc58
### Ordering/scheduling bugs must be fixed in `dask/order.py`, not worked around in array/chunk code - **Applies when**: `task` — the issue reports excessive memory during execution of a dask graph and the evidence given is about *execution order* (e.g. `color="order"` visualizations, "the numbers in circles are the o...
Ordering/scheduling bugs must be fixed in `dask/order.py`, not worked around in array/chunk code
### Ordering/scheduling bugs must be fixed in `dask/order.py`, not worked around in array/chunk code - **Applies when**: `task` — the issue reports excessive memory during execution of a dask graph and the evidence given is about *execution order* (e.g. `color="order"` visualizations, "the numbers in circles are the o...
Ordering/scheduling bugs must be fixed in `dask/order.py`, not worked around in array/chunk code -- `task` — the issue reports excessive memory during execution of a dask graph and the evidence given is about *execution order* (e.g. `color="order"` visualizations, "the numbers in circles are the order the tasks run in"...
task
lib_specific_opus
lib_specific_opus
21
dask__dask-6779
dask/dask
6ee28ca25fa8
### Reachability after `match`: per-case subject narrowing must be implemented in `visit_match_stmt`, not by loosening a shared narrowing helper - **Applies when**: `task` asks for exhaustiveness/reachability (e.g. false "Missing return statement") for `match` statements, **or** `code` diff touches `mypy/checker.py` n...
Reachability after `match`: per-case subject narrowing must be implemented in `visit_match_stmt`, not by loosening a shared narrowing helper
### Reachability after `match`: per-case subject narrowing must be implemented in `visit_match_stmt`, not by loosening a shared narrowing helper - **Applies when**: `task` asks for exhaustiveness/reachability (e.g. false "Missing return statement") for `match` statements, **or** `code` diff touches `mypy/checker.py` n...
Reachability after `match`: per-case subject narrowing must be implemented in `visit_match_stmt`, not by loosening a shared narrowing helper -- `task` asks for exhaustiveness/reachability (e.g. false "Missing return statement") for `match` statements, **or** `code` diff touches `mypy/checker.py` narrowing helpers (`con...
task
lib_specific_opus
lib_specific_opus
22
python__mypy-12267
python/mypy
4cba89dc43e3
### Title Extra-behavior → `additionalProperties` mapping must cover all class-like schemas (model, dataclass, TypedDict) and must not emit anything for `ignore`/unset - **Applies when**: `task` asks to expose `model_config["extra"]` (or equivalent `extra_fields_behavior`) in generated JSON Schema, and `code` is a JSO...
Title
### Title Extra-behavior → `additionalProperties` mapping must cover all class-like schemas (model, dataclass, TypedDict) and must not emit anything for `ignore`/unset - **Applies when**: `task` asks to expose `model_config["extra"]` (or equivalent `extra_fields_behavior`) in generated JSON Schema, and `code` is a JSO...
Title -- `task` asks to expose `model_config["extra"]` (or equivalent `extra_fields_behavior`) in generated JSON Schema, and `code` is a JSON-schema generator with separate handlers such as `model_schema`, `dataclass_schema`, `typed_dict_schema`, and a shared `_update_class_schema`-style helper.
task
lib_specific_opus
lib_specific_opus
23
pydantic__pydantic-6115
pydantic/pydantic
29d22828968c
### Flag: "namespace packages from the CLI" fixed by bypassing `verify_module` / coupling `--namespace-packages` to `--explicit-package-bases` instead of reworking source→module-name resolution - **Applies when**: `task` asks that files/dirs/`-p`/`-m` targets given on the command line be allowed to live in namespace p...
Flag: "namespace packages from the CLI" fixed by bypassing `verify_module` / coupling `--namespace-packages` to `--explicit-package-bases` instead of reworking source→module-name resolution
### Flag: "namespace packages from the CLI" fixed by bypassing `verify_module` / coupling `--namespace-packages` to `--explicit-package-bases` instead of reworking source→module-name resolution - **Applies when**: `task` asks that files/dirs/`-p`/`-m` targets given on the command line be allowed to live in namespace p...
Flag: "namespace packages from the CLI" fixed by bypassing `verify_module` / coupling `--namespace-packages` to `--explicit-package-bases` instead of reworking source→module-name resolution -- `task` asks that files/dirs/`-p`/`-m` targets given on the command line be allowed to live in namespace packages (or that relat...
task
lib_specific_opus
lib_specific_opus
24
python__mypy-9742
python/mypy
e39948bb1e3c
### Fixing a stale metadata cache at the producer instead of at the overwriting consumer (and forcing lazy cache materialization) - **Applies when**: `task` reports a wrong/stale partition-shape cache (`_column_widths_cache`, `_row_lengths_cache`, axis caches) after an operation that has *two* execution paths (e.g. a ...
Fixing a stale metadata cache at the producer instead of at the overwriting consumer (and forcing lazy cache materialization)
### Fixing a stale metadata cache at the producer instead of at the overwriting consumer (and forcing lazy cache materialization) - **Applies when**: `task` reports a wrong/stale partition-shape cache (`_column_widths_cache`, `_row_lengths_cache`, axis caches) after an operation that has *two* execution paths (e.g. a ...
Fixing a stale metadata cache at the producer instead of at the overwriting consumer (and forcing lazy cache materialization) -- `task` reports a wrong/stale partition-shape cache (`_column_widths_cache`, `_row_lengths_cache`, axis caches) after an operation that has *two* execution paths (e.g. a "fast path" for small/...
task
lib_specific_opus
lib_specific_opus
25
modin-project__modin-6608
modin-project/modin
24fe6ee6bcf0
### Handling `Decorator` symbols at only one member-access site (via an early return that skips sibling checks) - **Applies when**: `code` — the fix touches member/attribute lookup logic that branches on the symbol kind returned by `info.get_method(...)` / `SymbolTable` lookup (e.g. `mypy/checkmember.py::analyze_insta...
Handling `Decorator` symbols at only one member-access site (via an early return that skips sibling checks)
### Handling `Decorator` symbols at only one member-access site (via an early return that skips sibling checks) - **Applies when**: `code` — the fix touches member/attribute lookup logic that branches on the symbol kind returned by `info.get_method(...)` / `SymbolTable` lookup (e.g. `mypy/checkmember.py::analyze_insta...
Handling `Decorator` symbols at only one member-access site (via an early return that skips sibling checks) -- `code` — the fix touches member/attribute lookup logic that branches on the symbol kind returned by `info.get_method(...)` / `SymbolTable` lookup (e.g. `mypy/checkmember.py::analyze_instance_member_access`, `a...
task
lib_specific_opus
lib_specific_opus
26
python__mypy-11150
python/mypy
818734c8d159
### Handle the new input type in *every* branch that inspects value's type/shape, and keep it lazy - **Applies when**: `code` -- a method (e.g. `DataFrame.insert`, `__setitem__`, `concat` helpers) contains **multiple** sequential `isinstance(value, ...)` checks: an early one that validates/normalizes shape (`isinstanc...
Handle the new input type in *every* branch that inspects value's type/shape, and keep it lazy
### Handle the new input type in *every* branch that inspects value's type/shape, and keep it lazy - **Applies when**: `code` -- a method (e.g. `DataFrame.insert`, `__setitem__`, `concat` helpers) contains **multiple** sequential `isinstance(value, ...)` checks: an early one that validates/normalizes shape (`isinstanc...
Handle the new input type in *every* branch that inspects value's type/shape, and keep it lazy -- `code` -- a method (e.g. `DataFrame.insert`, `__setitem__`, `concat` helpers) contains **multiple** sequential `isinstance(value, ...)` checks: an early one that validates/normalizes shape (`isinstance(value, np.ndarray) a...
task
lib_specific_opus
lib_specific_opus
27
modin-project__modin-6400
modin-project/modin
010ea7b6a2ed
### Exposed-value normalization not requested by the spec (stripping/transforming a filename before exposing it) - **Applies when**: `code` -- the diff introduces a new variable/key exposed to user templates, config contexts, or API payloads whose value is derived from a path, filename, or other identifier (e.g. addin...
Exposed-value normalization not requested by the spec (stripping/transforming a filename before exposing it)
### Exposed-value normalization not requested by the spec (stripping/transforming a filename before exposing it) - **Applies when**: `code` -- the diff introduces a new variable/key exposed to user templates, config contexts, or API payloads whose value is derived from a path, filename, or other identifier (e.g. addin...
Exposed-value normalization not requested by the spec (stripping/transforming a filename before exposing it) -- `code` -- the diff introduces a new variable/key exposed to user templates, config contexts, or API payloads whose value is derived from a path, filename, or other identifier (e.g. adding `profile_name` to a ...
task
lib_specific_opus
lib_specific_opus
28
conan-io__conan-13721
conan-io/conan
92845566315a
### Missing terminal/post-loop flush when rewriting a cross-iteration buffer condition - **Applies when**: `code` -- the fix touches a loop that accumulates work into a carry-over buffer (e.g. `frames = []` in `dask/dataframe/shuffle.py::fix_overlap`, or any "defer merging until the next boundary" loop), and the patch...
Missing terminal/post-loop flush when rewriting a cross-iteration buffer condition
### Missing terminal/post-loop flush when rewriting a cross-iteration buffer condition - **Applies when**: `code` -- the fix touches a loop that accumulates work into a carry-over buffer (e.g. `frames = []` in `dask/dataframe/shuffle.py::fix_overlap`, or any "defer merging until the next boundary" loop), and the patch...
Missing terminal/post-loop flush when rewriting a cross-iteration buffer condition -- `code` -- the fix touches a loop that accumulates work into a carry-over buffer (e.g. `frames = []` in `dask/dataframe/shuffle.py::fix_overlap`, or any "defer merging until the next boundary" loop), and the patch rewrites the conditio...
task
lib_specific_opus
lib_specific_opus
29
dask__dask-6980
dask/dask
baecdc349d87
### Fix placed in the `type(x) is T` special case instead of the shared narrowing routine (blanket "give up" instead of type-directed fallback) - **Applies when**: `task` reports a false-positive/`<nothing>` from type narrowing involving metaclasses (or any "subclass could also match" situation), and `code` narrows vi...
Fix placed in the `type(x) is T` special case instead of the shared narrowing routine (blanket "give up" instead of type-directed fallback)
### Fix placed in the `type(x) is T` special case instead of the shared narrowing routine (blanket "give up" instead of type-directed fallback) - **Applies when**: `task` reports a false-positive/`<nothing>` from type narrowing involving metaclasses (or any "subclass could also match" situation), and `code` narrows vi...
Fix placed in the `type(x) is T` special case instead of the shared narrowing routine (blanket "give up" instead of type-directed fallback) -- `task` reports a false-positive/`<nothing>` from type narrowing involving metaclasses (or any "subclass could also match" situation), and `code` narrows via a common helper (`my...
task
lib_specific_opus
lib_specific_opus
30
python__mypy-10424
python/mypy
04cf67f58819
### Missing implementation of a newly-called helper / wiring a call into the wrong lifecycle hook - **Applies when**: `code` -- the diff is a very small (1–3 line) change that *calls* a method/function or references a module-level constant (e.g. `self.add_typing_extension_aliases(...)`, `typing_extensions_aliases`) in...
Missing implementation of a newly-called helper / wiring a call into the wrong lifecycle hook
### Missing implementation of a newly-called helper / wiring a call into the wrong lifecycle hook - **Applies when**: `code` -- the diff is a very small (1–3 line) change that *calls* a method/function or references a module-level constant (e.g. `self.add_typing_extension_aliases(...)`, `typing_extensions_aliases`) in...
Missing implementation of a newly-called helper / wiring a call into the wrong lifecycle hook -- `code` -- the diff is a very small (1–3 line) change that *calls* a method/function or references a module-level constant (e.g. `self.add_typing_extension_aliases(...)`, `typing_extensions_aliases`) in order to enable a new...
task
lib_specific_opus
lib_specific_opus
31
python__mypy-11533
python/mypy
00ee2d4d38fd
### Fix edits a helper that is never invoked (missing call site) instead of restoring/adding the wiring - **Applies when**: `code` -- the repo already contains a plausibly-named helper for the reported feature (e.g. `check_assignment_to_slots`, `is_assignable_slot`, a validator/visitor method), and the agent's diff on...
Fix edits a helper that is never invoked (missing call site) instead of restoring/adding the wiring
### Fix edits a helper that is never invoked (missing call site) instead of restoring/adding the wiring - **Applies when**: `code` -- the repo already contains a plausibly-named helper for the reported feature (e.g. `check_assignment_to_slots`, `is_assignable_slot`, a validator/visitor method), and the agent's diff on...
Fix edits a helper that is never invoked (missing call site) instead of restoring/adding the wiring -- `code` -- the repo already contains a plausibly-named helper for the reported feature (e.g. `check_assignment_to_slots`, `is_assignable_slot`, a validator/visitor method), and the agent's diff only changes the *inside...
task
lib_specific_opus
lib_specific_opus
32
python__mypy-10864
python/mypy
951d1c8168f1
### Fix the shared lookup primitive, not just the call sites - **Applies when**: `code` -- the bug lives in a small, exported helper/table-lookup module (e.g. `mypy/stubinfo.py`: `approved_stub_package_exists()`, `stub_distribution_name()`, `is_legacy_bundled_package()`) that several callers consult, and the issue is ...
Fix the shared lookup primitive, not just the call sites
### Fix the shared lookup primitive, not just the call sites - **Applies when**: `code` -- the bug lives in a small, exported helper/table-lookup module (e.g. `mypy/stubinfo.py`: `approved_stub_package_exists()`, `stub_distribution_name()`, `is_legacy_bundled_package()`) that several callers consult, and the issue is ...
Fix the shared lookup primitive, not just the call sites -- `code` -- the bug lives in a small, exported helper/table-lookup module (e.g. `mypy/stubinfo.py`: `approved_stub_package_exists()`, `stub_distribution_name()`, `is_legacy_bundled_package()`) that several callers consult, and the issue is about the *answer* tha...
task
lib_specific_opus
lib_specific_opus
33
python__mypy-15347
python/mypy
f59a9d166b88
### Inserted method must land inside the target class body (indentation/placement, not just text presence) - **Applies when**: `code` -- the fix consists of adding a new method (e.g. `unrelated_mode`) to an existing class so that a `getattr(self, <mode_name>)` / dynamic-dispatch lookup stops raising `AttributeError`; ...
Inserted method must land inside the target class body (indentation/placement, not just text presence)
### Inserted method must land inside the target class body (indentation/placement, not just text presence) - **Applies when**: `code` -- the fix consists of adding a new method (e.g. `unrelated_mode`) to an existing class so that a `getattr(self, <mode_name>)` / dynamic-dispatch lookup stops raising `AttributeError`; ...
Inserted method must land inside the target class body (indentation/placement, not just text presence) -- `code` -- the fix consists of adding a new method (e.g. `unrelated_mode`) to an existing class so that a `getattr(self, <mode_name>)` / dynamic-dispatch lookup stops raising `AttributeError`; the insertion point is...
task
lib_specific_opus
lib_specific_opus
34
conan-io__conan-10959
conan-io/conan
ca39dd7216f3
### Title Hashability-removal fix that only tweaks a condition: missing helper/overwrite plumbing plus unrequested `eq`/`hash`-argument gating - **Applies when**: `task` asks that a class-generating plugin/decorator (attrs `@define`/`@attr.s`, dataclass-like) stop advertising a synthesized class as `Hashable`, and the...
Title
### Title Hashability-removal fix that only tweaks a condition: missing helper/overwrite plumbing plus unrequested `eq`/`hash`-argument gating - **Applies when**: `task` asks that a class-generating plugin/decorator (attrs `@define`/`@attr.s`, dataclass-like) stop advertising a synthesized class as `Hashable`, and the...
Title -- `task` asks that a class-generating plugin/decorator (attrs `@define`/`@attr.s`, dataclass-like) stop advertising a synthesized class as `Hashable`, and the `code` diff touches `mypy/plugins/attrs.py` (or an analogous class-synthesis plugin).
task
lib_specific_opus
lib_specific_opus
35
python__mypy-16556
python/mypy
6a3c1fe9438e
### Daemon (dmypy) bug fixed only in the full-build/cache path, not in `mypy/server/update.py` - **Applies when**: `task` reports a diagnostic that is present on a cold run but missing on warm/cached `dmypy run`/`dmypy check` reruns (e.g. `unused 'type: ignore'`, `ignore-without-code`, possibly-undefined), **and** `co...
Daemon (dmypy) bug fixed only in the full-build/cache path, not in `mypy/server/update.py`
### Daemon (dmypy) bug fixed only in the full-build/cache path, not in `mypy/server/update.py` - **Applies when**: `task` reports a diagnostic that is present on a cold run but missing on warm/cached `dmypy run`/`dmypy check` reruns (e.g. `unused 'type: ignore'`, `ignore-without-code`, possibly-undefined), **and** `co...
Daemon (dmypy) bug fixed only in the full-build/cache path, not in `mypy/server/update.py` -- `task` reports a diagnostic that is present on a cold run but missing on warm/cached `dmypy run`/`dmypy check` reruns (e.g. `unused 'type: ignore'`, `ignore-without-code`, possibly-undefined), **and** `code` contains a fine-gr...
task
lib_specific_opus
lib_specific_opus
36
python__mypy-14835
python/mypy
a520a94401a0
### Inherited-field resolution must fix the "declared in this class" lookup, not add a parent-default heuristic - **Applies when**: `code` -- the diff touches model/class-construction code that walks resolved type hints (`get_type_hints`-style, which *includes inherited* annotations) and must decide, per field name, w...
Inherited-field resolution must fix the "declared in this class" lookup, not add a parent-default heuristic
### Inherited-field resolution must fix the "declared in this class" lookup, not add a parent-default heuristic - **Applies when**: `code` -- the diff touches model/class-construction code that walks resolved type hints (`get_type_hints`-style, which *includes inherited* annotations) and must decide, per field name, w...
Inherited-field resolution must fix the "declared in this class" lookup, not add a parent-default heuristic -- `code` -- the diff touches model/class-construction code that walks resolved type hints (`get_type_hints`-style, which *includes inherited* annotations) and must decide, per field name, whether to build a fres...
task
lib_specific_opus
lib_specific_opus
37
pydantic__pydantic-4911
pydantic/pydantic
295512d83668
### Fix added dead pre-processing instead of handling the unsupported schema variant at the error site - **Applies when**: `task` reports a `TypeError`/`ValueError` of the form "`X` is not a valid ... variant / unsupported type `X`" raised from a type-dispatch chain (e.g. `_infer_discriminator_values_for_choice` in `_...
Fix added dead pre-processing instead of handling the unsupported schema variant at the error site
### Fix added dead pre-processing instead of handling the unsupported schema variant at the error site - **Applies when**: `task` reports a `TypeError`/`ValueError` of the form "`X` is not a valid ... variant / unsupported type `X`" raised from a type-dispatch chain (e.g. `_infer_discriminator_values_for_choice` in `_...
Fix added dead pre-processing instead of handling the unsupported schema variant at the error site -- `task` reports a `TypeError`/`ValueError` of the form "`X` is not a valid ... variant / unsupported type `X`" raised from a type-dispatch chain (e.g. `_infer_discriminator_values_for_choice` in `_discriminated_union.py...
task
lib_specific_opus
lib_specific_opus
38
pydantic__pydantic-6282
pydantic/pydantic
ca5ed1821a6b
### Delegating deletion to `object.__delattr__` instead of the base class's overridden `__delattr__` - **Applies when**: `code` — the fix is inside a class-level hook installed by a metaclass/namespace machinery (e.g. `model_private_delattr`/`__delattr__`/`__setattr__` wired onto a model class), and the branch being f...
Delegating deletion to `object.__delattr__` instead of the base class's overridden `__delattr__`
### Delegating deletion to `object.__delattr__` instead of the base class's overridden `__delattr__` - **Applies when**: `code` — the fix is inside a class-level hook installed by a metaclass/namespace machinery (e.g. `model_private_delattr`/`__delattr__`/`__setattr__` wired onto a model class), and the branch being f...
Delegating deletion to `object.__delattr__` instead of the base class's overridden `__delattr__` -- `code` — the fix is inside a class-level hook installed by a metaclass/namespace machinery (e.g. `model_private_delattr`/`__delattr__`/`__setattr__` wired onto a model class), and the branch being fixed must remove or as...
task
lib_specific_opus
lib_specific_opus
39
pydantic__pydantic-5897
pydantic/pydantic
2a3fa48b8db2
### Truncated / syntactically incomplete file edit leaves the module unimportable - **Applies when**: `code` -- any diff that edits a Python (or other executable) source file, especially when the patch touches several files and the last hunk is large or near the end of the diff. - **Pattern**: The agent wrote a correc...
Truncated / syntactically incomplete file edit leaves the module unimportable
### Truncated / syntactically incomplete file edit leaves the module unimportable - **Applies when**: `code` -- any diff that edits a Python (or other executable) source file, especially when the patch touches several files and the last hunk is large or near the end of the diff. - **Pattern**: The agent wrote a correc...
Truncated / syntactically incomplete file edit leaves the module unimportable -- `code` -- any diff that edits a Python (or other executable) source file, especially when the patch touches several files and the last hunk is large or near the end of the diff.
task
lib_specific_opus
lib_specific_opus
40
bokeh__bokeh-13800
bokeh/bokeh
279dfa0de021
### Unwrapping virtual (full-axis) partitions with `axis=None` must be fixed in *both* the type allow-list and the block-extraction path - **Applies when**: `task` reports that `unwrap_partitions(df)` (i.e. `axis=None`) raises `ValueError: Do not know how to unwrap '<Engine>DataframeColumn/RowPartition' ...`, or more ...
Unwrapping virtual (full-axis) partitions with `axis=None` must be fixed in *both* the type allow-list and the block-extraction path
### Unwrapping virtual (full-axis) partitions with `axis=None` must be fixed in *both* the type allow-list and the block-extraction path - **Applies when**: `task` reports that `unwrap_partitions(df)` (i.e. `axis=None`) raises `ValueError: Do not know how to unwrap '<Engine>DataframeColumn/RowPartition' ...`, or more ...
Unwrapping virtual (full-axis) partitions with `axis=None` must be fixed in *both* the type allow-list and the block-extraction path -- `task` reports that `unwrap_partitions(df)` (i.e. `axis=None`) raises `ValueError: Do not know how to unwrap '<Engine>DataframeColumn/RowPartition' ...`, or more generally when a dispa...
task
lib_specific_opus
lib_specific_opus
41
modin-project__modin-6560
modin-project/modin
095fa6a30950
### Root cause is per-process hash randomization, but the patch rewrites the hashing/shuffle algorithm instead of seeding worker processes - **Applies when**: `task` reports that a shuffle/`groupby`/partition-by-key operation yields duplicated or split keys for **str/bytes/non-numeric keys only** (numeric keys work), ...
Root cause is per-process hash randomization, but the patch rewrites the hashing/shuffle algorithm instead of seeding worker processes
### Root cause is per-process hash randomization, but the patch rewrites the hashing/shuffle algorithm instead of seeding worker processes - **Applies when**: `task` reports that a shuffle/`groupby`/partition-by-key operation yields duplicated or split keys for **str/bytes/non-numeric keys only** (numeric keys work), ...
Root cause is per-process hash randomization, but the patch rewrites the hashing/shuffle algorithm instead of seeding worker processes -- `task` reports that a shuffle/`groupby`/partition-by-key operation yields duplicated or split keys for **str/bytes/non-numeric keys only** (numeric keys work), and the code base uses...
task
lib_specific_opus
lib_specific_opus
42
dask__dask-6660
dask/dask
eed3df76c453
### Leaf-frame crash guard that calls a helper which doesn't exist at that path - **Applies when**: `task` is an INTERNAL ERROR / traceback report (crash in a deeply nested visitor/helper such as `covers_at_runtime`, `find_isinstance_check`, `visit_*`), and the `code` diff only adds a defensive conversion/guard inside...
Leaf-frame crash guard that calls a helper which doesn't exist at that path
### Leaf-frame crash guard that calls a helper which doesn't exist at that path - **Applies when**: `task` is an INTERNAL ERROR / traceback report (crash in a deeply nested visitor/helper such as `covers_at_runtime`, `find_isinstance_check`, `visit_*`), and the `code` diff only adds a defensive conversion/guard inside...
Leaf-frame crash guard that calls a helper which doesn't exist at that path -- `task` is an INTERNAL ERROR / traceback report (crash in a deeply nested visitor/helper such as `covers_at_runtime`, `find_isinstance_check`, `visit_*`), and the `code` diff only adds a defensive conversion/guard inside the innermost frame n...
task
lib_specific_opus
lib_specific_opus
43
python__mypy-14021
python/mypy
b769c18e2a63
### Removing an API knob vs. merely flipping/gating its default - **Applies when**: `task` asks to *remove or redesign* a public function parameter (e.g. `copy(..., copy_symlink_folders=True)`) whose behavior is described as surprising, and `code` contains that parameter plus a branch/helper that exists only to serve ...
Removing an API knob vs. merely flipping/gating its default
### Removing an API knob vs. merely flipping/gating its default - **Applies when**: `task` asks to *remove or redesign* a public function parameter (e.g. `copy(..., copy_symlink_folders=True)`) whose behavior is described as surprising, and `code` contains that parameter plus a branch/helper that exists only to serve ...
Removing an API knob vs. merely flipping/gating its default -- `task` asks to *remove or redesign* a public function parameter (e.g. `copy(..., copy_symlink_folders=True)`) whose behavior is described as surprising, and `code` contains that parameter plus a branch/helper that exists only to serve it.
task
lib_specific_opus
lib_specific_opus
44
conan-io__conan-11330
conan-io/conan
ce70dd60e8ca
### Unreachable-code fix changes global control flow / shared helpers instead of only adding a guarded report - **Applies when**: `task` asks mypy (or a similar checker) to report `[unreachable]` for statements after a `NoReturn` call/`raise` (especially at module top level), and `code` diff touches the module-body lo...
Unreachable-code fix changes global control flow / shared helpers instead of only adding a guarded report
### Unreachable-code fix changes global control flow / shared helpers instead of only adding a guarded report - **Applies when**: `task` asks mypy (or a similar checker) to report `[unreachable]` for statements after a `NoReturn` call/`raise` (especially at module top level), and `code` diff touches the module-body lo...
Unreachable-code fix changes global control flow / shared helpers instead of only adding a guarded report -- `task` asks mypy (or a similar checker) to report `[unreachable]` for statements after a `NoReturn` call/`raise` (especially at module top level), and `code` diff touches the module-body loop in `mypy/checker.py...
task
lib_specific_opus
lib_specific_opus
45
python__mypy-11361
python/mypy
4c149f7b548b
### Narrowing on `type(x) == T` must be one‑sided unless `T` is final, and must plug into the existing ComparisonExpr machinery - **Applies when**: `task` asks for type narrowing from `type(x) == T` / `type(x) is T` comparisons, and the `code` diff touches `find_isinstance_check` / the `ComparisonExpr` branch in `mypy...
Narrowing on `type(x) == T` must be one‑sided unless `T` is final, and must plug into the existing ComparisonExpr machinery
### Narrowing on `type(x) == T` must be one‑sided unless `T` is final, and must plug into the existing ComparisonExpr machinery - **Applies when**: `task` asks for type narrowing from `type(x) == T` / `type(x) is T` comparisons, and the `code` diff touches `find_isinstance_check` / the `ComparisonExpr` branch in `mypy...
Narrowing on `type(x) == T` must be one‑sided unless `T` is final, and must plug into the existing ComparisonExpr machinery -- `task` asks for type narrowing from `type(x) == T` / `type(x) is T` comparisons, and the `code` diff touches `find_isinstance_check` / the `ComparisonExpr` branch in `mypy/checker.py` (or any e...
task
lib_specific_opus
lib_specific_opus
46
python__mypy-10284
python/mypy
07a55ce2a1f9
### Title: Type-display fixes must land in the user-facing formatter (`mypy/messages.py::format_type_inner`), not in internal `__str__`/analysis paths - **Applies when**: `task` asks for consistent rendering of a type constructor (e.g. `Type[X]` vs `type[X]`, `List` vs `list`, `Optional` vs `| None`) in mypy error mes...
Title: Type-display fixes must land in the user-facing formatter (`mypy/messages.py::format_type_inner`), not in internal `__str__`/analysis paths
### Title: Type-display fixes must land in the user-facing formatter (`mypy/messages.py::format_type_inner`), not in internal `__str__`/analysis paths - **Applies when**: `task` asks for consistent rendering of a type constructor (e.g. `Type[X]` vs `type[X]`, `List` vs `list`, `Optional` vs `| None`) in mypy error mes...
Title: Type-display fixes must land in the user-facing formatter (`mypy/messages.py::format_type_inner`), not in internal `__str__`/analysis paths -- `task` asks for consistent rendering of a type constructor (e.g. `Type[X]` vs `type[X]`, `List` vs `list`, `Optional` vs `| None`) in mypy error messages/`reveal_type`, *...
task
lib_specific_opus
lib_specific_opus
47
python__mypy-15139
python/mypy
2582a279a5be
### Path/`include_path_column` fix must produce unique, partition-consistent categorical categories (not one entry per block) - **Applies when**: `code` — the diff touches `dask/dataframe/io/csv.py` (or similar readers) around `include_path_column`, `text_blocks_to_pandas`, `pandas_read_text`, `BlockwiseReadCSV.__geti...
Path/`include_path_column` fix must produce unique, partition-consistent categorical categories (not one entry per block)
### Path/`include_path_column` fix must produce unique, partition-consistent categorical categories (not one entry per block) - **Applies when**: `code` — the diff touches `dask/dataframe/io/csv.py` (or similar readers) around `include_path_column`, `text_blocks_to_pandas`, `pandas_read_text`, `BlockwiseReadCSV.__geti...
Path/`include_path_column` fix must produce unique, partition-consistent categorical categories (not one entry per block) -- `code` — the diff touches `dask/dataframe/io/csv.py` (or similar readers) around `include_path_column`, `text_blocks_to_pandas`, `pandas_read_text`, `BlockwiseReadCSV.__getitem__`, i.e. anywhere ...
task
lib_specific_opus
lib_specific_opus
48
dask__dask-6911
dask/dask
4bbfb27c4cb7
### Type-annotation-only change instead of implementing the casting behavior - **Applies when**: `task` asks to enable a new value/type behavior (e.g. "support casting intervals to int") in a system where the current code *actively rejects* that behavior (a `raise ValueError(...)`, `assert`, or early-return guard) and...
Type-annotation-only change instead of implementing the casting behavior
### Type-annotation-only change instead of implementing the casting behavior - **Applies when**: `task` asks to enable a new value/type behavior (e.g. "support casting intervals to int") in a system where the current code *actively rejects* that behavior (a `raise ValueError(...)`, `assert`, or early-return guard) and...
Type-annotation-only change instead of implementing the casting behavior -- `task` asks to enable a new value/type behavior (e.g. "support casting intervals to int") in a system where the current code *actively rejects* that behavior (a `raise ValueError(...)`, `assert`, or early-return guard) and/or normalizes inputs ...
task
lib_specific_opus
lib_specific_opus
49
facebookresearch__hydra-921
facebookresearch/hydra
15074e42c66e
### Template-guard widened without emitting the new data (or populating the context variable) - **Applies when**: `code` -- the fix must surface new information (e.g., transitive dependency names) through a string/Jinja template, and the diff touches only the template's `{% if %}`/guard expression. - **Pattern**: The ...
Template-guard widened without emitting the new data (or populating the context variable)
### Template-guard widened without emitting the new data (or populating the context variable) - **Applies when**: `code` -- the fix must surface new information (e.g., transitive dependency names) through a string/Jinja template, and the diff touches only the template's `{% if %}`/guard expression. - **Pattern**: The ...
Template-guard widened without emitting the new data (or populating the context variable) -- `code` -- the fix must surface new information (e.g., transitive dependency names) through a string/Jinja template, and the diff touches only the template's `{% if %}`/guard expression.
task
lib_specific_opus
lib_specific_opus
50
conan-io__conan-10686
conan-io/conan
397c6e410be0
### Behavior-gating knob: reuse the existing conf and keep defaults unchanged (don't invent a new flag that flips default output) - **Applies when**: `task` describes an alternative output mode ("try to aggregate X instead of including X ... maybe following a `conf`") for a generated artifact, and the `code` already c...
Behavior-gating knob: reuse the existing conf and keep defaults unchanged (don't invent a new flag that flips default output)
### Behavior-gating knob: reuse the existing conf and keep defaults unchanged (don't invent a new flag that flips default output) - **Applies when**: `task` describes an alternative output mode ("try to aggregate X instead of including X ... maybe following a `conf`") for a generated artifact, and the `code` already c...
Behavior-gating knob: reuse the existing conf and keep defaults unchanged (don't invent a new flag that flips default output) -- `task` describes an alternative output mode ("try to aggregate X instead of including X ... maybe following a `conf`") for a generated artifact, and the `code` already contains a related conf...
task
lib_specific_opus
lib_specific_opus
51
conan-io__conan-11655
conan-io/conan
d3c470442d74
### Incomplete "abstract layer" refactor: new culling machinery referenced but never finished - **Applies when**: `code` -- a patch reworks a graph `Layer` (e.g. `Blockwise`) to answer `get_output_keys`/culling *without materializing* the low-level dict, deleting the old materialization-based path (e.g. `BasicLayer`/`...
Incomplete "abstract layer" refactor: new culling machinery referenced but never finished
### Incomplete "abstract layer" refactor: new culling machinery referenced but never finished - **Applies when**: `code` -- a patch reworks a graph `Layer` (e.g. `Blockwise`) to answer `get_output_keys`/culling *without materializing* the low-level dict, deleting the old materialization-based path (e.g. `BasicLayer`/`...
Incomplete "abstract layer" refactor: new culling machinery referenced but never finished -- `code` -- a patch reworks a graph `Layer` (e.g. `Blockwise`) to answer `get_output_keys`/culling *without materializing* the low-level dict, deleting the old materialization-based path (e.g. `BasicLayer`/`key_deps`/`get_depende...
task
lib_specific_opus
lib_specific_opus
52
dask__dask-6815
dask/dask
68f3ce951851
### Missing test-fixture/plugin assets that hidden tests import (code-only patch) - **Applies when**: `task` — the issue's reproduction requires new data files (e.g. a `group/file.yaml` whose top level is a list, a new config directory, or a search-path/test plugin package) and the hidden tests are expected to load th...
Missing test-fixture/plugin assets that hidden tests import (code-only patch)
### Missing test-fixture/plugin assets that hidden tests import (code-only patch) - **Applies when**: `task` — the issue's reproduction requires new data files (e.g. a `group/file.yaml` whose top level is a list, a new config directory, or a search-path/test plugin package) and the hidden tests are expected to load th...
Missing test-fixture/plugin assets that hidden tests import (code-only patch) -- `task` — the issue's reproduction requires new data files (e.g. a `group/file.yaml` whose top level is a list, a new config directory, or a search-path/test plugin package) and the hidden tests are expected to load those assets from the re...
task
lib_specific_opus
lib_specific_opus
53
facebookresearch__hydra-1725
facebookresearch/hydra
9058c6aa4772
### Missing core implementation: new config flag only plumbed through recursion, never parsed or applied - **Applies when**: `task` asks for a new behavior toggled by a new config key / keyword argument (e.g. `_partial_`, `_convert_`, `_recursive_`-style flags) in a recursive instantiation/traversal routine, and `code...
Missing core implementation: new config flag only plumbed through recursion, never parsed or applied
### Missing core implementation: new config flag only plumbed through recursion, never parsed or applied - **Applies when**: `task` asks for a new behavior toggled by a new config key / keyword argument (e.g. `_partial_`, `_convert_`, `_recursive_`-style flags) in a recursive instantiation/traversal routine, and `code...
Missing core implementation: new config flag only plumbed through recursion, never parsed or applied -- `task` asks for a new behavior toggled by a new config key / keyword argument (e.g. `_partial_`, `_convert_`, `_recursive_`-style flags) in a recursive instantiation/traversal routine, and `code` contains a central "...
task
lib_specific_opus
lib_specific_opus
54
facebookresearch__hydra-1905
facebookresearch/hydra
4e99acc7ac24
### Duplicate-log/"disabled logging" issue fixed by guarding handler installation instead of fixing the config schema - **Applies when**: `task` reports duplicated or unexpected log output that the user traced to a Hydra config override such as `hydra.job_logging: null` / `hydra.hydra_logging: null` (i.e. the user is ...
Duplicate-log/"disabled logging" issue fixed by guarding handler installation instead of fixing the config schema
### Duplicate-log/"disabled logging" issue fixed by guarding handler installation instead of fixing the config schema - **Applies when**: `task` reports duplicated or unexpected log output that the user traced to a Hydra config override such as `hydra.job_logging: null` / `hydra.hydra_logging: null` (i.e. the user is ...
Duplicate-log/"disabled logging" issue fixed by guarding handler installation instead of fixing the config schema -- `task` reports duplicated or unexpected log output that the user traced to a Hydra config override such as `hydra.job_logging: null` / `hydra.hydra_logging: null` (i.e. the user is trying to *disable* a ...
task
lib_specific_opus
lib_specific_opus
55
facebookresearch__hydra-1661
facebookresearch/hydra
029b370b10f1
### Fix gates the invariant on "did the user pass the argument?" instead of enforcing it unconditionally (and ships no regression test) - **Applies when**: `code` -- the bug is that an explicitly requested parameter (here `npartitions` in `dask/dataframe/shuffle.py::set_index`) is silently ignored because a short-circ...
Fix gates the invariant on "did the user pass the argument?" instead of enforcing it unconditionally (and ships no regression test)
### Fix gates the invariant on "did the user pass the argument?" instead of enforcing it unconditionally (and ships no regression test) - **Applies when**: `code` -- the bug is that an explicitly requested parameter (here `npartitions` in `dask/dataframe/shuffle.py::set_index`) is silently ignored because a short-circ...
Fix gates the invariant on "did the user pass the argument?" instead of enforcing it unconditionally (and ships no regression test) -- `code` -- the bug is that an explicitly requested parameter (here `npartitions` in `dask/dataframe/shuffle.py::set_index`) is silently ignored because a short-circuit / fast path (alrea...
task
lib_specific_opus
lib_specific_opus
56
dask__dask-6978
dask/dask
1027e66b428d
### Fix the producer/consumer mismatch at the call site, not defensive guards in the callees - **Applies when**: `task` reports a runtime error (e.g. `ValueError: too many values to unpack`, wrong exception message) arising from a multi-stage pipeline (map → reduce → finalize), and the `code` diff only touches the int...
Fix the producer/consumer mismatch at the call site, not defensive guards in the callees
### Fix the producer/consumer mismatch at the call site, not defensive guards in the callees - **Applies when**: `task` reports a runtime error (e.g. `ValueError: too many values to unpack`, wrong exception message) arising from a multi-stage pipeline (map → reduce → finalize), and the `code` diff only touches the int...
Fix the producer/consumer mismatch at the call site, not defensive guards in the callees -- `task` reports a runtime error (e.g. `ValueError: too many values to unpack`, wrong exception message) arising from a multi-stage pipeline (map → reduce → finalize), and the `code` diff only touches the intermediate/helper stage...
task
lib_specific_opus
lib_specific_opus
57
dask__dask-9349
dask/dask
109a103ce3cc
### Symptom-patched at the consumer instead of the shared union/erasure machinery - **Applies when**: `task` reports that a type now shows redundant/duplicated union members (e.g. `Union[builtins.int, builtins.int, builtins.int]`, or a union that should have collapsed to `Any`) after a previous refactor, and the repro...
Symptom-patched at the consumer instead of the shared union/erasure machinery
### Symptom-patched at the consumer instead of the shared union/erasure machinery - **Applies when**: `task` reports that a type now shows redundant/duplicated union members (e.g. `Union[builtins.int, builtins.int, builtins.int]`, or a union that should have collapsed to `Any`) after a previous refactor, and the repro...
Symptom-patched at the consumer instead of the shared union/erasure machinery -- `task` reports that a type now shows redundant/duplicated union members (e.g. `Union[builtins.int, builtins.int, builtins.int]`, or a union that should have collapsed to `Any`) after a previous refactor, and the reproducer happens to go th...
task
lib_specific_opus
lib_specific_opus
58
python__mypy-12064
python/mypy
5e9b73203175
### Restoring a deleted plugin method without leaving the plugin module structurally/import-clean - **Applies when**: `code` -- the diff rewrites or re-adds a method inside a module that is auto-discovered/registered (e.g. `hydra/_internal/core_plugins/*.py`, any `ConfigSource`/plugin subclass), especially when the fi...
Restoring a deleted plugin method without leaving the plugin module structurally/import-clean
### Restoring a deleted plugin method without leaving the plugin module structurally/import-clean - **Applies when**: `code` -- the diff rewrites or re-adds a method inside a module that is auto-discovered/registered (e.g. `hydra/_internal/core_plugins/*.py`, any `ConfigSource`/plugin subclass), especially when the fi...
Restoring a deleted plugin method without leaving the plugin module structurally/import-clean -- `code` -- the diff rewrites or re-adds a method inside a module that is auto-discovered/registered (e.g. `hydra/_internal/core_plugins/*.py`, any `ConfigSource`/plugin subclass), especially when the fix is essentially "undo...
task
lib_specific_opus
lib_specific_opus
59
facebookresearch__hydra.0f03eb60.lm_rewrite__nh2vejty
swesmith/facebookresearch__hydra.0f03eb60
21f95a57a23d
### Partial revert: only the symptoms named in the issue were fixed, other corruptions in the same function left in place - **Applies when**: `code` -- the bug is localized to one constructor/initializer (here `ProgressBar.__init__`) and the issue text enumerates a few visible symptoms ("fill/empty swapped", "show_per...
Partial revert: only the symptoms named in the issue were fixed, other corruptions in the same function left in place
### Partial revert: only the symptoms named in the issue were fixed, other corruptions in the same function left in place - **Applies when**: `code` -- the bug is localized to one constructor/initializer (here `ProgressBar.__init__`) and the issue text enumerates a few visible symptoms ("fill/empty swapped", "show_per...
Partial revert: only the symptoms named in the issue were fixed, other corruptions in the same function left in place -- `code` -- the bug is localized to one constructor/initializer (here `ProgressBar.__init__`) and the issue text enumerates a few visible symptoms ("fill/empty swapped", "show_percent/show_pos swapped"...
task
lib_specific_opus
lib_specific_opus
60
pallets__click.fde47b4b.func_basic__ccb52392
swesmith/pallets__click.fde47b4b
12f84b1af9e1
### Restoring MIME-type support must reproduce exact data-URI strings and error behavior, not add lenient fallbacks - **Applies when**: `task` asks to (re-)enable non-image/arbitrary file types in an `encode_image`-style helper that builds `data:<mime>;base64,...` URIs, and `code` currently hardcodes `image/` prefixes...
Restoring MIME-type support must reproduce exact data-URI strings and error behavior, not add lenient fallbacks
### Restoring MIME-type support must reproduce exact data-URI strings and error behavior, not add lenient fallbacks - **Applies when**: `task` asks to (re-)enable non-image/arbitrary file types in an `encode_image`-style helper that builds `data:<mime>;base64,...` URIs, and `code` currently hardcodes `image/` prefixes...
Restoring MIME-type support must reproduce exact data-URI strings and error behavior, not add lenient fallbacks -- `task` asks to (re-)enable non-image/arbitrary file types in an `encode_image`-style helper that builds `data:<mime>;base64,...` URIs, and `code` currently hardcodes `image/` prefixes or extension-derived ...
task
lib_specific_opus
lib_specific_opus
61
stanfordnlp__dspy.651a4c71.pr_7872
swesmith/stanfordnlp__dspy.651a4c71
c477be81b5bb
### Incomplete revert: issue text lists only *some* of the corrupted lines; sibling-function consistency ignored - **Applies when**: `task` — the issue narrates one or two specific "inverted condition" bugs in a single file/function, and the fix is essentially reverting an injected corruption (e.g. `redbot/core/_rpc.p...
Incomplete revert: issue text lists only *some* of the corrupted lines; sibling-function consistency ignored
### Incomplete revert: issue text lists only *some* of the corrupted lines; sibling-function consistency ignored - **Applies when**: `task` — the issue narrates one or two specific "inverted condition" bugs in a single file/function, and the fix is essentially reverting an injected corruption (e.g. `redbot/core/_rpc.p...
Incomplete revert: issue text lists only *some* of the corrupted lines; sibling-function consistency ignored -- `task` — the issue narrates one or two specific "inverted condition" bugs in a single file/function, and the fix is essentially reverting an injected corruption (e.g. `redbot/core/_rpc.py::RPC.add_method` / `...
task
lib_specific_opus
lib_specific_opus
62
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__eq2t7cw0
swesmith/Cog-Creators__Red-DiscordBot.33e0eac7
cfa9336c4d79
### Inverted-conditional fix applied at only one call site (sibling error-message paths left inverted) - **Applies when**: `task` reports a "logic inverted / swapped branches" bug (here: `{http.error.message}` gets `http.StatusText(...)` when `handlerErr.Err != nil` and `handlerErr.Err.Error()` when it is nil) and the...
Inverted-conditional fix applied at only one call site (sibling error-message paths left inverted)
### Inverted-conditional fix applied at only one call site (sibling error-message paths left inverted) - **Applies when**: `task` reports a "logic inverted / swapped branches" bug (here: `{http.error.message}` gets `http.StatusText(...)` when `handlerErr.Err != nil` and `handlerErr.Err.Error()` when it is nil) and the...
Inverted-conditional fix applied at only one call site (sibling error-message paths left inverted) -- `task` reports a "logic inverted / swapped branches" bug (here: `{http.error.message}` gets `http.StatusText(...)` when `handlerErr.Err != nil` and `handlerErr.Err.Error()` when it is nil) and the `code` base contains ...
task
lib_specific_opus
lib_specific_opus
63
caddyserver__caddy.77dd12cc.func_pm_ctrl_invert_if__ezdzt5lu
swesmith/caddyserver__caddy.77dd12cc
ea7b08937727
### Missed sibling branches in the same corrupted function that the issue text didn't enumerate - **Applies when**: `task` — the issue reports a table/list of wrong outputs for a single dispatch function (e.g. `NGram.normalize`'s per-Unicode-block `if/elif` chain), and `code` — the diff edits several branches of that ...
Missed sibling branches in the same corrupted function that the issue text didn't enumerate
### Missed sibling branches in the same corrupted function that the issue text didn't enumerate - **Applies when**: `task` — the issue reports a table/list of wrong outputs for a single dispatch function (e.g. `NGram.normalize`'s per-Unicode-block `if/elif` chain), and `code` — the diff edits several branches of that ...
Missed sibling branches in the same corrupted function that the issue text didn't enumerate -- `task` — the issue reports a table/list of wrong outputs for a single dispatch function (e.g. `NGram.normalize`'s per-Unicode-block `if/elif` chain), and `code` — the diff edits several branches of that one chain but leaves o...
task
lib_specific_opus
lib_specific_opus
64
Mimino666__langdetect.a1598f1a.func_basic__s4s0fk2j
swesmith/Mimino666__langdetect.a1598f1a
e6f2203f4ca3
### Incomplete restoration: only the symptoms named in the issue were fixed, other corrupted code in the same file left broken - **Applies when**: `code` -- the diff touches a module that contains several sibling classes/functions (e.g. `textdistance/algorithms/token_based.py`), and the injected breakage is of the "sc...
Incomplete restoration: only the symptoms named in the issue were fixed, other corrupted code in the same file left broken
### Incomplete restoration: only the symptoms named in the issue were fixed, other corrupted code in the same file left broken - **Applies when**: `code` -- the diff touches a module that contains several sibling classes/functions (e.g. `textdistance/algorithms/token_based.py`), and the injected breakage is of the "sc...
Incomplete restoration: only the symptoms named in the issue were fixed, other corrupted code in the same file left broken -- `code` -- the diff touches a module that contains several sibling classes/functions (e.g. `textdistance/algorithms/token_based.py`), and the injected breakage is of the "scrambled/deleted lines"...
task
lib_specific_opus
lib_specific_opus
65
life4__textdistance.c3aca916.combine_file__hxml8xjz
swesmith/life4__textdistance.c3aca916
279934a4a254
### Missed inverted async/sync dispatch in the same decorator (fixed only the symptoms named in the issue) - **Applies when**: `code` -- the patch touches a decorator/wrapper factory (e.g. `starlette/authentication.py::requires`) that branches on `is_async_callable(func)` / `inspect.iscoroutinefunction(func)` to choos...
Missed inverted async/sync dispatch in the same decorator (fixed only the symptoms named in the issue)
### Missed inverted async/sync dispatch in the same decorator (fixed only the symptoms named in the issue) - **Applies when**: `code` -- the patch touches a decorator/wrapper factory (e.g. `starlette/authentication.py::requires`) that branches on `is_async_callable(func)` / `inspect.iscoroutinefunction(func)` to choos...
Missed inverted async/sync dispatch in the same decorator (fixed only the symptoms named in the issue) -- `code` -- the patch touches a decorator/wrapper factory (e.g. `starlette/authentication.py::requires`) that branches on `is_async_callable(func)` / `inspect.iscoroutinefunction(func)` to choose between an `async de...
task
lib_specific_opus
lib_specific_opus
66
encode__starlette.db5063c2.combine_file__65qdqflw
swesmith/encode__starlette.db5063c2
acd12ad25d17
### Restoring a deleted loop must reproduce its exact per-element order and separator semantics - **Applies when**: `task` — the issue says a rendering/formatting feature is "missing" and the diff shows the agent re-adding code into a function whose remaining body (comments, leftover blank lines, sibling loops) reveal...
Restoring a deleted loop must reproduce its exact per-element order and separator semantics
### Restoring a deleted loop must reproduce its exact per-element order and separator semantics - **Applies when**: `task` — the issue says a rendering/formatting feature is "missing" and the diff shows the agent re-adding code into a function whose remaining body (comments, leftover blank lines, sibling loops) reveal...
Restoring a deleted loop must reproduce its exact per-element order and separator semantics -- `task` — the issue says a rendering/formatting feature is "missing" and the diff shows the agent re-adding code into a function whose remaining body (comments, leftover blank lines, sibling loops) reveals the original per-ele...
task
lib_specific_opus
lib_specific_opus
67
gosuri__uiprogress.484b9f69.func_pm_remove_loop__2a35mll4
swesmith/gosuri__uiprogress.484b9f69
8cc9828d2f14
### Restored "regression" code must replicate the original implementation's control flow and exception contract, not a re-invented equivalent - **Applies when**: `task` says a block of code was *removed/regressed* from a function that mirrors a stdlib implementation (e.g. `old_getfile` mirroring `inspect.getfile`), an...
Restored "regression" code must replicate the original implementation's control flow and exception contract, not a re-invented equivalent
### Restored "regression" code must replicate the original implementation's control flow and exception contract, not a re-invented equivalent - **Applies when**: `task` says a block of code was *removed/regressed* from a function that mirrors a stdlib implementation (e.g. `old_getfile` mirroring `inspect.getfile`), an...
Restored "regression" code must replicate the original implementation's control flow and exception contract, not a re-invented equivalent -- `task` says a block of code was *removed/regressed* from a function that mirrors a stdlib implementation (e.g. `old_getfile` mirroring `inspect.getfile`), and the `code` diff re-a...
task
lib_specific_opus
lib_specific_opus
68
stanfordnlp__dspy.651a4c71.func_pm_remove_cond__e4m44910
swesmith/stanfordnlp__dspy.651a4c71
08a7d3b73925
### Control-flow/error-handling regressions left in place while only the cosmetic symptom is fixed - **Applies when**: `task` describes a user-visible output-format regression in a function that *also* contains framework control flow (e.g. a Click/argparse eager-option callback that calls `ctx.exit()`), and the `code`...
Control-flow/error-handling regressions left in place while only the cosmetic symptom is fixed
### Control-flow/error-handling regressions left in place while only the cosmetic symptom is fixed - **Applies when**: `task` describes a user-visible output-format regression in a function that *also* contains framework control flow (e.g. a Click/argparse eager-option callback that calls `ctx.exit()`), and the `code`...
Control-flow/error-handling regressions left in place while only the cosmetic symptom is fixed -- `task` describes a user-visible output-format regression in a function that *also* contains framework control flow (e.g. a Click/argparse eager-option callback that calls `ctx.exit()`), and the `code` diff touches only the...
task
lib_specific_opus
lib_specific_opus
69
pndurette__gTTS.dbcda4f3.lm_rewrite__qntwt52k
swesmith/pndurette__gTTS.dbcda4f3
7dd1a6fca4ca
### Title Fix restores only the symptom named in the issue, leaving other gutted code paths from the same regression unrepaired - **Applies when**: `task` — the issue reports a single concrete symptom ("`X` is missing / `AttributeError`") that was caused by a regression/refactor ("after recent changes..."), and `code`...
Title
### Title Fix restores only the symptom named in the issue, leaving other gutted code paths from the same regression unrepaired - **Applies when**: `task` — the issue reports a single concrete symptom ("`X` is missing / `AttributeError`") that was caused by a regression/refactor ("after recent changes..."), and `code`...
Title -- `task` — the issue reports a single concrete symptom ("`X` is missing / `AttributeError`") that was caused by a regression/refactor ("after recent changes..."), and `code` — the repository contains other functions touched by that same change that look hollowed out (empty `if` bodies with `pass`, removed `raise...
task
lib_specific_opus
lib_specific_opus
70
iterative__dvc.1d6ea681.combine_module__z8tt7kuu
swesmith/iterative__dvc.1d6ea681
6f12131b3297
### Fix flips several operators at once when only the error-path condition is implicated by the symptom - **Applies when**: `task` reports a single concrete runtime symptom (e.g. `"unexpected end of database"` / a specific `*Error` constructor) inside one small function, and the `code` diff mutates **more than one** c...
Fix flips several operators at once when only the error-path condition is implicated by the symptom
### Fix flips several operators at once when only the error-path condition is implicated by the symptom - **Applies when**: `task` reports a single concrete runtime symptom (e.g. `"unexpected end of database"` / a specific `*Error` constructor) inside one small function, and the `code` diff mutates **more than one** c...
Fix flips several operators at once when only the error-path condition is implicated by the symptom -- `task` reports a single concrete runtime symptom (e.g. `"unexpected end of database"` / a specific `*Error` constructor) inside one small function, and the `code` diff mutates **more than one** comparison/sign in that...
task
lib_specific_opus
lib_specific_opus
71
arp242__goatcounter.854b1dd2.func_pm_flip_operators__gkr4nzip
swesmith/arp242__goatcounter.854b1dd2
941ea1ed3503
### Restored slice-fill loop must match the sibling/reference implementation's field and semantics - **Applies when**: `code` — the patch re-fills a pre-allocated result slice (`make([]T, len(src))`) inside a method whose body was gutted to a no-op, especially wrapper types (e.g. `GooseFile.Stmts()` delegating to `Stm...
Restored slice-fill loop must match the sibling/reference implementation's field and semantics
### Restored slice-fill loop must match the sibling/reference implementation's field and semantics - **Applies when**: `code` — the patch re-fills a pre-allocated result slice (`make([]T, len(src))`) inside a method whose body was gutted to a no-op, especially wrapper types (e.g. `GooseFile.Stmts()` delegating to `Stm...
Restored slice-fill loop must match the sibling/reference implementation's field and semantics -- `code` — the patch re-fills a pre-allocated result slice (`make([]T, len(src))`) inside a method whose body was gutted to a no-op, especially wrapper types (e.g. `GooseFile.Stmts()` delegating to `StmtDecls()`), where the ...
task
lib_specific_opus
lib_specific_opus
72
ariga__atlas.1afaaba2.func_pm_remove_loop__aictl7q3
swesmith/ariga__atlas.1afaaba2
dbe257f79537
### Title Partial restoration: only the obviously-broken function is repaired, sibling helpers in the same module remain corrupted - **Applies when**: `task` reports a whole feature is "completely broken"/"regression" (e.g. OpenAPI schema generation returns empty `paths`), and `code` is a single module (`starlette/sch...
Title
### Title Partial restoration: only the obviously-broken function is repaired, sibling helpers in the same module remain corrupted - **Applies when**: `task` reports a whole feature is "completely broken"/"regression" (e.g. OpenAPI schema generation returns empty `paths`), and `code` is a single module (`starlette/sch...
Title -- `task` reports a whole feature is "completely broken"/"regression" (e.g. OpenAPI schema generation returns empty `paths`), and `code` is a single module (`starlette/schemas.py`) whose feature is implemented by a *chain* of cooperating functions (`get_endpoints` → `_remove_converter` → `parse_docstring` → `get_...
task
lib_specific_opus
lib_specific_opus
73
encode__starlette.db5063c2.combine_file__whz9mirt
swesmith/encode__starlette.db5063c2
bd0c338a79d7
### Restoring an off-by-one in a shared index helper: size fix must preserve the helper's output for *all* input sizes, not just the crashing one - **Applies when**: `code` — the patch changes a slice/array allocation expression (`make([]T, n±k)`) inside a widely-used helper (here `Document.lineStartIndexes()`), and/o...
Restoring an off-by-one in a shared index helper: size fix must preserve the helper's output for *all* input sizes, not just the crashing one
### Restoring an off-by-one in a shared index helper: size fix must preserve the helper's output for *all* input sizes, not just the crashing one - **Applies when**: `code` — the patch changes a slice/array allocation expression (`make([]T, n±k)`) inside a widely-used helper (here `Document.lineStartIndexes()`), and/o...
Restoring an off-by-one in a shared index helper: size fix must preserve the helper's output for *all* input sizes, not just the crashing one -- `code` — the patch changes a slice/array allocation expression (`make([]T, n±k)`) inside a widely-used helper (here `Document.lineStartIndexes()`), and/or removes the post-loo...
task
lib_specific_opus
lib_specific_opus
74
c-bata__go-prompt.82a91227.func_pm_flip_operators__diyoh86p
swesmith/c-bata__go-prompt.82a91227
eca8e328914e
### Incomplete restoration: sibling `analyse_text` heuristics in the same module left corrupted - **Applies when**: `task` describes a lexer/heuristic mis-detection (e.g. "guess_lexer picks the wrong lexer", "analyse_text pattern is backwards") and `code` is a module containing **several** classes each defining `analy...
Incomplete restoration: sibling `analyse_text` heuristics in the same module left corrupted
### Incomplete restoration: sibling `analyse_text` heuristics in the same module left corrupted - **Applies when**: `task` describes a lexer/heuristic mis-detection (e.g. "guess_lexer picks the wrong lexer", "analyse_text pattern is backwards") and `code` is a module containing **several** classes each defining `analy...
Incomplete restoration: sibling `analyse_text` heuristics in the same module left corrupted -- `task` describes a lexer/heuristic mis-detection (e.g. "guess_lexer picks the wrong lexer", "analyse_text pattern is backwards") and `code` is a module containing **several** classes each defining `analyse_text` (or a similar...
task
lib_specific_opus
lib_specific_opus
75
pygments__pygments.27649ebb.combine_file__u677ucca
swesmith/pygments__pygments.27649ebb
e70f27fe1329
### Modernized stdlib API introduced into a package whose `go.mod`/CI targets an older Go version - **Applies when**: `code` — the fix rewrites a Go function body and the diff introduces standard-library calls or language features that are not already used anywhere else in the repository (e.g. `strings.Cut`, `errors.J...
Modernized stdlib API introduced into a package whose `go.mod`/CI targets an older Go version
### Modernized stdlib API introduced into a package whose `go.mod`/CI targets an older Go version - **Applies when**: `code` — the fix rewrites a Go function body and the diff introduces standard-library calls or language features that are not already used anywhere else in the repository (e.g. `strings.Cut`, `errors.J...
Modernized stdlib API introduced into a package whose `go.mod`/CI targets an older Go version -- `code` — the fix rewrites a Go function body and the diff introduces standard-library calls or language features that are not already used anywhere else in the repository (e.g. `strings.Cut`, `errors.Join`, `slices`/`maps` ...
task
lib_specific_opus
lib_specific_opus
76
go-chi__chi.23c395f8.lm_rewrite__2t0gd23x
swesmith/go-chi__chi.23c395f8
6e097dc314eb
### Restoring only the symptom method, leaving the rest of the injected regression in place - **Applies when**: `task` is a vague regression report ("X raises an unexpected error now") that names one API (`validate_ref`), and the `code` shows the surrounding file/module has more than one damaged spot (deleted sibling ...
Restoring only the symptom method, leaving the rest of the injected regression in place
### Restoring only the symptom method, leaving the rest of the injected regression in place - **Applies when**: `task` is a vague regression report ("X raises an unexpected error now") that names one API (`validate_ref`), and the `code` shows the surrounding file/module has more than one damaged spot (deleted sibling ...
Restoring only the symptom method, leaving the rest of the injected regression in place -- `task` is a vague regression report ("X raises an unexpected error now") that names one API (`validate_ref`), and the `code` shows the surrounding file/module has more than one damaged spot (deleted sibling methods, orphaned stat...
task
lib_specific_opus
lib_specific_opus
77
conan-io__conan.86f29e13.combine_module__71x6eoem
swesmith/conan-io__conan.86f29e13
7e160f731a84
### Reverting only the bugs the issue text enumerates, leaving sibling corruptions in the same functions - **Applies when**: `task` — an issue lists a numbered set of "broken behaviors" (inverted checks, swapped params) in one file/function, and the `code` diff touches those exact lines. Typical of injected-bug benchm...
Reverting only the bugs the issue text enumerates, leaving sibling corruptions in the same functions
### Reverting only the bugs the issue text enumerates, leaving sibling corruptions in the same functions - **Applies when**: `task` — an issue lists a numbered set of "broken behaviors" (inverted checks, swapped params) in one file/function, and the `code` diff touches those exact lines. Typical of injected-bug benchm...
Reverting only the bugs the issue text enumerates, leaving sibling corruptions in the same functions -- `task` — an issue lists a numbered set of "broken behaviors" (inverted checks, swapped params) in one file/function, and the `code` diff touches those exact lines. Typical of injected-bug benchmarks where the injecte...
task
lib_specific_opus
lib_specific_opus
78
oauthlib__oauthlib.1fd52536.combine_file__r97sd6ry
swesmith/oauthlib__oauthlib.1fd52536
52cb6e53a2c5
### Incomplete restoration of a type-dispatch chain: only the type named in the issue is fixed - **Applies when**: `code` — the fix touches a long `if/elif isinstance(obj, ...)` dispatch ladder (e.g. `DeepHash._hash`, `DeepDiff._diff`, a serializer's `default()`), and the reported symptom names one concrete type (here...
Incomplete restoration of a type-dispatch chain: only the type named in the issue is fixed
### Incomplete restoration of a type-dispatch chain: only the type named in the issue is fixed - **Applies when**: `code` — the fix touches a long `if/elif isinstance(obj, ...)` dispatch ladder (e.g. `DeepHash._hash`, `DeepDiff._diff`, a serializer's `default()`), and the reported symptom names one concrete type (here...
Incomplete restoration of a type-dispatch chain: only the type named in the issue is fixed -- `code` — the fix touches a long `if/elif isinstance(obj, ...)` dispatch ladder (e.g. `DeepHash._hash`, `DeepDiff._diff`, a serializer's `default()`), and the reported symptom names one concrete type (here: `pandas.DataFrame` h...
task
lib_specific_opus
lib_specific_opus
79
seperman__deepdiff.ed252022.pr_467
swesmith/seperman__deepdiff.ed252022
cc6f6fdf7fd3
### Title: Bug caused by swapped branch bodies — restore both branches, don't just duplicate the good one - **Applies when**: `code` — the fix touches an `if/elif/else` (or `try/except`, dispatch table, match) chain where one branch raises/returns an error that clearly belongs to a *different* branch's condition, and ...
Title: Bug caused by swapped branch bodies — restore both branches, don't just duplicate the good one
### Title: Bug caused by swapped branch bodies — restore both branches, don't just duplicate the good one - **Applies when**: `code` — the fix touches an `if/elif/else` (or `try/except`, dispatch table, match) chain where one branch raises/returns an error that clearly belongs to a *different* branch's condition, and ...
Title: Bug caused by swapped branch bodies — restore both branches, don't just duplicate the good one -- `code` — the fix touches an `if/elif/else` (or `try/except`, dispatch table, match) chain where one branch raises/returns an error that clearly belongs to a *different* branch's condition, and the issue says "X wron...
task
lib_specific_opus
lib_specific_opus
80
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__h0nrbrhl
swesmith/tornadoweb__tornado.d5ac65c1
8bc0389f616e
### Missing second half of the fix: `pattern2` / `is_type` case-sensitivity path in attribute-selector parsing - **Applies when**: `task` mentions a primary broken feature *plus* an aside ("I also noticed … case sensitivity in attribute selectors for XHTML and XML"), and `code` is `CSSParser.parse_attribute_selector` ...
Missing second half of the fix: `pattern2` / `is_type` case-sensitivity path in attribute-selector parsing
### Missing second half of the fix: `pattern2` / `is_type` case-sensitivity path in attribute-selector parsing - **Applies when**: `task` mentions a primary broken feature *plus* an aside ("I also noticed … case sensitivity in attribute selectors for XHTML and XML"), and `code` is `CSSParser.parse_attribute_selector` ...
Missing second half of the fix: `pattern2` / `is_type` case-sensitivity path in attribute-selector parsing -- `task` mentions a primary broken feature *plus* an aside ("I also noticed … case sensitivity in attribute selectors for XHTML and XML"), and `code` is `CSSParser.parse_attribute_selector` (or similar parser) th...
task
lib_specific_opus
lib_specific_opus
81
facelessuser__soupsieve.a8080d97.func_pm_remove_cond__0nmyui1x
swesmith/facelessuser__soupsieve.a8080d97
c413d8c02ca8
### Incomplete multi-symptom fix: unaddressed use-before-assignment in a sibling function of the same module - **Applies when**: `task` — the issue enumerates several distinct symptoms across layers (e.g., "to_json gives `{}`", "pickle raises `NameError`", "the command line tools also produce incorrect output or fail"...
Incomplete multi-symptom fix: unaddressed use-before-assignment in a sibling function of the same module
### Incomplete multi-symptom fix: unaddressed use-before-assignment in a sibling function of the same module - **Applies when**: `task` — the issue enumerates several distinct symptoms across layers (e.g., "to_json gives `{}`", "pickle raises `NameError`", "the command line tools also produce incorrect output or fail"...
Incomplete multi-symptom fix: unaddressed use-before-assignment in a sibling function of the same module -- `task` — the issue enumerates several distinct symptoms across layers (e.g., "to_json gives `{}`", "pickle raises `NameError`", "the command line tools also produce incorrect output or fail"), and `code` — the di...
task
lib_specific_opus
lib_specific_opus
82
seperman__deepdiff.ed252022.combine_file__re490iz4
swesmith/seperman__deepdiff.ed252022
c2fd9d022605
### Repo-wide scan for sibling code deletions beyond the symptom named in the issue - **Applies when**: `task` — the issue reports a single broken feature (here: `get_date` scheduling raising `NameError`), and the `code` shows tell-tale "gutted" bodies (`pass` placeholders, missing assignments, dangling `else:` branch...
Repo-wide scan for sibling code deletions beyond the symptom named in the issue
### Repo-wide scan for sibling code deletions beyond the symptom named in the issue - **Applies when**: `task` — the issue reports a single broken feature (here: `get_date` scheduling raising `NameError`), and the `code` shows tell-tale "gutted" bodies (`pass` placeholders, missing assignments, dangling `else:` branch...
Repo-wide scan for sibling code deletions beyond the symptom named in the issue -- `task` — the issue reports a single broken feature (here: `get_date` scheduling raising `NameError`), and the `code` shows tell-tale "gutted" bodies (`pass` placeholders, missing assignments, dangling `else:` branches) that indicate the ...
task
lib_specific_opus
lib_specific_opus
83
getnikola__nikola.0f4c230e.combine_module__9orpwwxc
swesmith/getnikola__nikola.0f4c230e
2043f5c3e321
### Title Partial fix to `check_class`: only the two cases named in the issue handled, other `Type[...]` argument forms (Union, ForwardRef, Self) left broken - **Applies when**: `code` — the diff modifies a "check a class against `Type[X]`/`type[X]`" helper (e.g. `check_class` in `typeguard/_checkers.py`) where `X` is...
Title
### Title Partial fix to `check_class`: only the two cases named in the issue handled, other `Type[...]` argument forms (Union, ForwardRef, Self) left broken - **Applies when**: `code` — the diff modifies a "check a class against `Type[X]`/`type[X]`" helper (e.g. `check_class` in `typeguard/_checkers.py`) where `X` is...
Title -- `code` — the diff modifies a "check a class against `Type[X]`/`type[X]`" helper (e.g. `check_class` in `typeguard/_checkers.py`) where `X` is an arbitrary type expression, and the issue text only lists a couple of symptoms (generic aliases, protocols).
task
lib_specific_opus
lib_specific_opus
84
agronholm__typeguard.b6a7e438.lm_rewrite__4igsgfuj
swesmith/agronholm__typeguard.b6a7e438
3babc2d6bc2d
### Partial restoration of a multi-line corrupted loop header (index fixed, bound left as `!=`) - **Applies when**: `code` -- the fix touches an indexed `for` loop that walks a sorted slice pairwise (`prev = s[i-1]; cur = s[i]`), e.g. `newRunContainer16FromArray` in `runcontainer.go`, and the reported symptom is out-o...
Partial restoration of a multi-line corrupted loop header (index fixed, bound left as `!=`)
### Partial restoration of a multi-line corrupted loop header (index fixed, bound left as `!=`) - **Applies when**: `code` -- the fix touches an indexed `for` loop that walks a sorted slice pairwise (`prev = s[i-1]; cur = s[i]`), e.g. `newRunContainer16FromArray` in `runcontainer.go`, and the reported symptom is out-o...
Partial restoration of a multi-line corrupted loop header (index fixed, bound left as `!=`) -- `code` -- the fix touches an indexed `for` loop that walks a sorted slice pairwise (`prev = s[i-1]; cur = s[i]`), e.g. `newRunContainer16FromArray` in `runcontainer.go`, and the reported symptom is out-of-order / out-of-range...
task
lib_specific_opus
lib_specific_opus
85
RoaringBitmap__roaring.09c46a0a.func_pm_op_change__f84lb4fu
swesmith/RoaringBitmap__roaring.09c46a0a
397a9cbb1f88
### Regression from swapping both arms of an `if/else` when the issue only describes one arm - **Applies when**: `code` -- the diff edits a two-branch type/value dispatch (e.g. `if isinstance(rule[0], basestring_type): ... else: ...` in `RuleRouter.__init__`) while the issue text only complains about the behavior of *...
Regression from swapping both arms of an `if/else` when the issue only describes one arm
### Regression from swapping both arms of an `if/else` when the issue only describes one arm - **Applies when**: `code` -- the diff edits a two-branch type/value dispatch (e.g. `if isinstance(rule[0], basestring_type): ... else: ...` in `RuleRouter.__init__`) while the issue text only complains about the behavior of *...
Regression from swapping both arms of an `if/else` when the issue only describes one arm -- `code` -- the diff edits a two-branch type/value dispatch (e.g. `if isinstance(rule[0], basestring_type): ... else: ...` in `RuleRouter.__init__`) while the issue text only complains about the behavior of **one** branch (here: t...
task
lib_specific_opus
lib_specific_opus
86
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__0aaxc9ig
swesmith/tornadoweb__tornado.d5ac65c1
13f99355496b
### Incomplete fix: only the symptom named in the issue is reverted, other co-injected defects in the same package are left in place - **Applies when**: `task` describes one concrete, obviously-wrong behavior (e.g. "title comes back reversed") and the `code` fix is a one-line revert of an equally obvious sabotage (`va...
Incomplete fix: only the symptom named in the issue is reverted, other co-injected defects in the same package are left in place
### Incomplete fix: only the symptom named in the issue is reverted, other co-injected defects in the same package are left in place - **Applies when**: `task` describes one concrete, obviously-wrong behavior (e.g. "title comes back reversed") and the `code` fix is a one-line revert of an equally obvious sabotage (`va...
Incomplete fix: only the symptom named in the issue is reverted, other co-injected defects in the same package are left in place -- `task` describes one concrete, obviously-wrong behavior (e.g. "title comes back reversed") and the `code` fix is a one-line revert of an equally obvious sabotage (`value[::-1]`, `not x`, s...
task
lib_specific_opus
lib_specific_opus
87
python-openxml__python-docx.0cf6d71f.combine_module__ex5wpduj
swesmith/python-openxml__python-docx.0cf6d71f
f3c0ab6d18cc
### Partial fix: only the symptom named in the issue was repaired, leaving co-injected defects in the same pipeline - **Applies when**: `code` -- the issue points at one obviously-stubbed/neutered site (e.g. a branch reduced to `pass`), and the agent's diff touches *only* that site, while other functions in the same f...
Partial fix: only the symptom named in the issue was repaired, leaving co-injected defects in the same pipeline
### Partial fix: only the symptom named in the issue was repaired, leaving co-injected defects in the same pipeline - **Applies when**: `code` -- the issue points at one obviously-stubbed/neutered site (e.g. a branch reduced to `pass`), and the agent's diff touches *only* that site, while other functions in the same f...
Partial fix: only the symptom named in the issue was repaired, leaving co-injected defects in the same pipeline -- `code` -- the issue points at one obviously-stubbed/neutered site (e.g. a branch reduced to `pass`), and the agent's diff touches *only* that site, while other functions in the same file/processing pipelin...
task
lib_specific_opus
lib_specific_opus
88
mozilla__bleach.73871d76.combine_file__hxsp2o3x
swesmith/mozilla__bleach.73871d76
674d49fe23a9
### Comparison-flip in a shared helper applied verbatim from the issue snippet, without auditing the repo's real call sites / sibling helpers - **Applies when**: `task` — the issue embeds a small self-contained repro (a copy of a tiny utility such as `minOfInt`/`maxOfInt`/`clamp`) and claims it "returns the wrong valu...
Comparison-flip in a shared helper applied verbatim from the issue snippet, without auditing the repo's real call sites / sibling helpers
### Comparison-flip in a shared helper applied verbatim from the issue snippet, without auditing the repo's real call sites / sibling helpers - **Applies when**: `task` — the issue embeds a small self-contained repro (a copy of a tiny utility such as `minOfInt`/`maxOfInt`/`clamp`) and claims it "returns the wrong valu...
Comparison-flip in a shared helper applied verbatim from the issue snippet, without auditing the repo's real call sites / sibling helpers -- `task` — the issue embeds a small self-contained repro (a copy of a tiny utility such as `minOfInt`/`maxOfInt`/`clamp`) and claims it "returns the wrong value"; **and** `code` — t...
task
lib_specific_opus
lib_specific_opus
89
RoaringBitmap__roaring.09c46a0a.func_pm_op_change__7347qpn1
swesmith/RoaringBitmap__roaring.09c46a0a
1a6ff190d044
### Title Property setter fix drops the `None` pass-through (over-narrow revert of injected bug) - **Applies when**: `code` -- the diff touches a Python property setter (or thin delegating wrapper) that assigns to a lxml/XML-backed attribute, e.g. `self._element.styleId = value`, and the buggy line contained *both* a ...
Title
### Title Property setter fix drops the `None` pass-through (over-narrow revert of injected bug) - **Applies when**: `code` -- the diff touches a Python property setter (or thin delegating wrapper) that assigns to a lxml/XML-backed attribute, e.g. `self._element.styleId = value`, and the buggy line contained *both* a ...
Title -- `code` -- the diff touches a Python property setter (or thin delegating wrapper) that assigns to a lxml/XML-backed attribute, e.g. `self._element.styleId = value`, and the buggy line contained *both* a corruption (`value[::-1]`, `str(value)`, arithmetic tweak) *and* surrounding scaffolding such as `if value is...
task
lib_specific_opus
lib_specific_opus
90
python-openxml__python-docx.0cf6d71f.func_basic__9cnld7m9
swesmith/python-openxml__python-docx.0cf6d71f
548d4c6bfe52
### Restore *all* parts of the injected defect, including whitespace/style edits adjacent to the logic bug - **Applies when**: `code` -- the patch fixes a small logic inversion (e.g., swapped `if`/`else` branches, flipped bounds check) inside a single function, and the surrounding file region shows other non-functiona...
Restore *all* parts of the injected defect, including whitespace/style edits adjacent to the logic bug
### Restore *all* parts of the injected defect, including whitespace/style edits adjacent to the logic bug - **Applies when**: `code` -- the patch fixes a small logic inversion (e.g., swapped `if`/`else` branches, flipped bounds check) inside a single function, and the surrounding file region shows other non-functiona...
Restore *all* parts of the injected defect, including whitespace/style edits adjacent to the logic bug -- `code` -- the patch fixes a small logic inversion (e.g., swapped `if`/`else` branches, flipped bounds check) inside a single function, and the surrounding file region shows other non-functional deviations from the ...
task
lib_specific_opus
lib_specific_opus
91
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__fu602vyd
swesmith/tornadoweb__tornado.d5ac65c1
b58909fccc58
### Incomplete fix: only one of several corrupted modules in the feature's call chain was repaired - **Applies when**: `task` describes an end-to-end feature failure ("autoprofile doesn't profile modules", reproduced via a subprocess/CLI script) rather than a single failing unit function, and the `code` base has multi...
Incomplete fix: only one of several corrupted modules in the feature's call chain was repaired
### Incomplete fix: only one of several corrupted modules in the feature's call chain was repaired - **Applies when**: `task` describes an end-to-end feature failure ("autoprofile doesn't profile modules", reproduced via a subprocess/CLI script) rather than a single failing unit function, and the `code` base has multi...
Incomplete fix: only one of several corrupted modules in the feature's call chain was repaired -- `task` describes an end-to-end feature failure ("autoprofile doesn't profile modules", reproduced via a subprocess/CLI script) rather than a single failing unit function, and the `code` base has multiple collaborating modu...
task
lib_specific_opus
lib_specific_opus
92
pyutils__line_profiler.a646bf0f.combine_module__di8pb54a
swesmith/pyutils__line_profiler.a646bf0f
478b7530affd
### Fix is a semantic no-op guard instead of addressing why the generator yields nothing - **Applies when**: `task` reports an `UnboundLocalError` (or "variable referenced before assignment") for a loop variable used *after* a `for ... in <generator/iterable>` loop, and the `code` diff only touches the loop header or ...
Fix is a semantic no-op guard instead of addressing why the generator yields nothing
### Fix is a semantic no-op guard instead of addressing why the generator yields nothing - **Applies when**: `task` reports an `UnboundLocalError` (or "variable referenced before assignment") for a loop variable used *after* a `for ... in <generator/iterable>` loop, and the `code` diff only touches the loop header or ...
Fix is a semantic no-op guard instead of addressing why the generator yields nothing -- `task` reports an `UnboundLocalError` (or "variable referenced before assignment") for a loop variable used *after* a `for ... in <generator/iterable>` loop, and the `code` diff only touches the loop header or adds a defensive fallb...
task
lib_specific_opus
lib_specific_opus
93
tkrajina__gpxpy.09fc46b3.func_pm_ctrl_shuffle__rrwfupch
swesmith/tkrajina__gpxpy.09fc46b3
a8b2c26cfd7f
### Cosmetic-only patch that never touches the code path producing the reported error - **Applies when**: `task` — the issue lists concrete runtime failures (e.g. `KeyError: 'distributed'`, `ImportError` for an optional filesystem/dependency) across *several* named components (ORC **and** Parquet); `code` — the diff i...
Cosmetic-only patch that never touches the code path producing the reported error
### Cosmetic-only patch that never touches the code path producing the reported error - **Applies when**: `task` — the issue lists concrete runtime failures (e.g. `KeyError: 'distributed'`, `ImportError` for an optional filesystem/dependency) across *several* named components (ORC **and** Parquet); `code` — the diff i...
Cosmetic-only patch that never touches the code path producing the reported error -- `task` — the issue lists concrete runtime failures (e.g. `KeyError: 'distributed'`, `ImportError` for an optional filesystem/dependency) across *several* named components (ORC **and** Parquet); `code` — the diff is confined to one comp...
task
lib_specific_opus
lib_specific_opus
94
dask__dask.5f61e423.pr_10746
swesmith/dask__dask.5f61e423
4caf092bd405
### Fixing a parquet-read failure at the symptom site (index/row-count reconciliation) instead of at file enumeration - **Applies when**: `task` reports a read failure (length/shape mismatch, `ValueError: Length mismatch`, empty result) for `read_parquet`/other multi-file readers, and `code` contains both an engine-sp...
Fixing a parquet-read failure at the symptom site (index/row-count reconciliation) instead of at file enumeration
### Fixing a parquet-read failure at the symptom site (index/row-count reconciliation) instead of at file enumeration - **Applies when**: `task` reports a read failure (length/shape mismatch, `ValueError: Length mismatch`, empty result) for `read_parquet`/other multi-file readers, and `code` contains both an engine-sp...
Fixing a parquet-read failure at the symptom site (index/row-count reconciliation) instead of at file enumeration -- `task` reports a read failure (length/shape mismatch, `ValueError: Length mismatch`, empty result) for `read_parquet`/other multi-file readers, and `code` contains both an engine-specific file-discovery ...
task
lib_specific_opus
lib_specific_opus
95
modin-project__modin-6790
modin-project/modin
496f0366fa1b
### Fix the existing dedicated handler (plugin/callback) instead of adding parallel special-casing in the type checker - **Applies when**: `task` describes wrong inferred/narrowed types for a value produced by an operator or builtin call (e.g. `-1` as `Literal[-1]`, `len()`, `int.__neg__`), AND `code` already contains...
Fix the existing dedicated handler (plugin/callback) instead of adding parallel special-casing in the type checker
### Fix the existing dedicated handler (plugin/callback) instead of adding parallel special-casing in the type checker - **Applies when**: `task` describes wrong inferred/narrowed types for a value produced by an operator or builtin call (e.g. `-1` as `Literal[-1]`, `len()`, `int.__neg__`), AND `code` already contains...
Fix the existing dedicated handler (plugin/callback) instead of adding parallel special-casing in the type checker -- `task` describes wrong inferred/narrowed types for a value produced by an operator or builtin call (e.g. `-1` as `Literal[-1]`, `len()`, `int.__neg__`), AND `code` already contains a hook that handles t...
task
lib_specific_opus
lib_specific_opus
96
python__mypy-17256
python/mypy