Dataset Viewer
Auto-converted to Parquet Duplicate
content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
sequencelengths
1
8
#en-punctuation ! " # $ % & ' ( ) * + , - . / #0 #1 #2 #3 #4 #5 #6 #7 #8 #9 : ; < = > ? @ [ \ ] ^ _ ` #a #b #c #d #e #f #g #h #i #j #k #l #m #n #o #p #q #r #s #t #u #v #w #x #y #z { | } ~ ! #fullwidth ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ ⦅ ⦆ 。 「 」 、 ・ #cn-punctuation 、 。 〃 〄 々 〆 〇 〈 〉 《 》 「 」...
Lex
0
maguec/RediSearch
src/dep/cndict/lex/lex-stopword.lex
[ "MIT", "Ruby", "Apache-2.0", "BSD-3-Clause" ]
- attributes("title") = "Scalatra: a tiny, Sinatra-like web framework for Scala" - attributes("headline") = "Welcome to Scalatra" Hello, Scalate!
Scaml
1
grimcoder/ProduceMarketRESTScalatra
src/main/webapp/WEB-INF/views/hello-scalate.scaml
[ "MIT" ]
<%def name="tip()"> <% from vilya.models.tips import Tips text, url = Tips.get_tip() %> % if user.settings.show_tips: <div class="alert alert-info hidden-phone"> <strong>tips:</strong> ${text|n} % if url: <a href="${url}">Try it</a> % endif </div> % endif </%def>
Mako
3
mubashshirjamal/code
vilya/templates/widgets/tips.mako
[ "BSD-3-Clause" ]
--TEST-- Bug #79846 (8c67c166996 broke simple regexp) --FILE-- <?php $item = "component_phase_1"; preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match); var_dump($match); ?> --EXPECT-- array(3) { [0]=> string(17) "component_phase_1" [1]=> string(15) "component_phase" [2]=> string(1) "1" }
PHP
4
NathanFreeman/php-src
ext/pcre/tests/bug79846.phpt
[ "PHP-3.01" ]
dr Dr itd itn št #NUMERIC_ONLY# Št #NUMERIC_ONLY# d jan Jan feb Feb mar Mar apr Apr jun Jun jul Jul avg Avg sept Sept sep Sep okt Okt nov Nov dec Dec tj Tj npr Npr sl Sl op Op gl Gl oz Oz prev dipl ing prim Prim cf Cf gl Gl A B C D E F G H I J K L M N O ...
Slash
0
aquaktus/nematus
data/nonbreaking_prefixes/nonbreaking_prefix.sl
[ "BSD-3-Clause" ]
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <base href="../../../" /> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> <h1>[name]</h1> <p class="desc"> この記事ではhtree.jsを[link:https://nodejs.org/en/ node.js]環境で実行す...
HTML
5
Hyeong-jin/three.js
docs/manual/ja/buildTools/Testing-with-NPM.html
[ "MIT" ]
module audiostreamerscrobbler.maintypes.Player let PLAYERTYPE_ID_BLUOS = "BluOS" let PLAYERTYPE_ID_HEOS = "HEOS" let PLAYERTYPE_ID_MUSICCAST = "MusicCast" union PlayerTypes = { BluOs Heos MusicCast } augment PlayerTypes { function playerTypeId = |this| -> getPlayerTypeID(this) } function getAllPlayerTypes = { ...
Golo
4
vvdleun/audiostreamerscrobbler
src/main/golo/include/maintypes/Player.golo
[ "MIT" ]
#!/usr/bin/env io // example of implementing control structures myif := method(condition, index := if(condition, 1, 2) call evalArgAt(index) ) myif(19 > 5, writeln("19 > 5. Correct.") , writeln("19 > 5. Incorrect.") )
Io
4
akluth/io
samples/misc/Control.io
[ "BSD-3-Clause" ]
<%args> title items user </%args> <head> <title><% title %></title> </head> <&|base.myt:wrap &> <div><& base.myt:greeting, name=user &></div> <div><& base.myt:greeting, name="me"&></div> <div><& base.myt:greeting, name="world" &></div> <h2>Loop</h2> %if items: <ul> % for item in items: <li><% i...
Myghty
4
omunroe-com/sbvedwllorg
examples/bench/myghty/template.myt
[ "BSD-3-Clause" ]
implementation module StdPointer import StdOverloaded, StdClass, StdArray, StdInt, StdChar, StdString readInt :: !Pointer !Offset -> Int readInt pointer offset = IF_INT_64_OR_32 (readInt_64 pointer offset) (readInt_32 pointer offset) readInt_64 :: !Pointer !Offset -> Int readInt_64 pointer offset = code { pop_b 1 ...
Clean
3
timjs/iris-clean
Libraries/StdPointer.icl
[ "MIT" ]
PUT /stuff/here?foo=bar HTTP/1.0\r\n CONTENT-LENGTH: -1\r\n \r\n {"test": "-1}
HTTP
0
ashishmjn/gunicorn
tests/requests/invalid/014.http
[ "MIT" ]
# This is the python script # import sys # for i in range(0, 16): # for j in range(0, 16): # code = str(i * 16 + j) # sys.stdout.write(u"\u001b[38;5;" + code + "m " + code.ljust(4)) # print u"\u001b[0m" # Foreground Colors echo 0..16 | each { |col| let row = (echo 0..16 | each { |row| ...
Nu
4
x3rAx/nu_scripts
coloring/python_index_table.nu
[ "MIT" ]
// @target: es6 // @filename: asyncawait.ts export function async<T>(...args: any[]): any { } export function await(...args: any[]): any { } // @filename: a.ts import { async, await } from 'asyncawait'; export default async(() => await(Promise.resolve(1))); // @filename: b.ts export default async () => { ...
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/exportDefaultAsyncFunction2.ts
[ "Apache-2.0" ]
import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Controls.Styles 1.4 import QGroundControl.FactControls 1.0 import QGroundControl.Palette 1.0 Rectangle { QGCPalette { id: palette; colorGroupEnabled: enabled } width: 100 height: 100 color: "#e43f3f" // palette.text }
QML
2
uavosky/uavosky-qgroundcontrol
src/test.qml
[ "Apache-2.0" ]
## recursive implementation fibonacci_rec := function( n ) if n = 1 or n = 2 then return 1; fi; return fibonacci_rec( n - 1 ) + fibonacci_rec( n - 2 ); end; ## iterative implementation fibonacci_iterative := function( n ) local prev, prev2, curr_fib; if n = 1 or n = 2 then...
GAP
4
Mynogs/Algorithm-Implementations
Fibonacci_series/GAP/sebasguts/fibonacci.gi
[ "MIT" ]
.. Copyright 2020 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
reStructuredText
4
MarcelGM/transformers
docs/source/model_doc/barthez.rst
[ "Apache-2.0" ]
/*# sourceMappingURL=main.d41d8cd9.css.map*/
CSS
0
josephaw1022/THE-PERSONAL-WEBSITE
build/static/css/main.d41d8cd9.css
[ "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>body</title> </head> <body> <div id="qunit-fixture"></div> <script src="../../dist/jquery.min.js"></script> <script src="iframeTest.js"></script> <script> var i, input, elem, tags, policy, results = [], inputs = [ [ "<div></div>", "<div class='test'>...
HTML
4
sfleandro/jquery
test/data/trusted-html.html
[ "MIT" ]
; Script Name : eventlog_security.au3 ; Author : Craig Richards ; Created : 3rd February 2012 ; Last Modified : ; Version : 1.0 ; Modifications : ; Description : This will show you the last failed login attempt, it then outputs all failed login attempts to a file, then clears all the Security part of the event log...
AutoIt
5
X-EcutiOnner/Notepad3
test/test_files/StyleLexers/styleLexAU3/security_eventlog.au3
[ "BSD-3-Clause" ]
<table> <tr> <td></td> <td>Previous is empty</td> </tr> <tr> <td>Next is empty</td> <td></td> </tr> </table>
HTML
0
asahiocean/joplin
packages/app-cli/tests/html_to_md/table_with_empty_cells.html
[ "MIT" ]
# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml. @0x81df9e172c8504b4; struct Cat { kind @0 :Text; }
Cap'n Proto
2
mrpotes/go-raml
codegen/python/fixtures/python_capnp/Cat.capnp
[ "BSD-2-Clause" ]
'reach 0.1'; export const main = Reach.App( {}, [Participant('A', {})], (A) => { const a = parallelReduce(null); });
RenderScript
2
chikeabuah/reach-lang
hs/t/n/Err_ParallelReduceIncomplete.rsh
[ "Apache-2.0" ]
import { G } from "./subdir/g.ts"; import { H } from "./subdir/h.ts"; console.log(new G(true), new H(true));
TypeScript
1
Preta-Crowz/deno
cli/tests/bundle/file_tests-fixture07.ts
[ "MIT" ]
<GameProjectFile> <PropertyGroup Type="Node" Name="cat_queen" ID="a216914d-c0d7-49f6-8da3-6a19dd0dc55f" Version="0.0.0.1" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="54" Speed="0.3333333"> <Timeline ActionTag="115142900" FrameType="VisibleFrame"> <BoolFrame Fra...
Csound
4
chukong/CocosStudioSamples
DemoMicroCardGame/CocosStudioResources/cocosstudio/cat_queen.csd
[ "MIT" ]
package com.baeldung.retrofit.basic; import java.util.List; import com.baeldung.retrofit.models.Contributor; import com.baeldung.retrofit.models.Repository; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; public interface GitHubBasicApi { /** * List GitHub repositories of use...
Java
5
zeesh49/tutorials
libraries/src/main/java/com/baeldung/retrofit/basic/GitHubBasicApi.java
[ "MIT" ]
62*1+v>01p001>+v>\:02p\:02gv 0 ^ < . :p " .1 v 0," "<0 " >1g12-+:| , @ >^ # playfield cells can't store values over 255 as I designed it
Befunge
0
GingerIndustries/Fibonacci
Imperfect Languages/fib.befunge
[ "Unlicense" ]
End of preview. Expand in Data Studio

Code Knowledge Value Evaluation Dataset

This dataset is created by evaluating the knowledge value of code sourced from the bigcode/the-stack repository. It is designed to assess the educational and knowledge potential of different code samples.

Dataset Overview

The dataset is split into training, validation, and test sets with the following number of samples:

  • Training set: 22,786 samples
  • Validation set: 4,555 samples
  • Test set: 18,232 samples

Usage

This dataset can be used to train and evaluate models that assess the knowledge value of code, potentially aiding in tasks such as automated code review, educational feedback, and curriculum development.

Source

The dataset is based on the code from bigcode/the-stack, which provides a comprehensive collection of open-source code across various programming languages.

License

Please ensure that you comply with the license of the original bigcode/the-stack repository when using this dataset.

Downloads last month
25