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
<?php namespace Kunstmaan\TranslatorBundle\Model\Translation; /** * Defines a new translation - bridge between controller and service layer */ class NewTranslation { /** * An array with all translations, key = locale, value = translation * @var array */ protected $locales = array(); /** ...
{ "content_hash": "7b564a0f45c2e0d2ed61d191a0789c46", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 74, "avg_line_length": 17.649122807017545, "alnum_prop": 0.5785288270377733, "repo_name": "kln3wrld/KunstmaanBundlesCMS", "id": "84418ced575aa8eb0bc1dfe56907fd65edfc08d3", ...
<?php class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection { protected $collection_key = 'data'; public $code; protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData'; protected $dataDataType = 'array'; public $message; public function setCode($code) {...
{ "content_hash": "41a667465ce808a9d6427a4b894b960d", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 81, "avg_line_length": 18.944444444444443, "alnum_prop": 0.6642228739002932, "repo_name": "dwivivagoal/KuizMilioner", "id": "ccfad568b01af10b6f815d0427944ff3b64cfae2", "siz...
import {empty, interval, Observable, of} from 'rxjs'; import {buffer, bufferCount, bufferTime, bufferToggle, bufferWhen} from 'rxjs/operators'; import {asyncTest} from '../test-util'; xdescribe('Observable.buffer', () => { let log: any[]; let observable1: Observable<any>; beforeEach(() => { log = []; }...
{ "content_hash": "e847c12c424a5a3a54b3ca0c79eb35e4", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 92, "avg_line_length": 35.58659217877095, "alnum_prop": 0.5054945054945055, "repo_name": "matsko/angular", "id": "bf2be46e6d4ab5e5e2b092897eb1ca4a5cebe57d", "size": "6572"...
reset vsh flash0:/vsh/module/vshmain.prx
{ "content_hash": "304106d447e9dba4d635b8ca12d3993a", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 30, "avg_line_length": 20.5, "alnum_prop": 0.8048780487804879, "repo_name": "173210/psplinkusb", "id": "038203a5e41fefdd8f3ab7df595eefe2a0f23f49", "size": "105", "binary":...
package de.plushnikov.builder.importbuilder; import de.plushnikov.builder.BuilderExample; import de.plushnikov.builder.BuilderExample.BuilderExampleBuilder; import de.plushnikov.builder.importbuilder.otherpackage.Builder2Import; import static de.plushnikov.builder.importbuilder.otherpackage.Builder2Import.Builder2Impo...
{ "content_hash": "316df4638aaee25c7c5fc155cb966b96", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 100, "avg_line_length": 40.80952380952381, "alnum_prop": 0.8296382730455076, "repo_name": "mplushnikov/lombok-intellij-plugin", "id": "65dd005d00a9f14183a306239e2d5dbbb47d96b...
package main import ( "bytes" "fmt" "io" "io/ioutil" "log" "reflect" "strconv" "strings" "unicode" "golang.org/x/text/internal/gen" "golang.org/x/text/internal/triegen" "golang.org/x/text/internal/ucd" "golang.org/x/text/unicode/norm" ) func main() { gen.Init() genTables() genTablesTest() gen.Repack...
{ "content_hash": "c2dfed5bd36f90775b0b6d88c97a4592", "timestamp": "", "source": "github", "line_count": 828, "max_line_length": 102, "avg_line_length": 26.035024154589372, "alnum_prop": 0.6350141485364382, "repo_name": "mantzas/golinear", "id": "1cfe1c0201f721b5360036f7ed7f85cd6d9d8446", "size": "2...
package org.sleuthkit.autopsy.coreutils; /** * * @author jwallace */ public class JLnkParserException extends Exception { /** * Constructs an instance of * <code>JLnkParserException</code> caused by the given exception. * * @param msg the detail message. */ public JLnkParserExcep...
{ "content_hash": "a853aae0977ee29ee0e8b83be92f694f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 70, "avg_line_length": 19.68421052631579, "alnum_prop": 0.6470588235294118, "repo_name": "sidheshenator/autopsy", "id": "f9e034df429d4d342d517caaaf789316590cffc8", "size": ...
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
{ "content_hash": "51c7ac8b465d2ab55ea8a87f63a491c0", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 121, "avg_line_length": 43.76712328767123, "alnum_prop": 0.6826291079812207, "repo_name": "crosswalk-project/crosswalk-test-suite", "id": "703048dad4053eb248aa445cc46e78f40a0...
<?php defined('C5_EXECUTE') or die("Access Denied."); class Concrete5_Controller_Block_DashboardAppStatus extends BlockController { protected $btCacheBlockRecord = true; protected $btCacheBlockOutput = true; protected $btCacheBlockOutputOnPost = true; protected $btCacheBlockOutputForRegisteredUsers = true...
{ "content_hash": "b19f10cba68999fb377cd31b045dec92", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 79, "avg_line_length": 28.26530612244898, "alnum_prop": 0.6700361010830325, "repo_name": "mchakon/afc", "id": "f2449908eaa4472b9ec80c935235688294c263cf", "size": "1786", ...
namespace realm { template <typename ValueType, typename ContextType> void Object::set_property_value(ContextType& ctx, StringData prop_name, ValueType value, bool try_update) { verify_attached(); m_realm->verify_in_write(); auto& property = property_for_name(prop_name); // Modifying primary keys is al...
{ "content_hash": "dc10372e08c990e8cd88e92958f1dcb1", "timestamp": "", "source": "github", "line_count": 302, "max_line_length": 155, "avg_line_length": 43.235099337748345, "alnum_prop": 0.6079497587500957, "repo_name": "followmoe/EMA02", "id": "08be944631838f72d9d916ab6a36949d048333e6", "size": "14...
package com.github.dozermapper.core; import java.util.Random; import com.github.dozermapper.core.config.SettingsDefaults; import com.github.dozermapper.core.config.SettingsKeys; import com.github.dozermapper.core.util.DozerConstants; import org.junit.Before; public abstract class AbstractDozerTest { private s...
{ "content_hash": "06216368f96324c870c1156aea49d233", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 103, "avg_line_length": 29.26923076923077, "alnum_prop": 0.7437582128777924, "repo_name": "garethahealy/dozer", "id": "963dcb973ad81ac1ec8a26d7194987a3835377d8", "size": "1...
'use strict' let component = require('omniscient') let R = require('ramda') let S = require('underscore.string.fp') let h = require('react-hyperscript') let immutable = require('immutable') let logger = require('@arve.knudsen/js-logger').get('userProfile') let ajax = require('../../ajax') let {nbsp,} = require('../../...
{ "content_hash": "5e2080c0fd8f44e70058533c80557d8f", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 91, "avg_line_length": 30.56149732620321, "alnum_prop": 0.5557305336832896, "repo_name": "muzhack/musitechhub", "id": "44209c21e77e8133bfbadc3688ef7e0bebe5dd4f", "size": "...
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.34209 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '-----------...
{ "content_hash": "c96f4a90e52e614886a8dadd7994cb10", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 179, "avg_line_length": 39.89041095890411, "alnum_prop": 0.6493818681318682, "repo_name": "Esri/arcobjects-sdk-community-samples", "id": "3abdbb6e21326c3258b3548ee565a1c16fde...
package fi.iki.elonen; import java.io.*; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.net.SocketTimeoutException; import java.net.URLDecoder; import java.nio.ByteBuffer; import java.nio.channels.File...
{ "content_hash": "1782c9d68c3f770924fe142860a6e0b8", "timestamp": "", "source": "github", "line_count": 1930, "max_line_length": 174, "avg_line_length": 36.766321243523315, "alnum_prop": 0.547781113037106, "repo_name": "biswajitind/SCMF", "id": "647f58b4b85e269dde9fd9f5c0a0b2abff17882b", "size": "7...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>rupicola: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
{ "content_hash": "811ca4f0fa3653b6223870be6f09ad98", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 159, "avg_line_length": 41.50588235294118, "alnum_prop": 0.5446428571428571, "repo_name": "coq-bench/coq-bench.github.io", "id": "f2b96bf70737f4960fe0a8c9999e71374738dd39", ...
using namespace llvm; namespace { typedef SmallString<COFF::NameSize> name; enum AuxiliaryType { ATFunctionDefinition, ATbfAndefSymbol, ATWeakExternal, ATFile, ATSectionDefinition }; struct AuxSymbol { AuxiliaryType AuxType; COFF::Auxiliary Aux; }; class COFFSymbol; class COFFSection; class COFFSym...
{ "content_hash": "964dc216b3c0edaf5fd7b913fa15a36d", "timestamp": "", "source": "github", "line_count": 893, "max_line_length": 80, "avg_line_length": 34.15901455767077, "alnum_prop": 0.6406700760555992, "repo_name": "hoangt/goblin-core", "id": "d9ca86d8af93d08cf41351f14bf5c23becd6ae3a", "size": "3...
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colo...
{ "content_hash": "69af672042bf86b8041eb376ed4ecda3", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 72, "avg_line_length": 38.1, "alnum_prop": 0.6535433070866141, "repo_name": "rickgit/Test", "id": "fac92916801e0cbbd570ef81122ed49e0c944ccb", "size": "381", "binary": fal...
require "spec_helper" describe "association assignment from nested attributes" do before do define_model("Post", title: :string) do has_many :comments accepts_nested_attributes_for :comments end define_model("Comment", post_id: :integer, body: :text) do belongs_to :post end Fa...
{ "content_hash": "2ac80218639c7395c50f7aeefe170d12", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 124, "avg_line_length": 27.96875, "alnum_prop": 0.6782122905027933, "repo_name": "keeperhood/factory_girl", "id": "44dea106928f5fd15c0a4d37c1c2498fe327e7fd", "size": "895",...
End of preview.

No dataset card yet

Downloads last month
1