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:    TypeError
Message:      Couldn't cast array of type
struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
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 2122, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
              to
              {'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
              
              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.

text
string
meta
dict
namespace Microsoft.Azure.Management.Network.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Microsoft.Rest.Azure; /// <summary> /// Response for ListRoutesTable associ...
{ "content_hash": "aa4d0d5bb43e106a16b3293a5be94b65", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 185, "avg_line_length": 32.71739130434783, "alnum_prop": 0.6365448504983389, "repo_name": "yoavrubin/azure-sdk-for-net", "id": "33c992071ef7df0c9bc4369d41005a5f5353fa74", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="Xenon Boostrap Admin Panel" /> <meta name="author" content="" /> <title>Xenon - Range Se...
{ "content_hash": "d1b6efb868b873ce59bb80b38fe68f1b", "timestamp": "", "source": "github", "line_count": 1749, "max_line_length": 364, "avg_line_length": 27.9010863350486, "alnum_prop": 0.4921617246255046, "repo_name": "lajayuhniyarsyah/Beltcarepro", "id": "bd2eb2f0e9a5945b48d0856c840cd12d9d24c040", ...
package client const ( EXTERNAL_HOST_EVENT_TYPE = "externalHostEvent" ) type ExternalHostEvent struct { Resource AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Data map[string]interface{} `json:"data,omitempty" yaml:...
{ "content_hash": "090157e91d8fc6e7b8aece159db11f74", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 120, "avg_line_length": 32.47863247863248, "alnum_prop": 0.775, "repo_name": "appscode/kubernetes", "id": "ae8ec14cebdff50c8d5b1007615f96c44a9aed96", "size": "3800", "bi...
using System.Collections.Concurrent; using System.Diagnostics.Contracts; using System.Globalization; using System.Reflection; using System.Runtime; using System.Runtime.CompilerServices; using System.ServiceModel.Description; using System.ServiceModel.Diagnostics; using System.ServiceModel.Dispatcher; using System.Thre...
{ "content_hash": "ad68a2efd1ee01f3e15c74fc6a4bcb37", "timestamp": "", "source": "github", "line_count": 792, "max_line_length": 183, "avg_line_length": 36.68939393939394, "alnum_prop": 0.5654208823731847, "repo_name": "murador/wcf", "id": "18b872169d1c492d5750ddcc8a37820bf9b4a9a9", "size": "29210",...
package org.openqa.selenium.grid.router; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.openqa.selenium.Capabilities; import org.openqa.selenium.ImmutableCapabilities; import org.openqa...
{ "content_hash": "568287cc3014e4f27792d218c057788e", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 99, "avg_line_length": 38.06792452830189, "alnum_prop": 0.735329103885805, "repo_name": "SeleniumHQ/selenium", "id": "4116b86a2d188731f314f403b2f1bc6e2f59e550", "size": "1...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "682d677621780eef1d02b2a546ad3ba8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "17f37678006905fa017c58f414d49cd708e34466", "size": "189...
import * as gulpLoadPlugins from 'gulp-load-plugins'; import { join } from 'path'; import ts = require('gulp-typescript/release/main'); import Config from '../../config'; const plugins = <any>gulpLoadPlugins(); let tsProjects: any = {}; /** * Creates a TypeScript project with the given options using the gulp types...
{ "content_hash": "d23cae70e625396c9acee301853017dc", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 137, "avg_line_length": 35.24, "alnum_prop": 0.7219069239500567, "repo_name": "christopherwk210/objShare", "id": "6bee2172cb4e8e2d73644f5b8b6fd91f81aa41dc", "size": "881", ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Roslyn.Diagnostics.Analyzers { internal static class RoslynDiagnosticIds { public const string UseEmptyEnumerableRuleId = "RS0001";...
{ "content_hash": "d1cd894778b0e69f4ad15594e4d505b5", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 161, "avg_line_length": 59.32258064516129, "alnum_prop": 0.7384448069603046, "repo_name": "hanu412/roslyn", "id": "dbdb0851dab2734ffcb7a0cda8d7b973d43befcc", "size": "1841"...
#ifndef _TASK_H_ #define _TASK_H_ 1 #ifdef __cplusplus extern "C" { #endif #include <stdarg.h> #include <unistd.h> #include <inttypes.h> #include "zmq_compat.h" struct tns_value_t; /* * basic procs and threads */ typedef struct Task Task; typedef struct Tasklist Tasklist; #define MAX_STATE_LENGTH 30 int a...
{ "content_hash": "087bd8ef2c689ac537a51a1228344ef1", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 75, "avg_line_length": 17.677018633540374, "alnum_prop": 0.6749824314827828, "repo_name": "jiffyjeff/mongrel2", "id": "b453b343fa5e20ee25a2c563f80b47f2d11ac2e5", "size": "...
(function() { 'use strict'; var hello = function () { return "hello"; } module.exports = hello; }()); // benalman.com/news/2010/11/immediately-invoked-function-expression
{ "content_hash": "09997c6482f399f8309f1b9c3c723a8e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 74, "avg_line_length": 18.5, "alnum_prop": 0.6432432432432432, "repo_name": "ceros/ShareJS", "id": "2a37d7e7eafa8557eaf319e9ee54a7c5d160d1ab", "size": "223", "binary": fa...
<?php namespace ZendTest\Db\Adapter\Driver\IbmDb2; use Zend\Db\Adapter\Driver\IbmDb2\IbmDb2; use Zend\Db\Adapter\Driver\IbmDb2\Connection; class ConnectionTest extends \PHPUnit_Framework_TestCase { /** * @var Connection */ protected $connection; /** * Sets up the fixture, for example, op...
{ "content_hash": "7ebd9079053369f0a589ac310a311977", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 100, "avg_line_length": 26.29310344827586, "alnum_prop": 0.6498360655737705, "repo_name": "celsodavid/cafe-seleto", "id": "c51a12346a2274239ca50f257977b7991a527945", "size"...
it("should run a multi compiler", function() { });
{ "content_hash": "735b8e2cbf4319207fc6dcdf3a92d76c", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 46, "avg_line_length": 17, "alnum_prop": 0.6470588235294118, "repo_name": "tiagoengel/webpack", "id": "b782608fd52bdbb2bfcdcd984eb833a73da0a74c", "size": "51", "binary": f...
<?php namespace Mockery; class MethodCall { private $method; private $args; public function __construct($method, $args) { $this->method = $method; $this->args = $args; } public function getMethod() { return $this->method; } public function getArgs() {...
{ "content_hash": "294e8c08ea585441a738d34afc64f3b3", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 47, "avg_line_length": 14.28, "alnum_prop": 0.5406162464985994, "repo_name": "atgomes/note-app", "id": "bc79b5f40732446b4c734ead0e4ade971f8ce636", "size": "357", "binary"...
<!-- This is a static template file, so it doesn't have an associated app. It is rendered by the server via a staticPages renderer. Since static pages don't include the Derby client library, they can't have bound variables that automatically update. However, they do support initial template tag rendering from a c...
{ "content_hash": "e0fbab0ae113b1bbfb6c877a475b542f", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 76, "avg_line_length": 31.5, "alnum_prop": 0.7162698412698413, "repo_name": "peterkokot/todomvc", "id": "faf3817a139a3db14a6d1dfbd15d25a8a2b3f6fa", "size": "504", "binary...
<!DOCTYPE html> <html> <link href="resources/grid.css" rel="stylesheet"> <style> .grid { grid-template-columns: 100px 300px; grid-template-rows: 50px 150px; height: 200px; width: 400px; } .percentWidth { width: 100%; height: 15px; } .percentHeight { width: 15px; height: 100%; } .perce...
{ "content_hash": "bd977615f7a231b4513d26e0467b15fe", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 131, "avg_line_length": 43.96666666666667, "alnum_prop": 0.7361637604245641, "repo_name": "Pluto-tv/blink-crosswalk", "id": "bff8f339dc49a3c41e5d6c4167fc2bf077e705fd", "siz...
#include "../../SDL_internal.h" #ifdef SDL_FILESYSTEM_COCOA /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* System dependent filesystem routines */ #include <Foundation/Foundation.h> #include <sys/stat.h> #include <sys/types.h> #include "SDL_error.h" #inc...
{ "content_hash": "a8ba900a123eee6e497671a109d7a643", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 111, "avg_line_length": 29.60919540229885, "alnum_prop": 0.530667701863354, "repo_name": "codedash64/Urho3D", "id": "6dee580524026468f5dc1766e4b533e16c1966cd", "size": "351...
package org.apache.hadoop.util; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLE...
{ "content_hash": "1cca8caab8513037105956ee76e246c3", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 80, "avg_line_length": 32.61764705882353, "alnum_prop": 0.6556582506762849, "repo_name": "tianshouzhi/hadoop", "id": "ccb114baaef9b0011043451ea5c55950b7646074", "size": "9...
package org.vertexium.cypher.tck; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions( format = "pretty", features = "classpath:org/vertexium/cypher/tck/features/TriadicSelection.feature", glue = "org.vertexium...
{ "content_hash": "3170e57e24e11c5117ba68ea22215a8c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 86, "avg_line_length": 26.714285714285715, "alnum_prop": 0.7754010695187166, "repo_name": "visallo/vertexium", "id": "30fe2765394d995e697fc584ec61075be08fd102", "size": "37...
package org.elasticsearch.transport; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.elasticsearch.action.Action; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.ActionModule; import org.elasticsearch.action.ActionRequ...
{ "content_hash": "b007c7fc56bb42affe23ffb13eb8bbc4", "timestamp": "", "source": "github", "line_count": 423, "max_line_length": 285, "avg_line_length": 45.248226950354606, "alnum_prop": 0.6801985370950888, "repo_name": "fekaputra/elasticsearch", "id": "566d1d85b04aa067bbd20ae5300f7da5cd1e7f1f", "si...
Wrapper that adds `fetcher` function to react component as static property ```js type FetcherFn = (locals: Object) => Array<Action> | Action | void; type PrefetchFn = (fetcher: FetcherFn) => (component: ReactComponent) => ReactComponent; ``` ### `dispatchFetchers` Collects results (redux actions) of `fetcher` functio...
{ "content_hash": "9ec331a2ad4156b15a71f30d2ef87e67", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 88, "avg_line_length": 30.944444444444443, "alnum_prop": 0.7235188509874326, "repo_name": "ntkoso/redux-saga-fetcher", "id": "708fa28ec3052257d1ffa8719e920e9cdd67f9ac", "si...
/* * FileSystem * * Translate temporary / persistent / root file paths */ var info = require("cordova-plugin-file.bb10FileSystemInfo"); module.exports = { __format__: function(fullPath) { var path; switch (this.name) { case 'temporary': path = info.temporaryPath ...
{ "content_hash": "d82d20c5049276be0478373255b0c3a9", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 80, "avg_line_length": 24.142857142857142, "alnum_prop": 0.5325443786982249, "repo_name": "jannunen/papp", "id": "255f904561f92c4480af1699ae5614d1f2413964", "size": "1488",...
<div id="__html_block_list_id__" class="adm-bp-blocks"> <bx_include_auto:bp_blocks.html /> <script type="text/javascript"> $(document).ready(function () { $('.adm-bp-block .adm-bpb-icon, .adm-bp-block .adm-bpb-info').bind('click', function() { var oCheckbox = $(this).parent...
{ "content_hash": "9675ca2e90d24cd75792add52adae824", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 100, "avg_line_length": 46.54545454545455, "alnum_prop": 0.544921875, "repo_name": "camperjz/una", "id": "ec784bb04197717ef2486f3ba2a23d7e49419ff2", "size": "512", "binar...
package org.springframework.boot.context.web; import javax.servlet.Filter; import javax.servlet.Servlet; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import o...
{ "content_hash": "35315f3b10ffd92bb61a609cf9fc5d07", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 95, "avg_line_length": 41.1937984496124, "alnum_prop": 0.7909296198720361, "repo_name": "gorcz/spring-boot", "id": "e5ae60fd204eda3a828ffd5005c9ba282b5e431c", "size": "593...
[npm-img]: https://img.shields.io/npm/v/mkv-subtitle-extractor.svg [npm-url]: https://www.npmjs.com/package/mkv-subtitle-extractor [dep-img]: https://david-dm.org/mathiasvr/mkv-subtitle-extractor.svg [dep-url]: https://david-dm.org/mathiasvr/mkv-subtitle-extractor [lic-img]: http://img.shields.io/:license-MIT-blue.svg ...
{ "content_hash": "44f1292e025289f50854dc2b82e16493", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 107, "avg_line_length": 25.79310344827586, "alnum_prop": 0.7259358288770054, "repo_name": "mathiasvr/mkv-subtitle-extractor", "id": "f40d9b871bf36f94a885d7dabd57a684fb98a175"...
/*! SWFMini - a SWFObject 2.2 cut down version for webshims * * based on SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfmini = function() { var wasRemoved = function(){webshims.error('This method was removed f...
{ "content_hash": "b52d9cef4d142915e040b25de27ecb65", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 264, "avg_line_length": 30.062780269058297, "alnum_prop": 0.6430489260143198, "repo_name": "wil93/cdnjs", "id": "6af1955187ef0fa3138f885b5a4f29042a5598cf", "size": "6704",...
@interface OCThumborTests : XCTestCase @property (nonatomic, strong) OCThumbor *thumbor; @end NSString * const KEY = @"my-security-key"; NSString * const IMG = @"my.server.com/some/path/to/image.jpg"; @implementation OCThumborTests - (void)testCannotAddInvalidKey { @try { [OCThumbor createWithHost...
{ "content_hash": "b0ac8e19077fcccc293960c667ca9984", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 74, "avg_line_length": 25.661538461538463, "alnum_prop": 0.6151079136690647, "repo_name": "appunite/OCThumbor", "id": "6888ca3a57a75f6496ae829bb7c2f3b0d23910bf", "size": "1...
{% extends "layout.html" %} {% block pageTitle %} GOV.UK prototyping kit {% endblock %} {% block content %} {% import "pip23/macros/elements.html" as elements %} {% for page in data %} {% for question in page.treatments %} <main id="content" role="main" class="pip23"> <div class="grid-row"> <div class="column-...
{ "content_hash": "b974e7d9afd5e74c8ef8b732eca15c87", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 138, "avg_line_length": 33.15384615384615, "alnum_prop": 0.5754060324825986, "repo_name": "gup-dwp/pip-prototype-v2", "id": "987caf63c01de2e4f58a1ccae4c077271120f92d", "siz...
require 'spec_helper' describe Spree::Order, :type => :model do let(:order) { stub_model("Spree::Order") } context "#finalize!" do let(:order) { Spree::Order.create(email: 'test@example.com') } before do order.update_column :state, 'complete' end it "should set completed_at" do expec...
{ "content_hash": "206bef86b6395111965482f315098912", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 98, "avg_line_length": 31, "alnum_prop": 0.6566619915848527, "repo_name": "Engeltj/spree", "id": "2a10555d73af7cad40f1591a109fdb9a45809a12", "size": "3565", "binary": fa...
End of preview.

No dataset card yet

Downloads last month
1