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-0050272-p1
Output the final field from each line of input.
{print $NF}
ready ember juniper 83 amber pending amber delta 119 cobalt closed birch birch 114 delta failed harbor ember 107 juniper active cobalt birch 32 cobalt failed ember birch 5 delta
amber cobalt delta juniper cobalt delta
failed harbor indigo 86 grove failed indigo ember 116 indigo paused cobalt juniper 49 delta ready ember delta 100 delta closed grove fable 80 cobalt paused indigo juniper 71 juniper active cobalt fable 88 amber ready cobalt harbor 89 amber
grove indigo delta delta cobalt juniper amber amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050272
qwen/qwen3.7-plus
awkweave-0050273
Print the complete records where column 2 is at most 28.
$2 <= 28
harbor 66 fable ready harbor amber 8 fable ready amber amber 28 fable pending indigo cobalt 14 juniper ready juniper amber 74 delta pending grove grove 93 birch ready birch delta 42 cobalt ready juniper
amber 8 fable ready amber amber 28 fable pending indigo cobalt 14 juniper ready juniper
juniper 59 indigo active juniper fable 76 fable failed cobalt cobalt 102 juniper paused fable juniper 14 ember pending birch cobalt 13 ember closed amber amber 84 birch pending cobalt
juniper 14 ember pending birch cobalt 13 ember closed amber
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050273-p1
Display full records where the value in the second column is less than or equal to 28.
$2 <= 28
harbor 66 fable ready harbor amber 8 fable ready amber amber 28 fable pending indigo cobalt 14 juniper ready juniper amber 74 delta pending grove grove 93 birch ready birch delta 42 cobalt ready juniper
amber 8 fable ready amber amber 28 fable pending indigo cobalt 14 juniper ready juniper
juniper 59 indigo active juniper fable 76 fable failed cobalt cobalt 102 juniper paused fable juniper 14 ember pending birch cobalt 13 ember closed amber amber 84 birch pending cobalt
juniper 14 ember pending birch cobalt 13 ember closed amber
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050273
qwen/qwen3.7-plus
awkweave-0050274
Show whole lines whose 3rd field is between 6 and 19, inclusive.
$3 >= 6 && $3 <= 19
active failed 2 fable closed ready 9 harbor ready ready 4 juniper pending active 11 grove pending failed 21 fable ready pending 5 ember active active 6 grove closed closed 23 fable paused failed 25 juniper
closed ready 9 harbor pending active 11 grove active active 6 grove
failed closed 6 delta ready failed 22 delta paused failed 3 amber active active 19 harbor paused failed 4 juniper active pending 21 indigo closed failed 30 amber
failed closed 6 delta active active 19 harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050274-p1
Show entire lines where the third field falls within the inclusive range of 6 to 19.
$3 >= 6 && $3 <= 19
active failed 2 fable closed ready 9 harbor ready ready 4 juniper pending active 11 grove pending failed 21 fable ready pending 5 ember active active 6 grove closed closed 23 fable paused failed 25 juniper
closed ready 9 harbor pending active 11 grove active active 6 grove
failed closed 6 delta ready failed 22 delta paused failed 3 amber active active 19 harbor paused failed 4 juniper active pending 21 indigo closed failed 30 amber
failed closed 6 delta active active 19 harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050274
qwen/qwen3.7-plus
awkweave-0050275
Print column 2 only for rows where column 1 is exactly closed.
$1 == "closed"{print $2}
active dina cobalt 75 closed jules cobalt 114 active gus indigo 113 failed kim amber 114 active farah fable 13 active bruno fable 58
jules
closed dina amber 87 closed hana harbor 45 closed farah grove 92 ready bruno ember 117 pending dina fable 20 paused bruno indigo 104
dina hana farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050275-p1
Output only the second column for rows where the first column matches 'closed' exactly.
$1 == "closed"{print $2}
active dina cobalt 75 closed jules cobalt 114 active gus indigo 113 failed kim amber 114 active farah fable 13 active bruno fable 58
jules
closed dina amber 87 closed hana harbor 45 closed farah grove 92 ready bruno ember 117 pending dina fable 20 paused bruno indigo 104
dina hana farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050275
qwen/qwen3.7-plus
awkweave-0050276
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
juniper DEBUG 4 fable DEBUG 83 indigo WARN 46 indigo WARN 4 harbor WARN 24 delta DEBUG 23 amber INFO 38 birch WARN 27
indigo WARN 46 indigo WARN 4 harbor WARN 24 birch WARN 27
fable ERROR 68 harbor ERROR 107 amber DEBUG 98 grove ERROR 112 delta ERROR 15 indigo WARN 9
indigo WARN 9
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050276-p1
Print all fields from lines where the second field starts with 'WARN'.
$2 ~ /^WARN/
juniper DEBUG 4 fable DEBUG 83 indigo WARN 46 indigo WARN 4 harbor WARN 24 delta DEBUG 23 amber INFO 38 birch WARN 27
indigo WARN 46 indigo WARN 4 harbor WARN 24 birch WARN 27
fable ERROR 68 harbor ERROR 107 amber DEBUG 98 grove ERROR 112 delta ERROR 15 indigo WARN 9
indigo WARN 9
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050276
qwen/qwen3.7-plus
awkweave-0050277
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
juniper 25 paused fable 87 active ember 120 active birch 10 ready indigo 43 paused birch 114 active cobalt 44 pending ember 69 failed indigo 999 active
juniper 25 paused fable 87 active ember 120 active birch 10 ready birch 114 active cobalt 44 pending ember 69 failed
indigo 27 ready indigo 100 ready harbor 5 paused juniper 118 active ember 22 pending indigo 78 paused birch 111 closed juniper 96 pending ember 83 paused grove 59 failed indigo 999 active
harbor 5 paused juniper 118 active ember 22 pending birch 111 closed juniper 96 pending ember 83 paused grove 59 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050277-p1
Output every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
juniper 25 paused fable 87 active ember 120 active birch 10 ready indigo 43 paused birch 114 active cobalt 44 pending ember 69 failed indigo 999 active
juniper 25 paused fable 87 active ember 120 active birch 10 ready birch 114 active cobalt 44 pending ember 69 failed
indigo 27 ready indigo 100 ready harbor 5 paused juniper 118 active ember 22 pending indigo 78 paused birch 111 closed juniper 96 pending ember 83 paused grove 59 failed indigo 999 active
harbor 5 paused juniper 118 active ember 22 pending birch 111 closed juniper 96 pending ember 83 paused grove 59 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050277
qwen/qwen3.7-plus
awkweave-0050278
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
chen cobalt 58 jules amber 67 jules harbor 55 jules birch 85 farah delta 86 dina birch 67 kim delta 53 alice ember 48 hana indigo 64 farah indigo 72
jules birch 85 farah delta 86
kim grove 106 lina birch 82 chen amber 109 ivan indigo 43 farah indigo 119 farah grove 60 gus indigo 23 jules indigo 88 dina grove 70
ivan indigo 43 farah indigo 119
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050278-p1
Print lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
chen cobalt 58 jules amber 67 jules harbor 55 jules birch 85 farah delta 86 dina birch 67 kim delta 53 alice ember 48 hana indigo 64 farah indigo 72
jules birch 85 farah delta 86
kim grove 106 lina birch 82 chen amber 109 ivan indigo 43 farah indigo 119 farah grove 60 gus indigo 23 jules indigo 88 dina grove 70
ivan indigo 43 farah indigo 119
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050278
qwen/qwen3.7-plus
awkweave-0050279
Output only the first 2 records.
NR <= 2
farah 53 birch eli 101 ember jules 88 fable lina 13 birch hana 69 amber gus 111 ember farah 13 ember chen 89 cobalt
farah 53 birch eli 101 ember
chen 5 grove eli 2 ember alice 67 amber gus 25 amber eli 39 juniper eli 75 grove bruno 98 ember jules 11 harbor lina 29 birch hana 81 harbor
chen 5 grove eli 2 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050279-p1
Output only the first 2 records.
NR <= 2
farah 53 birch eli 101 ember jules 88 fable lina 13 birch hana 69 amber gus 111 ember farah 13 ember chen 89 cobalt
farah 53 birch eli 101 ember
chen 5 grove eli 2 ember alice 67 amber gus 25 amber eli 39 juniper eli 75 grove bruno 98 ember jules 11 harbor lina 29 birch hana 81 harbor
chen 5 grove eli 2 ember
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0050279
qwen/qwen3.7-plus
awkweave-0050280
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 97 indigo farah 28 fable farah 103 fable hana 21 indigo lina 0 ember hana 94 cobalt eli 4 harbor
farah 28 fable farah 103 fable hana 21 indigo lina 0 ember hana 94 cobalt eli 4 harbor
hana 59 indigo farah 2 indigo farah 35 delta farah 81 delta hana 118 amber gus 106 fable
farah 2 indigo farah 35 delta farah 81 delta hana 118 amber gus 106 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050280-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 97 indigo farah 28 fable farah 103 fable hana 21 indigo lina 0 ember hana 94 cobalt eli 4 harbor
farah 28 fable farah 103 fable hana 21 indigo lina 0 ember hana 94 cobalt eli 4 harbor
hana 59 indigo farah 2 indigo farah 35 delta farah 81 delta hana 118 amber gus 106 fable
farah 2 indigo farah 35 delta farah 81 delta hana 118 amber gus 106 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050280
qwen/qwen3.7-plus
awkweave-0050281
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
eli paused 55 lina paused 111 bruno failed 14 bruno failed 111 chen failed 54 lina paused 104 chen failed 110 lina paused 101 ivan active 76
0
lina active 83 chen active 105 chen failed 66 farah pending 60 lina closed 76 jules closed 107 dina closed 70 dina pending 39
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050281-p1
Count the number of records where column 2 is 'closed', printing 0 if none exist.
$2 == "closed"{n++}END{print n+0}
eli paused 55 lina paused 111 bruno failed 14 bruno failed 111 chen failed 54 lina paused 104 chen failed 110 lina paused 101 ivan active 76
0
lina active 83 chen active 105 chen failed 66 farah pending 60 lina closed 76 jules closed 107 dina closed 70 dina pending 39
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050281
qwen/qwen3.7-plus
awkweave-0050282
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
5 jules amber 20 jules fable 21 gus birch 29 bruno fable 28 kim delta 5 jules delta 14 bruno birch 6 hana ember 16 lina cobalt
144
4 bruno grove 28 lina ember 22 kim amber 3 alice cobalt 20 dina amber 14 lina ember 26 jules delta 9 eli ember 6 alice amber
132
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050282-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
5 jules amber 20 jules fable 21 gus birch 29 bruno fable 28 kim delta 5 jules delta 14 bruno birch 6 hana ember 16 lina cobalt
144
4 bruno grove 28 lina ember 22 kim amber 3 alice cobalt 20 dina amber 14 lina ember 26 jules delta 9 eli ember 6 alice amber
132
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050282
qwen/qwen3.7-plus
awkweave-0050283
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
fable 3 eli birch 10 eli delta 18 gus harbor 29 hana amber 5 alice grove 5 dina ember 28 kim grove 19 dina
14.62
amber 19 jules ember 3 bruno juniper 15 jules grove 17 gus indigo 9 ivan ember 2 farah indigo 14 alice
11.29
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050283-p1
Calculate the average of column 2 and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
fable 3 eli birch 10 eli delta 18 gus harbor 29 hana amber 5 alice grove 5 dina ember 28 kim grove 19 dina
14.62
amber 19 jules ember 3 bruno juniper 15 jules grove 17 gus indigo 9 ivan ember 2 farah indigo 14 alice
11.29
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050283
qwen/qwen3.7-plus
awkweave-0050284
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
gus indigo 16 jules fable 20 ivan indigo 20 eli juniper 26 jules indigo 1 farah harbor 15 lina cobalt 29 gus amber 27 ivan delta 24
1
dina cobalt 28 alice birch 11 hana delta 19 eli indigo 30 gus delta 22 ivan birch 10 alice birch 17
10
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050284-p1
Identify and output the minimum numerical value found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
gus indigo 16 jules fable 20 ivan indigo 20 eli juniper 26 jules indigo 1 farah harbor 15 lina cobalt 29 gus amber 27 ivan delta 24
1
dina cobalt 28 alice birch 11 hana delta 19 eli indigo 30 gus delta 22 ivan birch 10 alice birch 17
10
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050284
qwen/qwen3.7-plus
awkweave-0050285
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
jules cobalt 26 ivan ember 7 bruno ember 1 chen harbor 2 chen delta 10 eli amber 14 ivan indigo 29 lina grove 11 alice harbor 2
29
dina harbor 28 ivan harbor 29 gus amber 13 jules juniper 30 eli indigo 12 jules amber 28 jules birch 29 bruno birch 25 jules fable 11 jules ember 13
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050285-p1
Identify and output the maximum numerical value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
jules cobalt 26 ivan ember 7 bruno ember 1 chen harbor 2 chen delta 10 eli amber 14 ivan indigo 29 lina grove 11 alice harbor 2
29
dina harbor 28 ivan harbor 29 gus amber 13 jules juniper 30 eli indigo 12 jules amber 28 jules birch 29 bruno birch 25 jules fable 11 jules ember 13
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050285
qwen/qwen3.7-plus
awkweave-0050286
Count all input records and print the total.
END{print NR}
dina 60 eli 96 dina 26 chen 29 chen 47 gus 29 bruno 115 jules 107
8
dina 110 lina 82 ivan 19 dina 71 bruno 103 ivan 48 farah 118
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050286-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 60 eli 96 dina 26 chen 29 chen 47 gus 29 bruno 115 jules 107
8
dina 110 lina 82 ivan 19 dina 71 bruno 103 ivan 48 farah 118
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050286
qwen/qwen3.7-plus
awkweave-0050287
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana juniper 72 jules delta 109 jules harbor 27 gus delta 17 gus amber 110 chen delta 117 gus amber 110 kim juniper 92 eli birch 9
hana juniper 72 jules delta 109 jules harbor 27 gus delta 17 gus amber 110 chen delta 117 kim juniper 92 eli birch 9
farah juniper 50 alice delta 66 hana fable 119 lina amber 54 lina indigo 38 hana amber 111 lina cobalt 24 alice harbor 7 alice harbor 7
farah juniper 50 alice delta 66 hana fable 119 lina amber 54 lina indigo 38 hana amber 111 lina cobalt 24 alice harbor 7
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050287-p1
Eliminate duplicate lines while maintaining the original sequence and keeping only the first instance of each.
!seen[$0]++
hana juniper 72 jules delta 109 jules harbor 27 gus delta 17 gus amber 110 chen delta 117 gus amber 110 kim juniper 92 eli birch 9
hana juniper 72 jules delta 109 jules harbor 27 gus delta 17 gus amber 110 chen delta 117 kim juniper 92 eli birch 9
farah juniper 50 alice delta 66 hana fable 119 lina amber 54 lina indigo 38 hana amber 111 lina cobalt 24 alice harbor 7 alice harbor 7
farah juniper 50 alice delta 66 hana fable 119 lina amber 54 lina indigo 38 hana amber 111 lina cobalt 24 alice harbor 7
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050287
qwen/qwen3.7-plus
awkweave-0050288
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
lina birch 88 jules harbor 19 jules birch 69 gus indigo 38 hana cobalt 48 farah harbor 103 gus delta 110
lina birch 88 jules harbor 19 gus indigo 38 hana cobalt 48 farah harbor 103
dina delta 77 lina cobalt 115 jules grove 38 kim ember 65 alice grove 39 farah ember 2
dina delta 77 lina cobalt 115 jules grove 38 kim ember 65 alice grove 39 farah ember 2
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050288-p1
Retain only the initial line for every unique value in the first column, ensuring the original input order is preserved.
!seen[$1]++
lina birch 88 jules harbor 19 jules birch 69 gus indigo 38 hana cobalt 48 farah harbor 103 gus delta 110
lina birch 88 jules harbor 19 gus indigo 38 hana cobalt 48 farah harbor 103
dina delta 77 lina cobalt 115 jules grove 38 kim ember 65 alice grove 39 farah ember 2
dina delta 77 lina cobalt 115 jules grove 38 kim ember 65 alice grove 39 farah ember 2
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050288
qwen/qwen3.7-plus
awkweave-0050289
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 11 ember farah 14 grove chen 20 harbor bruno 6 harbor gus 25 indigo ivan 28 cobalt eli 21 harbor hana 7 ember eli 20 juniper
jules 11 farah 25 chen 45 bruno 51 gus 76 ivan 104 eli 125 hana 132 eli 152
lina 24 juniper lina 18 birch farah 3 fable alice 19 indigo hana 9 harbor ivan 21 harbor dina 7 fable chen 21 birch lina 24 delta chen 15 ember
lina 24 lina 42 farah 45 alice 64 hana 73 ivan 94 dina 101 chen 122 lina 146 chen 161
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050289-p1
For each entry, output the first column alongside the cumulative sum of the second column, using a space as the delimiter.
{s+=$2;print $1,s}
jules 11 ember farah 14 grove chen 20 harbor bruno 6 harbor gus 25 indigo ivan 28 cobalt eli 21 harbor hana 7 ember eli 20 juniper
jules 11 farah 25 chen 45 bruno 51 gus 76 ivan 104 eli 125 hana 132 eli 152
lina 24 juniper lina 18 birch farah 3 fable alice 19 indigo hana 9 harbor ivan 21 harbor dina 7 fable chen 21 birch lina 24 delta chen 15 ember
lina 24 lina 42 farah 45 alice 64 hana 73 ivan 94 dina 101 chen 122 lina 146 chen 161
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050289
qwen/qwen3.7-plus
awkweave-0050300
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region note score state r001 hana 24 pending r002 bruno 10 ready r003 alice 16 failed r004 jules 22 ready r005 ivan 29 closed r006 chen 5 active
pending ready failed ready closed active
region note score state r001 lina 29 ready r002 gus 19 paused r003 alice 14 active r004 dina 11 failed r005 eli 17 closed r006 lina 28 pending
ready paused active failed closed pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050300-p1
Treating the first row as a header, output the values from the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
region note score state r001 hana 24 pending r002 bruno 10 ready r003 alice 16 failed r004 jules 22 ready r005 ivan 29 closed r006 chen 5 active
pending ready failed ready closed active
region note score state r001 lina 29 ready r002 gus 19 paused r003 alice 14 active r004 dina 11 failed r005 eli 17 closed r006 lina 28 pending
ready paused active failed closed pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050300
qwen/qwen3.7-plus
awkweave-0050301
The first row is a header. Print display_name for data rows whose score is greater than 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 ivan 16 active r002 ivan 20 paused r003 hana 5 ready r004 chen 25 active r005 alice 28 closed r006 ivan 21 paused r007 eli 8 paused r008 chen 6 ready
ivan ivan chen alice ivan
record_id display_name score state r001 alice 30 pending r002 jules 4 ready r003 chen 8 pending r004 kim 22 failed r005 lina 16 pending r006 lina 1 paused r007 dina 6 failed r008 bruno 13 pending
alice kim lina bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050301-p1
With the first row serving as a header, print the display_name field for data rows where the score exceeds 10.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]}
record_id display_name score state r001 ivan 16 active r002 ivan 20 paused r003 hana 5 ready r004 chen 25 active r005 alice 28 closed r006 ivan 21 paused r007 eli 8 paused r008 chen 6 ready
ivan ivan chen alice ivan
record_id display_name score state r001 alice 30 pending r002 jules 4 ready r003 chen 8 pending r004 kim 22 failed r005 lina 16 pending r006 lina 1 paused r007 dina 6 failed r008 bruno 13 pending
alice kim lina bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050301
qwen/qwen3.7-plus
awkweave-0050302
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 20 paused eli 8 paused ivan 9 active jules 10 pending gus 22 failed chen 18 paused
paused paused active pending failed paused
jules 15 failed lina 8 active hana 9 pending chen 4 active chen 2 active eli 9 active lina 10 paused chen 12 pending
failed active pending active active active paused pending
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050302-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 20 paused eli 8 paused ivan 9 active jules 10 pending gus 22 failed chen 18 paused
paused paused active pending failed paused
jules 15 failed lina 8 active hana 9 pending chen 4 active chen 2 active eli 9 active lina 10 paused chen 12 pending
failed active pending active active active paused pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0050302
qwen/qwen3.7-plus
awkweave-0050303
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19.
BEGIN{FS=OFS=","}$2>19{print $1}
kim,19,pending lina,3,failed hana,19,ready jules,8,paused chen,4,active eli,29,closed dina,25,active hana,5,ready hana,22,pending
eli dina hana
jules,26,paused kim,9,paused hana,5,closed gus,8,closed alice,29,pending chen,25,ready chen,30,pending bruno,30,pending
jules alice chen chen bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050303-p1
For simple comma-separated data without quoted commas, print the first column whenever the second column's value is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
kim,19,pending lina,3,failed hana,19,ready jules,8,paused chen,4,active eli,29,closed dina,25,active hana,5,ready hana,22,pending
eli dina hana
jules,26,paused kim,9,paused hana,5,closed gus,8,closed alice,29,pending chen,25,ready chen,30,pending bruno,30,pending
jules alice chen chen bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050303
qwen/qwen3.7-plus
awkweave-0050304
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah amber 31 hana fable 1 dina ember 119 ivan amber 92 chen harbor 16 dina delta 108 lina birch 87
farah amber 31 hana fable 1 dina ember 119 ivan amber 92 chen harbor 16 dina delta 108 lina birch 87
chen juniper 12 eli birch 75 alice grove 109 ivan birch 118 alice harbor 54 farah cobalt 115 bruno harbor 90
chen juniper 12 eli birch 75 alice grove 109 ivan birch 118 alice harbor 54 farah cobalt 115 bruno harbor 90
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050304-p1
Strip leading and trailing whitespace, and reduce any internal whitespace sequences to a single space.
{$1=$1;print}
farah amber 31 hana fable 1 dina ember 119 ivan amber 92 chen harbor 16 dina delta 108 lina birch 87
farah amber 31 hana fable 1 dina ember 119 ivan amber 92 chen harbor 16 dina delta 108 lina birch 87
chen juniper 12 eli birch 75 alice grove 109 ivan birch 118 alice harbor 54 farah cobalt 115 bruno harbor 90
chen juniper 12 eli birch 75 alice grove 109 ivan birch 118 alice harbor 54 farah cobalt 115 bruno harbor 90
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050304
qwen/qwen3.7-plus
awkweave-0050305
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina fable 105 paused farah amber 120 active lina birch 76 active farah ember 27 closed hana cobalt 85 paused eli indigo 64 active
farah amber 120 active
eli fable 107 pending eli fable 39 ready lina delta 105 active chen fable 12 failed bruno ember 36 closed farah grove 57 paused bruno fable 64 ready hana ember 4 ready
eli fable 107 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050305-p1
Locate and print the longest line from the input; in case of a tie in length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina fable 105 paused farah amber 120 active lina birch 76 active farah ember 27 closed hana cobalt 85 paused eli indigo 64 active
farah amber 120 active
eli fable 107 pending eli fable 39 ready lina delta 105 active chen fable 12 failed bruno ember 36 closed farah grove 57 paused bruno fable 64 ready hana ember 4 ready
eli fable 107 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050305
qwen/qwen3.7-plus
awkweave-0050306
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
ivan 114 jules 51 bruno 85 ivan 96 chen 50 eli 42 lina 110
bruno 85 eli 42
kim 31 eli 15 jules 87 bruno 109 farah 26 hana 114 kim 17
jules 87 hana 114
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050306-p1
Output every third line beginning with line 3 (i.e., lines 3, 6, etc.).
NR%3==0
ivan 114 jules 51 bruno 85 ivan 96 chen 50 eli 42 lina 110
bruno 85 eli 42
kim 31 eli 15 jules 87 bruno 109 farah 26 hana 114 kim 17
jules 87 hana 114
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050306
qwen/qwen3.7-plus
awkweave-0050307
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 72 delta amber 38 beta fable 91 alpha harbor 102 alpha harbor 5 beta fable 42 alpha grove 26
5
beta amber 19 gamma amber 14 gamma amber 37 gamma birch 90 alpha ember 85 beta cobalt 44
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050307-p1
Calculate and display the number of unique entries in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta juniper 72 delta amber 38 beta fable 91 alpha harbor 102 alpha harbor 5 beta fable 42 alpha grove 26
5
beta amber 19 gamma amber 14 gamma amber 37 gamma birch 90 alpha ember 85 beta cobalt 44
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050307
qwen/qwen3.7-plus
awkweave-0050308
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}
ivan 15 0 chen 15 8 farah 3 19 bruno 17 17 gus 20 24 chen 13 10 chen 6 18 chen 2 4 chen 23 25
chen 1.88 farah 0.16 bruno 1.00 gus 0.83 chen 1.30 chen 0.33 chen 0.50 chen 0.92
farah 17 0 eli 25 17 kim 5 26 eli 2 1 hana 15 26 eli 4 12 jules 25 14 chen 19 8 kim 5 1
eli 1.47 kim 0.19 eli 2.00 hana 0.58 eli 0.33 jules 1.79 chen 2.38 kim 5.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050308-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 15 0 chen 15 8 farah 3 19 bruno 17 17 gus 20 24 chen 13 10 chen 6 18 chen 2 4 chen 23 25
chen 1.88 farah 0.16 bruno 1.00 gus 0.83 chen 1.30 chen 0.33 chen 0.50 chen 0.92
farah 17 0 eli 25 17 kim 5 26 eli 2 1 hana 15 26 eli 4 12 jules 25 14 chen 19 8 kim 5 1
eli 1.47 kim 0.19 eli 2.00 hana 0.58 eli 0.33 jules 1.79 chen 2.38 kim 5.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050308
qwen/qwen3.7-plus
awkweave-0050309
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 harbor 26 jules birch 21 lina grove 30 jules juniper 5 alice juniper 5 alice harbor 7 lina birch 24 eli cobalt 9
lina grove 30 farah harbor 26 lina birch 24
farah indigo 3 farah birch 15 jules juniper 18 chen juniper 26 jules grove 10 farah ember 12 hana birch 5 hana cobalt 28
hana cobalt 28 chen juniper 26 jules juniper 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050309-p1
Display the full records corresponding to the top three numeric values in column 3, sorted in descending order; maintain the original input sequence 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 harbor 26 jules birch 21 lina grove 30 jules juniper 5 alice juniper 5 alice harbor 7 lina birch 24 eli cobalt 9
lina grove 30 farah harbor 26 lina birch 24
farah indigo 3 farah birch 15 jules juniper 18 chen juniper 26 jules grove 10 farah ember 12 hana birch 5 hana cobalt 28
hana cobalt 28 chen juniper 26 jules juniper 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050309
qwen/qwen3.7-plus
awkweave-0050310
Select the 3rd and 1st fields in that order.
{print $3, $1}
ivan paused pending fable 23 bruno ready closed grove 70 eli ready ready harbor 11 alice active ready amber 74 jules closed failed amber 43 ivan failed pending indigo 20 kim paused failed delta 86 farah active paused harbor 101
pending ivan closed bruno ready eli ready alice failed jules pending ivan failed kim paused farah
eli closed closed delta 25 lina ready paused cobalt 28 jules pending ready grove 7 hana paused failed harbor 17 hana failed active ember 14 hana failed paused grove 47
closed eli paused lina ready jules failed hana active hana paused hana
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050310-p1
Extract and print the third field followed by the first field.
{print $3, $1}
ivan paused pending fable 23 bruno ready closed grove 70 eli ready ready harbor 11 alice active ready amber 74 jules closed failed amber 43 ivan failed pending indigo 20 kim paused failed delta 86 farah active paused harbor 101
pending ivan closed bruno ready eli ready alice failed jules pending ivan failed kim paused farah
eli closed closed delta 25 lina ready paused cobalt 28 jules pending ready grove 7 hana paused failed harbor 17 hana failed active ember 14 hana failed paused grove 47
closed eli paused lina ready jules failed hana active hana paused hana
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050310
qwen/qwen3.7-plus
awkweave-0050311
Print the last field of every input line.
{print $NF}
ready 87 ember indigo closed 105 ember cobalt closed 63 cobalt birch ready 90 ember harbor closed 2 cobalt birch paused 117 amber ember closed 80 cobalt cobalt
indigo cobalt birch harbor birch ember cobalt
paused 92 amber indigo active 85 harbor grove ready 16 fable ember ready 54 indigo grove paused 67 fable fable closed 51 birch birch
indigo grove ember grove fable birch
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050311-p1
Output the final field from each line of input.
{print $NF}
ready 87 ember indigo closed 105 ember cobalt closed 63 cobalt birch ready 90 ember harbor closed 2 cobalt birch paused 117 amber ember closed 80 cobalt cobalt
indigo cobalt birch harbor birch ember cobalt
paused 92 amber indigo active 85 harbor grove ready 16 fable ember ready 54 indigo grove paused 67 fable fable closed 51 birch birch
indigo grove ember grove fable birch
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050311
qwen/qwen3.7-plus
awkweave-0050312
Print the complete records where column 1 is less than 45.
$1 < 45
55 delta ready ready 63 birch closed failed 16 ember closed ready 83 grove active pending 76 amber paused failed 34 cobalt paused pending
16 ember closed ready 34 cobalt paused pending
4 cobalt closed active 97 birch pending ready 102 harbor closed closed 29 birch paused closed 42 grove paused paused 78 delta pending pending 34 delta closed closed 26 harbor ready active 15 grove ready active 104 juniper active active
4 cobalt closed active 29 birch paused closed 42 grove paused paused 34 delta closed closed 26 harbor ready active 15 grove ready active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050312-p1
Print entire rows where the value in the first column is less than 45.
$1 < 45
55 delta ready ready 63 birch closed failed 16 ember closed ready 83 grove active pending 76 amber paused failed 34 cobalt paused pending
16 ember closed ready 34 cobalt paused pending
4 cobalt closed active 97 birch pending ready 102 harbor closed closed 29 birch paused closed 42 grove paused paused 78 delta pending pending 34 delta closed closed 26 harbor ready active 15 grove ready active 104 juniper active active
4 cobalt closed active 29 birch paused closed 42 grove paused paused 34 delta closed closed 26 harbor ready active 15 grove ready active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050312
qwen/qwen3.7-plus
awkweave-0050313
Show whole lines whose 1st field is between 8 and 27, inclusive.
$1 >= 8 && $1 <= 27
5 ready eli lina 12 active hana lina 20 failed dina ivan 17 active ivan eli 11 pending bruno dina 14 closed kim dina 1 active hana jules
12 active hana lina 20 failed dina ivan 17 active ivan eli 11 pending bruno dina 14 closed kim dina
4 active hana gus 5 active lina gus 21 closed ivan alice 5 pending alice lina 16 ready chen hana 20 pending kim jules 4 failed farah lina 20 ready chen lina
21 closed ivan alice 16 ready chen hana 20 pending kim jules 20 ready chen lina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050313-p1
Display complete lines where the first field falls within the inclusive range of 8 to 27.
$1 >= 8 && $1 <= 27
5 ready eli lina 12 active hana lina 20 failed dina ivan 17 active ivan eli 11 pending bruno dina 14 closed kim dina 1 active hana jules
12 active hana lina 20 failed dina ivan 17 active ivan eli 11 pending bruno dina 14 closed kim dina
4 active hana gus 5 active lina gus 21 closed ivan alice 5 pending alice lina 16 ready chen hana 20 pending kim jules 4 failed farah lina 20 ready chen lina
21 closed ivan alice 16 ready chen hana 20 pending kim jules 20 ready chen lina
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050313
qwen/qwen3.7-plus
awkweave-0050314
Print column 1 only for rows where column 3 is exactly pending.
$3 == "pending"{print $1}
kim harbor active 114 farah amber paused 106 jules grove closed 100 alice amber failed 97 chen harbor paused 31 lina indigo failed 19 eli amber active 112 farah cobalt pending 73 jules ember failed 22 eli amber paused 93
farah
chen juniper pending 5 ivan harbor paused 11 eli birch failed 70 gus cobalt ready 89 lina ember pending 37 alice birch closed 54 gus indigo ready 27 alice fable failed 113 eli ember ready 70 kim fable paused 6
chen lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050314-p1
Output only the first column for rows where the third column equals 'pending'.
$3 == "pending"{print $1}
kim harbor active 114 farah amber paused 106 jules grove closed 100 alice amber failed 97 chen harbor paused 31 lina indigo failed 19 eli amber active 112 farah cobalt pending 73 jules ember failed 22 eli amber paused 93
farah
chen juniper pending 5 ivan harbor paused 11 eli birch failed 70 gus cobalt ready 89 lina ember pending 37 alice birch closed 54 gus indigo ready 27 alice fable failed 113 eli ember ready 70 kim fable paused 6
chen lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050314
qwen/qwen3.7-plus
awkweave-0050315
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
indigo INFO 106 amber ERROR 109 harbor DEBUG 115 amber ERROR 115 delta WARN 76 juniper DEBUG 8 cobalt DEBUG 51 juniper WARN 33
indigo INFO 106
indigo WARN 33 fable INFO 97 indigo ERROR 15 ember INFO 6 birch DEBUG 42 amber INFO 96 grove DEBUG 113 delta INFO 88 cobalt WARN 113
fable INFO 97 ember INFO 6 amber INFO 96 delta INFO 88
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050315-p1
Print all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
indigo INFO 106 amber ERROR 109 harbor DEBUG 115 amber ERROR 115 delta WARN 76 juniper DEBUG 8 cobalt DEBUG 51 juniper WARN 33
indigo INFO 106
indigo WARN 33 fable INFO 97 indigo ERROR 15 ember INFO 6 birch DEBUG 42 amber INFO 96 grove DEBUG 113 delta INFO 88 cobalt WARN 113
fable INFO 97 ember INFO 6 amber INFO 96 delta INFO 88
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050315
qwen/qwen3.7-plus
awkweave-0050316
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
amber 0 failed cobalt 109 pending birch 83 pending amber 68 paused amber 0 paused indigo 65 active fable 15 ready juniper 999 active
amber 0 failed cobalt 109 pending birch 83 pending amber 68 paused amber 0 paused indigo 65 active fable 15 ready
juniper 76 active juniper 89 failed indigo 56 ready harbor 62 pending indigo 67 failed delta 68 closed amber 94 paused harbor 31 active juniper 999 active
indigo 56 ready harbor 62 pending indigo 67 failed delta 68 closed amber 94 paused harbor 31 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050316-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
amber 0 failed cobalt 109 pending birch 83 pending amber 68 paused amber 0 paused indigo 65 active fable 15 ready juniper 999 active
amber 0 failed cobalt 109 pending birch 83 pending amber 68 paused amber 0 paused indigo 65 active fable 15 ready
juniper 76 active juniper 89 failed indigo 56 ready harbor 62 pending indigo 67 failed delta 68 closed amber 94 paused harbor 31 active juniper 999 active
indigo 56 ready harbor 62 pending indigo 67 failed delta 68 closed amber 94 paused harbor 31 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050316
qwen/qwen3.7-plus
awkweave-0050317
Print lines 3 through 5, including both endpoints.
NR >= 3 && NR <= 5
hana birch 82 farah fable 107 farah birch 86 chen amber 111 chen ember 60 lina grove 111 lina juniper 4 lina delta 74
farah birch 86 chen amber 111 chen ember 60
gus ember 15 gus indigo 59 gus harbor 64 farah grove 119 dina fable 48 kim ember 5 ivan cobalt 65 alice delta 78 eli delta 10 gus juniper 91
gus harbor 64 farah grove 119 dina fable 48
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050317-p1
Print lines 3 through 5, inclusive.
NR >= 3 && NR <= 5
hana birch 82 farah fable 107 farah birch 86 chen amber 111 chen ember 60 lina grove 111 lina juniper 4 lina delta 74
farah birch 86 chen amber 111 chen ember 60
gus ember 15 gus indigo 59 gus harbor 64 farah grove 119 dina fable 48 kim ember 5 ivan cobalt 65 alice delta 78 eli delta 10 gus juniper 91
gus harbor 64 farah grove 119 dina fable 48
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050317
qwen/qwen3.7-plus
awkweave-0050318
Output only the first 2 records.
NR <= 2
gus 53 cobalt eli 68 cobalt bruno 117 harbor dina 89 juniper hana 18 fable dina 6 amber lina 22 amber farah 82 indigo
gus 53 cobalt eli 68 cobalt
eli 65 birch kim 94 ember hana 83 juniper ivan 72 cobalt hana 26 grove bruno 23 indigo
eli 65 birch kim 94 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050318-p1
Display only the initial two records.
NR <= 2
gus 53 cobalt eli 68 cobalt bruno 117 harbor dina 89 juniper hana 18 fable dina 6 amber lina 22 amber farah 82 indigo
gus 53 cobalt eli 68 cobalt
eli 65 birch kim 94 ember hana 83 juniper ivan 72 cobalt hana 26 grove bruno 23 indigo
eli 65 birch kim 94 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050318
qwen/qwen3.7-plus
awkweave-0050319
Skip the first line and print every remaining line unchanged.
NR > 1
hana 104 grove eli 37 fable eli 3 delta jules 51 juniper eli 26 harbor hana 68 juniper chen 7 fable
eli 37 fable eli 3 delta jules 51 juniper eli 26 harbor hana 68 juniper chen 7 fable
jules 73 grove kim 17 grove alice 106 delta bruno 22 ember hana 47 harbor farah 114 harbor chen 110 juniper
kim 17 grove alice 106 delta bruno 22 ember hana 47 harbor farah 114 harbor chen 110 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050319-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
hana 104 grove eli 37 fable eli 3 delta jules 51 juniper eli 26 harbor hana 68 juniper chen 7 fable
eli 37 fable eli 3 delta jules 51 juniper eli 26 harbor hana 68 juniper chen 7 fable
jules 73 grove kim 17 grove alice 106 delta bruno 22 ember hana 47 harbor farah 114 harbor chen 110 juniper
kim 17 grove alice 106 delta bruno 22 ember hana 47 harbor farah 114 harbor chen 110 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050319
qwen/qwen3.7-plus
awkweave-0050320
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
dina closed 10 alice closed 26 eli closed 45 lina failed 35 jules active 22 eli ready 61
3
gus pending 75 hana pending 106 dina pending 54 chen active 79 chen closed 45 eli closed 92 kim ready 38 hana pending 51 alice pending 4 kim paused 0
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050320-p1
Determine the number of entries where column 2 contains 'closed', outputting 0 if no such entries exist.
$2 == "closed"{n++}END{print n+0}
dina closed 10 alice closed 26 eli closed 45 lina failed 35 jules active 22 eli ready 61
3
gus pending 75 hana pending 106 dina pending 54 chen active 79 chen closed 45 eli closed 92 kim ready 38 hana pending 51 alice pending 4 kim paused 0
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050320
qwen/qwen3.7-plus
awkweave-0050321
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
alice 7 indigo dina 14 indigo dina 23 indigo kim 10 birch ivan 13 grove lina 28 ember hana 8 cobalt
103
kim 11 juniper bruno 27 delta dina 25 amber hana 10 delta lina 5 delta dina 15 delta bruno 30 cobalt eli 18 juniper alice 1 juniper
142
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050321-p1
Compute and display the total sum of integer values found in column 2.
{s+=$2}END{print s+0}
alice 7 indigo dina 14 indigo dina 23 indigo kim 10 birch ivan 13 grove lina 28 ember hana 8 cobalt
103
kim 11 juniper bruno 27 delta dina 25 amber hana 10 delta lina 5 delta dina 15 delta bruno 30 cobalt eli 18 juniper alice 1 juniper
142
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050321
qwen/qwen3.7-plus
awkweave-0050322
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 28 harbor chen 10 amber chen 10 delta eli 8 grove gus 6 ember lina 29 juniper eli 25 harbor
16.57
jules 17 cobalt hana 10 amber eli 9 birch bruno 22 harbor hana 5 delta eli 30 fable hana 5 birch
14.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050322-p1
Output the average value of column 2, formatted to precisely two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 28 harbor chen 10 amber chen 10 delta eli 8 grove gus 6 ember lina 29 juniper eli 25 harbor
16.57
jules 17 cobalt hana 10 amber eli 9 birch bruno 22 harbor hana 5 delta eli 30 fable hana 5 birch
14.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050322
qwen/qwen3.7-plus
awkweave-0050323
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta ivan 26 indigo lina 13 amber farah 13 birch hana 23 harbor kim 29 cobalt bruno 28 indigo dina 23
13
cobalt jules 10 juniper gus 24 cobalt eli 16 ember ivan 30 amber hana 9 fable jules 29 cobalt ivan 3 juniper ivan 15 fable farah 9
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050323-p1
Identify and print the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
delta ivan 26 indigo lina 13 amber farah 13 birch hana 23 harbor kim 29 cobalt bruno 28 indigo dina 23
13
cobalt jules 10 juniper gus 24 cobalt eli 16 ember ivan 30 amber hana 9 fable jules 29 cobalt ivan 3 juniper ivan 15 fable farah 9
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050323
qwen/qwen3.7-plus
awkweave-0050324
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 22 ember ivan 3 grove gus 9 harbor kim 13 grove kim 13 cobalt kim 27 delta alice 17 amber hana 28 birch lina 22 harbor bruno 26 cobalt
28
kim 7 amber dina 4 cobalt lina 18 ember hana 6 delta jules 16 cobalt kim 7 cobalt jules 4 indigo alice 1 indigo gus 5 fable bruno 13 grove
18
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050324-p1
Identify and print the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 22 ember ivan 3 grove gus 9 harbor kim 13 grove kim 13 cobalt kim 27 delta alice 17 amber hana 28 birch lina 22 harbor bruno 26 cobalt
28
kim 7 amber dina 4 cobalt lina 18 ember hana 6 delta jules 16 cobalt kim 7 cobalt jules 4 indigo alice 1 indigo gus 5 fable bruno 13 grove
18
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050324
qwen/qwen3.7-plus
awkweave-0050325
Count all input records and print the total.
END{print NR}
dina 74 dina 86 dina 59 lina 70 lina 35 eli 96 dina 26
7
lina 31 kim 37 lina 22 alice 51 farah 0 bruno 55
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050325-p1
Count the total number of input records and display the result.
END{print NR}
dina 74 dina 86 dina 59 lina 70 lina 35 eli 96 dina 26
7
lina 31 kim 37 lina 22 alice 51 farah 0 bruno 55
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050325
qwen/qwen3.7-plus
awkweave-0050326
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana birch 21 bruno juniper 67 farah ember 28 dina fable 34 gus delta 65 alice ember 71 ivan cobalt 100 hana delta 34 farah ember 119 bruno juniper 67 gus juniper 97
hana birch 21 bruno juniper 67 farah ember 28 dina fable 34 gus delta 65 alice ember 71 ivan cobalt 100 hana delta 34 farah ember 119 gus juniper 97
farah ember 90 kim grove 11 bruno juniper 2 jules grove 104 kim grove 106 kim grove 106 hana birch 6 hana amber 45 hana ember 53 alice ember 32
farah ember 90 kim grove 11 bruno juniper 2 jules grove 104 kim grove 106 hana birch 6 hana amber 45 hana ember 53 alice ember 32
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050326-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
hana birch 21 bruno juniper 67 farah ember 28 dina fable 34 gus delta 65 alice ember 71 ivan cobalt 100 hana delta 34 farah ember 119 bruno juniper 67 gus juniper 97
hana birch 21 bruno juniper 67 farah ember 28 dina fable 34 gus delta 65 alice ember 71 ivan cobalt 100 hana delta 34 farah ember 119 gus juniper 97
farah ember 90 kim grove 11 bruno juniper 2 jules grove 104 kim grove 106 kim grove 106 hana birch 6 hana amber 45 hana ember 53 alice ember 32
farah ember 90 kim grove 11 bruno juniper 2 jules grove 104 kim grove 106 hana birch 6 hana amber 45 hana ember 53 alice ember 32
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050326
qwen/qwen3.7-plus
awkweave-0050327
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
dina ember 108 hana ember 5 hana harbor 20 gus grove 114 hana delta 47 eli harbor 85 jules grove 21 hana amber 84 bruno delta 74 farah harbor 68
dina ember 108 hana ember 5 gus grove 114 eli harbor 85 jules grove 21 bruno delta 74 farah harbor 68
eli delta 95 bruno juniper 20 kim amber 19 jules ember 5 gus delta 69 gus harbor 120 alice ember 92 eli fable 9 gus harbor 37 bruno juniper 106
eli delta 95 bruno juniper 20 kim amber 19 jules ember 5 gus delta 69 alice ember 92
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050327-p1
Retain only the first occurrence for every unique value in column 1, preserving the original sequence.
!seen[$1]++
dina ember 108 hana ember 5 hana harbor 20 gus grove 114 hana delta 47 eli harbor 85 jules grove 21 hana amber 84 bruno delta 74 farah harbor 68
dina ember 108 hana ember 5 gus grove 114 eli harbor 85 jules grove 21 bruno delta 74 farah harbor 68
eli delta 95 bruno juniper 20 kim amber 19 jules ember 5 gus delta 69 gus harbor 120 alice ember 92 eli fable 9 gus harbor 37 bruno juniper 106
eli delta 95 bruno juniper 20 kim amber 19 jules ember 5 gus delta 69 alice ember 92
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050327
qwen/qwen3.7-plus
awkweave-0050328
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 3 ember jules 30 amber lina 29 harbor bruno 24 juniper lina 10 harbor ivan 21 amber kim 5 birch
ivan 3 jules 33 lina 62 bruno 86 lina 96 ivan 117 kim 122
kim 22 fable jules 12 juniper ivan 6 birch lina 20 grove alice 20 indigo dina 16 delta lina 22 fable chen 2 juniper lina 10 cobalt
kim 22 jules 34 ivan 40 lina 60 alice 80 dina 96 lina 118 chen 120 lina 130
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050328-p1
For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 3 ember jules 30 amber lina 29 harbor bruno 24 juniper lina 10 harbor ivan 21 amber kim 5 birch
ivan 3 jules 33 lina 62 bruno 86 lina 96 ivan 117 kim 122
kim 22 fable jules 12 juniper ivan 6 birch lina 20 grove alice 20 indigo dina 16 delta lina 22 fable chen 2 juniper lina 10 cobalt
kim 22 jules 34 ivan 40 lina 60 alice 80 dina 96 lina 118 chen 120 lina 130
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050328
qwen/qwen3.7-plus
awkweave-0050329
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 9 29 grove hana 4 12 juniper hana 13 9 birch kim 19 29 fable eli 2 14 indigo farah 5 9 fable
jules 38 hana 16 hana 22 kim 48 eli 16 farah 14
bruno 3 8 ember ivan 25 18 delta bruno 5 14 fable chen 16 14 grove dina 1 4 amber bruno 23 12 juniper kim 26 6 delta kim 2 4 juniper lina 5 19 cobalt lina 5 12 ember
bruno 11 ivan 43 bruno 19 chen 30 dina 5 bruno 35 kim 32 kim 6 lina 24 lina 17
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050329-p1
For each row, output field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 9 29 grove hana 4 12 juniper hana 13 9 birch kim 19 29 fable eli 2 14 indigo farah 5 9 fable
jules 38 hana 16 hana 22 kim 48 eli 16 farah 14
bruno 3 8 ember ivan 25 18 delta bruno 5 14 fable chen 16 14 grove dina 1 4 amber bruno 23 12 juniper kim 26 6 delta kim 2 4 juniper lina 5 19 cobalt lina 5 12 ember
bruno 11 ivan 43 bruno 19 chen 30 dina 5 bruno 35 kim 32 kim 6 lina 24 lina 17
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050329
qwen/qwen3.7-plus
awkweave-0050330
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
eli 13 ivan 24 bruno 19 hana 30 bruno 14 jules 10 ivan 23
eli fail ivan pass bruno fail hana pass bruno fail jules fail ivan pass
farah 14 gus 28 hana 11 jules 12 alice 8 dina 10 lina 26 ivan 1
farah fail gus pass hana fail jules fail alice fail dina fail lina pass ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050330-p1
Output the value in field 1; if field 2 is 23 or higher, print 'pass', otherwise print 'fail'.
{print $1,($2>=23?"pass":"fail")}
eli 13 ivan 24 bruno 19 hana 30 bruno 14 jules 10 ivan 23
eli fail ivan pass bruno fail hana pass bruno fail jules fail ivan pass
farah 14 gus 28 hana 11 jules 12 alice 8 dina 10 lina 26 ivan 1
farah fail gus pass hana fail jules fail alice fail dina fail lina pass ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050330
qwen/qwen3.7-plus
awkweave-0050331
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli amber 55 gus harbor 74 ivan ember 56 alice amber 43 lina ember 3 gus cobalt 32 hana cobalt 18 ivan delta 30 kim delta 48 kim cobalt 20
ELI GUS IVAN ALICE LINA GUS HANA IVAN KIM KIM
alice ember 2 dina birch 66 kim cobalt 55 lina delta 65 lina ember 101 dina grove 15 chen cobalt 22 hana cobalt 99
ALICE DINA KIM LINA LINA DINA CHEN HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0050331-p1
Transform field 1 to uppercase letters and output only this modified field.
{print toupper($1)}
eli amber 55 gus harbor 74 ivan ember 56 alice amber 43 lina ember 3 gus cobalt 32 hana cobalt 18 ivan delta 30 kim delta 48 kim cobalt 20
ELI GUS IVAN ALICE LINA GUS HANA IVAN KIM KIM
alice ember 2 dina birch 66 kim cobalt 55 lina delta 65 lina ember 101 dina grove 15 chen cobalt 22 hana cobalt 99
ALICE DINA KIM LINA LINA DINA CHEN HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0050331
qwen/qwen3.7-plus
awkweave-0050332
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
juniper 18 ember 52 grove 70 amber 76 birch 49 fable 88 ember 42 ember 13 juniper 25 delta 22
unip mber rove mber irch able mber mber unip elta
juniper 32 juniper 57 fable 103 ember 119 fable 49 ember 2 grove 45
unip unip able mber able mber rove
substring
1
train
original-grammar
CC-BY-4.0
null
null