Dataset Viewer
Auto-converted to Parquet Duplicate
problem_id
int64
0
24
trajectory_id
int64
0
159
question
stringclasses
25 values
messages
stringlengths
4.26k
23.3k
final_reward
float64
0
1
terminated
bool
1 class
truncated
bool
2 classes
tests
stringclasses
25 values
is_successful
bool
2 classes
rendered
stringlengths
4.22k
23k
0
0
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
1
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
2
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
3
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
4
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
5
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.466667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.47 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
6
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.533333
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.53 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
7
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.333333
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.33 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
8
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.666667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.67 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
0
9
Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well. In the language, there are only three commands: apply a bitwise operation AND, OR or XOR with a given constant to the current integer. A program can contain an...
[{"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": "Petya learned a new programming la...
0.466667
true
false
{"inputs": ["3\n| 3\n^ 2\n| 1\n", "3\n& 1\n& 3\n& 5\n", "3\n^ 1\n^ 2\n^ 3\n", "2\n| 999\n^ 689\n", "3\n& 242\n^ 506\n^ 522\n", "2\n| 56\n^ 875\n", "3\n^ 125\n^ 377\n& 1019\n", "1\n& 123\n", "1\n| 123\n", "1\n^ 123\n", "10\n^ 218\n& 150\n| 935\n& 61\n| 588\n& 897\n| 411\n| 584\n^ 800\n| 704\n", "10\n^ 160\n& 1021\n& 510...
true
================================================================================ Question: Petya learned a new programming language CALPAS. A... Reward: 0.47 | Terminated: True ================================================================================ [SYSTEM] You are a helpful coding assistant. Solve the given ...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3