Dataset Preview
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 datasetNeed 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 |
|---|---|
TXTCOLOR_DEFAULT="\033[0;m"
TXTCOLOR_RED="\033[0;31m"
TXTCOLOR_GREEN="\033[0;32m"
COCOS2DX20_TRUNK=$HOME/etc/software/cocos2d-x-2.2.4
OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/
OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/
check_make_result()
{
if [ 0 != $? ]; then
exit 1
fi
}
DEPENDS='libx11-de... | {
"content_hash": "fc7db40a478560ddf3441db4104b83db",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 94,
"avg_line_length": 24.29824561403509,
"alnum_prop": 0.7212996389891697,
"repo_name": "ponkotuy/CocosSample",
"id": "9a85c055704ce731abb010c0c8c607b8e7e953b9",
"size": "... |
namespace inet {
namespace httptools {
Define_Module(HttpServer);
void HttpServer::initialize(int stage)
{
HttpServerBase::initialize(stage);
if (stage == INITSTAGE_LOCAL) {
numBroken = 0;
socketsOpened = 0;
WATCH(numBroken);
WATCH(socketsOpened);
}
else if (stage ==... | {
"content_hash": "e1cdef63b0591692e7a10f9f532af314",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 136,
"avg_line_length": 30.033557046979865,
"alnum_prop": 0.6250279329608939,
"repo_name": "googleinterns/vectio",
"id": "0c90fe987e5f29b4377ddd63329ab947d329858f",
"size"... |
/* header 6 */
/* leading retained */
export default function usedNamedFunction () {
console.log( 'named' );
} // trailing retained
/* footer 6 */
| {
"content_hash": "d210a07dad2d76b0fa03fa18c9ad0a81",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 18.75,
"alnum_prop": 0.6533333333333333,
"repo_name": "corneliusweig/rollup",
"id": "7e1d70befbe6621818a4bd6e24e5e79024742776",
"size": "150",
"bina... |
<manifest package="com.cyrillrx.templates" />
| {
"content_hash": "e819cd79260579096726047b67a977fc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 45,
"avg_line_length": 46,
"alnum_prop": 0.7608695652173914,
"repo_name": "cyrillrx/android_libraries",
"id": "06a75552dded21419834204f12194cc3cbe7c699",
"size": "46",
"bi... |
{% from 'macros/helpers.html' import sprite %}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}Gulp Asset Pipeline{% endblock %}</title>
<link rel="stylesheet" href="stylesheets/global.css">
{% block head %}{% endblock %}
</head>
<body>
<h1>Gulp All The Things!</h1>
{% include ... | {
"content_hash": "7628251e43671b6f688616fd38ab72a9",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 95,
"avg_line_length": 28.761904761904763,
"alnum_prop": 0.6125827814569537,
"repo_name": "tinystride/gulp-starter",
"id": "f4d3d6ad500da3dff47c218d77134c35f6a313ca",
"size... |
"""Utilities for probability distributions."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import hashlib
import math
import numpy as np
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes... | {
"content_hash": "1108a46aabc41c3f29087ac9a5cc1852",
"timestamp": "",
"source": "github",
"line_count": 679,
"max_line_length": 80,
"avg_line_length": 39.26067746686304,
"alnum_prop": 0.641571010578438,
"repo_name": "Bulochkin/tensorflow_pack",
"id": "05c6f4da5700382dbd5b4b5dae497696feff836d",
"siz... |
**Browsers and versions affected**
**Description**
**Steps to reproduce**
**Expected results**
**Actual results**
| {
"content_hash": "0806e200ffa4a3d038938602668e3669",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 34,
"avg_line_length": 9.384615384615385,
"alnum_prop": 0.6721311475409836,
"repo_name": "noahlvb/dotfiles",
"id": "bb734d6a4558240fb53c5eb0cd6e8905d1d06097",
"size": "122"... |
<?php
error_reporting(E_STRICT | E_ALL);
// You can set the include path to src directory or reference
// DfpUser.php directly via require_once.
// $path = '/path/to/dfp_api_php_lib/src';
$path = dirname(__FILE__) . '/../../../../src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'Goog... | {
"content_hash": "bbea5dc5663073c6606209229f6c31c1",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 80,
"avg_line_length": 33.19178082191781,
"alnum_prop": 0.6442426743706149,
"repo_name": "claimsmall/googleads-php-lib",
"id": "e1b7e9867c7cc93cff91ae41ebebbfad806ee704",
"... |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/ie-test-pre.js"></script>
<script src="TestCases/15.2.3.3-4-70.js"></script>
<script src="resources/ie-test-post.js"></s... | {
"content_hash": "d1e56c7f330a30f386b4607e63637b93",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 50,
"avg_line_length": 26.384615384615383,
"alnum_prop": 0.6443148688046647,
"repo_name": "hgl888/blink-crosswalk-efl",
"id": "d5636f6c6686b9a3205ddcbf1eb175a304e05702",
"s... |
<ion-view>
<ion-content style="background-color: deepskyblue;">
<div class="list">
<!--<ion-md-input placeholder="Username" ng-model="vm.user" highlight-color="balanced" type="text" ng-click='vm.createUesr()'></ion-md-input>-->
<form novalidate name="form">
<ion-md-in... | {
"content_hash": "47ea129c882615a67a60a010c4a81ff0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 234,
"avg_line_length": 89.61538461538461,
"alnum_prop": 0.6618025751072961,
"repo_name": "mkteagle/angular-game",
"id": "465ad41e6a6dbe472d2e2562b026549a200ed2b5",
"size":... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ja">
<head>
<!-- Generated by javadoc (1.8.0_20) on Tue Aug 25 07:27:06 JST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>クラス階層</title>
<meta name="da... | {
"content_hash": "a6a62d0c268428bda2801a5e59e0c5c7",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 152,
"avg_line_length": 41.52358490566038,
"alnum_prop": 0.681358627740543,
"repo_name": "calotocen/Canal",
"id": "212e396f0c361978cd1cbe6c9e8158878f003156",
"size": "9587... |
module Fog
module Compute
class RackspaceV2
class Real
# Retrieves single metadatum item by key.
# @param [String<images, servers>] collection type of metadata
# @param [String] obj_id id of the object where the metadata is attached
# @param [String] key the key of the metada... | {
"content_hash": "73b3d7d29f814cf3d44930ffa0c9edba",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 106,
"avg_line_length": 36.31578947368421,
"alnum_prop": 0.5797101449275363,
"repo_name": "ralzate/Aerosanidad-Correciones",
"id": "c5fbc6986a3b96ca0abb63e0011accef954a9e45",... |
from ctypes import *
from ctypes.util import find_library
from os import path
import sys
__all__ = ['libsvm', 'svm_problem', 'svm_parameter',
'toPyModel', 'gen_svm_nodearray', 'print_null', 'svm_node', 'C_SVC',
'EPSILON_SVR', 'LINEAR', 'NU_SVC', 'NU_SVR', 'ONE_CLASS',
'POLY', 'PRECOMPU... | {
"content_hash": "5df6d82f149d1a2ff22305de817feed0",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 122,
"avg_line_length": 29.392638036809817,
"alnum_prop": 0.6376539344604467,
"repo_name": "tomazas/icist2015",
"id": "e1a4923c15cb3b399f8a1489db6f83da1df20b0e",
"size": "... |
package org.jetbrains.plugins.ipnb;
import com.intellij.psi.PsiFile;
import com.jetbrains.python.inspections.PyDocstringInspection;
import com.jetbrains.python.inspections.PyStatementEffectInspection;
import com.jetbrains.python.inspections.PythonVisitorFilter;
import org.jetbrains.annotations.NotNull;
public class ... | {
"content_hash": "67058179cf5a7881dedb71e5f135b7e2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 107,
"avg_line_length": 35.27777777777778,
"alnum_prop": 0.8047244094488188,
"repo_name": "ol-loginov/intellij-community",
"id": "46bcfdd5a8506cab905dac110587871b64e4c6e1",
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace MongoDB.Bson.IO
{
/// <summary>
/// Represents a factory for IBsonBuffers.
/// </summary>
public static class ByteBufferFactory
{
/// <summary>
/// Creates a buffer of the specified length. Depending on th... | {
"content_hash": "9194ff985f3f0113713eefabe45327cd",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 144,
"avg_line_length": 35.63513513513514,
"alnum_prop": 0.5566932119833143,
"repo_name": "antonnik/code-classifier",
"id": "1ae6a07d7aba4d4c59248aebe154e0e433417de2",
"siz... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import unittest
import ray
import subprocess
import sys
import tempfile
import time
class MultiNodeTest(unittest.TestCase):
def setUp(self):
# Start the Ray processes on this machine.
out... | {
"content_hash": "80f179f75e55f9df9d55a43942fa7839",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 79,
"avg_line_length": 33.816901408450704,
"alnum_prop": 0.562404553658198,
"repo_name": "Wapaul1/ray",
"id": "952e08da0c7026ef022477e91784f2e78e5aac65",
"size": "7203",
... |
<?xml version='1.0' encoding='utf-8'?>
<!-- This is a sample XML file displayed when the user hasn't specified any quotes. -->
<Quotes>
<Quote>
<Text>He asked me if I knew what time it was. I said, "Yes, but not right now."</Text>
<Attribution>Steven Wright</Attribution>
</Quote>
<Quote>
<Text>I've been doing a... | {
"content_hash": "46da888b695ebaa833c7e46df996260e",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 279,
"avg_line_length": 46.87134502923977,
"alnum_prop": 0.7317529631940112,
"repo_name": "pawrsccouk/Fortune-Saver",
"id": "9e2938d7b1ecd805a0e0cfde6b955f83366136e2",
"si... |
End of preview.
No dataset card yet
- Downloads last month
- 3