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 |
|---|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Mon Apr 29 15:10:36 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
org.apache.solr.util.plugin (Sol... | {
"content_hash": "76cf3e9824d0a9249d8e2b9dafd6d5c7",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 148,
"avg_line_length": 38.482142857142854,
"alnum_prop": 0.7146171693735499,
"repo_name": "iluminati182006/ReutersSolr",
"id": "50ff8dc9d9d28befec351a9cdb01566e6179507b",
... |
using System;
namespace Microsoft.DirectX.Direct3D
{
public enum Cull
{
CounterClockwise = 3,
Clockwise = 2,
None = 1
}
}
| {
"content_hash": "f2445531aaecffaae3931035b74ecf9b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 36,
"avg_line_length": 9.642857142857142,
"alnum_prop": 0.6666666666666666,
"repo_name": "alesliehughes/monoDX",
"id": "f77a16d82b5b24cd72a2a6a3d32dec19c0be1d49",
"size": "... |
<?php
namespace App\Http\Controllers\User;
use Session;
use App\User;
use App\Authorized;
use phpseclib\Crypt\RSA;
use Illuminate\Http\Request;
use App\Exceptions\RSAException;
use PragmaRX\Google2FA\Google2FA;
use App\Http\Controllers\Controller;
class AuthorController extends Controller
{
public function showA... | {
"content_hash": "954793078f63a18830089f6f5f4ab770",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 127,
"avg_line_length": 27.978494623655912,
"alnum_prop": 0.578401229823213,
"repo_name": "TriamUdom/CheckOut",
"id": "45dd871374a37f68128774c97bab582de3899c49",
"size": "2... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | {
"content_hash": "7b7016b9e0e0c86c3a55c4d1b4c297f9",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 111,
"avg_line_length": 37.212765957446805,
"alnum_prop": 0.5620354488279017,
"repo_name": "tegaphilip/ProductReviews",
"id": "807ba8d086f12aa50f04e99bcc1eed173797fb7a",
"... |
package life.qzz.springboot.demo5;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
@Component
public class MyBean {
@Value("${name}")
private String name;
@PostConstruct
public void print(){
Sy... | {
"content_hash": "5ed2f1650e23a65f41efe553a12cf6b8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 58,
"avg_line_length": 21.235294117647058,
"alnum_prop": 0.7202216066481995,
"repo_name": "qzzsunly/springboot-demo",
"id": "fced521abd166624bd014461754002ce96be7b04",
"siz... |
[Fritbot](https://github.com/Urthen/fritbot) module master template and automation. This script creates a skeleton for clean Fritbot module development intended for public distribution. This script is *not* required if you only wish to develop a module for your own purposes and have no intent to distribute it, you can ... | {
"content_hash": "11791f9a62a9639c8861ada95bcc1e9c",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 573,
"avg_line_length": 91.5813953488372,
"alnum_prop": 0.7783138649060437,
"repo_name": "Urthen/fritbot-module-master",
"id": "cf44197700e556b621c5d4558c200724c0f0ba31",
"... |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
' Importando librerias
'--------------------------------------------------------------------------------------... | {
"content_hash": "6a6afdfc81bdbf6d41cb3a804141a96a",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 129,
"avg_line_length": 56.424778761061944,
"alnum_prop": 0.5501882057716436,
"repo_name": "kodeitsolutions/ef-reports",
"id": "0c30b20d819df424b346d4ca24e4d58e1737c888",
... |
using System;
namespace SampleWebsite.MoreModels.Nested
{
public class NestedModel
{
public Guid? Id { get; set; }
}
} | {
"content_hash": "e4ef34917c99d383513753d70381ffb3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 41,
"avg_line_length": 15.555555555555555,
"alnum_prop": 0.6357142857142857,
"repo_name": "slovely/TypeScriptDefinitionsGenerator",
"id": "88e5029c317a02441081254c8f045e9cc4b4... |
package gitlab
import (
"net/http"
"testing"
"github.com/drone/drone/plugin/remote/gitlab/testdata"
"github.com/drone/drone/shared/model"
"github.com/franela/goblin"
)
func Test_Github(t *testing.T) {
// setup a dummy github server
var server = testdata.NewServer()
defer server.Close()
var gitlab = New(ser... | {
"content_hash": "60be0ff14219ef86200317bb5a9c8213",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 65,
"avg_line_length": 29.313953488372093,
"alnum_prop": 0.6548988496628322,
"repo_name": "shawnzhu/drone",
"id": "81d0d4e53155a16547cc70b6f24a54be57733b22",
"size": "2521"... |
<!DOCTYPE html>
<html devsite>
<head><meta name="robots" content="noindex">
<meta name="project_path" value="/web/tools/workbox/_project.yaml" />
<meta name="book_path" value="/web/tools/workbox/_book.yaml" />
<meta name="gtm_var" data-key="docType" data-value="reference">
<title>Class: Workbox</title>
<link... | {
"content_hash": "bb62ef3e068297a7e72d05e1ca718bf5",
"timestamp": "",
"source": "github",
"line_count": 822,
"max_line_length": 189,
"avg_line_length": 46.54987834549878,
"alnum_prop": 0.41231967384486723,
"repo_name": "myakura/WebFundamentals",
"id": "463236072f89e04dcd65d5048559acfb780f3357",
"si... |
from collections import defaultdict
import os
import napalm_yang
import yaml
models = [
napalm_yang.models.openconfig_network_instance,
napalm_yang.models.openconfig_interfaces,
napalm_yang.models.openconfig_platform,
napalm_yang.models.openconfig_vlan,
napalm_yang.models.openconfig_system,
]
... | {
"content_hash": "1d42d4bee24d59a6e93c8ba5ac8d5035",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 84,
"avg_line_length": 29.01801801801802,
"alnum_prop": 0.5402049053089103,
"repo_name": "napalm-automation/napalm-yang",
"id": "2d0433b72fc615819a22af3c6f5d5b54b39f6122",
... |
const fs = require('fs');
const child_process = require('child_process');
var CommonConfig = require('../common.config.js');
if(process.env.NODE_ENV == "sync-soft") {
child_process.execFileSync("gsutil", ["-m", "rsync", "-r", CommonConfig.GetLocalFolders().cdn, CommonConfig.GetCloudStorageCdnOrigin()]);
} else if... | {
"content_hash": "0a98f4e550060c41e7ec90ca51b60429",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 147,
"avg_line_length": 50.9,
"alnum_prop": 0.693516699410609,
"repo_name": "dakom/html5-boilerplate",
"id": "ba11d862cda3ab35a36d9f846785a011930ba8ec",
"size": "509",
"b... |
package external.communication;
/**
* Interface for the communication with IR playbacktool
*
* @author jeeickme
*/
public interface RPCBrowserInterface {
public void play();
public void stop();
public void seek(long timestamp);
public void pause();
public void quit();
}
| {
"content_hash": "3f3b02d8386d393c24097b748a0a032f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 17.11764705882353,
"alnum_prop": 0.7079037800687286,
"repo_name": "dsg-bielefeld/Venice",
"id": "972160f0a1f1444b03304c4b98b90976a739d18e",
"size": "... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (1.8.0_60) on Thu Feb 09 18:35:54 CET 2017 -->
<title>Uses of Class experiment.value.bargossipMobile.RoundUpdater</title>
<meta name="date" content="2... | {
"content_hash": "9c17018d964b2ba65613d5b725a95baa",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 153,
"avg_line_length": 35.70161290322581,
"alnum_prop": 0.6275129884797831,
"repo_name": "glenacota/seine",
"id": "7c1d4d13b8789aee084080bc3353bbdc1ce22410",
"size": "442... |
/**
* @license Angular v5.2.6
* (c) 2010-2018 Google, Inc. https://angular.io/
* License: MIT
*/
import { EventEmitter, Injectable } from '@angular/core';
import { __extends } from 'tslib';
import { LocationStrategy } from '@angular/common';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked b... | {
"content_hash": "d9e921cbfb3753e3b784b97b6eb12eac",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 131,
"avg_line_length": 27.34931506849315,
"alnum_prop": 0.5225811837382085,
"repo_name": "CatsPoo/ShiftOnline",
"id": "793f2ec66a6b432f59827fe87373eec851f8b55e",
"size": ... |
<?php
include "conf/config.php";
if (isset($_SESSION["user_id"]))
{
$order = 0;
$abfrage = "";
if (isset($_GET["order"]))
{
$order = $_GET["order"];
}
echo "<input type='search' name='search-mini' id='search-mini' placeholder='Filter' data-mini='true'>
<label for='select-order' class='select'>Sortieren... | {
"content_hash": "ba861845538bb925db4715b793c40bd9",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 129,
"avg_line_length": 32.23931623931624,
"alnum_prop": 0.5927889713679746,
"repo_name": "Ezak91/Muhvieh-Mobile",
"id": "d8656ba91c38b45ac18cc23b7f1e3ad931a6bad3",
"size"... |
package com.datamountaineer.streamreactor.connect.hbase.avro
import com.datamountaineer.streamreactor.connect.hbase.PersonAvroSchema
import org.apache.avro.Schema
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
class AvroSchemaFieldsExistFnTest extends AnyWordSpec with Match... | {
"content_hash": "d1d25a4508ffcb6955063f6e33275055",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 73,
"avg_line_length": 30,
"alnum_prop": 0.7459770114942529,
"repo_name": "datamountaineer/stream-reactor",
"id": "b55e339c46f0736118aea5729f876f46b1e73690",
"size": "1465"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OSky.Web.Http.Messages
{
public class ResourceLocation
{
public Uri Location { get; private set; }
public void Set(Uri location)
{
Location = location;
}
}
}
| {
"content_hash": "e276444319782b09550ac9dabd940dce",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 49,
"avg_line_length": 17.444444444444443,
"alnum_prop": 0.6210191082802548,
"repo_name": "liumeifu/OSky",
"id": "c9810fe6838e4afd7df4f75679c7f4b8042ffd14",
"size": "316",
... |
@interface CXDropDownMenuViewUITests : XCTestCase
@end
@implementation CXDropDownMenuViewUITests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a fail... | {
"content_hash": "b16f874f298c4abaf64c1db7ca33e31a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 178,
"avg_line_length": 35.233333333333334,
"alnum_prop": 0.7228003784295175,
"repo_name": "WindFlyCloud/Common-functions-List",
"id": "b97639dea14c33c04ceb080bb10ccf73153ed2... |
/**
* Provides scope classes that control the visibility of bindings.
*/
package io.risotto.binding.scope; | {
"content_hash": "8f1bb7f52752e222273f704678dce9b5",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 66,
"avg_line_length": 27,
"alnum_prop": 0.7592592592592593,
"repo_name": "battila7/risotto",
"id": "b5f153e374dcc02b6acc4321677c39832b007e0b",
"size": "108",
"binary": fa... |
<?php
namespace Kunstmaan\AdminBundle\EventListener;
use Kunstmaan\AdminBundle\Helper\AdminRouteHelper;
use Kunstmaan\AdminBundle\Helper\Toolbar\DataCollector;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFounda... | {
"content_hash": "d754579b2e56c1d09cb55ce340d22105",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 143,
"avg_line_length": 30.91747572815534,
"alnum_prop": 0.6026063746271,
"repo_name": "jockri/KunstmaanBundlesCMS",
"id": "44f51a34695c75ad8cbd336f543037794645bb16",
"siz... |
/*
Ported to JavaScript by Lazar Laszlo 2011
lazarsoft@gmail.com, www.lazarsoft.info
*/
/*
*
* Copyright 2007 ZXing authors
*
* 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
*
* ... | {
"content_hash": "4ddacb09b463ea182c9077016aca9a5f",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 842,
"avg_line_length": 39.79807692307692,
"alnum_prop": 0.7194974631553516,
"repo_name": "hshn-labsw-nfc/schnitzel",
"id": "fb202cb9ff1e7811fc402b91204ebca6890d4ae9",
"si... |
End of preview.
No dataset card yet
- Downloads last month
- 1