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-0042662
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
gus 34 hana 34 ivan 106 hana 22 lina 46 hana 34
ivan 106
bruno 102 ivan 98 chen 0 farah 86 gus 119 bruno 10
chen 0
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042662-p1
Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
gus 34 hana 34 ivan 106 hana 22 lina 46 hana 34
ivan 106
bruno 102 ivan 98 chen 0 farah 86 gus 119 bruno 10
chen 0
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042662
qwen/qwen3.7-plus
awkweave-0042663
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 103 gamma harbor 31 gamma birch 52 gamma indigo 56 gamma grove 63 alpha cobalt 51 delta juniper 38
3
alpha fable 57 alpha ember 61 delta ember 53 gamma fable 0 beta harbor 112 beta delta 83 alpha harbor 34
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042663-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 103 gamma harbor 31 gamma birch 52 gamma indigo 56 gamma grove 63 alpha cobalt 51 delta juniper 38
3
alpha fable 57 alpha ember 61 delta ember 53 gamma fable 0 beta harbor 112 beta delta 83 alpha harbor 34
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042663
qwen/qwen3.7-plus
awkweave-0042664
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}
lina 30 0 ivan 18 1 dina 14 27 eli 2 20 alice 23 17 kim 29 30 dina 17 17
ivan 18.00 dina 0.52 eli 0.10 alice 1.35 kim 0.97 dina 1.00
bruno 6 0 eli 22 4 kim 7 11 bruno 11 2 jules 6 9 farah 4 16 kim 25 3 dina 22 7 alice 9 20 dina 30 7
eli 5.50 kim 0.64 bruno 5.50 jules 0.67 farah 0.25 kim 8.33 dina 3.14 alice 0.45 dina 4.29
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042664-p1
For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
lina 30 0 ivan 18 1 dina 14 27 eli 2 20 alice 23 17 kim 29 30 dina 17 17
ivan 18.00 dina 0.52 eli 0.10 alice 1.35 kim 0.97 dina 1.00
bruno 6 0 eli 22 4 kim 7 11 bruno 11 2 jules 6 9 farah 4 16 kim 25 3 dina 22 7 alice 9 20 dina 30 7
eli 5.50 kim 0.64 bruno 5.50 jules 0.67 farah 0.25 kim 8.33 dina 3.14 alice 0.45 dina 4.29
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042664
qwen/qwen3.7-plus
awkweave-0042665
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]}
bruno fable 7 farah harbor 17 farah harbor 9 gus juniper 7 eli indigo 14 gus grove 6 alice ember 19
alice ember 19 farah harbor 17 eli indigo 14
gus amber 6 dina amber 20 farah ember 18 eli grove 22 hana ember 18 dina indigo 12 lina amber 23 bruno amber 29 lina harbor 19 lina cobalt 8
bruno amber 29 lina amber 23 eli grove 22
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042665-p1
Display the three full records with the largest 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]}
bruno fable 7 farah harbor 17 farah harbor 9 gus juniper 7 eli indigo 14 gus grove 6 alice ember 19
alice ember 19 farah harbor 17 eli indigo 14
gus amber 6 dina amber 20 farah ember 18 eli grove 22 hana ember 18 dina indigo 12 lina amber 23 bruno amber 29 lina harbor 19 lina cobalt 8
bruno amber 29 lina amber 23 eli grove 22
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042665
qwen/qwen3.7-plus
awkweave-0042666
For each line, output fields 4 and 1, in that order.
{print $4, $1}
42 28 ready kim ready 1 84 pending dina active 22 117 failed bruno paused 25 2 paused lina failed 34 13 active eli paused 58 111 pending dina paused 35 31 closed ivan paused 45 21 closed alice failed 80 10 pending farah pending
kim 42 dina 1 bruno 22 lina 25 eli 34 dina 58 ivan 35 alice 45 farah 80
70 42 paused bruno active 76 25 paused hana paused 86 100 active eli paused 36 49 closed gus failed 73 84 active eli failed 82 80 active chen pending 81 86 active jules ready 92 63 ready bruno pending
bruno 70 hana 76 eli 86 gus 36 eli 73 chen 82 jules 81 bruno 92
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042666-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
42 28 ready kim ready 1 84 pending dina active 22 117 failed bruno paused 25 2 paused lina failed 34 13 active eli paused 58 111 pending dina paused 35 31 closed ivan paused 45 21 closed alice failed 80 10 pending farah pending
kim 42 dina 1 bruno 22 lina 25 eli 34 dina 58 ivan 35 alice 45 farah 80
70 42 paused bruno active 76 25 paused hana paused 86 100 active eli paused 36 49 closed gus failed 73 84 active eli failed 82 80 active chen pending 81 86 active jules ready 92 63 ready bruno pending
bruno 70 hana 76 eli 86 gus 36 eli 73 chen 82 jules 81 bruno 92
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042666
qwen/qwen3.7-plus
awkweave-0042667
Print the last field of every input line.
{print $NF}
failed 98 68 pending ember 52 107 active 69 39 paused amber 119 52 ready 13 26 pending juniper 6 104 closed 40 64 pending fable 49 41 failed 31 38 closed juniper 89 104 pending 9 16 active juniper 118 54 closed 101 90 failed grove 24 5 pending 104 74 ready harbor 21 81 closed 94 100 paused cobalt 12 44 closed 114 94 fa...
107 52 104 41 104 54 5 81 44 59
paused 77 70 pending juniper 39 116 paused 115 57 pending birch 24 84 paused 64 25 closed birch 44 103 paused 51 90 closed grove 100 37 failed 79 78 pending indigo 44 86 paused 21 91 closed indigo 98 108 active 93 78 ready juniper 30 104 pending 94 69 pending indigo 104 66 pending 109 112 ready delta 104 33 failed 111 ...
116 84 103 37 86 108 104 66 33 113
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042667-p1
Output the final field from each input line.
{print $NF}
failed 98 68 pending ember 52 107 active 69 39 paused amber 119 52 ready 13 26 pending juniper 6 104 closed 40 64 pending fable 49 41 failed 31 38 closed juniper 89 104 pending 9 16 active juniper 118 54 closed 101 90 failed grove 24 5 pending 104 74 ready harbor 21 81 closed 94 100 paused cobalt 12 44 closed 114 94 fa...
107 52 104 41 104 54 5 81 44 59
paused 77 70 pending juniper 39 116 paused 115 57 pending birch 24 84 paused 64 25 closed birch 44 103 paused 51 90 closed grove 100 37 failed 79 78 pending indigo 44 86 paused 21 91 closed indigo 98 108 active 93 78 ready juniper 30 104 pending 94 69 pending indigo 104 66 pending 109 112 ready delta 104 33 failed 111 ...
116 84 103 37 86 108 104 66 33 113
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042667
qwen/qwen3.7-plus
awkweave-0042668
Print the complete records where column 3 is greater than 68.
$3 > 68
pending closed 64 pending eli pending closed 55 failed jules paused ready 54 closed lina failed closed 33 failed dina paused active 5 pending gus active closed 9 pending eli active pending 63 closed farah failed failed 31 ready ivan failed closed 72 paused alice
failed closed 72 paused alice
paused active 64 pending farah closed pending 116 pending alice active pending 69 active bruno closed failed 100 active eli active paused 91 closed hana paused active 42 failed chen active active 102 active kim ready failed 115 failed dina
closed pending 116 pending alice active pending 69 active bruno closed failed 100 active eli active paused 91 closed hana active active 102 active kim ready failed 115 failed dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042668-p1
Print the entire record for any row where the value in column 3 exceeds 68.
$3 > 68
pending closed 64 pending eli pending closed 55 failed jules paused ready 54 closed lina failed closed 33 failed dina paused active 5 pending gus active closed 9 pending eli active pending 63 closed farah failed failed 31 ready ivan failed closed 72 paused alice
failed closed 72 paused alice
paused active 64 pending farah closed pending 116 pending alice active pending 69 active bruno closed failed 100 active eli active paused 91 closed hana paused active 42 failed chen active active 102 active kim ready failed 115 failed dina
closed pending 116 pending alice active pending 69 active bruno closed failed 100 active eli active paused 91 closed hana active active 102 active kim ready failed 115 failed dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042668
qwen/qwen3.7-plus
awkweave-0042669
Show whole lines whose 3rd field is between 7 and 19, inclusive.
$3 >= 7 && $3 <= 19
eli ready 9 paused jules ready 21 active dina failed 9 pending chen active 3 closed gus paused 26 pending gus paused 21 paused kim closed 17 active lina failed 17 closed ivan paused 6 paused lina failed 27 closed
eli ready 9 paused dina failed 9 pending kim closed 17 active lina failed 17 closed
alice ready 19 closed eli pending 12 failed lina failed 3 ready lina ready 23 ready hana paused 11 closed gus failed 4 paused ivan pending 11 active ivan pending 16 closed bruno paused 20 closed dina paused 1 ready
alice ready 19 closed eli pending 12 failed hana paused 11 closed ivan pending 11 active ivan pending 16 closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042669-p1
Display complete lines where the third field has a value between 7 and 19, inclusive.
$3 >= 7 && $3 <= 19
eli ready 9 paused jules ready 21 active dina failed 9 pending chen active 3 closed gus paused 26 pending gus paused 21 paused kim closed 17 active lina failed 17 closed ivan paused 6 paused lina failed 27 closed
eli ready 9 paused dina failed 9 pending kim closed 17 active lina failed 17 closed
alice ready 19 closed eli pending 12 failed lina failed 3 ready lina ready 23 ready hana paused 11 closed gus failed 4 paused ivan pending 11 active ivan pending 16 closed bruno paused 20 closed dina paused 1 ready
alice ready 19 closed eli pending 12 failed hana paused 11 closed ivan pending 11 active ivan pending 16 closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042669
qwen/qwen3.7-plus
awkweave-0042670
Print column 3 only for rows where column 4 is exactly closed.
$4 == "closed"{print $3}
53 juniper ivan paused 28 fable eli pending 89 harbor jules failed 120 ember alice ready 86 cobalt kim ready 85 juniper alice closed 120 harbor chen paused 113 birch kim pending
alice
110 birch hana closed 113 fable dina pending 62 grove kim pending 95 delta jules closed 72 cobalt farah paused 80 harbor bruno active 35 grove farah closed 69 delta ivan active
hana jules farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042670-p1
Output only the third column for rows where the fourth column is exactly 'closed'.
$4 == "closed"{print $3}
53 juniper ivan paused 28 fable eli pending 89 harbor jules failed 120 ember alice ready 86 cobalt kim ready 85 juniper alice closed 120 harbor chen paused 113 birch kim pending
alice
110 birch hana closed 113 fable dina pending 62 grove kim pending 95 delta jules closed 72 cobalt farah paused 80 harbor bruno active 35 grove farah closed 69 delta ivan active
hana jules farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042670
qwen/qwen3.7-plus
awkweave-0042671
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
delta DEBUG 30 indigo WARN 109 fable ERROR 85 amber WARN 117 ember WARN 34 harbor DEBUG 4
fable ERROR 85
cobalt DEBUG 95 harbor INFO 33 ember INFO 23 indigo WARN 55 birch WARN 53 harbor WARN 119
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042671-p1
Print all fields from any line where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
delta DEBUG 30 indigo WARN 109 fable ERROR 85 amber WARN 117 ember WARN 34 harbor DEBUG 4
fable ERROR 85
cobalt DEBUG 95 harbor INFO 33 ember INFO 23 indigo WARN 55 birch WARN 53 harbor WARN 119
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042671
qwen/qwen3.7-plus
awkweave-0042672
Print every line except those containing the exact text amber.
$0 !~ /amber/
juniper 3 active grove 94 failed indigo 85 failed delta 18 pending cobalt 7 pending amber 100 failed grove 10 paused indigo 78 active cobalt 26 paused amber 999 active
juniper 3 active grove 94 failed indigo 85 failed delta 18 pending cobalt 7 pending grove 10 paused indigo 78 active cobalt 26 paused
juniper 92 closed cobalt 2 ready birch 0 active fable 67 active grove 93 paused ember 118 failed amber 999 active
juniper 92 closed cobalt 2 ready birch 0 active fable 67 active grove 93 paused ember 118 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042672-p1
Display all lines that do not contain the exact string amber.
$0 !~ /amber/
juniper 3 active grove 94 failed indigo 85 failed delta 18 pending cobalt 7 pending amber 100 failed grove 10 paused indigo 78 active cobalt 26 paused amber 999 active
juniper 3 active grove 94 failed indigo 85 failed delta 18 pending cobalt 7 pending grove 10 paused indigo 78 active cobalt 26 paused
juniper 92 closed cobalt 2 ready birch 0 active fable 67 active grove 93 paused ember 118 failed amber 999 active
juniper 92 closed cobalt 2 ready birch 0 active fable 67 active grove 93 paused ember 118 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042672
qwen/qwen3.7-plus
awkweave-0042673
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
jules cobalt 94 lina delta 38 lina fable 11 bruno grove 92 bruno indigo 97 alice amber 44 farah grove 36 hana grove 59 ivan cobalt 36
bruno grove 92 bruno indigo 97
farah grove 18 hana juniper 105 ivan grove 42 hana cobalt 54 bruno harbor 75 eli ember 95
hana cobalt 54 bruno harbor 75
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042673-p1
Output lines 4 to 5, inclusive of both the start and end lines.
NR >= 4 && NR <= 5
jules cobalt 94 lina delta 38 lina fable 11 bruno grove 92 bruno indigo 97 alice amber 44 farah grove 36 hana grove 59 ivan cobalt 36
bruno grove 92 bruno indigo 97
farah grove 18 hana juniper 105 ivan grove 42 hana cobalt 54 bruno harbor 75 eli ember 95
hana cobalt 54 bruno harbor 75
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042673
qwen/qwen3.7-plus
awkweave-0042674
Output only the first 3 records.
NR <= 3
lina 50 cobalt chen 27 delta kim 54 harbor jules 69 harbor chen 19 harbor jules 84 amber kim 102 juniper
lina 50 cobalt chen 27 delta kim 54 harbor
jules 95 birch ivan 97 fable eli 109 grove eli 119 juniper ivan 23 ember alice 86 juniper eli 53 indigo chen 112 birch hana 83 birch alice 85 juniper
jules 95 birch ivan 97 fable eli 109 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042674-p1
Show only the initial 3 records.
NR <= 3
lina 50 cobalt chen 27 delta kim 54 harbor jules 69 harbor chen 19 harbor jules 84 amber kim 102 juniper
lina 50 cobalt chen 27 delta kim 54 harbor
jules 95 birch ivan 97 fable eli 109 grove eli 119 juniper ivan 23 ember alice 86 juniper eli 53 indigo chen 112 birch hana 83 birch alice 85 juniper
jules 95 birch ivan 97 fable eli 109 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042674
qwen/qwen3.7-plus
awkweave-0042675
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 43 fable hana 76 ember lina 54 birch dina 4 juniper eli 64 amber hana 72 amber bruno 58 indigo kim 87 cobalt hana 109 birch jules 77 cobalt
hana 76 ember lina 54 birch dina 4 juniper eli 64 amber hana 72 amber bruno 58 indigo kim 87 cobalt hana 109 birch jules 77 cobalt
jules 28 juniper alice 112 fable farah 68 delta jules 91 birch hana 29 grove dina 32 birch gus 51 juniper
alice 112 fable farah 68 delta jules 91 birch hana 29 grove dina 32 birch gus 51 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042675-p1
Omit the first line and print the rest of the lines as they are.
NR > 1
ivan 43 fable hana 76 ember lina 54 birch dina 4 juniper eli 64 amber hana 72 amber bruno 58 indigo kim 87 cobalt hana 109 birch jules 77 cobalt
hana 76 ember lina 54 birch dina 4 juniper eli 64 amber hana 72 amber bruno 58 indigo kim 87 cobalt hana 109 birch jules 77 cobalt
jules 28 juniper alice 112 fable farah 68 delta jules 91 birch hana 29 grove dina 32 birch gus 51 juniper
alice 112 fable farah 68 delta jules 91 birch hana 29 grove dina 32 birch gus 51 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042675
qwen/qwen3.7-plus
awkweave-0042676
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
eli ready 33 lina active 117 dina closed 16 lina closed 102 farah active 61 dina active 85 eli active 37 farah closed 38 dina active 86 bruno active 57
3
jules paused 50 alice active 82 alice ready 80 lina paused 85 ivan pending 30 dina failed 39 gus ready 101
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042676-p1
Count the number of records where column 2 is closed; output 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
eli ready 33 lina active 117 dina closed 16 lina closed 102 farah active 61 dina active 85 eli active 37 farah closed 38 dina active 86 bruno active 57
3
jules paused 50 alice active 82 alice ready 80 lina paused 85 ivan pending 30 dina failed 39 gus ready 101
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042676
qwen/qwen3.7-plus
awkweave-0042677
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
chen 15 delta jules 20 ember bruno 4 ember gus 25 birch eli 15 harbor ivan 22 fable gus 9 amber
110
chen 11 delta dina 4 amber ivan 7 delta kim 14 juniper kim 26 ember kim 25 harbor kim 23 delta gus 23 cobalt hana 29 fable chen 3 amber
165
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042677-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
chen 15 delta jules 20 ember bruno 4 ember gus 25 birch eli 15 harbor ivan 22 fable gus 9 amber
110
chen 11 delta dina 4 amber ivan 7 delta kim 14 juniper kim 26 ember kim 25 harbor kim 23 delta gus 23 cobalt hana 29 fable chen 3 amber
165
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042677
qwen/qwen3.7-plus
awkweave-0042678
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 5 kim cobalt 18 ivan ember 4 gus birch 22 kim grove 9 ivan delta 1 jules birch 11 alice
10.00
birch 22 hana grove 5 alice amber 20 gus cobalt 22 dina birch 15 jules juniper 12 ivan grove 5 dina ember 7 bruno grove 9 dina birch 15 chen
13.20
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042678-p1
Print the average of values in column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
juniper 5 kim cobalt 18 ivan ember 4 gus birch 22 kim grove 9 ivan delta 1 jules birch 11 alice
10.00
birch 22 hana grove 5 alice amber 20 gus cobalt 22 dina birch 15 jules juniper 12 ivan grove 5 dina ember 7 bruno grove 9 dina birch 15 chen
13.20
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042678
qwen/qwen3.7-plus
awkweave-0042679
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules fable 21 lina juniper 10 farah amber 25 ivan cobalt 3 kim harbor 9 dina delta 20 lina harbor 14 farah birch 10
3
eli delta 9 gus amber 20 farah harbor 11 hana cobalt 27 hana indigo 4 alice harbor 5 ivan ember 28 eli cobalt 26
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042679-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules fable 21 lina juniper 10 farah amber 25 ivan cobalt 3 kim harbor 9 dina delta 20 lina harbor 14 farah birch 10
3
eli delta 9 gus amber 20 farah harbor 11 hana cobalt 27 hana indigo 4 alice harbor 5 ivan ember 28 eli cobalt 26
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042679
qwen/qwen3.7-plus
awkweave-0042680
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
juniper jules 10 juniper lina 18 ember farah 27 ember lina 30 juniper eli 6 amber alice 3 ember lina 3 indigo gus 13 harbor alice 11
30
fable chen 17 grove hana 19 birch chen 28 fable chen 17 ember ivan 8 juniper ivan 21
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042680-p1
Identify and output the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
juniper jules 10 juniper lina 18 ember farah 27 ember lina 30 juniper eli 6 amber alice 3 ember lina 3 indigo gus 13 harbor alice 11
30
fable chen 17 grove hana 19 birch chen 28 fable chen 17 ember ivan 8 juniper ivan 21
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042680
qwen/qwen3.7-plus
awkweave-0042681
Count all input records and print the total.
END{print NR}
gus 4 hana 41 jules 39 ivan 82 farah 42 lina 103 alice 21 kim 34
8
kim 40 bruno 36 dina 51 farah 58 alice 10 kim 34 lina 4 alice 109 dina 26
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042681-p1
Count the total number of input records and print the result.
END{print NR}
gus 4 hana 41 jules 39 ivan 82 farah 42 lina 103 alice 21 kim 34
8
kim 40 bruno 36 dina 51 farah 58 alice 10 kim 34 lina 4 alice 109 dina 26
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042681
qwen/qwen3.7-plus
awkweave-0042682
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina grove 89 jules amber 101 bruno cobalt 39 dina ember 32 eli indigo 106 hana indigo 22 gus ember 112 gus ember 112 farah grove 94 farah juniper 84
lina grove 89 jules amber 101 bruno cobalt 39 dina ember 32 eli indigo 106 hana indigo 22 gus ember 112 farah grove 94 farah juniper 84
hana grove 81 ivan juniper 94 kim ember 99 lina amber 83 dina fable 96 dina harbor 30 kim ember 99 dina juniper 116 farah grove 8 dina grove 120
hana grove 81 ivan juniper 94 kim ember 99 lina amber 83 dina fable 96 dina harbor 30 dina juniper 116 farah grove 8 dina grove 120
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042682-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
lina grove 89 jules amber 101 bruno cobalt 39 dina ember 32 eli indigo 106 hana indigo 22 gus ember 112 gus ember 112 farah grove 94 farah juniper 84
lina grove 89 jules amber 101 bruno cobalt 39 dina ember 32 eli indigo 106 hana indigo 22 gus ember 112 farah grove 94 farah juniper 84
hana grove 81 ivan juniper 94 kim ember 99 lina amber 83 dina fable 96 dina harbor 30 kim ember 99 dina juniper 116 farah grove 8 dina grove 120
hana grove 81 ivan juniper 94 kim ember 99 lina amber 83 dina fable 96 dina harbor 30 dina juniper 116 farah grove 8 dina grove 120
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042682
qwen/qwen3.7-plus
awkweave-0042683
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
alice grove 88 farah birch 23 bruno grove 28 eli ember 45 dina amber 15 ivan ember 102 chen amber 93
alice grove 88 farah birch 23 bruno grove 28 eli ember 45 dina amber 15 ivan ember 102 chen amber 93
gus indigo 109 hana harbor 27 bruno harbor 40 gus juniper 21 lina grove 98 gus ember 90 ivan juniper 0 hana ember 17 gus grove 38 jules ember 26
gus indigo 109 hana harbor 27 bruno harbor 40 gus juniper 21 lina grove 98 gus ember 90 ivan juniper 0 hana ember 17 gus grove 38 jules ember 26
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042683-p1
Retain only the first occurrence of each unique value in column 3, keeping the original input order.
!seen[$3]++
alice grove 88 farah birch 23 bruno grove 28 eli ember 45 dina amber 15 ivan ember 102 chen amber 93
alice grove 88 farah birch 23 bruno grove 28 eli ember 45 dina amber 15 ivan ember 102 chen amber 93
gus indigo 109 hana harbor 27 bruno harbor 40 gus juniper 21 lina grove 98 gus ember 90 ivan juniper 0 hana ember 17 gus grove 38 jules ember 26
gus indigo 109 hana harbor 27 bruno harbor 40 gus juniper 21 lina grove 98 gus ember 90 ivan juniper 0 hana ember 17 gus grove 38 jules ember 26
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042683
qwen/qwen3.7-plus
awkweave-0042684
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 5 cobalt gus 10 cobalt eli 22 juniper lina 26 amber ivan 1 delta bruno 1 cobalt farah 21 amber kim 1 cobalt jules 7 cobalt dina 12 juniper
jules 5 gus 15 eli 37 lina 63 ivan 64 bruno 65 farah 86 kim 87 jules 94 dina 106
ivan 26 delta gus 13 ember farah 4 indigo farah 14 indigo alice 30 amber alice 1 fable eli 24 grove
ivan 26 gus 39 farah 43 farah 57 alice 87 alice 88 eli 112
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042684-p1
Output the first column and the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
jules 5 cobalt gus 10 cobalt eli 22 juniper lina 26 amber ivan 1 delta bruno 1 cobalt farah 21 amber kim 1 cobalt jules 7 cobalt dina 12 juniper
jules 5 gus 15 eli 37 lina 63 ivan 64 bruno 65 farah 86 kim 87 jules 94 dina 106
ivan 26 delta gus 13 ember farah 4 indigo farah 14 indigo alice 30 amber alice 1 fable eli 24 grove
ivan 26 gus 39 farah 43 farah 57 alice 87 alice 88 eli 112
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042684
qwen/qwen3.7-plus
awkweave-0042685
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
farah 28 21 juniper ivan 25 28 ember chen 27 10 delta dina 1 21 fable dina 7 23 ember jules 27 29 grove
farah 49 ivan 53 chen 37 dina 22 dina 30 jules 56
jules 15 20 amber ivan 28 28 cobalt lina 13 8 indigo hana 20 10 cobalt farah 7 24 harbor eli 21 10 delta lina 7 2 delta kim 21 9 amber dina 12 8 ember
jules 35 ivan 56 lina 21 hana 30 farah 31 eli 31 lina 9 kim 30 dina 20
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042685-p1
For every row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
farah 28 21 juniper ivan 25 28 ember chen 27 10 delta dina 1 21 fable dina 7 23 ember jules 27 29 grove
farah 49 ivan 53 chen 37 dina 22 dina 30 jules 56
jules 15 20 amber ivan 28 28 cobalt lina 13 8 indigo hana 20 10 cobalt farah 7 24 harbor eli 21 10 delta lina 7 2 delta kim 21 9 amber dina 12 8 ember
jules 35 ivan 56 lina 21 hana 30 farah 31 eli 31 lina 9 kim 30 dina 20
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042685
qwen/qwen3.7-plus
awkweave-0042686
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
bruno 9 dina 20 lina 1 dina 2 farah 15 gus 10 farah 15 farah 27 farah 19
bruno fail dina fail lina fail dina fail farah fail gus fail farah fail farah pass farah fail
bruno 29 alice 15 chen 24 hana 17 gus 15 kim 29 dina 20 eli 24 eli 17 bruno 16
bruno pass alice fail chen pass hana fail gus fail kim pass dina fail eli pass eli fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042686-p1
Print the first column along with 'pass' if the second column is 21 or greater; otherwise, print 'fail'.
{print $1,($2>=21?"pass":"fail")}
bruno 9 dina 20 lina 1 dina 2 farah 15 gus 10 farah 15 farah 27 farah 19
bruno fail dina fail lina fail dina fail farah fail gus fail farah fail farah pass farah fail
bruno 29 alice 15 chen 24 hana 17 gus 15 kim 29 dina 20 eli 24 eli 17 bruno 16
bruno pass alice fail chen pass hana fail gus fail kim pass dina fail eli pass eli fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042686
qwen/qwen3.7-plus
awkweave-0042687
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus juniper 82 lina fable 93 eli ember 46 eli grove 76 hana amber 5 eli grove 47 ivan juniper 56 hana birch 3
GUS LINA ELI ELI HANA ELI IVAN HANA
eli harbor 77 lina juniper 67 kim birch 92 bruno ember 9 gus juniper 98 jules fable 82 dina delta 56 hana birch 3
ELI LINA KIM BRUNO GUS JULES DINA HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042687-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
gus juniper 82 lina fable 93 eli ember 46 eli grove 76 hana amber 5 eli grove 47 ivan juniper 56 hana birch 3
GUS LINA ELI ELI HANA ELI IVAN HANA
eli harbor 77 lina juniper 67 kim birch 92 bruno ember 9 gus juniper 98 jules fable 82 dina delta 56 hana birch 3
ELI LINA KIM BRUNO GUS JULES DINA HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042687
qwen/qwen3.7-plus
awkweave-0042688
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
birch 79 grove 78 birch 104 delta 117 indigo 7 amber 59 fable 65 grove 116 indigo 78
rch ove rch lta digo ber ble ove digo
birch 23 juniper 25 juniper 75 delta 64 fable 53 juniper 102
rch nipe nipe lta ble nipe
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042688-p1
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
birch 79 grove 78 birch 104 delta 117 indigo 7 amber 59 fable 65 grove 116 indigo 78
rch ove rch lta digo ber ble ove digo
birch 23 juniper 25 juniper 75 delta 64 fable 53 juniper 102
rch nipe nipe lta ble nipe
substring
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0042688
qwen/qwen3.7-plus
awkweave-0042689
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_amber 107 amber_harbor 75 fable_fable 69 harbor_birch 69 indigo_fable 66 grove_grove 16 grove_grove 23
birch amber amber harbor fable fable harbor birch indigo fable grove grove grove grove
fable_delta 89 fable_cobalt 11 birch_grove 64 juniper_ember 66 juniper_cobalt 75 juniper_juniper 10
fable delta fable cobalt birch grove juniper ember juniper cobalt juniper juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042689-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
birch_amber 107 amber_harbor 75 fable_fable 69 harbor_birch 69 indigo_fable 66 grove_grove 16 grove_grove 23
birch amber amber harbor fable fable harbor birch indigo fable grove grove grove grove
fable_delta 89 fable_cobalt 11 birch_grove 64 juniper_ember 66 juniper_cobalt 75 juniper_juniper 10
fable delta fable cobalt birch grove juniper ember juniper cobalt juniper juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042689
qwen/qwen3.7-plus
awkweave-0042700
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 9 paused hana indigo 68 closed eli ember 95 ready eli grove 97 pending eli ember 32 closed bruno birch 73 active kim delta 47 closed kim indigo 94 failed alice birch 71 failed
hana indigo 68 closed
gus indigo 99 paused farah birch 108 ready eli cobalt 81 active hana grove 54 closed jules juniper 8 pending gus juniper 9 ready jules cobalt 105 ready bruno delta 86 closed gus fable 71 paused
jules juniper 8 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042700-p1
Identify and print the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
kim fable 9 paused hana indigo 68 closed eli ember 95 ready eli grove 97 pending eli ember 32 closed bruno birch 73 active kim delta 47 closed kim indigo 94 failed alice birch 71 failed
hana indigo 68 closed
gus indigo 99 paused farah birch 108 ready eli cobalt 81 active hana grove 54 closed jules juniper 8 pending gus juniper 9 ready jules cobalt 105 ready bruno delta 86 closed gus fable 71 paused
jules juniper 8 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042700
qwen/qwen3.7-plus
awkweave-0042701
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
bruno 6 hana 104 ivan 19 gus 21 farah 62 gus 117
ivan 19
gus 69 kim 31 alice 12 farah 30 gus 66 jules 115 farah 109 dina 50 hana 1 kim 19
alice 12 farah 109
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042701-p1
Output every 4th line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
bruno 6 hana 104 ivan 19 gus 21 farah 62 gus 117
ivan 19
gus 69 kim 31 alice 12 farah 30 gus 66 jules 115 farah 109 dina 50 hana 1 kim 19
alice 12 farah 109
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042701
qwen/qwen3.7-plus
awkweave-0042702
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta grove 8 gamma harbor 77 beta delta 21 gamma cobalt 28 beta harbor 80 gamma fable 118 beta ember 80
3
delta amber 103 beta amber 48 delta cobalt 7 delta fable 118 alpha birch 44 gamma grove 34 alpha fable 67 gamma delta 45
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042702-p1
Calculate and print the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
delta grove 8 gamma harbor 77 beta delta 21 gamma cobalt 28 beta harbor 80 gamma fable 118 beta ember 80
3
delta amber 103 beta amber 48 delta cobalt 7 delta fable 118 alpha birch 44 gamma grove 34 alpha fable 67 gamma delta 45
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042702
qwen/qwen3.7-plus
awkweave-0042703
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}
jules 1 0 ivan 2 14 eli 11 26 kim 16 24 kim 3 8 kim 21 29 gus 12 30 hana 29 1 kim 6 5 eli 24 26
ivan 0.14 eli 0.42 kim 0.67 kim 0.38 kim 0.72 gus 0.40 hana 29.00 kim 1.20 eli 0.92
ivan 30 0 hana 15 14 dina 30 22 lina 3 10 gus 2 21 chen 21 18 gus 18 25
hana 1.07 dina 1.36 lina 0.30 gus 0.10 chen 1.17 gus 0.72
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042703-p1
For each row, print the first column and the result of dividing the second column by the third, formatted to two decimal places, while omitting rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 1 0 ivan 2 14 eli 11 26 kim 16 24 kim 3 8 kim 21 29 gus 12 30 hana 29 1 kim 6 5 eli 24 26
ivan 0.14 eli 0.42 kim 0.67 kim 0.38 kim 0.72 gus 0.40 hana 29.00 kim 1.20 eli 0.92
ivan 30 0 hana 15 14 dina 30 22 lina 3 10 gus 2 21 chen 21 18 gus 18 25
hana 1.07 dina 1.36 lina 0.30 gus 0.10 chen 1.17 gus 0.72
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042703
qwen/qwen3.7-plus
awkweave-0042704
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]}
gus amber 24 jules fable 29 dina indigo 6 kim fable 30 alice amber 12 jules cobalt 4 bruno delta 30 dina fable 21
kim fable 30 bruno delta 30 jules fable 29
eli grove 18 lina indigo 21 eli delta 7 bruno birch 11 dina grove 2 dina fable 13
lina indigo 21 eli grove 18 dina fable 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042704-p1
Display the top three records with the highest numeric values in the third column, sorted in descending order, maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus amber 24 jules fable 29 dina indigo 6 kim fable 30 alice amber 12 jules cobalt 4 bruno delta 30 dina fable 21
kim fable 30 bruno delta 30 jules fable 29
eli grove 18 lina indigo 21 eli delta 7 bruno birch 11 dina grove 2 dina fable 13
lina indigo 21 eli grove 18 dina fable 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042704
qwen/qwen3.7-plus
awkweave-0042705
Print column 5 followed by column 1 for every record.
{print $5, $1}
jules 47 21 64 ready ivan lina 33 4 2 ready eli ivan 120 71 6 closed bruno jules 6 81 114 ready alice chen 90 61 88 failed eli chen 54 80 102 closed farah dina 116 7 37 closed lina bruno 63 29 10 closed jules hana 32 72 21 ready bruno
ready jules ready lina closed ivan ready jules failed chen closed chen closed dina closed bruno ready hana
ivan 12 57 32 closed hana gus 57 51 118 failed alice chen 51 97 36 paused ivan ivan 32 28 24 ready dina farah 25 88 96 failed ivan kim 35 101 99 ready farah farah 49 95 40 active eli dina 14 2 68 closed farah eli 57 111 86 paused chen
closed ivan failed gus paused chen ready ivan failed farah ready kim active farah closed dina paused eli
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042705-p1
For each record, print the fifth column followed by the first column.
{print $5, $1}
jules 47 21 64 ready ivan lina 33 4 2 ready eli ivan 120 71 6 closed bruno jules 6 81 114 ready alice chen 90 61 88 failed eli chen 54 80 102 closed farah dina 116 7 37 closed lina bruno 63 29 10 closed jules hana 32 72 21 ready bruno
ready jules ready lina closed ivan ready jules failed chen closed chen closed dina closed bruno ready hana
ivan 12 57 32 closed hana gus 57 51 118 failed alice chen 51 97 36 paused ivan ivan 32 28 24 ready dina farah 25 88 96 failed ivan kim 35 101 99 ready farah farah 49 95 40 active eli dina 14 2 68 closed farah eli 57 111 86 paused chen
closed ivan failed gus paused chen ready ivan failed farah ready kim active farah closed dina paused eli
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042705
qwen/qwen3.7-plus
awkweave-0042706
Print the last field of every input line.
{print $NF}
fable 104 34 ember 115 18 harbor 48 2 harbor 92 105 delta 88 45 fable 101 12
34 18 2 105 45 12
amber 90 78 indigo 80 27 amber 105 42 harbor 59 77 amber 103 59 grove 1 33 ember 100 12 delta 17 62 cobalt 93 110 ember 41 6
78 27 42 77 59 33 12 62 110 6
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042706-p1
Output the final field from each line of input.
{print $NF}
fable 104 34 ember 115 18 harbor 48 2 harbor 92 105 delta 88 45 fable 101 12
34 18 2 105 45 12
amber 90 78 indigo 80 27 amber 105 42 harbor 59 77 amber 103 59 grove 1 33 ember 100 12 delta 17 62 cobalt 93 110 ember 41 6
78 27 42 77 59 33 12 62 110 6
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042706
qwen/qwen3.7-plus
awkweave-0042707
Print the complete records where column 2 is at most 55.
$2 <= 55
active 0 pending birch ember ready 25 active indigo indigo ready 74 pending juniper ember active 80 paused cobalt amber ready 1 closed cobalt indigo failed 118 active fable amber pending 118 failed grove grove
active 0 pending birch ember ready 25 active indigo indigo ready 1 closed cobalt indigo
active 104 paused grove cobalt closed 30 paused fable birch active 104 ready fable indigo pending 72 closed harbor fable ready 88 paused harbor juniper ready 85 ready amber juniper paused 98 pending juniper indigo active 25 active amber juniper paused 46 ready delta juniper
closed 30 paused fable birch active 25 active amber juniper paused 46 ready delta juniper
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042707-p1
Display full records where the value in the second column is less than or equal to 55.
$2 <= 55
active 0 pending birch ember ready 25 active indigo indigo ready 74 pending juniper ember active 80 paused cobalt amber ready 1 closed cobalt indigo failed 118 active fable amber pending 118 failed grove grove
active 0 pending birch ember ready 25 active indigo indigo ready 1 closed cobalt indigo
active 104 paused grove cobalt closed 30 paused fable birch active 104 ready fable indigo pending 72 closed harbor fable ready 88 paused harbor juniper ready 85 ready amber juniper paused 98 pending juniper indigo active 25 active amber juniper paused 46 ready delta juniper
closed 30 paused fable birch active 25 active amber juniper paused 46 ready delta juniper
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042707
qwen/qwen3.7-plus
awkweave-0042708
Show whole lines whose 2nd field is between 6 and 20, inclusive.
$2 >= 6 && $2 <= 20
closed 19 ready harbor failed 15 failed fable active 3 active amber active 6 closed grove active 26 closed amber failed 25 paused juniper paused 8 paused birch paused 4 ready ember
closed 19 ready harbor failed 15 failed fable active 6 closed grove paused 8 paused birch
closed 28 ready birch failed 29 closed juniper active 4 active amber closed 4 closed cobalt paused 6 failed grove active 7 paused delta active 21 active delta pending 26 paused amber paused 7 pending grove pending 28 active birch
paused 6 failed grove active 7 paused delta paused 7 pending grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042708-p1
Show entire lines where the second field falls within the inclusive range of 6 to 20.
$2 >= 6 && $2 <= 20
closed 19 ready harbor failed 15 failed fable active 3 active amber active 6 closed grove active 26 closed amber failed 25 paused juniper paused 8 paused birch paused 4 ready ember
closed 19 ready harbor failed 15 failed fable active 6 closed grove paused 8 paused birch
closed 28 ready birch failed 29 closed juniper active 4 active amber closed 4 closed cobalt paused 6 failed grove active 7 paused delta active 21 active delta pending 26 paused amber paused 7 pending grove pending 28 active birch
paused 6 failed grove active 7 paused delta paused 7 pending grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042708
qwen/qwen3.7-plus
awkweave-0042709
Print column 4 only for rows where column 1 is exactly active.
$1 == "active"{print $4}
failed fable 3 chen failed harbor 22 chen pending cobalt 38 farah active indigo 110 chen closed cobalt 98 alice closed grove 80 chen closed birch 61 farah active amber 85 ivan
chen ivan
active juniper 30 hana ready fable 51 kim pending ember 65 ivan active amber 31 chen failed indigo 112 ivan ready fable 40 hana pending juniper 73 farah paused cobalt 6 alice
hana chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042709-p1
Extract and print only the fourth column for rows where the first column matches 'active' exactly.
$1 == "active"{print $4}
failed fable 3 chen failed harbor 22 chen pending cobalt 38 farah active indigo 110 chen closed cobalt 98 alice closed grove 80 chen closed birch 61 farah active amber 85 ivan
chen ivan
active juniper 30 hana ready fable 51 kim pending ember 65 ivan active amber 31 chen failed indigo 112 ivan ready fable 40 hana pending juniper 73 farah paused cobalt 6 alice
hana chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042709
qwen/qwen3.7-plus
awkweave-0042710
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
fable WARN 82 ember WARN 75 ember INFO 69 birch INFO 39 amber DEBUG 39 grove INFO 34 grove WARN 113 harbor ERROR 39 fable ERROR 8
harbor ERROR 39 fable ERROR 8
juniper DEBUG 90 birch WARN 53 ember ERROR 2 ember DEBUG 65 birch WARN 33 juniper WARN 68 cobalt ERROR 31 grove INFO 2 grove ERROR 7 ember DEBUG 86
ember ERROR 2 cobalt ERROR 31 grove ERROR 7
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042710-p1
Print all fields from lines where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
fable WARN 82 ember WARN 75 ember INFO 69 birch INFO 39 amber DEBUG 39 grove INFO 34 grove WARN 113 harbor ERROR 39 fable ERROR 8
harbor ERROR 39 fable ERROR 8
juniper DEBUG 90 birch WARN 53 ember ERROR 2 ember DEBUG 65 birch WARN 33 juniper WARN 68 cobalt ERROR 31 grove INFO 2 grove ERROR 7 ember DEBUG 86
ember ERROR 2 cobalt ERROR 31 grove ERROR 7
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042710
qwen/qwen3.7-plus
awkweave-0042711
Print every line except those containing the exact text ember.
$0 !~ /ember/
grove 74 failed grove 114 failed delta 58 ready fable 79 paused ember 32 pending fable 60 paused ember 999 active
grove 74 failed grove 114 failed delta 58 ready fable 79 paused fable 60 paused
harbor 98 active birch 1 pending birch 60 active ember 88 failed birch 50 pending fable 11 pending juniper 102 ready delta 82 pending ember 999 active
harbor 98 active birch 1 pending birch 60 active birch 50 pending fable 11 pending juniper 102 ready delta 82 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042711-p1
Output every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
grove 74 failed grove 114 failed delta 58 ready fable 79 paused ember 32 pending fable 60 paused ember 999 active
grove 74 failed grove 114 failed delta 58 ready fable 79 paused fable 60 paused
harbor 98 active birch 1 pending birch 60 active ember 88 failed birch 50 pending fable 11 pending juniper 102 ready delta 82 pending ember 999 active
harbor 98 active birch 1 pending birch 60 active birch 50 pending fable 11 pending juniper 102 ready delta 82 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042711
qwen/qwen3.7-plus
awkweave-0042712
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
gus ember 63 dina juniper 8 ivan delta 70 kim fable 74 gus ember 34 gus delta 77 hana indigo 32 farah cobalt 28
ivan delta 70 kim fable 74 gus ember 34
alice amber 40 farah indigo 99 kim ember 65 hana birch 31 dina cobalt 107 ivan amber 104 alice grove 40 chen indigo 98 ivan birch 34
kim ember 65 hana birch 31 dina cobalt 107
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042712-p1
Print lines numbered 3 through 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
gus ember 63 dina juniper 8 ivan delta 70 kim fable 74 gus ember 34 gus delta 77 hana indigo 32 farah cobalt 28
ivan delta 70 kim fable 74 gus ember 34
alice amber 40 farah indigo 99 kim ember 65 hana birch 31 dina cobalt 107 ivan amber 104 alice grove 40 chen indigo 98 ivan birch 34
kim ember 65 hana birch 31 dina cobalt 107
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042712
qwen/qwen3.7-plus
awkweave-0042713
Output only the first 5 records.
NR <= 5
lina 75 harbor dina 12 birch chen 91 fable hana 31 cobalt lina 37 harbor eli 100 cobalt eli 46 indigo
lina 75 harbor dina 12 birch chen 91 fable hana 31 cobalt lina 37 harbor
gus 62 fable jules 42 cobalt dina 69 ember dina 40 ember farah 81 delta alice 71 amber
gus 62 fable jules 42 cobalt dina 69 ember dina 40 ember farah 81 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042713-p1
Output only the first 5 records from the input.
NR <= 5
lina 75 harbor dina 12 birch chen 91 fable hana 31 cobalt lina 37 harbor eli 100 cobalt eli 46 indigo
lina 75 harbor dina 12 birch chen 91 fable hana 31 cobalt lina 37 harbor
gus 62 fable jules 42 cobalt dina 69 ember dina 40 ember farah 81 delta alice 71 amber
gus 62 fable jules 42 cobalt dina 69 ember dina 40 ember farah 81 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042713
qwen/qwen3.7-plus
awkweave-0042714
Skip the first line and print every remaining line unchanged.
NR > 1
dina 107 delta gus 110 fable gus 91 birch gus 47 grove hana 89 ember gus 34 amber ivan 112 birch eli 35 birch gus 69 amber
gus 110 fable gus 91 birch gus 47 grove hana 89 ember gus 34 amber ivan 112 birch eli 35 birch gus 69 amber
dina 111 delta dina 4 harbor farah 41 grove chen 32 delta dina 69 amber alice 0 juniper dina 25 harbor eli 77 delta
dina 4 harbor farah 41 grove chen 32 delta dina 69 amber alice 0 juniper dina 25 harbor eli 77 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042714-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
dina 107 delta gus 110 fable gus 91 birch gus 47 grove hana 89 ember gus 34 amber ivan 112 birch eli 35 birch gus 69 amber
gus 110 fable gus 91 birch gus 47 grove hana 89 ember gus 34 amber ivan 112 birch eli 35 birch gus 69 amber
dina 111 delta dina 4 harbor farah 41 grove chen 32 delta dina 69 amber alice 0 juniper dina 25 harbor eli 77 delta
dina 4 harbor farah 41 grove chen 32 delta dina 69 amber alice 0 juniper dina 25 harbor eli 77 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042714
qwen/qwen3.7-plus
awkweave-0042715
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
lina paused 37 gus ready 2 bruno failed 30 kim pending 56 jules active 31 ivan active 48 gus active 30 jules pending 69
2
eli active 89 jules pending 1 gus closed 72 alice active 65 jules failed 74 chen closed 108 bruno ready 17 dina closed 105 jules active 39 alice pending 14
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042715-p1
Count the number of records where the second column contains 'pending', outputting 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
lina paused 37 gus ready 2 bruno failed 30 kim pending 56 jules active 31 ivan active 48 gus active 30 jules pending 69
2
eli active 89 jules pending 1 gus closed 72 alice active 65 jules failed 74 chen closed 108 bruno ready 17 dina closed 105 jules active 39 alice pending 14
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042715
qwen/qwen3.7-plus
awkweave-0042716
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
9 jules indigo 3 farah juniper 28 kim amber 6 alice fable 19 ivan fable 20 hana ember 27 chen delta
112
18 kim ember 13 bruno harbor 22 chen harbor 2 dina amber 10 dina juniper 21 kim delta 18 chen birch 29 eli ember 2 chen delta 7 jules ember
142
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042716-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
9 jules indigo 3 farah juniper 28 kim amber 6 alice fable 19 ivan fable 20 hana ember 27 chen delta
112
18 kim ember 13 bruno harbor 22 chen harbor 2 dina amber 10 dina juniper 21 kim delta 18 chen birch 29 eli ember 2 chen delta 7 jules ember
142
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042716
qwen/qwen3.7-plus
awkweave-0042717
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 27 dina grove 5 lina harbor 26 lina birch 3 chen indigo 17 dina harbor 9 gus ember 5 lina cobalt 13 gus
13.12
indigo 18 eli grove 8 kim harbor 28 chen harbor 6 gus fable 10 hana harbor 2 kim birch 22 farah delta 8 chen juniper 17 eli amber 1 farah
12.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042717-p1
Calculate the average of values in the second column and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 27 dina grove 5 lina harbor 26 lina birch 3 chen indigo 17 dina harbor 9 gus ember 5 lina cobalt 13 gus
13.12
indigo 18 eli grove 8 kim harbor 28 chen harbor 6 gus fable 10 hana harbor 2 kim birch 22 farah delta 8 chen juniper 17 eli amber 1 farah
12.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042717
qwen/qwen3.7-plus
awkweave-0042718
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 12 harbor kim 2 delta hana 29 amber chen 12 harbor eli 4 cobalt bruno 13 birch kim 21 harbor jules 26 harbor bruno 14
2
cobalt kim 30 delta gus 23 grove hana 12 grove gus 21 cobalt hana 6 ember alice 3 harbor ivan 15 fable alice 19
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042718-p1
Identify and output the minimum number found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor alice 12 harbor kim 2 delta hana 29 amber chen 12 harbor eli 4 cobalt bruno 13 birch kim 21 harbor jules 26 harbor bruno 14
2
cobalt kim 30 delta gus 23 grove hana 12 grove gus 21 cobalt hana 6 ember alice 3 harbor ivan 15 fable alice 19
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042718
qwen/qwen3.7-plus
awkweave-0042719
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 21 lina birch 10 hana cobalt 22 chen birch 19 gus harbor 8 bruno indigo 7 kim
22
birch 10 farah amber 10 lina juniper 18 lina fable 13 bruno amber 9 jules fable 12 dina amber 12 farah grove 13 chen juniper 15 alice
18
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042719-p1
Locate and display the maximum numeric value within the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
fable 21 lina birch 10 hana cobalt 22 chen birch 19 gus harbor 8 bruno indigo 7 kim
22
birch 10 farah amber 10 lina juniper 18 lina fable 13 bruno amber 9 jules fable 12 dina amber 12 farah grove 13 chen juniper 15 alice
18
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042719
qwen/qwen3.7-plus
awkweave-0042720
Count all input records and print the total.
END{print NR}
alice 71 jules 84 dina 49 bruno 73 gus 24 eli 50 alice 90 farah 111 dina 85
9
ivan 41 dina 60 dina 60 kim 74 kim 22 ivan 46 chen 71 hana 43 gus 33
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042720-p1
Calculate the total number of input records and output the count.
END{print NR}
alice 71 jules 84 dina 49 bruno 73 gus 24 eli 50 alice 90 farah 111 dina 85
9
ivan 41 dina 60 dina 60 kim 74 kim 22 ivan 46 chen 71 hana 43 gus 33
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042720
qwen/qwen3.7-plus
awkweave-0042721
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana grove 90 farah grove 30 ivan fable 48 hana ember 15 gus cobalt 58 eli fable 109 farah grove 30
hana grove 90 farah grove 30 ivan fable 48 hana ember 15 gus cobalt 58 eli fable 109
gus harbor 92 hana amber 42 hana amber 42 bruno indigo 88 gus fable 75 farah amber 34 eli indigo 112 eli ember 25 bruno harbor 4
gus harbor 92 hana amber 42 bruno indigo 88 gus fable 75 farah amber 34 eli indigo 112 eli ember 25 bruno harbor 4
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0042721-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana grove 90 farah grove 30 ivan fable 48 hana ember 15 gus cobalt 58 eli fable 109 farah grove 30
hana grove 90 farah grove 30 ivan fable 48 hana ember 15 gus cobalt 58 eli fable 109
gus harbor 92 hana amber 42 hana amber 42 bruno indigo 88 gus fable 75 farah amber 34 eli indigo 112 eli ember 25 bruno harbor 4
gus harbor 92 hana amber 42 bruno indigo 88 gus fable 75 farah amber 34 eli indigo 112 eli ember 25 bruno harbor 4
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0042721
qwen/qwen3.7-plus