Terminal benchmark task inspection

ShellOps

Inspect published task instructions, reward specifications, and workspace asset links.

PartitionUnique tasksPublished split rowsTask types
shellops1624{"test": 325, "train": 389, "train_src": 1299}{"files": 751, "hybrid": 708, "string": 165}
shellops_pro150{"test": 150}{"files": 50, "hybrid": 50, "string": 50}

License: cc-by-4.0. Dataset card; Dataset paper.

Published split membership
{
  "shellops/train_src": "Full training-side corpus; includes every row in shellops/train.",
  "shellops/train": "Published training subset; overlapping rows are identical to train_src and are counted once.",
  "shellops/test": "Evaluation tasks, disjoint from train_src by task ID.",
  "shellops_pro/test": "Published ShellOps-Pro OOD evaluation partition; its original dataset field is preserved."
}

Task inspection calls

Send these requests through an initialized MCP client session. The get_task arguments below come from the returned search_tasks result.

dataset_overview

{
  "jsonrpc": "2.0",
  "id": "dataset_overview",
  "method": "tools/call",
  "params": {
    "name": "Agentic_RL_dataset_overview",
    "arguments": {}
  }
}

search_tasks

{
  "jsonrpc": "2.0",
  "id": "search_tasks",
  "method": "tools/call",
  "params": {
    "name": "Agentic_RL_search_tasks",
    "arguments": {
      "query": "JSON",
      "partition": "shellops",
      "split": "test",
      "limit": 1,
      "offset": 0
    }
  }
}

get_task

{
  "jsonrpc": "2.0",
  "id": "get_task",
  "method": "tools/call",
  "params": {
    "name": "Agentic_RL_get_task",
    "arguments": {
      "task_id": "ShellOps_0012509967",
      "partition": "shellops"
    }
  }
}

Example task from 72 matching tasks.

Returned task: ShellOps_0012509967

I'm preparing a cross-region compliance report for our edge device fleet. The telemetry directory contains per-device status snapshots: alpha.json, beta.json, gamma.json. I need to filter for devices that are both 'compliant' and 'online'. However, there is a suppression list at policy/suppressions.json that lists device ids which should be excluded from the report even if they meet the criteria. Write the filtered device ids into reports/compliant_online_devices.txt, one per line, and also print the count to stdout.

Partition: shellops; task type: hybrid; source: test, row 284; workspace assets: gold | init.

Published reward specification

{
  "expected": "2",
  "gold_dir": "main_entry/data/shellops/assets/ShellOps_0012509967/gold",
  "ignore_case": true,
  "match": "exact",
  "success_reward": 1.0,
  "threshold": null,
  "type": "hybrid"
}

Original task fields: id, query, gt_bash, expected_text, task_type, data_source, prompt, ability, env_kwargs, extra_info, dataset. Full task metadata, source identities, and file-entry metadata are included in this page's JSON.

Related benchmark references

5 papers; 35 relevant passages. Read passages and citations as JSON.

Search original passages from 8 papers within a 13-paper collection. The remaining 5 entries provide bibliographic information. Each passage links to its original paper and section.

SWE-bench: Can Language Models Resolve Real-World GitHub Issues?

Authors: Jimenez, Carlos E.; Yang, John; Wettig, Alexander; Yao, Shunyu; Pei, Kexin; Press, Ofir; Narasimhan, Karthik

Version: 2310.06770v1; source citation date: 2023/10/10; Original HTML; license: CC BY 4.0.

1 relevant passages. Appendix F In-depth Analysis of SWE-Llama Generations.

