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-0055223
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 birch 21 chen juniper 1 gus juniper 14 ivan cobalt 4 alice juniper 5 lina fable 16
alice birch 21 lina fable 16 gus juniper 14
lina grove 29 lina ember 24 ivan delta 23 dina delta 22 eli cobalt 25 chen delta 25 bruno indigo 6 chen cobalt 5
lina grove 29 eli cobalt 25 chen delta 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055223-p1
Output the top three records with the highest numeric values in column 3, sorted descending; maintain 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 birch 21 chen juniper 1 gus juniper 14 ivan cobalt 4 alice juniper 5 lina fable 16
alice birch 21 lina fable 16 gus juniper 14
lina grove 29 lina ember 24 ivan delta 23 dina delta 22 eli cobalt 25 chen delta 25 bruno indigo 6 chen cobalt 5
lina grove 29 eli cobalt 25 chen delta 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055223
qwen/qwen3.7-plus
awkweave-0055224
Print column 3 followed by column 1 for every record.
{print $3, $1}
ivan 35 35 chen dina chen 118 11 dina alice eli 101 76 farah farah alice 79 38 alice dina gus 25 23 alice eli dina 42 95 hana jules hana 1 31 kim kim bruno 3 111 chen ivan eli 61 95 eli chen kim 75 39 gus farah
35 ivan 11 chen 76 eli 38 alice 23 gus 95 dina 31 hana 111 bruno 95 eli 39 kim
jules 34 99 dina kim kim 54 53 chen gus eli 13 27 farah bruno alice 63 18 ivan farah jules 85 40 farah gus jules 88 22 hana bruno
99 jules 53 kim 27 eli 18 alice 40 jules 22 jules
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055224-p1
For each record, output the third column followed by the first column.
{print $3, $1}
ivan 35 35 chen dina chen 118 11 dina alice eli 101 76 farah farah alice 79 38 alice dina gus 25 23 alice eli dina 42 95 hana jules hana 1 31 kim kim bruno 3 111 chen ivan eli 61 95 eli chen kim 75 39 gus farah
35 ivan 11 chen 76 eli 38 alice 23 gus 95 dina 31 hana 111 bruno 95 eli 39 kim
jules 34 99 dina kim kim 54 53 chen gus eli 13 27 farah bruno alice 63 18 ivan farah jules 85 40 farah gus jules 88 22 hana bruno
99 jules 53 kim 27 eli 18 alice 40 jules 22 jules
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055224
qwen/qwen3.7-plus
awkweave-0055225
Print the last field of every input line.
{print $NF}
farah closed 31 chen paused 101 kim failed 89 gus pending 4 gus failed 29 chen closed 25 chen paused 77
31 101 89 4 29 25 77
kim failed 109 dina paused 18 gus paused 30 gus closed 40 gus ready 62 jules active 31 ivan paused 106 eli closed 58 farah pending 29 eli ready 92
109 18 30 40 62 31 106 58 29 92
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055225-p1
Output the final field from every input line.
{print $NF}
farah closed 31 chen paused 101 kim failed 89 gus pending 4 gus failed 29 chen closed 25 chen paused 77
31 101 89 4 29 25 77
kim failed 109 dina paused 18 gus paused 30 gus closed 40 gus ready 62 jules active 31 ivan paused 106 eli closed 58 farah pending 29 eli ready 92
109 18 30 40 62 31 106 58 29 92
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055225
qwen/qwen3.7-plus
awkweave-0055226
Print the complete records where column 2 is greater than 54.
$2 > 54
farah 13 closed bruno 81 active chen 39 closed bruno 113 active farah 97 closed lina 105 failed hana 115 active jules 20 failed alice 72 pending gus 9 ready
bruno 81 active bruno 113 active farah 97 closed lina 105 failed hana 115 active alice 72 pending
hana 114 ready bruno 27 active bruno 16 closed lina 33 paused dina 24 closed kim 56 failed
hana 114 ready kim 56 failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055226-p1
Display full records where the value in the second column exceeds 54.
$2 > 54
farah 13 closed bruno 81 active chen 39 closed bruno 113 active farah 97 closed lina 105 failed hana 115 active jules 20 failed alice 72 pending gus 9 ready
bruno 81 active bruno 113 active farah 97 closed lina 105 failed hana 115 active alice 72 pending
hana 114 ready bruno 27 active bruno 16 closed lina 33 paused dina 24 closed kim 56 failed
hana 114 ready kim 56 failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055226
qwen/qwen3.7-plus
awkweave-0055227
Show whole lines whose 3rd field is between 8 and 18, inclusive.
$3 >= 8 && $3 <= 18
lina lina 14 hana gus kim 17 dina hana dina 28 jules kim kim 8 alice lina dina 19 jules hana chen 11 farah
lina lina 14 hana gus kim 17 dina kim kim 8 alice hana chen 11 farah
gus eli 27 alice jules eli 1 dina jules gus 19 dina gus ivan 19 jules dina kim 3 farah jules bruno 20 chen alice chen 10 kim jules ivan 19 hana lina farah 12 bruno bruno jules 18 eli
alice chen 10 kim lina farah 12 bruno bruno jules 18 eli
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055227-p1
Show entire lines where the third field falls within the inclusive range of 8 to 18.
$3 >= 8 && $3 <= 18
lina lina 14 hana gus kim 17 dina hana dina 28 jules kim kim 8 alice lina dina 19 jules hana chen 11 farah
lina lina 14 hana gus kim 17 dina kim kim 8 alice hana chen 11 farah
gus eli 27 alice jules eli 1 dina jules gus 19 dina gus ivan 19 jules dina kim 3 farah jules bruno 20 chen alice chen 10 kim jules ivan 19 hana lina farah 12 bruno bruno jules 18 eli
alice chen 10 kim lina farah 12 bruno bruno jules 18 eli
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055227
qwen/qwen3.7-plus
awkweave-0055228
Print column 1 only for rows where column 3 is exactly ready.
$3 == "ready"{print $1}
eli 72 ready juniper lina 104 failed cobalt eli 82 paused harbor bruno 106 ready birch chen 101 paused cobalt dina 40 failed juniper chen 93 failed grove jules 111 ready delta lina 9 paused juniper
eli bruno jules
hana 50 ready delta kim 49 failed amber lina 31 pending indigo eli 87 paused harbor chen 11 paused amber gus 104 paused juniper farah 50 pending cobalt chen 0 failed indigo
hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055228-p1
Output only the first column for rows where the third column is exactly ready.
$3 == "ready"{print $1}
eli 72 ready juniper lina 104 failed cobalt eli 82 paused harbor bruno 106 ready birch chen 101 paused cobalt dina 40 failed juniper chen 93 failed grove jules 111 ready delta lina 9 paused juniper
eli bruno jules
hana 50 ready delta kim 49 failed amber lina 31 pending indigo eli 87 paused harbor chen 11 paused amber gus 104 paused juniper farah 50 pending cobalt chen 0 failed indigo
hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055228
qwen/qwen3.7-plus
awkweave-0055229
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
62 INFO delta 70 DEBUG amber 39 WARN fable 2 INFO ember 10 ERROR cobalt 119 ERROR grove 0 DEBUG juniper 1 ERROR fable
39 WARN fable
113 DEBUG indigo 35 WARN amber 23 DEBUG delta 29 DEBUG ember 71 ERROR cobalt 47 ERROR birch 71 DEBUG juniper 70 DEBUG fable 16 WARN delta 68 WARN cobalt
35 WARN amber 16 WARN delta 68 WARN cobalt
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055229-p1
Print all fields from lines where the second field starts with WARN.
$2 ~ /^WARN/
62 INFO delta 70 DEBUG amber 39 WARN fable 2 INFO ember 10 ERROR cobalt 119 ERROR grove 0 DEBUG juniper 1 ERROR fable
39 WARN fable
113 DEBUG indigo 35 WARN amber 23 DEBUG delta 29 DEBUG ember 71 ERROR cobalt 47 ERROR birch 71 DEBUG juniper 70 DEBUG fable 16 WARN delta 68 WARN cobalt
35 WARN amber 16 WARN delta 68 WARN cobalt
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055229
qwen/qwen3.7-plus
awkweave-0055230
Print every line except those containing the exact text grove.
$0 !~ /grove/
grove 59 ready delta 69 failed amber 62 failed juniper 91 paused indigo 52 paused amber 32 failed harbor 98 ready grove 89 failed grove 999 active
delta 69 failed amber 62 failed juniper 91 paused indigo 52 paused amber 32 failed harbor 98 ready
delta 92 pending indigo 108 paused juniper 102 failed indigo 83 failed fable 61 pending birch 49 active grove 37 ready harbor 49 paused grove 999 active
delta 92 pending indigo 108 paused juniper 102 failed indigo 83 failed fable 61 pending birch 49 active harbor 49 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055230-p1
Output every line that does not contain the exact string grove.
$0 !~ /grove/
grove 59 ready delta 69 failed amber 62 failed juniper 91 paused indigo 52 paused amber 32 failed harbor 98 ready grove 89 failed grove 999 active
delta 69 failed amber 62 failed juniper 91 paused indigo 52 paused amber 32 failed harbor 98 ready
delta 92 pending indigo 108 paused juniper 102 failed indigo 83 failed fable 61 pending birch 49 active grove 37 ready harbor 49 paused grove 999 active
delta 92 pending indigo 108 paused juniper 102 failed indigo 83 failed fable 61 pending birch 49 active harbor 49 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055230
qwen/qwen3.7-plus
awkweave-0055231
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
farah cobalt 98 bruno grove 67 chen juniper 112 gus ember 75 chen amber 21 gus grove 5 chen amber 57 eli birch 2
gus ember 75 chen amber 21 gus grove 5
alice harbor 63 ivan harbor 112 lina delta 29 lina grove 105 kim delta 23 eli grove 118 farah juniper 21 lina birch 42 ivan juniper 72 ivan ember 95
lina grove 105 kim delta 23 eli grove 118
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055231-p1
Print lines 4 through 6, inclusive.
NR >= 4 && NR <= 6
farah cobalt 98 bruno grove 67 chen juniper 112 gus ember 75 chen amber 21 gus grove 5 chen amber 57 eli birch 2
gus ember 75 chen amber 21 gus grove 5
alice harbor 63 ivan harbor 112 lina delta 29 lina grove 105 kim delta 23 eli grove 118 farah juniper 21 lina birch 42 ivan juniper 72 ivan ember 95
lina grove 105 kim delta 23 eli grove 118
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055231
qwen/qwen3.7-plus
awkweave-0055232
Output only the first 2 records.
NR <= 2
chen 45 delta farah 106 fable hana 88 amber bruno 81 indigo kim 93 grove eli 19 cobalt gus 39 harbor
chen 45 delta farah 106 fable
eli 43 birch lina 26 amber eli 108 amber lina 110 indigo gus 58 delta bruno 2 harbor lina 28 cobalt farah 45 harbor dina 118 indigo gus 90 birch
eli 43 birch lina 26 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055232-p1
Output only the first 2 records.
NR <= 2
chen 45 delta farah 106 fable hana 88 amber bruno 81 indigo kim 93 grove eli 19 cobalt gus 39 harbor
chen 45 delta farah 106 fable
eli 43 birch lina 26 amber eli 108 amber lina 110 indigo gus 58 delta bruno 2 harbor lina 28 cobalt farah 45 harbor dina 118 indigo gus 90 birch
eli 43 birch lina 26 amber
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0055232
qwen/qwen3.7-plus
awkweave-0055233
Skip the first line and print every remaining line unchanged.
NR > 1
chen 119 cobalt chen 87 grove eli 75 grove bruno 65 grove eli 96 ember alice 51 grove gus 109 ember jules 15 ember bruno 42 birch gus 94 delta
chen 87 grove eli 75 grove bruno 65 grove eli 96 ember alice 51 grove gus 109 ember jules 15 ember bruno 42 birch gus 94 delta
eli 101 fable gus 32 cobalt farah 116 harbor lina 91 harbor chen 19 delta jules 16 fable
gus 32 cobalt farah 116 harbor lina 91 harbor chen 19 delta jules 16 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055233-p1
Ignore the first line and print all subsequent lines as they are.
NR > 1
chen 119 cobalt chen 87 grove eli 75 grove bruno 65 grove eli 96 ember alice 51 grove gus 109 ember jules 15 ember bruno 42 birch gus 94 delta
chen 87 grove eli 75 grove bruno 65 grove eli 96 ember alice 51 grove gus 109 ember jules 15 ember bruno 42 birch gus 94 delta
eli 101 fable gus 32 cobalt farah 116 harbor lina 91 harbor chen 19 delta jules 16 fable
gus 32 cobalt farah 116 harbor lina 91 harbor chen 19 delta jules 16 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055233
qwen/qwen3.7-plus
awkweave-0055234
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
farah failed 40 chen pending 70 jules ready 80 bruno closed 20 alice ready 33 bruno closed 16 farah closed 68 gus ready 93 bruno pending 104 chen active 67
3
chen failed 34 lina paused 75 bruno pending 86 hana closed 102 lina failed 62 hana active 74 chen pending 110
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055234-p1
Count the number of records containing ready in the second column; output 0 if none exist.
$2 == "ready"{n++}END{print n+0}
farah failed 40 chen pending 70 jules ready 80 bruno closed 20 alice ready 33 bruno closed 16 farah closed 68 gus ready 93 bruno pending 104 chen active 67
3
chen failed 34 lina paused 75 bruno pending 86 hana closed 102 lina failed 62 hana active 74 chen pending 110
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055234
qwen/qwen3.7-plus
awkweave-0055235
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
17 ivan birch 2 hana amber 6 ivan indigo 1 lina grove 25 kim grove 1 farah harbor 22 jules fable 20 bruno delta 3 eli birch
97
5 hana juniper 6 kim harbor 17 ivan amber 30 jules juniper 26 gus ember 10 hana fable
94
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055235-p1
Compute and display the sum of integer values in the first column.
{s+=$1}END{print s+0}
17 ivan birch 2 hana amber 6 ivan indigo 1 lina grove 25 kim grove 1 farah harbor 22 jules fable 20 bruno delta 3 eli birch
97
5 hana juniper 6 kim harbor 17 ivan amber 30 jules juniper 26 gus ember 10 hana fable
94
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055235
qwen/qwen3.7-plus
awkweave-0055236
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 delta bruno 23 cobalt bruno 14 cobalt hana 21 birch ivan 29 cobalt kim 13 indigo jules
17.17
1 birch ivan 8 ember eli 4 birch jules 26 ember dina 30 delta hana 4 cobalt kim 10 juniper eli 12 ember eli 20 ember eli
12.78
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055236-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}
3 delta bruno 23 cobalt bruno 14 cobalt hana 21 birch ivan 29 cobalt kim 13 indigo jules
17.17
1 birch ivan 8 ember eli 4 birch jules 26 ember dina 30 delta hana 4 cobalt kim 10 juniper eli 12 ember eli 20 ember eli
12.78
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055236
qwen/qwen3.7-plus
awkweave-0055237
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina juniper 18 hana ember 26 chen delta 7 ivan cobalt 22 hana amber 18 eli delta 13 hana amber 18 lina fable 8 chen delta 16 ivan indigo 16
7
alice cobalt 2 chen juniper 2 gus harbor 15 dina amber 5 chen fable 30 eli fable 6 jules amber 21 kim ember 17
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055237-p1
Identify and output the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
lina juniper 18 hana ember 26 chen delta 7 ivan cobalt 22 hana amber 18 eli delta 13 hana amber 18 lina fable 8 chen delta 16 ivan indigo 16
7
alice cobalt 2 chen juniper 2 gus harbor 15 dina amber 5 chen fable 30 eli fable 6 jules amber 21 kim ember 17
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055237
qwen/qwen3.7-plus
awkweave-0055238
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
4 jules cobalt 13 jules ember 12 chen ember 18 gus juniper 23 gus grove 9 dina harbor 3 bruno harbor 13 farah fable 29 dina harbor
29
14 lina indigo 26 bruno grove 24 chen fable 26 ivan juniper 22 kim birch 18 chen cobalt 21 bruno birch 3 lina fable
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055238-p1
Determine and display the maximum numeric value present in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
4 jules cobalt 13 jules ember 12 chen ember 18 gus juniper 23 gus grove 9 dina harbor 3 bruno harbor 13 farah fable 29 dina harbor
29
14 lina indigo 26 bruno grove 24 chen fable 26 ivan juniper 22 kim birch 18 chen cobalt 21 bruno birch 3 lina fable
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055238
qwen/qwen3.7-plus
awkweave-0055239
Count all input records and print the total.
END{print NR}
alice 2 alice 19 kim 77 ivan 60 dina 18 jules 109 gus 84 eli 27 hana 116 farah 25
10
dina 5 bruno 70 dina 65 lina 74 bruno 102 eli 115 gus 71
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055239-p1
Count the total number of input records and print the final count.
END{print NR}
alice 2 alice 19 kim 77 ivan 60 dina 18 jules 109 gus 84 eli 27 hana 116 farah 25
10
dina 5 bruno 70 dina 65 lina 74 bruno 102 eli 115 gus 71
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055239
qwen/qwen3.7-plus
awkweave-0055240
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina cobalt 33 farah juniper 44 ivan birch 17 chen amber 5 gus grove 72 ivan birch 17 bruno grove 106 farah indigo 69
lina cobalt 33 farah juniper 44 ivan birch 17 chen amber 5 gus grove 72 bruno grove 106 farah indigo 69
chen delta 88 hana harbor 35 chen delta 88 dina grove 17 kim grove 94 bruno grove 83 hana ember 97 farah fable 48
chen delta 88 hana harbor 35 dina grove 17 kim grove 94 bruno grove 83 hana ember 97 farah fable 48
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055240-p1
Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence.
!seen[$0]++
lina cobalt 33 farah juniper 44 ivan birch 17 chen amber 5 gus grove 72 ivan birch 17 bruno grove 106 farah indigo 69
lina cobalt 33 farah juniper 44 ivan birch 17 chen amber 5 gus grove 72 bruno grove 106 farah indigo 69
chen delta 88 hana harbor 35 chen delta 88 dina grove 17 kim grove 94 bruno grove 83 hana ember 97 farah fable 48
chen delta 88 hana harbor 35 dina grove 17 kim grove 94 bruno grove 83 hana ember 97 farah fable 48
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055240
qwen/qwen3.7-plus
awkweave-0055241
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
kim amber 44 jules cobalt 12 alice harbor 9 gus ember 115 gus grove 89 dina indigo 72 kim birch 57 dina ember 65 chen harbor 50 bruno amber 37
kim amber 44 jules cobalt 12 alice harbor 9 gus ember 115 gus grove 89 dina indigo 72 kim birch 57
gus grove 84 lina grove 50 bruno fable 52 bruno birch 113 jules fable 111 eli delta 100 dina harbor 15 farah amber 116
gus grove 84 bruno fable 52 bruno birch 113 eli delta 100 dina harbor 15 farah amber 116
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055241-p1
Retain only the first line for every unique value in column 2, preserving the initial input order.
!seen[$2]++
kim amber 44 jules cobalt 12 alice harbor 9 gus ember 115 gus grove 89 dina indigo 72 kim birch 57 dina ember 65 chen harbor 50 bruno amber 37
kim amber 44 jules cobalt 12 alice harbor 9 gus ember 115 gus grove 89 dina indigo 72 kim birch 57
gus grove 84 lina grove 50 bruno fable 52 bruno birch 113 jules fable 111 eli delta 100 dina harbor 15 farah amber 116
gus grove 84 bruno fable 52 bruno birch 113 eli delta 100 dina harbor 15 farah amber 116
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055241
qwen/qwen3.7-plus
awkweave-0055242
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 25 indigo ivan 8 birch alice 28 cobalt kim 16 juniper hana 14 ember alice 8 amber
chen 25 ivan 33 alice 61 kim 77 hana 91 alice 99
farah 11 grove lina 26 delta dina 6 delta gus 23 indigo jules 5 cobalt dina 27 amber dina 8 fable lina 2 indigo gus 10 juniper lina 16 indigo
farah 11 lina 37 dina 43 gus 66 jules 71 dina 98 dina 106 lina 108 gus 118 lina 134
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055242-p1
For each record, output column 1 alongside the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 25 indigo ivan 8 birch alice 28 cobalt kim 16 juniper hana 14 ember alice 8 amber
chen 25 ivan 33 alice 61 kim 77 hana 91 alice 99
farah 11 grove lina 26 delta dina 6 delta gus 23 indigo jules 5 cobalt dina 27 amber dina 8 fable lina 2 indigo gus 10 juniper lina 16 indigo
farah 11 lina 37 dina 43 gus 66 jules 71 dina 98 dina 106 lina 108 gus 118 lina 134
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055242
qwen/qwen3.7-plus
awkweave-0055243
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
eli 30 20 fable ivan 19 12 fable farah 21 21 fable dina 4 12 cobalt bruno 14 6 harbor ivan 12 13 harbor bruno 16 23 juniper ivan 29 26 harbor
eli 50 ivan 31 farah 42 dina 16 bruno 20 ivan 25 bruno 39 ivan 55
alice 15 10 birch kim 15 8 delta dina 19 18 ember lina 11 28 cobalt gus 28 23 amber gus 8 13 birch
alice 25 kim 23 dina 37 lina 39 gus 51 gus 21
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055243-p1
Output field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
eli 30 20 fable ivan 19 12 fable farah 21 21 fable dina 4 12 cobalt bruno 14 6 harbor ivan 12 13 harbor bruno 16 23 juniper ivan 29 26 harbor
eli 50 ivan 31 farah 42 dina 16 bruno 20 ivan 25 bruno 39 ivan 55
alice 15 10 birch kim 15 8 delta dina 19 18 ember lina 11 28 cobalt gus 28 23 amber gus 8 13 birch
alice 25 kim 23 dina 37 lina 39 gus 51 gus 21
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055243
qwen/qwen3.7-plus
awkweave-0055244
Print column 1 and pass when column 2 is at least 23; otherwise print fail.
{print $1,($2>=23?"pass":"fail")}
lina 24 chen 18 hana 4 jules 13 kim 19 ivan 9 bruno 14 bruno 8 eli 1
lina pass chen fail hana fail jules fail kim fail ivan fail bruno fail bruno fail eli fail
jules 22 farah 17 jules 11 jules 24 kim 8 chen 1 hana 5 gus 2 chen 28 hana 20
jules fail farah fail jules fail jules pass kim fail chen fail hana fail gus fail chen pass hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055244-p1
Display column 1 with 'pass' if column 2 is greater than or equal to 23, otherwise display 'fail'.
{print $1,($2>=23?"pass":"fail")}
lina 24 chen 18 hana 4 jules 13 kim 19 ivan 9 bruno 14 bruno 8 eli 1
lina pass chen fail hana fail jules fail kim fail ivan fail bruno fail bruno fail eli fail
jules 22 farah 17 jules 11 jules 24 kim 8 chen 1 hana 5 gus 2 chen 28 hana 20
jules fail farah fail jules fail jules pass kim fail chen fail hana fail gus fail chen pass hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055244
qwen/qwen3.7-plus
awkweave-0055245
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
jules cobalt 86 farah indigo 31 bruno delta 74 lina cobalt 72 farah fable 63 jules fable 115 gus cobalt 103
JULES FARAH BRUNO LINA FARAH JULES GUS
lina ember 84 kim indigo 31 bruno indigo 112 ivan amber 108 eli indigo 69 farah amber 6 ivan grove 55 kim delta 48 hana fable 65
LINA KIM BRUNO IVAN ELI FARAH IVAN KIM HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055245-p1
Transform column 1 to uppercase and print only that transformed column.
{print toupper($1)}
jules cobalt 86 farah indigo 31 bruno delta 74 lina cobalt 72 farah fable 63 jules fable 115 gus cobalt 103
JULES FARAH BRUNO LINA FARAH JULES GUS
lina ember 84 kim indigo 31 bruno indigo 112 ivan amber 108 eli indigo 69 farah amber 6 ivan grove 55 kim delta 48 hana fable 65
LINA KIM BRUNO IVAN ELI FARAH IVAN KIM HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055245
qwen/qwen3.7-plus
awkweave-0055246
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
harbor 101 grove 102 indigo 37 harbor 11 harbor 119 grove 51 cobalt 77
ar ro nd ar ar ro ob
harbor 23 grove 26 harbor 5 birch 62 birch 89 harbor 28
ar ro ar ir ir ar
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055246-p1
Extract and print a substring of 2 characters from column 1, starting at the second character.
{print substr($1,2,2)}
harbor 101 grove 102 indigo 37 harbor 11 harbor 119 grove 51 cobalt 77
ar ro nd ar ar ro ob
harbor 23 grove 26 harbor 5 birch 62 birch 89 harbor 28
ar ro ar ir ir ar
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055246
qwen/qwen3.7-plus
awkweave-0055247
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_delta 102 amber_ember 41 delta_birch 25 delta_amber 108 amber_ember 102 fable_grove 95 amber_indigo 61
amber delta amber ember delta birch delta amber amber ember fable grove amber indigo
harbor_ember 0 juniper_amber 27 birch_cobalt 97 grove_delta 115 indigo_harbor 74 ember_grove 45 harbor_birch 107 cobalt_ember 42 birch_indigo 21
harbor ember juniper amber birch cobalt grove delta indigo harbor ember grove harbor birch cobalt ember birch indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055247-p1
Substitute all underscores in column 1 with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
amber_delta 102 amber_ember 41 delta_birch 25 delta_amber 108 amber_ember 102 fable_grove 95 amber_indigo 61
amber delta amber ember delta birch delta amber amber ember fable grove amber indigo
harbor_ember 0 juniper_amber 27 birch_cobalt 97 grove_delta 115 indigo_harbor 74 ember_grove 45 harbor_birch 107 cobalt_ember 42 birch_indigo 21
harbor ember juniper amber birch cobalt grove delta indigo harbor ember grove harbor birch cobalt ember birch indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055247
qwen/qwen3.7-plus
awkweave-0055248
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)}
eli juniper 78 active lina birch 3 paused hana birch 103 active bruno fable 33 active eli amber 8 ready bruno harbor 14 ready dina juniper 98 active
active 78 juniper eli paused 3 birch lina active 103 birch hana active 33 fable bruno ready 8 amber eli ready 14 harbor bruno active 98 juniper dina
farah cobalt 100 failed bruno fable 105 ready farah indigo 114 failed alice indigo 107 ready gus amber 64 failed jules harbor 98 ready lina grove 100 active kim juniper 71 failed lina indigo 102 pending
failed 100 cobalt farah ready 105 fable bruno failed 114 indigo farah ready 107 indigo alice failed 64 amber gus ready 98 harbor jules active 100 grove lina failed 71 juniper kim pending 102 indigo lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055248-p1
Reverse the field order on each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli juniper 78 active lina birch 3 paused hana birch 103 active bruno fable 33 active eli amber 8 ready bruno harbor 14 ready dina juniper 98 active
active 78 juniper eli paused 3 birch lina active 103 birch hana active 33 fable bruno ready 8 amber eli ready 14 harbor bruno active 98 juniper dina
farah cobalt 100 failed bruno fable 105 ready farah indigo 114 failed alice indigo 107 ready gus amber 64 failed jules harbor 98 ready lina grove 100 active kim juniper 71 failed lina indigo 102 pending
failed 100 cobalt farah ready 105 fable bruno failed 114 indigo farah ready 107 indigo alice failed 64 amber gus ready 98 harbor jules active 100 grove lina failed 71 juniper kim pending 102 indigo lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055248
qwen/qwen3.7-plus
awkweave-0055249
Print the number of whitespace-separated fields on each line.
{print NF}
farah indigo 91 pending lina harbor 54 paused bruno cobalt 64 active lina grove 3 ready bruno harbor 42 ready kim fable 8 closed ivan harbor 109 active
4 4 4 4 4 4 4
alice amber 118 failed hana amber 62 ready dina fable 18 paused gus indigo 101 closed eli grove 36 paused kim cobalt 81 ready
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055249-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
farah indigo 91 pending lina harbor 54 paused bruno cobalt 64 active lina grove 3 ready bruno harbor 42 ready kim fable 8 closed ivan harbor 109 active
4 4 4 4 4 4 4
alice amber 118 failed hana amber 62 ready dina fable 18 paused gus indigo 101 closed eli grove 36 paused kim cobalt 81 ready
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055249
qwen/qwen3.7-plus
awkweave-0055250
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 gamma 119 farah alpha 36 lina beta 115 jules alpha 70 ivan alpha 6 ivan delta 81 gus gamma 83 kim alpha 40 hana gamma 101
gamma 3 alpha 4 beta 1 delta 1
kim alpha 80 bruno alpha 90 jules delta 20 jules gamma 62 jules gamma 0 ivan beta 28 lina alpha 13
alpha 3 delta 1 gamma 2 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055250-p1
Tally records by the value in column 2, then print each value alongside 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 gamma 119 farah alpha 36 lina beta 115 jules alpha 70 ivan alpha 6 ivan delta 81 gus gamma 83 kim alpha 40 hana gamma 101
gamma 3 alpha 4 beta 1 delta 1
kim alpha 80 bruno alpha 90 jules delta 20 jules gamma 62 jules gamma 0 ivan beta 28 lina alpha 13
alpha 3 delta 1 gamma 2 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055250
qwen/qwen3.7-plus
awkweave-0055251
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus beta 23 farah gamma 3 jules beta 12 gus gamma 1 chen beta 4 farah gamma 14 ivan gamma 18 lina gamma 8
beta 39 gamma 44
gus beta 15 kim gamma 5 hana delta 3 hana delta 29 gus delta 25 bruno beta 3 lina alpha 3 alice beta 24 dina beta 10 hana gamma 20
beta 52 gamma 25 delta 57 alpha 3
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055251-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
gus beta 23 farah gamma 3 jules beta 12 gus gamma 1 chen beta 4 farah gamma 14 ivan gamma 18 lina gamma 8
beta 39 gamma 44
gus beta 15 kim gamma 5 hana delta 3 hana delta 29 gus delta 25 bruno beta 3 lina alpha 3 alice beta 24 dina beta 10 hana gamma 20
beta 52 gamma 25 delta 57 alpha 3
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0055251
qwen/qwen3.7-plus
awkweave-0055252
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]]}
gamma delta 14 delta fable 65 alpha juniper 114 alpha fable 1 gamma birch 88 beta harbor 79 alpha grove 51 beta cobalt 108
gamma 2 alpha 3 beta 2
delta amber 24 alpha grove 31 delta juniper 87 alpha amber 16 gamma juniper 78 beta harbor 29 beta harbor 32
delta 2 alpha 2 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055252-p1
List each duplicate value from column 1 with its frequency, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma delta 14 delta fable 65 alpha juniper 114 alpha fable 1 gamma birch 88 beta harbor 79 alpha grove 51 beta cobalt 108
gamma 2 alpha 3 beta 2
delta amber 24 alpha grove 31 delta juniper 87 alpha amber 16 gamma juniper 78 beta harbor 29 beta harbor 32
delta 2 alpha 2 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055252
qwen/qwen3.7-plus
awkweave-0055253
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region display_name note record_id r001 lina 9 paused r002 alice 13 closed r003 kim 20 ready r004 jules 10 ready r005 bruno 19 pending r006 jules 14 active r007 alice 17 closed r008 lina 9 closed r009 jules 5 paused r010 gus 5 failed
9 13 20 10 19 14 17 9 5 5
region display_name note record_id r001 eli 8 ready r002 gus 26 ready r003 alice 1 ready r004 hana 21 paused r005 gus 22 ready r006 eli 12 closed r007 lina 11 active r008 farah 21 paused r009 kim 16 ready r010 eli 25 paused
8 26 1 21 22 12 11 21 16 25
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055253-p1
Skip the header row and output the note column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region display_name note record_id r001 lina 9 paused r002 alice 13 closed r003 kim 20 ready r004 jules 10 ready r005 bruno 19 pending r006 jules 14 active r007 alice 17 closed r008 lina 9 closed r009 jules 5 paused r010 gus 5 failed
9 13 20 10 19 14 17 9 5 5
region display_name note record_id r001 eli 8 ready r002 gus 26 ready r003 alice 1 ready r004 hana 21 paused r005 gus 22 ready r006 eli 12 closed r007 lina 11 active r008 farah 21 paused r009 kim 16 ready r010 eli 25 paused
8 26 1 21 22 12 11 21 16 25
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055253
qwen/qwen3.7-plus
awkweave-0055254
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 kim 2 closed r002 ivan 14 active r003 lina 25 paused r004 gus 8 closed r005 farah 14 pending r006 chen 26 failed
ivan lina farah chen
record_id display_name score state r001 dina 24 active r002 jules 23 active r003 eli 6 closed r004 chen 22 pending r005 alice 23 closed r006 gus 6 ready r007 jules 4 active r008 bruno 12 active
dina jules chen alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055254-p1
Ignoring the header, print the display_name for rows where the score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 kim 2 closed r002 ivan 14 active r003 lina 25 paused r004 gus 8 closed r005 farah 14 pending r006 chen 26 failed
ivan lina farah chen
record_id display_name score state r001 dina 24 active r002 jules 23 active r003 eli 6 closed r004 chen 22 pending r005 alice 23 closed r006 gus 6 ready r007 jules 4 active r008 bruno 12 active
dina jules chen alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055254
qwen/qwen3.7-plus
awkweave-0055255
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 12 active ivan 10 ready gus 29 paused eli 30 ready bruno 13 active hana 4 paused gus 29 pending bruno 20 paused
active ready paused ready active paused pending paused
alice 12 active eli 6 failed alice 22 closed dina 21 closed dina 24 ready kim 11 active eli 1 closed
active failed closed closed ready active closed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055255-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
bruno 12 active ivan 10 ready gus 29 paused eli 30 ready bruno 13 active hana 4 paused gus 29 pending bruno 20 paused
active ready paused ready active paused pending paused
alice 12 active eli 6 failed alice 22 closed dina 21 closed dina 24 ready kim 11 active eli 1 closed
active failed closed closed ready active closed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055255
qwen/qwen3.7-plus
awkweave-0055256
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
chen,15,closed jules,8,pending dina,28,closed ivan,25,paused farah,3,failed kim,22,ready dina,4,active alice,25,active alice,20,ready
dina ivan alice
dina,29,failed bruno,29,failed alice,22,pending dina,20,active alice,10,ready chen,18,active
dina bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055256-p1
For simple comma-separated data without quoted commas, print the first column if the second column is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
chen,15,closed jules,8,pending dina,28,closed ivan,25,paused farah,3,failed kim,22,ready dina,4,active alice,25,active alice,20,ready
dina ivan alice
dina,29,failed bruno,29,failed alice,22,pending dina,20,active alice,10,ready chen,18,active
dina bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055256
qwen/qwen3.7-plus
awkweave-0055257
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno birch 70 eli juniper 77 alice fable 52 chen juniper 68 jules fable 87 jules cobalt 6
bruno birch 70 eli juniper 77 alice fable 52 chen juniper 68 jules fable 87 jules cobalt 6
ivan cobalt 70 eli indigo 8 alice grove 29 kim indigo 25 alice juniper 30 kim indigo 93
ivan cobalt 70 eli indigo 8 alice grove 29 kim indigo 25 alice juniper 30 kim indigo 93
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055257-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
bruno birch 70 eli juniper 77 alice fable 52 chen juniper 68 jules fable 87 jules cobalt 6
bruno birch 70 eli juniper 77 alice fable 52 chen juniper 68 jules fable 87 jules cobalt 6
ivan cobalt 70 eli indigo 8 alice grove 29 kim indigo 25 alice juniper 30 kim indigo 93
ivan cobalt 70 eli indigo 8 alice grove 29 kim indigo 25 alice juniper 30 kim indigo 93
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055257
qwen/qwen3.7-plus
awkweave-0055258
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 35 active dina birch 55 paused gus cobalt 100 closed chen delta 20 closed bruno cobalt 59 paused ivan grove 46 pending alice cobalt 30 active
bruno cobalt 59 paused
ivan grove 38 pending jules juniper 65 closed dina grove 97 closed lina indigo 3 paused ivan fable 43 failed lina amber 102 paused dina birch 84 active dina cobalt 109 closed ivan fable 55 closed
jules juniper 65 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055258-p1
Identify and print the longest line from the input; if there is a tie, select the first one.
{if(length($0)>length(best))best=$0}END{print best}
lina birch 35 active dina birch 55 paused gus cobalt 100 closed chen delta 20 closed bruno cobalt 59 paused ivan grove 46 pending alice cobalt 30 active
bruno cobalt 59 paused
ivan grove 38 pending jules juniper 65 closed dina grove 97 closed lina indigo 3 paused ivan fable 43 failed lina amber 102 paused dina birch 84 active dina cobalt 109 closed ivan fable 55 closed
jules juniper 65 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055258
qwen/qwen3.7-plus
awkweave-0055259
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
chen 10 chen 72 lina 7 farah 6 ivan 37 eli 43 eli 35 bruno 92 bruno 54
chen 10 farah 6 eli 35
kim 62 eli 26 eli 107 chen 70 gus 25 ivan 71 hana 38 jules 63
kim 62 chen 70 hana 38
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055259-p1
Print every third line, beginning with line 1 (i.e., lines 1, 4, 7, etc.).
NR%3==1
chen 10 chen 72 lina 7 farah 6 ivan 37 eli 43 eli 35 bruno 92 bruno 54
chen 10 farah 6 eli 35
kim 62 eli 26 eli 107 chen 70 gus 25 ivan 71 hana 38 jules 63
kim 62 chen 70 hana 38
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055259
qwen/qwen3.7-plus
awkweave-0055260
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 118 beta birch 50 gamma indigo 106 gamma ember 104 gamma cobalt 71 beta birch 68 alpha delta 76 delta cobalt 96 delta cobalt 14 gamma fable 65
7
delta cobalt 55 delta cobalt 100 delta cobalt 99 beta fable 57 delta cobalt 92 beta cobalt 105 gamma cobalt 90 alpha indigo 81 gamma fable 2 beta birch 28
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055260-p1
Calculate the number of unique entries in the second column and output just that total.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 118 beta birch 50 gamma indigo 106 gamma ember 104 gamma cobalt 71 beta birch 68 alpha delta 76 delta cobalt 96 delta cobalt 14 gamma fable 65
7
delta cobalt 55 delta cobalt 100 delta cobalt 99 beta fable 57 delta cobalt 92 beta cobalt 105 gamma cobalt 90 alpha indigo 81 gamma fable 2 beta birch 28
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055260
qwen/qwen3.7-plus
awkweave-0055261
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 6 0 farah 8 22 bruno 14 1 ivan 20 7 hana 11 20 alice 23 30 lina 20 14
farah 0.36 bruno 14.00 ivan 2.86 hana 0.55 alice 0.77 lina 1.43
ivan 8 0 bruno 15 2 eli 18 28 alice 29 21 dina 4 26 eli 24 23
bruno 7.50 eli 0.64 alice 1.38 dina 0.15 eli 1.04
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055261-p1
For every row where the third column is not zero, display the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 6 0 farah 8 22 bruno 14 1 ivan 20 7 hana 11 20 alice 23 30 lina 20 14
farah 0.36 bruno 14.00 ivan 2.86 hana 0.55 alice 0.77 lina 1.43
ivan 8 0 bruno 15 2 eli 18 28 alice 29 21 dina 4 26 eli 24 23
bruno 7.50 eli 0.64 alice 1.38 dina 0.15 eli 1.04
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055261
qwen/qwen3.7-plus
awkweave-0055262
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah indigo 16 eli amber 17 kim birch 9 alice fable 14 lina cobalt 7 chen ember 19 gus fable 10 gus fable 10 farah birch 4 gus fable 18
chen ember 19 gus fable 18 eli amber 17
bruno juniper 24 hana birch 25 alice grove 30 eli juniper 26 eli harbor 20 hana indigo 10 kim harbor 13 hana amber 30 dina birch 1
alice grove 30 hana amber 30 eli juniper 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055262-p1
Output the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input sequence for any tied values.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah indigo 16 eli amber 17 kim birch 9 alice fable 14 lina cobalt 7 chen ember 19 gus fable 10 gus fable 10 farah birch 4 gus fable 18
chen ember 19 gus fable 18 eli amber 17
bruno juniper 24 hana birch 25 alice grove 30 eli juniper 26 eli harbor 20 hana indigo 10 kim harbor 13 hana amber 30 dina birch 1
alice grove 30 hana amber 30 eli juniper 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055262
qwen/qwen3.7-plus
awkweave-0055263
Print column 3 followed by column 2 for every record.
{print $3, $2}
chen 22 ready 64 delta lina 110 closed 45 juniper chen 111 paused 31 cobalt farah 92 closed 11 birch ivan 81 ready 64 juniper alice 108 active 90 birch gus 19 paused 112 delta hana 37 ready 52 ember
ready 22 closed 110 paused 111 closed 92 ready 81 active 108 paused 19 ready 37
ivan 3 pending 51 delta dina 62 paused 97 juniper jules 50 closed 37 ember lina 37 paused 98 harbor lina 47 pending 69 amber dina 42 active 90 harbor chen 44 pending 4 harbor kim 108 paused 49 amber chen 100 ready 83 delta bruno 36 closed 119 juniper
pending 3 paused 62 closed 50 paused 37 pending 47 active 42 pending 44 paused 108 ready 100 closed 36
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055263-p1
Display the third column followed by the second column for each record.
{print $3, $2}
chen 22 ready 64 delta lina 110 closed 45 juniper chen 111 paused 31 cobalt farah 92 closed 11 birch ivan 81 ready 64 juniper alice 108 active 90 birch gus 19 paused 112 delta hana 37 ready 52 ember
ready 22 closed 110 paused 111 closed 92 ready 81 active 108 paused 19 ready 37
ivan 3 pending 51 delta dina 62 paused 97 juniper jules 50 closed 37 ember lina 37 paused 98 harbor lina 47 pending 69 amber dina 42 active 90 harbor chen 44 pending 4 harbor kim 108 paused 49 amber chen 100 ready 83 delta bruno 36 closed 119 juniper
pending 3 paused 62 closed 50 paused 37 pending 47 active 42 pending 44 paused 108 ready 100 closed 36
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055263
qwen/qwen3.7-plus
awkweave-0055264
Print the last field of every input line.
{print $NF}
ready indigo harbor 112 closed 49 failed ember delta 119 pending 88 active indigo harbor 66 closed 93 active harbor indigo 36 failed 26 paused harbor amber 103 closed 97 active fable fable 65 pending 65 failed amber amber 64 pending 94 active grove cobalt 51 paused 79 pending juniper delta 5 active 12 ready indigo indi...
49 88 93 26 97 65 94 79 12 108
ready amber ember 13 active 32 pending grove grove 86 pending 37 active harbor ember 74 closed 112 failed birch amber 81 paused 70 pending amber delta 115 failed 23 paused harbor grove 6 failed 89 active ember ember 81 closed 12 failed harbor indigo 98 closed 84 ready delta birch 13 closed 31
32 37 112 70 23 89 12 84 31
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055264-p1
Output the final field from every line of input.
{print $NF}
ready indigo harbor 112 closed 49 failed ember delta 119 pending 88 active indigo harbor 66 closed 93 active harbor indigo 36 failed 26 paused harbor amber 103 closed 97 active fable fable 65 pending 65 failed amber amber 64 pending 94 active grove cobalt 51 paused 79 pending juniper delta 5 active 12 ready indigo indi...
49 88 93 26 97 65 94 79 12 108
ready amber ember 13 active 32 pending grove grove 86 pending 37 active harbor ember 74 closed 112 failed birch amber 81 paused 70 pending amber delta 115 failed 23 paused harbor grove 6 failed 89 active ember ember 81 closed 12 failed harbor indigo 98 closed 84 ready delta birch 13 closed 31
32 37 112 70 23 89 12 84 31
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055264
qwen/qwen3.7-plus
awkweave-0055265
Print the complete records where column 1 is greater than 20.
$1 > 20
4 failed pending 32 pending pending 71 paused paused 90 active closed 59 ready ready 114 pending failed 6 paused ready 14 paused ready 19 closed ready
32 pending pending 71 paused paused 90 active closed 59 ready ready 114 pending failed
60 paused pending 77 failed active 17 failed active 28 ready ready 108 closed active 15 closed paused 24 closed pending 33 pending pending 9 ready paused
60 paused pending 77 failed active 28 ready ready 108 closed active 24 closed pending 33 pending pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055265-p1
Print the entire records for which the value in the first column exceeds 20.
$1 > 20
4 failed pending 32 pending pending 71 paused paused 90 active closed 59 ready ready 114 pending failed 6 paused ready 14 paused ready 19 closed ready
32 pending pending 71 paused paused 90 active closed 59 ready ready 114 pending failed
60 paused pending 77 failed active 17 failed active 28 ready ready 108 closed active 15 closed paused 24 closed pending 33 pending pending 9 ready paused
60 paused pending 77 failed active 28 ready ready 108 closed active 24 closed pending 33 pending pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055265
qwen/qwen3.7-plus
awkweave-0055266
Show whole lines whose 1st field is between 6 and 26, inclusive.
$1 >= 6 && $1 <= 26
8 eli kim failed 17 lina lina ready 7 ivan gus closed 26 bruno bruno ready 30 ivan eli paused 25 jules lina paused
8 eli kim failed 17 lina lina ready 7 ivan gus closed 26 bruno bruno ready 25 jules lina paused
22 kim alice closed 29 chen hana failed 8 eli jules failed 2 gus lina pending 1 alice ivan ready 12 jules hana active 11 dina dina paused 8 chen ivan failed 19 alice kim active 23 dina chen paused
22 kim alice closed 8 eli jules failed 12 jules hana active 11 dina dina paused 8 chen ivan failed 19 alice kim active 23 dina chen paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055266-p1
Display complete lines where the first field falls within the inclusive range of 6 to 26.
$1 >= 6 && $1 <= 26
8 eli kim failed 17 lina lina ready 7 ivan gus closed 26 bruno bruno ready 30 ivan eli paused 25 jules lina paused
8 eli kim failed 17 lina lina ready 7 ivan gus closed 26 bruno bruno ready 25 jules lina paused
22 kim alice closed 29 chen hana failed 8 eli jules failed 2 gus lina pending 1 alice ivan ready 12 jules hana active 11 dina dina paused 8 chen ivan failed 19 alice kim active 23 dina chen paused
22 kim alice closed 8 eli jules failed 12 jules hana active 11 dina dina paused 8 chen ivan failed 19 alice kim active 23 dina chen paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055266
qwen/qwen3.7-plus
awkweave-0055267
Print column 1 only for rows where column 2 is exactly paused.
$2 == "paused"{print $1}
eli pending juniper 42 gus failed harbor 43 bruno active juniper 110 jules closed delta 10 farah paused harbor 11 hana paused fable 32
farah hana
ivan active grove 43 ivan paused delta 73 hana paused delta 113 chen pending delta 77 alice closed cobalt 100 eli closed indigo 10 jules failed birch 71
ivan hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055267-p1
Output only the first column for rows where the second column is exactly 'paused'.
$2 == "paused"{print $1}
eli pending juniper 42 gus failed harbor 43 bruno active juniper 110 jules closed delta 10 farah paused harbor 11 hana paused fable 32
farah hana
ivan active grove 43 ivan paused delta 73 hana paused delta 113 chen pending delta 77 alice closed cobalt 100 eli closed indigo 10 jules failed birch 71
ivan hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055267
qwen/qwen3.7-plus
awkweave-0055268
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
ERROR birch 1 ERROR juniper 97 DEBUG ember 21 INFO indigo 14 WARN birch 104 WARN delta 27 ERROR fable 33 ERROR amber 11 ERROR juniper 10
ERROR birch 1 ERROR juniper 97 ERROR fable 33 ERROR amber 11 ERROR juniper 10
ERROR fable 55 INFO birch 15 ERROR fable 78 WARN fable 58 ERROR harbor 84 INFO fable 14 ERROR grove 33 INFO juniper 32 DEBUG ember 21 INFO amber 84
ERROR fable 55 ERROR fable 78 ERROR harbor 84 ERROR grove 33
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055268-p1
Print all fields from any line where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
ERROR birch 1 ERROR juniper 97 DEBUG ember 21 INFO indigo 14 WARN birch 104 WARN delta 27 ERROR fable 33 ERROR amber 11 ERROR juniper 10
ERROR birch 1 ERROR juniper 97 ERROR fable 33 ERROR amber 11 ERROR juniper 10
ERROR fable 55 INFO birch 15 ERROR fable 78 WARN fable 58 ERROR harbor 84 INFO fable 14 ERROR grove 33 INFO juniper 32 DEBUG ember 21 INFO amber 84
ERROR fable 55 ERROR fable 78 ERROR harbor 84 ERROR grove 33
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055268
qwen/qwen3.7-plus
awkweave-0055269
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 88 failed cobalt 91 paused harbor 45 active fable 58 pending indigo 83 paused birch 58 closed cobalt 999 active
delta 88 failed harbor 45 active fable 58 pending indigo 83 paused birch 58 closed
amber 52 failed juniper 13 active ember 115 active grove 61 failed birch 44 paused ember 66 active cobalt 999 active
amber 52 failed juniper 13 active ember 115 active grove 61 failed birch 44 paused ember 66 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055269-p1
Output every line except those that contain the exact string 'cobalt'.
$0 !~ /cobalt/
delta 88 failed cobalt 91 paused harbor 45 active fable 58 pending indigo 83 paused birch 58 closed cobalt 999 active
delta 88 failed harbor 45 active fable 58 pending indigo 83 paused birch 58 closed
amber 52 failed juniper 13 active ember 115 active grove 61 failed birch 44 paused ember 66 active cobalt 999 active
amber 52 failed juniper 13 active ember 115 active grove 61 failed birch 44 paused ember 66 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055269
qwen/qwen3.7-plus
awkweave-0055270
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
hana cobalt 49 jules birch 100 chen grove 20 lina grove 95 chen birch 64 jules grove 5
chen grove 20 lina grove 95 chen birch 64 jules grove 5
jules juniper 41 jules fable 69 lina amber 53 dina harbor 2 farah ember 92 ivan amber 65 lina indigo 110 alice cobalt 6 ivan juniper 82
lina amber 53 dina harbor 2 farah ember 92 ivan amber 65
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055270-p1
Print lines 3 through 6, inclusive of both endpoints.
NR >= 3 && NR <= 6
hana cobalt 49 jules birch 100 chen grove 20 lina grove 95 chen birch 64 jules grove 5
chen grove 20 lina grove 95 chen birch 64 jules grove 5
jules juniper 41 jules fable 69 lina amber 53 dina harbor 2 farah ember 92 ivan amber 65 lina indigo 110 alice cobalt 6 ivan juniper 82
lina amber 53 dina harbor 2 farah ember 92 ivan amber 65
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055270
qwen/qwen3.7-plus
awkweave-0055271
Output only the first 2 records.
NR <= 2
hana 39 amber jules 64 delta kim 84 birch farah 5 delta dina 107 delta jules 9 cobalt hana 64 harbor eli 52 fable
hana 39 amber jules 64 delta
jules 98 fable hana 46 grove dina 55 grove hana 59 delta chen 79 ember chen 101 amber gus 56 amber ivan 57 ember
jules 98 fable hana 46 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055271-p1
Output only the first 2 records.
NR <= 2
hana 39 amber jules 64 delta kim 84 birch farah 5 delta dina 107 delta jules 9 cobalt hana 64 harbor eli 52 fable
hana 39 amber jules 64 delta
jules 98 fable hana 46 grove dina 55 grove hana 59 delta chen 79 ember chen 101 amber gus 56 amber ivan 57 ember
jules 98 fable hana 46 grove
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0055271
qwen/qwen3.7-plus
awkweave-0055272
Skip the first line and print every remaining line unchanged.
NR > 1
lina 38 juniper chen 4 harbor alice 100 birch hana 2 birch jules 54 delta hana 81 ember
chen 4 harbor alice 100 birch hana 2 birch jules 54 delta hana 81 ember
hana 22 juniper eli 66 harbor jules 88 birch lina 80 harbor kim 104 fable alice 64 ember dina 67 amber gus 61 indigo
eli 66 harbor jules 88 birch lina 80 harbor kim 104 fable alice 64 ember dina 67 amber gus 61 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0055272-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
lina 38 juniper chen 4 harbor alice 100 birch hana 2 birch jules 54 delta hana 81 ember
chen 4 harbor alice 100 birch hana 2 birch jules 54 delta hana 81 ember
hana 22 juniper eli 66 harbor jules 88 birch lina 80 harbor kim 104 fable alice 64 ember dina 67 amber gus 61 indigo
eli 66 harbor jules 88 birch lina 80 harbor kim 104 fable alice 64 ember dina 67 amber gus 61 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0055272
qwen/qwen3.7-plus