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
module SpreeProductGridSort module Search module Ordered def ordered if taxon base_scope = Spree::Product.active base_scope.join(:grid_orders).where("#{Spree::GridOrder.table_name}.taxonomy_id" => taxon.taxonomy.id) base_scope.in_taxon taxon else retr...
{ "content_hash": "c0fbf296f4ab92f6339fc8d5492129f4", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 112, "avg_line_length": 23.375, "alnum_prop": 0.606951871657754, "repo_name": "ginlane/spree_product_grid_sort", "id": "85d124c1a607ac17bdf5d756623c6fbd0309ecc3", "size": "...
// Copyright 2015 The Bazel Authors. 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 appl...
{ "content_hash": "3dd9e19364001837806fa506aad3a096", "timestamp": "", "source": "github", "line_count": 1345, "max_line_length": 100, "avg_line_length": 41.59256505576208, "alnum_prop": 0.6585928282864395, "repo_name": "kchodorow/bazel", "id": "d7be1ffaf465f59cefdcb317831bbeb2a83bcd4b", "size": "55...
import {ProjectorEventContext} from './projectorEventContext'; import {CameraType, LabelRenderParams, RenderContext} from './renderContext'; import {BoundingBox, ScatterPlotRectangleSelector} from './scatterPlotRectangleSelector'; import {ScatterPlotVisualizer} from './scatterPlotVisualizer'; import * as util from '....
{ "content_hash": "3dc7d0c6b6828cf75b5455ef67fba37b", "timestamp": "", "source": "github", "line_count": 715, "max_line_length": 89, "avg_line_length": 33.73006993006993, "alnum_prop": 0.6825061160177468, "repo_name": "MoamerEncsConcordiaCa/tensorflow", "id": "b40863cead1555c7d397caada96ba742b36c15c1"...
package fi.iki.elonen; import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; import fi.iki.elonen.NanoHTTPD.IHTTPSession; import fi.iki.elonen.NanoHTTPD.Response; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockit...
{ "content_hash": "72a449778f0be4d9d71db3de7808f683", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 99, "avg_line_length": 33.141666666666666, "alnum_prop": 0.7196379180286648, "repo_name": "Omegaphora/external_nanohttpd", "id": "04a497bad2946c2501d7dcbe6a30324680f2ea54", ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/stock.iml" filepath="$PROJECT_DIR$/.idea/stock.iml" /> </modules> </component> </project>
{ "content_hash": "428865ee4f8c989657da07a0189a944a", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 104, "avg_line_length": 32.75, "alnum_prop": 0.6526717557251909, "repo_name": "Shaharking/stocksApp", "id": "20fb10ea0ba4ca4d21c4b3d21ffb50cc8ead549e", "size": "262", "bin...
package org.oep.dossiermgt.model.impl; import com.liferay.portal.kernel.util.StringBundler; import com.liferay.portal.model.CacheModel; import org.oep.dossiermgt.model.StatisticByDay; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.ut...
{ "content_hash": "58b99abfb8a75f369f77437bef8779bf", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 76, "avg_line_length": 28.44137931034483, "alnum_prop": 0.7708535402521823, "repo_name": "openegovplatform/OEPv2", "id": "88153668a698026a783fa5e3c15e8e40e0ab419f", "size"...
'use strict' try { module.exports = require('./bindings') } catch (err) { if (process.env.DEBUG) { console.error('Secp256k1 bindings are not compiled. Pure JS implementation will be used.') } module.exports = require('./elliptic') }
{ "content_hash": "01d484035b5d81ade59ff1c60d445169", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 94, "avg_line_length": 24.6, "alnum_prop": 0.6747967479674797, "repo_name": "DigixGlobal/truffle-lightwallet-provider", "id": "8ccc45339f622103b119620360e4aa81cfa8a73c", "s...
using System.Data.Common; namespace Rocks.Profiling.Models { /// <summary> /// Predefined names of profile operations. /// </summary> public static class ProfileOperationNames { /// <summary> /// Execution of <see cref="DbCommand.ExecuteNonQuery"/> method. /// </sum...
{ "content_hash": "18c5a0f58b98bc4745edf66cf2b6b82a", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 94, "avg_line_length": 37.175, "alnum_prop": 0.6220578345662408, "repo_name": "MichaelLogutov/Rocks.Profiling", "id": "90fbcfa69a0f829a479e610e6dbb6b159cb5493c", "size": "1...
void usage(int exitCode = 0) { QString usage = QLatin1String("usage: ") + QLatin1String(_NAME_) + QLatin1String(" "); QString space = usage; space = space.fill(' '); QTextStream stream(stdout); stream << usage << "[-s|--scheduler] [--iface=<name>]\n"; stream << space << "[-h|--help] [--version]...
{ "content_hash": "6a97a63b66de17f781e993d2e3a4d15e", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 116, "avg_line_length": 32.83870967741935, "alnum_prop": 0.5849705304518664, "repo_name": "manyoso/mob", "id": "039cae0264615e548a81bbb2da54dbfd2650d89a", "size": "2143", ...
from __future__ import absolute_import import os import platform import tempfile # Find the best implementation available try: from cStringIO import StringIO except ImportError: from StringIO import StringIO import mock from nose.tools import assert_raises import numpy as np import PIL.Image from . import e...
{ "content_hash": "2a6510debb4ec94d1590dd84724bbbc6", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 142, "avg_line_length": 34.40425531914894, "alnum_prop": 0.48144712430426717, "repo_name": "bygreencn/DIGITS", "id": "a5552e7c4c40c7a6ef29e8f258847e4fef2d5635", "size": "6...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- Licensed to Apereo under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Apereo licenses this file to you under the Apache License, Versi...
{ "content_hash": "c27639c08abbd5dbe5b95f5023cc49b1", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 643, "avg_line_length": 65.26923076923077, "alnum_prop": 0.7554507955215085, "repo_name": "vbonamy/esup-uportal", "id": "09c1fe068d1f1dd92932a6bbc3883959ff28df14", "size": ...
/*************************************************************************/ /* library_godot_webxr.js */ /*************************************************************************/ /* This file is part of: */ /* ...
{ "content_hash": "9c9dbc2563c89e86729fb21aa376fdfb", "timestamp": "", "source": "github", "line_count": 670, "max_line_length": 249, "avg_line_length": 35.09701492537314, "alnum_prop": 0.6638741229002764, "repo_name": "honix/godot", "id": "6e19a8ac6e5f975c47922a944588df1561f86f99", "size": "23515",...
"""Abstraction for Arcyd's git operations.""" # ============================================================================= # CONTENTS # ----------------------------------------------------------------------------- # abdt_git # # Public Classes: # Repo # .is_identical # .get_remote_branches # .checkout_for...
{ "content_hash": "babefd13a73a00ffb5689b04e2bc9773", "timestamp": "", "source": "github", "line_count": 475, "max_line_length": 79, "avg_line_length": 33.265263157894736, "alnum_prop": 0.6164799696221758, "repo_name": "cs-shadow/phabricator-tools", "id": "d87632b3e3c758d65da02884923263acb24dcc52", ...
#import "FBSession.h" #import "FBSession-Private.h" @implementation FBSession static FBSession *_activeSession; + (instancetype)activeSession { return _activeSession; } + (void)markSessionActive:(FBSession *)session { _activeSession = session; } + (instancetype)sessionWithIdentifier:(NSString *)identifier { ...
{ "content_hash": "08ed660afec52a643625479e2e04e683", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 64, "avg_line_length": 14.857142857142858, "alnum_prop": 0.7076923076923077, "repo_name": "truveris/WebDriverAgent", "id": "7f13bb7e49a5eea8fd80d2a3051f487c965f35f4", "size...
<?php $ext = new ReflectionExtension('reflection'); var_dump($ext->getClasses()); ?> ==DONE==
{ "content_hash": "8e10699fefd798444c13e5e19bca7cd3", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 45, "avg_line_length": 18.8, "alnum_prop": 0.6595744680851063, "repo_name": "evnix/go-php-parser", "id": "26b2d31368fffa44352b0b2655a6a2083d1c26f7", "size": "94", "binary"...
package org.jboss.pnc.integration.endpoints; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.pnc.client.BuildConfigurationClient; import org.jboss.pnc.client.ClientException; import or...
{ "content_hash": "7b42d3aed4ca63ced8f56e58936b3cf2", "timestamp": "", "source": "github", "line_count": 381, "max_line_length": 120, "avg_line_length": 43.485564304461946, "alnum_prop": 0.714087397392564, "repo_name": "alexcreasy/pnc", "id": "d7aea201ce605405e4af11588021a0a114cc5187", "size": "1727...
End of preview.

No dataset card yet

Downloads last month
1