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-0012880-p1
Count the number of records with 'active' in column 2, outputting 0 if none exist.
$2 == "active"{n++}END{print n+0}
hana paused 78 gus ready 12 kim paused 35 eli ready 24 farah active 14 lina closed 85 dina pending 97 chen failed 50 gus active 10
2
chen failed 113 farah active 73 ivan active 114 farah paused 117 alice failed 76 lina active 65
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012880
qwen/qwen3.7-plus
awkweave-0012881
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
24 jules birch 2 bruno harbor 8 jules juniper 5 chen fable 3 lina ember 25 hana delta 23 jules grove 26 kim fable 14 eli juniper
130
8 ivan harbor 26 chen cobalt 11 dina juniper 6 chen indigo 6 eli grove 17 jules cobalt 6 kim grove 10 jules cobalt 8 gus grove
98
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012881-p1
Compute and display the sum of integer values in column 1.
{s+=$1}END{print s+0}
24 jules birch 2 bruno harbor 8 jules juniper 5 chen fable 3 lina ember 25 hana delta 23 jules grove 26 kim fable 14 eli juniper
130
8 ivan harbor 26 chen cobalt 11 dina juniper 6 chen indigo 6 eli grove 17 jules cobalt 6 kim grove 10 jules cobalt 8 gus grove
98
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012881
qwen/qwen3.7-plus
awkweave-0012882
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
8 birch lina 22 fable ivan 26 amber jules 12 harbor ivan 19 amber chen 17 birch kim 26 indigo dina 13 juniper kim 26 delta farah 6 ember farah
17.50
22 ember kim 8 ember lina 12 harbor jules 16 birch kim 13 indigo eli 23 ember chen 17 birch farah 30 grove dina
17.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012882-p1
Print the average of column 1, rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
8 birch lina 22 fable ivan 26 amber jules 12 harbor ivan 19 amber chen 17 birch kim 26 indigo dina 13 juniper kim 26 delta farah 6 ember farah
17.50
22 ember kim 8 ember lina 12 harbor jules 16 birch kim 13 indigo eli 23 ember chen 17 birch farah 30 grove dina
17.62
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012882
qwen/qwen3.7-plus
awkweave-0012883
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
alice 27 harbor eli 30 ember ivan 7 cobalt dina 7 ember kim 8 fable dina 24 juniper kim 21 harbor hana 11 juniper
7
kim 3 fable hana 13 juniper ivan 6 ember gus 4 grove eli 27 birch ivan 25 ember
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012883-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
alice 27 harbor eli 30 ember ivan 7 cobalt dina 7 ember kim 8 fable dina 24 juniper kim 21 harbor hana 11 juniper
7
kim 3 fable hana 13 juniper ivan 6 ember gus 4 grove eli 27 birch ivan 25 ember
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012883
qwen/qwen3.7-plus
awkweave-0012884
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
bruno harbor 9 ivan delta 15 hana birch 20 dina fable 28 eli indigo 27 ivan delta 18 eli cobalt 21
28
hana grove 18 dina ember 14 bruno ember 20 alice fable 29 gus amber 17 farah harbor 24 bruno delta 26 chen cobalt 9 bruno birch 22
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012884-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
bruno harbor 9 ivan delta 15 hana birch 20 dina fable 28 eli indigo 27 ivan delta 18 eli cobalt 21
28
hana grove 18 dina ember 14 bruno ember 20 alice fable 29 gus amber 17 farah harbor 24 bruno delta 26 chen cobalt 9 bruno birch 22
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012884
qwen/qwen3.7-plus
awkweave-0012885
Count all input records and print the total.
END{print NR}
dina 28 dina 55 eli 45 eli 116 kim 10 farah 42 dina 71 gus 119 farah 52 chen 67
10
farah 69 lina 96 jules 28 dina 26 farah 83 chen 19
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012885-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 28 dina 55 eli 45 eli 116 kim 10 farah 42 dina 71 gus 119 farah 52 chen 67
10
farah 69 lina 96 jules 28 dina 26 farah 83 chen 19
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012885
qwen/qwen3.7-plus
awkweave-0012886
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus grove 115 eli juniper 36 alice delta 24 farah birch 36 dina harbor 84 gus grove 115 dina indigo 83 eli birch 69
gus grove 115 eli juniper 36 alice delta 24 farah birch 36 dina harbor 84 dina indigo 83 eli birch 69
hana juniper 76 gus juniper 116 chen fable 100 ivan cobalt 120 alice juniper 32 chen indigo 85 lina delta 81 kim juniper 33 alice juniper 32
hana juniper 76 gus juniper 116 chen fable 100 ivan cobalt 120 alice juniper 32 chen indigo 85 lina delta 81 kim juniper 33
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012886-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
gus grove 115 eli juniper 36 alice delta 24 farah birch 36 dina harbor 84 gus grove 115 dina indigo 83 eli birch 69
gus grove 115 eli juniper 36 alice delta 24 farah birch 36 dina harbor 84 dina indigo 83 eli birch 69
hana juniper 76 gus juniper 116 chen fable 100 ivan cobalt 120 alice juniper 32 chen indigo 85 lina delta 81 kim juniper 33 alice juniper 32
hana juniper 76 gus juniper 116 chen fable 100 ivan cobalt 120 alice juniper 32 chen indigo 85 lina delta 81 kim juniper 33
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012886
qwen/qwen3.7-plus
awkweave-0012887
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules amber 42 kim juniper 94 bruno delta 8 dina cobalt 94 ivan birch 33 farah grove 39 alice ember 74
jules amber 42 kim juniper 94 bruno delta 8 dina cobalt 94 ivan birch 33 farah grove 39 alice ember 74
dina juniper 103 kim harbor 55 ivan fable 105 jules birch 42 ivan juniper 120 alice amber 59 chen amber 85 gus juniper 78
dina juniper 103 kim harbor 55 ivan fable 105 jules birch 42 alice amber 59
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012887-p1
Retain only the initial line for every unique value in the second column, ensuring the original order is preserved.
!seen[$2]++
jules amber 42 kim juniper 94 bruno delta 8 dina cobalt 94 ivan birch 33 farah grove 39 alice ember 74
jules amber 42 kim juniper 94 bruno delta 8 dina cobalt 94 ivan birch 33 farah grove 39 alice ember 74
dina juniper 103 kim harbor 55 ivan fable 105 jules birch 42 ivan juniper 120 alice amber 59 chen amber 85 gus juniper 78
dina juniper 103 kim harbor 55 ivan fable 105 jules birch 42 alice amber 59
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012887
qwen/qwen3.7-plus
awkweave-0012888
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 17 harbor jules 21 indigo lina 20 delta hana 16 grove kim 13 harbor kim 7 indigo bruno 23 delta
jules 17 jules 38 lina 58 hana 74 kim 87 kim 94 bruno 117
gus 16 birch hana 29 birch farah 14 indigo hana 5 cobalt hana 27 grove farah 6 harbor farah 28 juniper alice 28 cobalt bruno 28 amber
gus 16 hana 45 farah 59 hana 64 hana 91 farah 97 farah 125 alice 153 bruno 181
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012888-p1
Output the first column alongside the cumulative sum of the second column for each entry, separated by a space.
{s+=$2;print $1,s}
jules 17 harbor jules 21 indigo lina 20 delta hana 16 grove kim 13 harbor kim 7 indigo bruno 23 delta
jules 17 jules 38 lina 58 hana 74 kim 87 kim 94 bruno 117
gus 16 birch hana 29 birch farah 14 indigo hana 5 cobalt hana 27 grove farah 6 harbor farah 28 juniper alice 28 cobalt bruno 28 amber
gus 16 hana 45 farah 59 hana 64 hana 91 farah 97 farah 125 alice 153 bruno 181
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012888
qwen/qwen3.7-plus
awkweave-0012889
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 15 17 fable farah 28 18 indigo dina 24 11 amber ivan 19 20 grove alice 16 3 indigo farah 2 29 harbor gus 3 20 indigo
jules 32 farah 46 dina 35 ivan 39 alice 19 farah 31 gus 23
bruno 21 5 birch kim 21 13 harbor alice 4 21 birch eli 5 14 indigo lina 17 15 harbor gus 28 4 amber
bruno 26 kim 34 alice 25 eli 19 lina 32 gus 32
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012889-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
jules 15 17 fable farah 28 18 indigo dina 24 11 amber ivan 19 20 grove alice 16 3 indigo farah 2 29 harbor gus 3 20 indigo
jules 32 farah 46 dina 35 ivan 39 alice 19 farah 31 gus 23
bruno 21 5 birch kim 21 13 harbor alice 4 21 birch eli 5 14 indigo lina 17 15 harbor gus 28 4 amber
bruno 26 kim 34 alice 25 eli 19 lina 32 gus 32
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012889
qwen/qwen3.7-plus
awkweave-0012900
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 lina 17 ready r002 eli 9 pending r003 lina 12 closed r004 dina 29 paused r005 jules 22 paused r006 dina 29 failed r007 jules 4 failed
lina dina jules dina
record_id display_name score state r001 farah 18 active r002 lina 30 pending r003 hana 25 ready r004 jules 20 paused r005 bruno 8 active r006 gus 3 closed r007 chen 21 failed r008 lina 7 paused r009 jules 11 closed r010 dina 20 active
farah lina hana jules chen dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012900-p1
Skip the header row and print the display_name for any data rows where the score is above 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 lina 17 ready r002 eli 9 pending r003 lina 12 closed r004 dina 29 paused r005 jules 22 paused r006 dina 29 failed r007 jules 4 failed
lina dina jules dina
record_id display_name score state r001 farah 18 active r002 lina 30 pending r003 hana 25 ready r004 jules 20 paused r005 bruno 8 active r006 gus 3 closed r007 chen 21 failed r008 lina 7 paused r009 jules 11 closed r010 dina 20 active
farah lina hana jules chen dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012900
qwen/qwen3.7-plus
awkweave-0012901
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 26 ready hana 5 active alice 5 ready bruno 14 paused gus 15 active ivan 26 failed dina 29 closed
kim hana alice bruno gus ivan dina
farah 9 failed eli 22 pending jules 29 paused bruno 3 paused kim 8 failed lina 17 pending bruno 1 failed kim 1 pending farah 23 failed lina 7 paused
farah eli jules bruno kim lina bruno kim farah lina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012901-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 26 ready hana 5 active alice 5 ready bruno 14 paused gus 15 active ivan 26 failed dina 29 closed
kim hana alice bruno gus ivan dina
farah 9 failed eli 22 pending jules 29 paused bruno 3 paused kim 8 failed lina 17 pending bruno 1 failed kim 1 pending farah 23 failed lina 7 paused
farah eli jules bruno kim lina bruno kim farah lina
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0012901
qwen/qwen3.7-plus
awkweave-0012902
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}
alice,23,paused jules,24,pending dina,8,pending bruno,13,ready gus,25,ready farah,17,paused gus,14,failed chen,21,active kim,3,active
gus
lina,28,pending hana,12,ready eli,10,closed chen,14,pending kim,12,paused dina,21,ready lina,13,closed ivan,9,active
lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012902-p1
Process simple comma-separated values without quoted commas; print the first column if the second column is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
alice,23,paused jules,24,pending dina,8,pending bruno,13,ready gus,25,ready farah,17,paused gus,14,failed chen,21,active kim,3,active
gus
lina,28,pending hana,12,ready eli,10,closed chen,14,pending kim,12,paused dina,21,ready lina,13,closed ivan,9,active
lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012902
qwen/qwen3.7-plus
awkweave-0012903
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah juniper 70 jules juniper 56 eli juniper 84 chen ember 18 jules amber 17 bruno birch 86 jules birch 64 lina harbor 112
farah juniper 70 jules juniper 56 eli juniper 84 chen ember 18 jules amber 17 bruno birch 86 jules birch 64 lina harbor 112
farah delta 17 lina fable 40 gus fable 53 kim indigo 34 farah fable 48 ivan fable 46 jules cobalt 101 gus juniper 1 farah harbor 92 hana birch 60
farah delta 17 lina fable 40 gus fable 53 kim indigo 34 farah fable 48 ivan fable 46 jules cobalt 101 gus juniper 1 farah harbor 92 hana birch 60
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012903-p1
Strip leading and trailing spaces and replace internal whitespace sequences with a single space.
{$1=$1;print}
farah juniper 70 jules juniper 56 eli juniper 84 chen ember 18 jules amber 17 bruno birch 86 jules birch 64 lina harbor 112
farah juniper 70 jules juniper 56 eli juniper 84 chen ember 18 jules amber 17 bruno birch 86 jules birch 64 lina harbor 112
farah delta 17 lina fable 40 gus fable 53 kim indigo 34 farah fable 48 ivan fable 46 jules cobalt 101 gus juniper 1 farah harbor 92 hana birch 60
farah delta 17 lina fable 40 gus fable 53 kim indigo 34 farah fable 48 ivan fable 46 jules cobalt 101 gus juniper 1 farah harbor 92 hana birch 60
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012903
qwen/qwen3.7-plus
awkweave-0012904
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina amber 15 pending ivan delta 115 ready ivan indigo 113 pending alice harbor 41 active alice amber 66 pending lina ember 119 closed gus amber 83 pending eli grove 94 paused alice amber 102 ready hana juniper 34 ready
ivan indigo 113 pending
hana indigo 20 paused bruno harbor 18 paused kim indigo 16 closed gus juniper 49 pending gus harbor 95 active chen juniper 40 ready dina harbor 114 active ivan cobalt 108 paused chen amber 43 active
bruno harbor 18 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012904-p1
Locate and print the longest line from the input; in case of a tie, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
dina amber 15 pending ivan delta 115 ready ivan indigo 113 pending alice harbor 41 active alice amber 66 pending lina ember 119 closed gus amber 83 pending eli grove 94 paused alice amber 102 ready hana juniper 34 ready
ivan indigo 113 pending
hana indigo 20 paused bruno harbor 18 paused kim indigo 16 closed gus juniper 49 pending gus harbor 95 active chen juniper 40 ready dina harbor 114 active ivan cobalt 108 paused chen amber 43 active
bruno harbor 18 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012904
qwen/qwen3.7-plus
awkweave-0012905
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
jules 45 gus 63 chen 0 lina 74 hana 87 hana 118 alice 68 jules 20
gus 63 hana 87 jules 20
ivan 13 hana 46 chen 41 bruno 102 chen 114 lina 39
hana 46 chen 114
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012905-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, etc.).
NR%3==2
jules 45 gus 63 chen 0 lina 74 hana 87 hana 118 alice 68 jules 20
gus 63 hana 87 jules 20
ivan 13 hana 46 chen 41 bruno 102 chen 114 lina 39
hana 46 chen 114
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012905
qwen/qwen3.7-plus
awkweave-0012906
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha cobalt 57 delta indigo 116 delta ember 15 delta delta 105 alpha grove 40 delta birch 96
2
beta cobalt 66 beta delta 102 gamma amber 54 gamma ember 64 beta fable 82 alpha cobalt 52
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012906-p1
Calculate the number of unique entries in the first column and output just that total.
{if(!seen[$1]++)n++}END{print n+0}
alpha cobalt 57 delta indigo 116 delta ember 15 delta delta 105 alpha grove 40 delta birch 96
2
beta cobalt 66 beta delta 102 gamma amber 54 gamma ember 64 beta fable 82 alpha cobalt 52
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012906
qwen/qwen3.7-plus
awkweave-0012907
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}
gus 18 0 farah 27 13 gus 24 1 kim 20 20 eli 7 9 jules 8 17 hana 7 9 eli 3 30
farah 2.08 gus 24.00 kim 1.00 eli 0.78 jules 0.47 hana 0.78 eli 0.10
dina 4 0 dina 17 19 alice 7 20 alice 18 15 alice 24 6 dina 23 21 gus 29 13 farah 21 11
dina 0.89 alice 0.35 alice 1.20 alice 4.00 dina 1.10 gus 2.23 farah 1.91
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012907-p1
For every row, display the value in column 1 and the result of dividing column 2 by column 3 rounded to two decimal places, omitting any rows where column 3 equals zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 18 0 farah 27 13 gus 24 1 kim 20 20 eli 7 9 jules 8 17 hana 7 9 eli 3 30
farah 2.08 gus 24.00 kim 1.00 eli 0.78 jules 0.47 hana 0.78 eli 0.10
dina 4 0 dina 17 19 alice 7 20 alice 18 15 alice 24 6 dina 23 21 gus 29 13 farah 21 11
dina 0.89 alice 0.35 alice 1.20 alice 4.00 dina 1.10 gus 2.23 farah 1.91
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012907
qwen/qwen3.7-plus
awkweave-0012908
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]}
ivan delta 23 chen grove 25 lina grove 2 jules indigo 11 kim ember 28 ivan amber 21 farah amber 1
kim ember 28 chen grove 25 ivan delta 23
dina juniper 5 hana harbor 21 bruno grove 5 dina harbor 6 gus harbor 25 farah juniper 27 alice indigo 28 farah grove 29 chen cobalt 27 jules indigo 12
farah grove 29 alice indigo 28 farah juniper 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012908-p1
Output the full records corresponding to the top three highest numeric values in column 3, arranged in descending order, while maintaining the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan delta 23 chen grove 25 lina grove 2 jules indigo 11 kim ember 28 ivan amber 21 farah amber 1
kim ember 28 chen grove 25 ivan delta 23
dina juniper 5 hana harbor 21 bruno grove 5 dina harbor 6 gus harbor 25 farah juniper 27 alice indigo 28 farah grove 29 chen cobalt 27 jules indigo 12
farah grove 29 alice indigo 28 farah juniper 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012908
qwen/qwen3.7-plus
awkweave-0012909
Print column 6 followed by column 4 for every record.
{print $6, $4}
birch dina 59 pending juniper 32 indigo alice 81 pending birch 116 amber bruno 22 paused grove 23 indigo alice 30 paused birch 17 ember kim 21 failed birch 98 juniper bruno 66 pending cobalt 58 ember hana 103 paused birch 88 grove gus 30 failed delta 49
32 pending 116 pending 23 paused 17 paused 98 failed 58 pending 88 paused 49 failed
grove alice 5 closed amber 73 juniper farah 107 paused birch 24 fable chen 34 failed indigo 6 grove lina 86 active cobalt 20 indigo gus 72 paused harbor 120 delta ivan 114 failed fable 39
73 closed 24 paused 6 failed 20 active 120 paused 39 failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012909-p1
Display the value from column 6 followed by the value from column 4 for each record.
{print $6, $4}
birch dina 59 pending juniper 32 indigo alice 81 pending birch 116 amber bruno 22 paused grove 23 indigo alice 30 paused birch 17 ember kim 21 failed birch 98 juniper bruno 66 pending cobalt 58 ember hana 103 paused birch 88 grove gus 30 failed delta 49
32 pending 116 pending 23 paused 17 paused 98 failed 58 pending 88 paused 49 failed
grove alice 5 closed amber 73 juniper farah 107 paused birch 24 fable chen 34 failed indigo 6 grove lina 86 active cobalt 20 indigo gus 72 paused harbor 120 delta ivan 114 failed fable 39
73 closed 24 paused 6 failed 20 active 120 paused 39 failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012909
qwen/qwen3.7-plus
awkweave-0012910
Print the last field of every input line.
{print $NF}
closed gus pending 41 109 ready alice ready 33 56 ready ivan closed 77 92 closed eli pending 76 12 paused chen failed 84 14 closed lina closed 35 52 pending dina active 37 44 active chen closed 54 1
109 56 92 12 14 52 44 1
pending bruno active 17 102 closed chen failed 8 101 closed dina failed 50 17 pending bruno active 39 109 paused farah ready 40 111 active eli failed 98 69
102 101 17 109 111 69
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012910-p1
Output the final field from every line of input.
{print $NF}
closed gus pending 41 109 ready alice ready 33 56 ready ivan closed 77 92 closed eli pending 76 12 paused chen failed 84 14 closed lina closed 35 52 pending dina active 37 44 active chen closed 54 1
109 56 92 12 14 52 44 1
pending bruno active 17 102 closed chen failed 8 101 closed dina failed 50 17 pending bruno active 39 109 paused farah ready 40 111 active eli failed 98 69
102 101 17 109 111 69
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012910
qwen/qwen3.7-plus
awkweave-0012911
Print the complete records where column 2 is at least 43.
$2 >= 43
cobalt 116 hana amber paused fable 30 gus amber active grove 25 hana ember paused cobalt 25 chen ember ready amber 22 alice juniper closed ember 75 farah grove pending
cobalt 116 hana amber paused ember 75 farah grove pending
indigo 42 farah cobalt paused amber 87 alice birch active ember 37 eli delta paused cobalt 114 gus delta active cobalt 100 bruno harbor pending birch 114 hana birch failed delta 15 farah grove closed harbor 33 jules fable closed harbor 81 kim juniper paused cobalt 46 farah amber active
amber 87 alice birch active cobalt 114 gus delta active cobalt 100 bruno harbor pending birch 114 hana birch failed harbor 81 kim juniper paused cobalt 46 farah amber active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012911-p1
Print the entire records where the value in the second column is greater than or equal to 43.
$2 >= 43
cobalt 116 hana amber paused fable 30 gus amber active grove 25 hana ember paused cobalt 25 chen ember ready amber 22 alice juniper closed ember 75 farah grove pending
cobalt 116 hana amber paused ember 75 farah grove pending
indigo 42 farah cobalt paused amber 87 alice birch active ember 37 eli delta paused cobalt 114 gus delta active cobalt 100 bruno harbor pending birch 114 hana birch failed delta 15 farah grove closed harbor 33 jules fable closed harbor 81 kim juniper paused cobalt 46 farah amber active
amber 87 alice birch active cobalt 114 gus delta active cobalt 100 bruno harbor pending birch 114 hana birch failed harbor 81 kim juniper paused cobalt 46 farah amber active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012911
qwen/qwen3.7-plus
awkweave-0012912
Show whole lines whose 2nd field is between 3 and 23, inclusive.
$2 >= 3 && $2 <= 23
active 4 ember closed ready 2 delta closed pending 17 birch active failed 17 amber failed active 8 fable pending active 1 harbor active failed 20 birch failed pending 24 grove pending ready 4 delta paused
active 4 ember closed pending 17 birch active failed 17 amber failed active 8 fable pending failed 20 birch failed ready 4 delta paused
active 5 juniper paused paused 28 delta paused ready 10 ember failed ready 23 cobalt ready ready 25 juniper failed closed 12 harbor closed closed 8 birch active closed 27 birch pending ready 20 grove paused
active 5 juniper paused ready 10 ember failed ready 23 cobalt ready closed 12 harbor closed closed 8 birch active ready 20 grove paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012912-p1
Display complete lines where the second field falls within the range of 3 to 23, inclusive.
$2 >= 3 && $2 <= 23
active 4 ember closed ready 2 delta closed pending 17 birch active failed 17 amber failed active 8 fable pending active 1 harbor active failed 20 birch failed pending 24 grove pending ready 4 delta paused
active 4 ember closed pending 17 birch active failed 17 amber failed active 8 fable pending failed 20 birch failed ready 4 delta paused
active 5 juniper paused paused 28 delta paused ready 10 ember failed ready 23 cobalt ready ready 25 juniper failed closed 12 harbor closed closed 8 birch active closed 27 birch pending ready 20 grove paused
active 5 juniper paused ready 10 ember failed ready 23 cobalt ready closed 12 harbor closed closed 8 birch active ready 20 grove paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012912
qwen/qwen3.7-plus
awkweave-0012913
Print column 1 only for rows where column 4 is exactly active.
$4 == "active"{print $1}
lina birch 92 active bruno grove 101 pending farah birch 117 paused ivan juniper 12 failed lina juniper 100 failed ivan birch 60 pending alice harbor 80 pending chen harbor 36 closed dina grove 49 pending
lina
eli juniper 49 paused jules fable 90 ready farah harbor 108 ready alice fable 30 paused eli delta 1 closed ivan indigo 10 paused
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012913-p1
Output only the first column for rows where the fourth column contains exactly the text active.
$4 == "active"{print $1}
lina birch 92 active bruno grove 101 pending farah birch 117 paused ivan juniper 12 failed lina juniper 100 failed ivan birch 60 pending alice harbor 80 pending chen harbor 36 closed dina grove 49 pending
lina
eli juniper 49 paused jules fable 90 ready farah harbor 108 ready alice fable 30 paused eli delta 1 closed ivan indigo 10 paused
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012913
qwen/qwen3.7-plus
awkweave-0012914
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
WARN indigo 35 ERROR juniper 56 DEBUG fable 114 DEBUG grove 30 DEBUG grove 89 INFO cobalt 111 INFO amber 58
WARN indigo 35
DEBUG delta 116 ERROR amber 109 ERROR grove 103 DEBUG birch 115 INFO indigo 84 ERROR indigo 18 DEBUG cobalt 34 INFO ember 93
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012914-p1
Print all fields from lines where the first field starts with WARN.
$1 ~ /^WARN/
WARN indigo 35 ERROR juniper 56 DEBUG fable 114 DEBUG grove 30 DEBUG grove 89 INFO cobalt 111 INFO amber 58
WARN indigo 35
DEBUG delta 116 ERROR amber 109 ERROR grove 103 DEBUG birch 115 INFO indigo 84 ERROR indigo 18 DEBUG cobalt 34 INFO ember 93
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012914
qwen/qwen3.7-plus
awkweave-0012915
Print every line except those containing the exact text fable.
$0 !~ /fable/
juniper 48 closed cobalt 113 paused ember 101 ready indigo 106 active delta 120 closed fable 86 ready ember 61 ready fable 999 active
juniper 48 closed cobalt 113 paused ember 101 ready indigo 106 active delta 120 closed ember 61 ready
fable 102 closed grove 3 ready birch 32 failed birch 90 failed ember 115 paused fable 30 closed grove 78 active fable 999 active
grove 3 ready birch 32 failed birch 90 failed ember 115 paused grove 78 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012915-p1
Output every line except those that contain the exact string fable.
$0 !~ /fable/
juniper 48 closed cobalt 113 paused ember 101 ready indigo 106 active delta 120 closed fable 86 ready ember 61 ready fable 999 active
juniper 48 closed cobalt 113 paused ember 101 ready indigo 106 active delta 120 closed ember 61 ready
fable 102 closed grove 3 ready birch 32 failed birch 90 failed ember 115 paused fable 30 closed grove 78 active fable 999 active
grove 3 ready birch 32 failed birch 90 failed ember 115 paused grove 78 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012915
qwen/qwen3.7-plus
awkweave-0012916
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
gus cobalt 110 bruno indigo 83 alice juniper 34 chen ember 73 chen delta 18 kim ember 67 lina indigo 64 hana amber 28 bruno juniper 75
bruno indigo 83 alice juniper 34
dina birch 33 gus delta 69 hana harbor 109 hana delta 103 gus birch 74 kim ember 107
gus delta 69 hana harbor 109
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012916-p1
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
gus cobalt 110 bruno indigo 83 alice juniper 34 chen ember 73 chen delta 18 kim ember 67 lina indigo 64 hana amber 28 bruno juniper 75
bruno indigo 83 alice juniper 34
dina birch 33 gus delta 69 hana harbor 109 hana delta 103 gus birch 74 kim ember 107
gus delta 69 hana harbor 109
line_range
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0012916
qwen/qwen3.7-plus
awkweave-0012917
Output only the first 2 records.
NR <= 2
bruno 55 cobalt farah 0 juniper dina 47 birch chen 0 cobalt alice 78 amber dina 60 ember lina 76 cobalt
bruno 55 cobalt farah 0 juniper
eli 105 fable jules 106 indigo alice 67 birch jules 74 amber lina 12 amber hana 99 grove kim 81 ember gus 62 delta chen 102 ember
eli 105 fable jules 106 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012917-p1
Output only the first 2 records.
NR <= 2
bruno 55 cobalt farah 0 juniper dina 47 birch chen 0 cobalt alice 78 amber dina 60 ember lina 76 cobalt
bruno 55 cobalt farah 0 juniper
eli 105 fable jules 106 indigo alice 67 birch jules 74 amber lina 12 amber hana 99 grove kim 81 ember gus 62 delta chen 102 ember
eli 105 fable jules 106 indigo
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0012917
qwen/qwen3.7-plus
awkweave-0012918
Skip the first line and print every remaining line unchanged.
NR > 1
kim 117 delta alice 58 amber jules 90 grove jules 93 fable chen 26 ember hana 88 grove gus 34 fable dina 111 harbor jules 78 delta gus 86 ember
alice 58 amber jules 90 grove jules 93 fable chen 26 ember hana 88 grove gus 34 fable dina 111 harbor jules 78 delta gus 86 ember
bruno 58 fable eli 7 delta bruno 2 amber lina 105 grove hana 18 cobalt ivan 103 amber
eli 7 delta bruno 2 amber lina 105 grove hana 18 cobalt ivan 103 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012918-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
kim 117 delta alice 58 amber jules 90 grove jules 93 fable chen 26 ember hana 88 grove gus 34 fable dina 111 harbor jules 78 delta gus 86 ember
alice 58 amber jules 90 grove jules 93 fable chen 26 ember hana 88 grove gus 34 fable dina 111 harbor jules 78 delta gus 86 ember
bruno 58 fable eli 7 delta bruno 2 amber lina 105 grove hana 18 cobalt ivan 103 amber
eli 7 delta bruno 2 amber lina 105 grove hana 18 cobalt ivan 103 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012918
qwen/qwen3.7-plus
awkweave-0012919
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
kim paused 7 alice ready 58 farah active 73 bruno active 107 kim active 40 jules pending 101 jules ready 57
2
hana ready 109 jules failed 41 kim pending 88 dina closed 91 eli pending 44 alice paused 44 farah pending 118 farah active 72 gus paused 34
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012919-p1
Determine the number of entries where the second column contains 'ready', outputting 0 if no such entries exist.
$2 == "ready"{n++}END{print n+0}
kim paused 7 alice ready 58 farah active 73 bruno active 107 kim active 40 jules pending 101 jules ready 57
2
hana ready 109 jules failed 41 kim pending 88 dina closed 91 eli pending 44 alice paused 44 farah pending 118 farah active 72 gus paused 34
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012919
qwen/qwen3.7-plus
awkweave-0012920
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
22 bruno ember 27 alice cobalt 22 ivan indigo 1 alice cobalt 12 kim ember 9 hana delta 3 hana grove 18 gus juniper 12 alice harbor 26 gus grove
152
30 farah grove 12 farah ember 15 farah grove 3 alice cobalt 1 jules grove 2 chen delta
63
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012920-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
22 bruno ember 27 alice cobalt 22 ivan indigo 1 alice cobalt 12 kim ember 9 hana delta 3 hana grove 18 gus juniper 12 alice harbor 26 gus grove
152
30 farah grove 12 farah ember 15 farah grove 3 alice cobalt 1 jules grove 2 chen delta
63
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012920
qwen/qwen3.7-plus
awkweave-0012921
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt kim 10 fable lina 27 birch eli 30 amber alice 17 grove farah 12 juniper lina 19 harbor bruno 26
20.14
birch eli 27 delta alice 18 amber dina 22 amber gus 3 grove dina 11 fable hana 6 delta lina 23
15.71
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012921-p1
Output the average of the values in the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt kim 10 fable lina 27 birch eli 30 amber alice 17 grove farah 12 juniper lina 19 harbor bruno 26
20.14
birch eli 27 delta alice 18 amber dina 22 amber gus 3 grove dina 11 fable hana 6 delta lina 23
15.71
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012921
qwen/qwen3.7-plus
awkweave-0012922
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 14 gus indigo 14 bruno grove 28 dina ember 26 ivan ember 30 jules amber 25 hana
14
amber 27 farah juniper 19 jules grove 22 kim delta 26 farah birch 29 bruno harbor 21 ivan fable 1 jules cobalt 14 kim
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012922-p1
Identify and print the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 14 gus indigo 14 bruno grove 28 dina ember 26 ivan ember 30 jules amber 25 hana
14
amber 27 farah juniper 19 jules grove 22 kim delta 26 farah birch 29 bruno harbor 21 ivan fable 1 jules cobalt 14 kim
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012922
qwen/qwen3.7-plus
awkweave-0012923
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 10 chen fable 27 alice indigo 21 ivan fable 9 bruno indigo 27 ivan amber 1 hana indigo 19 hana
27
amber 11 gus fable 9 kim fable 24 lina indigo 24 lina indigo 1 chen amber 7 gus birch 28 alice juniper 5 ivan birch 14 chen
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012923-p1
Identify and print the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 10 chen fable 27 alice indigo 21 ivan fable 9 bruno indigo 27 ivan amber 1 hana indigo 19 hana
27
amber 11 gus fable 9 kim fable 24 lina indigo 24 lina indigo 1 chen amber 7 gus birch 28 alice juniper 5 ivan birch 14 chen
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012923
qwen/qwen3.7-plus
awkweave-0012924
Count all input records and print the total.
END{print NR}
alice 27 chen 3 lina 98 jules 31 kim 56 alice 50
6
bruno 22 farah 92 chen 66 farah 48 dina 87 bruno 69
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012924-p1
Count the total number of input records and print the result.
END{print NR}
alice 27 chen 3 lina 98 jules 31 kim 56 alice 50
6
bruno 22 farah 92 chen 66 farah 48 dina 87 bruno 69
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012924
qwen/qwen3.7-plus
awkweave-0012925
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice ember 57 hana cobalt 14 jules grove 100 kim harbor 72 kim harbor 72 eli ember 17 hana indigo 108 ivan cobalt 18
alice ember 57 hana cobalt 14 jules grove 100 kim harbor 72 eli ember 17 hana indigo 108 ivan cobalt 18
hana ember 109 hana harbor 104 farah birch 34 ivan amber 45 ivan birch 68 gus grove 20 ivan amber 45 alice juniper 105 lina juniper 42 dina juniper 5
hana ember 109 hana harbor 104 farah birch 34 ivan amber 45 ivan birch 68 gus grove 20 alice juniper 105 lina juniper 42 dina juniper 5
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012925-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
alice ember 57 hana cobalt 14 jules grove 100 kim harbor 72 kim harbor 72 eli ember 17 hana indigo 108 ivan cobalt 18
alice ember 57 hana cobalt 14 jules grove 100 kim harbor 72 eli ember 17 hana indigo 108 ivan cobalt 18
hana ember 109 hana harbor 104 farah birch 34 ivan amber 45 ivan birch 68 gus grove 20 ivan amber 45 alice juniper 105 lina juniper 42 dina juniper 5
hana ember 109 hana harbor 104 farah birch 34 ivan amber 45 ivan birch 68 gus grove 20 alice juniper 105 lina juniper 42 dina juniper 5
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012925
qwen/qwen3.7-plus
awkweave-0012926
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
hana indigo 46 dina amber 11 dina grove 32 alice delta 64 chen fable 11 lina harbor 111
hana indigo 46 dina amber 11 alice delta 64 chen fable 11 lina harbor 111
kim cobalt 80 jules harbor 61 chen fable 97 farah delta 57 dina amber 36 chen ember 105 ivan delta 107
kim cobalt 80 jules harbor 61 chen fable 97 farah delta 57 dina amber 36 ivan delta 107
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012926-p1
Retain only the first occurrence for every unique value in the first column, preserving the original order.
!seen[$1]++
hana indigo 46 dina amber 11 dina grove 32 alice delta 64 chen fable 11 lina harbor 111
hana indigo 46 dina amber 11 alice delta 64 chen fable 11 lina harbor 111
kim cobalt 80 jules harbor 61 chen fable 97 farah delta 57 dina amber 36 chen ember 105 ivan delta 107
kim cobalt 80 jules harbor 61 chen fable 97 farah delta 57 dina amber 36 ivan delta 107
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012926
qwen/qwen3.7-plus
awkweave-0012927
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 17 fable alice 13 grove lina 4 ember ivan 11 fable gus 16 grove chen 16 indigo farah 18 cobalt ivan 24 juniper bruno 5 delta
bruno 17 alice 30 lina 34 ivan 45 gus 61 chen 77 farah 95 ivan 119 bruno 124
alice 5 delta gus 19 birch gus 12 grove hana 11 amber bruno 18 juniper lina 27 ember
alice 5 gus 24 gus 36 hana 47 bruno 65 lina 92
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012927-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
bruno 17 fable alice 13 grove lina 4 ember ivan 11 fable gus 16 grove chen 16 indigo farah 18 cobalt ivan 24 juniper bruno 5 delta
bruno 17 alice 30 lina 34 ivan 45 gus 61 chen 77 farah 95 ivan 119 bruno 124
alice 5 delta gus 19 birch gus 12 grove hana 11 amber bruno 18 juniper lina 27 ember
alice 5 gus 24 gus 36 hana 47 bruno 65 lina 92
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012927
qwen/qwen3.7-plus
awkweave-0012928
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 26 8 indigo gus 25 9 fable ivan 13 26 delta ivan 10 8 harbor gus 18 17 indigo chen 27 20 indigo
alice 34 gus 34 ivan 39 ivan 18 gus 35 chen 47
eli 27 4 juniper gus 9 24 delta ivan 18 24 indigo gus 9 15 juniper lina 1 14 juniper farah 12 7 birch hana 20 7 delta kim 20 23 birch bruno 2 30 indigo
eli 31 gus 33 ivan 42 gus 24 lina 15 farah 19 hana 27 kim 43 bruno 32
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012928-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
alice 26 8 indigo gus 25 9 fable ivan 13 26 delta ivan 10 8 harbor gus 18 17 indigo chen 27 20 indigo
alice 34 gus 34 ivan 39 ivan 18 gus 35 chen 47
eli 27 4 juniper gus 9 24 delta ivan 18 24 indigo gus 9 15 juniper lina 1 14 juniper farah 12 7 birch hana 20 7 delta kim 20 23 birch bruno 2 30 indigo
eli 31 gus 33 ivan 42 gus 24 lina 15 farah 19 hana 27 kim 43 bruno 32
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012928
qwen/qwen3.7-plus
awkweave-0012929
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
kim 22 farah 4 eli 20 bruno 29 lina 4 bruno 11
kim fail farah fail eli fail bruno pass lina fail bruno fail
jules 1 lina 6 eli 11 alice 15 lina 23 alice 16 dina 17 kim 1 jules 14
jules fail lina fail eli fail alice fail lina fail alice fail dina fail kim fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012929-p1
Output the first column along with 'pass' if the second column is 26 or greater; otherwise, output 'fail'.
{print $1,($2>=26?"pass":"fail")}
kim 22 farah 4 eli 20 bruno 29 lina 4 bruno 11
kim fail farah fail eli fail bruno pass lina fail bruno fail
jules 1 lina 6 eli 11 alice 15 lina 23 alice 16 dina 17 kim 1 jules 14
jules fail lina fail eli fail alice fail lina fail alice fail dina fail kim fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012929
qwen/qwen3.7-plus
awkweave-0012930
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno ember 100 gus harbor 52 ivan ember 90 dina harbor 58 lina ember 15 farah ember 13 lina ember 26
BRUNO GUS IVAN DINA LINA FARAH LINA
dina fable 63 kim birch 92 ivan birch 2 eli fable 93 lina indigo 18 alice cobalt 63 kim juniper 98 alice ember 0 bruno amber 91 alice grove 77
DINA KIM IVAN ELI LINA ALICE KIM ALICE BRUNO ALICE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012930-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
bruno ember 100 gus harbor 52 ivan ember 90 dina harbor 58 lina ember 15 farah ember 13 lina ember 26
BRUNO GUS IVAN DINA LINA FARAH LINA
dina fable 63 kim birch 92 ivan birch 2 eli fable 93 lina indigo 18 alice cobalt 63 kim juniper 98 alice ember 0 bruno amber 91 alice grove 77
DINA KIM IVAN ELI LINA ALICE KIM ALICE BRUNO ALICE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012930
qwen/qwen3.7-plus
awkweave-0012931
From column 1, print 2 characters starting at character 3.
{print substr($1,3,2)}
cobalt 1 amber 48 harbor 10 cobalt 106 grove 117 birch 91 grove 0
ba be rb ba ov rc ov
harbor 11 birch 43 delta 35 fable 43 grove 80 grove 99 harbor 113 juniper 10 fable 60
rb rc lt bl ov ov rb ni bl
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012931-p1
Extract and print a 2-character substring from column 1, beginning at the third character.
{print substr($1,3,2)}
cobalt 1 amber 48 harbor 10 cobalt 106 grove 117 birch 91 grove 0
ba be rb ba ov rc ov
harbor 11 birch 43 delta 35 fable 43 grove 80 grove 99 harbor 113 juniper 10 fable 60
rb rc lt bl ov ov rb ni bl
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012931
qwen/qwen3.7-plus
awkweave-0012932
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_ember 98 fable_ember 49 grove_juniper 114 delta_delta 115 indigo_juniper 111 juniper_birch 72
birch ember fable ember grove juniper delta delta indigo juniper juniper birch
grove_fable 15 fable_indigo 0 amber_indigo 8 grove_grove 112 grove_indigo 39 cobalt_amber 94 delta_grove 59 delta_harbor 89
grove fable fable indigo amber indigo grove grove grove indigo cobalt amber delta grove delta harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012932-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
birch_ember 98 fable_ember 49 grove_juniper 114 delta_delta 115 indigo_juniper 111 juniper_birch 72
birch ember fable ember grove juniper delta delta indigo juniper juniper birch
grove_fable 15 fable_indigo 0 amber_indigo 8 grove_grove 112 grove_indigo 39 cobalt_amber 94 delta_grove 59 delta_harbor 89
grove fable fable indigo amber indigo grove grove grove indigo cobalt amber delta grove delta harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012932
qwen/qwen3.7-plus
awkweave-0012933
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules indigo 105 ready bruno amber 54 pending eli birch 92 pending kim cobalt 8 paused chen cobalt 6 closed jules ember 65 active hana indigo 31 pending lina delta 114 active
ready 105 indigo jules pending 54 amber bruno pending 92 birch eli paused 8 cobalt kim closed 6 cobalt chen active 65 ember jules pending 31 indigo hana active 114 delta lina
ivan indigo 111 pending hana delta 71 closed jules ember 29 ready lina grove 44 ready ivan birch 9 pending eli cobalt 7 active lina amber 59 ready
pending 111 indigo ivan closed 71 delta hana ready 29 ember jules ready 44 grove lina pending 9 birch ivan active 7 cobalt eli ready 59 amber lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012933-p1
Reverse the sequence of fields for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
jules indigo 105 ready bruno amber 54 pending eli birch 92 pending kim cobalt 8 paused chen cobalt 6 closed jules ember 65 active hana indigo 31 pending lina delta 114 active
ready 105 indigo jules pending 54 amber bruno pending 92 birch eli paused 8 cobalt kim closed 6 cobalt chen active 65 ember jules pending 31 indigo hana active 114 delta lina
ivan indigo 111 pending hana delta 71 closed jules ember 29 ready lina grove 44 ready ivan birch 9 pending eli cobalt 7 active lina amber 59 ready
pending 111 indigo ivan closed 71 delta hana ready 29 ember jules ready 44 grove lina pending 9 birch ivan active 7 cobalt eli ready 59 amber lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012933
qwen/qwen3.7-plus
awkweave-0012934
Print the number of whitespace-separated fields on each line.
{print NF}
dina delta 71 paused gus harbor 112 pending farah fable 31 active bruno grove 97 ready ivan grove 15 ready eli juniper 5 closed hana harbor 116 active alice harbor 19 closed
4 4 4 4 4 4 4 4
dina amber 12 ready alice fable 117 ready hana juniper 72 failed alice amber 32 failed kim ember 45 closed dina cobalt 83 paused
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012934-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
dina delta 71 paused gus harbor 112 pending farah fable 31 active bruno grove 97 ready ivan grove 15 ready eli juniper 5 closed hana harbor 116 active alice harbor 19 closed
4 4 4 4 4 4 4 4
dina amber 12 ready alice fable 117 ready hana juniper 72 failed alice amber 32 failed kim ember 45 closed dina cobalt 83 paused
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012934
qwen/qwen3.7-plus
awkweave-0012935
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno alpha 117 bruno delta 59 bruno delta 40 gus alpha 15 eli beta 14 ivan delta 94 hana alpha 66
alpha 3 delta 3 beta 1
lina beta 80 bruno alpha 66 chen alpha 60 dina gamma 89 kim alpha 76 ivan alpha 68 farah beta 15 eli gamma 97 dina alpha 116 kim gamma 79
beta 2 alpha 5 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012935-p1
Tally the occurrences of each unique value in column 2, preserving the order of first appearance, and print each value alongside its count.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
bruno alpha 117 bruno delta 59 bruno delta 40 gus alpha 15 eli beta 14 ivan delta 94 hana alpha 66
alpha 3 delta 3 beta 1
lina beta 80 bruno alpha 66 chen alpha 60 dina gamma 89 kim alpha 76 ivan alpha 68 farah beta 15 eli gamma 97 dina alpha 116 kim gamma 79
beta 2 alpha 5 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012935
qwen/qwen3.7-plus
awkweave-0012936
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]]}
hana beta 11 jules alpha 1 eli gamma 25 alice beta 27 jules beta 28 ivan beta 26 bruno delta 6 hana alpha 21 lina beta 24
beta 116 alpha 22 gamma 25 delta 6
alice beta 30 eli delta 23 eli gamma 6 farah gamma 7 bruno gamma 20 chen beta 27 ivan alpha 19 ivan delta 30
beta 57 delta 53 gamma 33 alpha 19
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012936-p1
Calculate the sum of column 3 grouped by column 2 categories, maintaining the order in which groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana beta 11 jules alpha 1 eli gamma 25 alice beta 27 jules beta 28 ivan beta 26 bruno delta 6 hana alpha 21 lina beta 24
beta 116 alpha 22 gamma 25 delta 6
alice beta 30 eli delta 23 eli gamma 6 farah gamma 7 bruno gamma 20 chen beta 27 ivan alpha 19 ivan delta 30
beta 57 delta 53 gamma 33 alpha 19
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012936
qwen/qwen3.7-plus
awkweave-0012937
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]]}
beta grove 78 alpha indigo 84 alpha fable 12 alpha birch 13 delta delta 46 delta indigo 15 gamma harbor 71 delta cobalt 80 gamma fable 45
alpha 3 delta 3 gamma 2
delta birch 94 gamma cobalt 48 alpha juniper 15 gamma grove 54 alpha indigo 53 gamma amber 21 alpha juniper 119 delta amber 89 gamma juniper 6 gamma birch 52
delta 2 gamma 5 alpha 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012937-p1
List each duplicate value from column 1 along with its frequency, 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]]}
beta grove 78 alpha indigo 84 alpha fable 12 alpha birch 13 delta delta 46 delta indigo 15 gamma harbor 71 delta cobalt 80 gamma fable 45
alpha 3 delta 3 gamma 2
delta birch 94 gamma cobalt 48 alpha juniper 15 gamma grove 54 alpha indigo 53 gamma amber 21 alpha juniper 119 delta amber 89 gamma juniper 6 gamma birch 52
delta 2 gamma 5 alpha 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012937
qwen/qwen3.7-plus
awkweave-0012938
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id region note display_name r001 kim 22 failed r002 bruno 1 failed r003 dina 21 closed r004 eli 24 active r005 lina 4 paused r006 lina 6 failed r007 hana 29 pending r008 alice 15 failed r009 chen 25 active r010 alice 22 pending
22 1 21 24 4 6 29 15 25 22
record_id region note display_name r001 alice 3 failed r002 dina 21 failed r003 eli 9 active r004 alice 13 pending r005 gus 17 pending r006 chen 13 closed
3 21 9 13 17 13
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012938-p1
Treating the first row as a header, output the contents of the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
record_id region note display_name r001 kim 22 failed r002 bruno 1 failed r003 dina 21 closed r004 eli 24 active r005 lina 4 paused r006 lina 6 failed r007 hana 29 pending r008 alice 15 failed r009 chen 25 active r010 alice 22 pending
22 1 21 24 4 6 29 15 25 22
record_id region note display_name r001 alice 3 failed r002 dina 21 failed r003 eli 9 active r004 alice 13 pending r005 gus 17 pending r006 chen 13 closed
3 21 9 13 17 13
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012938
qwen/qwen3.7-plus
awkweave-0012939
The first row is a header. Print display_name for data rows whose score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 alice 2 closed r002 lina 10 ready r003 eli 1 active r004 dina 18 paused r005 bruno 7 pending r006 kim 28 pending r007 jules 22 closed r008 chen 15 closed
kim jules
record_id display_name score state r001 bruno 29 paused r002 jules 14 failed r003 gus 2 paused r004 eli 16 pending r005 eli 18 paused r006 bruno 26 closed r007 ivan 4 paused r008 eli 16 failed
bruno bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0012939-p1
With the first row as a header, print the display_name field for data rows where the score is greater than 21.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]}
record_id display_name score state r001 alice 2 closed r002 lina 10 ready r003 eli 1 active r004 dina 18 paused r005 bruno 7 pending r006 kim 28 pending r007 jules 22 closed r008 chen 15 closed
kim jules
record_id display_name score state r001 bruno 29 paused r002 jules 14 failed r003 gus 2 paused r004 eli 16 pending r005 eli 18 paused r006 bruno 26 closed r007 ivan 4 paused r008 eli 16 failed
bruno bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0012939
qwen/qwen3.7-plus
awkweave-0012940
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
chen 14 active farah 4 failed hana 18 ready alice 2 paused bruno 8 pending hana 9 failed farah 30 closed
14 4 18 2 8 9 30
alice 4 pending gus 10 pending hana 4 failed ivan 22 ready jules 30 failed alice 17 pending alice 22 paused chen 30 ready eli 12 paused
4 10 4 22 30 17 22 30 12
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null