prompt listlengths 2 2 | data_source large_stringclasses 1
value | agent_name large_stringclasses 1
value | reward_model dict | extra_info dict |
|---|---|---|---|---|
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "# Goal\n\nWrite a Python script `/app/decode_tlv.py` that reads a binary file from the path given as th... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 0,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00104_f0fb18",
"seed_id": "ds2-task_00104_f0fb18",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/irange` that builds an interval tree from a sorted CSV of integer inte... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 1,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00256_73eda0",
"seed_id": "ds2-task_00256_73eda0",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "A broken Python script `/app/process_logs.py` is provided. The script processes a server log file and o... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 2,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00495_50411a",
"seed_id": "ds2-task_00495_50411a",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/usr/local/bin/fixcalc` that performs arithmetic on fixed-point decimal num... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 3,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00566_341687",
"seed_id": "ds2-task_00566_341687",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Build a command-line tool `/app/logq` that parses a custom log format and answers structured queries.\n... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 4,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00602_a4b903",
"seed_id": "ds2-task_00602_a4b903",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `tz_bucket` that reads a log file where each line is a JSON object with keys:... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 5,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00610_319995",
"seed_id": "ds2-task_00610_319995",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a CLI tool `log_analyzer` that reads an Apache-style combined log file (UTF-8, may contain non-AS... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 6,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00613_729554",
"seed_id": "ds2-task_00613_729554",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "You are given a broken Python script at `/app/merge_logs.py` that merges multiple server log files into... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 7,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00655_e458a7",
"seed_id": "ds2-task_00655_e458a7",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "You must implement a command-line tool `topk` that reads a large text file line by line and computes th... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 8,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00627_54f4d1",
"seed_id": "ds2-task_00627_54f4d1",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/normalize` that normalizes nested JSON records from NDJSON (newline-de... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 9,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00681_c6b7a3",
"seed_id": "ds2-task_00681_c6b7a3",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"containe... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a CLI tool at `/app/topk` that reads a UTF-8 encoded CSV file and outputs the top K rows sort... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 10,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00687_c4c7ea",
"seed_id": "ds2-task_00687_c4c7ea",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a CLI tool `/app/merge_conf` that merges multiple configuration files and resolves `!include` di... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 11,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00763_07025e",
"seed_id": "ds2-task_00763_07025e",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "A Python script `dedup_merge.py` is provided. The script reads two CSV files (`base.csv` and `updates.c... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 12,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00815_b59d28",
"seed_id": "ds2-task_00815_b59d28",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a pathfinding program that reads a grid with obstacles, start, and goal positions from a file... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 13,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00825_34df23",
"seed_id": "ds2-task_00825_34df23",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a command-line tool `semver-range` that takes a semver range expression and a list of version... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 14,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00889_9012b7",
"seed_id": "ds2-task_00889_9012b7",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/fixcalc` that reads a CSV-like input from stdin and writes transformed... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 15,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00886_27df7d",
"seed_id": "ds2-task_00886_27df7d",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `render_tpl` that reads three inputs and writes one HTML output file.\n\n**In... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 16,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00879_c4f06b",
"seed_id": "ds2-task_00879_c4f06b",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Fix the `/app/process_logs` script so it correctly processes log files according to the exact I/O contr... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 17,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00855_8f043a",
"seed_id": "ds2-task_00855_8f043a",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/logq` that processes query expressions against a custom log file forma... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 18,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00862_98ed1c",
"seed_id": "ds2-task_00862_98ed1c",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/logquery` that parses a custom log format and answers range queries. T... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 19,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_00982_124e02",
"seed_id": "ds2-task_00982_124e02",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "# Template Renderer with HTML Escaping\n\nCreate a command-line tool `/app/render.py` that reads a JSON... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 20,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01019_af7e37",
"seed_id": "ds2-task_01019_af7e37",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a Write-Ahead Log (WAL) key-value store with crash recovery. The store must maintain a data f... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 21,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01028_8ac98e",
"seed_id": "ds2-task_01028_8ac98e",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Goal: Implement a command-line tool that reads a dependency specification file and outputs either a val... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 22,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01151_daa947",
"seed_id": "ds2-task_01151_daa947",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a Python script `/app/quantiles` that reads a UTF-8 text file from STDIN and computes a streaming... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 23,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01207_677728",
"seed_id": "ds2-task_01207_677728",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a command-line tool `/app/pathfinder.py` that computes the shortest path through a grid from ... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 24,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01265_a0c17a",
"seed_id": "ds2-task_01265_a0c17a",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "You must implement a command-line tool `reconcile_times` that reads a list of timestamp records from st... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 25,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01270_0517d5",
"seed_id": "ds2-task_01270_0517d5",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool that performs integrity-verified backup and restore of a directory tree. The... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 26,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01357_b19059",
"seed_id": "ds2-task_01357_b19059",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a Python 3 script `limiter.py` that implements a rate limiter. The script reads a sequence of req... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 27,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01318_d38a81",
"seed_id": "ds2-task_01318_d38a81",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `/app/loganalyzer` (Python script) that reads a system log file from a given ... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 28,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01500_f89d8e",
"seed_id": "ds2-task_01500_f89d8e",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line program `/app/topk` that reads a UTF-8 encoded CSV file from disk and prints the t... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 29,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01487_dfa6fa",
"seed_id": "ds2-task_01487_dfa6fa",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/usr/local/bin/normalize` that reads an input file in CSV or NDJSON format ... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 30,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01541_503110",
"seed_id": "ds2-task_01541_503110",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool at /usr/local/bin/decop that performs arithmetic operations on fixed-point de... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 31,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01546_d4bc62",
"seed_id": "ds2-task_01546_d4bc62",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Goal: Create a command-line tool `logq` that parses a custom log format and answers time-range queries ... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 32,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01702_f946b3",
"seed_id": "ds2-task_01702_f946b3",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/pipeline` that reads a UTF-8 CSV file of events and outputs an aggrega... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 33,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01773_7c283a",
"seed_id": "ds2-task_01773_7c283a",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a unified-diff patch applier. Given a diff file (in unified diff format) and a directory of o... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 34,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01832_fd6499",
"seed_id": "ds2-task_01832_fd6499",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a program `log_analyzer.py` that reads a system log file from a path given as a command-line argu... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 35,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01880_2eddc9",
"seed_id": "ds2-task_01880_2eddc9",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line calculator that performs fixed-point arithmetic operations with configurable prec... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 36,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01926_6c20a7",
"seed_id": "ds2-task_01926_6c20a7",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `/app/reconcile` that reads two CSV files and produces a reconciled hourly-bu... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 37,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01910_5a62b5",
"seed_id": "ds2-task_01910_5a62b5",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a command-line tool `/app/pipeline` that reads a UTF-8 encoded CSV file and produces an aggre... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 38,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_01973_fb08f0",
"seed_id": "ds2-task_01973_fb08f0",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a CLI tool that decodes a binary file containing a sequence of TLV (Type-Length-Value) record... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 39,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02264_98bf77",
"seed_id": "ds2-task_02264_98bf77",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a Python script at `/app/log_analyzer.py` that reads a system log file (UTF-8, path given as firs... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 40,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02320_463f3d",
"seed_id": "ds2-task_02320_463f3d",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `/analyze_logs.py` that reads one or more system log files and outputs a stri... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 41,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02340_42ac69",
"seed_id": "ds2-task_02340_42ac69",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `/app/parse_logs.py` that reads a server log file and produces a summary CSV.... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 42,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02393_3c8ddb",
"seed_id": "ds2-task_02393_3c8ddb",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "You are given a broken Python script `/app/process_logs.py` that processes server access logs. The scri... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 43,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02375_cdc8df",
"seed_id": "ds2-task_02375_cdc8df",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/rq` that maintains an in-memory collection of integer intervals and su... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 44,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02376_15484a",
"seed_id": "ds2-task_02376_15484a",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "# Decimal Fixed-Point Calculator\n\nImplement a command-line tool `/root/dfix` that performs fixed-poin... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 45,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02426_2907cd",
"seed_id": "ds2-task_02426_2907cd",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool that reads a directed graph from a JSON file and outputs a topological orderi... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 46,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02491_0967ae",
"seed_id": "ds2-task_02491_0967ae",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a CLI tool `/app/render` that reads a template from `--template` file and a variables file from `... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 47,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02619_4557f5",
"seed_id": "ds2-task_02619_4557f5",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a command-line tool `/app/logq` that parses a custom log format and answers timestamp-range quer... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 48,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02722_4b1e7f",
"seed_id": "ds2-task_02722_4b1e7f",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a Python program at /app/interval_store.py that implements a persistent interval index. The progr... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 49,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02776_5209ec",
"seed_id": "ds2-task_02776_5209ec",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Create a backup verification and restore tool that creates a manifest with checksums, and later verifie... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 50,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02737_aa3059",
"seed_id": "ds2-task_02737_aa3059",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `topo` that reads a dependency specification from stdin or a file and outputs... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 51,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02811_743681",
"seed_id": "ds2-task_02811_743681",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Write a command-line tool `toposort` that reads a dependency graph from stdin and outputs either a vali... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 52,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02851_14b4f5",
"seed_id": "ds2-task_02851_14b4f5",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "# Goal\n\nImplement a command-line tool `/app/topk` that reads a text file and outputs the `k` most fre... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 53,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_02887_a22599",
"seed_id": "ds2-task_02887_a22599",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "Implement a command-line tool at /app/range_query that supports three operations on a collection of int... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 54,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_03016_f821aa",
"seed_id": "ds2-task_03016_f821aa",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
[
{
"content": "You are an agent operating inside a sandboxed Linux container. Use the `bash` tool to inspect the filesystem, run commands, and complete the task.",
"role": "system"
},
{
"content": "A script `/opt/log_parser/parse.py` parses a custom log format and prints a summary report. The script ... | termgrade | tool_agent | {
"ground_truth": "",
"style": "rule"
} | {
"category": "terminalops",
"difficulty": "medium",
"domain": "terminalops/medium",
"index": 55,
"need_tools_kwargs": true,
"seed_dir": "environments/ds2-task_03035_c89bfc",
"seed_id": "ds2-task_03035_c89bfc",
"split": "train",
"tools_kwargs": {
"bash": {
"create_kwargs": {
"contain... |
TermGrade Band-Central: the 151-task selection and its splits
Part of TermGrade: graded environments and trajectories for terminal agents. Read the blog post.
271 executable environments · every task carries a measured base pass rate · the exact RL split we trained on
The 151 training and 120 validation environments behind
ai-and/termgrade-gemma4-31b-lora, with the verl config that produced it.
Companion releases: ai-and/termgrade-environments (1,004 environments graded by six models) · ai-and/termgrade-trajectories (36k graded episodes)
Quick start
from datasets import load_dataset
train = load_dataset("ai-and/termgrade-bandcentral-gemma4-31b-bash", "train151")["train"]
print(train[0]["extra_info"]["verl_band_pass_rate"]) # 0.5 for every training task
Build the base image once. Every task Dockerfile is FROM dsbase-venv312:local, and every
tests/test.sh calls /opt/verifier_venv/bin/pytest, which lives in the base:
docker build -t dsbase-venv312:local base_image/
Then build a task and run its reference solution against its own verifier, offline:
T=environments/ds2-task_00104_f0fb18
docker build -t mytask:local $T/environment
c=$(docker run -d --network none mytask:local sleep 600)
docker exec $c sh -c 'mkdir -p /tests /logs/verifier'
docker cp $T/tests/. $c:/tests/
docker cp $T/solution/solve.sh $c:/solve.sh
docker exec $c sh -c 'cd /app && bash /solve.sh'
docker cp $T/tests/. $c:/tests/ # restore pristine, as grading does
docker exec $c sh -c 'bash /tests/test.sh'
docker exec $c cat /logs/verifier/reward.txt # -> 1
docker rm -f $c
The image has no test files. The suite is copied in at scoring time so the agent cannot read what it is graded on. Copy it in yourself, as above, or the tests cannot run.
Some SETA-derived reference solutions (28 of the 59) need network access or packages that may no longer install, so they can fail in an offline rebuild.
What ships
| Path | Contents |
|---|---|
data/train_bandcentral151.parquet |
151 tasks, base pass rate 0.50 (118 DeepSeek-generated, 33 SETA) |
data/val_heldout120.parquet |
120 tasks, disjoint from train: 60 at p≈0.25, 60 at p≈0.75 |
environments/<seed_id>/ |
all 271 environments: environment/, instruction.md, tests/, solution/ |
base_image/Dockerfile |
the shared base every task builds FROM |
training_config.yaml |
the exact verl / GRPO++ configuration |
Ids carry a ds2- or setaevolve-/setasynth- prefix by source. Strip the prefix before comparing
against ai-and/termgrade-environments, or a plain set comparison finds zero overlap. 113 of the 151
and 89 of the 120 also appear in that 1,004-task corpus, labelled there as train151 / heldout120
for decontamination.
The selection rule
For GRPO the gradient contribution of a prompt scales with the variance of its rollout rewards. With binary rewards that variance is p(1−p), maximal at p = 0.50. A task the model always solves and one it never solves both contribute nothing. So the rule is: grade every candidate with the model you intend to train, then take the ones nearest 0.50.
These labels were measured in a bash tool-calling scaffold, which is what we train in. The six-model grades in ai-and/termgrade-environments were measured
under Terminus-2, so the two sets of numbers are not directly comparable.
Overlap with our released checkpoint
This is training data. 271 of these environments were seen by our released checkpoint. For a
clean evaluation use the 802-task unseen split of ai-and/termgrade-environments.
Difficulty depends on the model. Across six models the "solved about half the time" sets
barely overlap: pairwise Jaccard 0.11–0.21 (0.29 for gemma-4-31B-it against itself with thinking on), and no task is band-central for
all six. These labels are valid for gemma-4-31B-it under a bash scaffold only. If you
select training data this way, regrade against your own model.
Result
The checkpoint trained on this split scores 46.1 on Terminal-Bench 2.1 against a 43.0 base, so +3.1. Across five independent runs of the identical recipe the mean is 45.1 (+2.1), SE 0.6, all five above the base model. Full methodology on the adapter card.
Citation
If you use TermGrade, please cite:
@misc{calik2026termgrade,
title = {{TermGrade}: 1k Graded Terminal Environments, 36k Trajectories, and the {RL} Run They Trained},
author = {Calik, Yagiz and Wu, Jianbo and Hara, Shimpei},
year = {2026},
month = oct,
howpublished = {\url{https://www.aiand.com/newsroom/termgrade}},
note = {ai\& Research blog post}
}
- Downloads last month
- 164