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 |
|---|---|
<?php
namespace SPHERE\Application\People\Person;
use SPHERE\Application\IApplicationInterface;
use SPHERE\Application\IModuleInterface;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Consumer;
use SPHERE\Common\Main;
use SPHERE\Common\Window\Navigation\Link;
use SPHERE\System\Database\Link\Identifi... | {
"content_hash": "9798b52e35a59ba643619396055f0531",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 116,
"avg_line_length": 36.36290322580645,
"alnum_prop": 0.6225327123530716,
"repo_name": "TheTypoMaster/SPHERE-Framework",
"id": "0128a2a3cb4a207dc73b79db82b253bc628c4da5",... |
import sortObject from 'deep-sort-object'
const manifestPropOrder = [
'name',
'private',
'version',
'description',
'main',
'author',
'license',
'scripts',
'keywords',
'dependencies',
'devDependencies'
]
function getCommonManifest(data) {
const pkg = {
name: data.name,
version: '1.0.0',... | {
"content_hash": "71a1e86aa11dd53eb6d0c4f63ff1d67b",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 102,
"avg_line_length": 21.191860465116278,
"alnum_prop": 0.5640603566529493,
"repo_name": "VegaPublish/vega-studio",
"id": "20567e41b4cdfad57af6334a59e20ca3b1944174",
"si... |
using Game.Renderer;
using Game.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Game
{
public partial class MainMenu ... | {
"content_hash": "f5820d7d736a0f245b13ec91ecd1eeba",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 93,
"avg_line_length": 27.613636363636363,
"alnum_prop": 0.6041152263374485,
"repo_name": "TDMYF/TowerDefence",
"id": "fa7797fde40d11de605fdfcd72a030bc3d01d42a",
"size": "1... |
package org.apache.camel.component.jms;
import javax.jms.ConnectionFactory;
import org.apache.camel.CamelContext;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
import static org.apache.c... | {
"content_hash": "92b9627a8135df67f1c34f6c6c1e6e68",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 97,
"avg_line_length": 31.971014492753625,
"alnum_prop": 0.6155938349954669,
"repo_name": "kingargyle/turmeric-bot",
"id": "c1baf5cb57097a9fee605c6b6a8881a75a1daabd",
"size... |
extern crate scoped_stateful_threadpool;
use scoped_stateful_threadpool::Pool;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
use std::panic::AssertUnwindSafe;
// The representation invariant for PositivelyAtomic is that it is
// always a positive integer. When ... | {
"content_hash": "4adee042f2626b26d97ed299433b537d",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 67,
"avg_line_length": 33.56310679611651,
"alnum_prop": 0.5319641307492046,
"repo_name": "njaard/scoped-stateful-threadpool-rs",
"id": "f082be8032f2bb6aa72b749631de8ea489afb... |
package eu.lunisolar.magma.func.build.function.from;
import eu.lunisolar.magma.basics.Null;
import eu.lunisolar.magma.func.build.*;
import eu.lunisolar.magma.func.Function4U; // NOSONAR
import eu.lunisolar.magma.basics.builder.*; // NOSONAR
import javax.annotation.Nonnull; // NOSONAR
import javax.annotation.Nullable... | {
"content_hash": "137d450c255e26ff7efa9544c12be50d",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 178,
"avg_line_length": 43,
"alnum_prop": 0.7461240310077519,
"repo_name": "lunisolar/magma",
"id": "dc6252e81a6c8d2fce0bcc8f919055b86c502d82",
"size": "6863",
"binary":... |
/**
* @description
*
* A humpback-view created at Sun Sep 13 2015 21:29:15 GMT-0400 (EDT).
*/
angular.module( 'humpback.views.AdminDataViewView.states', [
])
.config(function config( $stateProvider, $urlRouterProvider) {
$stateProvider
.state( 'admin.data.data.data', {
url: '/:model/view/:item',
ncyBrea... | {
"content_hash": "25d02378adf76fc831d7c153760439f7",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 70,
"avg_line_length": 24.25581395348837,
"alnum_prop": 0.6078619367209971,
"repo_name": "CaliStyle/humpback",
"id": "8157d0995a391cf0f1579a2baf88dc75a2ca5ed2",
"size": "10... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8798b45ae64e4395d6ec31c20cbb4087",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "dbe56ce5647c5a67647f5c991cab1d2e99fe63b5",
"size": "179... |
import { HttpClientUtility } from '../src/facilityCore';
import { expect, should } from 'chai';
should();
const createResponseError = HttpClientUtility.createResponseError;
describe('createResponseError', () => {
it('should return json with code', () => {
createResponseError(500, { 'code': 'heyNow' })
.should... | {
"content_hash": "8199fc62023d5b20b8fa9fdbd0e7a259",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 113,
"avg_line_length": 34.93333333333333,
"alnum_prop": 0.6374045801526718,
"repo_name": "FacilityApi/FacilityJavaScript",
"id": "fbe21eac504dfaccd0432928792d720f77888305",
... |
package com.microsoft.bingads.v12.api.test.entities.ad_group_dsa_target.read;
import java.util.Arrays;
import java.util.Collection;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterized.P... | {
"content_hash": "1389e14371048b614aab2338c3ee5842",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 108,
"avg_line_length": 36.34,
"alnum_prop": 0.6505228398458999,
"repo_name": "bing-ads-sdk/BingAds-Java-SDK",
"id": "f8d87d66d9bb29c58d67c6e2dce7d494282f2f96",
"size": "18... |
require 'rails_helper'
RSpec.describe "appointments/create.html.erb", type: :view do
pending "add some examples to (or delete) #{__FILE__}"
end
| {
"content_hash": "c6d7731385a606a48f2c0216257ea1da",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 61,
"avg_line_length": 29.4,
"alnum_prop": 0.7142857142857143,
"repo_name": "Sebasking01/lookbook",
"id": "6e18a167d348de09c9425ff16518e4a27830035f",
"size": "147",
"binar... |
package printer
import (
"fmt"
"strings"
"github.com/JulzDiverse/aviator"
"github.com/starkandwayne/goutils/ansi"
)
type Print func(string, ...interface{}) (int, error)
func AnsiPrint(opts aviator.MergeConf, to string, warnings []string, verbose bool) {
BeautyfulPrint(opts, to, warnings, verbose, ansi.Printf)
... | {
"content_hash": "ac0caf6ed39106a61e96e0e0b97b0e57",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 103,
"avg_line_length": 24.216216216216218,
"alnum_prop": 0.6316964285714286,
"repo_name": "JulzDiverse/aviator",
"id": "9fec58b0c6e47d8c6533449dc50db71ad62ec3a2",
"size": ... |
layout: default
---
<section class="row news">
<nav class="collapsible-menu visible-xs" data-swiftype-index='false'>
<button type="button" class="btn btn-nav toggle-menu">
Navigate <span class="caret"></span>
</button>
<div class="menu hidden">
{% include news_menu.... | {
"content_hash": "09cfe3059fafdc8b11928e328ef563ab",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 25.041666666666668,
"alnum_prop": 0.562396006655574,
"repo_name": "resthub/resthub.github.io",
"id": "8164a351b4a99dc6d094404e8eeba6e6230af928",
"siz... |
<?php
namespace SIICBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Session\Session;
use SIICBundle\Entity\Obispo;
class ObispoController extends Controller {
/*
* Sesiones
*/
private $s... | {
"content_hash": "b5ba65a9cb1aeeda3b8553b19cf721ce",
"timestamp": "",
"source": "github",
"line_count": 406,
"max_line_length": 126,
"avg_line_length": 36.19458128078818,
"alnum_prop": 0.5087444709084723,
"repo_name": "Drixmux/siic",
"id": "e28a13f4a5adac0cd1ccdcb7dd9491d8d20dd392",
"size": "14697"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2014 Open Networking Laboratory
~
~ 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/LI... | {
"content_hash": "c4cdd6fb957a5ad23ebd29bde2e5d980",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 105,
"avg_line_length": 36.85,
"alnum_prop": 0.6777476255088195,
"repo_name": "jmiserez/onos",
"id": "d50f26c4ef5b8c205c2dc1e5a1b52dc5ffd5c355",
"size": "1474",
"binary":... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2015 Red Hat, Inc. and/or its affiliates.
~
~ 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... | {
"content_hash": "3c4cebef0aa1580953de311ea6cf4971",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 116,
"avg_line_length": 34.30538922155689,
"alnum_prop": 0.6533426426950603,
"repo_name": "mbiarnes/uberfire",
"id": "6874e02ebdc31fff5fb814367c515cf110b2bf29",
"size": "5... |
package es.um.nosql.s13e.entitydifferentiation.util;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclips... | {
"content_hash": "fb238e71c41fecd57be22d0c6962952e",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 175,
"avg_line_length": 38.54347826086956,
"alnum_prop": 0.7941342357586012,
"repo_name": "catedrasaes-umu/NoSQLDataEngineering",
"id": "83d6e1eec82f40e8488a2a8502ca41eb05098... |
This is a device type for the Sharp Aquos integration to SmartThings. I believe it actually works with almost all Sharp TV models manufacturered since 2010.
<img src='http://ecx.images-amazon.com/images/I/81NwfXtTSyL._SX522_.jpg'>
I loosely based this on <a href='https://github.com/halkeye/sharp.aquos.devicetype.gr... | {
"content_hash": "187a476b759d29938724f926180dd44c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 305,
"avg_line_length": 81.35,
"alnum_prop": 0.7744314689612785,
"repo_name": "KristopherKubicki/device-sharp-aquos",
"id": "ce9bbebc7f0e8e06d742cbd903a692af4d48d8ee",
"siz... |
<!doctype html>
<html>
<head>
<title>jsPlumb 1.3.12 - State Machine Demonstration - YUI3</title>
<link rel="stylesheet" href="../css/jsPlumbDemo.css">
<link rel="stylesheet" href="../css/stateMachineDemo.css">
</head>
<body onunload="jsPlumb.unload()" data-demo-id="stateMachineDemo" data-library="yui3">
<div... | {
"content_hash": "83332097f5cb359ad2c85b94a09b227a",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 161,
"avg_line_length": 54.97872340425532,
"alnum_prop": 0.6617647058823529,
"repo_name": "doubleblacktech/learn-plumb",
"id": "494c284776a8d953d4dc78b3843345c40786c6b9",
"... |
<?php
namespace Amazon\Pay\Model\Customer;
use Amazon\Pay\Api\Data\AmazonCustomerInterface;
use Magento\Customer\Api\Data\CustomerInterface;
/**
* @api
*/
interface MatcherInterface
{
/**
* Match magento customer using amazon customer
*
* @param AmazonCustomerInterface $amazonCustomer
*
... | {
"content_hash": "26167a9193f3916ee3b09811e3847bb6",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 67,
"avg_line_length": 20.61904761904762,
"alnum_prop": 0.7159353348729792,
"repo_name": "amzn/amazon-payments-magento-2-plugin",
"id": "fcaab110cf76bffad40f738a0a49e3a559620... |
module BABYLON {
var maxSimultaneousLights = 4;
class PBRMaterialDefines extends MaterialDefines {
public ALBEDO = false;
public AMBIENT = false;
public OPACITY = false;
public OPACITYRGB = false;
public REFLECTION = false;
public EMISSIVE = false;
publi... | {
"content_hash": "9f82a7eaa6d2ca04b1c49f34ff0c43ef",
"timestamp": "",
"source": "github",
"line_count": 1382,
"max_line_length": 259,
"avg_line_length": 43.240231548480466,
"alnum_prop": 0.5574985775963051,
"repo_name": "jjcollinge/DroneSimulation",
"id": "c5b611e3a5e124048fbbb00cce28a9c33aa122f9",
... |
End of preview.
No dataset card yet
- Downloads last month
- 1