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-0031941-p1
For every record, print the fourth column followed by the first column.
{print $4, $1}
16 84 chen bruno active cobalt 76 52 chen alice pending harbor 28 64 hana kim ready amber 76 90 lina ivan pending juniper 41 7 dina lina pending birch 56 62 bruno lina closed juniper
bruno 16 alice 76 kim 28 ivan 76 lina 41 lina 56
32 59 farah eli paused delta 18 28 alice alice active harbor 100 10 eli dina closed fable 11 3 hana eli active ember 108 62 farah chen closed cobalt 119 35 eli lina closed delta 64 37 eli farah active indigo 48 109 eli kim paused birch
eli 32 alice 18 dina 100 eli 11 chen 108 lina 119 farah 64 kim 48
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031941
qwen/qwen3.7-plus
awkweave-0031942
Print the last field of every input line.
{print $NF}
birch 110 active pending 79 33 harbor ember 19 active failed 114 52 fable delta 34 pending pending 19 114 cobalt indigo 119 closed active 116 51 delta delta 12 ready paused 57 68 ember delta 28 closed ready 80 51 birch grove 95 failed ready 107 110 fable amber 62 paused paused 47 119 delta amber 100 pending ready 69 66...
harbor fable cobalt delta ember birch fable delta delta
juniper 118 failed paused 12 25 delta grove 51 closed active 37 0 birch amber 9 closed active 34 112 juniper juniper 72 ready failed 53 53 ember ember 110 ready failed 60 117 indigo grove 110 paused ready 44 50 birch cobalt 49 failed paused 107 91 juniper amber 72 failed ready 43 77 grove harbor 2 failed failed 81 40 j...
delta birch juniper ember indigo birch juniper grove juniper
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031942-p1
Output the final field from each line of input.
{print $NF}
birch 110 active pending 79 33 harbor ember 19 active failed 114 52 fable delta 34 pending pending 19 114 cobalt indigo 119 closed active 116 51 delta delta 12 ready paused 57 68 ember delta 28 closed ready 80 51 birch grove 95 failed ready 107 110 fable amber 62 paused paused 47 119 delta amber 100 pending ready 69 66...
harbor fable cobalt delta ember birch fable delta delta
juniper 118 failed paused 12 25 delta grove 51 closed active 37 0 birch amber 9 closed active 34 112 juniper juniper 72 ready failed 53 53 ember ember 110 ready failed 60 117 indigo grove 110 paused ready 44 50 birch cobalt 49 failed paused 107 91 juniper amber 72 failed ready 43 77 grove harbor 2 failed failed 81 40 j...
delta birch juniper ember indigo birch juniper grove juniper
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031942
qwen/qwen3.7-plus
awkweave-0031943
Print the complete records where column 4 is at most 66.
$4 <= 66
chen fable eli 43 closed lina fable lina 54 ready lina grove gus 54 failed kim indigo hana 114 closed eli amber alice 6 closed bruno fable kim 112 paused farah fable bruno 57 ready alice ember hana 11 pending alice fable alice 67 paused eli grove farah 81 active
chen fable eli 43 closed lina fable lina 54 ready lina grove gus 54 failed eli amber alice 6 closed farah fable bruno 57 ready alice ember hana 11 pending
dina amber farah 6 failed gus cobalt ivan 57 pending jules harbor jules 67 active hana ember bruno 65 failed bruno harbor ivan 13 closed lina birch chen 27 pending lina amber alice 79 ready ivan amber jules 42 closed
dina amber farah 6 failed gus cobalt ivan 57 pending hana ember bruno 65 failed bruno harbor ivan 13 closed lina birch chen 27 pending ivan amber jules 42 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031943-p1
Display full records where the value in the fourth column is less than or equal to 66.
$4 <= 66
chen fable eli 43 closed lina fable lina 54 ready lina grove gus 54 failed kim indigo hana 114 closed eli amber alice 6 closed bruno fable kim 112 paused farah fable bruno 57 ready alice ember hana 11 pending alice fable alice 67 paused eli grove farah 81 active
chen fable eli 43 closed lina fable lina 54 ready lina grove gus 54 failed eli amber alice 6 closed farah fable bruno 57 ready alice ember hana 11 pending
dina amber farah 6 failed gus cobalt ivan 57 pending jules harbor jules 67 active hana ember bruno 65 failed bruno harbor ivan 13 closed lina birch chen 27 pending lina amber alice 79 ready ivan amber jules 42 closed
dina amber farah 6 failed gus cobalt ivan 57 pending hana ember bruno 65 failed bruno harbor ivan 13 closed lina birch chen 27 pending ivan amber jules 42 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031943
qwen/qwen3.7-plus
awkweave-0031944
Show whole lines whose 1st field is between 9 and 19, inclusive.
$1 >= 9 && $1 <= 19
28 ember amber active 24 juniper birch paused 25 ember delta ready 24 cobalt amber ready 22 indigo indigo failed 14 juniper harbor ready 2 ember amber ready
14 juniper harbor ready
20 cobalt indigo paused 15 indigo grove pending 19 birch cobalt paused 9 grove delta pending 2 cobalt ember closed 12 fable delta closed 26 indigo birch paused 19 fable ember paused 10 grove delta failed 16 amber delta paused
15 indigo grove pending 19 birch cobalt paused 9 grove delta pending 12 fable delta closed 19 fable ember paused 10 grove delta failed 16 amber delta paused
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031944-p1
Show entire lines where the first field falls within the inclusive range of 9 to 19.
$1 >= 9 && $1 <= 19
28 ember amber active 24 juniper birch paused 25 ember delta ready 24 cobalt amber ready 22 indigo indigo failed 14 juniper harbor ready 2 ember amber ready
14 juniper harbor ready
20 cobalt indigo paused 15 indigo grove pending 19 birch cobalt paused 9 grove delta pending 2 cobalt ember closed 12 fable delta closed 26 indigo birch paused 19 fable ember paused 10 grove delta failed 16 amber delta paused
15 indigo grove pending 19 birch cobalt paused 9 grove delta pending 12 fable delta closed 19 fable ember paused 10 grove delta failed 16 amber delta paused
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031944
qwen/qwen3.7-plus
awkweave-0031945
Print column 1 only for rows where column 4 is exactly closed.
$4 == "closed"{print $1}
kim 26 birch ready lina 33 cobalt ready jules 78 cobalt pending lina 35 amber pending gus 11 amber ready ivan 118 delta pending eli 61 harbor closed chen 25 fable pending jules 14 harbor active kim 68 amber pending
eli
gus 58 fable failed dina 78 juniper pending ivan 12 ember failed bruno 5 ember active chen 6 harbor active gus 72 juniper paused jules 45 fable active eli 16 cobalt active ivan 3 delta failed
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031945-p1
Print only the first column for rows where the fourth column contains the exact value 'closed'.
$4 == "closed"{print $1}
kim 26 birch ready lina 33 cobalt ready jules 78 cobalt pending lina 35 amber pending gus 11 amber ready ivan 118 delta pending eli 61 harbor closed chen 25 fable pending jules 14 harbor active kim 68 amber pending
eli
gus 58 fable failed dina 78 juniper pending ivan 12 ember failed bruno 5 ember active chen 6 harbor active gus 72 juniper paused jules 45 fable active eli 16 cobalt active ivan 3 delta failed
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031945
qwen/qwen3.7-plus
awkweave-0031946
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
12 fable WARN 98 ember WARN 24 birch INFO 94 indigo DEBUG 47 indigo ERROR 59 cobalt ERROR 101 delta DEBUG 27 indigo WARN 13 amber INFO
24 birch INFO 13 amber INFO
60 amber INFO 69 grove INFO 75 delta WARN 25 cobalt INFO 39 juniper INFO 69 delta INFO 110 fable ERROR 104 ember ERROR
60 amber INFO 69 grove INFO 25 cobalt INFO 39 juniper INFO 69 delta INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031946-p1
Output all fields from lines where the third field starts with the string 'INFO'.
$3 ~ /^INFO/
12 fable WARN 98 ember WARN 24 birch INFO 94 indigo DEBUG 47 indigo ERROR 59 cobalt ERROR 101 delta DEBUG 27 indigo WARN 13 amber INFO
24 birch INFO 13 amber INFO
60 amber INFO 69 grove INFO 75 delta WARN 25 cobalt INFO 39 juniper INFO 69 delta INFO 110 fable ERROR 104 ember ERROR
60 amber INFO 69 grove INFO 25 cobalt INFO 39 juniper INFO 69 delta INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031946
qwen/qwen3.7-plus
awkweave-0031947
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
juniper 60 paused fable 87 pending juniper 19 failed fable 52 pending amber 51 pending amber 40 active cobalt 999 active
juniper 60 paused fable 87 pending juniper 19 failed fable 52 pending amber 51 pending amber 40 active
harbor 108 paused indigo 77 failed juniper 112 active harbor 16 ready indigo 24 closed ember 108 failed cobalt 52 active indigo 11 paused cobalt 999 active
harbor 108 paused indigo 77 failed juniper 112 active harbor 16 ready indigo 24 closed ember 108 failed indigo 11 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031947-p1
Print every line that does not contain the exact substring 'cobalt'.
$0 !~ /cobalt/
juniper 60 paused fable 87 pending juniper 19 failed fable 52 pending amber 51 pending amber 40 active cobalt 999 active
juniper 60 paused fable 87 pending juniper 19 failed fable 52 pending amber 51 pending amber 40 active
harbor 108 paused indigo 77 failed juniper 112 active harbor 16 ready indigo 24 closed ember 108 failed cobalt 52 active indigo 11 paused cobalt 999 active
harbor 108 paused indigo 77 failed juniper 112 active harbor 16 ready indigo 24 closed ember 108 failed indigo 11 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031947
qwen/qwen3.7-plus
awkweave-0031948
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
farah grove 52 gus juniper 104 jules grove 105 dina juniper 88 kim harbor 72 gus delta 56 kim juniper 68 hana cobalt 71 eli fable 83 chen fable 27
jules grove 105 dina juniper 88 kim harbor 72 gus delta 56
farah grove 98 lina indigo 63 hana fable 115 bruno indigo 61 lina indigo 22 bruno ember 95 eli grove 86 chen fable 43
hana fable 115 bruno indigo 61 lina indigo 22 bruno ember 95
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031948-p1
Output lines 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
farah grove 52 gus juniper 104 jules grove 105 dina juniper 88 kim harbor 72 gus delta 56 kim juniper 68 hana cobalt 71 eli fable 83 chen fable 27
jules grove 105 dina juniper 88 kim harbor 72 gus delta 56
farah grove 98 lina indigo 63 hana fable 115 bruno indigo 61 lina indigo 22 bruno ember 95 eli grove 86 chen fable 43
hana fable 115 bruno indigo 61 lina indigo 22 bruno ember 95
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031948
qwen/qwen3.7-plus
awkweave-0031949
Output only the first 4 records.
NR <= 4
eli 5 cobalt gus 93 ember alice 22 grove kim 61 harbor ivan 4 ember bruno 101 ember
eli 5 cobalt gus 93 ember alice 22 grove kim 61 harbor
kim 116 juniper eli 46 fable ivan 54 fable farah 40 birch lina 90 indigo eli 111 grove dina 55 birch farah 2 juniper ivan 6 delta
kim 116 juniper eli 46 fable ivan 54 fable farah 40 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031949-p1
Display only the first four records.
NR <= 4
eli 5 cobalt gus 93 ember alice 22 grove kim 61 harbor ivan 4 ember bruno 101 ember
eli 5 cobalt gus 93 ember alice 22 grove kim 61 harbor
kim 116 juniper eli 46 fable ivan 54 fable farah 40 birch lina 90 indigo eli 111 grove dina 55 birch farah 2 juniper ivan 6 delta
kim 116 juniper eli 46 fable ivan 54 fable farah 40 birch
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031949
qwen/qwen3.7-plus
awkweave-0031950
Skip the first line and print every remaining line unchanged.
NR > 1
lina 67 amber alice 96 harbor eli 73 delta gus 54 cobalt chen 113 fable eli 88 indigo ivan 55 grove chen 81 delta
alice 96 harbor eli 73 delta gus 54 cobalt chen 113 fable eli 88 indigo ivan 55 grove chen 81 delta
alice 16 grove alice 32 birch gus 15 delta bruno 49 indigo dina 36 ember ivan 18 delta eli 39 grove jules 51 ember jules 17 cobalt
alice 32 birch gus 15 delta bruno 49 indigo dina 36 ember ivan 18 delta eli 39 grove jules 51 ember jules 17 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031950-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
lina 67 amber alice 96 harbor eli 73 delta gus 54 cobalt chen 113 fable eli 88 indigo ivan 55 grove chen 81 delta
alice 96 harbor eli 73 delta gus 54 cobalt chen 113 fable eli 88 indigo ivan 55 grove chen 81 delta
alice 16 grove alice 32 birch gus 15 delta bruno 49 indigo dina 36 ember ivan 18 delta eli 39 grove jules 51 ember jules 17 cobalt
alice 32 birch gus 15 delta bruno 49 indigo dina 36 ember ivan 18 delta eli 39 grove jules 51 ember jules 17 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031950
qwen/qwen3.7-plus
awkweave-0031951
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
ivan pending 25 hana ready 55 jules ready 117 kim ready 21 gus active 36 chen closed 102 bruno failed 61 dina paused 105 bruno ready 25 hana failed 42
4
eli ready 98 alice paused 116 jules pending 66 kim failed 30 farah active 64 jules closed 25 dina failed 23
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031951-p1
Count the number of records where the second column is 'ready', outputting 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
ivan pending 25 hana ready 55 jules ready 117 kim ready 21 gus active 36 chen closed 102 bruno failed 61 dina paused 105 bruno ready 25 hana failed 42
4
eli ready 98 alice paused 116 jules pending 66 kim failed 30 farah active 64 jules closed 25 dina failed 23
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031951
qwen/qwen3.7-plus
awkweave-0031952
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
farah fable 2 lina delta 11 ivan harbor 27 gus harbor 24 lina ember 2 gus indigo 29 lina birch 29 dina birch 6 gus cobalt 18 jules delta 10
158
kim delta 22 kim indigo 7 jules indigo 2 lina juniper 18 ivan cobalt 21 bruno harbor 19
89
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031952-p1
Compute and display the sum of all integer values found in the third column.
{s+=$3}END{print s+0}
farah fable 2 lina delta 11 ivan harbor 27 gus harbor 24 lina ember 2 gus indigo 29 lina birch 29 dina birch 6 gus cobalt 18 jules delta 10
158
kim delta 22 kim indigo 7 jules indigo 2 lina juniper 18 ivan cobalt 21 bruno harbor 19
89
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031952
qwen/qwen3.7-plus
awkweave-0031953
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 bruno cobalt 2 alice harbor 30 alice indigo 11 lina fable 26 farah harbor 24 kim harbor 20 alice fable 16 lina birch 20 ivan grove 24 gus ember
18.90
20 ivan fable 30 alice ember 11 gus harbor 13 bruno juniper 23 jules ember 25 alice grove 25 hana amber
21.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031953-p1
Calculate the average of the values in the first column and print the result rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 bruno cobalt 2 alice harbor 30 alice indigo 11 lina fable 26 farah harbor 24 kim harbor 20 alice fable 16 lina birch 20 ivan grove 24 gus ember
18.90
20 ivan fable 30 alice ember 11 gus harbor 13 bruno juniper 23 jules ember 25 alice grove 25 hana amber
21.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031953
qwen/qwen3.7-plus
awkweave-0031954
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules amber 20 jules cobalt 1 bruno fable 27 jules juniper 1 kim delta 15 farah delta 11 hana amber 19 ivan grove 10 bruno grove 26 chen ember 20
1
chen grove 3 lina harbor 10 bruno fable 27 dina juniper 27 bruno grove 13 jules juniper 12 jules indigo 9 lina birch 15 eli ember 23 eli amber 6
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031954-p1
Output the minimum number found in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
jules amber 20 jules cobalt 1 bruno fable 27 jules juniper 1 kim delta 15 farah delta 11 hana amber 19 ivan grove 10 bruno grove 26 chen ember 20
1
chen grove 3 lina harbor 10 bruno fable 27 dina juniper 27 bruno grove 13 jules juniper 12 jules indigo 9 lina birch 15 eli ember 23 eli amber 6
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031954
qwen/qwen3.7-plus
awkweave-0031955
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
hana 25 amber alice 13 birch dina 26 indigo chen 18 harbor farah 21 fable lina 2 delta
26
chen 5 birch dina 25 delta kim 24 ember chen 22 indigo kim 1 cobalt farah 2 delta bruno 12 amber kim 18 delta lina 18 amber
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031955-p1
Output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
hana 25 amber alice 13 birch dina 26 indigo chen 18 harbor farah 21 fable lina 2 delta
26
chen 5 birch dina 25 delta kim 24 ember chen 22 indigo kim 1 cobalt farah 2 delta bruno 12 amber kim 18 delta lina 18 amber
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031955
qwen/qwen3.7-plus
awkweave-0031956
Count all input records and print the total.
END{print NR}
bruno 107 bruno 45 kim 104 farah 23 bruno 83 jules 62
6
chen 7 farah 69 ivan 116 ivan 45 farah 15 gus 52 jules 87
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031956-p1
Calculate and display the total number of input records.
END{print NR}
bruno 107 bruno 45 kim 104 farah 23 bruno 83 jules 62
6
chen 7 farah 69 ivan 116 ivan 45 farah 15 gus 52 jules 87
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031956
qwen/qwen3.7-plus
awkweave-0031957
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah juniper 1 eli cobalt 72 eli cobalt 72 alice cobalt 51 eli ember 51 eli juniper 12 bruno grove 22 bruno grove 59 kim ember 113
farah juniper 1 eli cobalt 72 alice cobalt 51 eli ember 51 eli juniper 12 bruno grove 22 bruno grove 59 kim ember 113
dina birch 37 bruno grove 117 chen ember 114 ivan grove 57 chen ember 114 farah juniper 29 dina amber 75 dina harbor 7
dina birch 37 bruno grove 117 chen ember 114 ivan grove 57 farah juniper 29 dina amber 75 dina harbor 7
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031957-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
farah juniper 1 eli cobalt 72 eli cobalt 72 alice cobalt 51 eli ember 51 eli juniper 12 bruno grove 22 bruno grove 59 kim ember 113
farah juniper 1 eli cobalt 72 alice cobalt 51 eli ember 51 eli juniper 12 bruno grove 22 bruno grove 59 kim ember 113
dina birch 37 bruno grove 117 chen ember 114 ivan grove 57 chen ember 114 farah juniper 29 dina amber 75 dina harbor 7
dina birch 37 bruno grove 117 chen ember 114 ivan grove 57 farah juniper 29 dina amber 75 dina harbor 7
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031957
qwen/qwen3.7-plus
awkweave-0031958
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
hana delta 41 kim delta 111 chen fable 27 chen ember 64 jules amber 84 lina juniper 56 lina juniper 14
hana delta 41 chen fable 27 chen ember 64 jules amber 84 lina juniper 56
lina grove 73 gus fable 23 farah birch 49 dina fable 50 bruno juniper 113 alice harbor 17 kim amber 82
lina grove 73 gus fable 23 farah birch 49 bruno juniper 113 alice harbor 17 kim amber 82
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031958-p1
Retain only the initial line for every unique value in the second column, keeping the original order.
!seen[$2]++
hana delta 41 kim delta 111 chen fable 27 chen ember 64 jules amber 84 lina juniper 56 lina juniper 14
hana delta 41 chen fable 27 chen ember 64 jules amber 84 lina juniper 56
lina grove 73 gus fable 23 farah birch 49 dina fable 50 bruno juniper 113 alice harbor 17 kim amber 82
lina grove 73 gus fable 23 farah birch 49 bruno juniper 113 alice harbor 17 kim amber 82
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031958
qwen/qwen3.7-plus
awkweave-0031959
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 26 indigo hana 26 ember gus 5 harbor eli 9 cobalt lina 5 cobalt eli 7 indigo
gus 26 hana 52 gus 57 eli 66 lina 71 eli 78
alice 28 fable gus 15 birch lina 23 indigo ivan 4 indigo jules 21 ember bruno 29 juniper bruno 27 ember
alice 28 gus 43 lina 66 ivan 70 jules 91 bruno 120 bruno 147
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031959-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
gus 26 indigo hana 26 ember gus 5 harbor eli 9 cobalt lina 5 cobalt eli 7 indigo
gus 26 hana 52 gus 57 eli 66 lina 71 eli 78
alice 28 fable gus 15 birch lina 23 indigo ivan 4 indigo jules 21 ember bruno 29 juniper bruno 27 ember
alice 28 gus 43 lina 66 ivan 70 jules 91 bruno 120 bruno 147
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031959
qwen/qwen3.7-plus
awkweave-0031960
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 18 21 juniper lina 5 27 cobalt farah 16 12 juniper jules 8 3 cobalt bruno 4 10 birch alice 1 3 fable gus 12 18 indigo hana 19 21 amber
hana 39 lina 32 farah 28 jules 11 bruno 14 alice 4 gus 30 hana 40
bruno 5 1 harbor kim 24 15 juniper lina 17 4 harbor alice 13 18 amber lina 18 29 grove hana 28 23 birch
bruno 6 kim 39 lina 21 alice 31 lina 47 hana 51
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031960-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
hana 18 21 juniper lina 5 27 cobalt farah 16 12 juniper jules 8 3 cobalt bruno 4 10 birch alice 1 3 fable gus 12 18 indigo hana 19 21 amber
hana 39 lina 32 farah 28 jules 11 bruno 14 alice 4 gus 30 hana 40
bruno 5 1 harbor kim 24 15 juniper lina 17 4 harbor alice 13 18 amber lina 18 29 grove hana 28 23 birch
bruno 6 kim 39 lina 21 alice 31 lina 47 hana 51
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031960
qwen/qwen3.7-plus
awkweave-0031961
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
dina 18 alice 20 eli 18 ivan 24 eli 30 eli 17 jules 25 ivan 23
dina fail alice pass eli fail ivan pass eli pass eli fail jules pass ivan pass
bruno 8 eli 6 farah 23 jules 6 hana 16 bruno 1 farah 29 dina 26 ivan 27 jules 19
bruno fail eli fail farah pass jules fail hana fail bruno fail farah pass dina pass ivan pass jules fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031961-p1
Output the first column along with 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
dina 18 alice 20 eli 18 ivan 24 eli 30 eli 17 jules 25 ivan 23
dina fail alice pass eli fail ivan pass eli pass eli fail jules pass ivan pass
bruno 8 eli 6 farah 23 jules 6 hana 16 bruno 1 farah 29 dina 26 ivan 27 jules 19
bruno fail eli fail farah pass jules fail hana fail bruno fail farah pass dina pass ivan pass jules fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031961
qwen/qwen3.7-plus
awkweave-0031962
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen fable 119 hana grove 3 hana delta 27 jules grove 37 jules amber 38 lina indigo 43 eli cobalt 79 bruno juniper 101 lina delta 21 jules fable 75
CHEN HANA HANA JULES JULES LINA ELI BRUNO LINA JULES
bruno ember 2 eli birch 70 bruno harbor 65 gus amber 104 hana indigo 97 lina cobalt 80 jules birch 29 hana fable 47
BRUNO ELI BRUNO GUS HANA LINA JULES HANA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031962-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
chen fable 119 hana grove 3 hana delta 27 jules grove 37 jules amber 38 lina indigo 43 eli cobalt 79 bruno juniper 101 lina delta 21 jules fable 75
CHEN HANA HANA JULES JULES LINA ELI BRUNO LINA JULES
bruno ember 2 eli birch 70 bruno harbor 65 gus amber 104 hana indigo 97 lina cobalt 80 jules birch 29 hana fable 47
BRUNO ELI BRUNO GUS HANA LINA JULES HANA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031962
qwen/qwen3.7-plus
awkweave-0031963
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
fable 7 delta 57 birch 21 indigo 10 grove 102 amber 119 grove 12 grove 57 amber 22 delta 116
fab del bir ind gro amb gro gro amb del
fable 96 indigo 84 ember 51 birch 100 birch 56 juniper 5 grove 77
fab ind emb bir bir jun gro
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031963-p1
Extract and output the first 3 characters from the first column.
{print substr($1,1,3)}
fable 7 delta 57 birch 21 indigo 10 grove 102 amber 119 grove 12 grove 57 amber 22 delta 116
fab del bir ind gro amb gro gro amb del
fable 96 indigo 84 ember 51 birch 100 birch 56 juniper 5 grove 77
fab ind emb bir bir jun gro
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031963
qwen/qwen3.7-plus
awkweave-0031964
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_indigo 28 cobalt_cobalt 17 ember_indigo 42 fable_amber 92 ember_delta 59 amber_ember 36 grove_delta 54 birch_delta 114
harbor indigo cobalt cobalt ember indigo fable amber ember delta amber ember grove delta birch delta
grove_ember 65 juniper_cobalt 18 grove_cobalt 101 amber_birch 88 amber_ember 88 juniper_delta 117
grove ember juniper cobalt grove cobalt amber birch amber ember juniper delta
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031964-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
harbor_indigo 28 cobalt_cobalt 17 ember_indigo 42 fable_amber 92 ember_delta 59 amber_ember 36 grove_delta 54 birch_delta 114
harbor indigo cobalt cobalt ember indigo fable amber ember delta amber ember grove delta birch delta
grove_ember 65 juniper_cobalt 18 grove_cobalt 101 amber_birch 88 amber_ember 88 juniper_delta 117
grove ember juniper cobalt grove cobalt amber birch amber ember juniper delta
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031964
qwen/qwen3.7-plus
awkweave-0031965
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 ember 92 paused gus grove 113 paused eli harbor 47 active chen cobalt 98 active gus fable 47 closed jules ember 22 pending bruno ember 102 paused kim ember 80 failed farah harbor 65 paused
paused 92 ember alice paused 113 grove gus active 47 harbor eli active 98 cobalt chen closed 47 fable gus pending 22 ember jules paused 102 ember bruno failed 80 ember kim paused 65 harbor farah
chen fable 24 closed chen delta 46 failed hana grove 45 active ivan ember 3 paused ivan amber 8 paused gus delta 96 closed kim amber 36 failed jules delta 73 pending alice ember 57 failed farah cobalt 86 ready
closed 24 fable chen failed 46 delta chen active 45 grove hana paused 3 ember ivan paused 8 amber ivan closed 96 delta gus failed 36 amber kim pending 73 delta jules failed 57 ember alice ready 86 cobalt farah
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031965-p1
Reverse the field order for each line and output all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice ember 92 paused gus grove 113 paused eli harbor 47 active chen cobalt 98 active gus fable 47 closed jules ember 22 pending bruno ember 102 paused kim ember 80 failed farah harbor 65 paused
paused 92 ember alice paused 113 grove gus active 47 harbor eli active 98 cobalt chen closed 47 fable gus pending 22 ember jules paused 102 ember bruno failed 80 ember kim paused 65 harbor farah
chen fable 24 closed chen delta 46 failed hana grove 45 active ivan ember 3 paused ivan amber 8 paused gus delta 96 closed kim amber 36 failed jules delta 73 pending alice ember 57 failed farah cobalt 86 ready
closed 24 fable chen failed 46 delta chen active 45 grove hana paused 3 ember ivan paused 8 amber ivan closed 96 delta gus failed 36 amber kim pending 73 delta jules failed 57 ember alice ready 86 cobalt farah
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031965
qwen/qwen3.7-plus
awkweave-0031966
Print the number of whitespace-separated fields on each line.
{print NF}
jules fable 72 pending farah indigo 81 paused chen ember 6 pending bruno birch 48 ready dina indigo 94 paused dina delta 112 closed lina juniper 88 closed alice ember 55 failed dina grove 44 active
4 4 4 4 4 4 4 4 4
bruno juniper 47 failed gus ember 111 closed chen birch 81 active eli fable 78 pending kim harbor 7 active hana grove 116 failed lina cobalt 105 pending lina grove 75 paused
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031966-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
jules fable 72 pending farah indigo 81 paused chen ember 6 pending bruno birch 48 ready dina indigo 94 paused dina delta 112 closed lina juniper 88 closed alice ember 55 failed dina grove 44 active
4 4 4 4 4 4 4 4 4
bruno juniper 47 failed gus ember 111 closed chen birch 81 active eli fable 78 pending kim harbor 7 active hana grove 116 failed lina cobalt 105 pending lina grove 75 paused
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031966
qwen/qwen3.7-plus
awkweave-0031967
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]]}
kim alpha 88 dina alpha 17 dina alpha 76 ivan beta 111 farah beta 29 dina gamma 3
alpha 3 beta 2 gamma 1
chen alpha 117 jules gamma 53 farah alpha 60 eli gamma 98 bruno beta 39 hana delta 91 lina beta 115 gus beta 8 chen delta 8
alpha 2 gamma 2 beta 3 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031967-p1
Tally the occurrences of each unique value in the second column and display the value alongside its total, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
kim alpha 88 dina alpha 17 dina alpha 76 ivan beta 111 farah beta 29 dina gamma 3
alpha 3 beta 2 gamma 1
chen alpha 117 jules gamma 53 farah alpha 60 eli gamma 98 bruno beta 39 hana delta 91 lina beta 115 gus beta 8 chen delta 8
alpha 2 gamma 2 beta 3 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031967
qwen/qwen3.7-plus
awkweave-0031968
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]]}
lina delta 10 chen beta 11 hana beta 26 farah delta 4 dina delta 5 farah beta 18 alice beta 23 kim delta 23 lina alpha 3
delta 42 beta 78 alpha 3
lina delta 2 kim alpha 16 eli alpha 2 kim alpha 23 kim beta 3 alice beta 30 ivan delta 17 eli alpha 27 ivan alpha 5 eli alpha 26
delta 19 alpha 99 beta 33
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031968-p1
Calculate the sum of values in column 3 grouped by the categories in column 2, listing the results in the order of the category's first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
lina delta 10 chen beta 11 hana beta 26 farah delta 4 dina delta 5 farah beta 18 alice beta 23 kim delta 23 lina alpha 3
delta 42 beta 78 alpha 3
lina delta 2 kim alpha 16 eli alpha 2 kim alpha 23 kim beta 3 alice beta 30 ivan delta 17 eli alpha 27 ivan alpha 5 eli alpha 26
delta 19 alpha 99 beta 33
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031968
qwen/qwen3.7-plus
awkweave-0031969
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]]}
delta fable 49 beta juniper 10 beta birch 63 delta juniper 114 delta indigo 57 alpha delta 10 alpha indigo 38
delta 3 beta 2 alpha 2
delta indigo 112 beta harbor 23 beta amber 83 alpha birch 53 alpha delta 43 gamma indigo 114 alpha ember 9 gamma ember 117
beta 2 alpha 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031969-p1
Identify duplicate entries in column 1 and output each repeated value with its frequency, sorted by the order of first occurrence.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta fable 49 beta juniper 10 beta birch 63 delta juniper 114 delta indigo 57 alpha delta 10 alpha indigo 38
delta 3 beta 2 alpha 2
delta indigo 112 beta harbor 23 beta amber 83 alpha birch 53 alpha delta 43 gamma indigo 114 alpha ember 9 gamma ember 117
beta 2 alpha 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031969
qwen/qwen3.7-plus
awkweave-0031970
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"]}
state display_name score note r001 bruno 24 ready r002 chen 5 active r003 hana 22 paused r004 ivan 7 closed r005 bruno 11 active r006 lina 9 failed r007 gus 26 ready r008 lina 4 paused r009 eli 21 active
ready active paused closed active failed ready paused active
state display_name score note r001 hana 29 active r002 jules 16 ready r003 lina 1 closed r004 chen 25 paused r005 jules 11 closed r006 chen 24 closed r007 jules 7 paused r008 farah 4 active r009 kim 23 paused r010 alice 21 paused
active ready closed paused closed closed paused active paused paused
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031970-p1
Treating the initial row as a header, extract and print the content of the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
state display_name score note r001 bruno 24 ready r002 chen 5 active r003 hana 22 paused r004 ivan 7 closed r005 bruno 11 active r006 lina 9 failed r007 gus 26 ready r008 lina 4 paused r009 eli 21 active
ready active paused closed active failed ready paused active
state display_name score note r001 hana 29 active r002 jules 16 ready r003 lina 1 closed r004 chen 25 paused r005 jules 11 closed r006 chen 24 closed r007 jules 7 paused r008 farah 4 active r009 kim 23 paused r010 alice 21 paused
active ready closed paused closed closed paused active paused paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031970
qwen/qwen3.7-plus
awkweave-0031971
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 chen 2 closed r002 gus 25 paused r003 kim 14 active r004 eli 8 failed r005 kim 27 active r006 kim 6 failed r007 kim 28 paused r008 jules 10 pending r009 gus 3 failed r010 eli 3 failed
gus kim kim kim
record_id display_name score state r001 ivan 18 closed r002 jules 3 pending r003 gus 24 paused r004 lina 29 paused r005 lina 21 pending r006 lina 20 paused r007 eli 28 pending r008 dina 4 pending
ivan gus lina lina lina eli
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031971-p1
Skip the header row, then output the display_name field for any record where the score value is strictly greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 chen 2 closed r002 gus 25 paused r003 kim 14 active r004 eli 8 failed r005 kim 27 active r006 kim 6 failed r007 kim 28 paused r008 jules 10 pending r009 gus 3 failed r010 eli 3 failed
gus kim kim kim
record_id display_name score state r001 ivan 18 closed r002 jules 3 pending r003 gus 24 paused r004 lina 29 paused r005 lina 21 pending r006 lina 20 paused r007 eli 28 pending r008 dina 4 pending
ivan gus lina lina lina eli
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031971
qwen/qwen3.7-plus
awkweave-0031972
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 7 active kim 22 active kim 22 closed hana 21 failed eli 7 pending farah 7 pending chen 16 paused ivan 7 pending gus 7 active hana 9 pending
bruno kim kim hana eli farah chen ivan gus hana
kim 24 closed ivan 20 ready eli 9 pending bruno 5 closed bruno 13 ready lina 17 pending gus 22 active gus 20 failed
kim ivan eli bruno bruno lina gus gus
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031972-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 7 active kim 22 active kim 22 closed hana 21 failed eli 7 pending farah 7 pending chen 16 paused ivan 7 pending gus 7 active hana 9 pending
bruno kim kim hana eli farah chen ivan gus hana
kim 24 closed ivan 20 ready eli 9 pending bruno 5 closed bruno 13 ready lina 17 pending gus 22 active gus 20 failed
kim ivan eli bruno bruno lina gus gus
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0031972
qwen/qwen3.7-plus
awkweave-0031973
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
gus,28,active alice,28,failed lina,1,ready eli,14,paused kim,3,failed ivan,12,failed bruno,6,pending chen,15,paused dina,6,paused
gus alice eli ivan chen
dina,23,paused ivan,10,closed farah,27,active bruno,21,paused eli,20,active ivan,30,paused farah,8,paused ivan,14,closed chen,24,closed
dina ivan farah bruno eli ivan ivan chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031973-p1
For simple comma-separated input without quoted commas, print the first column only if the value in the second column is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
gus,28,active alice,28,failed lina,1,ready eli,14,paused kim,3,failed ivan,12,failed bruno,6,pending chen,15,paused dina,6,paused
gus alice eli ivan chen
dina,23,paused ivan,10,closed farah,27,active bruno,21,paused eli,20,active ivan,30,paused farah,8,paused ivan,14,closed chen,24,closed
dina ivan farah bruno eli ivan ivan chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031973
qwen/qwen3.7-plus
awkweave-0031974
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim grove 11 alice amber 14 kim amber 102 bruno birch 62 gus cobalt 49 ivan juniper 28
kim grove 11 alice amber 14 kim amber 102 bruno birch 62 gus cobalt 49 ivan juniper 28
farah indigo 27 ivan delta 85 farah amber 38 ivan delta 76 hana harbor 42 dina cobalt 48 kim indigo 30 jules birch 104 dina birch 63 jules grove 34
farah indigo 27 ivan delta 85 farah amber 38 ivan delta 76 hana harbor 42 dina cobalt 48 kim indigo 30 jules birch 104 dina birch 63 jules grove 34
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031974-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
kim grove 11 alice amber 14 kim amber 102 bruno birch 62 gus cobalt 49 ivan juniper 28
kim grove 11 alice amber 14 kim amber 102 bruno birch 62 gus cobalt 49 ivan juniper 28
farah indigo 27 ivan delta 85 farah amber 38 ivan delta 76 hana harbor 42 dina cobalt 48 kim indigo 30 jules birch 104 dina birch 63 jules grove 34
farah indigo 27 ivan delta 85 farah amber 38 ivan delta 76 hana harbor 42 dina cobalt 48 kim indigo 30 jules birch 104 dina birch 63 jules grove 34
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031974
qwen/qwen3.7-plus
awkweave-0031975
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 105 paused bruno birch 115 pending gus birch 10 pending chen grove 77 pending kim harbor 30 active kim juniper 74 closed hana cobalt 114 closed eli juniper 61 failed lina grove 112 pending
jules indigo 105 paused
ivan indigo 95 paused dina amber 35 paused chen amber 116 paused dina amber 107 pending dina harbor 116 paused chen cobalt 32 pending eli delta 33 ready hana birch 35 paused alice fable 14 paused
dina amber 107 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031975-p1
Identify and print the longest line from the input; in the event of a tie in length, select the line that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules indigo 105 paused bruno birch 115 pending gus birch 10 pending chen grove 77 pending kim harbor 30 active kim juniper 74 closed hana cobalt 114 closed eli juniper 61 failed lina grove 112 pending
jules indigo 105 paused
ivan indigo 95 paused dina amber 35 paused chen amber 116 paused dina amber 107 pending dina harbor 116 paused chen cobalt 32 pending eli delta 33 ready hana birch 35 paused alice fable 14 paused
dina amber 107 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031975
qwen/qwen3.7-plus
awkweave-0031976
Print every 4th line starting at line 3 (then line 7, and so on).
NR%4==3
ivan 32 gus 52 bruno 48 hana 108 farah 69 hana 42 ivan 53 eli 8
bruno 48 ivan 53
dina 6 alice 65 jules 95 kim 51 gus 94 dina 111
jules 95
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031976-p1
Output every fourth line of the input, beginning with line 3 (i.e., lines 3, 7, 11, etc.).
NR%4==3
ivan 32 gus 52 bruno 48 hana 108 farah 69 hana 42 ivan 53 eli 8
bruno 48 ivan 53
dina 6 alice 65 jules 95 kim 51 gus 94 dina 111
jules 95
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031976
qwen/qwen3.7-plus
awkweave-0031977
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta birch 101 delta delta 36 alpha grove 113 gamma indigo 56 alpha ember 53 alpha birch 41 delta ember 87 alpha amber 19
6
gamma grove 51 alpha delta 116 beta birch 27 gamma juniper 86 beta indigo 109 alpha delta 17 delta delta 83
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031977-p1
Determine the number of unique values present in column 2 and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
delta birch 101 delta delta 36 alpha grove 113 gamma indigo 56 alpha ember 53 alpha birch 41 delta ember 87 alpha amber 19
6
gamma grove 51 alpha delta 116 beta birch 27 gamma juniper 86 beta indigo 109 alpha delta 17 delta delta 83
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031977
qwen/qwen3.7-plus
awkweave-0031978
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 10 0 hana 5 4 alice 10 17 kim 2 11 gus 29 26 gus 28 21 farah 4 10 alice 22 7 ivan 9 2 farah 21 22
hana 1.25 alice 0.59 kim 0.18 gus 1.12 gus 1.33 farah 0.40 alice 3.14 ivan 4.50 farah 0.95
farah 12 0 dina 7 21 eli 25 10 dina 15 12 alice 20 14 hana 8 6 bruno 8 6 eli 2 17
dina 0.33 eli 2.50 dina 1.25 alice 1.43 hana 1.33 bruno 1.33 eli 0.12
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031978-p1
For each row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places; omit any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 10 0 hana 5 4 alice 10 17 kim 2 11 gus 29 26 gus 28 21 farah 4 10 alice 22 7 ivan 9 2 farah 21 22
hana 1.25 alice 0.59 kim 0.18 gus 1.12 gus 1.33 farah 0.40 alice 3.14 ivan 4.50 farah 0.95
farah 12 0 dina 7 21 eli 25 10 dina 15 12 alice 20 14 hana 8 6 bruno 8 6 eli 2 17
dina 0.33 eli 2.50 dina 1.25 alice 1.43 hana 1.33 bruno 1.33 eli 0.12
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031978
qwen/qwen3.7-plus
awkweave-0031979
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus harbor 27 farah fable 7 alice delta 9 gus juniper 14 jules amber 1 kim indigo 25 alice fable 2
gus harbor 27 kim indigo 25 gus juniper 14
jules juniper 2 dina grove 16 hana delta 18 alice grove 30 gus fable 17 hana grove 17 dina harbor 22 dina cobalt 4 alice cobalt 7
alice grove 30 dina harbor 22 hana delta 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031979-p1
Display the three full records that have the largest numeric values in the third column, sorted in descending order, while maintaining the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
gus harbor 27 farah fable 7 alice delta 9 gus juniper 14 jules amber 1 kim indigo 25 alice fable 2
gus harbor 27 kim indigo 25 gus juniper 14
jules juniper 2 dina grove 16 hana delta 18 alice grove 30 gus fable 17 hana grove 17 dina harbor 22 dina cobalt 4 alice cobalt 7
alice grove 30 dina harbor 22 hana delta 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031979
qwen/qwen3.7-plus
awkweave-0031980
Select the 5th and 4th fields in that order.
{print $5, $4}
active cobalt 13 gus fable pending failed delta 49 lina grove pending closed indigo 117 bruno delta paused ready juniper 8 dina grove pending ready grove 111 chen indigo paused pending grove 6 bruno delta closed closed harbor 95 jules birch paused
fable gus grove lina delta bruno grove dina indigo chen delta bruno birch jules
closed ember 5 lina harbor closed active cobalt 41 bruno grove ready closed birch 72 ivan juniper pending paused cobalt 112 jules amber paused closed grove 118 hana grove paused ready cobalt 30 bruno birch active
harbor lina grove bruno juniper ivan amber jules grove hana birch bruno
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031980-p1
Extract and display the fifth field followed by the fourth field.
{print $5, $4}
active cobalt 13 gus fable pending failed delta 49 lina grove pending closed indigo 117 bruno delta paused ready juniper 8 dina grove pending ready grove 111 chen indigo paused pending grove 6 bruno delta closed closed harbor 95 jules birch paused
fable gus grove lina delta bruno grove dina indigo chen delta bruno birch jules
closed ember 5 lina harbor closed active cobalt 41 bruno grove ready closed birch 72 ivan juniper pending paused cobalt 112 jules amber paused closed grove 118 hana grove paused ready cobalt 30 bruno birch active
harbor lina grove bruno juniper ivan amber jules grove hana birch bruno
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031980
qwen/qwen3.7-plus
awkweave-0031981
Print the last field of every input line.
{print $NF}
fable pending gus fable pending delta fable pending hana fable closed fable amber paused eli grove active indigo amber failed bruno harbor ready indigo juniper pending kim fable closed fable delta closed gus amber ready birch ember active farah grove failed juniper amber failed hana indigo closed fable delta failed bru...
delta fable indigo indigo fable birch juniper fable juniper
amber pending gus cobalt pending amber birch active farah grove paused delta delta failed eli cobalt pending fable amber closed jules ember active amber grove failed lina indigo closed ember ember ready chen juniper active indigo amber closed eli indigo pending indigo ember paused chen delta pending ember
amber delta fable amber ember indigo indigo ember
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031981-p1
Output the final field from every line of input.
{print $NF}
fable pending gus fable pending delta fable pending hana fable closed fable amber paused eli grove active indigo amber failed bruno harbor ready indigo juniper pending kim fable closed fable delta closed gus amber ready birch ember active farah grove failed juniper amber failed hana indigo closed fable delta failed bru...
delta fable indigo indigo fable birch juniper fable juniper
amber pending gus cobalt pending amber birch active farah grove paused delta delta failed eli cobalt pending fable amber closed jules ember active amber grove failed lina indigo closed ember ember ready chen juniper active indigo amber closed eli indigo pending indigo ember paused chen delta pending ember
amber delta fable amber ember indigo indigo ember
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031981
qwen/qwen3.7-plus
awkweave-0031982
Print the complete records where column 1 is at most 34.
$1 <= 34
14 gus delta 63 chen birch 38 kim ember 23 hana fable 62 jules delta 38 bruno grove 111 lina cobalt
14 gus delta 23 hana fable
68 eli delta 18 lina fable 59 gus fable 96 bruno harbor 79 gus grove 55 gus cobalt 73 dina cobalt 18 hana delta 75 lina delta 93 bruno ember
18 lina fable 18 hana delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031982-p1
Print the entire records where the value in the first column is less than or equal to 34.
$1 <= 34
14 gus delta 63 chen birch 38 kim ember 23 hana fable 62 jules delta 38 bruno grove 111 lina cobalt
14 gus delta 23 hana fable
68 eli delta 18 lina fable 59 gus fable 96 bruno harbor 79 gus grove 55 gus cobalt 73 dina cobalt 18 hana delta 75 lina delta 93 bruno ember
18 lina fable 18 hana delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031982
qwen/qwen3.7-plus
awkweave-0031983
Show whole lines whose 3rd field is between 10 and 26, inclusive.
$3 >= 10 && $3 <= 26
ready juniper 2 active closed fable 20 failed ready birch 2 failed pending birch 28 ready paused grove 4 active pending ember 9 active failed indigo 28 closed closed indigo 12 failed paused juniper 17 paused paused grove 29 failed
closed fable 20 failed closed indigo 12 failed paused juniper 17 paused
failed cobalt 20 ready ready delta 20 ready paused fable 12 active failed cobalt 23 paused failed indigo 22 closed failed amber 12 paused active harbor 29 active active grove 12 active ready delta 4 pending
failed cobalt 20 ready ready delta 20 ready paused fable 12 active failed cobalt 23 paused failed indigo 22 closed failed amber 12 paused active grove 12 active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031983-p1
Display complete lines where the third field falls within the inclusive range of 10 to 26.
$3 >= 10 && $3 <= 26
ready juniper 2 active closed fable 20 failed ready birch 2 failed pending birch 28 ready paused grove 4 active pending ember 9 active failed indigo 28 closed closed indigo 12 failed paused juniper 17 paused paused grove 29 failed
closed fable 20 failed closed indigo 12 failed paused juniper 17 paused
failed cobalt 20 ready ready delta 20 ready paused fable 12 active failed cobalt 23 paused failed indigo 22 closed failed amber 12 paused active harbor 29 active active grove 12 active ready delta 4 pending
failed cobalt 20 ready ready delta 20 ready paused fable 12 active failed cobalt 23 paused failed indigo 22 closed failed amber 12 paused active grove 12 active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031983
qwen/qwen3.7-plus
awkweave-0031984
Print column 2 only for rows where column 3 is exactly closed.
$3 == "closed"{print $2}
harbor alice closed 83 ember ivan failed 72 juniper jules active 6 amber chen pending 21 fable dina paused 0 grove lina active 108 birch bruno paused 5
alice
harbor hana failed 53 grove farah failed 17 grove kim ready 21 fable dina paused 36 grove lina pending 71 indigo gus closed 21 birch dina ready 78 ember gus failed 19
gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031984-p1
Output only the second column for rows where the third column contains exactly the word closed.
$3 == "closed"{print $2}
harbor alice closed 83 ember ivan failed 72 juniper jules active 6 amber chen pending 21 fable dina paused 0 grove lina active 108 birch bruno paused 5
alice
harbor hana failed 53 grove farah failed 17 grove kim ready 21 fable dina paused 36 grove lina pending 71 indigo gus closed 21 birch dina ready 78 ember gus failed 19
gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031984
qwen/qwen3.7-plus
awkweave-0031985
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
46 fable WARN 84 delta INFO 67 harbor DEBUG 50 birch ERROR 72 fable WARN 115 juniper ERROR 33 ember DEBUG 37 fable WARN
46 fable WARN 72 fable WARN 37 fable WARN
96 juniper ERROR 98 amber DEBUG 71 indigo DEBUG 59 delta ERROR 32 grove INFO 81 indigo ERROR 88 ember WARN 42 delta ERROR
88 ember WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031985-p1
Print all fields from any line where the third field starts with WARN.
$3 ~ /^WARN/
46 fable WARN 84 delta INFO 67 harbor DEBUG 50 birch ERROR 72 fable WARN 115 juniper ERROR 33 ember DEBUG 37 fable WARN
46 fable WARN 72 fable WARN 37 fable WARN
96 juniper ERROR 98 amber DEBUG 71 indigo DEBUG 59 delta ERROR 32 grove INFO 81 indigo ERROR 88 ember WARN 42 delta ERROR
88 ember WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031985
qwen/qwen3.7-plus
awkweave-0031986
Print every line except those containing the exact text grove.
$0 !~ /grove/
ember 95 paused grove 99 closed ember 115 closed cobalt 71 failed ember 77 paused amber 120 ready grove 999 active
ember 95 paused ember 115 closed cobalt 71 failed ember 77 paused amber 120 ready
indigo 8 closed birch 58 failed indigo 70 ready harbor 30 paused birch 27 pending ember 57 active delta 102 active grove 999 active
indigo 8 closed birch 58 failed indigo 70 ready harbor 30 paused birch 27 pending ember 57 active delta 102 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031986-p1
Output every line except those that contain the exact string grove.
$0 !~ /grove/
ember 95 paused grove 99 closed ember 115 closed cobalt 71 failed ember 77 paused amber 120 ready grove 999 active
ember 95 paused ember 115 closed cobalt 71 failed ember 77 paused amber 120 ready
indigo 8 closed birch 58 failed indigo 70 ready harbor 30 paused birch 27 pending ember 57 active delta 102 active grove 999 active
indigo 8 closed birch 58 failed indigo 70 ready harbor 30 paused birch 27 pending ember 57 active delta 102 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031986
qwen/qwen3.7-plus
awkweave-0031987
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
ivan fable 40 alice birch 41 bruno birch 97 gus indigo 3 jules indigo 16 dina ember 24 alice delta 99 dina ember 93 chen grove 112
alice birch 41 bruno birch 97 gus indigo 3 jules indigo 16
farah harbor 63 ivan cobalt 82 kim grove 83 lina birch 61 ivan fable 75 farah fable 66 jules cobalt 54 jules fable 117 jules birch 90
ivan cobalt 82 kim grove 83 lina birch 61 ivan fable 75
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031987-p1
Print lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
ivan fable 40 alice birch 41 bruno birch 97 gus indigo 3 jules indigo 16 dina ember 24 alice delta 99 dina ember 93 chen grove 112
alice birch 41 bruno birch 97 gus indigo 3 jules indigo 16
farah harbor 63 ivan cobalt 82 kim grove 83 lina birch 61 ivan fable 75 farah fable 66 jules cobalt 54 jules fable 117 jules birch 90
ivan cobalt 82 kim grove 83 lina birch 61 ivan fable 75
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031987
qwen/qwen3.7-plus
awkweave-0031988
Output only the first 5 records.
NR <= 5
jules 0 birch gus 73 harbor lina 44 indigo alice 99 amber hana 119 delta dina 69 juniper
jules 0 birch gus 73 harbor lina 44 indigo alice 99 amber hana 119 delta
ivan 26 fable lina 75 ember lina 1 harbor dina 2 birch alice 68 cobalt hana 81 birch gus 53 cobalt gus 106 grove
ivan 26 fable lina 75 ember lina 1 harbor dina 2 birch alice 68 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031988-p1
Output only the first five records.
NR <= 5
jules 0 birch gus 73 harbor lina 44 indigo alice 99 amber hana 119 delta dina 69 juniper
jules 0 birch gus 73 harbor lina 44 indigo alice 99 amber hana 119 delta
ivan 26 fable lina 75 ember lina 1 harbor dina 2 birch alice 68 cobalt hana 81 birch gus 53 cobalt gus 106 grove
ivan 26 fable lina 75 ember lina 1 harbor dina 2 birch alice 68 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031988
qwen/qwen3.7-plus
awkweave-0031989
Skip the first line and print every remaining line unchanged.
NR > 1
kim 20 fable kim 45 harbor farah 34 ember dina 46 cobalt jules 21 delta jules 33 birch farah 9 juniper lina 86 indigo
kim 45 harbor farah 34 ember dina 46 cobalt jules 21 delta jules 33 birch farah 9 juniper lina 86 indigo
gus 39 cobalt farah 75 amber jules 108 juniper ivan 15 indigo dina 41 fable bruno 14 amber eli 35 fable chen 35 juniper jules 51 indigo bruno 48 amber
farah 75 amber jules 108 juniper ivan 15 indigo dina 41 fable bruno 14 amber eli 35 fable chen 35 juniper jules 51 indigo bruno 48 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0031989-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
kim 20 fable kim 45 harbor farah 34 ember dina 46 cobalt jules 21 delta jules 33 birch farah 9 juniper lina 86 indigo
kim 45 harbor farah 34 ember dina 46 cobalt jules 21 delta jules 33 birch farah 9 juniper lina 86 indigo
gus 39 cobalt farah 75 amber jules 108 juniper ivan 15 indigo dina 41 fable bruno 14 amber eli 35 fable chen 35 juniper jules 51 indigo bruno 48 amber
farah 75 amber jules 108 juniper ivan 15 indigo dina 41 fable bruno 14 amber eli 35 fable chen 35 juniper jules 51 indigo bruno 48 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0031989
qwen/qwen3.7-plus
awkweave-0032000
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
kim 27 hana 23 dina 13 ivan 13 farah 7 kim 4 ivan 24 farah 18 lina 12 hana 26
kim pass hana pass dina fail ivan fail farah fail kim fail ivan pass farah fail lina fail hana pass
ivan 21 jules 11 kim 28 hana 9 jules 5 jules 30 hana 10 lina 25 alice 19
ivan pass jules fail kim pass hana fail jules fail jules pass hana fail lina pass alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0032000-p1
Output the value in field 1; if field 2 is 20 or more, output pass, otherwise output fail.
{print $1,($2>=20?"pass":"fail")}
kim 27 hana 23 dina 13 ivan 13 farah 7 kim 4 ivan 24 farah 18 lina 12 hana 26
kim pass hana pass dina fail ivan fail farah fail kim fail ivan pass farah fail lina fail hana pass
ivan 21 jules 11 kim 28 hana 9 jules 5 jules 30 hana 10 lina 25 alice 19
ivan pass jules fail kim pass hana fail jules fail jules pass hana fail lina pass alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0032000
qwen/qwen3.7-plus
awkweave-0032001
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina ember 62 alice juniper 58 dina amber 118 dina delta 109 farah amber 86 hana indigo 27 lina cobalt 117 alice grove 80 chen ember 85
DINA ALICE DINA DINA FARAH HANA LINA ALICE CHEN
chen grove 59 alice ember 69 alice birch 101 alice grove 62 ivan delta 8 bruno cobalt 21 eli birch 70 jules birch 5 dina fable 72 jules fable 119
CHEN ALICE ALICE ALICE IVAN BRUNO ELI JULES DINA JULES
uppercase
1
train
original-grammar
CC-BY-4.0
null
null