Datasets:
Upload folder using huggingface_hub
Browse files- .gitattributes +7 -0
- GENERATION.json +85 -0
- README.md +71 -26
- apienv/dedeucerl_apienv_n7_e7_b200_train.json +3 -0
- apienv/hf_apienv_n7_e7_b200_train.jsonl +3 -0
- exprpolicy/dedeucerl_exprpolicy_b60_test.json +0 -0
- exprpolicy/dedeucerl_exprpolicy_b60_train.json +3 -0
- exprpolicy/hf_exprpolicy_b60_test.jsonl +0 -0
- exprpolicy/hf_exprpolicy_b60_train.jsonl +3 -0
- mealy/dedeucerl_mealy_n4_b100_train.json +3 -0
- mealy/hf_mealy_n4_b100_train.jsonl +0 -0
- protocol/dedeucerl_protocol_n4_e5_b120_train.json +3 -0
- protocol/hf_protocol_n4_e5_b120_train.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
apienv/dedeucerl_apienv_n7_e7_b200_train.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
apienv/hf_apienv_n7_e7_b200_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
exprpolicy/dedeucerl_exprpolicy_b60_train.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
exprpolicy/hf_exprpolicy_b60_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
mealy/dedeucerl_mealy_n4_b100_train.json filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
protocol/dedeucerl_protocol_n4_e5_b120_train.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
protocol/hf_protocol_n4_e5_b120_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
GENERATION.json
CHANGED
|
@@ -1,24 +1,109 @@
|
|
| 1 |
{
|
| 2 |
"format": "DedeuceRL HF export",
|
| 3 |
"note": "HF_DATA is local-only and gitignored. Upload hf_*.jsonl to Hugging Face dataset repo.",
|
|
|
|
| 4 |
"splits": [
|
| 5 |
{
|
| 6 |
"skin": "mealy",
|
| 7 |
"subset": "test",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"split_path": "HF_DATA/mealy/dedeucerl_mealy_n4_b100_test.json",
|
| 9 |
"hf_jsonl": "HF_DATA/mealy/hf_mealy_n4_b100_test.jsonl"
|
| 10 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
{
|
| 12 |
"skin": "protocol",
|
| 13 |
"subset": "test",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"split_path": "HF_DATA/protocol/dedeucerl_protocol_n4_e5_b120_test.json",
|
| 15 |
"hf_jsonl": "HF_DATA/protocol/hf_protocol_n4_e5_b120_test.jsonl"
|
| 16 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
{
|
| 18 |
"skin": "apienv",
|
| 19 |
"subset": "test",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"split_path": "HF_DATA/apienv/dedeucerl_apienv_n7_e7_b200_test.json",
|
| 21 |
"hf_jsonl": "HF_DATA/apienv/hf_apienv_n7_e7_b200_test.jsonl"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
]
|
| 24 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"format": "DedeuceRL HF export",
|
| 3 |
"note": "HF_DATA is local-only and gitignored. Upload hf_*.jsonl to Hugging Face dataset repo.",
|
| 4 |
+
"generated_at": "2025-01-29",
|
| 5 |
"splits": [
|
| 6 |
{
|
| 7 |
"skin": "mealy",
|
| 8 |
"subset": "test",
|
| 9 |
+
"seeds": "0-99",
|
| 10 |
+
"params": {
|
| 11 |
+
"n_states": 4,
|
| 12 |
+
"budget": 100,
|
| 13 |
+
"trap": false
|
| 14 |
+
},
|
| 15 |
"split_path": "HF_DATA/mealy/dedeucerl_mealy_n4_b100_test.json",
|
| 16 |
"hf_jsonl": "HF_DATA/mealy/hf_mealy_n4_b100_test.jsonl"
|
| 17 |
},
|
| 18 |
+
{
|
| 19 |
+
"skin": "mealy",
|
| 20 |
+
"subset": "train",
|
| 21 |
+
"seeds": "100-10099",
|
| 22 |
+
"params": {
|
| 23 |
+
"n_states": 4,
|
| 24 |
+
"budget": 100,
|
| 25 |
+
"trap": false
|
| 26 |
+
},
|
| 27 |
+
"split_path": "HF_DATA/mealy/dedeucerl_mealy_n4_b100_train.json",
|
| 28 |
+
"hf_jsonl": "HF_DATA/mealy/hf_mealy_n4_b100_train.jsonl"
|
| 29 |
+
},
|
| 30 |
{
|
| 31 |
"skin": "protocol",
|
| 32 |
"subset": "test",
|
| 33 |
+
"seeds": "0-99",
|
| 34 |
+
"params": {
|
| 35 |
+
"n_endpoints": 5,
|
| 36 |
+
"n_states": 4,
|
| 37 |
+
"budget": 120,
|
| 38 |
+
"trap": false
|
| 39 |
+
},
|
| 40 |
"split_path": "HF_DATA/protocol/dedeucerl_protocol_n4_e5_b120_test.json",
|
| 41 |
"hf_jsonl": "HF_DATA/protocol/hf_protocol_n4_e5_b120_test.jsonl"
|
| 42 |
},
|
| 43 |
+
{
|
| 44 |
+
"skin": "protocol",
|
| 45 |
+
"subset": "train",
|
| 46 |
+
"seeds": "100-10099",
|
| 47 |
+
"params": {
|
| 48 |
+
"n_endpoints": 5,
|
| 49 |
+
"n_states": 4,
|
| 50 |
+
"budget": 120,
|
| 51 |
+
"trap": false
|
| 52 |
+
},
|
| 53 |
+
"split_path": "HF_DATA/protocol/dedeucerl_protocol_n4_e5_b120_train.json",
|
| 54 |
+
"hf_jsonl": "HF_DATA/protocol/hf_protocol_n4_e5_b120_train.jsonl"
|
| 55 |
+
},
|
| 56 |
{
|
| 57 |
"skin": "apienv",
|
| 58 |
"subset": "test",
|
| 59 |
+
"seeds": "0-99",
|
| 60 |
+
"params": {
|
| 61 |
+
"n_endpoints": 7,
|
| 62 |
+
"n_states": 7,
|
| 63 |
+
"budget": 200,
|
| 64 |
+
"trap": false
|
| 65 |
+
},
|
| 66 |
"split_path": "HF_DATA/apienv/dedeucerl_apienv_n7_e7_b200_test.json",
|
| 67 |
"hf_jsonl": "HF_DATA/apienv/hf_apienv_n7_e7_b200_test.jsonl"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"skin": "apienv",
|
| 71 |
+
"subset": "train",
|
| 72 |
+
"seeds": "100-10099",
|
| 73 |
+
"params": {
|
| 74 |
+
"n_endpoints": 7,
|
| 75 |
+
"n_states": 7,
|
| 76 |
+
"budget": 200,
|
| 77 |
+
"trap": false
|
| 78 |
+
},
|
| 79 |
+
"split_path": "HF_DATA/apienv/dedeucerl_apienv_n7_e7_b200_train.json",
|
| 80 |
+
"hf_jsonl": "HF_DATA/apienv/hf_apienv_n7_e7_b200_train.jsonl"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"skin": "exprpolicy",
|
| 84 |
+
"subset": "test",
|
| 85 |
+
"seeds": "0-99",
|
| 86 |
+
"params": {
|
| 87 |
+
"budget": 60,
|
| 88 |
+
"n_public": 8,
|
| 89 |
+
"n_hidden": 80,
|
| 90 |
+
"trap": false
|
| 91 |
+
},
|
| 92 |
+
"split_path": "HF_DATA/exprpolicy/dedeucerl_exprpolicy_b60_test.json",
|
| 93 |
+
"hf_jsonl": "HF_DATA/exprpolicy/hf_exprpolicy_b60_test.jsonl"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"skin": "exprpolicy",
|
| 97 |
+
"subset": "train",
|
| 98 |
+
"seeds": "100-10099",
|
| 99 |
+
"params": {
|
| 100 |
+
"budget": 60,
|
| 101 |
+
"n_public": 8,
|
| 102 |
+
"n_hidden": 80,
|
| 103 |
+
"trap": false
|
| 104 |
+
},
|
| 105 |
+
"split_path": "HF_DATA/exprpolicy/dedeucerl_exprpolicy_b60_train.json",
|
| 106 |
+
"hf_jsonl": "HF_DATA/exprpolicy/hf_exprpolicy_b60_train.jsonl"
|
| 107 |
}
|
| 108 |
]
|
| 109 |
}
|
README.md
CHANGED
|
@@ -7,67 +7,112 @@ tags:
|
|
| 7 |
- tool-calling
|
| 8 |
- synthetic
|
| 9 |
- verifiers
|
|
|
|
|
|
|
| 10 |
configs:
|
| 11 |
- config_name: mealy_n4_b100
|
| 12 |
data_files:
|
| 13 |
- split: test
|
| 14 |
path: "mealy/hf_mealy_n4_b100_test.jsonl"
|
|
|
|
|
|
|
| 15 |
- config_name: protocol_n4_e5_b120
|
| 16 |
data_files:
|
| 17 |
- split: test
|
| 18 |
path: "protocol/hf_protocol_n4_e5_b120_test.jsonl"
|
|
|
|
|
|
|
| 19 |
- config_name: apienv_n7_e7_b200
|
| 20 |
data_files:
|
| 21 |
- split: test
|
| 22 |
path: "apienv/hf_apienv_n7_e7_b200_test.jsonl"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
# DedeuceRL Splits
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
- Source
|
| 30 |
- License: MIT
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
##
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
| 39 |
-
- Use directly with `dedeucerl-eval --split ...`.
|
| 40 |
-
- `hf_*.jsonl`: Hugging Face friendly JSONL.
|
| 41 |
-
- One episode per line with keys: `skin`, `subset`, `seed`, `prompt`, `answer`.
|
| 42 |
-
- Compatible with `datasets.load_dataset()` and the HF dataset viewer.
|
| 43 |
|
| 44 |
-
##
|
|
|
|
|
|
|
| 45 |
|
| 46 |
```python
|
| 47 |
from datasets import load_dataset
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
```
|
| 52 |
|
| 53 |
-
#
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
|
| 57 |
```bash
|
| 58 |
dedeucerl-eval \
|
| 59 |
--skin mealy \
|
| 60 |
--split mealy/dedeucerl_mealy_n4_b100_test.json \
|
| 61 |
-
--model
|
| 62 |
--out results.jsonl
|
| 63 |
```
|
| 64 |
|
| 65 |
-
##
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
-
|
| 70 |
-
-
|
| 71 |
-
-
|
| 72 |
-
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
- tool-calling
|
| 8 |
- synthetic
|
| 9 |
- verifiers
|
| 10 |
+
- agents
|
| 11 |
+
- benchmark
|
| 12 |
configs:
|
| 13 |
- config_name: mealy_n4_b100
|
| 14 |
data_files:
|
| 15 |
- split: test
|
| 16 |
path: "mealy/hf_mealy_n4_b100_test.jsonl"
|
| 17 |
+
- split: train
|
| 18 |
+
path: "mealy/hf_mealy_n4_b100_train.jsonl"
|
| 19 |
- config_name: protocol_n4_e5_b120
|
| 20 |
data_files:
|
| 21 |
- split: test
|
| 22 |
path: "protocol/hf_protocol_n4_e5_b120_test.jsonl"
|
| 23 |
+
- split: train
|
| 24 |
+
path: "protocol/hf_protocol_n4_e5_b120_train.jsonl"
|
| 25 |
- config_name: apienv_n7_e7_b200
|
| 26 |
data_files:
|
| 27 |
- split: test
|
| 28 |
path: "apienv/hf_apienv_n7_e7_b200_test.jsonl"
|
| 29 |
+
- split: train
|
| 30 |
+
path: "apienv/hf_apienv_n7_e7_b200_train.jsonl"
|
| 31 |
+
- config_name: exprpolicy_b60
|
| 32 |
+
data_files:
|
| 33 |
+
- split: test
|
| 34 |
+
path: "exprpolicy/hf_exprpolicy_b60_test.jsonl"
|
| 35 |
+
- split: train
|
| 36 |
+
path: "exprpolicy/hf_exprpolicy_b60_train.jsonl"
|
| 37 |
---
|
| 38 |
|
| 39 |
# DedeuceRL Splits
|
| 40 |
|
| 41 |
+
Task splits for the DedeuceRL benchmark — a modular framework for active system identification and code debugging tasks.
|
| 42 |
|
| 43 |
+
- Source: https://github.com/AashVed/DedeuceRL
|
| 44 |
- License: MIT
|
| 45 |
|
| 46 |
+
## Skins
|
| 47 |
+
|
| 48 |
+
| Skin | Task | Description |
|
| 49 |
+
|------|------|-------------|
|
| 50 |
+
| **Mealy** | System Identification | Identify hidden Mealy machine (finite-state transducer) |
|
| 51 |
+
| **Protocol** | API Reverse Engineering | Discover state-dependent REST API behavior |
|
| 52 |
+
| **APIEnv** | SaaS API Identification | Realistic stateful SaaS API with variants |
|
| 53 |
+
| **ExprPolicy** | Code Debugging | Fix buggy typed policy DSL expression |
|
| 54 |
|
| 55 |
+
## Splits Summary
|
| 56 |
|
| 57 |
+
| Skin | Config | Test | Train |
|
| 58 |
+
|------|--------|------|-------|
|
| 59 |
+
| Mealy | n_states=4, budget=100 | 100 (0-99) | 10,000 (100-10099) |
|
| 60 |
+
| Protocol | n_endpoints=5, n_states=4, budget=120 | 100 (0-99) | 10,000 (100-10099) |
|
| 61 |
+
| APIEnv | n_endpoints=7, n_states=7, budget=200 | 100 (0-99) | 10,000 (100-10099) |
|
| 62 |
+
| ExprPolicy | budget=60, n_public=8, n_hidden=80 | 100 (0-99) | 10,000 (100-10099) |
|
| 63 |
|
| 64 |
+
All splits generated with `trap=False`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
### Load with HuggingFace Datasets
|
| 69 |
|
| 70 |
```python
|
| 71 |
from datasets import load_dataset
|
| 72 |
|
| 73 |
+
# Load Mealy training set
|
| 74 |
+
ds = load_dataset("comfortably-dumb/DedeuceRL", "mealy_n4_b100", split="train")
|
|
|
|
| 75 |
|
| 76 |
+
# Load ExprPolicy test set
|
| 77 |
+
ds_test = load_dataset("comfortably-dumb/DedeuceRL", "exprpolicy_b60", split="test")
|
| 78 |
+
```
|
| 79 |
|
| 80 |
+
### Run with DedeuceRL CLI
|
| 81 |
|
| 82 |
```bash
|
| 83 |
dedeucerl-eval \
|
| 84 |
--skin mealy \
|
| 85 |
--split mealy/dedeucerl_mealy_n4_b100_test.json \
|
| 86 |
+
--model openai:gpt-4o \
|
| 87 |
--out results.jsonl
|
| 88 |
```
|
| 89 |
|
| 90 |
+
## Schema
|
| 91 |
+
|
| 92 |
+
Each episode contains:
|
| 93 |
+
- `skin`: Environment type
|
| 94 |
+
- `subset`: Split name (`train`, `test`)
|
| 95 |
+
- `seed`: Reproducibility seed
|
| 96 |
+
- `prompt`: System + user messages for the agent
|
| 97 |
+
- `answer`: JSON-encoded ground truth
|
| 98 |
+
|
| 99 |
+
## Generation Parameters
|
| 100 |
+
|
| 101 |
+
| Skin | Parameters |
|
| 102 |
+
|------|------------|
|
| 103 |
+
| Mealy | `n_states=4`, `budget=100`, `trap=false` |
|
| 104 |
+
| Protocol | `n_endpoints=5`, `n_states=4`, `budget=120`, `trap=false` |
|
| 105 |
+
| APIEnv | `n_endpoints=7`, `n_states=7`, `budget=200`, `trap=false` |
|
| 106 |
+
| ExprPolicy | `budget=60`, `n_public=8`, `n_hidden=80`, `trap=false` |
|
| 107 |
+
|
| 108 |
+
## Citation
|
| 109 |
+
|
| 110 |
+
```bibtex
|
| 111 |
+
@software{dedeucerl2025,
|
| 112 |
+
title = {DedeuceRL: A Modular Framework for Active System Identification Benchmarks},
|
| 113 |
+
author = {Vedansh},
|
| 114 |
+
year = {2025},
|
| 115 |
+
url = {https://github.com/AashVed/DedeuceRL},
|
| 116 |
+
doi = {10.5281/zenodo.18280315}
|
| 117 |
+
}
|
| 118 |
+
```
|
apienv/dedeucerl_apienv_n7_e7_b200_train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0de3cb92ba6929e5efe8f15910af86637f91569493bd7a89639dc2450c4608d
|
| 3 |
+
size 209620458
|
apienv/hf_apienv_n7_e7_b200_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b2365323f7c0e1f4fbb2c10320bd6930fa29ad89de97464ca10329b25925099
|
| 3 |
+
size 60620339
|
exprpolicy/dedeucerl_exprpolicy_b60_test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exprpolicy/dedeucerl_exprpolicy_b60_train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7888b7e8c01443a8018059d636e13a5fa086bdef91be4776976411fc2a22d28
|
| 3 |
+
size 265390771
|
exprpolicy/hf_exprpolicy_b60_test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exprpolicy/hf_exprpolicy_b60_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9404661e189ecaf8e4005a5f0d875b7d67de7cbe5c7c03c433bc659f08afe30
|
| 3 |
+
size 155364310
|
mealy/dedeucerl_mealy_n4_b100_train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82435ee000e619a9469f4ba67bae944ef2329ea7e17471fceb40628e8f68def0
|
| 3 |
+
size 13539297
|
mealy/hf_mealy_n4_b100_train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
protocol/dedeucerl_protocol_n4_e5_b120_train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da286ad38b6543712389eab6209882e9be64a093bd274f8b29716725cda116ce
|
| 3 |
+
size 51279199
|
protocol/hf_protocol_n4_e5_b120_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d95e1ac9ef1410793e152c403efea097ded40365ce1a8a0117c2a3a0b9ceb9c
|
| 3 |
+
size 12827416
|