StarsMakeGalaxy commited on
Commit
0390446
ยท
verified ยท
1 Parent(s): 2738681

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +70 -28
README.md CHANGED
@@ -1,32 +1,23 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: messages
5
- list:
6
- - name: role
7
- dtype: string
8
- - name: content
9
- dtype: string
10
- - name: prompt
11
- dtype: string
12
- - name: target
13
- dtype: string
14
- - name: slice
15
- dtype: string
16
- - name: domain
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 2214240
21
- num_examples: 600
22
- - name: test
23
- num_bytes: 116048
24
- num_examples: 100
25
- - name: regression
26
- num_bytes: 40300
27
- num_examples: 50
28
- download_size: 1352285
29
- dataset_size: 2370588
30
  configs:
31
  - config_name: default
32
  data_files:
@@ -37,3 +28,54 @@ configs:
37
  - split: regression
38
  path: data/regression-*
39
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ task_categories:
6
+ - text-generation
7
+ - text2text-generation
8
+ tags:
9
+ - competitive-programming
10
+ - algorithms
11
+ - leetcode
12
+ - codeforces
13
+ - unsloth
14
+ - chatml
15
+ - chain-of-thought
16
+ - cpp
17
+ - python
18
+ - pioneer-methodology
19
+ size_categories:
20
+ - n<1K
 
 
 
 
 
 
 
 
 
21
  configs:
22
  - config_name: default
23
  data_files:
 
28
  - split: regression
29
  path: data/regression-*
30
  ---
31
+
32
+ # ๐Ÿš€ Competitive Programming & Algorithmic Reasoning 3-Slice Dataset (Pioneer Protocol)
33
+
34
+ This dataset contains **600 curated competitive programming training records**, **100 frozen evaluation benchmark problems**, and **50 frozen regression verification problems** formatted in standard **ChatML (`messages`)** and Prompt-Target pairs, strictly following the **Pioneer / Prometheus research paper** 3-slice curriculum design.
35
+
36
+ ---
37
+
38
+ ## ๐Ÿ“Š Dataset Composition & 3-Slice Breakdown
39
+
40
+ | Split | Rows | Proportion | Paper Design & Purpose |
41
+ | :--- | :---: | :---: | :--- |
42
+ | **`train` (Slice 1: Gold CoT)** | **360** | **60.0%** | Full asymptotic constraint analysis + mathematical state transitions inside `<Thinking>` tags + optimal C++20 implementations (Bitmask DP, Segment Trees, DSU, Monotonic Stack, Number Theory). |
43
+ | **`train` (Slice 2: Hard Negatives)** | **180** | **30.0%** | TLE $O(N^2)$ refutations, 32-bit signed integer overflow traps, and cyclic boundary refutations. |
44
+ | **`train` (Slice 3: Replay Buffer)** | **60** | **10.0%** | Fast I/O primitives, Linear Sieve factorization, and Binary Exponentiation templates to prevent forgetting. |
45
+ | **Total `train` Split** | **600** | **100%** | Compact, high-signal, dense curated dataset for fine-tuning. |
46
+ | **`test` (Frozen Eval)** | **100** | โ€” | Held-out benchmark with zero training contamination (`eval_leakage = 0`). |
47
+ | **`regression` (Baseline)** | **50** | โ€” | Baseline regression validation set. |
48
+
49
+ ---
50
+
51
+ ## ๐Ÿ’ก Example ChatML Record
52
+
53
+ ```json
54
+ {
55
+ "messages": [
56
+ {
57
+ "role": "system",
58
+ "content": "You are a World-Class Competitive Programming and Algorithmic Reasoning AI. Conduct rigorous mathematical proof, asymptotic complexity analysis (Time & Space), and invariant verification inside <Thinking> and </Thinking> tags before generating optimal, production-grade C++20 / Python3 solutions."
59
+ },
60
+ {
61
+ "role": "user",
62
+ "content": "[COMPETITIVE PROGRAMMING PROBLEM #10002 - MONOTONIC STACK]\nProblem Title: Largest Rectangle in Histogram\nProblem Statement: Given an array of heights representing histogram bars of width 1, find the area of the largest rectangle that can be formed within the histogram.\n\nTask: Perform asymptotic constraint analysis and state transitions inside <Thinking>, then implement optimal solution in C++20 with Fast I/O."
63
+ },
64
+ {
65
+ "role": "assistant",
66
+ "content": "<Thinking>\n1. Complexity Requirement: N <= 10^5. An O(N^2) brute-force check on all pairs will TLE.\n2. Monotonic Increasing Stack Approach: Maintain indices of heights in increasing order.\n3. When encountering a bar shorter than the top of stack, pop from stack and calculate area with popped height as the minimum bar height across width.\n4. Each index is pushed and popped at most once -> Strict O(N) time.\n</Thinking>\n```cpp\n#include <iostream>\n#include <vector>\n#include <stack>\n#include <algorithm>\nusing namespace std;\n...\n```"
67
+ }
68
+ ]
69
+ }
70
+ ```
71
+
72
+ ---
73
+
74
+ ## ๐Ÿš€ Usage with Unsloth / Hugging Face
75
+
76
+ ```python
77
+ from datasets import load_dataset
78
+
79
+ dataset = load_dataset("StarsMakeGalaxy/competitive-programming-curated-600")
80
+ print(dataset)
81
+ ```