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-0025381-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 5 pending chen 3 closed bruno 14 pending lina 1 failed ivan 24 pending alice 9 ready
pending closed pending failed pending ready
eli 26 ready kim 10 pending eli 19 failed gus 19 active bruno 6 ready alice 15 pending ivan 12 ready
ready pending failed active ready pending ready
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0025381
qwen/qwen3.7-plus
awkweave-0025382
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16.
BEGIN{FS=OFS=","}$2>16{print $1}
jules,24,paused dina,2,ready alice,18,active dina,22,paused farah,24,active alice,6,pending kim,19,paused lina,23,ready
jules alice dina farah kim lina
alice,8,pending eli,9,ready lina,19,pending dina,11,ready alice,17,closed kim,27,closed bruno,23,failed lina,8,failed
lina alice kim bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025382-p1
For simple comma-separated values without quoted commas, output the first column only if the second column is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
jules,24,paused dina,2,ready alice,18,active dina,22,paused farah,24,active alice,6,pending kim,19,paused lina,23,ready
jules alice dina farah kim lina
alice,8,pending eli,9,ready lina,19,pending dina,11,ready alice,17,closed kim,27,closed bruno,23,failed lina,8,failed
lina alice kim bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025382
qwen/qwen3.7-plus
awkweave-0025383
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli harbor 15 farah grove 18 eli juniper 102 chen fable 13 ivan grove 40 gus juniper 1 farah fable 58 lina amber 32 farah juniper 10 chen birch 99
eli harbor 15 farah grove 18 eli juniper 102 chen fable 13 ivan grove 40 gus juniper 1 farah fable 58 lina amber 32 farah juniper 10 chen birch 99
ivan grove 91 hana harbor 95 eli juniper 40 jules cobalt 102 gus birch 65 eli birch 100 jules harbor 34
ivan grove 91 hana harbor 95 eli juniper 40 jules cobalt 102 gus birch 65 eli birch 100 jules harbor 34
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025383-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli harbor 15 farah grove 18 eli juniper 102 chen fable 13 ivan grove 40 gus juniper 1 farah fable 58 lina amber 32 farah juniper 10 chen birch 99
eli harbor 15 farah grove 18 eli juniper 102 chen fable 13 ivan grove 40 gus juniper 1 farah fable 58 lina amber 32 farah juniper 10 chen birch 99
ivan grove 91 hana harbor 95 eli juniper 40 jules cobalt 102 gus birch 65 eli birch 100 jules harbor 34
ivan grove 91 hana harbor 95 eli juniper 40 jules cobalt 102 gus birch 65 eli birch 100 jules harbor 34
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025383
qwen/qwen3.7-plus
awkweave-0025384
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina cobalt 30 active alice amber 44 failed farah amber 95 ready farah fable 76 ready jules grove 18 paused gus cobalt 6 paused gus amber 38 ready
dina cobalt 30 active
jules birch 31 ready ivan birch 82 failed kim harbor 50 paused ivan cobalt 108 closed chen fable 46 failed farah juniper 59 paused farah cobalt 5 pending ivan ember 10 pending ivan grove 16 active ivan grove 118 ready
farah juniper 59 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025384-p1
Identify and output 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}
dina cobalt 30 active alice amber 44 failed farah amber 95 ready farah fable 76 ready jules grove 18 paused gus cobalt 6 paused gus amber 38 ready
dina cobalt 30 active
jules birch 31 ready ivan birch 82 failed kim harbor 50 paused ivan cobalt 108 closed chen fable 46 failed farah juniper 59 paused farah cobalt 5 pending ivan ember 10 pending ivan grove 16 active ivan grove 118 ready
farah juniper 59 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025384
qwen/qwen3.7-plus
awkweave-0025385
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
lina 55 kim 46 jules 4 farah 112 chen 114 alice 115 bruno 42
kim 46 farah 112 alice 115
farah 59 ivan 74 kim 7 lina 87 jules 37 bruno 14 hana 13 eli 55 lina 16 jules 104
ivan 74 lina 87 bruno 14 eli 55 jules 104
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025385-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
lina 55 kim 46 jules 4 farah 112 chen 114 alice 115 bruno 42
kim 46 farah 112 alice 115
farah 59 ivan 74 kim 7 lina 87 jules 37 bruno 14 hana 13 eli 55 lina 16 jules 104
ivan 74 lina 87 bruno 14 eli 55 jules 104
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025385
qwen/qwen3.7-plus
awkweave-0025386
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 97 delta delta 113 beta fable 63 alpha juniper 17 gamma harbor 1 beta fable 93 delta cobalt 19
6
alpha cobalt 106 gamma fable 63 alpha cobalt 23 alpha grove 58 alpha cobalt 5 beta grove 69 gamma amber 75 delta juniper 61 delta fable 4 delta fable 35
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025386-p1
Calculate the number of unique entries in the second column and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 97 delta delta 113 beta fable 63 alpha juniper 17 gamma harbor 1 beta fable 93 delta cobalt 19
6
alpha cobalt 106 gamma fable 63 alpha cobalt 23 alpha grove 58 alpha cobalt 5 beta grove 69 gamma amber 75 delta juniper 61 delta fable 4 delta fable 35
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025386
qwen/qwen3.7-plus
awkweave-0025387
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 23 0 chen 20 7 bruno 13 21 jules 28 22 ivan 7 4 jules 12 2 gus 27 3 farah 8 6 farah 12 9
chen 2.86 bruno 0.62 jules 1.27 ivan 1.75 jules 6.00 gus 9.00 farah 1.33 farah 1.33
kim 10 0 alice 23 16 kim 28 20 ivan 9 10 jules 13 20 lina 7 19 farah 27 21 alice 3 11 gus 9 15 eli 17 23
alice 1.44 kim 1.40 ivan 0.90 jules 0.65 lina 0.37 farah 1.29 alice 0.27 gus 0.60 eli 0.74
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025387-p1
For each row, output the first column and the result of dividing the second column by the third (rounded to two decimal places), omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 23 0 chen 20 7 bruno 13 21 jules 28 22 ivan 7 4 jules 12 2 gus 27 3 farah 8 6 farah 12 9
chen 2.86 bruno 0.62 jules 1.27 ivan 1.75 jules 6.00 gus 9.00 farah 1.33 farah 1.33
kim 10 0 alice 23 16 kim 28 20 ivan 9 10 jules 13 20 lina 7 19 farah 27 21 alice 3 11 gus 9 15 eli 17 23
alice 1.44 kim 1.40 ivan 0.90 jules 0.65 lina 0.37 farah 1.29 alice 0.27 gus 0.60 eli 0.74
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025387
qwen/qwen3.7-plus
awkweave-0025388
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]}
chen cobalt 24 jules indigo 1 jules amber 16 hana indigo 24 ivan ember 29 lina delta 12 alice fable 11 alice harbor 12 alice juniper 9
ivan ember 29 chen cobalt 24 hana indigo 24
jules amber 29 alice cobalt 14 hana birch 13 chen harbor 13 lina cobalt 25 dina birch 12 dina cobalt 28 gus cobalt 25 lina juniper 29 chen grove 13
jules amber 29 lina juniper 29 dina cobalt 28
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025388-p1
Display the full records for the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
chen cobalt 24 jules indigo 1 jules amber 16 hana indigo 24 ivan ember 29 lina delta 12 alice fable 11 alice harbor 12 alice juniper 9
ivan ember 29 chen cobalt 24 hana indigo 24
jules amber 29 alice cobalt 14 hana birch 13 chen harbor 13 lina cobalt 25 dina birch 12 dina cobalt 28 gus cobalt 25 lina juniper 29 chen grove 13
jules amber 29 lina juniper 29 dina cobalt 28
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025388
qwen/qwen3.7-plus
awkweave-0025389
Print column 4 followed by column 3 for every record.
{print $4, $3}
eli 93 ready 74 alice 85 hana 93 pending 17 hana 116 hana 11 pending 77 gus 23 kim 113 ready 16 gus 88 hana 41 paused 3 dina 95 dina 51 ready 34 gus 89 hana 36 failed 16 ivan 92 kim 68 ready 74 farah 92 hana 76 failed 96 bruno 6 eli 79 closed 116 hana 43
74 ready 17 pending 77 pending 16 ready 3 paused 34 ready 16 failed 74 ready 96 failed 116 closed
chen 34 failed 97 kim 56 bruno 4 active 25 ivan 75 ivan 17 active 35 chen 29 chen 85 active 52 dina 9 lina 80 pending 9 jules 20 jules 20 pending 90 gus 70 dina 25 pending 52 farah 67
97 failed 25 active 35 active 52 active 9 pending 90 pending 52 pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025389-p1
For every record, print the fourth column followed immediately by the third column.
{print $4, $3}
eli 93 ready 74 alice 85 hana 93 pending 17 hana 116 hana 11 pending 77 gus 23 kim 113 ready 16 gus 88 hana 41 paused 3 dina 95 dina 51 ready 34 gus 89 hana 36 failed 16 ivan 92 kim 68 ready 74 farah 92 hana 76 failed 96 bruno 6 eli 79 closed 116 hana 43
74 ready 17 pending 77 pending 16 ready 3 paused 34 ready 16 failed 74 ready 96 failed 116 closed
chen 34 failed 97 kim 56 bruno 4 active 25 ivan 75 ivan 17 active 35 chen 29 chen 85 active 52 dina 9 lina 80 pending 9 jules 20 jules 20 pending 90 gus 70 dina 25 pending 52 farah 67
97 failed 25 active 35 active 52 active 9 pending 90 pending 52 pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025389
qwen/qwen3.7-plus
awkweave-0025400
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
kim 27 grove hana 29 fable eli 26 birch lina 22 fable gus 1 harbor eli 21 amber jules 9 harbor alice 14 fable farah 27 harbor eli 7 amber
183
lina 8 ember lina 24 fable ivan 1 grove kim 26 harbor eli 11 grove lina 25 indigo
95
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025400-p1
Compute the total of all integer values found in the second column and output the result.
{s+=$2}END{print s+0}
kim 27 grove hana 29 fable eli 26 birch lina 22 fable gus 1 harbor eli 21 amber jules 9 harbor alice 14 fable farah 27 harbor eli 7 amber
183
lina 8 ember lina 24 fable ivan 1 grove kim 26 harbor eli 11 grove lina 25 indigo
95
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025400
qwen/qwen3.7-plus
awkweave-0025401
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 alice ember 5 gus cobalt 20 bruno grove 2 lina amber 15 bruno ember 23 alice harbor 12 bruno ember 21 alice birch 24 chen grove
15.33
9 gus indigo 20 farah harbor 27 alice harbor 18 jules harbor 27 dina delta 19 lina fable
20.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025401-p1
Output the average of the values in the first column, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 alice ember 5 gus cobalt 20 bruno grove 2 lina amber 15 bruno ember 23 alice harbor 12 bruno ember 21 alice birch 24 chen grove
15.33
9 gus indigo 20 farah harbor 27 alice harbor 18 jules harbor 27 dina delta 19 lina fable
20.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025401
qwen/qwen3.7-plus
awkweave-0025402
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 juniper lina 21 harbor dina 11 cobalt bruno 14 delta farah 19 amber gus 10 ember bruno 15 ember ivan 13 grove chen
7
3 juniper jules 28 indigo gus 4 delta alice 11 grove bruno 16 cobalt lina 29 harbor dina 19 delta farah 29 indigo farah 30 grove alice 17 delta eli
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025402-p1
Identify and display the minimum numerical value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 juniper lina 21 harbor dina 11 cobalt bruno 14 delta farah 19 amber gus 10 ember bruno 15 ember ivan 13 grove chen
7
3 juniper jules 28 indigo gus 4 delta alice 11 grove bruno 16 cobalt lina 29 harbor dina 19 delta farah 29 indigo farah 30 grove alice 17 delta eli
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025402
qwen/qwen3.7-plus
awkweave-0025403
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 8 dina delta 2 bruno amber 16 lina ember 21 eli fable 23 ivan grove 24 lina ember 11 hana ember 17 farah grove 9 gus harbor 12 dina
24
fable 20 gus delta 7 alice fable 24 alice harbor 23 lina ember 25 gus harbor 24 gus delta 15 hana
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025403-p1
Identify and display the maximum numerical value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 8 dina delta 2 bruno amber 16 lina ember 21 eli fable 23 ivan grove 24 lina ember 11 hana ember 17 farah grove 9 gus harbor 12 dina
24
fable 20 gus delta 7 alice fable 24 alice harbor 23 lina ember 25 gus harbor 24 gus delta 15 hana
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025403
qwen/qwen3.7-plus
awkweave-0025404
Count all input records and print the total.
END{print NR}
lina 101 hana 9 jules 95 kim 61 ivan 83 gus 63 farah 95 ivan 84
8
farah 15 eli 60 chen 78 kim 91 chen 19 bruno 80 jules 72
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025404-p1
Count the total number of input lines and print this count.
END{print NR}
lina 101 hana 9 jules 95 kim 61 ivan 83 gus 63 farah 95 ivan 84
8
farah 15 eli 60 chen 78 kim 91 chen 19 bruno 80 jules 72
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025404
qwen/qwen3.7-plus
awkweave-0025405
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina juniper 72 dina birch 8 dina cobalt 15 bruno delta 87 eli delta 71 dina juniper 72 bruno grove 104 kim fable 17
dina juniper 72 dina birch 8 dina cobalt 15 bruno delta 87 eli delta 71 bruno grove 104 kim fable 17
kim juniper 81 kim cobalt 84 jules delta 27 ivan harbor 36 lina grove 81 gus birch 82 alice amber 113 alice amber 113 lina ember 59
kim juniper 81 kim cobalt 84 jules delta 27 ivan harbor 36 lina grove 81 gus birch 82 alice amber 113 lina ember 59
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025405-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
dina juniper 72 dina birch 8 dina cobalt 15 bruno delta 87 eli delta 71 dina juniper 72 bruno grove 104 kim fable 17
dina juniper 72 dina birch 8 dina cobalt 15 bruno delta 87 eli delta 71 bruno grove 104 kim fable 17
kim juniper 81 kim cobalt 84 jules delta 27 ivan harbor 36 lina grove 81 gus birch 82 alice amber 113 alice amber 113 lina ember 59
kim juniper 81 kim cobalt 84 jules delta 27 ivan harbor 36 lina grove 81 gus birch 82 alice amber 113 lina ember 59
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025405
qwen/qwen3.7-plus
awkweave-0025406
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
farah fable 43 chen harbor 49 dina birch 62 bruno grove 5 ivan indigo 59 alice grove 62 chen delta 114 dina harbor 24
farah fable 43 chen harbor 49 dina birch 62 bruno grove 5 ivan indigo 59 chen delta 114
kim fable 72 lina cobalt 77 jules ember 55 kim indigo 1 chen harbor 106 hana grove 109 hana amber 94
kim fable 72 lina cobalt 77 jules ember 55 kim indigo 1 chen harbor 106 hana grove 109 hana amber 94
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025406-p1
Retain only the initial occurrence for every unique value in the second column, keeping the original order intact.
!seen[$2]++
farah fable 43 chen harbor 49 dina birch 62 bruno grove 5 ivan indigo 59 alice grove 62 chen delta 114 dina harbor 24
farah fable 43 chen harbor 49 dina birch 62 bruno grove 5 ivan indigo 59 chen delta 114
kim fable 72 lina cobalt 77 jules ember 55 kim indigo 1 chen harbor 106 hana grove 109 hana amber 94
kim fable 72 lina cobalt 77 jules ember 55 kim indigo 1 chen harbor 106 hana grove 109 hana amber 94
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025406
qwen/qwen3.7-plus
awkweave-0025407
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 13 fable kim 4 juniper farah 24 ember eli 3 grove gus 19 grove dina 17 indigo gus 4 fable farah 3 amber
eli 13 kim 17 farah 41 eli 44 gus 63 dina 80 gus 84 farah 87
gus 26 juniper farah 7 cobalt dina 8 cobalt dina 16 delta ivan 7 fable lina 30 fable
gus 26 farah 33 dina 41 dina 57 ivan 64 lina 94
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025407-p1
For each line, output the first column value followed by the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
eli 13 fable kim 4 juniper farah 24 ember eli 3 grove gus 19 grove dina 17 indigo gus 4 fable farah 3 amber
eli 13 kim 17 farah 41 eli 44 gus 63 dina 80 gus 84 farah 87
gus 26 juniper farah 7 cobalt dina 8 cobalt dina 16 delta ivan 7 fable lina 30 fable
gus 26 farah 33 dina 41 dina 57 ivan 64 lina 94
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025407
qwen/qwen3.7-plus
awkweave-0025408
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 7 25 harbor ivan 15 17 birch jules 25 22 fable chen 3 2 ember chen 12 17 indigo gus 4 27 delta bruno 23 9 delta chen 24 1 amber chen 28 25 fable
farah 32 ivan 32 jules 47 chen 5 chen 29 gus 31 bruno 32 chen 25 chen 53
chen 8 4 fable gus 24 4 juniper kim 14 3 harbor chen 11 2 amber ivan 15 5 ember alice 26 9 harbor chen 4 27 juniper eli 24 13 grove dina 11 7 juniper bruno 19 22 cobalt
chen 12 gus 28 kim 17 chen 13 ivan 20 alice 35 chen 31 eli 37 dina 18 bruno 41
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025408-p1
Output the first field followed by the sum of the second and third fields for every row.
{print $1,$2+$3}
farah 7 25 harbor ivan 15 17 birch jules 25 22 fable chen 3 2 ember chen 12 17 indigo gus 4 27 delta bruno 23 9 delta chen 24 1 amber chen 28 25 fable
farah 32 ivan 32 jules 47 chen 5 chen 29 gus 31 bruno 32 chen 25 chen 53
chen 8 4 fable gus 24 4 juniper kim 14 3 harbor chen 11 2 amber ivan 15 5 ember alice 26 9 harbor chen 4 27 juniper eli 24 13 grove dina 11 7 juniper bruno 19 22 cobalt
chen 12 gus 28 kim 17 chen 13 ivan 20 alice 35 chen 31 eli 37 dina 18 bruno 41
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025408
qwen/qwen3.7-plus
awkweave-0025409
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
hana 22 bruno 15 bruno 13 dina 28 farah 4 hana 28 lina 16
hana fail bruno fail bruno fail dina pass farah fail hana pass lina fail
kim 30 alice 19 farah 15 farah 29 hana 12 kim 28 farah 15 lina 4 kim 16 chen 14
kim pass alice fail farah fail farah pass hana fail kim pass farah fail lina fail kim fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025409-p1
Print the first column; append 'pass' if the second column is 26 or greater, otherwise append 'fail'.
{print $1,($2>=26?"pass":"fail")}
hana 22 bruno 15 bruno 13 dina 28 farah 4 hana 28 lina 16
hana fail bruno fail bruno fail dina pass farah fail hana pass lina fail
kim 30 alice 19 farah 15 farah 29 hana 12 kim 28 farah 15 lina 4 kim 16 chen 14
kim pass alice fail farah fail farah pass hana fail kim pass farah fail lina fail kim fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025409
qwen/qwen3.7-plus
awkweave-0025410
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen fable 16 gus ember 57 dina delta 120 lina fable 19 alice amber 17 jules cobalt 63 lina indigo 86 hana cobalt 73 farah fable 71 dina amber 42
CHEN GUS DINA LINA ALICE JULES LINA HANA FARAH DINA
alice birch 71 farah amber 6 alice ember 24 gus delta 39 alice amber 71 lina harbor 7 ivan harbor 95 farah amber 39
ALICE FARAH ALICE GUS ALICE LINA IVAN FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025410-p1
Transform the first column to uppercase letters and print only this modified column.
{print toupper($1)}
chen fable 16 gus ember 57 dina delta 120 lina fable 19 alice amber 17 jules cobalt 63 lina indigo 86 hana cobalt 73 farah fable 71 dina amber 42
CHEN GUS DINA LINA ALICE JULES LINA HANA FARAH DINA
alice birch 71 farah amber 6 alice ember 24 gus delta 39 alice amber 71 lina harbor 7 ivan harbor 95 farah amber 39
ALICE FARAH ALICE GUS ALICE LINA IVAN FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025410
qwen/qwen3.7-plus
awkweave-0025411
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
delta 41 fable 28 harbor 24 birch 54 fable 12 birch 2 birch 73 indigo 13
elt abl arb irc abl irc irc ndi
fable 68 amber 45 juniper 49 ember 1 harbor 5 fable 25 amber 83 indigo 13 juniper 50
abl mbe uni mbe arb abl mbe ndi uni
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025411-p1
Extract and print a substring of length 3 from the first column, starting at the second character.
{print substr($1,2,3)}
delta 41 fable 28 harbor 24 birch 54 fable 12 birch 2 birch 73 indigo 13
elt abl arb irc abl irc irc ndi
fable 68 amber 45 juniper 49 ember 1 harbor 5 fable 25 amber 83 indigo 13 juniper 50
abl mbe uni mbe arb abl mbe ndi uni
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025411
qwen/qwen3.7-plus
awkweave-0025412
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_indigo 92 grove_indigo 50 birch_amber 118 amber_birch 97 birch_cobalt 101 delta_juniper 119
ember indigo grove indigo birch amber amber birch birch cobalt delta juniper
juniper_birch 14 delta_harbor 23 cobalt_delta 52 grove_juniper 109 juniper_fable 39 grove_harbor 14 harbor_amber 119 cobalt_ember 64 grove_grove 60
juniper birch delta harbor cobalt delta grove juniper juniper fable grove harbor harbor amber cobalt ember grove grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025412-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_indigo 92 grove_indigo 50 birch_amber 118 amber_birch 97 birch_cobalt 101 delta_juniper 119
ember indigo grove indigo birch amber amber birch birch cobalt delta juniper
juniper_birch 14 delta_harbor 23 cobalt_delta 52 grove_juniper 109 juniper_fable 39 grove_harbor 14 harbor_amber 119 cobalt_ember 64 grove_grove 60
juniper birch delta harbor cobalt delta grove juniper juniper fable grove harbor harbor amber cobalt ember grove grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025412
qwen/qwen3.7-plus
awkweave-0025413
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 indigo 108 pending eli birch 93 failed chen cobalt 3 active jules ember 21 paused ivan grove 114 paused dina juniper 35 pending
pending 108 indigo chen failed 93 birch eli active 3 cobalt chen paused 21 ember jules paused 114 grove ivan pending 35 juniper dina
bruno fable 31 paused alice indigo 60 ready eli amber 7 pending farah juniper 50 closed bruno ember 60 pending ivan ember 28 pending ivan delta 1 active jules amber 17 paused
paused 31 fable bruno ready 60 indigo alice pending 7 amber eli closed 50 juniper farah pending 60 ember bruno pending 28 ember ivan active 1 delta ivan paused 17 amber jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025413-p1
Reverse the sequence of fields for each line and display all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
chen indigo 108 pending eli birch 93 failed chen cobalt 3 active jules ember 21 paused ivan grove 114 paused dina juniper 35 pending
pending 108 indigo chen failed 93 birch eli active 3 cobalt chen paused 21 ember jules paused 114 grove ivan pending 35 juniper dina
bruno fable 31 paused alice indigo 60 ready eli amber 7 pending farah juniper 50 closed bruno ember 60 pending ivan ember 28 pending ivan delta 1 active jules amber 17 paused
paused 31 fable bruno ready 60 indigo alice pending 7 amber eli closed 50 juniper farah pending 60 ember bruno pending 28 ember ivan active 1 delta ivan paused 17 amber jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025413
qwen/qwen3.7-plus
awkweave-0025414
Print the number of whitespace-separated fields on each line.
{print NF}
kim delta 45 pending dina cobalt 6 closed hana birch 114 failed chen birch 40 pending lina cobalt 24 failed kim juniper 117 paused gus delta 117 active farah birch 88 paused ivan grove 4 pending jules harbor 115 active
4 4 4 4 4 4 4 4 4 4
chen amber 23 ready kim grove 23 ready alice cobalt 104 pending hana juniper 111 active gus indigo 98 pending farah fable 73 pending ivan juniper 47 paused chen harbor 27 ready alice harbor 75 closed jules grove 112 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025414-p1
Output the count of whitespace-delimited fields present on every line.
{print NF}
kim delta 45 pending dina cobalt 6 closed hana birch 114 failed chen birch 40 pending lina cobalt 24 failed kim juniper 117 paused gus delta 117 active farah birch 88 paused ivan grove 4 pending jules harbor 115 active
4 4 4 4 4 4 4 4 4 4
chen amber 23 ready kim grove 23 ready alice cobalt 104 pending hana juniper 111 active gus indigo 98 pending farah fable 73 pending ivan juniper 47 paused chen harbor 27 ready alice harbor 75 closed jules grove 112 active
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025414
qwen/qwen3.7-plus
awkweave-0025415
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana gamma 21 dina alpha 27 ivan alpha 120 bruno beta 103 bruno gamma 55 kim delta 55
gamma 2 alpha 2 beta 1 delta 1
gus delta 53 eli alpha 55 hana gamma 91 eli gamma 120 eli beta 37 chen alpha 107 chen gamma 86 jules gamma 51 gus beta 25
delta 1 alpha 2 gamma 4 beta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025415-p1
Tally the records for each unique value in column 2, then print each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana gamma 21 dina alpha 27 ivan alpha 120 bruno beta 103 bruno gamma 55 kim delta 55
gamma 2 alpha 2 beta 1 delta 1
gus delta 53 eli alpha 55 hana gamma 91 eli gamma 120 eli beta 37 chen alpha 107 chen gamma 86 jules gamma 51 gus beta 25
delta 1 alpha 2 gamma 4 beta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025415
qwen/qwen3.7-plus
awkweave-0025416
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]]}
farah beta 2 hana beta 29 alice alpha 16 gus delta 16 bruno alpha 4 ivan delta 25 dina gamma 1 hana delta 24 farah delta 15
beta 31 alpha 20 delta 80 gamma 1
jules gamma 20 farah beta 10 ivan gamma 1 bruno gamma 9 dina delta 18 lina gamma 15 lina delta 12 lina delta 8 bruno gamma 4
gamma 49 beta 10 delta 38
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025416-p1
Calculate the sum of column 3 grouped by the categories in column 2, displaying the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
farah beta 2 hana beta 29 alice alpha 16 gus delta 16 bruno alpha 4 ivan delta 25 dina gamma 1 hana delta 24 farah delta 15
beta 31 alpha 20 delta 80 gamma 1
jules gamma 20 farah beta 10 ivan gamma 1 bruno gamma 9 dina delta 18 lina gamma 15 lina delta 12 lina delta 8 bruno gamma 4
gamma 49 beta 10 delta 38
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025416
qwen/qwen3.7-plus
awkweave-0025417
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 amber 44 gamma grove 55 gamma cobalt 101 beta ember 45 gamma grove 68 beta harbor 85 gamma grove 39 delta cobalt 43
gamma 4 beta 2
beta juniper 34 delta birch 91 gamma ember 10 beta ember 60 gamma grove 34 gamma cobalt 107 gamma delta 16 beta cobalt 43 beta juniper 74
beta 4 gamma 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025417-p1
List each duplicate value from column 1 along with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha amber 44 gamma grove 55 gamma cobalt 101 beta ember 45 gamma grove 68 beta harbor 85 gamma grove 39 delta cobalt 43
gamma 4 beta 2
beta juniper 34 delta birch 91 gamma ember 10 beta ember 60 gamma grove 34 gamma cobalt 107 gamma delta 16 beta cobalt 43 beta juniper 74
beta 4 gamma 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025417
qwen/qwen3.7-plus
awkweave-0025418
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"]}
state record_id region score r001 eli 2 paused r002 alice 11 failed r003 lina 18 pending r004 eli 23 paused r005 dina 5 paused r006 alice 3 closed r007 kim 23 paused
2 11 18 23 5 3 23
state record_id region score r001 gus 28 pending r002 chen 23 failed r003 alice 3 closed r004 kim 14 paused r005 jules 16 active r006 lina 5 failed r007 ivan 5 closed r008 kim 26 failed r009 bruno 24 closed r010 alice 21 active
28 23 3 14 16 5 5 26 24 21
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025418-p1
Treating the first row as a header, output the region column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state record_id region score r001 eli 2 paused r002 alice 11 failed r003 lina 18 pending r004 eli 23 paused r005 dina 5 paused r006 alice 3 closed r007 kim 23 paused
2 11 18 23 5 3 23
state record_id region score r001 gus 28 pending r002 chen 23 failed r003 alice 3 closed r004 kim 14 paused r005 jules 16 active r006 lina 5 failed r007 ivan 5 closed r008 kim 26 failed r009 bruno 24 closed r010 alice 21 active
28 23 3 14 16 5 5 26 24 21
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025418
qwen/qwen3.7-plus
awkweave-0025419
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 bruno 6 closed r002 hana 30 failed r003 gus 3 pending r004 lina 20 active r005 dina 9 pending r006 farah 9 paused r007 lina 22 failed
hana
record_id display_name score state r001 farah 10 closed r002 eli 27 pending r003 lina 16 paused r004 dina 20 active r005 dina 19 paused r006 gus 22 pending
eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025419-p1
With the first row as a header, print the display_name for data rows where the score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 bruno 6 closed r002 hana 30 failed r003 gus 3 pending r004 lina 20 active r005 dina 9 pending r006 farah 9 paused r007 lina 22 failed
hana
record_id display_name score state r001 farah 10 closed r002 eli 27 pending r003 lina 16 paused r004 dina 20 active r005 dina 19 paused r006 gus 22 pending
eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025419
qwen/qwen3.7-plus
awkweave-0025420
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 30 ready eli 26 active hana 11 closed ivan 29 active jules 2 closed bruno 1 active
ready active closed active closed active
bruno 24 failed kim 18 pending jules 27 active eli 12 paused hana 19 paused chen 24 closed
failed pending active paused paused closed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025420-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
chen 30 ready eli 26 active hana 11 closed ivan 29 active jules 2 closed bruno 1 active
ready active closed active closed active
bruno 24 failed kim 18 pending jules 27 active eli 12 paused hana 19 paused chen 24 closed
failed pending active paused paused closed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025420
qwen/qwen3.7-plus
awkweave-0025421
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
kim,6,failed chen,9,active alice,14,paused alice,9,ready chen,4,closed kim,9,failed dina,8,ready ivan,20,ready bruno,12,pending
alice ivan bruno
farah,28,paused bruno,26,pending jules,14,failed kim,17,ready eli,28,paused ivan,6,paused ivan,2,paused farah,26,failed dina,8,failed
farah bruno jules kim eli farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025421-p1
For simple comma-separated input without quoted commas, print the first column whenever the second column value exceeds 11.
BEGIN{FS=OFS=","}$2>11{print $1}
kim,6,failed chen,9,active alice,14,paused alice,9,ready chen,4,closed kim,9,failed dina,8,ready ivan,20,ready bruno,12,pending
alice ivan bruno
farah,28,paused bruno,26,pending jules,14,failed kim,17,ready eli,28,paused ivan,6,paused ivan,2,paused farah,26,failed dina,8,failed
farah bruno jules kim eli farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025421
qwen/qwen3.7-plus
awkweave-0025422
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen amber 79 jules ember 77 bruno juniper 85 lina cobalt 18 farah amber 69 gus grove 12 kim grove 30
chen amber 79 jules ember 77 bruno juniper 85 lina cobalt 18 farah amber 69 gus grove 12 kim grove 30
ivan grove 46 hana birch 49 chen juniper 93 ivan amber 38 dina juniper 15 alice delta 17 bruno grove 120 farah fable 76
ivan grove 46 hana birch 49 chen juniper 93 ivan amber 38 dina juniper 15 alice delta 17 bruno grove 120 farah fable 76
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025422-p1
Remove leading and trailing whitespace and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
chen amber 79 jules ember 77 bruno juniper 85 lina cobalt 18 farah amber 69 gus grove 12 kim grove 30
chen amber 79 jules ember 77 bruno juniper 85 lina cobalt 18 farah amber 69 gus grove 12 kim grove 30
ivan grove 46 hana birch 49 chen juniper 93 ivan amber 38 dina juniper 15 alice delta 17 bruno grove 120 farah fable 76
ivan grove 46 hana birch 49 chen juniper 93 ivan amber 38 dina juniper 15 alice delta 17 bruno grove 120 farah fable 76
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025422
qwen/qwen3.7-plus
awkweave-0025423
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah cobalt 4 pending lina amber 57 failed lina amber 49 closed eli grove 108 active farah birch 8 ready eli birch 93 ready
farah cobalt 4 pending
ivan cobalt 88 ready alice juniper 38 ready lina juniper 40 active farah ember 103 ready hana fable 41 paused jules harbor 17 active chen indigo 33 paused lina grove 35 ready kim harbor 70 ready eli juniper 13 failed
alice juniper 38 ready
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025423-p1
Identify and print the longest line from the input; if there is a tie in length, select the earliest one.
{if(length($0)>length(best))best=$0}END{print best}
farah cobalt 4 pending lina amber 57 failed lina amber 49 closed eli grove 108 active farah birch 8 ready eli birch 93 ready
farah cobalt 4 pending
ivan cobalt 88 ready alice juniper 38 ready lina juniper 40 active farah ember 103 ready hana fable 41 paused jules harbor 17 active chen indigo 33 paused lina grove 35 ready kim harbor 70 ready eli juniper 13 failed
alice juniper 38 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025423
qwen/qwen3.7-plus
awkweave-0025424
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
lina 118 dina 9 chen 98 farah 18 gus 99 lina 111 chen 119 hana 5 ivan 67
farah 18 hana 5
lina 59 lina 0 hana 55 gus 1 hana 25 bruno 98 kim 64 dina 92 bruno 61 hana 77
gus 1 dina 92
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025424-p1
Output every fourth line beginning with line 4 (i.e., lines 4, 8, etc.).
NR%4==0
lina 118 dina 9 chen 98 farah 18 gus 99 lina 111 chen 119 hana 5 ivan 67
farah 18 hana 5
lina 59 lina 0 hana 55 gus 1 hana 25 bruno 98 kim 64 dina 92 bruno 61 hana 77
gus 1 dina 92
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025424
qwen/qwen3.7-plus
awkweave-0025425
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma juniper 108 alpha grove 2 delta juniper 58 gamma juniper 66 alpha amber 32 delta birch 21 alpha ember 16 beta harbor 0 delta cobalt 76
7
gamma fable 43 beta birch 35 gamma fable 17 beta cobalt 82 delta amber 68 alpha delta 27 alpha birch 100 alpha grove 4 beta indigo 1
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025425-p1
Calculate and display the number of unique entries in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma juniper 108 alpha grove 2 delta juniper 58 gamma juniper 66 alpha amber 32 delta birch 21 alpha ember 16 beta harbor 0 delta cobalt 76
7
gamma fable 43 beta birch 35 gamma fable 17 beta cobalt 82 delta amber 68 alpha delta 27 alpha birch 100 alpha grove 4 beta indigo 1
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025425
qwen/qwen3.7-plus
awkweave-0025426
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 22 0 jules 17 10 gus 15 21 eli 20 25 farah 24 11 farah 14 5 farah 6 3 lina 12 3 hana 7 30
jules 1.70 gus 0.71 eli 0.80 farah 2.18 farah 2.80 farah 2.00 lina 4.00 hana 0.23
jules 12 0 ivan 19 8 eli 20 8 dina 28 28 lina 9 25 alice 24 18
ivan 2.38 eli 2.50 dina 1.00 lina 0.36 alice 1.33
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025426-p1
For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 22 0 jules 17 10 gus 15 21 eli 20 25 farah 24 11 farah 14 5 farah 6 3 lina 12 3 hana 7 30
jules 1.70 gus 0.71 eli 0.80 farah 2.18 farah 2.80 farah 2.00 lina 4.00 hana 0.23
jules 12 0 ivan 19 8 eli 20 8 dina 28 28 lina 9 25 alice 24 18
ivan 2.38 eli 2.50 dina 1.00 lina 0.36 alice 1.33
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025426
qwen/qwen3.7-plus
awkweave-0025427
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]}
hana grove 29 lina cobalt 15 gus harbor 1 dina indigo 24 dina fable 13 eli ember 13
hana grove 29 dina indigo 24 lina cobalt 15
ivan juniper 19 gus harbor 16 dina ember 11 chen juniper 7 lina fable 30 farah indigo 2 ivan birch 22
lina fable 30 ivan birch 22 ivan juniper 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025427-p1
Display the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining 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]}
hana grove 29 lina cobalt 15 gus harbor 1 dina indigo 24 dina fable 13 eli ember 13
hana grove 29 dina indigo 24 lina cobalt 15
ivan juniper 19 gus harbor 16 dina ember 11 chen juniper 7 lina fable 30 farah indigo 2 ivan birch 22
lina fable 30 ivan birch 22 ivan juniper 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025427
qwen/qwen3.7-plus
awkweave-0025428
For each line, output fields 2 and 1, in that order.
{print $2, $1}
harbor ember jules ready harbor juniper gus closed harbor cobalt hana pending harbor ember eli closed delta amber kim paused juniper harbor alice pending birch harbor kim closed birch fable lina paused delta birch farah ready
ember harbor juniper harbor cobalt harbor ember harbor amber delta harbor juniper harbor birch fable birch birch delta
harbor grove alice failed fable cobalt hana closed amber cobalt ivan active cobalt indigo farah active grove ember gus paused ember juniper bruno closed indigo delta bruno ready harbor harbor alice ready
grove harbor cobalt fable cobalt amber indigo cobalt ember grove juniper ember delta indigo harbor harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025428-p1
Output the second field followed by the first field for each line.
{print $2, $1}
harbor ember jules ready harbor juniper gus closed harbor cobalt hana pending harbor ember eli closed delta amber kim paused juniper harbor alice pending birch harbor kim closed birch fable lina paused delta birch farah ready
ember harbor juniper harbor cobalt harbor ember harbor amber delta harbor juniper harbor birch fable birch birch delta
harbor grove alice failed fable cobalt hana closed amber cobalt ivan active cobalt indigo farah active grove ember gus paused ember juniper bruno closed indigo delta bruno ready harbor harbor alice ready
grove harbor cobalt fable cobalt amber indigo cobalt ember grove juniper ember delta indigo harbor harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025428
qwen/qwen3.7-plus
awkweave-0025429
Print the last field of every input line.
{print $NF}
lina hana 17 ready closed 77 bruno farah 25 pending ready 92 alice bruno 74 paused closed 66 jules ivan 5 ready active 69 eli chen 113 pending closed 82 farah hana 108 paused closed 37 kim farah 99 failed failed 96 gus farah 72 closed ready 6
77 92 66 69 82 37 96 6
alice farah 37 ready failed 69 bruno jules 52 paused paused 111 lina lina 31 ready failed 85 farah bruno 52 pending active 119 gus lina 8 failed closed 71 bruno eli 36 failed closed 85
69 111 85 119 71 85
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025429-p1
Print the final field from every line of input.
{print $NF}
lina hana 17 ready closed 77 bruno farah 25 pending ready 92 alice bruno 74 paused closed 66 jules ivan 5 ready active 69 eli chen 113 pending closed 82 farah hana 108 paused closed 37 kim farah 99 failed failed 96 gus farah 72 closed ready 6
77 92 66 69 82 37 96 6
alice farah 37 ready failed 69 bruno jules 52 paused paused 111 lina lina 31 ready failed 85 farah bruno 52 pending active 119 gus lina 8 failed closed 71 bruno eli 36 failed closed 85
69 111 85 119 71 85
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025429
qwen/qwen3.7-plus
awkweave-0025430
Print the complete records where column 1 is at least 41.
$1 >= 41
9 delta pending kim kim 100 grove paused lina hana 91 grove paused farah kim 36 grove active lina farah 2 delta paused gus lina 80 fable pending dina gus 29 indigo failed farah dina 112 birch ready gus chen
100 grove paused lina hana 91 grove paused farah kim 80 fable pending dina gus 112 birch ready gus chen
84 ember failed hana bruno 86 juniper closed dina hana 30 birch pending eli lina 65 fable active eli alice 105 cobalt closed eli ivan 68 amber ready ivan chen 20 fable active farah kim 64 ember failed ivan alice 72 indigo failed alice jules 44 harbor closed hana kim
84 ember failed hana bruno 86 juniper closed dina hana 65 fable active eli alice 105 cobalt closed eli ivan 68 amber ready ivan chen 64 ember failed ivan alice 72 indigo failed alice jules 44 harbor closed hana kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025430-p1
Output full records where the value in the first column is greater than or equal to 41.
$1 >= 41
9 delta pending kim kim 100 grove paused lina hana 91 grove paused farah kim 36 grove active lina farah 2 delta paused gus lina 80 fable pending dina gus 29 indigo failed farah dina 112 birch ready gus chen
100 grove paused lina hana 91 grove paused farah kim 80 fable pending dina gus 112 birch ready gus chen
84 ember failed hana bruno 86 juniper closed dina hana 30 birch pending eli lina 65 fable active eli alice 105 cobalt closed eli ivan 68 amber ready ivan chen 20 fable active farah kim 64 ember failed ivan alice 72 indigo failed alice jules 44 harbor closed hana kim
84 ember failed hana bruno 86 juniper closed dina hana 65 fable active eli alice 105 cobalt closed eli ivan 68 amber ready ivan chen 64 ember failed ivan alice 72 indigo failed alice jules 44 harbor closed hana kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025430
qwen/qwen3.7-plus
awkweave-0025431
Show whole lines whose 2nd field is between 8 and 21, inclusive.
$2 >= 8 && $2 <= 21
active 29 farah failed failed 21 dina paused closed 11 hana pending active 5 alice active pending 10 dina ready failed 4 lina ready
failed 21 dina paused closed 11 hana pending pending 10 dina ready
pending 21 eli ready ready 11 chen ready failed 4 lina paused paused 21 bruno pending ready 25 hana active pending 17 dina paused
pending 21 eli ready ready 11 chen ready paused 21 bruno pending pending 17 dina paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025431-p1
Display entire lines where the second field falls within the inclusive range of 8 to 21.
$2 >= 8 && $2 <= 21
active 29 farah failed failed 21 dina paused closed 11 hana pending active 5 alice active pending 10 dina ready failed 4 lina ready
failed 21 dina paused closed 11 hana pending pending 10 dina ready
pending 21 eli ready ready 11 chen ready failed 4 lina paused paused 21 bruno pending ready 25 hana active pending 17 dina paused
pending 21 eli ready ready 11 chen ready paused 21 bruno pending pending 17 dina paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025431
qwen/qwen3.7-plus
awkweave-0025432
Print column 2 only for rows where column 1 is exactly paused.
$1 == "paused"{print $2}
pending ivan juniper 48 ready ivan amber 100 pending kim juniper 71 closed bruno harbor 107 paused gus amber 36 failed chen fable 117 paused bruno juniper 24 ready alice fable 53 failed ivan fable 80
gus bruno
closed eli ember 20 active chen ember 42 pending farah fable 53 pending kim juniper 71 failed gus indigo 64 failed alice amber 46 paused bruno indigo 116 pending jules fable 98 closed ivan fable 71
bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025432-p1
Output only the second column for rows where the first column is exactly 'paused'.
$1 == "paused"{print $2}
pending ivan juniper 48 ready ivan amber 100 pending kim juniper 71 closed bruno harbor 107 paused gus amber 36 failed chen fable 117 paused bruno juniper 24 ready alice fable 53 failed ivan fable 80
gus bruno
closed eli ember 20 active chen ember 42 pending farah fable 53 pending kim juniper 71 failed gus indigo 64 failed alice amber 46 paused bruno indigo 116 pending jules fable 98 closed ivan fable 71
bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025432
qwen/qwen3.7-plus
awkweave-0025433
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
ember 91 INFO delta 52 DEBUG amber 20 INFO cobalt 18 ERROR cobalt 46 ERROR delta 10 DEBUG ember 65 WARN cobalt 12 INFO delta 112 INFO
ember 91 INFO amber 20 INFO cobalt 12 INFO delta 112 INFO
delta 55 WARN birch 91 WARN ember 40 ERROR delta 9 INFO birch 48 WARN ember 52 ERROR harbor 2 INFO ember 102 DEBUG
delta 9 INFO harbor 2 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025433-p1
Print all fields from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
ember 91 INFO delta 52 DEBUG amber 20 INFO cobalt 18 ERROR cobalt 46 ERROR delta 10 DEBUG ember 65 WARN cobalt 12 INFO delta 112 INFO
ember 91 INFO amber 20 INFO cobalt 12 INFO delta 112 INFO
delta 55 WARN birch 91 WARN ember 40 ERROR delta 9 INFO birch 48 WARN ember 52 ERROR harbor 2 INFO ember 102 DEBUG
delta 9 INFO harbor 2 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025433
qwen/qwen3.7-plus
awkweave-0025434
Print every line except those containing the exact text delta.
$0 !~ /delta/
fable 11 pending grove 60 active amber 43 active amber 50 paused cobalt 39 pending birch 73 failed indigo 84 active grove 78 paused delta 999 active
fable 11 pending grove 60 active amber 43 active amber 50 paused cobalt 39 pending birch 73 failed indigo 84 active grove 78 paused
delta 4 paused cobalt 46 closed amber 70 ready harbor 92 paused juniper 120 failed juniper 36 active amber 91 ready delta 999 active
cobalt 46 closed amber 70 ready harbor 92 paused juniper 120 failed juniper 36 active amber 91 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025434-p1
Output every line that does not contain the exact string 'delta'.
$0 !~ /delta/
fable 11 pending grove 60 active amber 43 active amber 50 paused cobalt 39 pending birch 73 failed indigo 84 active grove 78 paused delta 999 active
fable 11 pending grove 60 active amber 43 active amber 50 paused cobalt 39 pending birch 73 failed indigo 84 active grove 78 paused
delta 4 paused cobalt 46 closed amber 70 ready harbor 92 paused juniper 120 failed juniper 36 active amber 91 ready delta 999 active
cobalt 46 closed amber 70 ready harbor 92 paused juniper 120 failed juniper 36 active amber 91 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025434
qwen/qwen3.7-plus
awkweave-0025435
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
jules ember 23 alice delta 42 jules delta 88 eli birch 24 alice birch 118 farah fable 35
jules delta 88 eli birch 24
eli cobalt 51 eli juniper 67 alice grove 90 bruno juniper 4 hana indigo 102 jules juniper 15 chen cobalt 62
alice grove 90 bruno juniper 4
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025435-p1
Print lines 3 and 4, inclusive.
NR >= 3 && NR <= 4
jules ember 23 alice delta 42 jules delta 88 eli birch 24 alice birch 118 farah fable 35
jules delta 88 eli birch 24
eli cobalt 51 eli juniper 67 alice grove 90 bruno juniper 4 hana indigo 102 jules juniper 15 chen cobalt 62
alice grove 90 bruno juniper 4
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025435
qwen/qwen3.7-plus
awkweave-0025436
Output only the first 2 records.
NR <= 2
jules 68 cobalt bruno 17 birch hana 24 amber gus 120 indigo hana 110 amber hana 64 juniper
jules 68 cobalt bruno 17 birch
alice 74 delta farah 87 indigo lina 0 juniper ivan 69 fable kim 16 delta eli 12 cobalt dina 60 fable lina 30 indigo chen 61 juniper
alice 74 delta farah 87 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025436-p1
Display only the initial two records.
NR <= 2
jules 68 cobalt bruno 17 birch hana 24 amber gus 120 indigo hana 110 amber hana 64 juniper
jules 68 cobalt bruno 17 birch
alice 74 delta farah 87 indigo lina 0 juniper ivan 69 fable kim 16 delta eli 12 cobalt dina 60 fable lina 30 indigo chen 61 juniper
alice 74 delta farah 87 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025436
qwen/qwen3.7-plus
awkweave-0025437
Skip the first line and print every remaining line unchanged.
NR > 1
eli 84 birch chen 89 harbor hana 115 amber lina 55 birch ivan 89 juniper chen 115 indigo farah 13 amber kim 77 birch bruno 100 cobalt eli 70 fable
chen 89 harbor hana 115 amber lina 55 birch ivan 89 juniper chen 115 indigo farah 13 amber kim 77 birch bruno 100 cobalt eli 70 fable
hana 116 birch kim 48 indigo ivan 72 grove lina 60 cobalt farah 48 harbor dina 43 harbor hana 77 delta
kim 48 indigo ivan 72 grove lina 60 cobalt farah 48 harbor dina 43 harbor hana 77 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025437-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
eli 84 birch chen 89 harbor hana 115 amber lina 55 birch ivan 89 juniper chen 115 indigo farah 13 amber kim 77 birch bruno 100 cobalt eli 70 fable
chen 89 harbor hana 115 amber lina 55 birch ivan 89 juniper chen 115 indigo farah 13 amber kim 77 birch bruno 100 cobalt eli 70 fable
hana 116 birch kim 48 indigo ivan 72 grove lina 60 cobalt farah 48 harbor dina 43 harbor hana 77 delta
kim 48 indigo ivan 72 grove lina 60 cobalt farah 48 harbor dina 43 harbor hana 77 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025437
qwen/qwen3.7-plus
awkweave-0025438
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
alice paused 107 gus active 85 dina paused 53 alice active 114 jules paused 52 gus failed 26 kim ready 35
1
alice active 108 dina closed 22 hana failed 105 dina closed 54 gus ready 106 ivan closed 19 eli ready 84 gus ready 57
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025438-p1
Tally the number of entries where column 2 contains 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
alice paused 107 gus active 85 dina paused 53 alice active 114 jules paused 52 gus failed 26 kim ready 35
1
alice active 108 dina closed 22 hana failed 105 dina closed 54 gus ready 106 ivan closed 19 eli ready 84 gus ready 57
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025438
qwen/qwen3.7-plus
awkweave-0025439
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
11 fable jules 25 indigo farah 20 harbor dina 5 delta farah 29 indigo chen 4 juniper hana 4 amber farah 15 birch eli 20 cobalt eli
133
2 harbor eli 11 cobalt hana 13 grove chen 20 harbor chen 18 fable lina 30 juniper kim 27 cobalt dina
121
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025439-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
11 fable jules 25 indigo farah 20 harbor dina 5 delta farah 29 indigo chen 4 juniper hana 4 amber farah 15 birch eli 20 cobalt eli
133
2 harbor eli 11 cobalt hana 13 grove chen 20 harbor chen 18 fable lina 30 juniper kim 27 cobalt dina
121
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025439
qwen/qwen3.7-plus
awkweave-0025440
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 6 ivan birch 26 jules cobalt 24 dina grove 12 jules ember 18 lina ember 17 chen grove 3 kim
15.14
harbor 7 ivan harbor 9 hana birch 13 bruno ember 22 dina ember 4 alice indigo 17 gus indigo 20 alice harbor 21 bruno
14.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025440-p1
Output the average of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
indigo 6 ivan birch 26 jules cobalt 24 dina grove 12 jules ember 18 lina ember 17 chen grove 3 kim
15.14
harbor 7 ivan harbor 9 hana birch 13 bruno ember 22 dina ember 4 alice indigo 17 gus indigo 20 alice harbor 21 bruno
14.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025440
qwen/qwen3.7-plus
awkweave-0025441
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
birch 14 chen cobalt 13 kim amber 19 farah birch 16 bruno harbor 6 ivan indigo 1 chen indigo 6 kim ember 4 farah cobalt 24 farah cobalt 21 gus
1
cobalt 29 ivan harbor 15 gus ember 20 ivan harbor 12 farah amber 25 hana cobalt 8 dina amber 2 lina amber 11 gus grove 3 gus
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null