rubric_id stringlengths 12 12 | text stringlengths 814 1.26k | retrieval_text stringlengths 154 324 | input_condition stringclasses 1
value | family stringclasses 1
value | source_instance_id stringlengths 15 28 | source_repo stringclasses 10
values | source_dataset stringclasses 1
value | library stringclasses 1
value | manifest_rank int64 0 180 | title stringlengths 56 190 | prompt_block stringlengths 814 1.26k | validation dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5233eaa811f | ### Always update all required ancillary files (partial fix)
- **Applies when**: Any bug-fix where the project’s contribution guide mandates companion changes such as release notes, documentation, test cases, or metadata.
- **Failure it prevents**: A fix that corrects the code but is rejected by CI or maintainers bec... | Always update all required ancillary files (partial fix) -- Any bug-fix where the project’s contribution guide mandates companion changes such as release notes, documentation, test cases, or metadata. | task | swe-rubrics-general-v2 | pandas-dev__pandas-55841 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 0 | Always update all required ancillary files (partial fix) | ### Always update all required ancillary files (partial fix)
- **Applies when**: Any bug-fix where the project’s contribution guide mandates companion changes such as release notes, documentation, test cases, or metadata.
- **Failure it prevents**: A fix that corrects the code but is rejected by CI or maintainers bec... | {
"applies": 0.217,
"viol_wrong": 0.28,
"viol_right": 0.125,
"gap": 0.155,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
06702c5c999b | ### Update all code paths and gates that implement the behavior, not just the first obvious condition (partial fix)
- **Applies when**: A fix changes validation or enforcement logic that is controlled by multiple conditionals, entry points, or configuration flags.
- **Failure it prevents**: Only adjusting one guard or ... | Update all code paths and gates that implement the behavior, not just the first obvious condition (partial fix) -- A fix changes validation or enforcement logic that is controlled by multiple conditionals, entry points, or configuration flags. | task | swe-rubrics-general-v2 | python__mypy-17276 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 1 | Update all code paths and gates that implement the behavior, not just the first obvious condition (partial fix) | ### Update all code paths and gates that implement the behavior, not just the first obvious condition (partial fix)
- **Applies when**: A fix changes validation or enforcement logic that is controlled by multiple conditionals, entry points, or configuration flags.
- **Failure it prevents**: Only adjusting one guard or ... | {
"applies": 0.317,
"viol_wrong": 0.2,
"viol_right": 0.071,
"gap": 0.129,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
77c3d9d3c910 | ### Implement the full behavior change through the entire call path, not just a local tweak (partial fix)
- **Applies when**: A fix or optimization depends on conditions that originate in one layer but must alter behavior across multiple functions or modules.
- **Failure it prevents**: Making a small, localized change ... | Implement the full behavior change through the entire call path, not just a local tweak (partial fix) -- A fix or optimization depends on conditions that originate in one layer but must alter behavior across multiple functions or modules. | task | swe-rubrics-general-v2 | iterative__dvc-1950 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 2 | Implement the full behavior change through the entire call path, not just a local tweak (partial fix) | ### Implement the full behavior change through the entire call path, not just a local tweak (partial fix)
- **Applies when**: A fix or optimization depends on conditions that originate in one layer but must alter behavior across multiple functions or modules.
- **Failure it prevents**: Making a small, localized change ... | {
"applies": 0.267,
"viol_wrong": 0.16,
"viol_right": 0.038,
"gap": 0.122,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
f266e0ca4f0e | ### Enumerate and handle every plausible edge-case input that can reach the modified code (missed edge cases)
- **Applies when**: Fixing logic that branches on input values, types, or sentinels (e.g., nulls, special constants, option flags).
- **Failure it prevents**: A patch that solves the reported example but stil... | Enumerate and handle every plausible edge-case input that can reach the modified code (missed edge cases) -- Fixing logic that branches on input values, types, or sentinels (e.g., nulls, special constants, option flags). | task | swe-rubrics-general-v2 | pandas-dev__pandas-49566 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 3 | Enumerate and handle every plausible edge-case input that can reach the modified code (missed edge cases) | ### Enumerate and handle every plausible edge-case input that can reach the modified code (missed edge cases)
- **Applies when**: Fixing logic that branches on input values, types, or sentinels (e.g., nulls, special constants, option flags).
- **Failure it prevents**: A patch that solves the reported example but stil... | {
"applies": 0.85,
"viol_wrong": 0.24,
"viol_right": 0.125,
"gap": 0.115,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
0bb81fafb53e | ### Fix the root cause instead of masking it with broad exception handling (symptom patching)
- **Applies when**: A bug manifests through an exception or incorrect value and the proposed patch merely catches the exception, silences it, or overwrites the value without changing the logic that created the error.
- **Failu... | Fix the root cause instead of masking it with broad exception handling (symptom patching) -- A bug manifests through an exception or incorrect value and the proposed patch merely catches the exception, silences it, or overwrites the value without changing the logic that created the error. | task | swe-rubrics-general-v2 | pandas-dev__pandas-52788 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 4 | Fix the root cause instead of masking it with broad exception handling (symptom patching) | ### Fix the root cause instead of masking it with broad exception handling (symptom patching)
- **Applies when**: A bug manifests through an exception or incorrect value and the proposed patch merely catches the exception, silences it, or overwrites the value without changing the logic that created the error.
- **Failu... | {
"applies": 0.8,
"viol_wrong": 0.091,
"viol_right": 0,
"gap": 0.091,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
e4a66ca5762e | ### Fix the underlying logic rather than silencing or bypassing the error (symptom patching)
- **Applies when**: A bug shows up as an exception, crash, or bad value, and the proposed patch simply catches the error or returns a default without changing the faulty computation.
- **Failure it prevents**: Hiding the immedi... | Fix the underlying logic rather than silencing or bypassing the error (symptom patching) -- A bug shows up as an exception, crash, or bad value, and the proposed patch simply catches the error or returns a default without changing the faulty computation. | task | swe-rubrics-general-v2 | iterative__dvc-6811 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 5 | Fix the underlying logic rather than silencing or bypassing the error (symptom patching) | ### Fix the underlying logic rather than silencing or bypassing the error (symptom patching)
- **Applies when**: A bug shows up as an exception, crash, or bad value, and the proposed patch simply catches the error or returns a default without changing the faulty computation.
- **Failure it prevents**: Hiding the immedi... | {
"applies": 0.783,
"viol_wrong": 0.091,
"viol_right": 0,
"gap": 0.091,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
c640c896d0e0 | ### Correct the entire faulty logic, not just the most obvious line (partial fix)
- **Applies when**: Any bug-fix that touches part of a multi-step computation or call chain.
- **Failure it prevents**: Implementing a change that improves one fragment of the flow while leaving other dependent paths unchanged, so the o... | Correct the entire faulty logic, not just the most obvious line (partial fix) -- Any bug-fix that touches part of a multi-step computation or call chain. | task | swe-rubrics-general-v2 | iterative__dvc-1950 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 6 | Correct the entire faulty logic, not just the most obvious line (partial fix) | ### Correct the entire faulty logic, not just the most obvious line (partial fix)
- **Applies when**: Any bug-fix that touches part of a multi-step computation or call chain.
- **Failure it prevents**: Implementing a change that improves one fragment of the flow while leaving other dependent paths unchanged, so the o... | {
"applies": 0.883,
"viol_wrong": 0.25,
"viol_right": 0.16,
"gap": 0.09,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
a917f22beb9e | ### Locate the fault and patch it at the nearest surface layer, not inside lower-level internals that already uphold broad invariants. (wrong location)
- **Applies when**: The visible bug stems from how higher-level Python code invokes or forwards arguments to compiled helpers or library calls.
- **Failure it prevents*... | Locate the fault and patch it at the nearest surface layer, not inside lower-level internals that already uphold broad invariants. (wrong location) -- The visible bug stems from how higher-level Python code invokes or forwards arguments to compiled helpers or library calls. | task | swe-rubrics-general-v2 | pandas-dev__pandas-51611 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 7 | Locate the fault and patch it at the nearest surface layer, not inside lower-level internals that already uphold broad invariants. (wrong location) | ### Locate the fault and patch it at the nearest surface layer, not inside lower-level internals that already uphold broad invariants. (wrong location)
- **Applies when**: The visible bug stems from how higher-level Python code invokes or forwards arguments to compiled helpers or library calls.
- **Failure it prevents*... | {
"applies": 0.233,
"viol_wrong": 0.083,
"viol_right": 0,
"gap": 0.083,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
feb920b13649 | ### Implement the fix end-to-end across all affected code paths, not just the obvious one (partial fix)
- **Applies when**: You introduce a new behavior, flag, or option that must travel from inputs through intermediate layers to where the behavior actually occurs.
- **Failure it prevents**: Only updating some branches... | Implement the fix end-to-end across all affected code paths, not just the obvious one (partial fix) -- You introduce a new behavior, flag, or option that must travel from inputs through intermediate layers to where the behavior actually occurs. | task | swe-rubrics-general-v2 | facebookresearch__hydra-1905 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 8 | Implement the fix end-to-end across all affected code paths, not just the obvious one (partial fix) | ### Implement the fix end-to-end across all affected code paths, not just the obvious one (partial fix)
- **Applies when**: You introduce a new behavior, flag, or option that must travel from inputs through intermediate layers to where the behavior actually occurs.
- **Failure it prevents**: Only updating some branches... | {
"applies": 0.217,
"viol_wrong": 0.115,
"viol_right": 0.034,
"gap": 0.081,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
a21581ce0217 | ### Complete any refactor or interface change fully before submission (partial fix)
- **Applies when**: You modify or replace imports, attributes, method signatures, or cached structures while fixing a bug.
- **Failure it prevents**: Leaving stale references or half-implemented paths that cause runtime errors or break ... | Complete any refactor or interface change fully before submission (partial fix) -- You modify or replace imports, attributes, method signatures, or cached structures while fixing a bug. | task | swe-rubrics-general-v2 | dask__dask-6815 | dask/dask | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 9 | Complete any refactor or interface change fully before submission (partial fix) | ### Complete any refactor or interface change fully before submission (partial fix)
- **Applies when**: You modify or replace imports, attributes, method signatures, or cached structures while fixing a bug.
- **Failure it prevents**: Leaving stale references or half-implemented paths that cause runtime errors or break ... | {
"applies": 0.633,
"viol_wrong": 0.08,
"viol_right": 0,
"gap": 0.08,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
f9895d9583ef | ### Localize the fix to the layer that misapplies the contract instead of modifying deeper internals (wrong location)
- **Applies when**: A bug arises from how parameters or options are interpreted or passed across layered APIs or wrappers around lower-level routines.
- **Failure it prevents**: Unnecessarily changing c... | Localize the fix to the layer that misapplies the contract instead of modifying deeper internals (wrong location) -- A bug arises from how parameters or options are interpreted or passed across layered APIs or wrappers around lower-level routines. | task | swe-rubrics-general-v2 | pandas-dev__pandas-51611 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 10 | Localize the fix to the layer that misapplies the contract instead of modifying deeper internals (wrong location) | ### Localize the fix to the layer that misapplies the contract instead of modifying deeper internals (wrong location)
- **Applies when**: A bug arises from how parameters or options are interpreted or passed across layered APIs or wrappers around lower-level routines.
- **Failure it prevents**: Unnecessarily changing c... | {
"applies": 0.317,
"viol_wrong": 0.08,
"viol_right": 0,
"gap": 0.08,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
768e0e46f8b5 | ### Fix the root cause upstream rather than guarding the crash site (symptom patching)
- **Applies when**: A low-level helper explodes because it receives an unexpected type/value, tempting a local isinstance/try-except guard at the failure line.
- **Failure it prevents**: Papering over the immediate exception with a n... | Fix the root cause upstream rather than guarding the crash site (symptom patching) -- A low-level helper explodes because it receives an unexpected type/value, tempting a local isinstance/try-except guard at the failure line. | task | swe-rubrics-general-v2 | pandas-dev__pandas-53044 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 11 | Fix the root cause upstream rather than guarding the crash site (symptom patching) | ### Fix the root cause upstream rather than guarding the crash site (symptom patching)
- **Applies when**: A low-level helper explodes because it receives an unexpected type/value, tempting a local isinstance/try-except guard at the failure line.
- **Failure it prevents**: Papering over the immediate exception with a n... | {
"applies": 0.217,
"viol_wrong": 0.08,
"viol_right": 0,
"gap": 0.08,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
bbb5ace4b69d | ### Ensure the fix covers every layer implicated by the contract, not just the outward API (partial fix)
- **Applies when**: A bug fix or small feature touches both an interface (e.g., resolver, hook, CLI flag) and underlying data/state needed to fulfill that interface.
- **Failure it prevents**: Updating an entry poin... | Ensure the fix covers every layer implicated by the contract, not just the outward API (partial fix) -- A bug fix or small feature touches both an interface (e.g., resolver, hook, CLI flag) and underlying data/state needed to fulfill that interface. | task | swe-rubrics-general-v2 | facebookresearch__hydra-614 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 12 | Ensure the fix covers every layer implicated by the contract, not just the outward API (partial fix) | ### Ensure the fix covers every layer implicated by the contract, not just the outward API (partial fix)
- **Applies when**: A bug fix or small feature touches both an interface (e.g., resolver, hook, CLI flag) and underlying data/state needed to fulfill that interface.
- **Failure it prevents**: Updating an entry poin... | {
"applies": 0.233,
"viol_wrong": 0.12,
"viol_right": 0.04,
"gap": 0.08,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
a9e10205821e | ### Implement the fix across all relevant operations and branches, preferably via shared logic (partial fix)
- **Applies when**: The bug involves enforcing a rule or invariant that must hold across multiple operation types, code paths, or entry points.
- **Failure it prevents**: Updating only one branch while leaving o... | Implement the fix across all relevant operations and branches, preferably via shared logic (partial fix) -- The bug involves enforcing a rule or invariant that must hold across multiple operation types, code paths, or entry points. | task | swe-rubrics-general-v2 | getmoto__moto-4787 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 13 | Implement the fix across all relevant operations and branches, preferably via shared logic (partial fix) | ### Implement the fix across all relevant operations and branches, preferably via shared logic (partial fix)
- **Applies when**: The bug involves enforcing a rule or invariant that must hold across multiple operation types, code paths, or entry points.
- **Failure it prevents**: Updating only one branch while leaving o... | {
"applies": 0.45,
"viol_wrong": 0.154,
"viol_right": 0.077,
"gap": 0.077,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
2d5717ef2ca1 | ### Fix the underlying logic for every variant, not just the reproducer’s narrow case (partial fix)
- **Applies when**: The faulty behavior can occur through several code branches, parameter values, or backend implementations but the issue report shows only one example.
- **Failure it prevents**: Patching only the demo... | Fix the underlying logic for every variant, not just the reproducer’s narrow case (partial fix) -- The faulty behavior can occur through several code branches, parameter values, or backend implementations but the issue report shows only one example. | task | swe-rubrics-general-v2 | modin-project__modin-6560 | modin-project/modin | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 14 | Fix the underlying logic for every variant, not just the reproducer’s narrow case (partial fix) | ### Fix the underlying logic for every variant, not just the reproducer’s narrow case (partial fix)
- **Applies when**: The faulty behavior can occur through several code branches, parameter values, or backend implementations but the issue report shows only one example.
- **Failure it prevents**: Patching only the demo... | {
"applies": 0.917,
"viol_wrong": 0.25,
"viol_right": 0.174,
"gap": 0.076,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
e209e3a7e0f2 | ### Fix the root cause where the wrong value/type is produced, not the site where it crashes (symptom patching)
- **Applies when**: A downstream error or misformatting is triggered because an upstream computation returns values with an incorrect type, shape, or semantics.
- **Failure it prevents**: Making superficial c... | Fix the root cause where the wrong value/type is produced, not the site where it crashes (symptom patching) -- A downstream error or misformatting is triggered because an upstream computation returns values with an incorrect type, shape, or semantics. | task | swe-rubrics-general-v2 | pandas-dev__pandas-52077 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 15 | Fix the root cause where the wrong value/type is produced, not the site where it crashes (symptom patching) | ### Fix the root cause where the wrong value/type is produced, not the site where it crashes (symptom patching)
- **Applies when**: A downstream error or misformatting is triggered because an upstream computation returns values with an incorrect type, shape, or semantics.
- **Failure it prevents**: Making superficial c... | {
"applies": 0.333,
"viol_wrong": 0.074,
"viol_right": 0,
"gap": 0.074,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
58489e6d9439 | ### Fix the root cause instead of loosening a failing guard or whitelisting a new type (symptom patching)
- **Applies when**: A bug manifests as a type/shape/state rejection and the proposed fix only relaxes checks, annotations, or whitelists without adapting the core logic.
- **Failure it prevents**: Silencing the imm... | Fix the root cause instead of loosening a failing guard or whitelisting a new type (symptom patching) -- A bug manifests as a type/shape/state rejection and the proposed fix only relaxes checks, annotations, or whitelists without adapting the core logic. | task | swe-rubrics-general-v2 | modin-project__modin-6560 | modin-project/modin | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 16 | Fix the root cause instead of loosening a failing guard or whitelisting a new type (symptom patching) | ### Fix the root cause instead of loosening a failing guard or whitelisting a new type (symptom patching)
- **Applies when**: A bug manifests as a type/shape/state rejection and the proposed fix only relaxes checks, annotations, or whitelists without adapting the core logic.
- **Failure it prevents**: Silencing the imm... | {
"applies": 0.233,
"viol_wrong": 0.074,
"viol_right": 0,
"gap": 0.074,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
446fb1bc69fa | ### Cover all affected code paths, not just the easiest one (partial fix)
- **Applies when**: A bug arises from logic that is executed through multiple branches or helper functions.
- **Failure it prevents**: Delivering a patch that fixes the behaviour in only one branch, leaving other call-sites or fast paths still ... | Cover all affected code paths, not just the easiest one (partial fix) -- A bug arises from logic that is executed through multiple branches or helper functions. | task | swe-rubrics-general-v2 | modin-project__modin-6608 | modin-project/modin | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 17 | Cover all affected code paths, not just the easiest one (partial fix) | ### Cover all affected code paths, not just the easiest one (partial fix)
- **Applies when**: A bug arises from logic that is executed through multiple branches or helper functions.
- **Failure it prevents**: Delivering a patch that fixes the behaviour in only one branch, leaving other call-sites or fast paths still ... | {
"applies": 0.883,
"viol_wrong": 0.2,
"viol_right": 0.13,
"gap": 0.07,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
d116d953cadb | ### Fix the root cause, not just the line that blows up (symptom patching)
- **Applies when**: Any bug manifests as an exception or wrong output in one location but originates from incorrect data produced earlier in the flow.
- **Failure it prevents**: Changing or guarding the failing print/format/assert statement whil... | Fix the root cause, not just the line that blows up (symptom patching) -- Any bug manifests as an exception or wrong output in one location but originates from incorrect data produced earlier in the flow. | task | swe-rubrics-general-v2 | pandas-dev__pandas-52077 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 18 | Fix the root cause, not just the line that blows up (symptom patching) | ### Fix the root cause, not just the line that blows up (symptom patching)
- **Applies when**: Any bug manifests as an exception or wrong output in one location but originates from incorrect data produced earlier in the flow.
- **Failure it prevents**: Changing or guarding the failing print/format/assert statement whil... | {
"applies": 0.683,
"viol_wrong": 0.2,
"viol_right": 0.13,
"gap": 0.07,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
c76acb2e291d | ### Fix the full execution path, not just the first place the symptom appears. (partial fix)
- **Applies when**: The bug originates in a multi-step call chain where several layers make related assumptions about the same value.
- **Failure it prevents**: Changing or removing an early guard lets the program reach deepe... | Fix the full execution path, not just the first place the symptom appears. (partial fix) -- The bug originates in a multi-step call chain where several layers make related assumptions about the same value. | task | swe-rubrics-general-v2 | pandas-dev__pandas-48587 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 19 | Fix the full execution path, not just the first place the symptom appears. (partial fix) | ### Fix the full execution path, not just the first place the symptom appears. (partial fix)
- **Applies when**: The bug originates in a multi-step call chain where several layers make related assumptions about the same value.
- **Failure it prevents**: Changing or removing an early guard lets the program reach deepe... | {
"applies": 0.633,
"viol_wrong": 0.182,
"viol_right": 0.115,
"gap": 0.066,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
302cdeda8d34 | ### Ensure the fix covers all realistic input variations, not only the example that reproduced the bug (partial fix)
- **Applies when**: Any bug-fix that changes logic to correct wrong results or exceptions for a specific case.
- **Failure it prevents**: A change that passes the given reproducer but still breaks or r... | Ensure the fix covers all realistic input variations, not only the example that reproduced the bug (partial fix) -- Any bug-fix that changes logic to correct wrong results or exceptions for a specific case. | task | swe-rubrics-general-v2 | pandas-dev__pandas-51777 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 20 | Ensure the fix covers all realistic input variations, not only the example that reproduced the bug (partial fix) | ### Ensure the fix covers all realistic input variations, not only the example that reproduced the bug (partial fix)
- **Applies when**: Any bug-fix that changes logic to correct wrong results or exceptions for a specific case.
- **Failure it prevents**: A change that passes the given reproducer but still breaks or r... | {
"applies": 0.967,
"viol_wrong": 0.292,
"viol_right": 0.231,
"gap": 0.061,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
c7a85bf7d467 | ### Patch the exact function or code path where the bug manifests, not a nearby or similarly named one (wrong location)
- **Applies when**: Any fix meant to alter the output or behaviour of a specific function, method, or block that is directly exercised by tests or user steps.
- **Failure it prevents**: Implementing... | Patch the exact function or code path where the bug manifests, not a nearby or similarly named one (wrong location) -- Any fix meant to alter the output or behaviour of a specific function, method, or block that is directly exercised by tests or user steps. | task | swe-rubrics-general-v2 | iterative__dvc-3315 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 21 | Patch the exact function or code path where the bug manifests, not a nearby or similarly named one (wrong location) | ### Patch the exact function or code path where the bug manifests, not a nearby or similarly named one (wrong location)
- **Applies when**: Any fix meant to alter the output or behaviour of a specific function, method, or block that is directly exercised by tests or user steps.
- **Failure it prevents**: Implementing... | {
"applies": 1,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
fd246fac8f6a | ### Pinpoint and patch the code actually executed in the failing scenario, not a tangential module (wrong location)
- **Applies when**: Any fix where several modules seem related to the symptom but only one is reached in the failing test path.
- **Failure it prevents**: Editing a file that never runs during the faili... | Pinpoint and patch the code actually executed in the failing scenario, not a tangential module (wrong location) -- Any fix where several modules seem related to the symptom but only one is reached in the failing test path. | task | swe-rubrics-general-v2 | facebookresearch__hydra-1661 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 22 | Pinpoint and patch the code actually executed in the failing scenario, not a tangential module (wrong location) | ### Pinpoint and patch the code actually executed in the failing scenario, not a tangential module (wrong location)
- **Applies when**: Any fix where several modules seem related to the symptom but only one is reached in the failing test path.
- **Failure it prevents**: Editing a file that never runs during the faili... | {
"applies": 0.967,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
d47af530ef7b | ### Pinpoint and patch the exact code path that triggers the failure, not peripheral helpers (wrong location)
- **Applies when**: A bug is exposed through a specific function, branch, or call site that misbehaves in normal use.
- **Failure it prevents**: Fixing secondary or unrelated utilities while the original faulty... | Pinpoint and patch the exact code path that triggers the failure, not peripheral helpers (wrong location) -- A bug is exposed through a specific function, branch, or call site that misbehaves in normal use. | task | swe-rubrics-general-v2 | dask__dask-9349 | dask/dask | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 23 | Pinpoint and patch the exact code path that triggers the failure, not peripheral helpers (wrong location) | ### Pinpoint and patch the exact code path that triggers the failure, not peripheral helpers (wrong location)
- **Applies when**: A bug is exposed through a specific function, branch, or call site that misbehaves in normal use.
- **Failure it prevents**: Fixing secondary or unrelated utilities while the original faulty... | {
"applies": 0.967,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
a4660c41d3b0 | ### Always patch the root cause, not a downstream caller (wrong location)
- **Applies when**: Any bug where multiple helper functions or layers contribute to the final result.
- **Failure it prevents**: Changing a peripheral function while the real defect remains elsewhere, so tests still fail or new regressions appear... | Always patch the root cause, not a downstream caller (wrong location) -- Any bug where multiple helper functions or layers contribute to the final result. | task | swe-rubrics-general-v2 | pandas-dev__pandas-47771 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 24 | Always patch the root cause, not a downstream caller (wrong location) | ### Always patch the root cause, not a downstream caller (wrong location)
- **Applies when**: Any bug where multiple helper functions or layers contribute to the final result.
- **Failure it prevents**: Changing a peripheral function while the real defect remains elsewhere, so tests still fail or new regressions appear... | {
"applies": 0.967,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
f58b981a802d | ### Update the shared implementation point so every code path that can trigger the bug is covered (partial fix)
- **Applies when**: A defect surfaces through one public method but is actually caused by logic that is reused by many other methods.
- **Failure it prevents**: Patching only the one method shown in the rep... | Update the shared implementation point so every code path that can trigger the bug is covered (partial fix) -- A defect surfaces through one public method but is actually caused by logic that is reused by many other methods. | task | swe-rubrics-general-v2 | pandas-dev__pandas-55314 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 25 | Update the shared implementation point so every code path that can trigger the bug is covered (partial fix) | ### Update the shared implementation point so every code path that can trigger the bug is covered (partial fix)
- **Applies when**: A defect surfaces through one public method but is actually caused by logic that is reused by many other methods.
- **Failure it prevents**: Patching only the one method shown in the rep... | {
"applies": 0.75,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
f18061413375 | ### Cover the entire documented contract, not just the code path that fails first (partial fix)
- **Applies when**: Adding or correcting a missing feature or API call that other parts of the project may also rely on.
- **Failure it prevents**: Implementations that satisfy the visible test case but break or omit other... | Cover the entire documented contract, not just the code path that fails first (partial fix) -- Adding or correcting a missing feature or API call that other parts of the project may also rely on. | task | swe-rubrics-general-v2 | getmoto__moto-4875 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 26 | Cover the entire documented contract, not just the code path that fails first (partial fix) | ### Cover the entire documented contract, not just the code path that fails first (partial fix)
- **Applies when**: Adding or correcting a missing feature or API call that other parts of the project may also rely on.
- **Failure it prevents**: Implementations that satisfy the visible test case but break or omit other... | {
"applies": 0.433,
"viol_wrong": 0.136,
"viol_right": 0.077,
"gap": 0.059,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
47cdf50412a2 | ### Always update all connected code paths, not just the immediate spot you edit (partial fix)
- **Applies when**: Any bug-fix that introduces a new variable, flag, field, or branch into an existing flow (templates, data pipelines, API calls, etc.).
- **Failure it prevents**: Changing a condition or call site without a... | Always update all connected code paths, not just the immediate spot you edit (partial fix) -- Any bug-fix that introduces a new variable, flag, field, or branch into an existing flow (templates, data pipelines, API calls, etc.). | task | swe-rubrics-general-v2 | conan-io__conan-10686 | conan-io/conan | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 27 | Always update all connected code paths, not just the immediate spot you edit (partial fix) | ### Always update all connected code paths, not just the immediate spot you edit (partial fix)
- **Applies when**: Any bug-fix that introduces a new variable, flag, field, or branch into an existing flow (templates, data pipelines, API calls, etc.).
- **Failure it prevents**: Changing a condition or call site without a... | {
"applies": 0.567,
"viol_wrong": 0.091,
"viol_right": 0.038,
"gap": 0.052,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
60539b43d399 | ### Trace the data flow past your edit and update every downstream assumption the bug affects. (partial fix)
- **Applies when**: Any fix that changes the format, type, size, or meaning of an intermediate value.
- **Failure it prevents**: Only the first visible error is patched while other code that still relies on the ... | Trace the data flow past your edit and update every downstream assumption the bug affects. (partial fix) -- Any fix that changes the format, type, size, or meaning of an intermediate value. | task | swe-rubrics-general-v2 | pandas-dev__pandas-48820 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 28 | Trace the data flow past your edit and update every downstream assumption the bug affects. (partial fix) | ### Trace the data flow past your edit and update every downstream assumption the bug affects. (partial fix)
- **Applies when**: Any fix that changes the format, type, size, or meaning of an intermediate value.
- **Failure it prevents**: Only the first visible error is patched while other code that still relies on the ... | {
"applies": 0.317,
"viol_wrong": 0.05,
"viol_right": 0,
"gap": 0.05,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
0c694dc13c10 | ### Always correct the upstream cause of an invalid state instead of masking the crash where it surfaces (symptom patching)
- **Applies when**: The failure happens because downstream code receives an illegal or incomplete value that originated earlier in the flow.
- **Failure it prevents**: Superficial fixes that mer... | Always correct the upstream cause of an invalid state instead of masking the crash where it surfaces (symptom patching) -- The failure happens because downstream code receives an illegal or incomplete value that originated earlier in the flow. | task | swe-rubrics-general-v2 | python__mypy-14021 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 29 | Always correct the upstream cause of an invalid state instead of masking the crash where it surfaces (symptom patching) | ### Always correct the upstream cause of an invalid state instead of masking the crash where it surfaces (symptom patching)
- **Applies when**: The failure happens because downstream code receives an illegal or incomplete value that originated earlier in the flow.
- **Failure it prevents**: Superficial fixes that mer... | {
"applies": 0.267,
"viol_wrong": 0.125,
"viol_right": 0.077,
"gap": 0.048,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
33879209a747 | ### Run the modified module mentally to ensure every new symbol is defined and reachable before you call the fix done (regression of existing contract)
- **Applies when**: Any bug-fix that adds or rewrites executable code or references new names.
- **Failure it prevents**: Shipping a patch that compiles in the diff vie... | Run the modified module mentally to ensure every new symbol is defined and reachable before you call the fix done (regression of existing contract) -- Any bug-fix that adds or rewrites executable code or references new names. | task | swe-rubrics-general-v2 | python__mypy-10284 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 30 | Run the modified module mentally to ensure every new symbol is defined and reachable before you call the fix done (regression of existing contract) | ### Run the modified module mentally to ensure every new symbol is defined and reachable before you call the fix done (regression of existing contract)
- **Applies when**: Any bug-fix that adds or rewrites executable code or references new names.
- **Failure it prevents**: Shipping a patch that compiles in the diff vie... | {
"applies": 1,
"viol_wrong": 0.045,
"viol_right": 0,
"gap": 0.045,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
2ef6827f3acc | ### Preserve the existing public API contract unless the task explicitly mandates a change (regression of existing contract)
- **Applies when**: Any bug-fix touches code that is part of a published or externally used interface (public functions, methods, classes, or their defaults).
- **Failure it prevents**: Accidenta... | Preserve the existing public API contract unless the task explicitly mandates a change (regression of existing contract) -- Any bug-fix touches code that is part of a published or externally used interface (public functions, methods, classes, or their defaults). | task | swe-rubrics-general-v2 | pandas-dev__pandas-54068 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 31 | Preserve the existing public API contract unless the task explicitly mandates a change (regression of existing contract) | ### Preserve the existing public API contract unless the task explicitly mandates a change (regression of existing contract)
- **Applies when**: Any bug-fix touches code that is part of a published or externally used interface (public functions, methods, classes, or their defaults).
- **Failure it prevents**: Accidenta... | {
"applies": 0.75,
"viol_wrong": 0.045,
"viol_right": 0,
"gap": 0.045,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
16aa781ad915 | ### Verify every new attribute or method you touch actually exists and matches the intended API contract (API or contract misuse)
- **Applies when**: A fix adds or changes attribute or method references on objects defined elsewhere.
- **Failure it prevents**: Introducing calls or field accesses that are absent or seman... | Verify every new attribute or method you touch actually exists and matches the intended API contract (API or contract misuse) -- A fix adds or changes attribute or method references on objects defined elsewhere. | task | swe-rubrics-general-v2 | python__mypy-15133 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 32 | Verify every new attribute or method you touch actually exists and matches the intended API contract (API or contract misuse) | ### Verify every new attribute or method you touch actually exists and matches the intended API contract (API or contract misuse)
- **Applies when**: A fix adds or changes attribute or method references on objects defined elsewhere.
- **Failure it prevents**: Introducing calls or field accesses that are absent or seman... | {
"applies": 0.633,
"viol_wrong": 0.045,
"viol_right": 0,
"gap": 0.045,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
7bf05e5c5d13 | ### Modify behavior at the exact call-site, not in a broadly reused helper (wrong location)
- **Applies when**: A bug-fix must change behavior only under specific runtime conditions that are known in one code path but not others.
- **Failure it prevents**: Accidentally altering global or shared logic by placing the fix... | Modify behavior at the exact call-site, not in a broadly reused helper (wrong location) -- A bug-fix must change behavior only under specific runtime conditions that are known in one code path but not others. | task | swe-rubrics-general-v2 | iterative__dvc-1877 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 33 | Modify behavior at the exact call-site, not in a broadly reused helper (wrong location) | ### Modify behavior at the exact call-site, not in a broadly reused helper (wrong location)
- **Applies when**: A bug-fix must change behavior only under specific runtime conditions that are known in one code path but not others.
- **Failure it prevents**: Accidentally altering global or shared logic by placing the fix... | {
"applies": 0.233,
"viol_wrong": 0.045,
"viol_right": 0,
"gap": 0.045,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
cf68e27fe609 | ### Trace the full execution path and update all necessary call sites so your fix is actually invoked (partial fix)
- **Applies when**: The bug requires new behavior or side effects that must be triggered through public APIs, handlers, or other entry points.
- **Failure it prevents**: Implementing internal logic withou... | Trace the full execution path and update all necessary call sites so your fix is actually invoked (partial fix) -- The bug requires new behavior or side effects that must be triggered through public APIs, handlers, or other entry points. | task | swe-rubrics-general-v2 | getmoto__moto-5847 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 34 | Trace the full execution path and update all necessary call sites so your fix is actually invoked (partial fix) | ### Trace the full execution path and update all necessary call sites so your fix is actually invoked (partial fix)
- **Applies when**: The bug requires new behavior or side effects that must be triggered through public APIs, handlers, or other entry points.
- **Failure it prevents**: Implementing internal logic withou... | {
"applies": 0.367,
"viol_wrong": 0.16,
"viol_right": 0.115,
"gap": 0.045,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
c2226288402e | ### Preserve existing public APIs and identifiers when adding a fix (regression of existing contract)
- **Applies when**: Any bug-fix introduces new logic but also touches code that other modules or users may already import or call.
- **Failure it prevents**: Breaking previously working code paths or tests by renaming,... | Preserve existing public APIs and identifiers when adding a fix (regression of existing contract) -- Any bug-fix introduces new logic but also touches code that other modules or users may already import or call. | task | swe-rubrics-general-v2 | facebookresearch__hydra-876 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 35 | Preserve existing public APIs and identifiers when adding a fix (regression of existing contract) | ### Preserve existing public APIs and identifiers when adding a fix (regression of existing contract)
- **Applies when**: Any bug-fix introduces new logic but also touches code that other modules or users may already import or call.
- **Failure it prevents**: Breaking previously working code paths or tests by renaming,... | {
"applies": 1,
"viol_wrong": 0.042,
"viol_right": 0,
"gap": 0.042,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
f35ee1b86d8f | ### Preserve existing API signatures when adding functionality (regression of existing contract)
- **Applies when**: You are enhancing or extending a public function, method, or class that already has a documented interface.
- **Failure it prevents**: Accidentally renaming, removing, or altering existing parameters or ... | Preserve existing API signatures when adding functionality (regression of existing contract) -- You are enhancing or extending a public function, method, or class that already has a documented interface. | task | swe-rubrics-general-v2 | pandas-dev__pandas-47643 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 36 | Preserve existing API signatures when adding functionality (regression of existing contract) | ### Preserve existing API signatures when adding functionality (regression of existing contract)
- **Applies when**: You are enhancing or extending a public function, method, or class that already has a documented interface.
- **Failure it prevents**: Accidentally renaming, removing, or altering existing parameters or ... | {
"applies": 0.317,
"viol_wrong": 0.042,
"viol_right": 0,
"gap": 0.042,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
4d568f82bddd | ### Preserve and honor existing function and data contracts when fixing a bug (API or contract misuse)
- **Applies when**: You touch code that passes/consumes arguments or structured values (tuples/lists), or modifies function/class interfaces during a bug fix.
- **Failure it prevents**: Breaking other call sites or al... | Preserve and honor existing function and data contracts when fixing a bug (API or contract misuse) -- You touch code that passes/consumes arguments or structured values (tuples/lists), or modifies function/class interfaces during a bug fix. | task | swe-rubrics-general-v2 | dask__dask-6911 | dask/dask | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 37 | Preserve and honor existing function and data contracts when fixing a bug (API or contract misuse) | ### Preserve and honor existing function and data contracts when fixing a bug (API or contract misuse)
- **Applies when**: You touch code that passes/consumes arguments or structured values (tuples/lists), or modifies function/class interfaces during a bug fix.
- **Failure it prevents**: Breaking other call sites or al... | {
"applies": 0.933,
"viol_wrong": 0.08,
"viol_right": 0.038,
"gap": 0.042,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
a82940edd1c8 | ### Preserve existing public API and keyword names; add features without breaking callers (regression of existing contract)
- **Applies when**: You fix a bug or add a feature by modifying shared functions, classes, exceptions, or CLI parsing that other code may import or call.
- **Failure it prevents**: Breaking existi... | Preserve existing public API and keyword names; add features without breaking callers (regression of existing contract) -- You fix a bug or add a feature by modifying shared functions, classes, exceptions, or CLI parsing that other code may import or call. | task | swe-rubrics-general-v2 | facebookresearch__hydra-876 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 38 | Preserve existing public API and keyword names; add features without breaking callers (regression of existing contract) | ### Preserve existing public API and keyword names; add features without breaking callers (regression of existing contract)
- **Applies when**: You fix a bug or add a feature by modifying shared functions, classes, exceptions, or CLI parsing that other code may import or call.
- **Failure it prevents**: Breaking existi... | {
"applies": 0.917,
"viol_wrong": 0.08,
"viol_right": 0.038,
"gap": 0.042,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
a896fa387b6e | ### Ensure every new identifier you reference is already in scope or explicitly imported (regression of existing contract)
- **Applies when**: You add or modify code that calls a function, class, constant, or module attribute that was not previously used in that file.
- **Failure it prevents**: Introducing a change tha... | Ensure every new identifier you reference is already in scope or explicitly imported (regression of existing contract) -- You add or modify code that calls a function, class, constant, or module attribute that was not previously used in that file. | task | swe-rubrics-general-v2 | python__mypy-9097 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 39 | Ensure every new identifier you reference is already in scope or explicitly imported (regression of existing contract) | ### Ensure every new identifier you reference is already in scope or explicitly imported (regression of existing contract)
- **Applies when**: You add or modify code that calls a function, class, constant, or module attribute that was not previously used in that file.
- **Failure it prevents**: Introducing a change tha... | {
"applies": 0.683,
"viol_wrong": 0.04,
"viol_right": 0,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
45340ebdd911 | ### Verify every new or changed API usage has a matching definition/import and consistent contract handling (API or contract misuse)
- **Applies when**: You introduce new helper calls, rely on utilities, or change data shapes or types that other code paths consume.
- **Failure it prevents**: Referencing non-existent he... | Verify every new or changed API usage has a matching definition/import and consistent contract handling (API or contract misuse) -- You introduce new helper calls, rely on utilities, or change data shapes or types that other code paths consume. | task | swe-rubrics-general-v2 | iterative__dvc-1733 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 40 | Verify every new or changed API usage has a matching definition/import and consistent contract handling (API or contract misuse) | ### Verify every new or changed API usage has a matching definition/import and consistent contract handling (API or contract misuse)
- **Applies when**: You introduce new helper calls, rely on utilities, or change data shapes or types that other code paths consume.
- **Failure it prevents**: Referencing non-existent he... | {
"applies": 0.683,
"viol_wrong": 0.04,
"viol_right": 0,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
aa1a7feb3a37 | ### Verify every new or changed call targets an existing, correctly layered API with a matching signature (API or contract misuse)
- **Applies when**: You modify or add calls to functions/methods or introduce new APIs while fixing formatting, rendering, or transformation behavior.
- **Failure it prevents**: Calling non... | Verify every new or changed call targets an existing, correctly layered API with a matching signature (API or contract misuse) -- You modify or add calls to functions/methods or introduce new APIs while fixing formatting, rendering, or transformation behavior. | task | swe-rubrics-general-v2 | pandas-dev__pandas-57880 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 41 | Verify every new or changed call targets an existing, correctly layered API with a matching signature (API or contract misuse) | ### Verify every new or changed call targets an existing, correctly layered API with a matching signature (API or contract misuse)
- **Applies when**: You modify or add calls to functions/methods or introduce new APIs while fixing formatting, rendering, or transformation behavior.
- **Failure it prevents**: Calling non... | {
"applies": 0.65,
"viol_wrong": 0.04,
"viol_right": 0,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
3c22de0ea1b3 | ### Never call or access attributes or methods that the touched class or module did not already define (API or contract misuse)
- **Applies when**: Updating error messages or logic introduces new attribute or method references on existing objects.
- **Failure it prevents**: Runtime or import-time crashes because the cl... | Never call or access attributes or methods that the touched class or module did not already define (API or contract misuse) -- Updating error messages or logic introduces new attribute or method references on existing objects. | task | swe-rubrics-general-v2 | python__mypy-15139 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 42 | Never call or access attributes or methods that the touched class or module did not already define (API or contract misuse) | ### Never call or access attributes or methods that the touched class or module did not already define (API or contract misuse)
- **Applies when**: Updating error messages or logic introduces new attribute or method references on existing objects.
- **Failure it prevents**: Runtime or import-time crashes because the cl... | {
"applies": 0.583,
"viol_wrong": 0.04,
"viol_right": 0,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
0c1c12e49fce | ### Change the behavior in the code path where the bug manifests, not in downstream or unrelated layers (wrong location)
- **Applies when**: The failure is specific to a certain entry path (such as command-line invocation, source discovery, or configuration parsing) rather than to general runtime logic.
- **Failure it ... | Change the behavior in the code path where the bug manifests, not in downstream or unrelated layers (wrong location) -- The failure is specific to a certain entry path (such as command-line invocation, source discovery, or configuration parsing) rather than to general runtime logic. | task | swe-rubrics-general-v2 | python__mypy-9742 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 43 | Change the behavior in the code path where the bug manifests, not in downstream or unrelated layers (wrong location) | ### Change the behavior in the code path where the bug manifests, not in downstream or unrelated layers (wrong location)
- **Applies when**: The failure is specific to a certain entry path (such as command-line invocation, source discovery, or configuration parsing) rather than to general runtime logic.
- **Failure it ... | {
"applies": 0.233,
"viol_wrong": 0.04,
"viol_right": 0,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
9f95f760c738 | ### Cover all impacted code paths and configurations, not just the first one you notice (partial fix)
- **Applies when**: A bug involves behavior that is surfaced through multiple entry points, object types, or configuration values in a framework or library.
- **Failure it prevents**: Fixing one implementation path whi... | Cover all impacted code paths and configurations, not just the first one you notice (partial fix) -- A bug involves behavior that is surfaced through multiple entry points, object types, or configuration values in a framework or library. | task | swe-rubrics-general-v2 | pydantic__pydantic-6115 | pydantic/pydantic | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 44 | Cover all impacted code paths and configurations, not just the first one you notice (partial fix) | ### Cover all impacted code paths and configurations, not just the first one you notice (partial fix)
- **Applies when**: A bug involves behavior that is surfaced through multiple entry points, object types, or configuration values in a framework or library.
- **Failure it prevents**: Fixing one implementation path whi... | {
"applies": 0.667,
"viol_wrong": 0.111,
"viol_right": 0.071,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
b6a027105ba1 | ### Cover all affected code paths and propagate the fix consistently, not just in one spot (partial fix)
- **Applies when**: The bug stems from inconsistent state or invariants across multiple execution branches (e.g., fast/slow paths, special cases) in a Python codebase.
- **Failure it prevents**: Making a narrow chan... | Cover all affected code paths and propagate the fix consistently, not just in one spot (partial fix) -- The bug stems from inconsistent state or invariants across multiple execution branches (e.g., fast/slow paths, special cases) in a Python codebase. | task | swe-rubrics-general-v2 | modin-project__modin-6608 | modin-project/modin | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 45 | Cover all affected code paths and propagate the fix consistently, not just in one spot (partial fix) | ### Cover all affected code paths and propagate the fix consistently, not just in one spot (partial fix)
- **Applies when**: The bug stems from inconsistent state or invariants across multiple execution branches (e.g., fast/slow paths, special cases) in a Python codebase.
- **Failure it prevents**: Making a narrow chan... | {
"applies": 0.5,
"viol_wrong": 0.111,
"viol_right": 0.071,
"gap": 0.04,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
d0b7c6d9d6f9 | ### Respect existing APIs and shared state: call helpers with their required arguments and access shared data via the owning object, not ad-hoc names (API or contract misuse)
- **Applies when**: You modify logic that interacts with framework/library internals or shared analyzer state in Python.
- **Failure it prevents*... | Respect existing APIs and shared state: call helpers with their required arguments and access shared data via the owning object, not ad-hoc names (API or contract misuse) -- You modify logic that interacts with framework/library internals or shared analyzer state in Python. | task | swe-rubrics-general-v2 | python__mypy-10284 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 46 | Respect existing APIs and shared state: call helpers with their required arguments and access shared data via the owning object, not ad-hoc names (API or contract misuse) | ### Respect existing APIs and shared state: call helpers with their required arguments and access shared data via the owning object, not ad-hoc names (API or contract misuse)
- **Applies when**: You modify logic that interacts with framework/library internals or shared analyzer state in Python.
- **Failure it prevents*... | {
"applies": 0.7,
"viol_wrong": 0.038,
"viol_right": 0,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
8f2f96e9309c | ### Guard the new logic so it triggers only for the failing condition, preserving existing branches for other cases (missed edge cases)
- **Applies when**: You modify shared or generic code paths (e.g., operator/method dispatch, typing resolution) to fix a specific failing scenario.
- **Failure it prevents**: Broadenin... | Guard the new logic so it triggers only for the failing condition, preserving existing branches for other cases (missed edge cases) -- You modify shared or generic code paths (e.g., operator/method dispatch, typing resolution) to fix a specific failing scenario. | task | swe-rubrics-general-v2 | python__mypy-11434 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 47 | Guard the new logic so it triggers only for the failing condition, preserving existing branches for other cases (missed edge cases) | ### Guard the new logic so it triggers only for the failing condition, preserving existing branches for other cases (missed edge cases)
- **Applies when**: You modify shared or generic code paths (e.g., operator/method dispatch, typing resolution) to fix a specific failing scenario.
- **Failure it prevents**: Broadenin... | {
"applies": 0.6,
"viol_wrong": 0.077,
"viol_right": 0.038,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
6f8c4b852b0d | ### Preserve the existing public contract when fixing the bug (regression of existing contract)
- **Applies when**: Changing code that affects request/response shapes, headers, return values, or side effects in a library, SDK, or service mock.
- **Failure it prevents**: Accidentally removing or altering established fie... | Preserve the existing public contract when fixing the bug (regression of existing contract) -- Changing code that affects request/response shapes, headers, return values, or side effects in a library, SDK, or service mock. | task | swe-rubrics-general-v2 | getmoto__moto-5870 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 48 | Preserve the existing public contract when fixing the bug (regression of existing contract) | ### Preserve the existing public contract when fixing the bug (regression of existing contract)
- **Applies when**: Changing code that affects request/response shapes, headers, return values, or side effects in a library, SDK, or service mock.
- **Failure it prevents**: Accidentally removing or altering established fie... | {
"applies": 0.3,
"viol_wrong": 0.038,
"viol_right": 0,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
b62ae1f57052 | ### Propagate the new behavior through all related helpers and call sites, not just the entry point (partial fix)
- **Applies when**: You replace a hardcoded tool/constant/behavior with a configurable or computed value or change a helper’s interface during a Python bug fix.
- **Failure it prevents**: Leaving parts of t... | Propagate the new behavior through all related helpers and call sites, not just the entry point (partial fix) -- You replace a hardcoded tool/constant/behavior with a configurable or computed value or change a helper’s interface during a Python bug fix. | task | swe-rubrics-general-v2 | conan-io__conan-14195 | conan-io/conan | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 49 | Propagate the new behavior through all related helpers and call sites, not just the entry point (partial fix) | ### Propagate the new behavior through all related helpers and call sites, not just the entry point (partial fix)
- **Applies when**: You replace a hardcoded tool/constant/behavior with a configurable or computed value or change a helper’s interface during a Python bug fix.
- **Failure it prevents**: Leaving parts of t... | {
"applies": 0.3,
"viol_wrong": 0.077,
"viol_right": 0.038,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
46814110c009 | ### Fix the underlying cause of the failure instead of catching-and-ignoring the resulting exception (symptom patching)
- **Applies when**: The proposed fix wraps the crashing line in a try/except or returns a default without changing the logic that leads to the failure.
- **Failure it prevents**: Silencing errors that... | Fix the underlying cause of the failure instead of catching-and-ignoring the resulting exception (symptom patching) -- The proposed fix wraps the crashing line in a try/except or returns a default without changing the logic that leads to the failure. | task | swe-rubrics-general-v2 | iterative__dvc-6811 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 50 | Fix the underlying cause of the failure instead of catching-and-ignoring the resulting exception (symptom patching) | ### Fix the underlying cause of the failure instead of catching-and-ignoring the resulting exception (symptom patching)
- **Applies when**: The proposed fix wraps the crashing line in a try/except or returns a default without changing the logic that leads to the failure.
- **Failure it prevents**: Silencing errors that... | {
"applies": 0.217,
"viol_wrong": 0.038,
"viol_right": 0,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
d7455a382352 | ### Preserve the existing public contract while fixing the bug (regression of existing contract)
- **Applies when**: The fix touches code that already has stable CLI options, return values, log messages, or any behavior covered by tests.
- **Failure it prevents**: Regressing previously correct and relied-upon behavio... | Preserve the existing public contract while fixing the bug (regression of existing contract) -- The fix touches code that already has stable CLI options, return values, log messages, or any behavior covered by tests. | task | swe-rubrics-general-v2 | iterative__dvc-4011 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 51 | Preserve the existing public contract while fixing the bug (regression of existing contract) | ### Preserve the existing public contract while fixing the bug (regression of existing contract)
- **Applies when**: The fix touches code that already has stable CLI options, return values, log messages, or any behavior covered by tests.
- **Failure it prevents**: Regressing previously correct and relied-upon behavio... | {
"applies": 0.933,
"viol_wrong": 0.08,
"viol_right": 0.042,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
d1f78721db8a | ### Never drop existing contract-fulfilling logic unless an equivalent replacement is added (regression of existing contract)
- **Applies when**: You touch code that already provides part of the public API or expected response structure while fixing another bug.
- **Failure it prevents**: Accidentally deleting or disab... | Never drop existing contract-fulfilling logic unless an equivalent replacement is added (regression of existing contract) -- You touch code that already provides part of the public API or expected response structure while fixing another bug. | task | swe-rubrics-general-v2 | getmoto__moto-5870 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 52 | Never drop existing contract-fulfilling logic unless an equivalent replacement is added (regression of existing contract) | ### Never drop existing contract-fulfilling logic unless an equivalent replacement is added (regression of existing contract)
- **Applies when**: You touch code that already provides part of the public API or expected response structure while fixing another bug.
- **Failure it prevents**: Accidentally deleting or disab... | {
"applies": 0.867,
"viol_wrong": 0.08,
"viol_right": 0.042,
"gap": 0.038,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
40a524bddaf2 | ### Preserve existing (even deprecated) API contracts and return shapes when refactoring (regression of existing contract)
- **Applies when**: You modify internal state handling, attributes/properties, or function/method signatures in code that exposes a public or semi-public API.
- **Failure it prevents**: Breaking ca... | Preserve existing (even deprecated) API contracts and return shapes when refactoring (regression of existing contract) -- You modify internal state handling, attributes/properties, or function/method signatures in code that exposes a public or semi-public API. | task | swe-rubrics-general-v2 | pandas-dev__pandas-51206 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 53 | Preserve existing (even deprecated) API contracts and return shapes when refactoring (regression of existing contract) | ### Preserve existing (even deprecated) API contracts and return shapes when refactoring (regression of existing contract)
- **Applies when**: You modify internal state handling, attributes/properties, or function/method signatures in code that exposes a public or semi-public API.
- **Failure it prevents**: Breaking ca... | {
"applies": 0.233,
"viol_wrong": 0.037,
"viol_right": 0,
"gap": 0.037,
"prompt": "P2_taxonomy",
"curator": "gpt5"
} |
2a34eee097e5 | ### Guard existing, correct behaviors from unintended changes (regression of existing contract)
- **Applies when**: Any fix touches code paths that are also used by features not mentioned in the bug report.
- **Failure it prevents**: Accidentally breaking previously correct functionality while addressing an unrelated d... | Guard existing, correct behaviors from unintended changes (regression of existing contract) -- Any fix touches code paths that are also used by features not mentioned in the bug report. | task | swe-rubrics-general-v2 | facebookresearch__hydra-1842 | facebookresearch/hydra | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 54 | Guard existing, correct behaviors from unintended changes (regression of existing contract) | ### Guard existing, correct behaviors from unintended changes (regression of existing contract)
- **Applies when**: Any fix touches code paths that are also used by features not mentioned in the bug report.
- **Failure it prevents**: Accidentally breaking previously correct functionality while addressing an unrelated d... | {
"applies": 0.95,
"viol_wrong": 0.12,
"viol_right": 0.083,
"gap": 0.037,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
65e9ae1a2a40 | ### Preserve all previously-valid behaviors when adding a fix (regression of existing contract)
- **Applies when**: The patch touches shared logic that also serves inputs or parameter combinations unrelated to the reported bug.
- **Failure it prevents**: A change that repairs the target scenario but silently alters cor... | Preserve all previously-valid behaviors when adding a fix (regression of existing contract) -- The patch touches shared logic that also serves inputs or parameter combinations unrelated to the reported bug. | task | swe-rubrics-general-v2 | pandas-dev__pandas-54027 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 55 | Preserve all previously-valid behaviors when adding a fix (regression of existing contract) | ### Preserve all previously-valid behaviors when adding a fix (regression of existing contract)
- **Applies when**: The patch touches shared logic that also serves inputs or parameter combinations unrelated to the reported bug.
- **Failure it prevents**: A change that repairs the target scenario but silently alters cor... | {
"applies": 0.933,
"viol_wrong": 0.12,
"viol_right": 0.083,
"gap": 0.037,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
c05aff52c454 | ### Patch every code path that can manifest the root-cause, not only the one shown in the reproducer (partial fix)
- **Applies when**: The bug arises from a reusable helper, conditional branch, or pattern that is invoked from several locations in the codebase.
- **Failure it prevents**: Fixing only the line hit by th... | Patch every code path that can manifest the root-cause, not only the one shown in the reproducer (partial fix) -- The bug arises from a reusable helper, conditional branch, or pattern that is invoked from several locations in the codebase. | task | swe-rubrics-general-v2 | pandas-dev__pandas-48619 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 56 | Patch every code path that can manifest the root-cause, not only the one shown in the reproducer (partial fix) | ### Patch every code path that can manifest the root-cause, not only the one shown in the reproducer (partial fix)
- **Applies when**: The bug arises from a reusable helper, conditional branch, or pattern that is invoked from several locations in the codebase.
- **Failure it prevents**: Fixing only the line hit by th... | {
"applies": 0.8,
"viol_wrong": 0.2,
"viol_right": 0.167,
"gap": 0.033,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
0497c74200e9 | ### Cover every documented behaviour that the bug report demands, not just the easiest path (partial fix)
- **Applies when**: The required fix affects several execution paths or feature variants (e.g. flags, modes, specific sub-cases).
- **Failure it prevents**: Shipping a change that works for one path but still fails... | Cover every documented behaviour that the bug report demands, not just the easiest path (partial fix) -- The required fix affects several execution paths or feature variants (e.g. flags, modes, specific sub-cases). | task | swe-rubrics-general-v2 | iterative__dvc-1759 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 57 | Cover every documented behaviour that the bug report demands, not just the easiest path (partial fix) | ### Cover every documented behaviour that the bug report demands, not just the easiest path (partial fix)
- **Applies when**: The required fix affects several execution paths or feature variants (e.g. flags, modes, specific sub-cases).
- **Failure it prevents**: Shipping a change that works for one path but still fails... | {
"applies": 0.767,
"viol_wrong": 0.2,
"viol_right": 0.167,
"gap": 0.033,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
19c41154fa2f | ### Update every site and supporting data structure touched by the bug, not just one call path (partial fix)
- **Applies when**: The fix requires coordinated changes across multiple related functions, data tables, or code paths.
- **Failure it prevents**: Implementing only part of the necessary changes so the original ... | Update every site and supporting data structure touched by the bug, not just one call path (partial fix) -- The fix requires coordinated changes across multiple related functions, data tables, or code paths. | task | swe-rubrics-general-v2 | python__mypy-11533 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 58 | Update every site and supporting data structure touched by the bug, not just one call path (partial fix) | ### Update every site and supporting data structure touched by the bug, not just one call path (partial fix)
- **Applies when**: The fix requires coordinated changes across multiple related functions, data tables, or code paths.
- **Failure it prevents**: Implementing only part of the necessary changes so the original ... | {
"applies": 0.617,
"viol_wrong": 0.182,
"viol_right": 0.154,
"gap": 0.028,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
b00e7a6cfc97 | ### Update every interacting component that processes the changed behavior, not just the first failing spot (partial fix)
- **Applies when**: A bug fix expands or alters the accepted values or semantics that flow through multiple functions, methods, or modules.
- **Failure it prevents**: Only part of the codebase is ad... | Update every interacting component that processes the changed behavior, not just the first failing spot (partial fix) -- A bug fix expands or alters the accepted values or semantics that flow through multiple functions, methods, or modules. | task | swe-rubrics-general-v2 | getmoto__moto-4985 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 59 | Update every interacting component that processes the changed behavior, not just the first failing spot (partial fix) | ### Update every interacting component that processes the changed behavior, not just the first failing spot (partial fix)
- **Applies when**: A bug fix expands or alters the accepted values or semantics that flow through multiple functions, methods, or modules.
- **Failure it prevents**: Only part of the codebase is ad... | {
"applies": 0.567,
"viol_wrong": 0.182,
"viol_right": 0.154,
"gap": 0.028,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
43d10f36ce18 | ### Implement the fix comprehensively across all execution paths and add every helper it depends on (partial fix)
- **Applies when**: Any bug-fix requires updating logic that can be entered through several branches, modes, or operation types.
- **Failure it prevents**: Only a subset of the scenarios is corrected or a... | Implement the fix comprehensively across all execution paths and add every helper it depends on (partial fix) -- Any bug-fix requires updating logic that can be entered through several branches, modes, or operation types. | task | swe-rubrics-general-v2 | getmoto__moto-4787 | getmoto/moto | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 60 | Implement the fix comprehensively across all execution paths and add every helper it depends on (partial fix) | ### Implement the fix comprehensively across all execution paths and add every helper it depends on (partial fix)
- **Applies when**: Any bug-fix requires updating logic that can be entered through several branches, modes, or operation types.
- **Failure it prevents**: Only a subset of the scenarios is corrected or a... | {
"applies": 0.883,
"viol_wrong": 0.227,
"viol_right": 0.2,
"gap": 0.027,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
f327a6dd2331 | ### Fix the entire failing path, not just the first conditional that trips the visible error. (partial fix)
- **Applies when**: The bug surfaces inside a multi-step call chain and you are adding or altering a branch, guard, or flag inside that chain.
- **Failure it prevents**: A tweak hides the original symptom for one... | Fix the entire failing path, not just the first conditional that trips the visible error. (partial fix) -- The bug surfaces inside a multi-step call chain and you are adding or altering a branch, guard, or flag inside that chain. | task | swe-rubrics-general-v2 | pandas-dev__pandas-48637 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 61 | Fix the entire failing path, not just the first conditional that trips the visible error. (partial fix) | ### Fix the entire failing path, not just the first conditional that trips the visible error. (partial fix)
- **Applies when**: The bug surfaces inside a multi-step call chain and you are adding or altering a branch, guard, or flag inside that chain.
- **Failure it prevents**: A tweak hides the original symptom for one... | {
"applies": 0.7,
"viol_wrong": 0.2,
"viol_right": 0.174,
"gap": 0.026,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
2b46f1e79d49 | ### Locate and modify the exact code path that the failing reproducer executes, not an adjacent helper. (wrong location)
- **Applies when**: Any bug-fix that involves multiple helper layers or dispatch points where several functions appear related to the failure.
- **Failure it prevents**: Changing a nearby but unuse... | Locate and modify the exact code path that the failing reproducer executes, not an adjacent helper. (wrong location) -- Any bug-fix that involves multiple helper layers or dispatch points where several functions appear related to the failure. | task | swe-rubrics-general-v2 | pandas-dev__pandas-50734 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 62 | Locate and modify the exact code path that the failing reproducer executes, not an adjacent helper. (wrong location) | ### Locate and modify the exact code path that the failing reproducer executes, not an adjacent helper. (wrong location)
- **Applies when**: Any bug-fix that involves multiple helper layers or dispatch points where several functions appear related to the failure.
- **Failure it prevents**: Changing a nearby but unuse... | {
"applies": 0.95,
"viol_wrong": 0.15,
"viol_right": 0.13,
"gap": 0.02,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
b889131d9210 | ### Update every code path that can reach the faulty behaviour, not just the one that first failed the test (partial fix)
- **Applies when**: Any bug involves a variable, flag, or state that is referenced in multiple branches, early-exit checks, or helper functions.
- **Failure it prevents**: A fix corrects one branc... | Update every code path that can reach the faulty behaviour, not just the one that first failed the test (partial fix) -- Any bug involves a variable, flag, or state that is referenced in multiple branches, early-exit checks, or helper functions. | task | swe-rubrics-general-v2 | dask__dask-6978 | dask/dask | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 63 | Update every code path that can reach the faulty behaviour, not just the one that first failed the test (partial fix) | ### Update every code path that can reach the faulty behaviour, not just the one that first failed the test (partial fix)
- **Applies when**: Any bug involves a variable, flag, or state that is referenced in multiple branches, early-exit checks, or helper functions.
- **Failure it prevents**: A fix corrects one branc... | {
"applies": 0.9,
"viol_wrong": 0.15,
"viol_right": 0.13,
"gap": 0.02,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
f797669f42db | ### Patch every code path that exhibits the defect, not just the first one you edit (partial fix)
- **Applies when**: The buggy behaviour is implemented in multiple functions, methods, or classes that share logic but are not centrally abstracted.
- **Failure it prevents**: Fixing only one occurrence while other executi... | Patch every code path that exhibits the defect, not just the first one you edit (partial fix) -- The buggy behaviour is implemented in multiple functions, methods, or classes that share logic but are not centrally abstracted. | task | swe-rubrics-general-v2 | pydantic__pydantic-6115 | pydantic/pydantic | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 64 | Patch every code path that exhibits the defect, not just the first one you edit (partial fix) | ### Patch every code path that exhibits the defect, not just the first one you edit (partial fix)
- **Applies when**: The buggy behaviour is implemented in multiple functions, methods, or classes that share logic but are not centrally abstracted.
- **Failure it prevents**: Fixing only one occurrence while other executi... | {
"applies": 0.7,
"viol_wrong": 0.15,
"viol_right": 0.13,
"gap": 0.02,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
07b46d666e84 | ### Identify and modify the genuine root-cause section of the codebase, not a nearby or seemingly related piece (wrong location)
- **Applies when**: The failure arises from a specific control-flow or type-flow path but many functions appear tangentially related.
- **Failure it prevents**: Tweaking an unrelated conditio... | Identify and modify the genuine root-cause section of the codebase, not a nearby or seemingly related piece (wrong location) -- The failure arises from a specific control-flow or type-flow path but many functions appear tangentially related. | task | swe-rubrics-general-v2 | python__mypy-12267 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 65 | Identify and modify the genuine root-cause section of the codebase, not a nearby or seemingly related piece (wrong location) | ### Identify and modify the genuine root-cause section of the codebase, not a nearby or seemingly related piece (wrong location)
- **Applies when**: The failure arises from a specific control-flow or type-flow path but many functions appear tangentially related.
- **Failure it prevents**: Tweaking an unrelated conditio... | {
"applies": 1,
"viol_wrong": 0.136,
"viol_right": 0.12,
"gap": 0.016,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
b11d5a78c4fc | ### Cover every path the bug can take, not just the one in the reporter’s example (partial fix)
- **Applies when**: The faulty behaviour can arise through multiple branches, variations, or call sites inside the codebase.
- **Failure it prevents**: Shipping a change that solves the specific scenario in the issue descr... | Cover every path the bug can take, not just the one in the reporter’s example (partial fix) -- The faulty behaviour can arise through multiple branches, variations, or call sites inside the codebase. | task | swe-rubrics-general-v2 | python__mypy-10864 | python/mypy | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 66 | Cover every path the bug can take, not just the one in the reporter’s example (partial fix) | ### Cover every path the bug can take, not just the one in the reporter’s example (partial fix)
- **Applies when**: The faulty behaviour can arise through multiple branches, variations, or call sites inside the codebase.
- **Failure it prevents**: Shipping a change that solves the specific scenario in the issue descr... | {
"applies": 0.9,
"viol_wrong": 0.208,
"viol_right": 0.192,
"gap": 0.016,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
e41cf2ec9d64 | ### Fix every code path implicated by the bug, not just the first one you notice (partial fix)
- **Applies when**: Any bug-fix where several functions or branches jointly produce the faulty behaviour.
- **Failure it prevents**: Implementing a change that corrects one manifestation while leaving other parts of the same ... | Fix every code path implicated by the bug, not just the first one you notice (partial fix) -- Any bug-fix where several functions or branches jointly produce the faulty behaviour. | task | swe-rubrics-general-v2 | iterative__dvc-1733 | iterative/dvc | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 67 | Fix every code path implicated by the bug, not just the first one you notice (partial fix) | ### Fix every code path implicated by the bug, not just the first one you notice (partial fix)
- **Applies when**: Any bug-fix where several functions or branches jointly produce the faulty behaviour.
- **Failure it prevents**: Implementing a change that corrects one manifestation while leaving other parts of the same ... | {
"applies": 0.85,
"viol_wrong": 0.208,
"viol_right": 0.192,
"gap": 0.016,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
cc44bb7449c7 | ### Update every public path that surfaces the bug, not just the first code block you touch (partial fix)
- **Applies when**: The faulty behaviour can be triggered through several related objects, helper functions, or documentation entries.
- **Failure it prevents**: Only one code path is corrected while other entry po... | Update every public path that surfaces the bug, not just the first code block you touch (partial fix) -- The faulty behaviour can be triggered through several related objects, helper functions, or documentation entries. | task | swe-rubrics-general-v2 | pandas-dev__pandas-48555 | pandas-dev/pandas | swe-gym/swe-smith pool | swe-rubrics-general-v2 | 68 | Update every public path that surfaces the bug, not just the first code block you touch (partial fix) | ### Update every public path that surfaces the bug, not just the first code block you touch (partial fix)
- **Applies when**: The faulty behaviour can be triggered through several related objects, helper functions, or documentation entries.
- **Failure it prevents**: Only one code path is corrected while other entry po... | {
"applies": 0.75,
"viol_wrong": 0.208,
"viol_right": 0.192,
"gap": 0.016,
"prompt": "P2_taxonomy",
"curator": "o3"
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 14