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-0007500-p1 | Compute and print the average of column 2, rounded to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | chen 20 ember
farah 18 ember
eli 14 amber
dina 3 amber
lina 16 birch
farah 21 fable
kim 29 ember
| 17.29
| gus 5 fable
lina 30 cobalt
chen 27 amber
chen 15 amber
dina 19 grove
ivan 15 harbor
ivan 19 fable
jules 28 cobalt
kim 23 juniper
dina 5 amber
| 18.60
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007500 | qwen/qwen3.7-plus |
awkweave-0007501 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | grove lina 4
delta ivan 11
grove dina 27
amber kim 19
grove farah 19
juniper eli 27
indigo farah 17
harbor dina 23
fable jules 2
delta chen 24
| 2
| indigo kim 26
cobalt jules 23
grove kim 18
amber alice 28
harbor ivan 19
cobalt lina 11
harbor dina 17
delta lina 17
| 11
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007501-p1 | Identify and output the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | grove lina 4
delta ivan 11
grove dina 27
amber kim 19
grove farah 19
juniper eli 27
indigo farah 17
harbor dina 23
fable jules 2
delta chen 24
| 2
| indigo kim 26
cobalt jules 23
grove kim 18
amber alice 28
harbor ivan 19
cobalt lina 11
harbor dina 17
delta lina 17
| 11
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007501 | qwen/qwen3.7-plus |
awkweave-0007502 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 7 juniper kim
10 ember jules
3 juniper eli
5 juniper eli
4 harbor lina
27 birch lina
19 cobalt chen
18 birch ivan
4 birch kim
| 27
| 14 fable chen
24 indigo eli
2 juniper gus
19 juniper jules
11 amber hana
12 grove alice
28 harbor farah
7 indigo kim
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007502-p1 | Identify and output the maximum numeric value found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 7 juniper kim
10 ember jules
3 juniper eli
5 juniper eli
4 harbor lina
27 birch lina
19 cobalt chen
18 birch ivan
4 birch kim
| 27
| 14 fable chen
24 indigo eli
2 juniper gus
19 juniper jules
11 amber hana
12 grove alice
28 harbor farah
7 indigo kim
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007502 | qwen/qwen3.7-plus |
awkweave-0007503 | Count all input records and print the total. | END{print NR} | jules 91
kim 102
ivan 36
bruno 88
alice 91
alice 101
gus 10
dina 71
| 8
| ivan 110
ivan 95
farah 63
kim 46
ivan 10
chen 113
alice 13
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007503-p1 | Count the total number of input records and print the result. | END{print NR} | jules 91
kim 102
ivan 36
bruno 88
alice 91
alice 101
gus 10
dina 71
| 8
| ivan 110
ivan 95
farah 63
kim 46
ivan 10
chen 113
alice 13
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007503 | qwen/qwen3.7-plus |
awkweave-0007504 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina grove 33
dina birch 4
gus juniper 99
hana delta 110
kim grove 119
jules fable 87
alice cobalt 114
dina birch 4
gus juniper 8
hana ember 88
chen delta 118
| dina grove 33
dina birch 4
gus juniper 99
hana delta 110
kim grove 119
jules fable 87
alice cobalt 114
gus juniper 8
hana ember 88
chen delta 118
| dina indigo 29
dina indigo 21
hana birch 27
farah ember 31
eli indigo 47
dina grove 115
eli indigo 47
jules cobalt 12
ivan amber 67
ivan ember 56
| dina indigo 29
dina indigo 21
hana birch 27
farah ember 31
eli indigo 47
dina grove 115
jules cobalt 12
ivan amber 67
ivan ember 56
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007504-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original order. | !seen[$0]++ | dina grove 33
dina birch 4
gus juniper 99
hana delta 110
kim grove 119
jules fable 87
alice cobalt 114
dina birch 4
gus juniper 8
hana ember 88
chen delta 118
| dina grove 33
dina birch 4
gus juniper 99
hana delta 110
kim grove 119
jules fable 87
alice cobalt 114
gus juniper 8
hana ember 88
chen delta 118
| dina indigo 29
dina indigo 21
hana birch 27
farah ember 31
eli indigo 47
dina grove 115
eli indigo 47
jules cobalt 12
ivan amber 67
ivan ember 56
| dina indigo 29
dina indigo 21
hana birch 27
farah ember 31
eli indigo 47
dina grove 115
jules cobalt 12
ivan amber 67
ivan ember 56
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007504 | qwen/qwen3.7-plus |
awkweave-0007505 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | gus ember 93
dina birch 94
bruno cobalt 47
alice cobalt 18
farah fable 43
chen birch 25
ivan ember 52
lina fable 97
lina harbor 118
kim juniper 4
| gus ember 93
dina birch 94
bruno cobalt 47
farah fable 43
lina harbor 118
kim juniper 4
| eli indigo 114
farah harbor 58
dina juniper 88
ivan harbor 58
chen delta 64
hana harbor 23
farah cobalt 32
| eli indigo 114
farah harbor 58
dina juniper 88
chen delta 64
farah cobalt 32
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007505-p1 | Retain only the first occurrence of each unique value in column 2, preserving the original input order. | !seen[$2]++ | gus ember 93
dina birch 94
bruno cobalt 47
alice cobalt 18
farah fable 43
chen birch 25
ivan ember 52
lina fable 97
lina harbor 118
kim juniper 4
| gus ember 93
dina birch 94
bruno cobalt 47
farah fable 43
lina harbor 118
kim juniper 4
| eli indigo 114
farah harbor 58
dina juniper 88
ivan harbor 58
chen delta 64
hana harbor 23
farah cobalt 32
| eli indigo 114
farah harbor 58
dina juniper 88
chen delta 64
farah cobalt 32
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007505 | qwen/qwen3.7-plus |
awkweave-0007506 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 13 indigo
dina 9 delta
eli 7 harbor
dina 2 grove
chen 13 fable
eli 14 juniper
gus 21 fable
| gus 13
dina 22
eli 29
dina 31
chen 44
eli 58
gus 79
| eli 14 indigo
hana 10 birch
chen 7 delta
lina 30 birch
hana 21 harbor
jules 12 harbor
jules 21 delta
gus 13 cobalt
| eli 14
hana 24
chen 31
lina 61
hana 82
jules 94
jules 115
gus 128
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007506-p1 | Output the first column and the cumulative total of the second column for each record, separated by a space. | {s+=$2;print $1,s} | gus 13 indigo
dina 9 delta
eli 7 harbor
dina 2 grove
chen 13 fable
eli 14 juniper
gus 21 fable
| gus 13
dina 22
eli 29
dina 31
chen 44
eli 58
gus 79
| eli 14 indigo
hana 10 birch
chen 7 delta
lina 30 birch
hana 21 harbor
jules 12 harbor
jules 21 delta
gus 13 cobalt
| eli 14
hana 24
chen 31
lina 61
hana 82
jules 94
jules 115
gus 128
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007506 | qwen/qwen3.7-plus |
awkweave-0007507 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 5 29 cobalt
eli 11 24 harbor
eli 23 26 harbor
farah 25 12 ember
gus 13 11 ember
bruno 6 16 ember
dina 6 24 birch
chen 27 29 birch
| gus 34
eli 35
eli 49
farah 37
gus 24
bruno 22
dina 30
chen 56
| jules 23 21 birch
eli 15 28 cobalt
bruno 26 11 birch
kim 7 16 delta
dina 26 15 fable
jules 1 9 amber
alice 30 19 amber
| jules 44
eli 43
bruno 37
kim 23
dina 41
jules 10
alice 49
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007507-p1 | For every line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 5 29 cobalt
eli 11 24 harbor
eli 23 26 harbor
farah 25 12 ember
gus 13 11 ember
bruno 6 16 ember
dina 6 24 birch
chen 27 29 birch
| gus 34
eli 35
eli 49
farah 37
gus 24
bruno 22
dina 30
chen 56
| jules 23 21 birch
eli 15 28 cobalt
bruno 26 11 birch
kim 7 16 delta
dina 26 15 fable
jules 1 9 amber
alice 30 19 amber
| jules 44
eli 43
bruno 37
kim 23
dina 41
jules 10
alice 49
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007507 | qwen/qwen3.7-plus |
awkweave-0007508 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | bruno 22
gus 22
bruno 5
alice 25
hana 21
alice 10
dina 14
hana 3
| bruno pass
gus pass
bruno fail
alice pass
hana pass
alice fail
dina fail
hana fail
| eli 26
alice 23
eli 29
bruno 2
eli 19
eli 9
farah 28
eli 27
alice 25
| eli pass
alice pass
eli pass
bruno fail
eli fail
eli fail
farah pass
eli pass
alice pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007508-p1 | Print the first column; if the second column is 21 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=21?"pass":"fail")} | bruno 22
gus 22
bruno 5
alice 25
hana 21
alice 10
dina 14
hana 3
| bruno pass
gus pass
bruno fail
alice pass
hana pass
alice fail
dina fail
hana fail
| eli 26
alice 23
eli 29
bruno 2
eli 19
eli 9
farah 28
eli 27
alice 25
| eli pass
alice pass
eli pass
bruno fail
eli fail
eli fail
farah pass
eli pass
alice pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007508 | qwen/qwen3.7-plus |
awkweave-0007509 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | bruno cobalt 102
farah harbor 79
lina juniper 51
chen delta 46
ivan ember 35
kim juniper 119
| COBALT
HARBOR
JUNIPER
DELTA
EMBER
JUNIPER
| dina cobalt 96
ivan cobalt 120
eli amber 48
hana grove 74
farah indigo 63
dina juniper 36
hana harbor 76
kim birch 63
bruno indigo 111
jules cobalt 28
| COBALT
COBALT
AMBER
GROVE
INDIGO
JUNIPER
HARBOR
BIRCH
INDIGO
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007509-p1 | Transform the second column to uppercase and print only that modified column. | {print toupper($2)} | bruno cobalt 102
farah harbor 79
lina juniper 51
chen delta 46
ivan ember 35
kim juniper 119
| COBALT
HARBOR
JUNIPER
DELTA
EMBER
JUNIPER
| dina cobalt 96
ivan cobalt 120
eli amber 48
hana grove 74
farah indigo 63
dina juniper 36
hana harbor 76
kim birch 63
bruno indigo 111
jules cobalt 28
| COBALT
COBALT
AMBER
GROVE
INDIGO
JUNIPER
HARBOR
BIRCH
INDIGO
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007509 | qwen/qwen3.7-plus |
awkweave-0007510 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | fable 23
grove 94
grove 90
cobalt 28
delta 60
harbor 82
| fab
gro
gro
cob
del
har
| amber 76
delta 80
indigo 95
harbor 106
birch 23
juniper 64
harbor 101
fable 116
birch 64
| amb
del
ind
har
bir
jun
har
fab
bir
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007510-p1 | Extract and print the first 3 characters from the first column, starting at position 1. | {print substr($1,1,3)} | fable 23
grove 94
grove 90
cobalt 28
delta 60
harbor 82
| fab
gro
gro
cob
del
har
| amber 76
delta 80
indigo 95
harbor 106
birch 23
juniper 64
harbor 101
fable 116
birch 64
| amb
del
ind
har
bir
jun
har
fab
bir
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007510 | qwen/qwen3.7-plus |
awkweave-0007511 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_ember 41
harbor_indigo 66
harbor_birch 48
birch_birch 99
grove_indigo 39
delta_juniper 48
grove_fable 40
fable_grove 67
birch_ember 87
| birch ember
harbor indigo
harbor birch
birch birch
grove indigo
delta juniper
grove fable
fable grove
birch ember
| fable_amber 23
amber_juniper 8
ember_ember 30
harbor_delta 90
indigo_indigo 92
indigo_amber 59
ember_birch 118
cobalt_cobalt 37
ember_delta 103
harbor_indigo 98
| fable amber
amber juniper
ember ember
harbor delta
indigo indigo
indigo amber
ember birch
cobalt cobalt
ember delta
harbor indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007511-p1 | Substitute all underscores in the first column with spaces and print the result. | {gsub(/_/," ",$1);print $1} | birch_ember 41
harbor_indigo 66
harbor_birch 48
birch_birch 99
grove_indigo 39
delta_juniper 48
grove_fable 40
fable_grove 67
birch_ember 87
| birch ember
harbor indigo
harbor birch
birch birch
grove indigo
delta juniper
grove fable
fable grove
birch ember
| fable_amber 23
amber_juniper 8
ember_ember 30
harbor_delta 90
indigo_indigo 92
indigo_amber 59
ember_birch 118
cobalt_cobalt 37
ember_delta 103
harbor_indigo 98
| fable amber
amber juniper
ember ember
harbor delta
indigo indigo
indigo amber
ember birch
cobalt cobalt
ember delta
harbor indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007511 | qwen/qwen3.7-plus |
awkweave-0007512 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen harbor 68 ready
lina juniper 109 paused
chen cobalt 9 closed
ivan indigo 93 active
chen grove 92 ready
kim birch 41 paused
bruno fable 58 ready
gus ember 44 failed
lina fable 23 pending
| ready 68 harbor chen
paused 109 juniper lina
closed 9 cobalt chen
active 93 indigo ivan
ready 92 grove chen
paused 41 birch kim
ready 58 fable bruno
failed 44 ember gus
pending 23 fable lina
| dina juniper 113 ready
lina harbor 115 pending
kim cobalt 106 ready
ivan cobalt 82 failed
alice fable 38 closed
gus delta 119 closed
lina indigo 25 closed
kim ember 41 paused
lina grove 67 active
jules cobalt 66 active
| ready 113 juniper dina
pending 115 harbor lina
ready 106 cobalt kim
failed 82 cobalt ivan
closed 38 fable alice
closed 119 delta gus
closed 25 indigo lina
paused 41 ember kim
active 67 grove lina
active 66 cobalt jules
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007512-p1 | Reverse the sequence of all fields on each line and print them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen harbor 68 ready
lina juniper 109 paused
chen cobalt 9 closed
ivan indigo 93 active
chen grove 92 ready
kim birch 41 paused
bruno fable 58 ready
gus ember 44 failed
lina fable 23 pending
| ready 68 harbor chen
paused 109 juniper lina
closed 9 cobalt chen
active 93 indigo ivan
ready 92 grove chen
paused 41 birch kim
ready 58 fable bruno
failed 44 ember gus
pending 23 fable lina
| dina juniper 113 ready
lina harbor 115 pending
kim cobalt 106 ready
ivan cobalt 82 failed
alice fable 38 closed
gus delta 119 closed
lina indigo 25 closed
kim ember 41 paused
lina grove 67 active
jules cobalt 66 active
| ready 113 juniper dina
pending 115 harbor lina
ready 106 cobalt kim
failed 82 cobalt ivan
closed 38 fable alice
closed 119 delta gus
closed 25 indigo lina
paused 41 ember kim
active 67 grove lina
active 66 cobalt jules
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007512 | qwen/qwen3.7-plus |
awkweave-0007513 | Print the number of whitespace-separated fields on each line. | {print NF} | hana indigo 54 active
lina harbor 22 pending
eli ember 102 closed
hana harbor 59 paused
hana cobalt 59 pending
chen birch 44 paused
dina grove 71 paused
chen fable 47 ready
| 4
4
4
4
4
4
4
4
| dina delta 59 pending
lina grove 16 ready
lina amber 9 closed
eli juniper 13 failed
eli grove 31 paused
lina cobalt 58 pending
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007513-p1 | Print the count of whitespace-delimited fields found on each line. | {print NF} | hana indigo 54 active
lina harbor 22 pending
eli ember 102 closed
hana harbor 59 paused
hana cobalt 59 pending
chen birch 44 paused
dina grove 71 paused
chen fable 47 ready
| 4
4
4
4
4
4
4
4
| dina delta 59 pending
lina grove 16 ready
lina amber 9 closed
eli juniper 13 failed
eli grove 31 paused
lina cobalt 58 pending
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007513 | qwen/qwen3.7-plus |
awkweave-0007514 | 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]]} | eli gamma 82
eli alpha 97
lina delta 59
lina alpha 79
chen gamma 51
ivan gamma 94
hana delta 38
eli alpha 33
hana delta 67
kim beta 47
| gamma 3
alpha 3
delta 3
beta 1
| hana beta 84
chen gamma 91
alice alpha 56
hana alpha 11
ivan delta 94
kim beta 116
bruno alpha 106
gus alpha 1
alice gamma 78
| beta 2
gamma 2
alpha 4
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007514-p1 | Tally the records for each unique value in column 2 and print each value with its count, ordered by first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | eli gamma 82
eli alpha 97
lina delta 59
lina alpha 79
chen gamma 51
ivan gamma 94
hana delta 38
eli alpha 33
hana delta 67
kim beta 47
| gamma 3
alpha 3
delta 3
beta 1
| hana beta 84
chen gamma 91
alice alpha 56
hana alpha 11
ivan delta 94
kim beta 116
bruno alpha 106
gus alpha 1
alice gamma 78
| beta 2
gamma 2
alpha 4
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007514 | qwen/qwen3.7-plus |
awkweave-0007515 | 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]]} | bruno delta 30
kim delta 8
alice alpha 29
ivan gamma 20
alice beta 28
alice delta 2
bruno beta 19
lina beta 5
| delta 40
alpha 29
gamma 20
beta 52
| dina alpha 2
eli alpha 13
ivan gamma 26
bruno beta 29
farah alpha 10
farah beta 18
bruno gamma 11
kim delta 5
dina beta 18
| alpha 25
gamma 37
beta 65
delta 5
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007515-p1 | Calculate the sum of column 3 grouped by column 2 values, printing the results 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]]} | bruno delta 30
kim delta 8
alice alpha 29
ivan gamma 20
alice beta 28
alice delta 2
bruno beta 19
lina beta 5
| delta 40
alpha 29
gamma 20
beta 52
| dina alpha 2
eli alpha 13
ivan gamma 26
bruno beta 29
farah alpha 10
farah beta 18
bruno gamma 11
kim delta 5
dina beta 18
| alpha 25
gamma 37
beta 65
delta 5
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007515 | qwen/qwen3.7-plus |
awkweave-0007516 | 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 juniper 12
delta grove 68
beta cobalt 102
delta ember 29
gamma juniper 47
alpha juniper 19
| alpha 2
delta 2
| beta ember 7
delta juniper 93
gamma fable 34
alpha amber 80
gamma delta 12
alpha birch 92
| gamma 2
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007516-p1 | List each duplicate value from column 1 along with 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 juniper 12
delta grove 68
beta cobalt 102
delta ember 29
gamma juniper 47
alpha juniper 19
| alpha 2
delta 2
| beta ember 7
delta juniper 93
gamma fable 34
alpha amber 80
gamma delta 12
alpha birch 92
| gamma 2
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007516 | qwen/qwen3.7-plus |
awkweave-0007517 | 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 display_name
r001 gus 14 ready
r002 eli 17 failed
r003 hana 28 pending
r004 chen 6 active
r005 bruno 5 ready
r006 bruno 25 active
r007 eli 18 pending
r008 gus 2 closed
| gus
eli
hana
chen
bruno
bruno
eli
gus
| score region state display_name
r001 hana 30 active
r002 bruno 12 ready
r003 chen 29 pending
r004 chen 27 paused
r005 kim 13 failed
r006 eli 23 paused
r007 hana 16 closed
r008 jules 14 pending
r009 hana 11 ready
r010 lina 27 pending
| hana
bruno
chen
chen
kim
eli
hana
jules
hana
lina
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007517-p1 | Skip the header row and print the region column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | score region state display_name
r001 gus 14 ready
r002 eli 17 failed
r003 hana 28 pending
r004 chen 6 active
r005 bruno 5 ready
r006 bruno 25 active
r007 eli 18 pending
r008 gus 2 closed
| gus
eli
hana
chen
bruno
bruno
eli
gus
| score region state display_name
r001 hana 30 active
r002 bruno 12 ready
r003 chen 29 pending
r004 chen 27 paused
r005 kim 13 failed
r006 eli 23 paused
r007 hana 16 closed
r008 jules 14 pending
r009 hana 11 ready
r010 lina 27 pending
| hana
bruno
chen
chen
kim
eli
hana
jules
hana
lina
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007517 | qwen/qwen3.7-plus |
awkweave-0007518 | 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 kim 16 failed
r002 jules 19 closed
r003 lina 24 pending
r004 bruno 29 failed
r005 hana 21 closed
r006 alice 25 pending
r007 bruno 18 paused
r008 alice 8 pending
r009 lina 20 active
r010 ivan 16 failed
| kim
jules
lina
bruno
hana
alice
bruno
lina
ivan
| record_id display_name score state
r001 lina 28 pending
r002 chen 22 active
r003 alice 10 closed
r004 eli 13 ready
r005 chen 10 pending
r006 hana 5 closed
r007 eli 9 closed
r008 chen 20 failed
r009 bruno 24 active
| lina
chen
chen
bruno
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007518-p1 | Skip the header row and output the display_name field for any data row where the score exceeds 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 kim 16 failed
r002 jules 19 closed
r003 lina 24 pending
r004 bruno 29 failed
r005 hana 21 closed
r006 alice 25 pending
r007 bruno 18 paused
r008 alice 8 pending
r009 lina 20 active
r010 ivan 16 failed
| kim
jules
lina
bruno
hana
alice
bruno
lina
ivan
| record_id display_name score state
r001 lina 28 pending
r002 chen 22 active
r003 alice 10 closed
r004 eli 13 ready
r005 chen 10 pending
r006 hana 5 closed
r007 eli 9 closed
r008 chen 20 failed
r009 bruno 24 active
| lina
chen
chen
bruno
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007518 | qwen/qwen3.7-plus |
awkweave-0007519 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | eli 11 paused
chen 11 closed
jules 6 paused
chen 12 active
eli 8 ready
farah 18 failed
farah 3 failed
| paused
closed
paused
active
ready
failed
failed
| ivan 19 paused
farah 1 ready
chen 2 closed
bruno 27 active
alice 3 pending
ivan 19 paused
alice 16 failed
eli 23 closed
eli 13 paused
eli 24 pending
| paused
ready
closed
active
pending
paused
failed
closed
paused
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007519-p1 | Given tab-separated input, extract and print the third column from each record. | BEGIN{FS=OFS="\t"}{print $3} | eli 11 paused
chen 11 closed
jules 6 paused
chen 12 active
eli 8 ready
farah 18 failed
farah 3 failed
| paused
closed
paused
active
ready
failed
failed
| ivan 19 paused
farah 1 ready
chen 2 closed
bruno 27 active
alice 3 pending
ivan 19 paused
alice 16 failed
eli 23 closed
eli 13 paused
eli 24 pending
| paused
ready
closed
active
pending
paused
failed
closed
paused
pending
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007519 | qwen/qwen3.7-plus |
awkweave-0007520 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24. | BEGIN{FS=OFS=","}$2>24{print $1} | chen,6,closed
lina,6,failed
bruno,22,pending
gus,8,paused
alice,8,closed
farah,19,closed
alice,14,pending
bruno,4,pending
dina,26,ready
gus,14,failed
| dina
| hana,23,pending
ivan,20,paused
lina,23,failed
eli,26,active
farah,29,active
ivan,1,ready
| eli
farah
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007520-p1 | For simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 24. | BEGIN{FS=OFS=","}$2>24{print $1} | chen,6,closed
lina,6,failed
bruno,22,pending
gus,8,paused
alice,8,closed
farah,19,closed
alice,14,pending
bruno,4,pending
dina,26,ready
gus,14,failed
| dina
| hana,23,pending
ivan,20,paused
lina,23,failed
eli,26,active
farah,29,active
ivan,1,ready
| eli
farah
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007520 | qwen/qwen3.7-plus |
awkweave-0007521 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan indigo 10
kim cobalt 111
hana ember 22
dina birch 40
jules birch 45
kim indigo 115
ivan delta 66
| ivan indigo 10
kim cobalt 111
hana ember 22
dina birch 40
jules birch 45
kim indigo 115
ivan delta 66
| ivan juniper 107
dina juniper 57
gus harbor 58
ivan cobalt 34
alice juniper 41
alice delta 76
| ivan juniper 107
dina juniper 57
gus harbor 58
ivan cobalt 34
alice juniper 41
alice delta 76
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007521-p1 | Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan indigo 10
kim cobalt 111
hana ember 22
dina birch 40
jules birch 45
kim indigo 115
ivan delta 66
| ivan indigo 10
kim cobalt 111
hana ember 22
dina birch 40
jules birch 45
kim indigo 115
ivan delta 66
| ivan juniper 107
dina juniper 57
gus harbor 58
ivan cobalt 34
alice juniper 41
alice delta 76
| ivan juniper 107
dina juniper 57
gus harbor 58
ivan cobalt 34
alice juniper 41
alice delta 76
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007521 | qwen/qwen3.7-plus |
awkweave-0007522 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 12 active
chen indigo 37 ready
chen grove 39 paused
alice grove 71 ready
gus grove 58 ready
jules fable 83 active
bruno delta 106 closed
| bruno delta 106 closed
| gus harbor 107 active
bruno fable 42 failed
farah fable 113 failed
chen juniper 55 pending
gus amber 84 closed
alice juniper 27 paused
eli ember 93 paused
| chen juniper 55 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007522-p1 | Identify and print the longest line in the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 12 active
chen indigo 37 ready
chen grove 39 paused
alice grove 71 ready
gus grove 58 ready
jules fable 83 active
bruno delta 106 closed
| bruno delta 106 closed
| gus harbor 107 active
bruno fable 42 failed
farah fable 113 failed
chen juniper 55 pending
gus amber 84 closed
alice juniper 27 paused
eli ember 93 paused
| chen juniper 55 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007522 | qwen/qwen3.7-plus |
awkweave-0007523 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | bruno 18
eli 59
jules 22
chen 4
jules 110
dina 68
gus 79
eli 98
| eli 59
chen 4
dina 68
eli 98
| bruno 65
dina 19
gus 81
gus 14
lina 66
farah 115
lina 33
dina 77
farah 90
| dina 19
gus 14
farah 115
dina 77
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007523-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | bruno 18
eli 59
jules 22
chen 4
jules 110
dina 68
gus 79
eli 98
| eli 59
chen 4
dina 68
eli 98
| bruno 65
dina 19
gus 81
gus 14
lina 66
farah 115
lina 33
dina 77
farah 90
| dina 19
gus 14
farah 115
dina 77
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007523 | qwen/qwen3.7-plus |
awkweave-0007524 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma amber 76
gamma cobalt 82
alpha delta 36
beta ember 25
beta grove 63
delta harbor 89
beta harbor 74
beta grove 41
alpha amber 15
alpha indigo 16
| 4
| gamma delta 30
gamma birch 103
delta birch 116
beta fable 117
alpha birch 96
gamma harbor 106
gamma cobalt 43
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007524-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma amber 76
gamma cobalt 82
alpha delta 36
beta ember 25
beta grove 63
delta harbor 89
beta harbor 74
beta grove 41
alpha amber 15
alpha indigo 16
| 4
| gamma delta 30
gamma birch 103
delta birch 116
beta fable 117
alpha birch 96
gamma harbor 106
gamma cobalt 43
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007524 | qwen/qwen3.7-plus |
awkweave-0007525 | 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} | eli 22 0
lina 14 11
hana 6 27
bruno 15 18
chen 20 30
gus 13 15
jules 2 7
alice 20 8
| lina 1.27
hana 0.22
bruno 0.83
chen 0.67
gus 0.87
jules 0.29
alice 2.50
| gus 6 0
ivan 4 23
hana 12 21
ivan 12 17
kim 24 24
alice 1 30
ivan 20 3
dina 17 23
bruno 7 15
jules 18 13
| ivan 0.17
hana 0.57
ivan 0.71
kim 1.00
alice 0.03
ivan 6.67
dina 0.74
bruno 0.47
jules 1.38
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007525-p1 | For each row where the third column is non-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} | eli 22 0
lina 14 11
hana 6 27
bruno 15 18
chen 20 30
gus 13 15
jules 2 7
alice 20 8
| lina 1.27
hana 0.22
bruno 0.83
chen 0.67
gus 0.87
jules 0.29
alice 2.50
| gus 6 0
ivan 4 23
hana 12 21
ivan 12 17
kim 24 24
alice 1 30
ivan 20 3
dina 17 23
bruno 7 15
jules 18 13
| ivan 0.17
hana 0.57
ivan 0.71
kim 1.00
alice 0.03
ivan 6.67
dina 0.74
bruno 0.47
jules 1.38
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007525 | qwen/qwen3.7-plus |
awkweave-0007526 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules indigo 19
eli ember 24
dina amber 23
chen harbor 13
kim cobalt 17
alice birch 29
gus cobalt 20
| alice birch 29
eli ember 24
dina amber 23
| hana juniper 2
chen ember 9
jules delta 23
eli delta 8
chen grove 24
alice cobalt 14
| chen grove 24
jules delta 23
alice cobalt 14
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007526-p1 | Output the top three records based on the numeric value in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules indigo 19
eli ember 24
dina amber 23
chen harbor 13
kim cobalt 17
alice birch 29
gus cobalt 20
| alice birch 29
eli ember 24
dina amber 23
| hana juniper 2
chen ember 9
jules delta 23
eli delta 8
chen grove 24
alice cobalt 14
| chen grove 24
jules delta 23
alice cobalt 14
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007526 | qwen/qwen3.7-plus |
awkweave-0007527 | Select the 5th and 3rd fields in that order. | {print $5, $3} | 98 21 ready paused active
120 61 failed pending closed
13 44 active paused pending
110 34 paused closed failed
90 1 pending failed closed
8 104 closed ready paused
76 73 active paused active
45 95 pending paused paused
| active ready
closed failed
pending active
failed paused
closed pending
paused closed
active active
paused pending
| 63 10 ready failed paused
102 116 paused paused pending
53 94 active ready paused
27 47 pending closed pending
106 71 closed ready ready
31 56 active failed paused
| paused ready
pending paused
paused active
pending pending
ready closed
paused active
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007527-p1 | Extract and print the fifth field followed by the third field, preserving this specific order. | {print $5, $3} | 98 21 ready paused active
120 61 failed pending closed
13 44 active paused pending
110 34 paused closed failed
90 1 pending failed closed
8 104 closed ready paused
76 73 active paused active
45 95 pending paused paused
| active ready
closed failed
pending active
failed paused
closed pending
paused closed
active active
paused pending
| 63 10 ready failed paused
102 116 paused paused pending
53 94 active ready paused
27 47 pending closed pending
106 71 closed ready ready
31 56 active failed paused
| paused ready
pending paused
paused active
pending pending
ready closed
paused active
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007527 | qwen/qwen3.7-plus |
awkweave-0007528 | Print the last field of every input line. | {print $NF} | bruno 23 eli fable bruno paused
farah 42 eli grove kim active
bruno 14 farah amber chen active
kim 80 bruno harbor alice active
chen 19 lina grove kim ready
jules 95 eli harbor farah failed
| paused
active
active
active
ready
failed
| bruno 2 farah grove kim ready
gus 69 eli cobalt kim active
gus 11 eli amber alice paused
lina 81 jules ember lina paused
bruno 45 dina delta farah closed
farah 58 kim juniper dina closed
ivan 18 ivan grove lina ready
kim 36 farah amber gus failed
| ready
active
paused
paused
closed
closed
ready
failed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007528-p1 | Print the final field from every line of the input. | {print $NF} | bruno 23 eli fable bruno paused
farah 42 eli grove kim active
bruno 14 farah amber chen active
kim 80 bruno harbor alice active
chen 19 lina grove kim ready
jules 95 eli harbor farah failed
| paused
active
active
active
ready
failed
| bruno 2 farah grove kim ready
gus 69 eli cobalt kim active
gus 11 eli amber alice paused
lina 81 jules ember lina paused
bruno 45 dina delta farah closed
farah 58 kim juniper dina closed
ivan 18 ivan grove lina ready
kim 36 farah amber gus failed
| ready
active
paused
paused
closed
closed
ready
failed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007528 | qwen/qwen3.7-plus |
awkweave-0007529 | Print the complete records where column 2 is at least 39. | $2 >= 39 | amber 11 farah
grove 9 eli
ember 74 farah
juniper 21 kim
amber 32 alice
harbor 92 alice
| ember 74 farah
harbor 92 alice
| ember 53 kim
fable 81 eli
grove 87 alice
cobalt 78 chen
birch 64 gus
amber 116 bruno
birch 28 jules
cobalt 94 kim
| ember 53 kim
fable 81 eli
grove 87 alice
cobalt 78 chen
birch 64 gus
amber 116 bruno
cobalt 94 kim
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007529-p1 | Output all complete records where the value in the second column is 39 or higher. | $2 >= 39 | amber 11 farah
grove 9 eli
ember 74 farah
juniper 21 kim
amber 32 alice
harbor 92 alice
| ember 74 farah
harbor 92 alice
| ember 53 kim
fable 81 eli
grove 87 alice
cobalt 78 chen
birch 64 gus
amber 116 bruno
birch 28 jules
cobalt 94 kim
| ember 53 kim
fable 81 eli
grove 87 alice
cobalt 78 chen
birch 64 gus
amber 116 bruno
cobalt 94 kim
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007529 | qwen/qwen3.7-plus |
awkweave-0007530 | Show whole lines whose 1st field is between 10 and 19, inclusive. | $1 >= 10 && $1 <= 19 | 16 closed failed delta
5 failed ready delta
25 active failed grove
6 failed ready fable
25 ready active indigo
4 paused active delta
| 16 closed failed delta
| 25 active paused birch
25 active ready amber
21 failed pending indigo
18 closed active harbor
13 pending closed ember
9 closed paused grove
| 18 closed active harbor
13 pending closed ember
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007530-p1 | Display entire lines where the first field falls within the inclusive range of 10 to 19. | $1 >= 10 && $1 <= 19 | 16 closed failed delta
5 failed ready delta
25 active failed grove
6 failed ready fable
25 ready active indigo
4 paused active delta
| 16 closed failed delta
| 25 active paused birch
25 active ready amber
21 failed pending indigo
18 closed active harbor
13 pending closed ember
9 closed paused grove
| 18 closed active harbor
13 pending closed ember
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007530 | qwen/qwen3.7-plus |
awkweave-0007531 | Print column 1 only for rows where column 3 is exactly pending. | $3 == "pending"{print $1} | gus cobalt ready 59
jules grove ready 28
alice amber closed 13
farah amber failed 111
gus juniper closed 49
jules juniper ready 4
dina juniper paused 1
gus indigo closed 21
lina juniper pending 63
kim harbor paused 8
| lina
| farah fable ready 74
dina amber closed 29
bruno juniper active 17
jules amber failed 36
alice ember pending 4
dina cobalt ready 53
hana cobalt pending 107
| alice
hana
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007531-p1 | Output only the first column for rows where the third column matches pending exactly. | $3 == "pending"{print $1} | gus cobalt ready 59
jules grove ready 28
alice amber closed 13
farah amber failed 111
gus juniper closed 49
jules juniper ready 4
dina juniper paused 1
gus indigo closed 21
lina juniper pending 63
kim harbor paused 8
| lina
| farah fable ready 74
dina amber closed 29
bruno juniper active 17
jules amber failed 36
alice ember pending 4
dina cobalt ready 53
hana cobalt pending 107
| alice
hana
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007531 | qwen/qwen3.7-plus |
awkweave-0007532 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR 27 grove
ERROR 79 ember
ERROR 57 birch
INFO 31 birch
INFO 105 amber
WARN 103 delta
| WARN 103 delta
| ERROR 59 delta
ERROR 71 indigo
WARN 63 ember
DEBUG 63 delta
WARN 0 delta
DEBUG 30 ember
WARN 103 amber
WARN 26 indigo
INFO 7 delta
WARN 85 fable
| WARN 63 ember
WARN 0 delta
WARN 103 amber
WARN 26 indigo
WARN 85 fable
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007532-p1 | Print all fields from lines where the first field starts with WARN. | $1 ~ /^WARN/ | ERROR 27 grove
ERROR 79 ember
ERROR 57 birch
INFO 31 birch
INFO 105 amber
WARN 103 delta
| WARN 103 delta
| ERROR 59 delta
ERROR 71 indigo
WARN 63 ember
DEBUG 63 delta
WARN 0 delta
DEBUG 30 ember
WARN 103 amber
WARN 26 indigo
INFO 7 delta
WARN 85 fable
| WARN 63 ember
WARN 0 delta
WARN 103 amber
WARN 26 indigo
WARN 85 fable
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007532 | qwen/qwen3.7-plus |
awkweave-0007533 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | indigo 41 paused
delta 83 paused
amber 59 pending
amber 109 paused
ember 84 failed
amber 77 closed
harbor 999 active
| indigo 41 paused
delta 83 paused
amber 59 pending
amber 109 paused
ember 84 failed
amber 77 closed
| fable 65 active
delta 51 failed
ember 20 active
ember 32 paused
amber 77 pending
delta 11 failed
harbor 999 active
| fable 65 active
delta 51 failed
ember 20 active
ember 32 paused
amber 77 pending
delta 11 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007533-p1 | Output every line that does not contain the exact string harbor. | $0 !~ /harbor/ | indigo 41 paused
delta 83 paused
amber 59 pending
amber 109 paused
ember 84 failed
amber 77 closed
harbor 999 active
| indigo 41 paused
delta 83 paused
amber 59 pending
amber 109 paused
ember 84 failed
amber 77 closed
| fable 65 active
delta 51 failed
ember 20 active
ember 32 paused
amber 77 pending
delta 11 failed
harbor 999 active
| fable 65 active
delta 51 failed
ember 20 active
ember 32 paused
amber 77 pending
delta 11 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007533 | qwen/qwen3.7-plus |
awkweave-0007534 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | farah fable 96
bruno delta 27
lina amber 62
alice ember 108
alice ember 45
hana cobalt 22
hana indigo 26
| bruno delta 27
lina amber 62
alice ember 108
alice ember 45
| ivan birch 34
gus fable 83
gus ember 103
alice juniper 68
hana ember 56
eli juniper 71
eli delta 4
| gus fable 83
gus ember 103
alice juniper 68
hana ember 56
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007534-p1 | Print lines 2 through 5, inclusive of both ends. | NR >= 2 && NR <= 5 | farah fable 96
bruno delta 27
lina amber 62
alice ember 108
alice ember 45
hana cobalt 22
hana indigo 26
| bruno delta 27
lina amber 62
alice ember 108
alice ember 45
| ivan birch 34
gus fable 83
gus ember 103
alice juniper 68
hana ember 56
eli juniper 71
eli delta 4
| gus fable 83
gus ember 103
alice juniper 68
hana ember 56
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007534 | qwen/qwen3.7-plus |
awkweave-0007535 | Output only the first 3 records. | NR <= 3 | ivan 8 birch
eli 19 grove
dina 26 grove
farah 16 amber
ivan 11 harbor
ivan 57 ember
bruno 100 grove
| ivan 8 birch
eli 19 grove
dina 26 grove
| gus 119 fable
farah 78 harbor
jules 68 cobalt
eli 32 fable
farah 5 ember
kim 78 birch
hana 115 grove
ivan 109 ember
kim 50 juniper
bruno 113 delta
| gus 119 fable
farah 78 harbor
jules 68 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007535-p1 | Output just the first 3 records. | NR <= 3 | ivan 8 birch
eli 19 grove
dina 26 grove
farah 16 amber
ivan 11 harbor
ivan 57 ember
bruno 100 grove
| ivan 8 birch
eli 19 grove
dina 26 grove
| gus 119 fable
farah 78 harbor
jules 68 cobalt
eli 32 fable
farah 5 ember
kim 78 birch
hana 115 grove
ivan 109 ember
kim 50 juniper
bruno 113 delta
| gus 119 fable
farah 78 harbor
jules 68 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007535 | qwen/qwen3.7-plus |
awkweave-0007536 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 66 birch
eli 47 delta
farah 38 grove
jules 31 birch
chen 39 grove
eli 27 fable
dina 69 cobalt
kim 103 fable
| eli 47 delta
farah 38 grove
jules 31 birch
chen 39 grove
eli 27 fable
dina 69 cobalt
kim 103 fable
| ivan 33 grove
chen 50 fable
bruno 36 ember
kim 62 cobalt
jules 92 harbor
kim 42 cobalt
gus 44 cobalt
| chen 50 fable
bruno 36 ember
kim 62 cobalt
jules 92 harbor
kim 42 cobalt
gus 44 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007536-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | lina 66 birch
eli 47 delta
farah 38 grove
jules 31 birch
chen 39 grove
eli 27 fable
dina 69 cobalt
kim 103 fable
| eli 47 delta
farah 38 grove
jules 31 birch
chen 39 grove
eli 27 fable
dina 69 cobalt
kim 103 fable
| ivan 33 grove
chen 50 fable
bruno 36 ember
kim 62 cobalt
jules 92 harbor
kim 42 cobalt
gus 44 cobalt
| chen 50 fable
bruno 36 ember
kim 62 cobalt
jules 92 harbor
kim 42 cobalt
gus 44 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007536 | qwen/qwen3.7-plus |
awkweave-0007537 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | hana active 8
kim active 41
lina pending 19
ivan pending 14
ivan pending 16
hana paused 28
bruno paused 32
| 0
| hana failed 89
farah closed 2
jules failed 92
eli pending 110
alice active 106
hana closed 28
ivan failed 103
jules closed 118
ivan failed 35
| 4
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007537-p1 | Count the number of records with failed in the second column, printing 0 if none exist. | $2 == "failed"{n++}END{print n+0} | hana active 8
kim active 41
lina pending 19
ivan pending 14
ivan pending 16
hana paused 28
bruno paused 32
| 0
| hana failed 89
farah closed 2
jules failed 92
eli pending 110
alice active 106
hana closed 28
ivan failed 103
jules closed 118
ivan failed 35
| 4
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007537 | qwen/qwen3.7-plus |
awkweave-0007538 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | grove 10 chen
juniper 9 gus
fable 15 jules
birch 10 kim
fable 22 farah
cobalt 8 hana
indigo 30 dina
| 104
| juniper 2 chen
grove 24 jules
ember 10 ivan
indigo 21 hana
grove 7 alice
cobalt 19 chen
cobalt 1 kim
fable 2 jules
| 86
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007538-p1 | Compute and output the sum of integer values in the second column. | {s+=$2}END{print s+0} | grove 10 chen
juniper 9 gus
fable 15 jules
birch 10 kim
fable 22 farah
cobalt 8 hana
indigo 30 dina
| 104
| juniper 2 chen
grove 24 jules
ember 10 ivan
indigo 21 hana
grove 7 alice
cobalt 19 chen
cobalt 1 kim
fable 2 jules
| 86
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007538 | qwen/qwen3.7-plus |
awkweave-0007539 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | grove lina 21
birch lina 12
grove kim 10
delta eli 7
indigo hana 14
indigo gus 17
birch eli 30
| 15.86
| juniper hana 8
delta lina 8
cobalt bruno 1
delta gus 17
birch eli 26
ember eli 14
delta bruno 2
ember lina 1
ember lina 7
juniper gus 25
| 10.90
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007539-p1 | Print the average of the third column, rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | grove lina 21
birch lina 12
grove kim 10
delta eli 7
indigo hana 14
indigo gus 17
birch eli 30
| 15.86
| juniper hana 8
delta lina 8
cobalt bruno 1
delta gus 17
birch eli 26
ember eli 14
delta bruno 2
ember lina 1
ember lina 7
juniper gus 25
| 10.90
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007539 | qwen/qwen3.7-plus |
awkweave-0007540 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | indigo chen 3
harbor bruno 27
delta jules 6
ember ivan 25
ember ivan 2
grove hana 19
harbor hana 26
indigo hana 11
| 2
| fable eli 30
delta hana 14
amber hana 3
ember lina 14
ember bruno 2
juniper farah 27
indigo bruno 13
juniper lina 25
amber bruno 9
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007540-p1 | Identify and print the minimum numeric value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | indigo chen 3
harbor bruno 27
delta jules 6
ember ivan 25
ember ivan 2
grove hana 19
harbor hana 26
indigo hana 11
| 2
| fable eli 30
delta hana 14
amber hana 3
ember lina 14
ember bruno 2
juniper farah 27
indigo bruno 13
juniper lina 25
amber bruno 9
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007540 | qwen/qwen3.7-plus |
awkweave-0007541 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | fable 24 ivan
birch 12 kim
delta 2 kim
ember 23 farah
harbor 23 chen
ember 13 kim
birch 29 lina
grove 14 bruno
indigo 19 dina
| 29
| cobalt 11 dina
fable 6 ivan
delta 8 alice
grove 20 eli
cobalt 23 farah
grove 15 farah
cobalt 6 gus
fable 26 chen
juniper 26 ivan
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007541-p1 | Identify and print the maximum numeric value found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | fable 24 ivan
birch 12 kim
delta 2 kim
ember 23 farah
harbor 23 chen
ember 13 kim
birch 29 lina
grove 14 bruno
indigo 19 dina
| 29
| cobalt 11 dina
fable 6 ivan
delta 8 alice
grove 20 eli
cobalt 23 farah
grove 15 farah
cobalt 6 gus
fable 26 chen
juniper 26 ivan
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007541 | qwen/qwen3.7-plus |
awkweave-0007542 | Count all input records and print the total. | END{print NR} | bruno 25
gus 16
kim 40
kim 113
eli 85
jules 81
ivan 104
| 7
| eli 2
chen 105
dina 64
lina 78
hana 111
jules 40
chen 75
bruno 17
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007542-p1 | Calculate and display the total number of input records. | END{print NR} | bruno 25
gus 16
kim 40
kim 113
eli 85
jules 81
ivan 104
| 7
| eli 2
chen 105
dina 64
lina 78
hana 111
jules 40
chen 75
bruno 17
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007542 | qwen/qwen3.7-plus |
awkweave-0007543 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules indigo 8
kim ember 30
gus juniper 75
lina amber 112
ivan delta 69
lina ember 48
lina ember 48
| jules indigo 8
kim ember 30
gus juniper 75
lina amber 112
ivan delta 69
lina ember 48
| lina grove 45
jules amber 72
kim harbor 56
dina juniper 28
bruno indigo 116
alice juniper 66
dina amber 13
kim harbor 56
jules juniper 68
kim grove 42
eli fable 35
| lina grove 45
jules amber 72
kim harbor 56
dina juniper 28
bruno indigo 116
alice juniper 66
dina amber 13
jules juniper 68
kim grove 42
eli fable 35
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007543-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | jules indigo 8
kim ember 30
gus juniper 75
lina amber 112
ivan delta 69
lina ember 48
lina ember 48
| jules indigo 8
kim ember 30
gus juniper 75
lina amber 112
ivan delta 69
lina ember 48
| lina grove 45
jules amber 72
kim harbor 56
dina juniper 28
bruno indigo 116
alice juniper 66
dina amber 13
kim harbor 56
jules juniper 68
kim grove 42
eli fable 35
| lina grove 45
jules amber 72
kim harbor 56
dina juniper 28
bruno indigo 116
alice juniper 66
dina amber 13
jules juniper 68
kim grove 42
eli fable 35
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007543 | qwen/qwen3.7-plus |
awkweave-0007544 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina grove 114
hana delta 83
farah fable 98
jules fable 9
bruno indigo 13
jules birch 84
| dina grove 114
hana delta 83
farah fable 98
jules fable 9
bruno indigo 13
| kim birch 106
jules fable 94
farah delta 47
dina juniper 99
dina harbor 22
gus juniper 88
| kim birch 106
jules fable 94
farah delta 47
dina juniper 99
gus juniper 88
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007544-p1 | Retain only the initial line for every unique value in column 1, preserving the input order. | !seen[$1]++ | dina grove 114
hana delta 83
farah fable 98
jules fable 9
bruno indigo 13
jules birch 84
| dina grove 114
hana delta 83
farah fable 98
jules fable 9
bruno indigo 13
| kim birch 106
jules fable 94
farah delta 47
dina juniper 99
dina harbor 22
gus juniper 88
| kim birch 106
jules fable 94
farah delta 47
dina juniper 99
gus juniper 88
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007544 | qwen/qwen3.7-plus |
awkweave-0007545 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 19 harbor
alice 23 cobalt
dina 5 harbor
alice 5 indigo
chen 28 ember
jules 25 ember
chen 19 fable
alice 5 amber
jules 13 delta
ivan 23 delta
| jules 19
alice 42
dina 47
alice 52
chen 80
jules 105
chen 124
alice 129
jules 142
ivan 165
| bruno 19 harbor
gus 15 delta
farah 23 juniper
alice 12 ember
eli 12 harbor
ivan 12 amber
kim 22 harbor
| bruno 19
gus 34
farah 57
alice 69
eli 81
ivan 93
kim 115
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007545-p1 | Output column 1 alongside the cumulative sum of column 2 for each record, separated by a space. | {s+=$2;print $1,s} | jules 19 harbor
alice 23 cobalt
dina 5 harbor
alice 5 indigo
chen 28 ember
jules 25 ember
chen 19 fable
alice 5 amber
jules 13 delta
ivan 23 delta
| jules 19
alice 42
dina 47
alice 52
chen 80
jules 105
chen 124
alice 129
jules 142
ivan 165
| bruno 19 harbor
gus 15 delta
farah 23 juniper
alice 12 ember
eli 12 harbor
ivan 12 amber
kim 22 harbor
| bruno 19
gus 34
farah 57
alice 69
eli 81
ivan 93
kim 115
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007545 | qwen/qwen3.7-plus |
awkweave-0007546 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 4 25 grove
farah 30 27 harbor
farah 20 8 harbor
hana 30 23 cobalt
kim 9 29 ember
lina 30 27 juniper
lina 11 5 grove
bruno 15 30 grove
alice 3 20 harbor
| hana 29
farah 57
farah 28
hana 53
kim 38
lina 57
lina 16
bruno 45
alice 23
| hana 4 2 amber
hana 3 1 amber
bruno 21 14 harbor
lina 13 26 cobalt
gus 2 9 delta
chen 16 16 fable
eli 12 15 juniper
chen 13 29 juniper
gus 16 22 grove
kim 16 11 birch
| hana 6
hana 4
bruno 35
lina 39
gus 11
chen 32
eli 27
chen 42
gus 38
kim 27
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007546-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 4 25 grove
farah 30 27 harbor
farah 20 8 harbor
hana 30 23 cobalt
kim 9 29 ember
lina 30 27 juniper
lina 11 5 grove
bruno 15 30 grove
alice 3 20 harbor
| hana 29
farah 57
farah 28
hana 53
kim 38
lina 57
lina 16
bruno 45
alice 23
| hana 4 2 amber
hana 3 1 amber
bruno 21 14 harbor
lina 13 26 cobalt
gus 2 9 delta
chen 16 16 fable
eli 12 15 juniper
chen 13 29 juniper
gus 16 22 grove
kim 16 11 birch
| hana 6
hana 4
bruno 35
lina 39
gus 11
chen 32
eli 27
chen 42
gus 38
kim 27
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007546 | qwen/qwen3.7-plus |
awkweave-0007547 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | jules 1
jules 25
jules 28
gus 14
gus 7
lina 5
| jules fail
jules pass
jules pass
gus fail
gus fail
lina fail
| eli 27
jules 22
kim 11
ivan 17
jules 22
dina 7
gus 18
| eli pass
jules fail
kim fail
ivan fail
jules fail
dina fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007547-p1 | Display column 1 and 'pass' if column 2 is greater than or equal to 24; otherwise, display 'fail'. | {print $1,($2>=24?"pass":"fail")} | jules 1
jules 25
jules 28
gus 14
gus 7
lina 5
| jules fail
jules pass
jules pass
gus fail
gus fail
lina fail
| eli 27
jules 22
kim 11
ivan 17
jules 22
dina 7
gus 18
| eli pass
jules fail
kim fail
ivan fail
jules fail
dina fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007547 | qwen/qwen3.7-plus |
awkweave-0007548 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | jules grove 49
gus indigo 73
bruno fable 7
gus ember 10
hana harbor 26
bruno birch 6
gus grove 65
jules harbor 82
| GROVE
INDIGO
FABLE
EMBER
HARBOR
BIRCH
GROVE
HARBOR
| alice indigo 13
gus birch 31
ivan juniper 15
bruno grove 0
eli indigo 85
jules cobalt 4
eli fable 74
lina grove 11
jules birch 39
| INDIGO
BIRCH
JUNIPER
GROVE
INDIGO
COBALT
FABLE
GROVE
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007548-p1 | Transform column 2 to uppercase and output only that column. | {print toupper($2)} | jules grove 49
gus indigo 73
bruno fable 7
gus ember 10
hana harbor 26
bruno birch 6
gus grove 65
jules harbor 82
| GROVE
INDIGO
FABLE
EMBER
HARBOR
BIRCH
GROVE
HARBOR
| alice indigo 13
gus birch 31
ivan juniper 15
bruno grove 0
eli indigo 85
jules cobalt 4
eli fable 74
lina grove 11
jules birch 39
| INDIGO
BIRCH
JUNIPER
GROVE
INDIGO
COBALT
FABLE
GROVE
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007548 | qwen/qwen3.7-plus |
awkweave-0007549 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | cobalt 15
fable 75
cobalt 79
delta 80
indigo 75
amber 8
| cob
fab
cob
del
ind
amb
| amber 14
harbor 73
birch 20
birch 85
cobalt 90
juniper 59
indigo 44
harbor 94
delta 115
| amb
har
bir
bir
cob
jun
ind
har
del
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007549-p1 | Extract and print the first 3 characters from column 1, starting at position 1. | {print substr($1,1,3)} | cobalt 15
fable 75
cobalt 79
delta 80
indigo 75
amber 8
| cob
fab
cob
del
ind
amb
| amber 14
harbor 73
birch 20
birch 85
cobalt 90
juniper 59
indigo 44
harbor 94
delta 115
| amb
har
bir
bir
cob
jun
ind
har
del
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007549 | qwen/qwen3.7-plus |
awkweave-0007550 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_fable 35
amber_amber 27
delta_delta 54
juniper_delta 32
amber_birch 30
juniper_grove 82
birch_fable 80
cobalt_delta 42
birch_juniper 87
| birch fable
amber amber
delta delta
juniper delta
amber birch
juniper grove
birch fable
cobalt delta
birch juniper
| fable_fable 11
amber_cobalt 84
harbor_indigo 95
indigo_birch 39
ember_grove 10
fable_indigo 102
amber_fable 67
amber_harbor 63
grove_juniper 60
| fable fable
amber cobalt
harbor indigo
indigo birch
ember grove
fable indigo
amber fable
amber harbor
grove juniper
| replace_underscores | 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.