Datasets:
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: TypeError
Message: Couldn't cast array of type
string
to
{'attribution': Value('string'), 'license': Value('string'), 'name': Value('string'), 'retrieved': Value('timestamp[s]'), 'url': Value('string')}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, 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 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2315, 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 2161, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
string
to
{'attribution': Value('string'), 'license': Value('string'), 'name': Value('string'), 'retrieved': Value('timestamp[s]'), 'url': Value('string')}
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 1379, 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 956, 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 1702, 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 1887, 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.
id string | kind string | lang string | topic string | tokens int64 | sha256 string | text string | source dict | quality_score float64 |
|---|---|---|---|---|---|---|---|---|
origen-curado-code-000001 | code | es | economics | 965 | 266710a2667f66a9182c6bc7ee832a94e6cfedd7fc92f7efcf9017b2571cb699 | # Farm Co-Op inventory manager (Python + SQLite)
## Resumen
Gestión de existencias para una cooperativa agrícola con validación, transacciones y exportación CSV.
## Archivos
### `farm_inventory.py`
```python
#!/usr/bin/env python3
"""Farm Co-Op inventory manager.
A small, dependency-free stock system. It uses SQLit... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000002 | code | en | economics | 957 | c431d5b4efc434d8685171f949fce895cfe6313f5545d121134f24996786670f | # Farm Co-Op inventory manager (Python + SQLite)
## Summary
Stock management for a farm co-op with validation, transactions and CSV export.
## Files
### `farm_inventory.py`
```python
#!/usr/bin/env python3
"""Farm Co-Op inventory manager.
A small, dependency-free stock system. It uses SQLite transactions, strict
in... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000003 | code | es | economics | 967 | c9162d8c513ff8f82e0588bd51f7fcd1d8b29332aef1bff49dc786f88614d98a | # Coffee Roastery inventory manager (Python + SQLite)
## Resumen
Gestión de existencias para una tostadero de café con validación, transacciones y exportación CSV.
## Archivos
### `coffee_inventory.py`
```python
#!/usr/bin/env python3
"""Coffee Roastery inventory manager.
A small, dependency-free stock system. It u... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000004 | code | en | economics | 951 | e9f2c7fe78ca83fdebe712c2d12c96fe5ff55a2989065954f050fb1c4ac67a82 | # Bookshop inventory manager (Python + SQLite)
## Summary
Stock management for a bookshop with validation, transactions and CSV export.
## Files
### `bookshop_inventory.py`
```python
#!/usr/bin/env python3
"""Bookshop inventory manager.
A small, dependency-free stock system. It uses SQLite transactions, strict
inpu... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000005 | code | es | economics | 959 | bb96d8b7168f3164b1737e37f5199a8e85f02d759c70be1207618a9379566b18 | # Cinema inventory manager (Python + SQLite)
## Resumen
Gestión de existencias para una cine con validación, transacciones y exportación CSV.
## Archivos
### `cinema_inventory.py`
```python
#!/usr/bin/env python3
"""Cinema inventory manager.
A small, dependency-free stock system. It uses SQLite transactions, strict... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000006 | code | en | economics | 951 | e7ce21554b1450914c321c05e4c0a44944c6b9da84753f2e1217482bd82c4899 | # Cinema inventory manager (Python + SQLite)
## Summary
Stock management for a cinema with validation, transactions and CSV export.
## Files
### `cinema_inventory.py`
```python
#!/usr/bin/env python3
"""Cinema inventory manager.
A small, dependency-free stock system. It uses SQLite transactions, strict
input valida... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000007 | code | es | technology | 804 | a6cdfbd00155b57431f7a2ca1a6cdccc967bbe0c3d64c9d2120d22c4ab3aa9ee | # Bounded async archive downloader (bakery)
## Resumen
Descargador concurrente con reintentos, límite de tamaño, hash SHA-256 y manifiesto reproducible.
## Archivos
### `archive_downloader.py`
```python
#!/usr/bin/env python3
"""Resilient downloader for a small public archive.
The standard library is enough here: a ... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000008 | code | en | technology | 800 | 9c31df7eaedc6d882ce1caf49f06ed8bae5462f2f5d87fa2a0f1be6ebcdc994b | # Bounded async archive downloader (cinema)
## Summary
Concurrent downloader with retries, a hard size cap, SHA-256 hashing and a reproducible manifest.
## Files
### `archive_downloader.py`
```python
#!/usr/bin/env python3
"""Resilient downloader for a small public archive.
The standard library is enough here: a bou... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000009 | code | es | technology | 805 | ab4a7c8ed99d3025eec402a701a8df087f304a21b70e703deb6f97547daaec43 | # Bounded async archive downloader (coffee roastery)
## Resumen
Descargador concurrente con reintentos, límite de tamaño, hash SHA-256 y manifiesto reproducible.
## Archivos
### `archive_downloader.py`
```python
#!/usr/bin/env python3
"""Resilient downloader for a small public archive.
The standard library is enough... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000010 | code | en | technology | 800 | 93d9cfbde1e46a45ef5a96fd0583363384fe409939849db1d0ff53c363c1b152 | # Bounded async archive downloader (florist)
## Summary
Concurrent downloader with retries, a hard size cap, SHA-256 hashing and a reproducible manifest.
## Files
### `archive_downloader.py`
```python
#!/usr/bin/env python3
"""Resilient downloader for a small public archive.
The standard library is enough here: a bo... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000011 | code | es | technology | 841 | bc5e1b7559ce7d7be6ebd2874ea152d0ac8f9917ea0178a263539df063798afa | # Durable job queue for a bookshop (Python)
## Resumen
Cola de trabajos persistente con prioridad, reintentos, estado running y cola de mensajes muertos.
## Archivos
### `job_queue.py`
```python
#!/usr/bin/env python3
"""Durable single-process task queue.
Jobs live in a JSON file, are executed in priority order and ... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000012 | code | en | technology | 834 | abaf9d43e9205b418607a88b8d8d953c80e008d2609d9cef5c89332e07e3c057 | # Durable job queue for a pharmacy (Python)
## Summary
A persistent priority job queue with retries, a running state and a dead-letter list.
## Files
### `job_queue.py`
```python
#!/usr/bin/env python3
"""Durable single-process task queue.
Jobs live in a JSON file, are executed in priority order and move to a
dead-l... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000013 | code | en | technology | 834 | 91e12925a103a94530f5080d2025f87a4bd5641be30be470a42ccbb0d7b84de6 | # Durable job queue for a gallery (Python)
## Summary
A persistent priority job queue with retries, a running state and a dead-letter list.
## Files
### `job_queue.py`
```python
#!/usr/bin/env python3
"""Durable single-process task queue.
Jobs live in a JSON file, are executed in priority order and move to a
dead-le... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000014 | code | es | technology | 576 | 050e2550ed7903d8442d0d15f460743a11ebf185d38c2c45dd5f2e8a66aee6fb | # Streaming application log analyser (Python)
## Resumen
Resumen de logs por streaming: niveles, servicios, errores y exportación JSON/CSV.
## Archivos
### `log_report.py`
```python
#!/usr/bin/env python3
"""Streaming log summariser.
Reads line by line, so a multi-gigabyte file never has to fit in memory. The
parse... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000015 | code | en | technology | 568 | 37615f0cbe2e578eb5283bdf6c5f2922288639c6e3732af71dec929f41763ea2 | # Streaming auth log analyser (Python)
## Summary
Streaming log summary: levels, services, server errors and JSON/CSV export.
## Files
### `log_report.py`
```python
#!/usr/bin/env python3
"""Streaming log summariser.
Reads line by line, so a multi-gigabyte file never has to fit in memory. The
parser is deliberately... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:49",
"url": ""
} | 1 |
origen-curado-code-000016 | code | en | technology | 579 | 856ba4831313c0f0dba77b349ba5cb319c731603f9623abf046dd1af08be2a52 | # Streaming nginx log analyser (Python)
## Summary
Streaming log summary: levels, services, server errors and JSON/CSV export.
## Files
### `log_report.py`
```python
#!/usr/bin/env python3
"""Streaming log summariser.
Reads line by line, so a multi-gigabyte file never has to fit in memory. The
parser is deliberatel... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:50",
"url": ""
} | 1 |
origen-curado-code-000017 | code | es | technology | 946 | 86df6949791c442e1a8b57ed4c22226a8d6f620e13ba3fe85aa440b5b563465a | # Bike Shop JSON API (Node.js, no dependencies)
## Resumen
API HTTP con rutas, límite de peticiones, validación y almacenamiento JSON atómico.
## Archivos
### `bike_shop_api.mjs`
```javascript
#!/usr/bin/env node
/**
* Minimal JSON API for a bike shop.
*
* Uses only Node built-ins: an HTTP server, a small router, ... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:50",
"url": ""
} | 1 |
origen-curado-code-000018 | code | en | technology | 934 | c7cc8508e9ae6097169a2dadcc916ad375c6437effce57b4f01971deb2856fa5 | # Gallery JSON API (Node.js, no dependencies)
## Summary
HTTP API with routing, rate limiting, validation and atomic JSON storage.
## Files
### `gallery_api.mjs`
```javascript
#!/usr/bin/env node
/**
* Minimal JSON API for a gallery.
*
* Uses only Node built-ins: an HTTP server, a small router, a token-bucket
* l... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:50",
"url": ""
} | 1 |
origen-curado-code-000019 | code | es | technology | 942 | 345b02ebe34645a847d8214f729991f17bbd111adcf27c598b138ed9cae6a869 | # Bookshop JSON API (Node.js, no dependencies)
## Resumen
API HTTP con rutas, límite de peticiones, validación y almacenamiento JSON atómico.
## Archivos
### `bookshop_api.mjs`
```javascript
#!/usr/bin/env node
/**
* Minimal JSON API for a bookshop.
*
* Uses only Node built-ins: an HTTP server, a small router, a t... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:50",
"url": ""
} | 1 |
origen-curado-code-000020 | code | en | technology | 938 | cd351c723d0b176a0354ca6a6755fe3f7a7458d06b92b309de3a5f627cda3bae | # Toy Store JSON API (Node.js, no dependencies)
## Summary
HTTP API with routing, rate limiting, validation and atomic JSON storage.
## Files
### `toy_store_api.mjs`
```javascript
#!/usr/bin/env node
/**
* Minimal JSON API for a toy store.
*
* Uses only Node built-ins: an HTTP server, a small router, a token-bucke... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:50",
"url": ""
} | 1 |
origen-curado-code-000021 | code | es | technology | 1,013 | 99fd01399d3c2f944fe9842536f72f43edf4ada74ae80e16512533205d2cca5d | # Accessible gallery dashboard (HTML/CSS/JS)
## Resumen
Panel responsive con estados de carga y error, formato de moneda y tabla accesible.
## Archivos
### `dashboard.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:51",
"url": ""
} | 1 |
origen-curado-code-000022 | code | en | technology | 1,009 | 57e165c3f3fb24458f67d4f4b50da67774dfc2b91ba4fe79743b90dc7b04782d | # Accessible hardware store dashboard (HTML/CSS/JS)
## Summary
Responsive dashboard with loading and error states, currency formatting and an accessible table.
## Files
### `dashboard.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, in... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:51",
"url": ""
} | 1 |
origen-curado-code-000023 | code | es | technology | 1,017 | ae929c14091c14b47b43ea4ec8a748132530347f9317208c61ebee953738ec50 | # Accessible hardware store dashboard (HTML/CSS/JS)
## Resumen
Panel responsive con estados de carga y error, formato de moneda y tabla accesible.
## Archivos
### `dashboard.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scal... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:51",
"url": ""
} | 1 |
origen-curado-code-000024 | code | en | technology | 1,005 | 69277fcdcdbba6253439a9db96eaf57fb3f92583bda3260e376ca5570d300f73 | # Accessible florist dashboard (HTML/CSS/JS)
## Summary
Responsive dashboard with loading and error states, currency formatting and an accessible table.
## Files
### `dashboard.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-s... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000025 | code | es | daily_life | 799 | 1ffd87b5ec96966fe787c6332d93897bec755ffe2f58f3b946e13806669e5343 | # Florist landing page (HTML + CSS)
## Resumen
Página de aterrizaje semántica y responsive para un negocio ficticio, sin dependencias.
## Archivos
### `landing.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000026 | code | en | daily_life | 797 | 5cafc6a093706385ef4367f89c4f01f5a592989beb0b8a61f8aa072181380b8a | # Farm Co-Op landing page (HTML + CSS)
## Summary
Semantic, responsive landing page for a fictional business, with no dependencies.
## Files
### `landing.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Farm ... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000027 | code | es | daily_life | 805 | 6cd4eacac2a2fed28156b6a4c8466e689a22b415b3d7063a600b6ead994669cb | # Bike Shop landing page (HTML + CSS)
## Resumen
Página de aterrizaje semántica y responsive para un negocio ficticio, sin dependencias.
## Archivos
### `landing.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<tit... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000028 | code | en | daily_life | 791 | db67c3217c1335fb33b711c7d75fa9d14e3b7a136ee4b240da96f34f4dace173 | # Pharmacy landing page (HTML + CSS)
## Summary
Semantic, responsive landing page for a fictional business, with no dependencies.
## Files
### `landing.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pharmac... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000029 | code | es | technology | 919 | e3b2a0a652cfa6563143774ddeebff6e000e76aa05c3017b709c313f70594b38 | # Accessible reservation form for a toy store
## Resumen
Formulario accesible con validación en el navegador, mensajes junto al campo y foco gestionado.
## Archivos
### `form.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-sca... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000030 | code | en | technology | 904 | 69a00b8769fd1c44dae785ced6ce8b88ebfa5cf968ea7bb7a2dff5c06a90f63d | # Accessible reservation form for a bookshop
## Summary
Accessible form with browser validation, field-level messages and managed focus.
## Files
### `form.html`
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Res... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:52",
"url": ""
} | 1 |
origen-curado-code-000031 | code | es | economics | 966 | b37f0dadea1b198093e781bd16ead8253d4c01002a79d949f6bf55e4e7c3bf0b | # Bike Shop inventory manager (Python + SQLite)
## Resumen
Gestión de existencias para una taller de bicicletas con validación, transacciones y exportación CSV.
## Archivos
### `bike_shop_inventory.py`
```python
#!/usr/bin/env python3
"""Bike Shop inventory manager.
A small, dependency-free stock system. It uses SQ... | {
"attribution": "Origen-100K original code samples",
"license": "CC0-1.0",
"name": "codegen",
"retrieved": "2026-11-05T04:10:53",
"url": ""
} | 1 |
End of preview.
Origen 91K — Bilingual ES/EN Pretraining Dataset
A high-quality, curated bilingual (Spanish/English) pretraining dataset with 91,557 records across 14 specialized categories. Designed for pretraining and fine-tuning language models with strong multilingual, mathematical, agentic, and long-context capabilities.
Dataset Summary
| Metric | Value |
|---|---|
| Total records | 91,557 |
| Languages | Spanish (47.26%) / English (52.74%) |
| Average tokens per record | ~462 |
| Duplicate records | 0 (SHA-256 verified) |
| File size | ~224 MB |
| Format | JSONL |
Categories
| Category | Records | % | Description |
|---|---|---|---|
knowledge |
71,495 | 78.09% | Wikipedia-derived encyclopedic text, curated and deduplicated |
math |
5,616 | 6.13% | Step-by-step CoT math problems (algebra, calculus, combinatorics, statistics) |
code |
2,652 | 2.90% | Verified Python, JavaScript, HTML, CSS projects with documentation |
conversation |
2,031 | 2.22% | Support dialogues across diverse real-world settings |
llm_reasoning |
1,200 | 1.31% | State tracking, long-context retrieval, variable tracing, chat pragmatics |
agentic_coding |
1,200 | 1.31% | Autonomous debugging, multi-agent code review, security audits |
ethics |
1,050 | 1.15% | Bioethics, AI governance, labor dilemmas |
math_facts |
1,050 | 1.15% | Theorems with proof sketches, examples, and pitfalls |
art |
1,050 | 1.15% | Art movements, curatorial monographs, aesthetic analysis |
thought |
1,050 | 1.15% | Mental models, epistemology, Fermi problems, paradoxes |
genetics |
1,050 | 1.15% | DNA topology, CRISPR, epigenetics, NGS, population genetics |
technology |
1,050 | 1.15% | EUV lithography, FinFET/GAAFET, Silicon Valley history, AI accelerators |
translation |
1,043 | 1.14% | Authentic bilingual sentence pairs (Tatoeba, CC BY 2.0 FR) |
long_context |
20 | 0.02% | Multi-chapter treatises of 8,000–8,266 tokens each |
Schema
Each record is a JSON object with the following fields:
{
"id": "origen-pure-math-000001", // Unique string ID
"kind": "math", // Category (see table above)
"lang": "es", // "es" or "en"
"topic": "algebra", // Sub-topic within the category
"tokens": 298, // Approximate token count
"sha256": "abc123...", // SHA-256 of the text field
"text": "...", // Main content
"source": "Origen-Pure-Math-Reasoning", // Data origin label
"quality_score": 1.0 // Quality score (0.0–1.0)
}
Usage
from datasets import load_dataset
ds = load_dataset("your-username/origen-91k-es-en")
# Filter by language
es_records = ds["train"].filter(lambda x: x["lang"] == "es")
# Filter by category
math_records = ds["train"].filter(lambda x: x["kind"] == "math")
# Get long-context examples
long = ds["train"].filter(lambda x: x["tokens"] > 8000)
Data Quality
- Knowledge: Wikipedia-curated text, Gutenberg legal boilerplate removed, near-duplicate filtering applied.
- Math: Verified step-by-step CoT problems generated via a symbolic math engine; all steps are algebraically correct.
- Code: Python validated with AST compilation; JS/HTML/CSS brace-checked and structurally verified.
- Translation: Authentic sentence pairs from the Tatoeba corpus — not machine-translated.
- Synthetic categories (ethics, art, thought, genetics, technology, llm_reasoning, agentic_coding): Template-based combinatorial generation with extensive variation. High quality but not human-authored. Disclosed transparently.
Limitations
- The
knowledgecategory (~78%) is derived from Wikipedia and inherits its coverage biases and temporal cutoff. - Synthetic categories are template-generated and may exhibit structural patterns not present in naturally written text.
long_contextcontains only 20 records — suitable as a benchmark probe, not for large-scale training on its own.
Sources and Attribution
| Source | License | Used for |
|---|---|---|
| Wikipedia | CC BY-SA 4.0 | knowledge category |
| Tatoeba | CC BY 2.0 FR | translation category |
| Original synthetic content | CC BY-SA 4.0 | All other categories |
This dataset is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0), consistent with its Wikipedia-derived content.
Citation
If you use this dataset in your research or projects, please cite:
- BueormLM
- Downloads last month
- 53