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-0034001-p1
Output the first column of comma-separated entries where the second column is greater than 18, assuming no quoted commas.
BEGIN{FS=OFS=","}$2>18{print $1}
gus,22,ready dina,11,failed kim,23,ready farah,23,pending farah,21,failed hana,16,failed chen,6,ready
gus kim farah farah
bruno,6,failed eli,6,active gus,18,pending lina,11,ready jules,4,pending jules,28,failed
jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034001
qwen/qwen3.7-plus
awkweave-0034002
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice juniper 77 farah fable 56 eli harbor 64 lina grove 116 kim fable 59 ivan fable 83 lina delta 28 lina fable 95 kim harbor 25
alice juniper 77 farah fable 56 eli harbor 64 lina grove 116 kim fable 59 ivan fable 83 lina delta 28 lina fable 95 kim harbor 25
eli birch 117 hana delta 108 hana harbor 60 farah birch 60 jules fable 43 jules ember 101 eli grove 69 hana harbor 90 alice juniper 43 lina ember 89
eli birch 117 hana delta 108 hana harbor 60 farah birch 60 jules fable 43 jules ember 101 eli grove 69 hana harbor 90 alice juniper 43 lina ember 89
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034002-p1
Remove leading and trailing whitespace, then replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice juniper 77 farah fable 56 eli harbor 64 lina grove 116 kim fable 59 ivan fable 83 lina delta 28 lina fable 95 kim harbor 25
alice juniper 77 farah fable 56 eli harbor 64 lina grove 116 kim fable 59 ivan fable 83 lina delta 28 lina fable 95 kim harbor 25
eli birch 117 hana delta 108 hana harbor 60 farah birch 60 jules fable 43 jules ember 101 eli grove 69 hana harbor 90 alice juniper 43 lina ember 89
eli birch 117 hana delta 108 hana harbor 60 farah birch 60 jules fable 43 jules ember 101 eli grove 69 hana harbor 90 alice juniper 43 lina ember 89
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034002
qwen/qwen3.7-plus
awkweave-0034003
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules amber 27 ready eli indigo 111 closed gus juniper 52 closed jules delta 7 closed lina juniper 1 ready ivan grove 119 pending
ivan grove 119 pending
eli juniper 14 ready kim birch 3 ready farah cobalt 88 active eli juniper 24 closed farah delta 80 ready jules cobalt 77 pending dina amber 89 paused
jules cobalt 77 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034003-p1
Identify and output the longest line from the input, selecting the first occurrence in case of a tie.
{if(length($0)>length(best))best=$0}END{print best}
jules amber 27 ready eli indigo 111 closed gus juniper 52 closed jules delta 7 closed lina juniper 1 ready ivan grove 119 pending
ivan grove 119 pending
eli juniper 14 ready kim birch 3 ready farah cobalt 88 active eli juniper 24 closed farah delta 80 ready jules cobalt 77 pending dina amber 89 paused
jules cobalt 77 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034003
qwen/qwen3.7-plus
awkweave-0034004
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
dina 27 hana 25 dina 30 dina 100 lina 98 kim 89
dina 100
alice 79 jules 95 lina 73 ivan 0 hana 118 chen 0
ivan 0
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034004-p1
Print every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
dina 27 hana 25 dina 30 dina 100 lina 98 kim 89
dina 100
alice 79 jules 95 lina 73 ivan 0 hana 118 chen 0
ivan 0
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034004
qwen/qwen3.7-plus
awkweave-0034005
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma ember 44 delta amber 12 gamma harbor 15 beta birch 60 beta grove 112 delta delta 111 gamma grove 42 gamma fable 67
7
beta delta 15 alpha birch 91 alpha cobalt 101 gamma cobalt 94 delta cobalt 56 alpha fable 55 beta grove 57 beta birch 61 alpha amber 110 delta harbor 5
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034005-p1
Calculate and print only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma ember 44 delta amber 12 gamma harbor 15 beta birch 60 beta grove 112 delta delta 111 gamma grove 42 gamma fable 67
7
beta delta 15 alpha birch 91 alpha cobalt 101 gamma cobalt 94 delta cobalt 56 alpha fable 55 beta grove 57 beta birch 61 alpha amber 110 delta harbor 5
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034005
qwen/qwen3.7-plus
awkweave-0034006
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}
chen 11 0 dina 20 1 dina 30 10 alice 4 20 gus 30 16 gus 15 21
dina 20.00 dina 3.00 alice 0.20 gus 1.88 gus 0.71
ivan 26 0 alice 10 25 eli 26 23 alice 2 18 bruno 5 26 farah 3 23 jules 27 6 alice 17 27
alice 0.40 eli 1.13 alice 0.11 bruno 0.19 farah 0.13 jules 4.50 alice 0.63
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034006-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}
chen 11 0 dina 20 1 dina 30 10 alice 4 20 gus 30 16 gus 15 21
dina 20.00 dina 3.00 alice 0.20 gus 1.88 gus 0.71
ivan 26 0 alice 10 25 eli 26 23 alice 2 18 bruno 5 26 farah 3 23 jules 27 6 alice 17 27
alice 0.40 eli 1.13 alice 0.11 bruno 0.19 farah 0.13 jules 4.50 alice 0.63
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034006
qwen/qwen3.7-plus
awkweave-0034007
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 fable 9 bruno fable 12 hana ember 12 alice cobalt 3 chen birch 6 ivan harbor 15 bruno juniper 26 dina cobalt 4 chen harbor 29 chen fable 18
chen harbor 29 bruno juniper 26 chen fable 18
gus juniper 16 jules harbor 26 jules delta 30 farah juniper 20 hana juniper 30 bruno grove 9 hana fable 2 kim ember 17
jules delta 30 hana juniper 30 jules harbor 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034007-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain 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]}
hana fable 9 bruno fable 12 hana ember 12 alice cobalt 3 chen birch 6 ivan harbor 15 bruno juniper 26 dina cobalt 4 chen harbor 29 chen fable 18
chen harbor 29 bruno juniper 26 chen fable 18
gus juniper 16 jules harbor 26 jules delta 30 farah juniper 20 hana juniper 30 bruno grove 9 hana fable 2 kim ember 17
jules delta 30 hana juniper 30 jules harbor 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034007
qwen/qwen3.7-plus
awkweave-0034008
Print column 6 followed by column 2 for every record.
{print $6, $2}
ready 80 closed 10 birch ember active 23 paused 22 juniper ember ready 118 paused 17 indigo cobalt closed 73 paused 55 grove ember active 94 paused 29 ember ember ready 60 closed 9 grove fable ready 109 active 71 grove grove pending 63 pending 61 juniper delta pending 99 active 2 harbor amber paused 94 closed 109 grove...
ember 80 ember 23 cobalt 118 ember 73 ember 94 fable 60 grove 109 delta 63 amber 99 birch 94
closed 0 failed 95 ember indigo paused 77 active 41 fable indigo pending 74 ready 30 grove delta paused 61 paused 69 grove cobalt pending 120 ready 12 delta delta active 23 active 12 indigo ember pending 59 failed 29 cobalt cobalt active 91 closed 43 indigo fable pending 55 ready 17 juniper juniper
indigo 0 indigo 77 delta 74 cobalt 61 delta 120 ember 23 cobalt 59 fable 91 juniper 55
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034008-p1
Output column 6 followed by column 2 for every record in the dataset.
{print $6, $2}
ready 80 closed 10 birch ember active 23 paused 22 juniper ember ready 118 paused 17 indigo cobalt closed 73 paused 55 grove ember active 94 paused 29 ember ember ready 60 closed 9 grove fable ready 109 active 71 grove grove pending 63 pending 61 juniper delta pending 99 active 2 harbor amber paused 94 closed 109 grove...
ember 80 ember 23 cobalt 118 ember 73 ember 94 fable 60 grove 109 delta 63 amber 99 birch 94
closed 0 failed 95 ember indigo paused 77 active 41 fable indigo pending 74 ready 30 grove delta paused 61 paused 69 grove cobalt pending 120 ready 12 delta delta active 23 active 12 indigo ember pending 59 failed 29 cobalt cobalt active 91 closed 43 indigo fable pending 55 ready 17 juniper juniper
indigo 0 indigo 77 delta 74 cobalt 61 delta 120 ember 23 cobalt 59 fable 91 juniper 55
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034008
qwen/qwen3.7-plus
awkweave-0034009
Print the last field of every input line.
{print $NF}
paused closed active ready closed pending failed closed failed active failed paused failed pending paused pending closed failed active closed ready active ready paused failed active closed closed active pending
active pending failed paused paused failed ready paused closed pending
closed ready pending ready ready paused closed closed active active closed paused closed paused closed failed pending failed pending closed closed pending paused ready closed paused paused paused failed failed
pending paused active paused closed failed closed ready paused failed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034009-p1
Print the final field from each line of input.
{print $NF}
paused closed active ready closed pending failed closed failed active failed paused failed pending paused pending closed failed active closed ready active ready paused failed active closed closed active pending
active pending failed paused paused failed ready paused closed pending
closed ready pending ready ready paused closed closed active active closed paused closed paused closed failed pending failed pending closed closed pending paused ready closed paused paused paused failed failed
pending paused active paused closed failed closed ready paused failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034009
qwen/qwen3.7-plus
awkweave-0034010
Print the complete records where column 2 is at most 51.
$2 <= 51
gus 8 closed ivan 34 paused alice 34 paused ivan 56 failed alice 22 active gus 109 closed jules 17 paused
gus 8 closed ivan 34 paused alice 34 paused alice 22 active jules 17 paused
kim 68 pending ivan 4 active kim 1 active bruno 25 pending ivan 66 paused kim 104 failed eli 64 ready alice 44 ready ivan 1 failed
ivan 4 active kim 1 active bruno 25 pending alice 44 ready ivan 1 failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034010-p1
Output full records where the value in the second column is less than or equal to 51.
$2 <= 51
gus 8 closed ivan 34 paused alice 34 paused ivan 56 failed alice 22 active gus 109 closed jules 17 paused
gus 8 closed ivan 34 paused alice 34 paused alice 22 active jules 17 paused
kim 68 pending ivan 4 active kim 1 active bruno 25 pending ivan 66 paused kim 104 failed eli 64 ready alice 44 ready ivan 1 failed
ivan 4 active kim 1 active bruno 25 pending alice 44 ready ivan 1 failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034010
qwen/qwen3.7-plus
awkweave-0034011
Show whole lines whose 2nd field is between 4 and 23, inclusive.
$2 >= 4 && $2 <= 23
kim 28 grove failed hana 19 juniper active chen 3 juniper ready farah 5 amber paused lina 27 harbor active eli 30 fable failed
hana 19 juniper active farah 5 amber paused
alice 26 ember paused farah 3 harbor paused farah 17 fable paused bruno 26 fable pending gus 7 delta active farah 8 birch paused alice 2 ember ready ivan 26 juniper ready chen 2 fable active chen 24 harbor pending
farah 17 fable paused gus 7 delta active farah 8 birch paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034011-p1
Display entire lines where the second field falls within the inclusive range of 4 to 23.
$2 >= 4 && $2 <= 23
kim 28 grove failed hana 19 juniper active chen 3 juniper ready farah 5 amber paused lina 27 harbor active eli 30 fable failed
hana 19 juniper active farah 5 amber paused
alice 26 ember paused farah 3 harbor paused farah 17 fable paused bruno 26 fable pending gus 7 delta active farah 8 birch paused alice 2 ember ready ivan 26 juniper ready chen 2 fable active chen 24 harbor pending
farah 17 fable paused gus 7 delta active farah 8 birch paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034011
qwen/qwen3.7-plus
awkweave-0034012
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
kim 116 ready juniper eli 21 failed fable ivan 32 ready ember chen 74 paused ember gus 84 pending delta eli 28 closed grove chen 87 closed delta dina 16 paused birch hana 115 paused birch jules 54 active delta
jules
chen 69 failed indigo kim 102 active ember eli 8 ready juniper kim 67 ready juniper kim 21 active birch lina 86 active ember eli 19 closed harbor
kim kim lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034012-p1
Output the first column exclusively for rows where the third column matches 'active' exactly.
$3 == "active"{print $1}
kim 116 ready juniper eli 21 failed fable ivan 32 ready ember chen 74 paused ember gus 84 pending delta eli 28 closed grove chen 87 closed delta dina 16 paused birch hana 115 paused birch jules 54 active delta
jules
chen 69 failed indigo kim 102 active ember eli 8 ready juniper kim 67 ready juniper kim 21 active birch lina 86 active ember eli 19 closed harbor
kim kim lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034012
qwen/qwen3.7-plus
awkweave-0034013
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
INFO indigo 22 DEBUG amber 44 WARN cobalt 43 INFO juniper 92 ERROR fable 53 ERROR juniper 45
WARN cobalt 43
INFO amber 53 WARN ember 38 ERROR delta 20 ERROR delta 25 WARN birch 89 INFO birch 6 WARN harbor 73 DEBUG amber 95 ERROR ember 77 INFO indigo 10
WARN ember 38 WARN birch 89 WARN harbor 73
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034013-p1
Display all fields from lines whose first field starts with 'WARN'.
$1 ~ /^WARN/
INFO indigo 22 DEBUG amber 44 WARN cobalt 43 INFO juniper 92 ERROR fable 53 ERROR juniper 45
WARN cobalt 43
INFO amber 53 WARN ember 38 ERROR delta 20 ERROR delta 25 WARN birch 89 INFO birch 6 WARN harbor 73 DEBUG amber 95 ERROR ember 77 INFO indigo 10
WARN ember 38 WARN birch 89 WARN harbor 73
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034013
qwen/qwen3.7-plus
awkweave-0034014
Print every line except those containing the exact text amber.
$0 !~ /amber/
ember 63 closed delta 112 ready ember 52 failed fable 35 active amber 46 active amber 54 closed amber 999 active
ember 63 closed delta 112 ready ember 52 failed fable 35 active
fable 8 ready delta 27 closed amber 12 paused cobalt 22 pending harbor 68 active cobalt 55 active fable 66 active amber 52 paused ember 32 failed amber 999 active
fable 8 ready delta 27 closed cobalt 22 pending harbor 68 active cobalt 55 active fable 66 active ember 32 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034014-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
ember 63 closed delta 112 ready ember 52 failed fable 35 active amber 46 active amber 54 closed amber 999 active
ember 63 closed delta 112 ready ember 52 failed fable 35 active
fable 8 ready delta 27 closed amber 12 paused cobalt 22 pending harbor 68 active cobalt 55 active fable 66 active amber 52 paused ember 32 failed amber 999 active
fable 8 ready delta 27 closed cobalt 22 pending harbor 68 active cobalt 55 active fable 66 active ember 32 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034014
qwen/qwen3.7-plus
awkweave-0034015
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
jules fable 24 hana birch 66 hana delta 113 chen ember 112 ivan birch 65 lina fable 26 ivan juniper 19 kim harbor 108 ivan juniper 60 farah indigo 33
chen ember 112 ivan birch 65
lina juniper 69 alice grove 19 alice harbor 48 jules indigo 4 chen indigo 116 dina ember 16
jules indigo 4 chen indigo 116
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034015-p1
Output lines 4 to 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
jules fable 24 hana birch 66 hana delta 113 chen ember 112 ivan birch 65 lina fable 26 ivan juniper 19 kim harbor 108 ivan juniper 60 farah indigo 33
chen ember 112 ivan birch 65
lina juniper 69 alice grove 19 alice harbor 48 jules indigo 4 chen indigo 116 dina ember 16
jules indigo 4 chen indigo 116
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034015
qwen/qwen3.7-plus
awkweave-0034016
Output only the first 2 records.
NR <= 2
farah 108 harbor kim 54 indigo eli 61 grove hana 60 harbor dina 6 amber hana 75 harbor alice 115 delta lina 95 cobalt
farah 108 harbor kim 54 indigo
gus 80 ember eli 23 birch gus 78 birch lina 117 grove dina 89 juniper eli 24 amber
gus 80 ember eli 23 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034016-p1
Print only the initial 2 records.
NR <= 2
farah 108 harbor kim 54 indigo eli 61 grove hana 60 harbor dina 6 amber hana 75 harbor alice 115 delta lina 95 cobalt
farah 108 harbor kim 54 indigo
gus 80 ember eli 23 birch gus 78 birch lina 117 grove dina 89 juniper eli 24 amber
gus 80 ember eli 23 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034016
qwen/qwen3.7-plus
awkweave-0034017
Skip the first line and print every remaining line unchanged.
NR > 1
farah 80 fable bruno 31 birch bruno 20 harbor hana 85 juniper chen 92 delta hana 65 fable alice 105 delta lina 78 birch gus 93 grove
bruno 31 birch bruno 20 harbor hana 85 juniper chen 92 delta hana 65 fable alice 105 delta lina 78 birch gus 93 grove
farah 12 juniper gus 2 cobalt hana 72 birch alice 60 indigo chen 9 cobalt alice 110 birch gus 31 birch hana 33 fable chen 35 delta gus 102 grove
gus 2 cobalt hana 72 birch alice 60 indigo chen 9 cobalt alice 110 birch gus 31 birch hana 33 fable chen 35 delta gus 102 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034017-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
farah 80 fable bruno 31 birch bruno 20 harbor hana 85 juniper chen 92 delta hana 65 fable alice 105 delta lina 78 birch gus 93 grove
bruno 31 birch bruno 20 harbor hana 85 juniper chen 92 delta hana 65 fable alice 105 delta lina 78 birch gus 93 grove
farah 12 juniper gus 2 cobalt hana 72 birch alice 60 indigo chen 9 cobalt alice 110 birch gus 31 birch hana 33 fable chen 35 delta gus 102 grove
gus 2 cobalt hana 72 birch alice 60 indigo chen 9 cobalt alice 110 birch gus 31 birch hana 33 fable chen 35 delta gus 102 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034017
qwen/qwen3.7-plus
awkweave-0034018
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
hana pending 46 alice closed 110 chen closed 92 bruno ready 96 chen ready 75 dina ready 73 farah closed 13 dina failed 116 ivan active 15 farah ready 85
1
alice pending 10 farah pending 68 eli failed 92 alice active 8 lina active 17 chen active 42 alice active 27
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034018-p1
Count the number of records with 'pending' in the second column; output 0 if none exist.
$2 == "pending"{n++}END{print n+0}
hana pending 46 alice closed 110 chen closed 92 bruno ready 96 chen ready 75 dina ready 73 farah closed 13 dina failed 116 ivan active 15 farah ready 85
1
alice pending 10 farah pending 68 eli failed 92 alice active 8 lina active 17 chen active 42 alice active 27
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034018
qwen/qwen3.7-plus
awkweave-0034019
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
indigo kim 7 ember ivan 26 harbor kim 6 ember eli 24 harbor dina 5 grove kim 14 juniper chen 12 birch kim 27 grove eli 10
131
amber jules 12 fable gus 10 amber farah 14 fable eli 2 indigo kim 10 delta eli 13 harbor jules 23 fable hana 9 juniper jules 18 amber bruno 5
116
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034019-p1
Compute and display the sum of integer values in column 3.
{s+=$3}END{print s+0}
indigo kim 7 ember ivan 26 harbor kim 6 ember eli 24 harbor dina 5 grove kim 14 juniper chen 12 birch kim 27 grove eli 10
131
amber jules 12 fable gus 10 amber farah 14 fable eli 2 indigo kim 10 delta eli 13 harbor jules 23 fable hana 9 juniper jules 18 amber bruno 5
116
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034019
qwen/qwen3.7-plus
awkweave-0034020
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan indigo 27 alice juniper 29 kim cobalt 1 chen ember 6 alice ember 13 eli delta 15
15.17
chen ember 7 hana cobalt 23 farah juniper 27 lina fable 15 alice cobalt 23 farah fable 14 ivan juniper 10
17.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034020-p1
Print the average of column 3, rounded to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan indigo 27 alice juniper 29 kim cobalt 1 chen ember 6 alice ember 13 eli delta 15
15.17
chen ember 7 hana cobalt 23 farah juniper 27 lina fable 15 alice cobalt 23 farah fable 14 ivan juniper 10
17.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034020
qwen/qwen3.7-plus
awkweave-0034021
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
amber dina 13 harbor kim 14 birch dina 26 indigo ivan 6 grove hana 13 birch hana 17 birch eli 27 fable lina 17
6
fable chen 27 grove lina 23 indigo jules 27 amber bruno 16 ember dina 12 delta dina 7
7
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034021-p1
Identify and print the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
amber dina 13 harbor kim 14 birch dina 26 indigo ivan 6 grove hana 13 birch hana 17 birch eli 27 fable lina 17
6
fable chen 27 grove lina 23 indigo jules 27 amber bruno 16 ember dina 12 delta dina 7
7
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034021
qwen/qwen3.7-plus
awkweave-0034022
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 cobalt ivan 24 ember lina 22 grove gus 25 indigo bruno 26 delta hana 19 ember alice
26
5 delta hana 26 juniper farah 18 ember gus 15 juniper lina 26 fable hana 7 cobalt hana 22 ember farah 14 delta dina
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034022-p1
Identify and print the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
14 cobalt ivan 24 ember lina 22 grove gus 25 indigo bruno 26 delta hana 19 ember alice
26
5 delta hana 26 juniper farah 18 ember gus 15 juniper lina 26 fable hana 7 cobalt hana 22 ember farah 14 delta dina
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034022
qwen/qwen3.7-plus
awkweave-0034023
Count all input records and print the total.
END{print NR}
dina 14 farah 40 jules 29 chen 105 eli 24 farah 106 gus 33
7
alice 40 hana 63 jules 72 dina 111 jules 13 eli 107 chen 82
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034023-p1
Count the total number of input records and print the result.
END{print NR}
dina 14 farah 40 jules 29 chen 105 eli 24 farah 106 gus 33
7
alice 40 hana 63 jules 72 dina 111 jules 13 eli 107 chen 82
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034023
qwen/qwen3.7-plus
awkweave-0034024
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah grove 31 lina harbor 26 alice delta 57 gus juniper 56 lina amber 54 lina amber 54 chen indigo 47 alice cobalt 100 lina harbor 95 ivan juniper 103 alice juniper 56
farah grove 31 lina harbor 26 alice delta 57 gus juniper 56 lina amber 54 chen indigo 47 alice cobalt 100 lina harbor 95 ivan juniper 103 alice juniper 56
hana delta 48 hana amber 91 bruno delta 110 farah harbor 13 hana juniper 107 alice harbor 107 alice ember 100 hana delta 48
hana delta 48 hana amber 91 bruno delta 110 farah harbor 13 hana juniper 107 alice harbor 107 alice ember 100
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034024-p1
Eliminate duplicate lines by keeping only the first instance of each, while maintaining the original sequence.
!seen[$0]++
farah grove 31 lina harbor 26 alice delta 57 gus juniper 56 lina amber 54 lina amber 54 chen indigo 47 alice cobalt 100 lina harbor 95 ivan juniper 103 alice juniper 56
farah grove 31 lina harbor 26 alice delta 57 gus juniper 56 lina amber 54 chen indigo 47 alice cobalt 100 lina harbor 95 ivan juniper 103 alice juniper 56
hana delta 48 hana amber 91 bruno delta 110 farah harbor 13 hana juniper 107 alice harbor 107 alice ember 100 hana delta 48
hana delta 48 hana amber 91 bruno delta 110 farah harbor 13 hana juniper 107 alice harbor 107 alice ember 100
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034024
qwen/qwen3.7-plus
awkweave-0034025
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules grove 29 ivan cobalt 20 bruno birch 54 farah grove 103 ivan ember 101 kim fable 18 chen delta 72
jules grove 29 ivan cobalt 20 bruno birch 54 farah grove 103 kim fable 18 chen delta 72
kim juniper 52 gus fable 27 kim indigo 18 alice birch 18 gus amber 61 jules grove 14 ivan birch 67
kim juniper 52 gus fable 27 alice birch 18 jules grove 14 ivan birch 67
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034025-p1
Retain solely the initial line for every unique value found in the first column, ensuring the input order is preserved.
!seen[$1]++
jules grove 29 ivan cobalt 20 bruno birch 54 farah grove 103 ivan ember 101 kim fable 18 chen delta 72
jules grove 29 ivan cobalt 20 bruno birch 54 farah grove 103 kim fable 18 chen delta 72
kim juniper 52 gus fable 27 kim indigo 18 alice birch 18 gus amber 61 jules grove 14 ivan birch 67
kim juniper 52 gus fable 27 alice birch 18 jules grove 14 ivan birch 67
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034025
qwen/qwen3.7-plus
awkweave-0034026
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 24 grove chen 25 amber lina 21 amber eli 11 amber jules 7 delta dina 16 birch eli 24 grove dina 14 indigo lina 20 juniper
jules 24 chen 49 lina 70 eli 81 jules 88 dina 104 eli 128 dina 142 lina 162
alice 13 birch dina 16 juniper dina 19 delta dina 12 indigo hana 24 delta bruno 5 juniper eli 2 harbor dina 7 ember
alice 13 dina 29 dina 48 dina 60 hana 84 bruno 89 eli 91 dina 98
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034026-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
jules 24 grove chen 25 amber lina 21 amber eli 11 amber jules 7 delta dina 16 birch eli 24 grove dina 14 indigo lina 20 juniper
jules 24 chen 49 lina 70 eli 81 jules 88 dina 104 eli 128 dina 142 lina 162
alice 13 birch dina 16 juniper dina 19 delta dina 12 indigo hana 24 delta bruno 5 juniper eli 2 harbor dina 7 ember
alice 13 dina 29 dina 48 dina 60 hana 84 bruno 89 eli 91 dina 98
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034026
qwen/qwen3.7-plus
awkweave-0034027
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 5 29 fable ivan 15 14 juniper dina 20 17 fable alice 24 25 ember farah 16 4 fable hana 18 2 amber
bruno 34 ivan 29 dina 37 alice 49 farah 20 hana 20
eli 5 6 birch farah 22 2 grove lina 5 4 indigo ivan 10 17 ember hana 17 28 juniper jules 1 16 fable ivan 30 26 cobalt ivan 7 7 harbor
eli 11 farah 24 lina 9 ivan 27 hana 45 jules 17 ivan 56 ivan 14
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034027-p1
For each row, display the first field followed by the combined sum of the second and third fields.
{print $1,$2+$3}
bruno 5 29 fable ivan 15 14 juniper dina 20 17 fable alice 24 25 ember farah 16 4 fable hana 18 2 amber
bruno 34 ivan 29 dina 37 alice 49 farah 20 hana 20
eli 5 6 birch farah 22 2 grove lina 5 4 indigo ivan 10 17 ember hana 17 28 juniper jules 1 16 fable ivan 30 26 cobalt ivan 7 7 harbor
eli 11 farah 24 lina 9 ivan 27 hana 45 jules 17 ivan 56 ivan 14
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034027
qwen/qwen3.7-plus
awkweave-0034028
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
farah 19 chen 17 kim 16 kim 27 alice 14 bruno 9 ivan 27
farah fail chen fail kim fail kim pass alice fail bruno fail ivan pass
jules 20 chen 2 hana 25 kim 11 alice 22 jules 16
jules fail chen fail hana fail kim fail alice fail jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034028-p1
Output the first column; if the second column is 26 or greater, append 'pass', otherwise append 'fail'.
{print $1,($2>=26?"pass":"fail")}
farah 19 chen 17 kim 16 kim 27 alice 14 bruno 9 ivan 27
farah fail chen fail kim fail kim pass alice fail bruno fail ivan pass
jules 20 chen 2 hana 25 kim 11 alice 22 jules 16
jules fail chen fail hana fail kim fail alice fail jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034028
qwen/qwen3.7-plus
awkweave-0034029
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina grove 24 dina indigo 97 hana cobalt 18 gus delta 29 dina delta 113 kim cobalt 35
GROVE INDIGO COBALT DELTA DELTA COBALT
gus amber 21 kim harbor 38 alice amber 72 ivan fable 101 lina grove 106 dina harbor 84 bruno harbor 79 alice harbor 114
AMBER HARBOR AMBER FABLE GROVE HARBOR HARBOR HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034029-p1
Transform the second column to uppercase letters and output only that modified column.
{print toupper($2)}
dina grove 24 dina indigo 97 hana cobalt 18 gus delta 29 dina delta 113 kim cobalt 35
GROVE INDIGO COBALT DELTA DELTA COBALT
gus amber 21 kim harbor 38 alice amber 72 ivan fable 101 lina grove 106 dina harbor 84 bruno harbor 79 alice harbor 114
AMBER HARBOR AMBER FABLE GROVE HARBOR HARBOR HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034029
qwen/qwen3.7-plus
awkweave-0034030
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
ember 66 fable 90 amber 8 amber 62 juniper 95 cobalt 113 amber 53 juniper 80 juniper 23 birch 57
emb fab amb amb jun cob amb jun jun bir
ember 13 ember 89 grove 118 grove 96 amber 2 fable 72 harbor 62 harbor 58 juniper 46 amber 47
emb emb gro gro amb fab har har jun amb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034030-p1
Extract and print a substring of 3 characters from the first column, beginning at character position 1.
{print substr($1,1,3)}
ember 66 fable 90 amber 8 amber 62 juniper 95 cobalt 113 amber 53 juniper 80 juniper 23 birch 57
emb fab amb amb jun cob amb jun jun bir
ember 13 ember 89 grove 118 grove 96 amber 2 fable 72 harbor 62 harbor 58 juniper 46 amber 47
emb emb gro gro amb fab har har jun amb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034030
qwen/qwen3.7-plus
awkweave-0034031
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_amber 111 juniper_harbor 48 amber_delta 40 ember_cobalt 117 birch_harbor 65 ember_juniper 110
harbor amber juniper harbor amber delta ember cobalt birch harbor ember juniper
birch_fable 8 delta_fable 83 fable_cobalt 74 delta_juniper 87 harbor_harbor 48 amber_grove 108 fable_indigo 29 ember_indigo 62 ember_grove 22 juniper_indigo 112
birch fable delta fable fable cobalt delta juniper harbor harbor amber grove fable indigo ember indigo ember grove juniper indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034031-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
harbor_amber 111 juniper_harbor 48 amber_delta 40 ember_cobalt 117 birch_harbor 65 ember_juniper 110
harbor amber juniper harbor amber delta ember cobalt birch harbor ember juniper
birch_fable 8 delta_fable 83 fable_cobalt 74 delta_juniper 87 harbor_harbor 48 amber_grove 108 fable_indigo 29 ember_indigo 62 ember_grove 22 juniper_indigo 112
birch fable delta fable fable cobalt delta juniper harbor harbor amber grove fable indigo ember indigo ember grove juniper indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034031
qwen/qwen3.7-plus
awkweave-0034032
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)}
bruno juniper 57 pending bruno amber 45 failed ivan birch 80 active gus cobalt 101 closed hana birch 28 active hana delta 96 paused kim grove 73 failed
pending 57 juniper bruno failed 45 amber bruno active 80 birch ivan closed 101 cobalt gus active 28 birch hana paused 96 delta hana failed 73 grove kim
farah delta 107 paused bruno indigo 48 closed farah indigo 26 paused jules indigo 24 active dina amber 44 paused hana juniper 98 ready gus amber 16 ready ivan grove 82 failed dina grove 65 active hana indigo 18 closed
paused 107 delta farah closed 48 indigo bruno paused 26 indigo farah active 24 indigo jules paused 44 amber dina ready 98 juniper hana ready 16 amber gus failed 82 grove ivan active 65 grove dina closed 18 indigo hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034032-p1
Invert the sequence of fields for every line and print all fields in this reversed order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno juniper 57 pending bruno amber 45 failed ivan birch 80 active gus cobalt 101 closed hana birch 28 active hana delta 96 paused kim grove 73 failed
pending 57 juniper bruno failed 45 amber bruno active 80 birch ivan closed 101 cobalt gus active 28 birch hana paused 96 delta hana failed 73 grove kim
farah delta 107 paused bruno indigo 48 closed farah indigo 26 paused jules indigo 24 active dina amber 44 paused hana juniper 98 ready gus amber 16 ready ivan grove 82 failed dina grove 65 active hana indigo 18 closed
paused 107 delta farah closed 48 indigo bruno paused 26 indigo farah active 24 indigo jules paused 44 amber dina ready 98 juniper hana ready 16 amber gus failed 82 grove ivan active 65 grove dina closed 18 indigo hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034032
qwen/qwen3.7-plus
awkweave-0034033
Print the number of whitespace-separated fields on each line.
{print NF}
dina amber 38 closed gus juniper 20 closed gus cobalt 83 pending kim amber 52 active hana delta 41 ready eli birch 31 failed jules fable 94 failed
4 4 4 4 4 4 4
eli amber 48 failed bruno cobalt 81 pending lina cobalt 76 active hana birch 38 closed kim grove 91 paused alice ember 100 ready
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034033-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
dina amber 38 closed gus juniper 20 closed gus cobalt 83 pending kim amber 52 active hana delta 41 ready eli birch 31 failed jules fable 94 failed
4 4 4 4 4 4 4
eli amber 48 failed bruno cobalt 81 pending lina cobalt 76 active hana birch 38 closed kim grove 91 paused alice ember 100 ready
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034033
qwen/qwen3.7-plus
awkweave-0034034
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]]}
lina gamma 104 gus delta 36 chen beta 11 alice beta 30 jules alpha 83 hana alpha 7 bruno gamma 35 hana gamma 73
gamma 3 delta 1 beta 2 alpha 2
alice beta 54 eli beta 40 lina alpha 75 farah delta 80 gus delta 63 farah gamma 39 bruno delta 36 bruno delta 118 ivan alpha 104
beta 2 alpha 2 delta 4 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034034-p1
Tally the number of records for each distinct value in the second column, printing each value and its total 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]]}
lina gamma 104 gus delta 36 chen beta 11 alice beta 30 jules alpha 83 hana alpha 7 bruno gamma 35 hana gamma 73
gamma 3 delta 1 beta 2 alpha 2
alice beta 54 eli beta 40 lina alpha 75 farah delta 80 gus delta 63 farah gamma 39 bruno delta 36 bruno delta 118 ivan alpha 104
beta 2 alpha 2 delta 4 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034034
qwen/qwen3.7-plus
awkweave-0034035
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]]}
lina gamma 6 lina beta 25 bruno delta 8 jules beta 11 alice alpha 27 lina beta 15 jules gamma 21 alice alpha 2
gamma 27 beta 51 delta 8 alpha 29
farah beta 18 dina delta 29 hana delta 22 gus gamma 27 hana alpha 25 chen alpha 24 ivan delta 24 kim alpha 17 eli alpha 30
beta 18 delta 75 gamma 27 alpha 96
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034035-p1
Calculate the sum of the third column for each group defined by the second column, listing the results in the order of the group's 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]]}
lina gamma 6 lina beta 25 bruno delta 8 jules beta 11 alice alpha 27 lina beta 15 jules gamma 21 alice alpha 2
gamma 27 beta 51 delta 8 alpha 29
farah beta 18 dina delta 29 hana delta 22 gus gamma 27 hana alpha 25 chen alpha 24 ivan delta 24 kim alpha 17 eli alpha 30
beta 18 delta 75 gamma 27 alpha 96
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034035
qwen/qwen3.7-plus
awkweave-0034036
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]]}
alpha cobalt 105 gamma ember 18 gamma amber 107 gamma ember 24 beta harbor 91 beta ember 42
gamma 3 beta 2
gamma juniper 79 beta indigo 115 gamma ember 5 delta fable 25 beta cobalt 33 gamma amber 72 delta birch 76 delta indigo 16
gamma 3 beta 2 delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034036-p1
List each unique value from the first column along with its frequency, maintaining the order in which they first appear.
{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]]}
alpha cobalt 105 gamma ember 18 gamma amber 107 gamma ember 24 beta harbor 91 beta ember 42
gamma 3 beta 2
gamma juniper 79 beta indigo 115 gamma ember 5 delta fable 25 beta cobalt 33 gamma amber 72 delta birch 76 delta indigo 16
gamma 3 beta 2 delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034036
qwen/qwen3.7-plus
awkweave-0034037
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"]}
record_id note display_name state r001 hana 14 pending r002 gus 10 paused r003 alice 24 failed r004 eli 1 failed r005 bruno 16 ready r006 kim 18 pending r007 dina 17 ready r008 ivan 29 active r009 jules 18 paused
14 10 24 1 16 18 17 29 18
record_id note display_name state r001 hana 27 active r002 bruno 25 active r003 dina 12 closed r004 chen 4 ready r005 gus 4 active r006 jules 22 failed r007 hana 26 failed r008 dina 29 active r009 farah 11 paused r010 eli 6 active
27 25 12 4 4 22 26 29 11 6
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034037-p1
Skip the header row and output the 'display_name' field for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id note display_name state r001 hana 14 pending r002 gus 10 paused r003 alice 24 failed r004 eli 1 failed r005 bruno 16 ready r006 kim 18 pending r007 dina 17 ready r008 ivan 29 active r009 jules 18 paused
14 10 24 1 16 18 17 29 18
record_id note display_name state r001 hana 27 active r002 bruno 25 active r003 dina 12 closed r004 chen 4 ready r005 gus 4 active r006 jules 22 failed r007 hana 26 failed r008 dina 29 active r009 farah 11 paused r010 eli 6 active
27 25 12 4 4 22 26 29 11 6
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034037
qwen/qwen3.7-plus
awkweave-0034038
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 alice 13 paused r002 hana 8 closed r003 jules 29 failed r004 hana 25 active r005 kim 16 paused r006 eli 5 active r007 chen 11 closed
jules hana kim
record_id display_name score state r001 eli 1 active r002 gus 27 ready r003 bruno 8 paused r004 eli 22 paused r005 gus 4 active r006 chen 13 pending r007 dina 30 ready r008 jules 5 active
gus eli dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034038-p1
Ignore the header line and print the 'display_name' for any data row where the 'score' is strictly greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 alice 13 paused r002 hana 8 closed r003 jules 29 failed r004 hana 25 active r005 kim 16 paused r006 eli 5 active r007 chen 11 closed
jules hana kim
record_id display_name score state r001 eli 1 active r002 gus 27 ready r003 bruno 8 paused r004 eli 22 paused r005 gus 4 active r006 chen 13 pending r007 dina 30 ready r008 jules 5 active
gus eli dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034038
qwen/qwen3.7-plus
awkweave-0034039
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 13 ready alice 22 ready ivan 25 ready kim 28 paused eli 28 pending kim 26 failed kim 5 failed farah 28 ready
13 22 25 28 28 26 5 28
eli 7 active chen 9 closed kim 29 active gus 10 failed ivan 13 ready hana 28 pending jules 1 ready jules 3 closed
7 9 29 10 13 28 1 3
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034039-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 13 ready alice 22 ready ivan 25 ready kim 28 paused eli 28 pending kim 26 failed kim 5 failed farah 28 ready
13 22 25 28 28 26 5 28
eli 7 active chen 9 closed kim 29 active gus 10 failed ivan 13 ready hana 28 pending jules 1 ready jules 3 closed
7 9 29 10 13 28 1 3
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0034039
qwen/qwen3.7-plus
awkweave-0034040
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12.
BEGIN{FS=OFS=","}$2>12{print $1}
hana,26,pending eli,6,failed alice,23,pending gus,22,active eli,2,ready hana,28,ready kim,6,failed bruno,2,ready
hana alice gus hana
ivan,16,active gus,8,closed kim,11,paused bruno,10,pending gus,14,failed jules,13,failed chen,5,ready gus,18,closed eli,17,paused
ivan gus jules gus eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034040-p1
Process simple comma-separated values without quoted fields; output the first column only if the second column is greater than 12.
BEGIN{FS=OFS=","}$2>12{print $1}
hana,26,pending eli,6,failed alice,23,pending gus,22,active eli,2,ready hana,28,ready kim,6,failed bruno,2,ready
hana alice gus hana
ivan,16,active gus,8,closed kim,11,paused bruno,10,pending gus,14,failed jules,13,failed chen,5,ready gus,18,closed eli,17,paused
ivan gus jules gus eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034040
qwen/qwen3.7-plus
awkweave-0034041
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah juniper 3 dina ember 15 lina harbor 62 hana ember 94 bruno grove 18 hana ember 109
farah juniper 3 dina ember 15 lina harbor 62 hana ember 94 bruno grove 18 hana ember 109
bruno indigo 38 eli harbor 29 bruno grove 21 chen cobalt 0 gus birch 110 hana fable 33 alice indigo 93 farah indigo 52
bruno indigo 38 eli harbor 29 bruno grove 21 chen cobalt 0 gus birch 110 hana fable 33 alice indigo 93 farah indigo 52
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034041-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
farah juniper 3 dina ember 15 lina harbor 62 hana ember 94 bruno grove 18 hana ember 109
farah juniper 3 dina ember 15 lina harbor 62 hana ember 94 bruno grove 18 hana ember 109
bruno indigo 38 eli harbor 29 bruno grove 21 chen cobalt 0 gus birch 110 hana fable 33 alice indigo 93 farah indigo 52
bruno indigo 38 eli harbor 29 bruno grove 21 chen cobalt 0 gus birch 110 hana fable 33 alice indigo 93 farah indigo 52
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034041
qwen/qwen3.7-plus
awkweave-0034042
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
ivan birch 85 failed farah ember 108 failed jules delta 80 closed kim amber 15 ready gus grove 108 paused bruno juniper 116 ready kim indigo 27 pending
bruno juniper 116 ready
bruno birch 58 active jules harbor 68 closed gus ember 45 pending hana harbor 88 closed ivan birch 66 paused bruno juniper 6 paused kim amber 82 paused eli amber 68 failed
jules harbor 68 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034042-p1
Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first.
{if(length($0)>length(best))best=$0}END{print best}
ivan birch 85 failed farah ember 108 failed jules delta 80 closed kim amber 15 ready gus grove 108 paused bruno juniper 116 ready kim indigo 27 pending
bruno juniper 116 ready
bruno birch 58 active jules harbor 68 closed gus ember 45 pending hana harbor 88 closed ivan birch 66 paused bruno juniper 6 paused kim amber 82 paused eli amber 68 failed
jules harbor 68 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034042
qwen/qwen3.7-plus
awkweave-0034043
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
bruno 3 chen 94 jules 79 farah 34 chen 39 hana 111 chen 30 gus 77 gus 88
bruno 3 jules 79 chen 39 chen 30 gus 88
gus 97 jules 48 eli 65 kim 45 kim 87 eli 68 kim 56 hana 41 hana 24
gus 97 eli 65 kim 87 kim 56 hana 24
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034043-p1
Output every odd-numbered line, starting with line 1, then line 3, and so on.
NR%2==1
bruno 3 chen 94 jules 79 farah 34 chen 39 hana 111 chen 30 gus 77 gus 88
bruno 3 jules 79 chen 39 chen 30 gus 88
gus 97 jules 48 eli 65 kim 45 kim 87 eli 68 kim 56 hana 41 hana 24
gus 97 eli 65 kim 87 kim 56 hana 24
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034043
qwen/qwen3.7-plus
awkweave-0034044
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma harbor 106 beta indigo 79 alpha indigo 112 alpha indigo 109 delta delta 38 delta grove 37
4
beta delta 70 gamma juniper 90 beta cobalt 84 beta cobalt 5 delta indigo 98 beta ember 14
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034044-p1
Calculate the number of unique entries in the second column and print just that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma harbor 106 beta indigo 79 alpha indigo 112 alpha indigo 109 delta delta 38 delta grove 37
4
beta delta 70 gamma juniper 90 beta cobalt 84 beta cobalt 5 delta indigo 98 beta ember 14
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034044
qwen/qwen3.7-plus
awkweave-0034045
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 14 0 dina 21 7 lina 22 19 gus 27 4 alice 24 14 chen 3 11 bruno 3 12 dina 23 27 ivan 5 28 jules 28 21
dina 3.00 lina 1.16 gus 6.75 alice 1.71 chen 0.27 bruno 0.25 dina 0.85 ivan 0.18 jules 1.33
chen 1 0 eli 18 24 alice 1 21 kim 1 18 gus 24 11 hana 16 2 bruno 8 19 kim 7 14 eli 10 21 gus 19 4
eli 0.75 alice 0.05 kim 0.06 gus 2.18 hana 8.00 bruno 0.42 kim 0.50 eli 0.48 gus 4.75
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034045-p1
For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 14 0 dina 21 7 lina 22 19 gus 27 4 alice 24 14 chen 3 11 bruno 3 12 dina 23 27 ivan 5 28 jules 28 21
dina 3.00 lina 1.16 gus 6.75 alice 1.71 chen 0.27 bruno 0.25 dina 0.85 ivan 0.18 jules 1.33
chen 1 0 eli 18 24 alice 1 21 kim 1 18 gus 24 11 hana 16 2 bruno 8 19 kim 7 14 eli 10 21 gus 19 4
eli 0.75 alice 0.05 kim 0.06 gus 2.18 hana 8.00 bruno 0.42 kim 0.50 eli 0.48 gus 4.75
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034045
qwen/qwen3.7-plus
awkweave-0034046
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
eli juniper 28 dina grove 13 chen juniper 17 farah indigo 22 chen amber 26 jules cobalt 24 ivan cobalt 5 alice amber 2
eli juniper 28 chen amber 26 jules cobalt 24
lina fable 22 bruno birch 12 eli juniper 12 chen indigo 22 chen ember 21 ivan birch 8 hana juniper 10 farah indigo 18 hana juniper 15
lina fable 22 chen indigo 22 chen ember 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034046-p1
Select the top three records based on 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]}
eli juniper 28 dina grove 13 chen juniper 17 farah indigo 22 chen amber 26 jules cobalt 24 ivan cobalt 5 alice amber 2
eli juniper 28 chen amber 26 jules cobalt 24
lina fable 22 bruno birch 12 eli juniper 12 chen indigo 22 chen ember 21 ivan birch 8 hana juniper 10 farah indigo 18 hana juniper 15
lina fable 22 chen indigo 22 chen ember 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034046
qwen/qwen3.7-plus
awkweave-0034047
For each line, output fields 4 and 1, in that order.
{print $4, $1}
ready paused 63 97 ready paused paused 108 111 paused pending pending 8 64 closed failed active 118 111 ready ready paused 93 57 ready paused active 48 98 ready
97 ready 111 paused 64 pending 111 failed 57 ready 98 paused
closed ready 73 81 closed failed active 52 15 closed ready closed 114 48 paused failed pending 69 47 active paused failed 37 8 paused ready ready 29 51 failed
81 closed 15 failed 48 ready 47 failed 8 paused 51 ready
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034047-p1
For every line, print the fourth field followed by the first field.
{print $4, $1}
ready paused 63 97 ready paused paused 108 111 paused pending pending 8 64 closed failed active 118 111 ready ready paused 93 57 ready paused active 48 98 ready
97 ready 111 paused 64 pending 111 failed 57 ready 98 paused
closed ready 73 81 closed failed active 52 15 closed ready closed 114 48 paused failed pending 69 47 active paused failed 37 8 paused ready ready 29 51 failed
81 closed 15 failed 48 ready 47 failed 8 paused 51 ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034047
qwen/qwen3.7-plus
awkweave-0034048
Print the last field of every input line.
{print $NF}
delta 23 105 44 30 ember harbor 14 13 3 54 grove grove 7 66 31 44 harbor delta 24 20 103 52 harbor harbor 34 77 14 3 grove fable 55 32 0 98 harbor ember 27 53 112 59 amber juniper 54 96 85 30 harbor delta 26 67 45 31 fable
ember grove harbor harbor grove harbor amber harbor fable
delta 111 72 12 34 indigo fable 68 42 39 18 indigo birch 23 117 7 63 juniper grove 31 53 33 106 cobalt ember 118 14 41 82 harbor fable 92 83 41 29 grove
indigo indigo juniper cobalt harbor grove
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034048-p1
Output the final field from each input line.
{print $NF}
delta 23 105 44 30 ember harbor 14 13 3 54 grove grove 7 66 31 44 harbor delta 24 20 103 52 harbor harbor 34 77 14 3 grove fable 55 32 0 98 harbor ember 27 53 112 59 amber juniper 54 96 85 30 harbor delta 26 67 45 31 fable
ember grove harbor harbor grove harbor amber harbor fable
delta 111 72 12 34 indigo fable 68 42 39 18 indigo birch 23 117 7 63 juniper grove 31 53 33 106 cobalt ember 118 14 41 82 harbor fable 92 83 41 29 grove
indigo indigo juniper cobalt harbor grove
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034048
qwen/qwen3.7-plus
awkweave-0034049
Print the complete records where column 3 is at most 35.
$3 <= 35
dina harbor 100 closed dina indigo 6 closed alice grove 77 pending lina cobalt 27 paused jules indigo 39 failed kim delta 44 failed ivan cobalt 85 failed kim ember 108 failed kim delta 64 paused
dina indigo 6 closed lina cobalt 27 paused
jules grove 18 failed ivan cobalt 45 ready eli harbor 36 paused hana fable 114 pending eli ember 26 paused kim cobalt 80 active lina ember 66 pending gus birch 118 failed chen amber 98 paused
jules grove 18 failed eli ember 26 paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034049-p1
Display full records where the value in the third column is less than or equal to 35.
$3 <= 35
dina harbor 100 closed dina indigo 6 closed alice grove 77 pending lina cobalt 27 paused jules indigo 39 failed kim delta 44 failed ivan cobalt 85 failed kim ember 108 failed kim delta 64 paused
dina indigo 6 closed lina cobalt 27 paused
jules grove 18 failed ivan cobalt 45 ready eli harbor 36 paused hana fable 114 pending eli ember 26 paused kim cobalt 80 active lina ember 66 pending gus birch 118 failed chen amber 98 paused
jules grove 18 failed eli ember 26 paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034049
qwen/qwen3.7-plus
awkweave-0034050
Show whole lines whose 2nd field is between 11 and 18, inclusive.
$2 >= 11 && $2 <= 18
fable 19 pending amber ember 22 pending juniper juniper 13 pending amber grove 19 active juniper indigo 27 failed juniper fable 8 pending amber
juniper 13 pending amber
indigo 10 failed delta delta 11 failed fable indigo 27 pending juniper juniper 23 closed amber grove 25 pending amber ember 4 failed amber grove 17 failed cobalt juniper 4 paused cobalt juniper 19 paused delta cobalt 26 closed amber
delta 11 failed fable grove 17 failed cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0034050-p1
Show entire lines where the second field falls within the inclusive range of 11 to 18.
$2 >= 11 && $2 <= 18
fable 19 pending amber ember 22 pending juniper juniper 13 pending amber grove 19 active juniper indigo 27 failed juniper fable 8 pending amber
juniper 13 pending amber
indigo 10 failed delta delta 11 failed fable indigo 27 pending juniper juniper 23 closed amber grove 25 pending amber ember 4 failed amber grove 17 failed cobalt juniper 4 paused cobalt juniper 19 paused delta cobalt 26 closed amber
delta 11 failed fable grove 17 failed cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0034050
qwen/qwen3.7-plus
awkweave-0034051
Print column 3 only for rows where column 4 is exactly pending.
$4 == "pending"{print $3}
indigo 78 eli ready ember 43 farah paused cobalt 16 farah failed indigo 10 bruno pending grove 41 dina closed delta 100 bruno ready ember 42 jules paused
bruno
amber 51 dina closed cobalt 101 lina closed juniper 109 lina active harbor 65 gus paused fable 39 bruno closed cobalt 70 lina closed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null