Dataset Viewer
Auto-converted to Parquet Duplicate
label
stringlengths
19
25
metadata
dict
problem_id
stringclasses
32 values
prompt
stringlengths
424
11.3k
split
stringclasses
2 values
task_id
stringlengths
19
25
pie_cpp_test_000297
{ "data_source": "pie-cpp-perf", "gem5_cycles": 63, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 63, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000297.json", "split": "test", "subset": "eval", "task_id": ...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000297
pie_cpp_test_000298
{ "data_source": "pie-cpp-perf", "gem5_cycles": 81, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 81, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000298.json", "split": "test", "subset": "eval", "task_id": ...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000298
pie_cpp_test_000299
{ "data_source": "pie-cpp-perf", "gem5_cycles": 58, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 58, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000299.json", "split": "test", "subset": "eval", "task_id": ...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000299
pie_cpp_test_000300
{ "data_source": "pie-cpp-perf", "gem5_cycles": 280, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 280, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000300.json", "split": "test", "subset": "eval", "task_id"...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000300
pie_cpp_test_000301
{ "data_source": "pie-cpp-perf", "gem5_cycles": 272, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 272, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000301.json", "split": "test", "subset": "eval", "task_id"...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000301
pie_cpp_test_000302
{ "data_source": "pie-cpp-perf", "gem5_cycles": 94, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 94, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000302.json", "split": "test", "subset": "eval", "task_id": ...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000302
pie_cpp_test_000303
{ "data_source": "pie-cpp-perf", "gem5_cycles": 112, "hidden_test_count": 1, "problem_id": "p03914", "reference_metric": "runtime_cpu_ns", "reference_value": 112, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_000303.json", "split": "test", "subset": "eval", "task_id"...
p03914
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 3 Expected output: 2 Program: ```...
test
pie_cpp_test_000303
pie_cpp_test_001503
{ "data_source": "pie-cpp-perf", "gem5_cycles": 13, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 13, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001503.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001503
pie_cpp_test_001504
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001504.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001504
pie_cpp_test_001505
{ "data_source": "pie-cpp-perf", "gem5_cycles": 17, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 17, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001505.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001505
pie_cpp_test_001506
{ "data_source": "pie-cpp-perf", "gem5_cycles": 11, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 11, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001506.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001506
pie_cpp_test_001507
{ "data_source": "pie-cpp-perf", "gem5_cycles": 6, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 6, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001507.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001507
pie_cpp_test_001508
{ "data_source": "pie-cpp-perf", "gem5_cycles": 17, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 17, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001508.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001508
pie_cpp_test_001509
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001509.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001509
pie_cpp_test_001510
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001510.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001510
pie_cpp_test_001511
{ "data_source": "pie-cpp-perf", "gem5_cycles": 8, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 8, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001511.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001511
pie_cpp_test_001512
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001512.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001512
pie_cpp_test_001513
{ "data_source": "pie-cpp-perf", "gem5_cycles": 8, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 8, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001513.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001513
pie_cpp_test_001514
{ "data_source": "pie-cpp-perf", "gem5_cycles": 14, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 14, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001514.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001514
pie_cpp_test_001515
{ "data_source": "pie-cpp-perf", "gem5_cycles": 15, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 15, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001515.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001515
pie_cpp_test_001516
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001516.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001516
pie_cpp_test_001517
{ "data_source": "pie-cpp-perf", "gem5_cycles": 5, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 5, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001517.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001517
pie_cpp_test_001518
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001518.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001518
pie_cpp_test_001519
{ "data_source": "pie-cpp-perf", "gem5_cycles": 15, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 15, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001519.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001519
pie_cpp_test_001520
{ "data_source": "pie-cpp-perf", "gem5_cycles": 16, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 16, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001520.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001520
pie_cpp_test_001521
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001521.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001521
pie_cpp_test_001522
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001522.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001522
pie_cpp_test_001523
{ "data_source": "pie-cpp-perf", "gem5_cycles": 5, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 5, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001523.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001523
pie_cpp_test_001524
{ "data_source": "pie-cpp-perf", "gem5_cycles": 13, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 13, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001524.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001524
pie_cpp_test_001525
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001525.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001525
pie_cpp_test_001526
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001526.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001526
pie_cpp_test_001527
{ "data_source": "pie-cpp-perf", "gem5_cycles": 17, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 17, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001527.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001527
pie_cpp_test_001528
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001528.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001528
pie_cpp_test_001529
{ "data_source": "pie-cpp-perf", "gem5_cycles": 6, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 6, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001529.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001529
pie_cpp_test_001530
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001530.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001530
pie_cpp_test_001531
{ "data_source": "pie-cpp-perf", "gem5_cycles": 6, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 6, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001531.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001531
pie_cpp_test_001532
{ "data_source": "pie-cpp-perf", "gem5_cycles": 11, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 11, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001532.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001532
pie_cpp_test_001533
{ "data_source": "pie-cpp-perf", "gem5_cycles": 17, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 17, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001533.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001533
pie_cpp_test_001534
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001534.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001534
pie_cpp_test_001535
{ "data_source": "pie-cpp-perf", "gem5_cycles": 17, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 17, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001535.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001535
pie_cpp_test_001536
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001536.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001536
pie_cpp_test_001537
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001537.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001537
pie_cpp_test_001538
{ "data_source": "pie-cpp-perf", "gem5_cycles": 1, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 1, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001538.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001538
pie_cpp_test_001539
{ "data_source": "pie-cpp-perf", "gem5_cycles": 6, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 6, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001539.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001539
pie_cpp_test_001540
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001540.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001540
pie_cpp_test_001541
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001541.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001541
pie_cpp_test_001542
{ "data_source": "pie-cpp-perf", "gem5_cycles": 10, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 10, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001542.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001542
pie_cpp_test_001543
{ "data_source": "pie-cpp-perf", "gem5_cycles": 13, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 13, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001543.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001543
pie_cpp_test_001544
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001544.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001544
pie_cpp_test_001545
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001545.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001545
pie_cpp_test_001546
{ "data_source": "pie-cpp-perf", "gem5_cycles": 9, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 9, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001546.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001546
pie_cpp_test_001547
{ "data_source": "pie-cpp-perf", "gem5_cycles": 12, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 12, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001547.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001547
pie_cpp_test_001548
{ "data_source": "pie-cpp-perf", "gem5_cycles": 26, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 26, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001548.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001548
pie_cpp_test_001549
{ "data_source": "pie-cpp-perf", "gem5_cycles": 11, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 11, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001549.json", "split": "test", "subset": "eval", "task_id": ...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001549
pie_cpp_test_001550
{ "data_source": "pie-cpp-perf", "gem5_cycles": 1, "hidden_test_count": 1, "problem_id": "p03766", "reference_metric": "runtime_cpu_ns", "reference_value": 1, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_001550.json", "split": "test", "subset": "eval", "task_id": "p...
p03766
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 Expected output: 4 Program: ```cp...
test
pie_cpp_test_001550
pie_cpp_test_002112
{ "data_source": "pie-cpp-perf", "gem5_cycles": 1200, "hidden_test_count": 1, "problem_id": "p01699", "reference_metric": "runtime_cpu_ns", "reference_value": 1200, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002112.json", "split": "test", "subset": "eval", "task_i...
p01699
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 1 11 1 11 3 10 10 2 2 11 11 4 89 91 ...
test
pie_cpp_test_002112
pie_cpp_test_002113
{ "data_source": "pie-cpp-perf", "gem5_cycles": 60, "hidden_test_count": 1, "problem_id": "p01699", "reference_metric": "runtime_cpu_ns", "reference_value": 60, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002113.json", "split": "test", "subset": "eval", "task_id": ...
p01699
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 2 1 11 1 11 3 10 10 2 2 11 11 4 89 91 ...
test
pie_cpp_test_002113
pie_cpp_test_002120
{ "data_source": "pie-cpp-perf", "gem5_cycles": 214, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 214, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002120.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002120
pie_cpp_test_002121
{ "data_source": "pie-cpp-perf", "gem5_cycles": 84, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 84, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002121.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002121
pie_cpp_test_002122
{ "data_source": "pie-cpp-perf", "gem5_cycles": 257, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 257, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002122.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002122
pie_cpp_test_002123
{ "data_source": "pie-cpp-perf", "gem5_cycles": 124, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 124, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002123.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002123
pie_cpp_test_002124
{ "data_source": "pie-cpp-perf", "gem5_cycles": 60, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 60, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002124.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002124
pie_cpp_test_002125
{ "data_source": "pie-cpp-perf", "gem5_cycles": 42, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 42, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002125.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002125
pie_cpp_test_002126
{ "data_source": "pie-cpp-perf", "gem5_cycles": 820, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 820, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002126.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002126
pie_cpp_test_002127
{ "data_source": "pie-cpp-perf", "gem5_cycles": 123, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 123, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002127.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002127
pie_cpp_test_002128
{ "data_source": "pie-cpp-perf", "gem5_cycles": 131, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 131, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002128.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002128
pie_cpp_test_002129
{ "data_source": "pie-cpp-perf", "gem5_cycles": 89, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 89, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002129.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002129
pie_cpp_test_002130
{ "data_source": "pie-cpp-perf", "gem5_cycles": 63, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 63, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002130.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002130
pie_cpp_test_002131
{ "data_source": "pie-cpp-perf", "gem5_cycles": 93, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 93, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002131.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002131
pie_cpp_test_002132
{ "data_source": "pie-cpp-perf", "gem5_cycles": 39, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 39, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002132.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002132
pie_cpp_test_002133
{ "data_source": "pie-cpp-perf", "gem5_cycles": 90, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 90, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002133.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002133
pie_cpp_test_002134
{ "data_source": "pie-cpp-perf", "gem5_cycles": 86, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 86, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002134.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002134
pie_cpp_test_002135
{ "data_source": "pie-cpp-perf", "gem5_cycles": 87, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 87, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002135.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002135
pie_cpp_test_002136
{ "data_source": "pie-cpp-perf", "gem5_cycles": 84, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 84, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002136.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002136
pie_cpp_test_002137
{ "data_source": "pie-cpp-perf", "gem5_cycles": 200, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 200, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002137.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002137
pie_cpp_test_002138
{ "data_source": "pie-cpp-perf", "gem5_cycles": 437, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 437, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002138.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002138
pie_cpp_test_002139
{ "data_source": "pie-cpp-perf", "gem5_cycles": 288, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 288, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002139.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002139
pie_cpp_test_002140
{ "data_source": "pie-cpp-perf", "gem5_cycles": 259, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 259, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002140.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002140
pie_cpp_test_002141
{ "data_source": "pie-cpp-perf", "gem5_cycles": 193, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 193, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002141.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002141
pie_cpp_test_002142
{ "data_source": "pie-cpp-perf", "gem5_cycles": 111, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 111, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002142.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002142
pie_cpp_test_002143
{ "data_source": "pie-cpp-perf", "gem5_cycles": 891, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 891, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002143.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002143
pie_cpp_test_002144
{ "data_source": "pie-cpp-perf", "gem5_cycles": 79, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 79, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002144.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002144
pie_cpp_test_002145
{ "data_source": "pie-cpp-perf", "gem5_cycles": 127, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 127, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002145.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002145
pie_cpp_test_002146
{ "data_source": "pie-cpp-perf", "gem5_cycles": 89, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 89, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002146.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002146
pie_cpp_test_002147
{ "data_source": "pie-cpp-perf", "gem5_cycles": 63, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 63, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002147.json", "split": "test", "subset": "eval", "task_id": ...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002147
pie_cpp_test_002148
{ "data_source": "pie-cpp-perf", "gem5_cycles": 192, "hidden_test_count": 1, "problem_id": "p03275", "reference_metric": "runtime_cpu_ns", "reference_value": 192, "source_task_path": "/workspace/runs/pie-tasks-full-20260706/test/pie_cpp_test_002148.json", "split": "test", "subset": "eval", "task_id"...
p03275
Optimize the following C++20 program while preserving its exact behavior. Return exactly one <reasoning>...</reasoning> block followed by exactly one fenced cpp code block. Do not mention or rely on hidden tests. The program must read stdin and write stdout. Visible tests: Input: 3 10 30 20 Expected output: 30 Prog...
test
pie_cpp_test_002148
End of preview. Expand in Data Studio

GLM-4.7-Flash PIE C++ Post-Training Data

The exact prepared dataset used for the GLM-4.7-Flash C++ performance post-training runs.

Splits

File Rows Purpose
sft/train.jsonl 7,864 Supervised fine-tuning
grpo/train.jsonl 7,887 GRPO prompt and reward evaluation
eval/validation.jsonl 1,259 Full held-out evaluation
eval/validation_mini126.jsonl 126 Fast evaluation
eval/validation_mini4.jsonl 4 Smoke evaluation
tasks.tar.gz 9,146 task JSONs Reward scoring and evaluation harness inputs

Each row carries a stable task ID, problem ID, split, prompt, label, and task metadata. SFT rows additionally contain the user and assistant messages used by the trainer. The task archive contains every tasks/... path referenced by the training and evaluation rows. The canonical repository downloader verifies and extracts it into data/tasks.

Preparation

The source tasks were filtered by compiling and executing the oracle answer in the C++ sandbox. Training rows were retained when the response format was valid, all tests passed, and the reward result was correct.

The source preparation run scored 8,350 training tasks, retained 7,887, and rejected 463. The complete preparation receipt is in manifest.json.

Provenance

This is a prepared derivative of the PIE C++ performance dataset, which is based on IBM Project CodeNet. Use and redistribution are subject to the applicable upstream dataset terms.

Training code: TokenBender/browser-is-all-you-need

Downloads last month
-

Models trained or fine-tuned on TokenBender/glm47-pie-cpp-posttraining-data