DEAL-WS / README.md
trxcc2002's picture
Publish SRE-DEAL tasks, resource bundles and evaluation metadata
809828d verified
|
Raw History Blame Contribute Delete
3.27 kB
---
configs:
- config_name: default
data_files:
- split: train
path: data/train.parquet
- split: test
path: data/test.parquet
- config_name: evaluation
data_files:
- split: train
path: evaluation/train.parquet
- split: test
path: evaluation/test.parquet
tags:
- sre-deal
- agent
- self-reward
---
# DEAL-WS
SRE-DEAL task dataset. The original split is preserved: **2000 train / 200 test**. The source split named `eval` is exposed as HF `test`.
The default configuration contains task inputs and resource references. The separate `evaluation` configuration contains grading rubrics/contracts and references to evaluation resources. Do not pass evaluation rows or evaluator archives to the solving agent.
```python
from datasets import load_dataset
tasks = load_dataset("parquet", data_files={"train": "data/train.parquet", "test": "data/test.parquet"})
# Load directly from Hugging Face:
tasks = load_dataset("trxcc2002/DEAL-WS")
grading = load_dataset("trxcc2002/DEAL-WS", "evaluation")
```
## Workspace dependency
The workspaces are referenced from [Workspace-Bench/Workspace-Bench-Workspaces](https://huggingface.co/datasets/Workspace-Bench/Workspace-Bench-Workspaces). The exact upstream filename is **`filesys_en.zip`** (underscore), 18,721,947,868 bytes. It is not duplicated here. The revision and SHA-256 are pinned in `workspace-reference.json`.
Pass `--workspace-zip /path/to/filesys_en.zip` to `prepare_task.py`. It extracts the complete persona workspace, then overlays the task tools from the support archive. Original names such as `yunying_raw` are mapped to upstream names such as `OperationsManager_Workdir`; see `workspace-reference.json`.
All 3,876 required-file references across 2,200 tasks match the pinned ZIP directory. Five source files, one per persona, also match the original recorded SHA-256 values. Full file-byte equality for all inputs has not been checked. Train/test share persona workspaces and 87 scenario IDs; source task IDs, parent task IDs, and split-group IDs do not overlap. This is not an unseen-workspace split.
`evaluation/*.parquet` stores rubrics and output contracts. The packaged `check.py` only checks output contracts; semantic scoring requires the external evaluator.
## Prepare a task workspace
`prepare_task.py` materializes input files without running any task or evaluator code. Evaluation materials are extracted separately only when `--include-evaluation` is passed.
```bash
python prepare_task.py --split test --task-id TASK_ID --output ./prepared
```
The agent workspace is `prepared/workspace/`; evaluator resources, if requested, are placed in `prepared/evaluation/`. `prepared/task.json` contains the task prompt and resource references. Install `pyarrow` to use this helper.
## Provenance and checks
`validation.json` records counts, split checks and resource checks. `SHA256SUMS.json` records release file hashes. Original task instructions are preserved. Private backup manifests and internal absolute source paths are not used as dataset columns.
This dataset is part of [SRE-DEAL](https://huggingface.co/collections/trxcc2002/sre-deal). Source evidence retains its original notices; this packaging does not assign a new license to third-party materials.