Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
File size: 2,174 Bytes
a810074 7db6ab3 a810074 7db6ab3 4ac3182 7db6ab3 4ac3182 7db6ab3 4ac3182 7db6ab3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ---
license: cc-by-nc-4.0
language:
- en
tags:
- synthetic
- code
- reasoning
- python
- assertions
- verified
size_categories:
- 10K<n<100K
task_categories:
- text-generation
pretty_name: PyLogic-Verified-10k
---
# Deterministic Synthetic Python Logic & Assertion Dataset
> ⚡ **Full Production Release Available:** Looking for commercial licensing or larger training volume?
> 📦 **[Download the Full 100,000 Verified Dataset (.Parquet + .JSONL) with Commercial Rights →](https://buy.polar.sh/polar_cl_mJTc4TkjMmibI1h1DxoQaiDWf4Pu8NKAxYIG93QXYB0)**
---
A high-entropy, 100% syntactically verified synthetic dataset of Python conditional logic, multi-variable state mutations, and ground-truth unit test assertions.
## Dataset Overview
- **Rows (Free Preview):** 10,000 verified execution pairs
- **Full Commercial Corpus:** 100,000 samples (Dual Parquet + JSONL)
- **Format:** Apache Parquet (Snappy Compressed)
- **Zero Hallucination:** Every function includes closed-form deterministic unit test assertions.
- **Purpose:** Designed to fine-tune code LLMs on multi-variable boundary reasoning and execution state tracking.
## Commercial vs. Research Access
| Feature | 10k Hugging Face Sample | 100k Full Production Corpus |
| :--- | :--- | :--- |
| **Sample Count** | 10,000 rows | 100,000 rows |
| **Formats Included** | `.parquet` | `.parquet` + `.jsonl` |
| **Algorithmic Variety** | Baseline relational logic | 4 Distinct Algorithmic Templates |
| **License** | CC-BY-NC 4.0 (Non-Commercial) | **Full Commercial License** |
| **Access** | Free Download | **[Purchase ($24) →](https://buy.polar.sh/polar_cl_mJTc4TkjMmibI1h1DxoQaiDWf4Pu8NKAxYIG93QXYB0)** |
## Schema
| Column | Type | Description |
| :--- | :--- | :--- |
| `id` | string | Unique deterministic sample identifier |
| `instruction` | string | Natural language code generation prompt |
| `code` | string | Executable Python function implementation |
| `unit_test` | string | Ground-truth unit test suite (`assert` statements) |
## Quickstart
```python
from datasets import load_dataset
dataset = load_dataset("adolessence101-ally/python-logic-assertions")
print(dataset["train"][0]) |