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-0003270-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
ivan amber 112 alice fable 83 dina fable 82 kim amber 18 jules amber 117 jules delta 26 jules harbor 84 farah juniper 66
ivan amber 112 alice fable 83 dina fable 82 kim amber 18 jules amber 117 jules delta 26 jules harbor 84 farah juniper 66
eli ember 53 farah amber 35 farah birch 10 dina harbor 66 ivan grove 1 farah indigo 64 bruno fable 116
eli ember 53 farah amber 35 farah birch 10 dina harbor 66 ivan grove 1 farah indigo 64 bruno fable 116
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003270
qwen/qwen3.7-plus
awkweave-0003271
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim juniper 98 pending alice grove 78 ready jules amber 107 closed kim fable 51 closed bruno grove 52 pending ivan amber 120 pending bruno cobalt 7 closed bruno delta 30 closed
kim juniper 98 pending
alice delta 75 failed bruno fable 28 active kim cobalt 66 active chen indigo 107 active eli juniper 22 closed eli delta 53 pending chen juniper 107 active gus ember 74 ready
chen juniper 107 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003271-p1
Identify and print the longest line from the input; in case of a tie, select the earliest one.
{if(length($0)>length(best))best=$0}END{print best}
kim juniper 98 pending alice grove 78 ready jules amber 107 closed kim fable 51 closed bruno grove 52 pending ivan amber 120 pending bruno cobalt 7 closed bruno delta 30 closed
kim juniper 98 pending
alice delta 75 failed bruno fable 28 active kim cobalt 66 active chen indigo 107 active eli juniper 22 closed eli delta 53 pending chen juniper 107 active gus ember 74 ready
chen juniper 107 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003271
qwen/qwen3.7-plus
awkweave-0003272
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
gus 37 lina 116 ivan 89 farah 7 lina 119 farah 74
lina 116 farah 7 farah 74
jules 79 eli 5 gus 83 hana 63 lina 43 dina 15 farah 14 farah 30
eli 5 hana 63 dina 15 farah 30
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003272-p1
Output every second line beginning with line 2 (i.e., lines 2, 4, etc.).
NR%2==0
gus 37 lina 116 ivan 89 farah 7 lina 119 farah 74
lina 116 farah 7 farah 74
jules 79 eli 5 gus 83 hana 63 lina 43 dina 15 farah 14 farah 30
eli 5 hana 63 dina 15 farah 30
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003272
qwen/qwen3.7-plus
awkweave-0003273
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha ember 13 gamma birch 12 delta ember 28 beta harbor 119 beta birch 118 beta harbor 66 delta birch 12
3
delta grove 10 delta delta 19 delta cobalt 70 gamma fable 81 delta amber 100 delta amber 46 beta delta 111 alpha delta 95 alpha juniper 20 alpha amber 17
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003273-p1
Calculate the number of unique values in the second column and display only that total.
{if(!seen[$2]++)n++}END{print n+0}
alpha ember 13 gamma birch 12 delta ember 28 beta harbor 119 beta birch 118 beta harbor 66 delta birch 12
3
delta grove 10 delta delta 19 delta cobalt 70 gamma fable 81 delta amber 100 delta amber 46 beta delta 111 alpha delta 95 alpha juniper 20 alpha amber 17
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003273
qwen/qwen3.7-plus
awkweave-0003274
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 20 0 kim 2 8 gus 7 7 ivan 25 30 farah 3 10 hana 17 4 dina 13 5
kim 0.25 gus 1.00 ivan 0.83 farah 0.30 hana 4.25 dina 2.60
jules 30 0 chen 1 25 dina 21 4 alice 4 21 lina 19 3 chen 9 7 hana 17 29 dina 27 2
chen 0.04 dina 5.25 alice 0.19 lina 6.33 chen 1.29 hana 0.59 dina 13.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003274-p1
For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 20 0 kim 2 8 gus 7 7 ivan 25 30 farah 3 10 hana 17 4 dina 13 5
kim 0.25 gus 1.00 ivan 0.83 farah 0.30 hana 4.25 dina 2.60
jules 30 0 chen 1 25 dina 21 4 alice 4 21 lina 19 3 chen 9 7 hana 17 29 dina 27 2
chen 0.04 dina 5.25 alice 0.19 lina 6.33 chen 1.29 hana 0.59 dina 13.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003274
qwen/qwen3.7-plus
awkweave-0003275
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan fable 3 bruno ember 1 bruno amber 27 kim delta 1 hana harbor 14 ivan harbor 3 lina delta 2 kim birch 28
kim birch 28 bruno amber 27 hana harbor 14
lina birch 22 jules indigo 4 chen amber 16 kim amber 16 ivan fable 17 chen grove 13
lina birch 22 ivan fable 17 chen amber 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003275-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan fable 3 bruno ember 1 bruno amber 27 kim delta 1 hana harbor 14 ivan harbor 3 lina delta 2 kim birch 28
kim birch 28 bruno amber 27 hana harbor 14
lina birch 22 jules indigo 4 chen amber 16 kim amber 16 ivan fable 17 chen grove 13
lina birch 22 ivan fable 17 chen amber 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003275
qwen/qwen3.7-plus
awkweave-0003276
Print column 6 followed by column 1 for every record.
{print $6, $1}
failed 62 90 jules closed 68 paused 112 91 kim failed 5 pending 15 98 alice closed 89 pending 42 23 chen pending 112 paused 88 22 dina paused 50 paused 47 44 farah ready 45 active 107 81 bruno active 48 ready 14 76 jules failed 88 failed 98 79 kim pending 43 ready 117 60 farah active 15
68 failed 5 paused 89 pending 112 pending 50 paused 45 paused 48 active 88 ready 43 failed 15 ready
failed 74 69 chen active 44 pending 71 79 farah ready 98 ready 45 32 gus closed 96 failed 86 92 bruno paused 83 pending 30 33 ivan failed 54 active 48 69 jules pending 100
44 failed 98 pending 96 ready 83 failed 54 pending 100 active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003276-p1
Output the sixth column followed by the first column for each record.
{print $6, $1}
failed 62 90 jules closed 68 paused 112 91 kim failed 5 pending 15 98 alice closed 89 pending 42 23 chen pending 112 paused 88 22 dina paused 50 paused 47 44 farah ready 45 active 107 81 bruno active 48 ready 14 76 jules failed 88 failed 98 79 kim pending 43 ready 117 60 farah active 15
68 failed 5 paused 89 pending 112 pending 50 paused 45 paused 48 active 88 ready 43 failed 15 ready
failed 74 69 chen active 44 pending 71 79 farah ready 98 ready 45 32 gus closed 96 failed 86 92 bruno paused 83 pending 30 33 ivan failed 54 active 48 69 jules pending 100
44 failed 98 pending 96 ready 83 failed 54 pending 100 active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003276
qwen/qwen3.7-plus
awkweave-0003277
Print the last field of every input line.
{print $NF}
failed gus ready juniper active active farah active lina failed grove pending ready gus paused alice paused juniper ready ready kim ready eli closed harbor active ready ivan closed kim ready fable paused paused hana ready farah paused amber closed ready eli ready ivan closed ember closed failed jules failed eli pending...
farah gus kim ivan hana eli jules dina
pending eli ready cobalt closed active dina active alice pending grove pending active eli pending chen failed cobalt pending failed ivan closed hana closed grove ready closed eli ready gus pending grove pending ready farah closed bruno pending birch closed ready farah failed farah paused fable paused ready kim closed i...
dina eli ivan eli farah farah kim dina chen lina
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003277-p1
Print the final field from every input line.
{print $NF}
failed gus ready juniper active active farah active lina failed grove pending ready gus paused alice paused juniper ready ready kim ready eli closed harbor active ready ivan closed kim ready fable paused paused hana ready farah paused amber closed ready eli ready ivan closed ember closed failed jules failed eli pending...
farah gus kim ivan hana eli jules dina
pending eli ready cobalt closed active dina active alice pending grove pending active eli pending chen failed cobalt pending failed ivan closed hana closed grove ready closed eli ready gus pending grove pending ready farah closed bruno pending birch closed ready farah failed farah paused fable paused ready kim closed i...
dina eli ivan eli farah farah kim dina chen lina
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003277
qwen/qwen3.7-plus
awkweave-0003278
Print the complete records where column 2 is at least 69.
$2 >= 69
ivan 46 hana closed pending farah 11 gus active active chen 94 eli ready active alice 31 gus pending ready alice 67 eli active pending dina 40 chen active pending farah 120 jules pending ready
chen 94 eli ready active farah 120 jules pending ready
ivan 69 ivan pending pending hana 85 bruno closed paused hana 39 dina failed pending jules 115 gus active active alice 91 dina ready ready kim 83 eli ready closed eli 120 kim failed pending ivan 47 alice closed closed eli 27 chen active failed
ivan 69 ivan pending pending hana 85 bruno closed paused jules 115 gus active active alice 91 dina ready ready kim 83 eli ready closed eli 120 kim failed pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003278-p1
Output the entire records where the value in column 2 is greater than or equal to 69.
$2 >= 69
ivan 46 hana closed pending farah 11 gus active active chen 94 eli ready active alice 31 gus pending ready alice 67 eli active pending dina 40 chen active pending farah 120 jules pending ready
chen 94 eli ready active farah 120 jules pending ready
ivan 69 ivan pending pending hana 85 bruno closed paused hana 39 dina failed pending jules 115 gus active active alice 91 dina ready ready kim 83 eli ready closed eli 120 kim failed pending ivan 47 alice closed closed eli 27 chen active failed
ivan 69 ivan pending pending hana 85 bruno closed paused jules 115 gus active active alice 91 dina ready ready kim 83 eli ready closed eli 120 kim failed pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003278
qwen/qwen3.7-plus
awkweave-0003279
Show whole lines whose 1st field is between 9 and 19, inclusive.
$1 >= 9 && $1 <= 19
20 grove jules ready 2 delta jules failed 17 indigo jules failed 19 harbor hana pending 7 grove kim active 5 juniper lina pending
17 indigo jules failed 19 harbor hana pending
28 amber alice active 7 birch kim active 21 birch farah closed 20 birch gus failed 24 birch lina ready 21 delta dina pending 8 cobalt jules paused 14 delta eli ready
14 delta eli ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003279-p1
Display complete lines where the first field falls within the inclusive range of 9 to 19.
$1 >= 9 && $1 <= 19
20 grove jules ready 2 delta jules failed 17 indigo jules failed 19 harbor hana pending 7 grove kim active 5 juniper lina pending
17 indigo jules failed 19 harbor hana pending
28 amber alice active 7 birch kim active 21 birch farah closed 20 birch gus failed 24 birch lina ready 21 delta dina pending 8 cobalt jules paused 14 delta eli ready
14 delta eli ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003279
qwen/qwen3.7-plus
awkweave-0003280
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
chen pending 68 juniper chen ready 53 grove bruno active 57 grove ivan paused 79 ember bruno pending 3 grove gus closed 5 cobalt eli active 67 indigo chen closed 14 amber
chen bruno
eli closed 26 delta bruno active 105 ember ivan closed 3 amber kim ready 46 birch ivan failed 61 birch farah active 95 indigo jules ready 117 juniper jules ready 108 birch
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003280-p1
Output only the first column for rows where the second column is exactly 'pending'.
$2 == "pending"{print $1}
chen pending 68 juniper chen ready 53 grove bruno active 57 grove ivan paused 79 ember bruno pending 3 grove gus closed 5 cobalt eli active 67 indigo chen closed 14 amber
chen bruno
eli closed 26 delta bruno active 105 ember ivan closed 3 amber kim ready 46 birch ivan failed 61 birch farah active 95 indigo jules ready 117 juniper jules ready 108 birch
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003280
qwen/qwen3.7-plus
awkweave-0003281
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
harbor DEBUG 105 harbor ERROR 25 grove DEBUG 4 fable ERROR 79 grove INFO 50 ember INFO 63 delta INFO 67
harbor ERROR 25 fable ERROR 79
delta ERROR 34 juniper DEBUG 54 cobalt WARN 52 indigo WARN 101 delta WARN 51 indigo WARN 84 birch WARN 62
delta ERROR 34
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003281-p1
Print all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
harbor DEBUG 105 harbor ERROR 25 grove DEBUG 4 fable ERROR 79 grove INFO 50 ember INFO 63 delta INFO 67
harbor ERROR 25 fable ERROR 79
delta ERROR 34 juniper DEBUG 54 cobalt WARN 52 indigo WARN 101 delta WARN 51 indigo WARN 84 birch WARN 62
delta ERROR 34
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003281
qwen/qwen3.7-plus
awkweave-0003282
Print every line except those containing the exact text amber.
$0 !~ /amber/
juniper 77 failed birch 25 closed juniper 11 failed grove 0 pending birch 54 closed ember 22 ready birch 76 failed grove 40 active fable 22 closed harbor 6 paused amber 999 active
juniper 77 failed birch 25 closed juniper 11 failed grove 0 pending birch 54 closed ember 22 ready birch 76 failed grove 40 active fable 22 closed harbor 6 paused
delta 28 paused delta 64 active ember 34 pending harbor 65 ready amber 94 closed indigo 94 ready indigo 103 closed amber 999 active
delta 28 paused delta 64 active ember 34 pending harbor 65 ready indigo 94 ready indigo 103 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003282-p1
Output every line that does not contain the exact string 'amber'.
$0 !~ /amber/
juniper 77 failed birch 25 closed juniper 11 failed grove 0 pending birch 54 closed ember 22 ready birch 76 failed grove 40 active fable 22 closed harbor 6 paused amber 999 active
juniper 77 failed birch 25 closed juniper 11 failed grove 0 pending birch 54 closed ember 22 ready birch 76 failed grove 40 active fable 22 closed harbor 6 paused
delta 28 paused delta 64 active ember 34 pending harbor 65 ready amber 94 closed indigo 94 ready indigo 103 closed amber 999 active
delta 28 paused delta 64 active ember 34 pending harbor 65 ready indigo 94 ready indigo 103 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003282
qwen/qwen3.7-plus
awkweave-0003283
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
farah harbor 84 jules amber 18 jules grove 105 gus ember 90 gus amber 120 hana cobalt 100
jules amber 18 jules grove 105 gus ember 90 gus amber 120
gus fable 23 jules grove 18 bruno fable 60 ivan harbor 89 gus birch 31 jules fable 103 alice fable 20
jules grove 18 bruno fable 60 ivan harbor 89 gus birch 31
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003283-p1
Print lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
farah harbor 84 jules amber 18 jules grove 105 gus ember 90 gus amber 120 hana cobalt 100
jules amber 18 jules grove 105 gus ember 90 gus amber 120
gus fable 23 jules grove 18 bruno fable 60 ivan harbor 89 gus birch 31 jules fable 103 alice fable 20
jules grove 18 bruno fable 60 ivan harbor 89 gus birch 31
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003283
qwen/qwen3.7-plus
awkweave-0003284
Output only the first 3 records.
NR <= 3
dina 112 delta eli 57 ember farah 105 fable eli 27 amber lina 11 harbor ivan 111 harbor farah 88 amber bruno 2 indigo
dina 112 delta eli 57 ember farah 105 fable
chen 88 cobalt hana 84 birch farah 99 fable lina 82 juniper alice 89 cobalt hana 99 indigo gus 11 cobalt bruno 88 fable
chen 88 cobalt hana 84 birch farah 99 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003284-p1
Display only the initial three records.
NR <= 3
dina 112 delta eli 57 ember farah 105 fable eli 27 amber lina 11 harbor ivan 111 harbor farah 88 amber bruno 2 indigo
dina 112 delta eli 57 ember farah 105 fable
chen 88 cobalt hana 84 birch farah 99 fable lina 82 juniper alice 89 cobalt hana 99 indigo gus 11 cobalt bruno 88 fable
chen 88 cobalt hana 84 birch farah 99 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003284
qwen/qwen3.7-plus
awkweave-0003285
Skip the first line and print every remaining line unchanged.
NR > 1
hana 45 grove lina 115 cobalt lina 37 amber hana 65 harbor chen 79 ember kim 28 indigo
lina 115 cobalt lina 37 amber hana 65 harbor chen 79 ember kim 28 indigo
hana 97 harbor ivan 84 grove gus 68 grove eli 103 harbor gus 109 harbor eli 80 birch farah 83 grove lina 118 birch jules 18 cobalt kim 83 indigo
ivan 84 grove gus 68 grove eli 103 harbor gus 109 harbor eli 80 birch farah 83 grove lina 118 birch jules 18 cobalt kim 83 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003285-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
hana 45 grove lina 115 cobalt lina 37 amber hana 65 harbor chen 79 ember kim 28 indigo
lina 115 cobalt lina 37 amber hana 65 harbor chen 79 ember kim 28 indigo
hana 97 harbor ivan 84 grove gus 68 grove eli 103 harbor gus 109 harbor eli 80 birch farah 83 grove lina 118 birch jules 18 cobalt kim 83 indigo
ivan 84 grove gus 68 grove eli 103 harbor gus 109 harbor eli 80 birch farah 83 grove lina 118 birch jules 18 cobalt kim 83 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003285
qwen/qwen3.7-plus
awkweave-0003286
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
dina failed 19 kim ready 1 gus failed 8 dina failed 8 hana active 66 jules closed 33 lina failed 61 chen paused 62 eli failed 113
0
hana pending 7 eli closed 40 eli failed 75 kim active 46 bruno closed 22 ivan paused 62 chen failed 36 alice pending 89 gus closed 111 lina active 115
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003286-p1
Determine the number of entries where column 2 contains 'pending', outputting 0 if no such entries exist.
$2 == "pending"{n++}END{print n+0}
dina failed 19 kim ready 1 gus failed 8 dina failed 8 hana active 66 jules closed 33 lina failed 61 chen paused 62 eli failed 113
0
hana pending 7 eli closed 40 eli failed 75 kim active 46 bruno closed 22 ivan paused 62 chen failed 36 alice pending 89 gus closed 111 lina active 115
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003286
qwen/qwen3.7-plus
awkweave-0003287
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
fable 22 eli grove 19 hana grove 30 alice delta 11 lina delta 28 chen birch 12 bruno birch 16 lina grove 13 chen indigo 1 hana fable 8 jules
160
ember 8 alice juniper 6 ivan grove 19 farah birch 22 eli juniper 9 lina cobalt 9 gus cobalt 9 jules delta 26 hana fable 26 farah
134
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003287-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
fable 22 eli grove 19 hana grove 30 alice delta 11 lina delta 28 chen birch 12 bruno birch 16 lina grove 13 chen indigo 1 hana fable 8 jules
160
ember 8 alice juniper 6 ivan grove 19 farah birch 22 eli juniper 9 lina cobalt 9 gus cobalt 9 jules delta 26 hana fable 26 farah
134
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003287
qwen/qwen3.7-plus
awkweave-0003288
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
eli ember 29 chen delta 2 hana amber 28 alice grove 29 chen harbor 4 gus cobalt 8
16.67
farah cobalt 10 dina grove 29 ivan harbor 17 kim juniper 4 kim delta 20 hana juniper 1 farah juniper 6 farah fable 6
11.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003288-p1
Output the average of column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
eli ember 29 chen delta 2 hana amber 28 alice grove 29 chen harbor 4 gus cobalt 8
16.67
farah cobalt 10 dina grove 29 ivan harbor 17 kim juniper 4 kim delta 20 hana juniper 1 farah juniper 6 farah fable 6
11.62
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003288
qwen/qwen3.7-plus
awkweave-0003289
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 28 fable dina 17 birch alice 2 fable bruno 13 indigo farah 23 ember ivan 1 harbor kim 11 ember
1
lina 26 grove dina 16 fable hana 16 cobalt kim 27 fable bruno 23 harbor alice 7 harbor bruno 21 cobalt lina 22 delta
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003289-p1
Identify and print the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 28 fable dina 17 birch alice 2 fable bruno 13 indigo farah 23 ember ivan 1 harbor kim 11 ember
1
lina 26 grove dina 16 fable hana 16 cobalt kim 27 fable bruno 23 harbor alice 7 harbor bruno 21 cobalt lina 22 delta
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003289
qwen/qwen3.7-plus
awkweave-0003300
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)}
hana birch 81 ready jules harbor 44 failed hana birch 28 pending bruno juniper 49 paused dina juniper 6 active lina delta 90 failed
ready 81 birch hana failed 44 harbor jules pending 28 birch hana paused 49 juniper bruno active 6 juniper dina failed 90 delta lina
dina juniper 111 ready eli amber 118 active farah grove 67 paused kim ember 89 closed alice amber 69 closed farah birch 117 active lina harbor 87 paused hana grove 120 ready ivan harbor 10 ready chen ember 20 closed
ready 111 juniper dina active 118 amber eli paused 67 grove farah closed 89 ember kim closed 69 amber alice active 117 birch farah paused 87 harbor lina ready 120 grove hana ready 10 harbor ivan closed 20 ember chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003300-p1
Invert the sequence of fields for every line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana birch 81 ready jules harbor 44 failed hana birch 28 pending bruno juniper 49 paused dina juniper 6 active lina delta 90 failed
ready 81 birch hana failed 44 harbor jules pending 28 birch hana paused 49 juniper bruno active 6 juniper dina failed 90 delta lina
dina juniper 111 ready eli amber 118 active farah grove 67 paused kim ember 89 closed alice amber 69 closed farah birch 117 active lina harbor 87 paused hana grove 120 ready ivan harbor 10 ready chen ember 20 closed
ready 111 juniper dina active 118 amber eli paused 67 grove farah closed 89 ember kim closed 69 amber alice active 117 birch farah paused 87 harbor lina ready 120 grove hana ready 10 harbor ivan closed 20 ember chen
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003300
qwen/qwen3.7-plus
awkweave-0003301
Print the number of whitespace-separated fields on each line.
{print NF}
bruno ember 118 closed dina harbor 71 failed eli ember 45 failed lina cobalt 80 paused alice grove 76 closed jules amber 120 failed
4 4 4 4 4 4
hana juniper 108 paused dina ember 63 closed kim amber 75 active ivan delta 20 active kim amber 101 closed lina harbor 3 ready farah ember 113 ready farah amber 4 active dina delta 28 active
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003301-p1
Show the count of whitespace-delimited fields for each individual line.
{print NF}
bruno ember 118 closed dina harbor 71 failed eli ember 45 failed lina cobalt 80 paused alice grove 76 closed jules amber 120 failed
4 4 4 4 4 4
hana juniper 108 paused dina ember 63 closed kim amber 75 active ivan delta 20 active kim amber 101 closed lina harbor 3 ready farah ember 113 ready farah amber 4 active dina delta 28 active
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003301
qwen/qwen3.7-plus
awkweave-0003302
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice beta 46 ivan gamma 22 gus gamma 80 alice gamma 43 kim delta 33 alice alpha 8 gus delta 99 jules beta 61 alice delta 63
beta 2 gamma 3 delta 3 alpha 1
gus gamma 77 farah delta 50 lina beta 17 ivan delta 41 alice beta 30 hana beta 37 eli gamma 25 chen beta 33
gamma 2 delta 2 beta 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003302-p1
Tally the occurrences of each unique value in column 2, listing each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice beta 46 ivan gamma 22 gus gamma 80 alice gamma 43 kim delta 33 alice alpha 8 gus delta 99 jules beta 61 alice delta 63
beta 2 gamma 3 delta 3 alpha 1
gus gamma 77 farah delta 50 lina beta 17 ivan delta 41 alice beta 30 hana beta 37 eli gamma 25 chen beta 33
gamma 2 delta 2 beta 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003302
qwen/qwen3.7-plus
awkweave-0003303
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 gamma 28 bruno alpha 8 lina alpha 7 kim delta 25 bruno delta 14 ivan beta 23 jules delta 23 lina gamma 1 chen alpha 18 alice beta 20
gamma 29 alpha 33 delta 62 beta 43
lina gamma 3 gus alpha 20 chen delta 1 dina beta 1 gus alpha 15 dina alpha 1 jules gamma 21 farah delta 6
gamma 24 alpha 36 delta 7 beta 1
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003303-p1
Calculate the sum of column 3 grouped by each category in column 2, presenting the groups in the order of their 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 gamma 28 bruno alpha 8 lina alpha 7 kim delta 25 bruno delta 14 ivan beta 23 jules delta 23 lina gamma 1 chen alpha 18 alice beta 20
gamma 29 alpha 33 delta 62 beta 43
lina gamma 3 gus alpha 20 chen delta 1 dina beta 1 gus alpha 15 dina alpha 1 jules gamma 21 farah delta 6
gamma 24 alpha 36 delta 7 beta 1
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003303
qwen/qwen3.7-plus
awkweave-0003304
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta indigo 15 gamma harbor 24 beta delta 90 alpha indigo 62 gamma delta 32 beta fable 3 alpha harbor 90 delta indigo 109 alpha juniper 71 beta delta 54
beta 4 gamma 2 alpha 3
gamma cobalt 91 beta amber 15 beta harbor 89 delta cobalt 8 delta fable 37 gamma indigo 34 beta birch 103 alpha indigo 51 delta cobalt 75
gamma 2 beta 3 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003304-p1
List each duplicate value from column 1 along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta indigo 15 gamma harbor 24 beta delta 90 alpha indigo 62 gamma delta 32 beta fable 3 alpha harbor 90 delta indigo 109 alpha juniper 71 beta delta 54
beta 4 gamma 2 alpha 3
gamma cobalt 91 beta amber 15 beta harbor 89 delta cobalt 8 delta fable 37 gamma indigo 34 beta birch 103 alpha indigo 51 delta cobalt 75
gamma 2 beta 3 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003304
qwen/qwen3.7-plus
awkweave-0003305
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state display_name note region r001 gus 29 failed r002 dina 28 active r003 ivan 9 failed r004 lina 5 failed r005 chen 14 paused r006 gus 13 closed
failed active failed failed paused closed
state display_name note region r001 alice 12 ready r002 alice 25 paused r003 jules 16 closed r004 eli 20 ready r005 gus 10 active r006 kim 7 active r007 alice 30 paused r008 hana 9 active
ready paused closed ready active active paused active
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003305-p1
Treating the first row as a header, output the region column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
state display_name note region r001 gus 29 failed r002 dina 28 active r003 ivan 9 failed r004 lina 5 failed r005 chen 14 paused r006 gus 13 closed
failed active failed failed paused closed
state display_name note region r001 alice 12 ready r002 alice 25 paused r003 jules 16 closed r004 eli 20 ready r005 gus 10 active r006 kim 7 active r007 alice 30 paused r008 hana 9 active
ready paused closed ready active active paused active
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003305
qwen/qwen3.7-plus
awkweave-0003306
The first row is a header. Print display_name for data rows whose score is greater than 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 bruno 4 failed r002 kim 25 ready r003 chen 16 failed r004 lina 15 closed r005 lina 24 active r006 chen 16 active r007 jules 15 pending r008 kim 7 paused
kim lina
record_id display_name score state r001 eli 24 ready r002 eli 9 pending r003 alice 19 pending r004 jules 19 closed r005 ivan 28 ready r006 dina 13 failed r007 bruno 27 pending r008 chen 6 ready
eli alice jules ivan bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003306-p1
Skip the header row and output the display_name field for any data rows where the score exceeds 18.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]}
record_id display_name score state r001 bruno 4 failed r002 kim 25 ready r003 chen 16 failed r004 lina 15 closed r005 lina 24 active r006 chen 16 active r007 jules 15 pending r008 kim 7 paused
kim lina
record_id display_name score state r001 eli 24 ready r002 eli 9 pending r003 alice 19 pending r004 jules 19 closed r005 ivan 28 ready r006 dina 13 failed r007 bruno 27 pending r008 chen 6 ready
eli alice jules ivan bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003306
qwen/qwen3.7-plus
awkweave-0003307
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 14 active hana 25 active alice 2 pending chen 30 ready lina 6 paused kim 11 active
14 25 2 30 6 11
dina 25 paused eli 7 active bruno 19 closed ivan 11 ready alice 29 failed ivan 1 closed dina 29 failed eli 25 ready lina 20 ready dina 3 paused
25 7 19 11 29 1 29 25 20 3
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003307-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 14 active hana 25 active alice 2 pending chen 30 ready lina 6 paused kim 11 active
14 25 2 30 6 11
dina 25 paused eli 7 active bruno 19 closed ivan 11 ready alice 29 failed ivan 1 closed dina 29 failed eli 25 ready lina 20 ready dina 3 paused
25 7 19 11 29 1 29 25 20 3
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0003307
qwen/qwen3.7-plus
awkweave-0003308
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10.
BEGIN{FS=OFS=","}$2>10{print $1}
gus,4,ready bruno,11,paused kim,20,failed bruno,2,active alice,4,closed dina,17,active hana,15,paused
bruno kim dina hana
farah,15,failed gus,26,pending hana,18,ready farah,5,paused hana,19,failed ivan,19,pending dina,12,pending lina,26,paused
farah gus hana hana ivan dina lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003308-p1
For simple CSV input without quoted commas, print the first column whenever the second column is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
gus,4,ready bruno,11,paused kim,20,failed bruno,2,active alice,4,closed dina,17,active hana,15,paused
bruno kim dina hana
farah,15,failed gus,26,pending hana,18,ready farah,5,paused hana,19,failed ivan,19,pending dina,12,pending lina,26,paused
farah gus hana hana ivan dina lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003308
qwen/qwen3.7-plus
awkweave-0003309
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah juniper 19 farah fable 91 gus delta 51 eli harbor 14 dina indigo 4 lina amber 45
farah juniper 19 farah fable 91 gus delta 51 eli harbor 14 dina indigo 4 lina amber 45
bruno harbor 3 jules birch 116 jules amber 80 farah juniper 40 ivan juniper 117 ivan fable 93 hana cobalt 117 eli amber 13 bruno amber 53 chen birch 101
bruno harbor 3 jules birch 116 jules amber 80 farah juniper 40 ivan juniper 117 ivan fable 93 hana cobalt 117 eli amber 13 bruno amber 53 chen birch 101
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003309-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
farah juniper 19 farah fable 91 gus delta 51 eli harbor 14 dina indigo 4 lina amber 45
farah juniper 19 farah fable 91 gus delta 51 eli harbor 14 dina indigo 4 lina amber 45
bruno harbor 3 jules birch 116 jules amber 80 farah juniper 40 ivan juniper 117 ivan fable 93 hana cobalt 117 eli amber 13 bruno amber 53 chen birch 101
bruno harbor 3 jules birch 116 jules amber 80 farah juniper 40 ivan juniper 117 ivan fable 93 hana cobalt 117 eli amber 13 bruno amber 53 chen birch 101
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003309
qwen/qwen3.7-plus
awkweave-0003310
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina harbor 51 active hana ember 38 closed kim ember 73 closed farah delta 58 failed dina indigo 102 closed alice harbor 80 pending jules indigo 26 paused lina cobalt 102 active
alice harbor 80 pending
dina amber 61 ready farah birch 39 closed lina juniper 54 pending bruno indigo 78 ready lina ember 27 failed ivan ember 59 paused kim amber 23 ready
lina juniper 54 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003310-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
lina harbor 51 active hana ember 38 closed kim ember 73 closed farah delta 58 failed dina indigo 102 closed alice harbor 80 pending jules indigo 26 paused lina cobalt 102 active
alice harbor 80 pending
dina amber 61 ready farah birch 39 closed lina juniper 54 pending bruno indigo 78 ready lina ember 27 failed ivan ember 59 paused kim amber 23 ready
lina juniper 54 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003310
qwen/qwen3.7-plus
awkweave-0003311
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
jules 64 alice 67 jules 11 alice 98 kim 115 bruno 19 eli 42
jules 11 bruno 19
gus 58 kim 59 eli 69 bruno 118 chen 27 gus 20 eli 45 chen 19 alice 101
eli 69 gus 20 alice 101
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003311-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
jules 64 alice 67 jules 11 alice 98 kim 115 bruno 19 eli 42
jules 11 bruno 19
gus 58 kim 59 eli 69 bruno 118 chen 27 gus 20 eli 45 chen 19 alice 101
eli 69 gus 20 alice 101
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003311
qwen/qwen3.7-plus
awkweave-0003312
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 111 delta birch 11 alpha indigo 66 beta amber 89 gamma cobalt 100 delta delta 43 alpha birch 42 beta ember 14 beta ember 89
4
beta ember 69 alpha ember 42 beta amber 24 alpha delta 84 beta juniper 52 beta harbor 68 alpha grove 19
2
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003312-p1
Calculate the number of unique values in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
delta ember 111 delta birch 11 alpha indigo 66 beta amber 89 gamma cobalt 100 delta delta 43 alpha birch 42 beta ember 14 beta ember 89
4
beta ember 69 alpha ember 42 beta amber 24 alpha delta 84 beta juniper 52 beta harbor 68 alpha grove 19
2
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003312
qwen/qwen3.7-plus
awkweave-0003313
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}
ivan 28 0 jules 9 16 jules 5 21 gus 3 19 dina 16 22 hana 12 19 ivan 18 25 hana 15 6 dina 1 8
jules 0.56 jules 0.24 gus 0.16 dina 0.73 hana 0.63 ivan 0.72 hana 2.50 dina 0.12
farah 6 0 farah 19 24 hana 13 1 farah 17 21 eli 12 26 bruno 24 21 ivan 11 26 hana 19 27 chen 5 9
farah 0.79 hana 13.00 farah 0.81 eli 0.46 bruno 1.14 ivan 0.42 hana 0.70 chen 0.56
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003313-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 28 0 jules 9 16 jules 5 21 gus 3 19 dina 16 22 hana 12 19 ivan 18 25 hana 15 6 dina 1 8
jules 0.56 jules 0.24 gus 0.16 dina 0.73 hana 0.63 ivan 0.72 hana 2.50 dina 0.12
farah 6 0 farah 19 24 hana 13 1 farah 17 21 eli 12 26 bruno 24 21 ivan 11 26 hana 19 27 chen 5 9
farah 0.79 hana 13.00 farah 0.81 eli 0.46 bruno 1.14 ivan 0.42 hana 0.70 chen 0.56
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003313
qwen/qwen3.7-plus
awkweave-0003314
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules birch 6 alice juniper 10 eli amber 12 gus juniper 14 kim delta 13 bruno ember 29 lina grove 28 farah indigo 6
bruno ember 29 lina grove 28 gus juniper 14
farah amber 4 bruno harbor 8 ivan indigo 1 chen fable 11 gus harbor 7 farah fable 7 kim grove 7 hana amber 3
chen fable 11 bruno harbor 8 gus harbor 7
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003314-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules birch 6 alice juniper 10 eli amber 12 gus juniper 14 kim delta 13 bruno ember 29 lina grove 28 farah indigo 6
bruno ember 29 lina grove 28 gus juniper 14
farah amber 4 bruno harbor 8 ivan indigo 1 chen fable 11 gus harbor 7 farah fable 7 kim grove 7 hana amber 3
chen fable 11 bruno harbor 8 gus harbor 7
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003314
qwen/qwen3.7-plus
awkweave-0003315
Select the 4th and 2nd fields in that order.
{print $4, $2}
81 closed farah fable 76 failed alice harbor 11 failed gus harbor 2 failed gus ember 104 pending kim grove 2 active ivan juniper 33 failed bruno birch 6 paused chen delta
fable closed harbor failed harbor failed ember failed grove pending juniper active birch failed delta paused
114 paused eli ember 59 ready bruno delta 79 active ivan birch 48 active chen birch 82 pending dina birch 90 active farah indigo 11 pending ivan birch
ember paused delta ready birch active birch active birch pending indigo active birch pending
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003315-p1
Extract and print the fourth field followed by the second field, in that specific order.
{print $4, $2}
81 closed farah fable 76 failed alice harbor 11 failed gus harbor 2 failed gus ember 104 pending kim grove 2 active ivan juniper 33 failed bruno birch 6 paused chen delta
fable closed harbor failed harbor failed ember failed grove pending juniper active birch failed delta paused
114 paused eli ember 59 ready bruno delta 79 active ivan birch 48 active chen birch 82 pending dina birch 90 active farah indigo 11 pending ivan birch
ember paused delta ready birch active birch active birch pending indigo active birch pending
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003315
qwen/qwen3.7-plus
awkweave-0003316
Print the last field of every input line.
{print $NF}
115 harbor closed dina failed farah gus 47 harbor active chen ready lina alice 110 indigo paused kim ready lina chen 14 juniper failed lina paused jules gus 18 ember active farah failed ivan eli 94 harbor active kim active ivan gus 24 ember paused farah active chen bruno 109 delta failed ivan paused hana chen 117 ember...
gus alice chen gus eli gus bruno chen chen
63 amber closed gus failed lina ivan 120 fable pending hana pending alice bruno 108 delta closed chen active kim ivan 58 harbor ready gus pending bruno ivan 91 birch paused farah pending ivan eli 33 delta failed alice failed chen hana 45 cobalt failed jules failed eli gus
ivan bruno ivan ivan eli hana gus
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003316-p1
Print the final field from every line of the input.
{print $NF}
115 harbor closed dina failed farah gus 47 harbor active chen ready lina alice 110 indigo paused kim ready lina chen 14 juniper failed lina paused jules gus 18 ember active farah failed ivan eli 94 harbor active kim active ivan gus 24 ember paused farah active chen bruno 109 delta failed ivan paused hana chen 117 ember...
gus alice chen gus eli gus bruno chen chen
63 amber closed gus failed lina ivan 120 fable pending hana pending alice bruno 108 delta closed chen active kim ivan 58 harbor ready gus pending bruno ivan 91 birch paused farah pending ivan eli 33 delta failed alice failed chen hana 45 cobalt failed jules failed eli gus
ivan bruno ivan ivan eli hana gus
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003316
qwen/qwen3.7-plus
awkweave-0003317
Print the complete records where column 1 is greater than 50.
$1 > 50
3 birch bruno active 8 cobalt hana failed 105 grove alice closed 32 delta ivan ready 20 indigo alice failed 98 birch alice pending
105 grove alice closed 98 birch alice pending
61 delta eli paused 50 indigo hana ready 97 ember bruno pending 28 grove gus closed 79 delta alice failed 100 delta jules active 18 grove dina closed 37 grove dina active 38 grove farah pending 116 fable kim ready
61 delta eli paused 97 ember bruno pending 79 delta alice failed 100 delta jules active 116 fable kim ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003317-p1
Output the full records for which the value in the first column is greater than 50.
$1 > 50
3 birch bruno active 8 cobalt hana failed 105 grove alice closed 32 delta ivan ready 20 indigo alice failed 98 birch alice pending
105 grove alice closed 98 birch alice pending
61 delta eli paused 50 indigo hana ready 97 ember bruno pending 28 grove gus closed 79 delta alice failed 100 delta jules active 18 grove dina closed 37 grove dina active 38 grove farah pending 116 fable kim ready
61 delta eli paused 97 ember bruno pending 79 delta alice failed 100 delta jules active 116 fable kim ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003317
qwen/qwen3.7-plus
awkweave-0003318
Show whole lines whose 3rd field is between 5 and 23, inclusive.
$3 >= 5 && $3 <= 23
bruno ivan 2 fable gus ivan 13 juniper lina chen 10 amber chen jules 27 fable hana alice 24 amber alice dina 3 fable bruno gus 22 amber chen gus 6 grove kim lina 21 cobalt
gus ivan 13 juniper lina chen 10 amber bruno gus 22 amber chen gus 6 grove kim lina 21 cobalt
kim dina 1 grove eli bruno 12 grove alice chen 16 birch bruno chen 10 harbor farah farah 8 delta bruno kim 29 cobalt
eli bruno 12 grove alice chen 16 birch bruno chen 10 harbor farah farah 8 delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003318-p1
Display entire lines where the third field falls within the inclusive range of 5 to 23.
$3 >= 5 && $3 <= 23
bruno ivan 2 fable gus ivan 13 juniper lina chen 10 amber chen jules 27 fable hana alice 24 amber alice dina 3 fable bruno gus 22 amber chen gus 6 grove kim lina 21 cobalt
gus ivan 13 juniper lina chen 10 amber bruno gus 22 amber chen gus 6 grove kim lina 21 cobalt
kim dina 1 grove eli bruno 12 grove alice chen 16 birch bruno chen 10 harbor farah farah 8 delta bruno kim 29 cobalt
eli bruno 12 grove alice chen 16 birch bruno chen 10 harbor farah farah 8 delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003318
qwen/qwen3.7-plus
awkweave-0003319
Print column 4 only for rows where column 3 is exactly active.
$3 == "active"{print $4}
cobalt 118 paused alice amber 74 ready chen grove 40 ready hana birch 43 ready jules delta 98 paused farah grove 71 paused chen fable 16 active gus birch 32 closed dina
gus
indigo 51 paused farah fable 62 paused eli harbor 92 failed jules juniper 78 active bruno juniper 83 pending jules cobalt 16 ready alice cobalt 98 active farah ember 79 ready dina
bruno farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003319-p1
Output only the fourth column for rows where the third column is strictly equal to active.
$3 == "active"{print $4}
cobalt 118 paused alice amber 74 ready chen grove 40 ready hana birch 43 ready jules delta 98 paused farah grove 71 paused chen fable 16 active gus birch 32 closed dina
gus
indigo 51 paused farah fable 62 paused eli harbor 92 failed jules juniper 78 active bruno juniper 83 pending jules cobalt 16 ready alice cobalt 98 active farah ember 79 ready dina
bruno farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003319
qwen/qwen3.7-plus
awkweave-0003320
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
juniper DEBUG 117 amber INFO 12 juniper INFO 19 harbor ERROR 49 fable DEBUG 108 ember WARN 65 indigo ERROR 1
amber INFO 12 juniper INFO 19
juniper ERROR 103 juniper DEBUG 82 birch INFO 45 fable INFO 24 amber ERROR 76 ember DEBUG 7 juniper INFO 66 grove DEBUG 83
birch INFO 45 fable INFO 24 juniper INFO 66
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003320-p1
Print all fields from lines where the second field starts with the prefix INFO.
$2 ~ /^INFO/
juniper DEBUG 117 amber INFO 12 juniper INFO 19 harbor ERROR 49 fable DEBUG 108 ember WARN 65 indigo ERROR 1
amber INFO 12 juniper INFO 19
juniper ERROR 103 juniper DEBUG 82 birch INFO 45 fable INFO 24 amber ERROR 76 ember DEBUG 7 juniper INFO 66 grove DEBUG 83
birch INFO 45 fable INFO 24 juniper INFO 66
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003320
qwen/qwen3.7-plus
awkweave-0003321
Print every line except those containing the exact text amber.
$0 !~ /amber/
juniper 60 active fable 38 paused juniper 19 failed amber 64 active indigo 39 active ember 44 active delta 65 pending delta 28 paused fable 106 pending amber 999 active
juniper 60 active fable 38 paused juniper 19 failed indigo 39 active ember 44 active delta 65 pending delta 28 paused fable 106 pending
ember 74 ready birch 89 ready cobalt 71 ready indigo 94 closed harbor 0 failed ember 4 closed birch 32 ready birch 45 paused amber 999 active
ember 74 ready birch 89 ready cobalt 71 ready indigo 94 closed harbor 0 failed ember 4 closed birch 32 ready birch 45 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003321-p1
Output every line that does not contain the exact string amber.
$0 !~ /amber/
juniper 60 active fable 38 paused juniper 19 failed amber 64 active indigo 39 active ember 44 active delta 65 pending delta 28 paused fable 106 pending amber 999 active
juniper 60 active fable 38 paused juniper 19 failed indigo 39 active ember 44 active delta 65 pending delta 28 paused fable 106 pending
ember 74 ready birch 89 ready cobalt 71 ready indigo 94 closed harbor 0 failed ember 4 closed birch 32 ready birch 45 paused amber 999 active
ember 74 ready birch 89 ready cobalt 71 ready indigo 94 closed harbor 0 failed ember 4 closed birch 32 ready birch 45 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003321
qwen/qwen3.7-plus
awkweave-0003322
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
kim juniper 1 gus harbor 61 jules indigo 26 bruno harbor 56 jules cobalt 111 chen delta 5 alice cobalt 25 gus cobalt 30
jules indigo 26 bruno harbor 56 jules cobalt 111
kim ember 53 hana fable 105 dina juniper 16 jules harbor 71 kim amber 47 jules juniper 114 bruno juniper 54
dina juniper 16 jules harbor 71 kim amber 47
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003322-p1
Display lines 3 through 5, inclusive of both the start and end lines.
NR >= 3 && NR <= 5
kim juniper 1 gus harbor 61 jules indigo 26 bruno harbor 56 jules cobalt 111 chen delta 5 alice cobalt 25 gus cobalt 30
jules indigo 26 bruno harbor 56 jules cobalt 111
kim ember 53 hana fable 105 dina juniper 16 jules harbor 71 kim amber 47 jules juniper 114 bruno juniper 54
dina juniper 16 jules harbor 71 kim amber 47
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003322
qwen/qwen3.7-plus
awkweave-0003323
Output only the first 3 records.
NR <= 3
lina 97 delta dina 119 grove gus 61 cobalt bruno 28 ember jules 39 indigo kim 91 ember alice 23 fable chen 31 juniper
lina 97 delta dina 119 grove gus 61 cobalt
ivan 16 delta chen 11 fable ivan 20 delta eli 110 delta gus 0 birch gus 58 indigo eli 78 fable dina 105 harbor farah 13 ember hana 102 harbor
ivan 16 delta chen 11 fable ivan 20 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003323-p1
Output only the first 3 records from the input.
NR <= 3
lina 97 delta dina 119 grove gus 61 cobalt bruno 28 ember jules 39 indigo kim 91 ember alice 23 fable chen 31 juniper
lina 97 delta dina 119 grove gus 61 cobalt
ivan 16 delta chen 11 fable ivan 20 delta eli 110 delta gus 0 birch gus 58 indigo eli 78 fable dina 105 harbor farah 13 ember hana 102 harbor
ivan 16 delta chen 11 fable ivan 20 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003323
qwen/qwen3.7-plus
awkweave-0003324
Skip the first line and print every remaining line unchanged.
NR > 1
dina 19 grove eli 16 amber gus 31 harbor gus 10 amber lina 92 juniper gus 61 fable chen 113 fable jules 96 birch
eli 16 amber gus 31 harbor gus 10 amber lina 92 juniper gus 61 fable chen 113 fable jules 96 birch
eli 109 amber ivan 12 cobalt eli 113 fable alice 72 fable ivan 117 indigo dina 103 harbor alice 79 juniper hana 91 cobalt eli 46 birch
ivan 12 cobalt eli 113 fable alice 72 fable ivan 117 indigo dina 103 harbor alice 79 juniper hana 91 cobalt eli 46 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003324-p1
Omit the first line and print all subsequent lines exactly as they appear.
NR > 1
dina 19 grove eli 16 amber gus 31 harbor gus 10 amber lina 92 juniper gus 61 fable chen 113 fable jules 96 birch
eli 16 amber gus 31 harbor gus 10 amber lina 92 juniper gus 61 fable chen 113 fable jules 96 birch
eli 109 amber ivan 12 cobalt eli 113 fable alice 72 fable ivan 117 indigo dina 103 harbor alice 79 juniper hana 91 cobalt eli 46 birch
ivan 12 cobalt eli 113 fable alice 72 fable ivan 117 indigo dina 103 harbor alice 79 juniper hana 91 cobalt eli 46 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003324
qwen/qwen3.7-plus
awkweave-0003325
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
kim pending 112 lina closed 117 farah pending 55 kim pending 46 ivan failed 17 lina ready 87 jules ready 112
0
kim ready 45 hana pending 24 hana paused 36 chen active 99 farah closed 114 hana ready 58 eli active 68 kim paused 104
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003325-p1
Count the number of records where column 2 contains paused; output 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
kim pending 112 lina closed 117 farah pending 55 kim pending 46 ivan failed 17 lina ready 87 jules ready 112
0
kim ready 45 hana pending 24 hana paused 36 chen active 99 farah closed 114 hana ready 58 eli active 68 kim paused 104
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003325
qwen/qwen3.7-plus
awkweave-0003326
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
ivan delta 21 gus juniper 27 alice cobalt 30 chen cobalt 28 dina birch 17 hana delta 1 farah grove 27 ivan birch 3
154
bruno cobalt 28 jules delta 22 dina amber 15 gus delta 7 kim delta 9 lina fable 11 farah indigo 11 ivan ember 21 eli indigo 15
139
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003326-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
ivan delta 21 gus juniper 27 alice cobalt 30 chen cobalt 28 dina birch 17 hana delta 1 farah grove 27 ivan birch 3
154
bruno cobalt 28 jules delta 22 dina amber 15 gus delta 7 kim delta 9 lina fable 11 farah indigo 11 ivan ember 21 eli indigo 15
139
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003326
qwen/qwen3.7-plus
awkweave-0003327
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
hana 14 cobalt bruno 10 indigo gus 14 juniper alice 19 cobalt ivan 28 grove dina 16 fable chen 3 juniper
14.86
chen 13 harbor alice 29 juniper kim 27 cobalt eli 28 harbor bruno 27 fable chen 27 delta
25.17
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003327-p1
Calculate the arithmetic mean of column 2 and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
hana 14 cobalt bruno 10 indigo gus 14 juniper alice 19 cobalt ivan 28 grove dina 16 fable chen 3 juniper
14.86
chen 13 harbor alice 29 juniper kim 27 cobalt eli 28 harbor bruno 27 fable chen 27 delta
25.17
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003327
qwen/qwen3.7-plus
awkweave-0003328
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 hana birch 27 farah juniper 4 lina harbor 24 eli juniper 10 jules delta 1 farah grove 21 alice delta
1
7 gus juniper 5 alice ember 8 farah delta 30 chen birch 4 dina grove 9 kim cobalt 6 jules delta 6 alice birch 12 ivan birch
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003328-p1
Identify and print the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 hana birch 27 farah juniper 4 lina harbor 24 eli juniper 10 jules delta 1 farah grove 21 alice delta
1
7 gus juniper 5 alice ember 8 farah delta 30 chen birch 4 dina grove 9 kim cobalt 6 jules delta 6 alice birch 12 ivan birch
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003328
qwen/qwen3.7-plus
awkweave-0003329
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 11 indigo ivan 2 birch kim 23 delta bruno 27 harbor alice 16 ember ivan 18 delta hana 15 ember farah 17 cobalt
27
chen 10 indigo gus 23 birch kim 1 birch eli 24 delta dina 3 fable jules 8 delta bruno 12 indigo hana 2 birch
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0003329-p1
Identify and print the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
kim 11 indigo ivan 2 birch kim 23 delta bruno 27 harbor alice 16 ember ivan 18 delta hana 15 ember farah 17 cobalt
27
chen 10 indigo gus 23 birch kim 1 birch eli 24 delta dina 3 fable jules 8 delta bruno 12 indigo hana 2 birch
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0003329
qwen/qwen3.7-plus
awkweave-0003330
Count all input records and print the total.
END{print NR}
gus 92 dina 109 ivan 27 jules 34 gus 84 farah 44 bruno 71
7
hana 8 farah 8 ivan 48 kim 17 bruno 26 ivan 67 kim 20 jules 40
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null