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-0051442-p1
Output the final field of every line in the input.
{print $NF}
indigo delta dina 99 16 jules 68 harbor juniper lina 78 62 dina 101 cobalt cobalt kim 41 94 gus 60 amber harbor kim 77 48 hana 45 amber juniper gus 11 52 dina 28 grove fable dina 84 111 farah 66 birch fable dina 33 7 lina 102
68 101 60 45 28 66 102
harbor cobalt lina 52 39 alice 71 grove juniper kim 111 48 kim 85 grove indigo chen 0 115 ivan 40 harbor birch kim 34 118 dina 20 birch indigo dina 30 83 kim 6 ember harbor chen 70 20 hana 29
71 85 40 20 6 29
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051442
qwen/qwen3.7-plus
awkweave-0051443
Print the complete records where column 1 is at least 71.
$1 >= 71
85 closed amber closed 69 pending harbor active 36 ready harbor ready 30 active birch failed 13 closed birch ready 27 active ember pending 44 failed amber active 28 ready fable ready 108 closed amber active 61 ready birch ready
85 closed amber closed 108 closed amber active
73 failed harbor active 118 failed indigo closed 36 failed grove active 70 failed juniper active 29 pending grove ready 12 ready amber active 62 failed juniper closed
73 failed harbor active 118 failed indigo closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051443-p1
Print full records where the value in the first column is greater than or equal to 71.
$1 >= 71
85 closed amber closed 69 pending harbor active 36 ready harbor ready 30 active birch failed 13 closed birch ready 27 active ember pending 44 failed amber active 28 ready fable ready 108 closed amber active 61 ready birch ready
85 closed amber closed 108 closed amber active
73 failed harbor active 118 failed indigo closed 36 failed grove active 70 failed juniper active 29 pending grove ready 12 ready amber active 62 failed juniper closed
73 failed harbor active 118 failed indigo closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051443
qwen/qwen3.7-plus
awkweave-0051444
Show whole lines whose 2nd field is between 4 and 24, inclusive.
$2 >= 4 && $2 <= 24
juniper 22 eli failed cobalt 5 jules pending grove 6 chen failed cobalt 15 alice active delta 11 alice paused birch 8 eli active
juniper 22 eli failed cobalt 5 jules pending grove 6 chen failed cobalt 15 alice active delta 11 alice paused birch 8 eli active
indigo 13 alice active cobalt 10 dina paused harbor 24 kim failed fable 17 jules active cobalt 16 bruno active ember 3 bruno paused cobalt 14 bruno paused ember 7 kim closed fable 2 farah pending
indigo 13 alice active cobalt 10 dina paused harbor 24 kim failed fable 17 jules active cobalt 16 bruno active cobalt 14 bruno paused ember 7 kim closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051444-p1
Display entire lines where the second field falls within the inclusive range of 4 to 24.
$2 >= 4 && $2 <= 24
juniper 22 eli failed cobalt 5 jules pending grove 6 chen failed cobalt 15 alice active delta 11 alice paused birch 8 eli active
juniper 22 eli failed cobalt 5 jules pending grove 6 chen failed cobalt 15 alice active delta 11 alice paused birch 8 eli active
indigo 13 alice active cobalt 10 dina paused harbor 24 kim failed fable 17 jules active cobalt 16 bruno active ember 3 bruno paused cobalt 14 bruno paused ember 7 kim closed fable 2 farah pending
indigo 13 alice active cobalt 10 dina paused harbor 24 kim failed fable 17 jules active cobalt 16 bruno active cobalt 14 bruno paused ember 7 kim closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051444
qwen/qwen3.7-plus
awkweave-0051445
Print column 4 only for rows where column 2 is exactly paused.
$2 == "paused"{print $4}
68 failed amber dina 100 active delta eli 6 ready cobalt alice 62 closed birch bruno 68 paused grove eli 112 closed grove kim
eli
15 pending ember alice 94 closed fable alice 76 closed amber chen 112 closed amber dina 63 active ember chen 68 active cobalt bruno 45 active grove eli 2 failed ember alice 18 failed fable hana 57 failed juniper eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051445-p1
Output only the fourth column for rows where the second column matches the exact string 'paused'.
$2 == "paused"{print $4}
68 failed amber dina 100 active delta eli 6 ready cobalt alice 62 closed birch bruno 68 paused grove eli 112 closed grove kim
eli
15 pending ember alice 94 closed fable alice 76 closed amber chen 112 closed amber dina 63 active ember chen 68 active cobalt bruno 45 active grove eli 2 failed ember alice 18 failed fable hana 57 failed juniper eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051445
qwen/qwen3.7-plus
awkweave-0051446
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
80 ERROR amber 35 INFO amber 20 ERROR harbor 67 WARN ember 101 DEBUG harbor 7 DEBUG amber 64 DEBUG delta 42 ERROR harbor 12 ERROR juniper 72 DEBUG fable
80 ERROR amber 20 ERROR harbor 42 ERROR harbor 12 ERROR juniper
66 DEBUG delta 12 DEBUG indigo 109 ERROR harbor 98 ERROR birch 113 ERROR juniper 78 INFO indigo
109 ERROR harbor 98 ERROR birch 113 ERROR juniper
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051446-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
80 ERROR amber 35 INFO amber 20 ERROR harbor 67 WARN ember 101 DEBUG harbor 7 DEBUG amber 64 DEBUG delta 42 ERROR harbor 12 ERROR juniper 72 DEBUG fable
80 ERROR amber 20 ERROR harbor 42 ERROR harbor 12 ERROR juniper
66 DEBUG delta 12 DEBUG indigo 109 ERROR harbor 98 ERROR birch 113 ERROR juniper 78 INFO indigo
109 ERROR harbor 98 ERROR birch 113 ERROR juniper
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051446
qwen/qwen3.7-plus
awkweave-0051447
Print every line except those containing the exact text grove.
$0 !~ /grove/
ember 5 closed harbor 77 active indigo 11 ready amber 102 ready ember 51 ready delta 84 closed harbor 7 ready fable 26 closed amber 47 ready grove 999 active
ember 5 closed harbor 77 active indigo 11 ready amber 102 ready ember 51 ready delta 84 closed harbor 7 ready fable 26 closed amber 47 ready
cobalt 73 failed grove 59 paused delta 81 failed fable 105 ready indigo 72 active ember 35 active cobalt 114 paused juniper 70 pending delta 63 ready birch 24 ready grove 999 active
cobalt 73 failed delta 81 failed fable 105 ready indigo 72 active ember 35 active cobalt 114 paused juniper 70 pending delta 63 ready birch 24 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051447-p1
Print every line that does not contain the exact substring 'grove'.
$0 !~ /grove/
ember 5 closed harbor 77 active indigo 11 ready amber 102 ready ember 51 ready delta 84 closed harbor 7 ready fable 26 closed amber 47 ready grove 999 active
ember 5 closed harbor 77 active indigo 11 ready amber 102 ready ember 51 ready delta 84 closed harbor 7 ready fable 26 closed amber 47 ready
cobalt 73 failed grove 59 paused delta 81 failed fable 105 ready indigo 72 active ember 35 active cobalt 114 paused juniper 70 pending delta 63 ready birch 24 ready grove 999 active
cobalt 73 failed delta 81 failed fable 105 ready indigo 72 active ember 35 active cobalt 114 paused juniper 70 pending delta 63 ready birch 24 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051447
qwen/qwen3.7-plus
awkweave-0051448
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
jules ember 70 ivan grove 12 hana juniper 0 ivan amber 64 bruno juniper 87 dina cobalt 10 lina amber 63 hana ember 65
ivan amber 64 bruno juniper 87 dina cobalt 10 lina amber 63
gus juniper 111 jules juniper 17 kim cobalt 107 gus birch 107 gus grove 75 chen amber 72 alice juniper 27 kim grove 17 lina indigo 104 gus grove 46
gus birch 107 gus grove 75 chen amber 72 alice juniper 27
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051448-p1
Display lines 4 to 7, inclusive.
NR >= 4 && NR <= 7
jules ember 70 ivan grove 12 hana juniper 0 ivan amber 64 bruno juniper 87 dina cobalt 10 lina amber 63 hana ember 65
ivan amber 64 bruno juniper 87 dina cobalt 10 lina amber 63
gus juniper 111 jules juniper 17 kim cobalt 107 gus birch 107 gus grove 75 chen amber 72 alice juniper 27 kim grove 17 lina indigo 104 gus grove 46
gus birch 107 gus grove 75 chen amber 72 alice juniper 27
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051448
qwen/qwen3.7-plus
awkweave-0051449
Output only the first 4 records.
NR <= 4
lina 95 grove kim 95 ember dina 98 ember bruno 81 indigo eli 51 ember alice 93 delta kim 6 fable alice 46 grove hana 23 grove jules 26 indigo
lina 95 grove kim 95 ember dina 98 ember bruno 81 indigo
lina 79 cobalt gus 107 harbor hana 22 amber dina 34 fable ivan 13 harbor kim 21 delta hana 29 fable
lina 79 cobalt gus 107 harbor hana 22 amber dina 34 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051449-p1
Output just the initial 4 records.
NR <= 4
lina 95 grove kim 95 ember dina 98 ember bruno 81 indigo eli 51 ember alice 93 delta kim 6 fable alice 46 grove hana 23 grove jules 26 indigo
lina 95 grove kim 95 ember dina 98 ember bruno 81 indigo
lina 79 cobalt gus 107 harbor hana 22 amber dina 34 fable ivan 13 harbor kim 21 delta hana 29 fable
lina 79 cobalt gus 107 harbor hana 22 amber dina 34 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051449
qwen/qwen3.7-plus
awkweave-0051450
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 17 delta hana 67 harbor chen 104 amber alice 107 grove lina 15 birch gus 74 grove
hana 67 harbor chen 104 amber alice 107 grove lina 15 birch gus 74 grove
bruno 68 amber kim 72 harbor ivan 39 birch jules 65 ember alice 45 fable eli 79 fable lina 1 delta
kim 72 harbor ivan 39 birch jules 65 ember alice 45 fable eli 79 fable lina 1 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051450-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
bruno 17 delta hana 67 harbor chen 104 amber alice 107 grove lina 15 birch gus 74 grove
hana 67 harbor chen 104 amber alice 107 grove lina 15 birch gus 74 grove
bruno 68 amber kim 72 harbor ivan 39 birch jules 65 ember alice 45 fable eli 79 fable lina 1 delta
kim 72 harbor ivan 39 birch jules 65 ember alice 45 fable eli 79 fable lina 1 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051450
qwen/qwen3.7-plus
awkweave-0051451
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
chen active 59 gus failed 98 lina failed 58 bruno active 11 chen pending 61 gus failed 40 farah failed 115 hana failed 22
0
jules ready 47 hana ready 82 lina failed 46 bruno failed 64 chen ready 50 eli closed 51 lina pending 59 gus ready 27 hana failed 54
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051451-p1
Count records where column 2 is 'closed'; output 0 if none exist.
$2 == "closed"{n++}END{print n+0}
chen active 59 gus failed 98 lina failed 58 bruno active 11 chen pending 61 gus failed 40 farah failed 115 hana failed 22
0
jules ready 47 hana ready 82 lina failed 46 bruno failed 64 chen ready 50 eli closed 51 lina pending 59 gus ready 27 hana failed 54
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051451
qwen/qwen3.7-plus
awkweave-0051452
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
dina amber 22 jules harbor 26 gus harbor 18 bruno amber 28 alice fable 17 eli birch 10
121
alice delta 22 dina birch 6 chen cobalt 19 chen indigo 10 dina ember 1 hana delta 26 alice cobalt 15 gus grove 24 eli grove 5 dina fable 30
158
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051452-p1
Compute and display the total sum of integers in column 3.
{s+=$3}END{print s+0}
dina amber 22 jules harbor 26 gus harbor 18 bruno amber 28 alice fable 17 eli birch 10
121
alice delta 22 dina birch 6 chen cobalt 19 chen indigo 10 dina ember 1 hana delta 26 alice cobalt 15 gus grove 24 eli grove 5 dina fable 30
158
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051452
qwen/qwen3.7-plus
awkweave-0051453
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
1 bruno birch 11 jules harbor 30 eli grove 10 hana amber 6 alice indigo 13 bruno ember 19 chen fable 30 alice cobalt 28 jules fable
16.44
10 eli fable 30 kim harbor 16 bruno juniper 5 farah harbor 18 alice harbor 23 farah amber 11 dina amber 11 eli ember 10 dina harbor 4 farah grove
13.80
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051453-p1
Print the average of column 1, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
1 bruno birch 11 jules harbor 30 eli grove 10 hana amber 6 alice indigo 13 bruno ember 19 chen fable 30 alice cobalt 28 jules fable
16.44
10 eli fable 30 kim harbor 16 bruno juniper 5 farah harbor 18 alice harbor 23 farah amber 11 dina amber 11 eli ember 10 dina harbor 4 farah grove
13.80
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051453
qwen/qwen3.7-plus
awkweave-0051454
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
grove ivan 2 indigo alice 22 grove ivan 20 grove hana 27 indigo kim 11 harbor eli 18 indigo chen 27 indigo bruno 1
1
delta alice 9 birch dina 4 delta dina 21 ember lina 1 ember chen 6 cobalt dina 5 indigo chen 4 grove lina 8 amber hana 13 ember alice 20
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051454-p1
Identify and print the minimum numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
grove ivan 2 indigo alice 22 grove ivan 20 grove hana 27 indigo kim 11 harbor eli 18 indigo chen 27 indigo bruno 1
1
delta alice 9 birch dina 4 delta dina 21 ember lina 1 ember chen 6 cobalt dina 5 indigo chen 4 grove lina 8 amber hana 13 ember alice 20
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051454
qwen/qwen3.7-plus
awkweave-0051455
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 chen delta 23 kim delta 8 gus harbor 15 bruno ember 27 hana indigo 20 dina ember 25 gus amber 5 chen ember
27
1 kim harbor 8 ivan indigo 29 gus grove 7 eli delta 3 bruno grove 14 gus indigo 7 ivan grove 26 jules ember 4 chen delta 27 eli fable
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051455-p1
Identify and print the maximum numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
1 chen delta 23 kim delta 8 gus harbor 15 bruno ember 27 hana indigo 20 dina ember 25 gus amber 5 chen ember
27
1 kim harbor 8 ivan indigo 29 gus grove 7 eli delta 3 bruno grove 14 gus indigo 7 ivan grove 26 jules ember 4 chen delta 27 eli fable
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051455
qwen/qwen3.7-plus
awkweave-0051456
Count all input records and print the total.
END{print NR}
chen 49 alice 42 gus 97 eli 70 gus 1 eli 47 ivan 43 kim 100
8
alice 116 kim 62 farah 31 lina 63 farah 38 chen 32 jules 81 kim 83
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051456-p1
Count the total number of input records and print the result.
END{print NR}
chen 49 alice 42 gus 97 eli 70 gus 1 eli 47 ivan 43 kim 100
8
alice 116 kim 62 farah 31 lina 63 farah 38 chen 32 jules 81 kim 83
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051456
qwen/qwen3.7-plus
awkweave-0051457
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
gus grove 101 jules juniper 31 chen harbor 47 chen harbor 47 kim indigo 97 ivan indigo 70 farah fable 23 dina delta 26 lina cobalt 104 lina cobalt 60
gus grove 101 jules juniper 31 chen harbor 47 kim indigo 97 ivan indigo 70 farah fable 23 dina delta 26 lina cobalt 104 lina cobalt 60
dina juniper 101 alice birch 1 chen juniper 13 chen juniper 49 alice delta 59 dina juniper 101 ivan harbor 9
dina juniper 101 alice birch 1 chen juniper 13 chen juniper 49 alice delta 59 ivan harbor 9
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051457-p1
Eliminate exact duplicate lines while keeping the first instance and original sequence.
!seen[$0]++
gus grove 101 jules juniper 31 chen harbor 47 chen harbor 47 kim indigo 97 ivan indigo 70 farah fable 23 dina delta 26 lina cobalt 104 lina cobalt 60
gus grove 101 jules juniper 31 chen harbor 47 kim indigo 97 ivan indigo 70 farah fable 23 dina delta 26 lina cobalt 104 lina cobalt 60
dina juniper 101 alice birch 1 chen juniper 13 chen juniper 49 alice delta 59 dina juniper 101 ivan harbor 9
dina juniper 101 alice birch 1 chen juniper 13 chen juniper 49 alice delta 59 ivan harbor 9
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051457
qwen/qwen3.7-plus
awkweave-0051458
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
farah harbor 90 eli amber 113 lina delta 70 gus ember 9 dina harbor 99 hana cobalt 45
farah harbor 90 eli amber 113 lina delta 70 gus ember 9 dina harbor 99 hana cobalt 45
hana harbor 72 gus juniper 101 alice delta 114 hana ember 45 gus fable 52 hana delta 11 kim cobalt 41 alice birch 56
hana harbor 72 gus juniper 101 alice delta 114 hana ember 45 gus fable 52 hana delta 11 kim cobalt 41 alice birch 56
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051458-p1
Retain only the first occurrence for each unique value in column 3, maintaining input order.
!seen[$3]++
farah harbor 90 eli amber 113 lina delta 70 gus ember 9 dina harbor 99 hana cobalt 45
farah harbor 90 eli amber 113 lina delta 70 gus ember 9 dina harbor 99 hana cobalt 45
hana harbor 72 gus juniper 101 alice delta 114 hana ember 45 gus fable 52 hana delta 11 kim cobalt 41 alice birch 56
hana harbor 72 gus juniper 101 alice delta 114 hana ember 45 gus fable 52 hana delta 11 kim cobalt 41 alice birch 56
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051458
qwen/qwen3.7-plus
awkweave-0051459
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 19 juniper kim 25 fable farah 14 cobalt kim 4 cobalt dina 28 ember eli 14 amber jules 18 ember dina 30 indigo
eli 19 kim 44 farah 58 kim 62 dina 90 eli 104 jules 122 dina 152
gus 3 amber jules 16 ember lina 5 grove alice 8 birch gus 25 delta eli 17 birch
gus 3 jules 19 lina 24 alice 32 gus 57 eli 74
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051459-p1
For every record, output column 1 and the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 19 juniper kim 25 fable farah 14 cobalt kim 4 cobalt dina 28 ember eli 14 amber jules 18 ember dina 30 indigo
eli 19 kim 44 farah 58 kim 62 dina 90 eli 104 jules 122 dina 152
gus 3 amber jules 16 ember lina 5 grove alice 8 birch gus 25 delta eli 17 birch
gus 3 jules 19 lina 24 alice 32 gus 57 eli 74
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051459
qwen/qwen3.7-plus
awkweave-0051460
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
ivan 20 26 ember gus 25 23 ember dina 1 29 ember kim 11 24 grove dina 4 22 birch gus 3 26 harbor eli 8 15 ember
ivan 46 gus 48 dina 30 kim 35 dina 26 gus 29 eli 23
alice 11 9 ember hana 22 14 grove jules 6 26 indigo eli 17 7 birch jules 15 6 harbor hana 23 11 fable lina 13 30 ember
alice 20 hana 36 jules 32 eli 24 jules 21 hana 34 lina 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051460-p1
For each line, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
ivan 20 26 ember gus 25 23 ember dina 1 29 ember kim 11 24 grove dina 4 22 birch gus 3 26 harbor eli 8 15 ember
ivan 46 gus 48 dina 30 kim 35 dina 26 gus 29 eli 23
alice 11 9 ember hana 22 14 grove jules 6 26 indigo eli 17 7 birch jules 15 6 harbor hana 23 11 fable lina 13 30 ember
alice 20 hana 36 jules 32 eli 24 jules 21 hana 34 lina 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051460
qwen/qwen3.7-plus
awkweave-0051461
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
eli 18 chen 12 alice 26 kim 15 gus 8 lina 20 dina 25
eli fail chen fail alice pass kim fail gus fail lina fail dina pass
farah 27 eli 20 gus 3 alice 22 gus 30 farah 21 alice 27 gus 2
farah pass eli fail gus fail alice fail gus pass farah fail alice pass gus fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051461-p1
Output the first column; if the second column is 24 or higher, output pass, otherwise output fail.
{print $1,($2>=24?"pass":"fail")}
eli 18 chen 12 alice 26 kim 15 gus 8 lina 20 dina 25
eli fail chen fail alice pass kim fail gus fail lina fail dina pass
farah 27 eli 20 gus 3 alice 22 gus 30 farah 21 alice 27 gus 2
farah pass eli fail gus fail alice fail gus pass farah fail alice pass gus fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051461
qwen/qwen3.7-plus
awkweave-0051462
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
chen delta 103 bruno fable 24 gus indigo 30 eli indigo 2 farah grove 117 bruno fable 80 lina juniper 105 kim fable 73
DELTA FABLE INDIGO INDIGO GROVE FABLE JUNIPER FABLE
alice cobalt 69 jules amber 9 chen indigo 28 ivan indigo 87 kim fable 3 bruno cobalt 29 alice delta 5 bruno amber 13
COBALT AMBER INDIGO INDIGO FABLE COBALT DELTA AMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051462-p1
Transform the second column to uppercase and display only that column.
{print toupper($2)}
chen delta 103 bruno fable 24 gus indigo 30 eli indigo 2 farah grove 117 bruno fable 80 lina juniper 105 kim fable 73
DELTA FABLE INDIGO INDIGO GROVE FABLE JUNIPER FABLE
alice cobalt 69 jules amber 9 chen indigo 28 ivan indigo 87 kim fable 3 bruno cobalt 29 alice delta 5 bruno amber 13
COBALT AMBER INDIGO INDIGO FABLE COBALT DELTA AMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051462
qwen/qwen3.7-plus
awkweave-0051463
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
harbor 96 fable 112 juniper 109 birch 44 delta 101 amber 21
ar ab un ir el mb
fable 86 birch 43 fable 29 delta 43 indigo 19 juniper 3 indigo 36 ember 100
ab ir ab el nd un nd mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051463-p1
Extract and print a 2-character substring from the first column, starting at position 2.
{print substr($1,2,2)}
harbor 96 fable 112 juniper 109 birch 44 delta 101 amber 21
ar ab un ir el mb
fable 86 birch 43 fable 29 delta 43 indigo 19 juniper 3 indigo 36 ember 100
ab ir ab el nd un nd mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051463
qwen/qwen3.7-plus
awkweave-0051464
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
birch_harbor 1 harbor_harbor 56 fable_amber 109 harbor_ember 98 ember_ember 47 amber_amber 97 ember_harbor 42
birch harbor harbor harbor fable amber harbor ember ember ember amber amber ember harbor
birch_juniper 22 cobalt_harbor 48 cobalt_amber 26 juniper_juniper 82 juniper_juniper 28 indigo_ember 21 amber_juniper 1 juniper_grove 119 juniper_indigo 74
birch juniper cobalt harbor cobalt amber juniper juniper juniper juniper indigo ember amber juniper juniper grove juniper indigo
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051464-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
birch_harbor 1 harbor_harbor 56 fable_amber 109 harbor_ember 98 ember_ember 47 amber_amber 97 ember_harbor 42
birch harbor harbor harbor fable amber harbor ember ember ember amber amber ember harbor
birch_juniper 22 cobalt_harbor 48 cobalt_amber 26 juniper_juniper 82 juniper_juniper 28 indigo_ember 21 amber_juniper 1 juniper_grove 119 juniper_indigo 74
birch juniper cobalt harbor cobalt amber juniper juniper juniper juniper indigo ember amber juniper juniper grove juniper indigo
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051464
qwen/qwen3.7-plus
awkweave-0051465
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)}
alice harbor 89 pending chen amber 32 pending bruno grove 106 ready alice ember 29 ready alice grove 35 pending ivan birch 116 closed
pending 89 harbor alice pending 32 amber chen ready 106 grove bruno ready 29 ember alice pending 35 grove alice closed 116 birch ivan
chen delta 81 failed kim juniper 43 pending gus delta 85 paused hana amber 109 active eli cobalt 3 ready lina indigo 41 failed ivan juniper 6 pending eli indigo 105 active hana indigo 78 failed farah harbor 99 active
failed 81 delta chen pending 43 juniper kim paused 85 delta gus active 109 amber hana ready 3 cobalt eli failed 41 indigo lina pending 6 juniper ivan active 105 indigo eli failed 78 indigo hana active 99 harbor farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051465-p1
Reverse the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice harbor 89 pending chen amber 32 pending bruno grove 106 ready alice ember 29 ready alice grove 35 pending ivan birch 116 closed
pending 89 harbor alice pending 32 amber chen ready 106 grove bruno ready 29 ember alice pending 35 grove alice closed 116 birch ivan
chen delta 81 failed kim juniper 43 pending gus delta 85 paused hana amber 109 active eli cobalt 3 ready lina indigo 41 failed ivan juniper 6 pending eli indigo 105 active hana indigo 78 failed farah harbor 99 active
failed 81 delta chen pending 43 juniper kim paused 85 delta gus active 109 amber hana ready 3 cobalt eli failed 41 indigo lina pending 6 juniper ivan active 105 indigo eli failed 78 indigo hana active 99 harbor farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051465
qwen/qwen3.7-plus
awkweave-0051466
Print the number of whitespace-separated fields on each line.
{print NF}
dina juniper 60 paused chen indigo 112 ready chen birch 104 paused alice cobalt 118 failed ivan indigo 33 pending alice harbor 73 failed
4 4 4 4 4 4
gus birch 6 failed lina fable 19 ready eli delta 89 active gus juniper 93 failed lina juniper 4 failed bruno birch 91 closed gus delta 48 ready
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051466-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
dina juniper 60 paused chen indigo 112 ready chen birch 104 paused alice cobalt 118 failed ivan indigo 33 pending alice harbor 73 failed
4 4 4 4 4 4
gus birch 6 failed lina fable 19 ready eli delta 89 active gus juniper 93 failed lina juniper 4 failed bruno birch 91 closed gus delta 48 ready
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051466
qwen/qwen3.7-plus
awkweave-0051467
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 5 bruno gamma 26 ivan delta 49 jules alpha 48 dina delta 62 gus gamma 19
gamma 3 delta 2 alpha 1
hana alpha 65 jules gamma 39 hana delta 92 jules gamma 106 bruno beta 101 alice gamma 23 lina beta 120 kim beta 116
alpha 1 gamma 3 delta 1 beta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051467-p1
Tally the occurrences of each value in the second column. Display each value and its count, ordered by 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 5 bruno gamma 26 ivan delta 49 jules alpha 48 dina delta 62 gus gamma 19
gamma 3 delta 2 alpha 1
hana alpha 65 jules gamma 39 hana delta 92 jules gamma 106 bruno beta 101 alice gamma 23 lina beta 120 kim beta 116
alpha 1 gamma 3 delta 1 beta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051467
qwen/qwen3.7-plus
awkweave-0051468
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]]}
chen delta 20 chen beta 11 bruno beta 27 alice delta 11 bruno beta 11 farah alpha 14 gus gamma 18
delta 31 beta 49 alpha 14 gamma 18
alice alpha 6 dina beta 2 hana alpha 24 kim delta 16 ivan alpha 1 jules beta 29 eli gamma 15 bruno alpha 18 dina delta 30
alpha 49 beta 31 delta 46 gamma 15
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051468-p1
Calculate the sum of the third column for each group defined by the second column, printing results 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]]}
chen delta 20 chen beta 11 bruno beta 27 alice delta 11 bruno beta 11 farah alpha 14 gus gamma 18
delta 31 beta 49 alpha 14 gamma 18
alice alpha 6 dina beta 2 hana alpha 24 kim delta 16 ivan alpha 1 jules beta 29 eli gamma 15 bruno alpha 18 dina delta 30
alpha 49 beta 31 delta 46 gamma 15
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051468
qwen/qwen3.7-plus
awkweave-0051469
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 harbor 90 gamma delta 19 beta fable 26 gamma amber 34 beta indigo 102 gamma harbor 103 gamma grove 12
gamma 5 beta 2
alpha birch 6 beta delta 28 gamma fable 52 beta ember 95 gamma amber 82 beta grove 17 delta juniper 55 delta ember 110
beta 3 gamma 2 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051469-p1
List each duplicate value from the first column along 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 harbor 90 gamma delta 19 beta fable 26 gamma amber 34 beta indigo 102 gamma harbor 103 gamma grove 12
gamma 5 beta 2
alpha birch 6 beta delta 28 gamma fable 52 beta ember 95 gamma amber 82 beta grove 17 delta juniper 55 delta ember 110
beta 3 gamma 2 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051469
qwen/qwen3.7-plus
awkweave-0051470
The first row is a header. Print the score column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state region score record_id r001 ivan 22 ready r002 chen 14 paused r003 lina 6 pending r004 eli 27 paused r005 eli 13 pending r006 bruno 7 failed r007 chen 25 ready
22 14 6 27 13 7 25
state region score record_id r001 kim 7 active r002 eli 14 ready r003 chen 20 closed r004 bruno 9 failed r005 gus 6 paused r006 lina 11 closed r007 ivan 15 pending r008 jules 25 paused r009 alice 22 closed
7 14 20 9 6 11 15 25 22
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051470-p1
Skip the header row and print the score column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state region score record_id r001 ivan 22 ready r002 chen 14 paused r003 lina 6 pending r004 eli 27 paused r005 eli 13 pending r006 bruno 7 failed r007 chen 25 ready
22 14 6 27 13 7 25
state region score record_id r001 kim 7 active r002 eli 14 ready r003 chen 20 closed r004 bruno 9 failed r005 gus 6 paused r006 lina 11 closed r007 ivan 15 pending r008 jules 25 paused r009 alice 22 closed
7 14 20 9 6 11 15 25 22
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051470
qwen/qwen3.7-plus
awkweave-0051471
The first row is a header. Print display_name for data rows whose score is greater than 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 farah 14 ready r002 alice 27 ready r003 dina 21 ready r004 dina 8 ready r005 gus 24 closed r006 jules 25 failed r007 jules 27 closed r008 gus 30 failed
alice dina gus jules jules gus
record_id display_name score state r001 hana 1 active r002 lina 18 active r003 farah 19 failed r004 chen 28 active r005 gus 20 ready r006 eli 20 closed
lina farah chen gus eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051471-p1
Ignore the header row and print the display_name for rows where the score exceeds 15.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]}
record_id display_name score state r001 farah 14 ready r002 alice 27 ready r003 dina 21 ready r004 dina 8 ready r005 gus 24 closed r006 jules 25 failed r007 jules 27 closed r008 gus 30 failed
alice dina gus jules jules gus
record_id display_name score state r001 hana 1 active r002 lina 18 active r003 farah 19 failed r004 chen 28 active r005 gus 20 ready r006 eli 20 closed
lina farah chen gus eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051471
qwen/qwen3.7-plus
awkweave-0051472
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 9 pending chen 10 paused eli 15 pending lina 13 pending ivan 19 pending alice 11 active alice 3 closed alice 27 failed bruno 20 closed lina 27 active
9 10 15 13 19 11 3 27 20 27
gus 12 ready bruno 23 failed kim 27 ready bruno 14 paused alice 4 active ivan 10 pending jules 6 ready
12 23 27 14 4 10 6
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051472-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
dina 9 pending chen 10 paused eli 15 pending lina 13 pending ivan 19 pending alice 11 active alice 3 closed alice 27 failed bruno 20 closed lina 27 active
9 10 15 13 19 11 3 27 20 27
gus 12 ready bruno 23 failed kim 27 ready bruno 14 paused alice 4 active ivan 10 pending jules 6 ready
12 23 27 14 4 10 6
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0051472
qwen/qwen3.7-plus
awkweave-0051473
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}
lina,24,ready jules,6,ready jules,4,pending eli,7,closed kim,9,paused bruno,18,closed
lina
chen,15,ready chen,16,paused chen,14,active farah,11,pending kim,5,closed hana,7,ready
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051473-p1
Output the first field of comma-separated records where the second field is greater than 23, assuming no quoted commas.
BEGIN{FS=OFS=","}$2>23{print $1}
lina,24,ready jules,6,ready jules,4,pending eli,7,closed kim,9,paused bruno,18,closed
lina
chen,15,ready chen,16,paused chen,14,active farah,11,pending kim,5,closed hana,7,ready
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051473
qwen/qwen3.7-plus
awkweave-0051474
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina cobalt 2 hana amber 119 jules amber 108 jules fable 31 farah cobalt 18 lina birch 101
lina cobalt 2 hana amber 119 jules amber 108 jules fable 31 farah cobalt 18 lina birch 101
farah birch 63 ivan grove 27 alice cobalt 78 lina fable 100 gus amber 104 kim indigo 63 eli cobalt 5
farah birch 63 ivan grove 27 alice cobalt 78 lina fable 100 gus amber 104 kim indigo 63 eli cobalt 5
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051474-p1
Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space.
{$1=$1;print}
lina cobalt 2 hana amber 119 jules amber 108 jules fable 31 farah cobalt 18 lina birch 101
lina cobalt 2 hana amber 119 jules amber 108 jules fable 31 farah cobalt 18 lina birch 101
farah birch 63 ivan grove 27 alice cobalt 78 lina fable 100 gus amber 104 kim indigo 63 eli cobalt 5
farah birch 63 ivan grove 27 alice cobalt 78 lina fable 100 gus amber 104 kim indigo 63 eli cobalt 5
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051474
qwen/qwen3.7-plus
awkweave-0051475
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina grove 58 paused lina amber 8 failed gus ember 120 active lina indigo 50 ready jules fable 35 ready jules amber 31 closed chen indigo 30 closed hana birch 116 closed
jules amber 31 closed
kim ember 38 pending chen delta 117 pending dina grove 7 closed hana grove 68 active farah fable 24 closed eli grove 7 pending
chen delta 117 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051475-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
lina grove 58 paused lina amber 8 failed gus ember 120 active lina indigo 50 ready jules fable 35 ready jules amber 31 closed chen indigo 30 closed hana birch 116 closed
jules amber 31 closed
kim ember 38 pending chen delta 117 pending dina grove 7 closed hana grove 68 active farah fable 24 closed eli grove 7 pending
chen delta 117 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051475
qwen/qwen3.7-plus
awkweave-0051476
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
ivan 40 eli 116 gus 86 hana 33 farah 7 gus 54 ivan 114
eli 116 gus 54
bruno 32 hana 96 bruno 13 kim 58 alice 107 hana 120 alice 76
hana 96 hana 120
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051476-p1
Print every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.).
NR%4==2
ivan 40 eli 116 gus 86 hana 33 farah 7 gus 54 ivan 114
eli 116 gus 54
bruno 32 hana 96 bruno 13 kim 58 alice 107 hana 120 alice 76
hana 96 hana 120
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051476
qwen/qwen3.7-plus
awkweave-0051477
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma grove 83 delta indigo 102 gamma harbor 11 beta grove 10 alpha ember 100 delta delta 117 alpha birch 73 beta birch 14 beta amber 116
7
delta amber 4 alpha harbor 54 delta ember 119 delta fable 119 alpha cobalt 71 delta harbor 70
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051477-p1
Calculate and output only the number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma grove 83 delta indigo 102 gamma harbor 11 beta grove 10 alpha ember 100 delta delta 117 alpha birch 73 beta birch 14 beta amber 116
7
delta amber 4 alpha harbor 54 delta ember 119 delta fable 119 alpha cobalt 71 delta harbor 70
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051477
qwen/qwen3.7-plus
awkweave-0051478
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}
eli 9 0 bruno 13 30 dina 27 19 dina 4 18 farah 14 13 hana 19 17 dina 7 16 chen 17 27
bruno 0.43 dina 1.42 dina 0.22 farah 1.08 hana 1.12 dina 0.44 chen 0.63
alice 30 0 chen 25 6 kim 22 11 kim 27 29 hana 4 25 dina 13 25 ivan 26 4 gus 20 8 jules 28 16 dina 11 29
chen 4.17 kim 2.00 kim 0.93 hana 0.16 dina 0.52 ivan 6.50 gus 2.50 jules 1.75 dina 0.38
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051478-p1
For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 9 0 bruno 13 30 dina 27 19 dina 4 18 farah 14 13 hana 19 17 dina 7 16 chen 17 27
bruno 0.43 dina 1.42 dina 0.22 farah 1.08 hana 1.12 dina 0.44 chen 0.63
alice 30 0 chen 25 6 kim 22 11 kim 27 29 hana 4 25 dina 13 25 ivan 26 4 gus 20 8 jules 28 16 dina 11 29
chen 4.17 kim 2.00 kim 0.93 hana 0.16 dina 0.52 ivan 6.50 gus 2.50 jules 1.75 dina 0.38
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051478
qwen/qwen3.7-plus
awkweave-0051479
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana grove 11 gus indigo 13 dina ember 25 dina indigo 18 lina indigo 27 alice juniper 13 alice harbor 18 lina grove 18 eli birch 4
lina indigo 27 dina ember 25 dina indigo 18
chen amber 2 hana harbor 20 bruno amber 20 kim juniper 27 kim ember 17 hana indigo 27 gus delta 7 gus amber 13 lina cobalt 7 gus juniper 1
kim juniper 27 hana indigo 27 hana harbor 20
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051479-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; maintain original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
hana grove 11 gus indigo 13 dina ember 25 dina indigo 18 lina indigo 27 alice juniper 13 alice harbor 18 lina grove 18 eli birch 4
lina indigo 27 dina ember 25 dina indigo 18
chen amber 2 hana harbor 20 bruno amber 20 kim juniper 27 kim ember 17 hana indigo 27 gus delta 7 gus amber 13 lina cobalt 7 gus juniper 1
kim juniper 27 hana indigo 27 hana harbor 20
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051479
qwen/qwen3.7-plus
awkweave-0051480
Select the 4th and 1st fields in that order.
{print $4, $1}
harbor harbor harbor indigo juniper juniper grove harbor grove harbor fable cobalt birch birch amber harbor birch indigo indigo juniper harbor harbor amber birch harbor amber indigo delta delta delta indigo grove
indigo harbor harbor juniper cobalt grove harbor birch juniper birch birch harbor delta harbor grove delta
amber amber birch fable juniper juniper amber grove fable cobalt amber juniper harbor fable ember juniper indigo fable fable fable delta indigo grove indigo
fable amber grove juniper juniper fable juniper harbor fable indigo indigo delta
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051480-p1
Rearrange the fields to output the 4th field followed by the 1st field.
{print $4, $1}
harbor harbor harbor indigo juniper juniper grove harbor grove harbor fable cobalt birch birch amber harbor birch indigo indigo juniper harbor harbor amber birch harbor amber indigo delta delta delta indigo grove
indigo harbor harbor juniper cobalt grove harbor birch juniper birch birch harbor delta harbor grove delta
amber amber birch fable juniper juniper amber grove fable cobalt amber juniper harbor fable ember juniper indigo fable fable fable delta indigo grove indigo
fable amber grove juniper juniper fable juniper harbor fable indigo indigo delta
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051480
qwen/qwen3.7-plus
awkweave-0051481
Print the last field of every input line.
{print $NF}
97 kim ivan amber pending grove eli 10 eli dina delta ready birch alice 28 kim eli amber ready grove ivan 85 bruno lina fable closed amber kim 102 dina alice grove failed ember alice 13 jules kim amber active harbor kim
eli alice ivan kim alice kim
33 dina jules amber ready delta gus 102 eli alice delta paused amber farah 92 chen ivan juniper active fable farah 30 dina jules indigo active cobalt dina 36 dina eli delta pending ember kim 52 eli farah juniper pending birch farah 0 ivan farah fable paused birch lina 3 chen dina cobalt active amber bruno
gus farah farah dina kim farah lina bruno
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051481-p1
Display the final field from every line of input.
{print $NF}
97 kim ivan amber pending grove eli 10 eli dina delta ready birch alice 28 kim eli amber ready grove ivan 85 bruno lina fable closed amber kim 102 dina alice grove failed ember alice 13 jules kim amber active harbor kim
eli alice ivan kim alice kim
33 dina jules amber ready delta gus 102 eli alice delta paused amber farah 92 chen ivan juniper active fable farah 30 dina jules indigo active cobalt dina 36 dina eli delta pending ember kim 52 eli farah juniper pending birch farah 0 ivan farah fable paused birch lina 3 chen dina cobalt active amber bruno
gus farah farah dina kim farah lina bruno
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051481
qwen/qwen3.7-plus
awkweave-0051482
Print the complete records where column 1 is at most 39.
$1 <= 39
21 paused ember 93 active cobalt 78 closed ember 55 closed ember 77 paused indigo 81 failed harbor 71 failed amber 28 pending delta 22 pending juniper
21 paused ember 28 pending delta 22 pending juniper
91 ready grove 107 pending fable 49 pending cobalt 112 closed delta 62 failed fable 68 paused ember 95 failed birch
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051482-p1
Output all complete records where the value in the first column is less than or equal to 39.
$1 <= 39
21 paused ember 93 active cobalt 78 closed ember 55 closed ember 77 paused indigo 81 failed harbor 71 failed amber 28 pending delta 22 pending juniper
21 paused ember 28 pending delta 22 pending juniper
91 ready grove 107 pending fable 49 pending cobalt 112 closed delta 62 failed fable 68 paused ember 95 failed birch
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051482
qwen/qwen3.7-plus
awkweave-0051483
Show whole lines whose 3rd field is between 12 and 25, inclusive.
$3 >= 12 && $3 <= 25
kim ready 12 delta alice active 3 amber jules failed 27 ember lina pending 23 birch eli ready 25 amber dina pending 23 indigo gus paused 10 delta eli paused 6 delta
kim ready 12 delta lina pending 23 birch eli ready 25 amber dina pending 23 indigo
bruno ready 12 ember bruno failed 13 delta chen paused 27 grove alice ready 20 amber bruno pending 25 delta lina active 17 cobalt ivan failed 1 amber
bruno ready 12 ember bruno failed 13 delta alice ready 20 amber bruno pending 25 delta lina active 17 cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051483-p1
Print entire lines where the third field falls within the inclusive range of 12 to 25.
$3 >= 12 && $3 <= 25
kim ready 12 delta alice active 3 amber jules failed 27 ember lina pending 23 birch eli ready 25 amber dina pending 23 indigo gus paused 10 delta eli paused 6 delta
kim ready 12 delta lina pending 23 birch eli ready 25 amber dina pending 23 indigo
bruno ready 12 ember bruno failed 13 delta chen paused 27 grove alice ready 20 amber bruno pending 25 delta lina active 17 cobalt ivan failed 1 amber
bruno ready 12 ember bruno failed 13 delta alice ready 20 amber bruno pending 25 delta lina active 17 cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051483
qwen/qwen3.7-plus
awkweave-0051484
Print column 3 only for rows where column 2 is exactly failed.
$2 == "failed"{print $3}
cobalt paused chen 82 cobalt failed chen 109 birch pending ivan 118 grove ready jules 50 grove active gus 17 grove ready lina 75 cobalt paused farah 30 fable active farah 8 indigo pending hana 55
chen
amber closed chen 31 ember closed farah 113 delta failed farah 5 fable active lina 45 delta pending alice 62 fable failed lina 18 indigo ready eli 54 birch closed alice 7
farah lina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051484-p1
Display the third column exclusively for rows where the second column matches 'failed' exactly.
$2 == "failed"{print $3}
cobalt paused chen 82 cobalt failed chen 109 birch pending ivan 118 grove ready jules 50 grove active gus 17 grove ready lina 75 cobalt paused farah 30 fable active farah 8 indigo pending hana 55
chen
amber closed chen 31 ember closed farah 113 delta failed farah 5 fable active lina 45 delta pending alice 62 fable failed lina 18 indigo ready eli 54 birch closed alice 7
farah lina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051484
qwen/qwen3.7-plus
awkweave-0051485
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
85 indigo INFO 39 harbor ERROR 106 indigo INFO 27 fable ERROR 75 grove WARN 15 birch DEBUG 45 delta INFO 60 juniper DEBUG
85 indigo INFO 106 indigo INFO 45 delta INFO
42 juniper INFO 18 grove ERROR 7 amber WARN 79 grove INFO 69 indigo ERROR 3 amber DEBUG 107 ember INFO 91 harbor ERROR
42 juniper INFO 79 grove INFO 107 ember INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051485-p1
Output every field from lines where the third field starts with 'INFO'.
$3 ~ /^INFO/
85 indigo INFO 39 harbor ERROR 106 indigo INFO 27 fable ERROR 75 grove WARN 15 birch DEBUG 45 delta INFO 60 juniper DEBUG
85 indigo INFO 106 indigo INFO 45 delta INFO
42 juniper INFO 18 grove ERROR 7 amber WARN 79 grove INFO 69 indigo ERROR 3 amber DEBUG 107 ember INFO 91 harbor ERROR
42 juniper INFO 79 grove INFO 107 ember INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051485
qwen/qwen3.7-plus
awkweave-0051486
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 95 failed harbor 6 paused harbor 3 paused birch 23 paused ember 95 ready amber 113 ready delta 94 ready grove 94 ready birch 68 ready cobalt 999 active
delta 95 failed harbor 6 paused harbor 3 paused birch 23 paused ember 95 ready amber 113 ready delta 94 ready grove 94 ready birch 68 ready
cobalt 22 active harbor 106 failed amber 61 closed juniper 37 paused cobalt 42 closed indigo 23 paused cobalt 999 active
harbor 106 failed amber 61 closed juniper 37 paused indigo 23 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051486-p1
Print all lines that do not contain the exact string 'cobalt'.
$0 !~ /cobalt/
delta 95 failed harbor 6 paused harbor 3 paused birch 23 paused ember 95 ready amber 113 ready delta 94 ready grove 94 ready birch 68 ready cobalt 999 active
delta 95 failed harbor 6 paused harbor 3 paused birch 23 paused ember 95 ready amber 113 ready delta 94 ready grove 94 ready birch 68 ready
cobalt 22 active harbor 106 failed amber 61 closed juniper 37 paused cobalt 42 closed indigo 23 paused cobalt 999 active
harbor 106 failed amber 61 closed juniper 37 paused indigo 23 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051486
qwen/qwen3.7-plus
awkweave-0051487
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
bruno delta 114 ivan ember 105 bruno cobalt 61 jules grove 99 gus grove 120 farah juniper 62 ivan delta 72 farah juniper 25 bruno grove 97 farah amber 34
ivan ember 105 bruno cobalt 61 jules grove 99
kim grove 53 farah ember 107 chen grove 77 kim juniper 93 gus harbor 111 hana juniper 74 dina cobalt 82 chen birch 72 lina cobalt 114 dina birch 63
farah ember 107 chen grove 77 kim juniper 93
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051487-p1
Output lines 2 to 4, inclusive of both the start and end lines.
NR >= 2 && NR <= 4
bruno delta 114 ivan ember 105 bruno cobalt 61 jules grove 99 gus grove 120 farah juniper 62 ivan delta 72 farah juniper 25 bruno grove 97 farah amber 34
ivan ember 105 bruno cobalt 61 jules grove 99
kim grove 53 farah ember 107 chen grove 77 kim juniper 93 gus harbor 111 hana juniper 74 dina cobalt 82 chen birch 72 lina cobalt 114 dina birch 63
farah ember 107 chen grove 77 kim juniper 93
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051487
qwen/qwen3.7-plus
awkweave-0051488
Output only the first 5 records.
NR <= 5
gus 58 indigo eli 57 harbor farah 77 indigo eli 82 cobalt eli 92 cobalt jules 25 fable kim 91 harbor dina 21 delta hana 109 harbor farah 78 amber
gus 58 indigo eli 57 harbor farah 77 indigo eli 82 cobalt eli 92 cobalt
gus 43 amber jules 61 delta lina 10 juniper chen 117 cobalt farah 22 juniper ivan 116 indigo jules 46 birch ivan 116 ember jules 5 ember
gus 43 amber jules 61 delta lina 10 juniper chen 117 cobalt farah 22 juniper
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051488-p1
Show only the initial 5 records.
NR <= 5
gus 58 indigo eli 57 harbor farah 77 indigo eli 82 cobalt eli 92 cobalt jules 25 fable kim 91 harbor dina 21 delta hana 109 harbor farah 78 amber
gus 58 indigo eli 57 harbor farah 77 indigo eli 82 cobalt eli 92 cobalt
gus 43 amber jules 61 delta lina 10 juniper chen 117 cobalt farah 22 juniper ivan 116 indigo jules 46 birch ivan 116 ember jules 5 ember
gus 43 amber jules 61 delta lina 10 juniper chen 117 cobalt farah 22 juniper
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051488
qwen/qwen3.7-plus
awkweave-0051489
Skip the first line and print every remaining line unchanged.
NR > 1
lina 69 cobalt hana 66 indigo gus 95 ember ivan 29 amber hana 90 delta alice 42 cobalt dina 88 harbor bruno 48 delta ivan 1 juniper bruno 120 fable
hana 66 indigo gus 95 ember ivan 29 amber hana 90 delta alice 42 cobalt dina 88 harbor bruno 48 delta ivan 1 juniper bruno 120 fable
eli 96 harbor eli 57 indigo kim 86 delta kim 43 juniper farah 38 cobalt lina 74 grove bruno 44 juniper
eli 57 indigo kim 86 delta kim 43 juniper farah 38 cobalt lina 74 grove bruno 44 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051489-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
lina 69 cobalt hana 66 indigo gus 95 ember ivan 29 amber hana 90 delta alice 42 cobalt dina 88 harbor bruno 48 delta ivan 1 juniper bruno 120 fable
hana 66 indigo gus 95 ember ivan 29 amber hana 90 delta alice 42 cobalt dina 88 harbor bruno 48 delta ivan 1 juniper bruno 120 fable
eli 96 harbor eli 57 indigo kim 86 delta kim 43 juniper farah 38 cobalt lina 74 grove bruno 44 juniper
eli 57 indigo kim 86 delta kim 43 juniper farah 38 cobalt lina 74 grove bruno 44 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051489
qwen/qwen3.7-plus
awkweave-0051500
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
jules 15 ivan 6 ivan 19 chen 15 chen 8 kim 14 ivan 16
jules fail ivan fail ivan fail chen fail chen fail kim fail ivan fail
gus 4 chen 6 farah 23 ivan 29 kim 24 hana 21 gus 8 dina 15 lina 2 ivan 1
gus fail chen fail farah pass ivan pass kim pass hana fail gus fail dina fail lina fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051500-p1
Print the first column; if the second column is 22 or greater, output 'pass', otherwise output 'fail'.
{print $1,($2>=22?"pass":"fail")}
jules 15 ivan 6 ivan 19 chen 15 chen 8 kim 14 ivan 16
jules fail ivan fail ivan fail chen fail chen fail kim fail ivan fail
gus 4 chen 6 farah 23 ivan 29 kim 24 hana 21 gus 8 dina 15 lina 2 ivan 1
gus fail chen fail farah pass ivan pass kim pass hana fail gus fail dina fail lina fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051500
qwen/qwen3.7-plus
awkweave-0051501
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
lina cobalt 15 chen ember 4 chen ember 118 gus birch 115 farah amber 55 alice birch 118 hana fable 34
LINA CHEN CHEN GUS FARAH ALICE HANA
kim delta 53 jules delta 26 bruno indigo 11 lina birch 44 gus cobalt 41 ivan fable 7 eli ember 81 bruno indigo 118
KIM JULES BRUNO LINA GUS IVAN ELI BRUNO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0051501-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
lina cobalt 15 chen ember 4 chen ember 118 gus birch 115 farah amber 55 alice birch 118 hana fable 34
LINA CHEN CHEN GUS FARAH ALICE HANA
kim delta 53 jules delta 26 bruno indigo 11 lina birch 44 gus cobalt 41 ivan fable 7 eli ember 81 bruno indigo 118
KIM JULES BRUNO LINA GUS IVAN ELI BRUNO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0051501
qwen/qwen3.7-plus
awkweave-0051502
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
delta 20 juniper 8 fable 24 harbor 5 fable 98 juniper 77 cobalt 98
del jun fab har fab jun cob
delta 87 fable 62 cobalt 105 amber 73 birch 24 grove 91 birch 90 amber 43
del fab cob amb bir gro bir amb
substring
1
train
original-grammar
CC-BY-4.0
null
null