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-0057613 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | ivan failed 21
eli pending 114
jules failed 73
gus failed 106
dina pending 120
hana pending 11
| 3
| eli paused 76
hana ready 40
dina active 77
alice active 4
dina closed 42
kim failed 0
hana active 96
dina paused 42
jules closed 20
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057613-p1 | Tally the number of entries marked as failed in the second column, outputting 0 if no such entries exist. | $2 == "failed"{n++}END{print n+0} | ivan failed 21
eli pending 114
jules failed 73
gus failed 106
dina pending 120
hana pending 11
| 3
| eli paused 76
hana ready 40
dina active 77
alice active 4
dina closed 42
kim failed 0
hana active 96
dina paused 42
jules closed 20
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057613 | qwen/qwen3.7-plus |
awkweave-0057614 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 15 bruno amber
23 farah juniper
27 lina ember
28 farah fable
9 alice juniper
20 chen indigo
| 122
| 4 dina delta
14 farah delta
11 dina ember
10 eli ember
29 hana amber
23 alice delta
18 alice birch
13 bruno birch
15 hana grove
| 137
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057614-p1 | Compute and display the total sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 15 bruno amber
23 farah juniper
27 lina ember
28 farah fable
9 alice juniper
20 chen indigo
| 122
| 4 dina delta
14 farah delta
11 dina ember
10 eli ember
29 hana amber
23 alice delta
18 alice birch
13 bruno birch
15 hana grove
| 137
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057614 | qwen/qwen3.7-plus |
awkweave-0057615 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno indigo 17
gus ember 23
eli fable 12
lina harbor 15
dina cobalt 15
chen harbor 30
| 18.67
| jules juniper 17
jules cobalt 28
bruno indigo 1
bruno amber 2
bruno ember 14
hana birch 19
hana delta 22
| 14.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057615-p1 | Output the average value of the third column, formatted to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno indigo 17
gus ember 23
eli fable 12
lina harbor 15
dina cobalt 15
chen harbor 30
| 18.67
| jules juniper 17
jules cobalt 28
bruno indigo 1
bruno amber 2
bruno ember 14
hana birch 19
hana delta 22
| 14.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057615 | qwen/qwen3.7-plus |
awkweave-0057616 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 lina delta
1 eli ember
4 hana cobalt
2 ivan cobalt
5 eli grove
6 lina fable
20 lina cobalt
7 lina harbor
21 dina amber
| 1
| 21 bruno delta
2 gus ember
5 alice birch
27 farah amber
25 dina birch
20 bruno juniper
22 chen birch
6 hana delta
8 ivan birch
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057616-p1 | Identify and display the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 lina delta
1 eli ember
4 hana cobalt
2 ivan cobalt
5 eli grove
6 lina fable
20 lina cobalt
7 lina harbor
21 dina amber
| 1
| 21 bruno delta
2 gus ember
5 alice birch
27 farah amber
25 dina birch
20 bruno juniper
22 chen birch
6 hana delta
8 ivan birch
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057616 | qwen/qwen3.7-plus |
awkweave-0057617 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 22 farah
fable 22 eli
juniper 3 eli
indigo 10 chen
birch 2 jules
birch 17 alice
indigo 10 jules
delta 12 jules
birch 26 gus
fable 6 kim
| 26
| birch 22 gus
harbor 22 gus
cobalt 30 ivan
fable 12 chen
birch 9 hana
indigo 21 ivan
cobalt 29 jules
delta 29 dina
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057617-p1 | Identify and display the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 22 farah
fable 22 eli
juniper 3 eli
indigo 10 chen
birch 2 jules
birch 17 alice
indigo 10 jules
delta 12 jules
birch 26 gus
fable 6 kim
| 26
| birch 22 gus
harbor 22 gus
cobalt 30 ivan
fable 12 chen
birch 9 hana
indigo 21 ivan
cobalt 29 jules
delta 29 dina
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057617 | qwen/qwen3.7-plus |
awkweave-0057618 | Count all input records and print the total. | END{print NR} | gus 76
alice 106
lina 29
farah 6
chen 111
bruno 113
jules 28
bruno 110
farah 64
| 9
| kim 30
hana 106
eli 80
eli 81
ivan 61
chen 33
gus 110
chen 87
jules 116
alice 68
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057618-p1 | Count the total number of input records and print the result. | END{print NR} | gus 76
alice 106
lina 29
farah 6
chen 111
bruno 113
jules 28
bruno 110
farah 64
| 9
| kim 30
hana 106
eli 80
eli 81
ivan 61
chen 33
gus 110
chen 87
jules 116
alice 68
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057618 | qwen/qwen3.7-plus |
awkweave-0057619 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus ember 72
ivan grove 29
bruno indigo 18
dina delta 102
eli juniper 69
gus ember 24
gus ember 72
| gus ember 72
ivan grove 29
bruno indigo 18
dina delta 102
eli juniper 69
gus ember 24
| lina indigo 86
dina cobalt 39
lina indigo 86
ivan harbor 89
alice juniper 91
alice indigo 59
bruno juniper 21
alice delta 6
hana amber 77
lina fable 21
eli delta 51
| lina indigo 86
dina cobalt 39
ivan harbor 89
alice juniper 91
alice indigo 59
bruno juniper 21
alice delta 6
hana amber 77
lina fable 21
eli delta 51
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057619-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping only the first instance of each. | !seen[$0]++ | gus ember 72
ivan grove 29
bruno indigo 18
dina delta 102
eli juniper 69
gus ember 24
gus ember 72
| gus ember 72
ivan grove 29
bruno indigo 18
dina delta 102
eli juniper 69
gus ember 24
| lina indigo 86
dina cobalt 39
lina indigo 86
ivan harbor 89
alice juniper 91
alice indigo 59
bruno juniper 21
alice delta 6
hana amber 77
lina fable 21
eli delta 51
| lina indigo 86
dina cobalt 39
ivan harbor 89
alice juniper 91
alice indigo 59
bruno juniper 21
alice delta 6
hana amber 77
lina fable 21
eli delta 51
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057619 | qwen/qwen3.7-plus |
awkweave-0057620 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina indigo 115
bruno juniper 4
farah fable 25
ivan juniper 62
bruno juniper 81
jules indigo 46
dina fable 97
ivan indigo 113
dina amber 117
| dina indigo 115
bruno juniper 4
farah fable 25
ivan juniper 62
jules indigo 46
| farah indigo 108
gus grove 109
bruno juniper 40
chen ember 14
hana indigo 93
gus harbor 64
ivan ember 58
jules cobalt 113
| farah indigo 108
gus grove 109
bruno juniper 40
chen ember 14
hana indigo 93
ivan ember 58
jules cobalt 113
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057620-p1 | Retain only the first occurrence for every unique value in the first column, preserving the original input sequence. | !seen[$1]++ | dina indigo 115
bruno juniper 4
farah fable 25
ivan juniper 62
bruno juniper 81
jules indigo 46
dina fable 97
ivan indigo 113
dina amber 117
| dina indigo 115
bruno juniper 4
farah fable 25
ivan juniper 62
jules indigo 46
| farah indigo 108
gus grove 109
bruno juniper 40
chen ember 14
hana indigo 93
gus harbor 64
ivan ember 58
jules cobalt 113
| farah indigo 108
gus grove 109
bruno juniper 40
chen ember 14
hana indigo 93
ivan ember 58
jules cobalt 113
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057620 | qwen/qwen3.7-plus |
awkweave-0057621 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 19 grove
ivan 16 juniper
kim 7 ember
chen 12 harbor
hana 9 delta
dina 9 amber
bruno 19 harbor
gus 10 indigo
eli 9 birch
gus 7 amber
| ivan 19
ivan 35
kim 42
chen 54
hana 63
dina 72
bruno 91
gus 101
eli 110
gus 117
| lina 22 juniper
eli 28 grove
alice 4 delta
eli 30 juniper
lina 18 juniper
farah 24 delta
ivan 29 indigo
kim 9 juniper
kim 12 fable
jules 24 fable
| lina 22
eli 50
alice 54
eli 84
lina 102
farah 126
ivan 155
kim 164
kim 176
jules 200
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057621-p1 | For each record, output the value from column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 19 grove
ivan 16 juniper
kim 7 ember
chen 12 harbor
hana 9 delta
dina 9 amber
bruno 19 harbor
gus 10 indigo
eli 9 birch
gus 7 amber
| ivan 19
ivan 35
kim 42
chen 54
hana 63
dina 72
bruno 91
gus 101
eli 110
gus 117
| lina 22 juniper
eli 28 grove
alice 4 delta
eli 30 juniper
lina 18 juniper
farah 24 delta
ivan 29 indigo
kim 9 juniper
kim 12 fable
jules 24 fable
| lina 22
eli 50
alice 54
eli 84
lina 102
farah 126
ivan 155
kim 164
kim 176
jules 200
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057621 | qwen/qwen3.7-plus |
awkweave-0057622 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | ivan 28 16 fable
kim 26 22 birch
eli 2 28 juniper
lina 6 2 indigo
eli 10 5 birch
dina 18 30 grove
chen 16 7 delta
| ivan 44
kim 48
eli 30
lina 8
eli 15
dina 48
chen 23
| farah 30 11 grove
kim 8 24 harbor
gus 3 30 birch
kim 29 9 indigo
farah 28 3 juniper
eli 13 3 fable
ivan 13 12 grove
alice 15 14 fable
hana 22 17 harbor
| farah 41
kim 32
gus 33
kim 38
farah 31
eli 16
ivan 25
alice 29
hana 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057622-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | ivan 28 16 fable
kim 26 22 birch
eli 2 28 juniper
lina 6 2 indigo
eli 10 5 birch
dina 18 30 grove
chen 16 7 delta
| ivan 44
kim 48
eli 30
lina 8
eli 15
dina 48
chen 23
| farah 30 11 grove
kim 8 24 harbor
gus 3 30 birch
kim 29 9 indigo
farah 28 3 juniper
eli 13 3 fable
ivan 13 12 grove
alice 15 14 fable
hana 22 17 harbor
| farah 41
kim 32
gus 33
kim 38
farah 31
eli 16
ivan 25
alice 29
hana 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057622 | qwen/qwen3.7-plus |
awkweave-0057623 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | jules 7
chen 30
alice 19
ivan 5
ivan 8
jules 1
bruno 9
ivan 10
farah 19
lina 23
| jules fail
chen pass
alice fail
ivan fail
ivan fail
jules fail
bruno fail
ivan fail
farah fail
lina pass
| ivan 24
jules 5
eli 1
bruno 9
chen 12
chen 27
| ivan pass
jules fail
eli fail
bruno fail
chen fail
chen pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057623-p1 | Output the value from column 1 along with 'pass' if column 2 is 20 or greater, otherwise output 'fail'. | {print $1,($2>=20?"pass":"fail")} | jules 7
chen 30
alice 19
ivan 5
ivan 8
jules 1
bruno 9
ivan 10
farah 19
lina 23
| jules fail
chen pass
alice fail
ivan fail
ivan fail
jules fail
bruno fail
ivan fail
farah fail
lina pass
| ivan 24
jules 5
eli 1
bruno 9
chen 12
chen 27
| ivan pass
jules fail
eli fail
bruno fail
chen fail
chen pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057623 | qwen/qwen3.7-plus |
awkweave-0057624 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | jules harbor 72
jules amber 100
chen birch 96
ivan fable 110
gus grove 78
dina indigo 76
eli juniper 21
hana harbor 27
hana ember 86
ivan amber 39
| JULES
JULES
CHEN
IVAN
GUS
DINA
ELI
HANA
HANA
IVAN
| eli delta 41
bruno harbor 35
kim birch 3
farah juniper 16
gus delta 20
alice birch 15
ivan birch 107
hana indigo 14
farah birch 76
| ELI
BRUNO
KIM
FARAH
GUS
ALICE
IVAN
HANA
FARAH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057624-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | jules harbor 72
jules amber 100
chen birch 96
ivan fable 110
gus grove 78
dina indigo 76
eli juniper 21
hana harbor 27
hana ember 86
ivan amber 39
| JULES
JULES
CHEN
IVAN
GUS
DINA
ELI
HANA
HANA
IVAN
| eli delta 41
bruno harbor 35
kim birch 3
farah juniper 16
gus delta 20
alice birch 15
ivan birch 107
hana indigo 14
farah birch 76
| ELI
BRUNO
KIM
FARAH
GUS
ALICE
IVAN
HANA
FARAH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057624 | qwen/qwen3.7-plus |
awkweave-0057625 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | birch 18
birch 28
indigo 116
fable 66
delta 98
grove 53
cobalt 67
| rc
rc
di
bl
lt
ov
ba
| indigo 69
harbor 95
ember 25
birch 18
birch 33
grove 88
| di
rb
be
rc
rc
ov
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057625-p1 | Extract and print a 2-character substring from column 1, starting at position 3. | {print substr($1,3,2)} | birch 18
birch 28
indigo 116
fable 66
delta 98
grove 53
cobalt 67
| rc
rc
di
bl
lt
ov
ba
| indigo 69
harbor 95
ember 25
birch 18
birch 33
grove 88
| di
rb
be
rc
rc
ov
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057625 | qwen/qwen3.7-plus |
awkweave-0057626 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_fable 30
birch_juniper 90
ember_harbor 25
birch_amber 111
juniper_indigo 30
amber_delta 109
ember_ember 99
juniper_indigo 89
indigo_indigo 31
ember_indigo 34
| harbor fable
birch juniper
ember harbor
birch amber
juniper indigo
amber delta
ember ember
juniper indigo
indigo indigo
ember indigo
| amber_juniper 99
indigo_delta 37
ember_fable 120
cobalt_indigo 120
cobalt_harbor 114
grove_harbor 25
delta_cobalt 24
grove_delta 103
juniper_ember 47
| amber juniper
indigo delta
ember fable
cobalt indigo
cobalt harbor
grove harbor
delta cobalt
grove delta
juniper ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057626-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | harbor_fable 30
birch_juniper 90
ember_harbor 25
birch_amber 111
juniper_indigo 30
amber_delta 109
ember_ember 99
juniper_indigo 89
indigo_indigo 31
ember_indigo 34
| harbor fable
birch juniper
ember harbor
birch amber
juniper indigo
amber delta
ember ember
juniper indigo
indigo indigo
ember indigo
| amber_juniper 99
indigo_delta 37
ember_fable 120
cobalt_indigo 120
cobalt_harbor 114
grove_harbor 25
delta_cobalt 24
grove_delta 103
juniper_ember 47
| amber juniper
indigo delta
ember fable
cobalt indigo
cobalt harbor
grove harbor
delta cobalt
grove delta
juniper ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057626 | qwen/qwen3.7-plus |
awkweave-0057627 | 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)} | kim indigo 106 closed
jules grove 95 paused
alice birch 112 active
bruno grove 48 pending
chen juniper 54 failed
dina birch 38 ready
gus cobalt 54 failed
| closed 106 indigo kim
paused 95 grove jules
active 112 birch alice
pending 48 grove bruno
failed 54 juniper chen
ready 38 birch dina
failed 54 cobalt gus
| chen harbor 29 ready
chen amber 55 failed
ivan indigo 22 failed
farah ember 42 failed
jules amber 46 closed
alice harbor 110 paused
| ready 29 harbor chen
failed 55 amber chen
failed 22 indigo ivan
failed 42 ember farah
closed 46 amber jules
paused 110 harbor alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057627-p1 | Reverse the sequence of fields on each line and output all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim indigo 106 closed
jules grove 95 paused
alice birch 112 active
bruno grove 48 pending
chen juniper 54 failed
dina birch 38 ready
gus cobalt 54 failed
| closed 106 indigo kim
paused 95 grove jules
active 112 birch alice
pending 48 grove bruno
failed 54 juniper chen
ready 38 birch dina
failed 54 cobalt gus
| chen harbor 29 ready
chen amber 55 failed
ivan indigo 22 failed
farah ember 42 failed
jules amber 46 closed
alice harbor 110 paused
| ready 29 harbor chen
failed 55 amber chen
failed 22 indigo ivan
failed 42 ember farah
closed 46 amber jules
paused 110 harbor alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057627 | qwen/qwen3.7-plus |
awkweave-0057628 | Print the number of whitespace-separated fields on each line. | {print NF} | dina delta 95 ready
bruno cobalt 78 closed
jules birch 37 ready
lina juniper 13 pending
kim cobalt 77 pending
lina ember 8 ready
eli harbor 5 active
| 4
4
4
4
4
4
4
| lina harbor 45 ready
alice delta 98 active
kim harbor 97 active
chen grove 34 closed
farah fable 49 paused
alice delta 42 paused
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057628-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | dina delta 95 ready
bruno cobalt 78 closed
jules birch 37 ready
lina juniper 13 pending
kim cobalt 77 pending
lina ember 8 ready
eli harbor 5 active
| 4
4
4
4
4
4
4
| lina harbor 45 ready
alice delta 98 active
kim harbor 97 active
chen grove 34 closed
farah fable 49 paused
alice delta 42 paused
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057628 | qwen/qwen3.7-plus |
awkweave-0057629 | 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]]} | bruno gamma 1
jules alpha 15
ivan gamma 99
kim beta 72
jules alpha 2
ivan alpha 20
bruno beta 52
| gamma 2
alpha 3
beta 2
| bruno delta 87
dina gamma 88
kim gamma 51
farah alpha 114
chen gamma 69
farah gamma 16
| delta 1
gamma 4
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057629-p1 | Tally records by unique values in column 2, printing each value and its total 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]]} | bruno gamma 1
jules alpha 15
ivan gamma 99
kim beta 72
jules alpha 2
ivan alpha 20
bruno beta 52
| gamma 2
alpha 3
beta 2
| bruno delta 87
dina gamma 88
kim gamma 51
farah alpha 114
chen gamma 69
farah gamma 16
| delta 1
gamma 4
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057629 | qwen/qwen3.7-plus |
awkweave-0057630 | 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]]} | eli delta 28
alice gamma 20
eli alpha 9
hana gamma 5
ivan gamma 15
farah alpha 19
chen gamma 9
eli delta 7
eli gamma 20
| delta 35
gamma 69
alpha 28
| bruno delta 21
chen gamma 8
ivan alpha 6
hana delta 11
ivan gamma 9
ivan beta 7
jules gamma 28
chen delta 2
farah beta 2
farah alpha 30
| delta 34
gamma 45
alpha 36
beta 9
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057630-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying 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]]} | eli delta 28
alice gamma 20
eli alpha 9
hana gamma 5
ivan gamma 15
farah alpha 19
chen gamma 9
eli delta 7
eli gamma 20
| delta 35
gamma 69
alpha 28
| bruno delta 21
chen gamma 8
ivan alpha 6
hana delta 11
ivan gamma 9
ivan beta 7
jules gamma 28
chen delta 2
farah beta 2
farah alpha 30
| delta 34
gamma 45
alpha 36
beta 9
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057630 | qwen/qwen3.7-plus |
awkweave-0057631 | 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 delta 18
beta birch 68
alpha delta 18
beta cobalt 70
gamma juniper 107
gamma juniper 106
gamma fable 21
| alpha 2
beta 2
gamma 3
| gamma amber 40
delta delta 46
beta fable 0
alpha birch 113
beta ember 92
delta fable 19
beta indigo 22
| delta 2
beta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057631-p1 | List each duplicate value from column 1 alongside its occurrence count, sorted 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]]} | alpha delta 18
beta birch 68
alpha delta 18
beta cobalt 70
gamma juniper 107
gamma juniper 106
gamma fable 21
| alpha 2
beta 2
gamma 3
| gamma amber 40
delta delta 46
beta fable 0
alpha birch 113
beta ember 92
delta fable 19
beta indigo 22
| delta 2
beta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057631 | qwen/qwen3.7-plus |
awkweave-0057632 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region score record_id
r001 chen 24 closed
r002 ivan 25 active
r003 ivan 16 paused
r004 ivan 1 closed
r005 chen 11 paused
r006 alice 20 failed
r007 jules 29 pending
r008 farah 19 failed
r009 farah 27 closed
| chen
ivan
ivan
ivan
chen
alice
jules
farah
farah
| note region score record_id
r001 eli 18 failed
r002 ivan 13 failed
r003 kim 23 failed
r004 gus 3 pending
r005 dina 23 failed
r006 jules 2 ready
| eli
ivan
kim
gus
dina
jules
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057632-p1 | Skip the header row and output the region column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region score record_id
r001 chen 24 closed
r002 ivan 25 active
r003 ivan 16 paused
r004 ivan 1 closed
r005 chen 11 paused
r006 alice 20 failed
r007 jules 29 pending
r008 farah 19 failed
r009 farah 27 closed
| chen
ivan
ivan
ivan
chen
alice
jules
farah
farah
| note region score record_id
r001 eli 18 failed
r002 ivan 13 failed
r003 kim 23 failed
r004 gus 3 pending
r005 dina 23 failed
r006 jules 2 ready
| eli
ivan
kim
gus
dina
jules
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057632 | qwen/qwen3.7-plus |
awkweave-0057633 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 bruno 22 failed
r002 jules 27 failed
r003 chen 14 paused
r004 lina 7 pending
r005 hana 26 ready
r006 alice 18 ready
r007 hana 2 ready
r008 kim 28 active
r009 alice 5 ready
r010 alice 3 paused
| bruno
jules
hana
alice
kim
| record_id display_name score state
r001 farah 24 closed
r002 alice 24 failed
r003 farah 28 failed
r004 chen 5 ready
r005 hana 7 closed
r006 ivan 2 closed
r007 kim 26 failed
r008 dina 18 pending
r009 kim 22 pending
| farah
alice
farah
kim
dina
kim
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057633-p1 | Ignoring the header, print the display_name column for rows where the score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 bruno 22 failed
r002 jules 27 failed
r003 chen 14 paused
r004 lina 7 pending
r005 hana 26 ready
r006 alice 18 ready
r007 hana 2 ready
r008 kim 28 active
r009 alice 5 ready
r010 alice 3 paused
| bruno
jules
hana
alice
kim
| record_id display_name score state
r001 farah 24 closed
r002 alice 24 failed
r003 farah 28 failed
r004 chen 5 ready
r005 hana 7 closed
r006 ivan 2 closed
r007 kim 26 failed
r008 dina 18 pending
r009 kim 22 pending
| farah
alice
farah
kim
dina
kim
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057633 | qwen/qwen3.7-plus |
awkweave-0057634 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 5 pending
chen 28 failed
ivan 28 pending
lina 6 active
lina 30 pending
gus 18 ready
farah 22 paused
bruno 30 pending
| pending
failed
pending
active
pending
ready
paused
pending
| dina 12 pending
jules 7 active
eli 28 paused
chen 11 pending
ivan 28 pending
chen 26 pending
lina 10 closed
gus 23 ready
jules 14 active
| pending
active
paused
pending
pending
pending
closed
ready
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057634-p1 | Given tab-separated input, output the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 5 pending
chen 28 failed
ivan 28 pending
lina 6 active
lina 30 pending
gus 18 ready
farah 22 paused
bruno 30 pending
| pending
failed
pending
active
pending
ready
paused
pending
| dina 12 pending
jules 7 active
eli 28 paused
chen 11 pending
ivan 28 pending
chen 26 pending
lina 10 closed
gus 23 ready
jules 14 active
| pending
active
paused
pending
pending
pending
closed
ready
active
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057634 | qwen/qwen3.7-plus |
awkweave-0057635 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | alice,14,pending
bruno,13,paused
hana,7,ready
lina,30,paused
ivan,10,active
farah,1,closed
lina,18,failed
alice,19,pending
| alice
bruno
lina
ivan
lina
alice
| jules,22,closed
ivan,5,paused
kim,3,closed
gus,18,active
jules,4,ready
jules,21,failed
eli,14,ready
chen,28,paused
| jules
gus
jules
eli
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057635-p1 | For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | alice,14,pending
bruno,13,paused
hana,7,ready
lina,30,paused
ivan,10,active
farah,1,closed
lina,18,failed
alice,19,pending
| alice
bruno
lina
ivan
lina
alice
| jules,22,closed
ivan,5,paused
kim,3,closed
gus,18,active
jules,4,ready
jules,21,failed
eli,14,ready
chen,28,paused
| jules
gus
jules
eli
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057635 | qwen/qwen3.7-plus |
awkweave-0057636 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules cobalt 86
chen cobalt 51
ivan cobalt 27
jules grove 78
alice fable 69
gus birch 64
chen birch 86
bruno fable 45
| jules cobalt 86
chen cobalt 51
ivan cobalt 27
jules grove 78
alice fable 69
gus birch 64
chen birch 86
bruno fable 45
| kim birch 115
jules indigo 19
hana indigo 43
hana cobalt 103
gus harbor 18
bruno grove 5
| kim birch 115
jules indigo 19
hana indigo 43
hana cobalt 103
gus harbor 18
bruno grove 5
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057636-p1 | Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | jules cobalt 86
chen cobalt 51
ivan cobalt 27
jules grove 78
alice fable 69
gus birch 64
chen birch 86
bruno fable 45
| jules cobalt 86
chen cobalt 51
ivan cobalt 27
jules grove 78
alice fable 69
gus birch 64
chen birch 86
bruno fable 45
| kim birch 115
jules indigo 19
hana indigo 43
hana cobalt 103
gus harbor 18
bruno grove 5
| kim birch 115
jules indigo 19
hana indigo 43
hana cobalt 103
gus harbor 18
bruno grove 5
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057636 | qwen/qwen3.7-plus |
awkweave-0057637 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice indigo 71 failed
dina delta 102 active
ivan fable 81 active
jules birch 60 ready
lina harbor 26 ready
alice cobalt 25 closed
| alice indigo 71 failed
| gus fable 13 ready
farah juniper 41 paused
farah birch 106 pending
alice harbor 78 pending
jules fable 33 paused
alice amber 12 pending
kim juniper 95 failed
lina ember 70 pending
| farah juniper 41 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057637-p1 | Identify and 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} | alice indigo 71 failed
dina delta 102 active
ivan fable 81 active
jules birch 60 ready
lina harbor 26 ready
alice cobalt 25 closed
| alice indigo 71 failed
| gus fable 13 ready
farah juniper 41 paused
farah birch 106 pending
alice harbor 78 pending
jules fable 33 paused
alice amber 12 pending
kim juniper 95 failed
lina ember 70 pending
| farah juniper 41 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057637 | qwen/qwen3.7-plus |
awkweave-0057638 | Print every 4th line starting at line 3 (then line 7, and so on). | NR%4==3 | farah 96
ivan 58
chen 31
chen 117
alice 93
gus 93
lina 82
dina 13
| chen 31
lina 82
| kim 98
chen 43
eli 113
jules 102
dina 103
lina 83
lina 101
| eli 113
lina 101
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057638-p1 | Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.). | NR%4==3 | farah 96
ivan 58
chen 31
chen 117
alice 93
gus 93
lina 82
dina 13
| chen 31
lina 82
| kim 98
chen 43
eli 113
jules 102
dina 103
lina 83
lina 101
| eli 113
lina 101
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057638 | qwen/qwen3.7-plus |
awkweave-0057639 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 77
alpha cobalt 76
beta cobalt 28
gamma juniper 109
delta delta 64
alpha amber 50
alpha grove 114
beta juniper 58
gamma delta 67
beta ember 9
| 4
| beta birch 50
beta delta 62
delta harbor 119
beta fable 117
beta amber 100
alpha indigo 59
gamma ember 13
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057639-p1 | Calculate the number of unique values in the first column and display only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 77
alpha cobalt 76
beta cobalt 28
gamma juniper 109
delta delta 64
alpha amber 50
alpha grove 114
beta juniper 58
gamma delta 67
beta ember 9
| 4
| beta birch 50
beta delta 62
delta harbor 119
beta fable 117
beta amber 100
alpha indigo 59
gamma ember 13
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057639 | qwen/qwen3.7-plus |
awkweave-0057640 | 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} | kim 18 0
eli 6 23
bruno 3 4
alice 25 2
dina 16 11
jules 30 24
bruno 7 13
jules 20 5
lina 19 4
| eli 0.26
bruno 0.75
alice 12.50
dina 1.45
jules 1.25
bruno 0.54
jules 4.00
lina 4.75
| lina 11 0
lina 17 18
farah 14 8
bruno 4 8
alice 23 25
dina 1 11
chen 30 25
bruno 10 5
| lina 0.94
farah 1.75
bruno 0.50
alice 0.92
dina 0.09
chen 1.20
bruno 2.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057640-p1 | For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 18 0
eli 6 23
bruno 3 4
alice 25 2
dina 16 11
jules 30 24
bruno 7 13
jules 20 5
lina 19 4
| eli 0.26
bruno 0.75
alice 12.50
dina 1.45
jules 1.25
bruno 0.54
jules 4.00
lina 4.75
| lina 11 0
lina 17 18
farah 14 8
bruno 4 8
alice 23 25
dina 1 11
chen 30 25
bruno 10 5
| lina 0.94
farah 1.75
bruno 0.50
alice 0.92
dina 0.09
chen 1.20
bruno 2.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057640 | qwen/qwen3.7-plus |
awkweave-0057641 | 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]} | kim birch 25
hana fable 7
farah indigo 19
alice birch 14
gus amber 30
bruno cobalt 12
hana delta 15
eli birch 14
lina grove 4
chen fable 13
| gus amber 30
kim birch 25
farah indigo 19
| lina amber 16
dina indigo 17
chen indigo 14
alice cobalt 29
lina birch 22
eli cobalt 6
hana indigo 20
ivan birch 23
gus juniper 29
chen grove 18
| alice cobalt 29
gus juniper 29
ivan birch 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057641-p1 | Display the full records corresponding to the three highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values. | {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]} | kim birch 25
hana fable 7
farah indigo 19
alice birch 14
gus amber 30
bruno cobalt 12
hana delta 15
eli birch 14
lina grove 4
chen fable 13
| gus amber 30
kim birch 25
farah indigo 19
| lina amber 16
dina indigo 17
chen indigo 14
alice cobalt 29
lina birch 22
eli cobalt 6
hana indigo 20
ivan birch 23
gus juniper 29
chen grove 18
| alice cobalt 29
gus juniper 29
ivan birch 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057641 | qwen/qwen3.7-plus |
awkweave-0057642 | For each line, output fields 4 and 2, in that order. | {print $4, $2} | paused active amber lina
ready paused indigo chen
pending ready ember farah
active ready juniper gus
pending closed cobalt gus
ready closed harbor hana
ready paused cobalt kim
ready paused amber hana
active closed cobalt ivan
| lina active
chen paused
farah ready
gus ready
gus closed
hana closed
kim paused
hana paused
ivan closed
| paused ready fable farah
paused failed delta eli
pending pending harbor kim
ready active harbor ivan
paused failed birch bruno
active failed amber alice
closed ready delta ivan
closed active ember kim
ready ready ember dina
pending pending grove lina
| farah ready
eli failed
kim pending
ivan active
bruno failed
alice failed
ivan ready
kim active
dina ready
lina pending
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057642-p1 | For every line, print the fourth field followed by the second field. | {print $4, $2} | paused active amber lina
ready paused indigo chen
pending ready ember farah
active ready juniper gus
pending closed cobalt gus
ready closed harbor hana
ready paused cobalt kim
ready paused amber hana
active closed cobalt ivan
| lina active
chen paused
farah ready
gus ready
gus closed
hana closed
kim paused
hana paused
ivan closed
| paused ready fable farah
paused failed delta eli
pending pending harbor kim
ready active harbor ivan
paused failed birch bruno
active failed amber alice
closed ready delta ivan
closed active ember kim
ready ready ember dina
pending pending grove lina
| farah ready
eli failed
kim pending
ivan active
bruno failed
alice failed
ivan ready
kim active
dina ready
lina pending
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057642 | qwen/qwen3.7-plus |
awkweave-0057643 | Print the last field of every input line. | {print $NF} | farah fable 7 lina farah ready chen
farah birch 21 dina farah paused ivan
bruno grove 86 lina alice pending lina
lina delta 69 hana ivan active bruno
gus birch 97 gus gus paused farah
dina ember 5 bruno hana active alice
| chen
ivan
lina
bruno
farah
alice
| dina birch 55 farah dina active bruno
ivan delta 44 chen alice ready eli
gus indigo 79 gus ivan pending ivan
bruno ember 1 chen kim ready farah
dina grove 31 farah chen active ivan
gus harbor 21 alice farah active eli
dina grove 35 bruno chen active jules
chen cobalt 120 chen jules pending alice
ivan birch 95 kim chen ... | bruno
eli
ivan
farah
ivan
eli
jules
alice
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057643-p1 | Output the final field from each input line. | {print $NF} | farah fable 7 lina farah ready chen
farah birch 21 dina farah paused ivan
bruno grove 86 lina alice pending lina
lina delta 69 hana ivan active bruno
gus birch 97 gus gus paused farah
dina ember 5 bruno hana active alice
| chen
ivan
lina
bruno
farah
alice
| dina birch 55 farah dina active bruno
ivan delta 44 chen alice ready eli
gus indigo 79 gus ivan pending ivan
bruno ember 1 chen kim ready farah
dina grove 31 farah chen active ivan
gus harbor 21 alice farah active eli
dina grove 35 bruno chen active jules
chen cobalt 120 chen jules pending alice
ivan birch 95 kim chen ... | bruno
eli
ivan
farah
ivan
eli
jules
alice
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057643 | qwen/qwen3.7-plus |
awkweave-0057644 | Print the complete records where column 3 is at most 26. | $3 <= 26 | cobalt active 52 gus lina
indigo ready 110 dina jules
harbor pending 63 ivan lina
juniper active 89 gus alice
amber paused 20 chen eli
grove ready 109 dina jules
ember closed 59 hana farah
cobalt failed 118 dina hana
indigo ready 100 bruno farah
| amber paused 20 chen eli
| harbor paused 119 farah dina
indigo closed 61 alice eli
birch paused 87 hana bruno
amber paused 72 ivan eli
ember ready 69 hana bruno
juniper active 6 ivan kim
cobalt paused 94 farah farah
| juniper active 6 ivan kim
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057644-p1 | Print all complete records where the value in column 3 is less than or equal to 26. | $3 <= 26 | cobalt active 52 gus lina
indigo ready 110 dina jules
harbor pending 63 ivan lina
juniper active 89 gus alice
amber paused 20 chen eli
grove ready 109 dina jules
ember closed 59 hana farah
cobalt failed 118 dina hana
indigo ready 100 bruno farah
| amber paused 20 chen eli
| harbor paused 119 farah dina
indigo closed 61 alice eli
birch paused 87 hana bruno
amber paused 72 ivan eli
ember ready 69 hana bruno
juniper active 6 ivan kim
cobalt paused 94 farah farah
| juniper active 6 ivan kim
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057644 | qwen/qwen3.7-plus |
awkweave-0057645 | Show whole lines whose 2nd field is between 7 and 27, inclusive. | $2 >= 7 && $2 <= 27 | cobalt 30 closed fable
delta 10 ready birch
indigo 4 paused ember
grove 29 paused juniper
indigo 9 closed cobalt
indigo 30 active fable
indigo 21 closed birch
fable 6 failed juniper
indigo 22 active ember
| delta 10 ready birch
indigo 9 closed cobalt
indigo 21 closed birch
indigo 22 active ember
| juniper 12 pending birch
harbor 21 paused indigo
amber 28 active harbor
amber 29 active indigo
harbor 21 failed birch
indigo 30 paused grove
birch 13 failed indigo
| juniper 12 pending birch
harbor 21 paused indigo
harbor 21 failed birch
birch 13 failed indigo
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057645-p1 | Display entire lines where the second field has a value between 7 and 27, inclusive. | $2 >= 7 && $2 <= 27 | cobalt 30 closed fable
delta 10 ready birch
indigo 4 paused ember
grove 29 paused juniper
indigo 9 closed cobalt
indigo 30 active fable
indigo 21 closed birch
fable 6 failed juniper
indigo 22 active ember
| delta 10 ready birch
indigo 9 closed cobalt
indigo 21 closed birch
indigo 22 active ember
| juniper 12 pending birch
harbor 21 paused indigo
amber 28 active harbor
amber 29 active indigo
harbor 21 failed birch
indigo 30 paused grove
birch 13 failed indigo
| juniper 12 pending birch
harbor 21 paused indigo
harbor 21 failed birch
birch 13 failed indigo
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057645 | qwen/qwen3.7-plus |
awkweave-0057646 | Print column 2 only for rows where column 4 is exactly closed. | $4 == "closed"{print $2} | harbor kim 14 closed
fable eli 11 ready
fable lina 34 pending
amber dina 67 closed
harbor gus 109 paused
harbor gus 32 ready
grove jules 118 paused
fable dina 73 ready
| kim
dina
| grove hana 60 paused
delta ivan 25 pending
harbor eli 3 closed
juniper dina 21 failed
grove jules 82 failed
delta gus 76 paused
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057646-p1 | Output only the second column for rows where the fourth column is exactly 'closed'. | $4 == "closed"{print $2} | harbor kim 14 closed
fable eli 11 ready
fable lina 34 pending
amber dina 67 closed
harbor gus 109 paused
harbor gus 32 ready
grove jules 118 paused
fable dina 73 ready
| kim
dina
| grove hana 60 paused
delta ivan 25 pending
harbor eli 3 closed
juniper dina 21 failed
grove jules 82 failed
delta gus 76 paused
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057646 | qwen/qwen3.7-plus |
awkweave-0057647 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR 20 grove
DEBUG 24 amber
WARN 116 grove
DEBUG 105 fable
DEBUG 103 birch
WARN 61 ember
ERROR 53 ember
ERROR 90 indigo
ERROR 0 delta
WARN 5 cobalt
| ERROR 20 grove
ERROR 53 ember
ERROR 90 indigo
ERROR 0 delta
| ERROR 2 delta
WARN 23 cobalt
DEBUG 17 delta
DEBUG 116 cobalt
DEBUG 74 juniper
INFO 13 birch
ERROR 55 delta
WARN 95 cobalt
DEBUG 32 grove
| ERROR 2 delta
ERROR 55 delta
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057647-p1 | Print all fields from any line where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | ERROR 20 grove
DEBUG 24 amber
WARN 116 grove
DEBUG 105 fable
DEBUG 103 birch
WARN 61 ember
ERROR 53 ember
ERROR 90 indigo
ERROR 0 delta
WARN 5 cobalt
| ERROR 20 grove
ERROR 53 ember
ERROR 90 indigo
ERROR 0 delta
| ERROR 2 delta
WARN 23 cobalt
DEBUG 17 delta
DEBUG 116 cobalt
DEBUG 74 juniper
INFO 13 birch
ERROR 55 delta
WARN 95 cobalt
DEBUG 32 grove
| ERROR 2 delta
ERROR 55 delta
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057647 | qwen/qwen3.7-plus |
awkweave-0057648 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | amber 22 closed
juniper 67 pending
birch 1 closed
grove 86 paused
cobalt 44 paused
birch 8 paused
cobalt 101 pending
juniper 999 active
| amber 22 closed
birch 1 closed
grove 86 paused
cobalt 44 paused
birch 8 paused
cobalt 101 pending
| fable 118 active
amber 23 pending
fable 85 pending
juniper 56 closed
cobalt 46 pending
fable 62 ready
juniper 999 active
| fable 118 active
amber 23 pending
fable 85 pending
cobalt 46 pending
fable 62 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057648-p1 | Output all lines that do not contain the exact string juniper. | $0 !~ /juniper/ | amber 22 closed
juniper 67 pending
birch 1 closed
grove 86 paused
cobalt 44 paused
birch 8 paused
cobalt 101 pending
juniper 999 active
| amber 22 closed
birch 1 closed
grove 86 paused
cobalt 44 paused
birch 8 paused
cobalt 101 pending
| fable 118 active
amber 23 pending
fable 85 pending
juniper 56 closed
cobalt 46 pending
fable 62 ready
juniper 999 active
| fable 118 active
amber 23 pending
fable 85 pending
cobalt 46 pending
fable 62 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057648 | qwen/qwen3.7-plus |
awkweave-0057649 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | ivan cobalt 103
farah harbor 83
dina indigo 54
lina juniper 18
chen amber 119
hana harbor 103
eli birch 35
alice ember 90
| farah harbor 83
dina indigo 54
| chen harbor 65
gus cobalt 0
dina indigo 62
hana birch 54
alice amber 104
hana harbor 60
eli grove 36
dina ember 73
| gus cobalt 0
dina indigo 62
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057649-p1 | Display lines 2 to 3, inclusive of both endpoints. | NR >= 2 && NR <= 3 | ivan cobalt 103
farah harbor 83
dina indigo 54
lina juniper 18
chen amber 119
hana harbor 103
eli birch 35
alice ember 90
| farah harbor 83
dina indigo 54
| chen harbor 65
gus cobalt 0
dina indigo 62
hana birch 54
alice amber 104
hana harbor 60
eli grove 36
dina ember 73
| gus cobalt 0
dina indigo 62
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057649 | qwen/qwen3.7-plus |
awkweave-0057650 | Output only the first 5 records. | NR <= 5 | ivan 42 harbor
gus 79 ember
farah 16 amber
eli 25 harbor
eli 1 amber
eli 81 harbor
| ivan 42 harbor
gus 79 ember
farah 16 amber
eli 25 harbor
eli 1 amber
| alice 22 amber
jules 115 indigo
gus 115 juniper
hana 108 birch
alice 75 delta
chen 9 birch
| alice 22 amber
jules 115 indigo
gus 115 juniper
hana 108 birch
alice 75 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057650-p1 | Show only the initial 5 records. | NR <= 5 | ivan 42 harbor
gus 79 ember
farah 16 amber
eli 25 harbor
eli 1 amber
eli 81 harbor
| ivan 42 harbor
gus 79 ember
farah 16 amber
eli 25 harbor
eli 1 amber
| alice 22 amber
jules 115 indigo
gus 115 juniper
hana 108 birch
alice 75 delta
chen 9 birch
| alice 22 amber
jules 115 indigo
gus 115 juniper
hana 108 birch
alice 75 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057650 | qwen/qwen3.7-plus |
awkweave-0057651 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 102 amber
hana 59 juniper
kim 58 ember
hana 22 juniper
lina 106 amber
alice 78 grove
jules 101 fable
dina 60 birch
kim 94 amber
| hana 59 juniper
kim 58 ember
hana 22 juniper
lina 106 amber
alice 78 grove
jules 101 fable
dina 60 birch
kim 94 amber
| farah 81 indigo
bruno 23 grove
farah 31 juniper
dina 114 ember
jules 26 amber
lina 52 delta
dina 106 cobalt
jules 19 grove
gus 73 delta
bruno 71 delta
| bruno 23 grove
farah 31 juniper
dina 114 ember
jules 26 amber
lina 52 delta
dina 106 cobalt
jules 19 grove
gus 73 delta
bruno 71 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057651-p1 | Omit the first line and output the rest of the lines as they are. | NR > 1 | bruno 102 amber
hana 59 juniper
kim 58 ember
hana 22 juniper
lina 106 amber
alice 78 grove
jules 101 fable
dina 60 birch
kim 94 amber
| hana 59 juniper
kim 58 ember
hana 22 juniper
lina 106 amber
alice 78 grove
jules 101 fable
dina 60 birch
kim 94 amber
| farah 81 indigo
bruno 23 grove
farah 31 juniper
dina 114 ember
jules 26 amber
lina 52 delta
dina 106 cobalt
jules 19 grove
gus 73 delta
bruno 71 delta
| bruno 23 grove
farah 31 juniper
dina 114 ember
jules 26 amber
lina 52 delta
dina 106 cobalt
jules 19 grove
gus 73 delta
bruno 71 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057651 | qwen/qwen3.7-plus |
awkweave-0057652 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | jules paused 25
chen ready 35
dina active 103
ivan closed 24
bruno paused 35
chen closed 110
kim failed 106
farah ready 94
| 0
| chen paused 3
hana active 41
dina active 68
ivan active 19
dina pending 48
jules failed 88
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057652-p1 | Tally the number of records where column 2 is pending; output 0 if the count is zero. | $2 == "pending"{n++}END{print n+0} | jules paused 25
chen ready 35
dina active 103
ivan closed 24
bruno paused 35
chen closed 110
kim failed 106
farah ready 94
| 0
| chen paused 3
hana active 41
dina active 68
ivan active 19
dina pending 48
jules failed 88
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057652 | qwen/qwen3.7-plus |
awkweave-0057653 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 2 juniper alice
14 indigo hana
25 juniper alice
10 delta eli
15 delta jules
18 juniper jules
25 amber kim
30 indigo bruno
10 delta dina
| 149
| 6 delta alice
2 ember ivan
14 birch lina
22 birch dina
11 indigo kim
8 birch eli
11 birch ivan
| 74
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057653-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 2 juniper alice
14 indigo hana
25 juniper alice
10 delta eli
15 delta jules
18 juniper jules
25 amber kim
30 indigo bruno
10 delta dina
| 149
| 6 delta alice
2 ember ivan
14 birch lina
22 birch dina
11 indigo kim
8 birch eli
11 birch ivan
| 74
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057653 | qwen/qwen3.7-plus |
awkweave-0057654 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | farah 21 indigo
alice 29 amber
farah 19 ember
gus 24 indigo
farah 5 birch
chen 17 birch
| 19.17
| gus 12 fable
farah 28 grove
eli 15 ember
kim 8 harbor
farah 6 indigo
kim 29 delta
farah 7 indigo
| 15.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057654-p1 | Calculate the average of column 2 and format the result to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | farah 21 indigo
alice 29 amber
farah 19 ember
gus 24 indigo
farah 5 birch
chen 17 birch
| 19.17
| gus 12 fable
farah 28 grove
eli 15 ember
kim 8 harbor
farah 6 indigo
kim 29 delta
farah 7 indigo
| 15.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057654 | qwen/qwen3.7-plus |
awkweave-0057655 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 11 jules cobalt
24 eli ember
21 kim birch
5 eli birch
21 ivan indigo
28 jules birch
| 5
| 20 gus harbor
5 lina grove
23 dina cobalt
15 dina cobalt
18 jules cobalt
5 alice cobalt
11 dina indigo
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057655-p1 | Identify and output the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 11 jules cobalt
24 eli ember
21 kim birch
5 eli birch
21 ivan indigo
28 jules birch
| 5
| 20 gus harbor
5 lina grove
23 dina cobalt
15 dina cobalt
18 jules cobalt
5 alice cobalt
11 dina indigo
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057655 | qwen/qwen3.7-plus |
awkweave-0057656 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | farah harbor 11
lina amber 21
ivan harbor 14
farah juniper 21
jules cobalt 15
hana grove 23
| 23
| dina cobalt 4
jules juniper 25
dina birch 21
chen amber 9
farah juniper 29
ivan birch 30
jules fable 25
chen harbor 21
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057656-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | farah harbor 11
lina amber 21
ivan harbor 14
farah juniper 21
jules cobalt 15
hana grove 23
| 23
| dina cobalt 4
jules juniper 25
dina birch 21
chen amber 9
farah juniper 29
ivan birch 30
jules fable 25
chen harbor 21
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057656 | qwen/qwen3.7-plus |
awkweave-0057657 | Count all input records and print the total. | END{print NR} | bruno 59
jules 28
alice 3
chen 36
jules 6
gus 95
| 6
| gus 43
lina 99
hana 11
kim 63
hana 74
hana 51
alice 68
bruno 82
gus 2
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057657-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 59
jules 28
alice 3
chen 36
jules 6
gus 95
| 6
| gus 43
lina 99
hana 11
kim 63
hana 74
hana 51
alice 68
bruno 82
gus 2
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057657 | qwen/qwen3.7-plus |
awkweave-0057658 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina harbor 31
hana ember 69
lina delta 59
hana ember 69
eli indigo 61
gus ember 40
kim birch 50
ivan fable 46
jules delta 71
| lina harbor 31
hana ember 69
lina delta 59
eli indigo 61
gus ember 40
kim birch 50
ivan fable 46
jules delta 71
| kim fable 116
bruno harbor 14
dina amber 21
chen amber 88
lina ember 37
dina birch 109
chen amber 88
ivan delta 87
lina juniper 109
gus juniper 99
| kim fable 116
bruno harbor 14
dina amber 21
chen amber 88
lina ember 37
dina birch 109
ivan delta 87
lina juniper 109
gus juniper 99
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057658-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence. | !seen[$0]++ | lina harbor 31
hana ember 69
lina delta 59
hana ember 69
eli indigo 61
gus ember 40
kim birch 50
ivan fable 46
jules delta 71
| lina harbor 31
hana ember 69
lina delta 59
eli indigo 61
gus ember 40
kim birch 50
ivan fable 46
jules delta 71
| kim fable 116
bruno harbor 14
dina amber 21
chen amber 88
lina ember 37
dina birch 109
chen amber 88
ivan delta 87
lina juniper 109
gus juniper 99
| kim fable 116
bruno harbor 14
dina amber 21
chen amber 88
lina ember 37
dina birch 109
ivan delta 87
lina juniper 109
gus juniper 99
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057658 | qwen/qwen3.7-plus |
awkweave-0057659 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | bruno delta 22
eli cobalt 92
kim delta 103
dina indigo 14
dina ember 12
kim amber 67
| bruno delta 22
eli cobalt 92
dina indigo 14
dina ember 12
kim amber 67
| jules harbor 89
kim birch 21
dina ember 120
ivan juniper 1
lina ember 5
chen ember 73
kim ember 59
| jules harbor 89
kim birch 21
dina ember 120
ivan juniper 1
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057659-p1 | Retain only the first line for every unique value in column 2, preserving the original input order. | !seen[$2]++ | bruno delta 22
eli cobalt 92
kim delta 103
dina indigo 14
dina ember 12
kim amber 67
| bruno delta 22
eli cobalt 92
dina indigo 14
dina ember 12
kim amber 67
| jules harbor 89
kim birch 21
dina ember 120
ivan juniper 1
lina ember 5
chen ember 73
kim ember 59
| jules harbor 89
kim birch 21
dina ember 120
ivan juniper 1
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057659 | qwen/qwen3.7-plus |
awkweave-0057660 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 25 cobalt
bruno 9 birch
alice 5 indigo
alice 5 indigo
gus 3 amber
lina 23 harbor
alice 14 juniper
bruno 25 juniper
kim 2 harbor
dina 7 cobalt
| bruno 25
bruno 34
alice 39
alice 44
gus 47
lina 70
alice 84
bruno 109
kim 111
dina 118
| chen 18 amber
farah 19 cobalt
eli 3 amber
ivan 14 ember
alice 15 delta
hana 4 ember
eli 9 ember
ivan 26 fable
| chen 18
farah 37
eli 40
ivan 54
alice 69
hana 73
eli 82
ivan 108
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057660-p1 | Output the first column and the cumulative total of the second column for every record, separated by a space. | {s+=$2;print $1,s} | bruno 25 cobalt
bruno 9 birch
alice 5 indigo
alice 5 indigo
gus 3 amber
lina 23 harbor
alice 14 juniper
bruno 25 juniper
kim 2 harbor
dina 7 cobalt
| bruno 25
bruno 34
alice 39
alice 44
gus 47
lina 70
alice 84
bruno 109
kim 111
dina 118
| chen 18 amber
farah 19 cobalt
eli 3 amber
ivan 14 ember
alice 15 delta
hana 4 ember
eli 9 ember
ivan 26 fable
| chen 18
farah 37
eli 40
ivan 54
alice 69
hana 73
eli 82
ivan 108
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057660 | qwen/qwen3.7-plus |
awkweave-0057661 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 29 22 fable
jules 6 17 juniper
lina 8 30 fable
bruno 23 6 indigo
farah 22 23 birch
hana 29 11 ember
eli 15 14 harbor
| gus 51
jules 23
lina 38
bruno 29
farah 45
hana 40
eli 29
| alice 20 4 ember
eli 8 16 juniper
farah 16 17 indigo
ivan 2 1 juniper
farah 11 6 harbor
kim 10 18 harbor
lina 16 20 juniper
| alice 24
eli 24
farah 33
ivan 3
farah 17
kim 28
lina 36
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057661-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 29 22 fable
jules 6 17 juniper
lina 8 30 fable
bruno 23 6 indigo
farah 22 23 birch
hana 29 11 ember
eli 15 14 harbor
| gus 51
jules 23
lina 38
bruno 29
farah 45
hana 40
eli 29
| alice 20 4 ember
eli 8 16 juniper
farah 16 17 indigo
ivan 2 1 juniper
farah 11 6 harbor
kim 10 18 harbor
lina 16 20 juniper
| alice 24
eli 24
farah 33
ivan 3
farah 17
kim 28
lina 36
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057661 | qwen/qwen3.7-plus |
awkweave-0057662 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | hana 25
hana 29
dina 9
chen 25
farah 5
kim 1
bruno 28
eli 30
jules 18
| hana fail
hana pass
dina fail
chen fail
farah fail
kim fail
bruno pass
eli pass
jules fail
| alice 8
lina 1
jules 13
chen 10
bruno 11
gus 6
eli 8
farah 29
ivan 19
farah 20
| alice fail
lina fail
jules fail
chen fail
bruno fail
gus fail
eli fail
farah pass
ivan fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0057662-p1 | Print the first column; output 'pass' if the second column is 26 or greater, otherwise output 'fail'. | {print $1,($2>=26?"pass":"fail")} | hana 25
hana 29
dina 9
chen 25
farah 5
kim 1
bruno 28
eli 30
jules 18
| hana fail
hana pass
dina fail
chen fail
farah fail
kim fail
bruno pass
eli pass
jules fail
| alice 8
lina 1
jules 13
chen 10
bruno 11
gus 6
eli 8
farah 29
ivan 19
farah 20
| alice fail
lina fail
jules fail
chen fail
bruno fail
gus fail
eli fail
farah pass
ivan fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0057662 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.