Skip to content

Commit b5ef9e8

Browse files
committed
there were small syntax errors for chatgpt3.5 for 4 files, LhjSizeModeFor72B, LhjSizeModeFor76D, OrderBxgServiceImp, CopyListWithRandomPointer, and OrderBxgFdwServiceImp (the last one was deleted, the other files had one too many commas in method declaration parameters)
1 parent 39e7e4f commit b5ef9e8

File tree

6 files changed

+10
-68
lines changed

6 files changed

+10
-68
lines changed

GPT - Rewrite/ChatGPT3.5/No Format/newweb/newweb/LhjSizeModeFor728.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class LhjSizeModeFor728 implements LhjSizemode {
99
private int bfCount;
1010
// ... (other fields)
1111

12-
public LhjSizeModeFor728(String type, double sxhLength, int sxhCount, double bfLength, int bfCount, /* other parameters */) {
12+
public LhjSizeModeFor728(String type, double sxhLength, int sxhCount, double bfLength, int bfCount /* other parameters */) {
1313
this.type = type;
1414
this.sxhLength = sxhLength;
1515
this.sxhCount = sxhCount;

GPT - Rewrite/ChatGPT3.5/No Format/newweb/newweb/LhjSizeModeFor76D.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class LhjSizeModeFor76D implements LhjSizemode {
88
// ... (other fields)
99

1010
// Constructors
11-
public LhjSizeModeFor76D(String type, double sxhLength, int sxhCount, /* other parameters */) {
11+
public LhjSizeModeFor76D(String type, double sxhLength, int sxhCount /* other parameters */) {
1212
this.type = type;
1313
this.sxhLength = sxhLength;
1414
this.sxhCount = sxhCount;

GPT - Rewrite/ChatGPT3.5/No Format/newweb/newweb/OrderBxgFdwServiceImp.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

GPT - Rewrite/ChatGPT3.5/No Format/newweb/newweb/OrderBxgServiceImp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.HashMap;
77
import java.util.List;
88
import java.util.Map;
9+
import java.util.StringBuilder;
910

1011
import javax.swing.JOptionPane;
1112

@@ -24,7 +25,7 @@
2425
import com.newweb.util.FileUtil;
2526

2627
@Component("orderBxgService")
27-
public class OrderBxgServiceImp implements OrderBxgService {
28+
public class OrderBxgServiceImp {
2829

2930
@Autowired
3031
private OrderBxgDao orderBxgDao;

GPT - Rewrite/ChatGPT3.5/Reformat/applewjg/master/CopyListwithRandomPointer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,6 @@ public RandomListNode copyRandomList_4(RandomListNode head) {
8585
if (head == null) return null;
8686
HashMap<RandomListNode, RandomListNode> map = new HashMap<>();
8787
Queue<RandomListNode> queue = new LinkedList<>();
88-
q
88+
return head;
89+
}
90+
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h3 align="center">GPT Java Source Code Dataset</h3>
1111

1212
<p align="center">
13-
A dataset composed of 977 total Java source code files from 11 authors' GitHub pages and ChatGPT 3.5 and BingGPT rewritten code for code classification.
13+
A dataset composed of 976 total Java source code files from 11 authors' GitHub pages and ChatGPT 3.5 and BingGPT rewritten code for code classification.
1414
<br />
1515
<a href="https://github.com/tipaek/GPTJavaDataset"><strong>Explore the files »</strong></a>
1616
<br />
@@ -65,10 +65,10 @@ Of course, there are limitations to this dataset as code classification by an LL
6565
### Composition
6666

6767
Here's a breakdown of the files in this dataset:
68-
* 977 total files
68+
* 976 total files
6969
* 666 files of original authors
7070
* 108 rewritten files using Bing GPT-4 (61 formatted, 47 non-formatted)
71-
* 203 rewritten files using ChatGPT-3.5 (59 formatted, 144 non-formatted)
71+
* 202 rewritten files using ChatGPT-3.5 (59 formatted, 143 non-formatted)
7272

7373
### Installation
7474

0 commit comments

Comments
 (0)