rubric_id
stringlengths
12
12
text
stringlengths
798
1.61k
title
stringlengths
34
116
prompt_block
stringlengths
798
1.61k
retrieval_text
stringlengths
136
359
input_condition
stringclasses
1 value
artifact
stringclasses
5 values
family
stringclasses
1 value
library
stringclasses
1 value
manifest_rank
int64
0
96
source_instance_id
stringlengths
15
62
source_repo
stringlengths
9
46
21dec465371f
### Guard removed from a dispatch branch broadens the match and breaks later logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names one concrete function/method as the defect location, and the submitted diff touches that same symbol - **Detection procedure**: 1. Read the function/method nam...
Guard removed from a dispatch branch broadens the match and breaks later logic
### Guard removed from a dispatch branch broadens the match and breaks later logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names one concrete function/method as the defect location, and the submitted diff touches that same symbol - **Detection procedure**: 1. Read the function/method nam...
Guard removed from a dispatch branch broadens the match and breaks later logic -- the task statement names one concrete function/method as the defect location, and the submitted diff touches that same symbol
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
0
python__mypy-11434
python/mypy
803c1d606e2c
### Output differs only by one literal token but patch doesn’t touch that literal - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task shows expected vs. current output lines that are identical except for one fixed token (e.g., “STRING” → “BOOL”, “0” → “1”, etc.). - **Detection procedure**: 1. From the task’s E...
Output differs only by one literal token but patch doesn’t touch that literal
### Output differs only by one literal token but patch doesn’t touch that literal - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task shows expected vs. current output lines that are identical except for one fixed token (e.g., “STRING” → “BOOL”, “0” → “1”, etc.). - **Detection procedure**: 1. From the task’s E...
Output differs only by one literal token but patch doesn’t touch that literal -- The task shows expected vs. current output lines that are identical except for one fixed token (e.g., “STRING” → “BOOL”, “0” → “1”, etc.).
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
1
conan-io__conan-10941
conan-io/conan
cc35e7961d29
### Fix must support the listed misbehaving input instead of rejecting it - **Artifact**: VARIANTS - **Applies when**: The task lists one or more input variants that “currently fail” and says they should now be accepted (parse, succeed, return a value, etc.), not raise an error. - **Detection procedure**: 1. Read th...
Fix must support the listed misbehaving input instead of rejecting it
### Fix must support the listed misbehaving input instead of rejecting it - **Artifact**: VARIANTS - **Applies when**: The task lists one or more input variants that “currently fail” and says they should now be accepted (parse, succeed, return a value, etc.), not raise an error. - **Detection procedure**: 1. Read th...
Fix must support the listed misbehaving input instead of rejecting it -- The task lists one or more input variants that “currently fail” and says they should now be accepted (parse, succeed, return a value, etc.), not raise an error.
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
2
conan-io__conan-12695
conan-io/conan
d215240adad3
### Add a branch for the unsupported type in the exact serializer function that raises “can’t serialize …” - **Artifact**: TRACEBACK - **Applies when**: The traceback ends with an exception message of the form “SerializationError: can’t serialize <class '…'>” (or analogous wording) and shows the (last) frame inside a s...
Add a branch for the unsupported type in the exact serializer function that raises “can’t serialize …”
### Add a branch for the unsupported type in the exact serializer function that raises “can’t serialize …” - **Artifact**: TRACEBACK - **Applies when**: The traceback ends with an exception message of the form “SerializationError: can’t serialize <class '…'>” (or analogous wording) and shows the (last) frame inside a s...
Add a branch for the unsupported type in the exact serializer function that raises “can’t serialize …” -- The traceback ends with an exception message of the form “SerializationError: can’t serialize <class '…'>” (or analogous wording) and shows the (last) frame inside a specific *serializer function* where that error ...
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
3
bokeh__bokeh-13328
bokeh/bokeh
de725a74287d
### Added-parameter now dereferenced but a call site still passes `None` - **Artifact**: NAMED_SYMBOL - **Applies when**: the task names a function/class whose implementation is changed in the diff so that it now dereferences (reads attributes of) one of its parameters that could formerly be `None`. - **Detection proce...
Added-parameter now dereferenced but a call site still passes `None`
### Added-parameter now dereferenced but a call site still passes `None` - **Artifact**: NAMED_SYMBOL - **Applies when**: the task names a function/class whose implementation is changed in the diff so that it now dereferences (reads attributes of) one of its parameters that could formerly be `None`. - **Detection proce...
Added-parameter now dereferenced but a call site still passes `None` -- the task names a function/class whose implementation is changed in the diff so that it now dereferences (reads attributes of) one of its parameters that could formerly be `None`.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
4
conan-io__conan-14051
conan-io/conan
4c0e439527c6
### Removing or moving an early `return` in a stack-listed function that later crashes with “unexpectedly incomplete” - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback ends with an assertion/error message that an object, definition or module is “unexpectedly incomplete” (or equivalently “not fully defi...
Removing or moving an early `return` in a stack-listed function that later crashes with “unexpectedly incomplete”
### Removing or moving an early `return` in a stack-listed function that later crashes with “unexpectedly incomplete” - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback ends with an assertion/error message that an object, definition or module is “unexpectedly incomplete” (or equivalently “not fully defi...
Removing or moving an early `return` in a stack-listed function that later crashes with “unexpectedly incomplete” -- The task’s traceback ends with an assertion/error message that an object, definition or module is “unexpectedly incomplete” (or equivalently “not fully defined”, “still Placeholder”, etc.) and the stack ...
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
5
python__mypy-11632
python/mypy
9e435cb2e51a
### Missing registration of a newly-requested interpolation resolver - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a new interpolation resolver identified by a specific name (e.g. “foo”, “user_id”, “hydra”) must be added or exposed. - **Detection procedure**: 1. Read the resolver nam...
Missing registration of a newly-requested interpolation resolver
### Missing registration of a newly-requested interpolation resolver - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a new interpolation resolver identified by a specific name (e.g. “foo”, “user_id”, “hydra”) must be added or exposed. - **Detection procedure**: 1. Read the resolver nam...
Missing registration of a newly-requested interpolation resolver -- The task statement says that a new interpolation resolver identified by a specific name (e.g. “foo”, “user_id”, “hydra”) must be added or exposed.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
6
facebookresearch__hydra-614
facebookresearch/hydra
54baf2d69d7c
### Handles only some of the listed variants, leaving others unimplemented - **Artifact**: VARIANTS - **Applies when**: the task statement enumerates several alternative inputs/operations that are all expected to work after the fix. - **Detection procedure**: 1. Read the VARIANTS list and record the distinguishing t...
Handles only some of the listed variants, leaving others unimplemented
### Handles only some of the listed variants, leaving others unimplemented - **Artifact**: VARIANTS - **Applies when**: the task statement enumerates several alternative inputs/operations that are all expected to work after the fix. - **Detection procedure**: 1. Read the VARIANTS list and record the distinguishing t...
Handles only some of the listed variants, leaving others unimplemented -- the task statement enumerates several alternative inputs/operations that are all expected to work after the fix.
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
7
facebookresearch__hydra-1842
facebookresearch/hydra
5efac968aafa
### Bug fix must touch the function the traceback pinpoints - **Artifact**: TRACEBACK - **Applies when**: The task statement provides a traceback in which at least one frame originates from the repository’s own code (i.e., not a third-party library), naming a concrete function and line number near the bottom of the sta...
Bug fix must touch the function the traceback pinpoints
### Bug fix must touch the function the traceback pinpoints - **Artifact**: TRACEBACK - **Applies when**: The task statement provides a traceback in which at least one frame originates from the repository’s own code (i.e., not a third-party library), naming a concrete function and line number near the bottom of the sta...
Bug fix must touch the function the traceback pinpoints -- The task statement provides a traceback in which at least one frame originates from the repository’s own code (i.e., not a third-party library), naming a concrete function and line number near the bottom of the stack where the exception is raised.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
8
modin-project__modin-6844
modin-project/modin
a60a544c3243
### Public API named in task must be newly defined, not only referenced - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly names a function, method, class or constant that must start working or become public. - **Detection procedure**: 1. Read the exact symbol name from the task (e.g. “read_...
Public API named in task must be newly defined, not only referenced
### Public API named in task must be newly defined, not only referenced - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly names a function, method, class or constant that must start working or become public. - **Detection procedure**: 1. Read the exact symbol name from the task (e.g. “read_...
Public API named in task must be newly defined, not only referenced -- The task statement explicitly names a function, method, class or constant that must start working or become public.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
9
modin-project__modin-6873
modin-project/modin
43c32898d5b9
### Importing or accessing a non-existent symbol crashes the program at import time - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with “cannot import name '<sym>' from '<mod>'” or “module '<mod>' has no attribute '<sym>'”. - **Detection procedure**: 1. Read the failing module nam...
Importing or accessing a non-existent symbol crashes the program at import time
### Importing or accessing a non-existent symbol crashes the program at import time - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with “cannot import name '<sym>' from '<mod>'” or “module '<mod>' has no attribute '<sym>'”. - **Detection procedure**: 1. Read the failing module nam...
Importing or accessing a non-existent symbol crashes the program at import time -- the task statement’s traceback ends with “cannot import name '<sym>' from '<mod>'” or “module '<mod>' has no attribute '<sym>'”.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
10
python__mypy-14682
python/mypy
cefc56f09fbe
### Public API symbol added but not re-exported at the promised import path - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a concrete function/class/attribute must be importable from a specific dotted path (e.g. “use `with pkg.context(...)`” or “`from pkg import NewFeature`”). - **Detecti...
Public API symbol added but not re-exported at the promised import path
### Public API symbol added but not re-exported at the promised import path - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a concrete function/class/attribute must be importable from a specific dotted path (e.g. “use `with pkg.context(...)`” or “`from pkg import NewFeature`”). - **Detecti...
Public API symbol added but not re-exported at the promised import path -- The task statement says that a concrete function/class/attribute must be importable from a specific dotted path (e.g. “use `with pkg.context(...)`” or “`from pkg import NewFeature`”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
11
modin-project__modin-7142
modin-project/modin
bee7be3895fe
### Contracting a composite value only via pretty-printing instead of real computation - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The expected output in the task shows a concise base value replacing a longer composite form (e.g. the old string contains “Union[”, the new one doesn’t), signalling that an interna...
Contracting a composite value only via pretty-printing instead of real computation
### Contracting a composite value only via pretty-printing instead of real computation - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The expected output in the task shows a concise base value replacing a longer composite form (e.g. the old string contains “Union[”, the new one doesn’t), signalling that an interna...
Contracting a composite value only via pretty-printing instead of real computation -- The expected output in the task shows a concise base value replacing a longer composite form (e.g. the old string contains “Union[”, the new one doesn’t), signalling that an internal result must be simplified, not merely re-labelled.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
12
python__mypy-9097
python/mypy
08b164001059
### Breaking API by renaming/removing a keyword parameter that appears in a TypeError traceback - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback contains “TypeError: … got an unexpected keyword argument 'X'” (or similar wording) and names a specific function or method where that error is rai...
Breaking API by renaming/removing a keyword parameter that appears in a TypeError traceback
### Breaking API by renaming/removing a keyword parameter that appears in a TypeError traceback - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback contains “TypeError: … got an unexpected keyword argument 'X'” (or similar wording) and names a specific function or method where that error is rai...
Breaking API by renaming/removing a keyword parameter that appears in a TypeError traceback -- the task statement’s traceback contains “TypeError: … got an unexpected keyword argument 'X'” (or similar wording) and names a specific function or method where that error is raised.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
13
facebookresearch__hydra-876
facebookresearch/hydra
ac2a935facc1
### Referencing a new module attribute that the patch never defines - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with `AttributeError: <module ...> has no attribute '<NAME>'`, and the cited line is part of code modified by the patch. - **Detection procedure**: 1. Read `<NAME>` (the ...
Referencing a new module attribute that the patch never defines
### Referencing a new module attribute that the patch never defines - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with `AttributeError: <module ...> has no attribute '<NAME>'`, and the cited line is part of code modified by the patch. - **Detection procedure**: 1. Read `<NAME>` (the ...
Referencing a new module attribute that the patch never defines -- the task statement’s traceback ends with `AttributeError: <module ...> has no attribute '<NAME>'`, and the cited line is part of code modified by the patch.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
14
dask__dask-9378
dask/dask
bfb2f60471c1
### Unfiltered propagation of outer-scope state into a nested scope - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a function whose bug description involves “keeping” or “re-using” variable/type information from an outer scope inside a nested/inner scope. - **Detection procedure**: 1. Rea...
Unfiltered propagation of outer-scope state into a nested scope
### Unfiltered propagation of outer-scope state into a nested scope - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a function whose bug description involves “keeping” or “re-using” variable/type information from an outer scope inside a nested/inner scope. - **Detection procedure**: 1. Rea...
Unfiltered propagation of outer-scope state into a nested scope -- the task statement names a function whose bug description involves “keeping” or “re-using” variable/type information from an outer scope inside a nested/inner scope.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
15
python__mypy-15133
python/mypy
b44cbce27e8d
### Removing a guard clause instead of adding a flag-sensitive branch for “override final” errors - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected output string contains the words “override final” (e.g. “Cannot override final …”). - **Detection procedure**: 1. Read the quoted expected-output line...
Removing a guard clause instead of adding a flag-sensitive branch for “override final” errors
### Removing a guard clause instead of adding a flag-sensitive branch for “override final” errors - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected output string contains the words “override final” (e.g. “Cannot override final …”). - **Detection procedure**: 1. Read the quoted expected-output line...
Removing a guard clause instead of adding a flag-sensitive branch for “override final” errors -- The task’s expected output string contains the words “override final” (e.g. “Cannot override final …”).
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
16
python__mypy-17276
python/mypy
c9ad2928c579
### Unused hard-coded calls left after introducing a configurable tool/command - **Artifact**: NAMED_SYMBOL - **Applies when**: the task says a particular option or variable (named symbol) is being added or extended so users can override the path/name of an external tool or command. - **Detection procedure**: 1. Re...
Unused hard-coded calls left after introducing a configurable tool/command
### Unused hard-coded calls left after introducing a configurable tool/command - **Artifact**: NAMED_SYMBOL - **Applies when**: the task says a particular option or variable (named symbol) is being added or extended so users can override the path/name of an external tool or command. - **Detection procedure**: 1. Re...
Unused hard-coded calls left after introducing a configurable tool/command -- the task says a particular option or variable (named symbol) is being added or extended so users can override the path/name of an external tool or command.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
17
conan-io__conan-14195
conan-io/conan
2f78aaed0362
### Skipping a formerly unconditional core operation via an empty “pass” branch - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback pinpoints a specific function (call stack frame with file + function + line) inside the project’s own code. - **Detection procedure**: 1. Read the traceback and record t...
Skipping a formerly unconditional core operation via an empty “pass” branch
### Skipping a formerly unconditional core operation via an empty “pass” branch - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback pinpoints a specific function (call stack frame with file + function + line) inside the project’s own code. - **Detection procedure**: 1. Read the traceback and record t...
Skipping a formerly unconditional core operation via an empty “pass” branch -- The task’s traceback pinpoints a specific function (call stack frame with file + function + line) inside the project’s own code.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
18
python__mypy-15629
python/mypy
3b344fe05768
### Guard-stripping broadens the type check in <NAMED_SYMBOL>, risking mis-handling objects missing a required attribute - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a function or method that should start accepting a new kind of argument, but only when that argument additionally possesses s...
Guard-stripping broadens the type check in <NAMED_SYMBOL>, risking mis-handling objects missing a required attribute
### Guard-stripping broadens the type check in <NAMED_SYMBOL>, risking mis-handling objects missing a required attribute - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a function or method that should start accepting a new kind of argument, but only when that argument additionally possesses s...
Guard-stripping broadens the type check in <NAMED_SYMBOL>, risking mis-handling objects missing a required attribute -- the task statement names a function or method that should start accepting a new kind of argument, but only when that argument additionally possesses some distinguishing attribute (e.g., `.name`, `.sha...
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
19
dask__dask-6809
dask/dask
e070870fe370
### Skipping serialization of an unpicklable object instead of converting it - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback contains a “can(not) pickle …” (or similar) error raised inside a public API call, and the traceback names the API function that is being patched in the diff. - **Detection pro...
Skipping serialization of an unpicklable object instead of converting it
### Skipping serialization of an unpicklable object instead of converting it - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback contains a “can(not) pickle …” (or similar) error raised inside a public API call, and the traceback names the API function that is being patched in the diff. - **Detection pro...
Skipping serialization of an unpicklable object instead of converting it -- the task’s traceback contains a “can(not) pickle …” (or similar) error raised inside a public API call, and the traceback names the API function that is being patched in the diff.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
20
modin-project__modin-5940
modin-project/modin
c9875df9127c
### Redefining a library function instead of fixing the logic that uses it - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement points to a symbol that already exists in the language standard library or in a well-known third-party dependency (e.g. “operator.getitem”, “itertools.product”, “numpy.concatena...
Redefining a library function instead of fixing the logic that uses it
### Redefining a library function instead of fixing the logic that uses it - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement points to a symbol that already exists in the language standard library or in a well-known third-party dependency (e.g. “operator.getitem”, “itertools.product”, “numpy.concatena...
Redefining a library function instead of fixing the logic that uses it -- the task statement points to a symbol that already exists in the language standard library or in a well-known third-party dependency (e.g. “operator.getitem”, “itertools.product”, “numpy.concatenate”, …).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
21
dask__dask-6779
dask/dask
5520035239c2
### Mixing up strict vs inclusive relation helpers in a conditional - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a helper whose specification is that it implements a strict/proper relation (excludes equality) or its inclusive counterpart. - **Detection procedure**: 1. Read the named symbol ...
Mixing up strict vs inclusive relation helpers in a conditional
### Mixing up strict vs inclusive relation helpers in a conditional - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a helper whose specification is that it implements a strict/proper relation (excludes equality) or its inclusive counterpart. - **Detection procedure**: 1. Read the named symbol ...
Mixing up strict vs inclusive relation helpers in a conditional -- The task statement names a helper whose specification is that it implements a strict/proper relation (excludes equality) or its inclusive counterpart.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
22
python__mypy-12267
python/mypy
83b33bdf61db
### Missing call-site update when extending a helper’s parameter handling - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a given helper or utility function/class (`<NAMED_SYMBOL>`) must start behaving differently depending on an enum/flag/option that it now receives. - **Detection procedu...
Missing call-site update when extending a helper’s parameter handling
### Missing call-site update when extending a helper’s parameter handling - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a given helper or utility function/class (`<NAMED_SYMBOL>`) must start behaving differently depending on an enum/flag/option that it now receives. - **Detection procedu...
Missing call-site update when extending a helper’s parameter handling -- The task statement says that a given helper or utility function/class (`<NAMED_SYMBOL>`) must start behaving differently depending on an enum/flag/option that it now receives.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
23
pydantic__pydantic-6115
pydantic/pydantic
cbb7a650b2d2
### Message prints absolute path where expected output shows a relative one - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected output string (or snippet of it) contains a file-system path that is clearly relative (e.g. “foo/bar.py”, no leading “/”, drive letter, or home dir) and that same string ap...
Message prints absolute path where expected output shows a relative one
### Message prints absolute path where expected output shows a relative one - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected output string (or snippet of it) contains a file-system path that is clearly relative (e.g. “foo/bar.py”, no leading “/”, drive letter, or home dir) and that same string ap...
Message prints absolute path where expected output shows a relative one -- the task’s expected output string (or snippet of it) contains a file-system path that is clearly relative (e.g. “foo/bar.py”, no leading “/”, drive letter, or home dir) and that same string appears, unchanged, in the patch’s codebase as part of ...
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
24
python__mypy-9742
python/mypy
945f4ed32bba
### Function named in the task must be directly patched - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular function/method is responsible for the faulty behaviour and needs correction. - **Detection procedure**: 1. Read the symbol name from the task. 2. In the diff, find that sym...
Function named in the task must be directly patched
### Function named in the task must be directly patched - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular function/method is responsible for the faulty behaviour and needs correction. - **Detection procedure**: 1. Read the symbol name from the task. 2. In the diff, find that sym...
Function named in the task must be directly patched -- The task statement says that a particular function/method is responsible for the faulty behaviour and needs correction.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
25
modin-project__modin-6608
modin-project/modin
faca571ee478
### Added early-return for a special case inside the target function that bypasses the remainder of its original logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says “fix the behaviour of <NAMED_SYMBOL>” (a single function, method or class) and the patch changes that exact symbol. - **Detectio...
Added early-return for a special case inside the target function that bypasses the remainder of its original logic
### Added early-return for a special case inside the target function that bypasses the remainder of its original logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says “fix the behaviour of <NAMED_SYMBOL>” (a single function, method or class) and the patch changes that exact symbol. - **Detectio...
Added early-return for a special case inside the target function that bypasses the remainder of its original logic -- the task statement says “fix the behaviour of <NAMED_SYMBOL>” (a single function, method or class) and the patch changes that exact symbol.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
26
python__mypy-11150
python/mypy
3b6e1edfbc6a
### Inconsistent addition of a newly-supported type across sibling isinstance branches - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says “add support for <NAMED_SYMBOL> in <function/class>”. - **Detection procedure**: 1. Read the NAMED_SYMBOL from the task. 2. In the diff, open the function...
Inconsistent addition of a newly-supported type across sibling isinstance branches
### Inconsistent addition of a newly-supported type across sibling isinstance branches - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says “add support for <NAMED_SYMBOL> in <function/class>”. - **Detection procedure**: 1. Read the NAMED_SYMBOL from the task. 2. In the diff, open the function...
Inconsistent addition of a newly-supported type across sibling isinstance branches -- The task statement says “add support for <NAMED_SYMBOL> in <function/class>”.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
27
modin-project__modin-6400
modin-project/modin
db53eb091726
### Stripping a filename extension that the spec expects to stay intact - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected output shows a filename (contains “.” followed by an extension) that must be surfaced exactly as written. - **Detection procedure**: 1. Read the expected-output string from the...
Stripping a filename extension that the spec expects to stay intact
### Stripping a filename extension that the spec expects to stay intact - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected output shows a filename (contains “.” followed by an extension) that must be surfaced exactly as written. - **Detection procedure**: 1. Read the expected-output string from the...
Stripping a filename extension that the spec expects to stay intact -- The task’s expected output shows a filename (contains “.” followed by an extension) that must be surfaced exactly as written.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
28
conan-io__conan-13721
conan-io/conan
a8112839b2c7
### Accumulator moved inside loop loses cross-iteration state - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a particular function/class that must be modified. - **Detection procedure**: 1. Read the named symbol from the task. 2. Open the diff for that symbol and scan for a `for`/`whi...
Accumulator moved inside loop loses cross-iteration state
### Accumulator moved inside loop loses cross-iteration state - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a particular function/class that must be modified. - **Detection procedure**: 1. Read the named symbol from the task. 2. Open the diff for that symbol and scan for a `for`/`whi...
Accumulator moved inside loop loses cross-iteration state -- the task statement names a particular function/class that must be modified.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
29
dask__dask-6980
dask/dask
6060d9f3d1d1
### Fix must touch the symbol the task says is buggy - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly names one function, method, class, attribute, or constant as the location of the defect. - **Detection procedure**: 1. Read the symbol name from the task’s NAMED_SYMBOL artifact. 2...
Fix must touch the symbol the task says is buggy
### Fix must touch the symbol the task says is buggy - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly names one function, method, class, attribute, or constant as the location of the defect. - **Detection procedure**: 1. Read the symbol name from the task’s NAMED_SYMBOL artifact. 2...
Fix must touch the symbol the task says is buggy -- The task statement explicitly names one function, method, class, attribute, or constant as the location of the defect.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
30
python__mypy-10424
python/mypy
51cd4ead3249
### New symbol referenced in code but never registered in the project’s constant mapping - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular symbol (class, function, entry-point, option, etc.) is not recognised/valid and must become usable by adding it to the code-base. - **Detect...
New symbol referenced in code but never registered in the project’s constant mapping
### New symbol referenced in code but never registered in the project’s constant mapping - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular symbol (class, function, entry-point, option, etc.) is not recognised/valid and must become usable by adding it to the code-base. - **Detect...
New symbol referenced in code but never registered in the project’s constant mapping -- The task statement says that a particular symbol (class, function, entry-point, option, etc.) is not recognised/valid and must become usable by adding it to the code-base.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
31
python__mypy-11533
python/mypy
fd046905770c
### Missing presence guard for feature-specific restriction - **Artifact**: VARIANTS - **Applies when**: The task statement lists at least two behaviour variants that differ only by whether some opt-in feature/flag/property is declared (e.g. “with X” vs “without X”), and the bug is that the current code enforces the sa...
Missing presence guard for feature-specific restriction
### Missing presence guard for feature-specific restriction - **Artifact**: VARIANTS - **Applies when**: The task statement lists at least two behaviour variants that differ only by whether some opt-in feature/flag/property is declared (e.g. “with X” vs “without X”), and the bug is that the current code enforces the sa...
Missing presence guard for feature-specific restriction -- The task statement lists at least two behaviour variants that differ only by whether some opt-in feature/flag/property is declared (e.g. “with X” vs “without X”), and the bug is that the current code enforces the same restriction on every variant instead of onl...
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
32
python__mypy-10864
python/mypy
d7f12584359c
### Inconsistent update of all code paths that use the same symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that the behaviour of a given function/class/constant *X* must change (or that a new helper for *X* is introduced) so that every place which relies on that behaviour is now expecte...
Inconsistent update of all code paths that use the same symbol
### Inconsistent update of all code paths that use the same symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that the behaviour of a given function/class/constant *X* must change (or that a new helper for *X* is introduced) so that every place which relies on that behaviour is now expecte...
Inconsistent update of all code paths that use the same symbol -- the task statement says that the behaviour of a given function/class/constant *X* must change (or that a new helper for *X* is introduced) so that every place which relies on that behaviour is now expected to act differently.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
33
python__mypy-15347
python/mypy
af4f4ae086f0
### AttributeError fix adds the missing attribute, but not inside the class the traceback names - **Artifact**: TRACEBACK - **Applies when**: The traceback contains “AttributeError: '<ClassName>' object has no attribute '<attr>'”. - **Detection procedure**: 1. Read `<ClassName>` and `<attr>` from the traceback in the t...
AttributeError fix adds the missing attribute, but not inside the class the traceback names
### AttributeError fix adds the missing attribute, but not inside the class the traceback names - **Artifact**: TRACEBACK - **Applies when**: The traceback contains “AttributeError: '<ClassName>' object has no attribute '<attr>'”. - **Detection procedure**: 1. Read `<ClassName>` and `<attr>` from the traceback in the t...
AttributeError fix adds the missing attribute, but not inside the class the traceback names -- The traceback contains “AttributeError: '<ClassName>' object has no attribute '<attr>'”.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
34
conan-io__conan-10959
conan-io/conan
d2bd42fbd4b7
### Adding a new call listed in the traceback without defining the callee causes a NameError - **Artifact**: TRACEBACK - **Applies when**: The task statement’s traceback ends with a NameError (or AttributeError on a module) saying that a given symbol is not defined, and the traceback shows the call happening inside the...
Adding a new call listed in the traceback without defining the callee causes a NameError
### Adding a new call listed in the traceback without defining the callee causes a NameError - **Artifact**: TRACEBACK - **Applies when**: The task statement’s traceback ends with a NameError (or AttributeError on a module) saying that a given symbol is not defined, and the traceback shows the call happening inside the...
Adding a new call listed in the traceback without defining the callee causes a NameError -- The task statement’s traceback ends with a NameError (or AttributeError on a module) saying that a given symbol is not defined, and the traceback shows the call happening inside the project’s own code (not a third-party library)...
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
35
python__mypy-16556
python/mypy
bebd0725822f
### Missing bump of persistent-format version after altering serialized fields - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a constant or option that marks the current on-disk serialization / cache format version. - **Detection procedure**: 1. Read the named symbol from the task (the ve...
Missing bump of persistent-format version after altering serialized fields
### Missing bump of persistent-format version after altering serialized fields - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a constant or option that marks the current on-disk serialization / cache format version. - **Detection procedure**: 1. Read the named symbol from the task (the ve...
Missing bump of persistent-format version after altering serialized fields -- the task statement names a constant or option that marks the current on-disk serialization / cache format version.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
36
python__mypy-14835
python/mypy
4c3b8d1b8485
### Undeclared local/global referenced in function the traceback names - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with a `NameError` / `UnboundLocalError` complaining that some identifier `X` is “not defined” (or “referenced before assignment”) inside a particular function `foo` a...
Undeclared local/global referenced in function the traceback names
### Undeclared local/global referenced in function the traceback names - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with a `NameError` / `UnboundLocalError` complaining that some identifier `X` is “not defined” (or “referenced before assignment”) inside a particular function `foo` a...
Undeclared local/global referenced in function the traceback names -- the task statement’s traceback ends with a `NameError` / `UnboundLocalError` complaining that some identifier `X` is “not defined” (or “referenced before assignment”) inside a particular function `foo` at a given line.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
37
pydantic__pydantic-4911
pydantic/pydantic
f603c3025e0b
### Missing handling for `'definition-ref'` inside the discriminated-union variant switch - **Artifact**: TRACEBACK - **Applies when**: The task statement shows a traceback whose message says `'<definition-ref>' is not a valid discriminated union variant` (or wording that the string `'definition-ref'` is “not valid” fo...
Missing handling for `'definition-ref'` inside the discriminated-union variant switch
### Missing handling for `'definition-ref'` inside the discriminated-union variant switch - **Artifact**: TRACEBACK - **Applies when**: The task statement shows a traceback whose message says `'<definition-ref>' is not a valid discriminated union variant` (or wording that the string `'definition-ref'` is “not valid” fo...
Missing handling for `'definition-ref'` inside the discriminated-union variant switch -- The task statement shows a traceback whose message says `'<definition-ref>' is not a valid discriminated union variant` (or wording that the string `'definition-ref'` is “not valid” for a discriminated union).
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
38
pydantic__pydantic-6282
pydantic/pydantic
0809a4e26922
### Direct call to `object.__delattr__` bypasses superclass logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a method responsible for deleting attributes (e.g. a custom `__delattr__`‐style helper) that must cooperate with its class hierarchy. - **Detection procedure**: 1. Read the named s...
Direct call to `object.__delattr__` bypasses superclass logic
### Direct call to `object.__delattr__` bypasses superclass logic - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names a method responsible for deleting attributes (e.g. a custom `__delattr__`‐style helper) that must cooperate with its class hierarchy. - **Detection procedure**: 1. Read the named s...
Direct call to `object.__delattr__` bypasses superclass logic -- the task statement names a method responsible for deleting attributes (e.g. a custom `__delattr__`‐style helper) that must cooperate with its class hierarchy.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
39
pydantic__pydantic-5897
pydantic/pydantic
708757e107f2
### Unnecessary global changes when only one function is named - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names exactly one concrete function/class/option as the element that must be fixed or extended. - **Detection procedure**: 1. Read the single symbol name from the task. 2. In the patch, iso...
Unnecessary global changes when only one function is named
### Unnecessary global changes when only one function is named - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement names exactly one concrete function/class/option as the element that must be fixed or extended. - **Detection procedure**: 1. Read the single symbol name from the task. 2. In the patch, iso...
Unnecessary global changes when only one function is named -- the task statement names exactly one concrete function/class/option as the element that must be fixed or extended.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
40
bokeh__bokeh-13800
bokeh/bokeh
bd2bdaefee1f
### Change is required inside the reported function/class itself, not just where it is called - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly identifies a single function, method, class or similar symbol as the location of the bug (e.g. “Fix `foo_bar()` so that …”). - **Detection procedur...
Change is required inside the reported function/class itself, not just where it is called
### Change is required inside the reported function/class itself, not just where it is called - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement explicitly identifies a single function, method, class or similar symbol as the location of the bug (e.g. “Fix `foo_bar()` so that …”). - **Detection procedur...
Change is required inside the reported function/class itself, not just where it is called -- The task statement explicitly identifies a single function, method, class or similar symbol as the location of the bug (e.g. “Fix `foo_bar()` so that …”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
41
modin-project__modin-6560
modin-project/modin
f43629cc9d1a
### Unscoped replacement of standard behaviour by a new helper - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement identifies a specific function/class that misbehaves only in a special runtime context (e.g., “under multiprocessing”, “when serialising across processes”) and asks for a fix in that symbol...
Unscoped replacement of standard behaviour by a new helper
### Unscoped replacement of standard behaviour by a new helper - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement identifies a specific function/class that misbehaves only in a special runtime context (e.g., “under multiprocessing”, “when serialising across processes”) and asks for a fix in that symbol...
Unscoped replacement of standard behaviour by a new helper -- the task statement identifies a specific function/class that misbehaves only in a special runtime context (e.g., “under multiprocessing”, “when serialising across processes”) and asks for a fix in that symbol.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
42
dask__dask-6660
dask/dask
3600f4902455
### Ignore-the-topmost-traceback-frame - **Artifact**: TRACEBACK - **Applies when**: The task statement contains a Python traceback that ends with an exception raised inside a specific source file and function (the deepest frame). - **Detection procedure**: 1. Read the traceback from the task and record the path/fi...
Ignore-the-topmost-traceback-frame
### Ignore-the-topmost-traceback-frame - **Artifact**: TRACEBACK - **Applies when**: The task statement contains a Python traceback that ends with an exception raised inside a specific source file and function (the deepest frame). - **Detection procedure**: 1. Read the traceback from the task and record the path/fi...
Ignore-the-topmost-traceback-frame -- The task statement contains a Python traceback that ends with an exception raised inside a specific source file and function (the deepest frame).
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
43
python__mypy-14021
python/mypy
b1d6d3b8cba9
### Changing a public function’s default argument instead of fixing its logic - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement points to a misbehaving public function or its parameter but does not explicitly instruct to change that parameter’s default value. - **Detection procedure**: 1. Read the ...
Changing a public function’s default argument instead of fixing its logic
### Changing a public function’s default argument instead of fixing its logic - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement points to a misbehaving public function or its parameter but does not explicitly instruct to change that parameter’s default value. - **Detection procedure**: 1. Read the ...
Changing a public function’s default argument instead of fixing its logic -- The task statement points to a misbehaving public function or its parameter but does not explicitly instruct to change that parameter’s default value.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
44
conan-io__conan-11330
conan-io/conan
ad63307a3d4a
### Avoid re-implementing a configuration check that already has a helper - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement tells you to “use”, “respect”, “honour”, or “fix” behaviour guarded by a particular helper/utility symbol (for example *should_report_X*, *is_config_enabled*, etc.). - **Detectio...
Avoid re-implementing a configuration check that already has a helper
### Avoid re-implementing a configuration check that already has a helper - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement tells you to “use”, “respect”, “honour”, or “fix” behaviour guarded by a particular helper/utility symbol (for example *should_report_X*, *is_config_enabled*, etc.). - **Detectio...
Avoid re-implementing a configuration check that already has a helper -- The task statement tells you to “use”, “respect”, “honour”, or “fix” behaviour guarded by a particular helper/utility symbol (for example *should_report_X*, *is_config_enabled*, etc.).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
45
python__mypy-11361
python/mypy
a38730db0aa3
### Equality-narrowing code only recognises “type(x)” on the left side - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that comparisons of the form `type(var) == SomeClass` (or the symmetric `SomeClass == type(var)`) are not narrowed correctly, so the symbol “type” appears as the focus of the f...
Equality-narrowing code only recognises “type(x)” on the left side
### Equality-narrowing code only recognises “type(x)” on the left side - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that comparisons of the form `type(var) == SomeClass` (or the symmetric `SomeClass == type(var)`) are not narrowed correctly, so the symbol “type” appears as the focus of the f...
Equality-narrowing code only recognises “type(x)” on the left side -- the task statement says that comparisons of the form `type(var) == SomeClass` (or the symmetric `SomeClass == type(var)`) are not narrowed correctly, so the symbol “type” appears as the focus of the fix.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
46
python__mypy-10284
python/mypy
3dd11bb5e216
### Accessing an attribute that the class never defines - **Artifact**: TRACEBACK - **Applies when**: The traceback reports `AttributeError` or `NameError` complaining that an object lacks a given attribute/variable, and the indicated frame/line is within code modified by the proposed patch. - **Detection procedure**: ...
Accessing an attribute that the class never defines
### Accessing an attribute that the class never defines - **Artifact**: TRACEBACK - **Applies when**: The traceback reports `AttributeError` or `NameError` complaining that an object lacks a given attribute/variable, and the indicated frame/line is within code modified by the proposed patch. - **Detection procedure**: ...
Accessing an attribute that the class never defines -- The traceback reports `AttributeError` or `NameError` complaining that an object lacks a given attribute/variable, and the indicated frame/line is within code modified by the proposed patch.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
47
python__mypy-15139
python/mypy
45db8c07a112
### Guarding against out-of-range access instead of fixing list construction - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with “IndexError: list index out of range” (or “IndexError: … out of range”) at a line that indexes into a list/array using a loop or function argument `i` (or a...
Guarding against out-of-range access instead of fixing list construction
### Guarding against out-of-range access instead of fixing list construction - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with “IndexError: list index out of range” (or “IndexError: … out of range”) at a line that indexes into a list/array using a loop or function argument `i` (or a...
Guarding against out-of-range access instead of fixing list construction -- the task statement’s traceback ends with “IndexError: list index out of range” (or “IndexError: … out of range”) at a line that indexes into a list/array using a loop or function argument `i` (or any iterator variable).
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
48
dask__dask-6911
dask/dask
f8c28e9614fb
### Implementation left unchanged inside the function the task names - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that a specific function / method / class must change (e.g., “add support for X in `foo_bar`”) and gives that symbol’s exact name. - **Detection procedure**: 1. Read the symbol n...
Implementation left unchanged inside the function the task names
### Implementation left unchanged inside the function the task names - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement says that a specific function / method / class must change (e.g., “add support for X in `foo_bar`”) and gives that symbol’s exact name. - **Detection procedure**: 1. Read the symbol n...
Implementation left unchanged inside the function the task names -- the task statement says that a specific function / method / class must change (e.g., “add support for X in `foo_bar`”) and gives that symbol’s exact name.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
49
facebookresearch__hydra-921
facebookresearch/hydra
221fd625ef1d
### Missed interpolation: variable only gated by condition but never emitted - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a variable/attribute that must appear in the generated output (e.g., “add `<named_symbol>` to the emitted list/template”). - **Detection procedure**: 1. Read the nam...
Missed interpolation: variable only gated by condition but never emitted
### Missed interpolation: variable only gated by condition but never emitted - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a variable/attribute that must appear in the generated output (e.g., “add `<named_symbol>` to the emitted list/template”). - **Detection procedure**: 1. Read the nam...
Missed interpolation: variable only gated by condition but never emitted -- The task statement names a variable/attribute that must appear in the generated output (e.g., “add `<named_symbol>` to the emitted list/template”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
50
conan-io__conan-10686
conan-io/conan
cf15ecebf73e
### New optional flag must default to the legacy behaviour, not be auto-enabled - **Artifact**: NAMED_SYMBOL - **Applies when**: the task introduces a new configuration/feature flag that is described as “optional”, “toggle”, “can be enabled”, “aggregate when set”, or similar. - **Detection procedure**: 1. Read the f...
New optional flag must default to the legacy behaviour, not be auto-enabled
### New optional flag must default to the legacy behaviour, not be auto-enabled - **Artifact**: NAMED_SYMBOL - **Applies when**: the task introduces a new configuration/feature flag that is described as “optional”, “toggle”, “can be enabled”, “aggregate when set”, or similar. - **Detection procedure**: 1. Read the f...
New optional flag must default to the legacy behaviour, not be auto-enabled -- the task introduces a new configuration/feature flag that is described as “optional”, “toggle”, “can be enabled”, “aggregate when set”, or similar.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
51
conan-io__conan-11655
conan-io/conan
2a50936cab02
### Missing cached-metadata entry removed from builder but still accessed later - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback ends with `KeyError: '<literal_key>'` (or a similar missing-key message) raised inside a method that tries to fetch that literal from an internal dictionary created earlier ...
Missing cached-metadata entry removed from builder but still accessed later
### Missing cached-metadata entry removed from builder but still accessed later - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback ends with `KeyError: '<literal_key>'` (or a similar missing-key message) raised inside a method that tries to fetch that literal from an internal dictionary created earlier ...
Missing cached-metadata entry removed from builder but still accessed later -- the task’s traceback ends with `KeyError: '<literal_key>'` (or a similar missing-key message) raised inside a method that tries to fetch that literal from an internal dictionary created earlier in the same class/module.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
52
dask__dask-6815
dask/dask
59386bbfdbf5
### Rejecting legitimate non-dict inputs by leaving or adding a “must be a Dict[…]” check - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes an error string that says an input “must be a Dictionary / Dict…” (or similar) and explains that this strict check is the bug that must be removed or re...
Rejecting legitimate non-dict inputs by leaving or adding a “must be a Dict[…]” check
### Rejecting legitimate non-dict inputs by leaving or adding a “must be a Dict[…]” check - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes an error string that says an input “must be a Dictionary / Dict…” (or similar) and explains that this strict check is the bug that must be removed or re...
Rejecting legitimate non-dict inputs by leaving or adding a “must be a Dict[…]” check -- The task statement quotes an error string that says an input “must be a Dictionary / Dict…” (or similar) and explains that this strict check is the bug that must be removed or relaxed.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
53
facebookresearch__hydra-1725
facebookresearch/hydra
a02b39336fc7
### Function call adds a new keyword that the callee’s signature still lacks - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback ends with “TypeError: <func>() got an unexpected keyword argument '<kw>'” (or the positional equivalent) naming some function <func> and keyword <kw>. - **Detection procedure**...
Function call adds a new keyword that the callee’s signature still lacks
### Function call adds a new keyword that the callee’s signature still lacks - **Artifact**: TRACEBACK - **Applies when**: The task’s traceback ends with “TypeError: <func>() got an unexpected keyword argument '<kw>'” (or the positional equivalent) naming some function <func> and keyword <kw>. - **Detection procedure**...
Function call adds a new keyword that the callee’s signature still lacks -- The task’s traceback ends with “TypeError: <func>() got an unexpected keyword argument '<kw>'” (or the positional equivalent) naming some function <func> and keyword <kw>.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
54
facebookresearch__hydra-1905
facebookresearch/hydra
174d94c3ab12
### Off-target patch when traceback points elsewhere - **Artifact**: TRACEBACK - **Applies when**: the task statement shows a traceback whose first project-internal frame names a concrete file :line inside the codebase. - **Detection procedure**: 1. Read that file path and line/function from the first project frame...
Off-target patch when traceback points elsewhere
### Off-target patch when traceback points elsewhere - **Artifact**: TRACEBACK - **Applies when**: the task statement shows a traceback whose first project-internal frame names a concrete file :line inside the codebase. - **Detection procedure**: 1. Read that file path and line/function from the first project frame...
Off-target patch when traceback points elsewhere -- the task statement shows a traceback whose first project-internal frame names a concrete file :line inside the codebase.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
55
facebookresearch__hydra-1661
facebookresearch/hydra
b4e125bfa7ce
### Fast-path keeps ignoring the user-supplied <symbol> - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular argument/option (named symbol) supplied by the user is “not respected”, “ignored”, or “has no effect”. - **Detection procedure**: 1. Read the argument name from the task ...
Fast-path keeps ignoring the user-supplied <symbol>
### Fast-path keeps ignoring the user-supplied <symbol> - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a particular argument/option (named symbol) supplied by the user is “not respected”, “ignored”, or “has no effect”. - **Detection procedure**: 1. Read the argument name from the task ...
Fast-path keeps ignoring the user-supplied <symbol> -- The task statement says that a particular argument/option (named symbol) supplied by the user is “not respected”, “ignored”, or “has no effect”.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
56
dask__dask-6978
dask/dask
fcb38a8d1858
### Public API left unchanged while helpers are edited - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/class (the public entry point) whose behaviour is wrong and must be fixed. - **Detection procedure**: 1. Read the NAMED_SYMBOL from the task. 2. In the diff, locate the hun...
Public API left unchanged while helpers are edited
### Public API left unchanged while helpers are edited - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/class (the public entry point) whose behaviour is wrong and must be fixed. - **Detection procedure**: 1. Read the NAMED_SYMBOL from the task. 2. In the diff, locate the hun...
Public API left unchanged while helpers are edited -- The task statement names a function/class (the public entry point) whose behaviour is wrong and must be fixed.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
57
dask__dask-9349
dask/dask
85ae091a658a
### Union-deduplication expected when output shows repeated identical members - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected/actual type string contains a `Union[...]` where the same simple type (same textual name) appears more than once, e.g. `Union[int, int, int]`. - **Detection procedure**: ...
Union-deduplication expected when output shows repeated identical members
### Union-deduplication expected when output shows repeated identical members - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected/actual type string contains a `Union[...]` where the same simple type (same textual name) appears more than once, e.g. `Union[int, int, int]`. - **Detection procedure**: ...
Union-deduplication expected when output shows repeated identical members -- the task’s expected/actual type string contains a `Union[...]` where the same simple type (same textual name) appears more than once, e.g. `Union[int, int, int]`.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
58
python__mypy-12064
python/mypy
fc1d2bc47222
### Do not reference a cleanup variable in `finally` unless it is unconditionally initialized - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with an `UnboundLocalError`, `NameError`, or `"NoneType has no attribute"` that occurs in a `finally` (or other cleanup) block of some function ...
Do not reference a cleanup variable in `finally` unless it is unconditionally initialized
### Do not reference a cleanup variable in `finally` unless it is unconditionally initialized - **Artifact**: TRACEBACK - **Applies when**: the task statement’s traceback ends with an `UnboundLocalError`, `NameError`, or `"NoneType has no attribute"` that occurs in a `finally` (or other cleanup) block of some function ...
Do not reference a cleanup variable in `finally` unless it is unconditionally initialized -- the task statement’s traceback ends with an `UnboundLocalError`, `NameError`, or `"NoneType has no attribute"` that occurs in a `finally` (or other cleanup) block of some function
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
59
facebookresearch__hydra.0f03eb60.lm_rewrite__nh2vejty
swesmith/facebookresearch__hydra.0f03eb60
4951e5baa582
### Parameter is stored in an attribute whose name belongs to a different option - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a specific parameter/option (the named symbol) is being “swapped”, “mis-assigned”, or “inverted” with another one. - **Detection procedure**: 1. Read the named s...
Parameter is stored in an attribute whose name belongs to a different option
### Parameter is stored in an attribute whose name belongs to a different option - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement says that a specific parameter/option (the named symbol) is being “swapped”, “mis-assigned”, or “inverted” with another one. - **Detection procedure**: 1. Read the named s...
Parameter is stored in an attribute whose name belongs to a different option -- The task statement says that a specific parameter/option (the named symbol) is being “swapped”, “mis-assigned”, or “inverted” with another one.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
60
pallets__click.fde47b4b.func_basic__ccb52392
swesmith/pallets__click.fde47b4b
6aa1545be841
### Guard against loosening a literal prefix check inside the target symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a specific function/method/class that must be modified and the diff touches that symbol’s body. - **Detection procedure**: 1. Read the symbol name from the task statement. ...
Guard against loosening a literal prefix check inside the target symbol
### Guard against loosening a literal prefix check inside the target symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a specific function/method/class that must be modified and the diff touches that symbol’s body. - **Detection procedure**: 1. Read the symbol name from the task statement. ...
Guard against loosening a literal prefix check inside the target symbol -- The task names a specific function/method/class that must be modified and the diff touches that symbol’s body.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
61
stanfordnlp__dspy.651a4c71.pr_7872
swesmith/stanfordnlp__dspy.651a4c71
e2bfad2498b7
### Predicate/message mismatch inside a named symbol’s input-validation guard - **Artifact**: NAMED_SYMBOL - **Applies when**: The task points to a specific function or method whose bug description says that a boolean test in that symbol is inverted (e.g. “condition is flipped”, “negation is wrong”, “checks the opposit...
Predicate/message mismatch inside a named symbol’s input-validation guard
### Predicate/message mismatch inside a named symbol’s input-validation guard - **Artifact**: NAMED_SYMBOL - **Applies when**: The task points to a specific function or method whose bug description says that a boolean test in that symbol is inverted (e.g. “condition is flipped”, “negation is wrong”, “checks the opposit...
Predicate/message mismatch inside a named symbol’s input-validation guard -- The task points to a specific function or method whose bug description says that a boolean test in that symbol is inverted (e.g. “condition is flipped”, “negation is wrong”, “checks the opposite of what it should”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
62
Cog-Creators__Red-DiscordBot.33e0eac7.combine_file__eq2t7cw0
swesmith/Cog-Creators__Red-DiscordBot.33e0eac7
df7707a853de
### Underlying-error branch still assigns generic status text instead of the wrapped error’s message - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/placeholder that should expose the message of a wrapped (inner) error instead of a generic HTTP/OS status text. - **Detection procedur...
Underlying-error branch still assigns generic status text instead of the wrapped error’s message
### Underlying-error branch still assigns generic status text instead of the wrapped error’s message - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/placeholder that should expose the message of a wrapped (inner) error instead of a generic HTTP/OS status text. - **Detection procedur...
Underlying-error branch still assigns generic status text instead of the wrapped error’s message -- The task statement names a function/placeholder that should expose the message of a wrapped (inner) error instead of a generic HTTP/OS status text.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
63
caddyserver__caddy.77dd12cc.func_pm_ctrl_invert_if__ezdzt5lu
swesmith/caddyserver__caddy.77dd12cc
a574c64d09ca
### Changing a range or default mapping when the task only calls for specific character fixes - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected-output lines list a handful of concrete input characters together with the single value each must normalize to. - **Detection procedure**: 1. Read those i...
Changing a range or default mapping when the task only calls for specific character fixes
### Changing a range or default mapping when the task only calls for specific character fixes - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected-output lines list a handful of concrete input characters together with the single value each must normalize to. - **Detection procedure**: 1. Read those i...
Changing a range or default mapping when the task only calls for specific character fixes -- The task’s expected-output lines list a handful of concrete input characters together with the single value each must normalize to.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
64
Mimino666__langdetect.a1598f1a.func_basic__s4s0fk2j
swesmith/Mimino666__langdetect.a1598f1a
686e7ed31f79
### Variable referenced before assignment after diff re-ordering - **Artifact**: TRACEBACK - **Applies when**: the task traceback ends with “UnboundLocalError: local variable '<name>' referenced before assignment” and names a specific function. - **Detection procedure**: 1. Read the traceback: record the variable n...
Variable referenced before assignment after diff re-ordering
### Variable referenced before assignment after diff re-ordering - **Artifact**: TRACEBACK - **Applies when**: the task traceback ends with “UnboundLocalError: local variable '<name>' referenced before assignment” and names a specific function. - **Detection procedure**: 1. Read the traceback: record the variable n...
Variable referenced before assignment after diff re-ordering -- the task traceback ends with “UnboundLocalError: local variable '<name>' referenced before assignment” and names a specific function.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
65
life4__textdistance.c3aca916.combine_file__hxml8xjz
swesmith/life4__textdistance.c3aca916
0e5d23236678
### Async/sync branch negated inside decorator - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a decorator/utility that must wrap both async and sync callables (e.g. “requires”, “route”, etc.). - **Detection procedure**: 1. Read the symbol name from the task statement. 2. In the diff, open the fun...
Async/sync branch negated inside decorator
### Async/sync branch negated inside decorator - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a decorator/utility that must wrap both async and sync callables (e.g. “requires”, “route”, etc.). - **Detection procedure**: 1. Read the symbol name from the task statement. 2. In the diff, open the fun...
Async/sync branch negated inside decorator -- The task names a decorator/utility that must wrap both async and sync callables (e.g. “requires”, “route”, etc.).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
66
encode__starlette.db5063c2.combine_file__65qdqflw
swesmith/encode__starlette.db5063c2
aa42174aef94
### Re-building a new buffer instead of extending the one already used - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task describes missing or truncated text in a composed string/byte output and names the function responsible for producing that output. - **Detection procedure**: 1. Read the expected output fr...
Re-building a new buffer instead of extending the one already used
### Re-building a new buffer instead of extending the one already used - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task describes missing or truncated text in a composed string/byte output and names the function responsible for producing that output. - **Detection procedure**: 1. Read the expected output fr...
Re-building a new buffer instead of extending the one already used -- The task describes missing or truncated text in a composed string/byte output and names the function responsible for producing that output.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
67
gosuri__uiprogress.484b9f69.func_pm_remove_loop__2a35mll4
swesmith/gosuri__uiprogress.484b9f69
1d5084b31be5
### Preserving required error-message literals when patching logic - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes a specific error/return string that current code must keep producing. - **Detection procedure**: 1. Read the quoted EXPECTED_OUTPUT from the task. 2. Search the diff for that ...
Preserving required error-message literals when patching logic
### Preserving required error-message literals when patching logic - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes a specific error/return string that current code must keep producing. - **Detection procedure**: 1. Read the quoted EXPECTED_OUTPUT from the task. 2. Search the diff for that ...
Preserving required error-message literals when patching logic -- The task statement quotes a specific error/return string that current code must keep producing.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
68
stanfordnlp__dspy.651a4c71.func_pm_remove_cond__e4m44910
swesmith/stanfordnlp__dspy.651a4c71
2424beede906
### Deleting or altering a literal string that the expected output must contain - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes a specific, static line or fragment that must appear in the program’s output. - **Detection procedure**: 1. Read the quoted literal string from the EXPECTED_OUTPU...
Deleting or altering a literal string that the expected output must contain
### Deleting or altering a literal string that the expected output must contain - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes a specific, static line or fragment that must appear in the program’s output. - **Detection procedure**: 1. Read the quoted literal string from the EXPECTED_OUTPU...
Deleting or altering a literal string that the expected output must contain -- The task statement quotes a specific, static line or fragment that must appear in the program’s output.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
69
pndurette__gTTS.dbcda4f3.lm_rewrite__qntwt52k
swesmith/pndurette__gTTS.dbcda4f3
91b39379a736
### Do not delete or alter the branch that raises the quoted error message - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes an expected exception/message string that should still be produced by the code. - **Detection procedure**: 1. Read the quoted expected-output string from the task....
Do not delete or alter the branch that raises the quoted error message
### Do not delete or alter the branch that raises the quoted error message - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement quotes an expected exception/message string that should still be produced by the code. - **Detection procedure**: 1. Read the quoted expected-output string from the task....
Do not delete or alter the branch that raises the quoted error message -- The task statement quotes an expected exception/message string that should still be produced by the code.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
70
iterative__dvc.1d6ea681.combine_module__z8tt7kuu
swesmith/iterative__dvc.1d6ea681
9a0d95fe875a
### Inverted boundary-check comparison in function named by the traceback - **Artifact**: TRACEBACK - **Applies when**: The traceback points at a function/line that raises an out-of-bounds, overflow, or “unexpected end” style error produced by a length/offset comparison. - **Detection procedure**: 1. Read the funct...
Inverted boundary-check comparison in function named by the traceback
### Inverted boundary-check comparison in function named by the traceback - **Artifact**: TRACEBACK - **Applies when**: The traceback points at a function/line that raises an out-of-bounds, overflow, or “unexpected end” style error produced by a length/offset comparison. - **Detection procedure**: 1. Read the funct...
Inverted boundary-check comparison in function named by the traceback -- The traceback points at a function/line that raises an out-of-bounds, overflow, or “unexpected end” style error produced by a length/offset comparison.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
71
arp242__goatcounter.854b1dd2.func_pm_flip_operators__gkr4nzip
swesmith/arp242__goatcounter.854b1dd2
0520cfa63ecb
### Allocated-but-not-filled collection returned by the named function - **Artifact**: NAMED_SYMBOL - **Applies when**: the task says that the named function/method returns a slice/list/array/map whose length is correct but whose elements are empty or zero-valued. - **Detection procedure**: 1. Read the symbol name ...
Allocated-but-not-filled collection returned by the named function
### Allocated-but-not-filled collection returned by the named function - **Artifact**: NAMED_SYMBOL - **Applies when**: the task says that the named function/method returns a slice/list/array/map whose length is correct but whose elements are empty or zero-valued. - **Detection procedure**: 1. Read the symbol name ...
Allocated-but-not-filled collection returned by the named function -- the task says that the named function/method returns a slice/list/array/map whose length is correct but whose elements are empty or zero-valued.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
72
ariga__atlas.1afaaba2.func_pm_remove_loop__aictl7q3
swesmith/ariga__atlas.1afaaba2
7c1f53a48aa2
### Early-return added before the loop that populates the result leaves the output empty - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected/actual output snippet shows an otherwise correct top-level structure whose inner collection is empty or missing (e.g. `"paths": {}` when entries are expected)....
Early-return added before the loop that populates the result leaves the output empty
### Early-return added before the loop that populates the result leaves the output empty - **Artifact**: EXPECTED_OUTPUT - **Applies when**: the task’s expected/actual output snippet shows an otherwise correct top-level structure whose inner collection is empty or missing (e.g. `"paths": {}` when entries are expected)....
Early-return added before the loop that populates the result leaves the output empty -- the task’s expected/actual output snippet shows an otherwise correct top-level structure whose inner collection is empty or missing (e.g. `"paths": {}` when entries are expected).
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
73
encode__starlette.db5063c2.combine_file__whz9mirt
swesmith/encode__starlette.db5063c2
9cd79430df5c
### Avoid off-by-one under-allocation when curing an “index out of range” panic - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback contains an “index out of range” (or equivalent bounds) message and names a line that assigns to or reads from a fixed-length slice/array. - **Detection procedure**: 1. R...
Avoid off-by-one under-allocation when curing an “index out of range” panic
### Avoid off-by-one under-allocation when curing an “index out of range” panic - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback contains an “index out of range” (or equivalent bounds) message and names a line that assigns to or reads from a fixed-length slice/array. - **Detection procedure**: 1. R...
Avoid off-by-one under-allocation when curing an “index out of range” panic -- the task’s traceback contains an “index out of range” (or equivalent bounds) message and names a line that assigns to or reads from a fixed-length slice/array.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
74
c-bata__go-prompt.82a91227.func_pm_flip_operators__diyoh86p
swesmith/c-bata__go-prompt.82a91227
b9e61f4205f4
### Heuristic score inverted or degraded inside an analyse/guess function - **Artifact**: NAMED_SYMBOL - **Applies when**: the task names a specific function whose job is to return a numeric confidence/score for file-type or feature detection (e.g. “analyse_text”, “guess”, “probe”). - **Detection procedure**: 1. Rea...
Heuristic score inverted or degraded inside an analyse/guess function
### Heuristic score inverted or degraded inside an analyse/guess function - **Artifact**: NAMED_SYMBOL - **Applies when**: the task names a specific function whose job is to return a numeric confidence/score for file-type or feature detection (e.g. “analyse_text”, “guess”, “probe”). - **Detection procedure**: 1. Rea...
Heuristic score inverted or degraded inside an analyse/guess function -- the task names a specific function whose job is to return a numeric confidence/score for file-type or feature detection (e.g. “analyse_text”, “guess”, “probe”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
75
pygments__pygments.27649ebb.combine_file__u677ucca
swesmith/pygments__pygments.27649ebb
650260b94b50
### Parser branch/early-return added that handles first listed variant but bypasses other variants - **Artifact**: VARIANTS - **Applies when**: The task statement enumerates two or more distinct input or pattern variants that must all be parsed/handled correctly (e.g., “simple parameter” and “regexp parameter”). - **De...
Parser branch/early-return added that handles first listed variant but bypasses other variants
### Parser branch/early-return added that handles first listed variant but bypasses other variants - **Artifact**: VARIANTS - **Applies when**: The task statement enumerates two or more distinct input or pattern variants that must all be parsed/handled correctly (e.g., “simple parameter” and “regexp parameter”). - **De...
Parser branch/early-return added that handles first listed variant but bypasses other variants -- The task statement enumerates two or more distinct input or pattern variants that must all be parsed/handled correctly (e.g., “simple parameter” and “regexp parameter”).
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
76
go-chi__chi.23c395f8.lm_rewrite__2t0gd23x
swesmith/go-chi__chi.23c395f8
9cc7e6c4c34d
### Avoid deleting other definitions when editing the targeted symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names one specific function/class/option that must be fixed or modified. - **Detection procedure**: 1. Read the named symbol from the task statement (e.g., “fix `foo()`”). 2. In the di...
Avoid deleting other definitions when editing the targeted symbol
### Avoid deleting other definitions when editing the targeted symbol - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names one specific function/class/option that must be fixed or modified. - **Detection procedure**: 1. Read the named symbol from the task statement (e.g., “fix `foo()`”). 2. In the di...
Avoid deleting other definitions when editing the targeted symbol -- The task names one specific function/class/option that must be fixed or modified.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
77
conan-io__conan.86f29e13.combine_module__71x6eoem
swesmith/conan-io__conan.86f29e13
c92dc91e3e56
### Guard inversion that leaves branch behaviour unchanged - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/method whose problem is described as “the condition is inverted” or similar wording. - **Detection procedure**: 1. Read the symbol name from the task. 2. In the diff, open the ...
Guard inversion that leaves branch behaviour unchanged
### Guard inversion that leaves branch behaviour unchanged - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a function/method whose problem is described as “the condition is inverted” or similar wording. - **Detection procedure**: 1. Read the symbol name from the task. 2. In the diff, open the ...
Guard inversion that leaves branch behaviour unchanged -- The task statement names a function/method whose problem is described as “the condition is inverted” or similar wording.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
78
oauthlib__oauthlib.1fd52536.combine_file__r97sd6ry
swesmith/oauthlib__oauthlib.1fd52536
4841ef31bc24
### Added isinstance branch shadows an existing one in the dispatcher - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a single “dispatcher” function (a long if/elif chain that chooses how to process different input types). - **Detection procedure**: 1. Read the function name from the task ...
Added isinstance branch shadows an existing one in the dispatcher
### Added isinstance branch shadows an existing one in the dispatcher - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names a single “dispatcher” function (a long if/elif chain that chooses how to process different input types). - **Detection procedure**: 1. Read the function name from the task ...
Added isinstance branch shadows an existing one in the dispatcher -- The task statement names a single “dispatcher” function (a long if/elif chain that chooses how to process different input types).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
79
seperman__deepdiff.ed252022.pr_467
swesmith/seperman__deepdiff.ed252022
025c87ab5bf8
### Validation guard must be refined, not erased, when an exception message in task is flagged as wrong - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s statement quotes an exception message that is said to be raised in error and needs to stop occurring. - **Detection procedure**: 1. Read the quoted e...
Validation guard must be refined, not erased, when an exception message in task is flagged as wrong
### Validation guard must be refined, not erased, when an exception message in task is flagged as wrong - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s statement quotes an exception message that is said to be raised in error and needs to stop occurring. - **Detection procedure**: 1. Read the quoted e...
Validation guard must be refined, not erased, when an exception message in task is flagged as wrong -- The task’s statement quotes an exception message that is said to be raised in error and needs to stop occurring.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
80
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__h0nrbrhl
swesmith/tornadoweb__tornado.d5ac65c1
a6524afb6fca
### Premature rewrite of a parsed-token variable that later code still inspects in its original form - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a variable, parameter or field that represents a parsed token/operator and the fix touches that symbol inside one function/method. - **Detection procedure*...
Premature rewrite of a parsed-token variable that later code still inspects in its original form
### Premature rewrite of a parsed-token variable that later code still inspects in its original form - **Artifact**: NAMED_SYMBOL - **Applies when**: The task names a variable, parameter or field that represents a parsed token/operator and the fix touches that symbol inside one function/method. - **Detection procedure*...
Premature rewrite of a parsed-token variable that later code still inspects in its original form -- The task names a variable, parameter or field that represents a parsed token/operator and the fix touches that symbol inside one function/method.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
81
facelessuser__soupsieve.a8080d97.func_pm_remove_cond__0nmyui1x
swesmith/facelessuser__soupsieve.a8080d97
cde1c2aeeef9
### Avoid collateral edits when fixing swapped-parameter bugs - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names one or more particular parameters (or arguments) that are “swapped”, “mixed up”, “in the wrong order”, etc. in a specific function or method that must be corrected. - **Detection proce...
Avoid collateral edits when fixing swapped-parameter bugs
### Avoid collateral edits when fixing swapped-parameter bugs - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement names one or more particular parameters (or arguments) that are “swapped”, “mixed up”, “in the wrong order”, etc. in a specific function or method that must be corrected. - **Detection proce...
Avoid collateral edits when fixing swapped-parameter bugs -- The task statement names one or more particular parameters (or arguments) that are “swapped”, “mixed up”, “in the wrong order”, etc. in a specific function or method that must be corrected.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
82
seperman__deepdiff.ed252022.combine_file__re490iz4
swesmith/seperman__deepdiff.ed252022
3b2f1be295b2
### Directory-serving HTTP handler must still look for default index files - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected‐output fragment shows that requesting “/” (or another directory URL) should return success/content (e.g., status 200 or the HTML of an index page), but the actual output is ...
Directory-serving HTTP handler must still look for default index files
### Directory-serving HTTP handler must still look for default index files - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task’s expected‐output fragment shows that requesting “/” (or another directory URL) should return success/content (e.g., status 200 or the HTML of an index page), but the actual output is ...
Directory-serving HTTP handler must still look for default index files -- The task’s expected‐output fragment shows that requesting “/” (or another directory URL) should return success/content (e.g., status 200 or the HTML of an index page), but the actual output is a 404/“file not found”.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
83
getnikola__nikola.0f4c230e.combine_module__9orpwwxc
swesmith/getnikola__nikola.0f4c230e
fd456aa77d5b
### Unconstrained `Type`/`type` annotations must exit the checker immediately - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement points to a bug in a specific class-checking function (e.g. “`check_class` fails …”). - **Detection procedure**: 1. Read the named symbol from the task statement. 2. ...
Unconstrained `Type`/`type` annotations must exit the checker immediately
### Unconstrained `Type`/`type` annotations must exit the checker immediately - **Artifact**: NAMED_SYMBOL - **Applies when**: the task statement points to a bug in a specific class-checking function (e.g. “`check_class` fails …”). - **Detection procedure**: 1. Read the named symbol from the task statement. 2. ...
Unconstrained `Type`/`type` annotations must exit the checker immediately -- the task statement points to a bug in a specific class-checking function (e.g. “`check_class` fails …”).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
84
agronholm__typeguard.b6a7e438.lm_rewrite__4igsgfuj
swesmith/agronholm__typeguard.b6a7e438
9dab4873963f
### Off-by-one “prev” assignment in ascending-order validation loops - **Artifact**: TRACEBACK - **Applies when**: the traceback reports an “unsorted/descending/prev > cur” panic (or similar order-violation assertion) and names the constructor/optimizer that converts a sorted collection into a run/interval container. -...
Off-by-one “prev” assignment in ascending-order validation loops
### Off-by-one “prev” assignment in ascending-order validation loops - **Artifact**: TRACEBACK - **Applies when**: the traceback reports an “unsorted/descending/prev > cur” panic (or similar order-violation assertion) and names the constructor/optimizer that converts a sorted collection into a run/interval container. -...
Off-by-one “prev” assignment in ascending-order validation loops -- the traceback reports an “unsorted/descending/prev > cur” panic (or similar order-violation assertion) and names the constructor/optimizer that converts a sorted collection into a run/interval container.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
85
RoaringBitmap__roaring.09c46a0a.func_pm_op_change__f84lb4fu
swesmith/RoaringBitmap__roaring.09c46a0a
74cc2fe308b2
### Regressing the previously-correct branch while fixing the failing variant - **Artifact**: VARIANTS - **Applies when**: The task statement enumerates two or more input/usage variants and declares that only a subset currently fails while the others already work. - **Detection procedure**: 1. Read the variants in the ...
Regressing the previously-correct branch while fixing the failing variant
### Regressing the previously-correct branch while fixing the failing variant - **Artifact**: VARIANTS - **Applies when**: The task statement enumerates two or more input/usage variants and declares that only a subset currently fails while the others already work. - **Detection procedure**: 1. Read the variants in the ...
Regressing the previously-correct branch while fixing the failing variant -- The task statement enumerates two or more input/usage variants and declares that only a subset currently fails while the others already work.
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
86
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__0aaxc9ig
swesmith/tornadoweb__tornado.d5ac65c1
4969c9275911
### Avoid touching code unrelated to the single symbol the task names - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement identifies exactly one function, method, property or class that is reported to misbehave or must be changed, and does not mention any other concrete symbol needing edits. - **Detecti...
Avoid touching code unrelated to the single symbol the task names
### Avoid touching code unrelated to the single symbol the task names - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement identifies exactly one function, method, property or class that is reported to misbehave or must be changed, and does not mention any other concrete symbol needing edits. - **Detecti...
Avoid touching code unrelated to the single symbol the task names -- The task statement identifies exactly one function, method, property or class that is reported to misbehave or must be changed, and does not mention any other concrete symbol needing edits.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
87
python-openxml__python-docx.0cf6d71f.combine_module__ex5wpduj
swesmith/python-openxml__python-docx.0cf6d71f
a429b865f84a
### Off-by-one when cutting the remainder after an “&entity;” HTML escape - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement’s expected (or actual) string shows at least one HTML entity of the form “&name;” or “&#digits;”. - **Detection procedure**: 1. Read the expected-output string(s) from the...
Off-by-one when cutting the remainder after an “&entity;” HTML escape
### Off-by-one when cutting the remainder after an “&entity;” HTML escape - **Artifact**: EXPECTED_OUTPUT - **Applies when**: The task statement’s expected (or actual) string shows at least one HTML entity of the form “&name;” or “&#digits;”. - **Detection procedure**: 1. Read the expected-output string(s) from the...
Off-by-one when cutting the remainder after an “&entity;” HTML escape -- The task statement’s expected (or actual) string shows at least one HTML entity of the form “&name;” or “&#digits;”.
task
EXPECTED_OUTPUT
lib_artifact_o3
lib_artifact_o3
88
mozilla__bleach.73871d76.combine_file__hxsp2o3x
swesmith/mozilla__bleach.73871d76
8b8f6ec3da43
### Changing only the comparison operator inside the named function without adjusting the returned operands - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement identifies one specific function (or method) whose result is wrong for some argument ordering, and the fix is expected to modify that function. ...
Changing only the comparison operator inside the named function without adjusting the returned operands
### Changing only the comparison operator inside the named function without adjusting the returned operands - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement identifies one specific function (or method) whose result is wrong for some argument ordering, and the fix is expected to modify that function. ...
Changing only the comparison operator inside the named function without adjusting the returned operands -- The task statement identifies one specific function (or method) whose result is wrong for some argument ordering, and the fix is expected to modify that function.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
89
RoaringBitmap__roaring.09c46a0a.func_pm_op_change__7347qpn1
swesmith/RoaringBitmap__roaring.09c46a0a
14a101600bd9
### Setter update must skip assignment when given a `None` value - **Artifact**: REPRODUCER - **Applies when**: The task statement provides a code snippet that assigns a new value through a specific setter/property and shows a wrong stored value, indicating the setter’s assignment logic needs correction. - **Detection ...
Setter update must skip assignment when given a `None` value
### Setter update must skip assignment when given a `None` value - **Artifact**: REPRODUCER - **Applies when**: The task statement provides a code snippet that assigns a new value through a specific setter/property and shows a wrong stored value, indicating the setter’s assignment logic needs correction. - **Detection ...
Setter update must skip assignment when given a `None` value -- The task statement provides a code snippet that assigns a new value through a specific setter/property and shows a wrong stored value, indicating the setter’s assignment logic needs correction.
task
REPRODUCER
lib_artifact_o3
lib_artifact_o3
90
python-openxml__python-docx.0cf6d71f.func_basic__9cnld7m9
swesmith/python-openxml__python-docx.0cf6d71f
4778c981aba8
### Inverted length-check causes unsafe list index access - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback ends with “IndexError: list index out of range” and names a line that accesses a constant list index (e.g. `row[2]`) inside a function. - **Detection procedure**: 1. Read from the traceback t...
Inverted length-check causes unsafe list index access
### Inverted length-check causes unsafe list index access - **Artifact**: TRACEBACK - **Applies when**: the task’s traceback ends with “IndexError: list index out of range” and names a line that accesses a constant list index (e.g. `row[2]`) inside a function. - **Detection procedure**: 1. Read from the traceback t...
Inverted length-check causes unsafe list index access -- the task’s traceback ends with “IndexError: list index out of range” and names a line that accesses a constant list index (e.g. `row[2]`) inside a function.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
91
tornadoweb__tornado.d5ac65c1.func_pm_ctrl_invert_if__fu602vyd
swesmith/tornadoweb__tornado.d5ac65c1
226b85d6bdef
### Unconditional constant affix added to a named function’s return value - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement singles out a particular function/method/class to modify or fix. - **Detection procedure**: 1. Read the symbol name from the task. 2. Locate the diff hunk(s) that alter that symb...
Unconditional constant affix added to a named function’s return value
### Unconditional constant affix added to a named function’s return value - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement singles out a particular function/method/class to modify or fix. - **Detection procedure**: 1. Read the symbol name from the task. 2. Locate the diff hunk(s) that alter that symb...
Unconditional constant affix added to a named function’s return value -- The task statement singles out a particular function/method/class to modify or fix.
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
92
pyutils__line_profiler.a646bf0f.combine_module__di8pb54a
swesmith/pyutils__line_profiler.a646bf0f
0ef687b4f94c
### Loop-index only set inside a `for` that may execute zero times - **Artifact**: TRACEBACK - **Applies when**: the traceback contains “UnboundLocalError: local variable '<var>' referenced before assignment”. - **Detection procedure**: 1. Read the variable name `<var>` and the function path from the traceback in t...
Loop-index only set inside a `for` that may execute zero times
### Loop-index only set inside a `for` that may execute zero times - **Artifact**: TRACEBACK - **Applies when**: the traceback contains “UnboundLocalError: local variable '<var>' referenced before assignment”. - **Detection procedure**: 1. Read the variable name `<var>` and the function path from the traceback in t...
Loop-index only set inside a `for` that may execute zero times -- the traceback contains “UnboundLocalError: local variable '<var>' referenced before assignment”.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
93
tkrajina__gpxpy.09fc46b3.func_pm_ctrl_shuffle__rrwfupch
swesmith/tkrajina__gpxpy.09fc46b3
9aa9d3afa047
### Call-site consistency when a helper’s public signature is changed - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement tells the contributor to change the parameters or return type of a specific function/method (the named symbol). - **Detection procedure**: 1. Read the named symbol from the task ...
Call-site consistency when a helper’s public signature is changed
### Call-site consistency when a helper’s public signature is changed - **Artifact**: NAMED_SYMBOL - **Applies when**: The task statement tells the contributor to change the parameters or return type of a specific function/method (the named symbol). - **Detection procedure**: 1. Read the named symbol from the task ...
Call-site consistency when a helper’s public signature is changed -- The task statement tells the contributor to change the parameters or return type of a specific function/method (the named symbol).
task
NAMED_SYMBOL
lib_artifact_o3
lib_artifact_o3
94
dask__dask.5f61e423.pr_10746
swesmith/dask__dask.5f61e423
941257b42dd3
### Patch must modify the function where the traceback shows the error originates - **Artifact**: TRACEBACK - **Applies when**: The task statement supplies a traceback whose deepest frame that belongs to THIS codebase (not to the standard library or an external dependency) names a specific function and line number. - *...
Patch must modify the function where the traceback shows the error originates
### Patch must modify the function where the traceback shows the error originates - **Artifact**: TRACEBACK - **Applies when**: The task statement supplies a traceback whose deepest frame that belongs to THIS codebase (not to the standard library or an external dependency) names a specific function and line number. - *...
Patch must modify the function where the traceback shows the error originates -- The task statement supplies a traceback whose deepest frame that belongs to THIS codebase (not to the standard library or an external dependency) names a specific function and line number.
task
TRACEBACK
lib_artifact_o3
lib_artifact_o3
95
modin-project__modin-6790
modin-project/modin
c621bddadfc0
### Wrong fallback passed when constructing a new literal for a negated variant - **Artifact**: VARIANTS - **Applies when**: The task lists integer literal variants that include both a value and its negation (e.g. `1` and `-1`), indicating trouble with narrowing or recognising the negative literal. - **Detection proced...
Wrong fallback passed when constructing a new literal for a negated variant
### Wrong fallback passed when constructing a new literal for a negated variant - **Artifact**: VARIANTS - **Applies when**: The task lists integer literal variants that include both a value and its negation (e.g. `1` and `-1`), indicating trouble with narrowing or recognising the negative literal. - **Detection proced...
Wrong fallback passed when constructing a new literal for a negated variant -- The task lists integer literal variants that include both a value and its negation (e.g. `1` and `-1`), indicating trouble with narrowing or recognising the negative literal.
task
VARIANTS
lib_artifact_o3
lib_artifact_o3
96
python__mypy-17256
python/mypy