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: ArrowInvalid
Message: JSON parse error: Invalid value. in row 14
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 145, in _generate_tables
dataset = json.load(f)
File "/usr/local/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 4501)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1995, in _prepare_split_single
for _, table in generator:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 148, in _generate_tables
raise e
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 122, in _generate_tables
pa_table = paj.read_json(
File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 14
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 |
|---|---|
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>ordinal</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../../";</script>
<script type="text/javascript" src="../../../../scr... | {
"content_hash": "358a96552e3a39dfdbb2a8d3a34b2963",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 565,
"avg_line_length": 70.13725490196079,
"alnum_prop": 0.6287391668996366,
"repo_name": "Hexworks/zircon",
"id": "1a2d296986f304ed82c85cb4cbdb4a947cd31f58",
"size": "3578... |
// -----------------------------------------------------------------------------------------
// <copyright file="BlobServerEncryptionTests.cs" company="Microsoft">
// Copyright 2016 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... | {
"content_hash": "3661dade802b653385905a8992f356f4",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 113,
"avg_line_length": 37.25,
"alnum_prop": 0.5865418580007065,
"repo_name": "Azure/azure-storage-net",
"id": "ba8600b345643d83a53aba3634065d4576427c24",
"size": "5664",
... |
package org.apache.hadoop.hive.ql.optimizer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Ma... | {
"content_hash": "6fa27b43518dfdd70289b20532f7aed3",
"timestamp": "",
"source": "github",
"line_count": 1861,
"max_line_length": 108,
"avg_line_length": 38.26168726491134,
"alnum_prop": 0.6783793272944316,
"repo_name": "WANdisco/amplab-hive",
"id": "1aec3074bbacc164021105f34b50d5a807ae70e4",
"size"... |
using System;
using System.Collections.Generic;
using XenAdmin.Core;
using XenAdmin.Network;
using XenAPI;
namespace XenAdmin.Actions
{
public abstract class PoolAbstractAction : AsyncAction
{
protected Func<Host, AdUserAndPassword> GetAdCredentials;
protected Func<HostAbstractAction, Pool,... | {
"content_hash": "de7ed903506a0e1af0a51c729c5ec409",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 222,
"avg_line_length": 37.55128205128205,
"alnum_prop": 0.5648685558210994,
"repo_name": "aftabahmedsajid/XenCenter-Complete-dependencies-",
"id": "79394377f652bc60a98d1e61... |
class UserAgent < ActiveRecord::Base
validates_presence_of :agent_id
validates_presence_of :agent_string
before_validation :generate_agent_id, on: :create
# Creates a UserAgent record based on the agent string.
def self.do_record(agent_string)
checksum = agent_string_checksum(agent_string)
UserAgent... | {
"content_hash": "be25503e55c794586528ed78c5dd379e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 91,
"avg_line_length": 27.727272727272727,
"alnum_prop": 0.7442622950819672,
"repo_name": "virgild/jibjob-rails",
"id": "11b4b08a55493195e787ea0faf03a493993cda32",
"size": ... |
package model.prefab;
import model.AbstractModel;
import resourceHandling.Resource;
public class UpArrowModel extends AbstractModel {
public UpArrowModel() {
super("Up Arrow");
initialize();
}
private void initialize() {
add(new Resource("Up Arrow", "/Resources/Sprites/Misc/Up.gif", (float) 2.5, null, true... | {
"content_hash": "888023e410e270d7a2adc5420cc9c697",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 108,
"avg_line_length": 26.41176470588235,
"alnum_prop": 0.7082405345211581,
"repo_name": "PacketCloud/Angry-Beaver",
"id": "2967564faa8c7cc5a7b5f01e28a3f2812e5e3b9e",
"siz... |
package fredboat.definitions;
import fredboat.util.Emojis;
import java.util.Optional;
/**
* Created by napster on 15.02.18.
* <p>
* A user should not be able to enable/disable a locked module
*/
public enum Module {
//@formatter:off locked
// ... | {
"content_hash": "b7c530e76b871fbe8d592b17d656d555",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 95,
"avg_line_length": 29.658227848101266,
"alnum_prop": 0.6099018352539479,
"repo_name": "Frederikam/FredBoat",
"id": "71c797a19f8a900ce8475e708facc848574863f4",
"size": "... |
//
// PDFAnnotationMarkup_SKExtensions.m
// Skim
//
// Created by Christiaan Hofman on 4/1/08.
#import "PDFAnnotationMarkup_SKExtensions.h"
#import <SkimNotes/SkimNotes.h>
#import "PDFAnnotation_SKExtensions.h"
#import "PDFAnnotationInk_SKExtensions.h"
#import "SKStringConstants.h"
#import "SKFDFParser.h"
#import ... | {
"content_hash": "85d228dea83bba9a49d7d1276ecd9396",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 210,
"avg_line_length": 36.93292682926829,
"alnum_prop": 0.6514776291893677,
"repo_name": "ycaihua/skim-app",
"id": "1b39c84401e93bd2280edc66da45e7dd2a60c233",
"size": "13... |
/**
* Created by zml on 2017/8/30.
*/
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, ParamMap } from '@angular/router';
import { Location } from '@angular/common';
import 'rxjs/add/operator/switchMap' // import the switchMap operate to use later with the route parameters Observable.
imp... | {
"content_hash": "7d8ca8b09d3d36acd343b50f12a45b26",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 148,
"avg_line_length": 29.58695652173913,
"alnum_prop": 0.6620132255694342,
"repo_name": "zhangbuji/tour-heros",
"id": "002d2b4d2a03a51375d5a110db44146bb3390131",
"size": ... |
/**
* @file 检测是否已经启动过实例
* @author ZHL
*/
var path = require('path');
var fs = require('fs');
var dirtool = require('../helpers/dirTool');
var hiproxyDir = dirtool.getHiproxyDir();
module.exports = function () {
var pidFile = path.join(hiproxyDir, 'hiproxy.pid');
var existsPid = fs.existsSync(pidFile);
var b... | {
"content_hash": "a4562190819a873b43225473fbe9afb9",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 116,
"avg_line_length": 29.026315789473685,
"alnum_prop": 0.5611967361740707,
"repo_name": "hiproxy/hiproxy",
"id": "8329c9f187b3e024cfea456c67a15a95d44224c4",
"size": "112... |
package io.vitess.client;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import io.vitess.proto.Query;
import io.vitess.proto.Topodata.TabletType;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import j... | {
"content_hash": "0438dcd1a82bacb4b81175e4bd0e1c86",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 105,
"avg_line_length": 39.38709677419355,
"alnum_prop": 0.6977886977886978,
"repo_name": "theskyinflames/bpulse-go-client",
"id": "9974f3ebe9d3766b21d590045179131c77725d93"... |
<?php
//Configuration
$hubspotApiKey = "REPLACE_WITH_YOUR_HUBSPOT_API_KEY";
$wordsToAvoid = array(
"free",
"help",
"reminder",
"cancelled",
"Re:",
"Fwd:",
"Fw:"
);
$phrasesToAvoid = array(
"percent off"
);
$charactersToAvoid = array(
"%",
"$",
"!"
);
?>
<!DOCTYPE html>
<html>
<head>
<title>... | {
"content_hash": "2d1951d368127930efb8873039eae966",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 141,
"avg_line_length": 26.246913580246915,
"alnum_prop": 0.6218250235183443,
"repo_name": "reganstarr/subject-line-tester",
"id": "e515636e0b51d82408571b891c1de18845b4876f"... |
{% extends 'moj_template/base.html' %}
{% load staticfiles %}
{% block content %}
<div class="content inner cf">
<header class="page-header group">
<div>
<h1>Thanks</h1>
</div>
</header>
<p>Thanks a lot for your feedback. We will get back to you soon.</p>
<p><a href="/">Back to the site</a></p>
</div>
{% e... | {
"content_hash": "e2c31a77c536f97ee5fce7577e1cc1ac",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 68,
"avg_line_length": 18.38888888888889,
"alnum_prop": 0.6163141993957704,
"repo_name": "ministryofjustice/open-data-platform",
"id": "42c17d27d98328490f3b5421d8b3a8573887a3... |
package com.google.android.apps.exposurenotification.logging;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.LifecycleOwner;
import androidx.lifecycle.OnLifecycleEvent;
import com.google.android.apps.exposurenotification.proto.UiInteraction.EventType;
/**... | {
"content_hash": "72badd59ae38a4098cae23d1c88989c7",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 83,
"avg_line_length": 32.46875,
"alnum_prop": 0.8084696823869105,
"repo_name": "google/exposure-notifications-android",
"id": "05459dd0ee294a8ee42a04fab1e7a6971de1f2ba",
"... |
<div class="umb-content-grid">
<div
class="umb-content-grid__item umb-outline umb-outline--surrounding"
ng-repeat="item in content"
ng-class="{'-selected': item.selected}"
ng-click="clickItem(item, $event, $index)">
<div class="umb-content-grid__content">
<a class="umb-conten... | {
"content_hash": "5b228c6d9dba6cfea443ba07c56ad7cb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 121,
"avg_line_length": 41.2,
"alnum_prop": 0.5776699029126213,
"repo_name": "leekelleher/Umbraco-CMS",
"id": "5f6fd2d4852b5742f20d97d94dcb017fc8556a44",
"size": "1648",
... |
require "spec_helper"
module CC::Analyzer
describe EnginesRunner do
include FileSystemHelpers
around do |test|
within_temp_dir { test.call }
end
before do
system("git init > /dev/null")
end
it "builds and runs enabled engines from the registry with the formatter" do
confi... | {
"content_hash": "e86e15cc7ccb0127f652ce14e202f9b0",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 87,
"avg_line_length": 27.795454545454547,
"alnum_prop": 0.6022076860179886,
"repo_name": "mrb/codeclimate",
"id": "92f14dcd46e5c51b0047ab8388901d99e14b0a25",
"size": "2446... |
class Providers:
# CONSTRUCTOR
def __init__(self, name, services, link):
self.name = name
self.services = services
self.link = link
# METHODS
# require restful api
def getInfo(self, selector):
# unique selector
if(len(selector) == 1):
# get summary
for service in self.services... | {
"content_hash": "01d902f1cf7859afa3cf7fc03d58a9a9",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 43,
"avg_line_length": 24.25,
"alnum_prop": 0.6211340206185567,
"repo_name": "flowgunso/server_manager",
"id": "29a44be31ce91d5ff20e9ece06aed768f0d33bfe",
"size": "388",
... |
package com.goit.Lesson9;
/**
* Created by 1 on 27.05.2015.
*/
public class Person {
public String name;
public Person(String name){
this.name = name;
}
}
| {
"content_hash": "039ef5894cedc9555f69e09113838837",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 31,
"avg_line_length": 14.916666666666666,
"alnum_prop": 0.6033519553072626,
"repo_name": "viktozhu/java-beginners",
"id": "cf7390b0943046ac33abd64c569c4baac82c2d24",
"size... |
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Changelog](#changelog)
- [v1.2.1](#v121)
- [Bug Fixes](#bug-fixes)
- [v1.2.... | {
"content_hash": "75752df7cea97be99c893627871b52a2",
"timestamp": "",
"source": "github",
"line_count": 355,
"max_line_length": 678,
"avg_line_length": 61.16056338028169,
"alnum_prop": 0.714719970523213,
"repo_name": "C-S-D/carrot_rpc",
"id": "b0686abdba6ae52d5f5ab97c46326c627160cbf8",
"size": "217... |
package core.userDefinedTask.manualBuild.steps;
import argo.jdom.JsonNode;
import core.controller.Core;
import core.userDefinedTask.manualBuild.ManuallyBuildStep;
import utilities.KeyEventCodeToString;
public class KeyboardReleaseKeyStep extends ManuallyBuildStep {
private int key;
public static KeyboardReleaseKe... | {
"content_hash": "0f1003660b0637e37deca66eb8618d70",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 95,
"avg_line_length": 25.473684210526315,
"alnum_prop": 0.7871900826446281,
"repo_name": "repeats/Repeat",
"id": "d4cc00d1f6cf15aad8ae8b6902bbccfb23f0d67a",
"size": "968",... |
define(['exports', 'module', 'react', 'classnames', './BootstrapMixin', './FadeMixin', './utils/CustomPropTypes'], function (exports, module, _react, _classnames, _BootstrapMixin, _FadeMixin, _utilsCustomPropTypes) {
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.le... | {
"content_hash": "f21821b65164a6febab3d4f3f32f94d3",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 259,
"avg_line_length": 37.88073394495413,
"alnum_prop": 0.6321143133930733,
"repo_name": "UMNLibraries/ikidowinan",
"id": "e3216ffab43bc24a12702c8a1e0947581ce9c805",
"siz... |
begin;
drop table if exists ncaa_pbp.play_by_play;
create table ncaa_pbp.play_by_play (
game_id integer,
period_id integer,
event_id integer,
time text,
score text,
-- time interval,
team_player text,
team_event text,
team_text text,
team_score... | {
"content_hash": "e91b2f9ac5e09605076e8d4c5580760c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 95,
"avg_line_length": 24.115942028985508,
"alnum_prop": 0.6508413461538461,
"repo_name": "octonion/volleyball-w",
"id": "a8e2fea3756395258a82047c381b9e9068615e17",
"size":... |
<?php
namespace Dan\PluginBundle\Plugin;
class PluginManager
{
private $logger;
private $plugins;
public function __construct()
{
$this->plugins = array();
}
public function setLogger($logger)
{
$this->logger = $logger;
}
public function addPlugin(AbstractPlugin $... | {
"content_hash": "b569bbbd06e718249e819714450a7c81",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 62,
"avg_line_length": 20.45,
"alnum_prop": 0.5354523227383863,
"repo_name": "danielsan80/blab_old",
"id": "3bea136b64e18694770643e9aba6206828eb7496",
"size": "818",
"bin... |
package com.nian.firstproject.server.common;
import java.util.Comparator;
public class PatientComparator implements Comparator<Patient> {
@Override
public int compare(Patient p0, Patient p1) {
if (p0.time - p1.time > 0) {
return 1;
} else if (p0.time - p1.time < 0) {
return -1;
} else {
... | {
"content_hash": "74a1cd5e2832b559a1e046b7994b71c8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 63,
"avg_line_length": 17.5,
"alnum_prop": 0.6228571428571429,
"repo_name": "jhtorch/prognosticsys",
"id": "87d2f898e6dc333403b01476fa2294bf2ecc7d61",
"size": "350",
"bin... |
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { Application } from 'app/model/application.model';
import { Environment } from 'app/model/environment.model';
import { Pipeline } from 'app/model/pipeline.model';
import { Project } from 'app/model/project.model';
import { Workflow } fro... | {
"content_hash": "73fe25e263546ae956c224b6f6435fc0",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 74,
"avg_line_length": 34.56521739130435,
"alnum_prop": 0.7081761006289308,
"repo_name": "ovh/cds",
"id": "1d6a73188d262a7a0129b16c4b9b3fe64195757f",
"size": "795",
"bina... |
<?php
/**
* Created by PhpStorm.
* User: yunsong
* Date: 16-5-16
* Time: 下午3:03
*/
namespace yunsong\search;
use yunsong\search\interfaces\Engine;
class Elastic implements Engine
{
public function query($q)
{
// TODO: Implement query() method.
}
public function indexAdd($params)
{... | {
"content_hash": "5786ed294a4b3e52864fa532b82e10ab",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 48,
"avg_line_length": 16.11111111111111,
"alnum_prop": 0.6068965517241379,
"repo_name": "awebc/web_yi",
"id": "97ea3d5e435f3405e6a301f467116089f8b9f7e7",
"size": "584",
... |
using content::BrowserContext;
using content::BrowserThread;
namespace {
// Shorter names for fileapi::* constants.
const fileapi::FileSystemType kTemporary = fileapi::kFileSystemTypeTemporary;
const fileapi::FileSystemType kPersistent = fileapi::kFileSystemTypePersistent;
// We'll use these three distinct origins f... | {
"content_hash": "9917c461952ea31dec0c9fc51ada37db",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 80,
"avg_line_length": 39.270462633451956,
"alnum_prop": 0.7230629814227458,
"repo_name": "rogerwang/chromium",
"id": "8ed961bb360f1a0429f90380ec28d2d4c4e387cc",
"size": "... |
package com.doubleleft.hook;
import org.apache.http.Header;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import com.loopj.android.http.*;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
/**
* Created by glaet on 2/28/14.
... | {
"content_hash": "927971b2d715896035d346e10fbf4e70",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 118,
"avg_line_length": 28.68702290076336,
"alnum_prop": 0.7136774880255455,
"repo_name": "doubleleft/hook-android",
"id": "d7375d3ba5903a60611df0c9e796257053ccb0b8",
"siz... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"content_hash": "756cd4afb2bc211f29bd9e797d603b21",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 312,
"avg_line_length": 49.36708860759494,
"alnum_prop": 0.6874358974358974,
"repo_name": "arcosuc3m/grppi",
"id": "6d815427445a98a12bf4e2ef2449482378657836",
"size": "780... |
End of preview.
No dataset card yet
- Downloads last month
- 1