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-0051832-p1
Output the final field from every line of input.
{print $NF}
closed ready birch closed active cobalt ready failed juniper failed failed fable pending ready cobalt paused failed fable pending pending harbor failed pending indigo
birch cobalt juniper fable cobalt fable harbor indigo
active closed indigo pending failed delta ready pending birch closed closed harbor pending failed juniper closed active indigo pending paused amber active closed amber closed failed delta paused active birch
indigo delta birch harbor juniper indigo amber amber delta birch
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051832
qwen/qwen3.7-plus
awkweave-0051833
Print the complete records where column 2 is at most 71.
$2 <= 71
lina 10 lina gus 11 jules farah 20 gus gus 31 hana chen 62 alice bruno 44 ivan bruno 57 ivan farah 46 ivan kim 7 farah kim 64 farah
lina 10 lina gus 11 jules farah 20 gus gus 31 hana chen 62 alice bruno 44 ivan bruno 57 ivan farah 46 ivan kim 7 farah kim 64 farah
farah 83 dina eli 98 chen ivan 59 bruno bruno 111 hana bruno 88 farah chen 116 kim gus 77 hana lina 7 dina kim 113 eli dina 77 farah
ivan 59 bruno lina 7 dina
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051833-p1
Print entire records where the value in the second column is less than or equal to 71.
$2 <= 71
lina 10 lina gus 11 jules farah 20 gus gus 31 hana chen 62 alice bruno 44 ivan bruno 57 ivan farah 46 ivan kim 7 farah kim 64 farah
lina 10 lina gus 11 jules farah 20 gus gus 31 hana chen 62 alice bruno 44 ivan bruno 57 ivan farah 46 ivan kim 7 farah kim 64 farah
farah 83 dina eli 98 chen ivan 59 bruno bruno 111 hana bruno 88 farah chen 116 kim gus 77 hana lina 7 dina kim 113 eli dina 77 farah
ivan 59 bruno lina 7 dina
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051833
qwen/qwen3.7-plus
awkweave-0051834
Show whole lines whose 3rd field is between 6 and 18, inclusive.
$3 >= 6 && $3 <= 18
bruno harbor 25 failed chen delta 18 paused dina juniper 28 pending lina indigo 6 failed chen juniper 30 pending kim ember 8 active farah amber 23 active eli fable 18 pending lina amber 8 closed hana cobalt 23 pending
chen delta 18 paused lina indigo 6 failed kim ember 8 active eli fable 18 pending lina amber 8 closed
chen juniper 9 paused bruno indigo 25 closed alice amber 18 paused lina grove 20 failed farah birch 26 active hana fable 26 pending
chen juniper 9 paused alice amber 18 paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051834-p1
Display full lines where the third field falls within the inclusive range of 6 to 18.
$3 >= 6 && $3 <= 18
bruno harbor 25 failed chen delta 18 paused dina juniper 28 pending lina indigo 6 failed chen juniper 30 pending kim ember 8 active farah amber 23 active eli fable 18 pending lina amber 8 closed hana cobalt 23 pending
chen delta 18 paused lina indigo 6 failed kim ember 8 active eli fable 18 pending lina amber 8 closed
chen juniper 9 paused bruno indigo 25 closed alice amber 18 paused lina grove 20 failed farah birch 26 active hana fable 26 pending
chen juniper 9 paused alice amber 18 paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051834
qwen/qwen3.7-plus
awkweave-0051835
Print column 1 only for rows where column 4 is exactly paused.
$4 == "paused"{print $1}
chen grove 72 failed eli harbor 47 failed lina ember 49 paused bruno fable 105 pending bruno ember 110 pending gus juniper 41 ready kim grove 35 paused alice harbor 120 pending
lina kim
chen delta 111 paused ivan juniper 75 active hana harbor 107 active hana cobalt 50 active hana fable 26 pending gus juniper 78 paused lina juniper 105 failed hana grove 99 failed
chen gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051835-p1
Output only the first column for rows where the fourth column contains the exact string 'paused'.
$4 == "paused"{print $1}
chen grove 72 failed eli harbor 47 failed lina ember 49 paused bruno fable 105 pending bruno ember 110 pending gus juniper 41 ready kim grove 35 paused alice harbor 120 pending
lina kim
chen delta 111 paused ivan juniper 75 active hana harbor 107 active hana cobalt 50 active hana fable 26 pending gus juniper 78 paused lina juniper 105 failed hana grove 99 failed
chen gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051835
qwen/qwen3.7-plus
awkweave-0051836
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
79 WARN grove 30 WARN fable 116 DEBUG juniper 63 ERROR juniper 51 INFO indigo 59 WARN ember 61 DEBUG juniper
51 INFO indigo
39 INFO juniper 84 INFO indigo 62 WARN delta 37 INFO fable 84 WARN delta 42 DEBUG indigo 26 INFO birch 20 ERROR indigo
39 INFO juniper 84 INFO indigo 37 INFO fable 26 INFO birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051836-p1
Output every field from rows where the second field starts with INFO.
$2 ~ /^INFO/
79 WARN grove 30 WARN fable 116 DEBUG juniper 63 ERROR juniper 51 INFO indigo 59 WARN ember 61 DEBUG juniper
51 INFO indigo
39 INFO juniper 84 INFO indigo 62 WARN delta 37 INFO fable 84 WARN delta 42 DEBUG indigo 26 INFO birch 20 ERROR indigo
39 INFO juniper 84 INFO indigo 37 INFO fable 26 INFO birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051836
qwen/qwen3.7-plus
awkweave-0051837
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
indigo 22 pending birch 115 pending amber 94 failed delta 107 failed indigo 88 active grove 88 pending indigo 999 active
birch 115 pending amber 94 failed delta 107 failed grove 88 pending
harbor 2 ready amber 103 paused juniper 93 ready grove 99 paused birch 58 pending juniper 19 ready delta 33 failed delta 74 failed indigo 999 active
harbor 2 ready amber 103 paused juniper 93 ready grove 99 paused birch 58 pending juniper 19 ready delta 33 failed delta 74 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051837-p1
Display all lines that do not contain the exact string indigo.
$0 !~ /indigo/
indigo 22 pending birch 115 pending amber 94 failed delta 107 failed indigo 88 active grove 88 pending indigo 999 active
birch 115 pending amber 94 failed delta 107 failed grove 88 pending
harbor 2 ready amber 103 paused juniper 93 ready grove 99 paused birch 58 pending juniper 19 ready delta 33 failed delta 74 failed indigo 999 active
harbor 2 ready amber 103 paused juniper 93 ready grove 99 paused birch 58 pending juniper 19 ready delta 33 failed delta 74 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051837
qwen/qwen3.7-plus
awkweave-0051838
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
lina delta 113 gus harbor 117 jules cobalt 105 bruno fable 32 eli ember 50 dina amber 19 chen juniper 54 lina juniper 28
jules cobalt 105 bruno fable 32
jules harbor 2 eli grove 54 lina juniper 29 bruno harbor 72 jules indigo 2 ivan fable 6 kim cobalt 100 lina birch 115 jules birch 87 hana juniper 81
lina juniper 29 bruno harbor 72
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051838-p1
Show lines 3 to 4, inclusive of both ends.
NR >= 3 && NR <= 4
lina delta 113 gus harbor 117 jules cobalt 105 bruno fable 32 eli ember 50 dina amber 19 chen juniper 54 lina juniper 28
jules cobalt 105 bruno fable 32
jules harbor 2 eli grove 54 lina juniper 29 bruno harbor 72 jules indigo 2 ivan fable 6 kim cobalt 100 lina birch 115 jules birch 87 hana juniper 81
lina juniper 29 bruno harbor 72
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051838
qwen/qwen3.7-plus
awkweave-0051839
Output only the first 3 records.
NR <= 3
kim 90 amber ivan 74 harbor alice 113 indigo hana 63 harbor ivan 46 juniper dina 44 ember jules 16 indigo ivan 57 amber alice 104 ember dina 35 juniper
kim 90 amber ivan 74 harbor alice 113 indigo
farah 79 amber hana 96 harbor alice 40 juniper bruno 26 birch alice 77 indigo bruno 109 birch dina 82 ember
farah 79 amber hana 96 harbor alice 40 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051839-p1
Print just the initial 3 records.
NR <= 3
kim 90 amber ivan 74 harbor alice 113 indigo hana 63 harbor ivan 46 juniper dina 44 ember jules 16 indigo ivan 57 amber alice 104 ember dina 35 juniper
kim 90 amber ivan 74 harbor alice 113 indigo
farah 79 amber hana 96 harbor alice 40 juniper bruno 26 birch alice 77 indigo bruno 109 birch dina 82 ember
farah 79 amber hana 96 harbor alice 40 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051839
qwen/qwen3.7-plus
awkweave-0051840
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 90 amber bruno 100 harbor dina 57 fable eli 27 indigo bruno 104 birch bruno 44 cobalt chen 15 cobalt kim 23 fable
bruno 100 harbor dina 57 fable eli 27 indigo bruno 104 birch bruno 44 cobalt chen 15 cobalt kim 23 fable
bruno 35 delta bruno 86 delta bruno 12 cobalt jules 105 fable lina 20 harbor eli 38 fable chen 81 harbor gus 106 juniper
bruno 86 delta bruno 12 cobalt jules 105 fable lina 20 harbor eli 38 fable chen 81 harbor gus 106 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051840-p1
Omit the first line and output the rest as they are.
NR > 1
ivan 90 amber bruno 100 harbor dina 57 fable eli 27 indigo bruno 104 birch bruno 44 cobalt chen 15 cobalt kim 23 fable
bruno 100 harbor dina 57 fable eli 27 indigo bruno 104 birch bruno 44 cobalt chen 15 cobalt kim 23 fable
bruno 35 delta bruno 86 delta bruno 12 cobalt jules 105 fable lina 20 harbor eli 38 fable chen 81 harbor gus 106 juniper
bruno 86 delta bruno 12 cobalt jules 105 fable lina 20 harbor eli 38 fable chen 81 harbor gus 106 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051840
qwen/qwen3.7-plus
awkweave-0051841
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
farah failed 118 alice closed 64 ivan closed 102 lina pending 54 alice closed 75 kim ready 79 farah ready 115
2
ivan ready 84 dina failed 68 ivan ready 104 kim closed 64 farah active 1 gus ready 73 chen active 40 kim pending 57 dina active 43
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051841-p1
Tally the number of entries with ready in the second column; output 0 if the count is zero.
$2 == "ready"{n++}END{print n+0}
farah failed 118 alice closed 64 ivan closed 102 lina pending 54 alice closed 75 kim ready 79 farah ready 115
2
ivan ready 84 dina failed 68 ivan ready 104 kim closed 64 farah active 1 gus ready 73 chen active 40 kim pending 57 dina active 43
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051841
qwen/qwen3.7-plus
awkweave-0051842
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
indigo 2 kim juniper 27 ivan grove 7 jules harbor 4 dina juniper 27 chen harbor 8 dina grove 13 kim
88
amber 27 hana indigo 23 chen delta 26 kim fable 9 chen harbor 24 gus juniper 18 gus amber 21 gus birch 13 jules birch 5 dina fable 25 jules
191
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051842-p1
Compute and display the total sum of integer values in the second column.
{s+=$2}END{print s+0}
indigo 2 kim juniper 27 ivan grove 7 jules harbor 4 dina juniper 27 chen harbor 8 dina grove 13 kim
88
amber 27 hana indigo 23 chen delta 26 kim fable 9 chen harbor 24 gus juniper 18 gus amber 21 gus birch 13 jules birch 5 dina fable 25 jules
191
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051842
qwen/qwen3.7-plus
awkweave-0051843
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 16 fable jules 30 fable chen 7 delta jules 12 cobalt gus 27 birch bruno 16 birch farah 4 grove eli 24 grove chen 18 delta dina 7 fable
16.10
chen 9 indigo farah 10 cobalt bruno 27 cobalt chen 12 indigo dina 18 amber lina 9 fable
14.17
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051843-p1
Calculate the average of the second column and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
dina 16 fable jules 30 fable chen 7 delta jules 12 cobalt gus 27 birch bruno 16 birch farah 4 grove eli 24 grove chen 18 delta dina 7 fable
16.10
chen 9 indigo farah 10 cobalt bruno 27 cobalt chen 12 indigo dina 18 amber lina 9 fable
14.17
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051843
qwen/qwen3.7-plus
awkweave-0051844
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
14 birch jules 17 ember lina 16 amber farah 25 cobalt jules 15 juniper farah 19 cobalt kim
14
26 ember chen 3 amber jules 21 harbor lina 5 harbor eli 26 cobalt kim 28 amber kim 7 harbor eli
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051844-p1
Identify and output the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
14 birch jules 17 ember lina 16 amber farah 25 cobalt jules 15 juniper farah 19 cobalt kim
14
26 ember chen 3 amber jules 21 harbor lina 5 harbor eli 26 cobalt kim 28 amber kim 7 harbor eli
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051844
qwen/qwen3.7-plus
awkweave-0051845
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 eli indigo 9 farah delta 16 ivan ember 6 bruno cobalt 5 chen birch 12 ivan fable 7 gus birch
16
1 eli birch 8 ivan birch 12 kim ember 21 bruno amber 1 farah ember 5 kim juniper 22 bruno amber 16 kim amber 16 farah harbor 24 kim ember
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051845-p1
Identify and output the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
2 eli indigo 9 farah delta 16 ivan ember 6 bruno cobalt 5 chen birch 12 ivan fable 7 gus birch
16
1 eli birch 8 ivan birch 12 kim ember 21 bruno amber 1 farah ember 5 kim juniper 22 bruno amber 16 kim amber 16 farah harbor 24 kim ember
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051845
qwen/qwen3.7-plus
awkweave-0051846
Count all input records and print the total.
END{print NR}
alice 68 alice 56 ivan 105 gus 100 ivan 0 bruno 55 chen 114 dina 9 lina 83
9
alice 34 bruno 18 kim 120 dina 110 gus 13 lina 95
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051846-p1
Count the total number of input records and print the result.
END{print NR}
alice 68 alice 56 ivan 105 gus 100 ivan 0 bruno 55 chen 114 dina 9 lina 83
9
alice 34 bruno 18 kim 120 dina 110 gus 13 lina 95
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051846
qwen/qwen3.7-plus
awkweave-0051847
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli juniper 53 ivan juniper 86 kim cobalt 86 eli juniper 53 ivan amber 42 bruno birch 2 hana cobalt 75
eli juniper 53 ivan juniper 86 kim cobalt 86 ivan amber 42 bruno birch 2 hana cobalt 75
ivan cobalt 9 ivan grove 80 hana harbor 13 farah juniper 32 ivan grove 80 hana cobalt 99 lina cobalt 2 jules ember 36 jules indigo 71 dina fable 19
ivan cobalt 9 ivan grove 80 hana harbor 13 farah juniper 32 hana cobalt 99 lina cobalt 2 jules ember 36 jules indigo 71 dina fable 19
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051847-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli juniper 53 ivan juniper 86 kim cobalt 86 eli juniper 53 ivan amber 42 bruno birch 2 hana cobalt 75
eli juniper 53 ivan juniper 86 kim cobalt 86 ivan amber 42 bruno birch 2 hana cobalt 75
ivan cobalt 9 ivan grove 80 hana harbor 13 farah juniper 32 ivan grove 80 hana cobalt 99 lina cobalt 2 jules ember 36 jules indigo 71 dina fable 19
ivan cobalt 9 ivan grove 80 hana harbor 13 farah juniper 32 hana cobalt 99 lina cobalt 2 jules ember 36 jules indigo 71 dina fable 19
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051847
qwen/qwen3.7-plus
awkweave-0051848
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim birch 15 jules amber 69 eli delta 4 alice delta 78 chen fable 15 chen harbor 55 jules indigo 44 hana ember 41 dina harbor 116
kim birch 15 jules amber 69 eli delta 4 alice delta 78 chen harbor 55 jules indigo 44 hana ember 41 dina harbor 116
lina harbor 73 dina harbor 26 jules birch 86 lina indigo 109 lina indigo 73 jules indigo 43
lina harbor 73 dina harbor 26 jules birch 86 lina indigo 109 jules indigo 43
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051848-p1
Retain only the first occurrence of each unique value in column 3, maintaining the original input sequence.
!seen[$3]++
kim birch 15 jules amber 69 eli delta 4 alice delta 78 chen fable 15 chen harbor 55 jules indigo 44 hana ember 41 dina harbor 116
kim birch 15 jules amber 69 eli delta 4 alice delta 78 chen harbor 55 jules indigo 44 hana ember 41 dina harbor 116
lina harbor 73 dina harbor 26 jules birch 86 lina indigo 109 lina indigo 73 jules indigo 43
lina harbor 73 dina harbor 26 jules birch 86 lina indigo 109 jules indigo 43
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051848
qwen/qwen3.7-plus
awkweave-0051849
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 28 harbor ivan 11 birch gus 23 harbor eli 29 grove dina 23 cobalt jules 18 grove kim 12 cobalt farah 5 grove
lina 28 ivan 39 gus 62 eli 91 dina 114 jules 132 kim 144 farah 149
eli 16 grove jules 14 delta chen 29 grove jules 20 fable ivan 29 birch eli 27 amber
eli 16 jules 30 chen 59 jules 79 ivan 108 eli 135
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051849-p1
Output column 1 alongside the cumulative total of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
lina 28 harbor ivan 11 birch gus 23 harbor eli 29 grove dina 23 cobalt jules 18 grove kim 12 cobalt farah 5 grove
lina 28 ivan 39 gus 62 eli 91 dina 114 jules 132 kim 144 farah 149
eli 16 grove jules 14 delta chen 29 grove jules 20 fable ivan 29 birch eli 27 amber
eli 16 jules 30 chen 59 jules 79 ivan 108 eli 135
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051849
qwen/qwen3.7-plus
awkweave-0051850
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 29 13 grove lina 24 17 amber alice 16 23 amber chen 25 11 birch hana 22 18 harbor eli 18 17 cobalt eli 11 27 indigo farah 3 25 harbor
alice 42 lina 41 alice 39 chen 36 hana 40 eli 35 eli 38 farah 28
ivan 27 23 birch gus 13 26 juniper jules 14 3 delta farah 27 1 fable kim 6 1 delta ivan 19 20 indigo farah 8 14 harbor kim 12 26 delta farah 16 4 harbor bruno 17 4 amber
ivan 50 gus 39 jules 17 farah 28 kim 7 ivan 39 farah 22 kim 38 farah 20 bruno 21
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051850-p1
For every row, display field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 29 13 grove lina 24 17 amber alice 16 23 amber chen 25 11 birch hana 22 18 harbor eli 18 17 cobalt eli 11 27 indigo farah 3 25 harbor
alice 42 lina 41 alice 39 chen 36 hana 40 eli 35 eli 38 farah 28
ivan 27 23 birch gus 13 26 juniper jules 14 3 delta farah 27 1 fable kim 6 1 delta ivan 19 20 indigo farah 8 14 harbor kim 12 26 delta farah 16 4 harbor bruno 17 4 amber
ivan 50 gus 39 jules 17 farah 28 kim 7 ivan 39 farah 22 kim 38 farah 20 bruno 21
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051850
qwen/qwen3.7-plus
awkweave-0051851
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
alice 27 farah 6 alice 8 bruno 18 gus 2 lina 10
alice pass farah fail alice fail bruno fail gus fail lina fail
eli 15 gus 13 dina 12 jules 16 eli 5 bruno 21 kim 6 farah 25 chen 13 eli 3
eli fail gus fail dina fail jules fail eli fail bruno fail kim fail farah fail chen fail eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051851-p1
Output column 1 paired with 'pass' if column 2 is 27 or greater, otherwise output it with 'fail'.
{print $1,($2>=27?"pass":"fail")}
alice 27 farah 6 alice 8 bruno 18 gus 2 lina 10
alice pass farah fail alice fail bruno fail gus fail lina fail
eli 15 gus 13 dina 12 jules 16 eli 5 bruno 21 kim 6 farah 25 chen 13 eli 3
eli fail gus fail dina fail jules fail eli fail bruno fail kim fail farah fail chen fail eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051851
qwen/qwen3.7-plus
awkweave-0051852
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen harbor 62 ivan amber 63 dina juniper 92 eli juniper 50 hana birch 17 ivan indigo 24 kim birch 84 farah amber 24 kim amber 113 chen fable 23
CHEN IVAN DINA ELI HANA IVAN KIM FARAH KIM CHEN
eli grove 110 dina juniper 90 ivan fable 79 dina cobalt 0 lina fable 11 kim ember 79 kim indigo 54 eli fable 14 bruno birch 14 dina amber 4
ELI DINA IVAN DINA LINA KIM KIM ELI BRUNO DINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051852-p1
Transform column 1 to uppercase letters and print exclusively that modified column.
{print toupper($1)}
chen harbor 62 ivan amber 63 dina juniper 92 eli juniper 50 hana birch 17 ivan indigo 24 kim birch 84 farah amber 24 kim amber 113 chen fable 23
CHEN IVAN DINA ELI HANA IVAN KIM FARAH KIM CHEN
eli grove 110 dina juniper 90 ivan fable 79 dina cobalt 0 lina fable 11 kim ember 79 kim indigo 54 eli fable 14 bruno birch 14 dina amber 4
ELI DINA IVAN DINA LINA KIM KIM ELI BRUNO DINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051852
qwen/qwen3.7-plus
awkweave-0051853
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
ember 90 juniper 5 amber 17 harbor 27 birch 87 indigo 11 indigo 79 harbor 36 ember 86 harbor 87
em ju am ha bi in in ha em ha
grove 77 cobalt 60 amber 82 amber 15 juniper 38 birch 26 delta 81 cobalt 6 delta 13 delta 117
gr co am am ju bi de co de de
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051853-p1
Extract and print the first 2 characters from column 1, starting at position 1.
{print substr($1,1,2)}
ember 90 juniper 5 amber 17 harbor 27 birch 87 indigo 11 indigo 79 harbor 36 ember 86 harbor 87
em ju am ha bi in in ha em ha
grove 77 cobalt 60 amber 82 amber 15 juniper 38 birch 26 delta 81 cobalt 6 delta 13 delta 117
gr co am am ju bi de co de de
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051853
qwen/qwen3.7-plus
awkweave-0051854
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_juniper 68 indigo_juniper 98 harbor_indigo 112 grove_amber 6 cobalt_indigo 49 grove_ember 27 grove_amber 84 amber_grove 17 grove_grove 114
ember juniper indigo juniper harbor indigo grove amber cobalt indigo grove ember grove amber amber grove grove grove
fable_harbor 53 ember_amber 91 fable_delta 27 harbor_amber 90 delta_ember 13 fable_grove 112
fable harbor ember amber fable delta harbor amber delta ember fable grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051854-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_juniper 68 indigo_juniper 98 harbor_indigo 112 grove_amber 6 cobalt_indigo 49 grove_ember 27 grove_amber 84 amber_grove 17 grove_grove 114
ember juniper indigo juniper harbor indigo grove amber cobalt indigo grove ember grove amber amber grove grove grove
fable_harbor 53 ember_amber 91 fable_delta 27 harbor_amber 90 delta_ember 13 fable_grove 112
fable harbor ember amber fable delta harbor amber delta ember fable grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051854
qwen/qwen3.7-plus
awkweave-0051855
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)}
ivan grove 68 failed lina birch 117 active jules fable 48 active lina harbor 94 ready chen harbor 20 failed dina cobalt 36 ready farah cobalt 100 ready dina amber 120 pending
failed 68 grove ivan active 117 birch lina active 48 fable jules ready 94 harbor lina failed 20 harbor chen ready 36 cobalt dina ready 100 cobalt farah pending 120 amber dina
hana fable 22 ready kim harbor 20 ready farah juniper 50 active bruno fable 40 failed jules birch 66 active bruno delta 7 active
ready 22 fable hana ready 20 harbor kim active 50 juniper farah failed 40 fable bruno active 66 birch jules active 7 delta bruno
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051855-p1
Reverse the sequence of fields for each line and print the entire set of fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan grove 68 failed lina birch 117 active jules fable 48 active lina harbor 94 ready chen harbor 20 failed dina cobalt 36 ready farah cobalt 100 ready dina amber 120 pending
failed 68 grove ivan active 117 birch lina active 48 fable jules ready 94 harbor lina failed 20 harbor chen ready 36 cobalt dina ready 100 cobalt farah pending 120 amber dina
hana fable 22 ready kim harbor 20 ready farah juniper 50 active bruno fable 40 failed jules birch 66 active bruno delta 7 active
ready 22 fable hana ready 20 harbor kim active 50 juniper farah failed 40 fable bruno active 66 birch jules active 7 delta bruno
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051855
qwen/qwen3.7-plus
awkweave-0051856
Print the number of whitespace-separated fields on each line.
{print NF}
gus grove 37 paused dina grove 49 closed gus fable 5 closed jules juniper 64 paused chen grove 25 failed farah harbor 47 active dina harbor 93 paused farah grove 81 ready
4 4 4 4 4 4 4 4
lina juniper 106 paused dina fable 12 failed bruno amber 3 active ivan ember 5 pending lina amber 7 failed hana grove 67 pending lina delta 7 failed chen grove 27 pending
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051856-p1
Display the count of whitespace-delimited fields present on each line.
{print NF}
gus grove 37 paused dina grove 49 closed gus fable 5 closed jules juniper 64 paused chen grove 25 failed farah harbor 47 active dina harbor 93 paused farah grove 81 ready
4 4 4 4 4 4 4 4
lina juniper 106 paused dina fable 12 failed bruno amber 3 active ivan ember 5 pending lina amber 7 failed hana grove 67 pending lina delta 7 failed chen grove 27 pending
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051856
qwen/qwen3.7-plus
awkweave-0051857
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]]}
hana alpha 101 alice alpha 54 dina beta 2 bruno gamma 67 lina alpha 34 hana gamma 76 lina gamma 34
alpha 3 beta 1 gamma 3
bruno gamma 60 alice beta 101 bruno gamma 10 bruno beta 29 dina beta 99 ivan delta 24 chen alpha 37 jules delta 105 kim delta 45
gamma 2 beta 3 delta 3 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051857-p1
Tally the number of records for each distinct value in column 2, listing each value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana alpha 101 alice alpha 54 dina beta 2 bruno gamma 67 lina alpha 34 hana gamma 76 lina gamma 34
alpha 3 beta 1 gamma 3
bruno gamma 60 alice beta 101 bruno gamma 10 bruno beta 29 dina beta 99 ivan delta 24 chen alpha 37 jules delta 105 kim delta 45
gamma 2 beta 3 delta 3 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051857
qwen/qwen3.7-plus
awkweave-0051858
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]]}
ivan beta 27 gus delta 18 kim alpha 30 alice alpha 11 alice alpha 15 lina alpha 13 gus delta 9 jules alpha 8 gus gamma 30 farah delta 5
beta 27 delta 32 alpha 77 gamma 30
gus beta 2 lina delta 2 hana alpha 26 alice gamma 27 bruno delta 20 bruno delta 26
beta 2 delta 48 alpha 26 gamma 27
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051858-p1
Calculate the sum of column 3 for each group defined by column 2, presenting the results in the order of the groups' 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]]}
ivan beta 27 gus delta 18 kim alpha 30 alice alpha 11 alice alpha 15 lina alpha 13 gus delta 9 jules alpha 8 gus gamma 30 farah delta 5
beta 27 delta 32 alpha 77 gamma 30
gus beta 2 lina delta 2 hana alpha 26 alice gamma 27 bruno delta 20 bruno delta 26
beta 2 delta 48 alpha 26 gamma 27
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051858
qwen/qwen3.7-plus
awkweave-0051859
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 indigo 23 beta ember 72 beta birch 26 delta delta 19 alpha harbor 27 beta ember 77 alpha fable 59 delta fable 96
beta 4 delta 2 alpha 2
gamma birch 20 gamma birch 66 delta delta 87 gamma cobalt 94 beta indigo 9 alpha juniper 67 gamma ember 116 delta grove 105 beta birch 56
gamma 4 delta 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051859-p1
List each duplicate value from column 1 along with its frequency, ordered by when the value first appeared.
{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 indigo 23 beta ember 72 beta birch 26 delta delta 19 alpha harbor 27 beta ember 77 alpha fable 59 delta fable 96
beta 4 delta 2 alpha 2
gamma birch 20 gamma birch 66 delta delta 87 gamma cobalt 94 beta indigo 9 alpha juniper 67 gamma ember 116 delta grove 105 beta birch 56
gamma 4 delta 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051859
qwen/qwen3.7-plus
awkweave-0051860
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id note score region r001 gus 2 paused r002 chen 14 closed r003 hana 24 closed r004 farah 15 closed r005 dina 15 closed r006 hana 22 ready r007 jules 17 active r008 jules 1 paused r009 bruno 23 ready r010 ivan 14 paused
paused closed closed closed closed ready active paused ready paused
record_id note score region r001 farah 7 paused r002 hana 11 failed r003 kim 6 failed r004 jules 13 failed r005 bruno 10 active r006 chen 24 closed r007 hana 15 failed
paused failed failed failed active closed failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051860-p1
Skip the header row and output the region field for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
record_id note score region r001 gus 2 paused r002 chen 14 closed r003 hana 24 closed r004 farah 15 closed r005 dina 15 closed r006 hana 22 ready r007 jules 17 active r008 jules 1 paused r009 bruno 23 ready r010 ivan 14 paused
paused closed closed closed closed ready active paused ready paused
record_id note score region r001 farah 7 paused r002 hana 11 failed r003 kim 6 failed r004 jules 13 failed r005 bruno 10 active r006 chen 24 closed r007 hana 15 failed
paused failed failed failed active closed failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051860
qwen/qwen3.7-plus
awkweave-0051861
The first row is a header. Print display_name for data rows whose score is greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 chen 6 paused r002 chen 25 closed r003 chen 5 ready r004 ivan 2 ready r005 ivan 22 active r006 alice 6 failed
chen ivan
record_id display_name score state r001 kim 5 active r002 alice 5 ready r003 bruno 11 failed r004 alice 11 active r005 jules 25 active r006 bruno 1 pending
jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051861-p1
Ignoring the header, display the display_name for records where the score exceeds 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 chen 6 paused r002 chen 25 closed r003 chen 5 ready r004 ivan 2 ready r005 ivan 22 active r006 alice 6 failed
chen ivan
record_id display_name score state r001 kim 5 active r002 alice 5 ready r003 bruno 11 failed r004 alice 11 active r005 jules 25 active r006 bruno 1 pending
jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051861
qwen/qwen3.7-plus
awkweave-0051862
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 1 closed kim 12 ready jules 4 pending chen 17 paused eli 1 paused jules 1 active eli 17 failed
1 12 4 17 1 1 17
gus 29 paused kim 4 paused hana 2 ready chen 30 active bruno 23 failed chen 19 active alice 27 failed ivan 18 failed
29 4 2 30 23 19 27 18
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051862-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
ivan 1 closed kim 12 ready jules 4 pending chen 17 paused eli 1 paused jules 1 active eli 17 failed
1 12 4 17 1 1 17
gus 29 paused kim 4 paused hana 2 ready chen 30 active bruno 23 failed chen 19 active alice 27 failed ivan 18 failed
29 4 2 30 23 19 27 18
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0051862
qwen/qwen3.7-plus
awkweave-0051863
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10.
BEGIN{FS=OFS=","}$2>10{print $1}
gus,25,closed gus,9,active hana,14,failed ivan,8,failed farah,24,failed gus,10,paused eli,10,ready alice,24,active lina,14,failed eli,8,ready
gus hana farah alice lina
gus,11,ready alice,20,failed jules,22,failed hana,17,pending ivan,22,paused lina,7,closed alice,11,ready dina,10,active chen,18,pending hana,30,closed
gus alice jules hana ivan alice chen hana
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051863-p1
For simple CSV data without quoted commas, output the first column if the second column is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
gus,25,closed gus,9,active hana,14,failed ivan,8,failed farah,24,failed gus,10,paused eli,10,ready alice,24,active lina,14,failed eli,8,ready
gus hana farah alice lina
gus,11,ready alice,20,failed jules,22,failed hana,17,pending ivan,22,paused lina,7,closed alice,11,ready dina,10,active chen,18,pending hana,30,closed
gus alice jules hana ivan alice chen hana
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051863
qwen/qwen3.7-plus
awkweave-0051864
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen juniper 26 hana juniper 62 bruno harbor 87 farah harbor 95 bruno birch 75 ivan cobalt 112 eli cobalt 55 kim amber 48 kim grove 115 dina grove 41
chen juniper 26 hana juniper 62 bruno harbor 87 farah harbor 95 bruno birch 75 ivan cobalt 112 eli cobalt 55 kim amber 48 kim grove 115 dina grove 41
eli ember 86 ivan juniper 47 lina delta 75 eli delta 33 chen harbor 28 chen ember 38 alice harbor 84 lina grove 52 jules birch 98 farah cobalt 69
eli ember 86 ivan juniper 47 lina delta 75 eli delta 33 chen harbor 28 chen ember 38 alice harbor 84 lina grove 52 jules birch 98 farah cobalt 69
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051864-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
chen juniper 26 hana juniper 62 bruno harbor 87 farah harbor 95 bruno birch 75 ivan cobalt 112 eli cobalt 55 kim amber 48 kim grove 115 dina grove 41
chen juniper 26 hana juniper 62 bruno harbor 87 farah harbor 95 bruno birch 75 ivan cobalt 112 eli cobalt 55 kim amber 48 kim grove 115 dina grove 41
eli ember 86 ivan juniper 47 lina delta 75 eli delta 33 chen harbor 28 chen ember 38 alice harbor 84 lina grove 52 jules birch 98 farah cobalt 69
eli ember 86 ivan juniper 47 lina delta 75 eli delta 33 chen harbor 28 chen ember 38 alice harbor 84 lina grove 52 jules birch 98 farah cobalt 69
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051864
qwen/qwen3.7-plus
awkweave-0051865
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 114 paused chen fable 116 failed gus indigo 6 pending alice indigo 95 closed chen juniper 53 pending bruno juniper 24 paused chen amber 41 failed
chen juniper 53 pending
kim indigo 95 active hana amber 41 active ivan juniper 62 active lina juniper 42 active ivan harbor 64 closed ivan grove 114 closed kim delta 31 ready
ivan juniper 62 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051865-p1
Identify and print the longest line in the input; in case of a tie, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
eli indigo 114 paused chen fable 116 failed gus indigo 6 pending alice indigo 95 closed chen juniper 53 pending bruno juniper 24 paused chen amber 41 failed
chen juniper 53 pending
kim indigo 95 active hana amber 41 active ivan juniper 62 active lina juniper 42 active ivan harbor 64 closed ivan grove 114 closed kim delta 31 ready
ivan juniper 62 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051865
qwen/qwen3.7-plus
awkweave-0051866
Print every 2nd line starting at line 2 (then line 4, and so on).
NR%2==0
farah 6 kim 112 alice 100 chen 28 eli 11 bruno 95 dina 62 dina 57 chen 111
kim 112 chen 28 bruno 95 dina 57
eli 113 ivan 87 jules 0 dina 99 ivan 39 lina 41 kim 45 alice 47
ivan 87 dina 99 lina 41 alice 47
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051866-p1
Output every even-numbered line, starting from line 2 (i.e., lines 2, 4, 6, etc.).
NR%2==0
farah 6 kim 112 alice 100 chen 28 eli 11 bruno 95 dina 62 dina 57 chen 111
kim 112 chen 28 bruno 95 dina 57
eli 113 ivan 87 jules 0 dina 99 ivan 39 lina 41 kim 45 alice 47
ivan 87 dina 99 lina 41 alice 47
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051866
qwen/qwen3.7-plus
awkweave-0051867
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 2 beta fable 45 gamma juniper 10 alpha cobalt 101 beta fable 13 gamma grove 93
5
delta juniper 119 alpha grove 111 beta birch 120 delta juniper 6 delta delta 25 gamma indigo 95 alpha juniper 79 beta delta 53 alpha ember 36
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051867-p1
Calculate the number of unique values in the second column and print only that count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 2 beta fable 45 gamma juniper 10 alpha cobalt 101 beta fable 13 gamma grove 93
5
delta juniper 119 alpha grove 111 beta birch 120 delta juniper 6 delta delta 25 gamma indigo 95 alpha juniper 79 beta delta 53 alpha ember 36
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051867
qwen/qwen3.7-plus
awkweave-0051868
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}
hana 15 0 jules 15 19 chen 8 24 bruno 2 30 bruno 4 2 eli 23 4 farah 11 1 dina 27 14 ivan 13 19 gus 2 11
jules 0.79 chen 0.33 bruno 0.07 bruno 2.00 eli 5.75 farah 11.00 dina 1.93 ivan 0.68 gus 0.18
kim 16 0 chen 10 17 farah 13 28 eli 12 12 lina 22 13 gus 8 22 kim 28 14 alice 19 10 farah 22 29
chen 0.59 farah 0.46 eli 1.00 lina 1.69 gus 0.36 kim 2.00 alice 1.90 farah 0.76
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051868-p1
For each row, output column 1 and the result of column 2 divided by column 3 formatted to two decimal places, excluding rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 15 0 jules 15 19 chen 8 24 bruno 2 30 bruno 4 2 eli 23 4 farah 11 1 dina 27 14 ivan 13 19 gus 2 11
jules 0.79 chen 0.33 bruno 0.07 bruno 2.00 eli 5.75 farah 11.00 dina 1.93 ivan 0.68 gus 0.18
kim 16 0 chen 10 17 farah 13 28 eli 12 12 lina 22 13 gus 8 22 kim 28 14 alice 19 10 farah 22 29
chen 0.59 farah 0.46 eli 1.00 lina 1.69 gus 0.36 kim 2.00 alice 1.90 farah 0.76
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051868
qwen/qwen3.7-plus
awkweave-0051869
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]}
alice grove 15 lina delta 21 alice ember 10 lina cobalt 28 jules fable 17 chen ember 28
lina cobalt 28 chen ember 28 lina delta 21
farah cobalt 29 chen birch 19 hana fable 8 bruno juniper 13 bruno juniper 28 jules cobalt 28 dina harbor 16 lina birch 14
farah cobalt 29 bruno juniper 28 jules cobalt 28
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051869-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order, maintaining original 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]}
alice grove 15 lina delta 21 alice ember 10 lina cobalt 28 jules fable 17 chen ember 28
lina cobalt 28 chen ember 28 lina delta 21
farah cobalt 29 chen birch 19 hana fable 8 bruno juniper 13 bruno juniper 28 jules cobalt 28 dina harbor 16 lina birch 14
farah cobalt 29 bruno juniper 28 jules cobalt 28
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051869
qwen/qwen3.7-plus
awkweave-0051870
Select the 4th and 2nd fields in that order.
{print $4, $2}
hana active kim delta ivan closed alice pending bruno fable dina pending farah ready gus ember alice closed dina pending chen indigo jules failed lina paused hana cobalt eli active bruno closed lina amber alice ready eli failed eli harbor farah paused dina closed dina delta kim ready chen active eli grove ivan failed i...
delta active fable pending ember ready indigo pending cobalt paused amber closed harbor failed delta closed grove active fable failed
jules ready jules fable gus paused chen pending lina ember lina ready gus closed bruno indigo farah paused gus failed alice cobalt ivan paused alice pending farah cobalt lina failed kim failed jules birch alice closed kim failed alice delta alice failed kim closed dina grove jules ready dina pending gus ember alice rea...
fable ready ember pending indigo closed cobalt failed cobalt pending birch failed delta failed grove closed ember pending juniper failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051870-p1
Extract and print the 4th field followed by the 2nd field.
{print $4, $2}
hana active kim delta ivan closed alice pending bruno fable dina pending farah ready gus ember alice closed dina pending chen indigo jules failed lina paused hana cobalt eli active bruno closed lina amber alice ready eli failed eli harbor farah paused dina closed dina delta kim ready chen active eli grove ivan failed i...
delta active fable pending ember ready indigo pending cobalt paused amber closed harbor failed delta closed grove active fable failed
jules ready jules fable gus paused chen pending lina ember lina ready gus closed bruno indigo farah paused gus failed alice cobalt ivan paused alice pending farah cobalt lina failed kim failed jules birch alice closed kim failed alice delta alice failed kim closed dina grove jules ready dina pending gus ember alice rea...
fable ready ember pending indigo closed cobalt failed cobalt pending birch failed delta failed grove closed ember pending juniper failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051870
qwen/qwen3.7-plus
awkweave-0051871
Print the last field of every input line.
{print $NF}
delta active birch 81 ivan fable lina delta paused indigo 92 gus fable jules grove active harbor 47 eli birch kim grove pending cobalt 114 kim amber jules harbor active birch 14 eli juniper farah delta ready harbor 21 jules cobalt jules indigo active grove 96 farah amber chen grove pending amber 96 farah harbor kim cob...
lina jules kim jules farah jules chen kim gus dina
cobalt pending indigo 40 jules fable hana birch pending ember 37 hana birch jules grove active harbor 63 alice ember gus harbor pending amber 73 farah grove gus delta failed cobalt 34 alice ember ivan grove ready fable 108 ivan delta alice birch closed harbor 54 bruno fable alice amber ready fable 5 dina birch bruno
hana jules gus gus ivan alice alice bruno
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051871-p1
Print the final field from every line of input.
{print $NF}
delta active birch 81 ivan fable lina delta paused indigo 92 gus fable jules grove active harbor 47 eli birch kim grove pending cobalt 114 kim amber jules harbor active birch 14 eli juniper farah delta ready harbor 21 jules cobalt jules indigo active grove 96 farah amber chen grove pending amber 96 farah harbor kim cob...
lina jules kim jules farah jules chen kim gus dina
cobalt pending indigo 40 jules fable hana birch pending ember 37 hana birch jules grove active harbor 63 alice ember gus harbor pending amber 73 farah grove gus delta failed cobalt 34 alice ember ivan grove ready fable 108 ivan delta alice birch closed harbor 54 bruno fable alice amber ready fable 5 dina birch bruno
hana jules gus gus ivan alice alice bruno
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051871
qwen/qwen3.7-plus
awkweave-0051872
Print the complete records where column 3 is at most 64.
$3 <= 64
ready ready 2 indigo closed paused 98 birch paused active 15 harbor closed ready 72 fable active pending 12 indigo pending failed 15 birch closed pending 18 juniper ready paused 114 amber
ready ready 2 indigo paused active 15 harbor active pending 12 indigo pending failed 15 birch closed pending 18 juniper
active paused 35 harbor closed closed 41 fable closed closed 12 ember ready closed 40 harbor ready failed 51 juniper pending ready 113 birch ready paused 78 grove active closed 80 cobalt ready closed 64 indigo closed paused 62 harbor
active paused 35 harbor closed closed 41 fable closed closed 12 ember ready closed 40 harbor ready failed 51 juniper ready closed 64 indigo closed paused 62 harbor
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051872-p1
Output full records where the value in the third column is less than or equal to 64.
$3 <= 64
ready ready 2 indigo closed paused 98 birch paused active 15 harbor closed ready 72 fable active pending 12 indigo pending failed 15 birch closed pending 18 juniper ready paused 114 amber
ready ready 2 indigo paused active 15 harbor active pending 12 indigo pending failed 15 birch closed pending 18 juniper
active paused 35 harbor closed closed 41 fable closed closed 12 ember ready closed 40 harbor ready failed 51 juniper pending ready 113 birch ready paused 78 grove active closed 80 cobalt ready closed 64 indigo closed paused 62 harbor
active paused 35 harbor closed closed 41 fable closed closed 12 ember ready closed 40 harbor ready failed 51 juniper ready closed 64 indigo closed paused 62 harbor
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051872
qwen/qwen3.7-plus
awkweave-0051873
Show whole lines whose 2nd field is between 9 and 22, inclusive.
$2 >= 9 && $2 <= 22
pending 5 kim ember pending 16 eli grove closed 8 alice harbor paused 29 jules amber closed 19 farah indigo pending 4 eli indigo pending 24 ivan amber ready 13 lina delta ready 29 eli birch
pending 16 eli grove closed 19 farah indigo ready 13 lina delta
failed 27 bruno harbor paused 13 farah amber active 15 chen birch active 15 lina amber failed 1 eli juniper active 29 chen delta failed 7 eli fable
paused 13 farah amber active 15 chen birch active 15 lina amber
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051873-p1
Display entire lines where the second field falls within the inclusive range of 9 to 22.
$2 >= 9 && $2 <= 22
pending 5 kim ember pending 16 eli grove closed 8 alice harbor paused 29 jules amber closed 19 farah indigo pending 4 eli indigo pending 24 ivan amber ready 13 lina delta ready 29 eli birch
pending 16 eli grove closed 19 farah indigo ready 13 lina delta
failed 27 bruno harbor paused 13 farah amber active 15 chen birch active 15 lina amber failed 1 eli juniper active 29 chen delta failed 7 eli fable
paused 13 farah amber active 15 chen birch active 15 lina amber
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051873
qwen/qwen3.7-plus
awkweave-0051874
Print column 3 only for rows where column 1 is exactly failed.
$1 == "failed"{print $3}
active 5 dina amber active 38 dina juniper failed 118 alice cobalt ready 111 ivan juniper paused 73 farah delta pending 88 dina amber closed 25 gus juniper pending 89 farah indigo ready 24 jules indigo
alice
pending 20 gus grove failed 104 alice amber paused 1 dina amber closed 16 dina delta pending 102 lina cobalt pending 18 lina birch
alice
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051874-p1
Extract and print only the third column for rows where the first column matches 'failed' exactly.
$1 == "failed"{print $3}
active 5 dina amber active 38 dina juniper failed 118 alice cobalt ready 111 ivan juniper paused 73 farah delta pending 88 dina amber closed 25 gus juniper pending 89 farah indigo ready 24 jules indigo
alice
pending 20 gus grove failed 104 alice amber paused 1 dina amber closed 16 dina delta pending 102 lina cobalt pending 18 lina birch
alice
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051874
qwen/qwen3.7-plus
awkweave-0051875
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
DEBUG 2 cobalt ERROR 3 cobalt ERROR 27 amber INFO 3 juniper INFO 23 delta ERROR 37 cobalt DEBUG 64 amber INFO 18 harbor
ERROR 3 cobalt ERROR 27 amber ERROR 37 cobalt
WARN 98 grove INFO 95 delta ERROR 55 birch DEBUG 69 cobalt WARN 57 harbor WARN 76 ember WARN 91 fable
ERROR 55 birch
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051875-p1
Print all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
DEBUG 2 cobalt ERROR 3 cobalt ERROR 27 amber INFO 3 juniper INFO 23 delta ERROR 37 cobalt DEBUG 64 amber INFO 18 harbor
ERROR 3 cobalt ERROR 27 amber ERROR 37 cobalt
WARN 98 grove INFO 95 delta ERROR 55 birch DEBUG 69 cobalt WARN 57 harbor WARN 76 ember WARN 91 fable
ERROR 55 birch
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051875
qwen/qwen3.7-plus
awkweave-0051876
Print every line except those containing the exact text indigo.
$0 !~ /indigo/
ember 2 active ember 105 closed cobalt 85 ready indigo 25 paused cobalt 12 failed cobalt 30 failed grove 36 failed ember 35 ready juniper 32 paused indigo 999 active
ember 2 active ember 105 closed cobalt 85 ready cobalt 12 failed cobalt 30 failed grove 36 failed ember 35 ready juniper 32 paused
amber 78 active grove 52 ready amber 85 active birch 26 pending cobalt 49 pending cobalt 4 pending grove 9 pending indigo 999 active
amber 78 active grove 52 ready amber 85 active birch 26 pending cobalt 49 pending cobalt 4 pending grove 9 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051876-p1
Output every line that does not contain the exact string 'indigo'.
$0 !~ /indigo/
ember 2 active ember 105 closed cobalt 85 ready indigo 25 paused cobalt 12 failed cobalt 30 failed grove 36 failed ember 35 ready juniper 32 paused indigo 999 active
ember 2 active ember 105 closed cobalt 85 ready cobalt 12 failed cobalt 30 failed grove 36 failed ember 35 ready juniper 32 paused
amber 78 active grove 52 ready amber 85 active birch 26 pending cobalt 49 pending cobalt 4 pending grove 9 pending indigo 999 active
amber 78 active grove 52 ready amber 85 active birch 26 pending cobalt 49 pending cobalt 4 pending grove 9 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051876
qwen/qwen3.7-plus
awkweave-0051877
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
hana indigo 58 hana harbor 20 kim cobalt 24 hana harbor 107 jules ember 67 alice juniper 111 eli delta 96 dina fable 61 farah grove 93 eli indigo 108
hana harbor 20 kim cobalt 24 hana harbor 107
farah amber 7 alice fable 102 kim harbor 41 bruno harbor 104 eli juniper 6 bruno fable 117 jules harbor 56 jules delta 99
alice fable 102 kim harbor 41 bruno harbor 104
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051877-p1
Print lines 2 through 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
hana indigo 58 hana harbor 20 kim cobalt 24 hana harbor 107 jules ember 67 alice juniper 111 eli delta 96 dina fable 61 farah grove 93 eli indigo 108
hana harbor 20 kim cobalt 24 hana harbor 107
farah amber 7 alice fable 102 kim harbor 41 bruno harbor 104 eli juniper 6 bruno fable 117 jules harbor 56 jules delta 99
alice fable 102 kim harbor 41 bruno harbor 104
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051877
qwen/qwen3.7-plus
awkweave-0051878
Output only the first 2 records.
NR <= 2
ivan 33 indigo chen 80 birch jules 71 juniper hana 1 grove eli 41 fable kim 39 cobalt
ivan 33 indigo chen 80 birch
chen 36 birch farah 71 harbor eli 7 cobalt eli 8 grove ivan 119 fable kim 71 indigo hana 6 amber gus 9 ember dina 45 harbor lina 116 indigo
chen 36 birch farah 71 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051878-p1
Output only the first two records.
NR <= 2
ivan 33 indigo chen 80 birch jules 71 juniper hana 1 grove eli 41 fable kim 39 cobalt
ivan 33 indigo chen 80 birch
chen 36 birch farah 71 harbor eli 7 cobalt eli 8 grove ivan 119 fable kim 71 indigo hana 6 amber gus 9 ember dina 45 harbor lina 116 indigo
chen 36 birch farah 71 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051878
qwen/qwen3.7-plus
awkweave-0051879
Skip the first line and print every remaining line unchanged.
NR > 1
eli 120 indigo farah 39 cobalt kim 102 delta jules 44 birch bruno 45 birch eli 118 harbor gus 107 delta lina 51 amber
farah 39 cobalt kim 102 delta jules 44 birch bruno 45 birch eli 118 harbor gus 107 delta lina 51 amber
farah 96 harbor chen 99 birch alice 76 harbor farah 102 delta hana 114 fable kim 103 amber chen 15 ember eli 65 delta bruno 96 birch
chen 99 birch alice 76 harbor farah 102 delta hana 114 fable kim 103 amber chen 15 ember eli 65 delta bruno 96 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051879-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
eli 120 indigo farah 39 cobalt kim 102 delta jules 44 birch bruno 45 birch eli 118 harbor gus 107 delta lina 51 amber
farah 39 cobalt kim 102 delta jules 44 birch bruno 45 birch eli 118 harbor gus 107 delta lina 51 amber
farah 96 harbor chen 99 birch alice 76 harbor farah 102 delta hana 114 fable kim 103 amber chen 15 ember eli 65 delta bruno 96 birch
chen 99 birch alice 76 harbor farah 102 delta hana 114 fable kim 103 amber chen 15 ember eli 65 delta bruno 96 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051879
qwen/qwen3.7-plus
awkweave-0051880
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
kim ready 51 dina ready 51 ivan pending 43 kim closed 62 farah failed 8 chen failed 94 chen closed 11 lina failed 20
3
kim failed 62 hana active 96 hana ready 46 kim pending 82 bruno active 36 farah pending 99
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051880-p1
Count the number of records where the second column is 'failed', outputting 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
kim ready 51 dina ready 51 ivan pending 43 kim closed 62 farah failed 8 chen failed 94 chen closed 11 lina failed 20
3
kim failed 62 hana active 96 hana ready 46 kim pending 82 bruno active 36 farah pending 99
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051880
qwen/qwen3.7-plus
awkweave-0051881
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
fable farah 10 fable farah 17 fable alice 11 fable farah 23 fable eli 28 birch kim 24
113
cobalt bruno 19 grove hana 4 indigo eli 19 ember ivan 11 fable kim 22 amber jules 22
97
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051881-p1
Compute and display the sum of all integer values found in the third column.
{s+=$3}END{print s+0}
fable farah 10 fable farah 17 fable alice 11 fable farah 23 fable eli 28 birch kim 24
113
cobalt bruno 19 grove hana 4 indigo eli 19 ember ivan 11 fable kim 22 amber jules 22
97
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051881
qwen/qwen3.7-plus
awkweave-0051882
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
hana 5 birch hana 17 ember chen 24 amber farah 30 amber chen 16 cobalt hana 9 birch
16.83
farah 23 ember alice 9 indigo eli 11 cobalt chen 11 cobalt bruno 27 ember alice 11 grove lina 18 grove kim 7 ember
14.62
average_field
2
train
original-grammar
CC-BY-4.0
null
null