Hoyant-Su commited on
Commit
afcfd4d
·
0 Parent(s):

Update ShellOps dataset

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. .gitignore +6 -0
  3. README.md +61 -0
  4. shellops/assets/ShellOps_0000f6f276/gold/active_sensors.txt +5 -0
  5. shellops/assets/ShellOps_0000f6f276/gold/calibration_registry.xml +19 -0
  6. shellops/assets/ShellOps_0000f6f276/gold/exceptions/missing_calibration.txt +2 -0
  7. shellops/assets/ShellOps_0000f6f276/gold/notes.md +3 -0
  8. shellops/assets/ShellOps_0000f6f276/init/active_sensors.txt +5 -0
  9. shellops/assets/ShellOps_0000f6f276/init/calibration_registry.xml +19 -0
  10. shellops/assets/ShellOps_0000f6f276/init/notes.md +3 -0
  11. shellops/assets/ShellOps_0012509967/gold/policy/suppressions.json +4 -0
  12. shellops/assets/ShellOps_0012509967/gold/reports/compliant_online_devices.txt +2 -0
  13. shellops/assets/ShellOps_0012509967/gold/telemetry/alpha.json +3 -0
  14. shellops/assets/ShellOps_0012509967/gold/telemetry/beta.json +3 -0
  15. shellops/assets/ShellOps_0012509967/gold/telemetry/gamma.json +3 -0
  16. shellops/assets/ShellOps_0012509967/gold/telemetry/notes.md +1 -0
  17. shellops/assets/ShellOps_0012509967/init/policy/suppressions.json +4 -0
  18. shellops/assets/ShellOps_0012509967/init/telemetry/alpha.json +3 -0
  19. shellops/assets/ShellOps_0012509967/init/telemetry/beta.json +3 -0
  20. shellops/assets/ShellOps_0012509967/init/telemetry/gamma.json +3 -0
  21. shellops/assets/ShellOps_0012509967/init/telemetry/notes.md +1 -0
  22. shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/.keep +0 -0
  23. shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/app1.md +3 -0
  24. shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/app2.md +3 -0
  25. shellops/assets/ShellOps_002a0cb1f9/gold/updated_runbooks/app1.md +3 -0
  26. shellops/assets/ShellOps_002a0cb1f9/gold/updated_runbooks/app2.md +3 -0
  27. shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/.keep +0 -0
  28. shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/app1.md +3 -0
  29. shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/app2.md +3 -0
  30. shellops/assets/ShellOps_003a452c18/gold/notes/irrelevant.md +2 -0
  31. shellops/assets/ShellOps_003a452c18/gold/profiles/runtime.json +11 -0
  32. shellops/assets/ShellOps_003a452c18/gold/report/missing_tokens.txt +2 -0
  33. shellops/assets/ShellOps_003a452c18/gold/schema/approved.json +9 -0
  34. shellops/assets/ShellOps_003a452c18/init/notes/irrelevant.md +2 -0
  35. shellops/assets/ShellOps_003a452c18/init/profiles/runtime.json +11 -0
  36. shellops/assets/ShellOps_003a452c18/init/schema/approved.json +9 -0
  37. shellops/assets/ShellOps_0045ed46ea/gold/endpoints.txt +6 -0
  38. shellops/assets/ShellOps_0045ed46ea/gold/missing_endpoints.txt +3 -0
  39. shellops/assets/ShellOps_0045ed46ea/gold/notes.md +1 -0
  40. shellops/assets/ShellOps_0045ed46ea/gold/runtime-inventory.xml +15 -0
  41. shellops/assets/ShellOps_0045ed46ea/init/endpoints.txt +6 -0
  42. shellops/assets/ShellOps_0045ed46ea/init/notes.md +1 -0
  43. shellops/assets/ShellOps_0045ed46ea/init/runtime-inventory.xml +15 -0
  44. shellops/assets/ShellOps_005aaf9bf4/gold/high_disk_usage_nodes.txt +4 -0
  45. shellops/assets/ShellOps_005aaf9bf4/gold/log1.txt +4 -0
  46. shellops/assets/ShellOps_005aaf9bf4/gold/log2.txt +3 -0
  47. shellops/assets/ShellOps_005aaf9bf4/gold/log3.txt +3 -0
  48. shellops/assets/ShellOps_005aaf9bf4/init/log1.txt +4 -0
  49. shellops/assets/ShellOps_005aaf9bf4/init/log2.txt +3 -0
  50. shellops/assets/ShellOps_005aaf9bf4/init/log3.txt +3 -0
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.parquet filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ push_A3_2_huggingface.sh
2
+ __pycache__/
3
+ *.pyc
4
+ .DS_Store
5
+ .cache/
6
+ logs/
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-generation
5
+ - question-answering
6
+ language:
7
+ - en
8
+ pretty_name: ShellOps
9
+ tags:
10
+ - cli-agents
11
+ - reinforcement-learning
12
+ - filesystem
13
+ - shell
14
+ - verifiable-evaluation
15
+ ---
16
+
17
+ # ShellOps
18
+
19
+ ShellOps is a verifiable dataset suite for CLI agents that interact with filesystem workspaces through executable shell actions. It accompanies the paper [Learning CLI Agents with Structured Action Credit under Selective Observation](https://arxiv.org/abs/2605.08013).
20
+
21
+ The dataset focuses on shell-driven information extraction and file editing tasks, where an agent receives a natural language instruction, observes an initial workspace, executes CLI actions, and is scored by verifiable terminal output or post-execution file state.
22
+
23
+ ## Dataset Overview
24
+
25
+ - **ShellOps**: 1624 standard CLI tasks across training and evaluation splits
26
+ - **ShellOps-Pro**: 150 harder out-of-distribution tasks for infer-only evaluation
27
+ - **Task axes**: Lookup, Aggregate, Edit, and Mixed
28
+ - **Workspace setting**: repository-like file trees with structured data, logs, code, prose, configuration files, and extensionless files
29
+ - **Evaluation target**: exact stdout, file-state match, or hybrid output plus file-state objectives
30
+
31
+ ## File Layout
32
+
33
+ ```text
34
+ shellops/
35
+ train_src.parquet
36
+ train.parquet
37
+ test.parquet
38
+ assets/
39
+
40
+ shellops_pro/
41
+ test.parquet
42
+ assets/
43
+ ```
44
+
45
+ In `shellops`, `train_src.parquet` is the full training-side corpus claimed in the paper, while `train.parquet` is the sampled subset used for the reported training runs. The `train_src.parquet` and `test.parquet` files together form the 1624-task ShellOps corpus.
46
+
47
+ `shellops_pro` is an OOD infer-only dataset, so only `test.parquet` is provided. If you use our TEST MODE workflow, create a placeholder `train.parquet` in `shellops_pro/` to keep the file layout consistent. This placeholder parquet is not used during inference.
48
+
49
+ ## Citation
50
+
51
+ ```bibtex
52
+ @misc{su2026learningcliagentsstructured,
53
+ title={Learning CLI Agents with Structured Action Credit under Selective Observation},
54
+ author={Haoyang Su and Ying Wen},
55
+ year={2026},
56
+ eprint={2605.08013},
57
+ archivePrefix={arXiv},
58
+ primaryClass={cs.AI},
59
+ url={https://arxiv.org/abs/2605.08013},
60
+ }
61
+ ```
shellops/assets/ShellOps_0000f6f276/gold/active_sensors.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ SENS-1001
2
+ SENS-1002
3
+ SENS-1003
4
+ SENS-1004
5
+ SENS-1005
shellops/assets/ShellOps_0000f6f276/gold/calibration_registry.xml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <calibration>
3
+ <sensor id="SENS-1001">
4
+ <calibrated>true</calibrated>
5
+ <last_cal>2025-01-10</last_cal>
6
+ </sensor>
7
+ <sensor id="SENS-1002">
8
+ <calibrated>true</calibrated>
9
+ <last_cal>2025-01-11</last_cal>
10
+ </sensor>
11
+ <sensor id="SENS-1004">
12
+ <calibrated>true</calibrated>
13
+ <last_cal>2025-01-12</last_cal>
14
+ </sensor>
15
+ <sensor id="SENS-1007">
16
+ <calibrated>true</calibrated>
17
+ <last_cal>2025-01-13</last_cal>
18
+ </sensor>
19
+ </calibration>
shellops/assets/ShellOps_0000f6f276/gold/exceptions/missing_calibration.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ SENS-1003
2
+ SENS-1005
shellops/assets/ShellOps_0000f6f276/gold/notes.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Notes:
2
+ - SENS-1003 and SENS-1005 are currently active but not yet in the calibration registry.
3
+ - SENS-1007 is in the registry but not currently active.
shellops/assets/ShellOps_0000f6f276/init/active_sensors.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ SENS-1001
2
+ SENS-1002
3
+ SENS-1003
4
+ SENS-1004
5
+ SENS-1005
shellops/assets/ShellOps_0000f6f276/init/calibration_registry.xml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <calibration>
3
+ <sensor id="SENS-1001">
4
+ <calibrated>true</calibrated>
5
+ <last_cal>2025-01-10</last_cal>
6
+ </sensor>
7
+ <sensor id="SENS-1002">
8
+ <calibrated>true</calibrated>
9
+ <last_cal>2025-01-11</last_cal>
10
+ </sensor>
11
+ <sensor id="SENS-1004">
12
+ <calibrated>true</calibrated>
13
+ <last_cal>2025-01-12</last_cal>
14
+ </sensor>
15
+ <sensor id="SENS-1007">
16
+ <calibrated>true</calibrated>
17
+ <last_cal>2025-01-13</last_cal>
18
+ </sensor>
19
+ </calibration>
shellops/assets/ShellOps_0000f6f276/init/notes.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Notes:
2
+ - SENS-1003 and SENS-1005 are currently active but not yet in the calibration registry.
3
+ - SENS-1007 is in the registry but not currently active.
shellops/assets/ShellOps_0012509967/gold/policy/suppressions.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ [
2
+ {"device_id": "dev_004", "reason": "maintenance_window"},
3
+ {"device_id": "dev_007", "reason": "legacy_baseline"}
4
+ ]
shellops/assets/ShellOps_0012509967/gold/reports/compliant_online_devices.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ dev_001
2
+ dev_005
shellops/assets/ShellOps_0012509967/gold/telemetry/alpha.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_001", "status": "online", "compliant": true}
2
+ {"device_id": "dev_002", "status": "offline", "compliant": true}
3
+ {"device_id": "dev_003", "status": "online", "compliant": false}
shellops/assets/ShellOps_0012509967/gold/telemetry/beta.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_004", "status": "online", "compliant": true}
2
+ {"device_id": "dev_005", "status": "online", "compliant": true}
3
+ {"device_id": "dev_006", "status": "offline", "compliant": true}
shellops/assets/ShellOps_0012509967/gold/telemetry/gamma.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_007", "status": "online", "compliant": true}
2
+ {"device_id": "dev_008", "status": "online", "compliant": false}
3
+ {"device_id": "dev_009", "status": "offline", "compliant": true}
shellops/assets/ShellOps_0012509967/gold/telemetry/notes.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This directory contains device telemetry snapshots. The suppression list is managed by the policy team.
shellops/assets/ShellOps_0012509967/init/policy/suppressions.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ [
2
+ {"device_id": "dev_004", "reason": "maintenance_window"},
3
+ {"device_id": "dev_007", "reason": "legacy_baseline"}
4
+ ]
shellops/assets/ShellOps_0012509967/init/telemetry/alpha.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_001", "status": "online", "compliant": true}
2
+ {"device_id": "dev_002", "status": "offline", "compliant": true}
3
+ {"device_id": "dev_003", "status": "online", "compliant": false}
shellops/assets/ShellOps_0012509967/init/telemetry/beta.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_004", "status": "online", "compliant": true}
2
+ {"device_id": "dev_005", "status": "online", "compliant": true}
3
+ {"device_id": "dev_006", "status": "offline", "compliant": true}
shellops/assets/ShellOps_0012509967/init/telemetry/gamma.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"device_id": "dev_007", "status": "online", "compliant": true}
2
+ {"device_id": "dev_008", "status": "online", "compliant": false}
3
+ {"device_id": "dev_009", "status": "offline", "compliant": true}
shellops/assets/ShellOps_0012509967/init/telemetry/notes.md ADDED
@@ -0,0 +1 @@
 
 
1
+ This directory contains device telemetry snapshots. The suppression list is managed by the policy team.
shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/.keep ADDED
File without changes
shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/app1.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Incident Response Steps:
2
+ 1. Check status: curl http://app1.example.com/status
3
+ 2. Restart service: curl http://app1.example.com/restart
shellops/assets/ShellOps_002a0cb1f9/gold/docs/runbooks/app2.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Debugging Steps:
2
+ 1. Fetch logs: curl http://app2.example.com/logs
3
+ 2. Clear cache: curl http://app2.example.com/cache/clear
shellops/assets/ShellOps_002a0cb1f9/gold/updated_runbooks/app1.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Incident Response Steps:
2
+ 1. Check status: curl https://app1.example.com/status
3
+ 2. Restart service: curl https://app1.example.com/restart
shellops/assets/ShellOps_002a0cb1f9/gold/updated_runbooks/app2.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Debugging Steps:
2
+ 1. Fetch logs: curl https://app2.example.com/logs
3
+ 2. Clear cache: curl https://app2.example.com/cache/clear
shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/.keep ADDED
File without changes
shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/app1.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Incident Response Steps:
2
+ 1. Check status: curl http://app1.example.com/status
3
+ 2. Restart service: curl http://app1.example.com/restart
shellops/assets/ShellOps_002a0cb1f9/init/docs/runbooks/app2.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Debugging Steps:
2
+ 1. Fetch logs: curl http://app2.example.com/logs
3
+ 2. Clear cache: curl http://app2.example.com/cache/clear
shellops/assets/ShellOps_003a452c18/gold/notes/irrelevant.md ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # Ignore this file
2
+ This is a distractor artifact.
shellops/assets/ShellOps_003a452c18/gold/profiles/runtime.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokens": [
3
+ "session_timeout",
4
+ "max_connections",
5
+ "enable_audit",
6
+ "cache_ttl",
7
+ "enable_debug",
8
+ "rate_limit",
9
+ "enable_tracing"
10
+ ]
11
+ }
shellops/assets/ShellOps_003a452c18/gold/report/missing_tokens.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ enable_debug
2
+ enable_tracing
shellops/assets/ShellOps_003a452c18/gold/schema/approved.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "approved": [
3
+ "session_timeout",
4
+ "max_connections",
5
+ "enable_audit",
6
+ "cache_ttl",
7
+ "rate_limit"
8
+ ]
9
+ }
shellops/assets/ShellOps_003a452c18/init/notes/irrelevant.md ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # Ignore this file
2
+ This is a distractor artifact.
shellops/assets/ShellOps_003a452c18/init/profiles/runtime.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokens": [
3
+ "session_timeout",
4
+ "max_connections",
5
+ "enable_audit",
6
+ "cache_ttl",
7
+ "enable_debug",
8
+ "rate_limit",
9
+ "enable_tracing"
10
+ ]
11
+ }
shellops/assets/ShellOps_003a452c18/init/schema/approved.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "approved": [
3
+ "session_timeout",
4
+ "max_connections",
5
+ "enable_audit",
6
+ "cache_ttl",
7
+ "rate_limit"
8
+ ]
9
+ }
shellops/assets/ShellOps_0045ed46ea/gold/endpoints.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ SVC-1001
2
+ SVC-1002
3
+ SVC-1003
4
+ SVC-1004
5
+ SVC-1005
6
+ SVC-1006
shellops/assets/ShellOps_0045ed46ea/gold/missing_endpoints.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ SVC-1002
2
+ SVC-1004
3
+ SVC-1006
shellops/assets/ShellOps_0045ed46ea/gold/notes.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Ignored notes file to act as a distractor.
shellops/assets/ShellOps_0045ed46ea/gold/runtime-inventory.xml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <inventory>
3
+ <endpoint>
4
+ <key>SVC-1001</key>
5
+ <status>active</status>
6
+ </endpoint>
7
+ <endpoint>
8
+ <key>SVC-1003</key>
9
+ <status>active</status>
10
+ </endpoint>
11
+ <endpoint>
12
+ <key>SVC-1005</key>
13
+ <status>active</status>
14
+ </endpoint>
15
+ </inventory>
shellops/assets/ShellOps_0045ed46ea/init/endpoints.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ SVC-1001
2
+ SVC-1002
3
+ SVC-1003
4
+ SVC-1004
5
+ SVC-1005
6
+ SVC-1006
shellops/assets/ShellOps_0045ed46ea/init/notes.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Ignored notes file to act as a distractor.
shellops/assets/ShellOps_0045ed46ea/init/runtime-inventory.xml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <inventory>
3
+ <endpoint>
4
+ <key>SVC-1001</key>
5
+ <status>active</status>
6
+ </endpoint>
7
+ <endpoint>
8
+ <key>SVC-1003</key>
9
+ <status>active</status>
10
+ </endpoint>
11
+ <endpoint>
12
+ <key>SVC-1005</key>
13
+ <status>active</status>
14
+ </endpoint>
15
+ </inventory>
shellops/assets/ShellOps_005aaf9bf4/gold/high_disk_usage_nodes.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ nodeA
2
+ nodeB
3
+ nodeE
4
+ nodeF
shellops/assets/ShellOps_005aaf9bf4/gold/log1.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ nodeA: disk usage exceeded 90%
2
+ nodeB: memory leak detected
3
+ nodeA: disk usage exceeded 90%
4
+ nodeC: CPU spike observed
shellops/assets/ShellOps_005aaf9bf4/gold/log2.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ nodeB: disk usage exceeded 90%
2
+ nodeD: network latency high
3
+ nodeE: disk usage exceeded 90%
shellops/assets/ShellOps_005aaf9bf4/gold/log3.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ nodeF: disk usage exceeded 90%
2
+ nodeG: authentication failed
3
+ nodeF: disk usage exceeded 90%
shellops/assets/ShellOps_005aaf9bf4/init/log1.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ nodeA: disk usage exceeded 90%
2
+ nodeB: memory leak detected
3
+ nodeA: disk usage exceeded 90%
4
+ nodeC: CPU spike observed
shellops/assets/ShellOps_005aaf9bf4/init/log2.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ nodeB: disk usage exceeded 90%
2
+ nodeD: network latency high
3
+ nodeE: disk usage exceeded 90%
shellops/assets/ShellOps_005aaf9bf4/init/log3.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ nodeF: disk usage exceeded 90%
2
+ nodeG: authentication failed
3
+ nodeF: disk usage exceeded 90%