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 963
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 2983)
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 963
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 |
|---|---|
<?
if (!class_exists("DBBase")) {
include("objects/db.class.php");
}
if (!class_exists("Stock")){
include("objects/stock.class.php");
}
if (!class_exists("User")){
//include("objects/user.class.php");
}
include("objects/portfolio.class.php");
//head.php
//echo $title;
/*if ((!eregi("Home",$title) ... | {
"content_hash": "0419993c6c2b5c30d9423aae0091dc7a",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 304,
"avg_line_length": 42.15686274509804,
"alnum_prop": 0.6093023255813953,
"repo_name": "stephenreid/GT-Student-Foundation-Investment-Challenge",
"id": "4b61374c2af0a46d6d9... |
package org.jongo.model;
import org.jongo.marshall.jackson.oid.Id;
import org.jongo.marshall.jackson.oid.MongoId;
public class ExternalFriend {
@Id
@MongoId //see NewAnnotationsCompatibilitySuiteTest for more informations
private String id;
private String name;
private ExternalFriend() {
... | {
"content_hash": "d6737f7cee4d2330d71557e7f9a35bf8",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 19.902439024390244,
"alnum_prop": 0.6360294117647058,
"repo_name": "edwardmlyte/jongo",
"id": "42b06fd929af802b331eb6c30540a27fe0ac59df",
"size": "15... |
package lejos.remote.ev3;
import java.rmi.Remote;
import java.rmi.RemoteException;
import lejos.hardware.lcd.Font;
public interface RMIEV3 extends Remote {
public RMIAnalogPort openAnalogPort(String portName) throws RemoteException;
public RMII2CPort openI2CPort(String portName) throws RemoteException;
public... | {
"content_hash": "5cff121181c5a4968d98fe2f11f27589",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 123,
"avg_line_length": 30.113636363636363,
"alnum_prop": 0.8241509433962264,
"repo_name": "antoniardot/DockBot-Eve",
"id": "a40253ae39057e83609b62fc26472db4f1d4d5f1",
"siz... |
package it.cnr.isti.zigbee.ha.cluster.glue.general;
import it.cnr.isti.zigbee.ha.cluster.glue.Cluster;
import it.cnr.isti.zigbee.ha.driver.core.ZigBeeHAException;
import it.cnr.isti.zigbee.zcl.library.api.core.Attribute;
import it.cnr.isti.zigbee.zcl.library.api.general.alarms.AlarmListener;
import it.cnr.isti.zigbe... | {
"content_hash": "291861a83bb7819ee08b680509330cca",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 84,
"avg_line_length": 33.24242424242424,
"alnum_prop": 0.7757520510483136,
"repo_name": "cdealti/zb4osgi",
"id": "2aeaa33478ec7e434090c55a3485e3721d8e0dbc",
"size": "1916"... |
package demo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.junit.Ignore;
import org.junit.Test;
public class ShortcutsTest
{
@Test
public void testFindFirstSeq()
throws Exception
{
assertEquals("Niklas Schuster", new Shortcuts().findFirstSeq("nikla... | {
"content_hash": "30fd2b1d65ba94b6c114089b674e0dc8",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 85,
"avg_line_length": 22.210526315789473,
"alnum_prop": 0.7180094786729858,
"repo_name": "goeckeler/katas",
"id": "3a213445804eec6a47d8817b4ad268646d37f88d",
"size": "844"... |
package com.xeonwell.JerseyDemo.controller;
/**
* Created by xeonwell on 2017-04-24.
*/
import com.xeonwell.JerseyDemo.common.BaseApiController;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@Path("/hello")
public class HelloWorldController extends BaseApiController {
//GET注解设... | {
"content_hash": "64627a5e182bb0ae6bbbd951791862b3",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 61,
"avg_line_length": 22.64,
"alnum_prop": 0.7137809187279152,
"repo_name": "xeonwell/JerseyDemo",
"id": "e282614319ce8706bbb1079d9ab8902100c26548",
"size": "644",
"bina... |
name = 'Zed A. Shaw'
age = 35 # not a lie
height = 74 # inches
weight = 180 # lbs
eyes = 'Blue'
teeth = 'White'
hair = 'Brown'
print "Let's talk about %s." % name
print "He's %d inches tall." % height
print "He's %d pounds heavy." % weight
print "Actually that's not too heavy."
print "He's got %s eyes and %s hair." % ... | {
"content_hash": "854c5f1875667a965d9a95492cf252a9",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 65,
"avg_line_length": 27.1,
"alnum_prop": 0.6482164821648216,
"repo_name": "richardcornish/richlearnspythonthehardway",
"id": "8c018c3d07cd20691492fff0b9178d80b8bdabe6",
"... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | {
"content_hash": "04b7c7abb4254349d3b2fbd4e116e64a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 191,
"avg_line_length": 47.05,
"alnum_prop": 0.8278427205100957,
"repo_name": "dotnet/roslyn",
"id": "b9161fd745c5b5a1f755ac7c46cd34b4ab4ff960",
"size": "943",
"binary": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_102) on Thu Sep 29 16:37:37 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>energy.usef.brp.work... | {
"content_hash": "ff8e81c7c821a675a7bbaf708a1a5ae1",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 546,
"avg_line_length": 47.92763157894737,
"alnum_prop": 0.6301990391214825,
"repo_name": "FHPproject/FHPUsef",
"id": "b42728b82c91651364dcbb8cd83e5de44883965d",
"size": "... |
package com.blazingphoenix.iprepared;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v13.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPag... | {
"content_hash": "7346db4851c5ad46a17e1ac3228a969d",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 98,
"avg_line_length": 36.74786324786325,
"alnum_prop": 0.6003023607396208,
"repo_name": "bestvibes/iPrepared",
"id": "151f786caba0bcf6ddc2a912c920e4056977897f",
"size": "... |
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import wagtail.wagtailcore.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailcore', '0033_remove_golive_expiry_help_text'),
]
operations = ... | {
"content_hash": "35faf1cdeb0f9f019223e99a795e1e79",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 191,
"avg_line_length": 29.535714285714285,
"alnum_prop": 0.6070133010882709,
"repo_name": "joecheng511/try-wagtail",
"id": "0c8457d7dbb05df0020022fa4c7ffc41c4b6e2ef",
"siz... |
#pragma once
#include "library/tactic/tactic_state.h"
#include "library/tactic/elaborator_exception.h"
#include "library/vm/interaction_state.h"
namespace lean {
elaborator_exception unsolved_tactic_state(tactic_state const & ts, format const & fmt, expr const & ref);
elaborator_exception unsolved_tactic_state(tactic... | {
"content_hash": "49f7f1f21a0b720ad7a40bbf0a1cf164",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 113,
"avg_line_length": 44.42307692307692,
"alnum_prop": 0.7082251082251082,
"repo_name": "rlewis1988/lean",
"id": "7e868e7edf70c4c4f572c8d39740659f56fbac5e",
"size": "1318... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace RSSE.ShipElements.Systems
{
public class RCSSystem : SubSystem
{
override public string SystemName { get { return "RCS"; } }
ov... | {
"content_hash": "27454ed7685908b3f92c2ec9a53f1c09",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 26.488372093023255,
"alnum_prop": 0.5030728709394205,
"repo_name": "Enyss/RSSE",
"id": "ef19b99666bf0c23bcecc5d31ed71e091e05a253",
"size": "1141",
... |
"""
checks.py
Each function in here should
- Take a DataFrame as its first argument, maybe optional arguments
- Makes its assert on the result
- Return the original DataFrame
"""
import numpy as np
import pandas as pd
import pandas.util.testing as tm
import six
from engarde import generic
from engarde.generic import... | {
"content_hash": "464125b34b142ddc3a00b404674b036d",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 106,
"avg_line_length": 25.09,
"alnum_prop": 0.5674239404809353,
"repo_name": "TomAugspurger/engarde",
"id": "bed82816c04433e3a9c835906267b208b4bd06d4",
"size": "7551",
... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "ed72256ea4dee64b46f2d0391b4d7bd4",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 714,
"avg_line_length": 38.92836676217765,
"alnum_prop": 0.6519947004269101,
"repo_name": "cnoh/Covalence-WebApp",
"id": "8e0de583ae1760e466b70e1410329b3c243303d5",
"size"... |
'use strict';
const sessions = require('../fixtures/sessions');
const users = require('../fixtures/users');
process.env.NODE_ENV = 'test';
process.env.MONGO_DB = 'test';
delete process.env.MONGO_URI;
process.env.APP_ADMINS = 'Foo,Bar';
process.env.APP_SECRET = 'foobar';
process.env.SLACK_WEBHOOK_URI = 'https://loca... | {
"content_hash": "d6b4c92413d69496605a869b8bf27af6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 61,
"avg_line_length": 31.6,
"alnum_prop": 0.7367088607594937,
"repo_name": "Turbasen/Developer",
"id": "19c006b31fe9f6ad7352bf2c8bbf6e12231845de",
"size": "790",
"binary... |
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
## [Unreleased]
### Changed
- Add a new arity to `make-widget-async` to provide a different widget shape.
## [0.1.1] - 2017-02-21
### Changed
- Documentatio... | {
"content_hash": "32d199a3eb7adb11c47caebc872ae97a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 161,
"avg_line_length": 33.08695652173913,
"alnum_prop": 0.7109067017082786,
"repo_name": "JonathanHope/org-parser",
"id": "6576750c34415aa39b21b7a9dc53e93b6f6de62b",
"size... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration.Provider;
namespace Nettiers.AdventureWorks.Data.Bases
{
/// <summary>
/// Reprensents the strongly typed collection of NetTiersProvider.
/// </summary>
public class NetTiersProviderCollection : ProviderColle... | {
"content_hash": "3af2f6e4d3f7533676d66663451d28eb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 78,
"avg_line_length": 27.45,
"alnum_prop": 0.5938069216757741,
"repo_name": "Giten2004/netTiers",
"id": "acf2bda4991dc735df90eb4bc89489dede369164",
"size": "1100",
"bina... |
import unittest
from mock.mock import MagicMock
from asciimatics.particles import ShootScreen, DropScreen, Explosion, Rain, \
StarFirework, PalmFirework, RingFirework, SerpentFirework
from asciimatics.screen import Screen, Canvas
class TestParticles(unittest.TestCase):
def check_effect(self, canvas, effect, a... | {
"content_hash": "3368eb1081ced73c50015a5ceb3fad43",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 80,
"avg_line_length": 38.0921052631579,
"alnum_prop": 0.4968911917098446,
"repo_name": "peterbrittain/asciimatics",
"id": "ff88cd6e26b30d8dd79f3008b3958ac99a645f46",
"siz... |
import { buildConfig } from '../src/config';
test('buildConfig() builds configuration and applies env var overrides', () => {
let config = buildConfig();
expect(config.jwtSecret).toEqual(
'test123-test123-test123-test123-test123-test123-test123',
);
expect(config.redis.host).toEqual('127.0.0.1');
expec... | {
"content_hash": "b7c2336ce009b1dd6f92cfdc6ae311de",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 35.98,
"alnum_prop": 0.717065036131184,
"repo_name": "zhouyao1994/incubator-superset",
"id": "72e592dfde8857501b819deb8170ef972c59ea6f",
"size": "260... |
require "rails_helper"
describe "router" do
it "routes admin root" do
expect(get: "/en/admin").to route_to(
controller: "welcome", action: "index", locale: "en", mode: "admin", mission_name: nil
)
end
it "doesnt route admin root without locale" do
expect(get: "/admin").not_to be_routable
end... | {
"content_hash": "fb073eb37ff29ea88d03272a57330273",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 93,
"avg_line_length": 27.88888888888889,
"alnum_prop": 0.6626826029216467,
"repo_name": "thecartercenter/elmo",
"id": "8811476b386b2c6e796d90715452823a8930e6ce",
"size": "... |
goog.require('shaka.dash.MpdUtils');
goog.require('shaka.dash.mpd');
describe('MpdUtils', function() {
// Alias.
var MpdUtils = shaka.dash.MpdUtils;
beforeAll(function() {
// Hijack assertions and convert failed assertions into failed tests.
assertsToFailures.install();
});
afterAll(function() {
... | {
"content_hash": "d93e03b011879b2e67f0d6308cb4e253",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 77,
"avg_line_length": 29.297450424929178,
"alnum_prop": 0.5190485399342487,
"repo_name": "sanbornhnewyyz/shaka-player",
"id": "7b4cf7b57593e2d359a9c3a1fc437488e433c332",
... |
Notes
-------
tsk_recover recover files to the output_dir from the image. By default recovers only unallocated files. With flags, it will export all files.
Help Text
-------
```
usage: tsk_recover [-vVae] [-f fstype] [-i imgtype] [-b dev_sector_size] [-o sector_offset] [-d dir_inum] image [image] output_dir
-i imgty... | {
"content_hash": "866dca07df3c3b5fcc53c2646e89305a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 142,
"avg_line_length": 34.6,
"alnum_prop": 0.7129094412331407,
"repo_name": "pwnwiki/kaliwiki",
"id": "2d426eafc5e2906c3ed18f9b529889da9b19aab6",
"size": "1053",
"binary... |
///\file
#ifndef ETL_ALGORITHM_INCLUDED
#define ETL_ALGORITHM_INCLUDED
///\defgroup algorithm algorithm
/// Including reverse engineered algorithms from C++ 0x11, 0x14, 0x17
/// Additional new variants of certain algorithms.
///\ingroup utilities
#include "platform.h"
#include "type_traits.h"
#include "iterator.h"... | {
"content_hash": "7bcb6da6cb7327cf71a06e9c9f40eb09",
"timestamp": "",
"source": "github",
"line_count": 2967,
"max_line_length": 143,
"avg_line_length": 29.875294910684193,
"alnum_prop": 0.48218637184115526,
"repo_name": "ETLCPP/etl",
"id": "cb287de187f9ff8c307dcd5e64c2621d0746ccb7",
"size": "90015... |
{-# LANGUAGE BangPatterns #-}
import qualified Data.ByteString.Char8 as C
import qualified Data.IntMap.Strict as IntMap
import Data.IntMap.Strict(IntMap)
import Data.Maybe
fromList :: [ (Int, Int) ] -> IntMap Int
fromList = foldl acc IntMap.empty
where acc m (!i, !j) = IntMap.insert i 1 . IntMap.insert j (-1) $ m
... | {
"content_hash": "d6fb9431d58b2c85c83eff96d7536d6c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 71,
"avg_line_length": 29.448275862068964,
"alnum_prop": 0.6358313817330211,
"repo_name": "wangbj/haskell",
"id": "1d48ed566c0cc9069f7c1635b84df2dead31dfbf",
"size": "854",... |
package io.aos.endpoint.socket.bio;
import java.net.*;
import java.io.*;
import java.util.*;
public class BioTcpWebRedirector implements Runnable {
private int port;
private String newSite;
public static void main(String... args) {
int thePort;
String theSite;
try {
theSite = args[0]... | {
"content_hash": "1fcfb765f962671a2db708d5cb3ef0e0",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 83,
"avg_line_length": 27.64625850340136,
"alnum_prop": 0.515994094488189,
"repo_name": "XClouded/t4f-core",
"id": "ababbc703878107ece882238ec2ff2eee58941a1",
"size": "525... |
namespace dbus {
// Utility class to ensure that DBusError is freed.
class ScopedDBusError {
public:
ScopedDBusError() {
dbus_error_init(&error_);
}
~ScopedDBusError() {
dbus_error_free(&error_);
}
DBusError* get() { return &error_; }
bool is_set() { return dbus_error_is_set(&error_); }
const ... | {
"content_hash": "ace98d9c426f8d65c21c3a086b89086c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 54,
"avg_line_length": 20.08,
"alnum_prop": 0.6434262948207171,
"repo_name": "keishi/chromium",
"id": "67056477e5b3d6f7dcbdf7210dc0c5e3f257100b",
"size": "765",
"binary":... |
End of preview.
No dataset card yet
- Downloads last month
- 1