The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type string to null
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2152, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2014, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type string to null
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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, 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.
annotations dict | id string | meta dict | parents list | payload string | provenance dict | schema_version string |
|---|---|---|---|---|---|---|
{
"has_tests": false,
"programming_languages": [
"markdown"
],
"repository_health_band": "B"
} | repository_e870a69beebe4c501811ddb2 | {
"assembled_content_sha256": "2a59d6f4e6d9de93fb40cbf4f0514edabe5d4a6eefb512725d74ebb5f5be6ab8",
"commit_id": "a7891792759787c4b117dd656d73b9256b3d9eef",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_1a670d39ceb9032d7ecea362"
] | <|repo_start|>0xbolt/machine-learning-experiments@a7891792759787c4b117dd656d73b9256b3d9eef
<|file_start|>sklearn-experiments/README.md
# sklearn-experiments
## References
- [Sklearn User Guide](https://scikit-learn.org/stable/user_guide.html)
- [Sklearn Examples](https://scikit-learn.org/stable/auto_examples/index.html... | {
"commit_id": "a7891792759787c4b117dd656d73b9256b3d9eef",
"content_sha256": "2a59d6f4e6d9de93fb40cbf4f0514edabe5d4a6eefb512725d74ebb5f5be6ab8",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 19163,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"python"
],
"repository_health_band": "A"
} | repository_0e6e0fe91b96387e6144883c | {
"assembled_content_sha256": "a292cbb4259ea544036fdf2965d5c02d86fea3c77f827d74c3b92f2e683afb98",
"commit_id": "ce80fc5e36fcc1253029ff9f0378bb0f2e10bd0a",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_11cae57cd2da2193a1609508"
] | <|repo_start|>007sabari/-GPT-Based-Smart-Assistant-@ce80fc5e36fcc1253029ff9f0378bb0f2e10bd0a
<|file_start|>app.py
import openai
import pyttsx3
import speech_recognition as sr
import webbrowser
from apikey import api_data
openai.api_key = api_data
Model = 'gpt-4o'
engine = pyttsx3.init('sapi5')
voices ... | {
"commit_id": "ce80fc5e36fcc1253029ff9f0378bb0f2e10bd0a",
"content_sha256": "a292cbb4259ea544036fdf2965d5c02d86fea3c77f827d74c3b92f2e683afb98",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20075,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"css",
"javascript"
],
"repository_health_band": "B"
} | repository_bbb230d3cb72ce8ee752c3ff | {
"assembled_content_sha256": "e7d9c8f94e8665430a9eec9988e699ade0eba49dd45a15f69ed25be412e8802d",
"commit_id": "80cb8b885c8c4a98716822773090aef8e521b4a1",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_af63d6462a4214b9093aa44f",
"sv3f_86e4accb5f46849420388f34"
] | <|repo_start|>0-DAyFF13R/watchShop@80cb8b885c8c4a98716822773090aef8e521b4a1
<|file_start|>app.js
class Cart {
constructor() {
this.items = [];
}
addItem(item) {
this.items.push(item);
}
cartCleaner() {
this.items = [];
console.log('WORK');
}
}<|file_end|>
<|file... | {
"commit_id": "80cb8b885c8c4a98716822773090aef8e521b4a1",
"content_sha256": "e7d9c8f94e8665430a9eec9988e699ade0eba49dd45a15f69ed25be412e8802d",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20434,
"shard_path": "data/part-07942-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"markdown"
],
"repository_health_band": "B"
} | repository_42136eba6c9a47ccfbc5c405 | {
"assembled_content_sha256": "8da2f8e968d088f2dd1727adbb97fdac296eb1434bbcbc40c1dc2350a6aa73a3",
"commit_id": "cb996b1b6f18a2d02edf31e8177f35d7c6a24809",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_da6a8657f78ee2de2cc5482c"
] | <|repo_start|>14770788266lp/14770788266lp@cb996b1b6f18a2d02edf31e8177f35d7c6a24809
<|file_start|>README.md
- 👋 Hi, I’m @14770788266lp
- 👀 I’m interested in ...
- 🌱 I’m currently learning ...
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ...
<!---
14770788266lp/14770788266lp is a ✨ special ✨ repositor... | {
"commit_id": "cb996b1b6f18a2d02edf31e8177f35d7c6a24809",
"content_sha256": "8da2f8e968d088f2dd1727adbb97fdac296eb1434bbcbc40c1dc2350a6aa73a3",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 19510,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"cpp"
],
"repository_health_band": "A"
} | repository_e3dfa7c6280676d8cfa78338 | {
"assembled_content_sha256": "4cc157aa1e387d3f32aac1c4ee0ef9b90ff6b94be984f6004d7cf719ba930fd7",
"commit_id": "55253e5eb35d0f39cd0f4d9986ab401adcd0863d",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_3093216188233197774d15f8"
] | <|repo_start|>0165225/ATM-management-system@55253e5eb35d0f39cd0f4d9986ab401adcd0863d
<|file_start|>ATM_project.cpp
#include<stdio.h>
#include<conio.h>
#include<iostream>
#include<cstdlib>
using namespace std;
class atm_management
{
char y;
int balance=100000;
public:
void deposite_money();
void withdr... | {
"commit_id": "55253e5eb35d0f39cd0f4d9986ab401adcd0863d",
"content_sha256": "4cc157aa1e387d3f32aac1c4ee0ef9b90ff6b94be984f6004d7cf719ba930fd7",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 19375,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"css"
],
"repository_health_band": "B"
} | repository_e15d644b3962c4d7db650f58 | {
"assembled_content_sha256": "b3afc9cbb958a971f4b84d5ae8335b6636555e8eecbf1ec6ffaca4c99f808b12",
"commit_id": "347de21955fe7ba1034aa30a5a1b88876e303e2f",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_56c7d236113101ad9be07dbd"
] | <|repo_start|>1510200/cv@347de21955fe7ba1034aa30a5a1b88876e303e2f
<|file_start|>style.css
body{
background-color: brown;
}
h3,
h1 {
color: rgb(60, 38, 222);
}
h2 {
color: aqua;
text-align: center;
}
.red{
background-color: rgb(223, 197, 213);
}
/* #first{
background-color: beige... | {
"commit_id": "347de21955fe7ba1034aa30a5a1b88876e303e2f",
"content_sha256": "b3afc9cbb958a971f4b84d5ae8335b6636555e8eecbf1ec6ffaca4c99f808b12",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 19240,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"javascript",
"unknown",
"vue"
],
"repository_health_band": "D"
} | repository_a7994b0d8a299ea9667383af | {
"assembled_content_sha256": "04683e9c1a9a774260b52ef2523c794c5e18d2b10bc23042773282366ee26d88",
"commit_id": "f705df7816e23eec0849e6243f5fc0b244a198df",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_abda894e550a415244314e7b",
"sv3f_76e747be5c840c72b519d1f4",
"sv3f_c71ca3377702cf1185835b71",
"sv3f_19952f79d2ea781631279d78",
"sv3f_3832f52093844eae30acbcca",
"sv3f_8f06e93bb1ddab086a2d8da7",
"sv3f_cb009dae85f16a2f8bb2359e",
"sv3f_46c1f299c7fdb29235397661",
"sv3f_a0185c84d75946b026db2130",
"... | <|repo_start|>1001hz/sure-thing@f705df7816e23eec0849e6243f5fc0b244a198df
<|file_start|>src/App.vue
<template>
<div id="app">
<router-view/>
</div>
</template>
<script>
export default {
name: 'App'
}
</script>
<style lang="scss">
@import './styles/index.scss';
* {
box-sizing: border-box;
}
body {
font-... | {
"commit_id": "f705df7816e23eec0849e6243f5fc0b244a198df",
"content_sha256": "04683e9c1a9a774260b52ef2523c794c5e18d2b10bc23042773282366ee26d88",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 19879,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"python"
],
"repository_health_band": "A"
} | repository_8d273abeb79c6c9b9e697d6e | {
"assembled_content_sha256": "f0b78a7176441205c7c96bc7b979a4de386dfcf5245c2930b8b83f540e060cfe",
"commit_id": "00220ca17e11f57cdba11631bd7439fdf0019057",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_1ef9a255c5c3eafeab7c784b"
] | <|repo_start|>12alejandro/NT2probando1python@00220ca17e11f57cdba11631bd7439fdf0019057
<|file_start|>codigo1.py
nombreusuario = input("ingrese el usuario")
direccion = input("ingrese la direccion")
edad = int(input("digite el usuario"))
hijo = int(input("digite la cantidad de hijos"))
<|file_end|>
<|repo_end|> | {
"commit_id": "00220ca17e11f57cdba11631bd7439fdf0019057",
"content_sha256": "f0b78a7176441205c7c96bc7b979a4de386dfcf5245c2930b8b83f540e060cfe",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20262,
"shard_path": "data/part-05107-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"csharp"
],
"repository_health_band": "A"
} | repository_ea2156235f25e67028d6c9e5 | {
"assembled_content_sha256": "baf4411fd502aab3f5719af12248d5c02acac339d9d54206a13c707fede28bd0",
"commit_id": "9cb9b79b0a9af9824143017b86cb6f9824fa16b7",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_06e1199fee8d8a0a3fc0541c",
"sv3f_89ceef3318ba60cb8db70fc4"
] | <|repo_start|>14ceuos041/lab9@9cb9b79b0a9af9824143017b86cb6f9824fa16b7
<|file_start|>ConsoleApplication1/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void ... | {
"commit_id": "9cb9b79b0a9af9824143017b86cb6f9824fa16b7",
"content_sha256": "baf4411fd502aab3f5719af12248d5c02acac339d9d54206a13c707fede28bd0",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 21019,
"shard_path": "data/part-07942-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"css",
"php"
],
"repository_health_band": "B"
} | repository_a7cb7fb8a518e16e1b4f2d48 | {
"assembled_content_sha256": "2a19f0256fa5d9573e640d40c7695e09ec00499c54003c2a1ac1ed14730f3076",
"commit_id": "d523f0d556ad6e85b09c9a3ffd76623c0b6be3d2",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_77d28fba87592b376685a415",
"sv3f_04e78b6b1a3ee5239e48f7c5",
"sv3f_7cf6e48a6233806f483502d2",
"sv3f_62a36b429a342e1b10feeb58",
"sv3f_25af19ce0647e2e691095cd9",
"sv3f_9ab9bf302b4a7a38bd0d41b2",
"sv3f_4bdc01ae5c6a99b4defdd9bf",
"sv3f_0c30b5f087fd6598a2273b62",
"sv3f_45fc47485c09f2be4cab2422",
"... | <|repo_start|>1101137148/Final@d523f0d556ad6e85b09c9a3ffd76623c0b6be3d2
<|file_start|>css/health.css
.b1:hover {
border-color: white;
background-color: rgb(255, 142, 151);
}
.div_label{
border-radius:5px;
background-color: pink;
margin: auto;
height: 250px;
float: left;
}
.people_label{
border-rad... | {
"commit_id": "d523f0d556ad6e85b09c9a3ffd76623c0b6be3d2",
"content_sha256": "2a19f0256fa5d9573e640d40c7695e09ec00499c54003c2a1ac1ed14730f3076",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20695,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"java"
],
"repository_health_band": "A"
} | repository_a427146431fa48c591d7113c | {
"assembled_content_sha256": "84c2bb30d198516ed261568fd3909cdb472f7db034babf0ae9a805db3041cf43",
"commit_id": "d6d82e73f1f9f442d503eea1d1cd9946dc65c947",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_da460db156a1be39a05c272f",
"sv3f_a71798b59400588493d75d36"
] | <|repo_start|>1819-2ahitm-sew/assignment04-robot-processing-merisbsc@d6d82e73f1f9f442d503eea1d1cd9946dc65c947
<|file_start|>src/main/java/at/htl/robot/gui/Main.java
package at.htl.robot.gui;
import at.htl.robot.model.Robot;
import processing.core.PApplet;
public class Main extends PApplet {
// Hier die Member-A... | {
"commit_id": "d6d82e73f1f9f442d503eea1d1cd9946dc65c947",
"content_sha256": "84c2bb30d198516ed261568fd3909cdb472f7db034babf0ae9a805db3041cf43",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20922,
"shard_path": "data/part-05107-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"unknown"
],
"repository_health_band": "D"
} | repository_2c29def8b3cb3d83d01709e3 | {
"assembled_content_sha256": "95cf72c68741cc3fdfa3a416b8a38b656185bb0261f6cdc873cd72732e5a3e4b",
"commit_id": "f08e72caac5a2691fad755f69e3049c011672c60",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_1d6298339e411729a3331b52"
] | <|repo_start|>2022211001000509huangdong/huangdong2022211001000509@f08e72caac5a2691fad755f69e3049c011672c60
<|file_start|>src/main/webapp/MyJsp.jsp
<%--
Created by IntelliJ IDEA.
User: 黄东
Date: 2024/3/14
Time: 20:44
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/h... | {
"commit_id": "f08e72caac5a2691fad755f69e3049c011672c60",
"content_sha256": "95cf72c68741cc3fdfa3a416b8a38b656185bb0261f6cdc873cd72732e5a3e4b",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20033,
"shard_path": "data/part-05107-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"markdown"
],
"repository_health_band": "B"
} | repository_c0deaadd6a930af3b4c392c5 | {
"assembled_content_sha256": "5f23b6ff42f356f1526498dc1ff1cb7824586b482ac6b2310358d6fcfc990075",
"commit_id": "2c81a84ebc626d3e8844bd77e5a9eec0e7cf3180",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_956e5d6407d4fec5a0ca4178"
] | <|repo_start|>220725-JavaReact/DiahandraChristian@2c81a84ebc626d3e8844bd77e5a9eec0e7cf3180
<|file_start|>README.md
# DiahandraChristian
I have a passion for learning new things. I am excited to brace any challenges along the way. With that being said coding will be a challenge but I am ready to embrace it and learn. I ... | {
"commit_id": "2c81a84ebc626d3e8844bd77e5a9eec0e7cf3180",
"content_sha256": "5f23b6ff42f356f1526498dc1ff1cb7824586b482ac6b2310358d6fcfc990075",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 20297,
"shard_path": "data/part-01652-50e... | locus.item/v1 |
{
"has_tests": false,
"programming_languages": [
"markdown",
"python"
],
"repository_health_band": "B"
} | repository_e8c9985a86f86d700c6f79bb | {
"assembled_content_sha256": "1c0744820b88516b028970fd3e358eb63e2183a45b838f63932dd5efabd10317",
"commit_id": "3581a124aa7dea9750a65b244cbcab257b51a3a5",
"duplicates": {
"content_hash_status": "available_for_every_file",
"exact_content_duplicate_filter_status": "applied",
"retained_unique_content_has... | [
"sv3f_3f7ddbd5e0830baa53c8b8e1",
"sv3f_2f9d06370782d61ca2c1212e",
"sv3f_38d6e19aa41c4d6e16bbd2e5"
] | <|repo_start|>1mmunity/pypong@3581a124aa7dea9750a65b244cbcab257b51a3a5
<|file_start|>README.md
# PyPong
PyPong (<NAME>ong) is a pong game made in Python (PyGame)
please excuse my bad code because i rarely use python lol
## Required dependencies
```
$ pip install pygame
```
## Start game
```
$ py main.py
```
Enjoy!
<... | {
"commit_id": "3581a124aa7dea9750a65b244cbcab257b51a3a5",
"content_sha256": "1c0744820b88516b028970fd3e358eb63e2183a45b838f63932dd5efabd10317",
"dataset": "HuggingFaceCode/stack-v3-train",
"physical_locator": {
"kind": "pinned_parquet_shard",
"row_ordinal": 21093,
"shard_path": "data/part-07942-50e... | locus.item/v1 |
Locus repository code pool
The Locus repository code pool contains curated repository-version documents for code-language-model research. Each row combines the useful files from one Git repository snapshot into a single deterministic text document while retaining source provenance, file order, language and test signals, health evidence, and stable content hashes.
This release is a candidate acquisition pool, not a ready-made training split. Use a globally deduplicated manifest before training.
Source and curation
Rows were derived from
HuggingFaceCode/stack-v3-train
at pinned revision
80a7f793eb87d89a7835c3585090427039da0ad3.
The pipeline:
- grouped complete repository versions;
- removed holdout-matching, vendored, generated, lock, binary, minified, secret-marked, empty, pathological, and exact-duplicate files;
- bounded unusually long files;
- annotated language, file purpose, parser health, redaction damage, tests, and derived health bands;
- rendered surviving files in deterministic path order; and
- uploaded JSONL shards, then verified their immutable bytes, hash, and row count from Hugging Face.
No model-generated code is added by this pipeline.
Dataset size
Final acquisition accounting on 13 August 2026:
| Measure | Value |
|---|---|
| Immutable-verified physical rows | 4,216,896 |
| Globally reconciled unique repository documents | 3,879,232 |
| Exact repeated physical rows | 337,664 |
| Stable-ID/content conflicts | 0 |
| Stored data | 200,455,341,421 bytes (186.689 GiB) |
The rough planning estimate is 27.543B unique tokens using 7,100 tokens per document. This is not an exact tokenizer count and is not a claim about tokens consumed in training.
Row format
Every JSONL line uses the locus.item/v1 envelope:
{
"schema_version": "locus.item/v1",
"id": "repository_<stable digest>",
"parents": ["<included file IDs>"],
"provenance": {
"dataset": "HuggingFaceCode/stack-v3-train",
"revision": "<pinned revision>",
"repository_name": "owner/repository",
"commit_id": "<commit>",
"content_sha256": "<payload hash>",
"shape": "repository"
},
"meta": {
"file_count": 12,
"file_order": ["README.md", "src/main.py"],
"programming_languages": ["markdown", "python"],
"has_tests": true,
"repository_health_band": "B"
},
"annotations": {
"programming_languages": ["markdown", "python"],
"has_tests": true,
"repository_health_band": "B"
},
"payload": "<|repo_start|>owner/repository@commit\n<|file_start|>README.md\n..."
}
payload is the model-facing text. It uses explicit repository and file
boundaries: <|repo_start|>, <|repo_end|>, <|file_start|>, and
<|file_end|>.
Loading the JSONL
For a private checkout, authenticate with Hugging Face first, then load the shards as JSON:
from datasets import load_dataset
dataset = load_dataset(
"json",
data_files="hf://datasets/ahnaftaz/locus-repo-code-pool-v2/**/*.jsonl",
split="train",
)
print(dataset[0]["payload"])
Before training, collapse exact repeated rows by stable id and canonical row
hash, fail closed on any same-ID/different-content pair, tokenize the selected
payloads exactly, and freeze the selected IDs and weights in a corpus manifest.
For causal-language-model training, preserve repository/file boundaries while packing. Long rows should be split deterministically at file boundaries where possible, with the repository header and parent document ID retained for each window. The four literal boundary strings may be kept as normal tokenizer input or registered as reserved tokens; whichever choice you make should be versioned with the training manifest. Fill-in-the-middle and repository-context objectives are reasonable experiments, but they are not baked into the stored dataset.
Intended uses
- pretraining and continued pretraining for code models;
- repository-aware completion and retrieval experiments;
- language, file-purpose, quality, and repository-context mixture studies; and
- data-quality research using the structured provenance and health fields.
Limitations and responsibility
- The data represents repository snapshots, not Git histories, commits, pull requests, issue discussions, or execution traces.
- Marker-based holdout filtering reduces known overlap but does not prove full benchmark decontamination.
- Some early rows contain less detailed lineage metadata than the latest recipe; treat missing evidence as unknown, not false or zero.
- Stack v3 redacts PII upstream, which can occasionally damage source text.
- Health bands are heuristics and should not be treated as correctness labels.
- Source code remains governed by its original repository/file licenses and attribution requirements. Stack v3's dataset terms do not replace them.
- Do not train directly on the physical row count: the pool contains exact cross-lane repeats that must be removed or intentionally weighted.
Acknowledgements
The source corpus is The Stack v3 by the BigCode/Hugging Face community. Locus adds deterministic repository assembly, conservative filtering, structured evidence, durable upload verification, and global reconciliation.
- Downloads last month
- 2,378