-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59cfe2b
commit e2340ff
Showing
6,842 changed files
with
504,056 additions
and
1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
484 changes: 484 additions & 0 deletions
484
results/llama-3.3-70b-instruct/defects4j/bugs_with_candidates.txt
Large diffs are not rendered by default.
Oops, something went wrong.
484 changes: 484 additions & 0 deletions
484
results/llama-3.3-70b-instruct/defects4j/bugs_with_prompt.txt
Large diffs are not rendered by default.
Oops, something went wrong.
835 changes: 835 additions & 0 deletions
835
...e=meta-llama-llama-3.3-70b-instruct_temperature=1.0_n_samples=10_provider=DeepInfra.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
results/llama-3.3-70b-instruct/defects4j/costs_defects4j_instruct_openrouter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"prompt_cost": 0.5613870600000028, | ||
"completion_cost": 0.8341400000000005, | ||
"total_cost": 1.3955270600000034, | ||
"provider": "openrouter" | ||
} |
835 changes: 835 additions & 0 deletions
835
results/llama-3.3-70b-instruct/defects4j/evaluation_defects4j_instruct_openrouter.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/0.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/05d075dc-3d5c-4685-867a-12d3c8cf429d_buggy.java b/tmp/0c20786a-1a4c-4fc1-b778-1e121c7b872d_fixed.java | ||
index 114ff20..cf5a585 100644 | ||
--- a/tmp/05d075dc-3d5c-4685-867a-12d3c8cf429d_buggy.java | ||
+++ b/tmp/0c20786a-1a4c-4fc1-b778-1e121c7b872d_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { // Changed from '!=' to '==' | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/1.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/81a39e5f-ba6d-49a0-9a0f-4ecacd1fba15_buggy.java b/tmp/2fd007d6-b5ba-4139-9f5f-365d03f6a7ab_fixed.java | ||
index 114ff20..43a91f1 100644 | ||
--- a/tmp/81a39e5f-ba6d-49a0-9a0f-4ecacd1fba15_buggy.java | ||
+++ b/tmp/2fd007d6-b5ba-4139-9f5f-365d03f6a7ab_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/2.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/7ac4491d-20eb-4374-99e8-37cdb670c71c_buggy.java b/tmp/83515a02-fa9e-405d-b74a-24bd2f04364b_fixed.java | ||
index 114ff20..fe20951 100644 | ||
--- a/tmp/7ac4491d-20eb-4374-99e8-37cdb670c71c_buggy.java | ||
+++ b/tmp/83515a02-fa9e-405d-b74a-24bd2f04364b_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { // changed from!= to == | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/3.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/41e82696-2dc6-47b7-8b3c-435918c38dd0_buggy.java b/tmp/72e9374a-a5e8-4e54-8641-bad70a3aee10_fixed.java | ||
index 114ff20..43a91f1 100644 | ||
--- a/tmp/41e82696-2dc6-47b7-8b3c-435918c38dd0_buggy.java | ||
+++ b/tmp/72e9374a-a5e8-4e54-8641-bad70a3aee10_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/4.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/dbf77c7b-9060-418a-9b80-61c08d991a95_buggy.java b/tmp/07da0dd6-6609-4a20-891c-7f0619f5168e_fixed.java | ||
index 114ff20..43a91f1 100644 | ||
--- a/tmp/dbf77c7b-9060-418a-9b80-61c08d991a95_buggy.java | ||
+++ b/tmp/07da0dd6-6609-4a20-891c-7f0619f5168e_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
49 changes: 49 additions & 0 deletions
49
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/5.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
diff --git a/tmp/d8064ae8-d903-46cd-af4b-61c261fc3250_buggy.java b/tmp/d3beafed-0b5b-4fd6-9bf4-cc1ce70f67cc_fixed.java | ||
index 114ff20..91d6635 100644 | ||
--- a/tmp/d8064ae8-d903-46cd-af4b-61c261fc3250_buggy.java | ||
+++ b/tmp/d3beafed-0b5b-4fd6-9bf4-cc1ce70f67cc_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
- return result; | ||
+ if (dataset == null) { | ||
+ return result; // return here if dataset is null | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
48 changes: 48 additions & 0 deletions
48
results/llama-3.3-70b-instruct/defects4j/patches/Chart-1/ast_match/6.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
diff --git a/tmp/8c2572da-1390-4f9b-9ad8-06703976818c_buggy.java b/tmp/e5641e6e-6f16-4a06-a3b3-145eed8684ae_fixed.java | ||
index 114ff20..90507dc 100644 | ||
--- a/tmp/8c2572da-1390-4f9b-9ad8-06703976818c_buggy.java | ||
+++ b/tmp/e5641e6e-6f16-4a06-a3b3-145eed8684ae_fixed.java | ||
@@ -1,41 +1,41 @@ | ||
/** | ||
* Returns a (possibly empty) collection of legend items for the series | ||
* that this renderer is responsible for drawing. | ||
* | ||
* @return The legend item collection (never <code>null</code>). | ||
* | ||
* @see #getLegendItem(int, int) | ||
*/ | ||
public LegendItemCollection getLegendItems() { | ||
LegendItemCollection result = new LegendItemCollection(); | ||
if (this.plot == null) { | ||
return result; | ||
} | ||
int index = this.plot.getIndexOf(this); | ||
CategoryDataset dataset = this.plot.getDataset(index); | ||
- if (dataset != null) { | ||
+ if (dataset == null) { // Changed from dataset!= null to dataset == null | ||
return result; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) { | ||
for (int i = 0; i < seriesCount; i++) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
else { | ||
for (int i = seriesCount - 1; i >= 0; i--) { | ||
if (isSeriesVisibleInLegend(i)) { | ||
LegendItem item = getLegendItem(index, i); | ||
if (item!= null) { | ||
result.add(item); | ||
} | ||
} | ||
} | ||
} | ||
return result; | ||
} | ||
\ No newline at end of file |
Oops, something went wrong.