-
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
e2340ff
commit 45cbc60
Showing
6,880 changed files
with
548,117 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
835 changes: 835 additions & 0 deletions
835
...ct_openrouter_model_name=x-ai-grok-2-1212_temperature=1.0_n_samples=10_provider=xAI.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
results/grok-2-1212/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": 8.827141999999958, | ||
"completion_cost": 28.553110000000068, | ||
"total_cost": 37.38025200000003, | ||
"provider": "openrouter" | ||
} |
835 changes: 835 additions & 0 deletions
835
results/grok-2-1212/defects4j/evaluation_defects4j_instruct_openrouter.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
results/grok-2-1212/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,49 @@ | ||
diff --git a/tmp/d2d11004-49db-4ba5-8b4f-062695305a9f_buggy.java b/tmp/a2f5bbe1-b4c9-4a6f-8c6f-31f81cb77261_fixed.java | ||
index 114ff20..ce5dafa 100644 | ||
--- a/tmp/d2d11004-49db-4ba5-8b4f-062695305a9f_buggy.java | ||
+++ b/tmp/a2f5bbe1-b4c9-4a6f-8c6f-31f81cb77261_fixed.java | ||
@@ -1,41 +1,40 @@ | ||
/** | ||
* 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 { | ||
+ } 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/grok-2-1212/defects4j/patches/Chart-1/exact_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/549b0559-9eab-42b7-80ba-5647524c958c_buggy.java b/tmp/ae8d17f9-5247-4929-a885-00e0f5ae7e7e_fixed.java | ||
index 114ff20..4732cd1 100644 | ||
--- a/tmp/549b0559-9eab-42b7-80ba-5647524c958c_buggy.java | ||
+++ b/tmp/ae8d17f9-5247-4929-a885-00e0f5ae7e7e_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/grok-2-1212/defects4j/patches/Chart-1/exact_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/e650ba87-acad-4daf-a696-bfdd318a0b13_buggy.java b/tmp/91493905-1cd3-4d19-8130-a6eebfb3eb62_fixed.java | ||
index 114ff20..e8e9d2b 100644 | ||
--- a/tmp/e650ba87-acad-4daf-a696-bfdd318a0b13_buggy.java | ||
+++ b/tmp/91493905-1cd3-4d19-8130-a6eebfb3eb62_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/grok-2-1212/defects4j/patches/Chart-1/exact_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/9f5388e7-aaa5-490c-8ae0-4fd988bbc90f_buggy.java b/tmp/4710c567-e27f-486a-8d50-2e6a548a6060_fixed.java | ||
index 114ff20..4732cd1 100644 | ||
--- a/tmp/9f5388e7-aaa5-490c-8ae0-4fd988bbc90f_buggy.java | ||
+++ b/tmp/4710c567-e27f-486a-8d50-2e6a548a6060_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/grok-2-1212/defects4j/patches/Chart-1/exact_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/2e121770-9d3b-41c2-b896-b476cd2858c8_buggy.java b/tmp/1eafcc3b-8dcf-4962-b20e-8e954d075b93_fixed.java | ||
index 114ff20..4732cd1 100644 | ||
--- a/tmp/2e121770-9d3b-41c2-b896-b476cd2858c8_buggy.java | ||
+++ b/tmp/1eafcc3b-8dcf-4962-b20e-8e954d075b93_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/grok-2-1212/defects4j/patches/Chart-1/exact_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,48 @@ | ||
diff --git a/tmp/8b9ead51-8440-4ce9-b5e1-719d330392aa_buggy.java b/tmp/a5d93ee0-5a9e-4018-b9de-c4e4637d804a_fixed.java | ||
index 114ff20..e8e9d2b 100644 | ||
--- a/tmp/8b9ead51-8440-4ce9-b5e1-719d330392aa_buggy.java | ||
+++ b/tmp/a5d93ee0-5a9e-4018-b9de-c4e4637d804a_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/grok-2-1212/defects4j/patches/Chart-1/exact_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/e72f4d43-e7c3-4436-af4d-974a7e16942b_buggy.java b/tmp/94c2aaec-04b5-462a-bfd8-49592c214608_fixed.java | ||
index 114ff20..4732cd1 100644 | ||
--- a/tmp/e72f4d43-e7c3-4436-af4d-974a7e16942b_buggy.java | ||
+++ b/tmp/94c2aaec-04b5-462a-bfd8-49592c214608_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 |
Oops, something went wrong.