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
turn_wise_finish_reason
list
turn_wise_truncated_by_token_limit
list
num_assistant_messages_truncated
int64
num_assistant_messages_not_truncated
int64
rendered
string
0
0
There is a city divided into H \times W blocks in the north-south-east-west directions, and there is exactly one building in each block. Specifically, in the block at the i-th row from the north (1\leq i\leq H) and the j-th column from the west (1\leq j\leq W) (hereafter referred to as block (i,j)), there is a building...
[{"role": "system", "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 CONTEXT:\n- This is a multi-turn conversation.\n- The Python interpreter is a ...
2
0.8
true
false
[{"code": "from collections import deque\nimport heapq\n\ndef solve():\n H = 3\n W = 3\n F = [\n [12, 10, 6],\n [1, 1, 3],\n [8, 6, 7]\n ]\n Q = 2\n queries = [\n (1, 1, 10, 3, 1, 6),\n (1, 1, 6, 1, 2, 4)\n ]\n \n # Directions for adjacent blocks (up, down, ...
{"inputs": ["3 3\n12 10 6\n1 1 3\n8 6 7\n2\n1 1 10 3 1 6\n1 1 6 1 2 4", "2 1\n5\n7\n3\n2 1 5 1 1 4\n2 1 4 2 1 1\n2 1 3 1 1 2", "1 4\n8 7 6 9\n2\n1 4 3 1 1 3\n1 3 6 1 3 1", "4 1\n5\n2\n4\n2\n6\n3 1 1 4 1 2\n1 1 3 4 1 2\n4 1 1 2 1 1\n3 1 2 1 1 1\n4 1 2 3 1 3\n2 1 2 4 1 1", "5 1\n9\n9\n7\n6\n10\n5\n1 1 4 2 1 8\n5 1 4 2 1 ...
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
================================================================================ Question: There is a city divided into H \times W blocks in ... Reward: 0.80 | Turns: 2 | Terminated: True | Truncated: False ================================================================================ [SYSTEM] You are a helpful codi...
0
1
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"# Let me analyze the problem with a small example to validate my understanding\\nH, W(...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
2
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"import heapq\\n\\n# Read input\\nH, W = map(int, \\\"3 3\\\".split())\\nF = []\\nfor (...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "length", "stop" ]
[ true, false ]
1
1
"================================================================================\nQuestion: There i(...TRUNCATED)
0
3
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"import heapq\\nfrom collections import defaultdict\\n\\ndef solve():\\n H = 3\\n (...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "length", "stop" ]
[ true, false ]
1
1
"================================================================================\nQuestion: There i(...TRUNCATED)
0
4
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"# Test case from the problem\\nH, W = 3, 3\\nF = [\\n [12, 10, 6],\\n [1, 1, 3](...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
5
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"# Sample input\\nH, W = 3, 3\\nF = [\\n [12, 10, 6],\\n [1, 1, 3],\\n [8, 6,(...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
6
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"# Test with the provided sample input\\nH, W = 3, 3\\nF = [\\n [12, 10, 6],\\n (...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
7
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"import heapq\\nfrom collections import defaultdict\\n\\ndef solve():\\n H, W = 3, (...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
8
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"import heapq\\n\\ndef solve():\\n H = 3\\n W = 3\\n F = [\\n [12, 10,(...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
0
9
"There is a city divided into H \\times W blocks in the north-south-east-west directions, and there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\n\\nYou have access to (...TRUNCATED)
2
0.8
true
false
"[{\"code\": \"# Test with sample input\\nimport heapq\\n\\n# Sample input\\nH, W = 3, 3\\nF = [\\n (...TRUNCATED)
"{\"inputs\": [\"3 3\\n12 10 6\\n1 1 3\\n8 6 7\\n2\\n1 1 10 3 1 6\\n1 1 6 1 2 4\", \"2 1\\n5\\n7\\n3(...TRUNCATED)
true
0
3
[ "stop", "stop" ]
[ false, false ]
0
2
"================================================================================\nQuestion: There i(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
20