Dataset Viewer
Auto-converted to Parquet Duplicate
problem_id
int64
0
24
trajectory_id
int64
0
159
question
stringclasses
25 values
messages
stringlengths
3.6k
26.6k
final_reward
float64
0
1
terminated
bool
1 class
truncated
bool
2 classes
tests
stringclasses
25 values
is_successful
bool
2 classes
rendered
stringlengths
3.55k
26.3k
0
0
The elections to Berland parliament are happening today. Voting is in full swing! Totally there are n candidates, they are numbered from 1 to n. Based on election results k (1 ≤ k ≤ n) top candidates will take seats in the parliament. After the end of the voting the number of votes for each candidate is calculated. I...
[{"role": "system", "content": "You are a helpful coding assistant.\nSolve the given programming problem and provide your solution.\n\nFirst, think about the problem step by step.\nThen, provide your final solution wrapped in ```python``` code blocks.\n"}, {"role": "user", "content": "The elections to Berland parliamen...
0.866667
true
false
{"inputs": ["3 1 5 4\n1 2 1 3\n", "3 1 5 3\n1 3 1\n", "3 2 5 3\n1 3 1\n", "1 1 1 1\n1\n", "1 1 1 1\n1\n", "1 1 2 2\n1 1\n", "1 1 2 1\n1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 5 4\n1 1 1 1\n", "1 1 4 2\n1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "2 1 1 1\n2\n", "2 2 1 1\n1\n", ...
true
================================================================================ Question: The elections to Berland parliament are happening ... Reward: 0.87 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
1
The elections to Berland parliament are happening today. Voting is in full swing! Totally there are n candidates, they are numbered from 1 to n. Based on election results k (1 ≤ k ≤ n) top candidates will take seats in the parliament. After the end of the voting the number of votes for each candidate is calculated. I...
[{"role": "system", "content": "You are a helpful coding assistant.\nSolve the given programming problem and provide your solution.\n\nFirst, think about the problem step by step.\nThen, provide your final solution wrapped in ```python``` code blocks.\n"}, {"role": "user", "content": "The elections to Berland parliamen...
0
true
false
{"inputs": ["3 1 5 4\n1 2 1 3\n", "3 1 5 3\n1 3 1\n", "3 2 5 3\n1 3 1\n", "1 1 1 1\n1\n", "1 1 1 1\n1\n", "1 1 2 2\n1 1\n", "1 1 2 1\n1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 5 4\n1 1 1 1\n", "1 1 4 2\n1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "2 1 1 1\n2\n", "2 2 1 1\n1\n", ...
false
================================================================================ Question: The elections to Berland parliament are happening ... Reward: 0.00 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
2
The elections to Berland parliament are happening today. Voting is in full swing! Totally there are n candidates, they are numbered from 1 to n. Based on election results k (1 ≤ k ≤ n) top candidates will take seats in the parliament. After the end of the voting the number of votes for each candidate is calculated. I...
[{"role": "system", "content": "You are a helpful coding assistant.\nSolve the given programming problem and provide your solution.\n\nFirst, think about the problem step by step.\nThen, provide your final solution wrapped in ```python``` code blocks.\n"}, {"role": "user", "content": "The elections to Berland parliamen...
0.866667
true
false
{"inputs": ["3 1 5 4\n1 2 1 3\n", "3 1 5 3\n1 3 1\n", "3 2 5 3\n1 3 1\n", "1 1 1 1\n1\n", "1 1 1 1\n1\n", "1 1 2 2\n1 1\n", "1 1 2 1\n1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "1 1 5 4\n1 1 1 1\n", "1 1 4 2\n1 1\n", "1 1 1 1\n1\n", "1 1 3 3\n1 1 1\n", "2 1 1 1\n2\n", "2 2 1 1\n1\n", ...
true
================================================================================ Question: The elections to Berland parliament are happening ... Reward: 0.87 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
3
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
false
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
4
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0
true
true
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
false
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
5
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0.8
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
true
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
6
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0.8
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
true
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
7
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
false
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
8
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0.8
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
true
"================================================================================\nQuestion: The ele(...TRUNCATED)
0
9
"The elections to Berland parliament are happening today. Voting is in full swing!\n\nTotally there (...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"You are a helpful coding assistant.\\nSolve the given progra(...TRUNCATED)
0.866667
true
false
"{\"inputs\": [\"3 1 5 4\\n1 2 1 3\\n\", \"3 1 5 3\\n1 3 1\\n\", \"3 2 5 3\\n1 3 1\\n\", \"1 1 1 1\\(...TRUNCATED)
true
"================================================================================\nQuestion: The ele(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
5