zsicheng commited on
Commit
69475fb
·
verified ·
1 Parent(s): 159ae24

Initial release of TwinEnv-Bench (117 counterfactual tasks, 234 twin cells, official eval.yaml)

Browse files
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: TwinEnv-Bench
3
+ language:
4
+ - en
5
+ license: apache-2.0
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - other
10
+ tags:
11
+ - benchmark
12
+ - agents
13
+ - evaluation
14
+ - environment-adaptation
15
+ - coding-agents
16
+ - terminal-bench
17
+ - harbor
18
+ - tool-use
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: test
23
+ path: data/tasks.jsonl
24
+ ---
25
+
26
+ # TwinEnv-Bench: Counterfactual Evaluation of Reactive and Proactive Environment Adaptation in Software Agents
27
+
28
+ **TwinEnv-Bench** is a controlled micro-scale counterfactual benchmark of **117 real-world scripting, systems, and data-engineering tasks** (**234 paired `base` vs. `target` task–environment cells**) designed to disentangle algorithmic coding skill from real-world operating-system environment adaptability.
29
+
30
+ - **Organization**: TraceLite AI (Institute of Information Engineering, CAS; Institute of Automation, CAS; Zhongguancun Academy; Tsinghua University)
31
+ - **Code & Runner**: [github.com/TraceLite-AI/TwinEnv-Bench](https://github.com/TraceLite-AI/TwinEnv-Bench)
32
+ - **Sanitized Trajectories**: [TraceLite-AI/TwinEnv-Bench-Traces](https://huggingface.co/datasets/TraceLite-AI/TwinEnv-Bench-Traces)
33
+ - **Interactive Leaderboard**: [TraceLite-AI/TwinEnv-Bench Space](https://huggingface.co/spaces/TraceLite-AI/TwinEnv-Bench)
34
+ - **Website**: [tracelite.ai](https://tracelite.ai)
35
+
36
+ ---
37
+
38
+ ## Overview
39
+
40
+ Prevailing benchmarks for software and terminal agents evaluate models almost exclusively inside uniform **"greenhouse" containers** configured with permissive defaults (UTF-8, root, GNU coreutils, open network, generous resource ceilings). TwinEnv-Bench pairs identical natural-language user instructions, initial workspaces, and post-termination host-isolated verifiers across:
41
+
42
+ 1. **Base Container (`base`)**: Standard greenhouse defaults.
43
+ 2. **Target Sandbox (`target`)**: Shifted along a single verified system property across a **5-layer, 15-group, 31-mechanism** operating-system taxonomy (**E1–E5**).
44
+
45
+ Tasks are partitioned almost evenly across two observability regimes:
46
+ - **Interactive-Exposed (59 tasks)**: Environment mismatches surface immediately as stack traces, command errors, or malformed outputs during interactive sample runs (testing reactive debugging).
47
+ - **Deployment-Latent (58 tasks)**: Sample runs pass silently while production constraints reside in scheduled cron jobs, cross-account permissions, mount boundaries, kernel `rlimits`, or full-scale batch traffic—always discoverable on host via read-only system inspection commands (testing proactive reconnaissance).
48
+
49
+ Every task satisfies a deterministic **six-run, three-state mechanical solvability contract**:
50
+ - Unmodified workspace (`none`): fails both `base` and `target`.
51
+ - Environment-naive solution (`naive`): passes `base`, fails `target`.
52
+ - Environment-aware reference solution (`ref`): passes both `base` and `target`.
53
+
54
+ ---
55
+
56
+ ## Dataset Structure
57
+
58
+ | Path | Description |
59
+ | :--- | :--- |
60
+ | `eval.yaml` | Official Hugging Face Benchmark registration (`evaluation_framework: harbor`) |
61
+ | `data/tasks.jsonl` | 117 canonical tasks with E1–E5 taxonomy labels, exposure regime, runtime profile, and paired `cells_json` |
62
+ | `data/tasks.tar.gz` | Complete archive of all 117 task directories (1,709 SHA-256 verified files preserving permissions) |
63
+ | `data/manifest.json` | File sizes, POSIX permission bits, and SHA-256 digests |
64
+ | `data/environment-dimensions.json` | E1–E5 taxonomy counts and mechanism normalization |
65
+ | `TASKS.md` | Human-readable catalog of all 117 tasks |
66
+
67
+ ### Taxonomy Breakdown (117 Tasks / 234 Twin Cells)
68
+
69
+ | Layer | Name | Tasks | Exposed / Latent |
70
+ | :--- | :--- | :---: | :---: |
71
+ | **E1** | System Layer (Filesystem Semantics, Line Endings) | 12 | 4 / 8 |
72
+ | **E2** | Software Stack Layer (Runtimes, Packages, Toolchains, Browsers) | 24 | 24 / 0 |
73
+ | **E3** | Execution Context Layer (Locale/Encoding/TZ, Process/Cron Context) | 43 | 14 / 29 |
74
+ | **E4** | Boundary Layer (Permissions/Mounts, Network, Clock, Secrets, Resource Limits) | 36 | 17 / 19 |
75
+ | **E5** | State Layer (Platform Residuals, External Service Reliability) | 2 | 0 / 2 |
76
+ | **Total** | **5 Layers / 15 Groups / 31 Mechanisms** | **117** | **59 / 58** |
77
+
78
+ ---
79
+
80
+ ## Main Benchmark Results (9 Frontier Models, K=3 Repeats)
81
+
82
+ Metrics below are conditional on non-refusal executed runs (`Base@1`, `Target@1`, `Exposed`, `Latent`, optimistic `Pass@3`, and strict 3-of-3 production reliability `Pass^3`):
83
+
84
+ | Model | Base@1 (%) | Target@1 (%) | Δ_shift | Exposed (%) | Latent (%) | Pass@3 (%) | Pass^3 (%) |
85
+ | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
86
+ | **Claude Opus 5.5** *(non-refusal)* | 98.4 | **67.1** | -31.3 | 74.1 | **59.3** | 73.9 | **59.5** |
87
+ | **Qwen 3.8 Max** | 95.1 | 63.8 | -31.3 | 75.1 | 52.3 | **76.9** | 47.0 |
88
+ | **GPT-6.1 Sol** | 97.4 | 63.0 | -34.4 | **77.4** | 48.3 | 68.4 | 58.1 |
89
+ | **Gemini 4 Argon** | 99.1 | 61.0 | -38.1 | 73.4 | 48.3 | 70.1 | 51.3 |
90
+ | **Hy4 Flash** | **99.7** | 55.3 | -44.4 | 69.5 | 40.8 | 65.8 | 45.3 |
91
+ | **DeepSeek V4.1 Flash** | 99.4 | 41.6 | -57.8 | 46.3 | 36.8 | 58.1 | 25.6 |
92
+ | **GLM-5.3 Flash** | 96.9 | 40.7 | -56.2 | 53.7 | 27.6 | 52.1 | 28.2 |
93
+ | **Grok 4.7** | 97.4 | 34.5 | -62.9 | 46.3 | 22.4 | 47.0 | 22.2 |
94
+ | **Kimi K3.1 Pro** | 99.1 | 26.8 | -72.3 | 39.5 | 13.8 | 39.3 | 14.5 |
95
+ | *9-Model Mean* | *98.1* | *50.4* | *-47.6* | *61.7* | *38.8* | *61.3* | *39.1* |
96
+ | *Claude Opus 5.5 (Refusal-as-0)* | *88.0* | *58.7* | *-29.3* | *67.8* | *49.4* | *70.1* | *47.9* |
97
+
98
+ ---
99
+
100
+ ## Usage
101
+
102
+ ### Load Index with Hugging Face `datasets`
103
+
104
+ ```python
105
+ from datasets import load_dataset
106
+
107
+ ds = load_dataset("TraceLite-AI/TwinEnv-Bench", split="test")
108
+ print(len(ds), ds[0]["task_id"], ds[0]["exposure_regime"])
109
+ ```
110
+
111
+ ### Run with Harbor
112
+
113
+ TwinEnv-Bench integrates with the [Harbor](https://github.com/harbor-framework/harbor) evaluation framework (234 paired `base` and `target` tasks). See our Harbor adapter in `TraceLite-AI/adapters` (`twinenv-bench`) and dataset registry in `TraceLite-AI/harbor-datasets`.
114
+
115
+ ---
116
+
117
+ ## Citation
118
+
119
+ ```bibtex
120
+ @article{tracelite2026twinenv,
121
+ title={TwinEnv-Bench: Beyond Greenhouse Sandboxes via Counterfactual Evaluation of Reactive and Proactive Environment Adaptation in Software Agents},
122
+ author={TraceLite AI},
123
+ year={2026},
124
+ url={https://huggingface.co/datasets/TraceLite-AI/TwinEnv-Bench}
125
+ }
126
+ ```
TASKS.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TwinEnv-Bench 117-Task Catalog
2
+
3
+ All **117 counterfactual twin-environment tasks** (`base` vs. `target`), organized by the **`E1–E5` taxonomy** (5 layers, 15 dimension groups, 31 subdimensions) and shift exposure regime (`interactive_exposed`: 59, `deployment_latent`: 58).
4
+
5
+ | Task ID | Subdimension | Dimension Group | Exposure Regime | Timeout (s) |
6
+ | :--- | :--- | :--- | :--- | ---: |
7
+ | [`E1.1-01-casefold-profile-export`](data/tasks/E1.1-01-casefold-profile-export) | `E1.1.case` | Filesystem Semantics | `deployment_latent` | 1200 |
8
+ | [`E1.1-02-casefold-asset-rename`](data/tasks/E1.1-02-casefold-asset-rename) | `E1.1.case` | Filesystem Semantics | `deployment_latent` | 1200 |
9
+ | [`E1.1-03-stream-feed-shares`](data/tasks/E1.1-03-stream-feed-shares) | `E1.1.file_type` | Filesystem Semantics | `deployment_latent` | 1200 |
10
+ | [`E1.1-04-name255-build-tag-reports`](data/tasks/E1.1-04-name255-build-tag-reports) | `E1.1.length` | Filesystem Semantics | `deployment_latent` | 1200 |
11
+ | [`E1.1-05-symlink-include-guard`](data/tasks/E1.1-05-symlink-include-guard) | `E1.1.symlink` | Filesystem Semantics | `interactive_exposed` | 1200 |
12
+ | [`E1.1-06-symlink-archive-report`](data/tasks/E1.1-06-symlink-archive-report) | `E1.1.symlink` | Filesystem Semantics | `interactive_exposed` | 1200 |
13
+ | [`E1.1-07-symlink-release-bundle`](data/tasks/E1.1-07-symlink-release-bundle) | `E1.1.symlink` | Filesystem Semantics | `interactive_exposed` | 1200 |
14
+ | [`E1.1-08-symlinked-inbox-merge`](data/tasks/E1.1-08-symlinked-inbox-merge) | `E1.1.symlink` | Filesystem Semantics | `deployment_latent` | 1200 |
15
+ | [`E1.1-09-nfd-gallery-manifest`](data/tasks/E1.1-09-nfd-gallery-manifest) | `E1.1.unicode` | Filesystem Semantics | `deployment_latent` | 1200 |
16
+ | [`E1.1-10-nfd-shell-release-assets`](data/tasks/E1.1-10-nfd-shell-release-assets) | `E1.1.unicode` | Filesystem Semantics | `deployment_latent` | 1200 |
17
+ | [`E1.2-01-crlf-refund-report`](data/tasks/E1.2-01-crlf-refund-report) | `E1.2.line_ending` | System Conventions | `interactive_exposed` | 1200 |
18
+ | [`E1.2-02-crlf-alert-hook`](data/tasks/E1.2-02-crlf-alert-hook) | `E1.2.line_ending` | System Conventions | `deployment_latent` | 1200 |
19
+ | [`E2.1-01-noalias-lint-shebang`](data/tasks/E2.1-01-noalias-lint-shebang) | `E2.1.entry_name` | Language Runtime | `interactive_exposed` | 1200 |
20
+ | [`E2.1-02-pyold-isoz-sessions`](data/tasks/E2.1-02-pyold-isoz-sessions) | `E2.1.version` | Language Runtime | `interactive_exposed` | 1200 |
21
+ | [`E2.1-03-pyold-fsum-reconcile`](data/tasks/E2.1-03-pyold-fsum-reconcile) | `E2.1.version` | Language Runtime | `interactive_exposed` | 1200 |
22
+ | [`E2.1-04-py314-alias-pool`](data/tasks/E2.1-04-py314-alias-pool) | `E2.1.version` | Language Runtime | `interactive_exposed` | 1200 |
23
+ | [`E2.1-05-py313-imghdr-sniff`](data/tasks/E2.1-05-py313-imghdr-sniff) | `E2.1.version` | Language Runtime | `interactive_exposed` | 1200 |
24
+ | [`E2.2-01-nocc-crcmod-verify`](data/tasks/E2.2-01-nocc-crcmod-verify) | `E2.2.build_tools` | Dependencies & Packages | `interactive_exposed` | 1200 |
25
+ | [`E2.2-02-nocc-sdist-pin`](data/tasks/E2.2-02-nocc-sdist-pin) | `E2.2.build_tools` | Dependencies & Packages | `interactive_exposed` | 1200 |
26
+ | [`E2.2-03-mirror-pin-audit-names`](data/tasks/E2.2-03-mirror-pin-audit-names) | `E2.2.package_source` | Dependencies & Packages | `interactive_exposed` | 1200 |
27
+ | [`E2.2-04-unreach-outdated-report`](data/tasks/E2.2-04-unreach-outdated-report) | `E2.2.package_source` | Dependencies & Packages | `interactive_exposed` | 1200 |
28
+ | [`E2.2-05-unreach-autoinstall-xlsx`](data/tasks/E2.2-05-unreach-autoinstall-xlsx) | `E2.2.package_source` | Dependencies & Packages | `interactive_exposed` | 1200 |
29
+ | [`E2.2-06-depsabsent-yaml-overrides`](data/tasks/E2.2-06-depsabsent-yaml-overrides) | `E2.2.preinstalled` | Dependencies & Packages | `interactive_exposed` | 1200 |
30
+ | [`E2.2-07-depspartial-bom-regions`](data/tasks/E2.2-07-depspartial-bom-regions) | `E2.2.preinstalled` | Dependencies & Packages | `interactive_exposed` | 1200 |
31
+ | [`E2.2-08-depspartial-p95-latency`](data/tasks/E2.2-08-depspartial-p95-latency) | `E2.2.preinstalled` | Dependencies & Packages | `interactive_exposed` | 1200 |
32
+ | [`E2.3-01-mksh-bundle-budget`](data/tasks/E2.3-01-mksh-bundle-budget) | `E2.3.shell` | System Toolchain & Shell | `interactive_exposed` | 1200 |
33
+ | [`E2.3-02-mksh-release-notes`](data/tasks/E2.3-02-mksh-release-notes) | `E2.3.shell` | System Toolchain & Shell | `interactive_exposed` | 1200 |
34
+ | [`E2.3-03-dash-echo-index`](data/tasks/E2.3-03-dash-echo-index) | `E2.3.shell` | System Toolchain & Shell | `interactive_exposed` | 1200 |
35
+ | [`E2.3-04-dash-subject-length`](data/tasks/E2.3-04-dash-subject-length) | `E2.3.shell` | System Toolchain & Shell | `interactive_exposed` | 1200 |
36
+ | [`E2.3-05-toybox-perf-slowest`](data/tasks/E2.3-05-toybox-perf-slowest) | `E2.3.toolchain` | System Toolchain & Shell | `interactive_exposed` | 1200 |
37
+ | [`E2.3-06-toybox-crm-normalize`](data/tasks/E2.3-06-toybox-crm-normalize) | `E2.3.toolchain` | System Toolchain & Shell | `interactive_exposed` | 1200 |
38
+ | [`E2.3-07-bb-awk-egress`](data/tasks/E2.3-07-bb-awk-egress) | `E2.3.toolchain` | System Toolchain & Shell | `interactive_exposed` | 1200 |
39
+ | [`E2.3-08-bb-grep-feed`](data/tasks/E2.3-08-bb-grep-feed) | `E2.3.toolchain` | System Toolchain & Shell | `interactive_exposed` | 1200 |
40
+ | [`E2.3-09-bb-date-sessions`](data/tasks/E2.3-09-bb-date-sessions) | `E2.3.toolchain` | System Toolchain & Shell | `interactive_exposed` | 1200 |
41
+ | [`E2.4-01-ff-beacon-tagcheck`](data/tasks/E2.4-01-ff-beacon-tagcheck) | `E2.4.browser_engine` | Browser Engine | `interactive_exposed` | 1200 |
42
+ | [`E2.4-02-wk-dateparse-incidents`](data/tasks/E2.4-02-wk-dateparse-incidents) | `E2.4.browser_engine` | Browser Engine | `interactive_exposed` | 1200 |
43
+ | [`E3.1-01-gbk-ticket-digest`](data/tasks/E3.1-01-gbk-ticket-digest) | `E3.1.encoding` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
44
+ | [`E3.1-02-gbk-git-relnotes`](data/tasks/E3.1-02-gbk-git-relnotes) | `E3.1.encoding` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
45
+ | [`E3.1-03-gbk-bank-batch`](data/tasks/E3.1-03-gbk-bank-batch) | `E3.1.encoding` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
46
+ | [`E3.1-04-big5-fsenc-manifest`](data/tasks/E3.1-04-big5-fsenc-manifest) | `E3.1.encoding` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
47
+ | [`E3.1-05-big5-iconv-sepa`](data/tasks/E3.1-05-big5-iconv-sepa) | `E3.1.encoding` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
48
+ | [`E3.1-06-collate-bisect-lookup`](data/tasks/E3.1-06-collate-bisect-lookup) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
49
+ | [`E3.1-07-collate-latest-backup`](data/tasks/E3.1-07-collate-latest-backup) | `E3.1.locale` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
50
+ | [`E3.1-08-numeric-mawk-hours`](data/tasks/E3.1-08-numeric-mawk-hours) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
51
+ | [`E3.1-09-numeric-sort-topn`](data/tasks/E3.1-09-numeric-sort-topn) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
52
+ | [`E3.1-10-numeric-java-qty`](data/tasks/E3.1-10-numeric-java-qty) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
53
+ | [`E3.1-11-tr-java-config`](data/tasks/E3.1-11-tr-java-config) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
54
+ | [`E3.1-12-tr-bash-loglevel`](data/tasks/E3.1-12-tr-bash-loglevel) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
55
+ | [`E3.1-13-tr-grep-authreport`](data/tasks/E3.1-13-tr-grep-authreport) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
56
+ | [`E3.1-14-time-strptime-accesslog`](data/tasks/E3.1-14-time-strptime-accesslog) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
57
+ | [`E3.1-15-time-date-monthabbr`](data/tasks/E3.1-15-time-date-monthabbr) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
58
+ | [`E3.1-16-time-weekday-settle`](data/tasks/E3.1-16-time-weekday-settle) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
59
+ | [`E3.1-17-collate-lt-shardroute`](data/tasks/E3.1-17-collate-lt-shardroute) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
60
+ | [`E3.1-18-numeric-grouping-metrics`](data/tasks/E3.1-18-numeric-grouping-metrics) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
61
+ | [`E3.1-19-zhcn-sortm-authmerge`](data/tasks/E3.1-19-zhcn-sortm-authmerge) | `E3.1.locale` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
62
+ | [`E3.1-20-zhcn-range-nslabels`](data/tasks/E3.1-20-zhcn-range-nslabels) | `E3.1.locale` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
63
+ | [`E3.1-21-cron-locale-labels`](data/tasks/E3.1-21-cron-locale-labels) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
64
+ | [`E3.1-22-locale-join`](data/tasks/E3.1-22-locale-join) | `E3.1.locale` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
65
+ | [`E3.1-23-emptytz-till-roundtrip`](data/tasks/E3.1-23-emptytz-till-roundtrip) | `E3.1.timezone` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
66
+ | [`E3.1-24-user-tz-meeting`](data/tasks/E3.1-24-user-tz-meeting) | `E3.1.timezone` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
67
+ | [`E3.1-25-yesterday-report`](data/tasks/E3.1-25-yesterday-report) | `E3.1.timezone` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
68
+ | [`E3.1-26-dst-session-billing`](data/tasks/E3.1-26-dst-session-billing) | `E3.1.timezone` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
69
+ | [`E3.1-27-dst-hourly-rollup`](data/tasks/E3.1-27-dst-hourly-rollup) | `E3.1.timezone` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
70
+ | [`E3.1-28-dst-meter-localize`](data/tasks/E3.1-28-dst-meter-localize) | `E3.1.timezone` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
71
+ | [`E3.1-29-halfhour-log-localtime`](data/tasks/E3.1-29-halfhour-log-localtime) | `E3.1.timezone` | Locale, Encoding & Timezone | `deployment_latent` | 1200 |
72
+ | [`E3.1-30-halfhour-daily-gawk`](data/tasks/E3.1-30-halfhour-daily-gawk) | `E3.1.timezone` | Locale, Encoding & Timezone | `interactive_exposed` | 1200 |
73
+ | [`E3.1-31-halfhour-quiet-hours-java`](data/tasks/E3.1-31-halfhour-quiet-hours-java) | `E3.1.timezone` | Locale, Encoding & Timezone | `deployment_latent` | 1500 |
74
+ | [`E3.2-01-envmin-shell-plan`](data/tasks/E3.2-01-envmin-shell-plan) | `E3.2.env_inherit` | Process Context | `interactive_exposed` | 1200 |
75
+ | [`E3.2-02-envmin-tz-metering`](data/tasks/E3.2-02-envmin-tz-metering) | `E3.2.env_inherit` | Process Context | `interactive_exposed` | 1200 |
76
+ | [`E3.2-03-envpure-childpy-ingest`](data/tasks/E3.2-03-envpure-childpy-ingest) | `E3.2.env_inherit` | Process Context | `interactive_exposed` | 1200 |
77
+ | [`E3.2-04-envpure-home-netcfg`](data/tasks/E3.2-04-envpure-home-netcfg) | `E3.2.env_inherit` | Process Context | `interactive_exposed` | 1200 |
78
+ | [`E3.2-05-cron-path-report`](data/tasks/E3.2-05-cron-path-report) | `E3.2.env_inherit` | Process Context | `deployment_latent` | 1200 |
79
+ | [`E3.2-06-shared-checkout-relnotes`](data/tasks/E3.2-06-shared-checkout-relnotes) | `E3.2.identity` | Process Context | `deployment_latent` | 1200 |
80
+ | [`E3.2-07-nonroot-hardlink-store`](data/tasks/E3.2-07-nonroot-hardlink-store) | `E3.2.identity` | Process Context | `deployment_latent` | 1200 |
81
+ | [`E3.2-08-foreign-owned-output`](data/tasks/E3.2-08-foreign-owned-output) | `E3.2.identity` | Process Context | `deployment_latent` | 1200 |
82
+ | [`E3.2-09-root-dac-pinned`](data/tasks/E3.2-09-root-dac-pinned) | `E3.2.identity` | Process Context | `deployment_latent` | 1200 |
83
+ | [`E3.2-10-git-owner-ci`](data/tasks/E3.2-10-git-owner-ci) | `E3.2.identity` | Process Context | `interactive_exposed` | 1200 |
84
+ | [`E3.2-11-pty-merge-autoedit`](data/tasks/E3.2-11-pty-merge-autoedit) | `E3.2.tty` | Process Context | `interactive_exposed` | 1200 |
85
+ | [`E3.2-12-umask-nested-publish`](data/tasks/E3.2-12-umask-nested-publish) | `E3.2.umask` | Process Context | `deployment_latent` | 1200 |
86
+ | [`E4.1-01-noexec-etl-transform`](data/tasks/E4.1-01-noexec-etl-transform) | `E4.1.mount` | Permissions & Mounts | `deployment_latent` | 1200 |
87
+ | [`E4.1-02-noexec-native-scan`](data/tasks/E4.1-02-noexec-native-scan) | `E4.1.mount` | Permissions & Mounts | `deployment_latent` | 1200 |
88
+ | [`E4.1-03-xdev-spool-archive`](data/tasks/E4.1-03-xdev-spool-archive) | `E4.1.mount` | Permissions & Mounts | `deployment_latent` | 1200 |
89
+ | [`E4.1-04-readonly-fx-cache`](data/tasks/E4.1-04-readonly-fx-cache) | `E4.1.permissions` | Permissions & Mounts | `deployment_latent` | 1200 |
90
+ | [`E4.1-05-readonly-rotated-logs`](data/tasks/E4.1-05-readonly-rotated-logs) | `E4.1.permissions` | Permissions & Mounts | `deployment_latent` | 1200 |
91
+ | [`E4.1-06-readonly-xlsx-import`](data/tasks/E4.1-06-readonly-xlsx-import) | `E4.1.permissions` | Permissions & Mounts | `interactive_exposed` | 1500 |
92
+ | [`E4.1-07-caps-icmp-netcheck`](data/tasks/E4.1-07-caps-icmp-netcheck) | `E4.1.permissions` | Permissions & Mounts | `interactive_exposed` | 1200 |
93
+ | [`E4.1-08-caps-foreign-docroot-prune`](data/tasks/E4.1-08-caps-foreign-docroot-prune) | `E4.1.permissions` | Permissions & Mounts | `deployment_latent` | 1200 |
94
+ | [`E4.1-09-readonly-drop-ranking`](data/tasks/E4.1-09-readonly-drop-ranking) | `E4.1.permissions` | Permissions & Mounts | `deployment_latent` | 1200 |
95
+ | [`E4.2-01-dns-ipcheck-online`](data/tasks/E4.2-01-dns-ipcheck-online) | `E4.2.dns` | Network Boundaries | `interactive_exposed` | 1200 |
96
+ | [`E4.2-02-resolver-java-url-equals`](data/tasks/E4.2-02-resolver-java-url-equals) | `E4.2.dns` | Network Boundaries | `interactive_exposed` | 1200 |
97
+ | [`E4.2-03-resolver-linkcheck-nxdomain`](data/tasks/E4.2-03-resolver-linkcheck-nxdomain) | `E4.2.dns` | Network Boundaries | `interactive_exposed` | 1200 |
98
+ | [`E4.2-04-allowlist-gh-archive-dep`](data/tasks/E4.2-04-allowlist-gh-archive-dep) | `E4.2.egress` | Network Boundaries | `interactive_exposed` | 1200 |
99
+ | [`E4.2-05-allowlist-enrich-hang`](data/tasks/E4.2-05-allowlist-enrich-hang) | `E4.2.egress` | Network Boundaries | `interactive_exposed` | 1200 |
100
+ | [`E4.2-06-proxy-java-notice`](data/tasks/E4.2-06-proxy-java-notice) | `E4.2.egress` | Network Boundaries | `deployment_latent` | 1200 |
101
+ | [`E4.2-07-proxy-precheck-yanked`](data/tasks/E4.2-07-proxy-precheck-yanked) | `E4.2.egress` | Network Boundaries | `interactive_exposed` | 1200 |
102
+ | [`E4.2-08-mirror-uv-index`](data/tasks/E4.2-08-mirror-uv-index) | `E4.2.egress` | Network Boundaries | `interactive_exposed` | 1200 |
103
+ | [`E4.2-09-mirror-hashlock-jsonapi`](data/tasks/E4.2-09-mirror-hashlock-jsonapi) | `E4.2.egress` | Network Boundaries | `interactive_exposed` | 1200 |
104
+ | [`E4.2-10-readonly-git-smart-http`](data/tasks/E4.2-10-readonly-git-smart-http) | `E4.2.http_methods` | Network Boundaries | `interactive_exposed` | 1200 |
105
+ | [`E4.2-11-readonly-batch-post-lookup`](data/tasks/E4.2-11-readonly-batch-post-lookup) | `E4.2.http_methods` | Network Boundaries | `interactive_exposed` | 1200 |
106
+ | [`E4.3-01-future-entitlement-allowlist`](data/tasks/E4.3-01-future-entitlement-allowlist) | `E4.3.clock` | Clock Skew | `interactive_exposed` | 1200 |
107
+ | [`E4.3-02-skew-token-refresh`](data/tasks/E4.3-02-skew-token-refresh) | `E4.3.clock` | Clock Skew | `interactive_exposed` | 1500 |
108
+ | [`E4.3-03-skew-http-cache`](data/tasks/E4.3-03-skew-http-cache) | `E4.3.clock` | Clock Skew | `interactive_exposed` | 1200 |
109
+ | [`E4.3-04-frozen-poll-deadline`](data/tasks/E4.3-04-frozen-poll-deadline) | `E4.3.clock` | Clock Skew | `interactive_exposed` | 1500 |
110
+ | [`E4.3-05-frozen-lww-flags`](data/tasks/E4.3-05-frozen-lww-flags) | `E4.3.clock` | Clock Skew | `interactive_exposed` | 1200 |
111
+ | [`E4.4-01-setuponly-anon-tickets`](data/tasks/E4.4-01-setuponly-anon-tickets) | `E4.4.secret_visibility` | Credential Visibility | `deployment_latent` | 1200 |
112
+ | [`E4.4-02-setuponly-ratelimit-export`](data/tasks/E4.4-02-setuponly-ratelimit-export) | `E4.4.secret_visibility` | Credential Visibility | `deployment_latent` | 1200 |
113
+ | [`E4.4-03-placeholder-hmac-bulk`](data/tasks/E4.4-03-placeholder-hmac-bulk) | `E4.4.secret_visibility` | Credential Visibility | `deployment_latent` | 1200 |
114
+ | [`E4.5-01-overcommit-reach-approx`](data/tasks/E4.5-01-overcommit-reach-approx) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
115
+ | [`E4.5-02-overcommit-bash-logtriage`](data/tasks/E4.5-02-overcommit-bash-logtriage) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
116
+ | [`E4.5-03-hardkill-shard-defer`](data/tasks/E4.5-03-hardkill-shard-defer) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
117
+ | [`E4.5-04-hardkill-awk-dedup-window`](data/tasks/E4.5-04-hardkill-awk-dedup-window) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
118
+ | [`E4.5-05-fsize-staging-split`](data/tasks/E4.5-05-fsize-staging-split) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
119
+ | [`E4.5-06-argmax-inbox-digest`](data/tasks/E4.5-06-argmax-inbox-digest) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
120
+ | [`E4.5-07-nofile-station-files`](data/tasks/E4.5-07-nofile-station-files) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
121
+ | [`E4.5-08-memory-cap-usage-report`](data/tasks/E4.5-08-memory-cap-usage-report) | `E4.5.limit_enforcement` | Resource Limit Enforcement | `deployment_latent` | 1200 |
122
+ | [`E5.1-01-stale-bytecode-tariff`](data/tasks/E5.1-01-stale-bytecode-tariff) | `E5.1.residual` | Platform Residuals | `deployment_latent` | 1200 |
123
+ | [`E5.2-01-flaky-503-shipments`](data/tasks/E5.2-01-flaky-503-shipments) | `E5.2.service_reliability` | External Service Reliability | `deployment_latent` | 1200 |
assets/banner.png ADDED

Git LFS Details

  • SHA256: 34c5478ce6c8ad8d40a4ab80fd872fcfe1195fd55431d5f2aa77f57b0ca18543
  • Pointer size: 131 Bytes
  • Size of remote file: 169 kB
assets/banner.svg ADDED
assets/banner_dark.png ADDED

Git LFS Details

  • SHA256: 671b8962343fd33c78b3f140a141744d5c9660d622f33886c84685cc47dad6d9
  • Pointer size: 131 Bytes
  • Size of remote file: 167 kB
assets/banner_dark.svg ADDED
assets/cost_pareto.png ADDED

Git LFS Details

  • SHA256: f92ff6907923e98c7f1f72c67014f8e436f3e20ce94751a48959cf86cd25911a
  • Pointer size: 131 Bytes
  • Size of remote file: 837 kB
assets/cost_pareto_web.png ADDED

Git LFS Details

  • SHA256: a6602dfc3d5c72e780e815fca6af66946037fa13bf0cc9752958ab4788acd5c9
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB
assets/exposure_leaderboard.png ADDED

Git LFS Details

  • SHA256: ceca9c631953301e8f2d0290fb90556660876c5650f015a7e3bd2bc877e19072
  • Pointer size: 131 Bytes
  • Size of remote file: 382 kB
assets/exposure_leaderboard_web.png ADDED

Git LFS Details

  • SHA256: 12457b1f9e0d35faeed2a7b6168481365feb84b242c006a7affb66de3a16a566
  • Pointer size: 131 Bytes
  • Size of remote file: 270 kB
assets/logo.png ADDED

Git LFS Details

  • SHA256: 37dec18c1e20cc136139f770c8969a9733199a91300a8d9398fd77847ff61060
  • Pointer size: 131 Bytes
  • Size of remote file: 209 kB
assets/logo.svg ADDED
assets/outcome_consistency.png ADDED

Git LFS Details

  • SHA256: 2e79468ef5711f472251f590906711bc414db606db01b9c81b727969f77307fc
  • Pointer size: 131 Bytes
  • Size of remote file: 599 kB
assets/outcome_consistency_web.png ADDED

Git LFS Details

  • SHA256: 8e65ce35b459f24c0d3fe96f8cf9cc1056bf7448049835a054d98216a5bf6bbe
  • Pointer size: 131 Bytes
  • Size of remote file: 254 kB
assets/overall_performance.png ADDED

Git LFS Details

  • SHA256: c1d943bd996dfba154f0f2b107cdf45cb6a764ca3202a2b278c9d716735c5cda
  • Pointer size: 131 Bytes
  • Size of remote file: 394 kB
assets/overall_performance_web.png ADDED

Git LFS Details

  • SHA256: d12ced3f1666e2cab4d5055513357356157321c7e9295e7416b96d505058fc63
  • Pointer size: 131 Bytes
  • Size of remote file: 241 kB
assets/recon_ablation.png ADDED

Git LFS Details

  • SHA256: c99ede2725f2be86dd75e9c8b03869e8a734a1732a41440c74a1f5bc2bb9dbd2
  • Pointer size: 131 Bytes
  • Size of remote file: 630 kB
assets/recon_ablation_web.png ADDED

Git LFS Details

  • SHA256: 51091fd0788fc3585e9c540808b2e11f3931877207c36d5fbfec5064dc964c5a
  • Pointer size: 131 Bytes
  • Size of remote file: 296 kB
assets/recon_effect.png ADDED

Git LFS Details

  • SHA256: 85b11ec341d778971b16a857a4ec34cd4536b2326fb22fb9bacea76ed976bbe8
  • Pointer size: 131 Bytes
  • Size of remote file: 482 kB
assets/recon_effect_web.png ADDED

Git LFS Details

  • SHA256: ef97ee9d4ab9bcaddc571c6dce38ad8bb49af1a13879f4cdd283c5dc3283cfc1
  • Pointer size: 131 Bytes
  • Size of remote file: 209 kB
assets/taxonomy_capability.png ADDED

Git LFS Details

  • SHA256: eeffc19a4790d91a035ed0bf31a61fe8d167f558bb108544cc05b3c56ea6d438
  • Pointer size: 131 Bytes
  • Size of remote file: 965 kB
assets/taxonomy_capability_web.png ADDED

Git LFS Details

  • SHA256: 4165d8a3e4640ee920ffcb4fff233ff82efc997674e83fac4247bec9f0d366b0
  • Pointer size: 131 Bytes
  • Size of remote file: 450 kB
data/environment-dimensions.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "benchmark": "TwinEnv-Bench",
3
+ "tasks": 117,
4
+ "task_environment_cells": 234,
5
+ "covered_layers": 5,
6
+ "covered_dimension_groups": 15,
7
+ "normalized_fine_dimensions": 31,
8
+ "exposure_counts": {
9
+ "deployment_latent": 58,
10
+ "interactive_exposed": 59
11
+ },
12
+ "layer_counts": {
13
+ "E1": 12,
14
+ "E2": 24,
15
+ "E3": 43,
16
+ "E4": 36,
17
+ "E5": 2
18
+ },
19
+ "dimension_group_counts": {
20
+ "E1.1": 10,
21
+ "E1.2": 2,
22
+ "E2.1": 5,
23
+ "E2.2": 8,
24
+ "E2.3": 9,
25
+ "E2.4": 2,
26
+ "E3.1": 31,
27
+ "E3.2": 12,
28
+ "E4.1": 9,
29
+ "E4.2": 11,
30
+ "E4.3": 5,
31
+ "E4.4": 3,
32
+ "E4.5": 8,
33
+ "E5.1": 1,
34
+ "E5.2": 1
35
+ },
36
+ "fine_dimension_counts": {
37
+ "E1.1.case": 2,
38
+ "E1.1.file_type": 1,
39
+ "E1.1.length": 1,
40
+ "E1.1.symlink": 4,
41
+ "E1.1.unicode": 2,
42
+ "E1.2.line_ending": 2,
43
+ "E2.1.entry_name": 1,
44
+ "E2.1.version": 4,
45
+ "E2.2.build_tools": 2,
46
+ "E2.2.package_source": 3,
47
+ "E2.2.preinstalled": 3,
48
+ "E2.3.shell": 4,
49
+ "E2.3.toolchain": 5,
50
+ "E2.4.browser_engine": 2,
51
+ "E3.1.encoding": 5,
52
+ "E3.1.locale": 17,
53
+ "E3.1.timezone": 9,
54
+ "E3.2.env_inherit": 5,
55
+ "E3.2.identity": 5,
56
+ "E3.2.tty": 1,
57
+ "E3.2.umask": 1,
58
+ "E4.1.mount": 3,
59
+ "E4.1.permissions": 6,
60
+ "E4.2.dns": 3,
61
+ "E4.2.egress": 6,
62
+ "E4.2.http_methods": 2,
63
+ "E4.3.clock": 5,
64
+ "E4.4.secret_visibility": 3,
65
+ "E4.5.limit_enforcement": 8,
66
+ "E5.1.residual": 1,
67
+ "E5.2.service_reliability": 1
68
+ },
69
+ "sandbox_configs": {
70
+ "named_variants": 54,
71
+ "baseline_configs": 1,
72
+ "named_total": 55,
73
+ "named_target_variants_used": 27,
74
+ "tasks_using_named_target_variants": 45,
75
+ "task_defined_environment_tasks": 72,
76
+ "task_environment_pairs": 234
77
+ }
78
+ }
data/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
data/tasks.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/tasks.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d6b14e707c8806b39f779baeba5c559bd0d6dc79ac310f0cc5be509885a25f
3
+ size 4898188
eval.yaml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: "TwinEnv-Bench"
2
+ description: >
3
+ TwinEnv-Bench is a controlled counterfactual benchmark of 117 scripting, systems,
4
+ and data-engineering tasks (234 paired base/target cells) spanning a five-layer
5
+ operating-system taxonomy (E1-E5) and two shift observability regimes
6
+ (59 interactive-exposed vs. 58 deployment-latent). Each task holds instructions,
7
+ initial workspaces, and host-isolated verifiers identical across a standard
8
+ greenhouse container (base) and a single-variable shifted sandbox (target).
9
+ evaluation_framework: harbor
10
+
11
+ tasks:
12
+ - id: twinenv_bench_target_pass1
13
+ config: default
14
+ split: test
15
+ - id: twinenv_bench_exposed_pass1
16
+ config: default
17
+ split: test
18
+ - id: twinenv_bench_latent_pass1
19
+ config: default
20
+ split: test
21
+ - id: twinenv_bench_target_pass3
22
+ config: default
23
+ split: test
24
+ - id: twinenv_bench_base_pass1
25
+ config: default
26
+ split: test