Skip to content

Commit

Permalink
add qwen-2.5-coder-32b-instruct
Browse files Browse the repository at this point in the history
  • Loading branch information
andre15silva committed Nov 13, 2024
1 parent ef7175a commit 3f6cfd0
Show file tree
Hide file tree
Showing 6,791 changed files with 511,223 additions and 24 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
480 changes: 480 additions & 0 deletions results/qwen-2.5-coder-32b-instruct/defects4j/bugs_with_candidates.txt

Large diffs are not rendered by default.

484 changes: 484 additions & 0 deletions results/qwen-2.5-coder-32b-instruct/defects4j/bugs_with_prompt.txt

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"prompt_cost": 0.8978351999999973,
"completion_cost": 0.7265338000000013,
"total_cost": 1.6243689999999986,
"provider": "openrouter"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/9dabe1ba-ecbf-4ddf-96f0-c064c8c948ae_buggy.java b/tmp/1726197e-2e0a-44ca-922e-05a481c712c6_fixed.java
index 114ff20..ce5dafa 100644
--- a/tmp/9dabe1ba-ecbf-4ddf-96f0-c064c8c948ae_buggy.java
+++ b/tmp/1726197e-2e0a-44ca-922e-05a481c712c6_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/8673a2b8-5794-4eae-b353-3f0591fd7c4e_buggy.java b/tmp/479672cc-cb04-4b7f-8346-8d4e6168fbad_fixed.java
index 114ff20..ce5dafa 100644
--- a/tmp/8673a2b8-5794-4eae-b353-3f0591fd7c4e_buggy.java
+++ b/tmp/479672cc-cb04-4b7f-8346-8d4e6168fbad_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/9bf38715-9a77-40a0-82ca-1dab2aa153bf_buggy.java b/tmp/575f2738-8d1a-42e2-8ba0-faa9f0bb3bc3_fixed.java
index 114ff20..ce5dafa 100644
--- a/tmp/9bf38715-9a77-40a0-82ca-1dab2aa153bf_buggy.java
+++ b/tmp/575f2738-8d1a-42e2-8ba0-faa9f0bb3bc3_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/a7b22687-31ff-4a98-b092-dd73bf918ab5_buggy.java b/tmp/b2e8ab6e-3551-433f-b983-f1bf77da1390_fixed.java
index 114ff20..ce5dafa 100644
--- a/tmp/a7b22687-31ff-4a98-b092-dd73bf918ab5_buggy.java
+++ b/tmp/b2e8ab6e-3551-433f-b983-f1bf77da1390_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/fc678100-77b7-44de-ad1f-dc9a6299c88b_buggy.java b/tmp/95564c29-4e23-455f-af63-869dcb7c902a_fixed.java
index 114ff20..504fd52 100644
--- a/tmp/fc678100-77b7-44de-ad1f-dc9a6299c88b_buggy.java
+++ b/tmp/95564c29-4e23-455f-af63-869dcb7c902a_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/tmp/7870b4e7-0050-43eb-ab0b-f38433c37cf6_buggy.java b/tmp/4d7499a0-0c64-41db-90f1-d24a8d70ee0a_fixed.java
index 114ff20..ce5dafa 100644
--- a/tmp/7870b4e7-0050-43eb-ab0b-f38433c37cf6_buggy.java
+++ b/tmp/4d7499a0-0c64-41db-90f1-d24a8d70ee0a_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
diff --git a/tmp/81d44c6a-dd54-428b-a999-c811eaa321db_buggy.java b/tmp/f6004225-924b-4ad2-96a3-400de679428d_fixed.java
index 114ff20..4732cd1 100644
--- a/tmp/81d44c6a-dd54-428b-a999-c811eaa321db_buggy.java
+++ b/tmp/f6004225-924b-4ad2-96a3-400de679428d_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
Loading

0 comments on commit 3f6cfd0

Please sign in to comment.