Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowInvalid
Message:      Failed to parse value: notfound
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2116, in cast_array_to_feature
                  return array_cast(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1804, in wrapper
                  return func(array, *args, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1963, in array_cast
                  return array.cast(pa_type)
                File "pyarrow/array.pxi", line 996, in pyarrow.lib.Array.cast
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast
                  return call_function("cast", [arr], options, memory_pool)
                File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Failed to parse value: notfound
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

size
int64
ext
string
lang
string
max_stars_repo_licenses
sequence
max_stars_count
float64
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
low_alphanum
bool
long_lines
bool
lexable
bool
5,992
ada
Ada
[ "Apache-2.0" ]
7
-- C34004C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
31.208333
79
0.534713
false
false
true
4,706
ada
Ada
[ "Apache-2.0" ]
7
-- C74305A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
29.229814
79
0.474076
false
false
true
4,900
ada
Ada
[ "Apache-2.0" ]
7
-- CE3403F.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
31.210191
79
0.536531
false
false
true
1,865
ada
Ada
[ "Info-ZIP" ]
1
with ada.text_io; use ada.text_io; procedure fast_fibo is -- We work with biggest natural integers in a 64 bits machine type Big_Int is mod 2**64; -- We provide an index type for accessing the fibonacci sequence terms type Index is new Big_Int; -- fibo is a generic function that needs a modulus type since it w...
37.3
86
0.657373
false
false
true
3,682
ada
Ada
[ "Apache-2.0" ]
7
-- CE3901A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
34.411215
79
0.535035
false
false
true
1,898
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Generic_Elementary_Functions; procedure RungeKutta is type Floaty is digits 15; type Floaty_Array is array (Natural range <>) of Floaty; package FIO is new Ada.Text_IO.Float_IO(Floaty); use FIO; type Derivative is access function(t, y : Floaty) return Flo...
35.811321
74
0.567439
false
false
true
3,197
ada
Ada
[ "Apache-2.0" ]
7
-- CD1C04D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
39.469136
79
0.636534
false
false
true
1,266
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Non_Continuous is type Sequence is array (Positive range <>) of Integer; procedure Put_NCS ( Tail : Sequence; -- To generate subsequences of Head : Sequence := (1..0 => 1); -- Already generated Contigu...
33.315789
92
0.515008
false
false
true
1,829
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Strings.Unbounded; private with Ada.Containers.Indefinite_Vectors; generic with procedure Print_Line(Indention: Natural; Line: String); package S_Expr is function "-"(S: String) return Ada.Strings.Unbounded.Unbounded_String renames Ada.Strings.Unbounded.To_Unbounded_String; function "+"(U: Ada...
32.660714
72
0.745763
false
false
true
335
ada
Ada
[ "Info-ZIP" ]
1
task body Some_Task is begin loop select -- Some alternatives ... or accept Stop do -- Some cleanup while holding the caller is here end Stop; -- A cleanup asynchronous to the caller is here exit; -- We are through end select end loop; ...
22.333333
60
0.567164
false
false
true
3,010
ada
Ada
[ "Apache-2.0" ]
7
-- C45613A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
37.625
79
0.553488
false
false
true
47
ada
Ada
[ "Info-ZIP" ]
1
Put_Line ("Mary had a " & New_Str & " lamb.");
23.5
46
0.574468
false
false
true
852
ada
Ada
[ "BSD-4-Clause", "BSD-3-Clause" ]
3
-- gen_.ada with TEXT_IO; use TEXT_IO; generic MAX_STRING_LENGTH: in POSITIVE; package DYNAMIC_STRING is subtype STRING_LENGTHS is INTEGER range 0 .. MAX_STRING_LENGTH; subtype STRING_INDICES is STRING_LENGTHS; type DYNAMIC_STRINGS(LENGTH: STRING_LENGTHS := 0) is private; function LENGTH (PASCAL_STRING: DYN...
24.342857
75
0.785211
false
false
true
706
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure Quadratic_Equation is type Roots is array (1..2) of Float; function Solve (A, B, C : Float) return Roots is SD : constant Float := sqrt (B**2 - 4.0 * A * C); ...
30.695652
79
0.524079
false
false
true
4,519
ada
Ada
[ "Apache-2.0" ]
7
-- CE3411C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
30.741497
79
0.53773
false
false
true
2,784
ada
Ada
[ "Apache-2.0" ]
7
-- C87B06A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
30.593407
79
0.627874
false
false
true
662
ada
Ada
[ "Zed", "X11", "MIT" ]
2
No-one has translated the suisnail example into Ada yet. Be the first to create suisnail in Ada and get one free Internet! If you're the author of the Ada binding, this is a great way to get people to use 0MQ in Ada. To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: * Stick to identical ...
47.285714
83
0.776435
false
false
false
2,298
ada
Ada
[ "Info-ZIP" ]
1
package body Generic_Inverted_Index is -- uses some of the new Ada 2012 syntax use Source_Vecs; procedure Store(Storage: in out Storage_Type; Source: Source_Type; Item: Item_Type) is use type Maps.Cursor; begin if (Storage.Find(Item) = Maps.No_Ele...
27.686747
72
0.59356
false
false
true
5,413
ada
Ada
[ "Apache-2.0" ]
7
-- C52104M.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
29.259459
79
0.507851
false
false
true
5,263
ada
Ada
[ "Apache-2.0" ]
7
-- CC1301A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
31.89697
79
0.514155
false
false
true
1,995
ada
Ada
[ "Apache-2.0" ]
7
-- CD7101D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
36.944444
79
0.655138
false
false
true
19
ada
Ada
[ "Apache-2.0" ]
null
end ${self.name};
6.333333
17
0.578947
false
false
false
4,214
ada
Ada
[ "Apache-2.0" ]
7
-- C52103Q.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
29.263889
79
0.540342
false
false
true
3,115
ada
Ada
[ "Apache-2.0" ]
7
-- CD3015C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
37.53012
79
0.591653
false
false
true
93
ada
Ada
[ "Info-ZIP" ]
1
for I in 1..5 loop for J in 1..I loop Put("*"); end loop; New_Line; end loop;
13.285714
21
0.526882
false
false
true
12,662
ada
Ada
[ "Apache-2.0" ]
7
-- C35507C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
35.074792
79
0.460038
false
false
true
1,047
ada
Ada
[ "Info-ZIP" ]
1
with Glib; use Glib; with Cairo; use Cairo; with Cairo.Png; use Cairo.Png; with Cairo.Pattern; use Cairo.Pattern; with Cairo.Image_Surface; use Cairo.Image_Surface; with Ada.Numerics; procedure Sphere is subtype Dub is Glib.Gdouble; Surface : Cairo_Surface; Cr ...
33.774194
76
0.630372
false
false
true
662
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Numerics.Complex_Arrays; use Ada.Numerics.Complex_Arrays; with Ada.Complex_Text_IO; use Ada.Complex_Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Complex_Elementary_Functions; with Generic_FFT; procedure Example is function FFT is new Generic_FFT (Ada.Numerics.Co...
31.52381
67
0.595166
false
false
true
9,921
ada
Ada
[ "Apache-2.0" ]
7
-- C74004A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
26.385638
79
0.495414
false
false
true
5,895
ada
Ada
[ "Apache-2.0" ]
7
-- C45531B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
38.279221
79
0.516709
false
false
true
90
ada
Ada
[ "Info-ZIP" ]
1
for Value in 0..Integer'Last loop Put (Value); exit when Value mod 6 = 0; end loop;
18
33
0.655556
false
false
true
2,875
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Calendar; with Ada.Calendar.Formatting; with Ada.Calendar.Time_Zones; with Ada.Integer_Text_IO; with Ada.Text_IO; procedure Date_Manipulation is type Month_Name_T is (January, February, March, April, May, June, July, August, September, October, November, December); type Time_Zone_Name_T is ...
29.336735
73
0.596522
false
false
true
242
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Characters.Handling, Ada.Text_IO; use Ada.Characters.Handling, Ada.Text_IO; procedure Upper_Case_String is S : constant String := "alphaBETA"; begin Put_Line (To_Upper (S)); Put_Line (To_Lower (S)); end Upper_Case_String;
24.2
42
0.743802
false
false
true
2,599
ada
Ada
[ "Apache-2.0" ]
7
-- C66002G.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
31.313253
79
0.572913
false
false
true
2,052
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Text_IO; procedure Vignere_Cipher is subtype Letter is Character range 'A' .. 'Z'; subtype Lowercase is Character range 'a' .. 'z'; function "+"(X, Y: Letter) return Letter is begin return Character'Val( ( (Character'Pos(X)-Character'Pos('A')) + (Character'P...
32.0625
80
0.57846
false
false
true
5,117
ada
Ada
[ "Apache-2.0" ]
7
-- C37209A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
35.047945
79
0.487395
false
false
true
3,608
ada
Ada
[ "Apache-2.0" ]
7
-- C32001D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
36.08
79
0.561253
false
false
true
1,381
ada
Ada
[ "Apache-2.0" ]
7
-- CA1013A5.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimi...
44.548387
79
0.68139
false
false
true
2,662
ada
Ada
[ "Apache-2.0" ]
7
-- C9A003A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
25.113208
79
0.555597
false
false
true
9,994
ada
Ada
[ "Apache-2.0" ]
7
-- CC3019C1.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimi...
30.10241
79
0.53322
false
false
true
274
ada
Ada
[ "Info-ZIP" ]
1
generic type Swap_Type is private; -- Generic parameter procedure Generic_Swap (Left, Right : in out Swap_Type); procedure Generic_Swap (Left, Right : in out Swap_Type) is Temp : constant Swap_Type := Left; begin Left := Right; Right := Temp; end Generic_Swap;
24.909091
58
0.722628
false
false
true
1,765
ada
Ada
[ "Info-ZIP" ]
1
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Recursive_Binary_Search is Not_Found : exception; generic type Index is range <>; type Element is private; type Array_Of_Elements is array (Index range <>) of Element; with function "<" (L, R : Element) return Boolean is <>; function ...
32.090909
83
0.582436
false
false
true
176
ada
Ada
[ "Info-ZIP" ]
1
package Synchronous_Concurrent is task Printer is entry Put(Item : in String); entry Get_Count(Count : out Natural); end Printer; end Synchronous_Concurrent;
25.142857
43
0.727273
false
false
true
4,637
ada
Ada
[ "Apache-2.0" ]
7
-- C37208B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
38.322314
79
0.541298
false
false
true
2,651
ada
Ada
[ "Apache-2.0" ]
7
-- C64202A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
36.315068
79
0.537156
false
false
true
5,715
ada
Ada
[ "Apache-2.0" ]
7
-- CE3906C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
32.106742
79
0.511461
false
false
true
2,280
ada
Ada
[ "Apache-2.0" ]
7
-- C95035A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
28.860759
79
0.628509
false
false
true
3,232
ada
Ada
[ "Apache-2.0" ]
7
-- CE3403D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
32.32
79
0.593131
false
false
true
5,503
ada
Ada
[ "Apache-2.0" ]
7
-- C57004A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
34.180124
79
0.394694
false
false
true
5,843
ada
Ada
[ "Apache-2.0" ]
7
-- C34007V.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
31.755435
79
0.522677
false
false
true
489
ada
Ada
[ "Info-ZIP" ]
1
type Data_Array is array(Natural range <>) of Integer; procedure Insertion_Sort(Item : in out Data_Array) is First : Natural := Item'First; Last : Natural := Item'Last; Value : Integer; J : Integer; begin for I in (First + 1)..Last loop Value := Item(I); J := I - 1; while J in Ite...
25.736842
57
0.568507
false
false
true
3,392
ada
Ada
[ "Apache-2.0" ]
7
-- C97201D.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
32.932039
79
0.548644
false
false
true
3,365
ada
Ada
[ "Apache-2.0" ]
7
-- CB4008A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
24.384058
79
0.500149
false
false
true
4,054
ada
Ada
[ "BSD-4-Clause", "BSD-3-Clause" ]
3
-- DEMONSTRATION PROGRAM: -- Features: -- Enumeration types, ENUM_IO (generic package), records and -- aggregates, dynamic exception handling, packages, etc. package DATE_PKGE is subtype DAY is integer range 1..31; type MONTH is (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec); ...
25.821656
72
0.537
false
false
true
1,463
ada
Ada
[ "Apache-2.0" ]
7
-- CA1012B2.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimi...
38.5
79
0.677375
false
false
true
3,726
ada
Ada
[ "Apache-2.0" ]
7
-- C85009A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
33.872727
79
0.602791
false
false
true
745
ada
Ada
[ "Info-ZIP" ]
null
with Ada.Text_IO; with Config; use Config; procedure Read_Config is use Ada.Text_IO; use Rosetta_Config; begin New_Line; Put_Line ("Reading Configuration File."); Put_Line ("Fullname := " & Get (Key => FULLNAME)); Put_Line ("Favorite Fruit := " & Get (Key => FAVOURITEFRUIT));...
29.8
66
0.610738
false
false
true
End of preview.

Dataset Description

A subset of the-stack dataset, from 87 programming languages, and 295 extensions. Each language is in a separate folder under data/ and contains folders of its extensions. We select samples from 20,000 random files of the original dataset, and keep a maximum of 1,000 files per extension.

Check this space for inspecting this dataset.

Languages

The dataset contains 87 programming languages:

'ada', 'agda', 'alloy', 'antlr', 'applescript', 'assembly', 'augeas', 'awk', 'batchfile', 'bison', 'bluespec', 'c',
'c++', 'c-sharp', 'clojure', 'cmake', 'coffeescript', 'common-lisp', 'css', 'cuda', 'dart', 'dockerfile', 'elixir',
'elm', 'emacs-lisp','erlang', 'f-sharp', 'fortran', 'glsl', 'go', 'groovy', 'haskell','html', 'idris', 'isabelle', 'java', 
'java-server-pages', 'javascript', 'julia', 'kotlin', 'lean', 'literate-agda', 'literate-coffeescript', 'literate-haskell',
 'lua', 'makefile', 'maple', 'markdown', 'mathematica', 'matlab', 'ocaml', 'pascal', 'perl', 'php', 'powershell', 'prolog',
  'protocol-buffer', 'python', 'r', 'racket', 'restructuredtext', 'rmarkdown', 'ruby', 'rust', 'sas', 'scala', 'scheme', 
  'shell', 'smalltalk', 'solidity', 'sparql', 'sql', 'stan', 'standard-ml', 'stata', 'systemverilog', 'tcl', 'tcsh', 'tex', 
  'thrift', 'typescript', 'verilog', 'vhdl', 'visual-basic', 'xslt', 'yacc', 'zig'

Dataset Structure

You can specify which language and extension you want to load:

# to load py extension of python
from datasets import load_dataset

load_dataset("bigcode/the-stack-inspection-data", data_dir="data/python/py")

DatasetDict({
    train: Dataset({
        features: ['content', 'lang', 'size', 'ext', 'max_stars_count', 'avg_line_length', 'max_line_length', 'alphanum_fraction'],
        num_rows: 1000
    })
})
Downloads last month
1,165

Space using bigcode/the-stack-inspection-data 1