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 |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>aqib1</name>
</data>
</configuration>
</project>
| {
"content_hash": "cc58bb21bb57b94db585d81d4e2e9304",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 35.111111111111114,
"alnum_prop": 0.6012658227848101,
"repo_name": "aqibibrahim/hello-world",
"id": "71ec1d40a7d49e55b53b66f94338b527435a2976",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>About Locate the Law<... | {
"content_hash": "19af1a2f19aa94ffa2d7a79b0be4fe1d",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 114,
"avg_line_length": 33.5,
"alnum_prop": 0.5103329506314581,
"repo_name": "teknoids/locate-the-law",
"id": "d14cfa54cc3e8d5c688a58fb27a8893122860f67",
"size": "1742",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8e59377c6c666ee376ce9fec71e27f84",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "546c8505bf7e2e77ae2ddb29902547c5e7a10dd7",
"size": "182... |
<?php
/** Zend_Dojo_View_Helper_Dijit */
// require_once 'Zend/Dojo/View/Helper/Dijit.php';
/** Zend_Json */
// require_once 'Zend/Json.php';
/**
* Dojo Editor dijit
*
* @uses Zend_Dojo_View_Helper_Textarea
* @package Zend_Dojo
* @subpackage View
* @copyright (c) 2005-2015 Zend Technologies USA Inc... | {
"content_hash": "45da2a5b918f473c5ad7cd8a542d809b",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 94,
"avg_line_length": 28.56111111111111,
"alnum_prop": 0.5343318420540751,
"repo_name": "ProfilerTeam/Profiler",
"id": "6e35557ed355038fddf41b16887d7bc21f64f449",
"size":... |
from websauna.system.devop import alembic
alembic.run_alembic(package="notebook") | {
"content_hash": "55ee9a1706939bb95c5014f6035da466",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 41,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.8292682926829268,
"repo_name": "enkidulan/websauna.notebook",
"id": "c6b9894087810e1082d94911282ed7a32561987c",
"s... |
package io.github.codemumbler.cloakdb;
import javax.naming.NamingException;
public class MockContext extends CloakContext {
@Override
public Object lookup(String name) throws NamingException {
throw new NamingException("Mocks throw exceptions");
}
}
| {
"content_hash": "c507591d1b0c8ba9c86a2552cb3ea226",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 59,
"avg_line_length": 23.454545454545453,
"alnum_prop": 0.7984496124031008,
"repo_name": "codemumbler/cloak-db",
"id": "fcef854707b3a2ee8de81a483bcf837e008e12fa",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "d2750c9311a8e4a881a171e3e1c8d75d",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 159,
"avg_line_length": 42.54597701149425,
"alnum_prop": 0.5524787248412806,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "7658bf743706e24082b9b227066a877b9a057517",
... |
/*
* HomeReducer
*
* The reducer takes care of our data. Using actions, we can change our
* application state.
* To add a new action, add it to the switch statement in the reducer function
*
* Example:
* case YOUR_ACTION_CONSTANT:
* return state.set('yourStateVariable', true);
*/
import { fromJS } from 'imm... | {
"content_hash": "ad6be7935850edb5268dcd402e40ee91",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 113,
"avg_line_length": 29.670886075949365,
"alnum_prop": 0.5814846416382252,
"repo_name": "EpiAggregator/web",
"id": "fbc68955ec24ac782fe2d17ea56b246e67696273",
"size": "2... |
package org.greencheek.related.util.config;
import junit.framework.TestCase;
import org.greencheek.related.util.arrayindexing.Util;
import org.junit.Test;
/**
* Created by dominictootell on 25/01/2014.
*/
public class SystemPropertiesConfigurationTest extends TestCase {
@Test
public void testSearchHandle... | {
"content_hash": "c28a2da861492e858491893b76356b7c",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 114,
"avg_line_length": 30.952380952380953,
"alnum_prop": 0.7784615384615384,
"repo_name": "tootedom/related",
"id": "0d399a526eddc09a43c6ac0b17717c82a9693a7f",
"size": "14... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "f9b5b5c20a15520c0a3931613022e98c",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 371,
"avg_line_length": 54.21621621621622,
"alnum_prop": 0.6623462944499834,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "84c84b6057d076b53a4c1f0fd6c3c38d3b2a19ce",
"siz... |
package eu.scape_project.up2ti.cli;
import eu.scape_project.hawarp.cli.CliOptions;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Command line interface options.
*
* @author Sven Sch... | {
"content_hash": "49b95225852990d899306e4eb6157f36",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 126,
"avg_line_length": 30.725490196078432,
"alnum_prop": 0.6547543075941289,
"repo_name": "openpreserve/hawarp",
"id": "3653265e2a789057adf46ed86e086cd6845821db",
"size": ... |
from docutils.parsers.rst.roles import set_classes
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.util.nodes import make_refnode
from operator import itemgetter
class settingslist_node(nodes.General, nodes.Element):
pass
class SettingsListDirective(Directive):
def run(self... | {
"content_hash": "dc4075d071be27e77fbdd433632bd684",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 80,
"avg_line_length": 32.611510791366904,
"alnum_prop": 0.6298257224795941,
"repo_name": "scrapy/scrapy",
"id": "f0f382da32632195538269d9673830a0f01b4aeb",
"size": "4533"... |
//
// GJCFAudioModel.m
// GJCommonFoundation
//
// Created by ZYVincent on 14-9-16.
// Copyright (c) 2014年 ZYProSoft. All rights reserved.
//
#import "GJCFAudioModel.h"
#import "GJCFAudioFileUitil.h"
@implementation GJCFAudioModel
- (id)init
{
if (self = [super init]) {
self.isUploadTempEnco... | {
"content_hash": "9473b9510b059737aaa156d47cb098cc",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 135,
"avg_line_length": 23.96,
"alnum_prop": 0.6460767946577629,
"repo_name": "DavidchanForZhimai/zhimai_2.2",
"id": "95ac96fdc9447d49e9793fd99af7619e22fddf46",
"size": "19... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Wind... | {
"content_hash": "c32d1436e43fe06ea6e2605a712b8c18",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 94,
"avg_line_length": 35.625,
"alnum_prop": 0.6584795321637427,
"repo_name": "r2d2rigo/CheckBoxGlyphStyling",
"id": "a7fa25ab95811a9868d15df7a9d746ee5c2702eb",
"size": "17... |
**Heap Looker Block**
Heap's SQL integration provides direct SQL access to your retroactive Heap data, automatically managed in Redshift. The Heap Looker block provides a starting point for Heap data exploration in Looker, specifically for Heap's Redshift offering.
| {
"content_hash": "7a2ec1c05496233f72566e9238a6d180",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 243,
"avg_line_length": 89,
"alnum_prop": 0.8164794007490637,
"repo_name": "llooker/heap",
"id": "533e963acc61aaedfbd8f83de1c3e311b5426741",
"size": "267",
"binary": false... |
package chandu0101.scalajs.react.components
package materialui
import chandu0101.macros.tojs.JSMacro
import japgolly.scalajs.react._
import japgolly.scalajs.react.raw.React
import japgolly.scalajs.react.vdom.VdomNode
import org.scalajs.dom
import scala.scalajs.js
import scala.scalajs.js.`|`
/**
* This file is gene... | {
"content_hash": "ff58a9a81032a562ef56022c9732281d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 102,
"avg_line_length": 40.80555555555556,
"alnum_prop": 0.6228727025187202,
"repo_name": "rleibman/scalajs-react-components",
"id": "ceefc881503ae9ea8a360e84bf009ef1e18b7c7e... |
<?php
declare(strict_types=1);
namespace Respect\Validation\Rules;
use finfo;
use Respect\Validation\Test\RuleTestCase;
use SplFileInfo;
use SplFileObject;
use function random_int;
use function tmpfile;
use const FILEINFO_MIME_TYPE;
use const PHP_INT_MAX;
/**
* @group rule
*
* @covers \Respect\Validation\Rul... | {
"content_hash": "a86095a70f2b0304e2b730a512fc3ff3",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 112,
"avg_line_length": 32.5,
"alnum_prop": 0.605944055944056,
"repo_name": "Respect/Validation",
"id": "2d2c979a5a226da9f52fced2cd3d05f5afbf70a7",
"size": "3100",
"binar... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bg" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Demonic</source>
<translation type="unfinished"/>
</message>
<message>
<location line="... | {
"content_hash": "6330e15be5f52b335b6bb3b248fa3c85",
"timestamp": "",
"source": "github",
"line_count": 3330,
"max_line_length": 395,
"avg_line_length": 33.94954954954955,
"alnum_prop": 0.595071294625482,
"repo_name": "CryptoDemonic/demonic",
"id": "a5d501b5c38a0bb51823e86db9057ee11a10a8aa",
"size"... |
<?php
namespace HotDesign\SimpleCatalogBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class ScGeoExtControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClie... | {
"content_hash": "3f5c946c35dc7db9f25860f71bdf5e03",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 86,
"avg_line_length": 32.98148148148148,
"alnum_prop": 0.587871982032566,
"repo_name": "HotDesign/SimpleCatalog",
"id": "4b0d11be997aff25ec197ebfa75cac70dc635fd4",
"size":... |
'use strict';
var request = require('superagent');
var Q = require('q');
module.exports = function () {
var service = {};
service.compile = function (objects, errors) {
objects.forEach(function (obj) {
var config = obj.propertyValue('mailgun');
if (config) {
se... | {
"content_hash": "065be35272fddf723f509f5ba9fb6c7b",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 76,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.4649122807017544,
"repo_name": "allcount/allcountjs-mailgun",
"id": "01bde7e112ac83611abe9b9d29da76e7e1aad533",
"... |
!function( $ ) {
"use strict";
/* COMBOBOX PUBLIC CLASS DEFINITION
* ================================ */
var Combobox = function ( element, options ) {
this.options = $.extend({}, $.fn.combobox.defaults, options);
this.template = this.options.template || this.template
this.$source = $(element);
... | {
"content_hash": "6553d593dcc71737d7461426956cd9f2",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 305,
"avg_line_length": 28.225733634311513,
"alnum_prop": 0.5485444657709533,
"repo_name": "entrotech/deployapp",
"id": "0fcadd8ab5c3430a99c0a05c6da3c4d2af9e0c90",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "21e12c91fb7a06a86eb5d08f1842cdb0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "703dd167fdca32d86d64d3a7ebb460d22baa5c78",
"size": "198... |
package com.liang.learning.common.util.http;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.annotation.PostConstruct;
import org.apache.http.Header;
import org.apache.http.client.HttpClient;
import org.apache.http.impl... | {
"content_hash": "1da660d4ebaef11448cd227474a890fa",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 156,
"avg_line_length": 42.638888888888886,
"alnum_prop": 0.7435396308360478,
"repo_name": "dilboy/learning-project",
"id": "a14626863d1bf36af0189c90cd2e8c00d1a9c1f7",
"si... |
End of preview.
No dataset card yet
- Downloads last month
- 1