-
Notifications
You must be signed in to change notification settings - Fork 2
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
d5c0fd4
commit a88cb1e
Showing
6,892 changed files
with
413,108 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/codestral-2501/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
...s_defects4j_instruct_mistral_model_name=codestral-2501_temperature=1.0_n_samples=10.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
results/codestral-2501/defects4j/costs_defects4j_instruct_mistral.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.13802489999999998, | ||
"completion_cost": 1.8111222000000016, | ||
"total_cost": 1.9491471000000016, | ||
"provider": "mistral" | ||
} |
835 changes: 835 additions & 0 deletions
835
results/codestral-2501/defects4j/evaluation_defects4j_instruct_mistral.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
results/codestral-2501/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/178b394f-78cf-4fe8-9a87-1d389c06435b_buggy.java b/tmp/6f54de88-cd92-41d7-8a34-a260bc8ed8a0_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/178b394f-78cf-4fe8-9a87-1d389c06435b_buggy.java | ||
+++ b/tmp/6f54de88-cd92-41d7-8a34-a260bc8ed8a0_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/codestral-2501/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,49 @@ | ||
diff --git a/tmp/1a3f2980-74c3-4c71-a86c-b6b44dc99660_buggy.java b/tmp/03c8fbea-a001-4de8-baca-2493a4c01519_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/1a3f2980-74c3-4c71-a86c-b6b44dc99660_buggy.java | ||
+++ b/tmp/03c8fbea-a001-4de8-baca-2493a4c01519_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/codestral-2501/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,49 @@ | ||
diff --git a/tmp/10928a99-2f1d-4981-a79c-b0ca4cc25808_buggy.java b/tmp/d73e1aed-b931-4380-ba6a-f0076507125b_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/10928a99-2f1d-4981-a79c-b0ca4cc25808_buggy.java | ||
+++ b/tmp/d73e1aed-b931-4380-ba6a-f0076507125b_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/codestral-2501/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,49 @@ | ||
diff --git a/tmp/8b5e5a84-7bfa-4ac4-aca8-3387ff9f2cf2_buggy.java b/tmp/3dd0fe3d-e592-4bc3-8a44-8c6ad387adb9_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/8b5e5a84-7bfa-4ac4-aca8-3387ff9f2cf2_buggy.java | ||
+++ b/tmp/3dd0fe3d-e592-4bc3-8a44-8c6ad387adb9_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/codestral-2501/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/78dabd27-8f7a-4a70-88a5-e9e968c55c3f_buggy.java b/tmp/fce6dbe0-ceee-40f2-85be-0554929b60c0_fixed.java | ||
index 114ff20..ce5dafa 100644 | ||
--- a/tmp/78dabd27-8f7a-4a70-88a5-e9e968c55c3f_buggy.java | ||
+++ b/tmp/fce6dbe0-ceee-40f2-85be-0554929b60c0_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 |
49 changes: 49 additions & 0 deletions
49
results/codestral-2501/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/bae32538-c46e-4e74-8900-58fb8cd8577f_buggy.java b/tmp/954df163-1d11-4716-81c2-17bd5838cdaf_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/bae32538-c46e-4e74-8900-58fb8cd8577f_buggy.java | ||
+++ b/tmp/954df163-1d11-4716-81c2-17bd5838cdaf_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/codestral-2501/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/269ad0eb-c0e8-4727-9e7d-647204a51161_buggy.java b/tmp/994c4178-a6ae-42f7-b4d8-cc878b3a8419_fixed.java | ||
index 114ff20..f8ed25f 100644 | ||
--- a/tmp/269ad0eb-c0e8-4727-9e7d-647204a51161_buggy.java | ||
+++ b/tmp/994c4178-a6ae-42f7-b4d8-cc878b3a8419_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 |
Oops, something went wrong.