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-0035881-p1
Print the final field from every line of input.
{print $NF}
59 gus chen failed 74 ivan kim closed 72 ivan ivan ready 68 jules gus pending 78 eli farah closed 21 hana alice closed 14 ivan kim paused 50 dina ivan paused 77 alice hana closed 100 alice farah active
failed closed ready pending closed closed paused paused closed active
69 hana dina pending 90 farah dina ready 109 gus kim paused 92 kim alice closed 41 eli gus paused 80 farah jules closed 45 gus hana failed 97 ivan jules failed
pending ready paused closed paused closed failed failed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035881
qwen/qwen3.7-plus
awkweave-0035882
Print the complete records where column 4 is greater than 75.
$4 > 75
pending active delta 1 farah pending pending cobalt 39 kim failed failed ember 57 bruno paused pending indigo 29 gus closed paused grove 58 lina failed paused grove 97 gus paused pending birch 62 eli pending active indigo 38 jules closed active ember 112 alice
failed paused grove 97 gus closed active ember 112 alice
closed closed amber 1 hana pending paused fable 46 dina paused active delta 94 chen pending closed grove 11 dina paused active harbor 3 gus closed active ember 38 lina active ready fable 115 alice
paused active delta 94 chen active ready fable 115 alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035882-p1
Output full records where the value in the fourth column exceeds 75.
$4 > 75
pending active delta 1 farah pending pending cobalt 39 kim failed failed ember 57 bruno paused pending indigo 29 gus closed paused grove 58 lina failed paused grove 97 gus paused pending birch 62 eli pending active indigo 38 jules closed active ember 112 alice
failed paused grove 97 gus closed active ember 112 alice
closed closed amber 1 hana pending paused fable 46 dina paused active delta 94 chen pending closed grove 11 dina paused active harbor 3 gus closed active ember 38 lina active ready fable 115 alice
paused active delta 94 chen active ready fable 115 alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035882
qwen/qwen3.7-plus
awkweave-0035883
Show whole lines whose 3rd field is between 4 and 23, inclusive.
$3 >= 4 && $3 <= 23
harbor failed 15 gus fable pending 4 lina harbor ready 18 kim cobalt pending 8 farah delta ready 3 gus juniper ready 10 jules delta active 5 dina indigo active 24 jules ember ready 22 kim delta failed 13 jules
harbor failed 15 gus fable pending 4 lina harbor ready 18 kim cobalt pending 8 farah juniper ready 10 jules delta active 5 dina ember ready 22 kim delta failed 13 jules
cobalt ready 30 dina juniper ready 18 lina juniper failed 21 ivan delta failed 2 alice juniper paused 3 eli fable ready 7 gus amber active 28 chen harbor paused 4 ivan birch pending 9 bruno
juniper ready 18 lina juniper failed 21 ivan fable ready 7 gus harbor paused 4 ivan birch pending 9 bruno
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035883-p1
Print entire lines where the third field falls within the inclusive range of 4 to 23.
$3 >= 4 && $3 <= 23
harbor failed 15 gus fable pending 4 lina harbor ready 18 kim cobalt pending 8 farah delta ready 3 gus juniper ready 10 jules delta active 5 dina indigo active 24 jules ember ready 22 kim delta failed 13 jules
harbor failed 15 gus fable pending 4 lina harbor ready 18 kim cobalt pending 8 farah juniper ready 10 jules delta active 5 dina ember ready 22 kim delta failed 13 jules
cobalt ready 30 dina juniper ready 18 lina juniper failed 21 ivan delta failed 2 alice juniper paused 3 eli fable ready 7 gus amber active 28 chen harbor paused 4 ivan birch pending 9 bruno
juniper ready 18 lina juniper failed 21 ivan fable ready 7 gus harbor paused 4 ivan birch pending 9 bruno
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035883
qwen/qwen3.7-plus
awkweave-0035884
Print column 3 only for rows where column 2 is exactly ready.
$2 == "ready"{print $3}
delta active gus 18 cobalt paused lina 51 ember closed lina 30 birch closed chen 32 delta closed bruno 84 harbor ready alice 23
alice
amber active bruno 116 amber failed lina 88 juniper failed alice 84 cobalt pending jules 17 delta pending bruno 59 indigo active ivan 4 grove ready chen 37 juniper ready alice 107
chen alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035884-p1
Display the third column exclusively for rows where the second column matches 'ready' exactly.
$2 == "ready"{print $3}
delta active gus 18 cobalt paused lina 51 ember closed lina 30 birch closed chen 32 delta closed bruno 84 harbor ready alice 23
alice
amber active bruno 116 amber failed lina 88 juniper failed alice 84 cobalt pending jules 17 delta pending bruno 59 indigo active ivan 4 grove ready chen 37 juniper ready alice 107
chen alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035884
qwen/qwen3.7-plus
awkweave-0035885
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
76 DEBUG ember 95 INFO juniper 107 ERROR ember 29 ERROR cobalt 31 WARN birch 76 WARN indigo 88 ERROR delta 80 WARN amber 12 INFO indigo
107 ERROR ember 29 ERROR cobalt 88 ERROR delta
96 INFO delta 47 WARN birch 69 WARN ember 26 ERROR juniper 6 DEBUG indigo 85 INFO indigo 31 DEBUG amber 90 INFO amber 1 DEBUG birch 76 WARN grove
26 ERROR juniper
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035885-p1
Output all fields from lines whose second field starts with 'ERROR'.
$2 ~ /^ERROR/
76 DEBUG ember 95 INFO juniper 107 ERROR ember 29 ERROR cobalt 31 WARN birch 76 WARN indigo 88 ERROR delta 80 WARN amber 12 INFO indigo
107 ERROR ember 29 ERROR cobalt 88 ERROR delta
96 INFO delta 47 WARN birch 69 WARN ember 26 ERROR juniper 6 DEBUG indigo 85 INFO indigo 31 DEBUG amber 90 INFO amber 1 DEBUG birch 76 WARN grove
26 ERROR juniper
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035885
qwen/qwen3.7-plus
awkweave-0035886
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
grove 3 pending grove 108 failed cobalt 119 closed juniper 84 closed birch 54 active delta 84 failed harbor 999 active
grove 3 pending grove 108 failed cobalt 119 closed juniper 84 closed birch 54 active delta 84 failed
amber 37 closed cobalt 19 paused birch 82 failed harbor 101 active birch 35 paused harbor 85 ready amber 100 failed harbor 999 active
amber 37 closed cobalt 19 paused birch 82 failed birch 35 paused amber 100 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035886-p1
Print every line except those that contain the exact string 'harbor'.
$0 !~ /harbor/
grove 3 pending grove 108 failed cobalt 119 closed juniper 84 closed birch 54 active delta 84 failed harbor 999 active
grove 3 pending grove 108 failed cobalt 119 closed juniper 84 closed birch 54 active delta 84 failed
amber 37 closed cobalt 19 paused birch 82 failed harbor 101 active birch 35 paused harbor 85 ready amber 100 failed harbor 999 active
amber 37 closed cobalt 19 paused birch 82 failed birch 35 paused amber 100 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035886
qwen/qwen3.7-plus
awkweave-0035887
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
kim indigo 84 lina birch 23 farah ember 104 eli delta 35 jules amber 77 bruno grove 44
lina birch 23 farah ember 104 eli delta 35
gus harbor 118 lina fable 29 alice fable 102 eli juniper 60 bruno harbor 1 lina juniper 60 hana grove 115
lina fable 29 alice fable 102 eli juniper 60
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035887-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
kim indigo 84 lina birch 23 farah ember 104 eli delta 35 jules amber 77 bruno grove 44
lina birch 23 farah ember 104 eli delta 35
gus harbor 118 lina fable 29 alice fable 102 eli juniper 60 bruno harbor 1 lina juniper 60 hana grove 115
lina fable 29 alice fable 102 eli juniper 60
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035887
qwen/qwen3.7-plus
awkweave-0035888
Output only the first 3 records.
NR <= 3
lina 39 juniper kim 103 grove hana 9 ember jules 110 juniper ivan 43 cobalt ivan 90 amber chen 69 fable farah 20 fable jules 37 harbor lina 54 birch
lina 39 juniper kim 103 grove hana 9 ember
dina 7 delta alice 54 cobalt alice 21 cobalt chen 89 ember hana 63 ember dina 77 juniper dina 109 birch gus 93 indigo
dina 7 delta alice 54 cobalt alice 21 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035888-p1
Display only the first three records.
NR <= 3
lina 39 juniper kim 103 grove hana 9 ember jules 110 juniper ivan 43 cobalt ivan 90 amber chen 69 fable farah 20 fable jules 37 harbor lina 54 birch
lina 39 juniper kim 103 grove hana 9 ember
dina 7 delta alice 54 cobalt alice 21 cobalt chen 89 ember hana 63 ember dina 77 juniper dina 109 birch gus 93 indigo
dina 7 delta alice 54 cobalt alice 21 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035888
qwen/qwen3.7-plus
awkweave-0035889
Skip the first line and print every remaining line unchanged.
NR > 1
kim 82 cobalt jules 39 birch gus 96 fable jules 14 indigo chen 64 delta alice 73 amber
jules 39 birch gus 96 fable jules 14 indigo chen 64 delta alice 73 amber
kim 55 delta kim 39 amber dina 77 fable hana 81 cobalt ivan 100 indigo hana 86 grove farah 115 juniper chen 84 fable lina 68 cobalt
kim 39 amber dina 77 fable hana 81 cobalt ivan 100 indigo hana 86 grove farah 115 juniper chen 84 fable lina 68 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035889-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
kim 82 cobalt jules 39 birch gus 96 fable jules 14 indigo chen 64 delta alice 73 amber
jules 39 birch gus 96 fable jules 14 indigo chen 64 delta alice 73 amber
kim 55 delta kim 39 amber dina 77 fable hana 81 cobalt ivan 100 indigo hana 86 grove farah 115 juniper chen 84 fable lina 68 cobalt
kim 39 amber dina 77 fable hana 81 cobalt ivan 100 indigo hana 86 grove farah 115 juniper chen 84 fable lina 68 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035889
qwen/qwen3.7-plus
awkweave-0035900
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
jules 29 ivan 23 alice 2 lina 25 gus 5 alice 29 kim 29 kim 6 hana 24 gus 4
jules pass ivan fail alice fail lina pass gus fail alice pass kim pass kim fail hana pass gus fail
ivan 23 kim 19 hana 14 kim 20 alice 12 hana 20 farah 25 jules 16
ivan fail kim fail hana fail kim fail alice fail hana fail farah pass jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035900-p1
Output column 1 as 'pass' if column 2 is greater than or equal to 24; otherwise, output 'fail'.
{print $1,($2>=24?"pass":"fail")}
jules 29 ivan 23 alice 2 lina 25 gus 5 alice 29 kim 29 kim 6 hana 24 gus 4
jules pass ivan fail alice fail lina pass gus fail alice pass kim pass kim fail hana pass gus fail
ivan 23 kim 19 hana 14 kim 20 alice 12 hana 20 farah 25 jules 16
ivan fail kim fail hana fail kim fail alice fail hana fail farah pass jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035900
qwen/qwen3.7-plus
awkweave-0035901
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
gus cobalt 81 bruno fable 77 ivan juniper 10 kim cobalt 31 chen juniper 0 dina amber 89 eli juniper 85 hana harbor 50 dina ember 39
COBALT FABLE JUNIPER COBALT JUNIPER AMBER JUNIPER HARBOR EMBER
dina juniper 98 jules grove 28 alice fable 70 alice indigo 60 kim fable 108 gus cobalt 104 jules grove 43 bruno juniper 33
JUNIPER GROVE FABLE INDIGO FABLE COBALT GROVE JUNIPER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035901-p1
Transform column 2 to uppercase and display only that column.
{print toupper($2)}
gus cobalt 81 bruno fable 77 ivan juniper 10 kim cobalt 31 chen juniper 0 dina amber 89 eli juniper 85 hana harbor 50 dina ember 39
COBALT FABLE JUNIPER COBALT JUNIPER AMBER JUNIPER HARBOR EMBER
dina juniper 98 jules grove 28 alice fable 70 alice indigo 60 kim fable 108 gus cobalt 104 jules grove 43 bruno juniper 33
JUNIPER GROVE FABLE INDIGO FABLE COBALT GROVE JUNIPER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035901
qwen/qwen3.7-plus
awkweave-0035902
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
juniper 111 indigo 36 amber 86 delta 91 indigo 53 harbor 42 ember 118 ember 111 grove 37
ju in am de in ha em em gr
indigo 14 delta 77 indigo 17 amber 31 grove 108 delta 34 cobalt 87 fable 9
in de in am gr de co fa
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035902-p1
Extract and print two characters from column 1, starting at position 1.
{print substr($1,1,2)}
juniper 111 indigo 36 amber 86 delta 91 indigo 53 harbor 42 ember 118 ember 111 grove 37
ju in am de in ha em em gr
indigo 14 delta 77 indigo 17 amber 31 grove 108 delta 34 cobalt 87 fable 9
in de in am gr de co fa
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035902
qwen/qwen3.7-plus
awkweave-0035903
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_indigo 58 grove_birch 1 fable_delta 108 birch_indigo 34 indigo_grove 115 grove_birch 88 amber_harbor 106 juniper_juniper 63 indigo_amber 36 amber_birch 27
amber indigo grove birch fable delta birch indigo indigo grove grove birch amber harbor juniper juniper indigo amber amber birch
juniper_grove 77 indigo_juniper 75 juniper_amber 29 indigo_juniper 1 amber_grove 113 fable_juniper 20
juniper grove indigo juniper juniper amber indigo juniper amber grove fable juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035903-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
amber_indigo 58 grove_birch 1 fable_delta 108 birch_indigo 34 indigo_grove 115 grove_birch 88 amber_harbor 106 juniper_juniper 63 indigo_amber 36 amber_birch 27
amber indigo grove birch fable delta birch indigo indigo grove grove birch amber harbor juniper juniper indigo amber amber birch
juniper_grove 77 indigo_juniper 75 juniper_amber 29 indigo_juniper 1 amber_grove 113 fable_juniper 20
juniper grove indigo juniper juniper amber indigo juniper amber grove fable juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035903
qwen/qwen3.7-plus
awkweave-0035904
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)}
ivan birch 94 paused gus amber 4 failed chen fable 46 paused gus delta 27 closed alice cobalt 108 failed eli juniper 87 paused eli ember 40 active lina delta 109 failed bruno ember 32 active jules ember 67 failed
paused 94 birch ivan failed 4 amber gus paused 46 fable chen closed 27 delta gus failed 108 cobalt alice paused 87 juniper eli active 40 ember eli failed 109 delta lina active 32 ember bruno failed 67 ember jules
jules delta 24 active alice juniper 10 active chen harbor 43 closed kim birch 88 pending alice amber 20 failed eli grove 58 closed dina amber 53 closed alice fable 76 pending hana juniper 62 pending
active 24 delta jules active 10 juniper alice closed 43 harbor chen pending 88 birch kim failed 20 amber alice closed 58 grove eli closed 53 amber dina pending 76 fable alice pending 62 juniper hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035904-p1
Reverse the field order for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan birch 94 paused gus amber 4 failed chen fable 46 paused gus delta 27 closed alice cobalt 108 failed eli juniper 87 paused eli ember 40 active lina delta 109 failed bruno ember 32 active jules ember 67 failed
paused 94 birch ivan failed 4 amber gus paused 46 fable chen closed 27 delta gus failed 108 cobalt alice paused 87 juniper eli active 40 ember eli failed 109 delta lina active 32 ember bruno failed 67 ember jules
jules delta 24 active alice juniper 10 active chen harbor 43 closed kim birch 88 pending alice amber 20 failed eli grove 58 closed dina amber 53 closed alice fable 76 pending hana juniper 62 pending
active 24 delta jules active 10 juniper alice closed 43 harbor chen pending 88 birch kim failed 20 amber alice closed 58 grove eli closed 53 amber dina pending 76 fable alice pending 62 juniper hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035904
qwen/qwen3.7-plus
awkweave-0035905
Print the number of whitespace-separated fields on each line.
{print NF}
farah birch 112 paused eli delta 120 pending bruno indigo 117 failed ivan grove 12 paused chen ember 49 ready farah grove 13 closed
4 4 4 4 4 4
alice birch 36 active ivan delta 76 paused ivan birch 83 active farah fable 61 paused lina juniper 80 active jules birch 91 pending
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035905-p1
Print the count of whitespace-delimited fields for each line.
{print NF}
farah birch 112 paused eli delta 120 pending bruno indigo 117 failed ivan grove 12 paused chen ember 49 ready farah grove 13 closed
4 4 4 4 4 4
alice birch 36 active ivan delta 76 paused ivan birch 83 active farah fable 61 paused lina juniper 80 active jules birch 91 pending
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035905
qwen/qwen3.7-plus
awkweave-0035906
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]]}
ivan beta 87 chen gamma 94 eli gamma 50 bruno gamma 76 alice beta 73 lina gamma 89 chen gamma 117 kim beta 43 farah alpha 60 bruno gamma 70
beta 3 gamma 6 alpha 1
farah beta 47 hana alpha 3 hana beta 112 eli delta 63 farah beta 117 hana delta 92 bruno delta 68 lina delta 60
beta 3 alpha 1 delta 4
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035906-p1
Tally the occurrences of each unique value in column 2, then output the value and its count sorted by the order in which 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]]}
ivan beta 87 chen gamma 94 eli gamma 50 bruno gamma 76 alice beta 73 lina gamma 89 chen gamma 117 kim beta 43 farah alpha 60 bruno gamma 70
beta 3 gamma 6 alpha 1
farah beta 47 hana alpha 3 hana beta 112 eli delta 63 farah beta 117 hana delta 92 bruno delta 68 lina delta 60
beta 3 alpha 1 delta 4
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035906
qwen/qwen3.7-plus
awkweave-0035907
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]]}
gus gamma 6 hana beta 17 eli alpha 12 hana gamma 5 gus gamma 6 gus beta 2 jules gamma 12 chen delta 15 dina gamma 19 gus beta 2
gamma 48 beta 21 alpha 12 delta 15
dina delta 4 jules gamma 17 kim alpha 22 bruno alpha 7 chen alpha 16 hana beta 23 hana delta 9
delta 13 gamma 17 alpha 45 beta 23
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035907-p1
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]]}
gus gamma 6 hana beta 17 eli alpha 12 hana gamma 5 gus gamma 6 gus beta 2 jules gamma 12 chen delta 15 dina gamma 19 gus beta 2
gamma 48 beta 21 alpha 12 delta 15
dina delta 4 jules gamma 17 kim alpha 22 bruno alpha 7 chen alpha 16 hana beta 23 hana delta 9
delta 13 gamma 17 alpha 45 beta 23
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0035907
qwen/qwen3.7-plus
awkweave-0035908
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta indigo 38 gamma cobalt 92 alpha grove 108 beta ember 78 alpha harbor 48 alpha harbor 87 gamma cobalt 115
beta 2 gamma 2 alpha 3
alpha grove 82 alpha grove 80 beta juniper 108 delta ember 111 beta grove 67 beta cobalt 78 beta indigo 7 gamma amber 59
alpha 2 beta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035908-p1
Identify duplicate values in column 1 and print each one alongside its frequency, maintaining the sequence of their first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta indigo 38 gamma cobalt 92 alpha grove 108 beta ember 78 alpha harbor 48 alpha harbor 87 gamma cobalt 115
beta 2 gamma 2 alpha 3
alpha grove 82 alpha grove 80 beta juniper 108 delta ember 111 beta grove 67 beta cobalt 78 beta indigo 7 gamma amber 59
alpha 2 beta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035908
qwen/qwen3.7-plus
awkweave-0035909
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state score region note r001 farah 27 closed r002 farah 18 closed r003 dina 14 paused r004 dina 1 ready r005 hana 5 closed r006 gus 4 pending r007 chen 29 pending r008 hana 17 pending
closed closed paused ready closed pending pending pending
state score region note r001 ivan 15 ready r002 kim 25 active r003 jules 6 paused r004 bruno 29 pending r005 farah 8 paused r006 eli 3 ready r007 kim 27 ready r008 ivan 9 active r009 eli 29 ready r010 chen 28 failed
ready active paused pending paused ready ready active ready failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035909-p1
Treating the first line as a header, extract and display the content of the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state score region note r001 farah 27 closed r002 farah 18 closed r003 dina 14 paused r004 dina 1 ready r005 hana 5 closed r006 gus 4 pending r007 chen 29 pending r008 hana 17 pending
closed closed paused ready closed pending pending pending
state score region note r001 ivan 15 ready r002 kim 25 active r003 jules 6 paused r004 bruno 29 pending r005 farah 8 paused r006 eli 3 ready r007 kim 27 ready r008 ivan 9 active r009 eli 29 ready r010 chen 28 failed
ready active paused pending paused ready ready active ready failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035909
qwen/qwen3.7-plus
awkweave-0035910
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 farah 6 pending r002 farah 10 closed r003 farah 26 active r004 kim 30 closed r005 gus 12 closed r006 bruno 18 failed r007 dina 8 paused r008 hana 23 active r009 jules 18 failed
farah kim
record_id display_name score state r001 jules 14 ready r002 ivan 21 paused r003 bruno 1 paused r004 ivan 13 paused r005 lina 9 pending r006 dina 5 active r007 dina 11 ready r008 dina 26 ready r009 kim 30 failed r010 hana 19 active
dina kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035910-p1
With the first row serving as a header, output the display_name field for any data row where the score exceeds 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 farah 6 pending r002 farah 10 closed r003 farah 26 active r004 kim 30 closed r005 gus 12 closed r006 bruno 18 failed r007 dina 8 paused r008 hana 23 active r009 jules 18 failed
farah kim
record_id display_name score state r001 jules 14 ready r002 ivan 21 paused r003 bruno 1 paused r004 ivan 13 paused r005 lina 9 pending r006 dina 5 active r007 dina 11 ready r008 dina 26 ready r009 kim 30 failed r010 hana 19 active
dina kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035910
qwen/qwen3.7-plus
awkweave-0035911
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 30 pending dina 1 active bruno 20 ready eli 21 closed hana 16 closed alice 30 paused eli 18 pending jules 1 pending lina 18 ready hana 11 active
pending active ready closed closed paused pending pending ready active
bruno 26 closed lina 17 pending gus 14 ready jules 16 paused lina 19 failed chen 10 closed
closed pending ready paused failed closed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035911-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
hana 30 pending dina 1 active bruno 20 ready eli 21 closed hana 16 closed alice 30 paused eli 18 pending jules 1 pending lina 18 ready hana 11 active
pending active ready closed closed paused pending pending ready active
bruno 26 closed lina 17 pending gus 14 ready jules 16 paused lina 19 failed chen 10 closed
closed pending ready paused failed closed
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0035911
qwen/qwen3.7-plus
awkweave-0035912
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
jules,29,pending dina,2,ready hana,9,closed bruno,12,closed lina,29,pending eli,1,ready bruno,8,paused eli,24,failed farah,13,ready dina,5,closed
jules lina eli
eli,12,pending chen,11,ready gus,3,paused hana,10,failed chen,21,closed hana,7,pending chen,15,pending lina,30,closed
chen lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035912-p1
For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
jules,29,pending dina,2,ready hana,9,closed bruno,12,closed lina,29,pending eli,1,ready bruno,8,paused eli,24,failed farah,13,ready dina,5,closed
jules lina eli
eli,12,pending chen,11,ready gus,3,paused hana,10,failed chen,21,closed hana,7,pending chen,15,pending lina,30,closed
chen lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035912
qwen/qwen3.7-plus
awkweave-0035913
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen grove 93 lina fable 68 farah amber 49 bruno delta 111 bruno birch 94 jules amber 37 dina grove 25
chen grove 93 lina fable 68 farah amber 49 bruno delta 111 bruno birch 94 jules amber 37 dina grove 25
ivan juniper 0 alice ember 88 farah delta 35 gus fable 13 alice ember 71 alice amber 38
ivan juniper 0 alice ember 88 farah delta 35 gus fable 13 alice ember 71 alice amber 38
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035913-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen grove 93 lina fable 68 farah amber 49 bruno delta 111 bruno birch 94 jules amber 37 dina grove 25
chen grove 93 lina fable 68 farah amber 49 bruno delta 111 bruno birch 94 jules amber 37 dina grove 25
ivan juniper 0 alice ember 88 farah delta 35 gus fable 13 alice ember 71 alice amber 38
ivan juniper 0 alice ember 88 farah delta 35 gus fable 13 alice ember 71 alice amber 38
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035913
qwen/qwen3.7-plus
awkweave-0035914
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen ember 105 pending ivan birch 47 active farah harbor 52 pending jules cobalt 83 active hana cobalt 31 failed alice cobalt 13 pending hana fable 120 paused farah amber 19 active
farah harbor 52 pending
chen cobalt 107 active alice harbor 91 failed dina indigo 98 closed alice birch 7 closed hana birch 67 paused alice harbor 85 active
chen cobalt 107 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035914-p1
Output the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen ember 105 pending ivan birch 47 active farah harbor 52 pending jules cobalt 83 active hana cobalt 31 failed alice cobalt 13 pending hana fable 120 paused farah amber 19 active
farah harbor 52 pending
chen cobalt 107 active alice harbor 91 failed dina indigo 98 closed alice birch 7 closed hana birch 67 paused alice harbor 85 active
chen cobalt 107 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035914
qwen/qwen3.7-plus
awkweave-0035915
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
kim 12 bruno 107 kim 75 hana 92 kim 1 kim 104 kim 29 alice 8
kim 75 kim 29
jules 30 alice 106 lina 14 hana 66 alice 14 ivan 64 lina 111 gus 25 eli 47
lina 14 lina 111
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035915-p1
Print every 4th line of the input, beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
kim 12 bruno 107 kim 75 hana 92 kim 1 kim 104 kim 29 alice 8
kim 75 kim 29
jules 30 alice 106 lina 14 hana 66 alice 14 ivan 64 lina 111 gus 25 eli 47
lina 14 lina 111
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035915
qwen/qwen3.7-plus
awkweave-0035916
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha fable 108 alpha indigo 106 delta amber 40 beta birch 106 alpha fable 54 gamma indigo 55 beta ember 43 beta fable 113
5
delta indigo 37 gamma amber 47 beta cobalt 96 beta cobalt 69 beta juniper 4 beta birch 120 gamma ember 10 alpha amber 95 gamma indigo 76
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035916-p1
Determine the number of unique values present in column 2 and output only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha fable 108 alpha indigo 106 delta amber 40 beta birch 106 alpha fable 54 gamma indigo 55 beta ember 43 beta fable 113
5
delta indigo 37 gamma amber 47 beta cobalt 96 beta cobalt 69 beta juniper 4 beta birch 120 gamma ember 10 alpha amber 95 gamma indigo 76
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035916
qwen/qwen3.7-plus
awkweave-0035917
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 1 0 gus 15 11 lina 22 2 kim 17 11 hana 1 26 kim 1 22 eli 28 28
gus 1.36 lina 11.00 kim 1.55 hana 0.04 kim 0.05 eli 1.00
bruno 1 0 dina 21 29 gus 15 5 ivan 18 22 alice 29 18 bruno 25 10 chen 30 26 jules 14 21
dina 0.72 gus 3.00 ivan 0.82 alice 1.61 bruno 2.50 chen 1.15 jules 0.67
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035917-p1
For each row, output column 1 and the result of dividing column 2 by column 3 rounded to two decimal places, excluding any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 1 0 gus 15 11 lina 22 2 kim 17 11 hana 1 26 kim 1 22 eli 28 28
gus 1.36 lina 11.00 kim 1.55 hana 0.04 kim 0.05 eli 1.00
bruno 1 0 dina 21 29 gus 15 5 ivan 18 22 alice 29 18 bruno 25 10 chen 30 26 jules 14 21
dina 0.72 gus 3.00 ivan 0.82 alice 1.61 bruno 2.50 chen 1.15 jules 0.67
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035917
qwen/qwen3.7-plus
awkweave-0035918
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]}
farah juniper 21 gus birch 30 kim amber 17 dina juniper 23 farah cobalt 9 eli indigo 23 alice ember 5 hana indigo 23 lina fable 2 dina juniper 1
gus birch 30 dina juniper 23 eli indigo 23
farah harbor 19 alice cobalt 28 lina fable 24 alice juniper 12 jules birch 28 gus ember 16
alice cobalt 28 jules birch 28 lina fable 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035918-p1
Display the top three full records based on the highest numeric values in the third column, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah juniper 21 gus birch 30 kim amber 17 dina juniper 23 farah cobalt 9 eli indigo 23 alice ember 5 hana indigo 23 lina fable 2 dina juniper 1
gus birch 30 dina juniper 23 eli indigo 23
farah harbor 19 alice cobalt 28 lina fable 24 alice juniper 12 jules birch 28 gus ember 16
alice cobalt 28 jules birch 28 lina fable 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035918
qwen/qwen3.7-plus
awkweave-0035919
For each line, output fields 3 and 2, in that order.
{print $3, $2}
29 dina pending ember bruno 119 lina ready cobalt chen 76 dina closed grove gus 67 alice ready indigo bruno 102 eli ready cobalt jules 25 lina active harbor kim 21 ivan failed cobalt eli 37 farah ready harbor hana 46 kim active cobalt lina 42 dina pending birch lina
pending dina ready lina closed dina ready alice ready eli active lina failed ivan ready farah active kim pending dina
18 chen pending juniper bruno 92 jules pending delta jules 73 lina active grove jules 27 hana closed grove eli 110 eli failed fable kim 7 kim ready amber ivan 82 alice paused grove farah 60 ivan ready birch jules
pending chen pending jules active lina closed hana failed eli ready kim paused alice ready ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035919-p1
For every line, print the third field followed by the second field.
{print $3, $2}
29 dina pending ember bruno 119 lina ready cobalt chen 76 dina closed grove gus 67 alice ready indigo bruno 102 eli ready cobalt jules 25 lina active harbor kim 21 ivan failed cobalt eli 37 farah ready harbor hana 46 kim active cobalt lina 42 dina pending birch lina
pending dina ready lina closed dina ready alice ready eli active lina failed ivan ready farah active kim pending dina
18 chen pending juniper bruno 92 jules pending delta jules 73 lina active grove jules 27 hana closed grove eli 110 eli failed fable kim 7 kim ready amber ivan 82 alice paused grove farah 60 ivan ready birch jules
pending chen pending jules active lina closed hana failed eli ready kim paused alice ready ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035919
qwen/qwen3.7-plus
awkweave-0035920
Print the last field of every input line.
{print $NF}
harbor paused 107 chen fable ember ready 107 alice juniper indigo paused 105 jules delta fable paused 63 jules ember ember active 99 jules juniper birch failed 89 ivan cobalt indigo failed 81 chen cobalt cobalt ready 21 kim amber
fable juniper delta ember juniper cobalt cobalt amber
delta pending 90 kim birch birch ready 21 ivan juniper ember paused 72 ivan indigo grove active 12 gus juniper grove failed 54 ivan ember indigo paused 17 gus delta
birch juniper indigo juniper ember delta
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035920-p1
Output the final field from each input line.
{print $NF}
harbor paused 107 chen fable ember ready 107 alice juniper indigo paused 105 jules delta fable paused 63 jules ember ember active 99 jules juniper birch failed 89 ivan cobalt indigo failed 81 chen cobalt cobalt ready 21 kim amber
fable juniper delta ember juniper cobalt cobalt amber
delta pending 90 kim birch birch ready 21 ivan juniper ember paused 72 ivan indigo grove active 12 gus juniper grove failed 54 ivan ember indigo paused 17 gus delta
birch juniper indigo juniper ember delta
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035920
qwen/qwen3.7-plus
awkweave-0035921
Print the complete records where column 1 is less than 24.
$1 < 24
38 pending eli gus 58 failed chen hana 112 ready eli jules 106 failed alice gus 66 ready lina jules 119 closed alice kim 36 ready eli kim 64 failed bruno jules 6 ready chen eli 10 paused eli eli
6 ready chen eli 10 paused eli eli
66 closed hana kim 97 paused hana lina 9 paused bruno bruno 85 paused eli eli 6 ready jules dina 86 active kim jules
9 paused bruno bruno 6 ready jules dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035921-p1
Print all complete records where the value in the first column is strictly less than 24.
$1 < 24
38 pending eli gus 58 failed chen hana 112 ready eli jules 106 failed alice gus 66 ready lina jules 119 closed alice kim 36 ready eli kim 64 failed bruno jules 6 ready chen eli 10 paused eli eli
6 ready chen eli 10 paused eli eli
66 closed hana kim 97 paused hana lina 9 paused bruno bruno 85 paused eli eli 6 ready jules dina 86 active kim jules
9 paused bruno bruno 6 ready jules dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035921
qwen/qwen3.7-plus
awkweave-0035922
Show whole lines whose 1st field is between 11 and 23, inclusive.
$1 >= 11 && $1 <= 23
30 paused harbor bruno 12 closed fable hana 21 ready indigo lina 6 ready harbor gus 2 pending juniper bruno 28 paused amber lina 30 active juniper lina 11 failed harbor farah 29 pending juniper ivan
12 closed fable hana 21 ready indigo lina 11 failed harbor farah
4 failed cobalt hana 30 pending grove eli 6 pending harbor alice 13 failed amber dina 27 ready harbor eli 11 closed delta gus 14 active indigo eli 17 paused harbor hana 24 failed indigo lina
13 failed amber dina 11 closed delta gus 14 active indigo eli 17 paused harbor hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035922-p1
Display entire lines where the first field falls within the inclusive range of 11 to 23.
$1 >= 11 && $1 <= 23
30 paused harbor bruno 12 closed fable hana 21 ready indigo lina 6 ready harbor gus 2 pending juniper bruno 28 paused amber lina 30 active juniper lina 11 failed harbor farah 29 pending juniper ivan
12 closed fable hana 21 ready indigo lina 11 failed harbor farah
4 failed cobalt hana 30 pending grove eli 6 pending harbor alice 13 failed amber dina 27 ready harbor eli 11 closed delta gus 14 active indigo eli 17 paused harbor hana 24 failed indigo lina
13 failed amber dina 11 closed delta gus 14 active indigo eli 17 paused harbor hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035922
qwen/qwen3.7-plus
awkweave-0035923
Print column 2 only for rows where column 4 is exactly pending.
$4 == "pending"{print $2}
cobalt jules 46 failed cobalt jules 92 pending ember dina 95 active amber kim 16 paused amber eli 86 active amber farah 119 pending
jules farah
amber ivan 26 closed cobalt jules 47 pending indigo dina 88 active fable bruno 55 paused birch bruno 105 pending indigo hana 78 failed fable alice 84 failed harbor farah 28 active
jules bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035923-p1
Print only the second column for rows where the fourth column matches the exact string 'pending'.
$4 == "pending"{print $2}
cobalt jules 46 failed cobalt jules 92 pending ember dina 95 active amber kim 16 paused amber eli 86 active amber farah 119 pending
jules farah
amber ivan 26 closed cobalt jules 47 pending indigo dina 88 active fable bruno 55 paused birch bruno 105 pending indigo hana 78 failed fable alice 84 failed harbor farah 28 active
jules bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035923
qwen/qwen3.7-plus
awkweave-0035924
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
cobalt 86 INFO delta 6 INFO birch 106 DEBUG fable 106 ERROR harbor 54 WARN ember 56 INFO cobalt 41 ERROR delta 88 WARN
fable 106 ERROR cobalt 41 ERROR
indigo 66 DEBUG amber 104 INFO indigo 54 DEBUG juniper 48 ERROR indigo 71 DEBUG amber 101 INFO amber 14 INFO
juniper 48 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035924-p1
Output all fields from lines where the third field starts with the prefix 'ERROR'.
$3 ~ /^ERROR/
cobalt 86 INFO delta 6 INFO birch 106 DEBUG fable 106 ERROR harbor 54 WARN ember 56 INFO cobalt 41 ERROR delta 88 WARN
fable 106 ERROR cobalt 41 ERROR
indigo 66 DEBUG amber 104 INFO indigo 54 DEBUG juniper 48 ERROR indigo 71 DEBUG amber 101 INFO amber 14 INFO
juniper 48 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035924
qwen/qwen3.7-plus
awkweave-0035925
Print every line except those containing the exact text delta.
$0 !~ /delta/
grove 3 ready cobalt 53 paused juniper 60 active cobalt 6 active harbor 5 closed cobalt 106 pending delta 83 paused birch 8 active delta 999 active
grove 3 ready cobalt 53 paused juniper 60 active cobalt 6 active harbor 5 closed cobalt 106 pending birch 8 active
fable 74 ready indigo 66 closed harbor 103 failed fable 10 failed harbor 73 failed harbor 47 pending harbor 11 ready birch 16 active indigo 84 active delta 999 active
fable 74 ready indigo 66 closed harbor 103 failed fable 10 failed harbor 73 failed harbor 47 pending harbor 11 ready birch 16 active indigo 84 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035925-p1
Print every line that does not contain the exact substring 'delta'.
$0 !~ /delta/
grove 3 ready cobalt 53 paused juniper 60 active cobalt 6 active harbor 5 closed cobalt 106 pending delta 83 paused birch 8 active delta 999 active
grove 3 ready cobalt 53 paused juniper 60 active cobalt 6 active harbor 5 closed cobalt 106 pending birch 8 active
fable 74 ready indigo 66 closed harbor 103 failed fable 10 failed harbor 73 failed harbor 47 pending harbor 11 ready birch 16 active indigo 84 active delta 999 active
fable 74 ready indigo 66 closed harbor 103 failed fable 10 failed harbor 73 failed harbor 47 pending harbor 11 ready birch 16 active indigo 84 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035925
qwen/qwen3.7-plus
awkweave-0035926
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
eli ember 29 farah harbor 94 hana cobalt 54 lina cobalt 28 eli cobalt 27 hana indigo 13
farah harbor 94 hana cobalt 54
kim cobalt 86 bruno amber 28 alice delta 38 hana birch 4 farah birch 104 hana harbor 71 lina amber 36 lina birch 86
bruno amber 28 alice delta 38
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035926-p1
Print lines 2 through 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
eli ember 29 farah harbor 94 hana cobalt 54 lina cobalt 28 eli cobalt 27 hana indigo 13
farah harbor 94 hana cobalt 54
kim cobalt 86 bruno amber 28 alice delta 38 hana birch 4 farah birch 104 hana harbor 71 lina amber 36 lina birch 86
bruno amber 28 alice delta 38
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035926
qwen/qwen3.7-plus
awkweave-0035927
Output only the first 2 records.
NR <= 2
gus 88 fable ivan 29 ember farah 78 juniper alice 50 grove lina 59 fable kim 4 harbor eli 22 juniper
gus 88 fable ivan 29 ember
bruno 37 birch bruno 76 grove kim 115 ember alice 15 harbor hana 90 birch chen 77 indigo hana 88 ember ivan 24 delta kim 15 indigo kim 45 amber
bruno 37 birch bruno 76 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035927-p1
Output only the first two records.
NR <= 2
gus 88 fable ivan 29 ember farah 78 juniper alice 50 grove lina 59 fable kim 4 harbor eli 22 juniper
gus 88 fable ivan 29 ember
bruno 37 birch bruno 76 grove kim 115 ember alice 15 harbor hana 90 birch chen 77 indigo hana 88 ember ivan 24 delta kim 15 indigo kim 45 amber
bruno 37 birch bruno 76 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035927
qwen/qwen3.7-plus
awkweave-0035928
Skip the first line and print every remaining line unchanged.
NR > 1
dina 16 amber alice 1 cobalt dina 7 ember ivan 35 harbor bruno 99 ember lina 43 amber
alice 1 cobalt dina 7 ember ivan 35 harbor bruno 99 ember lina 43 amber
alice 119 birch hana 46 juniper farah 72 birch ivan 108 birch jules 88 ember dina 70 ember bruno 7 grove bruno 101 amber lina 110 indigo
hana 46 juniper farah 72 birch ivan 108 birch jules 88 ember dina 70 ember bruno 7 grove bruno 101 amber lina 110 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035928-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
dina 16 amber alice 1 cobalt dina 7 ember ivan 35 harbor bruno 99 ember lina 43 amber
alice 1 cobalt dina 7 ember ivan 35 harbor bruno 99 ember lina 43 amber
alice 119 birch hana 46 juniper farah 72 birch ivan 108 birch jules 88 ember dina 70 ember bruno 7 grove bruno 101 amber lina 110 indigo
hana 46 juniper farah 72 birch ivan 108 birch jules 88 ember dina 70 ember bruno 7 grove bruno 101 amber lina 110 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035928
qwen/qwen3.7-plus
awkweave-0035929
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus pending 67 alice ready 85 ivan active 17 dina active 20 bruno paused 47 jules active 24 alice active 21 farah failed 80 alice failed 24 hana active 81
1
farah pending 95 bruno ready 59 lina active 33 ivan active 8 lina paused 77 hana pending 18 gus closed 108 hana failed 97 alice ready 70 bruno ready 113
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035929-p1
Count the number of records containing 'pending' in the second column, and output 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
gus pending 67 alice ready 85 ivan active 17 dina active 20 bruno paused 47 jules active 24 alice active 21 farah failed 80 alice failed 24 hana active 81
1
farah pending 95 bruno ready 59 lina active 33 ivan active 8 lina paused 77 hana pending 18 gus closed 108 hana failed 97 alice ready 70 bruno ready 113
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035929
qwen/qwen3.7-plus
awkweave-0035930
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
fable ivan 16 grove farah 15 harbor gus 18 ember alice 12 juniper alice 25 birch jules 6 fable dina 11 cobalt alice 22
125
harbor alice 6 amber lina 2 ember hana 27 indigo eli 22 juniper dina 16 indigo kim 27 harbor ivan 19
119
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035930-p1
Compute and output the total of all integer values found in the third column.
{s+=$3}END{print s+0}
fable ivan 16 grove farah 15 harbor gus 18 ember alice 12 juniper alice 25 birch jules 6 fable dina 11 cobalt alice 22
125
harbor alice 6 amber lina 2 ember hana 27 indigo eli 22 juniper dina 16 indigo kim 27 harbor ivan 19
119
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035930
qwen/qwen3.7-plus
awkweave-0035931
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno ember 17 bruno grove 1 hana juniper 17 gus indigo 2 gus delta 25 alice fable 23 hana cobalt 16 jules ember 20 eli grove 14 farah birch 13
14.80
gus harbor 6 eli birch 19 kim indigo 2 lina delta 24 alice delta 25 farah delta 3 eli cobalt 21 chen birch 28 dina grove 14 lina delta 2
14.40
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035931-p1
Output the average of the values in column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
bruno ember 17 bruno grove 1 hana juniper 17 gus indigo 2 gus delta 25 alice fable 23 hana cobalt 16 jules ember 20 eli grove 14 farah birch 13
14.80
gus harbor 6 eli birch 19 kim indigo 2 lina delta 24 alice delta 25 farah delta 3 eli cobalt 21 chen birch 28 dina grove 14 lina delta 2
14.40
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035931
qwen/qwen3.7-plus
awkweave-0035932
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
eli birch 26 jules indigo 30 kim indigo 11 bruno birch 14 chen ember 20 hana cobalt 8 lina amber 18 jules fable 18
8
ivan cobalt 18 dina delta 25 hana grove 27 jules cobalt 6 hana juniper 6 alice ember 30 kim birch 12 hana grove 26
6
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035932-p1
Identify and display the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
eli birch 26 jules indigo 30 kim indigo 11 bruno birch 14 chen ember 20 hana cobalt 8 lina amber 18 jules fable 18
8
ivan cobalt 18 dina delta 25 hana grove 27 jules cobalt 6 hana juniper 6 alice ember 30 kim birch 12 hana grove 26
6
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035932
qwen/qwen3.7-plus
awkweave-0035933
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
27 indigo kim 3 indigo bruno 8 ember dina 11 indigo ivan 30 indigo lina 28 juniper gus 13 harbor farah
30
22 birch eli 28 indigo ivan 9 grove ivan 1 indigo farah 3 ember hana 27 fable chen 10 harbor ivan 10 cobalt alice 25 indigo hana 18 amber eli
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035933-p1
Identify and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
27 indigo kim 3 indigo bruno 8 ember dina 11 indigo ivan 30 indigo lina 28 juniper gus 13 harbor farah
30
22 birch eli 28 indigo ivan 9 grove ivan 1 indigo farah 3 ember hana 27 fable chen 10 harbor ivan 10 cobalt alice 25 indigo hana 18 amber eli
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035933
qwen/qwen3.7-plus
awkweave-0035934
Count all input records and print the total.
END{print NR}
farah 18 bruno 6 dina 113 eli 120 lina 8 bruno 47 chen 70 eli 102 jules 86 jules 66
10
kim 31 jules 8 bruno 114 kim 80 farah 116 eli 7 jules 67 jules 57
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035934-p1
Count the total number of input records and print the result.
END{print NR}
farah 18 bruno 6 dina 113 eli 120 lina 8 bruno 47 chen 70 eli 102 jules 86 jules 66
10
kim 31 jules 8 bruno 114 kim 80 farah 116 eli 7 jules 67 jules 57
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035934
qwen/qwen3.7-plus
awkweave-0035935
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana ember 81 ivan cobalt 80 gus harbor 29 bruno indigo 90 jules birch 48 alice birch 61 hana ember 81 kim harbor 100 eli ember 53 dina amber 116
hana ember 81 ivan cobalt 80 gus harbor 29 bruno indigo 90 jules birch 48 alice birch 61 kim harbor 100 eli ember 53 dina amber 116
farah harbor 0 hana grove 100 eli birch 52 kim ember 69 alice juniper 66 eli birch 19 hana grove 100 alice amber 80
farah harbor 0 hana grove 100 eli birch 52 kim ember 69 alice juniper 66 eli birch 19 alice amber 80
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035935-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
hana ember 81 ivan cobalt 80 gus harbor 29 bruno indigo 90 jules birch 48 alice birch 61 hana ember 81 kim harbor 100 eli ember 53 dina amber 116
hana ember 81 ivan cobalt 80 gus harbor 29 bruno indigo 90 jules birch 48 alice birch 61 kim harbor 100 eli ember 53 dina amber 116
farah harbor 0 hana grove 100 eli birch 52 kim ember 69 alice juniper 66 eli birch 19 hana grove 100 alice amber 80
farah harbor 0 hana grove 100 eli birch 52 kim ember 69 alice juniper 66 eli birch 19 alice amber 80
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035935
qwen/qwen3.7-plus
awkweave-0035936
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
farah indigo 17 chen juniper 50 chen birch 68 chen ember 11 chen fable 96 gus juniper 10 gus ember 74 dina fable 56
farah indigo 17 chen juniper 50 gus juniper 10 dina fable 56
jules amber 50 chen amber 31 bruno ember 92 jules amber 87 bruno delta 55 gus harbor 42 dina amber 102 kim ember 102 hana amber 101 ivan harbor 55
jules amber 50 chen amber 31 bruno ember 92 gus harbor 42 dina amber 102 kim ember 102 hana amber 101 ivan harbor 55
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035936-p1
Retain only the initial line for every unique value in column 1, while preserving the original input order.
!seen[$1]++
farah indigo 17 chen juniper 50 chen birch 68 chen ember 11 chen fable 96 gus juniper 10 gus ember 74 dina fable 56
farah indigo 17 chen juniper 50 gus juniper 10 dina fable 56
jules amber 50 chen amber 31 bruno ember 92 jules amber 87 bruno delta 55 gus harbor 42 dina amber 102 kim ember 102 hana amber 101 ivan harbor 55
jules amber 50 chen amber 31 bruno ember 92 gus harbor 42 dina amber 102 kim ember 102 hana amber 101 ivan harbor 55
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035936
qwen/qwen3.7-plus
awkweave-0035937
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 23 birch farah 18 grove kim 23 amber hana 3 birch hana 2 ember alice 10 harbor gus 26 indigo
bruno 23 farah 41 kim 64 hana 67 hana 69 alice 79 gus 105
chen 5 indigo eli 9 fable lina 13 harbor gus 16 delta chen 30 delta lina 6 ember hana 15 cobalt alice 23 grove lina 26 amber
chen 5 eli 14 lina 27 gus 43 chen 73 lina 79 hana 94 alice 117 lina 143
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035937-p1
For each record, output column 1 alongside the cumulative sum of column 2, with a space separating them.
{s+=$2;print $1,s}
bruno 23 birch farah 18 grove kim 23 amber hana 3 birch hana 2 ember alice 10 harbor gus 26 indigo
bruno 23 farah 41 kim 64 hana 67 hana 69 alice 79 gus 105
chen 5 indigo eli 9 fable lina 13 harbor gus 16 delta chen 30 delta lina 6 ember hana 15 cobalt alice 23 grove lina 26 amber
chen 5 eli 14 lina 27 gus 43 chen 73 lina 79 hana 94 alice 117 lina 143
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035937
qwen/qwen3.7-plus
awkweave-0035938
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 7 15 indigo ivan 22 11 juniper chen 2 16 juniper chen 4 21 cobalt alice 11 25 ember bruno 16 1 grove jules 21 10 amber bruno 13 24 delta dina 23 10 delta ivan 25 19 ember
hana 22 ivan 33 chen 18 chen 25 alice 36 bruno 17 jules 31 bruno 37 dina 33 ivan 44
farah 16 30 ember eli 12 19 indigo dina 21 14 juniper gus 3 18 ember lina 21 15 amber lina 1 10 harbor bruno 21 8 grove
farah 46 eli 31 dina 35 gus 21 lina 36 lina 11 bruno 29
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035938-p1
For each row, output field 1 followed by the combined total of fields 2 and 3.
{print $1,$2+$3}
hana 7 15 indigo ivan 22 11 juniper chen 2 16 juniper chen 4 21 cobalt alice 11 25 ember bruno 16 1 grove jules 21 10 amber bruno 13 24 delta dina 23 10 delta ivan 25 19 ember
hana 22 ivan 33 chen 18 chen 25 alice 36 bruno 17 jules 31 bruno 37 dina 33 ivan 44
farah 16 30 ember eli 12 19 indigo dina 21 14 juniper gus 3 18 ember lina 21 15 amber lina 1 10 harbor bruno 21 8 grove
farah 46 eli 31 dina 35 gus 21 lina 36 lina 11 bruno 29
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035938
qwen/qwen3.7-plus
awkweave-0035939
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
chen 27 bruno 26 bruno 27 kim 7 hana 1 gus 14 hana 25 hana 11 dina 30 hana 12
chen pass bruno pass bruno pass kim fail hana fail gus fail hana pass hana fail dina pass hana fail
lina 15 gus 22 alice 22 ivan 27 dina 14 alice 22 lina 6 kim 27 kim 11 alice 13
lina fail gus pass alice pass ivan pass dina fail alice pass lina fail kim pass kim fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035939-p1
Output column 1 along with 'pass' if column 2 is 22 or greater; otherwise, output 'fail'.
{print $1,($2>=22?"pass":"fail")}
chen 27 bruno 26 bruno 27 kim 7 hana 1 gus 14 hana 25 hana 11 dina 30 hana 12
chen pass bruno pass bruno pass kim fail hana fail gus fail hana pass hana fail dina pass hana fail
lina 15 gus 22 alice 22 ivan 27 dina 14 alice 22 lina 6 kim 27 kim 11 alice 13
lina fail gus pass alice pass ivan pass dina fail alice pass lina fail kim pass kim fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035939
qwen/qwen3.7-plus
awkweave-0035940
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina birch 47 farah cobalt 94 gus juniper 101 jules juniper 89 alice indigo 58 gus delta 43 bruno juniper 91
BIRCH COBALT JUNIPER JUNIPER INDIGO DELTA JUNIPER
bruno juniper 83 farah indigo 71 dina ember 21 kim fable 59 farah cobalt 23 jules cobalt 55 chen birch 40 farah indigo 120
JUNIPER INDIGO EMBER FABLE COBALT COBALT BIRCH INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0035940-p1
Transform the content of column 2 to uppercase and print only that column.
{print toupper($2)}
dina birch 47 farah cobalt 94 gus juniper 101 jules juniper 89 alice indigo 58 gus delta 43 bruno juniper 91
BIRCH COBALT JUNIPER JUNIPER INDIGO DELTA JUNIPER
bruno juniper 83 farah indigo 71 dina ember 21 kim fable 59 farah cobalt 23 jules cobalt 55 chen birch 40 farah indigo 120
JUNIPER INDIGO EMBER FABLE COBALT COBALT BIRCH INDIGO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0035940
qwen/qwen3.7-plus
awkweave-0035941
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
fable 16 cobalt 103 juniper 67 ember 114 cobalt 24 harbor 102 juniper 87 ember 51 amber 38
ble balt nipe ber balt rbor nipe ber ber
harbor 12 indigo 44 amber 78 birch 99 juniper 114 ember 98 grove 88
rbor digo ber rch nipe ber ove
substring
1
train
original-grammar
CC-BY-4.0
null
null