Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
Update README.md
Browse filesCommercial Inquiries
This sample is licensed under Creative Commons Attribution Non-Commercial 4.0 (CC BY-NC 4.0).
For commercial training licenses or custom high-volume synthetic batches (1M–100M+ rows), contact the author directly.
README.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- synthetic
|
| 7 |
+
- code
|
| 8 |
+
- reasoning
|
| 9 |
+
- python
|
| 10 |
+
- assertions
|
| 11 |
+
- verified
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
task_categories:
|
| 15 |
+
- text-generation
|
| 16 |
+
pretty_name: PyLogic-Verified-10k
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# Deterministic Synthetic Python Logic & Assertion Dataset
|
| 20 |
+
|
| 21 |
+
A high-entropy, 100% syntactically verified synthetic dataset of Python conditional logic, multi-variable state mutations, and ground-truth unit test assertions.
|
| 22 |
+
|
| 23 |
+
## Dataset Overview
|
| 24 |
+
|
| 25 |
+
- **Rows:** 10,000 verified execution pairs
|
| 26 |
+
- **Format:** Apache Parquet (Snappy Compressed)
|
| 27 |
+
- **Zero Hallucination:** Every function includes closed-form deterministic unit test assertions.
|
| 28 |
+
- **Purpose:** Designed to fine-tune code LLMs on multi-variable boundary reasoning and execution state tracking.
|
| 29 |
+
|
| 30 |
+
## Schema
|
| 31 |
+
|
| 32 |
+
| Column | Type | Description |
|
| 33 |
+
| :--- | :--- | :--- |
|
| 34 |
+
| `id` | string | Unique deterministic sample identifier |
|
| 35 |
+
| `instruction` | string | Natural language code generation prompt |
|
| 36 |
+
| `code` | string | Executable Python function implementation |
|
| 37 |
+
| `unit_test` | string | Ground-truth unit test suite (`assert` statements) |
|
| 38 |
+
|
| 39 |
+
## Quickstart
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
|
| 44 |
+
dataset = load_dataset("adolessence101-ally/python-logic-assertions")
|
| 45 |
+
print(dataset["train"][0])
|