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-0053833
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 17 ivan birch 27 lina fable 19 kim grove 6 alice harbor 25 gus birch 28 hana cobalt 15 lina fable 21 jules ember 4 gus
4
cobalt 27 lina juniper 14 eli grove 18 jules cobalt 10 dina cobalt 22 hana delta 27 dina grove 8 dina fable 10 dina harbor 20 lina delta 14 jules
8
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053833-p1
Identify and print the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 17 ivan birch 27 lina fable 19 kim grove 6 alice harbor 25 gus birch 28 hana cobalt 15 lina fable 21 jules ember 4 gus
4
cobalt 27 lina juniper 14 eli grove 18 jules cobalt 10 dina cobalt 22 hana delta 27 dina grove 8 dina fable 10 dina harbor 20 lina delta 14 jules
8
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053833
qwen/qwen3.7-plus
awkweave-0053834
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 27 farah indigo 2 farah fable 14 ivan juniper 7 farah amber 25 jules juniper 3 jules delta 28 gus juniper 4 ivan grove 1 dina birch 12 chen
28
harbor 7 lina fable 8 dina indigo 19 lina cobalt 16 alice amber 5 gus fable 2 alice ember 14 dina
19
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053834-p1
Identify and print the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
harbor 27 farah indigo 2 farah fable 14 ivan juniper 7 farah amber 25 jules juniper 3 jules delta 28 gus juniper 4 ivan grove 1 dina birch 12 chen
28
harbor 7 lina fable 8 dina indigo 19 lina cobalt 16 alice amber 5 gus fable 2 alice ember 14 dina
19
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053834
qwen/qwen3.7-plus
awkweave-0053835
Count all input records and print the total.
END{print NR}
ivan 85 chen 43 kim 51 farah 72 gus 98 jules 68 gus 113
7
ivan 104 chen 30 gus 33 hana 85 farah 69 bruno 39 chen 94
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053835-p1
Count the total number of input records and print the result.
END{print NR}
ivan 85 chen 43 kim 51 farah 72 gus 98 jules 68 gus 113
7
ivan 104 chen 30 gus 33 hana 85 farah 69 bruno 39 chen 94
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053835
qwen/qwen3.7-plus
awkweave-0053836
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno amber 51 eli fable 2 lina amber 69 lina amber 69 bruno cobalt 33 alice fable 91 chen birch 13
bruno amber 51 eli fable 2 lina amber 69 bruno cobalt 33 alice fable 91 chen birch 13
chen grove 58 gus fable 7 chen fable 23 lina grove 61 alice cobalt 120 kim amber 13 chen harbor 20 ivan indigo 5 eli indigo 0 chen grove 58
chen grove 58 gus fable 7 chen fable 23 lina grove 61 alice cobalt 120 kim amber 13 chen harbor 20 ivan indigo 5 eli indigo 0
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053836-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each line.
!seen[$0]++
bruno amber 51 eli fable 2 lina amber 69 lina amber 69 bruno cobalt 33 alice fable 91 chen birch 13
bruno amber 51 eli fable 2 lina amber 69 bruno cobalt 33 alice fable 91 chen birch 13
chen grove 58 gus fable 7 chen fable 23 lina grove 61 alice cobalt 120 kim amber 13 chen harbor 20 ivan indigo 5 eli indigo 0 chen grove 58
chen grove 58 gus fable 7 chen fable 23 lina grove 61 alice cobalt 120 kim amber 13 chen harbor 20 ivan indigo 5 eli indigo 0
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053836
qwen/qwen3.7-plus
awkweave-0053837
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
bruno indigo 31 jules delta 110 gus fable 78 dina juniper 109 farah grove 18 ivan birch 109 bruno delta 17 lina juniper 26 alice juniper 57
bruno indigo 31 jules delta 110 gus fable 78 dina juniper 109 farah grove 18 ivan birch 109 lina juniper 26 alice juniper 57
bruno indigo 3 gus harbor 86 lina indigo 18 gus cobalt 36 bruno birch 106 lina cobalt 48 bruno amber 2 hana fable 49
bruno indigo 3 gus harbor 86 lina indigo 18 hana fable 49
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053837-p1
Retain only the initial line for every unique value found in the first column, ensuring the original input order is preserved.
!seen[$1]++
bruno indigo 31 jules delta 110 gus fable 78 dina juniper 109 farah grove 18 ivan birch 109 bruno delta 17 lina juniper 26 alice juniper 57
bruno indigo 31 jules delta 110 gus fable 78 dina juniper 109 farah grove 18 ivan birch 109 lina juniper 26 alice juniper 57
bruno indigo 3 gus harbor 86 lina indigo 18 gus cobalt 36 bruno birch 106 lina cobalt 48 bruno amber 2 hana fable 49
bruno indigo 3 gus harbor 86 lina indigo 18 hana fable 49
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053837
qwen/qwen3.7-plus
awkweave-0053838
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 11 birch gus 21 birch eli 23 amber dina 3 ember jules 18 ember dina 28 birch alice 9 delta alice 5 juniper bruno 21 cobalt
lina 11 gus 32 eli 55 dina 58 jules 76 dina 104 alice 113 alice 118 bruno 139
ivan 17 delta farah 22 juniper kim 11 cobalt farah 7 fable hana 9 indigo alice 7 birch ivan 25 ember dina 25 ember chen 12 grove farah 7 fable
ivan 17 farah 39 kim 50 farah 57 hana 66 alice 73 ivan 98 dina 123 chen 135 farah 142
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053838-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}
lina 11 birch gus 21 birch eli 23 amber dina 3 ember jules 18 ember dina 28 birch alice 9 delta alice 5 juniper bruno 21 cobalt
lina 11 gus 32 eli 55 dina 58 jules 76 dina 104 alice 113 alice 118 bruno 139
ivan 17 delta farah 22 juniper kim 11 cobalt farah 7 fable hana 9 indigo alice 7 birch ivan 25 ember dina 25 ember chen 12 grove farah 7 fable
ivan 17 farah 39 kim 50 farah 57 hana 66 alice 73 ivan 98 dina 123 chen 135 farah 142
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053838
qwen/qwen3.7-plus
awkweave-0053839
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 9 20 amber eli 2 1 delta eli 20 25 ember kim 24 20 delta dina 28 19 indigo bruno 12 28 indigo farah 3 14 cobalt
chen 29 eli 3 eli 45 kim 44 dina 47 bruno 40 farah 17
alice 30 11 birch jules 12 15 ember kim 25 6 harbor chen 7 1 ember chen 1 22 indigo lina 15 8 fable farah 17 17 fable dina 8 1 delta eli 6 4 delta
alice 41 jules 27 kim 31 chen 8 chen 23 lina 23 farah 34 dina 9 eli 10
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053839-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
chen 9 20 amber eli 2 1 delta eli 20 25 ember kim 24 20 delta dina 28 19 indigo bruno 12 28 indigo farah 3 14 cobalt
chen 29 eli 3 eli 45 kim 44 dina 47 bruno 40 farah 17
alice 30 11 birch jules 12 15 ember kim 25 6 harbor chen 7 1 ember chen 1 22 indigo lina 15 8 fable farah 17 17 fable dina 8 1 delta eli 6 4 delta
alice 41 jules 27 kim 31 chen 8 chen 23 lina 23 farah 34 dina 9 eli 10
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053839
qwen/qwen3.7-plus
awkweave-0053840
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
farah 4 eli 29 dina 9 chen 21 ivan 21 jules 8 jules 29 lina 9 farah 5 alice 26
farah fail eli pass dina fail chen fail ivan fail jules fail jules pass lina fail farah fail alice pass
hana 29 farah 29 ivan 19 kim 4 farah 24 gus 10 kim 17
hana pass farah pass ivan fail kim fail farah pass gus fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053840-p1
Output the first column and print 'pass' if the second column is 23 or greater; otherwise, print 'fail'.
{print $1,($2>=23?"pass":"fail")}
farah 4 eli 29 dina 9 chen 21 ivan 21 jules 8 jules 29 lina 9 farah 5 alice 26
farah fail eli pass dina fail chen fail ivan fail jules fail jules pass lina fail farah fail alice pass
hana 29 farah 29 ivan 19 kim 4 farah 24 gus 10 kim 17
hana pass farah pass ivan fail kim fail farah pass gus fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053840
qwen/qwen3.7-plus
awkweave-0053841
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim delta 82 gus juniper 53 jules birch 9 dina amber 83 kim harbor 71 jules cobalt 94 chen cobalt 55 lina birch 62 lina harbor 34
KIM GUS JULES DINA KIM JULES CHEN LINA LINA
jules amber 51 hana amber 31 farah amber 45 jules birch 36 eli cobalt 79 bruno amber 51
JULES HANA FARAH JULES ELI BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053841-p1
Transform the first column to uppercase letters and output only that modified column.
{print toupper($1)}
kim delta 82 gus juniper 53 jules birch 9 dina amber 83 kim harbor 71 jules cobalt 94 chen cobalt 55 lina birch 62 lina harbor 34
KIM GUS JULES DINA KIM JULES CHEN LINA LINA
jules amber 51 hana amber 31 farah amber 45 jules birch 36 eli cobalt 79 bruno amber 51
JULES HANA FARAH JULES ELI BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053841
qwen/qwen3.7-plus
awkweave-0053842
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 114 ember 50 amber 108 indigo 69 cobalt 12 harbor 60 fable 77 delta 72 ember 27 juniper 84
ber ber ber dig bal rbo ble lta ber nip
cobalt 104 juniper 6 indigo 106 fable 110 cobalt 38 grove 72 grove 59 grove 67 harbor 54 harbor 75
bal nip dig ble bal ove ove ove rbo rbo
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053842-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 114 ember 50 amber 108 indigo 69 cobalt 12 harbor 60 fable 77 delta 72 ember 27 juniper 84
ber ber ber dig bal rbo ble lta ber nip
cobalt 104 juniper 6 indigo 106 fable 110 cobalt 38 grove 72 grove 59 grove 67 harbor 54 harbor 75
bal nip dig ble bal ove ove ove rbo rbo
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053842
qwen/qwen3.7-plus
awkweave-0053843
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_ember 105 ember_juniper 110 juniper_grove 2 cobalt_delta 4 fable_harbor 32 indigo_juniper 21 birch_delta 59 juniper_amber 58 amber_grove 69 ember_fable 15
juniper ember ember juniper juniper grove cobalt delta fable harbor indigo juniper birch delta juniper amber amber grove ember fable
harbor_indigo 40 cobalt_juniper 47 harbor_birch 73 harbor_cobalt 54 ember_fable 53 grove_cobalt 45 cobalt_birch 112 delta_fable 54 amber_ember 95
harbor indigo cobalt juniper harbor birch harbor cobalt ember fable grove cobalt cobalt birch delta fable amber ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053843-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_ember 105 ember_juniper 110 juniper_grove 2 cobalt_delta 4 fable_harbor 32 indigo_juniper 21 birch_delta 59 juniper_amber 58 amber_grove 69 ember_fable 15
juniper ember ember juniper juniper grove cobalt delta fable harbor indigo juniper birch delta juniper amber amber grove ember fable
harbor_indigo 40 cobalt_juniper 47 harbor_birch 73 harbor_cobalt 54 ember_fable 53 grove_cobalt 45 cobalt_birch 112 delta_fable 54 amber_ember 95
harbor indigo cobalt juniper harbor birch harbor cobalt ember fable grove cobalt cobalt birch delta fable amber ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053843
qwen/qwen3.7-plus
awkweave-0053844
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)}
gus harbor 62 ready chen ember 65 paused hana ember 83 paused ivan ember 101 ready ivan juniper 26 ready hana ember 115 paused jules cobalt 69 closed alice cobalt 9 paused bruno fable 0 active
ready 62 harbor gus paused 65 ember chen paused 83 ember hana ready 101 ember ivan ready 26 juniper ivan paused 115 ember hana closed 69 cobalt jules paused 9 cobalt alice active 0 fable bruno
kim cobalt 107 paused chen amber 116 paused dina birch 65 paused eli ember 113 active bruno amber 34 failed kim delta 83 pending kim delta 28 failed chen fable 34 failed gus ember 110 paused
paused 107 cobalt kim paused 116 amber chen paused 65 birch dina active 113 ember eli failed 34 amber bruno pending 83 delta kim failed 28 delta kim failed 34 fable chen paused 110 ember gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053844-p1
Reverse the sequence of fields for every line and print all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus harbor 62 ready chen ember 65 paused hana ember 83 paused ivan ember 101 ready ivan juniper 26 ready hana ember 115 paused jules cobalt 69 closed alice cobalt 9 paused bruno fable 0 active
ready 62 harbor gus paused 65 ember chen paused 83 ember hana ready 101 ember ivan ready 26 juniper ivan paused 115 ember hana closed 69 cobalt jules paused 9 cobalt alice active 0 fable bruno
kim cobalt 107 paused chen amber 116 paused dina birch 65 paused eli ember 113 active bruno amber 34 failed kim delta 83 pending kim delta 28 failed chen fable 34 failed gus ember 110 paused
paused 107 cobalt kim paused 116 amber chen paused 65 birch dina active 113 ember eli failed 34 amber bruno pending 83 delta kim failed 28 delta kim failed 34 fable chen paused 110 ember gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053844
qwen/qwen3.7-plus
awkweave-0053845
Print the number of whitespace-separated fields on each line.
{print NF}
farah delta 88 failed lina birch 52 ready alice harbor 20 closed alice birch 68 paused bruno amber 62 closed bruno harbor 51 active ivan amber 105 pending jules ember 42 pending
4 4 4 4 4 4 4 4
chen birch 101 paused eli indigo 70 failed ivan ember 77 active ivan indigo 59 failed dina juniper 45 closed jules indigo 119 ready hana fable 66 active gus delta 19 paused ivan fable 85 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053845-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
farah delta 88 failed lina birch 52 ready alice harbor 20 closed alice birch 68 paused bruno amber 62 closed bruno harbor 51 active ivan amber 105 pending jules ember 42 pending
4 4 4 4 4 4 4 4
chen birch 101 paused eli indigo 70 failed ivan ember 77 active ivan indigo 59 failed dina juniper 45 closed jules indigo 119 ready hana fable 66 active gus delta 19 paused ivan fable 85 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053845
qwen/qwen3.7-plus
awkweave-0053846
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]]}
alice gamma 33 hana alpha 18 hana gamma 47 gus beta 34 eli delta 81 dina gamma 14 chen delta 14 lina alpha 84 dina delta 20
gamma 3 alpha 2 beta 1 delta 3
eli delta 22 dina gamma 101 kim alpha 47 kim delta 2 chen alpha 68 farah beta 120 ivan gamma 58 hana delta 104 alice gamma 13
delta 3 gamma 3 alpha 2 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053846-p1
Tally the number of records for each unique value in the second column, printing each value and its corresponding count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice gamma 33 hana alpha 18 hana gamma 47 gus beta 34 eli delta 81 dina gamma 14 chen delta 14 lina alpha 84 dina delta 20
gamma 3 alpha 2 beta 1 delta 3
eli delta 22 dina gamma 101 kim alpha 47 kim delta 2 chen alpha 68 farah beta 120 ivan gamma 58 hana delta 104 alice gamma 13
delta 3 gamma 3 alpha 2 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053846
qwen/qwen3.7-plus
awkweave-0053847
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno alpha 21 hana gamma 8 gus delta 24 jules alpha 5 lina gamma 24 gus beta 13 eli gamma 26 gus delta 12 kim alpha 26 hana delta 11
alpha 52 gamma 58 delta 47 beta 13
gus delta 18 ivan delta 15 hana beta 1 gus gamma 20 bruno beta 9 farah alpha 27 hana gamma 2 lina gamma 7 ivan delta 30
delta 63 beta 10 gamma 29 alpha 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053847-p1
Calculate the sum of the third column for each group defined by the second column, displaying the results in the order of the groups' first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno alpha 21 hana gamma 8 gus delta 24 jules alpha 5 lina gamma 24 gus beta 13 eli gamma 26 gus delta 12 kim alpha 26 hana delta 11
alpha 52 gamma 58 delta 47 beta 13
gus delta 18 ivan delta 15 hana beta 1 gus gamma 20 bruno beta 9 farah alpha 27 hana gamma 2 lina gamma 7 ivan delta 30
delta 63 beta 10 gamma 29 alpha 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053847
qwen/qwen3.7-plus
awkweave-0053848
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 birch 22 delta delta 93 gamma cobalt 105 delta fable 93 alpha juniper 22 beta indigo 55
delta 3
delta grove 56 delta juniper 38 gamma delta 36 delta juniper 50 gamma indigo 101 delta indigo 73 delta ember 46 alpha ember 7 gamma indigo 94 gamma juniper 101
delta 5 gamma 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053848-p1
List each unique value from the first column alongside its frequency count, ordered by the sequence of their 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 birch 22 delta delta 93 gamma cobalt 105 delta fable 93 alpha juniper 22 beta indigo 55
delta 3
delta grove 56 delta juniper 38 gamma delta 36 delta juniper 50 gamma indigo 101 delta indigo 73 delta ember 46 alpha ember 7 gamma indigo 94 gamma juniper 101
delta 5 gamma 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053848
qwen/qwen3.7-plus
awkweave-0053849
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score region state display_name r001 lina 21 paused r002 farah 17 closed r003 kim 13 ready r004 chen 21 paused r005 farah 16 paused r006 gus 12 paused r007 kim 25 closed r008 hana 15 ready
21 17 13 21 16 12 25 15
score region state display_name r001 ivan 10 failed r002 hana 29 active r003 farah 25 closed r004 ivan 3 failed r005 kim 13 pending r006 bruno 26 paused r007 lina 11 closed r008 lina 27 ready r009 kim 5 failed r010 ivan 8 ready
10 29 25 3 13 26 11 27 5 8
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053849-p1
Treating the initial row as a header, output the values found in the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score region state display_name r001 lina 21 paused r002 farah 17 closed r003 kim 13 ready r004 chen 21 paused r005 farah 16 paused r006 gus 12 paused r007 kim 25 closed r008 hana 15 ready
21 17 13 21 16 12 25 15
score region state display_name r001 ivan 10 failed r002 hana 29 active r003 farah 25 closed r004 ivan 3 failed r005 kim 13 pending r006 bruno 26 paused r007 lina 11 closed r008 lina 27 ready r009 kim 5 failed r010 ivan 8 ready
10 29 25 3 13 26 11 27 5 8
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053849
qwen/qwen3.7-plus
awkweave-0053850
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 alice 9 closed r002 hana 22 ready r003 dina 23 pending r004 gus 23 failed r005 jules 3 pending r006 hana 3 ready r007 bruno 13 pending r008 eli 6 paused r009 alice 23 ready
hana dina gus bruno alice
record_id display_name score state r001 bruno 8 ready r002 chen 17 failed r003 alice 14 closed r004 lina 13 pending r005 ivan 15 active r006 lina 13 paused r007 gus 28 paused
chen alice lina ivan lina gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053850-p1
With the first line serving as a header, display the display_name field for any data entry where the score exceeds 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 alice 9 closed r002 hana 22 ready r003 dina 23 pending r004 gus 23 failed r005 jules 3 pending r006 hana 3 ready r007 bruno 13 pending r008 eli 6 paused r009 alice 23 ready
hana dina gus bruno alice
record_id display_name score state r001 bruno 8 ready r002 chen 17 failed r003 alice 14 closed r004 lina 13 pending r005 ivan 15 active r006 lina 13 paused r007 gus 28 paused
chen alice lina ivan lina gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053850
qwen/qwen3.7-plus
awkweave-0053851
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 15 failed jules 21 closed kim 27 paused gus 20 paused kim 12 ready hana 18 closed lina 14 paused chen 12 closed ivan 29 closed ivan 25 closed
failed closed paused paused ready closed paused closed closed closed
jules 12 pending dina 28 paused eli 13 closed farah 14 ready kim 18 closed bruno 5 failed
pending paused closed ready closed failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053851-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 15 failed jules 21 closed kim 27 paused gus 20 paused kim 12 ready hana 18 closed lina 14 paused chen 12 closed ivan 29 closed ivan 25 closed
failed closed paused paused ready closed paused closed closed closed
jules 12 pending dina 28 paused eli 13 closed farah 14 ready kim 18 closed bruno 5 failed
pending paused closed ready closed failed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0053851
qwen/qwen3.7-plus
awkweave-0053852
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}
eli,9,ready chen,29,failed hana,23,ready jules,3,active jules,10,paused lina,30,pending lina,4,pending kim,13,active eli,25,failed bruno,1,failed
chen hana lina kim eli
dina,5,active alice,4,ready bruno,15,pending dina,21,failed bruno,27,closed lina,7,ready chen,2,closed bruno,5,closed ivan,5,ready lina,24,active
bruno dina bruno lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053852-p1
For simple comma-separated input without quoted commas, output the first column only if the value in the second column is greater than 11.
BEGIN{FS=OFS=","}$2>11{print $1}
eli,9,ready chen,29,failed hana,23,ready jules,3,active jules,10,paused lina,30,pending lina,4,pending kim,13,active eli,25,failed bruno,1,failed
chen hana lina kim eli
dina,5,active alice,4,ready bruno,15,pending dina,21,failed bruno,27,closed lina,7,ready chen,2,closed bruno,5,closed ivan,5,ready lina,24,active
bruno dina bruno lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053852
qwen/qwen3.7-plus
awkweave-0053853
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina birch 89 farah delta 48 hana harbor 49 eli delta 4 lina juniper 72 lina fable 99
lina birch 89 farah delta 48 hana harbor 49 eli delta 4 lina juniper 72 lina fable 99
chen harbor 111 chen birch 49 eli delta 91 lina cobalt 81 ivan grove 48 lina ember 60 alice grove 46 eli harbor 89 chen harbor 69 bruno delta 26
chen harbor 111 chen birch 49 eli delta 91 lina cobalt 81 ivan grove 48 lina ember 60 alice grove 46 eli harbor 89 chen harbor 69 bruno delta 26
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053853-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina birch 89 farah delta 48 hana harbor 49 eli delta 4 lina juniper 72 lina fable 99
lina birch 89 farah delta 48 hana harbor 49 eli delta 4 lina juniper 72 lina fable 99
chen harbor 111 chen birch 49 eli delta 91 lina cobalt 81 ivan grove 48 lina ember 60 alice grove 46 eli harbor 89 chen harbor 69 bruno delta 26
chen harbor 111 chen birch 49 eli delta 91 lina cobalt 81 ivan grove 48 lina ember 60 alice grove 46 eli harbor 89 chen harbor 69 bruno delta 26
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053853
qwen/qwen3.7-plus
awkweave-0053854
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 41 paused ivan ember 48 active alice grove 30 failed eli juniper 29 pending jules indigo 80 ready gus delta 77 pending hana cobalt 19 active lina birch 91 active
hana juniper 41 paused
gus indigo 15 pending hana amber 105 closed farah harbor 39 active farah indigo 28 pending jules ember 113 closed ivan delta 11 closed
farah indigo 28 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053854-p1
Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 41 paused ivan ember 48 active alice grove 30 failed eli juniper 29 pending jules indigo 80 ready gus delta 77 pending hana cobalt 19 active lina birch 91 active
hana juniper 41 paused
gus indigo 15 pending hana amber 105 closed farah harbor 39 active farah indigo 28 pending jules ember 113 closed ivan delta 11 closed
farah indigo 28 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053854
qwen/qwen3.7-plus
awkweave-0053855
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
eli 102 farah 49 jules 80 farah 1 hana 49 eli 73 jules 87 alice 106
farah 49 farah 1 eli 73 alice 106
chen 108 alice 85 lina 34 jules 5 dina 47 kim 92 eli 31
alice 85 jules 5 kim 92
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053855-p1
Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
eli 102 farah 49 jules 80 farah 1 hana 49 eli 73 jules 87 alice 106
farah 49 farah 1 eli 73 alice 106
chen 108 alice 85 lina 34 jules 5 dina 47 kim 92 eli 31
alice 85 jules 5 kim 92
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053855
qwen/qwen3.7-plus
awkweave-0053856
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 51 delta fable 110 gamma fable 14 alpha birch 66 delta grove 80 beta fable 66
4
gamma birch 32 delta birch 54 gamma harbor 64 delta juniper 23 delta indigo 51 alpha cobalt 59
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053856-p1
Calculate the number of unique values present in the second column and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha amber 51 delta fable 110 gamma fable 14 alpha birch 66 delta grove 80 beta fable 66
4
gamma birch 32 delta birch 54 gamma harbor 64 delta juniper 23 delta indigo 51 alpha cobalt 59
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053856
qwen/qwen3.7-plus
awkweave-0053857
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}
dina 13 0 ivan 7 4 farah 15 6 eli 12 9 lina 18 19 kim 15 14 kim 3 22 lina 11 30 alice 27 13 chen 19 17
ivan 1.75 farah 2.50 eli 1.33 lina 0.95 kim 1.07 kim 0.14 lina 0.37 alice 2.08 chen 1.12
chen 24 0 farah 9 7 bruno 1 4 chen 1 4 bruno 17 25 bruno 19 12 alice 12 11 jules 10 13 kim 21 10
farah 1.29 bruno 0.25 chen 0.25 bruno 0.68 bruno 1.58 alice 1.09 jules 0.77 kim 2.10
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053857-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 13 0 ivan 7 4 farah 15 6 eli 12 9 lina 18 19 kim 15 14 kim 3 22 lina 11 30 alice 27 13 chen 19 17
ivan 1.75 farah 2.50 eli 1.33 lina 0.95 kim 1.07 kim 0.14 lina 0.37 alice 2.08 chen 1.12
chen 24 0 farah 9 7 bruno 1 4 chen 1 4 bruno 17 25 bruno 19 12 alice 12 11 jules 10 13 kim 21 10
farah 1.29 bruno 0.25 chen 0.25 bruno 0.68 bruno 1.58 alice 1.09 jules 0.77 kim 2.10
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053857
qwen/qwen3.7-plus
awkweave-0053858
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]}
dina amber 15 eli indigo 14 ivan ember 9 ivan juniper 27 chen juniper 12 jules ember 20 bruno cobalt 12 eli cobalt 22
ivan juniper 27 eli cobalt 22 jules ember 20
dina birch 27 bruno juniper 9 bruno ember 22 hana delta 19 alice amber 10 farah fable 12
dina birch 27 bruno ember 22 hana delta 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053858-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order 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]}
dina amber 15 eli indigo 14 ivan ember 9 ivan juniper 27 chen juniper 12 jules ember 20 bruno cobalt 12 eli cobalt 22
ivan juniper 27 eli cobalt 22 jules ember 20
dina birch 27 bruno juniper 9 bruno ember 22 hana delta 19 alice amber 10 farah fable 12
dina birch 27 bruno ember 22 hana delta 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053858
qwen/qwen3.7-plus
awkweave-0053859
Print column 5 followed by column 4 for every record.
{print $5, $4}
29 pending paused gus fable 42 closed paused lina grove 116 active active hana grove 90 active paused eli harbor 90 pending paused eli delta 6 pending failed farah juniper 40 pending failed eli grove 55 closed paused hana grove 92 paused active chen delta
fable gus grove lina grove hana harbor eli delta eli juniper farah grove eli grove hana delta chen
90 ready paused dina cobalt 75 closed failed lina birch 83 pending failed alice ember 3 active active chen birch 4 closed paused alice indigo 71 ready active chen delta
cobalt dina birch lina ember alice birch chen indigo alice delta chen
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053859-p1
For every record, print the fifth column followed immediately by the fourth column.
{print $5, $4}
29 pending paused gus fable 42 closed paused lina grove 116 active active hana grove 90 active paused eli harbor 90 pending paused eli delta 6 pending failed farah juniper 40 pending failed eli grove 55 closed paused hana grove 92 paused active chen delta
fable gus grove lina grove hana harbor eli delta eli juniper farah grove eli grove hana delta chen
90 ready paused dina cobalt 75 closed failed lina birch 83 pending failed alice ember 3 active active chen birch 4 closed paused alice indigo 71 ready active chen delta
cobalt dina birch lina ember alice birch chen indigo alice delta chen
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053859
qwen/qwen3.7-plus
awkweave-0053860
Print the last field of every input line.
{print $NF}
closed amber cobalt paused grove delta paused fable ember failed grove ember active harbor delta ready indigo fable
cobalt delta ember ember delta fable
paused fable amber paused delta fable paused cobalt amber paused amber grove failed amber birch closed amber amber ready birch juniper
amber fable amber grove birch amber juniper
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053860-p1
Output the final field from each line of input.
{print $NF}
closed amber cobalt paused grove delta paused fable ember failed grove ember active harbor delta ready indigo fable
cobalt delta ember ember delta fable
paused fable amber paused delta fable paused cobalt amber paused amber grove failed amber birch closed amber amber ready birch juniper
amber fable amber grove birch amber juniper
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053860
qwen/qwen3.7-plus
awkweave-0053861
Print the complete records where column 1 is greater than 72.
$1 > 72
104 harbor lina paused 87 fable hana closed 69 delta chen closed 104 fable hana paused 74 harbor bruno paused 36 birch chen ready 15 amber farah active 60 cobalt gus pending
104 harbor lina paused 87 fable hana closed 104 fable hana paused 74 harbor bruno paused
103 ember hana pending 101 indigo lina closed 114 harbor eli failed 111 fable eli pending 82 harbor chen ready 40 ember chen ready 17 fable lina closed 100 grove alice paused 100 delta dina ready 17 amber alice paused
103 ember hana pending 101 indigo lina closed 114 harbor eli failed 111 fable eli pending 82 harbor chen ready 100 grove alice paused 100 delta dina ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053861-p1
Display full records where the value in the first column exceeds 72.
$1 > 72
104 harbor lina paused 87 fable hana closed 69 delta chen closed 104 fable hana paused 74 harbor bruno paused 36 birch chen ready 15 amber farah active 60 cobalt gus pending
104 harbor lina paused 87 fable hana closed 104 fable hana paused 74 harbor bruno paused
103 ember hana pending 101 indigo lina closed 114 harbor eli failed 111 fable eli pending 82 harbor chen ready 40 ember chen ready 17 fable lina closed 100 grove alice paused 100 delta dina ready 17 amber alice paused
103 ember hana pending 101 indigo lina closed 114 harbor eli failed 111 fable eli pending 82 harbor chen ready 100 grove alice paused 100 delta dina ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053861
qwen/qwen3.7-plus
awkweave-0053862
Show whole lines whose 1st field is between 6 and 19, inclusive.
$1 >= 6 && $1 <= 19
24 bruno grove active 7 hana ember ready 1 kim amber active 16 jules indigo paused 20 alice fable pending 30 dina cobalt ready 2 ivan juniper pending 11 chen fable active
7 hana ember ready 16 jules indigo paused 11 chen fable active
17 lina ember ready 25 jules cobalt ready 11 lina harbor closed 7 jules birch pending 12 gus ember pending 21 lina delta closed 12 gus harbor paused 25 eli fable pending 3 hana delta failed 10 gus indigo pending
17 lina ember ready 11 lina harbor closed 7 jules birch pending 12 gus ember pending 12 gus harbor paused 10 gus indigo pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053862-p1
Show entire lines where the first field falls within the inclusive range of 6 to 19.
$1 >= 6 && $1 <= 19
24 bruno grove active 7 hana ember ready 1 kim amber active 16 jules indigo paused 20 alice fable pending 30 dina cobalt ready 2 ivan juniper pending 11 chen fable active
7 hana ember ready 16 jules indigo paused 11 chen fable active
17 lina ember ready 25 jules cobalt ready 11 lina harbor closed 7 jules birch pending 12 gus ember pending 21 lina delta closed 12 gus harbor paused 25 eli fable pending 3 hana delta failed 10 gus indigo pending
17 lina ember ready 11 lina harbor closed 7 jules birch pending 12 gus ember pending 12 gus harbor paused 10 gus indigo pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053862
qwen/qwen3.7-plus
awkweave-0053863
Print column 1 only for rows where column 3 is exactly paused.
$3 == "paused"{print $1}
gus amber closed 75 chen juniper paused 45 gus delta pending 97 farah harbor active 87 dina harbor closed 80 farah amber active 116 hana juniper ready 111
chen
bruno cobalt pending 5 lina delta ready 36 chen indigo ready 5 hana indigo paused 55 lina fable failed 111 ivan harbor paused 60
hana ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053863-p1
Output only the first column for rows where the third column is exactly 'paused'.
$3 == "paused"{print $1}
gus amber closed 75 chen juniper paused 45 gus delta pending 97 farah harbor active 87 dina harbor closed 80 farah amber active 116 hana juniper ready 111
chen
bruno cobalt pending 5 lina delta ready 36 chen indigo ready 5 hana indigo paused 55 lina fable failed 111 ivan harbor paused 60
hana ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053863
qwen/qwen3.7-plus
awkweave-0053864
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO fable 55 WARN indigo 98 DEBUG amber 22 ERROR fable 78 INFO cobalt 84 INFO fable 100
INFO fable 55 INFO cobalt 84 INFO fable 100
WARN ember 62 ERROR amber 108 INFO ember 80 WARN grove 5 DEBUG ember 28 INFO indigo 32 INFO grove 45 DEBUG grove 60 WARN ember 27
INFO ember 80 INFO indigo 32 INFO grove 45
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053864-p1
Print all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
INFO fable 55 WARN indigo 98 DEBUG amber 22 ERROR fable 78 INFO cobalt 84 INFO fable 100
INFO fable 55 INFO cobalt 84 INFO fable 100
WARN ember 62 ERROR amber 108 INFO ember 80 WARN grove 5 DEBUG ember 28 INFO indigo 32 INFO grove 45 DEBUG grove 60 WARN ember 27
INFO ember 80 INFO indigo 32 INFO grove 45
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053864
qwen/qwen3.7-plus
awkweave-0053865
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
harbor 48 paused harbor 95 active indigo 77 active ember 44 active harbor 0 failed amber 2 pending harbor 999 active
indigo 77 active ember 44 active amber 2 pending
indigo 2 failed ember 26 ready birch 29 failed juniper 63 paused birch 28 ready delta 48 closed indigo 8 ready juniper 104 pending ember 109 failed juniper 94 active harbor 999 active
indigo 2 failed ember 26 ready birch 29 failed juniper 63 paused birch 28 ready delta 48 closed indigo 8 ready juniper 104 pending ember 109 failed juniper 94 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053865-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
harbor 48 paused harbor 95 active indigo 77 active ember 44 active harbor 0 failed amber 2 pending harbor 999 active
indigo 77 active ember 44 active amber 2 pending
indigo 2 failed ember 26 ready birch 29 failed juniper 63 paused birch 28 ready delta 48 closed indigo 8 ready juniper 104 pending ember 109 failed juniper 94 active harbor 999 active
indigo 2 failed ember 26 ready birch 29 failed juniper 63 paused birch 28 ready delta 48 closed indigo 8 ready juniper 104 pending ember 109 failed juniper 94 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053865
qwen/qwen3.7-plus
awkweave-0053866
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
gus ember 120 dina juniper 81 chen delta 10 farah grove 97 farah delta 75 kim grove 96 hana fable 87
chen delta 10 farah grove 97
hana birch 6 alice birch 92 bruno indigo 22 bruno indigo 0 lina birch 99 jules amber 30 kim amber 101
bruno indigo 22 bruno indigo 0
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053866-p1
Output lines 3 to 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
gus ember 120 dina juniper 81 chen delta 10 farah grove 97 farah delta 75 kim grove 96 hana fable 87
chen delta 10 farah grove 97
hana birch 6 alice birch 92 bruno indigo 22 bruno indigo 0 lina birch 99 jules amber 30 kim amber 101
bruno indigo 22 bruno indigo 0
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053866
qwen/qwen3.7-plus
awkweave-0053867
Output only the first 5 records.
NR <= 5
hana 94 harbor hana 29 indigo dina 118 indigo gus 47 fable gus 46 amber hana 112 ember dina 114 ember gus 47 birch jules 114 juniper
hana 94 harbor hana 29 indigo dina 118 indigo gus 47 fable gus 46 amber
dina 108 amber jules 45 juniper gus 35 harbor chen 23 indigo kim 57 fable gus 32 birch dina 39 indigo eli 38 harbor hana 41 harbor
dina 108 amber jules 45 juniper gus 35 harbor chen 23 indigo kim 57 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053867-p1
Display only the first 5 records.
NR <= 5
hana 94 harbor hana 29 indigo dina 118 indigo gus 47 fable gus 46 amber hana 112 ember dina 114 ember gus 47 birch jules 114 juniper
hana 94 harbor hana 29 indigo dina 118 indigo gus 47 fable gus 46 amber
dina 108 amber jules 45 juniper gus 35 harbor chen 23 indigo kim 57 fable gus 32 birch dina 39 indigo eli 38 harbor hana 41 harbor
dina 108 amber jules 45 juniper gus 35 harbor chen 23 indigo kim 57 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053867
qwen/qwen3.7-plus
awkweave-0053868
Skip the first line and print every remaining line unchanged.
NR > 1
farah 11 harbor kim 32 amber bruno 61 cobalt eli 34 indigo jules 68 harbor chen 87 amber ivan 47 fable
kim 32 amber bruno 61 cobalt eli 34 indigo jules 68 harbor chen 87 amber ivan 47 fable
ivan 115 birch hana 24 fable eli 13 delta gus 108 harbor chen 96 amber lina 110 cobalt bruno 40 amber
hana 24 fable eli 13 delta gus 108 harbor chen 96 amber lina 110 cobalt bruno 40 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053868-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
farah 11 harbor kim 32 amber bruno 61 cobalt eli 34 indigo jules 68 harbor chen 87 amber ivan 47 fable
kim 32 amber bruno 61 cobalt eli 34 indigo jules 68 harbor chen 87 amber ivan 47 fable
ivan 115 birch hana 24 fable eli 13 delta gus 108 harbor chen 96 amber lina 110 cobalt bruno 40 amber
hana 24 fable eli 13 delta gus 108 harbor chen 96 amber lina 110 cobalt bruno 40 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053868
qwen/qwen3.7-plus
awkweave-0053869
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
chen closed 45 gus ready 81 eli paused 51 chen closed 39 dina paused 38 jules failed 87
1
jules paused 4 ivan pending 107 ivan paused 27 bruno paused 49 ivan pending 29 alice active 71
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053869-p1
Count the number of records with 'failed' in the second column; output 0 if none exist.
$2 == "failed"{n++}END{print n+0}
chen closed 45 gus ready 81 eli paused 51 chen closed 39 dina paused 38 jules failed 87
1
jules paused 4 ivan pending 107 ivan paused 27 bruno paused 49 ivan pending 29 alice active 71
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053869
qwen/qwen3.7-plus
awkweave-0053870
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
24 jules delta 14 chen grove 19 eli cobalt 19 bruno cobalt 5 dina cobalt 25 hana harbor 16 jules fable 25 eli indigo 14 dina juniper 27 gus amber
188
10 bruno birch 29 hana amber 4 ivan cobalt 21 jules delta 4 hana juniper 2 chen amber 6 bruno harbor 23 lina delta 12 ivan indigo 10 hana harbor
121
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053870-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
24 jules delta 14 chen grove 19 eli cobalt 19 bruno cobalt 5 dina cobalt 25 hana harbor 16 jules fable 25 eli indigo 14 dina juniper 27 gus amber
188
10 bruno birch 29 hana amber 4 ivan cobalt 21 jules delta 4 hana juniper 2 chen amber 6 bruno harbor 23 lina delta 12 ivan indigo 10 hana harbor
121
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053870
qwen/qwen3.7-plus
awkweave-0053871
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 8 birch chen 21 fable gus 11 grove chen 16 amber alice 12 birch dina 21 fable chen 8 birch dina 23 amber kim 8 fable
14.22
lina 30 birch chen 26 cobalt eli 24 ember alice 3 harbor gus 16 indigo ivan 21 amber hana 10 indigo
18.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053871-p1
Calculate and print the average of the second column, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
ivan 8 birch chen 21 fable gus 11 grove chen 16 amber alice 12 birch dina 21 fable chen 8 birch dina 23 amber kim 8 fable
14.22
lina 30 birch chen 26 cobalt eli 24 ember alice 3 harbor gus 16 indigo ivan 21 amber hana 10 indigo
18.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053871
qwen/qwen3.7-plus
awkweave-0053872
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 ember kim 5 cobalt dina 27 juniper lina 3 delta jules 15 indigo hana 20 indigo gus 23 ember farah
1
25 delta eli 13 amber dina 13 delta gus 3 ember eli 6 birch farah 1 grove bruno 7 amber eli 17 harbor hana 27 amber jules
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053872-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
1 ember kim 5 cobalt dina 27 juniper lina 3 delta jules 15 indigo hana 20 indigo gus 23 ember farah
1
25 delta eli 13 amber dina 13 delta gus 3 ember eli 6 birch farah 1 grove bruno 7 amber eli 17 harbor hana 27 amber jules
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053872
qwen/qwen3.7-plus
awkweave-0053873
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
hana 26 fable alice 18 grove gus 17 ember lina 18 delta eli 21 amber eli 28 juniper alice 12 juniper farah 8 indigo jules 12 delta jules 17 cobalt
28
ivan 30 harbor alice 30 ember ivan 4 amber gus 5 cobalt eli 15 juniper eli 12 grove chen 18 amber kim 20 birch
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053873-p1
Locate and display the maximum numeric value within the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
hana 26 fable alice 18 grove gus 17 ember lina 18 delta eli 21 amber eli 28 juniper alice 12 juniper farah 8 indigo jules 12 delta jules 17 cobalt
28
ivan 30 harbor alice 30 ember ivan 4 amber gus 5 cobalt eli 15 juniper eli 12 grove chen 18 amber kim 20 birch
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053873
qwen/qwen3.7-plus
awkweave-0053874
Count all input records and print the total.
END{print NR}
gus 96 kim 61 dina 110 farah 39 bruno 92 jules 83 farah 95
7
bruno 62 ivan 6 jules 61 bruno 79 kim 61 lina 83 eli 47 lina 16
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053874-p1
Calculate the total number of input records and print the count.
END{print NR}
gus 96 kim 61 dina 110 farah 39 bruno 92 jules 83 farah 95
7
bruno 62 ivan 6 jules 61 bruno 79 kim 61 lina 83 eli 47 lina 16
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053874
qwen/qwen3.7-plus
awkweave-0053875
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim fable 45 dina delta 12 ivan harbor 73 ivan cobalt 108 gus amber 116 bruno delta 70 bruno delta 70
kim fable 45 dina delta 12 ivan harbor 73 ivan cobalt 108 gus amber 116 bruno delta 70
kim indigo 81 ivan ember 120 eli juniper 1 hana harbor 87 hana harbor 87 farah cobalt 29 eli delta 88 chen delta 63 farah ember 44 gus amber 6
kim indigo 81 ivan ember 120 eli juniper 1 hana harbor 87 farah cobalt 29 eli delta 88 chen delta 63 farah ember 44 gus amber 6
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053875-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
kim fable 45 dina delta 12 ivan harbor 73 ivan cobalt 108 gus amber 116 bruno delta 70 bruno delta 70
kim fable 45 dina delta 12 ivan harbor 73 ivan cobalt 108 gus amber 116 bruno delta 70
kim indigo 81 ivan ember 120 eli juniper 1 hana harbor 87 hana harbor 87 farah cobalt 29 eli delta 88 chen delta 63 farah ember 44 gus amber 6
kim indigo 81 ivan ember 120 eli juniper 1 hana harbor 87 farah cobalt 29 eli delta 88 chen delta 63 farah ember 44 gus amber 6
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053875
qwen/qwen3.7-plus
awkweave-0053876
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
chen amber 83 farah ember 101 kim juniper 106 alice ember 25 ivan cobalt 15 eli ember 86 farah indigo 55 lina harbor 78 chen harbor 57 alice indigo 91
chen amber 83 farah ember 101 kim juniper 106 ivan cobalt 15 farah indigo 55 lina harbor 78
alice birch 13 kim ember 39 bruno cobalt 91 alice juniper 26 gus delta 104 jules grove 58 dina delta 79
alice birch 13 kim ember 39 bruno cobalt 91 alice juniper 26 gus delta 104 jules grove 58
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053876-p1
Retain only the initial line for every unique value in the second column, keeping the input order intact.
!seen[$2]++
chen amber 83 farah ember 101 kim juniper 106 alice ember 25 ivan cobalt 15 eli ember 86 farah indigo 55 lina harbor 78 chen harbor 57 alice indigo 91
chen amber 83 farah ember 101 kim juniper 106 ivan cobalt 15 farah indigo 55 lina harbor 78
alice birch 13 kim ember 39 bruno cobalt 91 alice juniper 26 gus delta 104 jules grove 58 dina delta 79
alice birch 13 kim ember 39 bruno cobalt 91 alice juniper 26 gus delta 104 jules grove 58
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053876
qwen/qwen3.7-plus
awkweave-0053877
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 11 amber eli 17 amber alice 5 harbor dina 21 indigo chen 3 juniper dina 18 fable ivan 19 grove
alice 11 eli 28 alice 33 dina 54 chen 57 dina 75 ivan 94
kim 2 delta jules 16 harbor alice 16 grove kim 13 indigo ivan 2 harbor alice 16 harbor farah 29 indigo eli 1 grove dina 22 delta
kim 2 jules 18 alice 34 kim 47 ivan 49 alice 65 farah 94 eli 95 dina 117
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053877-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
alice 11 amber eli 17 amber alice 5 harbor dina 21 indigo chen 3 juniper dina 18 fable ivan 19 grove
alice 11 eli 28 alice 33 dina 54 chen 57 dina 75 ivan 94
kim 2 delta jules 16 harbor alice 16 grove kim 13 indigo ivan 2 harbor alice 16 harbor farah 29 indigo eli 1 grove dina 22 delta
kim 2 jules 18 alice 34 kim 47 ivan 49 alice 65 farah 94 eli 95 dina 117
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053877
qwen/qwen3.7-plus
awkweave-0053878
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 20 20 cobalt eli 29 27 fable alice 3 7 delta jules 30 11 indigo ivan 28 2 indigo chen 9 8 fable dina 22 8 indigo jules 1 4 ember alice 27 10 grove alice 7 15 fable
eli 40 eli 56 alice 10 jules 41 ivan 30 chen 17 dina 30 jules 5 alice 37 alice 22
alice 20 4 amber farah 21 6 ember chen 1 2 cobalt ivan 24 22 delta farah 7 26 indigo jules 3 28 ember
alice 24 farah 27 chen 3 ivan 46 farah 33 jules 31
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053878-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
eli 20 20 cobalt eli 29 27 fable alice 3 7 delta jules 30 11 indigo ivan 28 2 indigo chen 9 8 fable dina 22 8 indigo jules 1 4 ember alice 27 10 grove alice 7 15 fable
eli 40 eli 56 alice 10 jules 41 ivan 30 chen 17 dina 30 jules 5 alice 37 alice 22
alice 20 4 amber farah 21 6 ember chen 1 2 cobalt ivan 24 22 delta farah 7 26 indigo jules 3 28 ember
alice 24 farah 27 chen 3 ivan 46 farah 33 jules 31
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053878
qwen/qwen3.7-plus
awkweave-0053879
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
eli 12 bruno 6 gus 27 hana 22 bruno 24 farah 19 hana 9 jules 22 farah 3
eli fail bruno fail gus pass hana pass bruno pass farah fail hana fail jules pass farah fail
kim 10 eli 29 bruno 11 farah 19 dina 8 hana 2 dina 10 alice 15 kim 15
kim fail eli pass bruno fail farah fail dina fail hana fail dina fail alice fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053879-p1
Output the first column; append 'pass' if the second column is 21 or greater, otherwise append 'fail'.
{print $1,($2>=21?"pass":"fail")}
eli 12 bruno 6 gus 27 hana 22 bruno 24 farah 19 hana 9 jules 22 farah 3
eli fail bruno fail gus pass hana pass bruno pass farah fail hana fail jules pass farah fail
kim 10 eli 29 bruno 11 farah 19 dina 8 hana 2 dina 10 alice 15 kim 15
kim fail eli pass bruno fail farah fail dina fail hana fail dina fail alice fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053879
qwen/qwen3.7-plus
awkweave-0053880
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
bruno juniper 82 hana amber 24 alice juniper 86 lina delta 92 gus ember 69 bruno amber 85 kim ember 69 jules delta 30
BRUNO HANA ALICE LINA GUS BRUNO KIM JULES
gus amber 112 kim delta 107 hana birch 3 farah cobalt 54 farah birch 59 hana amber 62 dina juniper 36 jules harbor 93 bruno juniper 23
GUS KIM HANA FARAH FARAH HANA DINA JULES BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053880-p1
Transform the first column to uppercase letters and print only that column.
{print toupper($1)}
bruno juniper 82 hana amber 24 alice juniper 86 lina delta 92 gus ember 69 bruno amber 85 kim ember 69 jules delta 30
BRUNO HANA ALICE LINA GUS BRUNO KIM JULES
gus amber 112 kim delta 107 hana birch 3 farah cobalt 54 farah birch 59 hana amber 62 dina juniper 36 jules harbor 93 bruno juniper 23
GUS KIM HANA FARAH FARAH HANA DINA JULES BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053880
qwen/qwen3.7-plus
awkweave-0053881
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
ember 19 amber 48 fable 2 juniper 14 fable 71 birch 102 fable 21
ber ber ble nipe ble rch ble
fable 98 indigo 32 juniper 45 ember 7 delta 88 fable 97 cobalt 60
ble digo nipe ber lta ble balt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053881-p1
Extract and print a substring of 4 characters from the first column, beginning at the third character.
{print substr($1,3,4)}
ember 19 amber 48 fable 2 juniper 14 fable 71 birch 102 fable 21
ber ber ble nipe ble rch ble
fable 98 indigo 32 juniper 45 ember 7 delta 88 fable 97 cobalt 60
ble digo nipe ber lta ble balt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053881
qwen/qwen3.7-plus
awkweave-0053882
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_birch 110 birch_ember 23 delta_delta 120 fable_indigo 32 juniper_harbor 28 cobalt_delta 119 fable_fable 53 cobalt_birch 65 grove_delta 103 indigo_amber 99
indigo birch birch ember delta delta fable indigo juniper harbor cobalt delta fable fable cobalt birch grove delta indigo amber
grove_amber 96 birch_amber 16 harbor_cobalt 95 harbor_delta 75 grove_grove 49 cobalt_ember 20 indigo_indigo 39 juniper_amber 70
grove amber birch amber harbor cobalt harbor delta grove grove cobalt ember indigo indigo juniper amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0053882-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
indigo_birch 110 birch_ember 23 delta_delta 120 fable_indigo 32 juniper_harbor 28 cobalt_delta 119 fable_fable 53 cobalt_birch 65 grove_delta 103 indigo_amber 99
indigo birch birch ember delta delta fable indigo juniper harbor cobalt delta fable fable cobalt birch grove delta indigo amber
grove_amber 96 birch_amber 16 harbor_cobalt 95 harbor_delta 75 grove_grove 49 cobalt_ember 20 indigo_indigo 39 juniper_amber 70
grove amber birch amber harbor cobalt harbor delta grove grove cobalt ember indigo indigo juniper amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0053882
qwen/qwen3.7-plus