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-0025271-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus amber 15 kim ember 19 hana birch 20 bruno grove 29 farah grove 8 bruno indigo 2 dina amber 15 hana indigo 26 eli juniper 16
bruno grove 29 hana indigo 26 hana birch 20
hana juniper 24 bruno amber 29 bruno cobalt 12 hana amber 2 jules indigo 11 chen ember 21
bruno amber 29 hana juniper 24 chen ember 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025271
qwen/qwen3.7-plus
awkweave-0025272
Print column 2 followed by column 1 for every record.
{print $2, $1}
48 ready failed kim 11 paused failed gus 35 failed failed alice 67 pending failed gus 76 active closed lina 31 closed paused kim 82 paused paused farah 27 active paused alice
ready 48 paused 11 failed 35 pending 67 active 76 closed 31 paused 82 active 27
106 active active eli 36 ready failed ivan 11 pending ready hana 80 active pending kim 38 pending pending kim 45 failed failed bruno 109 active failed lina 93 pending paused bruno 117 failed active lina
active 106 ready 36 pending 11 active 80 pending 38 failed 45 active 109 pending 93 failed 117
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025272-p1
For each record, output the second column followed by the first column.
{print $2, $1}
48 ready failed kim 11 paused failed gus 35 failed failed alice 67 pending failed gus 76 active closed lina 31 closed paused kim 82 paused paused farah 27 active paused alice
ready 48 paused 11 failed 35 pending 67 active 76 closed 31 paused 82 active 27
106 active active eli 36 ready failed ivan 11 pending ready hana 80 active pending kim 38 pending pending kim 45 failed failed bruno 109 active failed lina 93 pending paused bruno 117 failed active lina
active 106 ready 36 pending 11 active 80 pending 38 failed 45 active 109 pending 93 failed 117
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025272
qwen/qwen3.7-plus
awkweave-0025273
Print the last field of every input line.
{print $NF}
1 active 44 92 closed 104 90 paused 101 94 active 77 107 paused 7 84 active 11 2 ready 22 110 closed 28 119 pending 13
44 104 101 77 7 11 22 28 13
32 pending 86 100 pending 0 116 ready 11 51 pending 1 60 pending 104 8 pending 74 5 ready 0 32 ready 46
86 0 11 1 104 74 0 46
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025273-p1
Display the final field from every input line.
{print $NF}
1 active 44 92 closed 104 90 paused 101 94 active 77 107 paused 7 84 active 11 2 ready 22 110 closed 28 119 pending 13
44 104 101 77 7 11 22 28 13
32 pending 86 100 pending 0 116 ready 11 51 pending 1 60 pending 104 8 pending 74 5 ready 0 32 ready 46
86 0 11 1 104 74 0 46
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025273
qwen/qwen3.7-plus
awkweave-0025274
Print the complete records where column 3 is at most 68.
$3 <= 68
pending hana 107 pending kim ready ivan 93 closed chen paused chen 109 failed gus ready farah 119 pending farah ready eli 10 failed ivan ready jules 8 paused lina failed alice 91 failed alice active gus 66 paused ivan
ready eli 10 failed ivan ready jules 8 paused lina active gus 66 paused ivan
closed lina 82 paused gus paused hana 97 paused dina pending chen 51 active alice active alice 46 paused dina paused dina 50 paused bruno active dina 94 active hana active gus 11 failed alice active eli 68 pending ivan
pending chen 51 active alice active alice 46 paused dina paused dina 50 paused bruno active gus 11 failed alice active eli 68 pending ivan
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025274-p1
Output full records where the value in the third column is less than or equal to 68.
$3 <= 68
pending hana 107 pending kim ready ivan 93 closed chen paused chen 109 failed gus ready farah 119 pending farah ready eli 10 failed ivan ready jules 8 paused lina failed alice 91 failed alice active gus 66 paused ivan
ready eli 10 failed ivan ready jules 8 paused lina active gus 66 paused ivan
closed lina 82 paused gus paused hana 97 paused dina pending chen 51 active alice active alice 46 paused dina paused dina 50 paused bruno active dina 94 active hana active gus 11 failed alice active eli 68 pending ivan
pending chen 51 active alice active alice 46 paused dina paused dina 50 paused bruno active gus 11 failed alice active eli 68 pending ivan
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025274
qwen/qwen3.7-plus
awkweave-0025275
Show whole lines whose 2nd field is between 7 and 22, inclusive.
$2 >= 7 && $2 <= 22
alice 14 alice paused gus 4 eli failed jules 4 gus pending lina 9 alice paused chen 24 hana pending gus 6 bruno active gus 19 ivan paused bruno 5 lina active
alice 14 alice paused lina 9 alice paused gus 19 ivan paused
kim 17 jules pending gus 23 bruno ready eli 27 eli active kim 29 chen closed dina 18 kim closed jules 14 jules active lina 28 eli closed gus 13 alice pending dina 18 lina paused dina 17 alice ready
kim 17 jules pending dina 18 kim closed jules 14 jules active gus 13 alice pending dina 18 lina paused dina 17 alice ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025275-p1
Show entire lines where the second field falls within the inclusive range of 7 to 22.
$2 >= 7 && $2 <= 22
alice 14 alice paused gus 4 eli failed jules 4 gus pending lina 9 alice paused chen 24 hana pending gus 6 bruno active gus 19 ivan paused bruno 5 lina active
alice 14 alice paused lina 9 alice paused gus 19 ivan paused
kim 17 jules pending gus 23 bruno ready eli 27 eli active kim 29 chen closed dina 18 kim closed jules 14 jules active lina 28 eli closed gus 13 alice pending dina 18 lina paused dina 17 alice ready
kim 17 jules pending dina 18 kim closed jules 14 jules active gus 13 alice pending dina 18 lina paused dina 17 alice ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025275
qwen/qwen3.7-plus
awkweave-0025276
Print column 1 only for rows where column 2 is exactly ready.
$2 == "ready"{print $1}
dina closed harbor 106 hana paused indigo 16 jules ready fable 38 jules failed juniper 105 ivan active birch 26 jules pending birch 113 lina failed ember 4 farah failed juniper 110
jules
alice ready cobalt 70 hana closed grove 117 gus pending grove 120 lina closed amber 16 ivan failed grove 4 lina closed grove 39 ivan failed fable 9 eli pending juniper 47 alice failed harbor 75
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025276-p1
Output only the first column for rows where the second column is exactly 'ready'.
$2 == "ready"{print $1}
dina closed harbor 106 hana paused indigo 16 jules ready fable 38 jules failed juniper 105 ivan active birch 26 jules pending birch 113 lina failed ember 4 farah failed juniper 110
jules
alice ready cobalt 70 hana closed grove 117 gus pending grove 120 lina closed amber 16 ivan failed grove 4 lina closed grove 39 ivan failed fable 9 eli pending juniper 47 alice failed harbor 75
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025276
qwen/qwen3.7-plus
awkweave-0025277
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR cobalt 8 WARN amber 109 ERROR cobalt 65 INFO fable 116 DEBUG fable 97 INFO amber 66 WARN juniper 119 DEBUG birch 39
ERROR cobalt 8 ERROR cobalt 65
INFO grove 116 ERROR ember 27 WARN juniper 59 DEBUG fable 46 INFO fable 66 WARN delta 61 INFO grove 20 ERROR juniper 99
ERROR ember 27 ERROR juniper 99
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025277-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
ERROR cobalt 8 WARN amber 109 ERROR cobalt 65 INFO fable 116 DEBUG fable 97 INFO amber 66 WARN juniper 119 DEBUG birch 39
ERROR cobalt 8 ERROR cobalt 65
INFO grove 116 ERROR ember 27 WARN juniper 59 DEBUG fable 46 INFO fable 66 WARN delta 61 INFO grove 20 ERROR juniper 99
ERROR ember 27 ERROR juniper 99
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025277
qwen/qwen3.7-plus
awkweave-0025278
Print every line except those containing the exact text fable.
$0 !~ /fable/
delta 78 ready harbor 120 failed ember 73 ready birch 90 closed ember 39 active cobalt 43 paused cobalt 27 failed amber 61 active ember 55 active fable 999 active
delta 78 ready harbor 120 failed ember 73 ready birch 90 closed ember 39 active cobalt 43 paused cobalt 27 failed amber 61 active ember 55 active
indigo 70 failed indigo 23 ready delta 52 paused fable 59 ready birch 11 failed amber 70 pending delta 117 pending fable 999 active
indigo 70 failed indigo 23 ready delta 52 paused birch 11 failed amber 70 pending delta 117 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025278-p1
Print every line that does not contain the exact string 'fable'.
$0 !~ /fable/
delta 78 ready harbor 120 failed ember 73 ready birch 90 closed ember 39 active cobalt 43 paused cobalt 27 failed amber 61 active ember 55 active fable 999 active
delta 78 ready harbor 120 failed ember 73 ready birch 90 closed ember 39 active cobalt 43 paused cobalt 27 failed amber 61 active ember 55 active
indigo 70 failed indigo 23 ready delta 52 paused fable 59 ready birch 11 failed amber 70 pending delta 117 pending fable 999 active
indigo 70 failed indigo 23 ready delta 52 paused birch 11 failed amber 70 pending delta 117 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025278
qwen/qwen3.7-plus
awkweave-0025279
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
eli delta 5 jules grove 120 hana harbor 52 bruno amber 62 ivan ember 59 alice cobalt 56
jules grove 120 hana harbor 52
chen grove 24 ivan ember 55 alice cobalt 46 ivan harbor 6 gus cobalt 75 chen grove 23 eli indigo 29 hana indigo 21 alice fable 30 jules cobalt 23
ivan ember 55 alice cobalt 46
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025279-p1
Output lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
eli delta 5 jules grove 120 hana harbor 52 bruno amber 62 ivan ember 59 alice cobalt 56
jules grove 120 hana harbor 52
chen grove 24 ivan ember 55 alice cobalt 46 ivan harbor 6 gus cobalt 75 chen grove 23 eli indigo 29 hana indigo 21 alice fable 30 jules cobalt 23
ivan ember 55 alice cobalt 46
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025279
qwen/qwen3.7-plus
awkweave-0025280
Output only the first 3 records.
NR <= 3
bruno 115 delta kim 3 cobalt eli 64 delta lina 6 grove eli 61 fable dina 63 amber ivan 60 cobalt alice 72 indigo
bruno 115 delta kim 3 cobalt eli 64 delta
chen 20 cobalt jules 69 harbor jules 104 harbor dina 88 birch bruno 90 indigo dina 25 ember jules 102 amber
chen 20 cobalt jules 69 harbor jules 104 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025280-p1
Display only the first 3 records.
NR <= 3
bruno 115 delta kim 3 cobalt eli 64 delta lina 6 grove eli 61 fable dina 63 amber ivan 60 cobalt alice 72 indigo
bruno 115 delta kim 3 cobalt eli 64 delta
chen 20 cobalt jules 69 harbor jules 104 harbor dina 88 birch bruno 90 indigo dina 25 ember jules 102 amber
chen 20 cobalt jules 69 harbor jules 104 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025280
qwen/qwen3.7-plus
awkweave-0025281
Skip the first line and print every remaining line unchanged.
NR > 1
jules 21 delta kim 100 grove gus 108 grove bruno 29 harbor hana 13 fable ivan 57 juniper alice 75 delta chen 44 juniper jules 48 grove
kim 100 grove gus 108 grove bruno 29 harbor hana 13 fable ivan 57 juniper alice 75 delta chen 44 juniper jules 48 grove
eli 4 amber chen 119 amber hana 35 amber alice 40 juniper hana 90 juniper eli 87 cobalt
chen 119 amber hana 35 amber alice 40 juniper hana 90 juniper eli 87 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025281-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 21 delta kim 100 grove gus 108 grove bruno 29 harbor hana 13 fable ivan 57 juniper alice 75 delta chen 44 juniper jules 48 grove
kim 100 grove gus 108 grove bruno 29 harbor hana 13 fable ivan 57 juniper alice 75 delta chen 44 juniper jules 48 grove
eli 4 amber chen 119 amber hana 35 amber alice 40 juniper hana 90 juniper eli 87 cobalt
chen 119 amber hana 35 amber alice 40 juniper hana 90 juniper eli 87 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025281
qwen/qwen3.7-plus
awkweave-0025282
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
chen ready 91 bruno closed 40 dina failed 32 hana ready 42 gus failed 23 dina paused 83 bruno ready 50 farah failed 70
3
chen pending 21 ivan active 86 ivan failed 113 alice failed 89 chen closed 22 eli pending 112 lina ready 73
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025282-p1
Count the number of records where the second column is 'ready', printing 0 if none are found.
$2 == "ready"{n++}END{print n+0}
chen ready 91 bruno closed 40 dina failed 32 hana ready 42 gus failed 23 dina paused 83 bruno ready 50 farah failed 70
3
chen pending 21 ivan active 86 ivan failed 113 alice failed 89 chen closed 22 eli pending 112 lina ready 73
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025282
qwen/qwen3.7-plus
awkweave-0025283
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
18 ember lina 22 grove chen 1 juniper dina 21 delta hana 26 delta hana 1 juniper hana
89
25 birch jules 30 amber hana 28 fable alice 30 amber alice 12 ember dina 9 cobalt lina 7 fable dina 5 juniper chen
146
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025283-p1
Compute and display the sum of all integer values in the first column.
{s+=$1}END{print s+0}
18 ember lina 22 grove chen 1 juniper dina 21 delta hana 26 delta hana 1 juniper hana
89
25 birch jules 30 amber hana 28 fable alice 30 amber alice 12 ember dina 9 cobalt lina 7 fable dina 5 juniper chen
146
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025283
qwen/qwen3.7-plus
awkweave-0025284
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
13 grove lina 9 indigo lina 3 ember farah 2 amber hana 11 birch alice 19 ember alice 16 fable farah
10.43
7 grove eli 19 juniper farah 14 ember gus 19 harbor lina 15 birch lina 3 juniper hana
12.83
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025284-p1
Output the average of the values in column 1, formatted to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
13 grove lina 9 indigo lina 3 ember farah 2 amber hana 11 birch alice 19 ember alice 16 fable farah
10.43
7 grove eli 19 juniper farah 14 ember gus 19 harbor lina 15 birch lina 3 juniper hana
12.83
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025284
qwen/qwen3.7-plus
awkweave-0025285
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor kim 2 indigo lina 9 cobalt dina 3 amber dina 9 delta jules 4 delta lina 30 harbor alice 18 fable alice 15
2
amber chen 17 fable eli 30 cobalt jules 16 juniper alice 26 cobalt ivan 23 amber eli 21 birch hana 25 amber hana 22 harbor bruno 14 ember dina 29
14
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025285-p1
Identify and display the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor kim 2 indigo lina 9 cobalt dina 3 amber dina 9 delta jules 4 delta lina 30 harbor alice 18 fable alice 15
2
amber chen 17 fable eli 30 cobalt jules 16 juniper alice 26 cobalt ivan 23 amber eli 21 birch hana 25 amber hana 22 harbor bruno 14 ember dina 29
14
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025285
qwen/qwen3.7-plus
awkweave-0025286
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
fable gus 7 indigo dina 12 indigo jules 27 grove hana 16 delta alice 23 indigo ivan 3 juniper hana 29 ember kim 27
29
grove jules 8 cobalt alice 17 indigo bruno 30 amber bruno 5 delta farah 22 ember lina 4 grove farah 29 amber dina 5 delta alice 18 grove alice 4
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025286-p1
Identify and display the maximum numeric value found in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
fable gus 7 indigo dina 12 indigo jules 27 grove hana 16 delta alice 23 indigo ivan 3 juniper hana 29 ember kim 27
29
grove jules 8 cobalt alice 17 indigo bruno 30 amber bruno 5 delta farah 22 ember lina 4 grove farah 29 amber dina 5 delta alice 18 grove alice 4
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025286
qwen/qwen3.7-plus
awkweave-0025287
Count all input records and print the total.
END{print NR}
jules 85 dina 88 ivan 80 jules 33 farah 49 bruno 96 lina 38 ivan 42 dina 43 ivan 11
10
lina 115 lina 64 bruno 42 farah 100 farah 30 dina 15 bruno 48 gus 74 dina 64 lina 110
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025287-p1
Calculate the total number of input records and print the count.
END{print NR}
jules 85 dina 88 ivan 80 jules 33 farah 49 bruno 96 lina 38 ivan 42 dina 43 ivan 11
10
lina 115 lina 64 bruno 42 farah 100 farah 30 dina 15 bruno 48 gus 74 dina 64 lina 110
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025287
qwen/qwen3.7-plus
awkweave-0025288
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim amber 96 gus birch 62 farah birch 103 lina cobalt 25 hana grove 112 gus birch 62 chen indigo 91 jules harbor 32 lina ember 1 jules cobalt 21
kim amber 96 gus birch 62 farah birch 103 lina cobalt 25 hana grove 112 chen indigo 91 jules harbor 32 lina ember 1 jules cobalt 21
hana fable 57 gus fable 48 ivan fable 67 gus fable 48 ivan indigo 87 ivan ember 66 eli cobalt 26
hana fable 57 gus fable 48 ivan fable 67 ivan indigo 87 ivan ember 66 eli cobalt 26
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025288-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
kim amber 96 gus birch 62 farah birch 103 lina cobalt 25 hana grove 112 gus birch 62 chen indigo 91 jules harbor 32 lina ember 1 jules cobalt 21
kim amber 96 gus birch 62 farah birch 103 lina cobalt 25 hana grove 112 chen indigo 91 jules harbor 32 lina ember 1 jules cobalt 21
hana fable 57 gus fable 48 ivan fable 67 gus fable 48 ivan indigo 87 ivan ember 66 eli cobalt 26
hana fable 57 gus fable 48 ivan fable 67 ivan indigo 87 ivan ember 66 eli cobalt 26
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025288
qwen/qwen3.7-plus
awkweave-0025289
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
farah birch 23 bruno ember 115 lina birch 51 lina harbor 117 alice amber 31 eli cobalt 49 chen delta 1 dina indigo 83
farah birch 23 bruno ember 115 lina harbor 117 alice amber 31 eli cobalt 49 chen delta 1 dina indigo 83
farah fable 81 kim amber 67 jules cobalt 76 eli harbor 2 farah juniper 120 ivan cobalt 2 alice amber 15 gus grove 3 alice indigo 50 eli birch 97
farah fable 81 kim amber 67 jules cobalt 76 eli harbor 2 farah juniper 120 gus grove 3 alice indigo 50 eli birch 97
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025289-p1
Retain only the initial line for every unique value in column 2, keeping the original order.
!seen[$2]++
farah birch 23 bruno ember 115 lina birch 51 lina harbor 117 alice amber 31 eli cobalt 49 chen delta 1 dina indigo 83
farah birch 23 bruno ember 115 lina harbor 117 alice amber 31 eli cobalt 49 chen delta 1 dina indigo 83
farah fable 81 kim amber 67 jules cobalt 76 eli harbor 2 farah juniper 120 ivan cobalt 2 alice amber 15 gus grove 3 alice indigo 50 eli birch 97
farah fable 81 kim amber 67 jules cobalt 76 eli harbor 2 farah juniper 120 gus grove 3 alice indigo 50 eli birch 97
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025289
qwen/qwen3.7-plus
awkweave-0025300
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]]}
delta harbor 112 beta cobalt 56 delta juniper 104 beta fable 103 delta harbor 59 beta fable 26 gamma indigo 52 delta birch 8 alpha juniper 93
delta 4 beta 3
delta amber 11 beta cobalt 57 alpha indigo 30 alpha harbor 18 gamma delta 8 beta harbor 54 alpha cobalt 111 alpha harbor 120 alpha fable 51 gamma delta 71
beta 2 alpha 5 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025300-p1
List each recurring value from column 1 along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta harbor 112 beta cobalt 56 delta juniper 104 beta fable 103 delta harbor 59 beta fable 26 gamma indigo 52 delta birch 8 alpha juniper 93
delta 4 beta 3
delta amber 11 beta cobalt 57 alpha indigo 30 alpha harbor 18 gamma delta 8 beta harbor 54 alpha cobalt 111 alpha harbor 120 alpha fable 51 gamma delta 71
beta 2 alpha 5 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025300
qwen/qwen3.7-plus
awkweave-0025301
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name score state record_id r001 chen 20 ready r002 chen 25 paused r003 farah 8 paused r004 ivan 9 pending r005 kim 8 ready r006 chen 24 ready r007 ivan 15 active r008 gus 21 ready
chen chen farah ivan kim chen ivan gus
display_name score state record_id r001 dina 24 pending r002 eli 26 ready r003 hana 29 paused r004 alice 28 failed r005 chen 13 paused r006 dina 13 active
dina eli hana alice chen dina
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025301-p1
Treat the first row as a header and output the score column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
display_name score state record_id r001 chen 20 ready r002 chen 25 paused r003 farah 8 paused r004 ivan 9 pending r005 kim 8 ready r006 chen 24 ready r007 ivan 15 active r008 gus 21 ready
chen chen farah ivan kim chen ivan gus
display_name score state record_id r001 dina 24 pending r002 eli 26 ready r003 hana 29 paused r004 alice 28 failed r005 chen 13 paused r006 dina 13 active
dina eli hana alice chen dina
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025301
qwen/qwen3.7-plus
awkweave-0025302
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 hana 16 closed r002 hana 4 active r003 gus 28 active r004 kim 22 ready r005 kim 26 pending r006 hana 15 paused r007 jules 6 ready r008 alice 21 closed
hana gus kim kim hana alice
record_id display_name score state r001 lina 7 active r002 alice 16 failed r003 bruno 24 paused r004 chen 7 closed r005 gus 18 active r006 kim 6 ready r007 kim 20 failed r008 ivan 29 paused r009 kim 11 failed
alice bruno gus kim ivan kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025302-p1
With the first row as a header, print the display_name for data rows where the score is above 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 hana 16 closed r002 hana 4 active r003 gus 28 active r004 kim 22 ready r005 kim 26 pending r006 hana 15 paused r007 jules 6 ready r008 alice 21 closed
hana gus kim kim hana alice
record_id display_name score state r001 lina 7 active r002 alice 16 failed r003 bruno 24 paused r004 chen 7 closed r005 gus 18 active r006 kim 6 ready r007 kim 20 failed r008 ivan 29 paused r009 kim 11 failed
alice bruno gus kim ivan kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025302
qwen/qwen3.7-plus
awkweave-0025303
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 26 closed eli 24 ready jules 15 active hana 6 active eli 26 failed kim 5 paused dina 5 pending alice 22 failed kim 25 failed eli 11 pending
closed ready active active failed paused pending failed failed pending
hana 4 failed ivan 23 pending bruno 29 pending lina 26 ready alice 20 ready chen 6 pending farah 12 closed ivan 25 failed bruno 3 failed
failed pending pending ready ready pending closed failed failed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025303-p1
Given tab-separated input, output the third column for every record.
BEGIN{FS=OFS="\t"}{print $3}
dina 26 closed eli 24 ready jules 15 active hana 6 active eli 26 failed kim 5 paused dina 5 pending alice 22 failed kim 25 failed eli 11 pending
closed ready active active failed paused pending failed failed pending
hana 4 failed ivan 23 pending bruno 29 pending lina 26 ready alice 20 ready chen 6 pending farah 12 closed ivan 25 failed bruno 3 failed
failed pending pending ready ready pending closed failed failed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025303
qwen/qwen3.7-plus
awkweave-0025304
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16.
BEGIN{FS=OFS=","}$2>16{print $1}
hana,19,failed kim,24,paused jules,5,paused ivan,16,pending alice,6,paused farah,10,active
hana kim
kim,6,ready lina,14,active bruno,4,paused gus,16,active lina,17,paused jules,19,paused
lina jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025304-p1
For simple comma-separated data without quoted commas, print column 1 if column 2 is greater than 16.
BEGIN{FS=OFS=","}$2>16{print $1}
hana,19,failed kim,24,paused jules,5,paused ivan,16,pending alice,6,paused farah,10,active
hana kim
kim,6,ready lina,14,active bruno,4,paused gus,16,active lina,17,paused jules,19,paused
lina jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025304
qwen/qwen3.7-plus
awkweave-0025305
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus amber 2 lina indigo 96 jules indigo 87 dina harbor 25 kim fable 19 jules amber 47 kim grove 14
gus amber 2 lina indigo 96 jules indigo 87 dina harbor 25 kim fable 19 jules amber 47 kim grove 14
gus ember 103 chen harbor 16 gus delta 33 eli harbor 28 eli ember 21 farah indigo 118 bruno harbor 81 ivan ember 25
gus ember 103 chen harbor 16 gus delta 33 eli harbor 28 eli ember 21 farah indigo 118 bruno harbor 81 ivan ember 25
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025305-p1
Strip leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
gus amber 2 lina indigo 96 jules indigo 87 dina harbor 25 kim fable 19 jules amber 47 kim grove 14
gus amber 2 lina indigo 96 jules indigo 87 dina harbor 25 kim fable 19 jules amber 47 kim grove 14
gus ember 103 chen harbor 16 gus delta 33 eli harbor 28 eli ember 21 farah indigo 118 bruno harbor 81 ivan ember 25
gus ember 103 chen harbor 16 gus delta 33 eli harbor 28 eli ember 21 farah indigo 118 bruno harbor 81 ivan ember 25
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025305
qwen/qwen3.7-plus
awkweave-0025306
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 103 active dina fable 27 ready eli fable 29 paused chen delta 69 active jules birch 95 pending dina harbor 72 pending dina birch 115 closed bruno cobalt 112 failed
bruno cobalt 112 failed
alice fable 119 active alice juniper 56 failed ivan birch 93 active farah fable 69 closed eli grove 42 paused jules ember 48 active
alice juniper 56 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025306-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 103 active dina fable 27 ready eli fable 29 paused chen delta 69 active jules birch 95 pending dina harbor 72 pending dina birch 115 closed bruno cobalt 112 failed
bruno cobalt 112 failed
alice fable 119 active alice juniper 56 failed ivan birch 93 active farah fable 69 closed eli grove 42 paused jules ember 48 active
alice juniper 56 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025306
qwen/qwen3.7-plus
awkweave-0025307
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
jules 96 gus 86 hana 104 alice 38 alice 112 hana 58
hana 104 hana 58
eli 120 bruno 119 lina 63 lina 21 alice 93 hana 0 eli 21 lina 66 gus 79
lina 63 hana 0 gus 79
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025307-p1
Display every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
jules 96 gus 86 hana 104 alice 38 alice 112 hana 58
hana 104 hana 58
eli 120 bruno 119 lina 63 lina 21 alice 93 hana 0 eli 21 lina 66 gus 79
lina 63 hana 0 gus 79
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025307
qwen/qwen3.7-plus
awkweave-0025308
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 19 delta harbor 0 gamma amber 4 beta cobalt 100 beta birch 114 delta delta 37 delta ember 92 gamma fable 57 delta cobalt 23 delta cobalt 19
7
delta juniper 18 beta grove 36 delta indigo 5 beta harbor 83 delta indigo 119 beta juniper 41
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025308-p1
Calculate and print only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 19 delta harbor 0 gamma amber 4 beta cobalt 100 beta birch 114 delta delta 37 delta ember 92 gamma fable 57 delta cobalt 23 delta cobalt 19
7
delta juniper 18 beta grove 36 delta indigo 5 beta harbor 83 delta indigo 119 beta juniper 41
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025308
qwen/qwen3.7-plus
awkweave-0025309
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}
gus 13 0 gus 10 28 ivan 8 15 jules 20 19 farah 22 11 chen 26 26 eli 7 2
gus 0.36 ivan 0.53 jules 1.05 farah 2.00 chen 1.00 eli 3.50
dina 5 0 hana 6 22 eli 14 5 eli 10 21 jules 20 17 lina 12 2 hana 22 19
hana 0.27 eli 2.80 eli 0.48 jules 1.18 lina 6.00 hana 1.16
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025309-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}
gus 13 0 gus 10 28 ivan 8 15 jules 20 19 farah 22 11 chen 26 26 eli 7 2
gus 0.36 ivan 0.53 jules 1.05 farah 2.00 chen 1.00 eli 3.50
dina 5 0 hana 6 22 eli 14 5 eli 10 21 jules 20 17 lina 12 2 hana 22 19
hana 0.27 eli 2.80 eli 0.48 jules 1.18 lina 6.00 hana 1.16
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025309
qwen/qwen3.7-plus
awkweave-0025310
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana delta 28 farah amber 19 ivan harbor 5 dina grove 8 alice fable 26 farah amber 21 hana ember 28
hana delta 28 hana ember 28 alice fable 26
bruno juniper 30 hana delta 27 jules grove 28 alice ember 12 jules ember 26 farah ember 11 dina indigo 24 farah harbor 11
bruno juniper 30 jules grove 28 hana delta 27
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025310-p1
Output the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana delta 28 farah amber 19 ivan harbor 5 dina grove 8 alice fable 26 farah amber 21 hana ember 28
hana delta 28 hana ember 28 alice fable 26
bruno juniper 30 hana delta 27 jules grove 28 alice ember 12 jules ember 26 farah ember 11 dina indigo 24 farah harbor 11
bruno juniper 30 jules grove 28 hana delta 27
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025310
qwen/qwen3.7-plus
awkweave-0025311
Select the 4th and 2nd fields in that order.
{print $4, $2}
kim ember ember gus 73 hana amber cobalt jules 62 jules amber harbor hana 97 chen delta harbor jules 0 bruno delta amber eli 42 kim birch delta alice 45 bruno amber ember lina 62
gus ember jules amber hana amber jules delta eli delta alice birch lina amber
eli harbor juniper hana 119 dina juniper fable eli 93 chen grove cobalt gus 104 dina grove indigo farah 111 bruno grove amber ivan 33 lina amber delta ivan 98 gus indigo birch lina 9
hana harbor eli juniper gus grove farah grove ivan grove ivan amber lina indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025311-p1
Extract and print the fourth field followed by the second field, in that specific sequence.
{print $4, $2}
kim ember ember gus 73 hana amber cobalt jules 62 jules amber harbor hana 97 chen delta harbor jules 0 bruno delta amber eli 42 kim birch delta alice 45 bruno amber ember lina 62
gus ember jules amber hana amber jules delta eli delta alice birch lina amber
eli harbor juniper hana 119 dina juniper fable eli 93 chen grove cobalt gus 104 dina grove indigo farah 111 bruno grove amber ivan 33 lina amber delta ivan 98 gus indigo birch lina 9
hana harbor eli juniper gus grove farah grove ivan grove ivan amber lina indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025311
qwen/qwen3.7-plus
awkweave-0025312
Print the last field of every input line.
{print $NF}
amber fable 116 71 birch ember 118 95 juniper ember 82 115 birch juniper 93 63 juniper grove 41 15 delta delta 36 73
71 95 115 63 15 73
juniper harbor 103 64 indigo delta 1 117 cobalt fable 26 43 juniper indigo 96 89 harbor delta 101 2 harbor birch 69 3 cobalt delta 69 45 delta indigo 51 116
64 117 43 89 2 3 45 116
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025312-p1
Print the final field from every line of the input.
{print $NF}
amber fable 116 71 birch ember 118 95 juniper ember 82 115 birch juniper 93 63 juniper grove 41 15 delta delta 36 73
71 95 115 63 15 73
juniper harbor 103 64 indigo delta 1 117 cobalt fable 26 43 juniper indigo 96 89 harbor delta 101 2 harbor birch 69 3 cobalt delta 69 45 delta indigo 51 116
64 117 43 89 2 3 45 116
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025312
qwen/qwen3.7-plus
awkweave-0025313
Print the complete records where column 2 is greater than 59.
$2 > 59
hana 91 pending alice 28 ready gus 34 ready ivan 20 ready gus 117 pending ivan 107 failed alice 58 failed lina 20 paused dina 92 pending
hana 91 pending gus 117 pending ivan 107 failed dina 92 pending
chen 2 active eli 64 closed dina 79 active farah 0 closed kim 40 active dina 87 pending eli 0 failed ivan 83 closed
eli 64 closed dina 79 active dina 87 pending ivan 83 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025313-p1
Output all complete records where the value in the second column exceeds 59.
$2 > 59
hana 91 pending alice 28 ready gus 34 ready ivan 20 ready gus 117 pending ivan 107 failed alice 58 failed lina 20 paused dina 92 pending
hana 91 pending gus 117 pending ivan 107 failed dina 92 pending
chen 2 active eli 64 closed dina 79 active farah 0 closed kim 40 active dina 87 pending eli 0 failed ivan 83 closed
eli 64 closed dina 79 active dina 87 pending ivan 83 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025313
qwen/qwen3.7-plus
awkweave-0025314
Show whole lines whose 1st field is between 4 and 25, inclusive.
$1 >= 4 && $1 <= 25
22 amber fable hana 10 delta amber eli 25 juniper delta alice 1 birch fable farah 28 ember ember lina 5 amber birch farah 14 fable harbor gus 20 grove birch hana 8 juniper indigo lina
22 amber fable hana 10 delta amber eli 25 juniper delta alice 5 amber birch farah 14 fable harbor gus 20 grove birch hana 8 juniper indigo lina
8 fable grove ivan 5 amber fable farah 12 fable delta kim 29 ember cobalt lina 12 indigo delta dina 21 delta juniper farah 6 grove ember farah 18 juniper fable eli 11 juniper juniper hana 26 indigo indigo jules
8 fable grove ivan 5 amber fable farah 12 fable delta kim 12 indigo delta dina 21 delta juniper farah 6 grove ember farah 18 juniper fable eli 11 juniper juniper hana
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025314-p1
Display entire lines where the first field falls within the inclusive range of 4 to 25.
$1 >= 4 && $1 <= 25
22 amber fable hana 10 delta amber eli 25 juniper delta alice 1 birch fable farah 28 ember ember lina 5 amber birch farah 14 fable harbor gus 20 grove birch hana 8 juniper indigo lina
22 amber fable hana 10 delta amber eli 25 juniper delta alice 5 amber birch farah 14 fable harbor gus 20 grove birch hana 8 juniper indigo lina
8 fable grove ivan 5 amber fable farah 12 fable delta kim 29 ember cobalt lina 12 indigo delta dina 21 delta juniper farah 6 grove ember farah 18 juniper fable eli 11 juniper juniper hana 26 indigo indigo jules
8 fable grove ivan 5 amber fable farah 12 fable delta kim 12 indigo delta dina 21 delta juniper farah 6 grove ember farah 18 juniper fable eli 11 juniper juniper hana
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025314
qwen/qwen3.7-plus
awkweave-0025315
Print column 1 only for rows where column 3 is exactly active.
$3 == "active"{print $1}
jules cobalt paused 42 hana birch closed 23 hana juniper active 105 farah harbor ready 30 hana indigo pending 102 jules birch closed 105 lina fable paused 66
hana
jules ember paused 117 jules ember ready 109 chen amber failed 24 dina grove failed 87 chen juniper failed 118 lina juniper failed 84 jules juniper pending 36 ivan cobalt closed 102 chen ember ready 88 lina amber closed 97
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025315-p1
Print only the first column for rows where the third column contains exactly the text 'active'.
$3 == "active"{print $1}
jules cobalt paused 42 hana birch closed 23 hana juniper active 105 farah harbor ready 30 hana indigo pending 102 jules birch closed 105 lina fable paused 66
hana
jules ember paused 117 jules ember ready 109 chen amber failed 24 dina grove failed 87 chen juniper failed 118 lina juniper failed 84 jules juniper pending 36 ivan cobalt closed 102 chen ember ready 88 lina amber closed 97
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025315
qwen/qwen3.7-plus
awkweave-0025316
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
cobalt DEBUG 103 ember WARN 51 juniper INFO 38 harbor DEBUG 113 ember ERROR 77 juniper WARN 15 ember WARN 112 juniper DEBUG 82 grove ERROR 55
ember WARN 51 juniper WARN 15 ember WARN 112
birch ERROR 75 delta INFO 27 grove WARN 109 indigo INFO 6 delta INFO 84 cobalt ERROR 111
grove WARN 109
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025316-p1
Output all fields from any line where the second field starts with the string 'WARN'.
$2 ~ /^WARN/
cobalt DEBUG 103 ember WARN 51 juniper INFO 38 harbor DEBUG 113 ember ERROR 77 juniper WARN 15 ember WARN 112 juniper DEBUG 82 grove ERROR 55
ember WARN 51 juniper WARN 15 ember WARN 112
birch ERROR 75 delta INFO 27 grove WARN 109 indigo INFO 6 delta INFO 84 cobalt ERROR 111
grove WARN 109
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025316
qwen/qwen3.7-plus
awkweave-0025317
Print every line except those containing the exact text birch.
$0 !~ /birch/
cobalt 63 failed fable 85 failed birch 106 failed ember 67 ready harbor 73 pending cobalt 105 ready birch 999 active
cobalt 63 failed fable 85 failed ember 67 ready harbor 73 pending cobalt 105 ready
harbor 62 failed birch 108 closed ember 21 paused indigo 68 failed amber 56 pending juniper 70 ready juniper 39 closed fable 36 pending birch 97 closed cobalt 44 pending birch 999 active
harbor 62 failed ember 21 paused indigo 68 failed amber 56 pending juniper 70 ready juniper 39 closed fable 36 pending cobalt 44 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025317-p1
Print every line from the input except those that contain the exact string 'birch'.
$0 !~ /birch/
cobalt 63 failed fable 85 failed birch 106 failed ember 67 ready harbor 73 pending cobalt 105 ready birch 999 active
cobalt 63 failed fable 85 failed ember 67 ready harbor 73 pending cobalt 105 ready
harbor 62 failed birch 108 closed ember 21 paused indigo 68 failed amber 56 pending juniper 70 ready juniper 39 closed fable 36 pending birch 97 closed cobalt 44 pending birch 999 active
harbor 62 failed ember 21 paused indigo 68 failed amber 56 pending juniper 70 ready juniper 39 closed fable 36 pending cobalt 44 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025317
qwen/qwen3.7-plus
awkweave-0025318
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
bruno fable 102 chen fable 41 gus birch 21 jules birch 63 ivan amber 16 lina indigo 96
chen fable 41 gus birch 21 jules birch 63 ivan amber 16
hana juniper 112 gus fable 2 farah grove 24 chen birch 16 jules ember 120 alice birch 1 lina birch 35
gus fable 2 farah grove 24 chen birch 16 jules ember 120
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025318-p1
Display lines 2 to 5, inclusive of both ends.
NR >= 2 && NR <= 5
bruno fable 102 chen fable 41 gus birch 21 jules birch 63 ivan amber 16 lina indigo 96
chen fable 41 gus birch 21 jules birch 63 ivan amber 16
hana juniper 112 gus fable 2 farah grove 24 chen birch 16 jules ember 120 alice birch 1 lina birch 35
gus fable 2 farah grove 24 chen birch 16 jules ember 120
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025318
qwen/qwen3.7-plus
awkweave-0025319
Output only the first 5 records.
NR <= 5
alice 2 amber dina 99 amber jules 100 amber lina 32 juniper gus 70 fable dina 20 amber
alice 2 amber dina 99 amber jules 100 amber lina 32 juniper gus 70 fable
lina 80 cobalt farah 47 birch lina 87 birch hana 31 grove jules 18 amber dina 35 harbor farah 20 juniper eli 9 indigo gus 62 harbor
lina 80 cobalt farah 47 birch lina 87 birch hana 31 grove jules 18 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025319-p1
Output just the initial 5 records.
NR <= 5
alice 2 amber dina 99 amber jules 100 amber lina 32 juniper gus 70 fable dina 20 amber
alice 2 amber dina 99 amber jules 100 amber lina 32 juniper gus 70 fable
lina 80 cobalt farah 47 birch lina 87 birch hana 31 grove jules 18 amber dina 35 harbor farah 20 juniper eli 9 indigo gus 62 harbor
lina 80 cobalt farah 47 birch lina 87 birch hana 31 grove jules 18 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025319
qwen/qwen3.7-plus
awkweave-0025320
Skip the first line and print every remaining line unchanged.
NR > 1
alice 43 cobalt farah 101 delta alice 5 indigo bruno 35 cobalt bruno 92 fable alice 79 birch hana 93 fable kim 37 cobalt ivan 98 amber gus 93 indigo
farah 101 delta alice 5 indigo bruno 35 cobalt bruno 92 fable alice 79 birch hana 93 fable kim 37 cobalt ivan 98 amber gus 93 indigo
hana 92 indigo lina 21 ember farah 2 fable dina 87 indigo chen 8 ember chen 25 birch farah 23 juniper dina 42 delta farah 56 birch
lina 21 ember farah 2 fable dina 87 indigo chen 8 ember chen 25 birch farah 23 juniper dina 42 delta farah 56 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025320-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
alice 43 cobalt farah 101 delta alice 5 indigo bruno 35 cobalt bruno 92 fable alice 79 birch hana 93 fable kim 37 cobalt ivan 98 amber gus 93 indigo
farah 101 delta alice 5 indigo bruno 35 cobalt bruno 92 fable alice 79 birch hana 93 fable kim 37 cobalt ivan 98 amber gus 93 indigo
hana 92 indigo lina 21 ember farah 2 fable dina 87 indigo chen 8 ember chen 25 birch farah 23 juniper dina 42 delta farah 56 birch
lina 21 ember farah 2 fable dina 87 indigo chen 8 ember chen 25 birch farah 23 juniper dina 42 delta farah 56 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025320
qwen/qwen3.7-plus
awkweave-0025321
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
eli failed 68 chen failed 100 kim active 91 alice closed 99 kim active 120 eli pending 16 ivan paused 20 dina ready 6 ivan closed 115 ivan ready 18
2
jules paused 37 kim paused 99 kim closed 110 alice failed 17 bruno closed 10 chen ready 89 bruno ready 78 eli active 29
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025321-p1
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
eli failed 68 chen failed 100 kim active 91 alice closed 99 kim active 120 eli pending 16 ivan paused 20 dina ready 6 ivan closed 115 ivan ready 18
2
jules paused 37 kim paused 99 kim closed 110 alice failed 17 bruno closed 10 chen ready 89 bruno ready 78 eli active 29
1
count_matches
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0025321
qwen/qwen3.7-plus
awkweave-0025322
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
20 indigo dina 27 indigo farah 17 grove ivan 9 ember ivan 10 harbor dina 10 ember chen 1 cobalt hana 24 ember jules 17 ember jules 26 ember bruno
161
5 grove chen 7 delta bruno 23 ember farah 25 ember farah 19 juniper gus 24 birch lina 14 grove lina 30 harbor bruno 13 delta alice 13 harbor gus
173
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025322-p1
Compute and display the total sum of integer values in column 1.
{s+=$1}END{print s+0}
20 indigo dina 27 indigo farah 17 grove ivan 9 ember ivan 10 harbor dina 10 ember chen 1 cobalt hana 24 ember jules 17 ember jules 26 ember bruno
161
5 grove chen 7 delta bruno 23 ember farah 25 ember farah 19 juniper gus 24 birch lina 14 grove lina 30 harbor bruno 13 delta alice 13 harbor gus
173
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025322
qwen/qwen3.7-plus
awkweave-0025323
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 lina delta 11 lina indigo 30 kim harbor 23 dina ember 26 bruno harbor 10 alice birch 5 ivan grove 20 chen indigo 3 bruno cobalt
14.56
29 bruno cobalt 19 ivan indigo 21 chen juniper 12 dina indigo 15 bruno fable 21 farah cobalt
19.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025323-p1
Output the average of column 1, formatted to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 lina delta 11 lina indigo 30 kim harbor 23 dina ember 26 bruno harbor 10 alice birch 5 ivan grove 20 chen indigo 3 bruno cobalt
14.56
29 bruno cobalt 19 ivan indigo 21 chen juniper 12 dina indigo 15 bruno fable 21 farah cobalt
19.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025323
qwen/qwen3.7-plus
awkweave-0025324
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 chen grove 9 bruno delta 29 hana amber 22 gus grove 26 kim birch 18 kim amber 14 lina juniper
9
11 chen harbor 6 farah amber 17 jules juniper 11 ivan delta 14 kim grove 2 eli harbor 19 eli ember 14 dina amber
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025324-p1
Identify and print the minimum numeric value found in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 chen grove 9 bruno delta 29 hana amber 22 gus grove 26 kim birch 18 kim amber 14 lina juniper
9
11 chen harbor 6 farah amber 17 jules juniper 11 ivan delta 14 kim grove 2 eli harbor 19 eli ember 14 dina amber
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025324
qwen/qwen3.7-plus
awkweave-0025325
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 9 amber gus 8 cobalt ivan 16 amber jules 15 ember gus 1 fable gus 8 ember kim 28 delta lina 17 cobalt
28
farah 15 delta lina 5 birch alice 5 juniper lina 22 indigo chen 1 indigo dina 5 grove chen 1 ember
22
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025325-p1
Identify and print the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
farah 9 amber gus 8 cobalt ivan 16 amber jules 15 ember gus 1 fable gus 8 ember kim 28 delta lina 17 cobalt
28
farah 15 delta lina 5 birch alice 5 juniper lina 22 indigo chen 1 indigo dina 5 grove chen 1 ember
22
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025325
qwen/qwen3.7-plus
awkweave-0025326
Count all input records and print the total.
END{print NR}
hana 80 gus 54 lina 102 gus 81 jules 34 dina 60 gus 36 jules 39 kim 27 hana 118
10
chen 44 bruno 70 kim 108 jules 16 kim 120 jules 81 chen 100 hana 60
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025326-p1
Count every input record and print the final total.
END{print NR}
hana 80 gus 54 lina 102 gus 81 jules 34 dina 60 gus 36 jules 39 kim 27 hana 118
10
chen 44 bruno 70 kim 108 jules 16 kim 120 jules 81 chen 100 hana 60
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025326
qwen/qwen3.7-plus
awkweave-0025327
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus fable 73 gus fable 73 dina juniper 5 lina indigo 3 eli fable 50 ivan amber 33 dina amber 24 kim grove 100
gus fable 73 dina juniper 5 lina indigo 3 eli fable 50 ivan amber 33 dina amber 24 kim grove 100
lina delta 97 lina ember 1 alice indigo 93 lina ember 1 chen juniper 54 dina cobalt 36 dina ember 111 dina delta 34 jules fable 0
lina delta 97 lina ember 1 alice indigo 93 chen juniper 54 dina cobalt 36 dina ember 111 dina delta 34 jules fable 0
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025327-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
gus fable 73 gus fable 73 dina juniper 5 lina indigo 3 eli fable 50 ivan amber 33 dina amber 24 kim grove 100
gus fable 73 dina juniper 5 lina indigo 3 eli fable 50 ivan amber 33 dina amber 24 kim grove 100
lina delta 97 lina ember 1 alice indigo 93 lina ember 1 chen juniper 54 dina cobalt 36 dina ember 111 dina delta 34 jules fable 0
lina delta 97 lina ember 1 alice indigo 93 chen juniper 54 dina cobalt 36 dina ember 111 dina delta 34 jules fable 0
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025327
qwen/qwen3.7-plus
awkweave-0025328
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus juniper 18 hana grove 66 farah delta 56 ivan cobalt 100 dina grove 22 farah cobalt 36
gus juniper 18 hana grove 66 farah delta 56 ivan cobalt 100 dina grove 22
gus harbor 62 kim cobalt 35 ivan ember 84 kim cobalt 113 lina fable 113 eli fable 38 bruno indigo 98 eli birch 21
gus harbor 62 kim cobalt 35 ivan ember 84 lina fable 113 eli fable 38 bruno indigo 98
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025328-p1
Retain only the first occurrence for each unique value in column 1, preserving the input sequence.
!seen[$1]++
gus juniper 18 hana grove 66 farah delta 56 ivan cobalt 100 dina grove 22 farah cobalt 36
gus juniper 18 hana grove 66 farah delta 56 ivan cobalt 100 dina grove 22
gus harbor 62 kim cobalt 35 ivan ember 84 kim cobalt 113 lina fable 113 eli fable 38 bruno indigo 98 eli birch 21
gus harbor 62 kim cobalt 35 ivan ember 84 lina fable 113 eli fable 38 bruno indigo 98
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025328
qwen/qwen3.7-plus
awkweave-0025329
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 3 ember bruno 16 fable eli 23 fable ivan 11 fable eli 10 amber gus 12 juniper lina 5 ember kim 15 cobalt ivan 25 delta
bruno 3 bruno 19 eli 42 ivan 53 eli 63 gus 75 lina 80 kim 95 ivan 120
jules 3 ember kim 17 ember dina 29 amber hana 21 cobalt bruno 11 ember alice 15 harbor alice 18 fable kim 19 indigo
jules 3 kim 20 dina 49 hana 70 bruno 81 alice 96 alice 114 kim 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025329-p1
For every record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 3 ember bruno 16 fable eli 23 fable ivan 11 fable eli 10 amber gus 12 juniper lina 5 ember kim 15 cobalt ivan 25 delta
bruno 3 bruno 19 eli 42 ivan 53 eli 63 gus 75 lina 80 kim 95 ivan 120
jules 3 ember kim 17 ember dina 29 amber hana 21 cobalt bruno 11 ember alice 15 harbor alice 18 fable kim 19 indigo
jules 3 kim 20 dina 49 hana 70 bruno 81 alice 96 alice 114 kim 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025329
qwen/qwen3.7-plus
awkweave-0025330
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 14 28 cobalt eli 17 23 cobalt gus 3 15 birch eli 12 23 cobalt lina 22 17 amber ivan 18 28 cobalt dina 9 6 cobalt jules 20 3 cobalt chen 16 1 delta
ivan 42 eli 40 gus 18 eli 35 lina 39 ivan 46 dina 15 jules 23 chen 17
eli 6 4 fable farah 3 3 fable eli 3 12 birch alice 30 29 harbor hana 4 6 juniper jules 18 8 birch
eli 10 farah 6 eli 15 alice 59 hana 10 jules 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025330-p1
Output the first field and the total of the second and third fields for each row.
{print $1,$2+$3}
ivan 14 28 cobalt eli 17 23 cobalt gus 3 15 birch eli 12 23 cobalt lina 22 17 amber ivan 18 28 cobalt dina 9 6 cobalt jules 20 3 cobalt chen 16 1 delta
ivan 42 eli 40 gus 18 eli 35 lina 39 ivan 46 dina 15 jules 23 chen 17
eli 6 4 fable farah 3 3 fable eli 3 12 birch alice 30 29 harbor hana 4 6 juniper jules 18 8 birch
eli 10 farah 6 eli 15 alice 59 hana 10 jules 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025330
qwen/qwen3.7-plus
awkweave-0025331
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
farah 30 farah 8 kim 29 dina 30 ivan 18 gus 19 alice 19 chen 13
farah pass farah fail kim pass dina pass ivan fail gus fail alice fail chen fail
hana 15 bruno 1 farah 8 ivan 19 dina 21 kim 9 lina 27 jules 28 lina 25
hana fail bruno fail farah fail ivan fail dina fail kim fail lina pass jules pass lina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null