Column1 stringlengths 4 8 | content stringlengths 380 11.7k | repo stringlengths 10 67 | path stringlengths 13 123 | token_length int64 159 3.55k | original_comment stringlengths 17 756 | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 315 11.6k | file-tokens-Qwen/CodeQwen1.5-7B int64 153 3.71k | comment-tokens-Qwen/CodeQwen1.5-7B int64 11 390 | comment_tail_length_Qwen/CodeQwen1.5-7B int64 4 350 | file-tokens-bigcode/starcoder2-7b int64 159 3.55k | comment-tokens-bigcode/starcoder2-7b int64 14 574 | comment_tail_length_bigcode/starcoder2-7b int64 0 447 | file-tokens-google/codegemma-7b int64 124 3.15k | comment-tokens-google/codegemma-7b int64 7 246 | comment_tail_length_google/codegemma-7b int64 4 205 | file-tokens-ibm-granite/granite-8b-code-base int64 159 3.54k | comment-tokens-ibm-granite/granite-8b-code-base int64 14 570 | comment_tail_length_ibm-granite/granite-8b-code-base int64 0 443 | file-tokens-meta-llama/CodeLlama-7b-hf int64 176 4.05k | comment-tokens-meta-llama/CodeLlama-7b-hf int64 16 632 | comment_tail_length_meta-llama/CodeLlama-7b-hf int64 6 508 | excluded-based-on-tokenizer-Qwen/CodeQwen1.5-7B bool 2
classes | excluded-based-on-tokenizer-bigcode/starcoder2-7b bool 2
classes | excluded-based-on-tokenizer-google/codegemma-7b bool 2
classes | excluded-based-on-tokenizer-ibm-granite/granite-8b-code-base bool 2
classes | excluded-based-on-tokenizer-meta-llama/CodeLlama-7b-hf bool 2
classes | include-for-inference bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9063_3 | package javaproject;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class StudentFrame extends JFrame
{
private ArrayList<Student> mstudents=new ArrayList<Student>();
p... | AlexandrosPanag/My_Java_Projects | Lesson Enrollment Project/StudentFrame.java | 1,453 | //Φτιάχνοντας το StudentFrame
| line_comment | el | package javaproject;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class StudentFrame extends JFrame
{
private ArrayList<Student> mstudents=new ArrayList<Student>();
p... | 1,792 | 13 | 11 | 1,453 | 18 | 14 | 1,456 | 10 | 8 | 1,451 | 18 | 14 | 1,813 | 18 | 15 | false | false | false | false | false | true |
1027_3 | package api;
import java.io.Serializable;
import java.time.LocalDate;
/**
* Η κλάση αυτή αναπαριστά μια αξιολόγηση ενός καταλύματος
* @author Anestis Zotos
*/
public class Evaluation implements Serializable {
private String txt_eval; //αξιολόγηση σε μορφή κειμένου
private double num_eval; ... | AnestisZotos/Accommodations-rating-platform | api/Evaluation.java | 387 | //ημερομηνία τελευταίας(πιο πρόσφατης)αξιολόγησης
| line_comment | el | package api;
import java.io.Serializable;
import java.time.LocalDate;
/**
* Η κλάση αυτή αναπαριστά μια αξιολόγηση ενός καταλύματος
* @author Anestis Zotos
*/
public class Evaluation implements Serializable {
private String txt_eval; //αξιολόγηση σε μορφή κειμένου
private double num_eval; ... | 448 | 35 | 31 | 387 | 48 | 42 | 385 | 23 | 19 | 387 | 48 | 42 | 496 | 49 | 43 | false | false | false | false | false | true |
1073_22 | /*
Όνομα: Άγγελος Τζώρτζης
Α.Μ.: ice18390094
*/
package netprog_project;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BankAcc... | Angelos-Tzortzis/University | Netprog_Project/src/java/netprog_project/BankAccountDao.java | 3,067 | // Εντολή SQL για την εμφάνιση όλων των στοιχείων της εγγραφής του αριθμού λογαριασμού.
| line_comment | el | /*
Όνομα: Άγγελος Τζώρτζης
Α.Μ.: ice18390094
*/
package netprog_project;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class BankAcc... | 3,098 | 46 | 43 | 3,067 | 74 | 65 | 2,391 | 32 | 30 | 3,058 | 74 | 65 | 3,718 | 82 | 69 | false | false | false | false | false | true |
3664_6 | package com.RapidPharma;
import java.util.*;
import java.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import javax.swing.*;
import java.sql.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.RapidPharma.lista_aitima;
public class Dromologhths extends xristi... | Asbaharoon/java-project | java_src/dromologhths.java | 3,551 | //Το κομμάτι του αιτήματος που θα δρομολογεί τώρα (αυτό που μένει και δεν ανακατευθύνθηκε)
| line_comment | el | package com.RapidPharma;
import java.util.*;
import java.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import javax.swing.*;
import java.sql.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.RapidPharma.lista_aitima;
public class Dromologhths extends xristi... | 3,714 | 53 | 50 | 3,551 | 78 | 64 | 2,909 | 34 | 31 | 3,541 | 77 | 63 | 4,053 | 85 | 72 | false | false | false | false | false | true |
46342_6 | package gr.aueb.dmst.pijavaparty.proderp.dao;
import gr.aueb.dmst.pijavaparty.proderp.entity.COrderItem;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.... | AthinaDavari/JavaAssignment | proderp/src/main/java/gr/aueb/dmst/pijavaparty/proderp/dao/COrderItemDao.java | 1,340 | //εδω τι θα μπει; | line_comment | el | package gr.aueb.dmst.pijavaparty.proderp.dao;
import gr.aueb.dmst.pijavaparty.proderp.entity.COrderItem;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.... | 1,631 | 12 | 10 | 1,340 | 14 | 10 | 1,398 | 8 | 6 | 1,340 | 14 | 10 | 1,608 | 16 | 11 | false | false | false | false | false | true |
5767_2 | import java.util.Scanner;
public class friday13 {
public static void main(String[] args) {
Scanner input =new Scanner(System.in);
System.out.println("Single or Multiple year input ?");
System.out.println("For single year input press (s)");
System.out.println("For multiple year input press (m)");
w... | Bilkouristas/Friday13th | Friday13finder/src/friday13.java | 1,761 | // προσθετη αυτα που εβγαλε λαθος η προηγουμενη εντολη
| line_comment | el | import java.util.Scanner;
public class friday13 {
public static void main(String[] args) {
Scanner input =new Scanner(System.in);
System.out.println("Single or Multiple year input ?");
System.out.println("For single year input press (s)");
System.out.println("For multiple year input press (m)");
w... | 1,750 | 32 | 29 | 1,761 | 45 | 41 | 1,597 | 22 | 20 | 1,759 | 45 | 41 | 2,221 | 52 | 43 | false | false | false | false | false | true |
5147_8 | /*
* This file is part of CoAnSys project.
* Copyright (c) 2012-2015 ICM-UW
*
* CoAnSys is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | CeON/CoAnSys | document-similarity/document-similarity-logic/src/main/java/pl/edu/icm/coansys/similarity/pig/udf/ExtendedStemmedPairs.java | 1,966 | // String text = "Μεταφορά τεχνολογίας : " + "παράγων αναπτύξεως ή μέσον " | line_comment | el | /*
* This file is part of CoAnSys project.
* Copyright (c) 2012-2015 ICM-UW
*
* CoAnSys is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | 2,078 | 42 | 33 | 1,966 | 57 | 41 | 1,851 | 31 | 22 | 1,966 | 57 | 41 | 2,342 | 57 | 44 | false | false | false | false | false | true |
2751_2 | import java.util.concurrent.Semaphore;
public class Buffer{
private int[] contents;
private final int unlimited;
private int front, back;
private int counter = 0;
private Semaphore mutexPut = new Semaphore(1);
private Semaphore mutexGet = new Semaphore(0);
// Constructor
public Buffer(int s) {
t... | ChristosPts/University-of-Macedonia | Parallel and Distributed Computing/Lab7/SemBufferUnlimited/Buffer.java | 579 | //δινει σημα σε καταναλωτες οτι εχει αντικειμενο να παρουν
| line_comment | el | import java.util.concurrent.Semaphore;
public class Buffer{
private int[] contents;
private final int unlimited;
private int front, back;
private int counter = 0;
private Semaphore mutexPut = new Semaphore(1);
private Semaphore mutexGet = new Semaphore(0);
// Constructor
public Buffer(int s) {
t... | 582 | 32 | 30 | 579 | 51 | 45 | 508 | 25 | 23 | 576 | 50 | 44 | 684 | 57 | 48 | false | false | false | false | false | true |
3485_9 | package application;
import javafx.scene.control.ListView;
import javafx.scene.layout.VBox;
import java.util.List;
import com.example.Country;
import com.example.CountryLibrary;
public class CountriesResult extends VBox {
public CountriesResult(int option, String SearchTerm) {
// Δημιουργία της λίστα... | DimitrisManolopoulos/Countries-App | src/application/CountriesResult.java | 827 | // Εδώ δεν υλοποιώ κάτι για την 5η επιλογή καθώς η υλοποίηση της είναι στη Main | line_comment | el | package application;
import javafx.scene.control.ListView;
import javafx.scene.layout.VBox;
import java.util.List;
import com.example.Country;
import com.example.CountryLibrary;
public class CountriesResult extends VBox {
public CountriesResult(int option, String SearchTerm) {
// Δημιουργία της λίστα... | 767 | 43 | 39 | 827 | 70 | 48 | 580 | 29 | 25 | 822 | 70 | 48 | 944 | 74 | 58 | false | false | false | false | false | true |
23225_3 | import java.util.Scanner;
public class DNAPalindrome {
public static StringDoubleEndedQueueImpl CreateQ(String DNAseq){
StringDoubleEndedQueueImpl s = new StringDoubleEndedQueueImpl();
char[] charArray = DNAseq.toCharArray();
for (int i = 0; i < charArray.... | FANISPAP123/Data-Structure | DS23-project1/DNAPalindrome.java | 715 | // Ελέγχουμε αν ο χαρακτήρας είναι ένα από τα έγκυρα A, T, C, G (πεζά γράμματα).
| line_comment | el | import java.util.Scanner;
public class DNAPalindrome {
public static StringDoubleEndedQueueImpl CreateQ(String DNAseq){
StringDoubleEndedQueueImpl s = new StringDoubleEndedQueueImpl();
char[] charArray = DNAseq.toCharArray();
for (int i = 0; i < charArray.... | 891 | 50 | 44 | 715 | 69 | 48 | 776 | 34 | 28 | 715 | 69 | 48 | 943 | 72 | 57 | false | false | false | false | false | true |
19290_16 | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
//Create arraylist of doctors
ArrayList<Doctor> doctors = ... | GTGH-accenture-uom-2/Team4-part1 | src/main/java/org/example/Main.java | 3,081 | //Εμβολιασμούς κάθε γιατρός για όλους τους γιατρούς | line_comment | el | package org.example;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
//Create arraylist of doctors
ArrayList<Doctor> doctors = ... | 3,049 | 29 | 28 | 3,081 | 47 | 36 | 2,945 | 20 | 19 | 3,050 | 47 | 36 | 3,370 | 50 | 43 | false | false | false | false | false | true |
20353_5 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package SoftwareEngineering;
import java.time.LocalDateTime;
import java.util.ArrayList;
/**
*
* @author DeRed
*/
... | GiannisP97/Medical_office_2018 | Medical_office/src/SoftwareEngineering/Schedule.java | 411 | // ΕΙΣΑΓΩΓΗ ΤΟΥ ΡΑΝΤΕΒΟΥ ΕΦΟΣΟΝ ΓΙΝΕΤΕ
| line_comment | el | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package SoftwareEngineering;
import java.time.LocalDateTime;
import java.util.ArrayList;
/**
*
* @author DeRed
*/
... | 390 | 34 | 31 | 411 | 64 | 0 | 321 | 24 | 22 | 410 | 64 | 0 | 408 | 38 | 31 | false | false | false | false | false | true |
2320_1 | package thesis;
import java.io.File;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Scanner;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
/**
* @author Nektarios Gkouvousis
* @author ice18390193
*
* Η κλάση Defi... | Gouvo7/Exam-Schedule-Creator | src/thesis/Definitions.java | 2,645 | /**
* Έναρξη της διαδικασίας εκκίνησης του προγράμματος. Ελέγχεται εάν το αρχείο
* ρυθμίσεων υπάρχει και εκκινεί την εφαρμογή ανάλογα με την ύπαρξή του. Σε
* περίπτωση που δεν υπάρχει, το πρόγραμμα θα καλωσορίσει τον χρήστη στην εφαρμογή
* και θα τον παροτρύνει να ορίσει έναν φάκελο ως workind dire... | block_comment | el | package thesis;
import java.io.File;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Scanner;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
/**
* @author Nektarios Gkouvousis
* @author ice18390193
*
* Η κλάση Defi... | 2,561 | 179 | 154 | 2,645 | 260 | 207 | 2,102 | 118 | 96 | 2,642 | 260 | 207 | 3,067 | 293 | 231 | false | false | false | false | false | true |
44559_1 | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/Servlet.java to edit this template
*/
package Asteras;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
imp... | IliasAlex/Asteras | src/java/Asteras/CosSim.java | 1,709 | /**
*
* @author Ηλίας
*/ | block_comment | el | /*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/Servlet.java to edit this template
*/
package Asteras;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
imp... | 2,118 | 16 | 4 | 1,709 | 15 | 5 | 1,848 | 13 | 4 | 1,709 | 15 | 5 | 2,104 | 18 | 6 | false | false | false | false | false | true |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3