sedweave-so-data / README.md
asterbraid's picture
Sedweave: 42 reviewed real Stack Overflow tasks with held-out model evaluation
21e19b0 verified
|
Raw History Blame Contribute Delete
2.74 kB
metadata
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.

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.