Datasets:
File size: 2,741 Bytes
21e19b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | ---
license: cc-by-sa-4.0
language: en
pretty_name: Sedweave Real Questions
size_categories:
- n<1K
task_categories:
- text-generation
tags:
- sed
- code-generation
- text-to-code
- execution-verified
- stackoverflow
configs:
- config_name: default
data_files:
- split: test
path: data/test.jsonl
---
# Sedweave Real Questions
A held-out natural-language-to-`sed` evaluation set derived from highly voted Stack Overflow questions and accepted answers. It tests whether Sedweave generalizes beyond the phrasing and task distribution of its synthetic training data.
## Contents
- 42 manually reviewed tasks from 42 unique source questions.
- Two different representative inputs per task, with actual outputs from both.
- Every task is in the `test` split; no paraphrases or training rows are included.
- Zero input-text or request/command overlap with `asterbraid/sedweave-data`.
Every reference command was executed on both inputs with `/usr/bin/sed (GNU sed) 4.9`: **84 successful executions, 0 errors**. Commands start with `sed`, read one stream on stdin, and avoid filenames, in-place edits, file commands, pipelines, and shell execution. Some authentic solutions use GNU `sed` extensions.
## Source and attribution
Each row includes `question_url`, `question_title`, `question_owner`, `answer_owner`, and `answer_id`. `ATTRIBUTION.md` lists every source. The `request` is a self-contained instruction derived from the question and accepted answer; `command` is an executable solution. Request-to-command intent was manually reviewed in addition to execution verification.
```python
from datasets import load_dataset
ds = load_dataset("asterbraid/sedweave-so-data", split="test")
print(ds[0])
```
## Public model evaluation
Greedy generation with `asterbraid/sedweave-0.5b`; one prediction per task. Valid means the generated command executes. Correct requires exact expected output on both inputs, with only trailing special tokens removed.
| Model | Valid | Correct |
| --- | ---: | ---: |
| Sedweave 0.5B | 71.4% (30/42) | 23.8% (10/42) |
Full predictions and the summary are included under `evaluation/`.
## Limitations
This is a small, high-vote sample, not a representative benchmark of all `sed` use. Tasks were selected for compatibility with single-stream input and the safety guard. Exact outputs on two synthetic representative inputs do not prove correctness on every possible input. Some requests or commands may be ambiguous outside their original context.
## License
Original Stack Overflow content and these derived rows are **CC BY-SA 4.0**. See `SO_DATASET_LICENSE.txt` and `ATTRIBUTION.md`. Included collection, conversion, review, and validation code is Apache-2.0.
|