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-0024611-p1
Output all complete records where the value in the third column is less than or equal to 21.
$3 <= 21
paused dina 42 failed failed closed eli 30 closed ready active bruno 87 active failed closed hana 15 active paused pending dina 19 closed pending failed hana 94 pending failed pending farah 119 failed active
closed hana 15 active paused pending dina 19 closed pending
ready bruno 114 pending pending ready bruno 30 paused closed pending ivan 64 closed paused ready hana 86 failed active pending hana 28 failed closed active bruno 82 paused active paused alice 100 pending failed ready chen 52 active ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024611
qwen/qwen3.7-plus
awkweave-0024612
Show whole lines whose 1st field is between 5 and 28, inclusive.
$1 >= 5 && $1 <= 28
9 failed pending failed 29 pending pending active 23 failed pending paused 26 failed failed active 7 pending active failed 11 failed paused pending 11 closed ready pending 6 failed failed failed 13 ready pending closed
9 failed pending failed 23 failed pending paused 26 failed failed active 7 pending active failed 11 failed paused pending 11 closed ready pending 6 failed failed failed 13 ready pending closed
27 failed failed failed 11 failed ready pending 28 closed failed failed 24 active active pending 17 ready pending pending 18 pending failed failed 5 failed closed paused 27 failed pending closed 21 failed pending active
27 failed failed failed 11 failed ready pending 28 closed failed failed 24 active active pending 17 ready pending pending 18 pending failed failed 5 failed closed paused 27 failed pending closed 21 failed pending active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024612-p1
Display complete lines where the value in the first field falls within the inclusive range of 5 to 28.
$1 >= 5 && $1 <= 28
9 failed pending failed 29 pending pending active 23 failed pending paused 26 failed failed active 7 pending active failed 11 failed paused pending 11 closed ready pending 6 failed failed failed 13 ready pending closed
9 failed pending failed 23 failed pending paused 26 failed failed active 7 pending active failed 11 failed paused pending 11 closed ready pending 6 failed failed failed 13 ready pending closed
27 failed failed failed 11 failed ready pending 28 closed failed failed 24 active active pending 17 ready pending pending 18 pending failed failed 5 failed closed paused 27 failed pending closed 21 failed pending active
27 failed failed failed 11 failed ready pending 28 closed failed failed 24 active active pending 17 ready pending pending 18 pending failed failed 5 failed closed paused 27 failed pending closed 21 failed pending active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024612
qwen/qwen3.7-plus
awkweave-0024613
Print column 3 only for rows where column 4 is exactly pending.
$4 == "pending"{print $3}
118 fable jules failed 96 birch dina closed 5 birch chen ready 54 amber chen pending 7 juniper bruno paused 43 grove jules ready 106 amber dina ready 8 birch gus active 104 delta dina ready
chen
104 ember ivan active 102 amber bruno ready 102 delta dina failed 110 grove bruno active 69 fable jules paused 28 delta gus pending 10 ember hana pending 81 birch alice active 111 harbor jules active
gus hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024613-p1
Output only the third column for rows where the fourth column matches the string pending exactly.
$4 == "pending"{print $3}
118 fable jules failed 96 birch dina closed 5 birch chen ready 54 amber chen pending 7 juniper bruno paused 43 grove jules ready 106 amber dina ready 8 birch gus active 104 delta dina ready
chen
104 ember ivan active 102 amber bruno ready 102 delta dina failed 110 grove bruno active 69 fable jules paused 28 delta gus pending 10 ember hana pending 81 birch alice active 111 harbor jules active
gus hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024613
qwen/qwen3.7-plus
awkweave-0024614
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
juniper WARN 53 cobalt DEBUG 102 grove WARN 78 cobalt INFO 80 amber ERROR 52 ember DEBUG 11 delta DEBUG 47 amber ERROR 49 juniper DEBUG 31
amber ERROR 52 amber ERROR 49
indigo ERROR 85 cobalt WARN 30 harbor ERROR 48 birch ERROR 0 juniper INFO 118 ember ERROR 91 delta INFO 77
indigo ERROR 85 harbor ERROR 48 birch ERROR 0 ember ERROR 91
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024614-p1
Print all fields from any line where the second field starts with the prefix ERROR.
$2 ~ /^ERROR/
juniper WARN 53 cobalt DEBUG 102 grove WARN 78 cobalt INFO 80 amber ERROR 52 ember DEBUG 11 delta DEBUG 47 amber ERROR 49 juniper DEBUG 31
amber ERROR 52 amber ERROR 49
indigo ERROR 85 cobalt WARN 30 harbor ERROR 48 birch ERROR 0 juniper INFO 118 ember ERROR 91 delta INFO 77
indigo ERROR 85 harbor ERROR 48 birch ERROR 0 ember ERROR 91
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024614
qwen/qwen3.7-plus
awkweave-0024615
Print every line except those containing the exact text birch.
$0 !~ /birch/
indigo 47 paused delta 32 ready delta 24 paused grove 91 active fable 23 pending fable 56 pending harbor 86 ready delta 97 closed delta 108 pending birch 999 active
indigo 47 paused delta 32 ready delta 24 paused grove 91 active fable 23 pending fable 56 pending harbor 86 ready delta 97 closed delta 108 pending
ember 25 pending amber 81 pending amber 80 closed juniper 105 active harbor 5 failed indigo 0 pending fable 102 pending fable 75 failed harbor 16 closed cobalt 89 ready birch 999 active
ember 25 pending amber 81 pending amber 80 closed juniper 105 active harbor 5 failed indigo 0 pending fable 102 pending fable 75 failed harbor 16 closed cobalt 89 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024615-p1
Output every line that does not contain the exact substring birch.
$0 !~ /birch/
indigo 47 paused delta 32 ready delta 24 paused grove 91 active fable 23 pending fable 56 pending harbor 86 ready delta 97 closed delta 108 pending birch 999 active
indigo 47 paused delta 32 ready delta 24 paused grove 91 active fable 23 pending fable 56 pending harbor 86 ready delta 97 closed delta 108 pending
ember 25 pending amber 81 pending amber 80 closed juniper 105 active harbor 5 failed indigo 0 pending fable 102 pending fable 75 failed harbor 16 closed cobalt 89 ready birch 999 active
ember 25 pending amber 81 pending amber 80 closed juniper 105 active harbor 5 failed indigo 0 pending fable 102 pending fable 75 failed harbor 16 closed cobalt 89 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024615
qwen/qwen3.7-plus
awkweave-0024616
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
eli birch 88 eli birch 60 hana birch 13 ivan birch 93 lina indigo 19 bruno harbor 19 kim cobalt 61 jules juniper 104 alice juniper 40
eli birch 60 hana birch 13 ivan birch 93
ivan ember 119 ivan harbor 17 kim ember 104 alice amber 116 farah fable 33 alice birch 104 farah delta 75 eli delta 25 eli harbor 99
ivan harbor 17 kim ember 104 alice amber 116
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024616-p1
Display lines 2 through 4, ensuring both the start and end lines are included.
NR >= 2 && NR <= 4
eli birch 88 eli birch 60 hana birch 13 ivan birch 93 lina indigo 19 bruno harbor 19 kim cobalt 61 jules juniper 104 alice juniper 40
eli birch 60 hana birch 13 ivan birch 93
ivan ember 119 ivan harbor 17 kim ember 104 alice amber 116 farah fable 33 alice birch 104 farah delta 75 eli delta 25 eli harbor 99
ivan harbor 17 kim ember 104 alice amber 116
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024616
qwen/qwen3.7-plus
awkweave-0024617
Output only the first 5 records.
NR <= 5
eli 26 cobalt dina 24 indigo farah 25 juniper farah 118 juniper eli 84 cobalt bruno 52 cobalt bruno 67 cobalt eli 68 fable
eli 26 cobalt dina 24 indigo farah 25 juniper farah 118 juniper eli 84 cobalt
gus 70 fable farah 110 cobalt dina 53 birch dina 8 juniper chen 76 harbor chen 70 cobalt
gus 70 fable farah 110 cobalt dina 53 birch dina 8 juniper chen 76 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024617-p1
Restrict the output to just the first 5 records.
NR <= 5
eli 26 cobalt dina 24 indigo farah 25 juniper farah 118 juniper eli 84 cobalt bruno 52 cobalt bruno 67 cobalt eli 68 fable
eli 26 cobalt dina 24 indigo farah 25 juniper farah 118 juniper eli 84 cobalt
gus 70 fable farah 110 cobalt dina 53 birch dina 8 juniper chen 76 harbor chen 70 cobalt
gus 70 fable farah 110 cobalt dina 53 birch dina 8 juniper chen 76 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024617
qwen/qwen3.7-plus
awkweave-0024618
Skip the first line and print every remaining line unchanged.
NR > 1
lina 22 fable alice 78 cobalt jules 97 birch dina 93 juniper dina 69 birch chen 83 harbor
alice 78 cobalt jules 97 birch dina 93 juniper dina 69 birch chen 83 harbor
eli 118 fable alice 113 juniper hana 105 cobalt gus 56 indigo hana 71 indigo gus 118 delta hana 14 harbor
alice 113 juniper hana 105 cobalt gus 56 indigo hana 71 indigo gus 118 delta hana 14 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024618-p1
Ignore the initial line and print all subsequent lines without modification.
NR > 1
lina 22 fable alice 78 cobalt jules 97 birch dina 93 juniper dina 69 birch chen 83 harbor
alice 78 cobalt jules 97 birch dina 93 juniper dina 69 birch chen 83 harbor
eli 118 fable alice 113 juniper hana 105 cobalt gus 56 indigo hana 71 indigo gus 118 delta hana 14 harbor
alice 113 juniper hana 105 cobalt gus 56 indigo hana 71 indigo gus 118 delta hana 14 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024618
qwen/qwen3.7-plus
awkweave-0024619
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
bruno failed 94 lina ready 94 alice failed 63 gus active 104 gus ready 1 bruno failed 11 gus failed 12
1
alice pending 109 ivan paused 83 alice paused 91 kim paused 29 ivan ready 116 eli closed 15 lina failed 112
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024619-p1
Determine the number of records containing active in the second column, outputting 0 if no such records exist.
$2 == "active"{n++}END{print n+0}
bruno failed 94 lina ready 94 alice failed 63 gus active 104 gus ready 1 bruno failed 11 gus failed 12
1
alice pending 109 ivan paused 83 alice paused 91 kim paused 29 ivan ready 116 eli closed 15 lina failed 112
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024619
qwen/qwen3.7-plus
awkweave-0024620
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
2 grove bruno 24 cobalt farah 12 ember gus 17 birch ivan 8 juniper jules 28 juniper ivan 18 harbor hana 29 birch gus 21 fable jules 15 amber dina
174
28 ember lina 8 juniper hana 21 birch farah 5 amber kim 13 indigo gus 26 harbor eli 21 amber ivan 25 birch hana 8 juniper farah 7 ember alice
162
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024620-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
2 grove bruno 24 cobalt farah 12 ember gus 17 birch ivan 8 juniper jules 28 juniper ivan 18 harbor hana 29 birch gus 21 fable jules 15 amber dina
174
28 ember lina 8 juniper hana 21 birch farah 5 amber kim 13 indigo gus 26 harbor eli 21 amber ivan 25 birch hana 8 juniper farah 7 ember alice
162
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024620
qwen/qwen3.7-plus
awkweave-0024621
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 ivan indigo 27 lina indigo 6 chen ember 6 hana harbor 29 hana delta 17 kim indigo 6 dina fable
14.29
4 jules cobalt 28 alice ember 16 dina ember 21 chen birch 30 chen delta 22 gus ember 8 alice harbor 26 gus ember
19.38
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024621-p1
Calculate the average of the values in the first column and format the result to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 ivan indigo 27 lina indigo 6 chen ember 6 hana harbor 29 hana delta 17 kim indigo 6 dina fable
14.29
4 jules cobalt 28 alice ember 16 dina ember 21 chen birch 30 chen delta 22 gus ember 8 alice harbor 26 gus ember
19.38
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024621
qwen/qwen3.7-plus
awkweave-0024622
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 8 cobalt alice 9 amber dina 30 birch kim 23 birch alice 25 ember dina 30 birch
8
eli 6 grove eli 3 birch eli 9 birch bruno 25 juniper dina 8 amber chen 12 fable ivan 6 amber
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024622-p1
Identify and output the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 8 cobalt alice 9 amber dina 30 birch kim 23 birch alice 25 ember dina 30 birch
8
eli 6 grove eli 3 birch eli 9 birch bruno 25 juniper dina 8 amber chen 12 fable ivan 6 amber
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024622
qwen/qwen3.7-plus
awkweave-0024623
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 juniper bruno 3 cobalt farah 10 harbor lina 15 indigo ivan 24 ember dina 15 cobalt farah 18 juniper hana 12 birch lina
24
1 ember gus 23 grove chen 16 harbor eli 14 juniper jules 2 harbor gus 10 ember dina 22 amber ivan 14 ember dina
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024623-p1
Identify and output the maximum numeric value present in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
16 juniper bruno 3 cobalt farah 10 harbor lina 15 indigo ivan 24 ember dina 15 cobalt farah 18 juniper hana 12 birch lina
24
1 ember gus 23 grove chen 16 harbor eli 14 juniper jules 2 harbor gus 10 ember dina 22 amber ivan 14 ember dina
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024623
qwen/qwen3.7-plus
awkweave-0024624
Count all input records and print the total.
END{print NR}
ivan 67 jules 74 gus 84 kim 7 alice 12 ivan 63 alice 81 farah 52 alice 58 jules 2
10
hana 65 lina 24 jules 28 kim 65 lina 107 jules 43 ivan 81
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024624-p1
Calculate and display the total number of input records.
END{print NR}
ivan 67 jules 74 gus 84 kim 7 alice 12 ivan 63 alice 81 farah 52 alice 58 jules 2
10
hana 65 lina 24 jules 28 kim 65 lina 107 jules 43 ivan 81
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024624
qwen/qwen3.7-plus
awkweave-0024625
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice harbor 8 dina delta 68 dina delta 68 ivan delta 66 chen indigo 111 lina juniper 19 dina delta 27 jules indigo 0 kim ember 113 gus juniper 57
alice harbor 8 dina delta 68 ivan delta 66 chen indigo 111 lina juniper 19 dina delta 27 jules indigo 0 kim ember 113 gus juniper 57
gus amber 71 ivan birch 116 bruno birch 61 chen harbor 65 jules birch 26 chen harbor 65 chen indigo 18 alice indigo 63 chen fable 120 chen amber 39
gus amber 71 ivan birch 116 bruno birch 61 chen harbor 65 jules birch 26 chen indigo 18 alice indigo 63 chen fable 120 chen amber 39
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024625-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
alice harbor 8 dina delta 68 dina delta 68 ivan delta 66 chen indigo 111 lina juniper 19 dina delta 27 jules indigo 0 kim ember 113 gus juniper 57
alice harbor 8 dina delta 68 ivan delta 66 chen indigo 111 lina juniper 19 dina delta 27 jules indigo 0 kim ember 113 gus juniper 57
gus amber 71 ivan birch 116 bruno birch 61 chen harbor 65 jules birch 26 chen harbor 65 chen indigo 18 alice indigo 63 chen fable 120 chen amber 39
gus amber 71 ivan birch 116 bruno birch 61 chen harbor 65 jules birch 26 chen indigo 18 alice indigo 63 chen fable 120 chen amber 39
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024625
qwen/qwen3.7-plus
awkweave-0024626
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
lina delta 41 chen amber 33 gus grove 97 gus indigo 10 lina harbor 30 kim indigo 103 kim delta 33 alice birch 48 chen amber 111
lina delta 41 chen amber 33 gus grove 97 gus indigo 10 lina harbor 30 alice birch 48
hana harbor 37 ivan amber 5 dina fable 51 hana harbor 65 dina juniper 11 dina cobalt 0 chen fable 61
hana harbor 37 ivan amber 5 dina fable 51 dina juniper 11 dina cobalt 0
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024626-p1
Retain only the initial row for every unique value found in the second column, ensuring the original input order is preserved.
!seen[$2]++
lina delta 41 chen amber 33 gus grove 97 gus indigo 10 lina harbor 30 kim indigo 103 kim delta 33 alice birch 48 chen amber 111
lina delta 41 chen amber 33 gus grove 97 gus indigo 10 lina harbor 30 alice birch 48
hana harbor 37 ivan amber 5 dina fable 51 hana harbor 65 dina juniper 11 dina cobalt 0 chen fable 61
hana harbor 37 ivan amber 5 dina fable 51 dina juniper 11 dina cobalt 0
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024626
qwen/qwen3.7-plus
awkweave-0024627
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
hana 25 harbor chen 17 cobalt ivan 24 birch alice 28 grove chen 10 cobalt chen 11 harbor bruno 18 birch
hana 25 chen 42 ivan 66 alice 94 chen 104 chen 115 bruno 133
ivan 27 amber hana 13 delta farah 12 harbor eli 29 cobalt chen 27 delta farah 30 indigo lina 25 birch ivan 17 birch chen 4 juniper hana 20 harbor
ivan 27 hana 40 farah 52 eli 81 chen 108 farah 138 lina 163 ivan 180 chen 184 hana 204
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024627-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
hana 25 harbor chen 17 cobalt ivan 24 birch alice 28 grove chen 10 cobalt chen 11 harbor bruno 18 birch
hana 25 chen 42 ivan 66 alice 94 chen 104 chen 115 bruno 133
ivan 27 amber hana 13 delta farah 12 harbor eli 29 cobalt chen 27 delta farah 30 indigo lina 25 birch ivan 17 birch chen 4 juniper hana 20 harbor
ivan 27 hana 40 farah 52 eli 81 chen 108 farah 138 lina 163 ivan 180 chen 184 hana 204
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024627
qwen/qwen3.7-plus
awkweave-0024628
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 3 3 harbor ivan 25 1 juniper ivan 18 19 indigo gus 23 12 birch ivan 18 5 fable eli 26 3 harbor ivan 14 24 juniper eli 9 12 fable kim 18 30 indigo
jules 6 ivan 26 ivan 37 gus 35 ivan 23 eli 29 ivan 38 eli 21 kim 48
jules 23 28 grove chen 10 29 cobalt dina 3 10 fable farah 14 19 indigo bruno 20 5 harbor gus 16 17 delta kim 24 29 amber farah 10 14 amber farah 9 20 cobalt bruno 30 12 ember
jules 51 chen 39 dina 13 farah 33 bruno 25 gus 33 kim 53 farah 24 farah 29 bruno 42
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024628-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 3 3 harbor ivan 25 1 juniper ivan 18 19 indigo gus 23 12 birch ivan 18 5 fable eli 26 3 harbor ivan 14 24 juniper eli 9 12 fable kim 18 30 indigo
jules 6 ivan 26 ivan 37 gus 35 ivan 23 eli 29 ivan 38 eli 21 kim 48
jules 23 28 grove chen 10 29 cobalt dina 3 10 fable farah 14 19 indigo bruno 20 5 harbor gus 16 17 delta kim 24 29 amber farah 10 14 amber farah 9 20 cobalt bruno 30 12 ember
jules 51 chen 39 dina 13 farah 33 bruno 25 gus 33 kim 53 farah 24 farah 29 bruno 42
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024628
qwen/qwen3.7-plus
awkweave-0024629
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
lina 26 ivan 23 bruno 3 alice 17 jules 11 lina 12
lina pass ivan fail bruno fail alice fail jules fail lina fail
hana 3 alice 24 eli 12 gus 28 gus 10 alice 22 lina 10 farah 2 hana 21
hana fail alice fail eli fail gus pass gus fail alice fail lina fail farah fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024629-p1
Display the first column and output 'pass' if the second column is 26 or greater; otherwise, output 'fail'.
{print $1,($2>=26?"pass":"fail")}
lina 26 ivan 23 bruno 3 alice 17 jules 11 lina 12
lina pass ivan fail bruno fail alice fail jules fail lina fail
hana 3 alice 24 eli 12 gus 28 gus 10 alice 22 lina 10 farah 2 hana 21
hana fail alice fail eli fail gus pass gus fail alice fail lina fail farah fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024629
qwen/qwen3.7-plus
awkweave-0024630
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
hana harbor 79 eli fable 79 chen cobalt 9 hana amber 47 bruno grove 58 gus delta 12 dina amber 7 bruno delta 61
HARBOR FABLE COBALT AMBER GROVE DELTA AMBER DELTA
dina amber 93 hana juniper 52 dina amber 115 eli amber 103 gus fable 25 bruno ember 50 farah delta 74 bruno fable 63
AMBER JUNIPER AMBER AMBER FABLE EMBER DELTA FABLE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024630-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
hana harbor 79 eli fable 79 chen cobalt 9 hana amber 47 bruno grove 58 gus delta 12 dina amber 7 bruno delta 61
HARBOR FABLE COBALT AMBER GROVE DELTA AMBER DELTA
dina amber 93 hana juniper 52 dina amber 115 eli amber 103 gus fable 25 bruno ember 50 farah delta 74 bruno fable 63
AMBER JUNIPER AMBER AMBER FABLE EMBER DELTA FABLE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024630
qwen/qwen3.7-plus
awkweave-0024631
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
ember 108 birch 20 grove 80 ember 113 grove 80 harbor 24 grove 81 fable 5 fable 46 birch 4
emb bir gro emb gro har gro fab fab bir
birch 72 grove 55 cobalt 107 juniper 15 birch 49 birch 0 birch 13 grove 113
bir gro cob jun bir bir bir gro
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024631-p1
Extract and print the first 3 characters from the first column, starting at position 1.
{print substr($1,1,3)}
ember 108 birch 20 grove 80 ember 113 grove 80 harbor 24 grove 81 fable 5 fable 46 birch 4
emb bir gro emb gro har gro fab fab bir
birch 72 grove 55 cobalt 107 juniper 15 birch 49 birch 0 birch 13 grove 113
bir gro cob jun bir bir bir gro
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024631
qwen/qwen3.7-plus
awkweave-0024632
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_fable 20 juniper_juniper 83 cobalt_grove 32 grove_birch 59 harbor_harbor 56 fable_juniper 74 delta_birch 103 amber_juniper 24 juniper_delta 82 cobalt_harbor 107
cobalt fable juniper juniper cobalt grove grove birch harbor harbor fable juniper delta birch amber juniper juniper delta cobalt harbor
indigo_birch 61 grove_ember 96 cobalt_juniper 62 fable_cobalt 109 fable_delta 70 birch_fable 30 indigo_fable 69
indigo birch grove ember cobalt juniper fable cobalt fable delta birch fable indigo fable
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024632-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
cobalt_fable 20 juniper_juniper 83 cobalt_grove 32 grove_birch 59 harbor_harbor 56 fable_juniper 74 delta_birch 103 amber_juniper 24 juniper_delta 82 cobalt_harbor 107
cobalt fable juniper juniper cobalt grove grove birch harbor harbor fable juniper delta birch amber juniper juniper delta cobalt harbor
indigo_birch 61 grove_ember 96 cobalt_juniper 62 fable_cobalt 109 fable_delta 70 birch_fable 30 indigo_fable 69
indigo birch grove ember cobalt juniper fable cobalt fable delta birch fable indigo fable
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024632
qwen/qwen3.7-plus
awkweave-0024633
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah fable 26 paused farah birch 48 ready ivan cobalt 70 paused dina birch 42 failed chen amber 41 pending farah delta 3 failed ivan fable 47 ready gus cobalt 78 paused
paused 26 fable farah ready 48 birch farah paused 70 cobalt ivan failed 42 birch dina pending 41 amber chen failed 3 delta farah ready 47 fable ivan paused 78 cobalt gus
lina amber 47 failed jules cobalt 65 active eli juniper 1 paused bruno juniper 82 paused ivan grove 69 closed dina harbor 19 pending chen cobalt 56 active hana delta 69 paused alice amber 98 paused
failed 47 amber lina active 65 cobalt jules paused 1 juniper eli paused 82 juniper bruno closed 69 grove ivan pending 19 harbor dina active 56 cobalt chen paused 69 delta hana paused 98 amber alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024633-p1
Reverse the sequence of fields on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
farah fable 26 paused farah birch 48 ready ivan cobalt 70 paused dina birch 42 failed chen amber 41 pending farah delta 3 failed ivan fable 47 ready gus cobalt 78 paused
paused 26 fable farah ready 48 birch farah paused 70 cobalt ivan failed 42 birch dina pending 41 amber chen failed 3 delta farah ready 47 fable ivan paused 78 cobalt gus
lina amber 47 failed jules cobalt 65 active eli juniper 1 paused bruno juniper 82 paused ivan grove 69 closed dina harbor 19 pending chen cobalt 56 active hana delta 69 paused alice amber 98 paused
failed 47 amber lina active 65 cobalt jules paused 1 juniper eli paused 82 juniper bruno closed 69 grove ivan pending 19 harbor dina active 56 cobalt chen paused 69 delta hana paused 98 amber alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024633
qwen/qwen3.7-plus
awkweave-0024634
Print the number of whitespace-separated fields on each line.
{print NF}
hana birch 91 paused chen cobalt 52 paused chen amber 51 closed jules harbor 18 active gus fable 39 failed jules juniper 38 ready bruno fable 92 closed bruno birch 3 active
4 4 4 4 4 4 4 4
alice birch 83 failed chen harbor 73 pending farah delta 86 pending alice juniper 62 failed bruno cobalt 85 active alice indigo 27 paused eli delta 42 closed farah birch 41 ready alice grove 116 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024634-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
hana birch 91 paused chen cobalt 52 paused chen amber 51 closed jules harbor 18 active gus fable 39 failed jules juniper 38 ready bruno fable 92 closed bruno birch 3 active
4 4 4 4 4 4 4 4
alice birch 83 failed chen harbor 73 pending farah delta 86 pending alice juniper 62 failed bruno cobalt 85 active alice indigo 27 paused eli delta 42 closed farah birch 41 ready alice grove 116 pending
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024634
qwen/qwen3.7-plus
awkweave-0024635
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]]}
eli beta 55 hana delta 60 bruno alpha 28 bruno delta 104 bruno alpha 100 dina gamma 45 farah alpha 73
beta 1 delta 2 alpha 3 gamma 1
bruno beta 117 jules beta 115 bruno alpha 43 hana alpha 24 gus alpha 6 farah alpha 67 alice delta 114
beta 2 alpha 4 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024635-p1
Tally the number of records for each distinct value in the second column, then print each value and its corresponding 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]]}
eli beta 55 hana delta 60 bruno alpha 28 bruno delta 104 bruno alpha 100 dina gamma 45 farah alpha 73
beta 1 delta 2 alpha 3 gamma 1
bruno beta 117 jules beta 115 bruno alpha 43 hana alpha 24 gus alpha 6 farah alpha 67 alice delta 114
beta 2 alpha 4 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024635
qwen/qwen3.7-plus
awkweave-0024636
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]]}
hana alpha 28 alice delta 16 lina alpha 15 eli beta 8 alice gamma 30 jules gamma 25 farah delta 13 kim gamma 22 alice beta 23 kim beta 16
alpha 43 delta 29 beta 47 gamma 77
jules gamma 30 ivan beta 29 lina beta 28 jules delta 8 hana gamma 14 eli beta 9 jules beta 19 alice beta 30 kim gamma 13 eli beta 10
gamma 57 beta 125 delta 8
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024636-p1
Calculate the sum of values in column 3 for each unique category found in column 2, and output the results maintaining the order in which each category first appeared.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
hana alpha 28 alice delta 16 lina alpha 15 eli beta 8 alice gamma 30 jules gamma 25 farah delta 13 kim gamma 22 alice beta 23 kim beta 16
alpha 43 delta 29 beta 47 gamma 77
jules gamma 30 ivan beta 29 lina beta 28 jules delta 8 hana gamma 14 eli beta 9 jules beta 19 alice beta 30 kim gamma 13 eli beta 10
gamma 57 beta 125 delta 8
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024636
qwen/qwen3.7-plus
awkweave-0024637
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]]}
alpha indigo 67 alpha birch 6 delta cobalt 93 alpha delta 71 delta amber 69 delta fable 97 delta juniper 35 delta juniper 78 delta amber 61 gamma amber 42
alpha 3 delta 6
delta cobalt 66 gamma indigo 14 beta grove 69 alpha harbor 21 gamma fable 79 beta grove 47 gamma delta 47
gamma 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024637-p1
Identify all values in column 1 that appear more than once, outputting each duplicate alongside its total count, sorted by the order of their 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]]}
alpha indigo 67 alpha birch 6 delta cobalt 93 alpha delta 71 delta amber 69 delta fable 97 delta juniper 35 delta juniper 78 delta amber 61 gamma amber 42
alpha 3 delta 6
delta cobalt 66 gamma indigo 14 beta grove 69 alpha harbor 21 gamma fable 79 beta grove 47 gamma delta 47
gamma 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024637
qwen/qwen3.7-plus
awkweave-0024638
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note region state display_name r001 alice 12 paused r002 kim 26 ready r003 gus 1 paused r004 eli 30 pending r005 ivan 25 closed r006 farah 1 paused r007 kim 21 closed r008 bruno 16 pending r009 ivan 17 failed r010 bruno 21 failed
12 26 1 30 25 1 21 16 17 21
note region state display_name r001 kim 18 pending r002 bruno 29 paused r003 lina 12 closed r004 chen 11 active r005 eli 17 closed r006 ivan 4 pending r007 lina 24 pending r008 gus 27 ready r009 eli 1 ready
18 29 12 11 17 4 24 27 1
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024638-p1
Treating the initial row as a header, extract and print the values from the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note region state display_name r001 alice 12 paused r002 kim 26 ready r003 gus 1 paused r004 eli 30 pending r005 ivan 25 closed r006 farah 1 paused r007 kim 21 closed r008 bruno 16 pending r009 ivan 17 failed r010 bruno 21 failed
12 26 1 30 25 1 21 16 17 21
note region state display_name r001 kim 18 pending r002 bruno 29 paused r003 lina 12 closed r004 chen 11 active r005 eli 17 closed r006 ivan 4 pending r007 lina 24 pending r008 gus 27 ready r009 eli 1 ready
18 29 12 11 17 4 24 27 1
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024638
qwen/qwen3.7-plus
awkweave-0024639
The first row is a header. Print display_name for data rows whose score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 dina 28 active r002 kim 10 ready r003 alice 20 ready r004 kim 18 closed r005 bruno 10 pending r006 gus 5 ready r007 jules 1 ready r008 bruno 26 paused r009 hana 5 paused r010 chen 7 paused
dina bruno
record_id display_name score state r001 ivan 14 ready r002 bruno 16 closed r003 jules 30 closed r004 jules 25 pending r005 hana 15 paused r006 dina 20 active
jules jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024639-p1
Ignoring the header row, output the display_name field for every record where the score value is strictly greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 dina 28 active r002 kim 10 ready r003 alice 20 ready r004 kim 18 closed r005 bruno 10 pending r006 gus 5 ready r007 jules 1 ready r008 bruno 26 paused r009 hana 5 paused r010 chen 7 paused
dina bruno
record_id display_name score state r001 ivan 14 ready r002 bruno 16 closed r003 jules 30 closed r004 jules 25 pending r005 hana 15 paused r006 dina 20 active
jules jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024639
qwen/qwen3.7-plus
awkweave-0024640
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 3 closed eli 22 paused farah 25 failed hana 9 paused gus 11 paused bruno 6 active farah 28 failed
lina eli farah hana gus bruno farah
farah 17 active eli 29 active chen 16 active ivan 30 pending kim 3 closed chen 17 closed kim 12 paused dina 27 ready farah 17 pending
farah eli chen ivan kim chen kim dina farah
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024640-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
lina 3 closed eli 22 paused farah 25 failed hana 9 paused gus 11 paused bruno 6 active farah 28 failed
lina eli farah hana gus bruno farah
farah 17 active eli 29 active chen 16 active ivan 30 pending kim 3 closed chen 17 closed kim 12 paused dina 27 ready farah 17 pending
farah eli chen ivan kim chen kim dina farah
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0024640
qwen/qwen3.7-plus
awkweave-0024641
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}
dina,12,closed bruno,21,active alice,13,ready hana,2,closed kim,13,ready dina,9,ready
dina bruno alice kim
lina,2,closed alice,11,ready kim,26,closed kim,12,closed chen,10,ready ivan,26,paused chen,4,failed bruno,28,ready ivan,28,failed
alice kim kim ivan bruno ivan
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024641-p1
Process simple comma-separated values without quoted fields, and print the first column only when the value in the second column is greater than 10.
BEGIN{FS=OFS=","}$2>10{print $1}
dina,12,closed bruno,21,active alice,13,ready hana,2,closed kim,13,ready dina,9,ready
dina bruno alice kim
lina,2,closed alice,11,ready kim,26,closed kim,12,closed chen,10,ready ivan,26,paused chen,4,failed bruno,28,ready ivan,28,failed
alice kim kim ivan bruno ivan
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024641
qwen/qwen3.7-plus
awkweave-0024642
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus fable 38 lina indigo 6 ivan grove 73 dina birch 18 farah delta 35 jules indigo 75
gus fable 38 lina indigo 6 ivan grove 73 dina birch 18 farah delta 35 jules indigo 75
farah grove 44 chen cobalt 100 lina cobalt 10 jules amber 105 dina amber 107 ivan juniper 96 jules indigo 74 ivan indigo 46 dina indigo 24 farah ember 18
farah grove 44 chen cobalt 100 lina cobalt 10 jules amber 105 dina amber 107 ivan juniper 96 jules indigo 74 ivan indigo 46 dina indigo 24 farah ember 18
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024642-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus fable 38 lina indigo 6 ivan grove 73 dina birch 18 farah delta 35 jules indigo 75
gus fable 38 lina indigo 6 ivan grove 73 dina birch 18 farah delta 35 jules indigo 75
farah grove 44 chen cobalt 100 lina cobalt 10 jules amber 105 dina amber 107 ivan juniper 96 jules indigo 74 ivan indigo 46 dina indigo 24 farah ember 18
farah grove 44 chen cobalt 100 lina cobalt 10 jules amber 105 dina amber 107 ivan juniper 96 jules indigo 74 ivan indigo 46 dina indigo 24 farah ember 18
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024642
qwen/qwen3.7-plus
awkweave-0024643
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice indigo 51 ready alice birch 72 closed hana delta 80 paused eli birch 24 closed bruno harbor 65 failed bruno indigo 61 paused hana indigo 37 closed bruno amber 77 ready gus cobalt 95 active
bruno harbor 65 failed
farah delta 3 failed farah birch 0 paused jules fable 90 active bruno ember 51 active hana indigo 68 closed chen juniper 88 ready kim indigo 59 pending
jules fable 90 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024643-p1
Output 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}
alice indigo 51 ready alice birch 72 closed hana delta 80 paused eli birch 24 closed bruno harbor 65 failed bruno indigo 61 paused hana indigo 37 closed bruno amber 77 ready gus cobalt 95 active
bruno harbor 65 failed
farah delta 3 failed farah birch 0 paused jules fable 90 active bruno ember 51 active hana indigo 68 closed chen juniper 88 ready kim indigo 59 pending
jules fable 90 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024643
qwen/qwen3.7-plus
awkweave-0024644
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
farah 90 chen 108 jules 89 gus 73 gus 31 bruno 70 chen 99 bruno 20 chen 108
jules 89 bruno 70 chen 108
kim 13 gus 111 gus 45 jules 28 kim 119 lina 49
gus 45 lina 49
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024644-p1
Print every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
farah 90 chen 108 jules 89 gus 73 gus 31 bruno 70 chen 99 bruno 20 chen 108
jules 89 bruno 70 chen 108
kim 13 gus 111 gus 45 jules 28 kim 119 lina 49
gus 45 lina 49
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024644
qwen/qwen3.7-plus
awkweave-0024645
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 106 delta indigo 13 delta birch 49 beta grove 23 delta indigo 90 delta ember 39 beta birch 76 beta harbor 89 delta fable 59 beta delta 113
3
beta delta 96 alpha grove 57 alpha ember 44 alpha amber 46 beta cobalt 106 delta juniper 75 gamma fable 76 beta fable 36 delta cobalt 28
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024645-p1
Determine the number of unique values present in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
alpha amber 106 delta indigo 13 delta birch 49 beta grove 23 delta indigo 90 delta ember 39 beta birch 76 beta harbor 89 delta fable 59 beta delta 113
3
beta delta 96 alpha grove 57 alpha ember 44 alpha amber 46 beta cobalt 106 delta juniper 75 gamma fable 76 beta fable 36 delta cobalt 28
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024645
qwen/qwen3.7-plus
awkweave-0024646
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}
dina 11 0 hana 16 29 jules 7 22 gus 25 12 lina 24 10 farah 6 4 eli 19 12
hana 0.55 jules 0.32 gus 2.08 lina 2.40 farah 1.50 eli 1.58
bruno 17 0 kim 11 25 dina 4 29 chen 18 7 jules 27 26 lina 6 23
kim 0.44 dina 0.14 chen 2.57 jules 1.04 lina 0.26
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024646-p1
For each row where column 3 is non-zero, print column 1 and the result of dividing column 2 by column 3, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
dina 11 0 hana 16 29 jules 7 22 gus 25 12 lina 24 10 farah 6 4 eli 19 12
hana 0.55 jules 0.32 gus 2.08 lina 2.40 farah 1.50 eli 1.58
bruno 17 0 kim 11 25 dina 4 29 chen 18 7 jules 27 26 lina 6 23
kim 0.44 dina 0.14 chen 2.57 jules 1.04 lina 0.26
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024646
qwen/qwen3.7-plus
awkweave-0024647
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 delta 26 ivan cobalt 8 farah cobalt 9 jules amber 22 farah indigo 30 chen birch 12 bruno juniper 1 alice indigo 14 farah harbor 4
farah indigo 30 alice delta 26 jules amber 22
jules amber 24 lina harbor 9 gus indigo 1 kim amber 24 ivan fable 27 kim delta 13 gus birch 11 jules fable 4 lina birch 14 kim indigo 3
ivan fable 27 jules amber 24 kim amber 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024647-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice delta 26 ivan cobalt 8 farah cobalt 9 jules amber 22 farah indigo 30 chen birch 12 bruno juniper 1 alice indigo 14 farah harbor 4
farah indigo 30 alice delta 26 jules amber 22
jules amber 24 lina harbor 9 gus indigo 1 kim amber 24 ivan fable 27 kim delta 13 gus birch 11 jules fable 4 lina birch 14 kim indigo 3
ivan fable 27 jules amber 24 kim amber 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024647
qwen/qwen3.7-plus
awkweave-0024648
Print column 6 followed by column 5 for every record.
{print $6, $5}
hana paused cobalt closed bruno ember gus ready delta pending chen amber kim active ember paused farah fable lina ready ember paused kim amber kim failed grove active alice ember hana paused grove ready chen cobalt alice active cobalt ready jules harbor
ember bruno amber chen fable farah amber kim ember alice cobalt chen harbor jules
alice active grove pending eli grove chen closed delta closed bruno delta bruno ready delta closed farah birch alice closed amber ready ivan ember lina ready cobalt active jules amber jules active ember closed gus juniper dina pending grove failed ivan delta
grove eli delta bruno birch farah ember ivan amber jules juniper gus delta ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024648-p1
For each record, output the value in column 6 followed by the value in column 5.
{print $6, $5}
hana paused cobalt closed bruno ember gus ready delta pending chen amber kim active ember paused farah fable lina ready ember paused kim amber kim failed grove active alice ember hana paused grove ready chen cobalt alice active cobalt ready jules harbor
ember bruno amber chen fable farah amber kim ember alice cobalt chen harbor jules
alice active grove pending eli grove chen closed delta closed bruno delta bruno ready delta closed farah birch alice closed amber ready ivan ember lina ready cobalt active jules amber jules active ember closed gus juniper dina pending grove failed ivan delta
grove eli delta bruno birch farah ember ivan amber jules juniper gus delta ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024648
qwen/qwen3.7-plus
awkweave-0024649
Print the last field of every input line.
{print $NF}
delta cobalt gus amber gus fable harbor grove farah delta kim grove cobalt indigo jules cobalt farah ember ember ember bruno ember bruno indigo cobalt birch dina cobalt hana amber fable fable jules juniper dina juniper amber fable farah indigo eli grove juniper fable alice harbor dina fable juniper juniper kim juniper ...
fable grove ember indigo amber juniper grove fable indigo harbor
harbor fable bruno harbor eli amber delta birch hana amber kim grove birch birch jules delta gus grove juniper delta dina indigo lina ember amber fable dina delta alice indigo juniper delta gus ember dina harbor
amber grove grove ember indigo harbor
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024649-p1
Display the final field from every line of input.
{print $NF}
delta cobalt gus amber gus fable harbor grove farah delta kim grove cobalt indigo jules cobalt farah ember ember ember bruno ember bruno indigo cobalt birch dina cobalt hana amber fable fable jules juniper dina juniper amber fable farah indigo eli grove juniper fable alice harbor dina fable juniper juniper kim juniper ...
fable grove ember indigo amber juniper grove fable indigo harbor
harbor fable bruno harbor eli amber delta birch hana amber kim grove birch birch jules delta gus grove juniper delta dina indigo lina ember amber fable dina delta alice indigo juniper delta gus ember dina harbor
amber grove grove ember indigo harbor
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024649
qwen/qwen3.7-plus
awkweave-0024650
Print the complete records where column 1 is less than 43.
$1 < 43
61 ready bruno indigo farah 65 failed jules fable eli 54 failed kim cobalt dina 105 ready lina harbor jules 110 ready eli birch farah 107 closed lina grove alice 7 closed hana amber eli 116 paused gus cobalt alice 15 paused ivan juniper jules
7 closed hana amber eli 15 paused ivan juniper jules
25 active kim harbor lina 55 active hana birch ivan 102 ready dina amber alice 110 active kim delta jules 119 failed eli indigo chen 78 failed dina fable ivan 88 closed bruno cobalt gus 29 paused jules ember kim
25 active kim harbor lina 29 paused jules ember kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024650-p1
Output full records where the value in the first column is strictly less than 43.
$1 < 43
61 ready bruno indigo farah 65 failed jules fable eli 54 failed kim cobalt dina 105 ready lina harbor jules 110 ready eli birch farah 107 closed lina grove alice 7 closed hana amber eli 116 paused gus cobalt alice 15 paused ivan juniper jules
7 closed hana amber eli 15 paused ivan juniper jules
25 active kim harbor lina 55 active hana birch ivan 102 ready dina amber alice 110 active kim delta jules 119 failed eli indigo chen 78 failed dina fable ivan 88 closed bruno cobalt gus 29 paused jules ember kim
25 active kim harbor lina 29 paused jules ember kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024650
qwen/qwen3.7-plus
awkweave-0024651
Show whole lines whose 3rd field is between 7 and 25, inclusive.
$3 >= 7 && $3 <= 25
hana indigo 9 ember jules delta 27 birch ivan indigo 26 birch dina juniper 3 juniper hana harbor 18 amber chen birch 26 cobalt kim ember 12 indigo alice ember 20 juniper dina harbor 16 delta
hana indigo 9 ember hana harbor 18 amber kim ember 12 indigo alice ember 20 juniper dina harbor 16 delta
eli grove 16 harbor gus indigo 11 juniper eli cobalt 19 harbor dina amber 12 juniper gus delta 16 birch lina amber 1 delta eli juniper 18 indigo
eli grove 16 harbor gus indigo 11 juniper eli cobalt 19 harbor dina amber 12 juniper gus delta 16 birch eli juniper 18 indigo
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024651-p1
Print entire lines where the third field falls within the inclusive range of 7 to 25.
$3 >= 7 && $3 <= 25
hana indigo 9 ember jules delta 27 birch ivan indigo 26 birch dina juniper 3 juniper hana harbor 18 amber chen birch 26 cobalt kim ember 12 indigo alice ember 20 juniper dina harbor 16 delta
hana indigo 9 ember hana harbor 18 amber kim ember 12 indigo alice ember 20 juniper dina harbor 16 delta
eli grove 16 harbor gus indigo 11 juniper eli cobalt 19 harbor dina amber 12 juniper gus delta 16 birch lina amber 1 delta eli juniper 18 indigo
eli grove 16 harbor gus indigo 11 juniper eli cobalt 19 harbor dina amber 12 juniper gus delta 16 birch eli juniper 18 indigo
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024651
qwen/qwen3.7-plus
awkweave-0024652
Print column 4 only for rows where column 3 is exactly paused.
$3 == "paused"{print $4}
117 fable failed dina 72 juniper closed farah 83 cobalt paused gus 21 ember failed jules 6 indigo paused lina 79 birch active chen 116 cobalt closed ivan 113 ember ready kim 111 juniper active chen 63 grove closed kim
gus lina
49 ember active kim 19 birch paused jules 19 cobalt pending eli 93 ember ready dina 7 fable ready gus 109 harbor closed gus
jules
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024652-p1
Extract and print only the fourth column for rows where the third column equals 'paused'.
$3 == "paused"{print $4}
117 fable failed dina 72 juniper closed farah 83 cobalt paused gus 21 ember failed jules 6 indigo paused lina 79 birch active chen 116 cobalt closed ivan 113 ember ready kim 111 juniper active chen 63 grove closed kim
gus lina
49 ember active kim 19 birch paused jules 19 cobalt pending eli 93 ember ready dina 7 fable ready gus 109 harbor closed gus
jules
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024652
qwen/qwen3.7-plus
awkweave-0024653
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
24 fable WARN 57 cobalt INFO 33 birch WARN 76 ember INFO 32 amber INFO 7 cobalt ERROR 30 amber ERROR 22 harbor WARN
24 fable WARN 33 birch WARN 22 harbor WARN
40 harbor ERROR 111 grove WARN 88 fable DEBUG 51 ember ERROR 71 birch INFO 1 birch WARN 65 juniper ERROR 120 delta INFO 88 amber DEBUG
111 grove WARN 1 birch WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024653-p1
Output all fields from lines where the third field starts with the string 'WARN'.
$3 ~ /^WARN/
24 fable WARN 57 cobalt INFO 33 birch WARN 76 ember INFO 32 amber INFO 7 cobalt ERROR 30 amber ERROR 22 harbor WARN
24 fable WARN 33 birch WARN 22 harbor WARN
40 harbor ERROR 111 grove WARN 88 fable DEBUG 51 ember ERROR 71 birch INFO 1 birch WARN 65 juniper ERROR 120 delta INFO 88 amber DEBUG
111 grove WARN 1 birch WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024653
qwen/qwen3.7-plus
awkweave-0024654
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
juniper 73 closed delta 105 ready ember 111 ready ember 113 paused ember 12 active harbor 105 failed harbor 52 closed cobalt 66 failed amber 57 pending birch 113 ready cobalt 999 active
juniper 73 closed delta 105 ready ember 111 ready ember 113 paused ember 12 active harbor 105 failed harbor 52 closed amber 57 pending birch 113 ready
birch 107 active delta 79 ready cobalt 111 ready juniper 7 active delta 38 closed amber 75 paused indigo 38 active indigo 40 pending cobalt 999 active
birch 107 active delta 79 ready juniper 7 active delta 38 closed amber 75 paused indigo 38 active indigo 40 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024654-p1
Print every line that does not contain the exact substring 'cobalt'.
$0 !~ /cobalt/
juniper 73 closed delta 105 ready ember 111 ready ember 113 paused ember 12 active harbor 105 failed harbor 52 closed cobalt 66 failed amber 57 pending birch 113 ready cobalt 999 active
juniper 73 closed delta 105 ready ember 111 ready ember 113 paused ember 12 active harbor 105 failed harbor 52 closed amber 57 pending birch 113 ready
birch 107 active delta 79 ready cobalt 111 ready juniper 7 active delta 38 closed amber 75 paused indigo 38 active indigo 40 pending cobalt 999 active
birch 107 active delta 79 ready juniper 7 active delta 38 closed amber 75 paused indigo 38 active indigo 40 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024654
qwen/qwen3.7-plus
awkweave-0024655
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
farah indigo 80 jules harbor 104 kim ember 12 ivan birch 88 chen harbor 114 chen fable 68 ivan grove 34 eli fable 78 eli harbor 20 dina amber 79
kim ember 12 ivan birch 88 chen harbor 114 chen fable 68
kim indigo 91 kim amber 80 jules grove 4 hana indigo 50 alice harbor 17 kim harbor 96 alice birch 101
jules grove 4 hana indigo 50 alice harbor 17 kim harbor 96
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024655-p1
Output lines numbered 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
farah indigo 80 jules harbor 104 kim ember 12 ivan birch 88 chen harbor 114 chen fable 68 ivan grove 34 eli fable 78 eli harbor 20 dina amber 79
kim ember 12 ivan birch 88 chen harbor 114 chen fable 68
kim indigo 91 kim amber 80 jules grove 4 hana indigo 50 alice harbor 17 kim harbor 96 alice birch 101
jules grove 4 hana indigo 50 alice harbor 17 kim harbor 96
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024655
qwen/qwen3.7-plus
awkweave-0024656
Output only the first 5 records.
NR <= 5
lina 39 delta kim 62 birch eli 95 fable alice 111 cobalt jules 29 ember farah 10 grove jules 20 birch
lina 39 delta kim 62 birch eli 95 fable alice 111 cobalt jules 29 ember
chen 45 indigo eli 24 indigo eli 27 birch lina 118 grove jules 71 harbor bruno 78 ember farah 70 birch
chen 45 indigo eli 24 indigo eli 27 birch lina 118 grove jules 71 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024656-p1
Display only the first 5 records from the input.
NR <= 5
lina 39 delta kim 62 birch eli 95 fable alice 111 cobalt jules 29 ember farah 10 grove jules 20 birch
lina 39 delta kim 62 birch eli 95 fable alice 111 cobalt jules 29 ember
chen 45 indigo eli 24 indigo eli 27 birch lina 118 grove jules 71 harbor bruno 78 ember farah 70 birch
chen 45 indigo eli 24 indigo eli 27 birch lina 118 grove jules 71 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024656
qwen/qwen3.7-plus
awkweave-0024657
Skip the first line and print every remaining line unchanged.
NR > 1
kim 111 grove eli 67 amber alice 82 indigo gus 64 cobalt dina 91 amber jules 111 grove farah 60 indigo
eli 67 amber alice 82 indigo gus 64 cobalt dina 91 amber jules 111 grove farah 60 indigo
jules 30 harbor kim 25 amber bruno 56 delta farah 62 juniper ivan 50 indigo eli 73 fable farah 24 amber kim 115 birch
kim 25 amber bruno 56 delta farah 62 juniper ivan 50 indigo eli 73 fable farah 24 amber kim 115 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024657-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
kim 111 grove eli 67 amber alice 82 indigo gus 64 cobalt dina 91 amber jules 111 grove farah 60 indigo
eli 67 amber alice 82 indigo gus 64 cobalt dina 91 amber jules 111 grove farah 60 indigo
jules 30 harbor kim 25 amber bruno 56 delta farah 62 juniper ivan 50 indigo eli 73 fable farah 24 amber kim 115 birch
kim 25 amber bruno 56 delta farah 62 juniper ivan 50 indigo eli 73 fable farah 24 amber kim 115 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024657
qwen/qwen3.7-plus
awkweave-0024658
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
jules pending 94 ivan paused 10 ivan pending 46 jules ready 34 chen closed 69 gus active 2 hana paused 88
2
lina paused 79 gus failed 30 alice ready 51 hana pending 64 farah closed 77 jules ready 86 bruno paused 33 gus ready 105 ivan ready 5 dina pending 102
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024658-p1
Count the number of records where the second column is 'paused', printing 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
jules pending 94 ivan paused 10 ivan pending 46 jules ready 34 chen closed 69 gus active 2 hana paused 88
2
lina paused 79 gus failed 30 alice ready 51 hana pending 64 farah closed 77 jules ready 86 bruno paused 33 gus ready 105 ivan ready 5 dina pending 102
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024658
qwen/qwen3.7-plus
awkweave-0024659
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
harbor 10 lina birch 8 ivan juniper 16 eli delta 11 kim juniper 8 bruno ember 2 dina indigo 16 chen delta 11 alice
82
ember 16 dina grove 24 hana fable 12 eli amber 11 bruno indigo 29 lina cobalt 6 farah delta 23 farah birch 17 chen grove 20 kim
158
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024659-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
harbor 10 lina birch 8 ivan juniper 16 eli delta 11 kim juniper 8 bruno ember 2 dina indigo 16 chen delta 11 alice
82
ember 16 dina grove 24 hana fable 12 eli amber 11 bruno indigo 29 lina cobalt 6 farah delta 23 farah birch 17 chen grove 20 kim
158
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024659
qwen/qwen3.7-plus
awkweave-0024660
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 gus ember 10 kim cobalt 28 bruno fable 12 dina amber 30 eli indigo 15 kim birch 21 jules grove 15 lina amber 4 dina delta
16.00
18 alice fable 17 kim birch 19 gus birch 15 lina ember 2 ivan ember 25 jules birch
16.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0024660-p1
Calculate the average of the values in column 1 and display the result rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 gus ember 10 kim cobalt 28 bruno fable 12 dina amber 30 eli indigo 15 kim birch 21 jules grove 15 lina amber 4 dina delta
16.00
18 alice fable 17 kim birch 19 gus birch 15 lina ember 2 ivan ember 25 jules birch
16.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0024660
qwen/qwen3.7-plus
awkweave-0024661
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
eli indigo 9 bruno amber 3 chen fable 29 lina grove 21 eli ember 14 ivan fable 19 kim juniper 18 farah ember 22 jules ember 27
3
hana birch 30 bruno amber 7 farah amber 2 farah harbor 22 chen amber 23 farah indigo 11 ivan delta 3 eli fable 25 ivan fable 9
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null