index int64 130 4.67k | file_id stringlengths 6 9 | content stringlengths 407 11.9k | repo stringlengths 11 72 | path stringlengths 11 133 | token_length int64 146 3.59k | original_comment stringlengths 17 507 | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 362 11.8k | Inclusion stringclasses 1
value | Exclusion stringclasses 1
value | __index_level_0__ int64 1.95k 2.15k | file-tokens-Qwen/CodeQwen1.5-7B int64 146 3.59k | comment-tokens-Qwen/CodeQwen1.5-7B int64 6 144 | comment_tail_length_Qwen/CodeQwen1.5-7B int64 4 101 | file-tokens-bigcode/starcoder2-7b int64 141 3.69k | comment-tokens-bigcode/starcoder2-7b int64 7 145 | comment_tail_length_bigcode/starcoder2-7b int64 5 104 | file-tokens-google/codegemma-7b int64 130 3.6k | comment-tokens-google/codegemma-7b int64 5 125 | comment_tail_length_google/codegemma-7b int64 3 82 | file-tokens-ibm-granite/granite-8b-code-base int64 141 3.69k | comment-tokens-ibm-granite/granite-8b-code-base int64 7 145 | comment_tail_length_ibm-granite/granite-8b-code-base int64 5 104 | file-tokens-meta-llama/CodeLlama-7b-hf int64 146 3.96k | comment-tokens-meta-llama/CodeLlama-7b-hf int64 7 161 | comment_tail_length_meta-llama/CodeLlama-7b-hf int64 5 106 | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
882 | 111092_3 | package nl.hva.ict.data.MongoDB;
import com.mongodb.MongoException;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import nl.hva.ict.MainApplication;
import nl.hva.ict.data.Data;
import org.bson.Document... | JuniorBrPr/DB2V2 | src/nl/hva/ict/data/MongoDB/MongoDB.java | 477 | // Verbind alleen als er nog geen actieve verbinding is. | line_comment | nl | package nl.hva.ict.data.MongoDB;
import com.mongodb.MongoException;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import nl.hva.ict.MainApplication;
import nl.hva.ict.data.Data;
import org.bson.Document... | True | False | 1,952 | 477 | 14 | 12 | 392 | 17 | 15 | 401 | 13 | 11 | 392 | 17 | 15 | 455 | 15 | 13 | false | false | false | false | false | true |
1,899 | 88062_9 | package bin.model;
import java.util.List;
import bin.logic.Field;
import bin.logic.Location;
/**
* A simple model of a grass.
* Grasss age, move, breed, and die.
*
* @author Ieme, Jermo, Yisong
* @version 2012.01.29
*/
public class Grass extends Plant
{
// Characteristics shared by all grass (class vari... | X08/Vossen-en-Konijnen | bin/model/Grass.java | 1,593 | /**
* Zorgt er voor dat er geen nakomeling worden geboren als er te weinig voesel zijn.
* @return true als genoeg voedsel zijn
* @return false als niet genoeg voedsel zijn
*/ | block_comment | nl | package bin.model;
import java.util.List;
import bin.logic.Field;
import bin.logic.Location;
/**
* A simple model of a grass.
* Grasss age, move, breed, and die.
*
* @author Ieme, Jermo, Yisong
* @version 2012.01.29
*/
public class Grass extends Plant
{
// Characteristics shared by all grass (class vari... | True | False | 1,957 | 1,593 | 56 | 40 | 1,441 | 60 | 48 | 1,486 | 49 | 33 | 1,443 | 60 | 48 | 1,646 | 60 | 44 | false | false | false | false | false | true |
3,043 | 70446_1 | package ap.be.backend.security.jwt;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.... | iDeebSee/LEAP | backend/src/main/java/ap/be/backend/security/jwt/AuthTokenFilter.java | 845 | /**
* Controleert of de gebruiker en token bij elkaar horen.
* @param request interface dat wordt gebruikt om authenticatie details aan te vragen.
* @param response interface dat wordt gebruikt om HTTP specifieke functionaliteiten binnen te krijgen.
* @param filterChain vuurt de volgende filter in... | block_comment | nl | package ap.be.backend.security.jwt;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.... | True | False | 1,962 | 845 | 132 | 96 | 724 | 129 | 102 | 731 | 118 | 82 | 724 | 129 | 102 | 839 | 142 | 106 | true | false | true | false | true | false |
348 | 56970_2 | /*
* Commons eID Project.
* Copyright (C) 2008-2013 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be usef... | Corilus/commons-eid | commons-eid-consumer/src/main/java/be/fedict/commons/eid/consumer/DocumentType.java | 1,169 | /**
* Bewijs van inschrijving in het vreemdelingenregister ??? Tijdelijk
* verblijf
*/ | block_comment | nl | /*
* Commons eID Project.
* Copyright (C) 2008-2013 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be usef... | True | False | 1,967 | 1,169 | 33 | 21 | 1,108 | 32 | 24 | 1,073 | 27 | 16 | 1,108 | 32 | 24 | 1,275 | 34 | 22 | false | false | false | false | false | true |
307 | 97783_17 | /**
* Copyright (C) 2012 GridLine <info@gridline.nl>
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under th... | CatchPlus/User-Profile-Repository | upr-api/src/main/java/nl/gridline/model/upr/Visit.java | 2,436 | // URL waarop actie is uitgevoerd | line_comment | nl | /**
* Copyright (C) 2012 GridLine <info@gridline.nl>
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under th... | True | False | 1,970 | 2,436 | 10 | 9 | 2,244 | 11 | 10 | 2,281 | 6 | 5 | 2,244 | 11 | 10 | 2,671 | 11 | 10 | false | false | false | false | false | true |
1,336 | 83193_1 | package customComponents;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
p... | ProjectgroepA8/BroBot | gui/customComponents/Filehandling.java | 1,100 | //route file schrijven | line_comment | nl | package customComponents;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
p... | True | False | 1,971 | 1,100 | 6 | 4 | 931 | 7 | 5 | 954 | 5 | 3 | 931 | 7 | 5 | 1,150 | 7 | 5 | false | false | false | false | false | true |
1,863 | 71894_2 | package Domain.Task;
import Domain.DataClasses.Time;
import Domain.User.Role;
import Domain.User.User;
import Domain.User.UserAlreadyAssignedToTaskException;
/**
* Task state class governing the task transitions from the PENDING state
*/
public class PendingState implements TaskState {
@Override
public voi... | WardGr/SWOP | src/Domain/Task/PendingState.java | 522 | // terug available wordt bij het verwijderen van deze | line_comment | nl | package Domain.Task;
import Domain.DataClasses.Time;
import Domain.User.Role;
import Domain.User.User;
import Domain.User.UserAlreadyAssignedToTaskException;
/**
* Task state class governing the task transitions from the PENDING state
*/
public class PendingState implements TaskState {
@Override
public voi... | True | False | 1,972 | 522 | 13 | 12 | 447 | 13 | 12 | 477 | 9 | 8 | 447 | 13 | 12 | 529 | 12 | 11 | false | false | false | false | false | true |
1,255 | 62851_21 | /*_x000D_
* To change this license header, choose License Headers in Project Properties._x000D_
* To change this template file, choose Tools | Templates_x000D_
* and open the template in the editor._x000D_
*/_x000D_
package conversion.pdf.util;_x000D_
_x000D_
import java.io.ByteArrayInputStream;_x000D_
import java.... | OpenWebslides/conversion-tool | WebslideConversionLib/src/conversion/pdf/util/PDFTextExtractor.java | 2,619 | /*Hier wordt onderzocht welke soort delimiter je hebt, is het een ander teken dan gewone tekst dan splits je daarop ook...*/ | block_comment | nl | /*_x000D_
* To change this license header, choose License Headers in Project Properties._x000D_
* To change this template file, choose Tools | Templates_x000D_
* and open the template in the editor._x000D_
*/_x000D_
package conversion.pdf.util;_x000D_
_x000D_
import java.io.ByteArrayInputStream;_x000D_
import java.... | True | False | 1,976 | 3,519 | 35 | 31 | 3,691 | 39 | 35 | 3,599 | 28 | 24 | 3,691 | 39 | 35 | 3,963 | 36 | 32 | false | false | false | false | false | true |
1,865 | 19764_4 | import java.util.Scanner;
import java.util.*;
public class Main {
static class Metingen {
String linkerSchaal, rechterSchaal, weegResul;
Metingen(String linkerSchaalC, String rechterSchaalC, String weegResulC){
this.linkerSchaal=linkerSchaalC;
this.rechterSchaal=rechterSchaalC;
this.weegResul=weegResu... | Waterboy1602/DatastructurenEnAlgoritmen_VPW | ValsGeld/src/Main.java | 1,993 | //Of de munt is rechts en de schaal gaat naar boven ==> lichter | line_comment | nl | import java.util.Scanner;
import java.util.*;
public class Main {
static class Metingen {
String linkerSchaal, rechterSchaal, weegResul;
Metingen(String linkerSchaalC, String rechterSchaalC, String weegResulC){
this.linkerSchaal=linkerSchaalC;
this.rechterSchaal=rechterSchaalC;
this.weegResul=weegResu... | True | False | 1,985 | 1,993 | 18 | 15 | 1,904 | 24 | 22 | 1,741 | 16 | 14 | 1,904 | 24 | 22 | 2,195 | 20 | 18 | false | false | false | false | false | true |
747 | 55362_0 | package main.application;
/**
* De schimmel F. ellipsoidea wordt erg groot. De fibonacci reeks bepaald het aantal
* centimeters dat de schimmel dagelijks in diameter toeneemt.
* Bereken de omtrek van de schimmel na 1000 dagen groeien.
* Antwoord in centimeters en gebruik de wetenschappelijke notatie,
* rond af o... | Igoranze/Martyrs-mega-project-list | tweakers-devv-contest/src/main/application/VraagQuattro.java | 396 | /**
* De schimmel F. ellipsoidea wordt erg groot. De fibonacci reeks bepaald het aantal
* centimeters dat de schimmel dagelijks in diameter toeneemt.
* Bereken de omtrek van de schimmel na 1000 dagen groeien.
* Antwoord in centimeters en gebruik de wetenschappelijke notatie,
* rond af op 4 cijfers achter de komm... | block_comment | nl | package main.application;
/**
* De schimmel F.<SUF>*/
public class VraagQuattro {
public static void main(String[] args) {
double a = 0;
double b = 1;
double c = 0;
double d = 2;
for (int i = 3; i <= 1000; i++) {
c = a + b;
d += c;
a = b;
b = c;
}
System.out.println(formatToString(d*Math... | True | False | 1,989 | 396 | 117 | 83 | 405 | 135 | 97 | 376 | 101 | 61 | 405 | 135 | 97 | 439 | 125 | 85 | false | true | false | true | false | false |
3,128 | 13751_3 | package afvink3;
/**
* Race class
* Class Race maakt gebruik van de class Paard
*
* @author Martijn van der Bruggen
* @version alpha - aanroep van cruciale methodes ontbreekt
* (c) 2009 Hogeschool van Arnhem en Nijmegen
*
* Note: deze code is bewust niet op alle punten generiek
* dit om nog onbekende construc... | itbc-bin/1819-owe5a-afvinkopdracht3-Casvanrijbroek | afvink3/Race.java | 2,009 | /* (2) Declareer hier h1, h2, h3, h4 van het type Paard
* Deze paarden instantieer je later in het programma
*/ | block_comment | nl | package afvink3;
/**
* Race class
* Class Race maakt gebruik van de class Paard
*
* @author Martijn van der Bruggen
* @version alpha - aanroep van cruciale methodes ontbreekt
* (c) 2009 Hogeschool van Arnhem en Nijmegen
*
* Note: deze code is bewust niet op alle punten generiek
* dit om nog onbekende construc... | True | False | 1,994 | 2,009 | 44 | 26 | 1,856 | 41 | 25 | 1,804 | 41 | 23 | 1,856 | 41 | 25 | 2,044 | 42 | 24 | false | false | false | false | false | true |
1,503 | 39015_0 | /*
- De private functies die doen een operatie van source naar destination,
waarna destination de nieuwe fileWriter is.
- De public tegenhangers kopieren de file naar een tijdelijke kopie, en
doen de operatie daarna van de tijdelijke kopie naar de originele file,
zodat de checkpointFile ongewijzigd ... | RvanNieuwpoort/satin | src/main/java/ibis/satin/impl/checkPointing/CheckpointFile.java | 3,558 | /*
- De private functies die doen een operatie van source naar destination,
waarna destination de nieuwe fileWriter is.
- De public tegenhangers kopieren de file naar een tijdelijke kopie, en
doen de operatie daarna van de tijdelijke kopie naar de originele file,
zodat de checkpointFile ongewijzigd ... | block_comment | nl | /*
- De private<SUF>*/
package ibis.satin.impl.checkPointing;
import ibis.ipl.IbisIdentifier;
import ibis.satin.impl.faultTolerance.GlobalResultTable;
import ibis.satin.impl.spawnSync.ReturnRecord;
import ibis.satin.impl.spawnSync.Stamp;
import java.io.EOFException;
import java.io.IOException;
import java.io.Object... | True | False | 1,995 | 3,558 | 119 | 93 | 3,106 | 116 | 99 | 3,302 | 101 | 75 | 3,106 | 116 | 99 | 3,655 | 118 | 92 | false | false | false | false | false | true |
1,610 | 122913_5 | package be.uantwerpen.sc.controllers.mqtt;
import be.uantwerpen.sc.services.JobService;
import be.uantwerpen.sc.tools.Terminal;
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.slf4j.Logger;
impor... | SmartCity-UAntwerpen/RobotCore | src/main/java/be/uantwerpen/sc/controllers/mqtt/MqttJobSubscriberCallback.java | 579 | //ontvangen bericht toevoegen aan de jobs | line_comment | nl | package be.uantwerpen.sc.controllers.mqtt;
import be.uantwerpen.sc.services.JobService;
import be.uantwerpen.sc.tools.Terminal;
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.slf4j.Logger;
impor... | True | False | 1,996 | 579 | 12 | 11 | 482 | 14 | 13 | 496 | 9 | 8 | 482 | 14 | 13 | 586 | 12 | 11 | false | false | false | false | false | true |
2,290 | 58043_6 | /*
* This file is part of wegenenverkeer common-resteasy.
* Copyright (c) AWV Agentschap Wegen en Verkeer, Vlaamse Gemeenschap
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package be.wegenenverkeer.com... | bramp/common-resteasy | resteasy/src/main/java/be/wegenenverkeer/common/resteasy/logging/PreProcessLoggingInterceptor.java | 2,965 | /**
* Implementatie van de MessageBodyReaderInterceptor interface.
*
* @param context de service context
* @return deze methode geeft gewoon het antwoord van de volgende reader in de chain terug
* @throws IOException indien de vorige reader deze exception gooit
*/ | block_comment | nl | /*
* This file is part of wegenenverkeer common-resteasy.
* Copyright (c) AWV Agentschap Wegen en Verkeer, Vlaamse Gemeenschap
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package be.wegenenverkeer.com... | True | False | 2,000 | 2,965 | 70 | 47 | 2,519 | 67 | 50 | 2,655 | 62 | 39 | 2,519 | 67 | 50 | 2,950 | 72 | 49 | false | false | false | false | false | true |
1,875 | 22054_14 | /**
*
* CVS: $Header: /export/home0/cvsroot/socsg/DRAMA/Sources/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java,v 1.1.1.1 2001/09/07 09:41:38 dirkw Exp $
*
* (C) 2000
* Katholieke Universiteit Leuven
* Developed at Dept. Computer Science
*
*/
package be.ac.kuleuven.cs.drama.simulator.devices.CVO;
import... | WillemDeGroef/drama | src/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java | 1,211 | /**zet de waarde van de geheugen beheer eenheid
@param value de nieuwe waarde van de geheugen beheer eenheid
*/ | block_comment | nl | /**
*
* CVS: $Header: /export/home0/cvsroot/socsg/DRAMA/Sources/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java,v 1.1.1.1 2001/09/07 09:41:38 dirkw Exp $
*
* (C) 2000
* Katholieke Universiteit Leuven
* Developed at Dept. Computer Science
*
*/
package be.ac.kuleuven.cs.drama.simulator.devices.CVO;
import... | True | False | 2,003 | 1,211 | 39 | 31 | 1,117 | 41 | 36 | 1,078 | 31 | 24 | 1,117 | 41 | 36 | 1,218 | 37 | 30 | false | false | false | false | false | true |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3