Dataset Viewer
Auto-converted to Parquet Duplicate
problem_id
int64
trajectory_id
int64
question
string
messages
string
num_turns
int64
final_reward
float64
terminated
bool
truncated
bool
interactions
string
tests
string
is_successful
bool
interaction_timeout_count
int64
eval_timeout_count
int64
rendered
string
0
0
You are given a positive integer N and a length-N string s_0s_1\ldots s_{N-1} consisting only of 0 and 1. Consider a simple undirected graph G with (N+1) vertices numbered 0, 1, 2, \ldots, N, and the following edges: - For each i = 0, 1, \ldots, N-1, there is an undirected edge between vertices i and (i+1)\bmod N. - F...
[{"role": "system", "content": "[Harmony format] Reasoning effort: medium"}, {"role": "developer", "content": "You are a helpful coding assistant.\n\nYou have access to a Python interpreter.\nTo execute code, wrap it inside <interact></interact>. I will run it and return stdout/stderr in a subsequent turn.\n\nIMPORTANT...
2
0
true
false
[{"code": "import itertools\n\ndef reachable_vectors(N, s):\n # build edge list\n edges = []\n for i in range(N):\n edges.append((i, (i+1)%N)) # cycle edge\n for i,ch in enumerate(s):\n if ch=='1':\n edges.append((i, N)) # edge to vertex N\n M = len(edges)\n ...
{"inputs": ["3\n010", "20\n00001100111010100101", "8\n01000101", "18\n101000001001101101", "8\n00111011", "43\n0110110101011001010110101100100111101110000", "12\n001101110111", "14\n01100000000001", "3\n000", "18\n110000001110010111", "7\n0101010", "199\n01001010001000111001011111101001111010000110111010000001110100100...
false
0
0
================================================================================ Question: You are given a positive integer N and a length-N ... Reward: 0.00 | Turns: 2 | Terminated: True | Truncated: False ================================================================================ [SYSTEM] [Harmony format] Reaso...
0
1
You are given a positive integer N and a length-N string s_0s_1\ldots s_{N-1} consisting only of 0 and 1. Consider a simple undirected graph G with (N+1) vertices numbered 0, 1, 2, \ldots, N, and the following edges: - For each i = 0, 1, \ldots, N-1, there is an undirected edge between vertices i and (i+1)\bmod N. - F...
[{"role": "system", "content": "[Harmony format] Reasoning effort: medium"}, {"role": "developer", "content": "You are a helpful coding assistant.\n\nYou have access to a Python interpreter.\nTo execute code, wrap it inside <interact></interact>. I will run it and return stdout/stderr in a subsequent turn.\n\nIMPORTANT...
3
0
true
false
[{"code": "# Brute\u2011force for all N \u2264 5 and all binary strings s.\n# For each (N,s) we compute the exact number of distinct indegree vectors\n# and compare it with the na\u00efve formula (N+1)*2^{k}.\nfrom itertools import product\n\ndef count_vectors(N, s):\n edges_cycle = [(i, (i+1)%N) for i in range(N)] ...
{"inputs": ["3\n010", "20\n00001100111010100101", "8\n01000101", "18\n101000001001101101", "8\n00111011", "43\n0110110101011001010110101100100111101110000", "12\n001101110111", "14\n01100000000001", "3\n000", "18\n110000001110010111", "7\n0101010", "199\n01001010001000111001011111101001111010000110111010000001110100100...
false
0
0
================================================================================ Question: You are given a positive integer N and a length-N ... Reward: 0.00 | Turns: 3 | Terminated: True | Truncated: False ================================================================================ [SYSTEM] [Harmony format] Reaso...
0
2
You are given a positive integer N and a length-N string s_0s_1\ldots s_{N-1} consisting only of 0 and 1. Consider a simple undirected graph G with (N+1) vertices numbered 0, 1, 2, \ldots, N, and the following edges: - For each i = 0, 1, \ldots, N-1, there is an undirected edge between vertices i and (i+1)\bmod N. - F...
[{"role": "system", "content": "[Harmony format] Reasoning effort: medium"}, {"role": "developer", "content": "You are a helpful coding assistant.\n\nYou have access to a Python interpreter.\nTo execute code, wrap it inside <interact></interact>. I will run it and return stdout/stderr in a subsequent turn.\n\nIMPORTANT...
6
0
true
false
[{"code": "def count_cycle_patterns(N):\n patterns = {}\n for mask in range(1 << N):\n a = [(mask >> i) & 1 for i in range(N)]\n # compute indegree contributed by cycle edges only\n c = [(1 + a[i] - a[i-1]) for i in range(N)] # values can be -1,0,1,2\n # shift to a canonical represent...
{"inputs": ["3\n010", "20\n00001100111010100101", "8\n01000101", "18\n101000001001101101", "8\n00111011", "43\n0110110101011001010110101100100111101110000", "12\n001101110111", "14\n01100000000001", "3\n000", "18\n110000001110010111", "7\n0101010", "199\n01001010001000111001011111101001111010000110111010000001110100100...
false
0
0
================================================================================ Question: You are given a positive integer N and a length-N ... Reward: 0.00 | Turns: 6 | Terminated: True | Truncated: False ================================================================================ [SYSTEM] [Harmony format] Reaso...
0
3
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
9
0
true
false
"[{\"code\": \"import itertools\\n\\ndef count_vectors(N, s):\\n K = sum(int(ch) for ch in s)\\n (...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
2
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
4
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
9
0
true
false
"[{\"code\": \"print(\\\"testing\\\")\", \"output\": \"testing\\n\"}, {\"code\": \"def reachable_vec(...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
0
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
5
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
9
0
true
false
"[{\"code\": \"def brute(N, s):\\n import itertools\\n K = sum(int(ch) for ch in s)\\n caps(...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
0
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
6
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0
true
false
"[{\"code\": \"import itertools\\n\\ndef possible_a(N):\\n res=set()\\n for bits in itertools.(...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
3
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
7
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0
true
false
"[{\"code\": \"import itertools, random, sys, math, collections, itertools\\n\\ndef brute_counts(N, (...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
3
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
8
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0
true
false
"[{\"code\": \"import itertools\\n\\ndef count_vectors(N, s):\\n K = sum(int(ch) for ch in s)\\n (...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
false
1
0
"================================================================================\nQuestion: You are(...TRUNCATED)
0
9
"You are given a positive integer N and a length-N string s_0s_1\\ldots s_{N-1} consisting only of 0(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0.066667
true
false
"[{\"code\": \"... code ...\", \"output\": \"Error:\\n File \\\"/state/partition1/job-1941661/tmp1l(...TRUNCATED)
"{\"inputs\": [\"3\\n010\", \"20\\n00001100111010100101\", \"8\\n01000101\", \"18\\n1010000010011011(...TRUNCATED)
true
0
0
"================================================================================\nQuestion: You are(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
31