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-0026331-p1
Output every line that does not contain the exact string juniper.
$0 !~ /juniper/
delta 30 paused delta 49 paused juniper 42 closed amber 87 failed cobalt 0 ready indigo 1 failed ember 115 failed juniper 107 failed juniper 999 active
delta 30 paused delta 49 paused amber 87 failed cobalt 0 ready indigo 1 failed ember 115 failed
birch 113 ready fable 85 failed amber 83 failed birch 72 ready harbor 6 failed grove 114 pending fable 38 ready harbor 9 active juniper 999 active
birch 113 ready fable 85 failed amber 83 failed birch 72 ready harbor 6 failed grove 114 pending fable 38 ready harbor 9 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026331
qwen/qwen3.7-plus
awkweave-0026332
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
gus harbor 9 dina delta 25 jules amber 17 ivan fable 109 lina cobalt 102 chen fable 75
ivan fable 109 lina cobalt 102 chen fable 75
chen fable 45 alice harbor 113 lina grove 31 farah harbor 1 lina amber 58 dina fable 101 dina ember 92 hana indigo 22
farah harbor 1 lina amber 58 dina fable 101 dina ember 92
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026332-p1
Print lines 4 to 7, inclusive.
NR >= 4 && NR <= 7
gus harbor 9 dina delta 25 jules amber 17 ivan fable 109 lina cobalt 102 chen fable 75
ivan fable 109 lina cobalt 102 chen fable 75
chen fable 45 alice harbor 113 lina grove 31 farah harbor 1 lina amber 58 dina fable 101 dina ember 92 hana indigo 22
farah harbor 1 lina amber 58 dina fable 101 dina ember 92
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026332
qwen/qwen3.7-plus
awkweave-0026333
Output only the first 2 records.
NR <= 2
chen 66 fable bruno 30 harbor lina 115 juniper kim 73 harbor kim 105 harbor dina 12 ember
chen 66 fable bruno 30 harbor
lina 86 birch jules 3 harbor dina 32 ember jules 49 delta kim 22 ember alice 30 delta
lina 86 birch jules 3 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026333-p1
Output only the first 2 records.
NR <= 2
chen 66 fable bruno 30 harbor lina 115 juniper kim 73 harbor kim 105 harbor dina 12 ember
chen 66 fable bruno 30 harbor
lina 86 birch jules 3 harbor dina 32 ember jules 49 delta kim 22 ember alice 30 delta
lina 86 birch jules 3 harbor
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0026333
qwen/qwen3.7-plus
awkweave-0026334
Skip the first line and print every remaining line unchanged.
NR > 1
dina 36 grove chen 70 ember chen 44 harbor hana 47 indigo lina 7 birch ivan 101 ember hana 87 delta
chen 70 ember chen 44 harbor hana 47 indigo lina 7 birch ivan 101 ember hana 87 delta
bruno 111 grove dina 11 juniper bruno 43 amber kim 120 fable chen 93 harbor dina 103 amber jules 97 fable bruno 86 amber
dina 11 juniper bruno 43 amber kim 120 fable chen 93 harbor dina 103 amber jules 97 fable bruno 86 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026334-p1
Omit the first line and print the rest as-is.
NR > 1
dina 36 grove chen 70 ember chen 44 harbor hana 47 indigo lina 7 birch ivan 101 ember hana 87 delta
chen 70 ember chen 44 harbor hana 47 indigo lina 7 birch ivan 101 ember hana 87 delta
bruno 111 grove dina 11 juniper bruno 43 amber kim 120 fable chen 93 harbor dina 103 amber jules 97 fable bruno 86 amber
dina 11 juniper bruno 43 amber kim 120 fable chen 93 harbor dina 103 amber jules 97 fable bruno 86 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026334
qwen/qwen3.7-plus
awkweave-0026335
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
eli active 20 ivan paused 113 hana failed 3 alice ready 52 jules paused 80 gus pending 76 chen closed 68 ivan active 94
1
gus active 42 jules ready 14 farah failed 56 farah failed 92 chen closed 111 alice active 3 lina active 97
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026335-p1
Count records with 'failed' in column 2; output 0 if none exist.
$2 == "failed"{n++}END{print n+0}
eli active 20 ivan paused 113 hana failed 3 alice ready 52 jules paused 80 gus pending 76 chen closed 68 ivan active 94
1
gus active 42 jules ready 14 farah failed 56 farah failed 92 chen closed 111 alice active 3 lina active 97
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026335
qwen/qwen3.7-plus
awkweave-0026336
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
amber 8 farah indigo 19 eli harbor 17 dina harbor 6 alice juniper 24 eli cobalt 16 alice
90
harbor 28 lina indigo 18 ivan amber 8 chen birch 29 alice cobalt 20 hana amber 10 gus
113
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026336-p1
Compute and display the sum of integers in column 2.
{s+=$2}END{print s+0}
amber 8 farah indigo 19 eli harbor 17 dina harbor 6 alice juniper 24 eli cobalt 16 alice
90
harbor 28 lina indigo 18 ivan amber 8 chen birch 29 alice cobalt 20 hana amber 10 gus
113
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026336
qwen/qwen3.7-plus
awkweave-0026337
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 kim harbor 30 farah amber 5 farah ember 23 lina birch 12 alice fable 28 lina juniper
16.83
15 eli ember 6 hana birch 26 alice cobalt 29 bruno delta 25 alice juniper 1 bruno grove 4 gus juniper 16 farah cobalt
15.25
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026337-p1
Print the average of column 1, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
3 kim harbor 30 farah amber 5 farah ember 23 lina birch 12 alice fable 28 lina juniper
16.83
15 eli ember 6 hana birch 26 alice cobalt 29 bruno delta 25 alice juniper 1 bruno grove 4 gus juniper 16 farah cobalt
15.25
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026337
qwen/qwen3.7-plus
awkweave-0026338
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor hana 24 indigo dina 6 indigo jules 24 birch kim 23 ember lina 29 ember farah 18 ember farah 25 juniper farah 27
6
birch dina 25 birch kim 17 fable lina 26 ember kim 17 delta jules 16 juniper kim 1 fable kim 13
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026338-p1
Identify and print the minimum numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
harbor hana 24 indigo dina 6 indigo jules 24 birch kim 23 ember lina 29 ember farah 18 ember farah 25 juniper farah 27
6
birch dina 25 birch kim 17 fable lina 26 ember kim 17 delta jules 16 juniper kim 1 fable kim 13
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026338
qwen/qwen3.7-plus
awkweave-0026339
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 23 farah juniper 29 jules fable 6 bruno delta 7 eli indigo 23 kim grove 7 hana cobalt 10 bruno cobalt 17 jules fable 8 bruno
29
grove 25 lina birch 26 bruno birch 17 farah juniper 16 jules birch 6 eli fable 28 eli harbor 19 kim cobalt 25 kim
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026339-p1
Identify and print the maximum numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
birch 23 farah juniper 29 jules fable 6 bruno delta 7 eli indigo 23 kim grove 7 hana cobalt 10 bruno cobalt 17 jules fable 8 bruno
29
grove 25 lina birch 26 bruno birch 17 farah juniper 16 jules birch 6 eli fable 28 eli harbor 19 kim cobalt 25 kim
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026339
qwen/qwen3.7-plus
awkweave-0026340
Count all input records and print the total.
END{print NR}
jules 109 bruno 36 gus 61 bruno 66 kim 23 jules 110 farah 35
7
farah 71 bruno 24 lina 78 eli 35 dina 103 bruno 9 alice 78 lina 67 alice 90
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026340-p1
Count the total number of input records and print the result.
END{print NR}
jules 109 bruno 36 gus 61 bruno 66 kim 23 jules 110 farah 35
7
farah 71 bruno 24 lina 78 eli 35 dina 103 bruno 9 alice 78 lina 67 alice 90
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026340
qwen/qwen3.7-plus
awkweave-0026341
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
dina indigo 62 gus grove 74 ivan fable 104 hana fable 71 eli ember 31 dina amber 31 kim indigo 97 farah fable 110 gus ember 37 kim indigo 97 dina grove 19
dina indigo 62 gus grove 74 ivan fable 104 hana fable 71 eli ember 31 dina amber 31 kim indigo 97 farah fable 110 gus ember 37 dina grove 19
farah fable 32 dina amber 103 kim grove 74 gus cobalt 106 gus cobalt 106 jules amber 46 gus harbor 119 bruno birch 11 kim fable 98 alice ember 54 farah ember 13
farah fable 32 dina amber 103 kim grove 74 gus cobalt 106 jules amber 46 gus harbor 119 bruno birch 11 kim fable 98 alice ember 54 farah ember 13
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026341-p1
Eliminate exact duplicate lines while keeping the first occurrence and original order.
!seen[$0]++
dina indigo 62 gus grove 74 ivan fable 104 hana fable 71 eli ember 31 dina amber 31 kim indigo 97 farah fable 110 gus ember 37 kim indigo 97 dina grove 19
dina indigo 62 gus grove 74 ivan fable 104 hana fable 71 eli ember 31 dina amber 31 kim indigo 97 farah fable 110 gus ember 37 dina grove 19
farah fable 32 dina amber 103 kim grove 74 gus cobalt 106 gus cobalt 106 jules amber 46 gus harbor 119 bruno birch 11 kim fable 98 alice ember 54 farah ember 13
farah fable 32 dina amber 103 kim grove 74 gus cobalt 106 jules amber 46 gus harbor 119 bruno birch 11 kim fable 98 alice ember 54 farah ember 13
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026341
qwen/qwen3.7-plus
awkweave-0026342
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus juniper 103 dina juniper 81 gus juniper 114 lina grove 98 ivan indigo 43 gus ember 98 hana delta 26 bruno fable 103 farah fable 55
gus juniper 103 lina grove 98 ivan indigo 43 gus ember 98 hana delta 26 bruno fable 103
kim ember 26 hana birch 54 jules indigo 114 bruno harbor 59 chen delta 108 farah indigo 77 jules fable 114 lina amber 90
kim ember 26 hana birch 54 jules indigo 114 bruno harbor 59 chen delta 108 jules fable 114 lina amber 90
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026342-p1
For every unique value in column 2, output only its first occurrence while maintaining the original input sequence.
!seen[$2]++
gus juniper 103 dina juniper 81 gus juniper 114 lina grove 98 ivan indigo 43 gus ember 98 hana delta 26 bruno fable 103 farah fable 55
gus juniper 103 lina grove 98 ivan indigo 43 gus ember 98 hana delta 26 bruno fable 103
kim ember 26 hana birch 54 jules indigo 114 bruno harbor 59 chen delta 108 farah indigo 77 jules fable 114 lina amber 90
kim ember 26 hana birch 54 jules indigo 114 bruno harbor 59 chen delta 108 jules fable 114 lina amber 90
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026342
qwen/qwen3.7-plus
awkweave-0026343
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 25 amber alice 23 amber eli 6 harbor bruno 4 amber lina 6 birch gus 17 grove
kim 25 alice 48 eli 54 bruno 58 lina 64 gus 81
ivan 4 indigo ivan 8 amber kim 12 fable kim 20 harbor alice 12 indigo lina 15 indigo lina 16 birch lina 1 ember gus 26 grove
ivan 4 ivan 12 kim 24 kim 44 alice 56 lina 71 lina 87 lina 88 gus 114
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026343-p1
Output column 1 alongside the cumulative total of column 2 for each record, using a space as the delimiter.
{s+=$2;print $1,s}
kim 25 amber alice 23 amber eli 6 harbor bruno 4 amber lina 6 birch gus 17 grove
kim 25 alice 48 eli 54 bruno 58 lina 64 gus 81
ivan 4 indigo ivan 8 amber kim 12 fable kim 20 harbor alice 12 indigo lina 15 indigo lina 16 birch lina 1 ember gus 26 grove
ivan 4 ivan 12 kim 24 kim 44 alice 56 lina 71 lina 87 lina 88 gus 114
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026343
qwen/qwen3.7-plus
awkweave-0026344
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 16 11 juniper jules 14 2 grove jules 1 22 fable kim 11 30 amber gus 3 6 delta hana 18 2 harbor alice 23 16 grove eli 23 3 birch eli 1 28 grove
jules 27 jules 16 jules 23 kim 41 gus 9 hana 20 alice 39 eli 26 eli 29
ivan 14 7 amber ivan 28 1 grove hana 19 2 indigo ivan 12 5 indigo hana 26 6 fable hana 19 13 ember farah 8 24 birch jules 10 23 fable
ivan 21 ivan 29 hana 21 ivan 17 hana 32 hana 32 farah 32 jules 33
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026344-p1
Display field 1 followed by the sum of fields 2 and 3 for every row.
{print $1,$2+$3}
jules 16 11 juniper jules 14 2 grove jules 1 22 fable kim 11 30 amber gus 3 6 delta hana 18 2 harbor alice 23 16 grove eli 23 3 birch eli 1 28 grove
jules 27 jules 16 jules 23 kim 41 gus 9 hana 20 alice 39 eli 26 eli 29
ivan 14 7 amber ivan 28 1 grove hana 19 2 indigo ivan 12 5 indigo hana 26 6 fable hana 19 13 ember farah 8 24 birch jules 10 23 fable
ivan 21 ivan 29 hana 21 ivan 17 hana 32 hana 32 farah 32 jules 33
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026344
qwen/qwen3.7-plus
awkweave-0026345
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
kim 3 kim 22 jules 2 dina 22 chen 1 dina 18 gus 20
kim fail kim pass jules fail dina pass chen fail dina fail gus fail
chen 11 lina 30 alice 17 lina 29 jules 19 jules 19 bruno 8
chen fail lina pass alice fail lina pass jules fail jules fail bruno fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026345-p1
Output column 1 with 'pass' if column 2 is 21 or greater, otherwise output 'fail'.
{print $1,($2>=21?"pass":"fail")}
kim 3 kim 22 jules 2 dina 22 chen 1 dina 18 gus 20
kim fail kim pass jules fail dina pass chen fail dina fail gus fail
chen 11 lina 30 alice 17 lina 29 jules 19 jules 19 bruno 8
chen fail lina pass alice fail lina pass jules fail jules fail bruno fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026345
qwen/qwen3.7-plus
awkweave-0026346
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
kim harbor 89 farah delta 22 gus juniper 57 ivan delta 74 ivan birch 60 ivan cobalt 71 gus cobalt 22 kim cobalt 108 dina delta 17
HARBOR DELTA JUNIPER DELTA BIRCH COBALT COBALT COBALT DELTA
farah harbor 114 bruno fable 49 bruno cobalt 35 chen birch 113 eli indigo 56 bruno harbor 36 hana harbor 5 alice delta 3
HARBOR FABLE COBALT BIRCH INDIGO HARBOR HARBOR DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026346-p1
Transform column 2 to uppercase letters and print only this modified column.
{print toupper($2)}
kim harbor 89 farah delta 22 gus juniper 57 ivan delta 74 ivan birch 60 ivan cobalt 71 gus cobalt 22 kim cobalt 108 dina delta 17
HARBOR DELTA JUNIPER DELTA BIRCH COBALT COBALT COBALT DELTA
farah harbor 114 bruno fable 49 bruno cobalt 35 chen birch 113 eli indigo 56 bruno harbor 36 hana harbor 5 alice delta 3
HARBOR FABLE COBALT BIRCH INDIGO HARBOR HARBOR DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026346
qwen/qwen3.7-plus
awkweave-0026347
From column 1, print 4 characters starting at character 2.
{print substr($1,2,4)}
grove 20 grove 96 juniper 90 grove 35 delta 34 fable 89 ember 109 indigo 29 harbor 70 juniper 117
rove rove unip rove elta able mber ndig arbo unip
harbor 57 juniper 6 fable 48 amber 88 juniper 58 juniper 95 delta 16 ember 33 delta 118 juniper 29
arbo unip able mber unip unip elta mber elta unip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026347-p1
Extract and print a 4-character substring from column 1, beginning at the second character.
{print substr($1,2,4)}
grove 20 grove 96 juniper 90 grove 35 delta 34 fable 89 ember 109 indigo 29 harbor 70 juniper 117
rove rove unip rove elta able mber ndig arbo unip
harbor 57 juniper 6 fable 48 amber 88 juniper 58 juniper 95 delta 16 ember 33 delta 118 juniper 29
arbo unip able mber unip unip elta mber elta unip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026347
qwen/qwen3.7-plus
awkweave-0026348
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_amber 120 cobalt_fable 77 juniper_ember 36 indigo_juniper 36 ember_grove 24 delta_juniper 38 cobalt_cobalt 18 delta_delta 35
ember amber cobalt fable juniper ember indigo juniper ember grove delta juniper cobalt cobalt delta delta
amber_birch 17 cobalt_grove 27 birch_indigo 31 fable_indigo 115 delta_harbor 41 harbor_ember 56 indigo_ember 60
amber birch cobalt grove birch indigo fable indigo delta harbor harbor ember indigo ember
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026348-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
ember_amber 120 cobalt_fable 77 juniper_ember 36 indigo_juniper 36 ember_grove 24 delta_juniper 38 cobalt_cobalt 18 delta_delta 35
ember amber cobalt fable juniper ember indigo juniper ember grove delta juniper cobalt cobalt delta delta
amber_birch 17 cobalt_grove 27 birch_indigo 31 fable_indigo 115 delta_harbor 41 harbor_ember 56 indigo_ember 60
amber birch cobalt grove birch indigo fable indigo delta harbor harbor ember indigo ember
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026348
qwen/qwen3.7-plus
awkweave-0026349
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)}
bruno amber 11 ready dina delta 23 failed farah amber 95 closed dina grove 71 closed eli juniper 77 paused ivan amber 64 paused lina delta 100 ready
ready 11 amber bruno failed 23 delta dina closed 95 amber farah closed 71 grove dina paused 77 juniper eli paused 64 amber ivan ready 100 delta lina
chen grove 98 failed dina cobalt 46 active chen ember 44 active farah birch 38 paused eli cobalt 102 ready jules ember 6 ready kim birch 26 closed bruno grove 59 paused alice fable 92 active
failed 98 grove chen active 46 cobalt dina active 44 ember chen paused 38 birch farah ready 102 cobalt eli ready 6 ember jules closed 26 birch kim paused 59 grove bruno active 92 fable alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026349-p1
Reverse the sequence of all fields on each line and print the result.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno amber 11 ready dina delta 23 failed farah amber 95 closed dina grove 71 closed eli juniper 77 paused ivan amber 64 paused lina delta 100 ready
ready 11 amber bruno failed 23 delta dina closed 95 amber farah closed 71 grove dina paused 77 juniper eli paused 64 amber ivan ready 100 delta lina
chen grove 98 failed dina cobalt 46 active chen ember 44 active farah birch 38 paused eli cobalt 102 ready jules ember 6 ready kim birch 26 closed bruno grove 59 paused alice fable 92 active
failed 98 grove chen active 46 cobalt dina active 44 ember chen paused 38 birch farah ready 102 cobalt eli ready 6 ember jules closed 26 birch kim paused 59 grove bruno active 92 fable alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026349
qwen/qwen3.7-plus
awkweave-0026350
Print the number of whitespace-separated fields on each line.
{print NF}
farah ember 67 ready ivan indigo 115 closed ivan fable 100 failed dina juniper 74 active gus birch 23 pending chen amber 72 paused gus delta 35 closed hana indigo 51 pending gus cobalt 9 ready gus harbor 39 active
4 4 4 4 4 4 4 4 4 4
lina cobalt 95 paused eli delta 99 closed kim cobalt 42 pending farah ember 64 ready bruno ember 116 closed bruno grove 27 active
4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026350-p1
Output the count of whitespace-delimited fields found on each line.
{print NF}
farah ember 67 ready ivan indigo 115 closed ivan fable 100 failed dina juniper 74 active gus birch 23 pending chen amber 72 paused gus delta 35 closed hana indigo 51 pending gus cobalt 9 ready gus harbor 39 active
4 4 4 4 4 4 4 4 4 4
lina cobalt 95 paused eli delta 99 closed kim cobalt 42 pending farah ember 64 ready bruno ember 116 closed bruno grove 27 active
4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026350
qwen/qwen3.7-plus
awkweave-0026351
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]]}
lina gamma 25 chen gamma 36 chen gamma 16 eli beta 45 lina alpha 25 kim alpha 116 lina gamma 33 gus gamma 12
gamma 5 beta 1 alpha 2
hana delta 17 gus beta 116 gus beta 64 farah alpha 47 jules delta 31 hana alpha 21 eli delta 2 kim alpha 116 kim alpha 107 bruno gamma 24
delta 3 beta 2 alpha 4 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026351-p1
Tally the number of records for each distinct value in column 2, printing the value and its count in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina gamma 25 chen gamma 36 chen gamma 16 eli beta 45 lina alpha 25 kim alpha 116 lina gamma 33 gus gamma 12
gamma 5 beta 1 alpha 2
hana delta 17 gus beta 116 gus beta 64 farah alpha 47 jules delta 31 hana alpha 21 eli delta 2 kim alpha 116 kim alpha 107 bruno gamma 24
delta 3 beta 2 alpha 4 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026351
qwen/qwen3.7-plus
awkweave-0026352
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan alpha 25 hana delta 7 eli delta 21 jules alpha 17 hana alpha 4 farah gamma 23 alice gamma 12
alpha 46 delta 28 gamma 35
dina alpha 18 gus beta 25 hana gamma 6 lina delta 24 chen alpha 11 alice beta 25 farah alpha 2 bruno delta 20 bruno delta 15
alpha 31 beta 50 gamma 6 delta 59
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026352-p1
Calculate the sum of column 3 grouped by column 2 categories, displaying results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan alpha 25 hana delta 7 eli delta 21 jules alpha 17 hana alpha 4 farah gamma 23 alice gamma 12
alpha 46 delta 28 gamma 35
dina alpha 18 gus beta 25 hana gamma 6 lina delta 24 chen alpha 11 alice beta 25 farah alpha 2 bruno delta 20 bruno delta 15
alpha 31 beta 50 gamma 6 delta 59
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026352
qwen/qwen3.7-plus
awkweave-0026353
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 amber 5 alpha birch 2 beta birch 95 gamma amber 37 beta ember 93 beta grove 20 gamma indigo 44 delta ember 57
delta 2 beta 3 gamma 2
gamma indigo 91 alpha indigo 83 delta fable 99 beta grove 10 alpha birch 119 gamma harbor 30 gamma fable 83 gamma fable 75
gamma 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026353-p1
List each duplicate value from column 1 along with its frequency, ordered 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]]}
delta amber 5 alpha birch 2 beta birch 95 gamma amber 37 beta ember 93 beta grove 20 gamma indigo 44 delta ember 57
delta 2 beta 3 gamma 2
gamma indigo 91 alpha indigo 83 delta fable 99 beta grove 10 alpha birch 119 gamma harbor 30 gamma fable 83 gamma fable 75
gamma 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026353
qwen/qwen3.7-plus
awkweave-0026354
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 note score display_name r001 hana 7 pending r002 dina 4 paused r003 kim 13 failed r004 farah 18 paused r005 kim 14 failed r006 farah 14 active r007 dina 12 closed
7 4 13 18 14 14 12
state note score display_name r001 ivan 3 failed r002 bruno 29 paused r003 kim 20 pending r004 bruno 11 closed r005 bruno 14 closed r006 dina 11 ready r007 kim 17 pending r008 dina 22 active r009 jules 15 pending
3 29 20 11 14 11 17 22 15
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026354-p1
Skip the header row and output the score column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]}
state note score display_name r001 hana 7 pending r002 dina 4 paused r003 kim 13 failed r004 farah 18 paused r005 kim 14 failed r006 farah 14 active r007 dina 12 closed
7 4 13 18 14 14 12
state note score display_name r001 ivan 3 failed r002 bruno 29 paused r003 kim 20 pending r004 bruno 11 closed r005 bruno 14 closed r006 dina 11 ready r007 kim 17 pending r008 dina 22 active r009 jules 15 pending
3 29 20 11 14 11 17 22 15
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026354
qwen/qwen3.7-plus
awkweave-0026355
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 hana 26 ready r002 eli 24 closed r003 kim 11 failed r004 ivan 14 closed r005 chen 30 closed r006 gus 21 closed r007 kim 22 paused r008 bruno 8 closed r009 alice 3 failed r010 chen 16 paused
hana eli chen gus kim chen
record_id display_name score state r001 ivan 25 active r002 jules 25 closed r003 farah 13 active r004 farah 3 paused r005 bruno 20 paused r006 chen 28 failed r007 ivan 26 failed r008 gus 30 closed r009 bruno 12 active
ivan jules bruno chen ivan gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026355-p1
Ignoring the header, print the display_name for any data row where the score is strictly greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 hana 26 ready r002 eli 24 closed r003 kim 11 failed r004 ivan 14 closed r005 chen 30 closed r006 gus 21 closed r007 kim 22 paused r008 bruno 8 closed r009 alice 3 failed r010 chen 16 paused
hana eli chen gus kim chen
record_id display_name score state r001 ivan 25 active r002 jules 25 closed r003 farah 13 active r004 farah 3 paused r005 bruno 20 paused r006 chen 28 failed r007 ivan 26 failed r008 gus 30 closed r009 bruno 12 active
ivan jules bruno chen ivan gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026355
qwen/qwen3.7-plus
awkweave-0026356
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 2 active gus 4 closed jules 1 failed farah 24 closed jules 29 failed chen 14 ready alice 25 ready
gus gus jules farah jules chen alice
bruno 8 failed bruno 9 pending kim 25 ready eli 9 pending jules 8 paused bruno 17 closed
bruno bruno kim eli jules bruno
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026356-p1
Given tab-separated input, extract and print the first column from every record.
BEGIN{FS=OFS="\t"}{print $1}
gus 2 active gus 4 closed jules 1 failed farah 24 closed jules 29 failed chen 14 ready alice 25 ready
gus gus jules farah jules chen alice
bruno 8 failed bruno 9 pending kim 25 ready eli 9 pending jules 8 paused bruno 17 closed
bruno bruno kim eli jules bruno
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026356
qwen/qwen3.7-plus
awkweave-0026357
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
kim,3,active jules,25,failed chen,15,ready gus,3,ready bruno,8,ready gus,22,pending alice,10,paused alice,26,pending gus,13,closed chen,17,failed
jules chen gus alice chen
lina,29,closed dina,13,failed bruno,19,active alice,20,pending farah,15,failed farah,29,failed kim,11,failed farah,16,paused ivan,8,failed
lina bruno alice farah farah farah
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026357-p1
For simple comma-separated input without quoted commas, print the first column only if the second column is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
kim,3,active jules,25,failed chen,15,ready gus,3,ready bruno,8,ready gus,22,pending alice,10,paused alice,26,pending gus,13,closed chen,17,failed
jules chen gus alice chen
lina,29,closed dina,13,failed bruno,19,active alice,20,pending farah,15,failed farah,29,failed kim,11,failed farah,16,paused ivan,8,failed
lina bruno alice farah farah farah
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026357
qwen/qwen3.7-plus
awkweave-0026358
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno indigo 120 gus ember 76 chen birch 7 eli delta 31 kim juniper 11 farah fable 0 gus delta 22 gus delta 3
bruno indigo 120 gus ember 76 chen birch 7 eli delta 31 kim juniper 11 farah fable 0 gus delta 22 gus delta 3
farah indigo 68 bruno grove 118 eli juniper 14 farah delta 96 lina delta 48 jules cobalt 111
farah indigo 68 bruno grove 118 eli juniper 14 farah delta 96 lina delta 48 jules cobalt 111
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026358-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
bruno indigo 120 gus ember 76 chen birch 7 eli delta 31 kim juniper 11 farah fable 0 gus delta 22 gus delta 3
bruno indigo 120 gus ember 76 chen birch 7 eli delta 31 kim juniper 11 farah fable 0 gus delta 22 gus delta 3
farah indigo 68 bruno grove 118 eli juniper 14 farah delta 96 lina delta 48 jules cobalt 111
farah indigo 68 bruno grove 118 eli juniper 14 farah delta 96 lina delta 48 jules cobalt 111
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026358
qwen/qwen3.7-plus
awkweave-0026359
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno indigo 30 active gus fable 33 active alice harbor 27 active jules ember 11 closed hana indigo 87 active bruno ember 67 paused chen fable 33 closed
bruno indigo 30 active
hana ember 2 pending ivan amber 113 paused chen juniper 84 active farah indigo 78 failed bruno grove 9 pending jules juniper 24 ready chen fable 47 paused
chen juniper 84 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026359-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
bruno indigo 30 active gus fable 33 active alice harbor 27 active jules ember 11 closed hana indigo 87 active bruno ember 67 paused chen fable 33 closed
bruno indigo 30 active
hana ember 2 pending ivan amber 113 paused chen juniper 84 active farah indigo 78 failed bruno grove 9 pending jules juniper 24 ready chen fable 47 paused
chen juniper 84 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026359
qwen/qwen3.7-plus
awkweave-0026360
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
lina 1 chen 13 ivan 55 lina 12 jules 98 dina 0 hana 119 farah 50 eli 34 alice 56
lina 12 farah 50
chen 49 bruno 15 jules 4 hana 27 ivan 115 lina 104
hana 27
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026360-p1
Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.).
NR%4==0
lina 1 chen 13 ivan 55 lina 12 jules 98 dina 0 hana 119 farah 50 eli 34 alice 56
lina 12 farah 50
chen 49 bruno 15 jules 4 hana 27 ivan 115 lina 104
hana 27
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026360
qwen/qwen3.7-plus
awkweave-0026361
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 104 beta delta 15 gamma harbor 7 beta fable 16 gamma grove 70 alpha ember 75 alpha amber 1 delta juniper 40
7
alpha amber 68 alpha juniper 20 gamma harbor 57 gamma fable 82 alpha juniper 54 delta delta 51 beta harbor 73 beta amber 52 delta fable 83
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026361-p1
Calculate the number of unique values in the second column and print only that count.
{if(!seen[$2]++)n++}END{print n+0}
beta amber 104 beta delta 15 gamma harbor 7 beta fable 16 gamma grove 70 alpha ember 75 alpha amber 1 delta juniper 40
7
alpha amber 68 alpha juniper 20 gamma harbor 57 gamma fable 82 alpha juniper 54 delta delta 51 beta harbor 73 beta amber 52 delta fable 83
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026361
qwen/qwen3.7-plus
awkweave-0026362
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}
kim 12 0 hana 13 5 kim 17 13 bruno 29 16 eli 28 11 bruno 20 4
hana 2.60 kim 1.31 bruno 1.81 eli 2.55 bruno 5.00
alice 14 0 ivan 23 12 hana 24 24 ivan 9 5 dina 14 19 alice 12 17 dina 20 29 hana 3 6 hana 22 21 kim 19 28
ivan 1.92 hana 1.00 ivan 1.80 dina 0.74 alice 0.71 dina 0.69 hana 0.50 hana 1.05 kim 0.68
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026362-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
kim 12 0 hana 13 5 kim 17 13 bruno 29 16 eli 28 11 bruno 20 4
hana 2.60 kim 1.31 bruno 1.81 eli 2.55 bruno 5.00
alice 14 0 ivan 23 12 hana 24 24 ivan 9 5 dina 14 19 alice 12 17 dina 20 29 hana 3 6 hana 22 21 kim 19 28
ivan 1.92 hana 1.00 ivan 1.80 dina 0.74 alice 0.71 dina 0.69 hana 0.50 hana 1.05 kim 0.68
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026362
qwen/qwen3.7-plus
awkweave-0026363
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice indigo 28 jules grove 9 alice grove 18 farah cobalt 17 bruno indigo 6 hana ember 20 gus harbor 24 gus juniper 22
alice indigo 28 gus harbor 24 gus juniper 22
jules amber 9 gus indigo 14 eli amber 7 jules ember 3 chen cobalt 28 kim fable 10 hana indigo 19 bruno juniper 28 chen amber 25 dina cobalt 17
chen cobalt 28 bruno juniper 28 chen amber 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026363-p1
Retrieve the three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
alice indigo 28 jules grove 9 alice grove 18 farah cobalt 17 bruno indigo 6 hana ember 20 gus harbor 24 gus juniper 22
alice indigo 28 gus harbor 24 gus juniper 22
jules amber 9 gus indigo 14 eli amber 7 jules ember 3 chen cobalt 28 kim fable 10 hana indigo 19 bruno juniper 28 chen amber 25 dina cobalt 17
chen cobalt 28 bruno juniper 28 chen amber 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026363
qwen/qwen3.7-plus
awkweave-0026364
Select the 4th and 2nd fields in that order.
{print $4, $2}
dina pending birch 57 jules pending grove 3 ivan paused birch 67 eli closed indigo 29 gus closed harbor 106 kim pending indigo 55 bruno pending cobalt 63 gus failed indigo 2 lina failed fable 91 hana failed amber 6
57 pending 3 pending 67 paused 29 closed 106 closed 55 pending 63 pending 2 failed 91 failed 6 failed
eli failed harbor 62 alice failed ember 0 farah paused fable 17 eli ready amber 28 bruno paused harbor 70 bruno failed grove 40 farah failed harbor 1 lina closed delta 7 hana failed amber 95
62 failed 0 failed 17 paused 28 ready 70 paused 40 failed 1 failed 7 closed 95 failed
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026364-p1
Extract and print the 4th field followed by the 2nd field for each record.
{print $4, $2}
dina pending birch 57 jules pending grove 3 ivan paused birch 67 eli closed indigo 29 gus closed harbor 106 kim pending indigo 55 bruno pending cobalt 63 gus failed indigo 2 lina failed fable 91 hana failed amber 6
57 pending 3 pending 67 paused 29 closed 106 closed 55 pending 63 pending 2 failed 91 failed 6 failed
eli failed harbor 62 alice failed ember 0 farah paused fable 17 eli ready amber 28 bruno paused harbor 70 bruno failed grove 40 farah failed harbor 1 lina closed delta 7 hana failed amber 95
62 failed 0 failed 17 paused 28 ready 70 paused 40 failed 1 failed 7 closed 95 failed
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026364
qwen/qwen3.7-plus
awkweave-0026365
Print the last field of every input line.
{print $NF}
bruno 94 fable 51 chen 46 cobalt 68 farah 75 grove 69 alice 101 cobalt 32 kim 111 juniper 51 dina 88 fable 28 kim 64 amber 46 hana 86 cobalt 7
51 68 69 32 51 28 46 7
farah 27 grove 85 dina 85 indigo 2 jules 72 cobalt 107 farah 47 fable 99 bruno 113 juniper 38 dina 14 amber 75 bruno 96 indigo 5 alice 62 amber 46
85 2 107 99 38 75 5 46
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026365-p1
Print the final field from every line of the input.
{print $NF}
bruno 94 fable 51 chen 46 cobalt 68 farah 75 grove 69 alice 101 cobalt 32 kim 111 juniper 51 dina 88 fable 28 kim 64 amber 46 hana 86 cobalt 7
51 68 69 32 51 28 46 7
farah 27 grove 85 dina 85 indigo 2 jules 72 cobalt 107 farah 47 fable 99 bruno 113 juniper 38 dina 14 amber 75 bruno 96 indigo 5 alice 62 amber 46
85 2 107 99 38 75 5 46
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026365
qwen/qwen3.7-plus
awkweave-0026366
Print the complete records where column 1 is less than 29.
$1 < 29
35 lina failed pending 120 chen ready active 58 bruno failed closed 24 chen closed active 73 gus paused paused 15 hana closed pending 108 farah active paused 18 gus ready ready
24 chen closed active 15 hana closed pending 18 gus ready ready
50 lina active failed 24 hana ready paused 41 hana paused active 43 hana closed ready 119 jules ready ready 86 hana closed closed 91 chen pending pending 17 bruno paused active 74 alice closed failed
24 hana ready paused 17 bruno paused active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026366-p1
Display full records where the value in the first column is strictly less than 29.
$1 < 29
35 lina failed pending 120 chen ready active 58 bruno failed closed 24 chen closed active 73 gus paused paused 15 hana closed pending 108 farah active paused 18 gus ready ready
24 chen closed active 15 hana closed pending 18 gus ready ready
50 lina active failed 24 hana ready paused 41 hana paused active 43 hana closed ready 119 jules ready ready 86 hana closed closed 91 chen pending pending 17 bruno paused active 74 alice closed failed
24 hana ready paused 17 bruno paused active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026366
qwen/qwen3.7-plus
awkweave-0026367
Show whole lines whose 3rd field is between 9 and 23, inclusive.
$3 >= 9 && $3 <= 23
ready lina 20 active paused kim 17 closed paused hana 7 ready active jules 8 failed closed chen 1 paused paused alice 10 closed closed bruno 9 pending failed bruno 15 paused
ready lina 20 active paused kim 17 closed paused alice 10 closed closed bruno 9 pending failed bruno 15 paused
pending gus 6 active pending dina 29 active failed ivan 21 paused ready hana 2 ready active alice 21 failed ready bruno 2 closed pending hana 22 pending ready lina 1 ready
failed ivan 21 paused active alice 21 failed pending hana 22 pending
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026367-p1
Output entire lines where the third field falls within the range of 9 to 23, inclusive.
$3 >= 9 && $3 <= 23
ready lina 20 active paused kim 17 closed paused hana 7 ready active jules 8 failed closed chen 1 paused paused alice 10 closed closed bruno 9 pending failed bruno 15 paused
ready lina 20 active paused kim 17 closed paused alice 10 closed closed bruno 9 pending failed bruno 15 paused
pending gus 6 active pending dina 29 active failed ivan 21 paused ready hana 2 ready active alice 21 failed ready bruno 2 closed pending hana 22 pending ready lina 1 ready
failed ivan 21 paused active alice 21 failed pending hana 22 pending
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026367
qwen/qwen3.7-plus
awkweave-0026368
Print column 3 only for rows where column 4 is exactly pending.
$4 == "pending"{print $3}
84 ember eli closed 21 delta bruno pending 64 ember jules pending 43 amber farah active 111 ember bruno paused 29 amber lina failed 73 amber lina ready 69 grove hana paused 91 ember kim failed
bruno jules
118 cobalt hana closed 38 grove alice failed 81 indigo eli ready 65 birch alice closed 67 indigo hana pending 101 harbor farah ready 74 fable kim closed
hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026368-p1
Extract only the third column for rows where the fourth column equals pending.
$4 == "pending"{print $3}
84 ember eli closed 21 delta bruno pending 64 ember jules pending 43 amber farah active 111 ember bruno paused 29 amber lina failed 73 amber lina ready 69 grove hana paused 91 ember kim failed
bruno jules
118 cobalt hana closed 38 grove alice failed 81 indigo eli ready 65 birch alice closed 67 indigo hana pending 101 harbor farah ready 74 fable kim closed
hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026368
qwen/qwen3.7-plus
awkweave-0026369
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
grove INFO 105 cobalt ERROR 103 ember ERROR 12 grove DEBUG 97 delta INFO 58 delta DEBUG 74 harbor WARN 116
harbor WARN 116
amber WARN 39 fable ERROR 90 harbor DEBUG 63 cobalt ERROR 117 grove WARN 105 juniper INFO 51 harbor DEBUG 47 delta ERROR 43 delta DEBUG 38 ember WARN 114
amber WARN 39 grove WARN 105 ember WARN 114
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026369-p1
Print all fields from lines where the second field starts with the prefix WARN.
$2 ~ /^WARN/
grove INFO 105 cobalt ERROR 103 ember ERROR 12 grove DEBUG 97 delta INFO 58 delta DEBUG 74 harbor WARN 116
harbor WARN 116
amber WARN 39 fable ERROR 90 harbor DEBUG 63 cobalt ERROR 117 grove WARN 105 juniper INFO 51 harbor DEBUG 47 delta ERROR 43 delta DEBUG 38 ember WARN 114
amber WARN 39 grove WARN 105 ember WARN 114
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026369
qwen/qwen3.7-plus
awkweave-0026370
Print every line except those containing the exact text ember.
$0 !~ /ember/
birch 118 active juniper 41 ready ember 86 pending juniper 37 pending juniper 27 pending indigo 61 paused ember 51 paused ember 999 active
birch 118 active juniper 41 ready juniper 37 pending juniper 27 pending indigo 61 paused
ember 3 active cobalt 63 ready grove 96 active amber 93 failed fable 71 pending fable 59 failed cobalt 73 active grove 20 active ember 91 paused birch 78 pending ember 999 active
cobalt 63 ready grove 96 active amber 93 failed fable 71 pending fable 59 failed cobalt 73 active grove 20 active birch 78 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026370-p1
Output every line that does not contain the exact string ember.
$0 !~ /ember/
birch 118 active juniper 41 ready ember 86 pending juniper 37 pending juniper 27 pending indigo 61 paused ember 51 paused ember 999 active
birch 118 active juniper 41 ready juniper 37 pending juniper 27 pending indigo 61 paused
ember 3 active cobalt 63 ready grove 96 active amber 93 failed fable 71 pending fable 59 failed cobalt 73 active grove 20 active ember 91 paused birch 78 pending ember 999 active
cobalt 63 ready grove 96 active amber 93 failed fable 71 pending fable 59 failed cobalt 73 active grove 20 active birch 78 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026370
qwen/qwen3.7-plus
awkweave-0026371
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
farah grove 57 alice cobalt 55 hana amber 41 alice amber 92 dina ember 69 bruno fable 94 gus harbor 9 farah amber 48 bruno indigo 84
hana amber 41 alice amber 92
eli indigo 111 ivan fable 50 ivan amber 111 lina delta 47 chen ember 101 dina birch 21 chen birch 27
ivan amber 111 lina delta 47
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026371-p1
Display lines 3 through 4, inclusive of both endpoints.
NR >= 3 && NR <= 4
farah grove 57 alice cobalt 55 hana amber 41 alice amber 92 dina ember 69 bruno fable 94 gus harbor 9 farah amber 48 bruno indigo 84
hana amber 41 alice amber 92
eli indigo 111 ivan fable 50 ivan amber 111 lina delta 47 chen ember 101 dina birch 21 chen birch 27
ivan amber 111 lina delta 47
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026371
qwen/qwen3.7-plus
awkweave-0026372
Output only the first 5 records.
NR <= 5
chen 71 delta lina 76 amber alice 63 amber alice 2 fable gus 2 birch dina 116 birch
chen 71 delta lina 76 amber alice 63 amber alice 2 fable gus 2 birch
dina 112 delta dina 98 juniper alice 110 cobalt alice 42 juniper hana 23 indigo gus 30 delta dina 12 amber hana 22 birch kim 11 ember chen 69 amber
dina 112 delta dina 98 juniper alice 110 cobalt alice 42 juniper hana 23 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026372-p1
Output only the first 5 records from the input.
NR <= 5
chen 71 delta lina 76 amber alice 63 amber alice 2 fable gus 2 birch dina 116 birch
chen 71 delta lina 76 amber alice 63 amber alice 2 fable gus 2 birch
dina 112 delta dina 98 juniper alice 110 cobalt alice 42 juniper hana 23 indigo gus 30 delta dina 12 amber hana 22 birch kim 11 ember chen 69 amber
dina 112 delta dina 98 juniper alice 110 cobalt alice 42 juniper hana 23 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026372
qwen/qwen3.7-plus
awkweave-0026373
Skip the first line and print every remaining line unchanged.
NR > 1
jules 20 amber gus 34 grove alice 109 grove eli 117 delta bruno 88 amber kim 119 cobalt
gus 34 grove alice 109 grove eli 117 delta bruno 88 amber kim 119 cobalt
hana 56 delta eli 27 cobalt hana 85 juniper gus 46 delta eli 78 fable kim 105 grove lina 49 cobalt alice 63 birch
eli 27 cobalt hana 85 juniper gus 46 delta eli 78 fable kim 105 grove lina 49 cobalt alice 63 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026373-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
jules 20 amber gus 34 grove alice 109 grove eli 117 delta bruno 88 amber kim 119 cobalt
gus 34 grove alice 109 grove eli 117 delta bruno 88 amber kim 119 cobalt
hana 56 delta eli 27 cobalt hana 85 juniper gus 46 delta eli 78 fable kim 105 grove lina 49 cobalt alice 63 birch
eli 27 cobalt hana 85 juniper gus 46 delta eli 78 fable kim 105 grove lina 49 cobalt alice 63 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026373
qwen/qwen3.7-plus
awkweave-0026374
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
hana active 89 gus active 72 gus paused 22 eli failed 35 alice active 93 gus failed 33
0
eli failed 28 bruno closed 77 hana failed 109 jules pending 82 farah closed 12 jules paused 77
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026374-p1
Count the number of records containing pending in the second column, outputting 0 if none are found.
$2 == "pending"{n++}END{print n+0}
hana active 89 gus active 72 gus paused 22 eli failed 35 alice active 93 gus failed 33
0
eli failed 28 bruno closed 77 hana failed 109 jules pending 82 farah closed 12 jules paused 77
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026374
qwen/qwen3.7-plus
awkweave-0026375
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
14 delta farah 1 harbor ivan 10 delta ivan 15 indigo gus 28 harbor farah 10 grove alice 26 indigo hana
104
23 indigo lina 3 amber bruno 13 fable jules 16 indigo kim 9 indigo gus 15 cobalt hana 28 harbor farah 26 amber lina 3 fable dina
136
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026375-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
14 delta farah 1 harbor ivan 10 delta ivan 15 indigo gus 28 harbor farah 10 grove alice 26 indigo hana
104
23 indigo lina 3 amber bruno 13 fable jules 16 indigo kim 9 indigo gus 15 cobalt hana 28 harbor farah 26 amber lina 3 fable dina
136
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026375
qwen/qwen3.7-plus
awkweave-0026376
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta bruno 24 indigo alice 27 grove ivan 3 indigo jules 2 fable gus 20 delta jules 3 harbor ivan 26 indigo alice 28 harbor ivan 12
16.11
harbor eli 21 fable hana 5 grove gus 6 grove hana 30 harbor eli 30 delta gus 24
19.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026376-p1
Calculate the average of the values in the third column and print it rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
delta bruno 24 indigo alice 27 grove ivan 3 indigo jules 2 fable gus 20 delta jules 3 harbor ivan 26 indigo alice 28 harbor ivan 12
16.11
harbor eli 21 fable hana 5 grove gus 6 grove hana 30 harbor eli 30 delta gus 24
19.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026376
qwen/qwen3.7-plus
awkweave-0026377
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt farah 29 cobalt hana 14 ember gus 17 delta chen 2 fable farah 16 birch dina 17 indigo dina 25 ember hana 24
2
harbor alice 8 birch eli 19 harbor jules 15 delta dina 20 birch bruno 8 indigo jules 4 amber kim 30
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026377-p1
Identify and print the minimum numeric value present in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
cobalt farah 29 cobalt hana 14 ember gus 17 delta chen 2 fable farah 16 birch dina 17 indigo dina 25 ember hana 24
2
harbor alice 8 birch eli 19 harbor jules 15 delta dina 20 birch bruno 8 indigo jules 4 amber kim 30
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026377
qwen/qwen3.7-plus
awkweave-0026378
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah indigo 4 kim amber 25 bruno indigo 17 dina harbor 11 alice birch 27 bruno indigo 6 kim grove 29
29
bruno indigo 6 kim juniper 25 hana grove 1 gus indigo 12 dina indigo 9 ivan grove 27 bruno grove 23 eli harbor 4
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026378-p1
Identify and output the maximum numerical value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
farah indigo 4 kim amber 25 bruno indigo 17 dina harbor 11 alice birch 27 bruno indigo 6 kim grove 29
29
bruno indigo 6 kim juniper 25 hana grove 1 gus indigo 12 dina indigo 9 ivan grove 27 bruno grove 23 eli harbor 4
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026378
qwen/qwen3.7-plus
awkweave-0026379
Count all input records and print the total.
END{print NR}
dina 21 lina 91 farah 61 alice 60 hana 89 hana 111 ivan 43 eli 102 lina 86
9
farah 10 farah 0 hana 77 farah 9 bruno 95 ivan 95 kim 78 lina 17 ivan 19 ivan 86
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026379-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 21 lina 91 farah 61 alice 60 hana 89 hana 111 ivan 43 eli 102 lina 86
9
farah 10 farah 0 hana 77 farah 9 bruno 95 ivan 95 kim 78 lina 17 ivan 19 ivan 86
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026379
qwen/qwen3.7-plus
awkweave-0026380
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina delta 45 eli harbor 79 eli harbor 79 alice juniper 13 hana juniper 120 kim harbor 92 gus fable 6
lina delta 45 eli harbor 79 alice juniper 13 hana juniper 120 kim harbor 92 gus fable 6
bruno indigo 55 alice harbor 107 ivan amber 21 chen grove 61 ivan grove 34 ivan harbor 84 bruno indigo 55 kim juniper 58
bruno indigo 55 alice harbor 107 ivan amber 21 chen grove 61 ivan grove 34 ivan harbor 84 kim juniper 58
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0026380-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
lina delta 45 eli harbor 79 eli harbor 79 alice juniper 13 hana juniper 120 kim harbor 92 gus fable 6
lina delta 45 eli harbor 79 alice juniper 13 hana juniper 120 kim harbor 92 gus fable 6
bruno indigo 55 alice harbor 107 ivan amber 21 chen grove 61 ivan grove 34 ivan harbor 84 bruno indigo 55 kim juniper 58
bruno indigo 55 alice harbor 107 ivan amber 21 chen grove 61 ivan grove 34 ivan harbor 84 kim juniper 58
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0026380
qwen/qwen3.7-plus
awkweave-0026381
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
kim harbor 111 eli indigo 60 gus harbor 111 alice juniper 67 gus grove 31 hana amber 13 alice harbor 62 jules birch 93 ivan delta 92
kim harbor 111 eli indigo 60 gus harbor 111 alice juniper 67 hana amber 13 jules birch 93 ivan delta 92
alice fable 62 kim birch 24 lina cobalt 4 bruno fable 62 ivan ember 48 kim fable 113 jules harbor 4
alice fable 62 kim birch 24 lina cobalt 4 bruno fable 62 ivan ember 48 jules harbor 4
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null