File size: 2,032 Bytes
b85888c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
00af1ab
 
 
b85888c
00af1ab
b85888c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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.

```python
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.