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-0052612-p1
Output the final field from each input line.
{print $NF}
kim bruno grove 53 eli farah kim kim delta 59 bruno farah jules bruno amber 60 jules eli gus dina delta 44 gus eli dina ivan ember 97 jules ivan alice chen harbor 100 kim dina kim eli cobalt 106 lina lina hana hana cobalt 75 hana alice eli ivan amber 14 chen jules
farah farah eli eli ivan dina lina alice jules
gus eli fable 14 kim chen ivan alice juniper 41 jules dina lina farah cobalt 58 bruno jules ivan bruno juniper 112 jules eli hana eli cobalt 70 alice ivan kim eli birch 84 chen kim
chen dina jules eli ivan kim
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052612
qwen/qwen3.7-plus
awkweave-0052613
Print the complete records where column 2 is at most 60.
$2 <= 60
cobalt 76 ready bruno birch 64 closed ivan harbor 24 closed dina fable 44 failed ivan fable 6 closed dina amber 98 failed farah birch 12 closed jules
harbor 24 closed dina fable 44 failed ivan fable 6 closed dina birch 12 closed jules
harbor 39 closed gus cobalt 114 ready farah amber 49 failed eli cobalt 58 ready bruno grove 60 active jules fable 3 closed kim fable 65 pending lina fable 43 pending alice fable 87 failed farah grove 66 active eli
harbor 39 closed gus amber 49 failed eli cobalt 58 ready bruno grove 60 active jules fable 3 closed kim fable 43 pending alice
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052613-p1
Display full records where the value in the second column is less than or equal to 60.
$2 <= 60
cobalt 76 ready bruno birch 64 closed ivan harbor 24 closed dina fable 44 failed ivan fable 6 closed dina amber 98 failed farah birch 12 closed jules
harbor 24 closed dina fable 44 failed ivan fable 6 closed dina birch 12 closed jules
harbor 39 closed gus cobalt 114 ready farah amber 49 failed eli cobalt 58 ready bruno grove 60 active jules fable 3 closed kim fable 65 pending lina fable 43 pending alice fable 87 failed farah grove 66 active eli
harbor 39 closed gus amber 49 failed eli cobalt 58 ready bruno grove 60 active jules fable 3 closed kim fable 43 pending alice
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052613
qwen/qwen3.7-plus
awkweave-0052614
Show whole lines whose 1st field is between 11 and 26, inclusive.
$1 >= 11 && $1 <= 26
2 ready failed ready 27 closed ready paused 1 active paused closed 21 paused closed paused 6 closed ready closed 20 pending paused failed 4 closed failed paused 6 closed pending paused 23 ready paused ready
21 paused closed paused 20 pending paused failed 23 ready paused ready
27 ready paused closed 8 paused failed active 22 closed paused closed 14 pending paused pending 29 paused active closed 4 closed paused pending 27 closed paused paused 21 paused failed failed 8 pending closed closed 20 active closed closed
22 closed paused closed 14 pending paused pending 21 paused failed failed 20 active closed closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052614-p1
Show entire lines where the first field falls within the inclusive range of 11 to 26.
$1 >= 11 && $1 <= 26
2 ready failed ready 27 closed ready paused 1 active paused closed 21 paused closed paused 6 closed ready closed 20 pending paused failed 4 closed failed paused 6 closed pending paused 23 ready paused ready
21 paused closed paused 20 pending paused failed 23 ready paused ready
27 ready paused closed 8 paused failed active 22 closed paused closed 14 pending paused pending 29 paused active closed 4 closed paused pending 27 closed paused paused 21 paused failed failed 8 pending closed closed 20 active closed closed
22 closed paused closed 14 pending paused pending 21 paused failed failed 20 active closed closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052614
qwen/qwen3.7-plus
awkweave-0052615
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
fable lina closed 102 amber dina pending 108 amber hana active 20 delta farah ready 33 indigo jules paused 70 harbor eli active 43 juniper bruno active 78 cobalt gus ready 90 indigo ivan closed 65
lina ivan
birch alice pending 105 amber ivan active 17 grove bruno active 84 cobalt lina active 59 juniper eli active 43 juniper ivan paused 27 ember chen failed 80
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052615-p1
Print only the second column for rows where the third column matches 'closed' exactly.
$3 == "closed"{print $2}
fable lina closed 102 amber dina pending 108 amber hana active 20 delta farah ready 33 indigo jules paused 70 harbor eli active 43 juniper bruno active 78 cobalt gus ready 90 indigo ivan closed 65
lina ivan
birch alice pending 105 amber ivan active 17 grove bruno active 84 cobalt lina active 59 juniper eli active 43 juniper ivan paused 27 ember chen failed 80
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052615
qwen/qwen3.7-plus
awkweave-0052616
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
INFO grove 84 DEBUG birch 96 DEBUG grove 81 INFO fable 14 WARN juniper 104 DEBUG harbor 56 WARN delta 41
WARN juniper 104 WARN delta 41
DEBUG juniper 1 INFO harbor 42 ERROR cobalt 31 ERROR grove 19 DEBUG ember 69 ERROR birch 91 ERROR birch 103
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052616-p1
Output all fields from lines where the first field starts with 'WARN'.
$1 ~ /^WARN/
INFO grove 84 DEBUG birch 96 DEBUG grove 81 INFO fable 14 WARN juniper 104 DEBUG harbor 56 WARN delta 41
WARN juniper 104 WARN delta 41
DEBUG juniper 1 INFO harbor 42 ERROR cobalt 31 ERROR grove 19 DEBUG ember 69 ERROR birch 91 ERROR birch 103
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052616
qwen/qwen3.7-plus
awkweave-0052617
Print every line except those containing the exact text amber.
$0 !~ /amber/
cobalt 22 failed birch 14 failed birch 106 pending amber 15 closed ember 109 closed cobalt 65 paused fable 6 pending ember 98 closed amber 999 active
cobalt 22 failed birch 14 failed birch 106 pending ember 109 closed cobalt 65 paused fable 6 pending ember 98 closed
delta 58 active delta 84 closed ember 48 closed harbor 102 paused juniper 120 closed cobalt 41 paused cobalt 69 closed cobalt 89 failed amber 999 active
delta 58 active delta 84 closed ember 48 closed harbor 102 paused juniper 120 closed cobalt 41 paused cobalt 69 closed cobalt 89 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052617-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
cobalt 22 failed birch 14 failed birch 106 pending amber 15 closed ember 109 closed cobalt 65 paused fable 6 pending ember 98 closed amber 999 active
cobalt 22 failed birch 14 failed birch 106 pending ember 109 closed cobalt 65 paused fable 6 pending ember 98 closed
delta 58 active delta 84 closed ember 48 closed harbor 102 paused juniper 120 closed cobalt 41 paused cobalt 69 closed cobalt 89 failed amber 999 active
delta 58 active delta 84 closed ember 48 closed harbor 102 paused juniper 120 closed cobalt 41 paused cobalt 69 closed cobalt 89 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052617
qwen/qwen3.7-plus
awkweave-0052618
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
farah fable 108 ivan harbor 108 ivan fable 18 bruno indigo 14 hana grove 63 alice fable 86
ivan harbor 108 ivan fable 18
dina cobalt 32 eli fable 34 jules grove 67 farah juniper 96 eli harbor 67 chen fable 65 ivan cobalt 5 farah juniper 7
eli fable 34 jules grove 67
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052618-p1
Output lines 2 through 3, inclusive of both endpoints.
NR >= 2 && NR <= 3
farah fable 108 ivan harbor 108 ivan fable 18 bruno indigo 14 hana grove 63 alice fable 86
ivan harbor 108 ivan fable 18
dina cobalt 32 eli fable 34 jules grove 67 farah juniper 96 eli harbor 67 chen fable 65 ivan cobalt 5 farah juniper 7
eli fable 34 jules grove 67
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052618
qwen/qwen3.7-plus
awkweave-0052619
Output only the first 4 records.
NR <= 4
farah 94 ember dina 110 fable jules 104 indigo ivan 94 amber hana 39 delta bruno 48 indigo hana 102 ember jules 109 fable alice 2 indigo
farah 94 ember dina 110 fable jules 104 indigo ivan 94 amber
hana 8 juniper chen 45 cobalt gus 63 indigo jules 60 ember gus 116 indigo gus 49 juniper
hana 8 juniper chen 45 cobalt gus 63 indigo jules 60 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052619-p1
Display only the first 4 records.
NR <= 4
farah 94 ember dina 110 fable jules 104 indigo ivan 94 amber hana 39 delta bruno 48 indigo hana 102 ember jules 109 fable alice 2 indigo
farah 94 ember dina 110 fable jules 104 indigo ivan 94 amber
hana 8 juniper chen 45 cobalt gus 63 indigo jules 60 ember gus 116 indigo gus 49 juniper
hana 8 juniper chen 45 cobalt gus 63 indigo jules 60 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052619
qwen/qwen3.7-plus
awkweave-0052620
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 41 grove jules 19 harbor lina 96 indigo kim 110 amber dina 14 ember hana 53 fable eli 46 ember dina 41 harbor jules 108 harbor jules 118 indigo
jules 19 harbor lina 96 indigo kim 110 amber dina 14 ember hana 53 fable eli 46 ember dina 41 harbor jules 108 harbor jules 118 indigo
farah 79 cobalt jules 45 juniper eli 49 grove gus 111 juniper ivan 85 amber jules 34 amber
jules 45 juniper eli 49 grove gus 111 juniper ivan 85 amber jules 34 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052620-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 41 grove jules 19 harbor lina 96 indigo kim 110 amber dina 14 ember hana 53 fable eli 46 ember dina 41 harbor jules 108 harbor jules 118 indigo
jules 19 harbor lina 96 indigo kim 110 amber dina 14 ember hana 53 fable eli 46 ember dina 41 harbor jules 108 harbor jules 118 indigo
farah 79 cobalt jules 45 juniper eli 49 grove gus 111 juniper ivan 85 amber jules 34 amber
jules 45 juniper eli 49 grove gus 111 juniper ivan 85 amber jules 34 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052620
qwen/qwen3.7-plus
awkweave-0052621
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
eli pending 24 dina active 49 kim active 54 alice paused 90 alice active 5 eli closed 103 farah ready 2 ivan failed 98
1
chen paused 25 lina closed 61 kim pending 62 alice ready 41 kim failed 89 hana paused 67 kim closed 57 eli failed 80
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052621-p1
Count the number of records with 'closed' in the second column; output 0 if the count is zero.
$2 == "closed"{n++}END{print n+0}
eli pending 24 dina active 49 kim active 54 alice paused 90 alice active 5 eli closed 103 farah ready 2 ivan failed 98
1
chen paused 25 lina closed 61 kim pending 62 alice ready 41 kim failed 89 hana paused 67 kim closed 57 eli failed 80
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052621
qwen/qwen3.7-plus
awkweave-0052622
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
gus 20 juniper dina 25 ember bruno 11 delta farah 17 cobalt gus 22 ember alice 14 indigo farah 22 fable hana 14 delta
145
kim 1 harbor dina 29 ember bruno 29 amber alice 28 cobalt lina 20 amber lina 17 fable
124
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052622-p1
Compute and print the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
gus 20 juniper dina 25 ember bruno 11 delta farah 17 cobalt gus 22 ember alice 14 indigo farah 22 fable hana 14 delta
145
kim 1 harbor dina 29 ember bruno 29 amber alice 28 cobalt lina 20 amber lina 17 fable
124
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052622
qwen/qwen3.7-plus
awkweave-0052623
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor hana 12 harbor bruno 15 fable hana 26 cobalt eli 9 fable farah 6 amber alice 18 birch alice 24
15.71
cobalt ivan 3 indigo gus 10 cobalt bruno 3 cobalt gus 7 amber ivan 25 ember chen 20
11.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052623-p1
Calculate the average of the third column and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
harbor hana 12 harbor bruno 15 fable hana 26 cobalt eli 9 fable farah 6 amber alice 18 birch alice 24
15.71
cobalt ivan 3 indigo gus 10 cobalt bruno 3 cobalt gus 7 amber ivan 25 ember chen 20
11.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052623
qwen/qwen3.7-plus
awkweave-0052624
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 birch ivan 1 juniper bruno 14 ember gus 1 grove alice 2 cobalt dina 19 cobalt bruno 27 juniper dina
1
6 ember dina 8 delta chen 2 juniper gus 20 grove bruno 17 fable alice 1 juniper jules 11 ember eli
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052624-p1
Identify and output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 birch ivan 1 juniper bruno 14 ember gus 1 grove alice 2 cobalt dina 19 cobalt bruno 27 juniper dina
1
6 ember dina 8 delta chen 2 juniper gus 20 grove bruno 17 fable alice 1 juniper jules 11 ember eli
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052624
qwen/qwen3.7-plus
awkweave-0052625
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
indigo 7 kim grove 25 ivan amber 14 ivan harbor 18 jules amber 23 hana juniper 25 gus ember 4 hana amber 1 hana birch 28 ivan
28
harbor 4 hana delta 11 hana indigo 9 alice fable 14 gus juniper 1 bruno harbor 29 dina juniper 20 alice
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052625-p1
Locate and display the maximum numeric value within the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
indigo 7 kim grove 25 ivan amber 14 ivan harbor 18 jules amber 23 hana juniper 25 gus ember 4 hana amber 1 hana birch 28 ivan
28
harbor 4 hana delta 11 hana indigo 9 alice fable 14 gus juniper 1 bruno harbor 29 dina juniper 20 alice
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052625
qwen/qwen3.7-plus
awkweave-0052626
Count all input records and print the total.
END{print NR}
alice 118 gus 105 farah 10 kim 87 farah 6 lina 90 ivan 36 ivan 55 jules 67 chen 54
10
ivan 0 jules 5 alice 95 eli 38 ivan 104 chen 65 ivan 13 alice 61 hana 72
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052626-p1
Calculate the total number of input records and print the count.
END{print NR}
alice 118 gus 105 farah 10 kim 87 farah 6 lina 90 ivan 36 ivan 55 jules 67 chen 54
10
ivan 0 jules 5 alice 95 eli 38 ivan 104 chen 65 ivan 13 alice 61 hana 72
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052626
qwen/qwen3.7-plus
awkweave-0052627
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli harbor 71 dina delta 20 kim indigo 5 alice birch 33 kim indigo 5 bruno fable 87 jules cobalt 24
eli harbor 71 dina delta 20 kim indigo 5 alice birch 33 bruno fable 87 jules cobalt 24
eli indigo 15 kim birch 2 lina amber 38 lina ember 53 chen fable 80 eli indigo 15 jules harbor 38
eli indigo 15 kim birch 2 lina amber 38 lina ember 53 chen fable 80 jules harbor 38
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052627-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
eli harbor 71 dina delta 20 kim indigo 5 alice birch 33 kim indigo 5 bruno fable 87 jules cobalt 24
eli harbor 71 dina delta 20 kim indigo 5 alice birch 33 bruno fable 87 jules cobalt 24
eli indigo 15 kim birch 2 lina amber 38 lina ember 53 chen fable 80 eli indigo 15 jules harbor 38
eli indigo 15 kim birch 2 lina amber 38 lina ember 53 chen fable 80 jules harbor 38
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052627
qwen/qwen3.7-plus
awkweave-0052628
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
dina fable 6 lina amber 90 dina juniper 99 ivan ember 40 gus indigo 81 gus delta 73 chen indigo 92 hana ember 120 gus harbor 93 alice fable 3
dina fable 6 lina amber 90 ivan ember 40 gus indigo 81 chen indigo 92 hana ember 120 alice fable 3
eli juniper 28 ivan grove 73 ivan delta 85 eli delta 35 hana indigo 119 farah ember 108 lina ember 77
eli juniper 28 ivan grove 73 hana indigo 119 farah ember 108 lina ember 77
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052628-p1
Retain only the initial line for every unique value in the first column, keeping the original input order.
!seen[$1]++
dina fable 6 lina amber 90 dina juniper 99 ivan ember 40 gus indigo 81 gus delta 73 chen indigo 92 hana ember 120 gus harbor 93 alice fable 3
dina fable 6 lina amber 90 ivan ember 40 gus indigo 81 chen indigo 92 hana ember 120 alice fable 3
eli juniper 28 ivan grove 73 ivan delta 85 eli delta 35 hana indigo 119 farah ember 108 lina ember 77
eli juniper 28 ivan grove 73 hana indigo 119 farah ember 108 lina ember 77
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052628
qwen/qwen3.7-plus
awkweave-0052629
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 18 juniper lina 30 grove kim 3 amber eli 21 indigo bruno 25 harbor jules 4 harbor ivan 20 harbor farah 9 grove
chen 18 lina 48 kim 51 eli 72 bruno 97 jules 101 ivan 121 farah 130
chen 5 cobalt chen 15 harbor bruno 9 birch chen 14 juniper bruno 16 amber alice 6 delta kim 12 cobalt chen 11 delta alice 10 grove jules 4 juniper
chen 5 chen 20 bruno 29 chen 43 bruno 59 alice 65 kim 77 chen 88 alice 98 jules 102
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052629-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
chen 18 juniper lina 30 grove kim 3 amber eli 21 indigo bruno 25 harbor jules 4 harbor ivan 20 harbor farah 9 grove
chen 18 lina 48 kim 51 eli 72 bruno 97 jules 101 ivan 121 farah 130
chen 5 cobalt chen 15 harbor bruno 9 birch chen 14 juniper bruno 16 amber alice 6 delta kim 12 cobalt chen 11 delta alice 10 grove jules 4 juniper
chen 5 chen 20 bruno 29 chen 43 bruno 59 alice 65 kim 77 chen 88 alice 98 jules 102
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052629
qwen/qwen3.7-plus
awkweave-0052630
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 30 8 ember farah 19 6 grove hana 12 9 fable gus 12 27 indigo hana 18 22 juniper jules 22 17 amber eli 1 21 ember hana 24 9 indigo jules 13 16 juniper eli 1 13 grove
lina 38 farah 25 hana 21 gus 39 hana 40 jules 39 eli 22 hana 33 jules 29 eli 14
kim 9 25 delta farah 26 4 ember bruno 26 23 cobalt eli 5 7 birch kim 15 20 grove hana 23 22 delta gus 22 16 indigo
kim 34 farah 30 bruno 49 eli 12 kim 35 hana 45 gus 38
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052630-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
lina 30 8 ember farah 19 6 grove hana 12 9 fable gus 12 27 indigo hana 18 22 juniper jules 22 17 amber eli 1 21 ember hana 24 9 indigo jules 13 16 juniper eli 1 13 grove
lina 38 farah 25 hana 21 gus 39 hana 40 jules 39 eli 22 hana 33 jules 29 eli 14
kim 9 25 delta farah 26 4 ember bruno 26 23 cobalt eli 5 7 birch kim 15 20 grove hana 23 22 delta gus 22 16 indigo
kim 34 farah 30 bruno 49 eli 12 kim 35 hana 45 gus 38
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052630
qwen/qwen3.7-plus
awkweave-0052631
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
gus 10 kim 1 gus 11 lina 5 gus 13 ivan 7 dina 2 eli 30 lina 12 gus 6
gus fail kim fail gus fail lina fail gus fail ivan fail dina fail eli pass lina fail gus fail
chen 23 ivan 6 gus 4 ivan 15 dina 28 chen 27 alice 30
chen pass ivan fail gus fail ivan fail dina pass chen pass alice pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052631-p1
Output the first column; append 'pass' if the second column is 21 or greater, otherwise append 'fail'.
{print $1,($2>=21?"pass":"fail")}
gus 10 kim 1 gus 11 lina 5 gus 13 ivan 7 dina 2 eli 30 lina 12 gus 6
gus fail kim fail gus fail lina fail gus fail ivan fail dina fail eli pass lina fail gus fail
chen 23 ivan 6 gus 4 ivan 15 dina 28 chen 27 alice 30
chen pass ivan fail gus fail ivan fail dina pass chen pass alice pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052631
qwen/qwen3.7-plus
awkweave-0052632
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim harbor 67 eli amber 3 farah birch 69 farah amber 15 hana delta 3 farah delta 34
KIM ELI FARAH FARAH HANA FARAH
kim fable 42 hana harbor 82 gus cobalt 4 alice harbor 61 alice juniper 25 jules juniper 57 eli amber 2 chen amber 19 gus amber 22 kim cobalt 56
KIM HANA GUS ALICE ALICE JULES ELI CHEN GUS KIM
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052632-p1
Transform the first column to uppercase letters and print solely that column.
{print toupper($1)}
kim harbor 67 eli amber 3 farah birch 69 farah amber 15 hana delta 3 farah delta 34
KIM ELI FARAH FARAH HANA FARAH
kim fable 42 hana harbor 82 gus cobalt 4 alice harbor 61 alice juniper 25 jules juniper 57 eli amber 2 chen amber 19 gus amber 22 kim cobalt 56
KIM HANA GUS ALICE ALICE JULES ELI CHEN GUS KIM
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052632
qwen/qwen3.7-plus
awkweave-0052633
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
harbor 118 indigo 37 birch 9 amber 23 amber 1 harbor 87 fable 2 fable 11 indigo 95 juniper 36
ha in bi am am ha fa fa in ju
indigo 99 birch 37 amber 34 amber 1 cobalt 14 amber 41 indigo 5 ember 3 fable 110
in bi am am co am in em fa
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052633-p1
Extract and print the first two characters from the first column.
{print substr($1,1,2)}
harbor 118 indigo 37 birch 9 amber 23 amber 1 harbor 87 fable 2 fable 11 indigo 95 juniper 36
ha in bi am am ha fa fa in ju
indigo 99 birch 37 amber 34 amber 1 cobalt 14 amber 41 indigo 5 ember 3 fable 110
in bi am am co am in em fa
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052633
qwen/qwen3.7-plus
awkweave-0052634
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_ember 111 fable_cobalt 31 delta_fable 8 cobalt_fable 84 harbor_harbor 10 indigo_birch 66
birch ember fable cobalt delta fable cobalt fable harbor harbor indigo birch
delta_ember 102 birch_cobalt 60 ember_delta 0 birch_birch 60 amber_birch 67 harbor_birch 76 birch_amber 52
delta ember birch cobalt ember delta birch birch amber birch harbor birch birch amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052634-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
birch_ember 111 fable_cobalt 31 delta_fable 8 cobalt_fable 84 harbor_harbor 10 indigo_birch 66
birch ember fable cobalt delta fable cobalt fable harbor harbor indigo birch
delta_ember 102 birch_cobalt 60 ember_delta 0 birch_birch 60 amber_birch 67 harbor_birch 76 birch_amber 52
delta ember birch cobalt ember delta birch birch amber birch harbor birch birch amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052634
qwen/qwen3.7-plus
awkweave-0052635
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno juniper 97 paused jules fable 14 pending farah ember 14 closed gus juniper 70 pending chen amber 115 active kim fable 95 paused lina juniper 76 pending eli grove 33 paused jules birch 10 paused farah harbor 51 pending
paused 97 juniper bruno pending 14 fable jules closed 14 ember farah pending 70 juniper gus active 115 amber chen paused 95 fable kim pending 76 juniper lina paused 33 grove eli paused 10 birch jules pending 51 harbor farah
alice birch 71 closed jules amber 82 ready ivan ember 29 pending hana delta 16 paused ivan birch 67 active dina ember 76 pending dina cobalt 74 ready jules cobalt 56 pending jules birch 61 failed dina grove 55 paused
closed 71 birch alice ready 82 amber jules pending 29 ember ivan paused 16 delta hana active 67 birch ivan pending 76 ember dina ready 74 cobalt dina pending 56 cobalt jules failed 61 birch jules paused 55 grove dina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052635-p1
Invert the sequence of fields for every line and print all resulting fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno juniper 97 paused jules fable 14 pending farah ember 14 closed gus juniper 70 pending chen amber 115 active kim fable 95 paused lina juniper 76 pending eli grove 33 paused jules birch 10 paused farah harbor 51 pending
paused 97 juniper bruno pending 14 fable jules closed 14 ember farah pending 70 juniper gus active 115 amber chen paused 95 fable kim pending 76 juniper lina paused 33 grove eli paused 10 birch jules pending 51 harbor farah
alice birch 71 closed jules amber 82 ready ivan ember 29 pending hana delta 16 paused ivan birch 67 active dina ember 76 pending dina cobalt 74 ready jules cobalt 56 pending jules birch 61 failed dina grove 55 paused
closed 71 birch alice ready 82 amber jules pending 29 ember ivan paused 16 delta hana active 67 birch ivan pending 76 ember dina ready 74 cobalt dina pending 56 cobalt jules failed 61 birch jules paused 55 grove dina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052635
qwen/qwen3.7-plus
awkweave-0052636
Print the number of whitespace-separated fields on each line.
{print NF}
lina ember 110 ready bruno indigo 68 paused gus harbor 66 paused jules birch 101 paused dina delta 113 paused alice amber 28 pending
4 4 4 4 4 4
gus grove 120 closed bruno harbor 17 active dina grove 31 paused alice birch 1 ready kim delta 83 active alice ember 98 ready
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052636-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
lina ember 110 ready bruno indigo 68 paused gus harbor 66 paused jules birch 101 paused dina delta 113 paused alice amber 28 pending
4 4 4 4 4 4
gus grove 120 closed bruno harbor 17 active dina grove 31 paused alice birch 1 ready kim delta 83 active alice ember 98 ready
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052636
qwen/qwen3.7-plus
awkweave-0052637
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
chen delta 103 eli delta 20 kim delta 5 farah delta 88 alice beta 42 gus alpha 98
delta 4 beta 1 alpha 1
bruno beta 53 chen beta 98 alice delta 91 kim delta 43 dina beta 78 jules delta 104 chen gamma 32
beta 3 delta 3 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052637-p1
Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
chen delta 103 eli delta 20 kim delta 5 farah delta 88 alice beta 42 gus alpha 98
delta 4 beta 1 alpha 1
bruno beta 53 chen beta 98 alice delta 91 kim delta 43 dina beta 78 jules delta 104 chen gamma 32
beta 3 delta 3 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052637
qwen/qwen3.7-plus
awkweave-0052638
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus beta 3 kim alpha 3 alice delta 15 eli gamma 11 eli gamma 26 dina beta 17 jules delta 30 farah gamma 16
beta 20 alpha 3 delta 45 gamma 53
eli alpha 8 kim alpha 17 eli alpha 1 hana beta 15 lina alpha 14 dina beta 19 bruno delta 4 farah gamma 15 farah gamma 12 gus delta 24
alpha 40 beta 34 delta 28 gamma 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052638-p1
Calculate the sum of values in column 3 grouped by the categories in column 2, presenting the results in the order of the category's first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus beta 3 kim alpha 3 alice delta 15 eli gamma 11 eli gamma 26 dina beta 17 jules delta 30 farah gamma 16
beta 20 alpha 3 delta 45 gamma 53
eli alpha 8 kim alpha 17 eli alpha 1 hana beta 15 lina alpha 14 dina beta 19 bruno delta 4 farah gamma 15 farah gamma 12 gus delta 24
alpha 40 beta 34 delta 28 gamma 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052638
qwen/qwen3.7-plus
awkweave-0052639
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta juniper 18 beta amber 31 delta indigo 10 gamma birch 100 beta cobalt 113 beta grove 70
beta 4
delta birch 70 delta indigo 24 delta harbor 14 beta delta 12 delta amber 101 beta birch 100 alpha delta 16 alpha juniper 54 gamma indigo 4
delta 4 beta 2 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052639-p1
List each value from column 1 that appears more than once, along with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta juniper 18 beta amber 31 delta indigo 10 gamma birch 100 beta cobalt 113 beta grove 70
beta 4
delta birch 70 delta indigo 24 delta harbor 14 beta delta 12 delta amber 101 beta birch 100 alpha delta 16 alpha juniper 54 gamma indigo 4
delta 4 beta 2 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052639
qwen/qwen3.7-plus
awkweave-0052640
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region score note record_id r001 alice 6 pending r002 gus 17 paused r003 ivan 15 paused r004 eli 6 ready r005 ivan 11 closed r006 chen 17 active r007 gus 29 closed
6 17 15 6 11 17 29
region score note record_id r001 dina 27 failed r002 dina 14 active r003 hana 18 pending r004 kim 4 pending r005 dina 13 pending r006 gus 1 ready r007 eli 10 closed
27 14 18 4 13 1 10
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052640-p1
Skip the header row and output the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region score note record_id r001 alice 6 pending r002 gus 17 paused r003 ivan 15 paused r004 eli 6 ready r005 ivan 11 closed r006 chen 17 active r007 gus 29 closed
6 17 15 6 11 17 29
region score note record_id r001 dina 27 failed r002 dina 14 active r003 hana 18 pending r004 kim 4 pending r005 dina 13 pending r006 gus 1 ready r007 eli 10 closed
27 14 18 4 13 1 10
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052640
qwen/qwen3.7-plus
awkweave-0052641
The first row is a header. Print display_name for data rows whose score is greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 ivan 7 pending r002 ivan 28 ready r003 lina 29 closed r004 kim 18 closed r005 kim 4 failed r006 alice 24 pending r007 jules 23 failed r008 farah 7 pending
ivan lina kim alice jules
record_id display_name score state r001 bruno 24 pending r002 ivan 4 paused r003 kim 16 active r004 ivan 28 active r005 kim 23 active r006 lina 25 paused r007 dina 29 ready
bruno kim ivan kim lina dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052641-p1
Ignoring the header row, print the display_name field for any record where the score is strictly greater than 8.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]}
record_id display_name score state r001 ivan 7 pending r002 ivan 28 ready r003 lina 29 closed r004 kim 18 closed r005 kim 4 failed r006 alice 24 pending r007 jules 23 failed r008 farah 7 pending
ivan lina kim alice jules
record_id display_name score state r001 bruno 24 pending r002 ivan 4 paused r003 kim 16 active r004 ivan 28 active r005 kim 23 active r006 lina 25 paused r007 dina 29 ready
bruno kim ivan kim lina dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052641
qwen/qwen3.7-plus
awkweave-0052642
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
kim 23 ready chen 18 failed kim 30 active chen 23 ready eli 13 ready farah 20 failed kim 28 pending kim 13 ready dina 8 failed
23 18 30 23 13 20 28 13 8
lina 29 paused chen 7 active lina 16 active hana 11 pending jules 21 pending ivan 21 ready ivan 9 pending dina 21 pending
29 7 16 11 21 21 9 21
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052642-p1
Given tab-separated input, extract and print the second field from each record.
BEGIN{FS=OFS="\t"}{print $2}
kim 23 ready chen 18 failed kim 30 active chen 23 ready eli 13 ready farah 20 failed kim 28 pending kim 13 ready dina 8 failed
23 18 30 23 13 20 28 13 8
lina 29 paused chen 7 active lina 16 active hana 11 pending jules 21 pending ivan 21 ready ivan 9 pending dina 21 pending
29 7 16 11 21 21 9 21
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052642
qwen/qwen3.7-plus
awkweave-0052643
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}
ivan,1,active bruno,15,pending gus,12,pending lina,12,paused lina,6,closed lina,27,active chen,5,paused farah,19,paused jules,29,failed hana,30,active
lina jules hana
farah,5,ready farah,20,active lina,28,closed bruno,14,pending lina,10,failed lina,28,paused
farah lina lina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052643-p1
For simple comma-separated input without quoted fields, print the first column whenever the value in the second column is greater than 19.
BEGIN{FS=OFS=","}$2>19{print $1}
ivan,1,active bruno,15,pending gus,12,pending lina,12,paused lina,6,closed lina,27,active chen,5,paused farah,19,paused jules,29,failed hana,30,active
lina jules hana
farah,5,ready farah,20,active lina,28,closed bruno,14,pending lina,10,failed lina,28,paused
farah lina lina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052643
qwen/qwen3.7-plus
awkweave-0052644
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan grove 57 lina ember 65 lina amber 9 farah ember 88 chen harbor 88 jules birch 102 kim birch 64 bruno indigo 37 chen grove 62 jules cobalt 114
ivan grove 57 lina ember 65 lina amber 9 farah ember 88 chen harbor 88 jules birch 102 kim birch 64 bruno indigo 37 chen grove 62 jules cobalt 114
kim amber 83 kim harbor 61 eli indigo 10 alice birch 96 gus cobalt 74 farah fable 5 eli grove 110 chen birch 3 ivan amber 104 lina fable 43
kim amber 83 kim harbor 61 eli indigo 10 alice birch 96 gus cobalt 74 farah fable 5 eli grove 110 chen birch 3 ivan amber 104 lina fable 43
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052644-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
ivan grove 57 lina ember 65 lina amber 9 farah ember 88 chen harbor 88 jules birch 102 kim birch 64 bruno indigo 37 chen grove 62 jules cobalt 114
ivan grove 57 lina ember 65 lina amber 9 farah ember 88 chen harbor 88 jules birch 102 kim birch 64 bruno indigo 37 chen grove 62 jules cobalt 114
kim amber 83 kim harbor 61 eli indigo 10 alice birch 96 gus cobalt 74 farah fable 5 eli grove 110 chen birch 3 ivan amber 104 lina fable 43
kim amber 83 kim harbor 61 eli indigo 10 alice birch 96 gus cobalt 74 farah fable 5 eli grove 110 chen birch 3 ivan amber 104 lina fable 43
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052644
qwen/qwen3.7-plus
awkweave-0052645
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 97 closed farah cobalt 51 closed hana cobalt 27 paused alice indigo 58 paused ivan fable 74 pending chen cobalt 19 active lina birch 13 closed kim indigo 46 active bruno birch 58 active
hana juniper 97 closed
dina delta 13 active lina amber 11 pending eli delta 112 paused dina fable 34 paused bruno juniper 9 ready kim fable 98 closed bruno grove 29 active
lina amber 11 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052645-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 97 closed farah cobalt 51 closed hana cobalt 27 paused alice indigo 58 paused ivan fable 74 pending chen cobalt 19 active lina birch 13 closed kim indigo 46 active bruno birch 58 active
hana juniper 97 closed
dina delta 13 active lina amber 11 pending eli delta 112 paused dina fable 34 paused bruno juniper 9 ready kim fable 98 closed bruno grove 29 active
lina amber 11 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052645
qwen/qwen3.7-plus
awkweave-0052646
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
bruno 40 lina 109 kim 69 gus 28 eli 6 gus 65
kim 69
bruno 16 alice 106 eli 92 eli 0 dina 42 lina 113 chen 80
eli 92 chen 80
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052646-p1
Print every fourth line of the input, beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
bruno 40 lina 109 kim 69 gus 28 eli 6 gus 65
kim 69
bruno 16 alice 106 eli 92 eli 0 dina 42 lina 113 chen 80
eli 92 chen 80
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052646
qwen/qwen3.7-plus
awkweave-0052647
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta ember 104 alpha cobalt 21 gamma amber 102 delta fable 4 gamma grove 78 alpha delta 30 alpha ember 97 gamma birch 6 alpha fable 1
7
alpha juniper 63 gamma grove 111 beta amber 93 delta cobalt 24 alpha juniper 93 delta juniper 12
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052647-p1
Determine the number of unique values present in column 2 and output only this total count.
{if(!seen[$2]++)n++}END{print n+0}
beta ember 104 alpha cobalt 21 gamma amber 102 delta fable 4 gamma grove 78 alpha delta 30 alpha ember 97 gamma birch 6 alpha fable 1
7
alpha juniper 63 gamma grove 111 beta amber 93 delta cobalt 24 alpha juniper 93 delta juniper 12
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052647
qwen/qwen3.7-plus
awkweave-0052648
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}
alice 23 0 lina 21 24 hana 2 9 farah 20 2 ivan 21 19 chen 4 9 jules 11 2 eli 4 20 hana 5 17 eli 5 6
lina 0.88 hana 0.22 farah 10.00 ivan 1.11 chen 0.44 jules 5.50 eli 0.20 hana 0.29 eli 0.83
kim 9 0 dina 26 12 farah 20 23 alice 10 14 bruno 7 7 gus 16 28 bruno 16 30
dina 2.17 farah 0.87 alice 0.71 bruno 1.00 gus 0.57 bruno 0.53
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052648-p1
For each row, output the first and second columns divided by the third column formatted to two decimal places, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 23 0 lina 21 24 hana 2 9 farah 20 2 ivan 21 19 chen 4 9 jules 11 2 eli 4 20 hana 5 17 eli 5 6
lina 0.88 hana 0.22 farah 10.00 ivan 1.11 chen 0.44 jules 5.50 eli 0.20 hana 0.29 eli 0.83
kim 9 0 dina 26 12 farah 20 23 alice 10 14 bruno 7 7 gus 16 28 bruno 16 30
dina 2.17 farah 0.87 alice 0.71 bruno 1.00 gus 0.57 bruno 0.53
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052648
qwen/qwen3.7-plus
awkweave-0052649
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]}
gus delta 10 lina fable 23 kim amber 16 jules grove 1 gus cobalt 21 dina cobalt 14 hana delta 15 farah amber 15
lina fable 23 gus cobalt 21 kim amber 16
farah juniper 23 ivan juniper 17 lina grove 17 eli juniper 5 gus delta 11 chen amber 13 dina ember 12 dina grove 18 gus indigo 7 alice delta 29
alice delta 29 farah juniper 23 dina grove 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052649-p1
Display the three full records with the largest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus delta 10 lina fable 23 kim amber 16 jules grove 1 gus cobalt 21 dina cobalt 14 hana delta 15 farah amber 15
lina fable 23 gus cobalt 21 kim amber 16
farah juniper 23 ivan juniper 17 lina grove 17 eli juniper 5 gus delta 11 chen amber 13 dina ember 12 dina grove 18 gus indigo 7 alice delta 29
alice delta 29 farah juniper 23 dina grove 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052649
qwen/qwen3.7-plus
awkweave-0052650
Print column 4 followed by column 3 for every record.
{print $4, $3}
15 paused chen paused harbor 116 active gus ready grove 83 active farah ready delta 100 paused ivan active amber 51 paused ivan paused ember 76 paused alice closed indigo 65 pending gus active ember 49 ready gus active cobalt
paused chen ready gus ready farah active ivan paused ivan closed alice active gus active gus
34 pending eli active indigo 94 failed chen active fable 44 active eli active amber 102 active ivan pending delta 76 pending ivan ready indigo 98 ready eli closed juniper 111 closed hana ready delta
active eli active chen active eli pending ivan ready ivan closed eli ready hana
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052650-p1
Output column 4 followed by column 3 for every record.
{print $4, $3}
15 paused chen paused harbor 116 active gus ready grove 83 active farah ready delta 100 paused ivan active amber 51 paused ivan paused ember 76 paused alice closed indigo 65 pending gus active ember 49 ready gus active cobalt
paused chen ready gus ready farah active ivan paused ivan closed alice active gus active gus
34 pending eli active indigo 94 failed chen active fable 44 active eli active amber 102 active ivan pending delta 76 pending ivan ready indigo 98 ready eli closed juniper 111 closed hana ready delta
active eli active chen active eli pending ivan ready ivan closed eli ready hana
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052650
qwen/qwen3.7-plus
awkweave-0052651
Print the last field of every input line.
{print $NF}
alice paused kim hana paused lina ivan active bruno chen ready alice alice ready dina eli failed farah chen paused ivan
kim lina bruno alice dina farah ivan
eli paused gus eli active bruno jules failed kim chen ready chen ivan ready dina jules ready eli
gus bruno kim chen dina eli
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052651-p1
Print the final field from each input line.
{print $NF}
alice paused kim hana paused lina ivan active bruno chen ready alice alice ready dina eli failed farah chen paused ivan
kim lina bruno alice dina farah ivan
eli paused gus eli active bruno jules failed kim chen ready chen ivan ready dina jules ready eli
gus bruno kim chen dina eli
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052651
qwen/qwen3.7-plus
awkweave-0052652
Print the complete records where column 2 is at most 51.
$2 <= 51
birch 119 active ember 1 pending delta 42 closed fable 35 active juniper 108 closed delta 82 closed cobalt 53 ready harbor 22 active
ember 1 pending delta 42 closed fable 35 active harbor 22 active
fable 49 pending delta 106 failed grove 65 pending harbor 22 active amber 53 paused grove 87 active harbor 14 active birch 45 paused harbor 31 ready amber 33 ready
fable 49 pending harbor 22 active harbor 14 active birch 45 paused harbor 31 ready amber 33 ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052652-p1
Output the complete records where the value in column 2 is less than or equal to 51.
$2 <= 51
birch 119 active ember 1 pending delta 42 closed fable 35 active juniper 108 closed delta 82 closed cobalt 53 ready harbor 22 active
ember 1 pending delta 42 closed fable 35 active harbor 22 active
fable 49 pending delta 106 failed grove 65 pending harbor 22 active amber 53 paused grove 87 active harbor 14 active birch 45 paused harbor 31 ready amber 33 ready
fable 49 pending harbor 22 active harbor 14 active birch 45 paused harbor 31 ready amber 33 ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052652
qwen/qwen3.7-plus
awkweave-0052653
Show whole lines whose 2nd field is between 9 and 20, inclusive.
$2 >= 9 && $2 <= 20
cobalt 19 ivan bruno grove 19 kim ivan delta 4 jules hana harbor 16 farah ivan juniper 4 gus farah harbor 22 hana alice grove 7 dina lina
cobalt 19 ivan bruno grove 19 kim ivan harbor 16 farah ivan
ember 4 dina hana birch 13 alice chen delta 26 dina gus grove 5 lina farah indigo 12 hana chen grove 3 dina dina cobalt 2 alice eli birch 1 ivan hana
birch 13 alice chen indigo 12 hana chen
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052653-p1
Display entire lines where the second field falls within the inclusive range of 9 to 20.
$2 >= 9 && $2 <= 20
cobalt 19 ivan bruno grove 19 kim ivan delta 4 jules hana harbor 16 farah ivan juniper 4 gus farah harbor 22 hana alice grove 7 dina lina
cobalt 19 ivan bruno grove 19 kim ivan harbor 16 farah ivan
ember 4 dina hana birch 13 alice chen delta 26 dina gus grove 5 lina farah indigo 12 hana chen grove 3 dina dina cobalt 2 alice eli birch 1 ivan hana
birch 13 alice chen indigo 12 hana chen
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052653
qwen/qwen3.7-plus
awkweave-0052654
Print column 3 only for rows where column 2 is exactly failed.
$2 == "failed"{print $3}
delta failed alice 109 delta active hana 116 amber active chen 77 indigo failed hana 11 juniper pending kim 25 indigo closed jules 102 ember pending jules 8 indigo active chen 98
alice hana
ember failed hana 31 grove ready dina 89 cobalt ready hana 111 fable failed bruno 14 amber active dina 17 amber active hana 14 grove paused hana 26 fable active gus 23
hana bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052654-p1
Output only column 3 for rows where column 2 is exactly 'failed'.
$2 == "failed"{print $3}
delta failed alice 109 delta active hana 116 amber active chen 77 indigo failed hana 11 juniper pending kim 25 indigo closed jules 102 ember pending jules 8 indigo active chen 98
alice hana
ember failed hana 31 grove ready dina 89 cobalt ready hana 111 fable failed bruno 14 amber active dina 17 amber active hana 14 grove paused hana 26 fable active gus 23
hana bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052654
qwen/qwen3.7-plus
awkweave-0052655
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
78 delta DEBUG 115 fable INFO 73 delta WARN 53 indigo INFO 15 juniper WARN 48 delta WARN 35 grove DEBUG 64 fable INFO 58 fable WARN 62 juniper WARN
73 delta WARN 15 juniper WARN 48 delta WARN 58 fable WARN 62 juniper WARN
83 grove ERROR 112 fable ERROR 1 delta WARN 35 harbor INFO 70 juniper ERROR 57 birch DEBUG 77 fable WARN 15 indigo INFO 31 indigo DEBUG
1 delta WARN 77 fable WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052655-p1
Print all fields from lines where the third field starts with 'WARN'.
$3 ~ /^WARN/
78 delta DEBUG 115 fable INFO 73 delta WARN 53 indigo INFO 15 juniper WARN 48 delta WARN 35 grove DEBUG 64 fable INFO 58 fable WARN 62 juniper WARN
73 delta WARN 15 juniper WARN 48 delta WARN 58 fable WARN 62 juniper WARN
83 grove ERROR 112 fable ERROR 1 delta WARN 35 harbor INFO 70 juniper ERROR 57 birch DEBUG 77 fable WARN 15 indigo INFO 31 indigo DEBUG
1 delta WARN 77 fable WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052655
qwen/qwen3.7-plus
awkweave-0052656
Print every line except those containing the exact text birch.
$0 !~ /birch/
amber 82 pending amber 27 paused juniper 43 closed indigo 51 ready fable 16 closed fable 53 active juniper 75 failed birch 999 active
amber 82 pending amber 27 paused juniper 43 closed indigo 51 ready fable 16 closed fable 53 active juniper 75 failed
ember 43 active fable 106 closed harbor 61 pending harbor 63 ready amber 90 failed juniper 70 active birch 73 paused birch 999 active
ember 43 active fable 106 closed harbor 61 pending harbor 63 ready amber 90 failed juniper 70 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052656-p1
Output every line except those that contain the exact string 'birch'.
$0 !~ /birch/
amber 82 pending amber 27 paused juniper 43 closed indigo 51 ready fable 16 closed fable 53 active juniper 75 failed birch 999 active
amber 82 pending amber 27 paused juniper 43 closed indigo 51 ready fable 16 closed fable 53 active juniper 75 failed
ember 43 active fable 106 closed harbor 61 pending harbor 63 ready amber 90 failed juniper 70 active birch 73 paused birch 999 active
ember 43 active fable 106 closed harbor 61 pending harbor 63 ready amber 90 failed juniper 70 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052656
qwen/qwen3.7-plus
awkweave-0052657
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
chen delta 1 chen birch 47 gus harbor 84 bruno birch 57 ivan amber 48 gus harbor 80
bruno birch 57 ivan amber 48
hana indigo 59 bruno delta 18 chen indigo 64 farah fable 31 chen juniper 101 bruno juniper 68 hana grove 19 jules grove 33 jules delta 40
farah fable 31 chen juniper 101
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052657-p1
Print lines 4 through 5, inclusive of both endpoints.
NR >= 4 && NR <= 5
chen delta 1 chen birch 47 gus harbor 84 bruno birch 57 ivan amber 48 gus harbor 80
bruno birch 57 ivan amber 48
hana indigo 59 bruno delta 18 chen indigo 64 farah fable 31 chen juniper 101 bruno juniper 68 hana grove 19 jules grove 33 jules delta 40
farah fable 31 chen juniper 101
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052657
qwen/qwen3.7-plus
awkweave-0052658
Output only the first 3 records.
NR <= 3
eli 99 juniper kim 71 ember dina 10 cobalt jules 113 juniper dina 12 juniper bruno 82 delta kim 103 amber lina 2 ember dina 47 fable
eli 99 juniper kim 71 ember dina 10 cobalt
bruno 54 birch dina 107 harbor kim 55 harbor hana 86 birch kim 17 delta hana 83 fable chen 105 harbor
bruno 54 birch dina 107 harbor kim 55 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052658-p1
Output only the first 3 records.
NR <= 3
eli 99 juniper kim 71 ember dina 10 cobalt jules 113 juniper dina 12 juniper bruno 82 delta kim 103 amber lina 2 ember dina 47 fable
eli 99 juniper kim 71 ember dina 10 cobalt
bruno 54 birch dina 107 harbor kim 55 harbor hana 86 birch kim 17 delta hana 83 fable chen 105 harbor
bruno 54 birch dina 107 harbor kim 55 harbor
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0052658
qwen/qwen3.7-plus
awkweave-0052659
Skip the first line and print every remaining line unchanged.
NR > 1
hana 55 birch hana 63 juniper kim 39 amber bruno 104 juniper bruno 115 fable chen 44 ember farah 93 birch bruno 86 grove gus 116 cobalt hana 63 indigo
hana 63 juniper kim 39 amber bruno 104 juniper bruno 115 fable chen 44 ember farah 93 birch bruno 86 grove gus 116 cobalt hana 63 indigo
ivan 114 indigo ivan 33 grove eli 100 cobalt chen 38 ember lina 39 indigo kim 35 harbor
ivan 33 grove eli 100 cobalt chen 38 ember lina 39 indigo kim 35 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052659-p1
Skip the first line and print all remaining lines without modification.
NR > 1
hana 55 birch hana 63 juniper kim 39 amber bruno 104 juniper bruno 115 fable chen 44 ember farah 93 birch bruno 86 grove gus 116 cobalt hana 63 indigo
hana 63 juniper kim 39 amber bruno 104 juniper bruno 115 fable chen 44 ember farah 93 birch bruno 86 grove gus 116 cobalt hana 63 indigo
ivan 114 indigo ivan 33 grove eli 100 cobalt chen 38 ember lina 39 indigo kim 35 harbor
ivan 33 grove eli 100 cobalt chen 38 ember lina 39 indigo kim 35 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052659
qwen/qwen3.7-plus
awkweave-0052660
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
chen failed 60 ivan pending 3 alice ready 100 ivan failed 7 lina pending 12 chen closed 16
2
bruno active 118 farah active 106 hana pending 74 jules active 107 lina ready 42 chen failed 46 lina closed 29 jules closed 43
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052660-p1
Output the count of entries where the second column is 'pending', defaulting to 0 if no matches are found.
$2 == "pending"{n++}END{print n+0}
chen failed 60 ivan pending 3 alice ready 100 ivan failed 7 lina pending 12 chen closed 16
2
bruno active 118 farah active 106 hana pending 74 jules active 107 lina ready 42 chen failed 46 lina closed 29 jules closed 43
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052660
qwen/qwen3.7-plus
awkweave-0052661
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
lina 6 juniper dina 12 grove jules 17 birch alice 30 juniper ivan 24 amber jules 24 harbor gus 4 juniper eli 30 delta
147
ivan 21 delta farah 10 cobalt jules 28 birch lina 9 cobalt chen 5 indigo eli 23 cobalt
96
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0052661-p1
Compute and display the total sum of all integer values located in the second column.
{s+=$2}END{print s+0}
lina 6 juniper dina 12 grove jules 17 birch alice 30 juniper ivan 24 amber jules 24 harbor gus 4 juniper eli 30 delta
147
ivan 21 delta farah 10 cobalt jules 28 birch lina 9 cobalt chen 5 indigo eli 23 cobalt
96
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0052661
qwen/qwen3.7-plus
awkweave-0052662
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
kim 12 juniper chen 27 juniper alice 17 birch kim 11 indigo lina 2 birch ivan 19 grove eli 6 ember alice 24 delta
14.75
ivan 25 fable jules 19 grove gus 25 fable alice 13 harbor kim 7 grove alice 15 amber chen 25 amber dina 25 indigo jules 25 juniper
19.89
average_field
2
train
original-grammar
CC-BY-4.0
null
null