FWeindel commited on
Commit
a1cd078
·
verified ·
1 Parent(s): b670781

Add FACET-Terminal (5,925 validated tasks, 95 archived)

Browse files
facet_v1/README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # [FACET-Terminal](https://huggingface.co/datasets/FACET-Terminal/FACET-Terminal-Tasks-6k)
2
+
3
+ ## Dataset stats
4
+
5
+ - **Original tasks:** 6,020
6
+ - **Kept:** 5,925
7
+ - **Changed:** 5,925
8
+ - **Archived:** 95
9
+ - **Images:** 6,020 original (one build context per task); 3,059 now: 103 shared toolchain images for 2,969 tasks and one image each for the other 2,956.
10
+
11
+ ## Dataset characteristics
12
+
13
+ [FACET](https://arxiv.org/abs/2608.18580) synthesizes terminal tasks.
14
+
15
+ <details><summary>Domains</summary>
16
+
17
+ **Data Processing:** read 9 to 15 mixed fixture files (JSON, YAML, logs, JSONL, Markdown, PDF, DOCX, MP4), reconcile them and write a report with strictly specified keys and order. **File Operations:** extract text from PDFs, move files, update indexes in place and leave inputs unmodified.
18
+
19
+ </details>
20
+ <details><summary>Capabilities</summary>
21
+
22
+ **Specification Adherence:** long instructions with exact key sets, enum strings, path rules and cross-file consistency, checked by 20 to 30 tests per task. **Exploration:** instructions sometimes name fields differently from the fixtures, so the agent has to inspect the files before mapping them. Labels follow [CLI-Universe](https://arxiv.org/abs/2606.22883v1).
23
+
24
+ </details>
25
+
26
+ Intended benchmark transfer: **Terminal-Bench 2.0, OpenThoughts-TBLite 2.0 and Harbor-Index**, through the same Harbor task layout, shell and Python data handling and exact output files under executable verification.
27
+
28
+ ## Per-stage breakdown
29
+
30
+ - **Build and setup: 5,925 changed, 21 archived.** 1,822 tasks copied build scripts to `/tmp` and ran them in a later step, but Apptainer covers `/tmp` with the host's during the build, so the scripts were gone; they are now copied to their own directory. 347 tasks had build steps where Docker continues past a failing command (for example a `chmod` on a missing file) but Apptainer stops; these steps now behave as in Docker. 2,969 tasks share 103 toolchain images, and their own files and fixture steps run unchanged at container start. The verifier's test tools (uv, pytest) are installed in the image instead of downloaded at every verification. Archived: 19 upstream images that fail to build under Docker too, and 2 font packages that change file ownership to a group our Apptainers do not have.
31
+ - **No-op baseline (reward 0): 1 changed, 0 archived.** Removed a verifier's early exit that skipped the tests.
32
+ - **Reference solution (reward 1): 286 changed, 20 archived.** Repairs: LibreOffice launch so it finds its own libraries (267), missing tools installed (12), PDF temporary files written next to the output (3), more CPU, memory or time after measuring (7). Archived: 15 references fail their own tests, 2 tests need file permissions our runtime does not keep, 1 test pins an archive size that differs between machines, 1 reference needs an online speech service, 1 task has conflicting input files.
33
+ - **Rule-based checks: 296 changed, 54 archived.** The path resolver made 934 relative paths absolute in 296 instructions. 215 kept tasks keep advisory path warnings; a random sample of 50 showed only intended relative mentions: values the output must contain (34), references to files named in full elsewhere or relative to a stated directory (10), required relative links (4) and two names that are not paths. Archived: tests require files the instruction does not name. Every instruction also ends with "You have N seconds to complete this task. Do not cheat by using online solutions or hints specific to this task." (N is the agent timeout); this sentence is not counted as a change.
34
+
35
+ ## Runtime and validation time
36
+
37
+ - **Versions:** Apptainer **1.5.4**, Python **3.12.14**, Harbor **0.8.1**.
38
+ - **Implementation:** [Marin Harbor `7faf878c14b6`](https://github.com/marin-community/harbor/tree/7faf878c14b6d72737579ec936ebf5f74ba3194d) + [our runtime patches](https://github.com/MLI-lab/OT-next-data/tree/main/harbor_patches).
39
+ - **Resources:** Helma; **48 CPU cores, 128 GiB RAM per job**, 8 concurrent tasks; image building uses **4 CPU cores and 8 GiB RAM per image**.
40
+
41
+ | Check | Median per task | Tasks measured |
42
+ | --- | ---: | ---: |
43
+ | Rule-based checks | **0.2 s** | 5,925 |
44
+ | Build and setup | **13.8 s** | 5,925 |
45
+ | Reference solution | **11.3 s** | 5,925 |
46
+ | No-op baseline | **10.6 s** | 5,925 |
47
+
facet_v1/archive.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e42c78db4a4bcf394827d217ad9a5b4d00437967303707be523242a47105f512
3
+ size 2604628
facet_v1/patch.py ADDED
The diff for this file is too large to render. See raw diff
 
facet_v1/tasks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68ed8cff2e65ffccb917b138c3d09ca86ad9c18737e07d438452e8de813ae948
3
+ size 158407705