Gold Patch ⬇ diff -- git a / sphinx / util / rst . py b / sphinx / util / rst . py --- a / sphinx / util / rst . py +++ b / sphinx / util / rst . py @@ -10,22 +10,17 @@ from docutils . parsers . rst import roles from docutils . parsers . rst . languages import en as english + from docutils . parsers . rst . states import Body from docutils . statemachine import StringList from docutils . utils import Reporter - from jinja2 import Environment + from jinja2 import Environment , pass_environment from sphinx . locale import __ from sphinx . util import docutils , logging - try : - from jinja2 . utils import pass_environment - except ImportError : - from jinja2 import environmentfilter as pass_environment - - logger = logging . getLogger ( __name__ ) - docinfo_re = re . compile ( ’:\\w+:.*?’ ) + FIELD_NAME_RE = re . compile ( Body . patterns [ ’field_marker’ ]) symbols_re = re . compile ( r’([!-\-/:-@\[-‘{-~])’ ) # symbols without dot(0x2e) SECTIONING_CHARS = [ ’=’ , ’-’ , ’~’ ] @@ -80,7 +75,7 @@ def prepend_prolog ( content : StringList , prolog : str ) -> None : if prolog : pos = 0 for line in content : - if docinfo_re . match ( line ): + if FIELD_NAME_RE . match ( line ): pos += 1 else : break @@ -91,6 +86,7 @@ def prepend_prolog ( content : StringList , prolog : str ) -> None : pos += 1 # insert prolog (after docinfo if exists) + lineno = 0 for lineno , line in enumerate ( prolog . splitlines ()): content . insert ( pos + lineno , line , ’<rst_prolog>’ , lineno ) Discussion. For this task instance from the sphinx-doc/sphinx repository, a model is asked to write logic to fix a case where the title is incorrectly being rendered. Simply understanding the jargon being used and mapping such words to logic within the codebase is a significant challenge faced by the model. The model is given a command line call that can help with this, but grounding the terminology presented in the issues within the codebase is essential. From comparing the gold patch and model generated patch, it is clear that the model does not come close to solving the task. The model does generally identify that fixing the regex pattern is the correct action, as this is what the gold patch does, too. However, where the model and oracle retrieval setting collectively fall short is mainly due to the significant use of additional modules from both the codebase itself and third party libraries. This example highlights the importance and potential for training language models and designing inference procedures that allow for the automated discovery of such information.

SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering

Authors: Yang, John; Jimenez, Carlos E.; Wettig, Alexander; Lieret, Kilian; Yao, Shunyu; Narasimhan, Karthik; Press, Ofir

Version: 2405.15793v1; source citation date: 2024/05/06; Original HTML; license: CC BY 4.0.

2 relevant passages. Appendix A SWE-agent Interface / A.1 Component Design / File Viewer..

As discussed in Section 3 , the File Viewer is fundamental to a language agent’s ability to understand file content and invoke appropriate edits. In a Terminal-only setting, there are several commands that can be used to inspect file content. However, out of the box command line tools are sub-optimal or limiting for language agents for several reasons. First, commands that print files to standard output (e.g. cat , printf ) can easily flood a language agent’s context window with too much file content, the majority of which is usually irrelevant to the issue. Enabling a language agent to filter out distractions and focus on relevant code snippets is crucial to generating effective edits. While commands like head and tail reduce length to the first/last n lines, it is not intuitive to use bash commands to perform in-file navigation. It is either impossible or requires a long list of arguments to show specific file lines. Furthermore, since such Bash commands are stateless, “scrolling” up/down relative to the current file position typically requires regenerating the same lengthy command with minor changes. Interactive tools like more and less accommodate this, but (1) representing navigation actions (multiple key up/down clicks) is intuitive for humans, but is verbose and costly for language agents, and (2) even if jumping to a specific line number is allowed, it is not possible to quickly identify what classes/methods/symbols are declared in a file and go to their definitions.

OpenDevin: An Open Platform for AI Software Developers as Generalist Agents

Authors: Wang, Xingyao; Li, Boxuan; Song, Yufan; Xu, Frank F.; Tang, Xiangru; Zhuge, Mingchen; Pan, Jiayi; Song, Yueqi; Li, Bowen; Singh, Jaskirat; Tran, Hoang H.; Li, Fuqiang; Ma, Ren; Zheng, Mingzhang; Qian, Bill; Shao, Yanjun; Muennighoff, Niklas; Zhang, Yizhe; Hui, Binyuan; Lin, Junyang; Brennan, Robert; Peng, Hao; Ji, Heng; Neubig, Graham

Version: 2407.16741v1; source citation date: 2024/07/23; Original HTML; license: CC BY 4.0.

2 relevant passages. 2 OpenDevin Architecture / 2.2 Agent Runtime: How Execution of Actions Results in Observations.

Agent Runtime provides a general environment that equips the agent with an action space comparable to that of human software developers, enabling OpenDevin agents to tackle a wide range of software development and web-based tasks, including complex software development workflows, data analysis projects, web browsing tasks, and more. It allows the agent to access a bash terminal to run code and command line tools, utilize a Jupyter notebook for writing and executing code on-the-fly, and interact with a web browser for web-based tasks ( e.g . , information seeking).

Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces

Authors: Merrill, Mike A.; Shaw, Alexander G.; Carlini, Nicholas; Li, Boxuan; Raj, Harsh; Bercovich, Ivan; Shi, Lin; Shin, Jeong Yeon; Walshe, Thomas; Buchanan, E. Kelly; Shen, Junhong; Ye, Guanghao; Lin, Haowei; Poulos, Jason; Wang, Maoyu; Nezhurina, Marianna; Jitsev, Jenia; Lu, Di; Mastromichalakis, Orfeas Menis; Xu, Zhiwei; Chen, Zizhao; Liu, Yue; Zhang, Robert; Chen, Leon Liangyu; Kashyap, Anurag; Uslu, Jan-Lucas; Li, Jeffrey; Wu, Jianbo; Yan, Minghao; Bian, Song; Sharma, Vedang; Sun, Ke; Dillmann, Steven; Anand, Akshay; Lanpouthakoun, Andrew; Koopah, Bardia; Hu, Changran; Guha, Etash; Dreiman, Gabriel H. S.; Zhu, Jiacheng; Krauth, Karl; Zhong, Li; Muennighoff, Niklas; Amanfu, Robert; Tan, Shangyin; Pimpalgaonkar, Shreyas; Aggarwal, Tushar; Lin, Xiangning; Lan, Xin; Zhao, Xuandong; Liang, Yiqing; Wang, Yuanli; Wang, Zilong; Zhou, Changzhi; Heineman, David; Liu, Hange; Trivedi, Harsh; Yang, John; Lin, Junhong; Shetty, Manish; Yang, Michael; Omi, Nabil; Raoof, Negin; Li, Shanda; Zhuo, Terry Yue; Lin, Wuwei; Dai, Yiwei; Wang, Yuxin; Chai, Wenhao; Zhou, Shang; Wahdany, Dariush; She, Ziyu; Hu, Jiaming; Dong, Zhikang; Zhu, Yuxuan; Cui, Sasha; Saiyed, Ahson; Kolbeinsson, Arinbjörn; Hu, Jesse; Rytting, Christopher Michael; Marten, Ryan; Wang, Yixin; Dimakis, Alex; Konwinski, Andy; Schmidt, Ludwig

Version: 2601.11868v1; source citation date: 2026/01/17; Original HTML; license: CC BY 4.0.

19 relevant passages. 3 Experimental Setup / 3.2 Agents.

We evaluate three popular command-line agents (Claude Code, Codex CLI, and Gemini CLI) and three open-source software engineering agents (OpenHands ( Wang et al., 2025 ) , Mini-SWE-Agent ( Yang et al., 2024 ) , and Terminus 2) on Terminal-Bench 2.0.

Learning CLI Agents with Structured Action Credit under Selective Observation

Authors: Su, Haoyang; Wen, Ying

Version: 2605.08013v1; source citation date: 2026/05/08; Original HTML; license: CC BY 4.0.

11 relevant passages. 1 Introduction.

Command line interface (CLI) agents have become a prominent setting for coding and computer use, studied in a large body of prior work [ 54 , 65 , 55 , 18 , 37 , 2 , 63 , 34 , 27 , 75 ] . CLI agents operate directly in filesystem environments through shell commands, treating executable code as their native action space rather than calling predefined tool APIs. This interface gives language agents the same operational substrate used by developers, including directory exploration, program execution, artifact editing, and result checking through terminal feedback.