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: Missing a closing quotation mark in string. in row 236
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 2095)
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: Missing a closing quotation mark in string. in row 236
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 |
|---|---|
package org.apache.spark.status.api.v1;
import org.apache.spark.util.EnumUtil;
import java.util.Collections;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
public enum TaskSorting {
ID,
INCREASING_RUNTIME("runtime"),
DECREASING_RUNTIME("-runtime");
private final S... | {
"content_hash": "8a7d7e7141387e9f78ea51fd01bcd2d0",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 60,
"avg_line_length": 23.363636363636363,
"alnum_prop": 0.6718547341115434,
"repo_name": "wangyixiaohuihui/spark2-annotation",
"id": "62856128eb4918169b1c94553cf054568b097e8... |
<?php
namespace Runner\Messages;
/**
* Mensagem contendo dados do jogador
*/
class MeMessage extends Message
{
/**
* @var int Tempo do recorde
*/
public $time;
public function __construct($message = null, $connection)
{
parent::__construct($message, $connection);
$this->time... | {
"content_hash": "c947f16fbeb0f4b8c63e57c9b88c9c0c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 61,
"avg_line_length": 17.85,
"alnum_prop": 0.6106442577030813,
"repo_name": "gabrielrcouto/palestra-ratchet",
"id": "f8dadef7da2bfe6f34aae59a01e9e5d5ae44ce91",
"size": "35... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0a423013a49e0c5594daee5e67aceeee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4a6dae6a9c99380829d0e73de3ec875586c086c1",
"size": "184... |
from __future__ import annotations # isort:skip
import pytest ; pytest
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
# Bokeh imports
import bokeh.document as document
from bokeh.core.properties i... | {
"content_hash": "83d272ca12f38882920a596a32d71811",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 78,
"avg_line_length": 32.970588235294116,
"alnum_prop": 0.38447814451382695,
"repo_name": "bokeh/bokeh",
"id": "52b273c41505c0235585b4dc8edc1ab579121e48",
"size": "2746",
... |
package com.aristocrat.mandrill.requests.Whitelists
import com.aristocrat.mandrill.requests.MandrillRequest
case class List(key: String, email: String) extends MandrillRequest
| {
"content_hash": "63d2725735b268eaf63a625d282fd3e9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 67,
"avg_line_length": 35.6,
"alnum_prop": 0.848314606741573,
"repo_name": "aristocratic/mandrill",
"id": "8a97ff11bd305f3d6f00018002abb05c1d549411",
"size": "178",
"binar... |
from . import FixtureTest
class AddHikingRoutes(FixtureTest):
def test_track(self):
self.load_fixtures([
'https://www.openstreetmap.org/way/12188550',
'https://www.openstreetmap.org/relation/2684235',
], clip=self.tile_bbox(12, 654, 1582))
self.assert_has_feature(
... | {
"content_hash": "551e6c3ce6f8e9fbc6524b4d929a707e",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 75,
"avg_line_length": 36.15384615384615,
"alnum_prop": 0.5561170212765958,
"repo_name": "mapzen/vector-datasource",
"id": "78bc3368b28a80149deec8292ba593d5e58a262b",
"siz... |
// RTM.Images
// RTM.Images.Decoder.ImageSource
// AssemblyInfo.cs
//
// Created by Bartosz Rachwal.
// Copyright (c) 2015 Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan. All rights reserved.
using System.Reflection;
using System.Runtime.InteropServices;
// General In... | {
"content_hash": "370378ce80b7e430a6c5f72381425b84",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 137,
"avg_line_length": 37.93478260869565,
"alnum_prop": 0.7524355300859599,
"repo_name": "rachwal/RTM-Images",
"id": "3153f4e844335f2bc83ff04632b85293a14d7e31",
"size": "1... |
<?php
/**
* Manages WordPress comments
*
* @package WordPress
* @subpackage Comment
*/
/**
* Checks whether a comment passes internal checks to be allowed to add.
*
* If comment moderation is set in the administration, then all comments,
* regardless of their type and whitelist will be set to false. If the nu... | {
"content_hash": "6111f2d5ef8142e072a54cbea744f6d4",
"timestamp": "",
"source": "github",
"line_count": 2062,
"max_line_length": 275,
"avg_line_length": 32.978176527643065,
"alnum_prop": 0.6542992014823311,
"repo_name": "arturo-mayorga/am_com",
"id": "7a8f71cfd470b59c980e7ca2999c4ce0283c232d",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7a0dfcabd10747d08fb29b7f88d958c6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3c0806b6d13dbd6a5def5829c23fdfe1d91546c6",
"size": "183... |
package uk.jamierocks.mana.carbon;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.eventbus.EventBus;
import com.sk89q.intake.dispatcher.Dispatcher;
import uk.jamierocks.mana.carbon.irc.IRCManager;
import uk.jamierocks.mana.carbon.module.ModuleManager;
import uk.jamierocks.... | {
"content_hash": "1149b6906cf8f326aa6d3d6c45ef05cd",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 76,
"avg_line_length": 25.47872340425532,
"alnum_prop": 0.6501043841336117,
"repo_name": "ManaBot/Carbon",
"id": "d1f89e180c7bc4a7c370d9f79d03404509d8a9c4",
"size": "2993",... |
package cn.felord.wepay.ali.sdk.api.request;
import java.util.Map;
import cn.felord.wepay.ali.sdk.api.AlipayRequest;
import cn.felord.wepay.ali.sdk.api.internal.util.AlipayHashMap;
import cn.felord.wepay.ali.sdk.api.response.AlipayEcoMycarParkingLotbarcodeCreateResponse;
import cn.felord.wepay.ali.sdk.api.AlipayObjec... | {
"content_hash": "467b8c7478870bdfc7221b995abea530",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 131,
"avg_line_length": 22.47906976744186,
"alnum_prop": 0.6610800744878957,
"repo_name": "NotFound403/WePay",
"id": "7858a71677afef037c5a53d98bfba5352bc120b0",
"size": "4... |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/html/htmldefs.h
// Purpose: constants for wxhtml library
// Author: Vaclav Slavik
// Copyright: (c) 1999 Vaclav Slavik
// Licence: wxWindows licence
///////////////////////////////////////////////////////////... | {
"content_hash": "1350474659e578eba24575b3459e3eea",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 82,
"avg_line_length": 47.028985507246375,
"alnum_prop": 0.4406779661016949,
"repo_name": "satya-das/cppparser",
"id": "4c226581dcc89d278fae161aab70700894c0c05b",
"size": "... |
import { DEFAULT_LOCALE } from '../common/constants';
import isNumber from '../common/is-number';
import datePattern from './date-pattern';
import dateNameType from './date-name-type';
import { dateFormatRegExp, DATE_FIELD_MAP } from './constants';
import { localeInfo } from '../cldr';
var NAME_TYPES = {
month: {
... | {
"content_hash": "b9e1a4cfe6f0c9286318a424fdfc3e9d",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 105,
"avg_line_length": 24.252100840336134,
"alnum_prop": 0.5148995148995149,
"repo_name": "antpost/antpost-client",
"id": "f613d36dd37b7897e17303bda440a11d0e50f67a",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.grarak.kerneladiutor"
android:versionCode="121"
android:versionName="0.9.9.4">
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission android:nam... | {
"content_hash": "014321cad3f58483359ad59c618133a9",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 103,
"avg_line_length": 40.91538461538462,
"alnum_prop": 0.6300056401579244,
"repo_name": "CandyDevices/packages_apps_KernelAdiutor",
"id": "82a7cc633a5604be6b449fe5d65d74f8... |
#include "phd.h"
#include "backlash_comp.h"
BacklashComp::BacklashComp(Mount *theMount)
{
m_pMount = theMount;
m_pulseWidth = pConfig->Profile.GetInt("/" + m_pMount->GetMountClassName() + "/DecBacklashPulse", 0);
if (m_pulseWidth > 0)
m_compActive = pConfig->Profile.GetBoolean("/" + m_p... | {
"content_hash": "2dd0889d9f27dc23c69d7855c6efbfe2",
"timestamp": "",
"source": "github",
"line_count": 523,
"max_line_length": 220,
"avg_line_length": 45.09177820267686,
"alnum_prop": 0.5729126913454607,
"repo_name": "eklenske/phd2",
"id": "4c710577e5968653939d8e09702aa961562ea26e",
"size": "25386... |
<head>
<link type="type/css" href="/actual/my-file.my-style.css">
<script type="application/javascript" src="/actual/my-file.js.js"></script>
</head>
<div>body</div>
| {
"content_hash": "36484112735c44bb08a39a984d93833b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 77,
"avg_line_length": 28.5,
"alnum_prop": 0.672514619883041,
"repo_name": "da99/dum_dum_html",
"id": "fd64a8d64634dd6771986217cb81b388648ef23c",
"size": "172",
"binary": ... |
import * as ts from "typescript";
import {AbstractRule} from "./language/rule/abstractRule";
import {IOptions} from "./language/rule/rule";
import {forEachComment, TokenPosition} from "./language/utils";
import {RuleWalker} from "./language/walker/ruleWalker";
import {IEnableDisablePosition} from "./ruleLoader";
ex... | {
"content_hash": "7a4578f747075385e6414c6cf0bcd5be",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 120,
"avg_line_length": 42.46099290780142,
"alnum_prop": 0.5455152831134124,
"repo_name": "nchen63/tslint",
"id": "6c819f7ff4439aebaac97b345958434c99c3666a",
"size": "6610... |
package command
import (
"fmt"
"net/http"
"os"
"strings"
"time"
stats_collect "github.com/chrislusf/seaweedfs/weed/stats"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/util/grace"
)
type S... | {
"content_hash": "8c849b2e08ecff2807df9c261ff365dc",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 228,
"avg_line_length": 53.33554817275748,
"alnum_prop": 0.7609941447614301,
"repo_name": "chrislusf/seaweedfs",
"id": "b993d9428fbf106e6349008c641774a3889074cd",
"size": ... |
package gov.nasa.ensemble.common.ui.treetable;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
public abstract class TreeTableLabelProvider extends LabelProvider {
public TreeTableLabelProvider() {
... | {
"content_hash": "723d0d487d0e1f947dcfe8d1316071f4",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 77,
"avg_line_length": 18.155172413793103,
"alnum_prop": 0.7236467236467237,
"repo_name": "nasa/OpenSPIFe",
"id": "387f2fd8de71d35111cd28cffb01193ceb5055b4",
"size": "1933"... |
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Confluent.Kafka;
// ReSharper disable once CheckNamespace
namespace DotNetCore.CAP
{
/// <summary>
/... | {
"content_hash": "a1bedff9985da47d75111a675c42e8d2",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 167,
"avg_line_length": 38.035714285714285,
"alnum_prop": 0.6225352112676056,
"repo_name": "ouraspnet/cap",
"id": "3453ad53c506fab557a10e736bfe3cf645935b91",
"size": "2132"... |
import numpy as np
import pandas as pd
from datetime import datetime
from pandas_datareader import data as web
# Dow Jones Industrial Average Tickers
DJIA = ['BIV','BLV','BND','VCIT','VFIAX',
'VYM','VO','VB','VWO','VSS','VGTSX','VNQ','PARWX']
# Dates
start = datetime(2010, 1, 1)
end = datetime.... | {
"content_hash": "e932eeb68e39d05a817f075e5a99679c",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 85,
"avg_line_length": 23.9,
"alnum_prop": 0.643305439330544,
"repo_name": "mishka28/NYU-Python",
"id": "9dfcf5e7b8431d3317db392057c40b2ea840ac0c",
"size": "980",
"binary... |
"""
Extracts minimal phrases from symmetrized word alignments
"""
from collections import defaultdict, deque
def as_words(phrase, id2word):
return tuple(id2word[i] for i in phrase)
def try_expand(f, f2e, f_min, f_max, e_min, e_max):
"""
Try to expand the boundaries of a phrase pair based on the alignm... | {
"content_hash": "1aaa6098c79c5253fab95f372827ed2d",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 141,
"avg_line_length": 37.44230769230769,
"alnum_prop": 0.5921931176168465,
"repo_name": "wilkeraziz/smtutils",
"id": "5fc30dde5027cffa6db58d6226ecc8826836647f",
"size": ... |
This towering, ibis-like bird appears to be sculpted from silver and brass, yet it moves with the fluidity of a living creature.
Stymphalidies CR 8
XP 4,800
N Large magical beast
**Init** +6; **Senses** low-light vision; [Perception](skills/perception#_perception) +12
Defense
**AC** 22, touch 11, flat-footed 20 (... | {
"content_hash": "7128a410db7a17d28dc86310590d8904",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 508,
"avg_line_length": 62.166666666666664,
"alnum_prop": 0.7631001706068731,
"repo_name": "brunokoga/pathfinder-markdown",
"id": "09f31c0a7e271f82c74e63ab9f687119eefbac5a",
... |
from django.core.urlresolvers import reverse
from django.utils.encoding import force_unicode
from django.utils.encoding import smart_str
from django.utils.safestring import mark_safe
from django.db.models.sql.query import LOOKUP_SEP
from django.db.models.fields.related import ForeignObjectRel
from django.utils.translat... | {
"content_hash": "bbea971de3365cfa029c23ad43bf8764",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 213,
"avg_line_length": 38.588516746411486,
"alnum_prop": 0.6017358958462492,
"repo_name": "A425/django-nadmin",
"id": "196ed97a2873b2e6e916ea1eb6689826b239b8d5",
"size": ... |
namespace lia {
struct logical_and {
template<typename T, typename U>
auto operator()(T&& t, U&& u) -> decltype(std::forward<T>(t) && std::forward<U>(u)) const {
return std::forward<T>(t) && std::forward<U>(u);
}
};
struct logical_or {
template<typename T, typename U>
auto operator()(T&& t,... | {
"content_hash": "c863858a8dfdf4956b8e53c6f9451d74",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 95,
"avg_line_length": 27.75,
"alnum_prop": 0.5780780780780781,
"repo_name": "Rapptz/Lia",
"id": "81f1d9d99dd29b207a1acc33be9539916adb1a6f",
"size": "765",
"binary": fals... |
package net.lospi.juno.elements;
import org.javatuples.Pair;
import java.util.List;
/**
* Created by jalospinoso on 6/14/2015.
*/
public interface MinistepChainCalculator {
int getDiagonalLinksCount(Chain chain);
int getConsecutivelyCancellingPairsCount(Chain chain, int minimumCcpLength, int maximumCcpLeng... | {
"content_hash": "148043d6b094bc9395f788f20571a64d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 108,
"avg_line_length": 43.65,
"alnum_prop": 0.7376861397479955,
"repo_name": "JLospinoso/juno",
"id": "6d77c7280cd6543429b8d107907ac518ab44c86b",
"size": "873",
"binary"... |
End of preview.
No dataset card yet
- Downloads last month
- 1