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
package com.liferay.tasks.service.impl; import java.util.Date; import java.util.HashSet; import java.util.List; import com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil; import com.liferay.counter.kernel.service.CounterLocalServiceUtil; import com.liferay.message.boards.kernel.service.MBMessageLocalServic...
{ "content_hash": "01bb909c727e952074e7b9bcc9951185", "timestamp": "", "source": "github", "line_count": 490, "max_line_length": 80, "avg_line_length": 28.76530612244898, "alnum_prop": 0.7779354380986165, "repo_name": "gamerson/liferay-blade-cli", "id": "a10efaf0bd8562fd7bd22d7216074398fa5e60c6", "s...
package org.elasticsearch.action.fieldcaps; import org.elasticsearch.action.ActionRequest; import org.elasticsearch.action.ActionRequestValidationException; import org.elasticsearch.action.IndicesRequest; import org.elasticsearch.action.ValidateActions; import org.elasticsearch.action.support.IndicesOptions; import ...
{ "content_hash": "a398275ec3bdcdc9c5d9a4945b2cbce0", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 98, "avg_line_length": 31.677165354330707, "alnum_prop": 0.694009445687298, "repo_name": "jprante/elasticsearch", "id": "7eab9112162821555a9c68993a40e900902fae7e", "size":...
#ifndef QISCIICODEC_P_H #define QISCIICODEC_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include "QtCore/qtextc...
{ "content_hash": "0e86d0701fcd09412e717fa2505550ee", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 78, "avg_line_length": 18.714285714285715, "alnum_prop": 0.6730279898218829, "repo_name": "mediathread/mdtprint", "id": "8db8ed73ac403fcf8d9bf5a09c56e9c69f93c96b", "size": ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="EntryPointsManager"> <entry_points version="2.0" /> </component> <component name="MavenProjectsManager"> <option name="originalFiles"> <list> <option value="$PROJECT_DIR$/pom.xml" /> </list> </option> <...
{ "content_hash": "deaeb2ebbcb366d402cce5e210dd8bd9", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 161, "avg_line_length": 33.35294117647059, "alnum_prop": 0.6472663139329806, "repo_name": "damhonglinh/StockMonitor", "id": "4c4c1de6ff627dacaafbcbaf0f6d0369d68188cb", "siz...
package slogo_commands; /** * @author Larissa * purpose: implements XCOORDINATE command * dependencies: abstract class MathBoolCommand and interface Command */ import java.util.List; import slogo_logic.Turtle; import slogo_logic.TurtleCommand; public class XCOORDINATE extends TurtleCommand { @O...
{ "content_hash": "c3b2afc560903aab04fe16f39db700b3", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 69, "avg_line_length": 20.666666666666668, "alnum_prop": 0.7258064516129032, "repo_name": "C9Chrispy/SLogo", "id": "e850664eb43762f305db90ed051e0dcd24b4adce", "size": "434"...
/** * This is the Karma configuration file. It contains information about this skeleton * that provides the test runner with instructions on how to run the tests and * generate the code coverage report. * * For more info, see: http://karma-runner.github.io/0.12/config/configuration-file.html */ module.exports = f...
{ "content_hash": "773a13220beb6c50f5938f836e70d8b8", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 94, "avg_line_length": 26.33653846153846, "alnum_prop": 0.5797736400146039, "repo_name": "boneyao/react-emoji", "id": "5aa123069aa635d1d84718f219d667f65bb46cd4", "size": "...
export{Angulartics2Piwik}from"./piwik";
{ "content_hash": "dd8942ce917a7fbb80186c431d32a092", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 39, "avg_line_length": 39, "alnum_prop": 0.8205128205128205, "repo_name": "cdnjs/cdnjs", "id": "609140f29bcaaa9b25671a6b5a59491459f9ec37", "size": "39", "binary": false, ...
""" Helpers to interact with the ERFA library, in particular for leap seconds. """ from datetime import datetime, timedelta from warnings import warn import numpy as np from astropy.utils.decorators import classproperty from astropy.utils.exceptions import ErfaWarning from .ufunc import get_leap_seconds, set_leap_se...
{ "content_hash": "4fa16c594c373720e1eb6a2110668156", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 78, "avg_line_length": 35.46046511627907, "alnum_prop": 0.5750262329485835, "repo_name": "MSeifert04/astropy", "id": "0c1333b7b8e8d80604654af9f314185d677b6b50", "size": "7...
This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a rem...
{ "content_hash": "504b7122ab7d4fd3e84923b1b4e56fbc", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 321, "avg_line_length": 30.892307692307693, "alnum_prop": 0.7116533864541833, "repo_name": "twilio/twilio-go", "id": "3ba1f82933782cc6f6bbafc7e6b79e70e0590ee2", "size": "20...
newparam(:refreshonly) do desc <<-'EOT' The command should only be run as a refresh mechanism for when a dependent object is changed. It only makes sense to use this option when this command depends on some other object; it is useful for triggering an action: Note that only `subscribe` and `noti...
{ "content_hash": "64ff637d320c588a20492660d3a631f7", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 79, "avg_line_length": 34.07142857142857, "alnum_prop": 0.7148846960167715, "repo_name": "Dlozitskiy/orawls", "id": "b4885ff60041ab09cbe6c5a47771d05607bf650d", "size": "477...
<?php namespace Symfony\Bundle\FrameworkBundle\Command; use Symfony\Bundle\FrameworkBundle\Secrets\AbstractVault; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use...
{ "content_hash": "7617d28689a5b9ea0c973baaf8701a9a", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 128, "avg_line_length": 35.233082706766915, "alnum_prop": 0.6032863849765259, "repo_name": "Nyholm/symfony", "id": "20b898f073cbc3e1b23b2ab6646fe01b6f09bd67", "size": "492...
title: asn0 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: n0 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1: a...
{ "content_hash": "d12cb1f33daa60db1e658e363e0998b7", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 22.2, "alnum_prop": 0.6636636636636637, "repo_name": "pblack/kaldi-hugo-cms-template", "id": "a1d507204a2506988a4c830c275dd05830baff2b", "size": "337...
""" Tests for netapi, i.e. the interface native modules will be developed against """ import pytest from micropsi_core import runtime as micropsi from micropsi_core.nodenet.node import Nodetype from micropsi_core.tests import test_node_logic def prepare(fixed_nodenet): nodenet = micropsi.get_nodenet(fixed_noden...
{ "content_hash": "26ab494f8bd2904b8aad142b5eaf0b52", "timestamp": "", "source": "github", "line_count": 992, "max_line_length": 110, "avg_line_length": 38.83568548387097, "alnum_prop": 0.6566904607397793, "repo_name": "printedheart/micropsi2", "id": "2b9a89c33941afb00eea6b5dfbabcd760556f284", "size...
(function(angular) { 'use strict'; var mod = angular.module('ngFormLib.controls.formReset', []); mod.directive('formReset', ['$parse', function($parse) { function resetFieldState(controlMap) { // Loops through the controlMap and reset's each field's state for (var item in controlMap) { v...
{ "content_hash": "1d03aa5a67df1fea24c8fec4fd193615", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 148, "avg_line_length": 33.6, "alnum_prop": 0.6011904761904762, "repo_name": "uglow/grunt-modular-project", "id": "56a6b021c023134de1ef90af26c45175a938a567", "size": "1680"...
var mod = angular.module('user'); mod.component('loginForm', { bindings: { email: '=', password: '=', }, require: { //resCtrl: '^restaurantDetail' }, transclude: true, templateUrl: 'user/login.html', controller: ['$scope', 'LoginForm', function LoginFormController($s...
{ "content_hash": "c865cbfed7b678b6e81161d084e3bc74", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 94, "avg_line_length": 25.736842105263158, "alnum_prop": 0.5051124744376279, "repo_name": "grantrules/pizzarank", "id": "8ef41677a712afc93a4cc421835837e1ac030c69", "size": ...
<polymer-element name="iris-rpc" attributes="path timeout trace"> <script> Polymer('iris-rpc', { // id : 'main', path : '/rpc', online : false, timeout : 30, created : function() { this.subscriptions = { }; this.pending = { }; this._req = 1; this...
{ "content_hash": "8cc5f9b8d010fe292161fd2b76bcfd4d", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 103, "avg_line_length": 25.473684210526315, "alnum_prop": 0.4793388429752066, "repo_name": "aspectron/iris-app", "id": "7014106fabbaa38b6fecaedb4b3393325eafd461", "size": ...
@class DateBlock, Lecture; @interface Date : NSManagedObject @property (nonatomic, retain) NSNumber * active; @property (nonatomic, retain) NSString * day; @property (nonatomic, retain) NSString * month; @property (nonatomic, retain) NSString * note; @property (nonatomic, retain) NSString * startTime; @property (nona...
{ "content_hash": "272468d31d7bb8e394c76bce1b6f5a86", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 51, "avg_line_length": 33.93333333333333, "alnum_prop": 0.7583497053045186, "repo_name": "chrisrathjen/eStudentV2", "id": "962839d47aa353f9a936cbc1da21076cb958d2ab", "size"...
<?php namespace phpcassa\UUID; /** * @package phpcassa\Util */ class UUIDException extends \Exception { }
{ "content_hash": "c560995bed87ef3eb0fd2a80726dc603", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 40, "avg_line_length": 13.625, "alnum_prop": 0.7064220183486238, "repo_name": "profire-co/Uyghur", "id": "065c08d915b0e480b7ee3093e42561010bd547ec", "size": "109", "binary...
define("dojox/charting/themes/IndigoNation", ["../Theme", "./common"], function(Theme, themes){ // notes: colors generated by moving in 30 degree increments around the hue circle, // at 90% saturation, using a B value of 75 (HSB model). themes.IndigoNation=new Theme({ colors: [ "#93a4d0", "#3b4152", "#...
{ "content_hash": "b01822f171f63a760b8bc2b5b711e0fe", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 95, "avg_line_length": 25, "alnum_prop": 0.6425, "repo_name": "difio/difio", "id": "c34e083cfbd40230c59b37889a0197146dcd9bd0", "size": "410", "binary": false, "copies":...
import { RowNode } from "../../entities/rowNode"; import { BeanStub } from "../../context/beanStub"; import { Logger } from "../../logger"; import { RowNodeBlockLoader } from "./rowNodeBlockLoader"; import { AgEvent } from "../../events"; import { NumberSequence } from "../../utils"; import { IRowNodeBlock } from "../....
{ "content_hash": "43de96f11b53ae1dec1bf9591c726af5", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 116, "avg_line_length": 41.40625, "alnum_prop": 0.720754716981132, "repo_name": "ceolter/angular-grid", "id": "d0c124c919e1bb1dfb56a03e5962ce3eedbf6476", "size": "2804", ...
/* * Bearer Authentication Protocol * * Bearer Authentication is for authorizing API requests. Once * a user is created, a token is also generated for that user * in its passport. This token can be used to authenticate * API requests. * */ exports.authorize = function(token, done) { Passport.findOne({ acc...
{ "content_hash": "58eaa84632bb4a35d18402e6179caf86", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 68, "avg_line_length": 28.565217391304348, "alnum_prop": 0.6377473363774734, "repo_name": "Esya/crumblr", "id": "14f4f4889e60bd3e40a5825829558d0a6ac49f3a", "size": "657", ...
// .NAME vtkResliceCursorActor - Represent a reslice cursor // .SECTION Description // A reslice cursor consists of a pair of lines (cross hairs), thin or thick, // that may be interactively manipulated for thin/thick reformats through the // data. // .SECTION See Also // vtkResliceCursor vtkResliceCursorPolyDataAlgor...
{ "content_hash": "f40cdbd5357780c60676a51283941490", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 77, "avg_line_length": 32.02127659574468, "alnum_prop": 0.739202657807309, "repo_name": "hendradarwin/VTK", "id": "73ea235386a34b4ea23800987f7e85a055c9bb38", "size": "3601"...
<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="#xslt"?> <!DOCTYPE xsl:stylesheet [<!ATTLIST xsl:stylesheet id ID #IMPLIED>]> <xsl:stylesheet id="xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <result wild="yes"><xsl:copy-of select="'PA...
{ "content_hash": "a2266aee464362ff64fc1677a36522e8", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 89, "avg_line_length": 46.375, "alnum_prop": 0.6711590296495957, "repo_name": "gsnedders/presto-testo", "id": "62a9b7a2d665dbb0de57b91fdf62821d681b58c8", "size": "373", "b...
package org.apache.commons.scxml2.model; import org.apache.commons.scxml2.ActionExecutionContext; import org.apache.commons.scxml2.SCXMLExpressionException; /** * The class in this SCXML object model that corresponds to the * &lt;elseif&gt; SCXML element. * */ public class ElseIf extends Action { /** *...
{ "content_hash": "77f948cdc68da75659dc111c69483e58", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 109, "avg_line_length": 20.42105263157895, "alnum_prop": 0.6194158075601375, "repo_name": "apache/commons-scxml", "id": "834c5966b61cedd56bf22c69d19c1dd4d895e20e", "size": ...
End of preview.

No dataset card yet

Downloads last month
1