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-0037551-p1
Remove leading and trailing whitespace and reduce internal whitespace sequences to single spaces.
{$1=$1;print}
kim juniper 3 alice birch 1 kim delta 102 chen cobalt 95 ivan harbor 72 kim amber 77 bruno harbor 31
kim juniper 3 alice birch 1 kim delta 102 chen cobalt 95 ivan harbor 72 kim amber 77 bruno harbor 31
bruno fable 12 dina fable 55 hana amber 36 hana fable 14 alice birch 101 farah cobalt 16
bruno fable 12 dina fable 55 hana amber 36 hana fable 14 alice birch 101 farah cobalt 16
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037551
qwen/qwen3.7-plus
awkweave-0037552
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 35 closed bruno amber 117 active farah ember 49 closed chen harbor 103 closed ivan fable 88 failed alice amber 99 ready farah indigo 17 failed
bruno amber 117 active
lina harbor 73 ready ivan birch 27 closed kim delta 2 active farah grove 73 pending ivan harbor 0 failed kim harbor 88 paused gus grove 65 active chen ember 55 ready bruno delta 85 paused kim juniper 116 failed
farah grove 73 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037552-p1
Identify and print the longest line from the input; if there is a tie, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
bruno grove 35 closed bruno amber 117 active farah ember 49 closed chen harbor 103 closed ivan fable 88 failed alice amber 99 ready farah indigo 17 failed
bruno amber 117 active
lina harbor 73 ready ivan birch 27 closed kim delta 2 active farah grove 73 pending ivan harbor 0 failed kim harbor 88 paused gus grove 65 active chen ember 55 ready bruno delta 85 paused kim juniper 116 failed
farah grove 73 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037552
qwen/qwen3.7-plus
awkweave-0037553
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
bruno 34 ivan 4 ivan 103 ivan 68 kim 45 bruno 56 lina 99 chen 112
ivan 103 lina 99
chen 101 lina 27 gus 25 ivan 80 dina 39 alice 35 chen 107 hana 91 kim 10 chen 105
gus 25 chen 107
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037553-p1
Print every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
bruno 34 ivan 4 ivan 103 ivan 68 kim 45 bruno 56 lina 99 chen 112
ivan 103 lina 99
chen 101 lina 27 gus 25 ivan 80 dina 39 alice 35 chen 107 hana 91 kim 10 chen 105
gus 25 chen 107
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037553
qwen/qwen3.7-plus
awkweave-0037554
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta delta 110 gamma indigo 94 gamma grove 113 beta harbor 53 alpha fable 61 beta indigo 65 gamma ember 104 gamma delta 63
3
delta amber 0 gamma cobalt 2 gamma fable 13 gamma fable 117 alpha delta 83 delta delta 103 beta birch 4 gamma fable 5 beta fable 51 delta cobalt 94
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037554-p1
Output the total number of unique entries found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
beta delta 110 gamma indigo 94 gamma grove 113 beta harbor 53 alpha fable 61 beta indigo 65 gamma ember 104 gamma delta 63
3
delta amber 0 gamma cobalt 2 gamma fable 13 gamma fable 117 alpha delta 83 delta delta 103 beta birch 4 gamma fable 5 beta fable 51 delta cobalt 94
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037554
qwen/qwen3.7-plus
awkweave-0037555
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}
kim 13 0 farah 19 12 farah 21 29 chen 13 29 lina 10 15 jules 17 20 hana 24 19 farah 16 2 chen 20 9 eli 4 18
farah 1.58 farah 0.72 chen 0.45 lina 0.67 jules 0.85 hana 1.26 farah 8.00 chen 2.22 eli 0.22
lina 5 0 dina 7 1 kim 1 30 eli 12 18 ivan 20 25 kim 28 5
dina 7.00 kim 0.03 eli 0.67 ivan 0.80 kim 5.60
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037555-p1
For every row where the third column is not zero, display the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 13 0 farah 19 12 farah 21 29 chen 13 29 lina 10 15 jules 17 20 hana 24 19 farah 16 2 chen 20 9 eli 4 18
farah 1.58 farah 0.72 chen 0.45 lina 0.67 jules 0.85 hana 1.26 farah 8.00 chen 2.22 eli 0.22
lina 5 0 dina 7 1 kim 1 30 eli 12 18 ivan 20 25 kim 28 5
dina 7.00 kim 0.03 eli 0.67 ivan 0.80 kim 5.60
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037555
qwen/qwen3.7-plus
awkweave-0037556
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]}
hana birch 24 alice harbor 30 alice amber 4 hana grove 21 alice cobalt 8 kim birch 19 bruno delta 6 jules delta 13 ivan ember 10 kim juniper 29
alice harbor 30 kim juniper 29 hana birch 24
dina fable 8 alice grove 29 hana indigo 7 chen juniper 2 gus indigo 25 eli grove 17 eli juniper 7 ivan fable 27 alice amber 23
alice grove 29 ivan fable 27 gus indigo 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037556-p1
Retrieve the top three records with the largest numeric values in column 3, sorted in descending order; maintain the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana birch 24 alice harbor 30 alice amber 4 hana grove 21 alice cobalt 8 kim birch 19 bruno delta 6 jules delta 13 ivan ember 10 kim juniper 29
alice harbor 30 kim juniper 29 hana birch 24
dina fable 8 alice grove 29 hana indigo 7 chen juniper 2 gus indigo 25 eli grove 17 eli juniper 7 ivan fable 27 alice amber 23
alice grove 29 ivan fable 27 gus indigo 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037556
qwen/qwen3.7-plus
awkweave-0037557
Select the 6th and 2nd fields in that order.
{print $6, $2}
bruno failed ready ivan eli hana alice closed closed farah chen ivan farah paused active lina alice jules farah failed pending kim chen kim dina failed ready eli dina alice alice pending ready kim jules chen
hana failed ivan closed jules paused kim failed alice failed chen pending
lina ready pending bruno chen eli chen pending pending eli hana bruno jules closed pending ivan ivan kim farah paused failed lina alice jules jules ready paused eli dina gus farah pending pending chen chen lina bruno paused paused ivan ivan ivan
eli ready bruno pending kim closed jules paused gus ready lina pending ivan paused
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037557-p1
Extract the sixth field followed by the second field.
{print $6, $2}
bruno failed ready ivan eli hana alice closed closed farah chen ivan farah paused active lina alice jules farah failed pending kim chen kim dina failed ready eli dina alice alice pending ready kim jules chen
hana failed ivan closed jules paused kim failed alice failed chen pending
lina ready pending bruno chen eli chen pending pending eli hana bruno jules closed pending ivan ivan kim farah paused failed lina alice jules jules ready paused eli dina gus farah pending pending chen chen lina bruno paused paused ivan ivan ivan
eli ready bruno pending kim closed jules paused gus ready lina pending ivan paused
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037557
qwen/qwen3.7-plus
awkweave-0037558
Print the last field of every input line.
{print $NF}
paused hana farah 115 27 75 failed ready dina gus 15 35 74 closed active jules bruno 21 23 80 paused closed lina gus 88 9 71 pending active farah eli 48 117 10 paused closed farah kim 68 69 83 paused paused hana bruno 21 78 105 pending ready dina alice 90 38 16 paused paused eli ivan 118 4 79 failed paused bruno alice ...
failed closed paused pending paused paused pending paused failed pending
closed alice bruno 118 24 43 active failed bruno farah 82 38 20 ready active lina jules 14 28 99 pending pending lina dina 86 30 19 pending active farah eli 100 102 47 closed paused farah ivan 52 13 64 active closed bruno ivan 38 90 6 failed ready kim ivan 54 110 48 failed closed jules kim 29 68 15 failed
active ready pending pending closed active failed failed failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037558-p1
Display the final field from each line of input.
{print $NF}
paused hana farah 115 27 75 failed ready dina gus 15 35 74 closed active jules bruno 21 23 80 paused closed lina gus 88 9 71 pending active farah eli 48 117 10 paused closed farah kim 68 69 83 paused paused hana bruno 21 78 105 pending ready dina alice 90 38 16 paused paused eli ivan 118 4 79 failed paused bruno alice ...
failed closed paused pending paused paused pending paused failed pending
closed alice bruno 118 24 43 active failed bruno farah 82 38 20 ready active lina jules 14 28 99 pending pending lina dina 86 30 19 pending active farah eli 100 102 47 closed paused farah ivan 52 13 64 active closed bruno ivan 38 90 6 failed ready kim ivan 54 110 48 failed closed jules kim 29 68 15 failed
active ready pending pending closed active failed failed failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037558
qwen/qwen3.7-plus
awkweave-0037559
Print the complete records where column 1 is at most 26.
$1 <= 26
10 gus pending active 48 eli paused failed 55 eli pending active 76 ivan pending failed 61 alice ready pending 98 ivan failed closed 9 chen active closed 79 dina pending failed 53 alice active pending 8 gus closed failed
10 gus pending active 9 chen active closed 8 gus closed failed
32 dina pending closed 27 hana pending ready 89 jules paused closed 80 jules ready active 74 ivan closed failed 80 chen closed active 101 jules ready paused 19 kim paused ready
19 kim paused ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037559-p1
Output full records where the value in the first column is less than or equal to 26.
$1 <= 26
10 gus pending active 48 eli paused failed 55 eli pending active 76 ivan pending failed 61 alice ready pending 98 ivan failed closed 9 chen active closed 79 dina pending failed 53 alice active pending 8 gus closed failed
10 gus pending active 9 chen active closed 8 gus closed failed
32 dina pending closed 27 hana pending ready 89 jules paused closed 80 jules ready active 74 ivan closed failed 80 chen closed active 101 jules ready paused 19 kim paused ready
19 kim paused ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037559
qwen/qwen3.7-plus
awkweave-0037560
Show whole lines whose 1st field is between 9 and 26, inclusive.
$1 >= 9 && $1 <= 26
12 amber indigo ready 17 grove amber pending 30 ember amber closed 25 ember fable closed 2 amber delta active 6 delta harbor failed 12 cobalt cobalt closed 10 fable grove pending
12 amber indigo ready 17 grove amber pending 25 ember fable closed 12 cobalt cobalt closed 10 fable grove pending
16 amber juniper failed 19 harbor cobalt paused 29 grove amber active 14 harbor juniper active 26 harbor indigo ready 22 ember amber active
16 amber juniper failed 19 harbor cobalt paused 14 harbor juniper active 26 harbor indigo ready 22 ember amber active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037560-p1
Print entire lines where the first field falls within the inclusive range of 9 to 26.
$1 >= 9 && $1 <= 26
12 amber indigo ready 17 grove amber pending 30 ember amber closed 25 ember fable closed 2 amber delta active 6 delta harbor failed 12 cobalt cobalt closed 10 fable grove pending
12 amber indigo ready 17 grove amber pending 25 ember fable closed 12 cobalt cobalt closed 10 fable grove pending
16 amber juniper failed 19 harbor cobalt paused 29 grove amber active 14 harbor juniper active 26 harbor indigo ready 22 ember amber active
16 amber juniper failed 19 harbor cobalt paused 14 harbor juniper active 26 harbor indigo ready 22 ember amber active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037560
qwen/qwen3.7-plus
awkweave-0037561
Print column 1 only for rows where column 4 is exactly ready.
$4 == "ready"{print $1}
gus 41 delta closed eli 37 fable paused hana 35 indigo active kim 112 grove paused ivan 17 grove pending ivan 113 amber ready farah 77 cobalt ready chen 68 cobalt ready dina 23 cobalt ready chen 64 ember ready
ivan farah chen dina chen
hana 46 amber closed lina 29 fable failed ivan 35 ember paused alice 25 harbor failed chen 85 harbor failed gus 42 juniper closed lina 94 fable ready
lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037561-p1
Output only the first column for rows where the fourth column matches the string 'ready' exactly.
$4 == "ready"{print $1}
gus 41 delta closed eli 37 fable paused hana 35 indigo active kim 112 grove paused ivan 17 grove pending ivan 113 amber ready farah 77 cobalt ready chen 68 cobalt ready dina 23 cobalt ready chen 64 ember ready
ivan farah chen dina chen
hana 46 amber closed lina 29 fable failed ivan 35 ember paused alice 25 harbor failed chen 85 harbor failed gus 42 juniper closed lina 94 fable ready
lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037561
qwen/qwen3.7-plus
awkweave-0037562
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
birch INFO 7 juniper WARN 89 cobalt INFO 55 indigo ERROR 41 indigo DEBUG 64 amber DEBUG 105 birch INFO 41 juniper INFO 95 fable WARN 90
birch INFO 7 cobalt INFO 55 birch INFO 41 juniper INFO 95
cobalt DEBUG 93 harbor DEBUG 81 ember ERROR 11 grove WARN 47 grove ERROR 35 grove DEBUG 10
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037562-p1
Print all fields from lines where the second field starts with the prefix 'INFO'.
$2 ~ /^INFO/
birch INFO 7 juniper WARN 89 cobalt INFO 55 indigo ERROR 41 indigo DEBUG 64 amber DEBUG 105 birch INFO 41 juniper INFO 95 fable WARN 90
birch INFO 7 cobalt INFO 55 birch INFO 41 juniper INFO 95
cobalt DEBUG 93 harbor DEBUG 81 ember ERROR 11 grove WARN 47 grove ERROR 35 grove DEBUG 10
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037562
qwen/qwen3.7-plus
awkweave-0037563
Print every line except those containing the exact text ember.
$0 !~ /ember/
cobalt 80 active amber 25 failed juniper 33 active harbor 67 failed fable 102 ready indigo 11 active ember 35 pending ember 58 paused fable 33 paused ember 999 active
cobalt 80 active amber 25 failed juniper 33 active harbor 67 failed fable 102 ready indigo 11 active fable 33 paused
grove 112 ready amber 96 ready cobalt 115 active amber 76 pending harbor 85 ready indigo 30 pending ember 79 active ember 999 active
grove 112 ready amber 96 ready cobalt 115 active amber 76 pending harbor 85 ready indigo 30 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037563-p1
Print every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
cobalt 80 active amber 25 failed juniper 33 active harbor 67 failed fable 102 ready indigo 11 active ember 35 pending ember 58 paused fable 33 paused ember 999 active
cobalt 80 active amber 25 failed juniper 33 active harbor 67 failed fable 102 ready indigo 11 active fable 33 paused
grove 112 ready amber 96 ready cobalt 115 active amber 76 pending harbor 85 ready indigo 30 pending ember 79 active ember 999 active
grove 112 ready amber 96 ready cobalt 115 active amber 76 pending harbor 85 ready indigo 30 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037563
qwen/qwen3.7-plus
awkweave-0037564
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
farah delta 36 kim fable 40 hana amber 99 ivan fable 29 lina fable 116 hana cobalt 45 chen delta 37 eli grove 45 jules birch 59
ivan fable 29 lina fable 116 hana cobalt 45 chen delta 37
dina fable 49 kim fable 105 jules grove 36 alice fable 97 bruno amber 30 dina ember 113 gus ember 70 farah amber 90 alice delta 18
alice fable 97 bruno amber 30 dina ember 113 gus ember 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037564-p1
Output lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
farah delta 36 kim fable 40 hana amber 99 ivan fable 29 lina fable 116 hana cobalt 45 chen delta 37 eli grove 45 jules birch 59
ivan fable 29 lina fable 116 hana cobalt 45 chen delta 37
dina fable 49 kim fable 105 jules grove 36 alice fable 97 bruno amber 30 dina ember 113 gus ember 70 farah amber 90 alice delta 18
alice fable 97 bruno amber 30 dina ember 113 gus ember 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037564
qwen/qwen3.7-plus
awkweave-0037565
Output only the first 4 records.
NR <= 4
chen 112 juniper ivan 63 cobalt jules 68 ember hana 6 indigo lina 104 amber kim 55 amber
chen 112 juniper ivan 63 cobalt jules 68 ember hana 6 indigo
jules 17 grove jules 36 delta kim 85 ember gus 6 harbor ivan 19 harbor kim 64 grove hana 33 cobalt lina 101 grove farah 35 ember chen 78 harbor
jules 17 grove jules 36 delta kim 85 ember gus 6 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037565-p1
Display only the first 4 records from the input.
NR <= 4
chen 112 juniper ivan 63 cobalt jules 68 ember hana 6 indigo lina 104 amber kim 55 amber
chen 112 juniper ivan 63 cobalt jules 68 ember hana 6 indigo
jules 17 grove jules 36 delta kim 85 ember gus 6 harbor ivan 19 harbor kim 64 grove hana 33 cobalt lina 101 grove farah 35 ember chen 78 harbor
jules 17 grove jules 36 delta kim 85 ember gus 6 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037565
qwen/qwen3.7-plus
awkweave-0037566
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 49 harbor gus 89 cobalt dina 54 amber hana 120 delta kim 112 amber jules 45 ember kim 42 cobalt chen 55 harbor farah 12 delta
gus 89 cobalt dina 54 amber hana 120 delta kim 112 amber jules 45 ember kim 42 cobalt chen 55 harbor farah 12 delta
farah 0 delta chen 15 harbor alice 92 harbor bruno 70 birch farah 61 harbor farah 70 indigo ivan 9 harbor gus 90 fable chen 24 fable
chen 15 harbor alice 92 harbor bruno 70 birch farah 61 harbor farah 70 indigo ivan 9 harbor gus 90 fable chen 24 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037566-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
ivan 49 harbor gus 89 cobalt dina 54 amber hana 120 delta kim 112 amber jules 45 ember kim 42 cobalt chen 55 harbor farah 12 delta
gus 89 cobalt dina 54 amber hana 120 delta kim 112 amber jules 45 ember kim 42 cobalt chen 55 harbor farah 12 delta
farah 0 delta chen 15 harbor alice 92 harbor bruno 70 birch farah 61 harbor farah 70 indigo ivan 9 harbor gus 90 fable chen 24 fable
chen 15 harbor alice 92 harbor bruno 70 birch farah 61 harbor farah 70 indigo ivan 9 harbor gus 90 fable chen 24 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037566
qwen/qwen3.7-plus
awkweave-0037567
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
jules failed 68 kim ready 25 lina active 65 farah closed 44 dina ready 107 gus failed 98 gus failed 52
1
alice failed 63 lina failed 68 chen pending 71 eli closed 69 bruno pending 62 ivan pending 83 dina closed 112 dina active 56
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037567-p1
Determine the number of entries where column 2 is 'closed' and display 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
jules failed 68 kim ready 25 lina active 65 farah closed 44 dina ready 107 gus failed 98 gus failed 52
1
alice failed 63 lina failed 68 chen pending 71 eli closed 69 bruno pending 62 ivan pending 83 dina closed 112 dina active 56
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037567
qwen/qwen3.7-plus
awkweave-0037568
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
6 ember jules 19 delta ivan 9 fable gus 14 cobalt farah 14 fable hana 26 grove dina 8 fable eli 8 fable gus 11 harbor lina
115
30 juniper chen 10 juniper alice 4 delta chen 2 fable lina 10 juniper lina 4 ember eli 11 fable bruno 21 ember lina 9 ember gus 8 ember ivan
109
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037568-p1
Compute and output the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
6 ember jules 19 delta ivan 9 fable gus 14 cobalt farah 14 fable hana 26 grove dina 8 fable eli 8 fable gus 11 harbor lina
115
30 juniper chen 10 juniper alice 4 delta chen 2 fable lina 10 juniper lina 4 ember eli 11 fable bruno 21 ember lina 9 ember gus 8 ember ivan
109
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037568
qwen/qwen3.7-plus
awkweave-0037569
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt alice 12 birch bruno 23 ember gus 30 juniper hana 21 cobalt eli 2 cobalt dina 17 delta lina 8 harbor alice 12 birch eli 13
15.33
indigo hana 20 juniper chen 10 ember farah 17 cobalt jules 29 fable farah 25 indigo gus 23 cobalt lina 14 cobalt lina 5 delta hana 10 birch eli 16
16.90
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037569-p1
Output the average of column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt alice 12 birch bruno 23 ember gus 30 juniper hana 21 cobalt eli 2 cobalt dina 17 delta lina 8 harbor alice 12 birch eli 13
15.33
indigo hana 20 juniper chen 10 ember farah 17 cobalt jules 29 fable farah 25 indigo gus 23 cobalt lina 14 cobalt lina 5 delta hana 10 birch eli 16
16.90
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037569
qwen/qwen3.7-plus
awkweave-0037570
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 1 ember kim 29 grove bruno 27 delta hana 5 cobalt eli 30 birch gus 5 amber
1
lina 28 cobalt alice 4 delta chen 22 ember dina 9 juniper kim 27 birch jules 8 indigo lina 17 cobalt kim 3 grove jules 18 birch
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037570-p1
Identify and display the minimum numeric value present in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
lina 1 ember kim 29 grove bruno 27 delta hana 5 cobalt eli 30 birch gus 5 amber
1
lina 28 cobalt alice 4 delta chen 22 ember dina 9 juniper kim 27 birch jules 8 indigo lina 17 cobalt kim 3 grove jules 18 birch
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037570
qwen/qwen3.7-plus
awkweave-0037571
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
23 birch jules 27 fable kim 3 cobalt lina 21 cobalt farah 11 birch alice 27 indigo ivan 4 delta jules 22 juniper jules
27
21 amber jules 15 grove kim 14 indigo dina 27 indigo lina 19 grove eli 3 grove hana 20 juniper dina 28 birch ivan
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037571-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
23 birch jules 27 fable kim 3 cobalt lina 21 cobalt farah 11 birch alice 27 indigo ivan 4 delta jules 22 juniper jules
27
21 amber jules 15 grove kim 14 indigo dina 27 indigo lina 19 grove eli 3 grove hana 20 juniper dina 28 birch ivan
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037571
qwen/qwen3.7-plus
awkweave-0037572
Count all input records and print the total.
END{print NR}
hana 92 dina 40 jules 68 dina 113 ivan 17 lina 97
6
gus 73 hana 107 hana 26 jules 2 bruno 105 ivan 86 farah 118 eli 78 chen 80 chen 120
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037572-p1
Count the total number of input records and print the result.
END{print NR}
hana 92 dina 40 jules 68 dina 113 ivan 17 lina 97
6
gus 73 hana 107 hana 26 jules 2 bruno 105 ivan 86 farah 118 eli 78 chen 80 chen 120
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037572
qwen/qwen3.7-plus
awkweave-0037573
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana grove 113 ivan grove 28 eli juniper 57 eli amber 21 bruno cobalt 91 ivan grove 28 chen indigo 70
hana grove 113 ivan grove 28 eli juniper 57 eli amber 21 bruno cobalt 91 chen indigo 70
lina juniper 6 dina grove 93 kim juniper 50 ivan harbor 119 farah delta 79 dina ember 104 gus grove 31 lina juniper 6
lina juniper 6 dina grove 93 kim juniper 50 ivan harbor 119 farah delta 79 dina ember 104 gus grove 31
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037573-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
hana grove 113 ivan grove 28 eli juniper 57 eli amber 21 bruno cobalt 91 ivan grove 28 chen indigo 70
hana grove 113 ivan grove 28 eli juniper 57 eli amber 21 bruno cobalt 91 chen indigo 70
lina juniper 6 dina grove 93 kim juniper 50 ivan harbor 119 farah delta 79 dina ember 104 gus grove 31 lina juniper 6
lina juniper 6 dina grove 93 kim juniper 50 ivan harbor 119 farah delta 79 dina ember 104 gus grove 31
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037573
qwen/qwen3.7-plus
awkweave-0037574
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
bruno harbor 54 lina cobalt 9 kim delta 78 hana harbor 120 bruno amber 62 kim birch 107 chen birch 67 farah ember 77 eli cobalt 62
bruno harbor 54 lina cobalt 9 kim delta 78 bruno amber 62 kim birch 107 farah ember 77
bruno delta 70 kim harbor 74 gus cobalt 86 eli amber 54 hana fable 52 alice ember 61 ivan ember 110
bruno delta 70 kim harbor 74 gus cobalt 86 eli amber 54 hana fable 52 alice ember 61
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037574-p1
Retain only the first occurrence for every unique value in column 2, preserving the original sequence.
!seen[$2]++
bruno harbor 54 lina cobalt 9 kim delta 78 hana harbor 120 bruno amber 62 kim birch 107 chen birch 67 farah ember 77 eli cobalt 62
bruno harbor 54 lina cobalt 9 kim delta 78 bruno amber 62 kim birch 107 farah ember 77
bruno delta 70 kim harbor 74 gus cobalt 86 eli amber 54 hana fable 52 alice ember 61 ivan ember 110
bruno delta 70 kim harbor 74 gus cobalt 86 eli amber 54 hana fable 52 alice ember 61
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037574
qwen/qwen3.7-plus
awkweave-0037575
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 4 amber jules 9 cobalt eli 24 delta gus 4 cobalt lina 26 grove kim 22 juniper jules 12 amber bruno 30 grove farah 26 birch lina 11 grove
dina 4 jules 13 eli 37 gus 41 lina 67 kim 89 jules 101 bruno 131 farah 157 lina 168
lina 11 fable ivan 23 fable eli 12 amber gus 6 amber ivan 24 juniper ivan 5 cobalt kim 5 delta kim 10 harbor dina 23 harbor hana 18 delta
lina 11 ivan 34 eli 46 gus 52 ivan 76 ivan 81 kim 86 kim 96 dina 119 hana 137
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037575-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
dina 4 amber jules 9 cobalt eli 24 delta gus 4 cobalt lina 26 grove kim 22 juniper jules 12 amber bruno 30 grove farah 26 birch lina 11 grove
dina 4 jules 13 eli 37 gus 41 lina 67 kim 89 jules 101 bruno 131 farah 157 lina 168
lina 11 fable ivan 23 fable eli 12 amber gus 6 amber ivan 24 juniper ivan 5 cobalt kim 5 delta kim 10 harbor dina 23 harbor hana 18 delta
lina 11 ivan 34 eli 46 gus 52 ivan 76 ivan 81 kim 86 kim 96 dina 119 hana 137
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037575
qwen/qwen3.7-plus
awkweave-0037576
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 5 22 amber jules 10 19 harbor farah 24 16 harbor kim 10 25 juniper ivan 21 1 juniper ivan 17 7 birch farah 10 23 fable
hana 27 jules 29 farah 40 kim 35 ivan 22 ivan 24 farah 33
farah 15 25 amber hana 5 1 juniper lina 22 21 fable lina 13 3 birch kim 20 30 grove alice 26 18 cobalt lina 21 24 fable hana 15 28 grove
farah 40 hana 6 lina 43 lina 16 kim 50 alice 44 lina 45 hana 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037576-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 5 22 amber jules 10 19 harbor farah 24 16 harbor kim 10 25 juniper ivan 21 1 juniper ivan 17 7 birch farah 10 23 fable
hana 27 jules 29 farah 40 kim 35 ivan 22 ivan 24 farah 33
farah 15 25 amber hana 5 1 juniper lina 22 21 fable lina 13 3 birch kim 20 30 grove alice 26 18 cobalt lina 21 24 fable hana 15 28 grove
farah 40 hana 6 lina 43 lina 16 kim 50 alice 44 lina 45 hana 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037576
qwen/qwen3.7-plus
awkweave-0037577
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 15 lina 10 gus 13 kim 11 farah 8 ivan 2 kim 13 alice 12 dina 20 bruno 28
dina fail lina fail gus fail kim fail farah fail ivan fail kim fail alice fail dina pass bruno pass
gus 11 jules 12 kim 16 eli 17 gus 13 alice 21 chen 14 kim 28 hana 8 bruno 22
gus fail jules fail kim fail eli fail gus fail alice pass chen fail kim pass hana fail bruno pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037577-p1
Output column 1 and print 'pass' if column 2 is greater than or equal to 20; otherwise, print 'fail'.
{print $1,($2>=20?"pass":"fail")}
dina 15 lina 10 gus 13 kim 11 farah 8 ivan 2 kim 13 alice 12 dina 20 bruno 28
dina fail lina fail gus fail kim fail farah fail ivan fail kim fail alice fail dina pass bruno pass
gus 11 jules 12 kim 16 eli 17 gus 13 alice 21 chen 14 kim 28 hana 8 bruno 22
gus fail jules fail kim fail eli fail gus fail alice pass chen fail kim pass hana fail bruno pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037577
qwen/qwen3.7-plus
awkweave-0037578
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
ivan juniper 96 chen indigo 35 lina birch 57 ivan indigo 98 jules juniper 11 ivan cobalt 49 bruno birch 37
JUNIPER INDIGO BIRCH INDIGO JUNIPER COBALT BIRCH
ivan juniper 71 lina ember 40 lina fable 103 hana harbor 61 ivan cobalt 3 eli grove 119 lina ember 38 chen ember 58 lina cobalt 42
JUNIPER EMBER FABLE HARBOR COBALT GROVE EMBER EMBER COBALT
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037578-p1
Transform the second column to uppercase and output only that column.
{print toupper($2)}
ivan juniper 96 chen indigo 35 lina birch 57 ivan indigo 98 jules juniper 11 ivan cobalt 49 bruno birch 37
JUNIPER INDIGO BIRCH INDIGO JUNIPER COBALT BIRCH
ivan juniper 71 lina ember 40 lina fable 103 hana harbor 61 ivan cobalt 3 eli grove 119 lina ember 38 chen ember 58 lina cobalt 42
JUNIPER EMBER FABLE HARBOR COBALT GROVE EMBER EMBER COBALT
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037578
qwen/qwen3.7-plus
awkweave-0037579
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
amber 82 ember 101 ember 48 delta 33 birch 68 indigo 41 juniper 98 juniper 4 fable 65 indigo 70
mbe mbe mbe elt irc ndi uni uni abl ndi
birch 53 ember 6 indigo 92 ember 72 amber 113 birch 117
irc mbe ndi mbe mbe irc
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037579-p1
Extract and print a 3-character substring from column 1, starting at position 2.
{print substr($1,2,3)}
amber 82 ember 101 ember 48 delta 33 birch 68 indigo 41 juniper 98 juniper 4 fable 65 indigo 70
mbe mbe mbe elt irc ndi uni uni abl ndi
birch 53 ember 6 indigo 92 ember 72 amber 113 birch 117
irc mbe ndi mbe mbe irc
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037579
qwen/qwen3.7-plus
awkweave-0037580
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_grove 71 fable_cobalt 10 indigo_juniper 79 harbor_juniper 58 delta_cobalt 103 grove_amber 86
juniper grove fable cobalt indigo juniper harbor juniper delta cobalt grove amber
indigo_ember 60 ember_grove 76 cobalt_indigo 94 delta_cobalt 22 cobalt_juniper 87 juniper_delta 96
indigo ember ember grove cobalt indigo delta cobalt cobalt juniper juniper delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037580-p1
Substitute all underscores in column 1 with spaces and display the modified values.
{gsub(/_/," ",$1);print $1}
juniper_grove 71 fable_cobalt 10 indigo_juniper 79 harbor_juniper 58 delta_cobalt 103 grove_amber 86
juniper grove fable cobalt indigo juniper harbor juniper delta cobalt grove amber
indigo_ember 60 ember_grove 76 cobalt_indigo 94 delta_cobalt 22 cobalt_juniper 87 juniper_delta 96
indigo ember ember grove cobalt indigo delta cobalt cobalt juniper juniper delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037580
qwen/qwen3.7-plus
awkweave-0037581
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim cobalt 68 paused dina ember 40 closed dina cobalt 58 failed gus amber 108 pending eli ember 23 closed ivan amber 8 closed kim amber 29 paused kim cobalt 24 closed
paused 68 cobalt kim closed 40 ember dina failed 58 cobalt dina pending 108 amber gus closed 23 ember eli closed 8 amber ivan paused 29 amber kim closed 24 cobalt kim
dina harbor 75 active alice amber 45 pending hana delta 9 closed eli harbor 86 pending farah indigo 102 active chen cobalt 45 pending gus delta 116 failed gus cobalt 87 ready
active 75 harbor dina pending 45 amber alice closed 9 delta hana pending 86 harbor eli active 102 indigo farah pending 45 cobalt chen failed 116 delta gus ready 87 cobalt gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037581-p1
Reverse the sequence of fields on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim cobalt 68 paused dina ember 40 closed dina cobalt 58 failed gus amber 108 pending eli ember 23 closed ivan amber 8 closed kim amber 29 paused kim cobalt 24 closed
paused 68 cobalt kim closed 40 ember dina failed 58 cobalt dina pending 108 amber gus closed 23 ember eli closed 8 amber ivan paused 29 amber kim closed 24 cobalt kim
dina harbor 75 active alice amber 45 pending hana delta 9 closed eli harbor 86 pending farah indigo 102 active chen cobalt 45 pending gus delta 116 failed gus cobalt 87 ready
active 75 harbor dina pending 45 amber alice closed 9 delta hana pending 86 harbor eli active 102 indigo farah pending 45 cobalt chen failed 116 delta gus ready 87 cobalt gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037581
qwen/qwen3.7-plus
awkweave-0037582
Print the number of whitespace-separated fields on each line.
{print NF}
ivan grove 1 active jules ember 112 pending farah ember 78 closed jules juniper 67 closed lina harbor 36 active lina harbor 38 paused chen ember 4 active jules birch 90 pending
4 4 4 4 4 4 4 4
chen ember 57 ready dina indigo 8 closed alice indigo 115 paused ivan harbor 81 active ivan grove 109 failed hana fable 51 failed ivan juniper 113 paused jules ember 83 active kim birch 49 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037582-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
ivan grove 1 active jules ember 112 pending farah ember 78 closed jules juniper 67 closed lina harbor 36 active lina harbor 38 paused chen ember 4 active jules birch 90 pending
4 4 4 4 4 4 4 4
chen ember 57 ready dina indigo 8 closed alice indigo 115 paused ivan harbor 81 active ivan grove 109 failed hana fable 51 failed ivan juniper 113 paused jules ember 83 active kim birch 49 ready
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037582
qwen/qwen3.7-plus
awkweave-0037583
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]]}
gus gamma 66 dina gamma 45 bruno alpha 93 bruno delta 54 eli delta 41 lina delta 24
gamma 2 alpha 1 delta 3
chen beta 49 chen beta 50 lina alpha 120 gus alpha 77 bruno delta 2 kim gamma 58 gus gamma 30 lina delta 103
beta 2 alpha 2 delta 2 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037583-p1
Tally the occurrences of each unique value in column 2, then print 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]]}
gus gamma 66 dina gamma 45 bruno alpha 93 bruno delta 54 eli delta 41 lina delta 24
gamma 2 alpha 1 delta 3
chen beta 49 chen beta 50 lina alpha 120 gus alpha 77 bruno delta 2 kim gamma 58 gus gamma 30 lina delta 103
beta 2 alpha 2 delta 2 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037583
qwen/qwen3.7-plus
awkweave-0037584
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]]}
alice gamma 29 gus delta 26 lina beta 19 chen gamma 22 ivan beta 9 gus delta 3 hana gamma 26 chen beta 12 hana delta 16 bruno gamma 18
gamma 95 delta 45 beta 40
eli alpha 10 jules beta 29 bruno alpha 27 jules delta 7 chen delta 19 hana delta 1 gus delta 3 gus alpha 27 farah delta 16 gus beta 5
alpha 64 beta 34 delta 46
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037584-p1
Calculate the sum of column 3 grouped by column 2, displaying the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice gamma 29 gus delta 26 lina beta 19 chen gamma 22 ivan beta 9 gus delta 3 hana gamma 26 chen beta 12 hana delta 16 bruno gamma 18
gamma 95 delta 45 beta 40
eli alpha 10 jules beta 29 bruno alpha 27 jules delta 7 chen delta 19 hana delta 1 gus delta 3 gus alpha 27 farah delta 16 gus beta 5
alpha 64 beta 34 delta 46
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037584
qwen/qwen3.7-plus
awkweave-0037585
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]]}
gamma indigo 60 beta cobalt 52 beta grove 114 delta indigo 53 delta harbor 64 delta delta 69 delta grove 41
beta 2 delta 4
delta harbor 56 gamma indigo 28 beta delta 60 gamma cobalt 104 gamma grove 107 gamma cobalt 77 delta grove 2 alpha harbor 22 gamma harbor 45
delta 2 gamma 5
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037585-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]]}
gamma indigo 60 beta cobalt 52 beta grove 114 delta indigo 53 delta harbor 64 delta delta 69 delta grove 41
beta 2 delta 4
delta harbor 56 gamma indigo 28 beta delta 60 gamma cobalt 104 gamma grove 107 gamma cobalt 77 delta grove 2 alpha harbor 22 gamma harbor 45
delta 2 gamma 5
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037585
qwen/qwen3.7-plus
awkweave-0037586
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score record_id display_name r001 chen 20 paused r002 gus 14 pending r003 dina 23 active r004 farah 5 paused r005 ivan 29 paused r006 chen 13 ready r007 hana 9 active r008 chen 20 closed r009 ivan 3 failed r010 ivan 23 pending
paused pending active paused paused ready active closed failed pending
state score record_id display_name r001 farah 30 ready r002 hana 2 closed r003 hana 26 paused r004 hana 21 failed r005 hana 10 pending r006 lina 8 closed r007 chen 20 closed
ready closed paused failed pending closed closed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037586-p1
Skip the header row and output the 'display_name' column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score record_id display_name r001 chen 20 paused r002 gus 14 pending r003 dina 23 active r004 farah 5 paused r005 ivan 29 paused r006 chen 13 ready r007 hana 9 active r008 chen 20 closed r009 ivan 3 failed r010 ivan 23 pending
paused pending active paused paused ready active closed failed pending
state score record_id display_name r001 farah 30 ready r002 hana 2 closed r003 hana 26 paused r004 hana 21 failed r005 hana 10 pending r006 lina 8 closed r007 chen 20 closed
ready closed paused failed pending closed closed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037586
qwen/qwen3.7-plus
awkweave-0037587
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 gus 8 paused r002 farah 30 active r003 chen 3 paused r004 jules 11 paused r005 kim 14 paused r006 dina 8 active r007 hana 25 paused r008 alice 16 paused r009 bruno 22 paused r010 jules 23 active
farah kim hana alice bruno jules
record_id display_name score state r001 farah 5 paused r002 chen 4 paused r003 lina 22 active r004 hana 13 paused r005 hana 11 active r006 kim 7 ready r007 alice 29 ready
lina hana alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037587-p1
Ignore the header row and print the 'display_name' column for rows where the 'score' is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 gus 8 paused r002 farah 30 active r003 chen 3 paused r004 jules 11 paused r005 kim 14 paused r006 dina 8 active r007 hana 25 paused r008 alice 16 paused r009 bruno 22 paused r010 jules 23 active
farah kim hana alice bruno jules
record_id display_name score state r001 farah 5 paused r002 chen 4 paused r003 lina 22 active r004 hana 13 paused r005 hana 11 active r006 kim 7 ready r007 alice 29 ready
lina hana alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037587
qwen/qwen3.7-plus
awkweave-0037588
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
bruno 27 paused ivan 2 ready farah 9 closed farah 8 pending eli 10 active eli 1 ready bruno 20 closed lina 5 pending
27 2 9 8 10 1 20 5
kim 14 ready jules 17 ready bruno 5 failed gus 7 closed eli 29 closed gus 24 pending dina 24 closed ivan 10 closed lina 9 ready kim 18 paused
14 17 5 7 29 24 24 10 9 18
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037588-p1
Given tab-separated input, output the second column from every record.
BEGIN{FS=OFS="\t"}{print $2}
bruno 27 paused ivan 2 ready farah 9 closed farah 8 pending eli 10 active eli 1 ready bruno 20 closed lina 5 pending
27 2 9 8 10 1 20 5
kim 14 ready jules 17 ready bruno 5 failed gus 7 closed eli 29 closed gus 24 pending dina 24 closed ivan 10 closed lina 9 ready kim 18 paused
14 17 5 7 29 24 24 10 9 18
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037588
qwen/qwen3.7-plus
awkweave-0037589
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16.
BEGIN{FS=OFS=","}$2>16{print $1}
bruno,15,pending chen,12,active bruno,29,pending farah,16,closed dina,30,failed jules,20,active farah,23,pending
bruno dina jules farah
chen,23,active dina,10,closed chen,17,pending alice,1,failed lina,28,failed farah,16,pending hana,28,paused eli,14,ready gus,18,failed
chen chen lina hana gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037589-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
bruno,15,pending chen,12,active bruno,29,pending farah,16,closed dina,30,failed jules,20,active farah,23,pending
bruno dina jules farah
chen,23,active dina,10,closed chen,17,pending alice,1,failed lina,28,failed farah,16,pending hana,28,paused eli,14,ready gus,18,failed
chen chen lina hana gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037589
qwen/qwen3.7-plus
awkweave-0037600
Print column 3 only for rows where column 2 is exactly closed.
$2 == "closed"{print $3}
juniper failed hana 1 cobalt closed gus 53 indigo active farah 20 indigo ready bruno 109 birch pending bruno 109 ember paused hana 56
gus
juniper ready kim 48 harbor active dina 111 juniper ready eli 104 delta paused kim 29 cobalt closed hana 108 delta ready gus 85 harbor paused hana 98 harbor closed alice 17 grove failed eli 74
hana alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037600-p1
Display only the third column for rows where the second column matches 'closed' exactly.
$2 == "closed"{print $3}
juniper failed hana 1 cobalt closed gus 53 indigo active farah 20 indigo ready bruno 109 birch pending bruno 109 ember paused hana 56
gus
juniper ready kim 48 harbor active dina 111 juniper ready eli 104 delta paused kim 29 cobalt closed hana 108 delta ready gus 85 harbor paused hana 98 harbor closed alice 17 grove failed eli 74
hana alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037600
qwen/qwen3.7-plus
awkweave-0037601
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
ember WARN 97 harbor DEBUG 37 fable DEBUG 17 ember DEBUG 65 ember INFO 40 ember DEBUG 51 juniper INFO 32 fable DEBUG 13 indigo ERROR 52
ember WARN 97
grove ERROR 44 delta ERROR 68 fable WARN 67 ember WARN 75 fable DEBUG 31 juniper WARN 21 amber DEBUG 4 harbor WARN 93
fable WARN 67 ember WARN 75 juniper WARN 21 harbor WARN 93
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037601-p1
Output all fields from lines where the second field starts with 'WARN'.
$2 ~ /^WARN/
ember WARN 97 harbor DEBUG 37 fable DEBUG 17 ember DEBUG 65 ember INFO 40 ember DEBUG 51 juniper INFO 32 fable DEBUG 13 indigo ERROR 52
ember WARN 97
grove ERROR 44 delta ERROR 68 fable WARN 67 ember WARN 75 fable DEBUG 31 juniper WARN 21 amber DEBUG 4 harbor WARN 93
fable WARN 67 ember WARN 75 juniper WARN 21 harbor WARN 93
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037601
qwen/qwen3.7-plus
awkweave-0037602
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
grove 25 paused harbor 32 closed indigo 55 paused amber 60 ready amber 52 closed amber 26 closed cobalt 17 active cobalt 999 active
grove 25 paused harbor 32 closed indigo 55 paused amber 60 ready amber 52 closed amber 26 closed
cobalt 2 pending ember 26 failed delta 58 failed ember 86 paused birch 85 active delta 119 failed fable 91 pending harbor 22 ready harbor 35 failed grove 53 paused cobalt 999 active
ember 26 failed delta 58 failed ember 86 paused birch 85 active delta 119 failed fable 91 pending harbor 22 ready harbor 35 failed grove 53 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037602-p1
Print every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
grove 25 paused harbor 32 closed indigo 55 paused amber 60 ready amber 52 closed amber 26 closed cobalt 17 active cobalt 999 active
grove 25 paused harbor 32 closed indigo 55 paused amber 60 ready amber 52 closed amber 26 closed
cobalt 2 pending ember 26 failed delta 58 failed ember 86 paused birch 85 active delta 119 failed fable 91 pending harbor 22 ready harbor 35 failed grove 53 paused cobalt 999 active
ember 26 failed delta 58 failed ember 86 paused birch 85 active delta 119 failed fable 91 pending harbor 22 ready harbor 35 failed grove 53 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037602
qwen/qwen3.7-plus
awkweave-0037603
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
gus grove 76 chen grove 34 jules harbor 94 farah juniper 9 ivan cobalt 50 alice delta 104 hana amber 120 kim ember 84 lina amber 119 jules delta 43
farah juniper 9 ivan cobalt 50 alice delta 104
hana fable 64 gus ember 106 kim birch 55 chen harbor 96 farah grove 53 ivan juniper 66
chen harbor 96 farah grove 53 ivan juniper 66
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037603-p1
Output lines 4 to 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
gus grove 76 chen grove 34 jules harbor 94 farah juniper 9 ivan cobalt 50 alice delta 104 hana amber 120 kim ember 84 lina amber 119 jules delta 43
farah juniper 9 ivan cobalt 50 alice delta 104
hana fable 64 gus ember 106 kim birch 55 chen harbor 96 farah grove 53 ivan juniper 66
chen harbor 96 farah grove 53 ivan juniper 66
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037603
qwen/qwen3.7-plus
awkweave-0037604
Output only the first 3 records.
NR <= 3
alice 112 amber ivan 116 delta eli 71 grove eli 18 fable hana 115 birch jules 40 amber gus 27 fable
alice 112 amber ivan 116 delta eli 71 grove
chen 101 grove kim 97 fable ivan 99 delta farah 34 fable eli 13 birch ivan 80 birch alice 111 amber ivan 5 delta jules 10 grove
chen 101 grove kim 97 fable ivan 99 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037604-p1
Display only the first three records.
NR <= 3
alice 112 amber ivan 116 delta eli 71 grove eli 18 fable hana 115 birch jules 40 amber gus 27 fable
alice 112 amber ivan 116 delta eli 71 grove
chen 101 grove kim 97 fable ivan 99 delta farah 34 fable eli 13 birch ivan 80 birch alice 111 amber ivan 5 delta jules 10 grove
chen 101 grove kim 97 fable ivan 99 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037604
qwen/qwen3.7-plus
awkweave-0037605
Skip the first line and print every remaining line unchanged.
NR > 1
kim 65 harbor dina 10 delta dina 41 ember dina 90 fable chen 7 juniper kim 60 birch
dina 10 delta dina 41 ember dina 90 fable chen 7 juniper kim 60 birch
eli 79 grove gus 16 fable alice 99 juniper alice 66 indigo dina 71 fable farah 100 fable chen 6 amber kim 113 delta
gus 16 fable alice 99 juniper alice 66 indigo dina 71 fable farah 100 fable chen 6 amber kim 113 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037605-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
kim 65 harbor dina 10 delta dina 41 ember dina 90 fable chen 7 juniper kim 60 birch
dina 10 delta dina 41 ember dina 90 fable chen 7 juniper kim 60 birch
eli 79 grove gus 16 fable alice 99 juniper alice 66 indigo dina 71 fable farah 100 fable chen 6 amber kim 113 delta
gus 16 fable alice 99 juniper alice 66 indigo dina 71 fable farah 100 fable chen 6 amber kim 113 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037605
qwen/qwen3.7-plus
awkweave-0037606
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
ivan closed 66 gus paused 100 chen active 35 hana pending 117 hana ready 20 alice active 99
1
alice failed 29 dina closed 46 jules active 107 gus active 102 dina pending 107 eli active 49 alice paused 48 gus failed 7 jules active 14
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037606-p1
Count the number of records with 'ready' in the second column; output 0 if none are found.
$2 == "ready"{n++}END{print n+0}
ivan closed 66 gus paused 100 chen active 35 hana pending 117 hana ready 20 alice active 99
1
alice failed 29 dina closed 46 jules active 107 gus active 102 dina pending 107 eli active 49 alice paused 48 gus failed 7 jules active 14
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037606
qwen/qwen3.7-plus
awkweave-0037607
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
6 harbor gus 29 ember jules 1 delta jules 1 amber kim 23 indigo alice 30 birch lina
90
18 fable lina 8 indigo bruno 27 juniper jules 13 delta jules 24 indigo dina 18 harbor alice
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037607-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
6 harbor gus 29 ember jules 1 delta jules 1 amber kim 23 indigo alice 30 birch lina
90
18 fable lina 8 indigo bruno 27 juniper jules 13 delta jules 24 indigo dina 18 harbor alice
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037607
qwen/qwen3.7-plus
awkweave-0037608
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable ivan 2 harbor alice 29 harbor ivan 11 juniper farah 8 cobalt hana 4 amber farah 18 cobalt lina 26 cobalt jules 18 birch farah 21
15.22
grove kim 26 grove kim 3 fable gus 20 ember dina 14 grove jules 7 grove alice 24 amber gus 1 indigo farah 27
15.25
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037608-p1
Print the average of the third column, rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
fable ivan 2 harbor alice 29 harbor ivan 11 juniper farah 8 cobalt hana 4 amber farah 18 cobalt lina 26 cobalt jules 18 birch farah 21
15.22
grove kim 26 grove kim 3 fable gus 20 ember dina 14 grove jules 7 grove alice 24 amber gus 1 indigo farah 27
15.25
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037608
qwen/qwen3.7-plus
awkweave-0037609
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
22 juniper farah 4 birch farah 7 grove ivan 12 ember alice 23 fable gus 12 cobalt bruno 2 indigo jules
2
30 harbor hana 20 cobalt dina 10 juniper lina 22 fable dina 4 indigo ivan 1 cobalt dina 8 juniper chen 25 juniper jules
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037609-p1
Identify and print the minimum numeric value in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
22 juniper farah 4 birch farah 7 grove ivan 12 ember alice 23 fable gus 12 cobalt bruno 2 indigo jules
2
30 harbor hana 20 cobalt dina 10 juniper lina 22 fable dina 4 indigo ivan 1 cobalt dina 8 juniper chen 25 juniper jules
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037609
qwen/qwen3.7-plus
awkweave-0037610
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 bruno delta 29 lina ember 16 chen harbor 24 ivan indigo 30 eli juniper 17 alice ember 23 chen harbor 19 ivan grove
30
3 gus birch 18 ivan harbor 19 eli harbor 27 dina birch 27 jules amber 23 eli birch 15 kim grove 12 farah delta 17 chen grove
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037610-p1
Identify and print the maximum numeric value in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 bruno delta 29 lina ember 16 chen harbor 24 ivan indigo 30 eli juniper 17 alice ember 23 chen harbor 19 ivan grove
30
3 gus birch 18 ivan harbor 19 eli harbor 27 dina birch 27 jules amber 23 eli birch 15 kim grove 12 farah delta 17 chen grove
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037610
qwen/qwen3.7-plus
awkweave-0037611
Count all input records and print the total.
END{print NR}
farah 26 dina 103 farah 81 eli 27 farah 20 gus 25 lina 59
7
bruno 91 gus 105 farah 53 gus 24 kim 22 eli 108
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null