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-0002000 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | ember gus 10
delta jules 13
delta alice 11
juniper hana 9
ember hana 17
birch farah 20
ember ivan 4
ember lina 15
grove alice 4
| 103
| ember hana 22
amber jules 25
harbor eli 17
fable dina 15
ember lina 23
amber farah 16
| 118
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002000-p1 | Compute the total of all integer values found in the third column and output the result. | {s+=$3}END{print s+0} | ember gus 10
delta jules 13
delta alice 11
juniper hana 9
ember hana 17
birch farah 20
ember ivan 4
ember lina 15
grove alice 4
| 103
| ember hana 22
amber jules 25
harbor eli 17
fable dina 15
ember lina 23
amber farah 16
| 118
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002000 | qwen/qwen3.7-plus |
awkweave-0002001 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | farah fable 8
alice ember 3
eli delta 18
jules grove 19
jules ember 13
alice delta 2
farah delta 27
| 12.86
| eli birch 1
bruno harbor 10
alice fable 4
alice juniper 18
alice amber 6
alice juniper 25
gus birch 6
chen grove 22
eli ember 24
jules indigo 25
| 14.10
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002001-p1 | Output the average of the values in column 3, formatted to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | farah fable 8
alice ember 3
eli delta 18
jules grove 19
jules ember 13
alice delta 2
farah delta 27
| 12.86
| eli birch 1
bruno harbor 10
alice fable 4
alice juniper 18
alice amber 6
alice juniper 25
gus birch 6
chen grove 22
eli ember 24
jules indigo 25
| 14.10
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002001 | qwen/qwen3.7-plus |
awkweave-0002002 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | eli juniper 6
chen indigo 21
ivan birch 19
lina amber 15
bruno juniper 18
jules delta 1
| 1
| alice delta 19
eli ember 11
dina indigo 23
lina cobalt 4
eli ember 11
ivan harbor 17
ivan indigo 16
chen birch 24
dina indigo 29
lina indigo 6
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002002-p1 | Identify and display the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | eli juniper 6
chen indigo 21
ivan birch 19
lina amber 15
bruno juniper 18
jules delta 1
| 1
| alice delta 19
eli ember 11
dina indigo 23
lina cobalt 4
eli ember 11
ivan harbor 17
ivan indigo 16
chen birch 24
dina indigo 29
lina indigo 6
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002002 | qwen/qwen3.7-plus |
awkweave-0002003 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | grove 17 jules
ember 6 bruno
birch 8 hana
harbor 3 lina
harbor 9 bruno
harbor 3 kim
grove 12 ivan
indigo 2 farah
juniper 18 jules
indigo 17 chen
| 18
| birch 27 jules
ember 11 farah
delta 12 gus
fable 7 ivan
amber 17 lina
juniper 21 hana
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002003-p1 | Determine and print the maximum numeric value located in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | grove 17 jules
ember 6 bruno
birch 8 hana
harbor 3 lina
harbor 9 bruno
harbor 3 kim
grove 12 ivan
indigo 2 farah
juniper 18 jules
indigo 17 chen
| 18
| birch 27 jules
ember 11 farah
delta 12 gus
fable 7 ivan
amber 17 lina
juniper 21 hana
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002003 | qwen/qwen3.7-plus |
awkweave-0002004 | Count all input records and print the total. | END{print NR} | gus 103
farah 78
eli 84
gus 50
bruno 30
lina 75
| 6
| farah 1
lina 37
alice 120
kim 60
alice 97
chen 73
eli 30
hana 50
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002004-p1 | Count the total number of input lines and print that count. | END{print NR} | gus 103
farah 78
eli 84
gus 50
bruno 30
lina 75
| 6
| farah 1
lina 37
alice 120
kim 60
alice 97
chen 73
eli 30
hana 50
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002004 | qwen/qwen3.7-plus |
awkweave-0002005 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan amber 2
farah indigo 15
gus harbor 87
farah grove 0
kim grove 22
farah indigo 15
bruno cobalt 58
hana ember 21
eli harbor 49
| ivan amber 2
farah indigo 15
gus harbor 87
farah grove 0
kim grove 22
bruno cobalt 58
hana ember 21
eli harbor 49
| jules delta 4
eli fable 49
hana juniper 3
farah amber 106
hana indigo 119
chen birch 40
ivan birch 87
alice amber 10
hana cobalt 31
hana cobalt 31
eli fable 98
| jules delta 4
eli fable 49
hana juniper 3
farah amber 106
hana indigo 119
chen birch 40
ivan birch 87
alice amber 10
hana cobalt 31
eli fable 98
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002005-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | ivan amber 2
farah indigo 15
gus harbor 87
farah grove 0
kim grove 22
farah indigo 15
bruno cobalt 58
hana ember 21
eli harbor 49
| ivan amber 2
farah indigo 15
gus harbor 87
farah grove 0
kim grove 22
bruno cobalt 58
hana ember 21
eli harbor 49
| jules delta 4
eli fable 49
hana juniper 3
farah amber 106
hana indigo 119
chen birch 40
ivan birch 87
alice amber 10
hana cobalt 31
hana cobalt 31
eli fable 98
| jules delta 4
eli fable 49
hana juniper 3
farah amber 106
hana indigo 119
chen birch 40
ivan birch 87
alice amber 10
hana cobalt 31
eli fable 98
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002005 | qwen/qwen3.7-plus |
awkweave-0002006 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | eli birch 86
farah ember 27
chen cobalt 41
chen juniper 70
chen ember 58
gus amber 97
alice birch 120
kim harbor 72
farah ember 20
farah cobalt 22
| eli birch 86
farah ember 27
chen cobalt 41
gus amber 97
alice birch 120
kim harbor 72
| gus birch 62
hana ember 49
bruno harbor 50
lina birch 2
kim indigo 19
farah fable 32
| gus birch 62
hana ember 49
bruno harbor 50
lina birch 2
kim indigo 19
farah fable 32
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002006-p1 | Retain only the initial line for every unique value in column 1, while preserving the input order. | !seen[$1]++ | eli birch 86
farah ember 27
chen cobalt 41
chen juniper 70
chen ember 58
gus amber 97
alice birch 120
kim harbor 72
farah ember 20
farah cobalt 22
| eli birch 86
farah ember 27
chen cobalt 41
gus amber 97
alice birch 120
kim harbor 72
| gus birch 62
hana ember 49
bruno harbor 50
lina birch 2
kim indigo 19
farah fable 32
| gus birch 62
hana ember 49
bruno harbor 50
lina birch 2
kim indigo 19
farah fable 32
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002006 | qwen/qwen3.7-plus |
awkweave-0002007 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 27 grove
hana 22 fable
ivan 17 juniper
chen 2 cobalt
hana 1 fable
lina 29 ember
| ivan 27
hana 49
ivan 66
chen 68
hana 69
lina 98
| bruno 13 birch
lina 3 amber
chen 22 ember
alice 11 indigo
lina 23 fable
hana 12 delta
dina 14 harbor
eli 21 harbor
| bruno 13
lina 16
chen 38
alice 49
lina 72
hana 84
dina 98
eli 119
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002007-p1 | For each record, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 27 grove
hana 22 fable
ivan 17 juniper
chen 2 cobalt
hana 1 fable
lina 29 ember
| ivan 27
hana 49
ivan 66
chen 68
hana 69
lina 98
| bruno 13 birch
lina 3 amber
chen 22 ember
alice 11 indigo
lina 23 fable
hana 12 delta
dina 14 harbor
eli 21 harbor
| bruno 13
lina 16
chen 38
alice 49
lina 72
hana 84
dina 98
eli 119
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002007 | qwen/qwen3.7-plus |
awkweave-0002008 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 20 27 harbor
hana 9 13 cobalt
hana 26 29 grove
alice 15 2 birch
bruno 6 2 harbor
bruno 19 17 indigo
alice 24 10 birch
| lina 47
hana 22
hana 55
alice 17
bruno 8
bruno 36
alice 34
| kim 1 2 cobalt
jules 7 12 birch
dina 6 9 juniper
ivan 30 26 grove
kim 3 6 birch
jules 17 27 indigo
kim 27 13 juniper
gus 9 12 cobalt
| kim 3
jules 19
dina 15
ivan 56
kim 9
jules 44
kim 40
gus 21
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002008-p1 | Print the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | lina 20 27 harbor
hana 9 13 cobalt
hana 26 29 grove
alice 15 2 birch
bruno 6 2 harbor
bruno 19 17 indigo
alice 24 10 birch
| lina 47
hana 22
hana 55
alice 17
bruno 8
bruno 36
alice 34
| kim 1 2 cobalt
jules 7 12 birch
dina 6 9 juniper
ivan 30 26 grove
kim 3 6 birch
jules 17 27 indigo
kim 27 13 juniper
gus 9 12 cobalt
| kim 3
jules 19
dina 15
ivan 56
kim 9
jules 44
kim 40
gus 21
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002008 | qwen/qwen3.7-plus |
awkweave-0002009 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | kim 7
hana 5
ivan 4
ivan 4
hana 10
eli 24
| kim fail
hana fail
ivan fail
ivan fail
hana fail
eli fail
| dina 3
dina 21
kim 8
kim 18
gus 30
chen 10
chen 24
chen 10
| dina fail
dina fail
kim fail
kim fail
gus pass
chen fail
chen fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002009-p1 | Print the value from column 1 followed by 'pass' if column 2 is 26 or greater; otherwise, print 'fail'. | {print $1,($2>=26?"pass":"fail")} | kim 7
hana 5
ivan 4
ivan 4
hana 10
eli 24
| kim fail
hana fail
ivan fail
ivan fail
hana fail
eli fail
| dina 3
dina 21
kim 8
kim 18
gus 30
chen 10
chen 24
chen 10
| dina fail
dina fail
kim fail
kim fail
gus pass
chen fail
chen fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002009 | qwen/qwen3.7-plus |
awkweave-0002010 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | dina cobalt 61
lina fable 2
eli juniper 97
farah fable 0
dina fable 27
hana grove 18
gus fable 86
bruno cobalt 110
kim indigo 105
chen delta 83
| COBALT
FABLE
JUNIPER
FABLE
FABLE
GROVE
FABLE
COBALT
INDIGO
DELTA
| hana amber 81
eli birch 47
ivan fable 43
dina indigo 56
alice delta 43
lina cobalt 80
| AMBER
BIRCH
FABLE
INDIGO
DELTA
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002010-p1 | Transform the content of column 2 to uppercase and output only that modified column. | {print toupper($2)} | dina cobalt 61
lina fable 2
eli juniper 97
farah fable 0
dina fable 27
hana grove 18
gus fable 86
bruno cobalt 110
kim indigo 105
chen delta 83
| COBALT
FABLE
JUNIPER
FABLE
FABLE
GROVE
FABLE
COBALT
INDIGO
DELTA
| hana amber 81
eli birch 47
ivan fable 43
dina indigo 56
alice delta 43
lina cobalt 80
| AMBER
BIRCH
FABLE
INDIGO
DELTA
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002010 | qwen/qwen3.7-plus |
awkweave-0002011 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | fable 48
grove 42
cobalt 118
harbor 33
amber 39
delta 92
| abl
rov
oba
arb
mbe
elt
| juniper 103
indigo 24
amber 104
harbor 7
cobalt 7
cobalt 6
grove 58
juniper 112
| uni
ndi
mbe
arb
oba
oba
rov
uni
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002011-p1 | Extract and print a substring of 3 characters from column 1, starting at the second character. | {print substr($1,2,3)} | fable 48
grove 42
cobalt 118
harbor 33
amber 39
delta 92
| abl
rov
oba
arb
mbe
elt
| juniper 103
indigo 24
amber 104
harbor 7
cobalt 7
cobalt 6
grove 58
juniper 112
| uni
ndi
mbe
arb
oba
oba
rov
uni
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002011 | qwen/qwen3.7-plus |
awkweave-0002012 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_cobalt 36
delta_birch 33
fable_juniper 115
harbor_indigo 117
delta_harbor 52
delta_fable 43
grove_fable 34
indigo_harbor 42
cobalt_birch 86
indigo_fable 29
| grove cobalt
delta birch
fable juniper
harbor indigo
delta harbor
delta fable
grove fable
indigo harbor
cobalt birch
indigo fable
| ember_delta 45
indigo_juniper 112
cobalt_delta 46
harbor_cobalt 81
cobalt_juniper 1
fable_indigo 76
| ember delta
indigo juniper
cobalt delta
harbor cobalt
cobalt juniper
fable indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002012-p1 | Substitute all underscores with spaces in the first column and output the modified values. | {gsub(/_/," ",$1);print $1} | grove_cobalt 36
delta_birch 33
fable_juniper 115
harbor_indigo 117
delta_harbor 52
delta_fable 43
grove_fable 34
indigo_harbor 42
cobalt_birch 86
indigo_fable 29
| grove cobalt
delta birch
fable juniper
harbor indigo
delta harbor
delta fable
grove fable
indigo harbor
cobalt birch
indigo fable
| ember_delta 45
indigo_juniper 112
cobalt_delta 46
harbor_cobalt 81
cobalt_juniper 1
fable_indigo 76
| ember delta
indigo juniper
cobalt delta
harbor cobalt
cobalt juniper
fable indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002012 | qwen/qwen3.7-plus |
awkweave-0002013 | 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)} | bruno grove 1 closed
bruno juniper 11 failed
bruno cobalt 69 pending
eli grove 49 active
gus indigo 22 paused
kim delta 4 paused
gus birch 83 closed
dina ember 13 closed
dina birch 119 closed
eli ember 26 failed
| closed 1 grove bruno
failed 11 juniper bruno
pending 69 cobalt bruno
active 49 grove eli
paused 22 indigo gus
paused 4 delta kim
closed 83 birch gus
closed 13 ember dina
closed 119 birch dina
failed 26 ember eli
| eli harbor 34 ready
ivan cobalt 80 pending
ivan grove 75 ready
kim amber 98 pending
gus cobalt 47 paused
lina indigo 6 pending
farah fable 66 paused
| ready 34 harbor eli
pending 80 cobalt ivan
ready 75 grove ivan
pending 98 amber kim
paused 47 cobalt gus
pending 6 indigo lina
paused 66 fable farah
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002013-p1 | Reverse the sequence of fields for each line and display every field. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno grove 1 closed
bruno juniper 11 failed
bruno cobalt 69 pending
eli grove 49 active
gus indigo 22 paused
kim delta 4 paused
gus birch 83 closed
dina ember 13 closed
dina birch 119 closed
eli ember 26 failed
| closed 1 grove bruno
failed 11 juniper bruno
pending 69 cobalt bruno
active 49 grove eli
paused 22 indigo gus
paused 4 delta kim
closed 83 birch gus
closed 13 ember dina
closed 119 birch dina
failed 26 ember eli
| eli harbor 34 ready
ivan cobalt 80 pending
ivan grove 75 ready
kim amber 98 pending
gus cobalt 47 paused
lina indigo 6 pending
farah fable 66 paused
| ready 34 harbor eli
pending 80 cobalt ivan
ready 75 grove ivan
pending 98 amber kim
paused 47 cobalt gus
pending 6 indigo lina
paused 66 fable farah
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002013 | qwen/qwen3.7-plus |
awkweave-0002014 | Print the number of whitespace-separated fields on each line. | {print NF} | gus indigo 45 paused
kim delta 37 paused
ivan harbor 65 closed
ivan ember 58 closed
lina ember 87 failed
gus indigo 13 paused
dina cobalt 53 closed
alice juniper 74 ready
eli fable 73 active
| 4
4
4
4
4
4
4
4
4
| gus fable 54 closed
kim juniper 48 failed
chen grove 118 closed
jules amber 75 active
chen grove 62 failed
alice birch 56 pending
jules delta 79 closed
jules harbor 97 ready
alice amber 54 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002014-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | gus indigo 45 paused
kim delta 37 paused
ivan harbor 65 closed
ivan ember 58 closed
lina ember 87 failed
gus indigo 13 paused
dina cobalt 53 closed
alice juniper 74 ready
eli fable 73 active
| 4
4
4
4
4
4
4
4
4
| gus fable 54 closed
kim juniper 48 failed
chen grove 118 closed
jules amber 75 active
chen grove 62 failed
alice birch 56 pending
jules delta 79 closed
jules harbor 97 ready
alice amber 54 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002014 | qwen/qwen3.7-plus |
awkweave-0002015 | 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]]} | farah alpha 104
alice alpha 88
eli gamma 41
kim alpha 80
dina gamma 69
farah gamma 0
chen gamma 63
farah gamma 108
eli alpha 97
| alpha 4
gamma 5
| bruno delta 42
farah gamma 20
chen delta 90
farah gamma 58
farah delta 98
chen beta 106
hana beta 93
| delta 3
gamma 2
beta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002015-p1 | 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]]} | farah alpha 104
alice alpha 88
eli gamma 41
kim alpha 80
dina gamma 69
farah gamma 0
chen gamma 63
farah gamma 108
eli alpha 97
| alpha 4
gamma 5
| bruno delta 42
farah gamma 20
chen delta 90
farah gamma 58
farah delta 98
chen beta 106
hana beta 93
| delta 3
gamma 2
beta 2
| count_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0002015 | qwen/qwen3.7-plus |
awkweave-0002016 | 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]]} | ivan beta 30
gus alpha 4
farah alpha 24
alice beta 13
dina alpha 20
eli alpha 7
alice gamma 26
chen gamma 2
| beta 43
alpha 55
gamma 28
| hana delta 24
kim alpha 24
gus delta 21
farah alpha 29
alice gamma 30
lina delta 17
ivan delta 27
| delta 89
alpha 53
gamma 30
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002016-p1 | Calculate the sum of the third column grouped by the second column's categories, displaying the results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | ivan beta 30
gus alpha 4
farah alpha 24
alice beta 13
dina alpha 20
eli alpha 7
alice gamma 26
chen gamma 2
| beta 43
alpha 55
gamma 28
| hana delta 24
kim alpha 24
gus delta 21
farah alpha 29
alice gamma 30
lina delta 17
ivan delta 27
| delta 89
alpha 53
gamma 30
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002016 | qwen/qwen3.7-plus |
awkweave-0002017 | 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 cobalt 52
beta birch 69
alpha delta 91
alpha indigo 30
delta fable 63
alpha ember 91
alpha ember 1
| alpha 5
| alpha grove 59
beta juniper 65
delta juniper 20
alpha fable 100
gamma amber 82
gamma indigo 8
| alpha 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002017-p1 | List each duplicate value from the first column along with its frequency, sorted by the order of 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 cobalt 52
beta birch 69
alpha delta 91
alpha indigo 30
delta fable 63
alpha ember 91
alpha ember 1
| alpha 5
| alpha grove 59
beta juniper 65
delta juniper 20
alpha fable 100
gamma amber 82
gamma indigo 8
| alpha 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002017 | qwen/qwen3.7-plus |
awkweave-0002018 | 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"]} | score region state note
r001 hana 24 active
r002 kim 6 active
r003 ivan 2 failed
r004 alice 13 active
r005 dina 24 active
r006 bruno 13 failed
r007 lina 7 ready
r008 alice 19 failed
r009 alice 26 failed
r010 alice 19 active
| hana
kim
ivan
alice
dina
bruno
lina
alice
alice
alice
| score region state note
r001 hana 7 ready
r002 dina 24 closed
r003 alice 14 paused
r004 jules 15 failed
r005 gus 30 paused
r006 alice 29 active
r007 eli 8 ready
r008 farah 27 ready
r009 ivan 9 failed
r010 dina 8 active
| hana
dina
alice
jules
gus
alice
eli
farah
ivan
dina
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002018-p1 | Treating the initial row as a header, output the values from the region column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | score region state note
r001 hana 24 active
r002 kim 6 active
r003 ivan 2 failed
r004 alice 13 active
r005 dina 24 active
r006 bruno 13 failed
r007 lina 7 ready
r008 alice 19 failed
r009 alice 26 failed
r010 alice 19 active
| hana
kim
ivan
alice
dina
bruno
lina
alice
alice
alice
| score region state note
r001 hana 7 ready
r002 dina 24 closed
r003 alice 14 paused
r004 jules 15 failed
r005 gus 30 paused
r006 alice 29 active
r007 eli 8 ready
r008 farah 27 ready
r009 ivan 9 failed
r010 dina 8 active
| hana
dina
alice
jules
gus
alice
eli
farah
ivan
dina
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002018 | qwen/qwen3.7-plus |
awkweave-0002019 | The first row is a header. Print display_name for data rows whose score is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 ivan 2 closed
r002 gus 10 failed
r003 alice 17 active
r004 chen 25 closed
r005 hana 1 failed
r006 jules 12 ready
r007 dina 12 active
r008 eli 14 closed
r009 hana 2 pending
r010 lina 4 ready
| alice
chen
eli
| record_id display_name score state
r001 jules 4 pending
r002 ivan 4 paused
r003 farah 2 active
r004 hana 9 active
r005 bruno 12 ready
r006 bruno 23 active
r007 lina 6 pending
r008 lina 2 paused
r009 eli 25 closed
| bruno
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002019-p1 | With the first row as a header, print the display_name field for data rows where the score is strictly greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 ivan 2 closed
r002 gus 10 failed
r003 alice 17 active
r004 chen 25 closed
r005 hana 1 failed
r006 jules 12 ready
r007 dina 12 active
r008 eli 14 closed
r009 hana 2 pending
r010 lina 4 ready
| alice
chen
eli
| record_id display_name score state
r001 jules 4 pending
r002 ivan 4 paused
r003 farah 2 active
r004 hana 9 active
r005 bruno 12 ready
r006 bruno 23 active
r007 lina 6 pending
r008 lina 2 paused
r009 eli 25 closed
| bruno
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002019 | qwen/qwen3.7-plus |
awkweave-0002020 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 26 active
alice 5 paused
hana 2 closed
hana 27 closed
dina 13 closed
ivan 3 closed
kim 20 pending
| 26
5
2
27
13
3
20
| bruno 23 active
bruno 17 failed
chen 29 pending
chen 10 closed
farah 27 active
bruno 23 failed
eli 10 ready
dina 5 pending
| 23
17
29
10
27
23
10
5
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002020-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 26 active
alice 5 paused
hana 2 closed
hana 27 closed
dina 13 closed
ivan 3 closed
kim 20 pending
| 26
5
2
27
13
3
20
| bruno 23 active
bruno 17 failed
chen 29 pending
chen 10 closed
farah 27 active
bruno 23 failed
eli 10 ready
dina 5 pending
| 23
17
29
10
27
23
10
5
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002020 | qwen/qwen3.7-plus |
awkweave-0002021 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20. | BEGIN{FS=OFS=","}$2>20{print $1} | eli,7,closed
chen,30,active
ivan,14,paused
farah,21,failed
kim,19,ready
ivan,4,closed
hana,20,closed
| chen
farah
| bruno,27,paused
eli,1,paused
lina,18,active
hana,6,closed
chen,27,failed
lina,7,closed
lina,1,ready
jules,17,active
ivan,4,closed
alice,12,closed
| bruno
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002021-p1 | For simple comma-separated input without quoted commas, print the first column whenever the second column's value is greater than 20. | BEGIN{FS=OFS=","}$2>20{print $1} | eli,7,closed
chen,30,active
ivan,14,paused
farah,21,failed
kim,19,ready
ivan,4,closed
hana,20,closed
| chen
farah
| bruno,27,paused
eli,1,paused
lina,18,active
hana,6,closed
chen,27,failed
lina,7,closed
lina,1,ready
jules,17,active
ivan,4,closed
alice,12,closed
| bruno
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002021 | qwen/qwen3.7-plus |
awkweave-0002022 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen juniper 119
bruno amber 25
farah harbor 82
lina amber 13
jules juniper 16
lina cobalt 15
farah delta 24
jules birch 13
alice harbor 71
farah harbor 91
| chen juniper 119
bruno amber 25
farah harbor 82
lina amber 13
jules juniper 16
lina cobalt 15
farah delta 24
jules birch 13
alice harbor 71
farah harbor 91
| hana fable 96
dina cobalt 56
ivan amber 54
alice indigo 38
bruno grove 119
farah ember 96
jules amber 117
jules amber 27
hana ember 108
dina cobalt 88
| hana fable 96
dina cobalt 56
ivan amber 54
alice indigo 38
bruno grove 119
farah ember 96
jules amber 117
jules amber 27
hana ember 108
dina cobalt 88
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002022-p1 | Remove leading and trailing whitespace and replace any internal sequences of whitespace with a single space. | {$1=$1;print} | chen juniper 119
bruno amber 25
farah harbor 82
lina amber 13
jules juniper 16
lina cobalt 15
farah delta 24
jules birch 13
alice harbor 71
farah harbor 91
| chen juniper 119
bruno amber 25
farah harbor 82
lina amber 13
jules juniper 16
lina cobalt 15
farah delta 24
jules birch 13
alice harbor 71
farah harbor 91
| hana fable 96
dina cobalt 56
ivan amber 54
alice indigo 38
bruno grove 119
farah ember 96
jules amber 117
jules amber 27
hana ember 108
dina cobalt 88
| hana fable 96
dina cobalt 56
ivan amber 54
alice indigo 38
bruno grove 119
farah ember 96
jules amber 117
jules amber 27
hana ember 108
dina cobalt 88
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002022 | qwen/qwen3.7-plus |
awkweave-0002023 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | ivan harbor 47 failed
alice indigo 12 ready
gus indigo 34 closed
bruno delta 92 active
dina cobalt 49 closed
alice juniper 56 ready
alice cobalt 56 ready
ivan harbor 59 active
dina juniper 28 ready
ivan delta 29 failed
| alice juniper 56 ready
| chen birch 36 active
eli ember 41 ready
bruno cobalt 67 failed
chen indigo 68 ready
gus grove 60 failed
kim harbor 44 paused
eli amber 110 closed
dina amber 115 paused
| bruno cobalt 67 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002023-p1 | Identify and print the longest line from the input; in case of a tie in length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | ivan harbor 47 failed
alice indigo 12 ready
gus indigo 34 closed
bruno delta 92 active
dina cobalt 49 closed
alice juniper 56 ready
alice cobalt 56 ready
ivan harbor 59 active
dina juniper 28 ready
ivan delta 29 failed
| alice juniper 56 ready
| chen birch 36 active
eli ember 41 ready
bruno cobalt 67 failed
chen indigo 68 ready
gus grove 60 failed
kim harbor 44 paused
eli amber 110 closed
dina amber 115 paused
| bruno cobalt 67 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002023 | qwen/qwen3.7-plus |
awkweave-0002024 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | chen 41
chen 1
chen 114
jules 65
kim 42
chen 64
ivan 101
lina 67
farah 9
eli 88
| chen 1
jules 65
chen 64
lina 67
eli 88
| dina 59
ivan 112
jules 64
bruno 28
jules 68
chen 27
alice 19
dina 25
kim 33
| ivan 112
bruno 28
chen 27
dina 25
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002024-p1 | Output every second line beginning with line 2 (i.e., lines 2, 4, etc.). | NR%2==0 | chen 41
chen 1
chen 114
jules 65
kim 42
chen 64
ivan 101
lina 67
farah 9
eli 88
| chen 1
jules 65
chen 64
lina 67
eli 88
| dina 59
ivan 112
jules 64
bruno 28
jules 68
chen 27
alice 19
dina 25
kim 33
| ivan 112
bruno 28
chen 27
dina 25
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002024 | qwen/qwen3.7-plus |
awkweave-0002025 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 58
beta juniper 85
delta ember 60
delta indigo 114
delta delta 86
beta indigo 73
delta grove 83
delta fable 61
| 2
| gamma indigo 28
delta indigo 101
beta ember 12
delta harbor 111
beta ember 18
alpha indigo 21
beta harbor 8
beta ember 59
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002025-p1 | Calculate the number of unique entries in column 1 and display just that total. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 58
beta juniper 85
delta ember 60
delta indigo 114
delta delta 86
beta indigo 73
delta grove 83
delta fable 61
| 2
| gamma indigo 28
delta indigo 101
beta ember 12
delta harbor 111
beta ember 18
alpha indigo 21
beta harbor 8
beta ember 59
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002025 | qwen/qwen3.7-plus |
awkweave-0002026 | 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} | bruno 30 0
jules 14 3
ivan 5 14
chen 25 25
hana 27 4
ivan 16 9
dina 6 17
| jules 4.67
ivan 0.36
chen 1.00
hana 6.75
ivan 1.78
dina 0.35
| jules 3 0
kim 10 13
hana 23 28
lina 7 6
eli 13 28
chen 23 27
kim 27 20
ivan 5 29
| kim 0.77
hana 0.82
lina 1.17
eli 0.46
chen 0.85
kim 1.35
ivan 0.17
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002026-p1 | For each record, output column 1 and the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 30 0
jules 14 3
ivan 5 14
chen 25 25
hana 27 4
ivan 16 9
dina 6 17
| jules 4.67
ivan 0.36
chen 1.00
hana 6.75
ivan 1.78
dina 0.35
| jules 3 0
kim 10 13
hana 23 28
lina 7 6
eli 13 28
chen 23 27
kim 27 20
ivan 5 29
| kim 0.77
hana 0.82
lina 1.17
eli 0.46
chen 0.85
kim 1.35
ivan 0.17
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002026 | qwen/qwen3.7-plus |
awkweave-0002027 | 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]} | bruno ember 18
hana amber 4
kim juniper 29
chen cobalt 27
bruno indigo 17
dina juniper 23
gus delta 7
| kim juniper 29
chen cobalt 27
dina juniper 23
| dina ember 16
alice cobalt 12
chen birch 24
eli juniper 3
ivan cobalt 5
alice cobalt 7
chen ember 26
| chen ember 26
chen birch 24
dina ember 16
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002027-p1 | Display the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno ember 18
hana amber 4
kim juniper 29
chen cobalt 27
bruno indigo 17
dina juniper 23
gus delta 7
| kim juniper 29
chen cobalt 27
dina juniper 23
| dina ember 16
alice cobalt 12
chen birch 24
eli juniper 3
ivan cobalt 5
alice cobalt 7
chen ember 26
| chen ember 26
chen birch 24
dina ember 16
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002027 | qwen/qwen3.7-plus |
awkweave-0002028 | Print column 3 followed by column 1 for every record. | {print $3, $1} | farah pending kim ivan
chen active lina farah
alice failed alice kim
ivan failed gus alice
chen active ivan hana
gus pending ivan ivan
kim pending jules alice
eli active dina gus
| kim farah
lina chen
alice alice
gus ivan
ivan chen
ivan gus
jules kim
dina eli
| gus failed ivan gus
kim paused ivan lina
jules failed dina kim
hana failed lina lina
eli paused lina gus
eli paused jules lina
alice active jules ivan
ivan closed eli jules
dina active jules alice
| ivan gus
ivan kim
dina jules
lina hana
lina eli
jules eli
jules alice
eli ivan
jules dina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002028-p1 | Output column 3 followed by column 1 for each entry. | {print $3, $1} | farah pending kim ivan
chen active lina farah
alice failed alice kim
ivan failed gus alice
chen active ivan hana
gus pending ivan ivan
kim pending jules alice
eli active dina gus
| kim farah
lina chen
alice alice
gus ivan
ivan chen
ivan gus
jules kim
dina eli
| gus failed ivan gus
kim paused ivan lina
jules failed dina kim
hana failed lina lina
eli paused lina gus
eli paused jules lina
alice active jules ivan
ivan closed eli jules
dina active jules alice
| ivan gus
ivan kim
dina jules
lina hana
lina eli
jules eli
jules alice
eli ivan
jules dina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002028 | qwen/qwen3.7-plus |
awkweave-0002029 | Print the last field of every input line. | {print $NF} | active ember alice indigo paused ready
closed cobalt lina juniper paused failed
ready grove ivan delta pending active
closed cobalt gus delta failed paused
pending fable jules harbor failed failed
pending grove lina ember pending failed
closed fable bruno ember failed active
paused indigo chen cobalt closed ready
| ready
failed
active
paused
failed
failed
active
ready
| closed cobalt farah amber active closed
failed fable jules grove closed pending
closed grove hana amber closed ready
ready amber farah indigo active failed
paused birch bruno juniper ready pending
paused ember dina fable failed failed
| closed
pending
ready
failed
pending
failed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002029-p1 | Print the final field from every input line. | {print $NF} | active ember alice indigo paused ready
closed cobalt lina juniper paused failed
ready grove ivan delta pending active
closed cobalt gus delta failed paused
pending fable jules harbor failed failed
pending grove lina ember pending failed
closed fable bruno ember failed active
paused indigo chen cobalt closed ready
| ready
failed
active
paused
failed
failed
active
ready
| closed cobalt farah amber active closed
failed fable jules grove closed pending
closed grove hana amber closed ready
ready amber farah indigo active failed
paused birch bruno juniper ready pending
paused ember dina fable failed failed
| closed
pending
ready
failed
pending
failed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002029 | qwen/qwen3.7-plus |
awkweave-0002030 | Print the complete records where column 3 is less than 70. | $3 < 70 | failed birch 63 active
paused cobalt 0 paused
paused ember 99 pending
paused birch 39 paused
active juniper 72 paused
paused delta 36 closed
ready cobalt 72 pending
active birch 45 paused
active delta 73 active
| failed birch 63 active
paused cobalt 0 paused
paused birch 39 paused
paused delta 36 closed
active birch 45 paused
| pending grove 116 active
pending amber 115 ready
active amber 15 paused
active indigo 93 failed
active indigo 3 pending
ready birch 70 ready
pending indigo 107 closed
pending ember 12 closed
| active amber 15 paused
active indigo 3 pending
pending ember 12 closed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002030-p1 | Output the full records where the value in column 3 is under 70. | $3 < 70 | failed birch 63 active
paused cobalt 0 paused
paused ember 99 pending
paused birch 39 paused
active juniper 72 paused
paused delta 36 closed
ready cobalt 72 pending
active birch 45 paused
active delta 73 active
| failed birch 63 active
paused cobalt 0 paused
paused birch 39 paused
paused delta 36 closed
active birch 45 paused
| pending grove 116 active
pending amber 115 ready
active amber 15 paused
active indigo 93 failed
active indigo 3 pending
ready birch 70 ready
pending indigo 107 closed
pending ember 12 closed
| active amber 15 paused
active indigo 3 pending
pending ember 12 closed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002030 | qwen/qwen3.7-plus |
awkweave-0002031 | Show whole lines whose 1st field is between 7 and 29, inclusive. | $1 >= 7 && $1 <= 29 | 14 ready farah paused
26 active dina paused
17 failed alice failed
7 pending hana paused
15 failed dina paused
9 pending bruno pending
| 14 ready farah paused
26 active dina paused
17 failed alice failed
7 pending hana paused
15 failed dina paused
9 pending bruno pending
| 29 closed hana pending
16 failed farah active
17 pending alice ready
12 closed ivan paused
19 ready kim pending
27 failed kim failed
9 active kim active
21 closed hana ready
24 ready ivan paused
| 29 closed hana pending
16 failed farah active
17 pending alice ready
12 closed ivan paused
19 ready kim pending
27 failed kim failed
9 active kim active
21 closed hana ready
24 ready ivan paused
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002031-p1 | Display entire lines where the first field falls within the inclusive range of 7 to 29. | $1 >= 7 && $1 <= 29 | 14 ready farah paused
26 active dina paused
17 failed alice failed
7 pending hana paused
15 failed dina paused
9 pending bruno pending
| 14 ready farah paused
26 active dina paused
17 failed alice failed
7 pending hana paused
15 failed dina paused
9 pending bruno pending
| 29 closed hana pending
16 failed farah active
17 pending alice ready
12 closed ivan paused
19 ready kim pending
27 failed kim failed
9 active kim active
21 closed hana ready
24 ready ivan paused
| 29 closed hana pending
16 failed farah active
17 pending alice ready
12 closed ivan paused
19 ready kim pending
27 failed kim failed
9 active kim active
21 closed hana ready
24 ready ivan paused
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002031 | qwen/qwen3.7-plus |
awkweave-0002032 | Print column 2 only for rows where column 4 is exactly paused. | $4 == "paused"{print $2} | fable ivan 34 failed
harbor alice 111 closed
grove dina 103 paused
birch kim 23 paused
indigo alice 70 failed
fable gus 51 paused
fable dina 79 active
amber jules 23 ready
ember chen 91 ready
| dina
kim
gus
| harbor jules 98 closed
fable lina 70 active
grove eli 119 ready
grove hana 69 failed
amber farah 25 failed
ember eli 53 pending
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0002032-p1 | Print only column 2 for those rows where column 4 matches the exact string paused. | $4 == "paused"{print $2} | fable ivan 34 failed
harbor alice 111 closed
grove dina 103 paused
birch kim 23 paused
indigo alice 70 failed
fable gus 51 paused
fable dina 79 active
amber jules 23 ready
ember chen 91 ready
| dina
kim
gus
| harbor jules 98 closed
fable lina 70 active
grove eli 119 ready
grove hana 69 failed
amber farah 25 failed
ember eli 53 pending
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002032 | qwen/qwen3.7-plus | |
awkweave-0002033 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | fable INFO 86
ember ERROR 30
indigo DEBUG 66
indigo ERROR 6
fable ERROR 27
birch DEBUG 63
harbor DEBUG 1
indigo DEBUG 29
indigo WARN 85
indigo DEBUG 64
| indigo WARN 85
| juniper DEBUG 93
cobalt ERROR 53
birch INFO 64
grove WARN 52
harbor ERROR 41
fable WARN 35
fable DEBUG 100
ember ERROR 46
ember ERROR 21
| grove WARN 52
fable WARN 35
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002033-p1 | Output all fields from lines where the second field starts with WARN. | $2 ~ /^WARN/ | fable INFO 86
ember ERROR 30
indigo DEBUG 66
indigo ERROR 6
fable ERROR 27
birch DEBUG 63
harbor DEBUG 1
indigo DEBUG 29
indigo WARN 85
indigo DEBUG 64
| indigo WARN 85
| juniper DEBUG 93
cobalt ERROR 53
birch INFO 64
grove WARN 52
harbor ERROR 41
fable WARN 35
fable DEBUG 100
ember ERROR 46
ember ERROR 21
| grove WARN 52
fable WARN 35
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002033 | qwen/qwen3.7-plus |
awkweave-0002034 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | indigo 116 ready
harbor 74 paused
delta 97 ready
delta 54 paused
grove 89 active
cobalt 36 failed
juniper 103 failed
delta 63 pending
delta 2 failed
grove 41 paused
indigo 999 active
| harbor 74 paused
delta 97 ready
delta 54 paused
grove 89 active
cobalt 36 failed
juniper 103 failed
delta 63 pending
delta 2 failed
grove 41 paused
| grove 52 pending
ember 105 active
indigo 118 pending
indigo 22 pending
cobalt 61 pending
harbor 103 pending
delta 117 active
indigo 999 active
| grove 52 pending
ember 105 active
cobalt 61 pending
harbor 103 pending
delta 117 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002034-p1 | Print every line that does not contain the exact string indigo. | $0 !~ /indigo/ | indigo 116 ready
harbor 74 paused
delta 97 ready
delta 54 paused
grove 89 active
cobalt 36 failed
juniper 103 failed
delta 63 pending
delta 2 failed
grove 41 paused
indigo 999 active
| harbor 74 paused
delta 97 ready
delta 54 paused
grove 89 active
cobalt 36 failed
juniper 103 failed
delta 63 pending
delta 2 failed
grove 41 paused
| grove 52 pending
ember 105 active
indigo 118 pending
indigo 22 pending
cobalt 61 pending
harbor 103 pending
delta 117 active
indigo 999 active
| grove 52 pending
ember 105 active
cobalt 61 pending
harbor 103 pending
delta 117 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002034 | qwen/qwen3.7-plus |
awkweave-0002035 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | dina amber 35
eli fable 6
jules delta 1
lina juniper 101
hana harbor 111
bruno amber 29
bruno amber 93
eli fable 12
bruno ember 76
alice juniper 34
| lina juniper 101
hana harbor 111
bruno amber 29
bruno amber 93
| kim birch 74
bruno grove 40
jules juniper 14
lina grove 85
jules juniper 37
bruno indigo 96
| lina grove 85
jules juniper 37
bruno indigo 96
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002035-p1 | Output lines 4 through 7, inclusive. | NR >= 4 && NR <= 7 | dina amber 35
eli fable 6
jules delta 1
lina juniper 101
hana harbor 111
bruno amber 29
bruno amber 93
eli fable 12
bruno ember 76
alice juniper 34
| lina juniper 101
hana harbor 111
bruno amber 29
bruno amber 93
| kim birch 74
bruno grove 40
jules juniper 14
lina grove 85
jules juniper 37
bruno indigo 96
| lina grove 85
jules juniper 37
bruno indigo 96
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002035 | qwen/qwen3.7-plus |
awkweave-0002036 | Output only the first 4 records. | NR <= 4 | dina 70 fable
dina 43 juniper
jules 44 juniper
kim 111 birch
jules 5 grove
kim 110 harbor
ivan 89 indigo
hana 15 ember
hana 25 amber
| dina 70 fable
dina 43 juniper
jules 44 juniper
kim 111 birch
| lina 11 indigo
dina 70 harbor
gus 88 juniper
chen 76 delta
lina 56 indigo
dina 59 birch
| lina 11 indigo
dina 70 harbor
gus 88 juniper
chen 76 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002036-p1 | Display only the initial four records. | NR <= 4 | dina 70 fable
dina 43 juniper
jules 44 juniper
kim 111 birch
jules 5 grove
kim 110 harbor
ivan 89 indigo
hana 15 ember
hana 25 amber
| dina 70 fable
dina 43 juniper
jules 44 juniper
kim 111 birch
| lina 11 indigo
dina 70 harbor
gus 88 juniper
chen 76 delta
lina 56 indigo
dina 59 birch
| lina 11 indigo
dina 70 harbor
gus 88 juniper
chen 76 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002036 | qwen/qwen3.7-plus |
awkweave-0002037 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 10 harbor
farah 1 amber
eli 115 cobalt
jules 26 juniper
bruno 91 cobalt
dina 43 birch
| farah 1 amber
eli 115 cobalt
jules 26 juniper
bruno 91 cobalt
dina 43 birch
| bruno 33 birch
jules 113 cobalt
chen 6 delta
gus 99 cobalt
ivan 53 delta
kim 45 indigo
| jules 113 cobalt
chen 6 delta
gus 99 cobalt
ivan 53 delta
kim 45 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002038 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | gus failed 92
gus failed 71
dina closed 89
jules paused 101
dina closed 87
lina ready 72
farah pending 31
alice pending 89
gus failed 64
| 2
| ivan pending 75
lina ready 22
gus ready 78
ivan closed 54
jules active 39
ivan ready 91
hana failed 61
kim failed 82
dina closed 71
eli pending 38
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002038-p1 | Determine the number of entries where column 2 contains 'closed', outputting 0 if no such entries exist. | $2 == "closed"{n++}END{print n+0} | gus failed 92
gus failed 71
dina closed 89
jules paused 101
dina closed 87
lina ready 72
farah pending 31
alice pending 89
gus failed 64
| 2
| ivan pending 75
lina ready 22
gus ready 78
ivan closed 54
jules active 39
ivan ready 91
hana failed 61
kim failed 82
dina closed 71
eli pending 38
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002038 | qwen/qwen3.7-plus |
awkweave-0002039 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | indigo 1 lina
indigo 11 alice
indigo 28 kim
cobalt 30 alice
cobalt 27 kim
ember 17 alice
| 114
| birch 16 kim
grove 2 bruno
delta 9 gus
indigo 11 bruno
indigo 23 lina
fable 11 bruno
birch 5 alice
| 77
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002039-p1 | Compute and display the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | indigo 1 lina
indigo 11 alice
indigo 28 kim
cobalt 30 alice
cobalt 27 kim
ember 17 alice
| 114
| birch 16 kim
grove 2 bruno
delta 9 gus
indigo 11 bruno
indigo 23 lina
fable 11 bruno
birch 5 alice
| 77
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002039 | qwen/qwen3.7-plus |
awkweave-0002040 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 18 chen
fable 9 gus
fable 8 jules
indigo 17 kim
indigo 14 eli
delta 1 gus
cobalt 12 jules
| 11.29
| grove 23 gus
fable 24 kim
fable 19 chen
fable 12 dina
juniper 6 farah
indigo 29 ivan
harbor 10 chen
amber 13 jules
fable 16 eli
| 16.89
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002040-p1 | Output the average value of column 2, formatted to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 18 chen
fable 9 gus
fable 8 jules
indigo 17 kim
indigo 14 eli
delta 1 gus
cobalt 12 jules
| 11.29
| grove 23 gus
fable 24 kim
fable 19 chen
fable 12 dina
juniper 6 farah
indigo 29 ivan
harbor 10 chen
amber 13 jules
fable 16 eli
| 16.89
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002040 | qwen/qwen3.7-plus |
awkweave-0002041 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 cobalt alice
25 juniper farah
22 cobalt jules
27 delta bruno
16 amber chen
22 fable kim
4 ember ivan
20 indigo ivan
| 4
| 3 delta alice
14 indigo hana
26 ember farah
14 harbor chen
6 harbor gus
5 fable gus
29 ember kim
27 grove eli
15 fable farah
21 juniper ivan
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002041-p1 | Identify and print the minimum numeric value present in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 cobalt alice
25 juniper farah
22 cobalt jules
27 delta bruno
16 amber chen
22 fable kim
4 ember ivan
20 indigo ivan
| 4
| 3 delta alice
14 indigo hana
26 ember farah
14 harbor chen
6 harbor gus
5 fable gus
29 ember kim
27 grove eli
15 fable farah
21 juniper ivan
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002041 | qwen/qwen3.7-plus |
awkweave-0002042 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 lina fable
5 farah grove
6 gus cobalt
5 chen grove
24 eli harbor
27 bruno amber
10 farah cobalt
16 chen cobalt
28 gus birch
| 28
| 2 bruno indigo
15 eli birch
13 lina harbor
21 jules cobalt
8 kim fable
30 chen cobalt
2 farah birch
19 chen grove
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002042-p1 | Identify and print the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 lina fable
5 farah grove
6 gus cobalt
5 chen grove
24 eli harbor
27 bruno amber
10 farah cobalt
16 chen cobalt
28 gus birch
| 28
| 2 bruno indigo
15 eli birch
13 lina harbor
21 jules cobalt
8 kim fable
30 chen cobalt
2 farah birch
19 chen grove
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002042 | qwen/qwen3.7-plus |
awkweave-0002043 | Count all input records and print the total. | END{print NR} | gus 98
eli 117
hana 79
lina 8
hana 87
bruno 14
dina 99
bruno 74
hana 91
| 9
| lina 65
chen 8
dina 44
jules 79
bruno 116
chen 74
chen 76
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002043-p1 | Count the total number of input records and print the result. | END{print NR} | gus 98
eli 117
hana 79
lina 8
hana 87
bruno 14
dina 99
bruno 74
hana 91
| 9
| lina 65
chen 8
dina 44
jules 79
bruno 116
chen 74
chen 76
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002043 | qwen/qwen3.7-plus |
awkweave-0002044 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli harbor 90
ivan birch 5
gus grove 111
eli harbor 90
kim amber 30
ivan harbor 79
dina ember 4
hana birch 8
bruno fable 20
farah fable 57
| eli harbor 90
ivan birch 5
gus grove 111
kim amber 30
ivan harbor 79
dina ember 4
hana birch 8
bruno fable 20
farah fable 57
| ivan indigo 70
jules juniper 54
eli juniper 11
bruno delta 88
eli juniper 11
jules birch 35
eli amber 106
lina indigo 8
bruno amber 13
bruno delta 94
dina fable 10
| ivan indigo 70
jules juniper 54
eli juniper 11
bruno delta 88
jules birch 35
eli amber 106
lina indigo 8
bruno amber 13
bruno delta 94
dina fable 10
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002044-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | eli harbor 90
ivan birch 5
gus grove 111
eli harbor 90
kim amber 30
ivan harbor 79
dina ember 4
hana birch 8
bruno fable 20
farah fable 57
| eli harbor 90
ivan birch 5
gus grove 111
kim amber 30
ivan harbor 79
dina ember 4
hana birch 8
bruno fable 20
farah fable 57
| ivan indigo 70
jules juniper 54
eli juniper 11
bruno delta 88
eli juniper 11
jules birch 35
eli amber 106
lina indigo 8
bruno amber 13
bruno delta 94
dina fable 10
| ivan indigo 70
jules juniper 54
eli juniper 11
bruno delta 88
jules birch 35
eli amber 106
lina indigo 8
bruno amber 13
bruno delta 94
dina fable 10
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002044 | qwen/qwen3.7-plus |
awkweave-0002045 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | chen harbor 8
alice harbor 100
kim indigo 58
hana grove 1
lina harbor 23
lina ember 2
jules juniper 110
kim cobalt 70
lina amber 6
hana cobalt 95
| chen harbor 8
alice harbor 100
kim indigo 58
hana grove 1
lina harbor 23
jules juniper 110
| dina harbor 34
jules amber 79
farah amber 106
chen birch 106
lina juniper 12
gus delta 90
jules fable 108
lina grove 43
hana birch 17
ivan grove 15
| dina harbor 34
jules amber 79
farah amber 106
chen birch 106
lina juniper 12
gus delta 90
hana birch 17
ivan grove 15
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002045-p1 | Retain only the first occurrence for every unique value in column 1, preserving the original sequence. | !seen[$1]++ | chen harbor 8
alice harbor 100
kim indigo 58
hana grove 1
lina harbor 23
lina ember 2
jules juniper 110
kim cobalt 70
lina amber 6
hana cobalt 95
| chen harbor 8
alice harbor 100
kim indigo 58
hana grove 1
lina harbor 23
jules juniper 110
| dina harbor 34
jules amber 79
farah amber 106
chen birch 106
lina juniper 12
gus delta 90
jules fable 108
lina grove 43
hana birch 17
ivan grove 15
| dina harbor 34
jules amber 79
farah amber 106
chen birch 106
lina juniper 12
gus delta 90
hana birch 17
ivan grove 15
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002045 | qwen/qwen3.7-plus |
awkweave-0002046 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | kim 27 birch
gus 12 birch
bruno 26 cobalt
gus 10 harbor
dina 14 delta
jules 8 ember
jules 6 grove
gus 23 grove
| kim 27
gus 39
bruno 65
gus 75
dina 89
jules 97
jules 103
gus 126
| eli 5 birch
ivan 4 amber
kim 6 indigo
gus 15 indigo
farah 16 amber
kim 11 birch
lina 11 amber
eli 8 juniper
ivan 27 cobalt
bruno 9 juniper
| eli 5
ivan 9
kim 15
gus 30
farah 46
kim 57
lina 68
eli 76
ivan 103
bruno 112
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002046-p1 | For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | kim 27 birch
gus 12 birch
bruno 26 cobalt
gus 10 harbor
dina 14 delta
jules 8 ember
jules 6 grove
gus 23 grove
| kim 27
gus 39
bruno 65
gus 75
dina 89
jules 97
jules 103
gus 126
| eli 5 birch
ivan 4 amber
kim 6 indigo
gus 15 indigo
farah 16 amber
kim 11 birch
lina 11 amber
eli 8 juniper
ivan 27 cobalt
bruno 9 juniper
| eli 5
ivan 9
kim 15
gus 30
farah 46
kim 57
lina 68
eli 76
ivan 103
bruno 112
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002046 | qwen/qwen3.7-plus |
awkweave-0002047 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 27 28 grove
eli 11 12 delta
ivan 29 17 indigo
hana 3 16 ember
kim 7 10 grove
ivan 12 26 amber
farah 16 12 indigo
gus 25 6 delta
eli 21 13 grove
jules 10 28 juniper
| hana 55
eli 23
ivan 46
hana 19
kim 17
ivan 38
farah 28
gus 31
eli 34
jules 38
| farah 15 17 harbor
eli 28 28 juniper
hana 10 19 harbor
dina 11 11 juniper
farah 7 1 juniper
chen 26 4 juniper
lina 2 29 cobalt
| farah 32
eli 56
hana 29
dina 22
farah 8
chen 30
lina 31
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002047-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 27 28 grove
eli 11 12 delta
ivan 29 17 indigo
hana 3 16 ember
kim 7 10 grove
ivan 12 26 amber
farah 16 12 indigo
gus 25 6 delta
eli 21 13 grove
jules 10 28 juniper
| hana 55
eli 23
ivan 46
hana 19
kim 17
ivan 38
farah 28
gus 31
eli 34
jules 38
| farah 15 17 harbor
eli 28 28 juniper
hana 10 19 harbor
dina 11 11 juniper
farah 7 1 juniper
chen 26 4 juniper
lina 2 29 cobalt
| farah 32
eli 56
hana 29
dina 22
farah 8
chen 30
lina 31
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002047 | qwen/qwen3.7-plus |
awkweave-0002048 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | jules 24
farah 1
ivan 3
lina 22
chen 2
dina 21
| jules pass
farah fail
ivan fail
lina fail
chen fail
dina fail
| gus 8
farah 20
kim 19
hana 24
hana 8
jules 17
alice 26
kim 4
bruno 28
alice 22
| gus fail
farah fail
kim fail
hana pass
hana fail
jules fail
alice pass
kim fail
bruno pass
alice fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002048-p1 | Output the value in column 1; if column 2 is 23 or higher, output 'pass', otherwise output 'fail'. | {print $1,($2>=23?"pass":"fail")} | jules 24
farah 1
ivan 3
lina 22
chen 2
dina 21
| jules pass
farah fail
ivan fail
lina fail
chen fail
dina fail
| gus 8
farah 20
kim 19
hana 24
hana 8
jules 17
alice 26
kim 4
bruno 28
alice 22
| gus fail
farah fail
kim fail
hana pass
hana fail
jules fail
alice pass
kim fail
bruno pass
alice fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002048 | qwen/qwen3.7-plus |
awkweave-0002049 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | alice fable 103
dina indigo 22
farah harbor 110
bruno grove 75
dina amber 43
eli juniper 5
farah cobalt 21
gus indigo 56
| FABLE
INDIGO
HARBOR
GROVE
AMBER
JUNIPER
COBALT
INDIGO
| gus cobalt 4
eli ember 92
chen ember 5
lina birch 104
eli amber 106
ivan ember 52
kim amber 66
jules grove 4
| COBALT
EMBER
EMBER
BIRCH
AMBER
EMBER
AMBER
GROVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002049-p1 | Transform column 2 to uppercase and display only that modified column. | {print toupper($2)} | alice fable 103
dina indigo 22
farah harbor 110
bruno grove 75
dina amber 43
eli juniper 5
farah cobalt 21
gus indigo 56
| FABLE
INDIGO
HARBOR
GROVE
AMBER
JUNIPER
COBALT
INDIGO
| gus cobalt 4
eli ember 92
chen ember 5
lina birch 104
eli amber 106
ivan ember 52
kim amber 66
jules grove 4
| COBALT
EMBER
EMBER
BIRCH
AMBER
EMBER
AMBER
GROVE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002049 | qwen/qwen3.7-plus |
awkweave-0002050 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | harbor 85
cobalt 77
grove 44
amber 87
birch 4
juniper 10
| harb
coba
grov
ambe
birc
juni
| juniper 90
cobalt 111
grove 67
grove 100
harbor 62
amber 46
indigo 54
harbor 64
grove 104
| juni
coba
grov
grov
harb
ambe
indi
harb
grov
| 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.