id stringlengths 16 19 | request stringlengths 21 206 | program stringlengths 6 211 | input_text stringlengths 40 477 | expected_output stringlengths 2 276 | validation_input stringlengths 39 469 | validation_output stringlengths 0 298 | family stringclasses 39
values | difficulty int64 1 3 | split stringclasses 1
value | source stringclasses 3
values | license stringclasses 1
value | paraphrase_of stringlengths 16 16 ⌀ | paraphrase_model stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
awkweave-0000830 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | eli cobalt 5
ivan ember 22
bruno delta 27
alice delta 16
dina cobalt 27
dina ember 15
ivan ember 12
gus ember 10
| 134
| dina indigo 14
bruno grove 15
lina indigo 13
farah juniper 3
farah birch 9
dina fable 15
dina indigo 3
dina amber 14
ivan ember 6
| 92
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000830-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | eli cobalt 5
ivan ember 22
bruno delta 27
alice delta 16
dina cobalt 27
dina ember 15
ivan ember 12
gus ember 10
| 134
| dina indigo 14
bruno grove 15
lina indigo 13
farah juniper 3
farah birch 9
dina fable 15
dina indigo 3
dina amber 14
ivan ember 6
| 92
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000830 | qwen/qwen3.7-plus |
awkweave-0000831 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | indigo 23 lina
fable 3 lina
harbor 18 eli
cobalt 17 jules
juniper 22 alice
fable 29 eli
fable 18 farah
| 18.57
| delta 2 gus
delta 22 kim
harbor 10 bruno
ember 18 chen
delta 25 lina
grove 14 bruno
harbor 5 farah
| 13.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000831-p1 | Print the average of the second column, rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | indigo 23 lina
fable 3 lina
harbor 18 eli
cobalt 17 jules
juniper 22 alice
fable 29 eli
fable 18 farah
| 18.57
| delta 2 gus
delta 22 kim
harbor 10 bruno
ember 18 chen
delta 25 lina
grove 14 bruno
harbor 5 farah
| 13.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000831 | qwen/qwen3.7-plus |
awkweave-0000832 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 jules delta
25 farah juniper
3 alice grove
28 dina harbor
30 farah delta
17 ivan fable
8 farah birch
24 bruno delta
1 lina amber
26 alice grove
| 1
| 13 lina ember
24 gus cobalt
28 lina cobalt
29 chen birch
6 hana indigo
24 dina cobalt
17 jules delta
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000832-p1 | Identify and print the minimum numeric value in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 jules delta
25 farah juniper
3 alice grove
28 dina harbor
30 farah delta
17 ivan fable
8 farah birch
24 bruno delta
1 lina amber
26 alice grove
| 1
| 13 lina ember
24 gus cobalt
28 lina cobalt
29 chen birch
6 hana indigo
24 dina cobalt
17 jules delta
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000832 | qwen/qwen3.7-plus |
awkweave-0000833 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | harbor 2 eli
indigo 6 lina
amber 13 eli
harbor 25 farah
delta 26 gus
fable 5 kim
amber 14 alice
delta 25 farah
birch 8 lina
| 26
| amber 2 gus
cobalt 4 farah
harbor 2 eli
fable 5 hana
ember 17 ivan
grove 20 jules
harbor 18 lina
amber 29 dina
juniper 2 hana
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000833-p1 | Identify and print the maximum numeric value in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | harbor 2 eli
indigo 6 lina
amber 13 eli
harbor 25 farah
delta 26 gus
fable 5 kim
amber 14 alice
delta 25 farah
birch 8 lina
| 26
| amber 2 gus
cobalt 4 farah
harbor 2 eli
fable 5 hana
ember 17 ivan
grove 20 jules
harbor 18 lina
amber 29 dina
juniper 2 hana
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000833 | qwen/qwen3.7-plus |
awkweave-0000834 | Count all input records and print the total. | END{print NR} | lina 38
gus 61
ivan 35
kim 15
lina 110
bruno 117
eli 10
| 7
| dina 97
gus 64
hana 34
lina 58
jules 46
lina 105
jules 111
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000834-p1 | Count the total number of input records and print the result. | END{print NR} | lina 38
gus 61
ivan 35
kim 15
lina 110
bruno 117
eli 10
| 7
| dina 97
gus 64
hana 34
lina 58
jules 46
lina 105
jules 111
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000834 | qwen/qwen3.7-plus |
awkweave-0000835 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules birch 23
bruno harbor 38
chen cobalt 19
eli birch 114
lina ember 94
farah delta 4
farah delta 4
jules grove 51
eli delta 64
| jules birch 23
bruno harbor 38
chen cobalt 19
eli birch 114
lina ember 94
farah delta 4
jules grove 51
eli delta 64
| lina ember 33
dina amber 8
farah ember 82
gus fable 111
gus grove 98
lina delta 98
dina amber 8
farah amber 90
| lina ember 33
dina amber 8
farah ember 82
gus fable 111
gus grove 98
lina delta 98
farah amber 90
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000835-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | jules birch 23
bruno harbor 38
chen cobalt 19
eli birch 114
lina ember 94
farah delta 4
farah delta 4
jules grove 51
eli delta 64
| jules birch 23
bruno harbor 38
chen cobalt 19
eli birch 114
lina ember 94
farah delta 4
jules grove 51
eli delta 64
| lina ember 33
dina amber 8
farah ember 82
gus fable 111
gus grove 98
lina delta 98
dina amber 8
farah amber 90
| lina ember 33
dina amber 8
farah ember 82
gus fable 111
gus grove 98
lina delta 98
farah amber 90
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000835 | qwen/qwen3.7-plus |
awkweave-0000836 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | alice delta 30
chen juniper 39
kim juniper 77
alice fable 119
dina juniper 0
farah ember 6
hana juniper 45
| alice delta 30
chen juniper 39
kim juniper 77
dina juniper 0
farah ember 6
hana juniper 45
| jules juniper 47
jules ember 11
eli cobalt 116
jules grove 34
ivan birch 101
gus birch 45
bruno cobalt 112
| jules juniper 47
eli cobalt 116
ivan birch 101
gus birch 45
bruno cobalt 112
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000836-p1 | Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence. | !seen[$1]++ | alice delta 30
chen juniper 39
kim juniper 77
alice fable 119
dina juniper 0
farah ember 6
hana juniper 45
| alice delta 30
chen juniper 39
kim juniper 77
dina juniper 0
farah ember 6
hana juniper 45
| jules juniper 47
jules ember 11
eli cobalt 116
jules grove 34
ivan birch 101
gus birch 45
bruno cobalt 112
| jules juniper 47
eli cobalt 116
ivan birch 101
gus birch 45
bruno cobalt 112
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000836 | qwen/qwen3.7-plus |
awkweave-0000837 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 27 grove
alice 6 indigo
hana 12 grove
lina 26 ember
farah 9 fable
bruno 12 cobalt
gus 15 delta
kim 27 fable
| gus 27
alice 33
hana 45
lina 71
farah 80
bruno 92
gus 107
kim 134
| farah 21 harbor
hana 18 fable
alice 17 indigo
hana 22 cobalt
hana 23 juniper
farah 18 harbor
jules 10 fable
jules 19 grove
kim 29 ember
gus 18 fable
| farah 21
hana 39
alice 56
hana 78
hana 101
farah 119
jules 129
jules 148
kim 177
gus 195
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000837-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | gus 27 grove
alice 6 indigo
hana 12 grove
lina 26 ember
farah 9 fable
bruno 12 cobalt
gus 15 delta
kim 27 fable
| gus 27
alice 33
hana 45
lina 71
farah 80
bruno 92
gus 107
kim 134
| farah 21 harbor
hana 18 fable
alice 17 indigo
hana 22 cobalt
hana 23 juniper
farah 18 harbor
jules 10 fable
jules 19 grove
kim 29 ember
gus 18 fable
| farah 21
hana 39
alice 56
hana 78
hana 101
farah 119
jules 129
jules 148
kim 177
gus 195
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000837 | qwen/qwen3.7-plus |
awkweave-0000838 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 20 10 fable
farah 3 24 cobalt
ivan 28 2 indigo
kim 21 19 birch
chen 17 20 harbor
ivan 8 5 delta
dina 13 21 amber
jules 1 19 cobalt
lina 9 17 delta
| hana 30
farah 27
ivan 30
kim 40
chen 37
ivan 13
dina 34
jules 20
lina 26
| bruno 25 14 ember
farah 19 14 harbor
bruno 14 16 juniper
kim 13 28 juniper
gus 28 3 birch
gus 3 3 fable
gus 14 18 birch
| bruno 39
farah 33
bruno 30
kim 41
gus 31
gus 6
gus 32
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000838-p1 | For each row, display field 1 followed by the combined total of fields 2 and 3. | {print $1,$2+$3} | hana 20 10 fable
farah 3 24 cobalt
ivan 28 2 indigo
kim 21 19 birch
chen 17 20 harbor
ivan 8 5 delta
dina 13 21 amber
jules 1 19 cobalt
lina 9 17 delta
| hana 30
farah 27
ivan 30
kim 40
chen 37
ivan 13
dina 34
jules 20
lina 26
| bruno 25 14 ember
farah 19 14 harbor
bruno 14 16 juniper
kim 13 28 juniper
gus 28 3 birch
gus 3 3 fable
gus 14 18 birch
| bruno 39
farah 33
bruno 30
kim 41
gus 31
gus 6
gus 32
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000838 | qwen/qwen3.7-plus |
awkweave-0000839 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | alice 2
ivan 10
jules 25
eli 15
jules 3
alice 6
lina 27
eli 21
| alice fail
ivan fail
jules pass
eli fail
jules fail
alice fail
lina pass
eli pass
| chen 23
jules 30
gus 5
alice 9
alice 23
gus 1
lina 9
dina 25
dina 16
| chen pass
jules pass
gus fail
alice fail
alice pass
gus fail
lina fail
dina pass
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000839-p1 | Show column 1 and label it 'pass' if column 2 is 21 or higher; otherwise, label it 'fail'. | {print $1,($2>=21?"pass":"fail")} | alice 2
ivan 10
jules 25
eli 15
jules 3
alice 6
lina 27
eli 21
| alice fail
ivan fail
jules pass
eli fail
jules fail
alice fail
lina pass
eli pass
| chen 23
jules 30
gus 5
alice 9
alice 23
gus 1
lina 9
dina 25
dina 16
| chen pass
jules pass
gus fail
alice fail
alice pass
gus fail
lina fail
dina pass
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000839 | qwen/qwen3.7-plus |
awkweave-0000840 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | lina indigo 56
kim ember 17
farah delta 1
farah juniper 90
alice harbor 19
gus grove 79
eli cobalt 43
eli amber 8
| INDIGO
EMBER
DELTA
JUNIPER
HARBOR
GROVE
COBALT
AMBER
| gus ember 28
kim delta 106
farah amber 102
farah ember 67
jules harbor 91
hana amber 11
hana juniper 59
alice delta 79
kim harbor 21
| EMBER
DELTA
AMBER
EMBER
HARBOR
AMBER
JUNIPER
DELTA
HARBOR
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000840-p1 | Transform column 2 to uppercase letters and output solely that column. | {print toupper($2)} | lina indigo 56
kim ember 17
farah delta 1
farah juniper 90
alice harbor 19
gus grove 79
eli cobalt 43
eli amber 8
| INDIGO
EMBER
DELTA
JUNIPER
HARBOR
GROVE
COBALT
AMBER
| gus ember 28
kim delta 106
farah amber 102
farah ember 67
jules harbor 91
hana amber 11
hana juniper 59
alice delta 79
kim harbor 21
| EMBER
DELTA
AMBER
EMBER
HARBOR
AMBER
JUNIPER
DELTA
HARBOR
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000840 | qwen/qwen3.7-plus |
awkweave-0000841 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 117
harbor 82
fable 82
cobalt 32
indigo 87
birch 0
birch 114
| rch
rbor
ble
balt
digo
rch
rch
| delta 53
harbor 68
harbor 33
indigo 42
birch 57
amber 82
delta 6
grove 45
grove 11
| lta
rbor
rbor
digo
rch
ber
lta
ove
ove
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000841-p1 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 117
harbor 82
fable 82
cobalt 32
indigo 87
birch 0
birch 114
| rch
rbor
ble
balt
digo
rch
rch
| delta 53
harbor 68
harbor 33
indigo 42
birch 57
amber 82
delta 6
grove 45
grove 11
| lta
rbor
rbor
digo
rch
ber
lta
ove
ove
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0000841 | qwen/qwen3.7-plus |
awkweave-0000842 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | fable_amber 6
harbor_juniper 45
fable_harbor 94
fable_cobalt 111
birch_grove 84
delta_birch 27
| fable amber
harbor juniper
fable harbor
fable cobalt
birch grove
delta birch
| grove_ember 111
indigo_juniper 65
indigo_amber 69
birch_fable 91
indigo_indigo 31
amber_cobalt 108
birch_indigo 80
fable_indigo 18
grove_amber 28
amber_harbor 50
| grove ember
indigo juniper
indigo amber
birch fable
indigo indigo
amber cobalt
birch indigo
fable indigo
grove amber
amber harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000842-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | fable_amber 6
harbor_juniper 45
fable_harbor 94
fable_cobalt 111
birch_grove 84
delta_birch 27
| fable amber
harbor juniper
fable harbor
fable cobalt
birch grove
delta birch
| grove_ember 111
indigo_juniper 65
indigo_amber 69
birch_fable 91
indigo_indigo 31
amber_cobalt 108
birch_indigo 80
fable_indigo 18
grove_amber 28
amber_harbor 50
| grove ember
indigo juniper
indigo amber
birch fable
indigo indigo
amber cobalt
birch indigo
fable indigo
grove amber
amber harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000842 | qwen/qwen3.7-plus |
awkweave-0000843 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen juniper 73 active
dina ember 107 ready
jules delta 22 pending
jules juniper 95 closed
jules fable 83 paused
jules grove 102 active
| active 73 juniper chen
ready 107 ember dina
pending 22 delta jules
closed 95 juniper jules
paused 83 fable jules
active 102 grove jules
| alice indigo 87 pending
jules indigo 34 closed
kim harbor 110 ready
bruno delta 50 pending
gus amber 59 pending
dina ember 33 ready
kim ember 32 paused
chen grove 27 pending
gus ember 78 failed
| pending 87 indigo alice
closed 34 indigo jules
ready 110 harbor kim
pending 50 delta bruno
pending 59 amber gus
ready 33 ember dina
paused 32 ember kim
pending 27 grove chen
failed 78 ember gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000843-p1 | Invert the sequence of fields for every line and print the complete set of fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen juniper 73 active
dina ember 107 ready
jules delta 22 pending
jules juniper 95 closed
jules fable 83 paused
jules grove 102 active
| active 73 juniper chen
ready 107 ember dina
pending 22 delta jules
closed 95 juniper jules
paused 83 fable jules
active 102 grove jules
| alice indigo 87 pending
jules indigo 34 closed
kim harbor 110 ready
bruno delta 50 pending
gus amber 59 pending
dina ember 33 ready
kim ember 32 paused
chen grove 27 pending
gus ember 78 failed
| pending 87 indigo alice
closed 34 indigo jules
ready 110 harbor kim
pending 50 delta bruno
pending 59 amber gus
ready 33 ember dina
paused 32 ember kim
pending 27 grove chen
failed 78 ember gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000843 | qwen/qwen3.7-plus |
awkweave-0000844 | Print the number of whitespace-separated fields on each line. | {print NF} | alice ember 57 closed
jules harbor 65 closed
farah fable 78 active
ivan harbor 19 ready
jules harbor 106 paused
hana cobalt 5 failed
dina juniper 58 paused
lina grove 91 pending
ivan harbor 57 ready
gus amber 43 active
| 4
4
4
4
4
4
4
4
4
4
| farah birch 20 pending
ivan indigo 47 pending
chen grove 27 active
lina indigo 4 ready
farah amber 54 pending
alice ember 12 pending
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000844-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | alice ember 57 closed
jules harbor 65 closed
farah fable 78 active
ivan harbor 19 ready
jules harbor 106 paused
hana cobalt 5 failed
dina juniper 58 paused
lina grove 91 pending
ivan harbor 57 ready
gus amber 43 active
| 4
4
4
4
4
4
4
4
4
4
| farah birch 20 pending
ivan indigo 47 pending
chen grove 27 active
lina indigo 4 ready
farah amber 54 pending
alice ember 12 pending
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000844 | qwen/qwen3.7-plus |
awkweave-0000845 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana beta 39
eli beta 90
ivan beta 52
jules alpha 27
gus gamma 0
jules gamma 63
alice gamma 12
hana gamma 95
| beta 3
alpha 1
gamma 4
| gus alpha 108
farah beta 66
alice alpha 45
jules gamma 55
bruno alpha 49
hana gamma 9
jules alpha 93
chen beta 16
gus beta 115
| alpha 4
beta 3
gamma 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000845-p1 | Tally the number of records for each distinct value in column 2, listing each value and its frequency in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana beta 39
eli beta 90
ivan beta 52
jules alpha 27
gus gamma 0
jules gamma 63
alice gamma 12
hana gamma 95
| beta 3
alpha 1
gamma 4
| gus alpha 108
farah beta 66
alice alpha 45
jules gamma 55
bruno alpha 49
hana gamma 9
jules alpha 93
chen beta 16
gus beta 115
| alpha 4
beta 3
gamma 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000845 | qwen/qwen3.7-plus |
awkweave-0000846 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | alice alpha 22
hana gamma 22
kim beta 2
chen gamma 6
farah gamma 2
dina gamma 19
bruno gamma 6
| alpha 22
gamma 55
beta 2
| kim delta 26
kim delta 9
jules gamma 6
bruno gamma 4
jules beta 28
farah delta 7
| delta 42
gamma 10
beta 28
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000846-p1 | Calculate the sum of column 3 grouped by each category in column 2, presenting the results in the order of the categories' first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | alice alpha 22
hana gamma 22
kim beta 2
chen gamma 6
farah gamma 2
dina gamma 19
bruno gamma 6
| alpha 22
gamma 55
beta 2
| kim delta 26
kim delta 9
jules gamma 6
bruno gamma 4
jules beta 28
farah delta 7
| delta 42
gamma 10
beta 28
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000846 | qwen/qwen3.7-plus |
awkweave-0000847 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 75
delta birch 8
beta cobalt 0
delta birch 93
beta indigo 24
beta delta 39
beta fable 78
gamma cobalt 34
delta delta 11
gamma birch 6
| gamma 3
delta 3
beta 4
| gamma fable 82
alpha amber 117
delta harbor 33
beta grove 106
beta ember 112
beta juniper 55
delta indigo 5
delta amber 118
alpha birch 98
alpha grove 38
| alpha 3
delta 3
beta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000847-p1 | List each value from column 1 that appears more than once, along with its occurrence count, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 75
delta birch 8
beta cobalt 0
delta birch 93
beta indigo 24
beta delta 39
beta fable 78
gamma cobalt 34
delta delta 11
gamma birch 6
| gamma 3
delta 3
beta 4
| gamma fable 82
alpha amber 117
delta harbor 33
beta grove 106
beta ember 112
beta juniper 55
delta indigo 5
delta amber 118
alpha birch 98
alpha grove 38
| alpha 3
delta 3
beta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000847 | qwen/qwen3.7-plus |
awkweave-0000848 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | display_name region record_id state
r001 ivan 26 ready
r002 alice 18 active
r003 eli 9 ready
r004 chen 27 failed
r005 alice 6 pending
r006 bruno 9 closed
| 26
18
9
27
6
9
| display_name region record_id state
r001 jules 10 active
r002 alice 19 ready
r003 bruno 2 pending
r004 lina 26 failed
r005 hana 23 ready
r006 farah 7 paused
r007 kim 26 pending
r008 eli 18 closed
r009 gus 9 failed
r010 eli 13 active
| 10
19
2
26
23
7
26
18
9
13
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000848-p1 | Skip the header row and output the record_id field for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | display_name region record_id state
r001 ivan 26 ready
r002 alice 18 active
r003 eli 9 ready
r004 chen 27 failed
r005 alice 6 pending
r006 bruno 9 closed
| 26
18
9
27
6
9
| display_name region record_id state
r001 jules 10 active
r002 alice 19 ready
r003 bruno 2 pending
r004 lina 26 failed
r005 hana 23 ready
r006 farah 7 paused
r007 kim 26 pending
r008 eli 18 closed
r009 gus 9 failed
r010 eli 13 active
| 10
19
2
26
23
7
26
18
9
13
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000848 | qwen/qwen3.7-plus |
awkweave-0000849 | The first row is a header. Print display_name for data rows whose score is greater than 21. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]} | record_id display_name score state
r001 bruno 9 closed
r002 eli 24 pending
r003 gus 17 paused
r004 ivan 4 ready
r005 dina 8 paused
r006 gus 13 ready
r007 alice 15 failed
r008 bruno 8 paused
| eli
| record_id display_name score state
r001 farah 20 closed
r002 lina 16 active
r003 lina 27 paused
r004 jules 11 pending
r005 gus 8 paused
r006 hana 18 pending
r007 gus 14 ready
r008 jules 12 active
r009 kim 18 failed
| lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000849-p1 | Ignoring the header, output the display_name for any row where the score is strictly greater than 21. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]} | record_id display_name score state
r001 bruno 9 closed
r002 eli 24 pending
r003 gus 17 paused
r004 ivan 4 ready
r005 dina 8 paused
r006 gus 13 ready
r007 alice 15 failed
r008 bruno 8 paused
| eli
| record_id display_name score state
r001 farah 20 closed
r002 lina 16 active
r003 lina 27 paused
r004 jules 11 pending
r005 gus 8 paused
r006 hana 18 pending
r007 gus 14 ready
r008 jules 12 active
r009 kim 18 failed
| lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000849 | qwen/qwen3.7-plus |
awkweave-0000850 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | kim 21 active
farah 2 closed
lina 17 failed
chen 2 closed
eli 29 pending
lina 6 pending
gus 2 closed
| 21
2
17
2
29
6
2
| farah 20 paused
chen 17 failed
dina 21 pending
chen 1 failed
lina 3 paused
dina 14 closed
jules 14 active
hana 18 active
alice 2 closed
jules 16 active
| 20
17
21
1
3
14
14
18
2
16
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000850-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | kim 21 active
farah 2 closed
lina 17 failed
chen 2 closed
eli 29 pending
lina 6 pending
gus 2 closed
| 21
2
17
2
29
6
2
| farah 20 paused
chen 17 failed
dina 21 pending
chen 1 failed
lina 3 paused
dina 14 closed
jules 14 active
hana 18 active
alice 2 closed
jules 16 active
| 20
17
21
1
3
14
14
18
2
16
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0000850 | qwen/qwen3.7-plus |
awkweave-0000851 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18. | BEGIN{FS=OFS=","}$2>18{print $1} | jules,7,paused
chen,30,paused
farah,26,paused
alice,18,pending
hana,24,active
alice,11,ready
alice,30,closed
| chen
farah
hana
alice
| kim,1,ready
kim,9,failed
dina,18,closed
farah,2,active
gus,3,paused
kim,23,active
kim,13,pending
kim,13,closed
ivan,6,paused
eli,6,closed
| kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000851-p1 | For simple CSV data without quoted commas, output the first column if the second column value is greater than 18. | BEGIN{FS=OFS=","}$2>18{print $1} | jules,7,paused
chen,30,paused
farah,26,paused
alice,18,pending
hana,24,active
alice,11,ready
alice,30,closed
| chen
farah
hana
alice
| kim,1,ready
kim,9,failed
dina,18,closed
farah,2,active
gus,3,paused
kim,23,active
kim,13,pending
kim,13,closed
ivan,6,paused
eli,6,closed
| kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000851 | qwen/qwen3.7-plus |
awkweave-0000852 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules delta 66
chen ember 72
dina grove 77
eli fable 2
ivan cobalt 102
jules amber 106
lina harbor 7
farah birch 15
| jules delta 66
chen ember 72
dina grove 77
eli fable 2
ivan cobalt 102
jules amber 106
lina harbor 7
farah birch 15
| bruno indigo 18
hana ember 32
hana grove 75
jules grove 111
hana harbor 18
gus juniper 88
jules delta 25
| bruno indigo 18
hana ember 32
hana grove 75
jules grove 111
hana harbor 18
gus juniper 88
jules delta 25
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000852-p1 | Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | jules delta 66
chen ember 72
dina grove 77
eli fable 2
ivan cobalt 102
jules amber 106
lina harbor 7
farah birch 15
| jules delta 66
chen ember 72
dina grove 77
eli fable 2
ivan cobalt 102
jules amber 106
lina harbor 7
farah birch 15
| bruno indigo 18
hana ember 32
hana grove 75
jules grove 111
hana harbor 18
gus juniper 88
jules delta 25
| bruno indigo 18
hana ember 32
hana grove 75
jules grove 111
hana harbor 18
gus juniper 88
jules delta 25
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000852 | qwen/qwen3.7-plus |
awkweave-0000853 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina harbor 35 closed
dina juniper 75 active
alice harbor 23 pending
eli indigo 45 pending
farah birch 101 active
jules ember 97 ready
gus cobalt 60 closed
bruno indigo 30 failed
hana amber 2 failed
| alice harbor 23 pending
| alice cobalt 62 paused
jules harbor 95 active
hana cobalt 100 paused
dina harbor 37 active
eli birch 86 failed
bruno juniper 29 ready
lina harbor 12 ready
bruno amber 111 failed
| alice cobalt 62 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000853-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | dina harbor 35 closed
dina juniper 75 active
alice harbor 23 pending
eli indigo 45 pending
farah birch 101 active
jules ember 97 ready
gus cobalt 60 closed
bruno indigo 30 failed
hana amber 2 failed
| alice harbor 23 pending
| alice cobalt 62 paused
jules harbor 95 active
hana cobalt 100 paused
dina harbor 37 active
eli birch 86 failed
bruno juniper 29 ready
lina harbor 12 ready
bruno amber 111 failed
| alice cobalt 62 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000853 | qwen/qwen3.7-plus |
awkweave-0000854 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | alice 82
dina 8
chen 107
gus 94
lina 109
chen 92
bruno 109
ivan 9
eli 20
| dina 8
gus 94
chen 92
ivan 9
| alice 104
kim 8
dina 69
gus 119
bruno 21
bruno 69
| kim 8
gus 119
bruno 69
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000854-p1 | Output every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, ...). | NR%2==0 | alice 82
dina 8
chen 107
gus 94
lina 109
chen 92
bruno 109
ivan 9
eli 20
| dina 8
gus 94
chen 92
ivan 9
| alice 104
kim 8
dina 69
gus 119
bruno 21
bruno 69
| kim 8
gus 119
bruno 69
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000854 | qwen/qwen3.7-plus |
awkweave-0000855 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma juniper 111
delta delta 30
alpha cobalt 31
beta fable 63
alpha juniper 92
gamma ember 79
delta fable 20
beta grove 35
delta amber 61
| 4
| beta ember 77
beta harbor 72
delta juniper 58
beta harbor 103
gamma fable 75
gamma delta 1
beta grove 45
beta indigo 3
delta harbor 85
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000855-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma juniper 111
delta delta 30
alpha cobalt 31
beta fable 63
alpha juniper 92
gamma ember 79
delta fable 20
beta grove 35
delta amber 61
| 4
| beta ember 77
beta harbor 72
delta juniper 58
beta harbor 103
gamma fable 75
gamma delta 1
beta grove 45
beta indigo 3
delta harbor 85
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000855 | qwen/qwen3.7-plus |
awkweave-0000856 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 6 0
kim 7 2
gus 20 27
farah 16 19
kim 11 1
ivan 20 23
kim 22 10
| kim 3.50
gus 0.74
farah 0.84
kim 11.00
ivan 0.87
kim 2.20
| eli 27 0
alice 5 11
gus 3 11
bruno 7 18
gus 26 10
chen 6 15
alice 30 16
jules 8 20
| alice 0.45
gus 0.27
bruno 0.39
gus 2.60
chen 0.40
alice 1.88
jules 0.40
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000856-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, omitting rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 6 0
kim 7 2
gus 20 27
farah 16 19
kim 11 1
ivan 20 23
kim 22 10
| kim 3.50
gus 0.74
farah 0.84
kim 11.00
ivan 0.87
kim 2.20
| eli 27 0
alice 5 11
gus 3 11
bruno 7 18
gus 26 10
chen 6 15
alice 30 16
jules 8 20
| alice 0.45
gus 0.27
bruno 0.39
gus 2.60
chen 0.40
alice 1.88
jules 0.40
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000856 | qwen/qwen3.7-plus |
awkweave-0000857 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules indigo 3
ivan harbor 4
dina ember 16
ivan grove 15
bruno cobalt 8
gus grove 19
eli birch 24
hana cobalt 1
dina cobalt 12
| eli birch 24
gus grove 19
dina ember 16
| dina indigo 25
farah delta 22
dina harbor 10
eli amber 2
lina grove 12
ivan fable 11
bruno juniper 1
eli grove 28
alice fable 25
| eli grove 28
dina indigo 25
alice fable 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000857-p1 | Output the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules indigo 3
ivan harbor 4
dina ember 16
ivan grove 15
bruno cobalt 8
gus grove 19
eli birch 24
hana cobalt 1
dina cobalt 12
| eli birch 24
gus grove 19
dina ember 16
| dina indigo 25
farah delta 22
dina harbor 10
eli amber 2
lina grove 12
ivan fable 11
bruno juniper 1
eli grove 28
alice fable 25
| eli grove 28
dina indigo 25
alice fable 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000857 | qwen/qwen3.7-plus |
awkweave-0000858 | Print column 5 followed by column 1 for every record. | {print $5, $1} | closed 64 dina 65 failed
failed 22 ivan 91 pending
active 35 kim 49 active
paused 61 ivan 108 closed
active 115 bruno 107 failed
paused 40 hana 53 ready
pending 94 bruno 112 ready
pending 76 kim 118 active
paused 103 ivan 89 ready
paused 57 farah 97 ready
| failed closed
pending failed
active active
closed paused
failed active
ready paused
ready pending
active pending
ready paused
ready paused
| closed 94 gus 101 paused
pending 71 dina 53 active
pending 50 kim 16 paused
paused 54 jules 68 pending
active 107 hana 72 failed
pending 25 chen 88 pending
paused 73 eli 89 pending
failed 40 dina 74 closed
| paused closed
active pending
paused pending
pending paused
failed active
pending pending
pending paused
closed failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000858-p1 | For every record, output the fifth column followed by the first column. | {print $5, $1} | closed 64 dina 65 failed
failed 22 ivan 91 pending
active 35 kim 49 active
paused 61 ivan 108 closed
active 115 bruno 107 failed
paused 40 hana 53 ready
pending 94 bruno 112 ready
pending 76 kim 118 active
paused 103 ivan 89 ready
paused 57 farah 97 ready
| failed closed
pending failed
active active
closed paused
failed active
ready paused
ready pending
active pending
ready paused
ready paused
| closed 94 gus 101 paused
pending 71 dina 53 active
pending 50 kim 16 paused
paused 54 jules 68 pending
active 107 hana 72 failed
pending 25 chen 88 pending
paused 73 eli 89 pending
failed 40 dina 74 closed
| paused closed
active pending
paused pending
pending paused
failed active
pending pending
pending paused
closed failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000858 | qwen/qwen3.7-plus |
awkweave-0000859 | Print the last field of every input line. | {print $NF} | ivan closed birch
gus ready fable
ivan closed indigo
gus pending ember
jules ready grove
gus paused indigo
eli active delta
dina ready ember
farah failed juniper
| birch
fable
indigo
ember
grove
indigo
delta
ember
juniper
| gus active ember
chen closed grove
farah pending cobalt
bruno paused harbor
eli closed birch
lina paused juniper
| ember
grove
cobalt
harbor
birch
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000859-p1 | Output the final field of each input line. | {print $NF} | ivan closed birch
gus ready fable
ivan closed indigo
gus pending ember
jules ready grove
gus paused indigo
eli active delta
dina ready ember
farah failed juniper
| birch
fable
indigo
ember
grove
indigo
delta
ember
juniper
| gus active ember
chen closed grove
farah pending cobalt
bruno paused harbor
eli closed birch
lina paused juniper
| ember
grove
cobalt
harbor
birch
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000859 | qwen/qwen3.7-plus |
awkweave-0000860 | Print the complete records where column 1 is less than 77. | $1 < 77 | 6 pending dina
69 active jules
100 paused hana
0 closed hana
81 ready hana
113 pending hana
96 paused farah
| 6 pending dina
69 active jules
0 closed hana
| 33 pending dina
11 failed bruno
48 closed ivan
104 active dina
4 paused jules
97 paused lina
70 ready hana
| 33 pending dina
11 failed bruno
48 closed ivan
4 paused jules
70 ready hana
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000860-p1 | Output full records where the value in the first column is strictly less than 77. | $1 < 77 | 6 pending dina
69 active jules
100 paused hana
0 closed hana
81 ready hana
113 pending hana
96 paused farah
| 6 pending dina
69 active jules
0 closed hana
| 33 pending dina
11 failed bruno
48 closed ivan
104 active dina
4 paused jules
97 paused lina
70 ready hana
| 33 pending dina
11 failed bruno
48 closed ivan
4 paused jules
70 ready hana
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000860 | qwen/qwen3.7-plus |
awkweave-0000861 | Show whole lines whose 3rd field is between 10 and 18, inclusive. | $3 >= 10 && $3 <= 18 | fable grove 21 paused
birch ember 12 paused
cobalt ember 10 paused
delta grove 1 ready
ember cobalt 5 failed
amber fable 7 pending
fable fable 26 pending
| birch ember 12 paused
cobalt ember 10 paused
| cobalt delta 2 closed
amber ember 15 active
indigo amber 20 ready
harbor grove 18 active
cobalt harbor 23 paused
ember indigo 29 active
fable delta 24 pending
amber indigo 9 ready
harbor delta 21 pending
| amber ember 15 active
harbor grove 18 active
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000861-p1 | Display entire lines where the third field falls within the inclusive range of 10 to 18. | $3 >= 10 && $3 <= 18 | fable grove 21 paused
birch ember 12 paused
cobalt ember 10 paused
delta grove 1 ready
ember cobalt 5 failed
amber fable 7 pending
fable fable 26 pending
| birch ember 12 paused
cobalt ember 10 paused
| cobalt delta 2 closed
amber ember 15 active
indigo amber 20 ready
harbor grove 18 active
cobalt harbor 23 paused
ember indigo 29 active
fable delta 24 pending
amber indigo 9 ready
harbor delta 21 pending
| amber ember 15 active
harbor grove 18 active
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000861 | qwen/qwen3.7-plus |
awkweave-0000862 | Print column 3 only for rows where column 4 is exactly failed. | $4 == "failed"{print $3} | 110 birch alice ready
45 amber eli pending
108 indigo ivan closed
78 birch lina ready
72 harbor ivan failed
52 fable ivan ready
8 cobalt farah active
| ivan
| 109 cobalt lina ready
114 cobalt ivan ready
36 indigo gus closed
89 amber kim paused
109 cobalt hana failed
27 amber alice paused
44 birch jules closed
59 indigo bruno pending
91 fable lina failed
119 fable alice paused
| hana
lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000862-p1 | Extract only the third column for rows where the fourth column equals 'failed'. | $4 == "failed"{print $3} | 110 birch alice ready
45 amber eli pending
108 indigo ivan closed
78 birch lina ready
72 harbor ivan failed
52 fable ivan ready
8 cobalt farah active
| ivan
| 109 cobalt lina ready
114 cobalt ivan ready
36 indigo gus closed
89 amber kim paused
109 cobalt hana failed
27 amber alice paused
44 birch jules closed
59 indigo bruno pending
91 fable lina failed
119 fable alice paused
| hana
lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000862 | qwen/qwen3.7-plus |
awkweave-0000863 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | delta ERROR 11
fable WARN 53
birch INFO 114
grove INFO 90
harbor INFO 33
indigo DEBUG 26
| delta ERROR 11
| harbor DEBUG 72
indigo INFO 97
cobalt INFO 16
fable WARN 1
harbor WARN 64
indigo ERROR 88
fable WARN 54
fable DEBUG 39
| indigo ERROR 88
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000863-p1 | Print all fields from lines where the second field starts with the prefix 'ERROR'. | $2 ~ /^ERROR/ | delta ERROR 11
fable WARN 53
birch INFO 114
grove INFO 90
harbor INFO 33
indigo DEBUG 26
| delta ERROR 11
| harbor DEBUG 72
indigo INFO 97
cobalt INFO 16
fable WARN 1
harbor WARN 64
indigo ERROR 88
fable WARN 54
fable DEBUG 39
| indigo ERROR 88
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000863 | qwen/qwen3.7-plus |
awkweave-0000864 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | indigo 82 active
delta 14 pending
juniper 75 failed
fable 120 paused
cobalt 64 paused
harbor 74 ready
ember 999 active
| indigo 82 active
delta 14 pending
juniper 75 failed
fable 120 paused
cobalt 64 paused
harbor 74 ready
| juniper 68 paused
fable 68 failed
indigo 73 paused
indigo 92 pending
delta 96 failed
cobalt 73 failed
ember 20 pending
grove 107 failed
ember 999 active
| juniper 68 paused
fable 68 failed
indigo 73 paused
indigo 92 pending
delta 96 failed
cobalt 73 failed
grove 107 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000864-p1 | Output every line that does not contain the exact string 'ember'. | $0 !~ /ember/ | indigo 82 active
delta 14 pending
juniper 75 failed
fable 120 paused
cobalt 64 paused
harbor 74 ready
ember 999 active
| indigo 82 active
delta 14 pending
juniper 75 failed
fable 120 paused
cobalt 64 paused
harbor 74 ready
| juniper 68 paused
fable 68 failed
indigo 73 paused
indigo 92 pending
delta 96 failed
cobalt 73 failed
ember 20 pending
grove 107 failed
ember 999 active
| juniper 68 paused
fable 68 failed
indigo 73 paused
indigo 92 pending
delta 96 failed
cobalt 73 failed
grove 107 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000864 | qwen/qwen3.7-plus |
awkweave-0000865 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | hana amber 5
lina grove 82
chen grove 53
farah amber 92
alice birch 44
kim indigo 10
kim cobalt 13
ivan indigo 34
| chen grove 53
farah amber 92
alice birch 44
kim indigo 10
| dina grove 17
farah fable 10
chen grove 36
bruno fable 49
lina juniper 62
farah indigo 110
eli harbor 27
ivan cobalt 57
| chen grove 36
bruno fable 49
lina juniper 62
farah indigo 110
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000865-p1 | Print lines 3 through 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | hana amber 5
lina grove 82
chen grove 53
farah amber 92
alice birch 44
kim indigo 10
kim cobalt 13
ivan indigo 34
| chen grove 53
farah amber 92
alice birch 44
kim indigo 10
| dina grove 17
farah fable 10
chen grove 36
bruno fable 49
lina juniper 62
farah indigo 110
eli harbor 27
ivan cobalt 57
| chen grove 36
bruno fable 49
lina juniper 62
farah indigo 110
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000865 | qwen/qwen3.7-plus |
awkweave-0000866 | Output only the first 3 records. | NR <= 3 | dina 27 fable
farah 23 harbor
lina 4 delta
lina 2 delta
alice 100 harbor
alice 119 grove
| dina 27 fable
farah 23 harbor
lina 4 delta
| hana 41 grove
eli 23 fable
alice 99 fable
dina 40 amber
jules 31 ember
farah 40 birch
ivan 106 delta
| hana 41 grove
eli 23 fable
alice 99 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000866-p1 | Output only the first three records. | NR <= 3 | dina 27 fable
farah 23 harbor
lina 4 delta
lina 2 delta
alice 100 harbor
alice 119 grove
| dina 27 fable
farah 23 harbor
lina 4 delta
| hana 41 grove
eli 23 fable
alice 99 fable
dina 40 amber
jules 31 ember
farah 40 birch
ivan 106 delta
| hana 41 grove
eli 23 fable
alice 99 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000866 | qwen/qwen3.7-plus |
awkweave-0000867 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 50 grove
kim 18 indigo
dina 50 fable
lina 46 harbor
eli 75 indigo
chen 111 juniper
ivan 86 fable
lina 101 harbor
dina 79 amber
hana 116 cobalt
| kim 18 indigo
dina 50 fable
lina 46 harbor
eli 75 indigo
chen 111 juniper
ivan 86 fable
lina 101 harbor
dina 79 amber
hana 116 cobalt
| dina 81 ember
alice 79 harbor
ivan 115 amber
chen 80 grove
hana 12 harbor
bruno 90 ember
hana 95 grove
| alice 79 harbor
ivan 115 amber
chen 80 grove
hana 12 harbor
bruno 90 ember
hana 95 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000867-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | lina 50 grove
kim 18 indigo
dina 50 fable
lina 46 harbor
eli 75 indigo
chen 111 juniper
ivan 86 fable
lina 101 harbor
dina 79 amber
hana 116 cobalt
| kim 18 indigo
dina 50 fable
lina 46 harbor
eli 75 indigo
chen 111 juniper
ivan 86 fable
lina 101 harbor
dina 79 amber
hana 116 cobalt
| dina 81 ember
alice 79 harbor
ivan 115 amber
chen 80 grove
hana 12 harbor
bruno 90 ember
hana 95 grove
| alice 79 harbor
ivan 115 amber
chen 80 grove
hana 12 harbor
bruno 90 ember
hana 95 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000867 | qwen/qwen3.7-plus |
awkweave-0000868 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | farah active 81
bruno closed 46
lina pending 117
bruno ready 59
ivan closed 104
kim pending 43
dina active 61
dina closed 38
| 2
| lina paused 79
farah closed 48
alice failed 108
eli pending 58
kim pending 64
alice ready 93
jules paused 91
gus active 11
alice active 112
chen pending 67
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000868-p1 | Count the number of records where the second column is 'active', outputting 0 if no matches are found. | $2 == "active"{n++}END{print n+0} | farah active 81
bruno closed 46
lina pending 117
bruno ready 59
ivan closed 104
kim pending 43
dina active 61
dina closed 38
| 2
| lina paused 79
farah closed 48
alice failed 108
eli pending 58
kim pending 64
alice ready 93
jules paused 91
gus active 11
alice active 112
chen pending 67
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000868 | qwen/qwen3.7-plus |
awkweave-0000869 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | ember ivan 15
birch lina 13
fable eli 26
fable lina 7
cobalt dina 25
cobalt chen 11
| 97
| juniper eli 1
fable hana 16
grove ivan 26
harbor eli 9
harbor bruno 16
grove lina 21
amber alice 1
birch ivan 8
juniper farah 7
fable bruno 8
| 113
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000869-p1 | Compute and display the sum of all integer values in the third column. | {s+=$3}END{print s+0} | ember ivan 15
birch lina 13
fable eli 26
fable lina 7
cobalt dina 25
cobalt chen 11
| 97
| juniper eli 1
fable hana 16
grove ivan 26
harbor eli 9
harbor bruno 16
grove lina 21
amber alice 1
birch ivan 8
juniper farah 7
fable bruno 8
| 113
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000869 | qwen/qwen3.7-plus |
awkweave-0000870 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | alice amber 4
lina grove 23
hana cobalt 1
lina amber 29
ivan grove 17
farah birch 24
ivan amber 6
farah amber 16
farah birch 8
| 14.22
| dina amber 20
gus grove 28
farah harbor 23
lina grove 17
bruno delta 23
farah cobalt 3
| 19.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000870-p1 | Calculate the arithmetic mean of the third column and format the result to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | alice amber 4
lina grove 23
hana cobalt 1
lina amber 29
ivan grove 17
farah birch 24
ivan amber 6
farah amber 16
farah birch 8
| 14.22
| dina amber 20
gus grove 28
farah harbor 23
lina grove 17
bruno delta 23
farah cobalt 3
| 19.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000870 | qwen/qwen3.7-plus |
awkweave-0000871 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 4 bruno harbor
27 ivan indigo
22 chen grove
14 eli juniper
3 farah fable
21 dina birch
14 kim juniper
4 farah indigo
30 gus ember
| 3
| 6 alice indigo
28 gus birch
17 chen juniper
30 lina cobalt
29 hana indigo
30 alice indigo
16 dina cobalt
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000871-p1 | Identify and print the minimum numeric value found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 4 bruno harbor
27 ivan indigo
22 chen grove
14 eli juniper
3 farah fable
21 dina birch
14 kim juniper
4 farah indigo
30 gus ember
| 3
| 6 alice indigo
28 gus birch
17 chen juniper
30 lina cobalt
29 hana indigo
30 alice indigo
16 dina cobalt
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000871 | qwen/qwen3.7-plus |
awkweave-0000872 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 fable hana
17 harbor gus
2 grove jules
22 delta chen
21 indigo eli
24 juniper kim
| 24
| 24 fable bruno
29 juniper lina
7 fable ivan
13 amber ivan
9 birch ivan
2 indigo chen
5 cobalt hana
12 indigo dina
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000872-p1 | Identify and output the maximum numerical value found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 fable hana
17 harbor gus
2 grove jules
22 delta chen
21 indigo eli
24 juniper kim
| 24
| 24 fable bruno
29 juniper lina
7 fable ivan
13 amber ivan
9 birch ivan
2 indigo chen
5 cobalt hana
12 indigo dina
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000872 | qwen/qwen3.7-plus |
awkweave-0000873 | Count all input records and print the total. | END{print NR} | hana 110
hana 13
chen 54
jules 105
hana 89
eli 14
eli 109
farah 111
gus 11
| 9
| lina 0
alice 74
dina 29
hana 23
kim 67
kim 3
hana 23
farah 30
chen 22
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000873-p1 | Calculate the total number of input records and display the count. | END{print NR} | hana 110
hana 13
chen 54
jules 105
hana 89
eli 14
eli 109
farah 111
gus 11
| 9
| lina 0
alice 74
dina 29
hana 23
kim 67
kim 3
hana 23
farah 30
chen 22
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000873 | qwen/qwen3.7-plus |
awkweave-0000874 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules cobalt 112
jules juniper 94
farah delta 62
bruno juniper 28
jules indigo 70
farah grove 119
farah grove 119
| jules cobalt 112
jules juniper 94
farah delta 62
bruno juniper 28
jules indigo 70
farah grove 119
| bruno harbor 75
lina juniper 83
alice harbor 55
gus ember 106
eli amber 75
jules delta 120
alice ember 107
alice harbor 55
lina delta 55
chen fable 112
alice amber 100
| bruno harbor 75
lina juniper 83
alice harbor 55
gus ember 106
eli amber 75
jules delta 120
alice ember 107
lina delta 55
chen fable 112
alice amber 100
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000874-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | jules cobalt 112
jules juniper 94
farah delta 62
bruno juniper 28
jules indigo 70
farah grove 119
farah grove 119
| jules cobalt 112
jules juniper 94
farah delta 62
bruno juniper 28
jules indigo 70
farah grove 119
| bruno harbor 75
lina juniper 83
alice harbor 55
gus ember 106
eli amber 75
jules delta 120
alice ember 107
alice harbor 55
lina delta 55
chen fable 112
alice amber 100
| bruno harbor 75
lina juniper 83
alice harbor 55
gus ember 106
eli amber 75
jules delta 120
alice ember 107
lina delta 55
chen fable 112
alice amber 100
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000874 | qwen/qwen3.7-plus |
awkweave-0000875 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina grove 87
kim indigo 17
lina juniper 116
lina birch 28
hana cobalt 15
gus birch 60
| dina grove 87
kim indigo 17
lina juniper 116
hana cobalt 15
gus birch 60
| chen fable 106
hana harbor 57
hana indigo 75
chen juniper 74
gus ember 79
dina harbor 98
gus birch 58
| chen fable 106
hana harbor 57
gus ember 79
dina harbor 98
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000875-p1 | Retain only the initial line for every unique value in the first column while preserving the input order. | !seen[$1]++ | dina grove 87
kim indigo 17
lina juniper 116
lina birch 28
hana cobalt 15
gus birch 60
| dina grove 87
kim indigo 17
lina juniper 116
hana cobalt 15
gus birch 60
| chen fable 106
hana harbor 57
hana indigo 75
chen juniper 74
gus ember 79
dina harbor 98
gus birch 58
| chen fable 106
hana harbor 57
gus ember 79
dina harbor 98
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000875 | qwen/qwen3.7-plus |
awkweave-0000876 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 5 cobalt
ivan 22 fable
eli 2 cobalt
jules 28 birch
kim 7 harbor
gus 16 harbor
farah 4 delta
| lina 5
ivan 27
eli 29
jules 57
kim 64
gus 80
farah 84
| farah 29 grove
kim 4 delta
hana 4 amber
gus 25 harbor
bruno 2 juniper
alice 20 juniper
eli 26 grove
eli 22 juniper
bruno 11 birch
chen 29 delta
| farah 29
kim 33
hana 37
gus 62
bruno 64
alice 84
eli 110
eli 132
bruno 143
chen 172
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000876-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | lina 5 cobalt
ivan 22 fable
eli 2 cobalt
jules 28 birch
kim 7 harbor
gus 16 harbor
farah 4 delta
| lina 5
ivan 27
eli 29
jules 57
kim 64
gus 80
farah 84
| farah 29 grove
kim 4 delta
hana 4 amber
gus 25 harbor
bruno 2 juniper
alice 20 juniper
eli 26 grove
eli 22 juniper
bruno 11 birch
chen 29 delta
| farah 29
kim 33
hana 37
gus 62
bruno 64
alice 84
eli 110
eli 132
bruno 143
chen 172
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000876 | qwen/qwen3.7-plus |
awkweave-0000877 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 26 24 ember
jules 17 2 fable
lina 28 12 birch
jules 7 20 fable
eli 14 5 indigo
kim 10 28 delta
eli 28 10 juniper
hana 6 12 cobalt
hana 14 5 cobalt
| dina 50
jules 19
lina 40
jules 27
eli 19
kim 38
eli 38
hana 18
hana 19
| lina 4 5 delta
kim 14 6 fable
jules 23 27 harbor
bruno 23 23 grove
bruno 10 24 birch
alice 20 10 juniper
chen 14 1 fable
chen 16 2 fable
| lina 9
kim 20
jules 50
bruno 46
bruno 34
alice 30
chen 15
chen 18
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000877-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | dina 26 24 ember
jules 17 2 fable
lina 28 12 birch
jules 7 20 fable
eli 14 5 indigo
kim 10 28 delta
eli 28 10 juniper
hana 6 12 cobalt
hana 14 5 cobalt
| dina 50
jules 19
lina 40
jules 27
eli 19
kim 38
eli 38
hana 18
hana 19
| lina 4 5 delta
kim 14 6 fable
jules 23 27 harbor
bruno 23 23 grove
bruno 10 24 birch
alice 20 10 juniper
chen 14 1 fable
chen 16 2 fable
| lina 9
kim 20
jules 50
bruno 46
bruno 34
alice 30
chen 15
chen 18
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000877 | qwen/qwen3.7-plus |
awkweave-0000878 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | jules 5
jules 14
hana 23
ivan 5
hana 10
jules 12
eli 7
| jules fail
jules fail
hana pass
ivan fail
hana fail
jules fail
eli fail
| jules 20
alice 2
jules 23
bruno 5
dina 8
dina 25
gus 23
hana 16
| jules fail
alice fail
jules pass
bruno fail
dina fail
dina pass
gus pass
hana fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000878-p1 | Output the first column; print 'pass' if the second column is 22 or greater, otherwise print 'fail'. | {print $1,($2>=22?"pass":"fail")} | jules 5
jules 14
hana 23
ivan 5
hana 10
jules 12
eli 7
| jules fail
jules fail
hana pass
ivan fail
hana fail
jules fail
eli fail
| jules 20
alice 2
jules 23
bruno 5
dina 8
dina 25
gus 23
hana 16
| jules fail
alice fail
jules pass
bruno fail
dina fail
dina pass
gus pass
hana fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000878 | qwen/qwen3.7-plus |
awkweave-0000879 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | gus harbor 28
alice delta 9
gus delta 85
farah grove 5
kim amber 60
dina harbor 108
| GUS
ALICE
GUS
FARAH
KIM
DINA
| kim ember 24
hana ember 52
ivan harbor 115
alice juniper 37
eli birch 6
kim fable 37
hana cobalt 50
| KIM
HANA
IVAN
ALICE
ELI
KIM
HANA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000879-p1 | Transform the first column to uppercase letters and output only that column. | {print toupper($1)} | gus harbor 28
alice delta 9
gus delta 85
farah grove 5
kim amber 60
dina harbor 108
| GUS
ALICE
GUS
FARAH
KIM
DINA
| kim ember 24
hana ember 52
ivan harbor 115
alice juniper 37
eli birch 6
kim fable 37
hana cobalt 50
| KIM
HANA
IVAN
ALICE
ELI
KIM
HANA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000879 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.