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-0009830-p1
Output the entire records for which the value in column 2 is greater than or equal to 52.
$2 >= 52
active 118 dina failed closed 75 kim paused failed 1 gus ready active 21 hana ready paused 22 dina pending closed 72 farah closed paused 27 alice closed ready 114 farah failed active 84 gus pending active 60 alice failed
active 118 dina failed closed 75 kim paused closed 72 farah closed ready 114 farah failed active 84 gus pending active 60 alice failed
active 23 chen paused paused 61 chen closed failed 59 bruno paused active 57 chen closed closed 90 eli closed pending 52 hana ready
paused 61 chen closed failed 59 bruno paused active 57 chen closed closed 90 eli closed pending 52 hana ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009830
qwen/qwen3.7-plus
awkweave-0009831
Show whole lines whose 1st field is between 10 and 29, inclusive.
$1 >= 10 && $1 <= 29
4 farah gus juniper 25 jules dina cobalt 21 kim kim juniper 23 gus kim birch 27 alice gus birch 14 alice bruno indigo
25 jules dina cobalt 21 kim kim juniper 23 gus kim birch 27 alice gus birch 14 alice bruno indigo
10 hana lina indigo 26 chen gus ember 23 gus dina amber 8 hana dina grove 15 dina kim juniper 10 lina chen cobalt 29 farah ivan indigo 14 chen ivan juniper 3 gus ivan juniper
10 hana lina indigo 26 chen gus ember 23 gus dina amber 15 dina kim juniper 10 lina chen cobalt 29 farah ivan indigo 14 chen ivan juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009831-p1
Display complete lines where the first field falls within the inclusive range of 10 to 29.
$1 >= 10 && $1 <= 29
4 farah gus juniper 25 jules dina cobalt 21 kim kim juniper 23 gus kim birch 27 alice gus birch 14 alice bruno indigo
25 jules dina cobalt 21 kim kim juniper 23 gus kim birch 27 alice gus birch 14 alice bruno indigo
10 hana lina indigo 26 chen gus ember 23 gus dina amber 8 hana dina grove 15 dina kim juniper 10 lina chen cobalt 29 farah ivan indigo 14 chen ivan juniper 3 gus ivan juniper
10 hana lina indigo 26 chen gus ember 23 gus dina amber 15 dina kim juniper 10 lina chen cobalt 29 farah ivan indigo 14 chen ivan juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009831
qwen/qwen3.7-plus
awkweave-0009832
Print column 2 only for rows where column 3 is exactly paused.
$3 == "paused"{print $2}
65 gus active cobalt 40 dina pending amber 86 farah active ember 15 eli active fable 95 bruno closed harbor 85 eli paused ember 119 eli paused delta 108 lina failed grove 90 gus active cobalt 55 hana closed harbor
eli eli
97 eli pending cobalt 10 dina failed birch 16 ivan failed juniper 11 kim ready grove 91 gus active juniper 29 lina active juniper 20 farah ready fable 90 lina ready harbor 93 lina closed amber 10 farah failed grove
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009832-p1
Output only the second column for rows where the third column contains exactly the text 'paused'.
$3 == "paused"{print $2}
65 gus active cobalt 40 dina pending amber 86 farah active ember 15 eli active fable 95 bruno closed harbor 85 eli paused ember 119 eli paused delta 108 lina failed grove 90 gus active cobalt 55 hana closed harbor
eli eli
97 eli pending cobalt 10 dina failed birch 16 ivan failed juniper 11 kim ready grove 91 gus active juniper 29 lina active juniper 20 farah ready fable 90 lina ready harbor 93 lina closed amber 10 farah failed grove
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009832
qwen/qwen3.7-plus
awkweave-0009833
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
8 ember ERROR 73 amber INFO 72 delta DEBUG 109 amber INFO 89 delta DEBUG 96 cobalt ERROR
8 ember ERROR 96 cobalt ERROR
22 juniper ERROR 105 amber DEBUG 93 fable DEBUG 106 amber INFO 16 indigo WARN 112 birch ERROR
22 juniper ERROR 112 birch ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009833-p1
Print all fields from lines where the third field starts with the string 'ERROR'.
$3 ~ /^ERROR/
8 ember ERROR 73 amber INFO 72 delta DEBUG 109 amber INFO 89 delta DEBUG 96 cobalt ERROR
8 ember ERROR 96 cobalt ERROR
22 juniper ERROR 105 amber DEBUG 93 fable DEBUG 106 amber INFO 16 indigo WARN 112 birch ERROR
22 juniper ERROR 112 birch ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009833
qwen/qwen3.7-plus
awkweave-0009834
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
harbor 10 ready ember 23 pending indigo 105 pending cobalt 94 ready amber 105 failed amber 61 pending grove 49 active amber 97 failed cobalt 35 pending juniper 999 active
harbor 10 ready ember 23 pending indigo 105 pending cobalt 94 ready amber 105 failed amber 61 pending grove 49 active amber 97 failed cobalt 35 pending
juniper 34 active indigo 43 paused ember 91 ready indigo 98 ready birch 34 ready harbor 62 paused indigo 35 active amber 11 active juniper 999 active
indigo 43 paused ember 91 ready indigo 98 ready birch 34 ready harbor 62 paused indigo 35 active amber 11 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009834-p1
Output every line except those that contain the exact string 'juniper'.
$0 !~ /juniper/
harbor 10 ready ember 23 pending indigo 105 pending cobalt 94 ready amber 105 failed amber 61 pending grove 49 active amber 97 failed cobalt 35 pending juniper 999 active
harbor 10 ready ember 23 pending indigo 105 pending cobalt 94 ready amber 105 failed amber 61 pending grove 49 active amber 97 failed cobalt 35 pending
juniper 34 active indigo 43 paused ember 91 ready indigo 98 ready birch 34 ready harbor 62 paused indigo 35 active amber 11 active juniper 999 active
indigo 43 paused ember 91 ready indigo 98 ready birch 34 ready harbor 62 paused indigo 35 active amber 11 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009834
qwen/qwen3.7-plus
awkweave-0009835
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah delta 98 hana harbor 102 alice delta 12 lina indigo 100 jules grove 82 hana delta 14 ivan grove 6
alice delta 12 lina indigo 100
farah harbor 47 bruno juniper 40 hana harbor 107 kim indigo 42 farah amber 0 eli grove 77 ivan grove 76 ivan harbor 89 hana grove 77
hana harbor 107 kim indigo 42
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009835-p1
Print lines 3 through 4, inclusive.
NR >= 3 && NR <= 4
farah delta 98 hana harbor 102 alice delta 12 lina indigo 100 jules grove 82 hana delta 14 ivan grove 6
alice delta 12 lina indigo 100
farah harbor 47 bruno juniper 40 hana harbor 107 kim indigo 42 farah amber 0 eli grove 77 ivan grove 76 ivan harbor 89 hana grove 77
hana harbor 107 kim indigo 42
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009835
qwen/qwen3.7-plus
awkweave-0009836
Output only the first 3 records.
NR <= 3
hana 19 amber farah 80 cobalt farah 57 juniper chen 91 fable kim 59 harbor lina 73 delta jules 39 fable
hana 19 amber farah 80 cobalt farah 57 juniper
dina 39 birch kim 0 harbor hana 113 grove alice 53 fable farah 103 juniper eli 120 cobalt
dina 39 birch kim 0 harbor hana 113 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009836-p1
Display only the initial three records.
NR <= 3
hana 19 amber farah 80 cobalt farah 57 juniper chen 91 fable kim 59 harbor lina 73 delta jules 39 fable
hana 19 amber farah 80 cobalt farah 57 juniper
dina 39 birch kim 0 harbor hana 113 grove alice 53 fable farah 103 juniper eli 120 cobalt
dina 39 birch kim 0 harbor hana 113 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009836
qwen/qwen3.7-plus
awkweave-0009837
Skip the first line and print every remaining line unchanged.
NR > 1
jules 32 indigo ivan 40 amber bruno 18 delta bruno 13 amber chen 88 fable ivan 34 harbor jules 21 ember hana 53 fable
ivan 40 amber bruno 18 delta bruno 13 amber chen 88 fable ivan 34 harbor jules 21 ember hana 53 fable
ivan 110 juniper alice 58 amber hana 113 juniper hana 20 grove hana 115 fable gus 107 harbor gus 66 fable gus 37 indigo eli 64 cobalt
alice 58 amber hana 113 juniper hana 20 grove hana 115 fable gus 107 harbor gus 66 fable gus 37 indigo eli 64 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009837-p1
Omit the header line and output all subsequent lines exactly as they appear.
NR > 1
jules 32 indigo ivan 40 amber bruno 18 delta bruno 13 amber chen 88 fable ivan 34 harbor jules 21 ember hana 53 fable
ivan 40 amber bruno 18 delta bruno 13 amber chen 88 fable ivan 34 harbor jules 21 ember hana 53 fable
ivan 110 juniper alice 58 amber hana 113 juniper hana 20 grove hana 115 fable gus 107 harbor gus 66 fable gus 37 indigo eli 64 cobalt
alice 58 amber hana 113 juniper hana 20 grove hana 115 fable gus 107 harbor gus 66 fable gus 37 indigo eli 64 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009837
qwen/qwen3.7-plus
awkweave-0009838
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
eli pending 110 ivan active 116 chen pending 72 chen ready 50 gus pending 58 jules ready 91 lina closed 77 bruno closed 2
0
lina ready 31 lina paused 93 jules failed 38 jules active 77 jules closed 58 eli pending 106 farah pending 64 kim closed 56 eli active 33 gus failed 118
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009838-p1
Determine the number of entries where column 2 contains 'paused', outputting 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
eli pending 110 ivan active 116 chen pending 72 chen ready 50 gus pending 58 jules ready 91 lina closed 77 bruno closed 2
0
lina ready 31 lina paused 93 jules failed 38 jules active 77 jules closed 58 eli pending 106 farah pending 64 kim closed 56 eli active 33 gus failed 118
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009838
qwen/qwen3.7-plus
awkweave-0009839
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
fable eli 18 ember farah 13 birch farah 23 harbor gus 1 birch lina 4 grove jules 30 ember lina 1 amber bruno 26 amber bruno 16
132
fable jules 17 fable ivan 13 delta bruno 6 ember ivan 4 ember farah 21 cobalt alice 13
74
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009839-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
fable eli 18 ember farah 13 birch farah 23 harbor gus 1 birch lina 4 grove jules 30 ember lina 1 amber bruno 26 amber bruno 16
132
fable jules 17 fable ivan 13 delta bruno 6 ember ivan 4 ember farah 21 cobalt alice 13
74
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009839
qwen/qwen3.7-plus
awkweave-0009840
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 9 fable bruno 1 delta gus 4 amber gus 9 delta alice 7 birch jules 9 indigo hana 22 fable bruno 25 ember kim 11 indigo
10.78
bruno 6 harbor chen 27 harbor chen 11 grove eli 21 delta chen 16 cobalt lina 22 delta chen 15 juniper bruno 25 birch
17.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009840-p1
Output the average value of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 9 fable bruno 1 delta gus 4 amber gus 9 delta alice 7 birch jules 9 indigo hana 22 fable bruno 25 ember kim 11 indigo
10.78
bruno 6 harbor chen 27 harbor chen 11 grove eli 21 delta chen 16 cobalt lina 22 delta chen 15 juniper bruno 25 birch
17.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009840
qwen/qwen3.7-plus
awkweave-0009841
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt jules 17 delta dina 22 delta gus 25 harbor bruno 9 cobalt hana 2 cobalt eli 15 birch bruno 30
2
birch eli 23 grove dina 5 fable jules 1 delta chen 5 cobalt hana 16 harbor chen 16 juniper bruno 15 fable farah 19
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009841-p1
Identify and print the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt jules 17 delta dina 22 delta gus 25 harbor bruno 9 cobalt hana 2 cobalt eli 15 birch bruno 30
2
birch eli 23 grove dina 5 fable jules 1 delta chen 5 cobalt hana 16 harbor chen 16 juniper bruno 15 fable farah 19
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009841
qwen/qwen3.7-plus
awkweave-0009842
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim indigo 28 ivan delta 5 farah harbor 6 dina fable 11 farah grove 22 ivan harbor 16 lina amber 3 farah harbor 7 alice juniper 1
28
bruno delta 8 hana grove 1 ivan grove 9 farah juniper 21 gus birch 5 ivan fable 26
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009842-p1
Identify and print the maximum numeric value present in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
kim indigo 28 ivan delta 5 farah harbor 6 dina fable 11 farah grove 22 ivan harbor 16 lina amber 3 farah harbor 7 alice juniper 1
28
bruno delta 8 hana grove 1 ivan grove 9 farah juniper 21 gus birch 5 ivan fable 26
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009842
qwen/qwen3.7-plus
awkweave-0009843
Count all input records and print the total.
END{print NR}
bruno 43 dina 66 jules 104 eli 100 bruno 38 alice 102 jules 98 ivan 55 eli 50 jules 72
10
jules 104 alice 100 farah 58 gus 118 gus 11 dina 67 eli 83
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009843-p1
Count the total number of input records and print the result.
END{print NR}
bruno 43 dina 66 jules 104 eli 100 bruno 38 alice 102 jules 98 ivan 55 eli 50 jules 72
10
jules 104 alice 100 farah 58 gus 118 gus 11 dina 67 eli 83
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009843
qwen/qwen3.7-plus
awkweave-0009844
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli grove 117 eli grove 117 alice amber 36 eli birch 81 kim ember 12 alice amber 27 jules indigo 102 ivan grove 7 chen delta 10
eli grove 117 alice amber 36 eli birch 81 kim ember 12 alice amber 27 jules indigo 102 ivan grove 7 chen delta 10
jules juniper 14 jules amber 29 hana delta 12 kim juniper 117 jules juniper 14 hana delta 61 gus amber 32
jules juniper 14 jules amber 29 hana delta 12 kim juniper 117 hana delta 61 gus amber 32
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009844-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
eli grove 117 eli grove 117 alice amber 36 eli birch 81 kim ember 12 alice amber 27 jules indigo 102 ivan grove 7 chen delta 10
eli grove 117 alice amber 36 eli birch 81 kim ember 12 alice amber 27 jules indigo 102 ivan grove 7 chen delta 10
jules juniper 14 jules amber 29 hana delta 12 kim juniper 117 jules juniper 14 hana delta 61 gus amber 32
jules juniper 14 jules amber 29 hana delta 12 kim juniper 117 hana delta 61 gus amber 32
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009844
qwen/qwen3.7-plus
awkweave-0009845
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
eli fable 9 jules juniper 58 ivan birch 67 alice ember 41 lina harbor 88 ivan grove 46 alice ember 17 gus fable 57 bruno fable 107
eli fable 9 jules juniper 58 ivan birch 67 alice ember 41 lina harbor 88 gus fable 57 bruno fable 107
jules grove 83 alice birch 23 ivan juniper 72 eli cobalt 110 kim ember 89 gus birch 76
jules grove 83 alice birch 23 ivan juniper 72 eli cobalt 110 kim ember 89 gus birch 76
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009845-p1
Retain only the first occurrence for every unique value in column 1, preserving the original sequence.
!seen[$1]++
eli fable 9 jules juniper 58 ivan birch 67 alice ember 41 lina harbor 88 ivan grove 46 alice ember 17 gus fable 57 bruno fable 107
eli fable 9 jules juniper 58 ivan birch 67 alice ember 41 lina harbor 88 gus fable 57 bruno fable 107
jules grove 83 alice birch 23 ivan juniper 72 eli cobalt 110 kim ember 89 gus birch 76
jules grove 83 alice birch 23 ivan juniper 72 eli cobalt 110 kim ember 89 gus birch 76
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009845
qwen/qwen3.7-plus
awkweave-0009846
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 12 grove eli 30 fable ivan 4 fable alice 26 harbor kim 25 indigo gus 7 harbor
eli 12 eli 42 ivan 46 alice 72 kim 97 gus 104
lina 28 amber bruno 22 ember gus 9 indigo lina 29 birch gus 24 cobalt hana 15 ember bruno 18 delta lina 24 cobalt jules 13 amber
lina 28 bruno 50 gus 59 lina 88 gus 112 hana 127 bruno 145 lina 169 jules 182
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009846-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 12 grove eli 30 fable ivan 4 fable alice 26 harbor kim 25 indigo gus 7 harbor
eli 12 eli 42 ivan 46 alice 72 kim 97 gus 104
lina 28 amber bruno 22 ember gus 9 indigo lina 29 birch gus 24 cobalt hana 15 ember bruno 18 delta lina 24 cobalt jules 13 amber
lina 28 bruno 50 gus 59 lina 88 gus 112 hana 127 bruno 145 lina 169 jules 182
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009846
qwen/qwen3.7-plus
awkweave-0009847
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 29 24 juniper gus 16 8 delta gus 22 6 birch alice 24 4 juniper kim 18 17 birch dina 19 14 harbor
chen 53 gus 24 gus 28 alice 28 kim 35 dina 33
farah 24 1 grove bruno 19 28 ember eli 27 4 delta alice 2 4 ember gus 18 1 amber ivan 4 9 fable eli 23 28 indigo ivan 15 22 grove kim 20 24 delta
farah 25 bruno 47 eli 31 alice 6 gus 19 ivan 13 eli 51 ivan 37 kim 44
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009847-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 29 24 juniper gus 16 8 delta gus 22 6 birch alice 24 4 juniper kim 18 17 birch dina 19 14 harbor
chen 53 gus 24 gus 28 alice 28 kim 35 dina 33
farah 24 1 grove bruno 19 28 ember eli 27 4 delta alice 2 4 ember gus 18 1 amber ivan 4 9 fable eli 23 28 indigo ivan 15 22 grove kim 20 24 delta
farah 25 bruno 47 eli 31 alice 6 gus 19 ivan 13 eli 51 ivan 37 kim 44
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009847
qwen/qwen3.7-plus
awkweave-0009848
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
alice 30 ivan 3 lina 25 alice 21 jules 26 ivan 7 bruno 1 alice 12
alice pass ivan fail lina pass alice fail jules pass ivan fail bruno fail alice fail
gus 29 chen 29 eli 18 ivan 27 hana 29 eli 9 eli 8 gus 14
gus pass chen pass eli fail ivan pass hana pass eli fail eli fail gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009848-p1
Output the value in column 1; if column 2 is 24 or higher, output 'pass', otherwise output 'fail'.
{print $1,($2>=24?"pass":"fail")}
alice 30 ivan 3 lina 25 alice 21 jules 26 ivan 7 bruno 1 alice 12
alice pass ivan fail lina pass alice fail jules pass ivan fail bruno fail alice fail
gus 29 chen 29 eli 18 ivan 27 hana 29 eli 9 eli 8 gus 14
gus pass chen pass eli fail ivan pass hana pass eli fail eli fail gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009848
qwen/qwen3.7-plus
awkweave-0009849
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus grove 43 gus harbor 73 dina birch 88 jules fable 100 hana ember 37 dina grove 74 hana indigo 35 alice indigo 61 farah cobalt 93
GUS GUS DINA JULES HANA DINA HANA ALICE FARAH
kim grove 16 farah indigo 96 eli delta 46 kim indigo 8 hana grove 79 alice harbor 54 hana juniper 38 bruno ember 36
KIM FARAH ELI KIM HANA ALICE HANA BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009849-p1
Transform column 1 to uppercase and display only that modified column.
{print toupper($1)}
gus grove 43 gus harbor 73 dina birch 88 jules fable 100 hana ember 37 dina grove 74 hana indigo 35 alice indigo 61 farah cobalt 93
GUS GUS DINA JULES HANA DINA HANA ALICE FARAH
kim grove 16 farah indigo 96 eli delta 46 kim indigo 8 hana grove 79 alice harbor 54 hana juniper 38 bruno ember 36
KIM FARAH ELI KIM HANA ALICE HANA BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009849
qwen/qwen3.7-plus
awkweave-0009850
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
fable 27 harbor 25 harbor 69 ember 65 indigo 65 ember 44 amber 50 birch 104 grove 28
ble rbo rbo ber dig ber ber rch ove
indigo 73 birch 82 grove 75 ember 51 grove 10 juniper 88 indigo 35 cobalt 94
dig rch ove ber ove nip dig bal
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009850-p1
Extract and print a 3-character substring from column 1, beginning at the 3rd character.
{print substr($1,3,3)}
fable 27 harbor 25 harbor 69 ember 65 indigo 65 ember 44 amber 50 birch 104 grove 28
ble rbo rbo ber dig ber ber rch ove
indigo 73 birch 82 grove 75 ember 51 grove 10 juniper 88 indigo 35 cobalt 94
dig rch ove ber ove nip dig bal
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009850
qwen/qwen3.7-plus
awkweave-0009851
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_birch 74 delta_harbor 6 harbor_indigo 100 cobalt_fable 9 ember_delta 15 birch_birch 103 fable_harbor 33 cobalt_ember 27 ember_fable 50 indigo_juniper 50
juniper birch delta harbor harbor indigo cobalt fable ember delta birch birch fable harbor cobalt ember ember fable indigo juniper
ember_cobalt 5 grove_grove 99 harbor_harbor 17 cobalt_ember 85 birch_amber 38 ember_indigo 103 birch_indigo 109 amber_ember 118 delta_cobalt 77
ember cobalt grove grove harbor harbor cobalt ember birch amber ember indigo birch indigo amber ember delta cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009851-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_birch 74 delta_harbor 6 harbor_indigo 100 cobalt_fable 9 ember_delta 15 birch_birch 103 fable_harbor 33 cobalt_ember 27 ember_fable 50 indigo_juniper 50
juniper birch delta harbor harbor indigo cobalt fable ember delta birch birch fable harbor cobalt ember ember fable indigo juniper
ember_cobalt 5 grove_grove 99 harbor_harbor 17 cobalt_ember 85 birch_amber 38 ember_indigo 103 birch_indigo 109 amber_ember 118 delta_cobalt 77
ember cobalt grove grove harbor harbor cobalt ember birch amber ember indigo birch indigo amber ember delta cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009851
qwen/qwen3.7-plus
awkweave-0009852
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)}
gus ember 32 ready farah grove 2 closed alice indigo 104 ready farah ember 27 paused kim indigo 72 pending bruno indigo 8 closed farah cobalt 12 paused gus harbor 82 closed
ready 32 ember gus closed 2 grove farah ready 104 indigo alice paused 27 ember farah pending 72 indigo kim closed 8 indigo bruno paused 12 cobalt farah closed 82 harbor gus
hana delta 20 closed alice indigo 44 active kim ember 77 failed kim ember 106 active kim amber 78 closed gus indigo 36 paused
closed 20 delta hana active 44 indigo alice failed 77 ember kim active 106 ember kim closed 78 amber kim paused 36 indigo gus
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009852-p1
Reverse the sequence of fields for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus ember 32 ready farah grove 2 closed alice indigo 104 ready farah ember 27 paused kim indigo 72 pending bruno indigo 8 closed farah cobalt 12 paused gus harbor 82 closed
ready 32 ember gus closed 2 grove farah ready 104 indigo alice paused 27 ember farah pending 72 indigo kim closed 8 indigo bruno paused 12 cobalt farah closed 82 harbor gus
hana delta 20 closed alice indigo 44 active kim ember 77 failed kim ember 106 active kim amber 78 closed gus indigo 36 paused
closed 20 delta hana active 44 indigo alice failed 77 ember kim active 106 ember kim closed 78 amber kim paused 36 indigo gus
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009852
qwen/qwen3.7-plus
awkweave-0009853
Print the number of whitespace-separated fields on each line.
{print NF}
ivan grove 82 ready bruno juniper 14 active lina juniper 27 paused lina indigo 50 failed chen indigo 7 failed hana delta 26 paused jules amber 43 ready
4 4 4 4 4 4 4
alice harbor 106 paused eli cobalt 84 active ivan delta 26 active hana ember 13 failed lina harbor 84 active jules amber 78 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009853-p1
Output the count of whitespace-delimited fields present in each line.
{print NF}
ivan grove 82 ready bruno juniper 14 active lina juniper 27 paused lina indigo 50 failed chen indigo 7 failed hana delta 26 paused jules amber 43 ready
4 4 4 4 4 4 4
alice harbor 106 paused eli cobalt 84 active ivan delta 26 active hana ember 13 failed lina harbor 84 active jules amber 78 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009853
qwen/qwen3.7-plus
awkweave-0009854
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]]}
dina beta 111 kim delta 82 kim alpha 116 hana beta 7 dina delta 53 gus beta 69 chen delta 73
beta 3 delta 3 alpha 1
jules alpha 55 jules beta 9 eli alpha 64 gus gamma 107 alice alpha 62 lina gamma 11 eli gamma 100 ivan beta 117 gus beta 36
alpha 3 beta 3 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009854-p1
Tally the number of records for each unique value in column 2, then print each value alongside its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
dina beta 111 kim delta 82 kim alpha 116 hana beta 7 dina delta 53 gus beta 69 chen delta 73
beta 3 delta 3 alpha 1
jules alpha 55 jules beta 9 eli alpha 64 gus gamma 107 alice alpha 62 lina gamma 11 eli gamma 100 ivan beta 117 gus beta 36
alpha 3 beta 3 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009854
qwen/qwen3.7-plus
awkweave-0009855
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 delta 20 lina alpha 9 eli alpha 18 chen gamma 8 lina alpha 9 chen alpha 12 ivan gamma 24 dina gamma 19 hana alpha 23 ivan delta 9
delta 29 alpha 71 gamma 51
eli beta 7 dina delta 29 ivan delta 28 bruno gamma 23 jules gamma 8 ivan beta 17 gus gamma 29 bruno delta 12 hana delta 12 lina beta 17
beta 41 delta 81 gamma 60
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009855-p1
Calculate the sum of column 3 for each group defined by column 2, printing 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 delta 20 lina alpha 9 eli alpha 18 chen gamma 8 lina alpha 9 chen alpha 12 ivan gamma 24 dina gamma 19 hana alpha 23 ivan delta 9
delta 29 alpha 71 gamma 51
eli beta 7 dina delta 29 ivan delta 28 bruno gamma 23 jules gamma 8 ivan beta 17 gus gamma 29 bruno delta 12 hana delta 12 lina beta 17
beta 41 delta 81 gamma 60
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009855
qwen/qwen3.7-plus
awkweave-0009856
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 fable 38 delta birch 89 gamma grove 38 alpha birch 40 beta fable 118 gamma juniper 103
alpha 2 gamma 2
delta amber 17 beta amber 111 gamma harbor 73 alpha harbor 38 gamma harbor 27 delta grove 65 gamma harbor 89 gamma cobalt 53 beta birch 36 alpha grove 92
delta 2 beta 2 gamma 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009856-p1
Identify duplicate values in column 1 and print each one with its occurrence count, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha fable 38 delta birch 89 gamma grove 38 alpha birch 40 beta fable 118 gamma juniper 103
alpha 2 gamma 2
delta amber 17 beta amber 111 gamma harbor 73 alpha harbor 38 gamma harbor 27 delta grove 65 gamma harbor 89 gamma cobalt 53 beta birch 36 alpha grove 92
delta 2 beta 2 gamma 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009856
qwen/qwen3.7-plus
awkweave-0009857
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state record_id region score r001 chen 4 pending r002 chen 6 paused r003 alice 12 pending r004 lina 7 failed r005 alice 23 ready r006 jules 13 failed
pending paused pending failed ready failed
state record_id region score r001 eli 12 ready r002 hana 8 pending r003 kim 6 paused r004 jules 25 failed r005 jules 17 active r006 eli 7 pending r007 hana 22 active r008 jules 20 active r009 jules 30 failed
ready pending paused failed active pending active active failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009857-p1
Treating the first row as a header, output the values from the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state record_id region score r001 chen 4 pending r002 chen 6 paused r003 alice 12 pending r004 lina 7 failed r005 alice 23 ready r006 jules 13 failed
pending paused pending failed ready failed
state record_id region score r001 eli 12 ready r002 hana 8 pending r003 kim 6 paused r004 jules 25 failed r005 jules 17 active r006 eli 7 pending r007 hana 22 active r008 jules 20 active r009 jules 30 failed
ready pending paused failed active pending active active failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009857
qwen/qwen3.7-plus
awkweave-0009858
The first row is a header. Print display_name for data rows whose score is greater than 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 bruno 27 active r002 gus 10 active r003 kim 26 failed r004 ivan 3 paused r005 jules 28 active r006 kim 5 pending r007 chen 5 ready
bruno kim jules
record_id display_name score state r001 chen 25 ready r002 jules 19 ready r003 jules 14 pending r004 gus 7 closed r005 hana 12 paused r006 jules 26 active r007 dina 6 pending
chen jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009858-p1
With the first row as a header, output the display_name for data rows where the score exceeds 22.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]}
record_id display_name score state r001 bruno 27 active r002 gus 10 active r003 kim 26 failed r004 ivan 3 paused r005 jules 28 active r006 kim 5 pending r007 chen 5 ready
bruno kim jules
record_id display_name score state r001 chen 25 ready r002 jules 19 ready r003 jules 14 pending r004 gus 7 closed r005 hana 12 paused r006 jules 26 active r007 dina 6 pending
chen jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009858
qwen/qwen3.7-plus
awkweave-0009859
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 9 ready lina 25 pending farah 22 active ivan 11 closed eli 28 ready hana 1 paused farah 3 failed dina 25 closed eli 29 paused ivan 30 closed
ready pending active closed ready paused failed closed paused closed
jules 25 pending lina 24 failed ivan 23 failed jules 2 paused farah 19 ready chen 2 active bruno 22 paused farah 27 active
pending failed failed paused ready active paused active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009859-p1
Given tab-separated input, output the value in column 3 for every record.
BEGIN{FS=OFS="\t"}{print $3}
kim 9 ready lina 25 pending farah 22 active ivan 11 closed eli 28 ready hana 1 paused farah 3 failed dina 25 closed eli 29 paused ivan 30 closed
ready pending active closed ready paused failed closed paused closed
jules 25 pending lina 24 failed ivan 23 failed jules 2 paused farah 19 ready chen 2 active bruno 22 paused farah 27 active
pending failed failed paused ready active paused active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009859
qwen/qwen3.7-plus
awkweave-0009860
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
alice,5,failed dina,1,paused farah,15,ready farah,14,closed dina,3,active bruno,18,pending jules,15,closed hana,25,closed dina,3,ready
hana
bruno,3,pending jules,23,failed alice,22,ready gus,21,ready kim,5,failed hana,13,pending
jules alice gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009860-p1
Given comma-separated input without quoted commas, output the first column whenever the second column is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
alice,5,failed dina,1,paused farah,15,ready farah,14,closed dina,3,active bruno,18,pending jules,15,closed hana,25,closed dina,3,ready
hana
bruno,3,pending jules,23,failed alice,22,ready gus,21,ready kim,5,failed hana,13,pending
jules alice gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009860
qwen/qwen3.7-plus
awkweave-0009861
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli indigo 65 hana juniper 113 chen juniper 14 farah delta 118 alice indigo 14 jules ember 67
eli indigo 65 hana juniper 113 chen juniper 14 farah delta 118 alice indigo 14 jules ember 67
eli cobalt 25 dina harbor 85 jules delta 47 dina juniper 73 farah cobalt 92 hana juniper 6 alice delta 39 eli indigo 77 lina birch 3
eli cobalt 25 dina harbor 85 jules delta 47 dina juniper 73 farah cobalt 92 hana juniper 6 alice delta 39 eli indigo 77 lina birch 3
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009861-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli indigo 65 hana juniper 113 chen juniper 14 farah delta 118 alice indigo 14 jules ember 67
eli indigo 65 hana juniper 113 chen juniper 14 farah delta 118 alice indigo 14 jules ember 67
eli cobalt 25 dina harbor 85 jules delta 47 dina juniper 73 farah cobalt 92 hana juniper 6 alice delta 39 eli indigo 77 lina birch 3
eli cobalt 25 dina harbor 85 jules delta 47 dina juniper 73 farah cobalt 92 hana juniper 6 alice delta 39 eli indigo 77 lina birch 3
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009861
qwen/qwen3.7-plus
awkweave-0009862
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina juniper 26 closed hana birch 120 paused chen ember 23 active gus birch 90 ready bruno grove 7 ready hana delta 38 pending
lina juniper 26 closed
kim grove 120 paused gus cobalt 97 failed eli birch 85 closed hana juniper 1 closed bruno cobalt 111 paused hana harbor 117 paused lina juniper 17 pending
bruno cobalt 111 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009862-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
lina juniper 26 closed hana birch 120 paused chen ember 23 active gus birch 90 ready bruno grove 7 ready hana delta 38 pending
lina juniper 26 closed
kim grove 120 paused gus cobalt 97 failed eli birch 85 closed hana juniper 1 closed bruno cobalt 111 paused hana harbor 117 paused lina juniper 17 pending
bruno cobalt 111 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009862
qwen/qwen3.7-plus
awkweave-0009863
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
ivan 120 eli 31 eli 97 lina 17 lina 3 bruno 7 lina 29 dina 34 eli 2
ivan 120 lina 17 lina 29
lina 71 chen 75 jules 43 dina 33 farah 102 ivan 65 lina 106 gus 103 eli 47
lina 71 dina 33 lina 106
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009863-p1
Output every third line of the input, beginning with line 1 (i.e., lines 1, 4, 7, etc.).
NR%3==1
ivan 120 eli 31 eli 97 lina 17 lina 3 bruno 7 lina 29 dina 34 eli 2
ivan 120 lina 17 lina 29
lina 71 chen 75 jules 43 dina 33 farah 102 ivan 65 lina 106 gus 103 eli 47
lina 71 dina 33 lina 106
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009863
qwen/qwen3.7-plus
awkweave-0009864
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 70 beta juniper 60 alpha indigo 9 beta fable 39 delta indigo 56 alpha harbor 51 alpha cobalt 52 alpha juniper 31 delta birch 56 alpha birch 105
3
beta birch 113 gamma cobalt 82 delta birch 14 delta delta 58 gamma juniper 101 delta indigo 71
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009864-p1
Calculate the number of unique values found in the first column and print only that total count.
{if(!seen[$1]++)n++}END{print n+0}
beta fable 70 beta juniper 60 alpha indigo 9 beta fable 39 delta indigo 56 alpha harbor 51 alpha cobalt 52 alpha juniper 31 delta birch 56 alpha birch 105
3
beta birch 113 gamma cobalt 82 delta birch 14 delta delta 58 gamma juniper 101 delta indigo 71
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009864
qwen/qwen3.7-plus
awkweave-0009865
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}
farah 18 0 chen 5 3 kim 20 6 alice 1 16 hana 12 4 kim 24 20 farah 1 27 ivan 4 6
chen 1.67 kim 3.33 alice 0.06 hana 3.00 kim 1.20 farah 0.04 ivan 0.67
lina 8 0 lina 26 3 farah 30 4 alice 1 25 chen 8 9 ivan 16 24 jules 14 17 chen 30 6 jules 4 19 lina 11 30
lina 8.67 farah 7.50 alice 0.04 chen 0.89 ivan 0.67 jules 0.82 chen 5.00 jules 0.21 lina 0.37
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009865-p1
For each row where the third column is not zero, print 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}
farah 18 0 chen 5 3 kim 20 6 alice 1 16 hana 12 4 kim 24 20 farah 1 27 ivan 4 6
chen 1.67 kim 3.33 alice 0.06 hana 3.00 kim 1.20 farah 0.04 ivan 0.67
lina 8 0 lina 26 3 farah 30 4 alice 1 25 chen 8 9 ivan 16 24 jules 14 17 chen 30 6 jules 4 19 lina 11 30
lina 8.67 farah 7.50 alice 0.04 chen 0.89 ivan 0.67 jules 0.82 chen 5.00 jules 0.21 lina 0.37
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009865
qwen/qwen3.7-plus
awkweave-0009866
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 7 eli fable 10 bruno ember 5 ivan birch 22 bruno harbor 7 alice indigo 20 kim delta 8
ivan birch 22 alice indigo 20 eli fable 10
eli grove 1 hana juniper 9 lina delta 9 ivan juniper 8 ivan indigo 1 eli delta 24 gus indigo 14 eli birch 4 ivan fable 18 hana juniper 12
eli delta 24 ivan fable 18 gus indigo 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009866-p1
Display 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]}
farah juniper 7 eli fable 10 bruno ember 5 ivan birch 22 bruno harbor 7 alice indigo 20 kim delta 8
ivan birch 22 alice indigo 20 eli fable 10
eli grove 1 hana juniper 9 lina delta 9 ivan juniper 8 ivan indigo 1 eli delta 24 gus indigo 14 eli birch 4 ivan fable 18 hana juniper 12
eli delta 24 ivan fable 18 gus indigo 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009866
qwen/qwen3.7-plus
awkweave-0009867
For each line, output fields 5 and 2, in that order.
{print $5, $2}
delta failed delta 120 40 juniper pending grove 77 95 indigo paused delta 120 107 indigo ready harbor 46 100 juniper pending juniper 66 116 cobalt active amber 108 24 indigo ready ember 62 4
40 failed 95 pending 107 paused 100 ready 116 pending 24 active 4 ready
indigo active birch 34 26 amber failed ember 66 0 grove pending grove 27 31 fable paused harbor 25 49 fable paused fable 46 93 harbor active indigo 60 94 ember failed harbor 35 47 harbor failed fable 63 109
26 active 0 failed 31 pending 49 paused 93 paused 94 active 47 failed 109 failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009867-p1
For every line, print the fifth field followed by the second field.
{print $5, $2}
delta failed delta 120 40 juniper pending grove 77 95 indigo paused delta 120 107 indigo ready harbor 46 100 juniper pending juniper 66 116 cobalt active amber 108 24 indigo ready ember 62 4
40 failed 95 pending 107 paused 100 ready 116 pending 24 active 4 ready
indigo active birch 34 26 amber failed ember 66 0 grove pending grove 27 31 fable paused harbor 25 49 fable paused fable 46 93 harbor active indigo 60 94 ember failed harbor 35 47 harbor failed fable 63 109
26 active 0 failed 31 pending 49 paused 93 paused 94 active 47 failed 109 failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009867
qwen/qwen3.7-plus
awkweave-0009868
Print the last field of every input line.
{print $NF}
5 paused alice 18 ready 87 active hana 28 ready 87 failed chen 110 paused 51 pending farah 97 closed 23 pending alice 117 active 14 paused chen 90 closed 35 closed ivan 81 active
ready ready paused closed active closed active
23 paused farah 37 pending 5 pending alice 41 closed 73 closed dina 100 pending 11 closed dina 108 ready 25 ready chen 81 active 66 active gus 106 failed 45 closed gus 25 pending
pending closed pending ready active failed pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009868-p1
Output the final field from each line of the input.
{print $NF}
5 paused alice 18 ready 87 active hana 28 ready 87 failed chen 110 paused 51 pending farah 97 closed 23 pending alice 117 active 14 paused chen 90 closed 35 closed ivan 81 active
ready ready paused closed active closed active
23 paused farah 37 pending 5 pending alice 41 closed 73 closed dina 100 pending 11 closed dina 108 ready 25 ready chen 81 active 66 active gus 106 failed 45 closed gus 25 pending
pending closed pending ready active failed pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009868
qwen/qwen3.7-plus
awkweave-0009869
Print the complete records where column 1 is greater than 35.
$1 > 35
102 chen failed grove farah 94 chen ready grove alice 114 chen failed birch hana 14 chen pending ember kim 109 farah ready birch eli 115 lina failed amber hana 98 kim active birch alice
102 chen failed grove farah 94 chen ready grove alice 114 chen failed birch hana 109 farah ready birch eli 115 lina failed amber hana 98 kim active birch alice
92 bruno closed amber bruno 12 farah closed delta hana 64 chen paused fable chen 108 dina pending fable lina 71 alice pending juniper kim 6 farah failed juniper gus
92 bruno closed amber bruno 64 chen paused fable chen 108 dina pending fable lina 71 alice pending juniper kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009869-p1
Print the entire record for any row where the value in the first column exceeds 35.
$1 > 35
102 chen failed grove farah 94 chen ready grove alice 114 chen failed birch hana 14 chen pending ember kim 109 farah ready birch eli 115 lina failed amber hana 98 kim active birch alice
102 chen failed grove farah 94 chen ready grove alice 114 chen failed birch hana 109 farah ready birch eli 115 lina failed amber hana 98 kim active birch alice
92 bruno closed amber bruno 12 farah closed delta hana 64 chen paused fable chen 108 dina pending fable lina 71 alice pending juniper kim 6 farah failed juniper gus
92 bruno closed amber bruno 64 chen paused fable chen 108 dina pending fable lina 71 alice pending juniper kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009869
qwen/qwen3.7-plus
awkweave-0009870
Show whole lines whose 1st field is between 6 and 22, inclusive.
$1 >= 6 && $1 <= 22
30 dina lina harbor 14 gus ivan birch 9 lina gus delta 29 ivan bruno delta 26 hana lina cobalt 5 eli dina indigo 28 dina hana indigo 11 bruno chen harbor 30 bruno dina ember
14 gus ivan birch 9 lina gus delta 11 bruno chen harbor
29 bruno lina cobalt 6 gus chen birch 26 hana lina juniper 23 dina alice fable 3 farah eli amber 4 ivan jules fable 6 farah ivan grove
6 gus chen birch 6 farah ivan grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009870-p1
Display full lines where the first field falls within the inclusive range of 6 to 22.
$1 >= 6 && $1 <= 22
30 dina lina harbor 14 gus ivan birch 9 lina gus delta 29 ivan bruno delta 26 hana lina cobalt 5 eli dina indigo 28 dina hana indigo 11 bruno chen harbor 30 bruno dina ember
14 gus ivan birch 9 lina gus delta 11 bruno chen harbor
29 bruno lina cobalt 6 gus chen birch 26 hana lina juniper 23 dina alice fable 3 farah eli amber 4 ivan jules fable 6 farah ivan grove
6 gus chen birch 6 farah ivan grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009870
qwen/qwen3.7-plus
awkweave-0009871
Print column 2 only for rows where column 4 is exactly failed.
$4 == "failed"{print $2}
43 jules ember pending 5 kim indigo failed 89 ivan grove failed 16 bruno harbor active 56 alice grove active 112 bruno ember pending 88 farah indigo ready 58 gus harbor pending 43 chen ember active 29 hana amber ready
kim ivan
63 kim juniper pending 21 eli fable ready 43 dina grove failed 63 kim juniper failed 118 bruno fable paused 18 dina amber failed 86 alice ember paused 108 alice cobalt paused 94 bruno juniper pending 84 kim delta closed
dina kim dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009871-p1
Output only the second column for rows where the fourth column contains the exact string 'failed'.
$4 == "failed"{print $2}
43 jules ember pending 5 kim indigo failed 89 ivan grove failed 16 bruno harbor active 56 alice grove active 112 bruno ember pending 88 farah indigo ready 58 gus harbor pending 43 chen ember active 29 hana amber ready
kim ivan
63 kim juniper pending 21 eli fable ready 43 dina grove failed 63 kim juniper failed 118 bruno fable paused 18 dina amber failed 86 alice ember paused 108 alice cobalt paused 94 bruno juniper pending 84 kim delta closed
dina kim dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009871
qwen/qwen3.7-plus
awkweave-0009872
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
cobalt ERROR 37 amber DEBUG 116 juniper INFO 34 grove INFO 4 harbor INFO 17 juniper DEBUG 45 harbor WARN 77 amber DEBUG 62 fable INFO 119
harbor WARN 77
harbor ERROR 18 amber ERROR 60 fable ERROR 91 delta ERROR 73 ember DEBUG 81 delta ERROR 117 delta ERROR 77
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009872-p1
Display every field for rows where the second field starts with WARN.
$2 ~ /^WARN/
cobalt ERROR 37 amber DEBUG 116 juniper INFO 34 grove INFO 4 harbor INFO 17 juniper DEBUG 45 harbor WARN 77 amber DEBUG 62 fable INFO 119
harbor WARN 77
harbor ERROR 18 amber ERROR 60 fable ERROR 91 delta ERROR 73 ember DEBUG 81 delta ERROR 117 delta ERROR 77
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009872
qwen/qwen3.7-plus
awkweave-0009873
Print every line except those containing the exact text grove.
$0 !~ /grove/
grove 81 closed grove 77 ready grove 49 failed birch 57 failed harbor 100 failed fable 107 closed cobalt 76 failed juniper 0 failed grove 999 active
birch 57 failed harbor 100 failed fable 107 closed cobalt 76 failed juniper 0 failed
delta 87 active grove 102 ready amber 106 paused harbor 40 paused juniper 30 active birch 67 failed delta 75 failed juniper 75 pending cobalt 66 closed grove 999 active
delta 87 active amber 106 paused harbor 40 paused juniper 30 active birch 67 failed delta 75 failed juniper 75 pending cobalt 66 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009873-p1
Output all lines that do not contain the exact string grove.
$0 !~ /grove/
grove 81 closed grove 77 ready grove 49 failed birch 57 failed harbor 100 failed fable 107 closed cobalt 76 failed juniper 0 failed grove 999 active
birch 57 failed harbor 100 failed fable 107 closed cobalt 76 failed juniper 0 failed
delta 87 active grove 102 ready amber 106 paused harbor 40 paused juniper 30 active birch 67 failed delta 75 failed juniper 75 pending cobalt 66 closed grove 999 active
delta 87 active amber 106 paused harbor 40 paused juniper 30 active birch 67 failed delta 75 failed juniper 75 pending cobalt 66 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009873
qwen/qwen3.7-plus
awkweave-0009874
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
hana grove 21 chen amber 110 chen juniper 24 dina ember 46 eli birch 33 hana ember 66 hana fable 22 alice amber 51
chen amber 110 chen juniper 24 dina ember 46 eli birch 33
bruno birch 23 alice birch 104 jules juniper 119 dina delta 99 lina indigo 2 eli juniper 118 dina fable 44 kim cobalt 39 lina ember 7 dina delta 85
alice birch 104 jules juniper 119 dina delta 99 lina indigo 2
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009874-p1
Show lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
hana grove 21 chen amber 110 chen juniper 24 dina ember 46 eli birch 33 hana ember 66 hana fable 22 alice amber 51
chen amber 110 chen juniper 24 dina ember 46 eli birch 33
bruno birch 23 alice birch 104 jules juniper 119 dina delta 99 lina indigo 2 eli juniper 118 dina fable 44 kim cobalt 39 lina ember 7 dina delta 85
alice birch 104 jules juniper 119 dina delta 99 lina indigo 2
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009874
qwen/qwen3.7-plus
awkweave-0009875
Output only the first 4 records.
NR <= 4
alice 29 birch gus 93 juniper ivan 56 harbor alice 77 delta chen 33 grove dina 69 amber gus 28 harbor
alice 29 birch gus 93 juniper ivan 56 harbor alice 77 delta
ivan 23 cobalt jules 9 cobalt dina 120 ember lina 72 ember farah 80 birch gus 28 indigo eli 94 indigo
ivan 23 cobalt jules 9 cobalt dina 120 ember lina 72 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009875-p1
Print only the initial 4 records.
NR <= 4
alice 29 birch gus 93 juniper ivan 56 harbor alice 77 delta chen 33 grove dina 69 amber gus 28 harbor
alice 29 birch gus 93 juniper ivan 56 harbor alice 77 delta
ivan 23 cobalt jules 9 cobalt dina 120 ember lina 72 ember farah 80 birch gus 28 indigo eli 94 indigo
ivan 23 cobalt jules 9 cobalt dina 120 ember lina 72 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009875
qwen/qwen3.7-plus
awkweave-0009876
Skip the first line and print every remaining line unchanged.
NR > 1
farah 113 harbor chen 92 fable farah 13 amber hana 84 indigo kim 88 fable eli 70 indigo hana 14 ember kim 110 delta
chen 92 fable farah 13 amber hana 84 indigo kim 88 fable eli 70 indigo hana 14 ember kim 110 delta
eli 51 harbor ivan 17 fable jules 30 cobalt bruno 51 cobalt lina 89 fable dina 103 amber
ivan 17 fable jules 30 cobalt bruno 51 cobalt lina 89 fable dina 103 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009876-p1
Omit the first line and output the rest of the lines as they are.
NR > 1
farah 113 harbor chen 92 fable farah 13 amber hana 84 indigo kim 88 fable eli 70 indigo hana 14 ember kim 110 delta
chen 92 fable farah 13 amber hana 84 indigo kim 88 fable eli 70 indigo hana 14 ember kim 110 delta
eli 51 harbor ivan 17 fable jules 30 cobalt bruno 51 cobalt lina 89 fable dina 103 amber
ivan 17 fable jules 30 cobalt bruno 51 cobalt lina 89 fable dina 103 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009876
qwen/qwen3.7-plus
awkweave-0009877
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
kim ready 61 ivan active 96 ivan closed 45 lina pending 73 jules paused 22 farah active 98 hana active 20
1
kim pending 7 hana pending 7 hana active 74 ivan ready 79 eli pending 79 ivan ready 77 ivan closed 118 hana paused 117 gus failed 37 alice ready 102
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009877-p1
Tally the number of records with pending in the second column; output 0 if the count is zero.
$2 == "pending"{n++}END{print n+0}
kim ready 61 ivan active 96 ivan closed 45 lina pending 73 jules paused 22 farah active 98 hana active 20
1
kim pending 7 hana pending 7 hana active 74 ivan ready 79 eli pending 79 ivan ready 77 ivan closed 118 hana paused 117 gus failed 37 alice ready 102
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009877
qwen/qwen3.7-plus
awkweave-0009878
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
18 grove alice 24 indigo kim 7 ember jules 9 amber alice 25 fable kim 29 grove lina 22 delta ivan 1 cobalt lina
135
17 indigo hana 30 ember chen 14 indigo gus 11 cobalt jules 29 birch lina 8 birch gus 16 fable lina
125
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009878-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
18 grove alice 24 indigo kim 7 ember jules 9 amber alice 25 fable kim 29 grove lina 22 delta ivan 1 cobalt lina
135
17 indigo hana 30 ember chen 14 indigo gus 11 cobalt jules 29 birch lina 8 birch gus 16 fable lina
125
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009878
qwen/qwen3.7-plus
awkweave-0009879
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana delta 1 gus harbor 28 ivan cobalt 14 chen fable 12 farah harbor 10 chen juniper 15 kim juniper 26 chen harbor 9
14.38
lina indigo 1 chen birch 22 ivan cobalt 13 chen birch 19 ivan birch 4 gus juniper 3 chen amber 17 hana juniper 20 gus juniper 25 eli grove 18
14.20
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0009879-p1
Calculate the average of the third column and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
hana delta 1 gus harbor 28 ivan cobalt 14 chen fable 12 farah harbor 10 chen juniper 15 kim juniper 26 chen harbor 9
14.38
lina indigo 1 chen birch 22 ivan cobalt 13 chen birch 19 ivan birch 4 gus juniper 3 chen amber 17 hana juniper 20 gus juniper 25 eli grove 18
14.20
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0009879
qwen/qwen3.7-plus
awkweave-0009880
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
eli 26 cobalt dina 3 fable hana 3 indigo lina 5 indigo alice 8 amber bruno 25 grove
3
kim 9 fable eli 20 cobalt dina 3 fable hana 10 birch gus 2 birch jules 4 grove alice 18 fable
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null