Dataset Viewer
Auto-converted to Parquet Duplicate
size
int64
31
1.04M
ext
stringclasses
257 values
lang
stringclasses
87 values
max_stars_repo_name
stringlengths
4
116
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_issues_repo_name
stringlengths
4
116
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
98.3k
max_forks_repo_name
stringlengths
4
136
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
text
stringlengths
31
1.04M
avg_line_length
float64
1.36
127k
max_line_length
int64
1
764k
alphanum_fraction
float64
0
1
code_readability
float64
0.8
0.99
token_len
int64
33
686k
228
kt
Kotlin
robertfmurdock/kotlin-wrappers
[ "Apache-2.0" ]
14
robertfmurdock/kotlin-wrappers
[ "Apache-2.0" ]
null
robertfmurdock/kotlin-wrappers
[ "Apache-2.0" ]
2
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SentimentNeutralRounded") @file:JsNonModule package mui.icons.material @JsName("default") external val SentimentNeutralRounded: SvgIconComponent
22.8
61
0.811404
0.841498
75
540
sas
SAS
lbelzile/modstat
[ "CC-BY-4.0" ]
null
lbelzile/modstat
[ "CC-BY-4.0" ]
null
lbelzile/modstat
[ "CC-BY-4.0" ]
null
data vengeance; set modstat.vengeance; tcat=t; run; /* Régression linéaire avec structure autorégressive d'ordre 1 hétérogène pour les erreurs */ proc mixed data=vengeance method=reml; class id tcat; model vengeance = sexe age vc wom t / solution; repeated tcat / subject=id type=arh(1) r=1 rcorr=1; run; /* Régress...
25.714286
93
0.753704
0.863562
204
245
st
Smalltalk
dionisiydk/pharo
[ "MIT" ]
null
dionisiydk/pharo
[ "MIT" ]
null
dionisiydk/pharo
[ "MIT" ]
null
Class { #name : #FLStandardFileStreamSerializationTest, #superclass : #FLBasicSerializationTest, #category : #FuelTests } { #category : #running } FLStandardFileStreamSerializationTest >> setUp [ super setUp. self useStandardFileStream ]
18.846154
48
0.771429
0.81
76
7,987
vhd
VHDL
bfennell/i8080-vhdl
[ "MIT" ]
null
bfennell/i8080-vhdl
[ "MIT" ]
null
bfennell/i8080-vhdl
[ "MIT" ]
null
-- Copyright (c) 2018 Brendan Fennell <bfennell@skynet.ie> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, ...
30.026316
81
0.486541
0.828903
2,847
6,419
yy
Yacc
yinsesishen/test
[ "Apache-2.0" ]
null
yinsesishen/test
[ "Apache-2.0" ]
null
yinsesishen/test
[ "Apache-2.0" ]
null
{ "name": "rm_title", "id": "72e42a9d-6d80-451c-90c1-c952e213fcd0", "creationCodeFile": "", "inheritCode": false, "inheritCreationOrder": false, "inheritLayers": false, "instanceCreationOrderIDs": [ "71a4209c-6bd2-444d-a837-c9c45f2915d5" ], "IsDnD": true, "layers": [ ...
54.863248
525
0.579218
0.816473
3,111
254
agda
Agda
asr/agda-kanso
[ "MIT" ]
1
np/agda-git-experiment
[ "MIT" ]
null
np/agda-git-experiment
[ "MIT" ]
null
module Issue478c where record Ko (Q : Set) : Set₁ where field T : Set foo : (Q : Set)(ko : Ko Q) → Ko.T ko foo Q ko = Set -- We should make sure not to destroy printing -- outside the record module. Type should be -- printed as it's given: Ko.T ko
19.538462
46
0.661417
0.810957
89
1,273
proto
Protocol Buffer
Refetch/dremio-oss
[ "Apache-2.0" ]
null
Refetch/dremio-oss
[ "Apache-2.0" ]
null
Refetch/dremio-oss
[ "Apache-2.0" ]
1
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 applicable l...
28.931818
79
0.757266
0.813205
375
2,304
ex
Elixir
SquashConsulting/hopper
[ "BSD-3-Clause" ]
1
SquashConsulting/hopper
[ "BSD-3-Clause" ]
2
SquashConsulting/hopper
[ "BSD-3-Clause" ]
null
defmodule Hopper.Accounts do @moduledoc """ The Accounts context. """ alias Hopper.Repo alias Hopper.Rides alias Hopper.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%{}, ...] """ def list_users do {:ok, result} = Repo.query(""" ...
17.066667
97
0.546875
0.817411
915
292
sql
SQL
Vampiref92/BitrixDocker
[ "MIT" ]
2
Vampiref92/BitrixDocker
[ "MIT" ]
null
Vampiref92/BitrixDocker
[ "MIT" ]
null
CREATE DATABASE bitrix; CREATE USER 'bitrix'@'localhost' IDENTIFIED BY 'Bitrix-123'; GRANT ALL PRIVILEGES ON *.* TO 'bitrix'@'localhost' WITH GRANT OPTION; CREATE USER 'bitrix'@'%' IDENTIFIED BY 'Bitrix-123'; GRANT ALL PRIVILEGES ON *.* TO 'bitrix'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;
41.714286
71
0.729452
0.87
131
5,978
sol
Solidity
pamellasds/smart-contracts-software-evolution
[ "MIT" ]
null
pamellasds/smart-contracts-software-evolution
[ "MIT" ]
null
pamellasds/smart-contracts-software-evolution
[ "MIT" ]
null
pragma solidity ^0.4.23; import ; import ; import ; import ; import ; import ; contract estateregistry is migratable, erc721token, ownable, metadataholderbase, iestateregistry, estatestorage { modifier cantransfer(uint256 estateid) { require(isapprovedorowner(msg.sender, estateid), ); _;...
22.223048
114
0.641519
0.833944
2,069
390
el
Emacs Lisp
bensonlew/emacs
[ "BSD-2-Clause-FreeBSD" ]
null
bensonlew/emacs
[ "BSD-2-Clause-FreeBSD" ]
null
bensonlew/emacs
[ "BSD-2-Clause-FreeBSD" ]
null
;;; vc-darcs-autoloads.el --- automatically extracted autoloads ;; ;;; Code: (add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) ;;;### (autoloads nil nil ("vc-darcs.el") (22995 1690 885331 241000)) ;;;*** ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ...
24.375
92
0.65641
0.873601
172
271
sh
Shell
dpsugasa/enviro-dashboard
[ "MIT" ]
45
dpsugasa/enviro-dashboard
[ "MIT" ]
null
dpsugasa/enviro-dashboard
[ "MIT" ]
16
#!/bin/bash export dashboard_json=$(cat dashboard.json|tr "\n" " ") dashboard_json='{"dashboard":'"$dashboard_json"'}' curl http://admin:admin@localhost:3000/api/dashboards/db -X POST -H 'Content-Type: application/json;charset=UTF8' --data-binary ''"$dashboard_json"''
38.714286
149
0.723247
0.81125
99
2,084
php
PHP
tranthanhtuan269/barcodeTOH
[ "MIT" ]
null
tranthanhtuan269/barcodeTOH
[ "MIT" ]
null
tranthanhtuan269/barcodeTOH
[ "MIT" ]
null
<?php namespace App\Http\Controllers\Auth; use App\User; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |-------------------------------------------...
26.05
79
0.556142
0.873433
552
9,288
rmd
RMarkdown
PF-BB/TP_Transcriptomique
[ "MIT" ]
null
PF-BB/TP_Transcriptomique
[ "MIT" ]
null
PF-BB/TP_Transcriptomique
[ "MIT" ]
null
--- title: "TP Transcriptome : Analyse de données de puces à ADN" author: "Vincent Guillemot, Cathy Philippe, Marie-Anne Debily" date: "23 octobre 2015" output: pdf_document --- # Problématique Biologique : la différenciation des kératinocytes Les kératinocytes subissent en permanence une évolution morphologique tém...
98.808511
689
0.788975
0.810013
2,932
2,016
ps1
PowerShell
nils-a/au-packages
[ "MIT" ]
null
nils-a/au-packages
[ "MIT" ]
1
nils-a/au-packages
[ "MIT" ]
null
import-module au . $PSScriptRoot\..\_scripts\all.ps1 $releases = 'https://github.com/extrawurst/gitui/releases' function global:au_SearchReplace { @{ ".\tools\chocolateyInstall.ps1" = @{ "(^\s*\`$url\s*=\s*)('.*')"= "`$1'$($Latest.URL32)'" "(^\s*checksum\s*=\s*)('.*')" = "`$1'$...
38.037736
252
0.55754
0.867721
763
1,511
scrbl
Racket
bennn/g-pldi-2022
[ "MIT" ]
null
bennn/g-pldi-2022
[ "MIT" ]
null
bennn/g-pldi-2022
[ "MIT" ]
null
#lang scribble/acmart @acmsmall @10pt @screen @(require "main.rkt" "bib.rkt" scriblib/footnote) @title[#:tag "sec:related"]{Related Work} Thorn@~cite{wzlov-popl-2010} and StrongScript@~cite{rzv-ecoop-2015} support a combination of sound concrete types and erased @emph{like} types. Thorn is a scalable scripting langua...
50.366667
180
0.778954
0.822202
502
410
ads
Ada
best08618/asylo
[ "Apache-2.0" ]
7
best08618/asylo
[ "Apache-2.0" ]
null
best08618/asylo
[ "Apache-2.0" ]
2
with Ada.Finalization; use Ada.Finalization; package Noreturn4_Pkg is type Priv is private; function It return Priv; function Value (Obj : Priv) return Integer; function OK (Obj : Priv) return Boolean; private type Priv is new Controlled with record Value : Integer := 15; end record; procedure Ad...
21.578947
45
0.717073
0.83
131
884
csh
Tcsh
mckenzie-steenson/amazon-app
[ "MIT" ]
1
mckenzie-steenson/amazon-app
[ "MIT" ]
null
mckenzie-steenson/amazon-app
[ "MIT" ]
null
# This file must be used with "source bin/activate.csh" *from csh*. # You cannot run it directly. # Created by Davide Di Blasi <davidedb@gmail.com>. # Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com> alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD...
34
295
0.756787
0.809918
355
996
gemspec
Ruby
chen7897499/comic_downloader
[ "MIT" ]
null
chen7897499/comic_downloader
[ "MIT" ]
null
chen7897499/comic_downloader
[ "MIT" ]
null
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'comic_downloader/version' Gem::Specification.new do |spec| spec.name = "comic_downloader" spec.version = ComicDownloader::VERSION spec.authors = ["bomb"] spec.email ...
34.344828
72
0.695783
0.847947
379
686
sol
Solidity
dcroote/airnode
[ "MIT" ]
null
dcroote/airnode
[ "MIT" ]
24
aquarat/airnode
[ "MIT" ]
null
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./IAccessControlClient.sol"; interface IAccessControlManagerProxy is IAccessControlClient { function initializeRole(bytes32 adminRole, string calldata description) external returns (bytes32 role); function initializeAndGrantRoles(...
29.826087
75
0.740525
0.863962
186
320
rq
SPARQL
JohnReedLOL/SolRDF
[ "Apache-2.0" ]
92
JohnReedLOL/SolRDF
[ "Apache-2.0" ]
99
JohnReedLOL/SolRDF
[ "Apache-2.0" ]
14
# filename: ex301.rq PREFIX d: <http://learningsparql.com/ns/data#> PREFIX t: <http://purl.org/tio/ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?timezoneTest ?tzTest WHERE { ?mtg t:starts ?startTime . BIND (timezone(?startTime) AS ?timezoneTest) BIND (tz(?startTime) AS ?tzTest) }
22.857143
48
0.6625
0.814176
145
590
bat
Batchfile
monomial/bert
[ "Apache-2.0" ]
null
monomial/bert
[ "Apache-2.0" ]
null
monomial/bert
[ "Apache-2.0" ]
null
set BERT_BASE_DIR=C:\Users\michaels\Projects\bert\uncased_L-12_H-768_A-12 set SQUAD_DIR=C:\Users\michaels\Projects\bert\squad11 python run_squad.py ^ --vocab_file=%BERT_BASE_DIR%\vocab.txt ^ --bert_config_file=%BERT_BASE_DIR%\bert_config.json ^ --init_checkpoint=%BERT_BASE_DIR%\bert_model.ckpt ^ --do_train=Tru...
34.705882
73
0.735593
0.849119
286
79,912
thrift
Thrift
eduardo-elizondo/cppcon2017
[ "MIT" ]
29
eduardo-elizondo/cppcon2017
[ "MIT" ]
2
eduardo-elizondo/cppcon2017
[ "MIT" ]
4
struct Struct0 { 1: map<double, float> field1 2: binary field2 3: i64 field3 4: float field4 5: string field5 6: i64 field6 7: set<binary> field7 8: i16 field8 9: i16 field9 10: list<double> field10 11: map<float, list<binary>> field11 12: map<i32, float> field12 13: list<list<binary>> field13...
23.434604
58
0.694539
0.866568
39,748
4,476
asm
Assembly
neilsf/TinyBasic64
[ "MIT" ]
4
neilsf/TinyBasic64
[ "MIT" ]
null
neilsf/TinyBasic64
[ "MIT" ]
1
KERNAL_PRINTCHR EQU $e716 KERNAL_GETIN EQU $ffe4 INPUT_MAXCHARS EQU $06 RESERVED_STACK_POINTER DC.B 0 ; setup default mem layout for xprom runtime environment STDLIB_MEMSETUP SUBROUTINE lda #$36 sta $01 rts ; print null-terminated petscii string STDLIB_PRINT SUBROUTINE sta $6f ; store string start low b...
13.087719
56
0.689455
0.802703
2,200
437
scpt
AppleScript
jasonrudolph/launchbar-sonos-actions
[ "CC-BY-3.0" ]
6
jasonrudolph/launchbar-sonos-actions
[ "CC-BY-3.0" ]
null
jasonrudolph/launchbar-sonos-actions
[ "CC-BY-3.0" ]
null
if application "Sonos" is not running then tell application "Sonos" to activate tell application "System Events" repeat until visible of process "Sonos" is true delay 0.1 end repeat delay 1 -- After app becomes visible, wait for it to render its buttons end tell end if tell application "System Events" te...
25.705882
78
0.741419
0.81
147
25,513
sol
Solidity
nguyenquangthang1997/gas_saver_visualization
[ "MIT" ]
null
nguyenquangthang1997/gas_saver_visualization
[ "MIT" ]
null
nguyenquangthang1997/gas_saver_visualization
[ "MIT" ]
null
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability war...
38.365414
160
0.650727
0.83927
7,757
1,169
bat
Batchfile
slapin/Urho3D-fat
[ "MIT" ]
23
slapin/Urho3D-fat
[ "MIT" ]
2
slapin/Urho3D-fat
[ "MIT" ]
35
:: :: Copyright (c) 2008-2017 the Urho3D project. :: :: Permission is hereby granted, free of charge, to any person obtaining a copy :: of this software and associated documentation files (the "Software"), to deal :: in the Software without restriction, including without limitation the rights :: to use, copy, modify, m...
48.708333
80
0.757057
0.815349
304
216
lean
Lean
dselsam/lean3
[ "Apache-2.0" ]
2,232
forked-from-1kasper/lean
[ "Apache-2.0" ]
1,187
forked-from-1kasper/lean
[ "Apache-2.0" ]
306
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.fin.basic init.data.fin.ops
27
67
0.787037
0.863548
70
1,946
xsl
XSLT
b-itkin/CUSG-Digitization
[ "MIT" ]
1
b-itkin/CUSG-Digitization
[ "MIT" ]
2
b-itkin/CUSG-Digitization
[ "MIT" ]
1
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <head> <title><xsl:value-of select="billStatus/bill/canonicalname"/></title> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-s...
28.617647
136
0.67369
0.834762
830
554
applescript
AppleScript
bbelyeu/applescripts
[ "Unlicense" ]
12
bbelyeu/applescripts
[ "Unlicense" ]
null
bbelyeu/applescripts
[ "Unlicense" ]
4
-- This droplet processes folders dropped onto the applet on open these_items repeat with i from 1 to the count of these_items set this_item to item i of these_items set the item_info to info for this_item if (alias of the item_info is false) and (folder of the item_info is true) then process_item(this_item)...
34.625
81
0.779783
0.817024
176
4,536
csh
Tcsh
arezoorn/DART
[ "Apache-2.0" ]
65
arezoorn/DART
[ "Apache-2.0" ]
283
arezoorn/DART
[ "Apache-2.0" ]
67
#!/bin/csh # # DART software - Copyright UCAR. This open source software is provided # by UCAR, "as is", without charge, subject to all terms of use at # http://www.image.ucar.edu/DAReS/DART/DART_download # diagnostics_obs.csh - shell script that computes observation # specific diagnostics. # # $...
34.363636
120
0.656966
0.8024
1,990
820
pas
Pascal
nydehi/WindowsInstaller
[ "MIT" ]
null
nydehi/WindowsInstaller
[ "MIT" ]
null
nydehi/WindowsInstaller
[ "MIT" ]
null
unit CustomAction.FileMaker.FM7DevPath; interface uses SysUtils, Classes, routines_msi, Msi, MsiDefs, CustomAction.FileMaker , MsiQuery; function FM7DevPath(hInstall: MSIHANDLE): UINT; stdcall; function FM7DevBinPath(hInstall: MSIHANDLE): UINT; stdcall; implementation uses Youseful.exceptions,CustomAct...
22.777778
62
0.759756
0.856667
317
208
als
Alloy
Kaixi26/org.alloytools.alloy
[ "Apache-2.0" ]
null
Kaixi26/org.alloytools.alloy
[ "Apache-2.0" ]
null
Kaixi26/org.alloytools.alloy
[ "Apache-2.0" ]
null
open main pred idk2ffMRLWGotQAmtZo_prop20 { always all f : File | f in Trash since f not in Protected } pred __repair { idk2ffMRLWGotQAmtZo_prop20 } check __repair { idk2ffMRLWGotQAmtZo_prop20 <=> prop20o }
34.666667
59
0.788462
0.817826
101
519
jl
Julia
EcoJulia/MetacommunityDynamics.jl
[ "BSD-3-Clause" ]
16
EcoJulia/MetacommunityDynamics.jl
[ "BSD-3-Clause" ]
2
EcoJulia/MetacommunityDynamics.jl
[ "BSD-3-Clause" ]
2
using MetacommunityDynamics using DynamicGrids using Plots using Distributions # Spatially explicit levins model rs = SpatiallyExplicitLevinsColonization{:O}(probability=0.3) + AbioticExtinction{:O}(:A, baseprobability=0.1); pops = pointstogrid(generate(PoissonProcess, 20), gridsize=100) areas = generate(St...
24.714286
84
0.757225
0.803333
204
1,262
erl
Erlang
byui-cse/cse382-course
[ "CC0-1.0" ]
null
byui-cse/cse382-course
[ "CC0-1.0" ]
null
byui-cse/cse382-course
[ "CC0-1.0" ]
null
%% @author Lee Barney %% @copyright 2021 Lee Barney licensed under the <a> %% rel="license" %% href="http://creativecommons.org/licenses/by/4.0/" %% target="_blank"> %% Creative Commons Attribution 4.0 International License</a> %% %% %% These solutions are not intended to be ideal solutions....
38.242424
68
0.66561
0.850519
480
928
tex
TeX
TS7-development/jsonrpc
[ "BSL-1.0" ]
1
TS7-development/jsonrpc
[ "BSL-1.0" ]
null
TS7-development/jsonrpc
[ "BSL-1.0" ]
null
\hypertarget{dir_04ed82fa347894d51633089936838d70}{}\doxysection{examples/003-\/json-\/call Directory Reference} \label{dir_04ed82fa347894d51633089936838d70}\index{examples/003-\/json-\/call Directory Reference@{examples/003-\/json-\/call Directory Reference}} \doxysubsection*{Files} \begin{DoxyCompactItemize} \item f...
35.692308
147
0.748922
0.844385
463
877
do
Stata
carlotacb/ACAP
[ "MIT" ]
null
carlotacb/ACAP
[ "MIT" ]
null
carlotacb/ACAP
[ "MIT" ]
null
onerror {resume} quietly WaveActivateNextPane {} 0 add wave -noupdate /prueba_snbits/A add wave -noupdate /prueba_snbits/B add wave -noupdate /prueba_snbits/cen add wave -noupdate /prueba_snbits/SUM add wave -noupdate /prueba_snbits/SUMref add wave -noupdate /prueba_snbits/csal add wave -noupdate /prueba_snbits/csalref...
31.321429
41
0.823261
0.865699
320
End of preview. Expand in Data Studio

Dataset Card for "the-stack-smol-xl-readable"

Filtered for 'readability' 0.8 and greater. ~560M llama2 tokens

columns:

{'train': ['size',
           'ext',
           'lang',
           'max_stars_repo_name',
           'max_stars_repo_licenses',
           'max_stars_count',
           'max_issues_repo_name',
           'max_issues_repo_licenses',
           'max_issues_count',
           'max_forks_repo_name',
           'max_forks_repo_licenses',
           'max_forks_count',
           'text',
           'avg_line_length',
           'max_line_length',
           'alphanum_fraction',
           'code_readability']}

stats

readability index

code_readability
count 218432
mean 0.840515
std 0.0288337
min 0.8
25% 0.816354
50% 0.836042
75% 0.863379
max 0.987153

tokens

llama2

token_len
count  205173.000000
mean     2654.322581
std     18141.069771
min        33.000000
25%       166.000000
50%       390.000000
75%      1078.000000
max    686163.000000
Downloads last month
7