-
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
24489a4
commit 29706d4
Showing
6,577 changed files
with
501,342 additions
and
0 deletions.
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/qwq-32b-preview/defects4j/bugs_with_candidates.txt
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
...ter_model_name=qwen-qwq-32b-preview_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/qwq-32b-preview/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.6616181999999915, | ||
"completion_cost": 4.751972999999989, | ||
"total_cost": 5.41359119999998, | ||
"provider": "openrouter" | ||
} |
835 changes: 835 additions & 0 deletions
835
results/qwq-32b-preview/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/qwq-32b-preview/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,49 @@ | ||
diff --git a/tmp/a3721251-9d65-49f8-9f19-e1ca524beaed_buggy.java b/tmp/9c7146f2-677c-468b-a5da-dc2a74016881_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/a3721251-9d65-49f8-9f19-e1ca524beaed_buggy.java | ||
+++ b/tmp/9c7146f2-677c-468b-a5da-dc2a74016881_fixed.java | ||
@@ -1,41 +1,32 @@ | ||
- /** | ||
- * 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 |
49 changes: 49 additions & 0 deletions
49
results/qwq-32b-preview/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,49 @@ | ||
diff --git a/tmp/947a6cce-3cca-4074-8b88-eaeb72984701_buggy.java b/tmp/0a117482-5d50-48b1-b686-60289f08b233_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/947a6cce-3cca-4074-8b88-eaeb72984701_buggy.java | ||
+++ b/tmp/0a117482-5d50-48b1-b686-60289f08b233_fixed.java | ||
@@ -1,41 +1,32 @@ | ||
- /** | ||
- * 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/qwq-32b-preview/defects4j/patches/Chart-1/compilable/7.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/eb52cbdc-8786-40e2-b938-05af38daf2b7_buggy.java b/tmp/713328f1-707c-46b8-ab3f-96111d2d11f1_fixed.java | ||
index 114ff20..65da1bd 100644 | ||
--- a/tmp/eb52cbdc-8786-40e2-b938-05af38daf2b7_buggy.java | ||
+++ b/tmp/713328f1-707c-46b8-ab3f-96111d2d11f1_fixed.java | ||
@@ -1,41 +1,32 @@ | ||
- /** | ||
- * 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; | ||
} | ||
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 |
47 changes: 47 additions & 0 deletions
47
results/qwq-32b-preview/defects4j/patches/Chart-1/non_compilable/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,47 @@ | ||
diff --git a/tmp/4ec75345-c3af-49e4-906b-07368857a5c7_buggy.java b/tmp/8799d1b3-348b-4849-9ebd-d507be2a7b49_fixed.java | ||
index 114ff20..d9d01bf 100644 | ||
--- a/tmp/4ec75345-c3af-49e4-906b-07368857a5c7_buggy.java | ||
+++ b/tmp/8799d1b3-348b-4849-9ebd-d507be2a7b49_fixed.java | ||
@@ -1,41 +1,3 @@ | ||
- /** | ||
- * 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; | ||
} | ||
\ No newline at end of file | ||
- 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; | ||
- } |
47 changes: 47 additions & 0 deletions
47
results/qwq-32b-preview/defects4j/patches/Chart-1/non_compilable/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,47 @@ | ||
diff --git a/tmp/316ef063-6814-4fdb-9c4d-610e7f542ffe_buggy.java b/tmp/b0869028-26ab-4071-b21e-9777cfe48cba_fixed.java | ||
index 114ff20..978332c 100644 | ||
--- a/tmp/316ef063-6814-4fdb-9c4d-610e7f542ffe_buggy.java | ||
+++ b/tmp/b0869028-26ab-4071-b21e-9777cfe48cba_fixed.java | ||
@@ -1,41 +1,9 @@ | ||
- /** | ||
- * 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; | ||
} | ||
\ No newline at end of file | ||
- 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; | ||
- } |
47 changes: 47 additions & 0 deletions
47
results/qwq-32b-preview/defects4j/patches/Chart-1/non_compilable/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,47 @@ | ||
diff --git a/tmp/6a82df82-a088-4310-8bcb-5a1eb065b531_buggy.java b/tmp/03951ea1-e362-45ce-9f64-5afe14f2a201_fixed.java | ||
index 114ff20..ed5b9ec 100644 | ||
--- a/tmp/6a82df82-a088-4310-8bcb-5a1eb065b531_buggy.java | ||
+++ b/tmp/03951ea1-e362-45ce-9f64-5afe14f2a201_fixed.java | ||
@@ -1,41 +1,4 @@ | ||
- /** | ||
- * 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; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
\ No newline at end of file | ||
- 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; | ||
- } |
47 changes: 47 additions & 0 deletions
47
results/qwq-32b-preview/defects4j/patches/Chart-1/non_compilable/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,47 @@ | ||
diff --git a/tmp/6fa581e4-ace2-4a6d-b9f0-6bac935c9faa_buggy.java b/tmp/bb84ab33-0a7d-4878-9284-debb10f5b76e_fixed.java | ||
index 114ff20..ed5b9ec 100644 | ||
--- a/tmp/6fa581e4-ace2-4a6d-b9f0-6bac935c9faa_buggy.java | ||
+++ b/tmp/bb84ab33-0a7d-4878-9284-debb10f5b76e_fixed.java | ||
@@ -1,41 +1,4 @@ | ||
- /** | ||
- * 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; | ||
} | ||
int seriesCount = dataset.getRowCount(); | ||
\ No newline at end of file | ||
- 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; | ||
- } |
50 changes: 50 additions & 0 deletions
50
results/qwq-32b-preview/defects4j/patches/Chart-1/non_compilable/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,50 @@ | ||
diff --git a/tmp/c891c9bc-ee3c-47d4-b8b9-edf2fafad962_buggy.java b/tmp/3544574f-6798-4f52-97b9-6524174ed02c_fixed.java | ||
index 114ff20..326fc82 100644 | ||
--- a/tmp/c891c9bc-ee3c-47d4-b8b9-edf2fafad962_buggy.java | ||
+++ b/tmp/3544574f-6798-4f52-97b9-6524174ed02c_fixed.java | ||
@@ -1,41 +1,8 @@ | ||
- /** | ||
- * 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; | ||
+ | ||
} | ||
+ | ||
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; | ||
- } |
Oops, something went wrong.