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-0011830-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
alice 14 juniper eli 5 birch ivan 14 fable hana 2 delta jules 18 birch lina 6 fable hana 18 cobalt kim 5 harbor
2
kim 15 birch ivan 27 birch jules 15 cobalt kim 18 harbor gus 5 delta gus 19 fable jules 5 harbor jules 29 grove dina 29 juniper
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011830
qwen/qwen3.7-plus
awkweave-0011831
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember chen 15 juniper alice 1 harbor lina 16 grove bruno 14 juniper gus 2 fable farah 30 fable eli 26
30
amber jules 7 grove chen 19 birch lina 19 fable ivan 14 grove dina 10 cobalt hana 1 harbor kim 13 birch chen 18 juniper alice 6
19
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011831-p1
Identify and output the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
ember chen 15 juniper alice 1 harbor lina 16 grove bruno 14 juniper gus 2 fable farah 30 fable eli 26
30
amber jules 7 grove chen 19 birch lina 19 fable ivan 14 grove dina 10 cobalt hana 1 harbor kim 13 birch chen 18 juniper alice 6
19
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011831
qwen/qwen3.7-plus
awkweave-0011832
Count all input records and print the total.
END{print NR}
chen 96 dina 54 chen 79 gus 119 farah 98 jules 49
6
dina 81 gus 21 alice 13 gus 52 ivan 38 eli 86 lina 11 hana 43
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011832-p1
Count the total number of input records and print the result.
END{print NR}
chen 96 dina 54 chen 79 gus 119 farah 98 jules 49
6
dina 81 gus 21 alice 13 gus 52 ivan 38 eli 86 lina 11 hana 43
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011832
qwen/qwen3.7-plus
awkweave-0011833
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana fable 43 gus juniper 4 chen fable 107 jules amber 101 alice harbor 28 alice harbor 28 chen harbor 66 jules delta 118 bruno ember 26
hana fable 43 gus juniper 4 chen fable 107 jules amber 101 alice harbor 28 chen harbor 66 jules delta 118 bruno ember 26
dina birch 114 gus juniper 58 farah delta 15 alice ember 62 dina birch 114 lina delta 47 gus amber 29 hana birch 21
dina birch 114 gus juniper 58 farah delta 15 alice ember 62 lina delta 47 gus amber 29 hana birch 21
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011833-p1
Eliminate duplicate lines while keeping the first instance and maintaining original sequence.
!seen[$0]++
hana fable 43 gus juniper 4 chen fable 107 jules amber 101 alice harbor 28 alice harbor 28 chen harbor 66 jules delta 118 bruno ember 26
hana fable 43 gus juniper 4 chen fable 107 jules amber 101 alice harbor 28 chen harbor 66 jules delta 118 bruno ember 26
dina birch 114 gus juniper 58 farah delta 15 alice ember 62 dina birch 114 lina delta 47 gus amber 29 hana birch 21
dina birch 114 gus juniper 58 farah delta 15 alice ember 62 lina delta 47 gus amber 29 hana birch 21
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011833
qwen/qwen3.7-plus
awkweave-0011834
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
eli juniper 27 kim birch 54 bruno ember 117 kim indigo 47 bruno indigo 67 dina amber 120 alice ember 57 alice ember 43
eli juniper 27 kim birch 54 bruno ember 117 dina amber 120 alice ember 57
jules delta 5 jules indigo 54 jules delta 40 alice grove 19 bruno amber 67 gus delta 75 alice fable 63 chen delta 36 lina indigo 5
jules delta 5 alice grove 19 bruno amber 67 gus delta 75 chen delta 36 lina indigo 5
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011834-p1
Retain only the first occurrence for each unique value in column 1, keeping input order.
!seen[$1]++
eli juniper 27 kim birch 54 bruno ember 117 kim indigo 47 bruno indigo 67 dina amber 120 alice ember 57 alice ember 43
eli juniper 27 kim birch 54 bruno ember 117 dina amber 120 alice ember 57
jules delta 5 jules indigo 54 jules delta 40 alice grove 19 bruno amber 67 gus delta 75 alice fable 63 chen delta 36 lina indigo 5
jules delta 5 alice grove 19 bruno amber 67 gus delta 75 chen delta 36 lina indigo 5
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011834
qwen/qwen3.7-plus
awkweave-0011835
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 7 birch chen 12 grove bruno 25 delta dina 6 delta dina 25 grove bruno 5 indigo hana 13 juniper jules 29 juniper
chen 7 chen 19 bruno 44 dina 50 dina 75 bruno 80 hana 93 jules 122
lina 26 ember eli 18 birch ivan 10 harbor alice 6 fable lina 13 grove lina 3 cobalt alice 23 birch
lina 26 eli 44 ivan 54 alice 60 lina 73 lina 76 alice 99
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011835-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 7 birch chen 12 grove bruno 25 delta dina 6 delta dina 25 grove bruno 5 indigo hana 13 juniper jules 29 juniper
chen 7 chen 19 bruno 44 dina 50 dina 75 bruno 80 hana 93 jules 122
lina 26 ember eli 18 birch ivan 10 harbor alice 6 fable lina 13 grove lina 3 cobalt alice 23 birch
lina 26 eli 44 ivan 54 alice 60 lina 73 lina 76 alice 99
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011835
qwen/qwen3.7-plus
awkweave-0011836
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 15 22 juniper jules 12 22 indigo chen 5 28 indigo farah 29 29 delta ivan 9 3 cobalt gus 27 27 delta bruno 5 29 amber bruno 8 9 ember hana 26 23 delta kim 19 22 juniper
farah 37 jules 34 chen 33 farah 58 ivan 12 gus 54 bruno 34 bruno 17 hana 49 kim 41
bruno 9 17 harbor kim 6 19 delta dina 6 27 birch ivan 13 25 grove bruno 8 21 amber dina 12 9 ember
bruno 26 kim 25 dina 33 ivan 38 bruno 29 dina 21
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011836-p1
For each line, output the first field followed by the total of the second and third fields.
{print $1,$2+$3}
farah 15 22 juniper jules 12 22 indigo chen 5 28 indigo farah 29 29 delta ivan 9 3 cobalt gus 27 27 delta bruno 5 29 amber bruno 8 9 ember hana 26 23 delta kim 19 22 juniper
farah 37 jules 34 chen 33 farah 58 ivan 12 gus 54 bruno 34 bruno 17 hana 49 kim 41
bruno 9 17 harbor kim 6 19 delta dina 6 27 birch ivan 13 25 grove bruno 8 21 amber dina 12 9 ember
bruno 26 kim 25 dina 33 ivan 38 bruno 29 dina 21
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011836
qwen/qwen3.7-plus
awkweave-0011837
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
hana 19 farah 9 chen 27 ivan 22 alice 5 hana 20 dina 12 kim 22 gus 11 hana 12
hana fail farah fail chen pass ivan fail alice fail hana fail dina fail kim fail gus fail hana fail
bruno 4 eli 25 gus 6 hana 1 jules 22 lina 4 jules 20
bruno fail eli pass gus fail hana fail jules fail lina fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011837-p1
Output the first column; if the second column is 23 or higher, print pass, otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
hana 19 farah 9 chen 27 ivan 22 alice 5 hana 20 dina 12 kim 22 gus 11 hana 12
hana fail farah fail chen pass ivan fail alice fail hana fail dina fail kim fail gus fail hana fail
bruno 4 eli 25 gus 6 hana 1 jules 22 lina 4 jules 20
bruno fail eli pass gus fail hana fail jules fail lina fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011837
qwen/qwen3.7-plus
awkweave-0011838
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno grove 28 lina birch 105 bruno birch 45 lina grove 40 eli ember 89 kim ember 18 hana amber 58 farah grove 23
BRUNO LINA BRUNO LINA ELI KIM HANA FARAH
bruno juniper 67 dina indigo 24 jules amber 49 bruno grove 67 farah harbor 60 lina amber 2 hana grove 11 bruno ember 0 lina delta 40 chen birch 94
BRUNO DINA JULES BRUNO FARAH LINA HANA BRUNO LINA CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011838-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
bruno grove 28 lina birch 105 bruno birch 45 lina grove 40 eli ember 89 kim ember 18 hana amber 58 farah grove 23
BRUNO LINA BRUNO LINA ELI KIM HANA FARAH
bruno juniper 67 dina indigo 24 jules amber 49 bruno grove 67 farah harbor 60 lina amber 2 hana grove 11 bruno ember 0 lina delta 40 chen birch 94
BRUNO DINA JULES BRUNO FARAH LINA HANA BRUNO LINA CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011838
qwen/qwen3.7-plus
awkweave-0011839
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
cobalt 18 grove 80 fable 118 cobalt 72 juniper 4 harbor 27 amber 107 juniper 30 ember 115 birch 90
obal rove able obal unip arbo mber unip mber irch
harbor 0 grove 3 indigo 110 grove 100 birch 86 juniper 1 delta 1 indigo 42 amber 49
arbo rove ndig rove irch unip elta ndig mber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011839-p1
Extract and print a 4-character substring from the first column, beginning at the second character.
{print substr($1,2,4)}
cobalt 18 grove 80 fable 118 cobalt 72 juniper 4 harbor 27 amber 107 juniper 30 ember 115 birch 90
obal rove able obal unip arbo mber unip mber irch
harbor 0 grove 3 indigo 110 grove 100 birch 86 juniper 1 delta 1 indigo 42 amber 49
arbo rove ndig rove irch unip elta ndig mber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011839
qwen/qwen3.7-plus
awkweave-0011840
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_cobalt 89 ember_harbor 93 indigo_fable 101 amber_indigo 6 amber_indigo 115 amber_cobalt 107 cobalt_grove 29 juniper_harbor 93 juniper_amber 82 grove_birch 50
birch cobalt ember harbor indigo fable amber indigo amber indigo amber cobalt cobalt grove juniper harbor juniper amber grove birch
birch_indigo 84 cobalt_ember 64 cobalt_delta 98 ember_birch 42 amber_birch 60 grove_grove 101 cobalt_indigo 117
birch indigo cobalt ember cobalt delta ember birch amber birch grove grove cobalt indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011840-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_cobalt 89 ember_harbor 93 indigo_fable 101 amber_indigo 6 amber_indigo 115 amber_cobalt 107 cobalt_grove 29 juniper_harbor 93 juniper_amber 82 grove_birch 50
birch cobalt ember harbor indigo fable amber indigo amber indigo amber cobalt cobalt grove juniper harbor juniper amber grove birch
birch_indigo 84 cobalt_ember 64 cobalt_delta 98 ember_birch 42 amber_birch 60 grove_grove 101 cobalt_indigo 117
birch indigo cobalt ember cobalt delta ember birch amber birch grove grove cobalt indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011840
qwen/qwen3.7-plus
awkweave-0011841
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)}
dina juniper 80 paused farah grove 96 active gus grove 60 failed ivan ember 40 failed gus delta 77 active lina delta 115 closed ivan delta 12 ready jules amber 108 ready gus ember 38 ready dina harbor 56 active
paused 80 juniper dina active 96 grove farah failed 60 grove gus failed 40 ember ivan active 77 delta gus closed 115 delta lina ready 12 delta ivan ready 108 amber jules ready 38 ember gus active 56 harbor dina
farah grove 83 pending chen grove 25 pending ivan ember 38 paused farah birch 8 active jules grove 72 paused farah amber 86 pending ivan grove 72 paused
pending 83 grove farah pending 25 grove chen paused 38 ember ivan active 8 birch farah paused 72 grove jules pending 86 amber farah paused 72 grove ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011841-p1
Reverse the sequence of fields for every line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina juniper 80 paused farah grove 96 active gus grove 60 failed ivan ember 40 failed gus delta 77 active lina delta 115 closed ivan delta 12 ready jules amber 108 ready gus ember 38 ready dina harbor 56 active
paused 80 juniper dina active 96 grove farah failed 60 grove gus failed 40 ember ivan active 77 delta gus closed 115 delta lina ready 12 delta ivan ready 108 amber jules ready 38 ember gus active 56 harbor dina
farah grove 83 pending chen grove 25 pending ivan ember 38 paused farah birch 8 active jules grove 72 paused farah amber 86 pending ivan grove 72 paused
pending 83 grove farah pending 25 grove chen paused 38 ember ivan active 8 birch farah paused 72 grove jules pending 86 amber farah paused 72 grove ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011841
qwen/qwen3.7-plus
awkweave-0011842
Print the number of whitespace-separated fields on each line.
{print NF}
jules ember 86 paused chen delta 101 paused jules birch 72 closed lina juniper 1 failed hana birch 34 closed eli harbor 18 closed
4 4 4 4 4 4
ivan ember 63 closed farah harbor 52 ready chen amber 80 pending farah birch 48 pending kim birch 28 active lina grove 40 closed jules birch 65 failed hana delta 29 ready eli ember 118 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011842-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
jules ember 86 paused chen delta 101 paused jules birch 72 closed lina juniper 1 failed hana birch 34 closed eli harbor 18 closed
4 4 4 4 4 4
ivan ember 63 closed farah harbor 52 ready chen amber 80 pending farah birch 48 pending kim birch 28 active lina grove 40 closed jules birch 65 failed hana delta 29 ready eli ember 118 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011842
qwen/qwen3.7-plus
awkweave-0011843
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]]}
chen beta 2 eli alpha 78 alice delta 96 ivan gamma 12 farah delta 22 chen gamma 119 lina beta 66
beta 2 alpha 1 delta 2 gamma 2
lina beta 64 lina beta 82 eli beta 100 gus alpha 66 alice beta 46 eli delta 28 farah beta 5 gus alpha 89
beta 5 alpha 2 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011843-p1
Tally the records for each unique value in the second column and print each value alongside its count, maintaining the 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]]}
chen beta 2 eli alpha 78 alice delta 96 ivan gamma 12 farah delta 22 chen gamma 119 lina beta 66
beta 2 alpha 1 delta 2 gamma 2
lina beta 64 lina beta 82 eli beta 100 gus alpha 66 alice beta 46 eli delta 28 farah beta 5 gus alpha 89
beta 5 alpha 2 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011843
qwen/qwen3.7-plus
awkweave-0011844
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]]}
gus gamma 5 jules beta 24 lina gamma 22 lina beta 21 ivan alpha 28 ivan gamma 27 eli delta 22 eli beta 22
gamma 54 beta 67 alpha 28 delta 22
eli beta 1 eli delta 29 alice alpha 15 lina alpha 29 alice alpha 22 dina gamma 17
beta 1 delta 29 alpha 66 gamma 17
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011844-p1
Calculate the sum of the third column grouped by the second column's categories, printing the results in the order the 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]]}
gus gamma 5 jules beta 24 lina gamma 22 lina beta 21 ivan alpha 28 ivan gamma 27 eli delta 22 eli beta 22
gamma 54 beta 67 alpha 28 delta 22
eli beta 1 eli delta 29 alice alpha 15 lina alpha 29 alice alpha 22 dina gamma 17
beta 1 delta 29 alpha 66 gamma 17
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011844
qwen/qwen3.7-plus
awkweave-0011845
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]]}
delta indigo 108 beta indigo 21 delta cobalt 84 beta birch 61 beta cobalt 101 alpha harbor 41
delta 2 beta 3
gamma cobalt 44 delta delta 30 delta harbor 108 gamma cobalt 55 gamma juniper 12 delta fable 117 gamma birch 112 alpha fable 6
gamma 4 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011845-p1
List each duplicate value from the first column 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]]}
delta indigo 108 beta indigo 21 delta cobalt 84 beta birch 61 beta cobalt 101 alpha harbor 41
delta 2 beta 3
gamma cobalt 44 delta delta 30 delta harbor 108 gamma cobalt 55 gamma juniper 12 delta fable 117 gamma birch 112 alpha fable 6
gamma 4 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011845
qwen/qwen3.7-plus
awkweave-0011846
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name note region score r001 jules 30 ready r002 jules 29 closed r003 gus 19 closed r004 kim 6 active r005 farah 26 failed r006 bruno 4 closed r007 chen 1 paused r008 farah 15 closed r009 farah 1 failed r010 farah 9 failed
ready closed closed active failed closed paused closed failed failed
display_name note region score r001 eli 21 active r002 hana 7 failed r003 farah 9 active r004 bruno 16 active r005 dina 23 active r006 lina 5 pending r007 lina 4 closed r008 hana 16 ready r009 kim 24 active r010 lina 5 pending
active failed active active active pending closed ready active pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011846-p1
Treating the first row as a header, output the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name note region score r001 jules 30 ready r002 jules 29 closed r003 gus 19 closed r004 kim 6 active r005 farah 26 failed r006 bruno 4 closed r007 chen 1 paused r008 farah 15 closed r009 farah 1 failed r010 farah 9 failed
ready closed closed active failed closed paused closed failed failed
display_name note region score r001 eli 21 active r002 hana 7 failed r003 farah 9 active r004 bruno 16 active r005 dina 23 active r006 lina 5 pending r007 lina 4 closed r008 hana 16 ready r009 kim 24 active r010 lina 5 pending
active failed active active active pending closed ready active pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011846
qwen/qwen3.7-plus
awkweave-0011847
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 kim 24 failed r002 hana 19 ready r003 gus 18 ready r004 chen 17 failed r005 farah 7 pending r006 gus 14 failed r007 hana 19 ready r008 jules 3 paused
kim hana gus chen gus hana
record_id display_name score state r001 eli 13 failed r002 hana 14 paused r003 gus 1 paused r004 jules 13 active r005 bruno 2 paused r006 farah 9 ready r007 gus 9 pending r008 ivan 4 paused
eli hana jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011847-p1
With the first row as a header, print the display_name for data rows where the score exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 kim 24 failed r002 hana 19 ready r003 gus 18 ready r004 chen 17 failed r005 farah 7 pending r006 gus 14 failed r007 hana 19 ready r008 jules 3 paused
kim hana gus chen gus hana
record_id display_name score state r001 eli 13 failed r002 hana 14 paused r003 gus 1 paused r004 jules 13 active r005 bruno 2 paused r006 farah 9 ready r007 gus 9 pending r008 ivan 4 paused
eli hana jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011847
qwen/qwen3.7-plus
awkweave-0011848
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 17 closed jules 9 paused lina 22 active ivan 29 paused alice 25 paused kim 28 paused farah 5 closed alice 8 ready lina 11 closed gus 9 active
17 9 22 29 25 28 5 8 11 9
farah 15 pending alice 12 ready gus 16 closed hana 26 closed alice 17 pending farah 2 active eli 1 pending lina 26 ready
15 12 16 26 17 2 1 26
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011848-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 17 closed jules 9 paused lina 22 active ivan 29 paused alice 25 paused kim 28 paused farah 5 closed alice 8 ready lina 11 closed gus 9 active
17 9 22 29 25 28 5 8 11 9
farah 15 pending alice 12 ready gus 16 closed hana 26 closed alice 17 pending farah 2 active eli 1 pending lina 26 ready
15 12 16 26 17 2 1 26
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0011848
qwen/qwen3.7-plus
awkweave-0011849
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}
dina,19,ready farah,9,ready gus,2,failed jules,29,failed gus,2,failed kim,19,pending bruno,19,active gus,10,active lina,26,closed gus,1,active
dina jules kim bruno lina
gus,7,active kim,14,failed lina,11,pending jules,25,paused chen,10,active bruno,14,failed chen,23,closed jules,25,closed
kim jules bruno chen jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011849-p1
Output the first field of comma-separated rows where the second field is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
dina,19,ready farah,9,ready gus,2,failed jules,29,failed gus,2,failed kim,19,pending bruno,19,active gus,10,active lina,26,closed gus,1,active
dina jules kim bruno lina
gus,7,active kim,14,failed lina,11,pending jules,25,paused chen,10,active bruno,14,failed chen,23,closed jules,25,closed
kim jules bruno chen jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011849
qwen/qwen3.7-plus
awkweave-0011850
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice indigo 71 chen harbor 66 hana birch 8 lina juniper 81 lina cobalt 33 ivan indigo 19 eli juniper 7 bruno juniper 95
alice indigo 71 chen harbor 66 hana birch 8 lina juniper 81 lina cobalt 33 ivan indigo 19 eli juniper 7 bruno juniper 95
kim harbor 99 bruno ember 12 kim juniper 25 jules cobalt 2 alice fable 61 kim delta 68 dina juniper 73
kim harbor 99 bruno ember 12 kim juniper 25 jules cobalt 2 alice fable 61 kim delta 68 dina juniper 73
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011850-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice indigo 71 chen harbor 66 hana birch 8 lina juniper 81 lina cobalt 33 ivan indigo 19 eli juniper 7 bruno juniper 95
alice indigo 71 chen harbor 66 hana birch 8 lina juniper 81 lina cobalt 33 ivan indigo 19 eli juniper 7 bruno juniper 95
kim harbor 99 bruno ember 12 kim juniper 25 jules cobalt 2 alice fable 61 kim delta 68 dina juniper 73
kim harbor 99 bruno ember 12 kim juniper 25 jules cobalt 2 alice fable 61 kim delta 68 dina juniper 73
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011850
qwen/qwen3.7-plus
awkweave-0011851
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen amber 113 ready chen delta 12 ready jules juniper 34 failed alice grove 90 failed chen birch 101 pending dina birch 74 closed
jules juniper 34 failed
farah cobalt 98 failed farah harbor 45 ready bruno grove 75 closed chen harbor 69 pending farah grove 45 active jules birch 19 failed eli delta 102 ready gus grove 16 failed bruno harbor 15 failed farah grove 22 paused
farah cobalt 98 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011851-p1
Identify and output the longest line from the input, selecting the first one encountered in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
chen amber 113 ready chen delta 12 ready jules juniper 34 failed alice grove 90 failed chen birch 101 pending dina birch 74 closed
jules juniper 34 failed
farah cobalt 98 failed farah harbor 45 ready bruno grove 75 closed chen harbor 69 pending farah grove 45 active jules birch 19 failed eli delta 102 ready gus grove 16 failed bruno harbor 15 failed farah grove 22 paused
farah cobalt 98 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011851
qwen/qwen3.7-plus
awkweave-0011852
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
dina 20 kim 90 ivan 0 bruno 4 hana 58 hana 54 alice 79 kim 4 dina 27
dina 20 bruno 4 alice 79
farah 86 bruno 75 eli 32 jules 35 dina 78 alice 48
farah 86 jules 35
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011852-p1
Print lines 1, 4, 7, and so on (every third line starting from the first).
NR%3==1
dina 20 kim 90 ivan 0 bruno 4 hana 58 hana 54 alice 79 kim 4 dina 27
dina 20 bruno 4 alice 79
farah 86 bruno 75 eli 32 jules 35 dina 78 alice 48
farah 86 jules 35
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011852
qwen/qwen3.7-plus
awkweave-0011853
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 97 beta cobalt 113 beta delta 41 gamma fable 74 beta juniper 23 delta amber 57 delta ember 60 delta ember 84 beta grove 86
3
gamma amber 68 beta ember 95 alpha amber 31 delta amber 43 alpha cobalt 5 gamma juniper 46 delta grove 96 delta indigo 71 delta harbor 85
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011853-p1
Calculate and display the number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
gamma birch 97 beta cobalt 113 beta delta 41 gamma fable 74 beta juniper 23 delta amber 57 delta ember 60 delta ember 84 beta grove 86
3
gamma amber 68 beta ember 95 alpha amber 31 delta amber 43 alpha cobalt 5 gamma juniper 46 delta grove 96 delta indigo 71 delta harbor 85
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011853
qwen/qwen3.7-plus
awkweave-0011854
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 29 0 bruno 28 26 kim 5 15 bruno 24 28 gus 16 20 bruno 26 5 farah 27 9 dina 27 15 lina 14 28
bruno 1.08 kim 0.33 bruno 0.86 gus 0.80 bruno 5.20 farah 3.00 dina 1.80 lina 0.50
dina 2 0 farah 15 19 lina 19 20 chen 22 27 kim 18 8 alice 11 11
farah 0.79 lina 0.95 chen 0.81 kim 2.25 alice 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011854-p1
For each row where the third column is non-zero, output 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 29 0 bruno 28 26 kim 5 15 bruno 24 28 gus 16 20 bruno 26 5 farah 27 9 dina 27 15 lina 14 28
bruno 1.08 kim 0.33 bruno 0.86 gus 0.80 bruno 5.20 farah 3.00 dina 1.80 lina 0.50
dina 2 0 farah 15 19 lina 19 20 chen 22 27 kim 18 8 alice 11 11
farah 0.79 lina 0.95 chen 0.81 kim 2.25 alice 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011854
qwen/qwen3.7-plus
awkweave-0011855
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules indigo 18 jules amber 14 alice amber 11 alice juniper 29 ivan harbor 21 chen birch 9 alice cobalt 11 chen fable 18
alice juniper 29 ivan harbor 21 jules indigo 18
bruno indigo 8 bruno ember 26 jules indigo 12 kim grove 10 farah birch 5 hana indigo 25 farah ember 25 farah harbor 26
bruno ember 26 farah harbor 26 hana indigo 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011855-p1
Output the three records with the 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]}
jules indigo 18 jules amber 14 alice amber 11 alice juniper 29 ivan harbor 21 chen birch 9 alice cobalt 11 chen fable 18
alice juniper 29 ivan harbor 21 jules indigo 18
bruno indigo 8 bruno ember 26 jules indigo 12 kim grove 10 farah birch 5 hana indigo 25 farah ember 25 farah harbor 26
bruno ember 26 farah harbor 26 hana indigo 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011855
qwen/qwen3.7-plus
awkweave-0011856
Print column 5 followed by column 3 for every record.
{print $5, $3}
juniper lina 85 jules closed 16 amber dina 92 chen failed 69 grove ivan 111 chen active 29 birch farah 48 kim pending 2 cobalt gus 94 eli ready 59 juniper lina 15 jules failed 53 amber jules 94 farah ready 59 delta jules 24 kim paused 108 amber ivan 58 gus closed 45 juniper bruno 81 dina pending 77
closed 85 failed 92 active 111 pending 48 ready 94 failed 15 ready 94 paused 24 closed 58 pending 81
birch farah 99 lina ready 106 juniper eli 74 dina paused 62 amber dina 15 lina failed 99 amber farah 29 farah paused 45 grove kim 74 dina paused 100 grove lina 60 lina ready 65 indigo jules 53 alice active 57 delta jules 66 farah closed 37
ready 99 paused 74 failed 15 paused 29 paused 74 ready 60 active 53 closed 66
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011856-p1
For every record, output the fifth column followed by the third column.
{print $5, $3}
juniper lina 85 jules closed 16 amber dina 92 chen failed 69 grove ivan 111 chen active 29 birch farah 48 kim pending 2 cobalt gus 94 eli ready 59 juniper lina 15 jules failed 53 amber jules 94 farah ready 59 delta jules 24 kim paused 108 amber ivan 58 gus closed 45 juniper bruno 81 dina pending 77
closed 85 failed 92 active 111 pending 48 ready 94 failed 15 ready 94 paused 24 closed 58 pending 81
birch farah 99 lina ready 106 juniper eli 74 dina paused 62 amber dina 15 lina failed 99 amber farah 29 farah paused 45 grove kim 74 dina paused 100 grove lina 60 lina ready 65 indigo jules 53 alice active 57 delta jules 66 farah closed 37
ready 99 paused 74 failed 15 paused 29 paused 74 ready 60 active 53 closed 66
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011856
qwen/qwen3.7-plus
awkweave-0011857
Print the last field of every input line.
{print $NF}
active 42 12 114 3 4 hana active 36 51 37 106 115 kim ready 85 70 78 2 40 ivan failed 42 120 14 50 65 gus ready 47 83 50 38 32 lina paused 28 0 14 93 22 ivan paused 0 114 78 98 15 kim active 1 50 80 86 14 gus
hana kim ivan gus lina ivan kim gus
active 79 76 113 74 62 ivan closed 68 104 93 67 1 gus active 88 66 27 33 111 hana ready 36 110 120 7 76 kim closed 0 47 44 57 20 hana ready 105 16 101 96 83 ivan closed 113 32 35 10 28 jules active 40 36 0 5 85 chen
ivan gus hana kim hana ivan jules chen
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011857-p1
Print the final field of each input line.
{print $NF}
active 42 12 114 3 4 hana active 36 51 37 106 115 kim ready 85 70 78 2 40 ivan failed 42 120 14 50 65 gus ready 47 83 50 38 32 lina paused 28 0 14 93 22 ivan paused 0 114 78 98 15 kim active 1 50 80 86 14 gus
hana kim ivan gus lina ivan kim gus
active 79 76 113 74 62 ivan closed 68 104 93 67 1 gus active 88 66 27 33 111 hana ready 36 110 120 7 76 kim closed 0 47 44 57 20 hana ready 105 16 101 96 83 ivan closed 113 32 35 10 28 jules active 40 36 0 5 85 chen
ivan gus hana kim hana ivan jules chen
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011857
qwen/qwen3.7-plus
awkweave-0011858
Print the complete records where column 2 is at least 20.
$2 >= 20
paused 10 pending ready 86 active pending 106 paused active 50 pending active 88 active pending 104 closed
ready 86 active pending 106 paused active 50 pending active 88 active pending 104 closed
active 58 failed pending 64 failed ready 40 active ready 56 paused ready 60 pending closed 80 paused
active 58 failed pending 64 failed ready 40 active ready 56 paused ready 60 pending closed 80 paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011858-p1
Output entire records where the value in the second column is 20 or higher.
$2 >= 20
paused 10 pending ready 86 active pending 106 paused active 50 pending active 88 active pending 104 closed
ready 86 active pending 106 paused active 50 pending active 88 active pending 104 closed
active 58 failed pending 64 failed ready 40 active ready 56 paused ready 60 pending closed 80 paused
active 58 failed pending 64 failed ready 40 active ready 56 paused ready 60 pending closed 80 paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011858
qwen/qwen3.7-plus
awkweave-0011859
Show whole lines whose 2nd field is between 9 and 22, inclusive.
$2 >= 9 && $2 <= 22
delta 28 paused lina grove 9 closed gus juniper 11 pending chen ember 27 pending alice fable 19 paused ivan grove 27 closed chen ember 25 active gus juniper 29 active chen birch 5 closed lina harbor 29 ready eli
grove 9 closed gus juniper 11 pending chen fable 19 paused ivan
ember 29 ready ivan harbor 9 closed hana delta 2 failed kim ember 6 closed bruno ember 15 paused hana cobalt 29 active eli birch 14 pending alice grove 29 pending jules
harbor 9 closed hana ember 15 paused hana birch 14 pending alice
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011859-p1
Display full lines where the second field falls within the inclusive range of 9 to 22.
$2 >= 9 && $2 <= 22
delta 28 paused lina grove 9 closed gus juniper 11 pending chen ember 27 pending alice fable 19 paused ivan grove 27 closed chen ember 25 active gus juniper 29 active chen birch 5 closed lina harbor 29 ready eli
grove 9 closed gus juniper 11 pending chen fable 19 paused ivan
ember 29 ready ivan harbor 9 closed hana delta 2 failed kim ember 6 closed bruno ember 15 paused hana cobalt 29 active eli birch 14 pending alice grove 29 pending jules
harbor 9 closed hana ember 15 paused hana birch 14 pending alice
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011859
qwen/qwen3.7-plus
awkweave-0011860
Print column 2 only for rows where column 3 is exactly failed.
$3 == "failed"{print $2}
grove eli paused 22 juniper chen failed 9 ember dina ready 99 amber chen active 94 indigo alice failed 38 amber bruno active 100 amber dina ready 66 cobalt farah ready 42 indigo eli active 93
chen alice
grove dina paused 40 grove kim closed 52 indigo lina active 50 cobalt hana paused 108 delta kim closed 118 delta jules ready 107 ember kim paused 48 cobalt jules ready 13
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011860-p1
Extract and display the second column exclusively for rows where the third column matches 'failed' exactly.
$3 == "failed"{print $2}
grove eli paused 22 juniper chen failed 9 ember dina ready 99 amber chen active 94 indigo alice failed 38 amber bruno active 100 amber dina ready 66 cobalt farah ready 42 indigo eli active 93
chen alice
grove dina paused 40 grove kim closed 52 indigo lina active 50 cobalt hana paused 108 delta kim closed 118 delta jules ready 107 ember kim paused 48 cobalt jules ready 13
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011860
qwen/qwen3.7-plus
awkweave-0011861
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR fable 76 WARN ember 7 INFO fable 55 WARN juniper 37 WARN indigo 44 DEBUG cobalt 109 WARN delta 30 INFO cobalt 44 ERROR grove 103 INFO ember 41
WARN ember 7 WARN juniper 37 WARN indigo 44 WARN delta 30
DEBUG harbor 10 DEBUG birch 22 ERROR cobalt 76 INFO delta 34 INFO fable 75 WARN delta 65 DEBUG harbor 42 WARN harbor 119 DEBUG grove 21 INFO ember 22
WARN delta 65 WARN harbor 119
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011861-p1
Output every field from lines whose first field starts with the prefix 'WARN'.
$1 ~ /^WARN/
ERROR fable 76 WARN ember 7 INFO fable 55 WARN juniper 37 WARN indigo 44 DEBUG cobalt 109 WARN delta 30 INFO cobalt 44 ERROR grove 103 INFO ember 41
WARN ember 7 WARN juniper 37 WARN indigo 44 WARN delta 30
DEBUG harbor 10 DEBUG birch 22 ERROR cobalt 76 INFO delta 34 INFO fable 75 WARN delta 65 DEBUG harbor 42 WARN harbor 119 DEBUG grove 21 INFO ember 22
WARN delta 65 WARN harbor 119
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011861
qwen/qwen3.7-plus
awkweave-0011862
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
juniper 76 closed amber 75 pending ember 52 paused birch 89 active juniper 39 pending delta 6 ready juniper 22 closed ember 5 pending harbor 999 active
juniper 76 closed amber 75 pending ember 52 paused birch 89 active juniper 39 pending delta 6 ready juniper 22 closed ember 5 pending
birch 93 active fable 93 failed birch 38 ready amber 103 failed delta 87 active harbor 55 closed fable 87 paused ember 115 pending harbor 999 active
birch 93 active fable 93 failed birch 38 ready amber 103 failed delta 87 active fable 87 paused ember 115 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011862-p1
Display all lines that do not contain the exact string 'harbor'.
$0 !~ /harbor/
juniper 76 closed amber 75 pending ember 52 paused birch 89 active juniper 39 pending delta 6 ready juniper 22 closed ember 5 pending harbor 999 active
juniper 76 closed amber 75 pending ember 52 paused birch 89 active juniper 39 pending delta 6 ready juniper 22 closed ember 5 pending
birch 93 active fable 93 failed birch 38 ready amber 103 failed delta 87 active harbor 55 closed fable 87 paused ember 115 pending harbor 999 active
birch 93 active fable 93 failed birch 38 ready amber 103 failed delta 87 active fable 87 paused ember 115 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011862
qwen/qwen3.7-plus
awkweave-0011863
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
gus ember 4 gus grove 49 bruno birch 10 alice delta 19 jules birch 69 eli indigo 4 dina ember 45
gus grove 49 bruno birch 10
ivan grove 5 jules delta 55 gus grove 117 hana birch 106 gus ember 93 bruno grove 28 kim amber 94
jules delta 55 gus grove 117
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011863-p1
Print lines 2 to 3, inclusive of both the start and end lines.
NR >= 2 && NR <= 3
gus ember 4 gus grove 49 bruno birch 10 alice delta 19 jules birch 69 eli indigo 4 dina ember 45
gus grove 49 bruno birch 10
ivan grove 5 jules delta 55 gus grove 117 hana birch 106 gus ember 93 bruno grove 28 kim amber 94
jules delta 55 gus grove 117
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011863
qwen/qwen3.7-plus
awkweave-0011864
Output only the first 4 records.
NR <= 4
farah 96 birch alice 82 amber farah 117 grove ivan 75 birch gus 5 fable hana 94 juniper hana 95 birch hana 58 fable
farah 96 birch alice 82 amber farah 117 grove ivan 75 birch
dina 17 delta kim 108 indigo bruno 119 harbor eli 58 indigo farah 119 birch ivan 23 amber jules 53 indigo ivan 36 fable jules 36 grove lina 44 fable
dina 17 delta kim 108 indigo bruno 119 harbor eli 58 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011864-p1
Output only the initial 4 records from the input.
NR <= 4
farah 96 birch alice 82 amber farah 117 grove ivan 75 birch gus 5 fable hana 94 juniper hana 95 birch hana 58 fable
farah 96 birch alice 82 amber farah 117 grove ivan 75 birch
dina 17 delta kim 108 indigo bruno 119 harbor eli 58 indigo farah 119 birch ivan 23 amber jules 53 indigo ivan 36 fable jules 36 grove lina 44 fable
dina 17 delta kim 108 indigo bruno 119 harbor eli 58 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011864
qwen/qwen3.7-plus
awkweave-0011865
Skip the first line and print every remaining line unchanged.
NR > 1
gus 27 amber ivan 106 harbor farah 71 ember lina 115 birch farah 11 amber jules 47 indigo
ivan 106 harbor farah 71 ember lina 115 birch farah 11 amber jules 47 indigo
dina 119 harbor bruno 103 birch alice 119 harbor jules 66 birch gus 94 juniper chen 3 delta bruno 32 fable alice 14 amber farah 11 grove
bruno 103 birch alice 119 harbor jules 66 birch gus 94 juniper chen 3 delta bruno 32 fable alice 14 amber farah 11 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011865-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
gus 27 amber ivan 106 harbor farah 71 ember lina 115 birch farah 11 amber jules 47 indigo
ivan 106 harbor farah 71 ember lina 115 birch farah 11 amber jules 47 indigo
dina 119 harbor bruno 103 birch alice 119 harbor jules 66 birch gus 94 juniper chen 3 delta bruno 32 fable alice 14 amber farah 11 grove
bruno 103 birch alice 119 harbor jules 66 birch gus 94 juniper chen 3 delta bruno 32 fable alice 14 amber farah 11 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011865
qwen/qwen3.7-plus
awkweave-0011866
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina pending 19 hana active 12 eli closed 114 farah ready 91 chen failed 113 gus ready 9 chen failed 8 hana closed 7 jules pending 102 hana ready 101
2
bruno closed 84 hana pending 70 alice active 52 hana failed 11 chen ready 68 hana active 78 hana active 97 alice failed 111 bruno paused 69
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011866-p1
Count the number of records where column 2 is 'closed', outputting 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
dina pending 19 hana active 12 eli closed 114 farah ready 91 chen failed 113 gus ready 9 chen failed 8 hana closed 7 jules pending 102 hana ready 101
2
bruno closed 84 hana pending 70 alice active 52 hana failed 11 chen ready 68 hana active 78 hana active 97 alice failed 111 bruno paused 69
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011866
qwen/qwen3.7-plus
awkweave-0011867
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
5 lina delta 28 jules ember 11 gus grove 24 jules fable 12 eli cobalt 14 alice harbor 12 bruno juniper 4 chen indigo 19 chen indigo
129
28 gus grove 13 eli indigo 9 kim harbor 7 jules harbor 4 hana birch 23 alice cobalt 6 farah indigo
90
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011867-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
5 lina delta 28 jules ember 11 gus grove 24 jules fable 12 eli cobalt 14 alice harbor 12 bruno juniper 4 chen indigo 19 chen indigo
129
28 gus grove 13 eli indigo 9 kim harbor 7 jules harbor 4 hana birch 23 alice cobalt 6 farah indigo
90
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011867
qwen/qwen3.7-plus
awkweave-0011868
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
jules 7 harbor dina 14 grove farah 3 birch lina 2 grove dina 28 amber farah 11 amber jules 11 ember
10.86
ivan 3 fable eli 6 amber dina 22 fable dina 3 indigo chen 23 juniper ivan 21 amber dina 25 amber chen 23 delta
15.75
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011868-p1
Calculate and print the average of column 2, rounded to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
jules 7 harbor dina 14 grove farah 3 birch lina 2 grove dina 28 amber farah 11 amber jules 11 ember
10.86
ivan 3 fable eli 6 amber dina 22 fable dina 3 indigo chen 23 juniper ivan 21 amber dina 25 amber chen 23 delta
15.75
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011868
qwen/qwen3.7-plus
awkweave-0011869
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 8 gus ember 24 bruno delta 13 eli ember 18 ivan delta 24 dina juniper 18 hana
8
delta 9 jules indigo 6 alice juniper 3 ivan ember 27 ivan indigo 13 ivan juniper 18 gus ember 5 ivan juniper 15 gus grove 13 lina
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011869-p1
Identify and output the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
fable 8 gus ember 24 bruno delta 13 eli ember 18 ivan delta 24 dina juniper 18 hana
8
delta 9 jules indigo 6 alice juniper 3 ivan ember 27 ivan indigo 13 ivan juniper 18 gus ember 5 ivan juniper 15 gus grove 13 lina
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011869
qwen/qwen3.7-plus
awkweave-0011870
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
24 dina birch 24 kim ember 20 jules birch 16 kim juniper 16 ivan birch 29 gus cobalt 1 eli ember 5 ivan cobalt 11 hana amber 18 bruno harbor
29
7 ivan fable 27 alice juniper 25 alice amber 28 bruno indigo 4 farah grove 19 dina cobalt 19 eli indigo 7 ivan cobalt 24 alice ember
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011870-p1
Identify and output the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
24 dina birch 24 kim ember 20 jules birch 16 kim juniper 16 ivan birch 29 gus cobalt 1 eli ember 5 ivan cobalt 11 hana amber 18 bruno harbor
29
7 ivan fable 27 alice juniper 25 alice amber 28 bruno indigo 4 farah grove 19 dina cobalt 19 eli indigo 7 ivan cobalt 24 alice ember
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011870
qwen/qwen3.7-plus
awkweave-0011871
Count all input records and print the total.
END{print NR}
bruno 11 jules 44 farah 0 dina 67 farah 89 dina 53 lina 41
7
hana 38 hana 99 gus 75 hana 17 bruno 28 gus 118 chen 120 gus 42 ivan 106 jules 90
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011871-p1
Count the total number of input records and print the result.
END{print NR}
bruno 11 jules 44 farah 0 dina 67 farah 89 dina 53 lina 41
7
hana 38 hana 99 gus 75 hana 17 bruno 28 gus 118 chen 120 gus 42 ivan 106 jules 90
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011871
qwen/qwen3.7-plus
awkweave-0011872
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
jules ember 25 bruno harbor 37 hana harbor 84 eli grove 40 bruno harbor 86 bruno harbor 86 alice ember 37
jules ember 25 bruno harbor 37 hana harbor 84 eli grove 40 bruno harbor 86 alice ember 37
kim cobalt 9 alice harbor 109 bruno grove 103 bruno delta 91 kim cobalt 9 dina indigo 73 alice harbor 109 ivan amber 93 kim harbor 101 jules birch 23
kim cobalt 9 alice harbor 109 bruno grove 103 bruno delta 91 dina indigo 73 ivan amber 93 kim harbor 101 jules birch 23
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011872-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
jules ember 25 bruno harbor 37 hana harbor 84 eli grove 40 bruno harbor 86 bruno harbor 86 alice ember 37
jules ember 25 bruno harbor 37 hana harbor 84 eli grove 40 bruno harbor 86 alice ember 37
kim cobalt 9 alice harbor 109 bruno grove 103 bruno delta 91 kim cobalt 9 dina indigo 73 alice harbor 109 ivan amber 93 kim harbor 101 jules birch 23
kim cobalt 9 alice harbor 109 bruno grove 103 bruno delta 91 dina indigo 73 ivan amber 93 kim harbor 101 jules birch 23
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011872
qwen/qwen3.7-plus
awkweave-0011873
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
lina juniper 47 kim cobalt 79 ivan fable 33 hana grove 29 bruno fable 40 chen indigo 117 jules fable 73 farah birch 49 eli indigo 25 chen harbor 14
lina juniper 47 kim cobalt 79 ivan fable 33 hana grove 29 chen indigo 117 farah birch 49 chen harbor 14
chen fable 71 alice birch 65 gus harbor 26 alice delta 32 eli juniper 1 eli birch 39 farah delta 110 eli fable 6 alice grove 50
chen fable 71 alice birch 65 gus harbor 26 alice delta 32 eli juniper 1 alice grove 50
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011873-p1
Retain only the initial line for every unique value found in the second column, ensuring the original input order is preserved.
!seen[$2]++
lina juniper 47 kim cobalt 79 ivan fable 33 hana grove 29 bruno fable 40 chen indigo 117 jules fable 73 farah birch 49 eli indigo 25 chen harbor 14
lina juniper 47 kim cobalt 79 ivan fable 33 hana grove 29 chen indigo 117 farah birch 49 chen harbor 14
chen fable 71 alice birch 65 gus harbor 26 alice delta 32 eli juniper 1 eli birch 39 farah delta 110 eli fable 6 alice grove 50
chen fable 71 alice birch 65 gus harbor 26 alice delta 32 eli juniper 1 alice grove 50
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011873
qwen/qwen3.7-plus
awkweave-0011874
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 25 amber gus 29 harbor dina 15 indigo alice 12 juniper chen 23 amber chen 3 juniper ivan 30 fable
hana 25 gus 54 dina 69 alice 81 chen 104 chen 107 ivan 137
chen 29 delta farah 1 amber ivan 30 grove jules 25 cobalt ivan 16 harbor gus 15 indigo bruno 27 delta gus 9 indigo eli 13 harbor
chen 29 farah 30 ivan 60 jules 85 ivan 101 gus 116 bruno 143 gus 152 eli 165
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011874-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
hana 25 amber gus 29 harbor dina 15 indigo alice 12 juniper chen 23 amber chen 3 juniper ivan 30 fable
hana 25 gus 54 dina 69 alice 81 chen 104 chen 107 ivan 137
chen 29 delta farah 1 amber ivan 30 grove jules 25 cobalt ivan 16 harbor gus 15 indigo bruno 27 delta gus 9 indigo eli 13 harbor
chen 29 farah 30 ivan 60 jules 85 ivan 101 gus 116 bruno 143 gus 152 eli 165
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011874
qwen/qwen3.7-plus
awkweave-0011875
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 2 11 indigo kim 11 7 juniper ivan 16 3 indigo eli 17 18 harbor dina 13 23 juniper ivan 24 20 grove
hana 13 kim 18 ivan 19 eli 35 dina 36 ivan 44
chen 28 11 birch hana 2 30 indigo chen 18 24 indigo hana 15 20 ember farah 26 18 ember dina 27 2 amber gus 6 9 juniper
chen 39 hana 32 chen 42 hana 35 farah 44 dina 29 gus 15
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011875-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 2 11 indigo kim 11 7 juniper ivan 16 3 indigo eli 17 18 harbor dina 13 23 juniper ivan 24 20 grove
hana 13 kim 18 ivan 19 eli 35 dina 36 ivan 44
chen 28 11 birch hana 2 30 indigo chen 18 24 indigo hana 15 20 ember farah 26 18 ember dina 27 2 amber gus 6 9 juniper
chen 39 hana 32 chen 42 hana 35 farah 44 dina 29 gus 15
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011875
qwen/qwen3.7-plus
awkweave-0011876
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
alice 11 jules 19 kim 27 chen 21 jules 10 chen 27 ivan 25
alice fail jules fail kim pass chen fail jules fail chen pass ivan fail
eli 30 hana 13 hana 3 gus 4 jules 12 eli 27 hana 12 lina 7 chen 12
eli pass hana fail hana fail gus fail jules fail eli pass hana fail lina fail chen fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011876-p1
Output the first column and print 'pass' if the second column is 26 or greater; otherwise, print 'fail'.
{print $1,($2>=26?"pass":"fail")}
alice 11 jules 19 kim 27 chen 21 jules 10 chen 27 ivan 25
alice fail jules fail kim pass chen fail jules fail chen pass ivan fail
eli 30 hana 13 hana 3 gus 4 jules 12 eli 27 hana 12 lina 7 chen 12
eli pass hana fail hana fail gus fail jules fail eli pass hana fail lina fail chen fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011876
qwen/qwen3.7-plus
awkweave-0011877
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli birch 52 bruno amber 67 alice grove 59 bruno indigo 114 dina fable 11 eli ember 33
ELI BRUNO ALICE BRUNO DINA ELI
chen birch 110 lina delta 113 kim ember 43 eli amber 77 alice fable 93 jules delta 60 bruno birch 83 chen indigo 27
CHEN LINA KIM ELI ALICE JULES BRUNO CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011877-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
eli birch 52 bruno amber 67 alice grove 59 bruno indigo 114 dina fable 11 eli ember 33
ELI BRUNO ALICE BRUNO DINA ELI
chen birch 110 lina delta 113 kim ember 43 eli amber 77 alice fable 93 jules delta 60 bruno birch 83 chen indigo 27
CHEN LINA KIM ELI ALICE JULES BRUNO CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011877
qwen/qwen3.7-plus
awkweave-0011878
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 102 ember 51 juniper 101 grove 82 indigo 18 cobalt 31
ber ber nip ove dig bal
grove 113 ember 84 birch 105 grove 29 ember 34 fable 68 birch 69 indigo 5 amber 92 juniper 85
ove ber rch ove ber ble rch dig ber nip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011878-p1
Extract and print a substring of 3 characters from the first column, beginning at the third character position.
{print substr($1,3,3)}
ember 102 ember 51 juniper 101 grove 82 indigo 18 cobalt 31
ber ber nip ove dig bal
grove 113 ember 84 birch 105 grove 29 ember 34 fable 68 birch 69 indigo 5 amber 92 juniper 85
ove ber rch ove ber ble rch dig ber nip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011878
qwen/qwen3.7-plus
awkweave-0011879
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_indigo 83 birch_indigo 96 grove_juniper 46 juniper_indigo 96 indigo_harbor 114 ember_cobalt 101 indigo_harbor 16 amber_cobalt 48 harbor_harbor 33
juniper indigo birch indigo grove juniper juniper indigo indigo harbor ember cobalt indigo harbor amber cobalt harbor harbor
fable_ember 103 harbor_juniper 33 amber_delta 43 indigo_ember 88 fable_ember 67 birch_birch 104 cobalt_birch 111 delta_cobalt 34 cobalt_indigo 77
fable ember harbor juniper amber delta indigo ember fable ember birch birch cobalt birch delta cobalt cobalt indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011879-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_indigo 83 birch_indigo 96 grove_juniper 46 juniper_indigo 96 indigo_harbor 114 ember_cobalt 101 indigo_harbor 16 amber_cobalt 48 harbor_harbor 33
juniper indigo birch indigo grove juniper juniper indigo indigo harbor ember cobalt indigo harbor amber cobalt harbor harbor
fable_ember 103 harbor_juniper 33 amber_delta 43 indigo_ember 88 fable_ember 67 birch_birch 104 cobalt_birch 111 delta_cobalt 34 cobalt_indigo 77
fable ember harbor juniper amber delta indigo ember fable ember birch birch cobalt birch delta cobalt cobalt indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011879
qwen/qwen3.7-plus
awkweave-0011880
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)}
dina juniper 84 active farah delta 51 failed hana grove 77 active kim fable 58 pending jules ember 96 closed chen fable 48 active
active 84 juniper dina failed 51 delta farah active 77 grove hana pending 58 fable kim closed 96 ember jules active 48 fable chen
kim ember 76 active farah cobalt 23 active bruno fable 32 pending dina juniper 90 ready bruno fable 117 failed gus grove 53 paused lina birch 27 pending gus delta 4 active chen indigo 16 paused
active 76 ember kim active 23 cobalt farah pending 32 fable bruno ready 90 juniper dina failed 117 fable bruno paused 53 grove gus pending 27 birch lina active 4 delta gus paused 16 indigo chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null