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 903
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 731)
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 903
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 |
|---|---|
public class Dog
{
int size;
String name;
void bark(int numOfBarks)
{
for(int x=0; x<numOfBarks; x++)
{
System.out.println("Number of Barks: " + numOfBarks);
System.out.println("Ruff!");
}
}
} | {
"content_hash": "cc0716a60635a00f6e1dd8969e623fda",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 55,
"avg_line_length": 13.533333333333333,
"alnum_prop": 0.645320197044335,
"repo_name": "ZincOBrien/demo",
"id": "9171c0aab64c504d7eae61e3eb396c1c1d5d326a",
"size": "203",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Drawing;
namespace Effekseer.GUI.Dock
{
public class FileBrowser : DockPanel
{
public string CurrentPath { get; private set; }
string addressText = string.Empty;
bool addressEditing = false;
bool addressActivated... | {
"content_hash": "db8a9ac4db32cc724176d82fbb99ece3",
"timestamp": "",
"source": "github",
"line_count": 762,
"max_line_length": 157,
"avg_line_length": 25.61286089238845,
"alnum_prop": 0.6613208997284419,
"repo_name": "effekseer/Effekseer",
"id": "8e8bd4492235448cec0d3218470bff1e141a9ee6",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;
namespace MundlTransit.WP8.Data.Reference
{
[Table("OgdSteige")]
public class OgdSteig
{
// We use the OGD-provided STEIG_ID as primary key
[PrimaryKey]
... | {
"content_hash": "18a371874ca4a65c8c2e01e8ab5fef03",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 58,
"avg_line_length": 28.806451612903224,
"alnum_prop": 0.6125419932810751,
"repo_name": "christophwille/viennarealtime",
"id": "ff4c2216512d1d4c79145bdc77e6ae6d0867f997",
... |
"""
Created on Fri Jun 05 09:36:14 2015
@author: LLP-admin
"""
import pandas as pd
#import extract_filter
#########HELPER FUNCTIONS##############
def extract_filter(filter_path):
"""Given a path to the weka's filter file,
return a list of selected features."""
with open(filter_path) as f:
lnum = 0... | {
"content_hash": "d002e139ccc530bf615c9902156981c2",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 99,
"avg_line_length": 34.25806451612903,
"alnum_prop": 0.5574387947269304,
"repo_name": "cocoaaa/ml_gesture",
"id": "b9c2feb005d16abfb197834b72d9ae50bd709873",
"size": "21... |
<?xml version="1.0" encoding="UTF-8"?>
<recipeml version="0.5">
<recipe>
<head>
<title>Baked Beef and Vegetable Soup</title>
<categories>
<cat>Meats</cat>
<cat>Microwave</cat>
<cat>Soups/stews</cat></categories>
<yield>6</yield></head>
<ingredients>
... | {
"content_hash": "11a0c901b2d86967dae062c4cc8e9df4",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 124,
"avg_line_length": 30.16822429906542,
"alnum_prop": 0.5322180916976456,
"repo_name": "coogle/coogle-recipes",
"id": "d3be460d1e14afc49a3aa643e2ecdfe101fc9312",
"size"... |
package org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos;
import static org.ovirt.engine.extensions.aaa.builtin.kerberosldap.utils.kerberos.InstallerConstants.ERROR_PREFIX;
import java.io.IOException;
import java.util.List;
import javax.security.auth.Subject;
import javax.security.auth.callback.Ca... | {
"content_hash": "9b82f90a57217726fb8bd17deabce592",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 120,
"avg_line_length": 37.48947368421052,
"alnum_prop": 0.6401796995647902,
"repo_name": "halober/ovirt-engine",
"id": "9557d59f7c59b8c92156a60aa968a093722cdc85",
"size":... |
# Defining a Subject Type
Within a Permissions System, a [CheckPermission] call is always made between an object representing the *resource* and an object representing a *subject*: The API call returns whether the *subject* has the specified permission on the *resource*.
[CheckPermission]: https://buf.build/authzed/a... | {
"content_hash": "a1a272a44c184af148cf915bc014bd05",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 245,
"avg_line_length": 39.404580152671755,
"alnum_prop": 0.7710189848895777,
"repo_name": "jzelinskie/docs",
"id": "036f1abd421cf1119376562c02e3c876c393acc0",
"size": "51... |
package detectores;
import colecoes.Digrafos;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Detector para encontrar letras repetidas em um endereço.<br>
* Algumas letras repetidas são válidas de estarem presentes em um termo de um endere... | {
"content_hash": "2b437b805e32d27071a2fae3f21ca4cc",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 105,
"avg_line_length": 29.337078651685392,
"alnum_prop": 0.6058981233243967,
"repo_name": "chazgps/EnderecoLimpo",
"id": "04feab3695933ceea169600cf0414b0a382f5fe0",
"size"... |
warning: 'This file is auto generated by `npm run web:inject`, do not edit by hand'
examples:
- html_entity_decode('Kevin & van Zonneveld')
- html_entity_decode('&lt;')
estarget: es5
returns:
- '''Kevin & van Zonneveld'''
- '''<'''
dependencies: []
authors:
original by:
- 'john (https://www.jd-... | {
"content_hash": "943928a11e309eba84f0cd8d4bfd5402",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 131,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.6606749816581071,
"repo_name": "kvz/phpjs",
"id": "f69efb5ddf12ae29935d564438ce54ff99768096",
"size": "2732",
... |
<?php
namespace Laravel\Socialite\Two;
use Illuminate\Support\Arr;
use GuzzleHttp\ClientInterface;
class FacebookProvider extends AbstractProvider implements ProviderInterface
{
/**
* The base Facebook Graph URL.
*
* @var string
*/
protected $graphUrl = 'https://graph.facebook.com';
... | {
"content_hash": "6163f23a8e3940f7e381184ec1762bf9",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 118,
"avg_line_length": 22.44632768361582,
"alnum_prop": 0.5162345834382079,
"repo_name": "pviswanath/New-Cassel-first-code-base",
"id": "94915a6ff2e578b9204aa81dcd3f60aae02... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { ThemeProvider } from 'styled-components'
import defaultTheme from './defaultTheme'
class NiceUIThemeProvider extends Component {
static propTypes = {
children: PropTypes.element.isRequired,
theme: PropTypes.object,
};
s... | {
"content_hash": "027cf054eda9e90402f99745cb41499e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 77,
"avg_line_length": 24.391304347826086,
"alnum_prop": 0.7112299465240641,
"repo_name": "react-ui-components/nice-ui",
"id": "488675ec497a9b42317902a807decedd6f63de0c",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>com.huffingtonpost</groupId>
<artifactId>... | {
"content_hash": "669270b55170c5ef1d594fdbda35276e",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 201,
"avg_line_length": 34.92201834862385,
"alnum_prop": 0.5604886378562984,
"repo_name": "aol/chronos",
"id": "b0596796e9ad8a901e5c4661091d37c533066eca",
"size": "7613",
... |
#ifndef DATA_H_INCLUDED
#define DATA_H_INCLUDED
#include "bool.h"
#include "int.h"
struct lock;
/*********************************************************************
** Buffer
*********************************************************************/
typedef struct
{
void *data;
xmlrpc_uint32_t size;
xmlrp... | {
"content_hash": "191fec7f08c95cc26be8f7101ce519d1",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 70,
"avg_line_length": 19.083798882681563,
"alnum_prop": 0.5199063231850117,
"repo_name": "hoyin29/XML_RPC",
"id": "98a82849fdaadb1c3f3c14db144606dd8ce93150",
"size": "341... |
package org.kjots.json.content.shared.text;
/**
* JSON Text Builder.
* <p>
* Created: 2nd February 2010.
*
* @author <a href="mailto:kjots@kjots.org">Karl J. Ots <kjots@kjots.org></a>
* @since 1.0
*/
public class JsonTextBuilder extends JsonTextGenerator {
/** The string builder. */
private final Str... | {
"content_hash": "380dcbc6dd2f5f7e3fa66b87dc50a206",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 83,
"avg_line_length": 20.24590163934426,
"alnum_prop": 0.648582995951417,
"repo_name": "kjots/json-toolkit",
"id": "05fd0307bafc10b9475807c23edd6199951fb9e7",
"size": "185... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("05.... | {
"content_hash": "443716355be1383d1b6f3ae0eb9bf9ba",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.888888888888886,
"alnum_prop": 0.745,
"repo_name": "Shtereva/Fundamentals-with-CSharp",
"id": "4414e746bff2536591973a95bc43bf4e713bf547",
"size": ... |
package diameter
import (
"bytes"
"io"
"net"
"time"
)
// DialAndServe start diameter connection handling process as initiator.
func DialAndServe(c net.Conn) (err error) {
state = closed
return serve(c)
}
// ListenAndServe start diameter connection handling process as responder.
func ListenAndServe(c net.Conn) ... | {
"content_hash": "8cf56f706cd704799b3d5045b9045eac",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 88,
"avg_line_length": 23.65671641791045,
"alnum_prop": 0.6130389064143007,
"repo_name": "fkgi/diameter",
"id": "d6cffef21256c2d3b20238f012231f9c8991615f",
"size": "4755",... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32spawnl_67b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-67b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data... | {
"content_hash": "2e5909c907fc05b5792f54a06e42f5bd",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 166,
"avg_line_length": 33.25581395348837,
"alnum_prop": 0.7202797202797203,
"repo_name": "maurer/tiamat",
"id": "f3bcb2a4ffab5f02f21d7023335b5101334ccaec",
"size": "2860",... |
var common = require('../common.js');
var W = require('_stream_writable');
var D = require('_stream_duplex');
var assert = require('assert');
var util = require('util');
util.inherits(TestWriter, W);
function TestWriter() {
W.apply(this, arguments);
this.buffer = [];
this.written = 0;
}
TestWriter.prototype._w... | {
"content_hash": "fbf4da06a3b3ed010f19344a4f775faa",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 71,
"avg_line_length": 20.526041666666668,
"alnum_prop": 0.5626744481096169,
"repo_name": "unknownexception/flow-declarations",
"id": "3767ce140e77257cba6dcf07bdee3bb0e341a3... |
A simple Arduino MIDI controller experiment. In the [wiki](https://github.com/alex5imon/MIDI-controller/wiki) you can find step by step how to create a very simple MIDI controller with Arduino UNO.
## Requirements
- OSX
- [Arduino UNO R3](http://arduino.cc/en/Main/arduinoBoardUno) + latest [Arduino IDE](http://arduino... | {
"content_hash": "48a64597855068ecea51cd3fc7729462",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 197,
"avg_line_length": 60.69230769230769,
"alnum_prop": 0.7718631178707225,
"repo_name": "alex5imon/MIDI-controller",
"id": "0760fdc09b0f467d64f995f038a0f2b23b04dbf7",
"si... |
DCHacks project
| {
"content_hash": "68351785c8247ad34e5d95e1bed03e24",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 15,
"avg_line_length": 16,
"alnum_prop": 0.875,
"repo_name": "fwilson42/dchacks2015",
"id": "a6876be614181b133a9692b582f39cb622692026",
"size": "30",
"binary": false,
"c... |
package org.kuali.rice.krad.data.jpa.eclipselink;
import org.apache.commons.lang.StringUtils;
import org.eclipse.persistence.config.SessionCustomizer;
import org.eclipse.persistence.descriptors.ClassDescriptor;
import org.eclipse.persistence.exceptions.DescriptorException;
import org.eclipse.persistence.internal.data... | {
"content_hash": "8aec39c5e2f49b758d0d7c50f1e89265",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 120,
"avg_line_length": 39.9974293059126,
"alnum_prop": 0.6515842920496175,
"repo_name": "ewestfal/rice-svn2git-test",
"id": "126dede4d8166c7bf106bf2d79cbf79f1ff67b74",
"s... |
window.app.directive('tiles', function ($timeout) {
return {
link: function (scope, element, attrs) {
scope.$watch("eventsList", function () {
var eventDataList= scope.eventsList;
var dateToYMD=function(dateStr) {
if(dateStr===null){
... | {
"content_hash": "e6ae8c2d2d325c5d3deb395152f23c1d",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 373,
"avg_line_length": 35.7035175879397,
"alnum_prop": 0.4418015482054891,
"repo_name": "rajarv/EventOrganizer",
"id": "f05fc17fac118471b94d73321d126c5412cf906a",
"size":... |
import path from 'node:path'
import { expect, describe, it, beforeEach, afterEach, vi } from 'vitest'
import { remote } from '../../../src/index.js'
vi.mock('got')
vi.mock('@wdio/repl', () => import(path.join(process.cwd(), '__mocks__', '@wdio/repl')))
vi.mock('@wdio/logger', () => import(path.join(process.cwd(), '__m... | {
"content_hash": "d83d707370f4ff56dc1920fd6c620668",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 100,
"avg_line_length": 34.43181818181818,
"alnum_prop": 0.501980198019802,
"repo_name": "webdriverio/webdriverio",
"id": "ec9fbeb8d186bf4a3ac828449858bf67e05e8e24",
"size"... |
RSpec.describe RuboCop::Cop::Style::RedundantFileExtensionInRequire do
subject(:cop) { described_class.new }
it 'registers an offense and corrects when requiring filename ending with `.rb`' do
expect_offense(<<~RUBY)
require 'foo.rb'
^^^^^^^^ Redundant `.rb` file extension detected.
r... | {
"content_hash": "3cd4536b60b0781bab2b95f58b00c3cd",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 85,
"avg_line_length": 28.394736842105264,
"alnum_prop": 0.6376274328081557,
"repo_name": "tdeo/rubocop",
"id": "48f5622100ff14c84cb988e0511830074efc91a1",
"size": "1110",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:27:08 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
类 java.awt.Label.AccessibleAWT... | {
"content_hash": "ce7092a21b36b393baa779547f6d59b4",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 441,
"avg_line_length": 45.19310344827586,
"alnum_prop": 0.6307034945826339,
"repo_name": "piterlin/piterlin.github.io",
"id": "a5f83e228e4bc69d683490b3e76080d934a51d98",
... |
<!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": "98e028fec4deed5300ff2dae0164f519",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 307,
"avg_line_length": 61.161904761904765,
"alnum_prop": 0.6912176891933977,
"repo_name": "vrenkens/nabu",
"id": "6a6ab3a0e6a134730c265ac32ce3fb0376d83bbd",
"size": "6422... |
#ifndef _SYSHOOK_LIST_H_
#define _SYSHOOK_LIST_H_
struct syshook_list_node {
struct syshook_list_node *prev;
struct syshook_list_node *next;
};
typedef struct syshook_list_node syshook_list_node_t;
#if defined(SYSHOOK_INTERNAL) || defined(SYSHOOK_ENABLE_LIST_FUNCTIONS)
#include <stdbool.h>
#include <stddef... | {
"content_hash": "4be0a683ba8f35b4353fce0b26ac1380",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 118,
"avg_line_length": 26.834586466165412,
"alnum_prop": 0.6078733538806388,
"repo_name": "efidroid/modules_libsyshook",
"id": "9437500275ba971facaaa028d08b0a7889bb326a",
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Create a new {@link Industry} instance that uses the given `agent` to
* make its HTTP requests to the ESI interface.
*
* @param agent The agent making actual requests
* @returns A Industry API instance
*/
function makeIndustry(agen... | {
"content_hash": "a9435d3f9fb8cfb29dcc0d5d30364d13",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 28.48,
"alnum_prop": 0.6839887640449438,
"repo_name": "lhkbob/eve-swagger-js",
"id": "e0f771efeb8f76dabeb1d862784b1eefc5535bd4",
"size": "712",
"bi... |
End of preview.
No dataset card yet
- Downloads last month
- 1