serial_number
int64 1
1M
| language
stringclasses 4
values | difficulty
stringclasses 3
values | question
stringclasses 8
values | reasoning_included
bool 2
classes | final_answer
stringclasses 10
values |
|---|---|---|---|---|---|
1
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
2
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
3
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
4
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
5
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
6
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
7
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
8
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| false
|
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
9
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
10
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
11
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
12
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
13
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
14
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
15
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
16
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
17
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
18
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
19
|
English
|
easy
|
What color is the sky?
| false
|
The sky is usually blue.
|
20
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
21
|
English
|
easy
|
What color is the sky?
| false
|
The sky is usually blue.
|
22
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
23
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
24
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
25
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
26
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
27
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
28
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
29
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
30
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
31
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
32
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| true
|
<thinking>Je dois expliquer les bรฉnรฉfices environnementaux et รฉconomiques du recyclage.</thinking>
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
33
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
34
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
35
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
36
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
37
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
38
|
English
|
easy
|
What color is the sky?
| false
|
The sky is usually blue.
|
39
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| true
|
<thinking>Je dois expliquer les bรฉnรฉfices environnementaux et รฉconomiques du recyclage.</thinking>
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
40
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
41
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| false
|
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
42
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
43
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
44
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
45
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
46
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
47
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
48
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| false
|
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
49
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
50
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
51
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
52
|
English
|
easy
|
What color is the sky?
| false
|
The sky is usually blue.
|
53
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
54
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
55
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
56
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
57
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
58
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
59
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
60
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
61
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
62
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
63
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
64
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
65
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
66
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
67
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
68
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
69
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
70
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
71
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| false
|
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
72
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
73
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
74
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
75
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
76
|
Spanish
|
easy
|
Hola, ยฟcรณmo estรกs?
| false
|
Estoy bien, gracias. ยฟY tรบ?
|
77
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
78
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
79
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
80
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
81
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
82
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
83
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
84
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
85
|
English
|
easy
|
What is the capital of France?
| false
|
The capital of France is Paris.
|
86
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
87
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
88
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| false
|
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
89
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
90
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
91
|
French
|
medium
|
Explique pourquoi le recyclage est important.
| true
|
<thinking>Je dois expliquer les bรฉnรฉfices environnementaux et รฉconomiques du recyclage.</thinking>
Le recyclage aide ร conserver les ressources naturelles et rรฉduit la pollution...
|
92
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
93
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
94
|
English
|
easy
|
What color is the sky?
| false
|
The sky is usually blue.
|
95
|
German
|
easy
|
Wie heiรt du?
| false
|
Ich bin ein KI-Assistent.
|
96
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| true
|
<thinking>I need to draft a polite refusal. I should express gratitude for the invite, state that I cannot attend, and wish them well.</thinking>
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
97
|
English
|
hard
|
Solve this riddle: I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?
| true
|
<thinking>I need to analyze the clues: 'speak without mouth' suggests sound, 'hear without ears' implies reaction to sound, 'alive with wind' suggests air movement. An echo fits these descriptions.</thinking>
An echo.
|
98
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
99
|
English
|
hard
|
Analyze the ethical implications of AI surveillance in public spaces.
| true
|
<thinking>I must weigh the benefits (crime reduction) against the risks (privacy violation, bias). I should construct a balanced argument acknowledging both sides.</thinking>
AI surveillance presents a trade-off between public safety and individual privacy...
|
100
|
English
|
medium
|
Write a short email declining a wedding invitation politely.
| false
|
Subject: Regrets regarding your wedding
Dear [Name],
Thank you so much for the invitation...
|
๐ป Reasoning Conversations Advanced 1M
๐ Dataset Summary
Reasoning Conversations Advanced 1M is a massive-scale, synthetic dataset specifically engineered to improve the algorithmic reasoning and problem-solving capabilities of Large Language Models (LLMs). Featuring 1,000,000 unique coding samples, this dataset spans multiple programming languages (Python, JS, C++, etc.) and focuses on logic-heavy development tasks.
A key feature of this dataset is its Adaptive Reasoning Architecture. Unlike standard instruction datasets, the Chain-of-Thought (CoT) traces are strictly correlated with difficulty levels and are encapsulated within <thinking> tags to train the model's "internal monologue" before it emits code.
โ๏ธ Dataset Structure
Each record follows a structured JSON format optimized for fine-tuning:
| Field | Type | Description |
|---|---|---|
serial_number |
int | Unique identifier for the sample. |
difficulty |
str | Complexity level: Easy, Medium, or Hard. |
question |
str | The coding prompt or technical challenge. |
reasoning |
str | The internal thought process (CoT) wrapped in <thinking>...</thinking>. |
final_answer |
str | The actual code block or solution. |
Data Instance Example (Hard Difficulty)
{
"serial_number": 88210,
"difficulty": "Hard",
"question": "Python: Write a function to check if a binary tree is height-balanced.",
"reasoning": "<thinking>To check if a tree is balanced, I need to calculate the height of left and right subtrees for every node. A tree is balanced if the absolute difference between heights is โค 1. I should use a recursive DFS approach. To optimize, I can return -1 if a subtree is unbalanced to avoid redundant calculations.</thinking>",
"final_answer": "def is_balanced(root):\n def check(node):\n if not node: return 0\n left = check(node.left)\n right = check(node.right)\n if left == -1 or right == -1 or abs(left - right) > 1: return -1\n return max(left, right) + 1\n return check(root) != -1"
}
๐ง Difficulty & Reasoning Logic
This dataset is designed to teach models when to invoke deep reasoning. The reasoning field population follows a strict probability distribution:
| Difficulty | Reasoning Presence | Training Objective |
|---|---|---|
| Easy | 0% (None) | Focuses on direct syntax recall and simple definitions without over-thinking. |
| Medium | 50% | Teaches the model to evaluate if a task requires a plan or can be solved directly. |
| Hard | 100% | Forces a full step-by-step logic trace before generating complex algorithms. |
๐ป How to Use
Load the dataset via the Hugging Face datasets library:
from datasets import load_dataset
# Replace with your actual repository path
dataset = load_dataset("naimulislam/reasoning_code_advanced_1m")
# Accessing a Hard sample
sample = dataset['train'][10]
print(f"[{sample['difficulty']}] {sample['question']}\n{sample['final_answer']}")
๐ ๏ธ Dataset Creation & Scope
The dataset was synthetically generated using a logic engine designed to simulate real-world programming scenarios across:
- Data Structures: Trees, Graphs, Linked Lists, and Hash Maps.
- Algorithms: Sorting, Searching, Dynamic Programming, and Recursion.
- System Design: Basic architecture patterns and class structures.
- Debugging: Identifying and fixing logical errors in provided snippets.
- Optimization: Converting O(nยฒ) solutions into O(n log n).
๐ License
This dataset is released under the MIT License.
๐ค Citation
If you use this dataset in your research or LLM training, please credit:
@dataset{reasoning_code_advanced_1m,
author = {Naimul Islam Nahid},
title = {Reasoning Code Advanced 1M},
year = {2025},
publisher = {Hugging Face},
journal = {naimulislam/reasoning_code_advanced_1m},
}
- Downloads last month
- 12