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-0049112-p1 | Compute and display the sum of integers in column 2. | {s+=$2}END{print s+0} | jules 17 amber
jules 24 birch
ivan 30 indigo
bruno 30 cobalt
kim 29 grove
jules 12 juniper
lina 13 cobalt
| 155
| eli 8 amber
bruno 11 fable
ivan 28 amber
dina 7 cobalt
ivan 19 delta
alice 30 amber
eli 11 harbor
hana 21 delta
hana 10 indigo
eli 25 grove
| 170
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049112 | qwen/qwen3.7-plus |
awkweave-0049113 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno ember 9
gus indigo 6
alice indigo 17
chen fable 27
jules birch 10
hana amber 11
jules indigo 20
bruno indigo 23
kim indigo 29
| 16.89
| alice grove 21
kim birch 20
chen ember 29
eli grove 20
jules grove 27
chen grove 15
lina harbor 4
jules cobalt 13
farah amber 19
| 18.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049113-p1 | Print the average of column 3, rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno ember 9
gus indigo 6
alice indigo 17
chen fable 27
jules birch 10
hana amber 11
jules indigo 20
bruno indigo 23
kim indigo 29
| 16.89
| alice grove 21
kim birch 20
chen ember 29
eli grove 20
jules grove 27
chen grove 15
lina harbor 4
jules cobalt 13
farah amber 19
| 18.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049113 | qwen/qwen3.7-plus |
awkweave-0049114 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 24 ember
alice 12 fable
gus 9 amber
lina 30 fable
eli 20 amber
gus 13 harbor
ivan 9 ember
dina 18 cobalt
| 9
| ivan 21 amber
chen 17 birch
alice 30 ember
hana 24 grove
lina 1 juniper
chen 7 birch
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049114-p1 | Identify and print the minimum numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 24 ember
alice 12 fable
gus 9 amber
lina 30 fable
eli 20 amber
gus 13 harbor
ivan 9 ember
dina 18 cobalt
| 9
| ivan 21 amber
chen 17 birch
alice 30 ember
hana 24 grove
lina 1 juniper
chen 7 birch
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049114 | qwen/qwen3.7-plus |
awkweave-0049115 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 5 fable chen
24 cobalt gus
13 harbor farah
4 grove alice
28 harbor bruno
23 amber hana
| 28
| 22 delta gus
16 amber chen
2 fable farah
7 cobalt ivan
20 ember chen
3 fable chen
28 juniper chen
29 delta kim
10 amber alice
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049115-p1 | Identify and print the maximum numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 5 fable chen
24 cobalt gus
13 harbor farah
4 grove alice
28 harbor bruno
23 amber hana
| 28
| 22 delta gus
16 amber chen
2 fable farah
7 cobalt ivan
20 ember chen
3 fable chen
28 juniper chen
29 delta kim
10 amber alice
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049115 | qwen/qwen3.7-plus |
awkweave-0049116 | Count all input records and print the total. | END{print NR} | dina 30
jules 4
hana 70
bruno 90
lina 77
bruno 104
hana 31
alice 44
chen 75
hana 117
| 10
| chen 105
lina 29
gus 58
kim 53
bruno 99
lina 62
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049116-p1 | Count and print the total number of input records. | END{print NR} | dina 30
jules 4
hana 70
bruno 90
lina 77
bruno 104
hana 31
alice 44
chen 75
hana 117
| 10
| chen 105
lina 29
gus 58
kim 53
bruno 99
lina 62
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049116 | qwen/qwen3.7-plus |
awkweave-0049117 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim fable 30
ivan delta 28
jules birch 10
farah fable 21
farah fable 21
kim grove 91
bruno amber 65
farah grove 10
eli cobalt 65
alice indigo 55
chen cobalt 67
| kim fable 30
ivan delta 28
jules birch 10
farah fable 21
kim grove 91
bruno amber 65
farah grove 10
eli cobalt 65
alice indigo 55
chen cobalt 67
| bruno delta 80
farah indigo 20
eli harbor 72
hana fable 55
chen juniper 114
ivan ember 33
ivan ember 84
gus delta 100
ivan grove 3
bruno delta 80
ivan indigo 8
| bruno delta 80
farah indigo 20
eli harbor 72
hana fable 55
chen juniper 114
ivan ember 33
ivan ember 84
gus delta 100
ivan grove 3
ivan indigo 8
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049117-p1 | Eliminate exact duplicate lines while keeping the first occurrence and original order. | !seen[$0]++ | kim fable 30
ivan delta 28
jules birch 10
farah fable 21
farah fable 21
kim grove 91
bruno amber 65
farah grove 10
eli cobalt 65
alice indigo 55
chen cobalt 67
| kim fable 30
ivan delta 28
jules birch 10
farah fable 21
kim grove 91
bruno amber 65
farah grove 10
eli cobalt 65
alice indigo 55
chen cobalt 67
| bruno delta 80
farah indigo 20
eli harbor 72
hana fable 55
chen juniper 114
ivan ember 33
ivan ember 84
gus delta 100
ivan grove 3
bruno delta 80
ivan indigo 8
| bruno delta 80
farah indigo 20
eli harbor 72
hana fable 55
chen juniper 114
ivan ember 33
ivan ember 84
gus delta 100
ivan grove 3
ivan indigo 8
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049117 | qwen/qwen3.7-plus |
awkweave-0049118 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina indigo 75
alice birch 113
eli amber 83
dina delta 15
ivan indigo 57
hana juniper 1
gus fable 117
ivan juniper 23
eli grove 35
gus birch 10
| dina indigo 75
alice birch 113
eli amber 83
ivan indigo 57
hana juniper 1
gus fable 117
| bruno juniper 73
alice amber 95
lina cobalt 63
bruno ember 46
ivan juniper 25
eli birch 6
jules grove 51
kim delta 17
| bruno juniper 73
alice amber 95
lina cobalt 63
ivan juniper 25
eli birch 6
jules grove 51
kim delta 17
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049118-p1 | Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence. | !seen[$1]++ | dina indigo 75
alice birch 113
eli amber 83
dina delta 15
ivan indigo 57
hana juniper 1
gus fable 117
ivan juniper 23
eli grove 35
gus birch 10
| dina indigo 75
alice birch 113
eli amber 83
ivan indigo 57
hana juniper 1
gus fable 117
| bruno juniper 73
alice amber 95
lina cobalt 63
bruno ember 46
ivan juniper 25
eli birch 6
jules grove 51
kim delta 17
| bruno juniper 73
alice amber 95
lina cobalt 63
ivan juniper 25
eli birch 6
jules grove 51
kim delta 17
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049118 | qwen/qwen3.7-plus |
awkweave-0049119 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 21 ember
chen 5 birch
hana 12 indigo
dina 22 amber
gus 13 birch
dina 14 harbor
bruno 25 birch
jules 8 indigo
| lina 21
chen 26
hana 38
dina 60
gus 73
dina 87
bruno 112
jules 120
| gus 16 delta
ivan 28 cobalt
bruno 1 delta
ivan 17 fable
alice 23 delta
gus 8 cobalt
| gus 16
ivan 44
bruno 45
ivan 62
alice 85
gus 93
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049119-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} | lina 21 ember
chen 5 birch
hana 12 indigo
dina 22 amber
gus 13 birch
dina 14 harbor
bruno 25 birch
jules 8 indigo
| lina 21
chen 26
hana 38
dina 60
gus 73
dina 87
bruno 112
jules 120
| gus 16 delta
ivan 28 cobalt
bruno 1 delta
ivan 17 fable
alice 23 delta
gus 8 cobalt
| gus 16
ivan 44
bruno 45
ivan 62
alice 85
gus 93
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049119 | qwen/qwen3.7-plus |
awkweave-0049120 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 2 19 amber
bruno 1 8 delta
dina 18 5 indigo
dina 21 6 harbor
ivan 5 16 harbor
bruno 19 18 amber
ivan 8 30 indigo
gus 26 10 fable
| dina 21
bruno 9
dina 23
dina 27
ivan 21
bruno 37
ivan 38
gus 36
| lina 9 28 amber
eli 18 22 ember
alice 8 11 grove
kim 7 15 amber
lina 13 9 birch
hana 22 7 fable
bruno 12 24 juniper
dina 27 20 cobalt
| lina 37
eli 40
alice 19
kim 22
lina 22
hana 29
bruno 36
dina 47
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049120-p1 | For each row, display field 1 followed by the aggregate of fields 2 and 3. | {print $1,$2+$3} | dina 2 19 amber
bruno 1 8 delta
dina 18 5 indigo
dina 21 6 harbor
ivan 5 16 harbor
bruno 19 18 amber
ivan 8 30 indigo
gus 26 10 fable
| dina 21
bruno 9
dina 23
dina 27
ivan 21
bruno 37
ivan 38
gus 36
| lina 9 28 amber
eli 18 22 ember
alice 8 11 grove
kim 7 15 amber
lina 13 9 birch
hana 22 7 fable
bruno 12 24 juniper
dina 27 20 cobalt
| lina 37
eli 40
alice 19
kim 22
lina 22
hana 29
bruno 36
dina 47
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049120 | qwen/qwen3.7-plus |
awkweave-0049121 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | kim 16
kim 28
hana 11
hana 11
bruno 23
hana 15
| kim fail
kim pass
hana fail
hana fail
bruno pass
hana fail
| kim 14
jules 2
ivan 23
ivan 10
lina 28
eli 15
chen 12
kim 10
gus 20
| kim fail
jules fail
ivan pass
ivan fail
lina pass
eli fail
chen fail
kim fail
gus pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049121-p1 | Output column 1 paired with 'pass' if column 2 is 20 or greater; otherwise, output it with 'fail'. | {print $1,($2>=20?"pass":"fail")} | kim 16
kim 28
hana 11
hana 11
bruno 23
hana 15
| kim fail
kim pass
hana fail
hana fail
bruno pass
hana fail
| kim 14
jules 2
ivan 23
ivan 10
lina 28
eli 15
chen 12
kim 10
gus 20
| kim fail
jules fail
ivan pass
ivan fail
lina pass
eli fail
chen fail
kim fail
gus pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049121 | qwen/qwen3.7-plus |
awkweave-0049122 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | ivan delta 38
gus ember 74
kim fable 120
eli fable 43
ivan birch 88
farah grove 90
kim birch 108
chen juniper 95
kim juniper 97
| DELTA
EMBER
FABLE
FABLE
BIRCH
GROVE
BIRCH
JUNIPER
JUNIPER
| hana birch 17
lina grove 81
gus amber 71
eli juniper 98
ivan harbor 13
chen grove 40
hana indigo 87
gus birch 53
alice grove 101
| BIRCH
GROVE
AMBER
JUNIPER
HARBOR
GROVE
INDIGO
BIRCH
GROVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049122-p1 | Transform column 2 to uppercase letters and output exclusively that column. | {print toupper($2)} | ivan delta 38
gus ember 74
kim fable 120
eli fable 43
ivan birch 88
farah grove 90
kim birch 108
chen juniper 95
kim juniper 97
| DELTA
EMBER
FABLE
FABLE
BIRCH
GROVE
BIRCH
JUNIPER
JUNIPER
| hana birch 17
lina grove 81
gus amber 71
eli juniper 98
ivan harbor 13
chen grove 40
hana indigo 87
gus birch 53
alice grove 101
| BIRCH
GROVE
AMBER
JUNIPER
HARBOR
GROVE
INDIGO
BIRCH
GROVE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049122 | qwen/qwen3.7-plus |
awkweave-0049123 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 41
fable 33
fable 96
grove 95
delta 12
fable 37
delta 35
indigo 93
birch 19
delta 24
| rch
ble
ble
ove
lta
ble
lta
digo
rch
lta
| fable 78
birch 56
ember 102
cobalt 29
birch 98
harbor 67
ember 32
| ble
rch
ber
balt
rch
rbor
ber
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049123-p1 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 41
fable 33
fable 96
grove 95
delta 12
fable 37
delta 35
indigo 93
birch 19
delta 24
| rch
ble
ble
ove
lta
ble
lta
digo
rch
lta
| fable 78
birch 56
ember 102
cobalt 29
birch 98
harbor 67
ember 32
| ble
rch
ber
balt
rch
rbor
ber
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0049123 | qwen/qwen3.7-plus |
awkweave-0049124 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_cobalt 108
fable_cobalt 2
cobalt_ember 117
delta_juniper 75
juniper_fable 41
ember_juniper 46
harbor_amber 91
harbor_grove 67
cobalt_indigo 41
cobalt_ember 74
| indigo cobalt
fable cobalt
cobalt ember
delta juniper
juniper fable
ember juniper
harbor amber
harbor grove
cobalt indigo
cobalt ember
| juniper_juniper 45
amber_ember 88
ember_indigo 76
delta_delta 39
ember_birch 45
delta_birch 96
harbor_ember 118
ember_indigo 70
cobalt_indigo 94
birch_fable 31
| juniper juniper
amber ember
ember indigo
delta delta
ember birch
delta birch
harbor ember
ember indigo
cobalt indigo
birch fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049124-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_cobalt 108
fable_cobalt 2
cobalt_ember 117
delta_juniper 75
juniper_fable 41
ember_juniper 46
harbor_amber 91
harbor_grove 67
cobalt_indigo 41
cobalt_ember 74
| indigo cobalt
fable cobalt
cobalt ember
delta juniper
juniper fable
ember juniper
harbor amber
harbor grove
cobalt indigo
cobalt ember
| juniper_juniper 45
amber_ember 88
ember_indigo 76
delta_delta 39
ember_birch 45
delta_birch 96
harbor_ember 118
ember_indigo 70
cobalt_indigo 94
birch_fable 31
| juniper juniper
amber ember
ember indigo
delta delta
ember birch
delta birch
harbor ember
ember indigo
cobalt indigo
birch fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049124 | qwen/qwen3.7-plus |
awkweave-0049125 | 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)} | jules fable 88 pending
gus fable 26 closed
gus fable 28 active
hana grove 6 failed
lina grove 119 closed
bruno indigo 44 failed
eli birch 57 closed
jules amber 108 paused
gus amber 89 pending
eli cobalt 61 paused
| pending 88 fable jules
closed 26 fable gus
active 28 fable gus
failed 6 grove hana
closed 119 grove lina
failed 44 indigo bruno
closed 57 birch eli
paused 108 amber jules
pending 89 amber gus
paused 61 cobalt eli
| gus indigo 79 failed
hana ember 61 active
eli harbor 32 failed
hana amber 110 failed
chen amber 60 pending
hana harbor 59 failed
jules harbor 89 pending
bruno indigo 92 pending
eli amber 54 pending
| failed 79 indigo gus
active 61 ember hana
failed 32 harbor eli
failed 110 amber hana
pending 60 amber chen
failed 59 harbor hana
pending 89 harbor jules
pending 92 indigo bruno
pending 54 amber eli
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049125-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)} | jules fable 88 pending
gus fable 26 closed
gus fable 28 active
hana grove 6 failed
lina grove 119 closed
bruno indigo 44 failed
eli birch 57 closed
jules amber 108 paused
gus amber 89 pending
eli cobalt 61 paused
| pending 88 fable jules
closed 26 fable gus
active 28 fable gus
failed 6 grove hana
closed 119 grove lina
failed 44 indigo bruno
closed 57 birch eli
paused 108 amber jules
pending 89 amber gus
paused 61 cobalt eli
| gus indigo 79 failed
hana ember 61 active
eli harbor 32 failed
hana amber 110 failed
chen amber 60 pending
hana harbor 59 failed
jules harbor 89 pending
bruno indigo 92 pending
eli amber 54 pending
| failed 79 indigo gus
active 61 ember hana
failed 32 harbor eli
failed 110 amber hana
pending 60 amber chen
failed 59 harbor hana
pending 89 harbor jules
pending 92 indigo bruno
pending 54 amber eli
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049125 | qwen/qwen3.7-plus |
awkweave-0049126 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno ember 76 failed
kim grove 59 pending
kim harbor 39 closed
lina amber 46 closed
jules delta 40 pending
kim delta 2 active
kim delta 14 closed
hana harbor 26 pending
chen cobalt 11 failed
kim birch 57 active
| 4
4
4
4
4
4
4
4
4
4
| jules cobalt 23 closed
jules harbor 105 closed
bruno ember 38 closed
bruno amber 111 ready
chen delta 55 closed
chen indigo 82 pending
eli harbor 13 pending
ivan harbor 98 failed
hana delta 37 closed
hana birch 115 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049126-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | bruno ember 76 failed
kim grove 59 pending
kim harbor 39 closed
lina amber 46 closed
jules delta 40 pending
kim delta 2 active
kim delta 14 closed
hana harbor 26 pending
chen cobalt 11 failed
kim birch 57 active
| 4
4
4
4
4
4
4
4
4
4
| jules cobalt 23 closed
jules harbor 105 closed
bruno ember 38 closed
bruno amber 111 ready
chen delta 55 closed
chen indigo 82 pending
eli harbor 13 pending
ivan harbor 98 failed
hana delta 37 closed
hana birch 115 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049126 | qwen/qwen3.7-plus |
awkweave-0049127 | 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]]} | dina beta 52
bruno beta 111
ivan beta 1
hana beta 113
dina alpha 81
hana delta 19
eli alpha 84
| beta 4
alpha 2
delta 1
| lina gamma 23
jules beta 21
ivan gamma 16
farah delta 11
ivan alpha 16
dina beta 6
farah beta 86
ivan alpha 103
hana beta 57
alice delta 116
| gamma 2
beta 4
delta 2
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049127-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]]} | dina beta 52
bruno beta 111
ivan beta 1
hana beta 113
dina alpha 81
hana delta 19
eli alpha 84
| beta 4
alpha 2
delta 1
| lina gamma 23
jules beta 21
ivan gamma 16
farah delta 11
ivan alpha 16
dina beta 6
farah beta 86
ivan alpha 103
hana beta 57
alice delta 116
| gamma 2
beta 4
delta 2
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049127 | qwen/qwen3.7-plus |
awkweave-0049128 | 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]]} | chen beta 2
hana gamma 11
gus beta 20
kim gamma 3
chen gamma 14
lina gamma 20
bruno alpha 3
bruno beta 2
jules alpha 1
| beta 24
gamma 48
alpha 4
| eli delta 4
kim gamma 5
farah delta 24
hana beta 3
bruno alpha 11
gus delta 24
kim alpha 14
alice delta 8
| delta 60
gamma 5
beta 3
alpha 25
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049128-p1 | Calculate the sum of column 3 grouped by categories in column 2, presenting the results in the 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]]} | chen beta 2
hana gamma 11
gus beta 20
kim gamma 3
chen gamma 14
lina gamma 20
bruno alpha 3
bruno beta 2
jules alpha 1
| beta 24
gamma 48
alpha 4
| eli delta 4
kim gamma 5
farah delta 24
hana beta 3
bruno alpha 11
gus delta 24
kim alpha 14
alice delta 8
| delta 60
gamma 5
beta 3
alpha 25
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049128 | qwen/qwen3.7-plus |
awkweave-0049129 | 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]]} | alpha ember 102
delta juniper 99
beta delta 114
beta harbor 52
alpha harbor 13
gamma fable 27
delta delta 88
gamma indigo 75
delta ember 100
| alpha 2
delta 3
beta 2
gamma 2
| gamma grove 64
alpha grove 49
gamma amber 50
gamma delta 44
gamma birch 8
gamma ember 5
beta amber 51
delta delta 47
delta delta 38
beta delta 67
| gamma 5
beta 2
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049129-p1 | List each duplicate value from column 1 along with its occurrence count, ordered by when they first appeared. | {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]]} | alpha ember 102
delta juniper 99
beta delta 114
beta harbor 52
alpha harbor 13
gamma fable 27
delta delta 88
gamma indigo 75
delta ember 100
| alpha 2
delta 3
beta 2
gamma 2
| gamma grove 64
alpha grove 49
gamma amber 50
gamma delta 44
gamma birch 8
gamma ember 5
beta amber 51
delta delta 47
delta delta 38
beta delta 67
| gamma 5
beta 2
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049129 | qwen/qwen3.7-plus |
awkweave-0049130 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | display_name note record_id region
r001 alice 27 paused
r002 gus 27 paused
r003 ivan 26 pending
r004 chen 21 pending
r005 ivan 10 closed
r006 gus 15 ready
r007 kim 10 active
| alice
gus
ivan
chen
ivan
gus
kim
| display_name note record_id region
r001 jules 8 closed
r002 chen 16 closed
r003 kim 5 closed
r004 chen 14 failed
r005 alice 7 paused
r006 lina 15 paused
r007 hana 1 failed
r008 lina 27 pending
| jules
chen
kim
chen
alice
lina
hana
lina
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049130-p1 | Skip the header row and output the note field for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | display_name note record_id region
r001 alice 27 paused
r002 gus 27 paused
r003 ivan 26 pending
r004 chen 21 pending
r005 ivan 10 closed
r006 gus 15 ready
r007 kim 10 active
| alice
gus
ivan
chen
ivan
gus
kim
| display_name note record_id region
r001 jules 8 closed
r002 chen 16 closed
r003 kim 5 closed
r004 chen 14 failed
r005 alice 7 paused
r006 lina 15 paused
r007 hana 1 failed
r008 lina 27 pending
| jules
chen
kim
chen
alice
lina
hana
lina
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049130 | qwen/qwen3.7-plus |
awkweave-0049131 | 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 chen 3 pending
r002 kim 25 failed
r003 ivan 6 paused
r004 kim 20 paused
r005 gus 30 pending
r006 ivan 29 closed
r007 bruno 10 paused
r008 kim 23 pending
| kim
gus
ivan
kim
| record_id display_name score state
r001 bruno 8 closed
r002 lina 1 paused
r003 gus 18 failed
r004 kim 2 pending
r005 bruno 9 failed
r006 jules 18 closed
r007 bruno 20 paused
r008 alice 19 closed
r009 ivan 19 ready
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0049131-p1 | Ignoring the header, display the display_name column for records where the score exceeds 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 chen 3 pending
r002 kim 25 failed
r003 ivan 6 paused
r004 kim 20 paused
r005 gus 30 pending
r006 ivan 29 closed
r007 bruno 10 paused
r008 kim 23 pending
| kim
gus
ivan
kim
| record_id display_name score state
r001 bruno 8 closed
r002 lina 1 paused
r003 gus 18 failed
r004 kim 2 pending
r005 bruno 9 failed
r006 jules 18 closed
r007 bruno 20 paused
r008 alice 19 closed
r009 ivan 19 ready
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049131 | qwen/qwen3.7-plus | |
awkweave-0049132 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | dina 20 paused
kim 10 closed
jules 26 ready
hana 29 paused
jules 28 active
jules 1 failed
hana 4 closed
| paused
closed
ready
paused
active
failed
closed
| farah 10 ready
lina 26 closed
dina 10 active
hana 16 failed
farah 1 paused
alice 10 failed
kim 8 closed
dina 8 failed
jules 27 active
eli 4 pending
| ready
closed
active
failed
paused
failed
closed
failed
active
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049132-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | dina 20 paused
kim 10 closed
jules 26 ready
hana 29 paused
jules 28 active
jules 1 failed
hana 4 closed
| paused
closed
ready
paused
active
failed
closed
| farah 10 ready
lina 26 closed
dina 10 active
hana 16 failed
farah 1 paused
alice 10 failed
kim 8 closed
dina 8 failed
jules 27 active
eli 4 pending
| ready
closed
active
failed
paused
failed
closed
failed
active
pending
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0049132 | qwen/qwen3.7-plus |
awkweave-0049133 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | hana,5,ready
lina,5,ready
alice,3,ready
alice,26,ready
chen,29,active
bruno,27,closed
ivan,24,paused
| alice
chen
bruno
ivan
| ivan,14,closed
farah,5,closed
kim,14,pending
hana,30,active
dina,13,active
gus,15,closed
kim,13,failed
bruno,23,ready
jules,22,pending
| hana
bruno
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049133-p1 | For comma-separated input without quoted commas, output the first column if the second column is greater than 17. | BEGIN{FS=OFS=","}$2>17{print $1} | hana,5,ready
lina,5,ready
alice,3,ready
alice,26,ready
chen,29,active
bruno,27,closed
ivan,24,paused
| alice
chen
bruno
ivan
| ivan,14,closed
farah,5,closed
kim,14,pending
hana,30,active
dina,13,active
gus,15,closed
kim,13,failed
bruno,23,ready
jules,22,pending
| hana
bruno
jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049133 | qwen/qwen3.7-plus |
awkweave-0049134 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen delta 31
dina grove 25
farah delta 30
kim juniper 109
gus ember 102
kim fable 10
kim birch 44
| chen delta 31
dina grove 25
farah delta 30
kim juniper 109
gus ember 102
kim fable 10
kim birch 44
| kim birch 36
alice amber 65
lina cobalt 105
hana juniper 88
eli fable 102
chen indigo 78
alice amber 85
bruno cobalt 83
| kim birch 36
alice amber 65
lina cobalt 105
hana juniper 88
eli fable 102
chen indigo 78
alice amber 85
bruno cobalt 83
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049134-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | chen delta 31
dina grove 25
farah delta 30
kim juniper 109
gus ember 102
kim fable 10
kim birch 44
| chen delta 31
dina grove 25
farah delta 30
kim juniper 109
gus ember 102
kim fable 10
kim birch 44
| kim birch 36
alice amber 65
lina cobalt 105
hana juniper 88
eli fable 102
chen indigo 78
alice amber 85
bruno cobalt 83
| kim birch 36
alice amber 65
lina cobalt 105
hana juniper 88
eli fable 102
chen indigo 78
alice amber 85
bruno cobalt 83
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049134 | qwen/qwen3.7-plus |
awkweave-0049135 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno indigo 109 ready
hana harbor 37 active
jules grove 108 ready
chen grove 115 active
farah indigo 113 ready
dina indigo 48 closed
| bruno indigo 109 ready
| kim delta 109 closed
chen ember 50 paused
gus ember 120 paused
kim delta 1 pending
ivan harbor 53 failed
ivan cobalt 95 paused
lina delta 86 failed
gus harbor 72 closed
jules grove 74 pending
| jules grove 74 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049135-p1 | Output the longest line from the input; in case of a tie in length, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | bruno indigo 109 ready
hana harbor 37 active
jules grove 108 ready
chen grove 115 active
farah indigo 113 ready
dina indigo 48 closed
| bruno indigo 109 ready
| kim delta 109 closed
chen ember 50 paused
gus ember 120 paused
kim delta 1 pending
ivan harbor 53 failed
ivan cobalt 95 paused
lina delta 86 failed
gus harbor 72 closed
jules grove 74 pending
| jules grove 74 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049135 | qwen/qwen3.7-plus |
awkweave-0049136 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | dina 90
gus 84
lina 1
kim 90
kim 52
bruno 49
alice 26
| gus 84
kim 52
| bruno 15
alice 7
hana 11
farah 106
farah 118
ivan 82
gus 73
| alice 7
farah 118
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049136-p1 | Print lines 2, 5, 8, and so on (every third line starting from the second). | NR%3==2 | dina 90
gus 84
lina 1
kim 90
kim 52
bruno 49
alice 26
| gus 84
kim 52
| bruno 15
alice 7
hana 11
farah 106
farah 118
ivan 82
gus 73
| alice 7
farah 118
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049136 | qwen/qwen3.7-plus |
awkweave-0049137 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha cobalt 3
delta grove 26
delta amber 109
delta ember 89
beta juniper 68
delta harbor 104
alpha grove 84
alpha birch 21
delta indigo 38
alpha fable 109
| 3
| gamma indigo 34
gamma birch 1
gamma birch 107
beta delta 116
gamma birch 4
gamma cobalt 40
| 2
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049137-p1 | Calculate and print only the number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | alpha cobalt 3
delta grove 26
delta amber 109
delta ember 89
beta juniper 68
delta harbor 104
alpha grove 84
alpha birch 21
delta indigo 38
alpha fable 109
| 3
| gamma indigo 34
gamma birch 1
gamma birch 107
beta delta 116
gamma birch 4
gamma cobalt 40
| 2
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049137 | qwen/qwen3.7-plus |
awkweave-0049138 | 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} | chen 26 0
dina 29 28
gus 6 17
dina 12 14
hana 28 23
alice 1 18
| dina 1.04
gus 0.35
dina 0.86
hana 1.22
alice 0.06
| gus 30 0
lina 6 18
lina 30 10
eli 13 15
jules 25 24
lina 8 13
hana 16 27
chen 11 6
| lina 0.33
lina 3.00
eli 0.87
jules 1.04
lina 0.62
hana 0.59
chen 1.83
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049138-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 26 0
dina 29 28
gus 6 17
dina 12 14
hana 28 23
alice 1 18
| dina 1.04
gus 0.35
dina 0.86
hana 1.22
alice 0.06
| gus 30 0
lina 6 18
lina 30 10
eli 13 15
jules 25 24
lina 8 13
hana 16 27
chen 11 6
| lina 0.33
lina 3.00
eli 0.87
jules 1.04
lina 0.62
hana 0.59
chen 1.83
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049138 | qwen/qwen3.7-plus |
awkweave-0049139 | 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]} | dina birch 24
kim amber 25
chen cobalt 21
hana delta 17
jules cobalt 26
hana harbor 5
| jules cobalt 26
kim amber 25
dina birch 24
| eli ember 6
chen fable 5
farah indigo 10
hana cobalt 5
jules delta 1
hana birch 8
| farah indigo 10
hana birch 8
eli ember 6
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049139-p1 | Output the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain original 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]} | dina birch 24
kim amber 25
chen cobalt 21
hana delta 17
jules cobalt 26
hana harbor 5
| jules cobalt 26
kim amber 25
dina birch 24
| eli ember 6
chen fable 5
farah indigo 10
hana cobalt 5
jules delta 1
hana birch 8
| farah indigo 10
hana birch 8
eli ember 6
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049139 | qwen/qwen3.7-plus |
awkweave-0049140 | Print column 4 followed by column 1 for every record. | {print $4, $1} | indigo birch failed ready
fable ember pending closed
juniper cobalt pending failed
indigo grove ready failed
fable cobalt pending ready
fable delta closed closed
juniper fable failed active
| ready indigo
closed fable
failed juniper
failed indigo
ready fable
closed fable
active juniper
| ember ember ready ready
indigo grove closed active
fable amber paused paused
birch ember failed active
delta harbor active pending
amber birch pending paused
fable delta closed paused
birch birch closed paused
fable amber pending closed
| ready ember
active indigo
paused fable
active birch
pending delta
paused amber
paused fable
paused birch
closed fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049140-p1 | For every record, print the fourth column followed by the first column. | {print $4, $1} | indigo birch failed ready
fable ember pending closed
juniper cobalt pending failed
indigo grove ready failed
fable cobalt pending ready
fable delta closed closed
juniper fable failed active
| ready indigo
closed fable
failed juniper
failed indigo
ready fable
closed fable
active juniper
| ember ember ready ready
indigo grove closed active
fable amber paused paused
birch ember failed active
delta harbor active pending
amber birch pending paused
fable delta closed paused
birch birch closed paused
fable amber pending closed
| ready ember
active indigo
paused fable
active birch
pending delta
paused amber
paused fable
paused birch
closed fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049140 | qwen/qwen3.7-plus |
awkweave-0049141 | Print the last field of every input line. | {print $NF} | jules closed pending grove
ivan pending failed ember
kim active ready cobalt
alice ready paused juniper
hana active active amber
farah closed paused juniper
| grove
ember
cobalt
juniper
amber
juniper
| gus paused failed grove
chen paused pending amber
chen active paused ember
lina closed paused grove
bruno pending failed ember
bruno ready closed juniper
bruno failed pending ember
hana ready failed juniper
| grove
amber
ember
grove
ember
juniper
ember
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049141-p1 | Output the final field from each line of input. | {print $NF} | jules closed pending grove
ivan pending failed ember
kim active ready cobalt
alice ready paused juniper
hana active active amber
farah closed paused juniper
| grove
ember
cobalt
juniper
amber
juniper
| gus paused failed grove
chen paused pending amber
chen active paused ember
lina closed paused grove
bruno pending failed ember
bruno ready closed juniper
bruno failed pending ember
hana ready failed juniper
| grove
amber
ember
grove
ember
juniper
ember
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049141 | qwen/qwen3.7-plus |
awkweave-0049142 | Print the complete records where column 3 is at most 53. | $3 <= 53 | farah cobalt 97 farah
bruno ember 66 jules
farah fable 31 lina
kim grove 16 bruno
jules birch 119 gus
dina harbor 52 ivan
dina ember 112 gus
hana fable 53 jules
| farah fable 31 lina
kim grove 16 bruno
dina harbor 52 ivan
hana fable 53 jules
| farah juniper 108 lina
ivan delta 120 kim
chen indigo 6 dina
jules juniper 44 jules
jules fable 70 lina
gus harbor 91 hana
kim amber 17 eli
| chen indigo 6 dina
jules juniper 44 jules
kim amber 17 eli
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049142-p1 | Display full records where the value in the third column is less than or equal to 53. | $3 <= 53 | farah cobalt 97 farah
bruno ember 66 jules
farah fable 31 lina
kim grove 16 bruno
jules birch 119 gus
dina harbor 52 ivan
dina ember 112 gus
hana fable 53 jules
| farah fable 31 lina
kim grove 16 bruno
dina harbor 52 ivan
hana fable 53 jules
| farah juniper 108 lina
ivan delta 120 kim
chen indigo 6 dina
jules juniper 44 jules
jules fable 70 lina
gus harbor 91 hana
kim amber 17 eli
| chen indigo 6 dina
jules juniper 44 jules
kim amber 17 eli
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049142 | qwen/qwen3.7-plus |
awkweave-0049143 | Show whole lines whose 2nd field is between 4 and 23, inclusive. | $2 >= 4 && $2 <= 23 | active 27 amber closed
pending 26 fable failed
pending 13 delta failed
active 14 cobalt pending
pending 5 birch pending
pending 25 juniper failed
active 22 harbor closed
active 14 ember ready
active 10 harbor closed
| pending 13 delta failed
active 14 cobalt pending
pending 5 birch pending
active 22 harbor closed
active 14 ember ready
active 10 harbor closed
| ready 20 harbor closed
ready 13 juniper failed
ready 8 harbor paused
paused 25 juniper failed
closed 2 cobalt paused
failed 29 indigo active
failed 16 grove closed
ready 23 delta pending
| ready 20 harbor closed
ready 13 juniper failed
ready 8 harbor paused
failed 16 grove closed
ready 23 delta pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049143-p1 | Output entire lines where the second field falls within the inclusive range of 4 to 23. | $2 >= 4 && $2 <= 23 | active 27 amber closed
pending 26 fable failed
pending 13 delta failed
active 14 cobalt pending
pending 5 birch pending
pending 25 juniper failed
active 22 harbor closed
active 14 ember ready
active 10 harbor closed
| pending 13 delta failed
active 14 cobalt pending
pending 5 birch pending
active 22 harbor closed
active 14 ember ready
active 10 harbor closed
| ready 20 harbor closed
ready 13 juniper failed
ready 8 harbor paused
paused 25 juniper failed
closed 2 cobalt paused
failed 29 indigo active
failed 16 grove closed
ready 23 delta pending
| ready 20 harbor closed
ready 13 juniper failed
ready 8 harbor paused
failed 16 grove closed
ready 23 delta pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049143 | qwen/qwen3.7-plus |
awkweave-0049144 | Print column 1 only for rows where column 2 is exactly closed. | $2 == "closed"{print $1} | lina failed 113 ember
jules active 108 indigo
gus paused 88 grove
bruno pending 36 fable
farah closed 23 harbor
ivan active 106 birch
ivan paused 90 cobalt
| farah
| bruno paused 68 harbor
hana ready 15 birch
dina active 11 birch
dina paused 43 delta
alice failed 8 juniper
eli paused 28 indigo
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0049144-p1 | Extract only the first column for rows where the second column matches the string 'closed' exactly. | $2 == "closed"{print $1} | lina failed 113 ember
jules active 108 indigo
gus paused 88 grove
bruno pending 36 fable
farah closed 23 harbor
ivan active 106 birch
ivan paused 90 cobalt
| farah
| bruno paused 68 harbor
hana ready 15 birch
dina active 11 birch
dina paused 43 delta
alice failed 8 juniper
eli paused 28 indigo
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049144 | qwen/qwen3.7-plus | |
awkweave-0049145 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 84 harbor ERROR
36 delta WARN
2 birch WARN
1 ember ERROR
23 fable DEBUG
8 delta INFO
27 grove WARN
96 delta WARN
| 36 delta WARN
2 birch WARN
27 grove WARN
96 delta WARN
| 51 harbor WARN
63 grove ERROR
38 grove DEBUG
82 ember INFO
85 delta WARN
117 juniper WARN
48 indigo WARN
| 51 harbor WARN
85 delta WARN
117 juniper WARN
48 indigo WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049145-p1 | Print all fields from lines where the third field starts with the prefix 'WARN'. | $3 ~ /^WARN/ | 84 harbor ERROR
36 delta WARN
2 birch WARN
1 ember ERROR
23 fable DEBUG
8 delta INFO
27 grove WARN
96 delta WARN
| 36 delta WARN
2 birch WARN
27 grove WARN
96 delta WARN
| 51 harbor WARN
63 grove ERROR
38 grove DEBUG
82 ember INFO
85 delta WARN
117 juniper WARN
48 indigo WARN
| 51 harbor WARN
85 delta WARN
117 juniper WARN
48 indigo WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049145 | qwen/qwen3.7-plus |
awkweave-0049146 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | amber 58 active
indigo 44 closed
cobalt 68 closed
fable 21 paused
juniper 116 closed
ember 11 closed
grove 27 closed
cobalt 999 active
| amber 58 active
indigo 44 closed
fable 21 paused
juniper 116 closed
ember 11 closed
grove 27 closed
| grove 76 failed
juniper 118 closed
harbor 75 failed
harbor 78 paused
delta 77 active
indigo 82 pending
indigo 43 active
cobalt 116 failed
juniper 46 pending
cobalt 999 active
| grove 76 failed
juniper 118 closed
harbor 75 failed
harbor 78 paused
delta 77 active
indigo 82 pending
indigo 43 active
juniper 46 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049146-p1 | Output every line that does not contain the exact string 'cobalt'. | $0 !~ /cobalt/ | amber 58 active
indigo 44 closed
cobalt 68 closed
fable 21 paused
juniper 116 closed
ember 11 closed
grove 27 closed
cobalt 999 active
| amber 58 active
indigo 44 closed
fable 21 paused
juniper 116 closed
ember 11 closed
grove 27 closed
| grove 76 failed
juniper 118 closed
harbor 75 failed
harbor 78 paused
delta 77 active
indigo 82 pending
indigo 43 active
cobalt 116 failed
juniper 46 pending
cobalt 999 active
| grove 76 failed
juniper 118 closed
harbor 75 failed
harbor 78 paused
delta 77 active
indigo 82 pending
indigo 43 active
juniper 46 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049146 | qwen/qwen3.7-plus |
awkweave-0049147 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | gus fable 73
farah delta 41
gus indigo 4
eli birch 54
dina harbor 77
dina birch 93
gus grove 20
kim harbor 103
kim harbor 9
lina amber 9
| farah delta 41
gus indigo 4
eli birch 54
| hana birch 99
gus harbor 109
hana birch 119
ivan amber 68
farah birch 18
chen harbor 30
eli ember 102
ivan cobalt 82
alice cobalt 16
| gus harbor 109
hana birch 119
ivan amber 68
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049147-p1 | Print lines 2 through 4, inclusive of both the start and end lines. | NR >= 2 && NR <= 4 | gus fable 73
farah delta 41
gus indigo 4
eli birch 54
dina harbor 77
dina birch 93
gus grove 20
kim harbor 103
kim harbor 9
lina amber 9
| farah delta 41
gus indigo 4
eli birch 54
| hana birch 99
gus harbor 109
hana birch 119
ivan amber 68
farah birch 18
chen harbor 30
eli ember 102
ivan cobalt 82
alice cobalt 16
| gus harbor 109
hana birch 119
ivan amber 68
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049147 | qwen/qwen3.7-plus |
awkweave-0049148 | Output only the first 5 records. | NR <= 5 | ivan 51 grove
jules 86 birch
lina 102 amber
hana 17 delta
dina 113 harbor
ivan 53 juniper
alice 30 birch
kim 45 fable
hana 41 juniper
| ivan 51 grove
jules 86 birch
lina 102 amber
hana 17 delta
dina 113 harbor
| ivan 28 birch
bruno 77 indigo
alice 96 indigo
hana 86 amber
kim 26 delta
hana 29 cobalt
hana 14 juniper
farah 59 juniper
eli 83 indigo
| ivan 28 birch
bruno 77 indigo
alice 96 indigo
hana 86 amber
kim 26 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049148-p1 | Display only the first 5 records from the input. | NR <= 5 | ivan 51 grove
jules 86 birch
lina 102 amber
hana 17 delta
dina 113 harbor
ivan 53 juniper
alice 30 birch
kim 45 fable
hana 41 juniper
| ivan 51 grove
jules 86 birch
lina 102 amber
hana 17 delta
dina 113 harbor
| ivan 28 birch
bruno 77 indigo
alice 96 indigo
hana 86 amber
kim 26 delta
hana 29 cobalt
hana 14 juniper
farah 59 juniper
eli 83 indigo
| ivan 28 birch
bruno 77 indigo
alice 96 indigo
hana 86 amber
kim 26 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049148 | qwen/qwen3.7-plus |
awkweave-0049149 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 64 juniper
hana 11 birch
farah 62 delta
dina 50 juniper
kim 77 grove
dina 17 grove
kim 82 delta
gus 15 harbor
ivan 23 birch
| hana 11 birch
farah 62 delta
dina 50 juniper
kim 77 grove
dina 17 grove
kim 82 delta
gus 15 harbor
ivan 23 birch
| kim 77 delta
jules 29 amber
lina 45 birch
eli 53 ember
eli 1 indigo
gus 108 amber
| jules 29 amber
lina 45 birch
eli 53 ember
eli 1 indigo
gus 108 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049149-p1 | Ignore the first line and print all subsequent lines without modification. | NR > 1 | eli 64 juniper
hana 11 birch
farah 62 delta
dina 50 juniper
kim 77 grove
dina 17 grove
kim 82 delta
gus 15 harbor
ivan 23 birch
| hana 11 birch
farah 62 delta
dina 50 juniper
kim 77 grove
dina 17 grove
kim 82 delta
gus 15 harbor
ivan 23 birch
| kim 77 delta
jules 29 amber
lina 45 birch
eli 53 ember
eli 1 indigo
gus 108 amber
| jules 29 amber
lina 45 birch
eli 53 ember
eli 1 indigo
gus 108 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049149 | qwen/qwen3.7-plus |
awkweave-0049150 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | jules active 43
ivan ready 29
farah closed 92
eli failed 82
kim closed 77
farah pending 115
| 1
| jules paused 74
ivan closed 72
hana ready 62
kim closed 40
lina active 48
chen failed 108
farah ready 75
jules pending 1
jules active 90
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049150-p1 | Count the number of records where the second column is 'failed', outputting 0 if no such records exist. | $2 == "failed"{n++}END{print n+0} | jules active 43
ivan ready 29
farah closed 92
eli failed 82
kim closed 77
farah pending 115
| 1
| jules paused 74
ivan closed 72
hana ready 62
kim closed 40
lina active 48
chen failed 108
farah ready 75
jules pending 1
jules active 90
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049150 | qwen/qwen3.7-plus |
awkweave-0049151 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | alice 5 delta
kim 10 grove
lina 15 juniper
alice 2 juniper
ivan 25 juniper
dina 10 indigo
jules 10 amber
eli 10 cobalt
gus 11 harbor
| 98
| dina 18 amber
bruno 27 indigo
kim 1 indigo
dina 13 delta
gus 5 fable
dina 16 ember
chen 29 cobalt
hana 24 harbor
| 133
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049151-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | alice 5 delta
kim 10 grove
lina 15 juniper
alice 2 juniper
ivan 25 juniper
dina 10 indigo
jules 10 amber
eli 10 cobalt
gus 11 harbor
| 98
| dina 18 amber
bruno 27 indigo
kim 1 indigo
dina 13 delta
gus 5 fable
dina 16 ember
chen 29 cobalt
hana 24 harbor
| 133
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049151 | qwen/qwen3.7-plus |
awkweave-0049152 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | grove 8 ivan
juniper 5 jules
grove 6 dina
amber 11 chen
indigo 17 gus
ember 11 alice
fable 4 dina
| 8.86
| birch 28 ivan
grove 8 dina
grove 25 bruno
amber 21 hana
grove 22 jules
amber 5 gus
grove 10 bruno
harbor 19 eli
cobalt 26 lina
indigo 25 farah
| 18.90
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049152-p1 | Calculate the average of the values in the second column and print it rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | grove 8 ivan
juniper 5 jules
grove 6 dina
amber 11 chen
indigo 17 gus
ember 11 alice
fable 4 dina
| 8.86
| birch 28 ivan
grove 8 dina
grove 25 bruno
amber 21 hana
grove 22 jules
amber 5 gus
grove 10 bruno
harbor 19 eli
cobalt 26 lina
indigo 25 farah
| 18.90
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049152 | qwen/qwen3.7-plus |
awkweave-0049153 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 14 harbor
hana 21 delta
eli 17 indigo
alice 12 amber
gus 29 harbor
farah 15 birch
ivan 20 ember
farah 25 indigo
gus 11 indigo
| 11
| jules 10 grove
lina 29 ember
gus 7 amber
gus 7 delta
bruno 28 juniper
hana 2 grove
eli 28 ember
dina 5 juniper
lina 19 juniper
kim 14 delta
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049153-p1 | Identify and print the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 14 harbor
hana 21 delta
eli 17 indigo
alice 12 amber
gus 29 harbor
farah 15 birch
ivan 20 ember
farah 25 indigo
gus 11 indigo
| 11
| jules 10 grove
lina 29 ember
gus 7 amber
gus 7 delta
bruno 28 juniper
hana 2 grove
eli 28 ember
dina 5 juniper
lina 19 juniper
kim 14 delta
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049153 | qwen/qwen3.7-plus |
awkweave-0049154 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 7 cobalt alice
12 ember hana
20 ember chen
14 amber lina
16 juniper dina
9 fable chen
11 grove jules
| 20
| 25 harbor hana
5 cobalt jules
28 indigo lina
5 juniper lina
13 amber alice
18 ember lina
11 grove bruno
23 ember ivan
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049154-p1 | Identify and output the maximum number found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 7 cobalt alice
12 ember hana
20 ember chen
14 amber lina
16 juniper dina
9 fable chen
11 grove jules
| 20
| 25 harbor hana
5 cobalt jules
28 indigo lina
5 juniper lina
13 amber alice
18 ember lina
11 grove bruno
23 ember ivan
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049154 | qwen/qwen3.7-plus |
awkweave-0049155 | Count all input records and print the total. | END{print NR} | farah 64
gus 85
farah 120
bruno 39
ivan 9
ivan 50
| 6
| farah 116
gus 22
hana 58
gus 28
dina 62
farah 42
kim 107
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049155-p1 | Calculate the total number of input records and display the count. | END{print NR} | farah 64
gus 85
farah 120
bruno 39
ivan 9
ivan 50
| 6
| farah 116
gus 22
hana 58
gus 28
dina 62
farah 42
kim 107
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049155 | qwen/qwen3.7-plus |
awkweave-0049156 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen harbor 66
gus indigo 9
hana indigo 55
kim fable 9
kim amber 47
jules cobalt 109
ivan indigo 35
chen harbor 62
gus amber 14
kim birch 48
gus amber 14
| chen harbor 66
gus indigo 9
hana indigo 55
kim fable 9
kim amber 47
jules cobalt 109
ivan indigo 35
chen harbor 62
gus amber 14
kim birch 48
| bruno amber 12
chen ember 21
chen ember 21
gus delta 92
jules birch 88
dina birch 102
eli fable 28
dina juniper 77
| bruno amber 12
chen ember 21
gus delta 92
jules birch 88
dina birch 102
eli fable 28
dina juniper 77
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049156-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | chen harbor 66
gus indigo 9
hana indigo 55
kim fable 9
kim amber 47
jules cobalt 109
ivan indigo 35
chen harbor 62
gus amber 14
kim birch 48
gus amber 14
| chen harbor 66
gus indigo 9
hana indigo 55
kim fable 9
kim amber 47
jules cobalt 109
ivan indigo 35
chen harbor 62
gus amber 14
kim birch 48
| bruno amber 12
chen ember 21
chen ember 21
gus delta 92
jules birch 88
dina birch 102
eli fable 28
dina juniper 77
| bruno amber 12
chen ember 21
gus delta 92
jules birch 88
dina birch 102
eli fable 28
dina juniper 77
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049156 | qwen/qwen3.7-plus |
awkweave-0049157 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | eli ember 43
dina indigo 105
jules birch 77
bruno cobalt 17
hana indigo 64
jules fable 99
lina grove 118
gus amber 45
alice cobalt 75
| eli ember 43
dina indigo 105
jules birch 77
bruno cobalt 17
jules fable 99
lina grove 118
gus amber 45
| bruno ember 57
jules fable 71
gus fable 79
jules harbor 25
bruno indigo 19
hana delta 54
jules indigo 47
farah grove 63
| bruno ember 57
jules fable 71
jules harbor 25
bruno indigo 19
hana delta 54
farah grove 63
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049157-p1 | Retain only the initial line for every unique value in the second column, keeping the input order intact. | !seen[$2]++ | eli ember 43
dina indigo 105
jules birch 77
bruno cobalt 17
hana indigo 64
jules fable 99
lina grove 118
gus amber 45
alice cobalt 75
| eli ember 43
dina indigo 105
jules birch 77
bruno cobalt 17
jules fable 99
lina grove 118
gus amber 45
| bruno ember 57
jules fable 71
gus fable 79
jules harbor 25
bruno indigo 19
hana delta 54
jules indigo 47
farah grove 63
| bruno ember 57
jules fable 71
jules harbor 25
bruno indigo 19
hana delta 54
farah grove 63
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049157 | qwen/qwen3.7-plus |
awkweave-0049158 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 21 juniper
kim 16 juniper
kim 10 indigo
dina 1 birch
hana 13 fable
farah 22 delta
kim 9 birch
| ivan 21
kim 37
kim 47
dina 48
hana 61
farah 83
kim 92
| farah 11 grove
lina 19 juniper
lina 14 birch
hana 27 juniper
alice 12 cobalt
eli 3 ember
jules 7 cobalt
| farah 11
lina 30
lina 44
hana 71
alice 83
eli 86
jules 93
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049158-p1 | Output the first column alongside the cumulative sum of the second column, with a space between them. | {s+=$2;print $1,s} | ivan 21 juniper
kim 16 juniper
kim 10 indigo
dina 1 birch
hana 13 fable
farah 22 delta
kim 9 birch
| ivan 21
kim 37
kim 47
dina 48
hana 61
farah 83
kim 92
| farah 11 grove
lina 19 juniper
lina 14 birch
hana 27 juniper
alice 12 cobalt
eli 3 ember
jules 7 cobalt
| farah 11
lina 30
lina 44
hana 71
alice 83
eli 86
jules 93
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049158 | qwen/qwen3.7-plus |
awkweave-0049159 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 26 3 ember
jules 23 16 delta
gus 9 19 juniper
farah 8 29 harbor
alice 14 30 juniper
bruno 21 26 birch
farah 15 9 ember
| eli 29
jules 39
gus 28
farah 37
alice 44
bruno 47
farah 24
| kim 30 27 indigo
ivan 26 17 harbor
gus 30 24 cobalt
jules 16 14 ember
gus 23 6 grove
lina 4 7 ember
| kim 57
ivan 43
gus 54
jules 30
gus 29
lina 11
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049159-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | eli 26 3 ember
jules 23 16 delta
gus 9 19 juniper
farah 8 29 harbor
alice 14 30 juniper
bruno 21 26 birch
farah 15 9 ember
| eli 29
jules 39
gus 28
farah 37
alice 44
bruno 47
farah 24
| kim 30 27 indigo
ivan 26 17 harbor
gus 30 24 cobalt
jules 16 14 ember
gus 23 6 grove
lina 4 7 ember
| kim 57
ivan 43
gus 54
jules 30
gus 29
lina 11
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049159 | qwen/qwen3.7-plus |
awkweave-0049160 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | alice 6
kim 25
farah 9
chen 9
jules 30
alice 30
kim 5
alice 8
| alice fail
kim fail
farah fail
chen fail
jules pass
alice pass
kim fail
alice fail
| hana 27
kim 23
chen 26
jules 9
chen 29
hana 4
| hana pass
kim fail
chen pass
jules fail
chen pass
hana fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049160-p1 | Output the first column; if the second column is 26 or greater, print 'pass', otherwise print 'fail'. | {print $1,($2>=26?"pass":"fail")} | alice 6
kim 25
farah 9
chen 9
jules 30
alice 30
kim 5
alice 8
| alice fail
kim fail
farah fail
chen fail
jules pass
alice pass
kim fail
alice fail
| hana 27
kim 23
chen 26
jules 9
chen 29
hana 4
| hana pass
kim fail
chen pass
jules fail
chen pass
hana fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049160 | qwen/qwen3.7-plus |
awkweave-0049161 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | alice indigo 59
chen grove 21
hana fable 47
lina juniper 30
farah cobalt 32
kim grove 89
lina cobalt 12
alice grove 39
lina birch 120
jules birch 79
| INDIGO
GROVE
FABLE
JUNIPER
COBALT
GROVE
COBALT
GROVE
BIRCH
BIRCH
| lina cobalt 78
jules delta 93
lina cobalt 29
dina fable 5
farah ember 106
jules grove 104
gus juniper 30
bruno indigo 20
| COBALT
DELTA
COBALT
FABLE
EMBER
GROVE
JUNIPER
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049161-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | alice indigo 59
chen grove 21
hana fable 47
lina juniper 30
farah cobalt 32
kim grove 89
lina cobalt 12
alice grove 39
lina birch 120
jules birch 79
| INDIGO
GROVE
FABLE
JUNIPER
COBALT
GROVE
COBALT
GROVE
BIRCH
BIRCH
| lina cobalt 78
jules delta 93
lina cobalt 29
dina fable 5
farah ember 106
jules grove 104
gus juniper 30
bruno indigo 20
| COBALT
DELTA
COBALT
FABLE
EMBER
GROVE
JUNIPER
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049161 | qwen/qwen3.7-plus |
awkweave-0049162 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | harbor 91
cobalt 51
juniper 44
birch 56
harbor 63
delta 17
harbor 59
cobalt 30
| har
cob
jun
bir
har
del
har
cob
| harbor 65
amber 70
fable 22
indigo 38
ember 64
ember 19
fable 1
juniper 92
indigo 7
delta 53
| har
amb
fab
ind
emb
emb
fab
jun
ind
del
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.