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-0019661
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR 69 juniper ERROR 117 amber WARN 33 fable WARN 19 indigo ERROR 84 juniper WARN 39 grove
WARN 33 fable WARN 19 indigo WARN 39 grove
DEBUG 70 harbor INFO 60 harbor ERROR 0 fable DEBUG 107 indigo INFO 71 amber WARN 8 juniper WARN 113 ember INFO 103 indigo ERROR 81 delta WARN 92 ember
WARN 8 juniper WARN 113 ember WARN 92 ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019661-p1
Display every field from lines whose first field starts with 'WARN'.
$1 ~ /^WARN/
ERROR 69 juniper ERROR 117 amber WARN 33 fable WARN 19 indigo ERROR 84 juniper WARN 39 grove
WARN 33 fable WARN 19 indigo WARN 39 grove
DEBUG 70 harbor INFO 60 harbor ERROR 0 fable DEBUG 107 indigo INFO 71 amber WARN 8 juniper WARN 113 ember INFO 103 indigo ERROR 81 delta WARN 92 ember
WARN 8 juniper WARN 113 ember WARN 92 ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019661
qwen/qwen3.7-plus
awkweave-0019662
Print every line except those containing the exact text ember.
$0 !~ /ember/
indigo 110 ready amber 57 paused indigo 44 ready birch 103 paused harbor 106 ready juniper 77 ready amber 116 paused birch 100 active harbor 103 closed ember 999 active
indigo 110 ready amber 57 paused indigo 44 ready birch 103 paused harbor 106 ready juniper 77 ready amber 116 paused birch 100 active harbor 103 closed
amber 13 closed harbor 59 closed delta 93 pending harbor 96 ready delta 18 paused indigo 3 ready indigo 75 closed amber 39 paused amber 91 active ember 999 active
amber 13 closed harbor 59 closed delta 93 pending harbor 96 ready delta 18 paused indigo 3 ready indigo 75 closed amber 39 paused amber 91 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019662-p1
Print all lines that do not contain the exact string 'ember'.
$0 !~ /ember/
indigo 110 ready amber 57 paused indigo 44 ready birch 103 paused harbor 106 ready juniper 77 ready amber 116 paused birch 100 active harbor 103 closed ember 999 active
indigo 110 ready amber 57 paused indigo 44 ready birch 103 paused harbor 106 ready juniper 77 ready amber 116 paused birch 100 active harbor 103 closed
amber 13 closed harbor 59 closed delta 93 pending harbor 96 ready delta 18 paused indigo 3 ready indigo 75 closed amber 39 paused amber 91 active ember 999 active
amber 13 closed harbor 59 closed delta 93 pending harbor 96 ready delta 18 paused indigo 3 ready indigo 75 closed amber 39 paused amber 91 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019662
qwen/qwen3.7-plus
awkweave-0019663
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
dina cobalt 26 kim amber 44 jules harbor 84 dina juniper 15 hana indigo 96 alice cobalt 94 eli fable 114 hana grove 49 bruno fable 40
dina juniper 15 hana indigo 96
bruno delta 65 eli birch 60 farah fable 6 dina indigo 8 alice harbor 21 hana indigo 28 ivan grove 30 dina fable 29 bruno delta 48
dina indigo 8 alice harbor 21
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019663-p1
Output lines 4 to 5, inclusive of both ends.
NR >= 4 && NR <= 5
dina cobalt 26 kim amber 44 jules harbor 84 dina juniper 15 hana indigo 96 alice cobalt 94 eli fable 114 hana grove 49 bruno fable 40
dina juniper 15 hana indigo 96
bruno delta 65 eli birch 60 farah fable 6 dina indigo 8 alice harbor 21 hana indigo 28 ivan grove 30 dina fable 29 bruno delta 48
dina indigo 8 alice harbor 21
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019663
qwen/qwen3.7-plus
awkweave-0019664
Output only the first 4 records.
NR <= 4
kim 46 amber bruno 16 grove kim 91 amber farah 31 fable alice 79 indigo farah 98 amber jules 18 delta
kim 46 amber bruno 16 grove kim 91 amber farah 31 fable
gus 80 indigo alice 7 juniper eli 105 fable ivan 91 indigo gus 95 delta hana 45 amber alice 32 grove gus 1 indigo gus 98 delta jules 58 delta
gus 80 indigo alice 7 juniper eli 105 fable ivan 91 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019664-p1
Show only the initial 4 records.
NR <= 4
kim 46 amber bruno 16 grove kim 91 amber farah 31 fable alice 79 indigo farah 98 amber jules 18 delta
kim 46 amber bruno 16 grove kim 91 amber farah 31 fable
gus 80 indigo alice 7 juniper eli 105 fable ivan 91 indigo gus 95 delta hana 45 amber alice 32 grove gus 1 indigo gus 98 delta jules 58 delta
gus 80 indigo alice 7 juniper eli 105 fable ivan 91 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019664
qwen/qwen3.7-plus
awkweave-0019665
Skip the first line and print every remaining line unchanged.
NR > 1
chen 52 cobalt farah 57 indigo farah 7 indigo alice 69 ember hana 105 delta dina 53 juniper farah 22 delta dina 112 amber bruno 45 birch kim 80 ember
farah 57 indigo farah 7 indigo alice 69 ember hana 105 delta dina 53 juniper farah 22 delta dina 112 amber bruno 45 birch kim 80 ember
bruno 8 amber chen 23 harbor eli 35 birch eli 104 delta dina 90 amber gus 0 ember kim 53 amber
chen 23 harbor eli 35 birch eli 104 delta dina 90 amber gus 0 ember kim 53 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019665-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
chen 52 cobalt farah 57 indigo farah 7 indigo alice 69 ember hana 105 delta dina 53 juniper farah 22 delta dina 112 amber bruno 45 birch kim 80 ember
farah 57 indigo farah 7 indigo alice 69 ember hana 105 delta dina 53 juniper farah 22 delta dina 112 amber bruno 45 birch kim 80 ember
bruno 8 amber chen 23 harbor eli 35 birch eli 104 delta dina 90 amber gus 0 ember kim 53 amber
chen 23 harbor eli 35 birch eli 104 delta dina 90 amber gus 0 ember kim 53 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019665
qwen/qwen3.7-plus
awkweave-0019666
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
hana closed 74 jules ready 117 ivan failed 68 ivan pending 25 lina failed 104 gus closed 55
2
dina closed 11 gus pending 39 kim paused 6 farah paused 90 ivan pending 8 chen paused 49 chen ready 15 farah closed 109 kim pending 78 kim active 20
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019666-p1
Count records with 'closed' in column 2; output 0 if none exist.
$2 == "closed"{n++}END{print n+0}
hana closed 74 jules ready 117 ivan failed 68 ivan pending 25 lina failed 104 gus closed 55
2
dina closed 11 gus pending 39 kim paused 6 farah paused 90 ivan pending 8 chen paused 49 chen ready 15 farah closed 109 kim pending 78 kim active 20
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019666
qwen/qwen3.7-plus
awkweave-0019667
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
alice 19 harbor bruno 7 juniper gus 3 indigo hana 3 amber hana 19 amber lina 9 cobalt eli 8 indigo ivan 29 delta gus 19 grove kim 9 juniper
125
bruno 10 delta alice 8 ember kim 1 amber hana 16 indigo chen 26 indigo hana 6 juniper chen 26 delta
93
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019667-p1
Compute and display the total sum of integer values in column 2.
{s+=$2}END{print s+0}
alice 19 harbor bruno 7 juniper gus 3 indigo hana 3 amber hana 19 amber lina 9 cobalt eli 8 indigo ivan 29 delta gus 19 grove kim 9 juniper
125
bruno 10 delta alice 8 ember kim 1 amber hana 16 indigo chen 26 indigo hana 6 juniper chen 26 delta
93
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019667
qwen/qwen3.7-plus
awkweave-0019668
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 kim ember 18 lina ember 17 bruno juniper 7 chen harbor 17 kim birch 25 chen birch 21 jules birch 4 gus harbor
15.12
19 hana fable 1 kim delta 7 hana amber 28 farah birch 30 eli grove 23 eli indigo 21 kim cobalt 4 hana amber 24 eli ember 13 farah birch
17.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019668-p1
Print the average of column 1, rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
12 kim ember 18 lina ember 17 bruno juniper 7 chen harbor 17 kim birch 25 chen birch 21 jules birch 4 gus harbor
15.12
19 hana fable 1 kim delta 7 hana amber 28 farah birch 30 eli grove 23 eli indigo 21 kim cobalt 4 hana amber 24 eli ember 13 farah birch
17.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019668
qwen/qwen3.7-plus
awkweave-0019669
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 ember chen 28 indigo lina 26 delta kim 1 amber hana 20 indigo lina 4 juniper alice 12 amber gus
1
23 juniper lina 13 grove lina 15 juniper kim 14 amber alice 21 cobalt gus 24 birch kim
13
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019669-p1
Identify and output the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 ember chen 28 indigo lina 26 delta kim 1 amber hana 20 indigo lina 4 juniper alice 12 amber gus
1
23 juniper lina 13 grove lina 15 juniper kim 14 amber alice 21 cobalt gus 24 birch kim
13
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019669
qwen/qwen3.7-plus
awkweave-0019670
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
30 dina cobalt 11 hana juniper 12 lina ember 8 chen birch 26 chen harbor 10 hana harbor 5 kim amber 23 lina harbor 29 kim grove
30
16 lina harbor 4 kim fable 19 lina fable 11 hana ember 16 ivan amber 24 jules juniper 21 lina cobalt
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019670-p1
Identify and output the maximum numeric value found in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
30 dina cobalt 11 hana juniper 12 lina ember 8 chen birch 26 chen harbor 10 hana harbor 5 kim amber 23 lina harbor 29 kim grove
30
16 lina harbor 4 kim fable 19 lina fable 11 hana ember 16 ivan amber 24 jules juniper 21 lina cobalt
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019670
qwen/qwen3.7-plus
awkweave-0019671
Count all input records and print the total.
END{print NR}
ivan 100 hana 72 hana 61 chen 18 gus 111 hana 24 eli 79 chen 58 bruno 0 bruno 13
10
chen 76 gus 5 hana 9 kim 71 dina 28 eli 32 chen 53 bruno 100
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019671-p1
Count the total number of input records and print the result.
END{print NR}
ivan 100 hana 72 hana 61 chen 18 gus 111 hana 24 eli 79 chen 58 bruno 0 bruno 13
10
chen 76 gus 5 hana 9 kim 71 dina 28 eli 32 chen 53 bruno 100
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019671
qwen/qwen3.7-plus
awkweave-0019672
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim juniper 8 kim amber 19 gus indigo 44 dina delta 29 jules birch 65 dina grove 116 dina delta 29 gus amber 4 ivan birch 68 kim harbor 96
kim juniper 8 kim amber 19 gus indigo 44 dina delta 29 jules birch 65 dina grove 116 gus amber 4 ivan birch 68 kim harbor 96
gus amber 20 eli fable 9 alice amber 10 gus amber 20 chen indigo 98 dina juniper 6 kim fable 78
gus amber 20 eli fable 9 alice amber 10 chen indigo 98 dina juniper 6 kim fable 78
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019672-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
kim juniper 8 kim amber 19 gus indigo 44 dina delta 29 jules birch 65 dina grove 116 dina delta 29 gus amber 4 ivan birch 68 kim harbor 96
kim juniper 8 kim amber 19 gus indigo 44 dina delta 29 jules birch 65 dina grove 116 gus amber 4 ivan birch 68 kim harbor 96
gus amber 20 eli fable 9 alice amber 10 gus amber 20 chen indigo 98 dina juniper 6 kim fable 78
gus amber 20 eli fable 9 alice amber 10 chen indigo 98 dina juniper 6 kim fable 78
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019672
qwen/qwen3.7-plus
awkweave-0019673
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
chen amber 75 kim harbor 98 gus grove 101 farah birch 3 chen ember 74 lina fable 13 farah harbor 16
chen amber 75 kim harbor 98 gus grove 101 farah birch 3 chen ember 74 lina fable 13
jules fable 32 kim fable 89 lina juniper 20 lina delta 40 bruno cobalt 10 dina harbor 91
jules fable 32 lina juniper 20 lina delta 40 bruno cobalt 10 dina harbor 91
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019673-p1
Retain only the initial line for every unique value found in the second column, ensuring the input order is preserved.
!seen[$2]++
chen amber 75 kim harbor 98 gus grove 101 farah birch 3 chen ember 74 lina fable 13 farah harbor 16
chen amber 75 kim harbor 98 gus grove 101 farah birch 3 chen ember 74 lina fable 13
jules fable 32 kim fable 89 lina juniper 20 lina delta 40 bruno cobalt 10 dina harbor 91
jules fable 32 lina juniper 20 lina delta 40 bruno cobalt 10 dina harbor 91
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019673
qwen/qwen3.7-plus
awkweave-0019674
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 19 juniper farah 18 birch jules 23 ember hana 7 amber dina 9 cobalt chen 28 grove
gus 19 farah 37 jules 60 hana 67 dina 76 chen 104
chen 9 juniper bruno 1 indigo dina 9 ember jules 2 juniper alice 9 delta bruno 9 grove jules 28 delta ivan 28 grove
chen 9 bruno 10 dina 19 jules 21 alice 30 bruno 39 jules 67 ivan 95
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019674-p1
Output the first column alongside the cumulative total of the second column, with values separated by a space.
{s+=$2;print $1,s}
gus 19 juniper farah 18 birch jules 23 ember hana 7 amber dina 9 cobalt chen 28 grove
gus 19 farah 37 jules 60 hana 67 dina 76 chen 104
chen 9 juniper bruno 1 indigo dina 9 ember jules 2 juniper alice 9 delta bruno 9 grove jules 28 delta ivan 28 grove
chen 9 bruno 10 dina 19 jules 21 alice 30 bruno 39 jules 67 ivan 95
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019674
qwen/qwen3.7-plus
awkweave-0019675
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 5 14 juniper dina 4 26 ember farah 30 10 grove chen 15 16 ember eli 21 14 harbor dina 29 9 fable
alice 19 dina 30 farah 40 chen 31 eli 35 dina 38
ivan 22 4 grove bruno 7 18 cobalt eli 17 14 cobalt kim 8 19 birch gus 11 21 amber eli 30 4 cobalt farah 2 23 indigo jules 6 11 birch jules 20 3 juniper
ivan 26 bruno 25 eli 31 kim 27 gus 32 eli 34 farah 25 jules 17 jules 23
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019675-p1
For each row, display the first field followed by the total of the second and third fields.
{print $1,$2+$3}
alice 5 14 juniper dina 4 26 ember farah 30 10 grove chen 15 16 ember eli 21 14 harbor dina 29 9 fable
alice 19 dina 30 farah 40 chen 31 eli 35 dina 38
ivan 22 4 grove bruno 7 18 cobalt eli 17 14 cobalt kim 8 19 birch gus 11 21 amber eli 30 4 cobalt farah 2 23 indigo jules 6 11 birch jules 20 3 juniper
ivan 26 bruno 25 eli 31 kim 27 gus 32 eli 34 farah 25 jules 17 jules 23
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019675
qwen/qwen3.7-plus
awkweave-0019676
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
jules 27 alice 16 hana 15 kim 1 gus 17 ivan 23 kim 30 gus 11 bruno 17
jules pass alice fail hana fail kim fail gus fail ivan pass kim pass gus fail bruno fail
jules 29 kim 16 lina 1 ivan 30 jules 1 eli 28
jules pass kim fail lina fail ivan pass jules fail eli pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019676-p1
Output the first column and label it 'pass' if the second column is 20 or greater; otherwise, label it 'fail'.
{print $1,($2>=20?"pass":"fail")}
jules 27 alice 16 hana 15 kim 1 gus 17 ivan 23 kim 30 gus 11 bruno 17
jules pass alice fail hana fail kim fail gus fail ivan pass kim pass gus fail bruno fail
jules 29 kim 16 lina 1 ivan 30 jules 1 eli 28
jules pass kim fail lina fail ivan pass jules fail eli pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019676
qwen/qwen3.7-plus
awkweave-0019677
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina amber 78 kim cobalt 44 gus cobalt 101 alice cobalt 34 lina harbor 107 chen fable 33
LINA KIM GUS ALICE LINA CHEN
ivan harbor 57 farah delta 25 bruno cobalt 27 lina indigo 116 jules harbor 96 eli delta 64 jules fable 1 ivan delta 33
IVAN FARAH BRUNO LINA JULES ELI JULES IVAN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019677-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
lina amber 78 kim cobalt 44 gus cobalt 101 alice cobalt 34 lina harbor 107 chen fable 33
LINA KIM GUS ALICE LINA CHEN
ivan harbor 57 farah delta 25 bruno cobalt 27 lina indigo 116 jules harbor 96 eli delta 64 jules fable 1 ivan delta 33
IVAN FARAH BRUNO LINA JULES ELI JULES IVAN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019677
qwen/qwen3.7-plus
awkweave-0019678
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 96 ember 106 harbor 21 amber 65 harbor 91 fable 8 fable 7
mb mb ar mb ar ab ab
harbor 106 delta 105 amber 93 juniper 73 indigo 0 birch 80
ar el mb un nd ir
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019678-p1
Extract and print two characters from the first column, beginning at the second character position.
{print substr($1,2,2)}
ember 96 ember 106 harbor 21 amber 65 harbor 91 fable 8 fable 7
mb mb ar mb ar ab ab
harbor 106 delta 105 amber 93 juniper 73 indigo 0 birch 80
ar el mb un nd ir
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019678
qwen/qwen3.7-plus
awkweave-0019679
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
juniper_fable 26 cobalt_delta 94 cobalt_cobalt 70 juniper_indigo 43 birch_birch 37 fable_birch 68
juniper fable cobalt delta cobalt cobalt juniper indigo birch birch fable birch
grove_amber 66 grove_delta 46 juniper_birch 116 birch_juniper 68 birch_amber 104 fable_harbor 22 cobalt_cobalt 87 fable_grove 42 ember_birch 76 juniper_grove 42
grove amber grove delta juniper birch birch juniper birch amber fable harbor cobalt cobalt fable grove ember birch juniper grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019679-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
juniper_fable 26 cobalt_delta 94 cobalt_cobalt 70 juniper_indigo 43 birch_birch 37 fable_birch 68
juniper fable cobalt delta cobalt cobalt juniper indigo birch birch fable birch
grove_amber 66 grove_delta 46 juniper_birch 116 birch_juniper 68 birch_amber 104 fable_harbor 22 cobalt_cobalt 87 fable_grove 42 ember_birch 76 juniper_grove 42
grove amber grove delta juniper birch birch juniper birch amber fable harbor cobalt cobalt fable grove ember birch juniper grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019679
qwen/qwen3.7-plus
awkweave-0019680
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)}
dina fable 90 failed lina ember 65 failed alice birch 99 failed eli juniper 61 ready kim indigo 28 paused jules fable 80 active jules cobalt 23 active
failed 90 fable dina failed 65 ember lina failed 99 birch alice ready 61 juniper eli paused 28 indigo kim active 80 fable jules active 23 cobalt jules
hana cobalt 102 failed gus cobalt 64 ready bruno indigo 112 pending farah fable 85 paused eli juniper 81 closed dina fable 16 active
failed 102 cobalt hana ready 64 cobalt gus pending 112 indigo bruno paused 85 fable farah closed 81 juniper eli active 16 fable dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019680-p1
Reverse the sequence of fields for every line and print all fields in the new order.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
dina fable 90 failed lina ember 65 failed alice birch 99 failed eli juniper 61 ready kim indigo 28 paused jules fable 80 active jules cobalt 23 active
failed 90 fable dina failed 65 ember lina failed 99 birch alice ready 61 juniper eli paused 28 indigo kim active 80 fable jules active 23 cobalt jules
hana cobalt 102 failed gus cobalt 64 ready bruno indigo 112 pending farah fable 85 paused eli juniper 81 closed dina fable 16 active
failed 102 cobalt hana ready 64 cobalt gus pending 112 indigo bruno paused 85 fable farah closed 81 juniper eli active 16 fable dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019680
qwen/qwen3.7-plus
awkweave-0019681
Print the number of whitespace-separated fields on each line.
{print NF}
hana delta 88 ready gus fable 20 failed jules harbor 73 closed eli delta 32 pending chen cobalt 102 failed ivan delta 22 pending eli birch 44 active
4 4 4 4 4 4 4
gus harbor 2 paused hana delta 97 active ivan amber 70 ready hana delta 3 ready farah amber 100 closed lina cobalt 24 paused jules fable 46 paused
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019681-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
hana delta 88 ready gus fable 20 failed jules harbor 73 closed eli delta 32 pending chen cobalt 102 failed ivan delta 22 pending eli birch 44 active
4 4 4 4 4 4 4
gus harbor 2 paused hana delta 97 active ivan amber 70 ready hana delta 3 ready farah amber 100 closed lina cobalt 24 paused jules fable 46 paused
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019681
qwen/qwen3.7-plus
awkweave-0019682
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 73 chen delta 80 gus alpha 22 gus delta 83 lina alpha 19 chen beta 97 ivan gamma 12
alpha 3 delta 2 beta 1 gamma 1
kim alpha 59 alice alpha 10 alice alpha 33 ivan alpha 54 ivan delta 39 hana delta 72 lina beta 12 ivan alpha 106
alpha 5 delta 2 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019682-p1
Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
alice alpha 73 chen delta 80 gus alpha 22 gus delta 83 lina alpha 19 chen beta 97 ivan gamma 12
alpha 3 delta 2 beta 1 gamma 1
kim alpha 59 alice alpha 10 alice alpha 33 ivan alpha 54 ivan delta 39 hana delta 72 lina beta 12 ivan alpha 106
alpha 5 delta 2 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019682
qwen/qwen3.7-plus
awkweave-0019683
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli beta 14 lina beta 16 eli delta 21 kim alpha 3 gus beta 18 farah beta 27
beta 75 delta 21 alpha 3
dina beta 19 chen gamma 28 dina delta 4 gus beta 18 alice alpha 21 chen delta 8
beta 37 gamma 28 delta 12 alpha 21
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019683-p1
Calculate the sum of the third column for each group defined by the second column, 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]]}
eli beta 14 lina beta 16 eli delta 21 kim alpha 3 gus beta 18 farah beta 27
beta 75 delta 21 alpha 3
dina beta 19 chen gamma 28 dina delta 4 gus beta 18 alice alpha 21 chen delta 8
beta 37 gamma 28 delta 12 alpha 21
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019683
qwen/qwen3.7-plus
awkweave-0019684
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma juniper 98 alpha birch 81 delta fable 59 delta birch 68 gamma grove 98 gamma birch 46 beta juniper 102
gamma 3 delta 2
delta indigo 21 alpha harbor 6 gamma juniper 57 delta delta 76 gamma grove 4 gamma cobalt 107 beta juniper 60 delta fable 29
delta 3 gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019684-p1
List each unique value from the first column along with its frequency, ordered by when it first appears.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma juniper 98 alpha birch 81 delta fable 59 delta birch 68 gamma grove 98 gamma birch 46 beta juniper 102
gamma 3 delta 2
delta indigo 21 alpha harbor 6 gamma juniper 57 delta delta 76 gamma grove 4 gamma cobalt 107 beta juniper 60 delta fable 29
delta 3 gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019684
qwen/qwen3.7-plus
awkweave-0019685
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id display_name score region r001 farah 30 closed r002 eli 13 pending r003 dina 30 ready r004 hana 11 active r005 dina 10 active r006 kim 12 paused r007 jules 2 paused r008 chen 10 ready r009 chen 26 ready
closed pending ready active active paused paused ready ready
record_id display_name score region r001 hana 2 failed r002 alice 5 paused r003 ivan 24 ready r004 ivan 15 pending r005 gus 6 pending r006 alice 19 failed r007 eli 15 ready r008 jules 24 paused r009 kim 6 closed r010 chen 13 ready
failed paused ready pending pending failed ready paused closed ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019685-p1
Treat the initial row as a header and output the 'region' field for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id display_name score region r001 farah 30 closed r002 eli 13 pending r003 dina 30 ready r004 hana 11 active r005 dina 10 active r006 kim 12 paused r007 jules 2 paused r008 chen 10 ready r009 chen 26 ready
closed pending ready active active paused paused ready ready
record_id display_name score region r001 hana 2 failed r002 alice 5 paused r003 ivan 24 ready r004 ivan 15 pending r005 gus 6 pending r006 alice 19 failed r007 eli 15 ready r008 jules 24 paused r009 kim 6 closed r010 chen 13 ready
failed paused ready pending pending failed ready paused closed ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019685
qwen/qwen3.7-plus
awkweave-0019686
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 hana 5 pending r002 chen 4 closed r003 alice 1 pending r004 eli 2 closed r005 hana 2 paused r006 hana 4 pending r007 kim 14 closed r008 dina 21 ready
dina
record_id display_name score state r001 alice 19 paused r002 alice 6 pending r003 farah 30 pending r004 alice 26 failed r005 farah 29 pending r006 lina 6 pending r007 eli 26 ready
alice farah alice farah eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019686-p1
Assuming the first line is a header, display the 'display_name' for any data row where the 'score' exceeds 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 hana 5 pending r002 chen 4 closed r003 alice 1 pending r004 eli 2 closed r005 hana 2 paused r006 hana 4 pending r007 kim 14 closed r008 dina 21 ready
dina
record_id display_name score state r001 alice 19 paused r002 alice 6 pending r003 farah 30 pending r004 alice 26 failed r005 farah 29 pending r006 lina 6 pending r007 eli 26 ready
alice farah alice farah eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019686
qwen/qwen3.7-plus
awkweave-0019687
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
chen 1 active chen 28 failed chen 28 failed bruno 29 failed eli 11 ready lina 28 ready hana 25 failed bruno 10 closed
1 28 28 29 11 28 25 10
bruno 19 ready hana 12 pending ivan 3 paused kim 1 ready alice 15 closed eli 5 active jules 7 paused eli 30 ready chen 18 paused
19 12 3 1 15 5 7 30 18
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019687-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
chen 1 active chen 28 failed chen 28 failed bruno 29 failed eli 11 ready lina 28 ready hana 25 failed bruno 10 closed
1 28 28 29 11 28 25 10
bruno 19 ready hana 12 pending ivan 3 paused kim 1 ready alice 15 closed eli 5 active jules 7 paused eli 30 ready chen 18 paused
19 12 3 1 15 5 7 30 18
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0019687
qwen/qwen3.7-plus
awkweave-0019688
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24.
BEGIN{FS=OFS=","}$2>24{print $1}
hana,13,ready dina,20,paused chen,29,failed dina,21,failed eli,29,failed farah,28,active gus,19,active jules,24,closed kim,10,pending kim,6,active
chen eli farah
farah,27,paused ivan,5,closed hana,29,pending farah,13,paused gus,27,closed bruno,8,closed
farah hana gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019688-p1
For simple comma-separated values without quoted commas, output the first column only if the second column is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
hana,13,ready dina,20,paused chen,29,failed dina,21,failed eli,29,failed farah,28,active gus,19,active jules,24,closed kim,10,pending kim,6,active
chen eli farah
farah,27,paused ivan,5,closed hana,29,pending farah,13,paused gus,27,closed bruno,8,closed
farah hana gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019688
qwen/qwen3.7-plus
awkweave-0019689
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina cobalt 115 hana indigo 107 gus delta 8 jules ember 47 lina ember 76 jules ember 34 ivan juniper 79 kim ember 112 farah ember 4
lina cobalt 115 hana indigo 107 gus delta 8 jules ember 47 lina ember 76 jules ember 34 ivan juniper 79 kim ember 112 farah ember 4
eli indigo 42 bruno indigo 7 bruno indigo 107 gus juniper 43 farah juniper 81 chen harbor 37 bruno grove 21 ivan indigo 62 farah fable 52 gus indigo 99
eli indigo 42 bruno indigo 7 bruno indigo 107 gus juniper 43 farah juniper 81 chen harbor 37 bruno grove 21 ivan indigo 62 farah fable 52 gus indigo 99
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019689-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
lina cobalt 115 hana indigo 107 gus delta 8 jules ember 47 lina ember 76 jules ember 34 ivan juniper 79 kim ember 112 farah ember 4
lina cobalt 115 hana indigo 107 gus delta 8 jules ember 47 lina ember 76 jules ember 34 ivan juniper 79 kim ember 112 farah ember 4
eli indigo 42 bruno indigo 7 bruno indigo 107 gus juniper 43 farah juniper 81 chen harbor 37 bruno grove 21 ivan indigo 62 farah fable 52 gus indigo 99
eli indigo 42 bruno indigo 7 bruno indigo 107 gus juniper 43 farah juniper 81 chen harbor 37 bruno grove 21 ivan indigo 62 farah fable 52 gus indigo 99
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019689
qwen/qwen3.7-plus
awkweave-0019700
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
harbor 51 INFO grove 57 ERROR amber 2 ERROR delta 1 INFO birch 34 WARN harbor 61 WARN juniper 38 WARN harbor 55 WARN cobalt 70 WARN
harbor 51 INFO delta 1 INFO
indigo 62 WARN fable 79 WARN juniper 112 ERROR fable 90 INFO delta 5 WARN fable 81 ERROR juniper 25 WARN cobalt 105 DEBUG amber 52 ERROR birch 49 ERROR
fable 90 INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019700-p1
Output all fields from lines where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
harbor 51 INFO grove 57 ERROR amber 2 ERROR delta 1 INFO birch 34 WARN harbor 61 WARN juniper 38 WARN harbor 55 WARN cobalt 70 WARN
harbor 51 INFO delta 1 INFO
indigo 62 WARN fable 79 WARN juniper 112 ERROR fable 90 INFO delta 5 WARN fable 81 ERROR juniper 25 WARN cobalt 105 DEBUG amber 52 ERROR birch 49 ERROR
fable 90 INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019700
qwen/qwen3.7-plus
awkweave-0019701
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
ember 74 failed cobalt 46 closed grove 24 active cobalt 69 pending harbor 69 ready indigo 58 ready juniper 119 ready juniper 94 paused juniper 94 ready indigo 999 active
ember 74 failed cobalt 46 closed grove 24 active cobalt 69 pending harbor 69 ready juniper 119 ready juniper 94 paused juniper 94 ready
ember 103 active birch 66 ready grove 62 active juniper 109 paused indigo 107 active amber 0 paused indigo 999 active
ember 103 active birch 66 ready grove 62 active juniper 109 paused amber 0 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019701-p1
Print every line that does not contain the exact substring 'indigo'.
$0 !~ /indigo/
ember 74 failed cobalt 46 closed grove 24 active cobalt 69 pending harbor 69 ready indigo 58 ready juniper 119 ready juniper 94 paused juniper 94 ready indigo 999 active
ember 74 failed cobalt 46 closed grove 24 active cobalt 69 pending harbor 69 ready juniper 119 ready juniper 94 paused juniper 94 ready
ember 103 active birch 66 ready grove 62 active juniper 109 paused indigo 107 active amber 0 paused indigo 999 active
ember 103 active birch 66 ready grove 62 active juniper 109 paused amber 0 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019701
qwen/qwen3.7-plus
awkweave-0019702
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
eli juniper 67 dina indigo 4 kim amber 95 jules cobalt 58 jules birch 39 chen birch 11 farah harbor 107
kim amber 95 jules cobalt 58
gus juniper 17 lina cobalt 95 alice birch 10 ivan birch 36 jules grove 82 chen amber 99 ivan cobalt 54 dina cobalt 62 ivan birch 67 farah fable 52
alice birch 10 ivan birch 36
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019702-p1
Display lines 3 to 4, inclusive.
NR >= 3 && NR <= 4
eli juniper 67 dina indigo 4 kim amber 95 jules cobalt 58 jules birch 39 chen birch 11 farah harbor 107
kim amber 95 jules cobalt 58
gus juniper 17 lina cobalt 95 alice birch 10 ivan birch 36 jules grove 82 chen amber 99 ivan cobalt 54 dina cobalt 62 ivan birch 67 farah fable 52
alice birch 10 ivan birch 36
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019702
qwen/qwen3.7-plus
awkweave-0019703
Output only the first 4 records.
NR <= 4
gus 88 harbor chen 49 indigo ivan 41 cobalt bruno 68 harbor kim 29 cobalt hana 23 indigo eli 62 indigo
gus 88 harbor chen 49 indigo ivan 41 cobalt bruno 68 harbor
alice 120 fable farah 14 grove hana 78 amber bruno 4 birch bruno 33 harbor bruno 101 delta dina 117 birch chen 4 birch jules 3 delta bruno 7 juniper
alice 120 fable farah 14 grove hana 78 amber bruno 4 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019703-p1
Limit the output to the first four records.
NR <= 4
gus 88 harbor chen 49 indigo ivan 41 cobalt bruno 68 harbor kim 29 cobalt hana 23 indigo eli 62 indigo
gus 88 harbor chen 49 indigo ivan 41 cobalt bruno 68 harbor
alice 120 fable farah 14 grove hana 78 amber bruno 4 birch bruno 33 harbor bruno 101 delta dina 117 birch chen 4 birch jules 3 delta bruno 7 juniper
alice 120 fable farah 14 grove hana 78 amber bruno 4 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019703
qwen/qwen3.7-plus
awkweave-0019704
Skip the first line and print every remaining line unchanged.
NR > 1
gus 113 harbor bruno 86 amber bruno 70 indigo hana 36 grove gus 109 fable lina 53 juniper kim 108 birch lina 30 fable
bruno 86 amber bruno 70 indigo hana 36 grove gus 109 fable lina 53 juniper kim 108 birch lina 30 fable
jules 19 indigo ivan 57 cobalt kim 75 fable chen 104 cobalt gus 85 fable alice 107 delta
ivan 57 cobalt kim 75 fable chen 104 cobalt gus 85 fable alice 107 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019704-p1
Ignore the first line and print all remaining lines exactly as they appear.
NR > 1
gus 113 harbor bruno 86 amber bruno 70 indigo hana 36 grove gus 109 fable lina 53 juniper kim 108 birch lina 30 fable
bruno 86 amber bruno 70 indigo hana 36 grove gus 109 fable lina 53 juniper kim 108 birch lina 30 fable
jules 19 indigo ivan 57 cobalt kim 75 fable chen 104 cobalt gus 85 fable alice 107 delta
ivan 57 cobalt kim 75 fable chen 104 cobalt gus 85 fable alice 107 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019704
qwen/qwen3.7-plus
awkweave-0019705
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
chen failed 81 eli closed 94 hana ready 120 ivan ready 118 alice pending 76 kim pending 75
1
jules failed 78 kim ready 101 ivan failed 69 jules failed 42 jules paused 111 dina closed 4 chen active 80 eli paused 81 chen failed 23
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019705-p1
Count the number of records where the second column equals 'closed', outputting 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
chen failed 81 eli closed 94 hana ready 120 ivan ready 118 alice pending 76 kim pending 75
1
jules failed 78 kim ready 101 ivan failed 69 jules failed 42 jules paused 111 dina closed 4 chen active 80 eli paused 81 chen failed 23
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019705
qwen/qwen3.7-plus
awkweave-0019706
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
25 hana grove 9 ivan ember 14 bruno indigo 24 dina juniper 7 bruno delta 6 gus harbor
85
28 hana delta 6 gus amber 18 dina fable 12 dina juniper 13 eli birch 21 jules juniper 13 hana fable 29 kim harbor 7 bruno cobalt
147
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019706-p1
Compute the total of all integer values in the first column and output the result.
{s+=$1}END{print s+0}
25 hana grove 9 ivan ember 14 bruno indigo 24 dina juniper 7 bruno delta 6 gus harbor
85
28 hana delta 6 gus amber 18 dina fable 12 dina juniper 13 eli birch 21 jules juniper 13 hana fable 29 kim harbor 7 bruno cobalt
147
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019706
qwen/qwen3.7-plus
awkweave-0019707
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber eli 17 ember bruno 5 indigo eli 18 harbor kim 19 delta alice 19 ember bruno 26 juniper farah 27 fable hana 16
18.38
fable gus 1 cobalt kim 9 harbor jules 25 juniper lina 4 amber kim 30 amber farah 22 birch ivan 29 amber hana 15
16.88
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019707-p1
Output the average of the values in the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber eli 17 ember bruno 5 indigo eli 18 harbor kim 19 delta alice 19 ember bruno 26 juniper farah 27 fable hana 16
18.38
fable gus 1 cobalt kim 9 harbor jules 25 juniper lina 4 amber kim 30 amber farah 22 birch ivan 29 amber hana 15
16.88
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019707
qwen/qwen3.7-plus
awkweave-0019708
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
grove 16 dina harbor 20 farah indigo 17 kim juniper 14 lina cobalt 16 chen fable 6 dina
6
cobalt 16 jules indigo 2 kim juniper 1 dina ember 26 lina grove 13 gus indigo 10 alice ember 20 gus ember 16 farah
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019708-p1
Identify and display the minimum numeric value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
grove 16 dina harbor 20 farah indigo 17 kim juniper 14 lina cobalt 16 chen fable 6 dina
6
cobalt 16 jules indigo 2 kim juniper 1 dina ember 26 lina grove 13 gus indigo 10 alice ember 20 gus ember 16 farah
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019708
qwen/qwen3.7-plus
awkweave-0019709
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo lina 16 fable kim 26 grove alice 1 cobalt dina 22 birch lina 1 amber chen 8 harbor dina 14
26
delta lina 23 ember chen 7 delta eli 28 cobalt chen 22 indigo chen 2 ember lina 28
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019709-p1
Identify and display the maximum numeric value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo lina 16 fable kim 26 grove alice 1 cobalt dina 22 birch lina 1 amber chen 8 harbor dina 14
26
delta lina 23 ember chen 7 delta eli 28 cobalt chen 22 indigo chen 2 ember lina 28
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019709
qwen/qwen3.7-plus
awkweave-0019710
Count all input records and print the total.
END{print NR}
gus 18 lina 71 dina 3 bruno 106 bruno 0 kim 88 kim 27 bruno 106 jules 73 hana 104
10
gus 19 jules 39 farah 36 gus 50 ivan 16 chen 116 kim 119 hana 38
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019710-p1
Count the total number of input lines and print the final count.
END{print NR}
gus 18 lina 71 dina 3 bruno 106 bruno 0 kim 88 kim 27 bruno 106 jules 73 hana 104
10
gus 19 jules 39 farah 36 gus 50 ivan 16 chen 116 kim 119 hana 38
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019710
qwen/qwen3.7-plus
awkweave-0019711
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice birch 54 farah grove 26 alice grove 38 dina delta 71 farah indigo 8 lina delta 72 alice birch 54 farah delta 29
alice birch 54 farah grove 26 alice grove 38 dina delta 71 farah indigo 8 lina delta 72 farah delta 29
jules delta 97 ivan birch 109 jules delta 97 farah amber 17 bruno birch 92 dina delta 109 jules harbor 99 dina grove 28 lina amber 64 bruno cobalt 101 bruno birch 71
jules delta 97 ivan birch 109 farah amber 17 bruno birch 92 dina delta 109 jules harbor 99 dina grove 28 lina amber 64 bruno cobalt 101 bruno birch 71
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019711-p1
Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence.
!seen[$0]++
alice birch 54 farah grove 26 alice grove 38 dina delta 71 farah indigo 8 lina delta 72 alice birch 54 farah delta 29
alice birch 54 farah grove 26 alice grove 38 dina delta 71 farah indigo 8 lina delta 72 farah delta 29
jules delta 97 ivan birch 109 jules delta 97 farah amber 17 bruno birch 92 dina delta 109 jules harbor 99 dina grove 28 lina amber 64 bruno cobalt 101 bruno birch 71
jules delta 97 ivan birch 109 farah amber 17 bruno birch 92 dina delta 109 jules harbor 99 dina grove 28 lina amber 64 bruno cobalt 101 bruno birch 71
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019711
qwen/qwen3.7-plus
awkweave-0019712
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
alice amber 0 jules grove 64 farah delta 12 ivan cobalt 49 dina juniper 24 gus delta 21
alice amber 0 jules grove 64 farah delta 12 ivan cobalt 49 dina juniper 24 gus delta 21
farah juniper 29 alice juniper 76 ivan birch 47 farah ember 77 kim ember 58 dina harbor 14 ivan harbor 0 farah amber 22 hana fable 45 jules fable 68
farah juniper 29 alice juniper 76 ivan birch 47 farah ember 77 kim ember 58 dina harbor 14 ivan harbor 0 farah amber 22 hana fable 45 jules fable 68
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019712-p1
Retain only the initial occurrence for every unique value in the third column, keeping the original order.
!seen[$3]++
alice amber 0 jules grove 64 farah delta 12 ivan cobalt 49 dina juniper 24 gus delta 21
alice amber 0 jules grove 64 farah delta 12 ivan cobalt 49 dina juniper 24 gus delta 21
farah juniper 29 alice juniper 76 ivan birch 47 farah ember 77 kim ember 58 dina harbor 14 ivan harbor 0 farah amber 22 hana fable 45 jules fable 68
farah juniper 29 alice juniper 76 ivan birch 47 farah ember 77 kim ember 58 dina harbor 14 ivan harbor 0 farah amber 22 hana fable 45 jules fable 68
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019712
qwen/qwen3.7-plus
awkweave-0019713
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 11 amber lina 21 grove eli 30 ember alice 29 birch eli 26 harbor farah 16 birch dina 12 delta chen 30 cobalt chen 15 cobalt farah 22 ember
hana 11 lina 32 eli 62 alice 91 eli 117 farah 133 dina 145 chen 175 chen 190 farah 212
dina 13 cobalt alice 23 ember jules 2 ember alice 5 cobalt gus 17 cobalt bruno 23 indigo
dina 13 alice 36 jules 38 alice 43 gus 60 bruno 83
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019713-p1
For each line, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
hana 11 amber lina 21 grove eli 30 ember alice 29 birch eli 26 harbor farah 16 birch dina 12 delta chen 30 cobalt chen 15 cobalt farah 22 ember
hana 11 lina 32 eli 62 alice 91 eli 117 farah 133 dina 145 chen 175 chen 190 farah 212
dina 13 cobalt alice 23 ember jules 2 ember alice 5 cobalt gus 17 cobalt bruno 23 indigo
dina 13 alice 36 jules 38 alice 43 gus 60 bruno 83
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019713
qwen/qwen3.7-plus
awkweave-0019714
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 23 14 harbor gus 18 20 fable eli 6 12 indigo alice 5 25 cobalt hana 15 9 grove ivan 20 2 harbor ivan 29 15 ember farah 23 25 juniper ivan 28 15 delta eli 19 20 amber
hana 37 gus 38 eli 18 alice 30 hana 24 ivan 22 ivan 44 farah 48 ivan 43 eli 39
chen 16 6 grove hana 20 25 delta eli 24 1 grove eli 27 18 ember ivan 28 15 ember ivan 3 27 birch kim 30 12 indigo hana 18 22 cobalt
chen 22 hana 45 eli 25 eli 45 ivan 43 ivan 30 kim 42 hana 40
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019714-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 23 14 harbor gus 18 20 fable eli 6 12 indigo alice 5 25 cobalt hana 15 9 grove ivan 20 2 harbor ivan 29 15 ember farah 23 25 juniper ivan 28 15 delta eli 19 20 amber
hana 37 gus 38 eli 18 alice 30 hana 24 ivan 22 ivan 44 farah 48 ivan 43 eli 39
chen 16 6 grove hana 20 25 delta eli 24 1 grove eli 27 18 ember ivan 28 15 ember ivan 3 27 birch kim 30 12 indigo hana 18 22 cobalt
chen 22 hana 45 eli 25 eli 45 ivan 43 ivan 30 kim 42 hana 40
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019714
qwen/qwen3.7-plus
awkweave-0019715
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
eli 26 ivan 17 farah 7 lina 22 farah 22 kim 15 gus 7
eli pass ivan fail farah fail lina pass farah pass kim fail gus fail
alice 9 kim 2 lina 14 eli 21 eli 14 kim 12
alice fail kim fail lina fail eli pass eli fail kim fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019715-p1
Print the first column; append 'pass' if the second column is 21 or greater, otherwise append 'fail'.
{print $1,($2>=21?"pass":"fail")}
eli 26 ivan 17 farah 7 lina 22 farah 22 kim 15 gus 7
eli pass ivan fail farah fail lina pass farah pass kim fail gus fail
alice 9 kim 2 lina 14 eli 21 eli 14 kim 12
alice fail kim fail lina fail eli pass eli fail kim fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019715
qwen/qwen3.7-plus
awkweave-0019716
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
alice juniper 28 jules cobalt 118 farah fable 23 ivan delta 81 kim juniper 103 jules fable 60 ivan harbor 37 farah juniper 109 gus amber 8 eli grove 120
ALICE JULES FARAH IVAN KIM JULES IVAN FARAH GUS ELI
alice juniper 73 alice cobalt 111 lina delta 114 gus amber 80 eli cobalt 48 gus amber 80 kim juniper 22 lina fable 62
ALICE ALICE LINA GUS ELI GUS KIM LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019716-p1
Transform the first column to uppercase letters and print only that column.
{print toupper($1)}
alice juniper 28 jules cobalt 118 farah fable 23 ivan delta 81 kim juniper 103 jules fable 60 ivan harbor 37 farah juniper 109 gus amber 8 eli grove 120
ALICE JULES FARAH IVAN KIM JULES IVAN FARAH GUS ELI
alice juniper 73 alice cobalt 111 lina delta 114 gus amber 80 eli cobalt 48 gus amber 80 kim juniper 22 lina fable 62
ALICE ALICE LINA GUS ELI GUS KIM LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019716
qwen/qwen3.7-plus
awkweave-0019717
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
juniper 55 indigo 115 cobalt 63 cobalt 105 fable 60 grove 72 cobalt 58 grove 1 grove 43
unip ndig obal obal able rove obal rove rove
grove 105 indigo 62 ember 117 harbor 115 juniper 102 amber 109 grove 77
rove ndig mber arbo unip mber rove
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019717-p1
Extract and print a substring of length 4 from the first column, starting at the second character.
{print substr($1,2,4)}
juniper 55 indigo 115 cobalt 63 cobalt 105 fable 60 grove 72 cobalt 58 grove 1 grove 43
unip ndig obal obal able rove obal rove rove
grove 105 indigo 62 ember 117 harbor 115 juniper 102 amber 109 grove 77
rove ndig mber arbo unip mber rove
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019717
qwen/qwen3.7-plus
awkweave-0019718
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_cobalt 94 fable_indigo 74 fable_ember 33 delta_amber 4 fable_fable 73 harbor_juniper 15 indigo_delta 10 fable_indigo 11 birch_delta 39 birch_delta 100
grove cobalt fable indigo fable ember delta amber fable fable harbor juniper indigo delta fable indigo birch delta birch delta
fable_harbor 47 ember_fable 47 harbor_harbor 99 delta_ember 48 delta_cobalt 86 delta_harbor 47 harbor_birch 92
fable harbor ember fable harbor harbor delta ember delta cobalt delta harbor harbor birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019718-p1
Substitute all underscores with spaces in the first column and output the modified values.
{gsub(/_/," ",$1);print $1}
grove_cobalt 94 fable_indigo 74 fable_ember 33 delta_amber 4 fable_fable 73 harbor_juniper 15 indigo_delta 10 fable_indigo 11 birch_delta 39 birch_delta 100
grove cobalt fable indigo fable ember delta amber fable fable harbor juniper indigo delta fable indigo birch delta birch delta
fable_harbor 47 ember_fable 47 harbor_harbor 99 delta_ember 48 delta_cobalt 86 delta_harbor 47 harbor_birch 92
fable harbor ember fable harbor harbor delta ember delta cobalt delta harbor harbor birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019718
qwen/qwen3.7-plus
awkweave-0019719
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)}
farah cobalt 84 closed chen ember 70 active alice juniper 91 active alice harbor 37 closed gus harbor 95 ready ivan fable 99 paused kim cobalt 118 pending
closed 84 cobalt farah active 70 ember chen active 91 juniper alice closed 37 harbor alice ready 95 harbor gus paused 99 fable ivan pending 118 cobalt kim
kim juniper 92 closed ivan amber 64 pending eli juniper 103 closed lina delta 112 pending kim amber 72 failed gus harbor 104 active lina cobalt 103 ready
closed 92 juniper kim pending 64 amber ivan closed 103 juniper eli pending 112 delta lina failed 72 amber kim active 104 harbor gus ready 103 cobalt lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019719-p1
Reverse the sequence of fields for each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah cobalt 84 closed chen ember 70 active alice juniper 91 active alice harbor 37 closed gus harbor 95 ready ivan fable 99 paused kim cobalt 118 pending
closed 84 cobalt farah active 70 ember chen active 91 juniper alice closed 37 harbor alice ready 95 harbor gus paused 99 fable ivan pending 118 cobalt kim
kim juniper 92 closed ivan amber 64 pending eli juniper 103 closed lina delta 112 pending kim amber 72 failed gus harbor 104 active lina cobalt 103 ready
closed 92 juniper kim pending 64 amber ivan closed 103 juniper eli pending 112 delta lina failed 72 amber kim active 104 harbor gus ready 103 cobalt lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019719
qwen/qwen3.7-plus
awkweave-0019720
Print the number of whitespace-separated fields on each line.
{print NF}
eli amber 12 ready jules amber 86 failed farah grove 110 closed bruno indigo 10 paused hana ember 83 paused alice amber 31 paused hana delta 35 active alice delta 33 pending kim harbor 111 paused
4 4 4 4 4 4 4 4 4
gus ember 7 pending ivan indigo 66 pending eli fable 76 failed farah amber 21 active eli juniper 58 failed gus grove 112 paused alice ember 49 failed kim delta 101 failed kim indigo 63 active kim harbor 91 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0019720-p1
Output the count of whitespace-delimited fields present on each line.
{print NF}
eli amber 12 ready jules amber 86 failed farah grove 110 closed bruno indigo 10 paused hana ember 83 paused alice amber 31 paused hana delta 35 active alice delta 33 pending kim harbor 111 paused
4 4 4 4 4 4 4 4 4
gus ember 7 pending ivan indigo 66 pending eli fable 76 failed farah amber 21 active eli juniper 58 failed gus grove 112 paused alice ember 49 failed kim delta 101 failed kim indigo 63 active kim harbor 91 pending
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0019720
qwen/qwen3.7-plus