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-0001550
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"]}
note state score display_name r001 dina 10 closed r002 alice 18 active r003 hana 7 ready r004 chen 8 ready r005 lina 9 paused r006 hana 16 failed r007 kim 8 paused r008 ivan 30 pending r009 alice 29 failed
dina alice hana chen lina hana kim ivan alice
note state score display_name r001 eli 12 paused r002 bruno 28 failed r003 chen 15 paused r004 chen 10 ready r005 kim 12 failed r006 bruno 23 closed
eli bruno chen chen kim bruno
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001550-p1
Skip the header row and print the state column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note state score display_name r001 dina 10 closed r002 alice 18 active r003 hana 7 ready r004 chen 8 ready r005 lina 9 paused r006 hana 16 failed r007 kim 8 paused r008 ivan 30 pending r009 alice 29 failed
dina alice hana chen lina hana kim ivan alice
note state score display_name r001 eli 12 paused r002 bruno 28 failed r003 chen 15 paused r004 chen 10 ready r005 kim 12 failed r006 bruno 23 closed
eli bruno chen chen kim bruno
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001550
qwen/qwen3.7-plus
awkweave-0001551
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 hana 30 active r002 lina 24 pending r003 dina 10 paused r004 kim 29 active r005 jules 2 failed r006 ivan 29 closed r007 hana 30 active r008 hana 21 closed
hana lina kim ivan hana hana
record_id display_name score state r001 lina 6 active r002 bruno 10 active r003 ivan 16 paused r004 jules 6 closed r005 dina 7 ready r006 chen 5 failed
ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001551-p1
Ignoring the header, print the display_name for rows where the score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 hana 30 active r002 lina 24 pending r003 dina 10 paused r004 kim 29 active r005 jules 2 failed r006 ivan 29 closed r007 hana 30 active r008 hana 21 closed
hana lina kim ivan hana hana
record_id display_name score state r001 lina 6 active r002 bruno 10 active r003 ivan 16 paused r004 jules 6 closed r005 dina 7 ready r006 chen 5 failed
ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001551
qwen/qwen3.7-plus
awkweave-0001552
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
gus 25 closed ivan 18 paused alice 30 closed chen 26 active hana 12 pending farah 10 pending lina 24 failed dina 28 ready eli 13 active
25 18 30 26 12 10 24 28 13
farah 7 closed bruno 13 paused alice 30 active jules 30 active hana 4 paused dina 26 ready hana 23 closed kim 30 active
7 13 30 30 4 26 23 30
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001552-p1
Given tab-separated input, output the second column from each record.
BEGIN{FS=OFS="\t"}{print $2}
gus 25 closed ivan 18 paused alice 30 closed chen 26 active hana 12 pending farah 10 pending lina 24 failed dina 28 ready eli 13 active
25 18 30 26 12 10 24 28 13
farah 7 closed bruno 13 paused alice 30 active jules 30 active hana 4 paused dina 26 ready hana 23 closed kim 30 active
7 13 30 30 4 26 23 30
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001552
qwen/qwen3.7-plus
awkweave-0001553
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
jules,20,pending farah,26,paused gus,19,paused chen,5,paused lina,9,closed farah,23,paused chen,17,pending gus,22,paused
jules farah gus farah chen gus
lina,1,closed gus,14,ready dina,11,closed gus,30,failed lina,3,pending hana,3,closed hana,6,paused lina,17,ready alice,24,paused
gus lina alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001553-p1
For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
jules,20,pending farah,26,paused gus,19,paused chen,5,paused lina,9,closed farah,23,paused chen,17,pending gus,22,paused
jules farah gus farah chen gus
lina,1,closed gus,14,ready dina,11,closed gus,30,failed lina,3,pending hana,3,closed hana,6,paused lina,17,ready alice,24,paused
gus lina alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001553
qwen/qwen3.7-plus
awkweave-0001554
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
dina grove 65 chen birch 114 alice birch 96 kim indigo 100 jules amber 80 bruno fable 67 jules cobalt 111 jules indigo 29 chen juniper 38 hana cobalt 30
dina grove 65 chen birch 114 alice birch 96 kim indigo 100 jules amber 80 bruno fable 67 jules cobalt 111 jules indigo 29 chen juniper 38 hana cobalt 30
bruno fable 69 jules indigo 98 alice fable 76 bruno delta 85 chen fable 92 gus delta 8 kim birch 60 kim indigo 53 jules harbor 30
bruno fable 69 jules indigo 98 alice fable 76 bruno delta 85 chen fable 92 gus delta 8 kim birch 60 kim indigo 53 jules harbor 30
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001554-p1
Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
dina grove 65 chen birch 114 alice birch 96 kim indigo 100 jules amber 80 bruno fable 67 jules cobalt 111 jules indigo 29 chen juniper 38 hana cobalt 30
dina grove 65 chen birch 114 alice birch 96 kim indigo 100 jules amber 80 bruno fable 67 jules cobalt 111 jules indigo 29 chen juniper 38 hana cobalt 30
bruno fable 69 jules indigo 98 alice fable 76 bruno delta 85 chen fable 92 gus delta 8 kim birch 60 kim indigo 53 jules harbor 30
bruno fable 69 jules indigo 98 alice fable 76 bruno delta 85 chen fable 92 gus delta 8 kim birch 60 kim indigo 53 jules harbor 30
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001554
qwen/qwen3.7-plus
awkweave-0001555
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina birch 21 pending gus harbor 57 paused bruno grove 41 paused alice indigo 14 ready gus fable 26 failed gus fable 61 pending alice cobalt 115 ready gus cobalt 24 active hana cobalt 9 active
alice cobalt 115 ready
dina cobalt 3 ready jules fable 97 paused alice harbor 18 ready jules delta 120 active chen fable 110 active chen harbor 26 closed dina juniper 49 paused alice juniper 110 ready kim ember 52 active ivan amber 47 pending
alice juniper 110 ready
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001555-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
dina birch 21 pending gus harbor 57 paused bruno grove 41 paused alice indigo 14 ready gus fable 26 failed gus fable 61 pending alice cobalt 115 ready gus cobalt 24 active hana cobalt 9 active
alice cobalt 115 ready
dina cobalt 3 ready jules fable 97 paused alice harbor 18 ready jules delta 120 active chen fable 110 active chen harbor 26 closed dina juniper 49 paused alice juniper 110 ready kim ember 52 active ivan amber 47 pending
alice juniper 110 ready
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001555
qwen/qwen3.7-plus
awkweave-0001556
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
alice 83 ivan 46 alice 20 lina 85 chen 68 jules 54 lina 70 lina 55
ivan 46 jules 54
alice 51 chen 98 bruno 21 jules 116 jules 110 gus 48 chen 63 ivan 42 hana 10 alice 31
chen 98 gus 48 alice 31
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001556-p1
Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
alice 83 ivan 46 alice 20 lina 85 chen 68 jules 54 lina 70 lina 55
ivan 46 jules 54
alice 51 chen 98 bruno 21 jules 116 jules 110 gus 48 chen 63 ivan 42 hana 10 alice 31
chen 98 gus 48 alice 31
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001556
qwen/qwen3.7-plus
awkweave-0001557
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 28 delta birch 4 beta amber 40 beta birch 80 delta cobalt 70 beta juniper 92 beta fable 66 gamma grove 47 delta juniper 119 beta grove 3
7
alpha grove 82 gamma harbor 33 beta amber 37 beta delta 103 gamma ember 47 gamma indigo 16 alpha birch 74 gamma amber 108 delta indigo 91
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001557-p1
Calculate the number of unique values present in the second column and display only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 28 delta birch 4 beta amber 40 beta birch 80 delta cobalt 70 beta juniper 92 beta fable 66 gamma grove 47 delta juniper 119 beta grove 3
7
alpha grove 82 gamma harbor 33 beta amber 37 beta delta 103 gamma ember 47 gamma indigo 16 alpha birch 74 gamma amber 108 delta indigo 91
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001557
qwen/qwen3.7-plus
awkweave-0001558
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}
alice 10 0 dina 12 29 ivan 12 24 farah 3 8 kim 27 15 eli 17 16 chen 12 20 lina 12 13 lina 26 29
dina 0.41 ivan 0.50 farah 0.38 kim 1.80 eli 1.06 chen 0.60 lina 0.92 lina 0.90
hana 19 0 hana 18 13 farah 27 2 eli 23 21 gus 22 12 chen 25 16 jules 24 4 ivan 24 13
hana 1.38 farah 13.50 eli 1.10 gus 1.83 chen 1.56 jules 6.00 ivan 1.85
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001558-p1
For each row, output the value in column 1 followed by the result of column 2 divided by column 3, formatted to two decimal places; exclude any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 10 0 dina 12 29 ivan 12 24 farah 3 8 kim 27 15 eli 17 16 chen 12 20 lina 12 13 lina 26 29
dina 0.41 ivan 0.50 farah 0.38 kim 1.80 eli 1.06 chen 0.60 lina 0.92 lina 0.90
hana 19 0 hana 18 13 farah 27 2 eli 23 21 gus 22 12 chen 25 16 jules 24 4 ivan 24 13
hana 1.38 farah 13.50 eli 1.10 gus 1.83 chen 1.56 jules 6.00 ivan 1.85
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001558
qwen/qwen3.7-plus
awkweave-0001559
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]}
eli indigo 17 gus indigo 13 bruno amber 26 gus indigo 18 alice ember 17 gus grove 30 eli birch 8 kim grove 18
gus grove 30 bruno amber 26 gus indigo 18
gus ember 27 ivan delta 19 bruno harbor 6 kim fable 17 ivan indigo 7 alice grove 7 jules delta 6 bruno juniper 4 ivan indigo 19 alice ember 27
gus ember 27 alice ember 27 ivan delta 19
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001559-p1
Display the full records corresponding to the three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli indigo 17 gus indigo 13 bruno amber 26 gus indigo 18 alice ember 17 gus grove 30 eli birch 8 kim grove 18
gus grove 30 bruno amber 26 gus indigo 18
gus ember 27 ivan delta 19 bruno harbor 6 kim fable 17 ivan indigo 7 alice grove 7 jules delta 6 bruno juniper 4 ivan indigo 19 alice ember 27
gus ember 27 alice ember 27 ivan delta 19
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001559
qwen/qwen3.7-plus
awkweave-0001560
For each line, output fields 5 and 3, in that order.
{print $5, $3}
ember ready pending jules 42 ember pending failed alice 49 birch active closed ivan 17 ember failed failed dina 95 birch ready pending jules 102 cobalt failed ready dina 113 ember failed closed bruno 0 indigo failed pending gus 107 juniper ready pending dina 40 juniper ready pending eli 51
42 pending 49 failed 17 closed 95 failed 102 pending 113 ready 0 closed 107 pending 40 pending 51 pending
harbor closed pending dina 106 harbor failed paused hana 107 grove closed paused jules 98 indigo failed ready bruno 63 amber closed ready alice 37 cobalt pending closed hana 17 grove closed failed dina 113 indigo active closed chen 85 ember pending pending ivan 86 ember pending paused dina 44
106 pending 107 paused 98 paused 63 ready 37 ready 17 closed 113 failed 85 closed 86 pending 44 paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001560-p1
For every line, print the fifth field followed by the third field.
{print $5, $3}
ember ready pending jules 42 ember pending failed alice 49 birch active closed ivan 17 ember failed failed dina 95 birch ready pending jules 102 cobalt failed ready dina 113 ember failed closed bruno 0 indigo failed pending gus 107 juniper ready pending dina 40 juniper ready pending eli 51
42 pending 49 failed 17 closed 95 failed 102 pending 113 ready 0 closed 107 pending 40 pending 51 pending
harbor closed pending dina 106 harbor failed paused hana 107 grove closed paused jules 98 indigo failed ready bruno 63 amber closed ready alice 37 cobalt pending closed hana 17 grove closed failed dina 113 indigo active closed chen 85 ember pending pending ivan 86 ember pending paused dina 44
106 pending 107 paused 98 paused 63 ready 37 ready 17 closed 113 failed 85 closed 86 pending 44 paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001560
qwen/qwen3.7-plus
awkweave-0001561
Print the last field of every input line.
{print $NF}
95 paused indigo fable active 11 ready grove birch closed 18 failed juniper cobalt paused 53 closed birch juniper paused 56 closed juniper cobalt active 102 ready fable birch active 120 paused amber amber pending
active closed paused paused active active pending
96 paused delta harbor ready 117 active cobalt delta closed 103 pending juniper amber paused 31 pending birch grove pending 75 ready grove juniper ready 22 failed fable cobalt pending 45 active grove amber pending 113 paused indigo indigo closed 50 pending juniper grove failed
ready closed paused pending ready pending pending closed failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001561-p1
Output the final field from each input line.
{print $NF}
95 paused indigo fable active 11 ready grove birch closed 18 failed juniper cobalt paused 53 closed birch juniper paused 56 closed juniper cobalt active 102 ready fable birch active 120 paused amber amber pending
active closed paused paused active active pending
96 paused delta harbor ready 117 active cobalt delta closed 103 pending juniper amber paused 31 pending birch grove pending 75 ready grove juniper ready 22 failed fable cobalt pending 45 active grove amber pending 113 paused indigo indigo closed 50 pending juniper grove failed
ready closed paused pending ready pending pending closed failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001561
qwen/qwen3.7-plus
awkweave-0001562
Print the complete records where column 1 is less than 64.
$1 < 64
70 birch dina 55 grove kim 93 amber chen 67 ember ivan 33 cobalt jules 34 juniper alice 107 indigo eli 63 grove lina
55 grove kim 33 cobalt jules 34 juniper alice 63 grove lina
72 cobalt chen 104 cobalt bruno 5 indigo alice 90 birch farah 6 juniper gus 24 harbor ivan 8 juniper ivan
5 indigo alice 6 juniper gus 24 harbor ivan 8 juniper ivan
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001562-p1
Print the entire record for any row where the value in column 1 is strictly less than 64.
$1 < 64
70 birch dina 55 grove kim 93 amber chen 67 ember ivan 33 cobalt jules 34 juniper alice 107 indigo eli 63 grove lina
55 grove kim 33 cobalt jules 34 juniper alice 63 grove lina
72 cobalt chen 104 cobalt bruno 5 indigo alice 90 birch farah 6 juniper gus 24 harbor ivan 8 juniper ivan
5 indigo alice 6 juniper gus 24 harbor ivan 8 juniper ivan
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001562
qwen/qwen3.7-plus
awkweave-0001563
Show whole lines whose 3rd field is between 10 and 24, inclusive.
$3 >= 10 && $3 <= 24
grove closed 17 lina ember ready 17 alice harbor pending 2 gus amber ready 19 bruno amber closed 19 ivan fable paused 12 ivan harbor ready 28 jules delta ready 8 chen
grove closed 17 lina ember ready 17 alice amber ready 19 bruno amber closed 19 ivan fable paused 12 ivan
juniper closed 24 jules ember active 21 jules amber failed 13 farah juniper failed 17 alice amber pending 20 farah birch failed 29 alice ember failed 2 dina
juniper closed 24 jules ember active 21 jules amber failed 13 farah juniper failed 17 alice amber pending 20 farah
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001563-p1
Display complete lines where the third field has a numeric value between 10 and 24, inclusive.
$3 >= 10 && $3 <= 24
grove closed 17 lina ember ready 17 alice harbor pending 2 gus amber ready 19 bruno amber closed 19 ivan fable paused 12 ivan harbor ready 28 jules delta ready 8 chen
grove closed 17 lina ember ready 17 alice amber ready 19 bruno amber closed 19 ivan fable paused 12 ivan
juniper closed 24 jules ember active 21 jules amber failed 13 farah juniper failed 17 alice amber pending 20 farah birch failed 29 alice ember failed 2 dina
juniper closed 24 jules ember active 21 jules amber failed 13 farah juniper failed 17 alice amber pending 20 farah
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001563
qwen/qwen3.7-plus
awkweave-0001564
Print column 2 only for rows where column 1 is exactly ready.
$1 == "ready"{print $2}
pending alice 79 fable active gus 101 harbor closed eli 16 cobalt pending dina 104 birch pending gus 64 grove ready dina 107 delta
dina
active jules 100 ember ready alice 48 amber ready bruno 34 cobalt failed hana 25 cobalt failed alice 103 indigo failed hana 89 birch paused lina 11 cobalt
alice bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001564-p1
Output only the second column for rows where the first column contains exactly the string 'ready'.
$1 == "ready"{print $2}
pending alice 79 fable active gus 101 harbor closed eli 16 cobalt pending dina 104 birch pending gus 64 grove ready dina 107 delta
dina
active jules 100 ember ready alice 48 amber ready bruno 34 cobalt failed hana 25 cobalt failed alice 103 indigo failed hana 89 birch paused lina 11 cobalt
alice bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001564
qwen/qwen3.7-plus
awkweave-0001565
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
84 INFO juniper 93 INFO fable 21 DEBUG fable 31 INFO juniper 60 INFO birch 22 DEBUG amber 11 WARN harbor 39 ERROR harbor 68 ERROR juniper 79 ERROR ember
11 WARN harbor
46 DEBUG cobalt 97 ERROR indigo 32 ERROR delta 41 ERROR amber 33 WARN ember 85 WARN amber
33 WARN ember 85 WARN amber
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001565-p1
Print all fields from any line where the second field starts with the prefix 'WARN'.
$2 ~ /^WARN/
84 INFO juniper 93 INFO fable 21 DEBUG fable 31 INFO juniper 60 INFO birch 22 DEBUG amber 11 WARN harbor 39 ERROR harbor 68 ERROR juniper 79 ERROR ember
11 WARN harbor
46 DEBUG cobalt 97 ERROR indigo 32 ERROR delta 41 ERROR amber 33 WARN ember 85 WARN amber
33 WARN ember 85 WARN amber
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001565
qwen/qwen3.7-plus
awkweave-0001566
Print every line except those containing the exact text fable.
$0 !~ /fable/
amber 109 closed birch 12 pending grove 82 ready cobalt 2 closed delta 48 ready amber 105 closed cobalt 34 paused juniper 25 ready delta 76 closed grove 13 paused fable 999 active
amber 109 closed birch 12 pending grove 82 ready cobalt 2 closed delta 48 ready amber 105 closed cobalt 34 paused juniper 25 ready delta 76 closed grove 13 paused
cobalt 61 pending fable 30 pending grove 55 failed fable 71 closed delta 0 paused grove 108 paused fable 82 ready fable 999 active
cobalt 61 pending grove 55 failed delta 0 paused grove 108 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001566-p1
Display all lines that do not contain the exact string fable.
$0 !~ /fable/
amber 109 closed birch 12 pending grove 82 ready cobalt 2 closed delta 48 ready amber 105 closed cobalt 34 paused juniper 25 ready delta 76 closed grove 13 paused fable 999 active
amber 109 closed birch 12 pending grove 82 ready cobalt 2 closed delta 48 ready amber 105 closed cobalt 34 paused juniper 25 ready delta 76 closed grove 13 paused
cobalt 61 pending fable 30 pending grove 55 failed fable 71 closed delta 0 paused grove 108 paused fable 82 ready fable 999 active
cobalt 61 pending grove 55 failed delta 0 paused grove 108 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001566
qwen/qwen3.7-plus
awkweave-0001567
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah harbor 12 jules delta 57 jules birch 79 hana amber 28 jules birch 38 alice harbor 90 alice indigo 69 lina cobalt 85 jules cobalt 96
jules birch 79 hana amber 28
bruno fable 63 lina fable 13 jules harbor 20 dina harbor 64 hana amber 74 jules amber 21 chen juniper 46 farah ember 94 gus ember 95
jules harbor 20 dina harbor 64
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001567-p1
Output lines 3 to 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
farah harbor 12 jules delta 57 jules birch 79 hana amber 28 jules birch 38 alice harbor 90 alice indigo 69 lina cobalt 85 jules cobalt 96
jules birch 79 hana amber 28
bruno fable 63 lina fable 13 jules harbor 20 dina harbor 64 hana amber 74 jules amber 21 chen juniper 46 farah ember 94 gus ember 95
jules harbor 20 dina harbor 64
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001567
qwen/qwen3.7-plus
awkweave-0001568
Output only the first 5 records.
NR <= 5
chen 94 juniper jules 26 cobalt hana 104 grove chen 24 cobalt chen 0 juniper eli 8 harbor kim 25 harbor bruno 54 ember ivan 36 fable jules 102 harbor
chen 94 juniper jules 26 cobalt hana 104 grove chen 24 cobalt chen 0 juniper
hana 32 cobalt dina 45 indigo ivan 29 amber farah 82 delta chen 21 delta alice 13 delta kim 84 cobalt hana 102 amber hana 115 juniper alice 49 grove
hana 32 cobalt dina 45 indigo ivan 29 amber farah 82 delta chen 21 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001568-p1
Show only the initial 5 records.
NR <= 5
chen 94 juniper jules 26 cobalt hana 104 grove chen 24 cobalt chen 0 juniper eli 8 harbor kim 25 harbor bruno 54 ember ivan 36 fable jules 102 harbor
chen 94 juniper jules 26 cobalt hana 104 grove chen 24 cobalt chen 0 juniper
hana 32 cobalt dina 45 indigo ivan 29 amber farah 82 delta chen 21 delta alice 13 delta kim 84 cobalt hana 102 amber hana 115 juniper alice 49 grove
hana 32 cobalt dina 45 indigo ivan 29 amber farah 82 delta chen 21 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001568
qwen/qwen3.7-plus
awkweave-0001569
Skip the first line and print every remaining line unchanged.
NR > 1
lina 29 indigo hana 115 cobalt dina 118 grove hana 62 grove alice 74 ember ivan 111 juniper eli 77 amber
hana 115 cobalt dina 118 grove hana 62 grove alice 74 ember ivan 111 juniper eli 77 amber
chen 102 cobalt gus 13 grove dina 116 indigo alice 87 grove hana 108 juniper bruno 34 fable
gus 13 grove dina 116 indigo alice 87 grove hana 108 juniper bruno 34 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001569-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
lina 29 indigo hana 115 cobalt dina 118 grove hana 62 grove alice 74 ember ivan 111 juniper eli 77 amber
hana 115 cobalt dina 118 grove hana 62 grove alice 74 ember ivan 111 juniper eli 77 amber
chen 102 cobalt gus 13 grove dina 116 indigo alice 87 grove hana 108 juniper bruno 34 fable
gus 13 grove dina 116 indigo alice 87 grove hana 108 juniper bruno 34 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001569
qwen/qwen3.7-plus
awkweave-0001570
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
gus paused 86 chen pending 97 gus failed 44 alice failed 118 jules pending 30 dina paused 98 alice failed 30 kim active 18
3
dina failed 35 lina paused 106 eli paused 3 farah failed 104 gus active 34 kim paused 71 ivan ready 82
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001570-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
gus paused 86 chen pending 97 gus failed 44 alice failed 118 jules pending 30 dina paused 98 alice failed 30 kim active 18
3
dina failed 35 lina paused 106 eli paused 3 farah failed 104 gus active 34 kim paused 71 ivan ready 82
2
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0001570
qwen/qwen3.7-plus
awkweave-0001571
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
jules 9 grove jules 7 cobalt kim 10 birch dina 22 indigo chen 4 delta bruno 24 juniper
76
ivan 4 birch alice 27 birch jules 20 cobalt hana 11 grove lina 28 fable alice 30 birch eli 26 grove dina 8 birch dina 1 birch
155
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001571-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
jules 9 grove jules 7 cobalt kim 10 birch dina 22 indigo chen 4 delta bruno 24 juniper
76
ivan 4 birch alice 27 birch jules 20 cobalt hana 11 grove lina 28 fable alice 30 birch eli 26 grove dina 8 birch dina 1 birch
155
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001571
qwen/qwen3.7-plus
awkweave-0001572
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 chen grove 16 bruno delta 8 farah fable 14 kim grove 5 farah cobalt 8 farah fable 1 farah birch
11.14
22 alice cobalt 7 ivan harbor 6 ivan delta 11 chen cobalt 10 kim amber 5 kim juniper 26 jules juniper 12 bruno amber
12.38
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001572-p1
Print the average of column 1, rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 chen grove 16 bruno delta 8 farah fable 14 kim grove 5 farah cobalt 8 farah fable 1 farah birch
11.14
22 alice cobalt 7 ivan harbor 6 ivan delta 11 chen cobalt 10 kim amber 5 kim juniper 26 jules juniper 12 bruno amber
12.38
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001572
qwen/qwen3.7-plus
awkweave-0001573
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo alice 18 indigo chen 7 birch dina 27 indigo kim 19 fable alice 19 juniper dina 4
4
grove gus 14 harbor jules 19 ember dina 22 indigo eli 7 harbor farah 29 fable jules 16 delta jules 11 grove lina 8
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001573-p1
Identify and output the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo alice 18 indigo chen 7 birch dina 27 indigo kim 19 fable alice 19 juniper dina 4
4
grove gus 14 harbor jules 19 ember dina 22 indigo eli 7 harbor farah 29 fable jules 16 delta jules 11 grove lina 8
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001573
qwen/qwen3.7-plus
awkweave-0001574
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 15 hana birch 15 chen delta 20 gus juniper 23 jules fable 15 ivan ember 8 chen delta 29 jules delta 12 alice
29
cobalt 10 chen juniper 28 chen delta 24 lina juniper 19 jules grove 21 kim fable 3 ivan cobalt 2 gus fable 17 chen
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001574-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 15 hana birch 15 chen delta 20 gus juniper 23 jules fable 15 ivan ember 8 chen delta 29 jules delta 12 alice
29
cobalt 10 chen juniper 28 chen delta 24 lina juniper 19 jules grove 21 kim fable 3 ivan cobalt 2 gus fable 17 chen
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001574
qwen/qwen3.7-plus
awkweave-0001575
Count all input records and print the total.
END{print NR}
dina 118 hana 5 dina 73 bruno 39 hana 22 farah 59 bruno 112
7
kim 87 eli 25 ivan 20 bruno 49 lina 104 ivan 102 jules 117 chen 113 alice 86 bruno 117
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001575-p1
Count the total number of input records and print the result.
END{print NR}
dina 118 hana 5 dina 73 bruno 39 hana 22 farah 59 bruno 112
7
kim 87 eli 25 ivan 20 bruno 49 lina 104 ivan 102 jules 117 chen 113 alice 86 bruno 117
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001575
qwen/qwen3.7-plus
awkweave-0001576
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina ember 0 ivan indigo 120 jules amber 32 bruno delta 50 hana delta 19 jules cobalt 53 farah grove 5 chen indigo 28 jules cobalt 53 lina grove 33
dina ember 0 ivan indigo 120 jules amber 32 bruno delta 50 hana delta 19 jules cobalt 53 farah grove 5 chen indigo 28 lina grove 33
farah birch 79 kim harbor 36 farah birch 79 chen grove 92 hana cobalt 95 chen cobalt 29 ivan cobalt 112 eli harbor 14 lina fable 81 hana cobalt 53
farah birch 79 kim harbor 36 chen grove 92 hana cobalt 95 chen cobalt 29 ivan cobalt 112 eli harbor 14 lina fable 81 hana cobalt 53
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001576-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
dina ember 0 ivan indigo 120 jules amber 32 bruno delta 50 hana delta 19 jules cobalt 53 farah grove 5 chen indigo 28 jules cobalt 53 lina grove 33
dina ember 0 ivan indigo 120 jules amber 32 bruno delta 50 hana delta 19 jules cobalt 53 farah grove 5 chen indigo 28 lina grove 33
farah birch 79 kim harbor 36 farah birch 79 chen grove 92 hana cobalt 95 chen cobalt 29 ivan cobalt 112 eli harbor 14 lina fable 81 hana cobalt 53
farah birch 79 kim harbor 36 chen grove 92 hana cobalt 95 chen cobalt 29 ivan cobalt 112 eli harbor 14 lina fable 81 hana cobalt 53
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001576
qwen/qwen3.7-plus
awkweave-0001577
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana harbor 107 gus indigo 97 alice birch 100 alice grove 8 chen amber 57 alice delta 4 ivan harbor 39 chen amber 21 chen birch 49
hana harbor 107 gus indigo 97 alice birch 100 alice grove 8 chen amber 57 alice delta 4
bruno delta 94 eli amber 116 chen harbor 48 chen cobalt 18 kim ember 77 ivan fable 69 bruno delta 44
bruno delta 94 eli amber 116 chen harbor 48 chen cobalt 18 kim ember 77 ivan fable 69
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001577-p1
Retain only the first line for each unique value in column 2, preserving the input order.
!seen[$2]++
hana harbor 107 gus indigo 97 alice birch 100 alice grove 8 chen amber 57 alice delta 4 ivan harbor 39 chen amber 21 chen birch 49
hana harbor 107 gus indigo 97 alice birch 100 alice grove 8 chen amber 57 alice delta 4
bruno delta 94 eli amber 116 chen harbor 48 chen cobalt 18 kim ember 77 ivan fable 69 bruno delta 44
bruno delta 94 eli amber 116 chen harbor 48 chen cobalt 18 kim ember 77 ivan fable 69
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001577
qwen/qwen3.7-plus
awkweave-0001578
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 19 amber jules 23 cobalt eli 26 amber bruno 14 ember ivan 12 fable hana 30 fable ivan 23 fable bruno 10 harbor
hana 19 jules 42 eli 68 bruno 82 ivan 94 hana 124 ivan 147 bruno 157
hana 27 indigo bruno 25 grove ivan 17 fable hana 18 indigo gus 6 ember eli 15 cobalt hana 20 harbor alice 21 harbor
hana 27 bruno 52 ivan 69 hana 87 gus 93 eli 108 hana 128 alice 149
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001578-p1
Output the first column and the cumulative total of the second column for every record, using a space as the delimiter.
{s+=$2;print $1,s}
hana 19 amber jules 23 cobalt eli 26 amber bruno 14 ember ivan 12 fable hana 30 fable ivan 23 fable bruno 10 harbor
hana 19 jules 42 eli 68 bruno 82 ivan 94 hana 124 ivan 147 bruno 157
hana 27 indigo bruno 25 grove ivan 17 fable hana 18 indigo gus 6 ember eli 15 cobalt hana 20 harbor alice 21 harbor
hana 27 bruno 52 ivan 69 hana 87 gus 93 eli 108 hana 128 alice 149
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001578
qwen/qwen3.7-plus
awkweave-0001579
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 6 28 harbor ivan 6 11 grove jules 18 15 indigo jules 3 28 juniper alice 24 12 birch chen 2 28 grove dina 19 8 birch eli 18 23 delta chen 13 6 ember
kim 34 ivan 17 jules 33 jules 31 alice 36 chen 30 dina 27 eli 41 chen 19
bruno 7 22 harbor lina 3 28 fable hana 27 12 fable gus 27 24 cobalt eli 15 30 ember kim 25 23 indigo gus 15 1 birch
bruno 29 lina 31 hana 39 gus 51 eli 45 kim 48 gus 16
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001579-p1
For each line, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 6 28 harbor ivan 6 11 grove jules 18 15 indigo jules 3 28 juniper alice 24 12 birch chen 2 28 grove dina 19 8 birch eli 18 23 delta chen 13 6 ember
kim 34 ivan 17 jules 33 jules 31 alice 36 chen 30 dina 27 eli 41 chen 19
bruno 7 22 harbor lina 3 28 fable hana 27 12 fable gus 27 24 cobalt eli 15 30 ember kim 25 23 indigo gus 15 1 birch
bruno 29 lina 31 hana 39 gus 51 eli 45 kim 48 gus 16
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001579
qwen/qwen3.7-plus
awkweave-0001580
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
eli 12 dina 10 ivan 4 jules 18 kim 11 bruno 24 hana 5 alice 4 bruno 14 chen 27
eli fail dina fail ivan fail jules fail kim fail bruno fail hana fail alice fail bruno fail chen pass
bruno 12 ivan 2 kim 23 ivan 12 hana 11 ivan 6
bruno fail ivan fail kim fail ivan fail hana fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001580-p1
Display the first column; if the second column is 27 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=27?"pass":"fail")}
eli 12 dina 10 ivan 4 jules 18 kim 11 bruno 24 hana 5 alice 4 bruno 14 chen 27
eli fail dina fail ivan fail jules fail kim fail bruno fail hana fail alice fail bruno fail chen pass
bruno 12 ivan 2 kim 23 ivan 12 hana 11 ivan 6
bruno fail ivan fail kim fail ivan fail hana fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001580
qwen/qwen3.7-plus
awkweave-0001581
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli delta 76 chen birch 68 lina amber 44 eli grove 43 eli harbor 118 farah fable 67 lina birch 56 bruno harbor 109 chen juniper 63
DELTA BIRCH AMBER GROVE HARBOR FABLE BIRCH HARBOR JUNIPER
farah indigo 120 bruno indigo 48 dina indigo 66 chen cobalt 12 bruno indigo 8 lina harbor 85 kim juniper 119 farah indigo 80 jules delta 110
INDIGO INDIGO INDIGO COBALT INDIGO HARBOR JUNIPER INDIGO DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001581-p1
Transform the second column to uppercase letters and print only that modified column.
{print toupper($2)}
eli delta 76 chen birch 68 lina amber 44 eli grove 43 eli harbor 118 farah fable 67 lina birch 56 bruno harbor 109 chen juniper 63
DELTA BIRCH AMBER GROVE HARBOR FABLE BIRCH HARBOR JUNIPER
farah indigo 120 bruno indigo 48 dina indigo 66 chen cobalt 12 bruno indigo 8 lina harbor 85 kim juniper 119 farah indigo 80 jules delta 110
INDIGO INDIGO INDIGO COBALT INDIGO HARBOR JUNIPER INDIGO DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001581
qwen/qwen3.7-plus
awkweave-0001582
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
ember 56 harbor 64 delta 27 ember 101 delta 65 amber 79 birch 10 fable 97 harbor 45 ember 22
ber rbor lta ber lta ber rch ble rbor ber
indigo 81 delta 17 fable 30 fable 27 cobalt 96 birch 5 fable 77 indigo 5 cobalt 11
digo lta ble ble balt rch ble digo balt
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001582-p1
Extract and print a 4-character substring from the first column, beginning at the third character.
{print substr($1,3,4)}
ember 56 harbor 64 delta 27 ember 101 delta 65 amber 79 birch 10 fable 97 harbor 45 ember 22
ber rbor lta ber lta ber rch ble rbor ber
indigo 81 delta 17 fable 30 fable 27 cobalt 96 birch 5 fable 77 indigo 5 cobalt 11
digo lta ble ble balt rch ble digo balt
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001582
qwen/qwen3.7-plus
awkweave-0001583
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_harbor 14 ember_fable 66 delta_birch 74 delta_juniper 87 amber_fable 108 harbor_fable 111 indigo_amber 46 juniper_birch 33 birch_harbor 94 ember_grove 81
amber harbor ember fable delta birch delta juniper amber fable harbor fable indigo amber juniper birch birch harbor ember grove
harbor_fable 9 cobalt_fable 101 grove_fable 40 harbor_cobalt 52 indigo_amber 69 birch_juniper 78
harbor fable cobalt fable grove fable harbor cobalt indigo amber birch juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001583-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_harbor 14 ember_fable 66 delta_birch 74 delta_juniper 87 amber_fable 108 harbor_fable 111 indigo_amber 46 juniper_birch 33 birch_harbor 94 ember_grove 81
amber harbor ember fable delta birch delta juniper amber fable harbor fable indigo amber juniper birch birch harbor ember grove
harbor_fable 9 cobalt_fable 101 grove_fable 40 harbor_cobalt 52 indigo_amber 69 birch_juniper 78
harbor fable cobalt fable grove fable harbor cobalt indigo amber birch juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001583
qwen/qwen3.7-plus
awkweave-0001584
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)}
kim birch 75 ready kim grove 87 active kim amber 20 closed gus fable 18 pending lina delta 38 paused ivan birch 118 pending gus grove 119 pending jules cobalt 19 active dina grove 13 paused ivan juniper 102 pending
ready 75 birch kim active 87 grove kim closed 20 amber kim pending 18 fable gus paused 38 delta lina pending 118 birch ivan pending 119 grove gus active 19 cobalt jules paused 13 grove dina pending 102 juniper ivan
gus birch 78 paused alice indigo 103 ready kim amber 40 paused hana ember 73 active eli birch 67 ready lina harbor 19 paused
paused 78 birch gus ready 103 indigo alice paused 40 amber kim active 73 ember hana ready 67 birch eli paused 19 harbor lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001584-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)}
kim birch 75 ready kim grove 87 active kim amber 20 closed gus fable 18 pending lina delta 38 paused ivan birch 118 pending gus grove 119 pending jules cobalt 19 active dina grove 13 paused ivan juniper 102 pending
ready 75 birch kim active 87 grove kim closed 20 amber kim pending 18 fable gus paused 38 delta lina pending 118 birch ivan pending 119 grove gus active 19 cobalt jules paused 13 grove dina pending 102 juniper ivan
gus birch 78 paused alice indigo 103 ready kim amber 40 paused hana ember 73 active eli birch 67 ready lina harbor 19 paused
paused 78 birch gus ready 103 indigo alice paused 40 amber kim active 73 ember hana ready 67 birch eli paused 19 harbor lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001584
qwen/qwen3.7-plus
awkweave-0001585
Print the number of whitespace-separated fields on each line.
{print NF}
chen indigo 114 ready dina birch 93 active chen delta 24 paused farah harbor 58 paused chen birch 53 ready bruno birch 89 paused
4 4 4 4 4 4
gus indigo 49 active lina ember 34 active eli cobalt 6 failed gus indigo 76 active gus fable 20 active hana ember 21 failed dina amber 97 active ivan grove 64 closed bruno fable 89 ready farah delta 3 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001585-p1
Print the count of whitespace-delimited fields found on each line.
{print NF}
chen indigo 114 ready dina birch 93 active chen delta 24 paused farah harbor 58 paused chen birch 53 ready bruno birch 89 paused
4 4 4 4 4 4
gus indigo 49 active lina ember 34 active eli cobalt 6 failed gus indigo 76 active gus fable 20 active hana ember 21 failed dina amber 97 active ivan grove 64 closed bruno fable 89 ready farah delta 3 ready
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001585
qwen/qwen3.7-plus
awkweave-0001586
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]]}
farah alpha 65 dina gamma 54 chen alpha 84 eli beta 16 chen alpha 70 jules delta 78 eli gamma 105 bruno alpha 86
alpha 4 gamma 2 beta 1 delta 1
dina beta 47 eli gamma 97 hana alpha 10 gus beta 83 chen beta 11 jules alpha 83
beta 3 gamma 1 alpha 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001586-p1
Tally the number of records for each unique value in the second column, then print each value alongside its count in the order they first appeared.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
farah alpha 65 dina gamma 54 chen alpha 84 eli beta 16 chen alpha 70 jules delta 78 eli gamma 105 bruno alpha 86
alpha 4 gamma 2 beta 1 delta 1
dina beta 47 eli gamma 97 hana alpha 10 gus beta 83 chen beta 11 jules alpha 83
beta 3 gamma 1 alpha 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001586
qwen/qwen3.7-plus
awkweave-0001587
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]]}
eli beta 3 eli delta 20 chen gamma 29 eli alpha 17 farah delta 20 chen beta 23 dina gamma 27 alice delta 15
beta 26 delta 55 gamma 56 alpha 17
chen beta 11 hana alpha 11 dina alpha 13 bruno delta 15 bruno alpha 15 chen delta 12 farah alpha 21 dina alpha 16
beta 11 alpha 76 delta 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001587-p1
Calculate the sum of the third column grouped by the second column's categories, printing the results in the order the groups first appeared.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli beta 3 eli delta 20 chen gamma 29 eli alpha 17 farah delta 20 chen beta 23 dina gamma 27 alice delta 15
beta 26 delta 55 gamma 56 alpha 17
chen beta 11 hana alpha 11 dina alpha 13 bruno delta 15 bruno alpha 15 chen delta 12 farah alpha 21 dina alpha 16
beta 11 alpha 76 delta 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001587
qwen/qwen3.7-plus
awkweave-0001588
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 grove 96 delta birch 71 alpha cobalt 4 alpha amber 21 delta cobalt 64 gamma delta 102 gamma birch 77 beta juniper 90 gamma grove 23
delta 3 alpha 2 gamma 3
alpha amber 14 beta harbor 32 alpha grove 89 alpha indigo 18 gamma harbor 90 gamma grove 40 delta cobalt 80 alpha juniper 120 gamma amber 53
alpha 4 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001588-p1
List each duplicate value from the first column along with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta grove 96 delta birch 71 alpha cobalt 4 alpha amber 21 delta cobalt 64 gamma delta 102 gamma birch 77 beta juniper 90 gamma grove 23
delta 3 alpha 2 gamma 3
alpha amber 14 beta harbor 32 alpha grove 89 alpha indigo 18 gamma harbor 90 gamma grove 40 delta cobalt 80 alpha juniper 120 gamma amber 53
alpha 4 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001588
qwen/qwen3.7-plus
awkweave-0001589
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"]}
state score record_id display_name r001 gus 8 failed r002 alice 18 pending r003 dina 26 failed r004 alice 4 ready r005 chen 6 active r006 kim 17 active r007 gus 7 active r008 eli 21 failed
gus alice dina alice chen kim gus eli
state score record_id display_name r001 chen 27 pending r002 lina 19 pending r003 hana 4 pending r004 gus 15 ready r005 kim 27 failed r006 chen 18 pending r007 ivan 5 ready
chen lina hana gus kim chen ivan
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001589-p1
Skip the header row and print the values from the score column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state score record_id display_name r001 gus 8 failed r002 alice 18 pending r003 dina 26 failed r004 alice 4 ready r005 chen 6 active r006 kim 17 active r007 gus 7 active r008 eli 21 failed
gus alice dina alice chen kim gus eli
state score record_id display_name r001 chen 27 pending r002 lina 19 pending r003 hana 4 pending r004 gus 15 ready r005 kim 27 failed r006 chen 18 pending r007 ivan 5 ready
chen lina hana gus kim chen ivan
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001589
qwen/qwen3.7-plus
awkweave-0001600
Print the last field of every input line.
{print $NF}
51 cobalt ember 88 indigo cobalt 17 cobalt juniper 14 juniper fable 18 amber ember 118 grove grove
ember cobalt juniper fable ember grove
95 birch juniper 27 fable indigo 55 ember grove 39 delta birch 37 grove birch 32 amber ember 3 delta grove
juniper indigo grove birch birch ember grove
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001600-p1
Output the final field from each line of input.
{print $NF}
51 cobalt ember 88 indigo cobalt 17 cobalt juniper 14 juniper fable 18 amber ember 118 grove grove
ember cobalt juniper fable ember grove
95 birch juniper 27 fable indigo 55 ember grove 39 delta birch 37 grove birch 32 amber ember 3 delta grove
juniper indigo grove birch birch ember grove
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001600
qwen/qwen3.7-plus
awkweave-0001601
Print the complete records where column 3 is less than 47.
$3 < 47
farah harbor 20 cobalt farah indigo 11 grove jules birch 56 indigo lina fable 38 delta jules grove 115 cobalt gus fable 75 juniper hana harbor 73 juniper kim cobalt 42 fable eli harbor 79 grove lina ember 51 indigo
farah harbor 20 cobalt farah indigo 11 grove lina fable 38 delta kim cobalt 42 fable
ivan grove 111 indigo gus delta 84 juniper alice delta 83 cobalt chen juniper 93 fable ivan amber 85 grove jules birch 47 birch
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001601-p1
Display full records where the value in the third column is strictly less than 47.
$3 < 47
farah harbor 20 cobalt farah indigo 11 grove jules birch 56 indigo lina fable 38 delta jules grove 115 cobalt gus fable 75 juniper hana harbor 73 juniper kim cobalt 42 fable eli harbor 79 grove lina ember 51 indigo
farah harbor 20 cobalt farah indigo 11 grove lina fable 38 delta kim cobalt 42 fable
ivan grove 111 indigo gus delta 84 juniper alice delta 83 cobalt chen juniper 93 fable ivan amber 85 grove jules birch 47 birch
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001601
qwen/qwen3.7-plus
awkweave-0001602
Show whole lines whose 1st field is between 4 and 25, inclusive.
$1 >= 4 && $1 <= 25
1 juniper pending paused 25 indigo ready failed 2 grove failed ready 21 ember pending paused 6 indigo ready pending 22 delta failed failed 28 indigo closed active 8 birch pending active
25 indigo ready failed 21 ember pending paused 6 indigo ready pending 22 delta failed failed 8 birch pending active
16 cobalt ready ready 14 juniper paused pending 19 birch failed ready 4 juniper closed pending 21 amber active paused 2 birch pending ready 8 delta active active 10 indigo paused active
16 cobalt ready ready 14 juniper paused pending 19 birch failed ready 4 juniper closed pending 21 amber active paused 8 delta active active 10 indigo paused active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001602-p1
Show entire lines where the first field falls within the inclusive range of 4 to 25.
$1 >= 4 && $1 <= 25
1 juniper pending paused 25 indigo ready failed 2 grove failed ready 21 ember pending paused 6 indigo ready pending 22 delta failed failed 28 indigo closed active 8 birch pending active
25 indigo ready failed 21 ember pending paused 6 indigo ready pending 22 delta failed failed 8 birch pending active
16 cobalt ready ready 14 juniper paused pending 19 birch failed ready 4 juniper closed pending 21 amber active paused 2 birch pending ready 8 delta active active 10 indigo paused active
16 cobalt ready ready 14 juniper paused pending 19 birch failed ready 4 juniper closed pending 21 amber active paused 8 delta active active 10 indigo paused active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001602
qwen/qwen3.7-plus
awkweave-0001603
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
gus grove active 27 ivan delta failed 110 lina fable paused 63 eli ember pending 56 dina fable failed 88 chen delta failed 120 jules amber active 10 farah indigo active 63
gus jules farah
hana cobalt ready 115 bruno cobalt ready 114 kim delta active 111 hana grove paused 61 hana birch ready 48 farah amber failed 9 chen juniper closed 85
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001603-p1
Output only the first column for rows where the third column matches the string active exactly.
$3 == "active"{print $1}
gus grove active 27 ivan delta failed 110 lina fable paused 63 eli ember pending 56 dina fable failed 88 chen delta failed 120 jules amber active 10 farah indigo active 63
gus jules farah
hana cobalt ready 115 bruno cobalt ready 114 kim delta active 111 hana grove paused 61 hana birch ready 48 farah amber failed 9 chen juniper closed 85
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001603
qwen/qwen3.7-plus
awkweave-0001604
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
113 harbor INFO 77 amber DEBUG 55 juniper DEBUG 117 fable ERROR 51 juniper DEBUG 87 cobalt WARN 104 cobalt WARN 76 cobalt INFO 23 delta INFO 5 grove ERROR
117 fable ERROR 5 grove ERROR
17 delta DEBUG 54 fable DEBUG 63 indigo WARN 80 cobalt WARN 113 delta DEBUG 4 grove ERROR 86 amber INFO 21 ember INFO 82 ember INFO 2 grove INFO
4 grove ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001604-p1
Print all fields from lines where the third field starts with the prefix ERROR.
$3 ~ /^ERROR/
113 harbor INFO 77 amber DEBUG 55 juniper DEBUG 117 fable ERROR 51 juniper DEBUG 87 cobalt WARN 104 cobalt WARN 76 cobalt INFO 23 delta INFO 5 grove ERROR
117 fable ERROR 5 grove ERROR
17 delta DEBUG 54 fable DEBUG 63 indigo WARN 80 cobalt WARN 113 delta DEBUG 4 grove ERROR 86 amber INFO 21 ember INFO 82 ember INFO 2 grove INFO
4 grove ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001604
qwen/qwen3.7-plus
awkweave-0001605
Print every line except those containing the exact text birch.
$0 !~ /birch/
harbor 114 ready birch 69 pending delta 95 closed juniper 59 active amber 29 closed ember 68 active indigo 12 paused birch 999 active
harbor 114 ready delta 95 closed juniper 59 active amber 29 closed ember 68 active indigo 12 paused
fable 65 active birch 87 failed indigo 63 active cobalt 49 pending juniper 99 active juniper 115 ready fable 87 paused amber 35 pending amber 17 failed birch 999 active
fable 65 active indigo 63 active cobalt 49 pending juniper 99 active juniper 115 ready fable 87 paused amber 35 pending amber 17 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001605-p1
Output every line that does not contain the exact string birch.
$0 !~ /birch/
harbor 114 ready birch 69 pending delta 95 closed juniper 59 active amber 29 closed ember 68 active indigo 12 paused birch 999 active
harbor 114 ready delta 95 closed juniper 59 active amber 29 closed ember 68 active indigo 12 paused
fable 65 active birch 87 failed indigo 63 active cobalt 49 pending juniper 99 active juniper 115 ready fable 87 paused amber 35 pending amber 17 failed birch 999 active
fable 65 active indigo 63 active cobalt 49 pending juniper 99 active juniper 115 ready fable 87 paused amber 35 pending amber 17 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001605
qwen/qwen3.7-plus
awkweave-0001606
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
jules delta 60 hana indigo 98 lina delta 118 eli fable 101 kim harbor 91 bruno birch 85 kim ember 104 ivan cobalt 78 kim ember 104 jules cobalt 5
eli fable 101 kim harbor 91
farah juniper 104 ivan juniper 6 farah fable 69 chen juniper 51 ivan fable 113 gus grove 58 eli indigo 5 hana harbor 118 chen harbor 22
chen juniper 51 ivan fable 113
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001606-p1
Print lines 4 and 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
jules delta 60 hana indigo 98 lina delta 118 eli fable 101 kim harbor 91 bruno birch 85 kim ember 104 ivan cobalt 78 kim ember 104 jules cobalt 5
eli fable 101 kim harbor 91
farah juniper 104 ivan juniper 6 farah fable 69 chen juniper 51 ivan fable 113 gus grove 58 eli indigo 5 hana harbor 118 chen harbor 22
chen juniper 51 ivan fable 113
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001606
qwen/qwen3.7-plus
awkweave-0001607
Output only the first 3 records.
NR <= 3
dina 67 delta chen 26 fable lina 37 birch jules 4 birch jules 2 ember dina 110 fable kim 67 ember
dina 67 delta chen 26 fable lina 37 birch
kim 16 fable farah 25 amber bruno 12 indigo alice 35 fable farah 42 amber hana 114 fable chen 42 ember eli 17 indigo
kim 16 fable farah 25 amber bruno 12 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001607-p1
Output only the first 3 records.
NR <= 3
dina 67 delta chen 26 fable lina 37 birch jules 4 birch jules 2 ember dina 110 fable kim 67 ember
dina 67 delta chen 26 fable lina 37 birch
kim 16 fable farah 25 amber bruno 12 indigo alice 35 fable farah 42 amber hana 114 fable chen 42 ember eli 17 indigo
kim 16 fable farah 25 amber bruno 12 indigo
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0001607
qwen/qwen3.7-plus
awkweave-0001608
Skip the first line and print every remaining line unchanged.
NR > 1
alice 94 harbor ivan 84 grove gus 67 grove dina 97 delta jules 66 harbor gus 89 birch jules 102 juniper bruno 21 ember
ivan 84 grove gus 67 grove dina 97 delta jules 66 harbor gus 89 birch jules 102 juniper bruno 21 ember
lina 113 harbor chen 100 amber ivan 3 fable ivan 13 juniper lina 114 fable farah 100 delta farah 0 cobalt jules 10 delta
chen 100 amber ivan 3 fable ivan 13 juniper lina 114 fable farah 100 delta farah 0 cobalt jules 10 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001608-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
alice 94 harbor ivan 84 grove gus 67 grove dina 97 delta jules 66 harbor gus 89 birch jules 102 juniper bruno 21 ember
ivan 84 grove gus 67 grove dina 97 delta jules 66 harbor gus 89 birch jules 102 juniper bruno 21 ember
lina 113 harbor chen 100 amber ivan 3 fable ivan 13 juniper lina 114 fable farah 100 delta farah 0 cobalt jules 10 delta
chen 100 amber ivan 3 fable ivan 13 juniper lina 114 fable farah 100 delta farah 0 cobalt jules 10 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001608
qwen/qwen3.7-plus
awkweave-0001609
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
farah closed 119 hana pending 97 eli active 68 ivan ready 63 eli closed 22 bruno paused 30 dina ready 94
1
farah failed 20 jules ready 96 chen failed 55 bruno closed 49 dina failed 109 hana closed 66 alice active 69 jules paused 79 eli active 60
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0001609-p1
Count the number of records containing active in the second column; output 0 if the count is zero.
$2 == "active"{n++}END{print n+0}
farah closed 119 hana pending 97 eli active 68 ivan ready 63 eli closed 22 bruno paused 30 dina ready 94
1
farah failed 20 jules ready 96 chen failed 55 bruno closed 49 dina failed 109 hana closed 66 alice active 69 jules paused 79 eli active 60
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0001609
qwen/qwen3.7-plus