awkweave-so-data / README.md
asterbraid's picture
Expand to 49 unique real questions with 98 verified rows
00af1ab verified
|
Raw History Blame Contribute Delete
2.03 kB
metadata
license: cc-by-sa-4.0
language: en
pretty_name: Awkweave Real Questions
size_categories:
  - n<1K
task_categories:
  - text-generation
tags:
  - awk
  - code-generation
  - text-to-code
  - execution-verified
  - stackoverflow
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train.jsonl

Awkweave Real Questions

A small set of natural-language-to-awk tasks derived from highly voted Stack Overflow questions and accepted answers, used to reduce synthetic-phrasing bias in Awkweave.

Contents

  • 49 reviewed original tasks with unique source questions.
  • 42 accepted paraphrases and 7 guarded original-wording copies.
  • 98 rows total, all with two different input texts and actual outputs from both.

Every program was executed on both inputs with mawk 1.3.4 20200120: 196 successful executions, 0 errors. One unsuitable process-killing conversion was manually excluded. Programs are bare awk, read a single stream on stdin, and avoid files, pipelines, subprocesses, and output redirection.

Source and attribution

Each row includes question_url, question_title, question_owner, answer_owner, and answer_id. These fields identify the original authors and sources. ATTRIBUTION.md lists all source questions. request is a self-contained instruction derived from the question and accepted answer; program is an executable solution.

from datasets import load_dataset

ds = load_dataset("asterbraid/awkweave-so-data", split="train")
print(ds[0])

Limitations

This is a small, high-vote sample, not a representative sample of all awk use. Execution verifies that reference programs run and produce the stored outputs; request-to-program intent was also reviewed. The data is not a new benchmark and was not included in the Awkweave frozen evaluation.

License

Original Stack Overflow content and these derived rows are CC BY-SA 4.0. See SO_DATASET_LICENSE.txt and ATTRIBUTION.md. Included conversion code is Apache-2.0.