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-0056443
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
kim pending 38 farah active 23 bruno failed 71 kim failed 101 dina failed 103 hana failed 82 dina failed 29 jules closed 45
1
alice pending 30 eli closed 113 lina ready 48 ivan active 70 ivan closed 0 alice closed 49 gus failed 70
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056443-p1
Count the number of records where column 2 is 'pending', printing 0 if none exist.
$2 == "pending"{n++}END{print n+0}
kim pending 38 farah active 23 bruno failed 71 kim failed 101 dina failed 103 hana failed 82 dina failed 29 jules closed 45
1
alice pending 30 eli closed 113 lina ready 48 ivan active 70 ivan closed 0 alice closed 49 gus failed 70
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056443
qwen/qwen3.7-plus
awkweave-0056444
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
28 dina harbor 1 eli ember 27 farah grove 24 jules delta 8 alice grove 29 dina grove 17 farah fable 29 gus indigo
163
29 lina indigo 11 lina grove 2 hana juniper 2 farah cobalt 6 ivan delta 22 chen amber 14 lina ember 25 eli amber
111
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056444-p1
Compute and display the sum of integer values in column 1.
{s+=$1}END{print s+0}
28 dina harbor 1 eli ember 27 farah grove 24 jules delta 8 alice grove 29 dina grove 17 farah fable 29 gus indigo
163
29 lina indigo 11 lina grove 2 hana juniper 2 farah cobalt 6 ivan delta 22 chen amber 14 lina ember 25 eli amber
111
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056444
qwen/qwen3.7-plus
awkweave-0056445
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 6 chen birch 29 farah birch 9 gus delta 4 hana indigo 7 ivan juniper 26 jules grove 11 farah fable 28 kim grove 13 farah delta 24 eli
15.70
ember 9 dina delta 14 farah indigo 16 farah grove 2 alice fable 27 jules amber 27 hana amber 7 alice
14.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056445-p1
Print the average of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 6 chen birch 29 farah birch 9 gus delta 4 hana indigo 7 ivan juniper 26 jules grove 11 farah fable 28 kim grove 13 farah delta 24 eli
15.70
ember 9 dina delta 14 farah indigo 16 farah grove 2 alice fable 27 jules amber 27 hana amber 7 alice
14.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056445
qwen/qwen3.7-plus
awkweave-0056446
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo bruno 20 ember dina 27 amber kim 29 amber ivan 20 cobalt alice 13 indigo lina 15 delta eli 13 delta dina 5 harbor dina 20
5
ember hana 3 fable alice 30 cobalt dina 28 grove dina 19 indigo alice 1 ember farah 7 amber alice 13 harbor hana 17 delta lina 6 cobalt dina 22
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056446-p1
Identify and print the minimum numeric value found in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
indigo bruno 20 ember dina 27 amber kim 29 amber ivan 20 cobalt alice 13 indigo lina 15 delta eli 13 delta dina 5 harbor dina 20
5
ember hana 3 fable alice 30 cobalt dina 28 grove dina 19 indigo alice 1 ember farah 7 amber alice 13 harbor hana 17 delta lina 6 cobalt dina 22
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056446
qwen/qwen3.7-plus
awkweave-0056447
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 29 chen amber 3 farah harbor 24 alice indigo 26 ivan amber 19 bruno cobalt 27 gus grove 11 kim harbor 20 farah
29
ember 16 dina birch 3 lina birch 3 hana delta 17 gus harbor 7 hana amber 18 gus
18
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056447-p1
Identify and print the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 29 chen amber 3 farah harbor 24 alice indigo 26 ivan amber 19 bruno cobalt 27 gus grove 11 kim harbor 20 farah
29
ember 16 dina birch 3 lina birch 3 hana delta 17 gus harbor 7 hana amber 18 gus
18
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056447
qwen/qwen3.7-plus
awkweave-0056448
Count all input records and print the total.
END{print NR}
alice 29 lina 41 alice 69 bruno 3 eli 65 gus 98 hana 13 ivan 48 bruno 23 lina 85
10
jules 33 farah 60 ivan 97 kim 82 hana 52 hana 58 gus 17 kim 25 lina 70
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056448-p1
Output the total number of input records.
END{print NR}
alice 29 lina 41 alice 69 bruno 3 eli 65 gus 98 hana 13 ivan 48 bruno 23 lina 85
10
jules 33 farah 60 ivan 97 kim 82 hana 52 hana 58 gus 17 kim 25 lina 70
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056448
qwen/qwen3.7-plus
awkweave-0056449
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah indigo 118 gus amber 82 ivan grove 45 eli indigo 72 chen cobalt 10 farah cobalt 94 gus amber 82
farah indigo 118 gus amber 82 ivan grove 45 eli indigo 72 chen cobalt 10 farah cobalt 94
farah cobalt 72 farah cobalt 72 alice ember 113 bruno ember 117 dina juniper 26 lina grove 22 alice delta 37
farah cobalt 72 alice ember 113 bruno ember 117 dina juniper 26 lina grove 22 alice delta 37
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056449-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
farah indigo 118 gus amber 82 ivan grove 45 eli indigo 72 chen cobalt 10 farah cobalt 94 gus amber 82
farah indigo 118 gus amber 82 ivan grove 45 eli indigo 72 chen cobalt 10 farah cobalt 94
farah cobalt 72 farah cobalt 72 alice ember 113 bruno ember 117 dina juniper 26 lina grove 22 alice delta 37
farah cobalt 72 alice ember 113 bruno ember 117 dina juniper 26 lina grove 22 alice delta 37
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056449
qwen/qwen3.7-plus
awkweave-0056450
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
jules amber 15 gus fable 3 dina indigo 56 eli fable 79 alice cobalt 77 alice juniper 42 jules fable 11
jules amber 15 gus fable 3 dina indigo 56 eli fable 79 alice cobalt 77 alice juniper 42 jules fable 11
farah amber 74 chen ember 82 lina indigo 0 kim fable 103 bruno delta 115 farah harbor 0 lina amber 118 hana grove 103 gus grove 10
farah amber 74 chen ember 82 lina indigo 0 kim fable 103 bruno delta 115 lina amber 118 gus grove 10
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056450-p1
Retain only the initial row for every unique value found in the third column, keeping the original order.
!seen[$3]++
jules amber 15 gus fable 3 dina indigo 56 eli fable 79 alice cobalt 77 alice juniper 42 jules fable 11
jules amber 15 gus fable 3 dina indigo 56 eli fable 79 alice cobalt 77 alice juniper 42 jules fable 11
farah amber 74 chen ember 82 lina indigo 0 kim fable 103 bruno delta 115 farah harbor 0 lina amber 118 hana grove 103 gus grove 10
farah amber 74 chen ember 82 lina indigo 0 kim fable 103 bruno delta 115 lina amber 118 gus grove 10
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056450
qwen/qwen3.7-plus
awkweave-0056451
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 1 delta dina 23 delta eli 11 juniper farah 3 delta ivan 29 fable hana 1 birch eli 19 grove alice 3 delta
lina 1 dina 24 eli 35 farah 38 ivan 67 hana 68 eli 87 alice 90
gus 7 ember eli 28 juniper chen 2 delta alice 13 birch chen 19 juniper dina 22 delta kim 23 juniper lina 4 juniper kim 1 indigo dina 16 grove
gus 7 eli 35 chen 37 alice 50 chen 69 dina 91 kim 114 lina 118 kim 119 dina 135
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056451-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}
lina 1 delta dina 23 delta eli 11 juniper farah 3 delta ivan 29 fable hana 1 birch eli 19 grove alice 3 delta
lina 1 dina 24 eli 35 farah 38 ivan 67 hana 68 eli 87 alice 90
gus 7 ember eli 28 juniper chen 2 delta alice 13 birch chen 19 juniper dina 22 delta kim 23 juniper lina 4 juniper kim 1 indigo dina 16 grove
gus 7 eli 35 chen 37 alice 50 chen 69 dina 91 kim 114 lina 118 kim 119 dina 135
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056451
qwen/qwen3.7-plus
awkweave-0056452
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 18 11 fable bruno 9 29 amber dina 21 19 grove eli 25 5 cobalt kim 1 29 indigo farah 8 14 delta eli 4 13 amber
jules 29 bruno 38 dina 40 eli 30 kim 30 farah 22 eli 17
kim 26 23 grove jules 1 27 amber chen 21 15 ember jules 22 15 indigo dina 14 4 indigo jules 16 20 cobalt dina 10 1 ember hana 19 3 birch
kim 49 jules 28 chen 36 jules 37 dina 18 jules 36 dina 11 hana 22
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056452-p1
Output the first field followed by the sum of the second and third fields for every row.
{print $1,$2+$3}
jules 18 11 fable bruno 9 29 amber dina 21 19 grove eli 25 5 cobalt kim 1 29 indigo farah 8 14 delta eli 4 13 amber
jules 29 bruno 38 dina 40 eli 30 kim 30 farah 22 eli 17
kim 26 23 grove jules 1 27 amber chen 21 15 ember jules 22 15 indigo dina 14 4 indigo jules 16 20 cobalt dina 10 1 ember hana 19 3 birch
kim 49 jules 28 chen 36 jules 37 dina 18 jules 36 dina 11 hana 22
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056452
qwen/qwen3.7-plus
awkweave-0056453
Print column 1 and pass when column 2 is at least 21; otherwise print fail.
{print $1,($2>=21?"pass":"fail")}
chen 20 chen 11 dina 27 ivan 14 gus 15 kim 15 bruno 8 jules 15
chen fail chen fail dina pass ivan fail gus fail kim fail bruno fail jules fail
kim 4 gus 22 bruno 25 farah 25 ivan 9 jules 11 hana 17 farah 12
kim fail gus pass bruno pass farah pass ivan fail jules fail hana fail farah fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056453-p1
Output the first column along with 'pass' if the second column is 21 or greater, otherwise output 'fail'.
{print $1,($2>=21?"pass":"fail")}
chen 20 chen 11 dina 27 ivan 14 gus 15 kim 15 bruno 8 jules 15
chen fail chen fail dina pass ivan fail gus fail kim fail bruno fail jules fail
kim 4 gus 22 bruno 25 farah 25 ivan 9 jules 11 hana 17 farah 12
kim fail gus pass bruno pass farah pass ivan fail jules fail hana fail farah fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056453
qwen/qwen3.7-plus
awkweave-0056454
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
kim fable 76 lina fable 35 lina cobalt 97 hana cobalt 31 hana ember 115 farah fable 3 alice cobalt 105 farah fable 74
KIM LINA LINA HANA HANA FARAH ALICE FARAH
farah birch 95 jules delta 0 ivan birch 107 bruno juniper 75 bruno indigo 36 eli ember 101 lina grove 77
FARAH JULES IVAN BRUNO BRUNO ELI LINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056454-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
kim fable 76 lina fable 35 lina cobalt 97 hana cobalt 31 hana ember 115 farah fable 3 alice cobalt 105 farah fable 74
KIM LINA LINA HANA HANA FARAH ALICE FARAH
farah birch 95 jules delta 0 ivan birch 107 bruno juniper 75 bruno indigo 36 eli ember 101 lina grove 77
FARAH JULES IVAN BRUNO BRUNO ELI LINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056454
qwen/qwen3.7-plus
awkweave-0056455
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
fable 17 indigo 96 ember 90 delta 15 delta 44 birch 111
fa in em de de bi
ember 96 grove 3 birch 102 harbor 120 fable 59 fable 63 delta 65 fable 51 cobalt 109 cobalt 100
em gr bi ha fa fa de fa co co
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056455-p1
Extract and print the first 2 characters from the first column.
{print substr($1,1,2)}
fable 17 indigo 96 ember 90 delta 15 delta 44 birch 111
fa in em de de bi
ember 96 grove 3 birch 102 harbor 120 fable 59 fable 63 delta 65 fable 51 cobalt 109 cobalt 100
em gr bi ha fa fa de fa co co
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056455
qwen/qwen3.7-plus
awkweave-0056456
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_grove 11 ember_indigo 36 indigo_amber 105 fable_indigo 67 fable_harbor 92 ember_juniper 45 cobalt_birch 92
amber grove ember indigo indigo amber fable indigo fable harbor ember juniper cobalt birch
fable_amber 50 fable_fable 44 juniper_birch 71 indigo_fable 84 ember_ember 105 amber_harbor 111 amber_juniper 51
fable amber fable fable juniper birch indigo fable ember ember amber harbor amber juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056456-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
amber_grove 11 ember_indigo 36 indigo_amber 105 fable_indigo 67 fable_harbor 92 ember_juniper 45 cobalt_birch 92
amber grove ember indigo indigo amber fable indigo fable harbor ember juniper cobalt birch
fable_amber 50 fable_fable 44 juniper_birch 71 indigo_fable 84 ember_ember 105 amber_harbor 111 amber_juniper 51
fable amber fable fable juniper birch indigo fable ember ember amber harbor amber juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056456
qwen/qwen3.7-plus
awkweave-0056457
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)}
ivan indigo 29 paused hana harbor 29 ready eli indigo 119 ready eli juniper 4 paused chen ember 91 paused hana birch 110 closed
paused 29 indigo ivan ready 29 harbor hana ready 119 indigo eli paused 4 juniper eli paused 91 ember chen closed 110 birch hana
chen harbor 38 active farah cobalt 94 pending lina harbor 56 active gus indigo 51 failed eli delta 87 failed farah amber 57 active alice juniper 15 active gus grove 77 paused dina juniper 20 closed ivan delta 9 failed
active 38 harbor chen pending 94 cobalt farah active 56 harbor lina failed 51 indigo gus failed 87 delta eli active 57 amber farah active 15 juniper alice paused 77 grove gus closed 20 juniper dina failed 9 delta ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056457-p1
Reverse the field order for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan indigo 29 paused hana harbor 29 ready eli indigo 119 ready eli juniper 4 paused chen ember 91 paused hana birch 110 closed
paused 29 indigo ivan ready 29 harbor hana ready 119 indigo eli paused 4 juniper eli paused 91 ember chen closed 110 birch hana
chen harbor 38 active farah cobalt 94 pending lina harbor 56 active gus indigo 51 failed eli delta 87 failed farah amber 57 active alice juniper 15 active gus grove 77 paused dina juniper 20 closed ivan delta 9 failed
active 38 harbor chen pending 94 cobalt farah active 56 harbor lina failed 51 indigo gus failed 87 delta eli active 57 amber farah active 15 juniper alice paused 77 grove gus closed 20 juniper dina failed 9 delta ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056457
qwen/qwen3.7-plus
awkweave-0056458
Print the number of whitespace-separated fields on each line.
{print NF}
lina grove 64 failed chen cobalt 75 failed dina cobalt 77 ready eli fable 83 paused bruno juniper 81 ready kim amber 87 ready eli fable 6 closed alice amber 80 ready dina indigo 116 active
4 4 4 4 4 4 4 4 4
lina amber 58 paused dina harbor 0 ready hana ember 10 ready farah fable 54 ready bruno juniper 16 closed lina juniper 86 pending gus grove 105 closed
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056458-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
lina grove 64 failed chen cobalt 75 failed dina cobalt 77 ready eli fable 83 paused bruno juniper 81 ready kim amber 87 ready eli fable 6 closed alice amber 80 ready dina indigo 116 active
4 4 4 4 4 4 4 4 4
lina amber 58 paused dina harbor 0 ready hana ember 10 ready farah fable 54 ready bruno juniper 16 closed lina juniper 86 pending gus grove 105 closed
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056458
qwen/qwen3.7-plus
awkweave-0056459
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana beta 28 alice gamma 80 kim beta 70 lina alpha 22 ivan delta 95 ivan beta 35
beta 3 gamma 1 alpha 1 delta 1
kim gamma 59 lina gamma 66 bruno alpha 63 dina beta 78 dina beta 109 farah beta 32 ivan gamma 98 alice delta 67 kim gamma 17
gamma 4 alpha 1 beta 3 delta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056459-p1
Tally the records for each distinct value in the second column and print each value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
hana beta 28 alice gamma 80 kim beta 70 lina alpha 22 ivan delta 95 ivan beta 35
beta 3 gamma 1 alpha 1 delta 1
kim gamma 59 lina gamma 66 bruno alpha 63 dina beta 78 dina beta 109 farah beta 32 ivan gamma 98 alice delta 67 kim gamma 17
gamma 4 alpha 1 beta 3 delta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056459
qwen/qwen3.7-plus
awkweave-0056460
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]]}
eli delta 3 farah gamma 2 chen beta 30 eli alpha 9 eli beta 16 dina delta 19
delta 22 gamma 2 beta 46 alpha 9
lina alpha 3 ivan delta 1 farah gamma 19 bruno gamma 13 eli beta 26 lina gamma 2 chen gamma 3 dina delta 2
alpha 3 delta 3 gamma 37 beta 26
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056460-p1
Aggregate the sum of values in column 3 for each unique category found in column 2, ensuring the output groups follow the order of their first appearance in the input.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli delta 3 farah gamma 2 chen beta 30 eli alpha 9 eli beta 16 dina delta 19
delta 22 gamma 2 beta 46 alpha 9
lina alpha 3 ivan delta 1 farah gamma 19 bruno gamma 13 eli beta 26 lina gamma 2 chen gamma 3 dina delta 2
alpha 3 delta 3 gamma 37 beta 26
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056460
qwen/qwen3.7-plus
awkweave-0056461
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha fable 18 beta amber 20 beta juniper 15 alpha ember 94 alpha grove 57 beta birch 52 gamma birch 63 beta delta 9 beta harbor 91 gamma delta 7
alpha 3 beta 5 gamma 2
alpha indigo 10 alpha birch 102 alpha fable 95 gamma ember 26 gamma amber 21 alpha delta 21
alpha 4 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056461-p1
Identify all duplicate entries in column 1 and output each repeated value alongside its occurrence count, maintaining the sequence based on when each value first appeared.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha fable 18 beta amber 20 beta juniper 15 alpha ember 94 alpha grove 57 beta birch 52 gamma birch 63 beta delta 9 beta harbor 91 gamma delta 7
alpha 3 beta 5 gamma 2
alpha indigo 10 alpha birch 102 alpha fable 95 gamma ember 26 gamma amber 21 alpha delta 21
alpha 4 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056461
qwen/qwen3.7-plus
awkweave-0056462
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region state display_name note r001 eli 11 pending r002 alice 4 ready r003 chen 1 ready r004 dina 29 paused r005 dina 1 closed r006 ivan 9 closed r007 eli 28 active
pending ready ready paused closed closed active
region state display_name note r001 gus 9 pending r002 farah 1 paused r003 alice 9 failed r004 eli 23 active r005 dina 19 failed r006 ivan 12 failed r007 eli 22 pending r008 eli 7 failed r009 dina 4 paused r010 chen 29 ready
pending paused failed active failed failed pending failed paused ready
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056462-p1
Treating the initial row as a header, extract and display the contents of the note column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region state display_name note r001 eli 11 pending r002 alice 4 ready r003 chen 1 ready r004 dina 29 paused r005 dina 1 closed r006 ivan 9 closed r007 eli 28 active
pending ready ready paused closed closed active
region state display_name note r001 gus 9 pending r002 farah 1 paused r003 alice 9 failed r004 eli 23 active r005 dina 19 failed r006 ivan 12 failed r007 eli 22 pending r008 eli 7 failed r009 dina 4 paused r010 chen 29 ready
pending paused failed active failed failed pending failed paused ready
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056462
qwen/qwen3.7-plus
awkweave-0056463
The first row is a header. Print display_name for data rows whose score is greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 kim 4 closed r002 hana 18 ready r003 chen 10 ready r004 jules 29 pending r005 chen 30 active r006 farah 12 ready r007 ivan 7 failed r008 ivan 4 ready r009 farah 6 failed
jules chen
record_id display_name score state r001 chen 10 pending r002 farah 21 paused r003 kim 29 paused r004 eli 5 active r005 alice 21 paused r006 alice 13 paused r007 jules 4 pending r008 lina 1 active r009 ivan 5 closed
kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056463-p1
With the first line serving as a header, output the display_name field for every data record where the score value is strictly greater than 24.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]}
record_id display_name score state r001 kim 4 closed r002 hana 18 ready r003 chen 10 ready r004 jules 29 pending r005 chen 30 active r006 farah 12 ready r007 ivan 7 failed r008 ivan 4 ready r009 farah 6 failed
jules chen
record_id display_name score state r001 chen 10 pending r002 farah 21 paused r003 kim 29 paused r004 eli 5 active r005 alice 21 paused r006 alice 13 paused r007 jules 4 pending r008 lina 1 active r009 ivan 5 closed
kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056463
qwen/qwen3.7-plus
awkweave-0056464
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
alice 18 pending lina 20 ready eli 12 paused eli 19 ready kim 27 paused lina 15 active
18 20 12 19 27 15
gus 1 pending gus 11 pending gus 14 active jules 29 paused farah 3 active farah 7 ready kim 11 active
1 11 14 29 3 7 11
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056464-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
alice 18 pending lina 20 ready eli 12 paused eli 19 ready kim 27 paused lina 15 active
18 20 12 19 27 15
gus 1 pending gus 11 pending gus 14 active jules 29 paused farah 3 active farah 7 ready kim 11 active
1 11 14 29 3 7 11
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056464
qwen/qwen3.7-plus
awkweave-0056465
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22.
BEGIN{FS=OFS=","}$2>22{print $1}
eli,15,active alice,12,failed dina,19,active hana,5,failed bruno,28,paused farah,15,active alice,28,pending alice,13,failed alice,13,ready alice,6,pending
bruno alice
jules,7,failed farah,26,ready eli,6,ready lina,20,paused lina,12,paused alice,30,paused dina,1,ready chen,5,failed lina,22,ready kim,11,closed
farah alice
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056465-p1
For simple comma-separated input without quoted fields, output the first column only if the value in the second column is greater than 22.
BEGIN{FS=OFS=","}$2>22{print $1}
eli,15,active alice,12,failed dina,19,active hana,5,failed bruno,28,paused farah,15,active alice,28,pending alice,13,failed alice,13,ready alice,6,pending
bruno alice
jules,7,failed farah,26,ready eli,6,ready lina,20,paused lina,12,paused alice,30,paused dina,1,ready chen,5,failed lina,22,ready kim,11,closed
farah alice
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056465
qwen/qwen3.7-plus
awkweave-0056466
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
kim grove 35 dina harbor 83 farah grove 74 jules grove 82 ivan fable 42 kim harbor 61
kim grove 35 dina harbor 83 farah grove 74 jules grove 82 ivan fable 42 kim harbor 61
alice juniper 70 ivan amber 116 jules fable 19 farah amber 43 eli amber 86 hana amber 111 chen cobalt 2
alice juniper 70 ivan amber 116 jules fable 19 farah amber 43 eli amber 86 hana amber 111 chen cobalt 2
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056466-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
kim grove 35 dina harbor 83 farah grove 74 jules grove 82 ivan fable 42 kim harbor 61
kim grove 35 dina harbor 83 farah grove 74 jules grove 82 ivan fable 42 kim harbor 61
alice juniper 70 ivan amber 116 jules fable 19 farah amber 43 eli amber 86 hana amber 111 chen cobalt 2
alice juniper 70 ivan amber 116 jules fable 19 farah amber 43 eli amber 86 hana amber 111 chen cobalt 2
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056466
qwen/qwen3.7-plus
awkweave-0056467
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
chen harbor 92 pending jules cobalt 118 ready gus ember 103 pending farah indigo 20 paused bruno grove 49 paused chen amber 22 failed lina amber 60 ready jules delta 105 pending jules cobalt 57 closed
jules delta 105 pending
farah juniper 93 pending hana cobalt 37 pending bruno harbor 39 paused kim juniper 77 failed alice birch 38 closed eli harbor 78 pending eli birch 68 active kim delta 102 closed gus grove 59 active
farah juniper 93 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056467-p1
Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest in the input.
{if(length($0)>length(best))best=$0}END{print best}
chen harbor 92 pending jules cobalt 118 ready gus ember 103 pending farah indigo 20 paused bruno grove 49 paused chen amber 22 failed lina amber 60 ready jules delta 105 pending jules cobalt 57 closed
jules delta 105 pending
farah juniper 93 pending hana cobalt 37 pending bruno harbor 39 paused kim juniper 77 failed alice birch 38 closed eli harbor 78 pending eli birch 68 active kim delta 102 closed gus grove 59 active
farah juniper 93 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056467
qwen/qwen3.7-plus
awkweave-0056468
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 50 ivan 62 eli 47 dina 111 kim 94 jules 89
farah 50 dina 111
ivan 37 lina 28 farah 113 alice 28 ivan 70 eli 116
ivan 37 alice 28
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056468-p1
Output every third line of the input, beginning with the first line (i.e., lines 1, 4, 7, etc.).
NR%3==1
farah 50 ivan 62 eli 47 dina 111 kim 94 jules 89
farah 50 dina 111
ivan 37 lina 28 farah 113 alice 28 ivan 70 eli 116
ivan 37 alice 28
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056468
qwen/qwen3.7-plus
awkweave-0056469
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta cobalt 78 beta fable 75 beta delta 29 alpha fable 73 beta harbor 85 beta delta 53 alpha amber 23 delta harbor 95
3
gamma harbor 91 beta ember 65 gamma amber 59 gamma grove 19 alpha delta 97 delta indigo 74
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056469-p1
Calculate the total number of unique values present in column 1 and print only this final count.
{if(!seen[$1]++)n++}END{print n+0}
delta cobalt 78 beta fable 75 beta delta 29 alpha fable 73 beta harbor 85 beta delta 53 alpha amber 23 delta harbor 95
3
gamma harbor 91 beta ember 65 gamma amber 59 gamma grove 19 alpha delta 97 delta indigo 74
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056469
qwen/qwen3.7-plus
awkweave-0056470
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}
jules 28 0 kim 6 22 lina 8 16 alice 14 25 kim 21 28 alice 16 20
kim 0.27 lina 0.50 alice 0.56 kim 0.75 alice 0.80
eli 4 0 alice 19 9 farah 24 20 alice 13 21 chen 27 19 hana 7 4 jules 27 22 chen 10 1 bruno 7 9
alice 2.11 farah 1.20 alice 0.62 chen 1.42 hana 1.75 jules 1.23 chen 10.00 bruno 0.78
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056470-p1
For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, excluding any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 28 0 kim 6 22 lina 8 16 alice 14 25 kim 21 28 alice 16 20
kim 0.27 lina 0.50 alice 0.56 kim 0.75 alice 0.80
eli 4 0 alice 19 9 farah 24 20 alice 13 21 chen 27 19 hana 7 4 jules 27 22 chen 10 1 bruno 7 9
alice 2.11 farah 1.20 alice 0.62 chen 1.42 hana 1.75 jules 1.23 chen 10.00 bruno 0.78
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056470
qwen/qwen3.7-plus
awkweave-0056471
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]}
dina grove 27 alice juniper 9 alice fable 11 bruno harbor 29 gus juniper 15 eli juniper 15 alice fable 7 lina cobalt 8 kim delta 21
bruno harbor 29 dina grove 27 kim delta 21
hana grove 18 bruno ember 29 ivan grove 23 gus indigo 17 ivan fable 2 chen grove 26 eli indigo 7 chen delta 27 jules delta 14
bruno ember 29 chen delta 27 chen grove 26
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056471-p1
Output the three full records with the highest numeric values in column 3, sorted in descending order; if values are tied, maintain their original input order.
{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]}
dina grove 27 alice juniper 9 alice fable 11 bruno harbor 29 gus juniper 15 eli juniper 15 alice fable 7 lina cobalt 8 kim delta 21
bruno harbor 29 dina grove 27 kim delta 21
hana grove 18 bruno ember 29 ivan grove 23 gus indigo 17 ivan fable 2 chen grove 26 eli indigo 7 chen delta 27 jules delta 14
bruno ember 29 chen delta 27 chen grove 26
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056471
qwen/qwen3.7-plus
awkweave-0056472
For each line, output fields 3 and 1, in that order.
{print $3, $1}
harbor pending ready failed harbor closed closed pending delta paused ready active ember failed ready active juniper failed closed active cobalt pending closed pending delta closed active failed indigo closed paused pending ember paused failed active
ready harbor closed harbor ready delta ready ember closed juniper closed cobalt active delta paused indigo failed ember
fable pending ready ready grove closed active ready indigo paused paused closed juniper active active closed harbor pending failed paused cobalt failed pending active indigo pending ready ready
ready fable active grove paused indigo active juniper failed harbor pending cobalt ready indigo
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056472-p1
For every line, display the third field followed by the first field.
{print $3, $1}
harbor pending ready failed harbor closed closed pending delta paused ready active ember failed ready active juniper failed closed active cobalt pending closed pending delta closed active failed indigo closed paused pending ember paused failed active
ready harbor closed harbor ready delta ready ember closed juniper closed cobalt active delta paused indigo failed ember
fable pending ready ready grove closed active ready indigo paused paused closed juniper active active closed harbor pending failed paused cobalt failed pending active indigo pending ready ready
ready fable active grove paused indigo active juniper failed harbor pending cobalt ready indigo
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056472
qwen/qwen3.7-plus
awkweave-0056473
Print the last field of every input line.
{print $NF}
kim amber indigo gus 50 chen paused lina fable amber jules 10 jules failed hana indigo indigo hana 114 bruno failed lina fable ember dina 55 gus paused lina ember delta bruno 32 ivan failed ivan indigo birch alice 2 ivan failed lina fable birch farah 51 bruno active alice cobalt juniper lina 57 kim active dina birch in...
paused failed failed paused failed failed active active pending
chen harbor amber hana 105 alice closed ivan amber delta farah 39 lina ready bruno harbor cobalt lina 47 jules closed kim delta grove lina 29 farah ready lina grove birch hana 7 alice paused eli birch harbor jules 103 lina paused eli indigo juniper chen 50 eli paused ivan cobalt grove gus 0 bruno paused jules fable gro...
closed ready closed ready paused paused paused paused active closed
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056473-p1
Output the final field from each input line.
{print $NF}
kim amber indigo gus 50 chen paused lina fable amber jules 10 jules failed hana indigo indigo hana 114 bruno failed lina fable ember dina 55 gus paused lina ember delta bruno 32 ivan failed ivan indigo birch alice 2 ivan failed lina fable birch farah 51 bruno active alice cobalt juniper lina 57 kim active dina birch in...
paused failed failed paused failed failed active active pending
chen harbor amber hana 105 alice closed ivan amber delta farah 39 lina ready bruno harbor cobalt lina 47 jules closed kim delta grove lina 29 farah ready lina grove birch hana 7 alice paused eli birch harbor jules 103 lina paused eli indigo juniper chen 50 eli paused ivan cobalt grove gus 0 bruno paused jules fable gro...
closed ready closed ready paused paused paused paused active closed
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056473
qwen/qwen3.7-plus
awkweave-0056474
Print the complete records where column 2 is at least 40.
$2 >= 40
indigo 107 hana birch 87 gus juniper 94 chen birch 26 lina cobalt 112 dina cobalt 62 gus
indigo 107 hana birch 87 gus juniper 94 chen cobalt 112 dina cobalt 62 gus
indigo 14 lina grove 27 hana harbor 40 hana amber 63 chen birch 104 bruno birch 113 ivan grove 58 ivan delta 88 jules
harbor 40 hana amber 63 chen birch 104 bruno birch 113 ivan grove 58 ivan delta 88 jules
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056474-p1
Print entire records where the value in the second column is greater than or equal to 40.
$2 >= 40
indigo 107 hana birch 87 gus juniper 94 chen birch 26 lina cobalt 112 dina cobalt 62 gus
indigo 107 hana birch 87 gus juniper 94 chen cobalt 112 dina cobalt 62 gus
indigo 14 lina grove 27 hana harbor 40 hana amber 63 chen birch 104 bruno birch 113 ivan grove 58 ivan delta 88 jules
harbor 40 hana amber 63 chen birch 104 bruno birch 113 ivan grove 58 ivan delta 88 jules
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056474
qwen/qwen3.7-plus
awkweave-0056475
Show whole lines whose 2nd field is between 6 and 27, inclusive.
$2 >= 6 && $2 <= 27
fable 25 juniper farah fable 12 juniper ivan fable 21 amber gus ember 2 birch dina ember 18 birch alice fable 24 cobalt alice juniper 26 birch hana indigo 15 delta kim
fable 25 juniper farah fable 12 juniper ivan fable 21 amber gus ember 18 birch alice fable 24 cobalt alice juniper 26 birch hana indigo 15 delta kim
ember 6 grove farah cobalt 8 ember kim indigo 19 indigo gus grove 6 juniper chen amber 19 harbor alice amber 21 birch farah cobalt 17 fable kim birch 3 ember farah fable 4 fable bruno
ember 6 grove farah cobalt 8 ember kim indigo 19 indigo gus grove 6 juniper chen amber 19 harbor alice amber 21 birch farah cobalt 17 fable kim
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056475-p1
Display full lines where the second field falls within the inclusive range of 6 to 27.
$2 >= 6 && $2 <= 27
fable 25 juniper farah fable 12 juniper ivan fable 21 amber gus ember 2 birch dina ember 18 birch alice fable 24 cobalt alice juniper 26 birch hana indigo 15 delta kim
fable 25 juniper farah fable 12 juniper ivan fable 21 amber gus ember 18 birch alice fable 24 cobalt alice juniper 26 birch hana indigo 15 delta kim
ember 6 grove farah cobalt 8 ember kim indigo 19 indigo gus grove 6 juniper chen amber 19 harbor alice amber 21 birch farah cobalt 17 fable kim birch 3 ember farah fable 4 fable bruno
ember 6 grove farah cobalt 8 ember kim indigo 19 indigo gus grove 6 juniper chen amber 19 harbor alice amber 21 birch farah cobalt 17 fable kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056475
qwen/qwen3.7-plus
awkweave-0056476
Print column 4 only for rows where column 3 is exactly paused.
$3 == "paused"{print $4}
28 indigo pending chen 116 amber pending dina 62 fable failed ivan 67 ember failed lina 68 delta ready bruno 74 amber paused kim 23 fable failed kim 66 grove paused hana 2 birch closed lina 45 ember failed eli
kim hana
61 delta pending lina 45 indigo closed dina 86 indigo closed chen 78 grove paused eli 82 ember closed alice 16 juniper active dina
eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056476-p1
Output only the fourth column for rows where the third column is exactly 'paused'.
$3 == "paused"{print $4}
28 indigo pending chen 116 amber pending dina 62 fable failed ivan 67 ember failed lina 68 delta ready bruno 74 amber paused kim 23 fable failed kim 66 grove paused hana 2 birch closed lina 45 ember failed eli
kim hana
61 delta pending lina 45 indigo closed dina 86 indigo closed chen 78 grove paused eli 82 ember closed alice 16 juniper active dina
eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056476
qwen/qwen3.7-plus
awkweave-0056477
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
harbor INFO 114 fable DEBUG 38 indigo DEBUG 73 delta WARN 73 juniper INFO 57 indigo DEBUG 39 harbor WARN 38 cobalt WARN 66 juniper WARN 104 fable WARN 104
harbor INFO 114 juniper INFO 57
fable WARN 10 juniper INFO 72 birch ERROR 109 ember DEBUG 85 grove WARN 66 harbor INFO 83 amber DEBUG 37 fable WARN 7 juniper ERROR 94 amber INFO 40
juniper INFO 72 harbor INFO 83 amber INFO 40
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056477-p1
Print all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
harbor INFO 114 fable DEBUG 38 indigo DEBUG 73 delta WARN 73 juniper INFO 57 indigo DEBUG 39 harbor WARN 38 cobalt WARN 66 juniper WARN 104 fable WARN 104
harbor INFO 114 juniper INFO 57
fable WARN 10 juniper INFO 72 birch ERROR 109 ember DEBUG 85 grove WARN 66 harbor INFO 83 amber DEBUG 37 fable WARN 7 juniper ERROR 94 amber INFO 40
juniper INFO 72 harbor INFO 83 amber INFO 40
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056477
qwen/qwen3.7-plus
awkweave-0056478
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
delta 50 paused harbor 30 closed cobalt 65 paused amber 95 pending birch 39 paused delta 59 failed juniper 999 active
delta 50 paused harbor 30 closed cobalt 65 paused amber 95 pending birch 39 paused delta 59 failed
grove 34 failed amber 71 active amber 118 closed delta 72 pending indigo 79 closed amber 77 ready ember 26 failed delta 113 failed grove 72 pending juniper 999 active
grove 34 failed amber 71 active amber 118 closed delta 72 pending indigo 79 closed amber 77 ready ember 26 failed delta 113 failed grove 72 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056478-p1
Output every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
delta 50 paused harbor 30 closed cobalt 65 paused amber 95 pending birch 39 paused delta 59 failed juniper 999 active
delta 50 paused harbor 30 closed cobalt 65 paused amber 95 pending birch 39 paused delta 59 failed
grove 34 failed amber 71 active amber 118 closed delta 72 pending indigo 79 closed amber 77 ready ember 26 failed delta 113 failed grove 72 pending juniper 999 active
grove 34 failed amber 71 active amber 118 closed delta 72 pending indigo 79 closed amber 77 ready ember 26 failed delta 113 failed grove 72 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056478
qwen/qwen3.7-plus
awkweave-0056479
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
dina ember 43 dina harbor 54 hana delta 107 alice indigo 98 gus harbor 104 hana indigo 66 gus amber 18 lina fable 84
hana delta 107 alice indigo 98 gus harbor 104 hana indigo 66
hana indigo 1 kim ember 50 gus cobalt 52 kim indigo 3 jules indigo 118 farah birch 45 chen ember 45 alice birch 23
gus cobalt 52 kim indigo 3 jules indigo 118 farah birch 45
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056479-p1
Print lines 3 through 6, inclusive of both the start and end lines.
NR >= 3 && NR <= 6
dina ember 43 dina harbor 54 hana delta 107 alice indigo 98 gus harbor 104 hana indigo 66 gus amber 18 lina fable 84
hana delta 107 alice indigo 98 gus harbor 104 hana indigo 66
hana indigo 1 kim ember 50 gus cobalt 52 kim indigo 3 jules indigo 118 farah birch 45 chen ember 45 alice birch 23
gus cobalt 52 kim indigo 3 jules indigo 118 farah birch 45
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056479
qwen/qwen3.7-plus
awkweave-0056480
Output only the first 4 records.
NR <= 4
kim 3 ember eli 18 fable alice 0 indigo dina 13 harbor ivan 92 grove hana 106 ember
kim 3 ember eli 18 fable alice 0 indigo dina 13 harbor
alice 94 cobalt hana 8 grove alice 63 fable lina 111 amber hana 81 ember dina 23 ember gus 58 harbor farah 68 indigo
alice 94 cobalt hana 8 grove alice 63 fable lina 111 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056480-p1
Output only the first 4 records.
NR <= 4
kim 3 ember eli 18 fable alice 0 indigo dina 13 harbor ivan 92 grove hana 106 ember
kim 3 ember eli 18 fable alice 0 indigo dina 13 harbor
alice 94 cobalt hana 8 grove alice 63 fable lina 111 amber hana 81 ember dina 23 ember gus 58 harbor farah 68 indigo
alice 94 cobalt hana 8 grove alice 63 fable lina 111 amber
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0056480
qwen/qwen3.7-plus
awkweave-0056481
Skip the first line and print every remaining line unchanged.
NR > 1
kim 1 delta gus 76 grove farah 113 delta farah 54 grove farah 117 birch chen 57 harbor eli 75 juniper
gus 76 grove farah 113 delta farah 54 grove farah 117 birch chen 57 harbor eli 75 juniper
eli 61 fable bruno 26 amber lina 90 delta lina 106 ember jules 115 ember kim 66 fable farah 74 ember dina 105 amber ivan 67 indigo chen 92 delta
bruno 26 amber lina 90 delta lina 106 ember jules 115 ember kim 66 fable farah 74 ember dina 105 amber ivan 67 indigo chen 92 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056481-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
kim 1 delta gus 76 grove farah 113 delta farah 54 grove farah 117 birch chen 57 harbor eli 75 juniper
gus 76 grove farah 113 delta farah 54 grove farah 117 birch chen 57 harbor eli 75 juniper
eli 61 fable bruno 26 amber lina 90 delta lina 106 ember jules 115 ember kim 66 fable farah 74 ember dina 105 amber ivan 67 indigo chen 92 delta
bruno 26 amber lina 90 delta lina 106 ember jules 115 ember kim 66 fable farah 74 ember dina 105 amber ivan 67 indigo chen 92 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056481
qwen/qwen3.7-plus
awkweave-0056482
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
jules ready 98 alice paused 82 kim failed 98 hana active 53 dina active 103 lina failed 53 lina pending 63 ivan pending 59
1
eli failed 107 hana ready 55 alice pending 17 bruno failed 74 lina active 91 alice pending 40 kim closed 66 alice paused 50 farah paused 65 dina closed 116
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056482-p1
Count the number of records where the second column is 'paused', printing 0 if the count is zero.
$2 == "paused"{n++}END{print n+0}
jules ready 98 alice paused 82 kim failed 98 hana active 53 dina active 103 lina failed 53 lina pending 63 ivan pending 59
1
eli failed 107 hana ready 55 alice pending 17 bruno failed 74 lina active 91 alice pending 40 kim closed 66 alice paused 50 farah paused 65 dina closed 116
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056482
qwen/qwen3.7-plus
awkweave-0056483
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
ember 22 hana birch 23 chen birch 2 farah birch 14 bruno juniper 7 alice amber 11 chen harbor 11 dina fable 27 gus
117
cobalt 25 ivan amber 3 farah cobalt 15 ivan fable 15 hana indigo 25 hana delta 25 chen
108
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056483-p1
Compute and output the sum of all integer values found in the second column.
{s+=$2}END{print s+0}
ember 22 hana birch 23 chen birch 2 farah birch 14 bruno juniper 7 alice amber 11 chen harbor 11 dina fable 27 gus
117
cobalt 25 ivan amber 3 farah cobalt 15 ivan fable 15 hana indigo 25 hana delta 25 chen
108
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056483
qwen/qwen3.7-plus
awkweave-0056484
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus amber 24 alice ember 30 eli juniper 5 kim grove 7 lina harbor 28 farah juniper 18 bruno amber 27 ivan grove 22
20.12
hana harbor 10 eli harbor 4 alice amber 6 farah amber 1 jules delta 26 ivan juniper 8 lina juniper 18
10.43
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056484-p1
Compute and display the average of the third column, formatted to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
gus amber 24 alice ember 30 eli juniper 5 kim grove 7 lina harbor 28 farah juniper 18 bruno amber 27 ivan grove 22
20.12
hana harbor 10 eli harbor 4 alice amber 6 farah amber 1 jules delta 26 ivan juniper 8 lina juniper 18
10.43
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056484
qwen/qwen3.7-plus
awkweave-0056485
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 9 amber gus 8 harbor farah 29 fable gus 8 cobalt kim 16 harbor ivan 1 cobalt hana 22 birch
1
hana 15 cobalt eli 25 fable hana 23 ember lina 7 indigo farah 5 grove dina 9 fable ivan 19 delta gus 14 ember hana 26 juniper chen 16 harbor
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056485-p1
Identify and output the minimum numeric value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
gus 9 amber gus 8 harbor farah 29 fable gus 8 cobalt kim 16 harbor ivan 1 cobalt hana 22 birch
1
hana 15 cobalt eli 25 fable hana 23 ember lina 7 indigo farah 5 grove dina 9 fable ivan 19 delta gus 14 ember hana 26 juniper chen 16 harbor
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056485
qwen/qwen3.7-plus
awkweave-0056486
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
9 amber gus 21 delta dina 20 fable gus 25 ember gus 3 fable bruno 4 delta farah 26 amber ivan 6 juniper lina 5 fable bruno 20 fable dina
26
19 harbor farah 9 amber eli 13 harbor kim 20 grove dina 23 delta alice 13 indigo eli 6 cobalt farah 29 amber kim
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056486-p1
Identify and output the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
9 amber gus 21 delta dina 20 fable gus 25 ember gus 3 fable bruno 4 delta farah 26 amber ivan 6 juniper lina 5 fable bruno 20 fable dina
26
19 harbor farah 9 amber eli 13 harbor kim 20 grove dina 23 delta alice 13 indigo eli 6 cobalt farah 29 amber kim
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056486
qwen/qwen3.7-plus
awkweave-0056487
Count all input records and print the total.
END{print NR}
farah 88 kim 12 kim 111 dina 93 bruno 95 ivan 54 gus 13 kim 118
8
hana 54 ivan 69 lina 102 eli 39 gus 62 kim 61 gus 72 lina 52
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056487-p1
Count the total number of input records and print the result.
END{print NR}
farah 88 kim 12 kim 111 dina 93 bruno 95 ivan 54 gus 13 kim 118
8
hana 54 ivan 69 lina 102 eli 39 gus 62 kim 61 gus 72 lina 52
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056487
qwen/qwen3.7-plus
awkweave-0056488
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen amber 40 chen amber 40 farah fable 62 lina birch 50 bruno juniper 42 gus cobalt 26 hana fable 21 gus ember 52
chen amber 40 farah fable 62 lina birch 50 bruno juniper 42 gus cobalt 26 hana fable 21 gus ember 52
hana ember 60 jules juniper 24 jules juniper 24 kim ember 45 dina juniper 104 chen delta 91 dina juniper 0
hana ember 60 jules juniper 24 kim ember 45 dina juniper 104 chen delta 91 dina juniper 0
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056488-p1
Eliminate duplicate lines while maintaining the original order and keeping the first instance of each line.
!seen[$0]++
chen amber 40 chen amber 40 farah fable 62 lina birch 50 bruno juniper 42 gus cobalt 26 hana fable 21 gus ember 52
chen amber 40 farah fable 62 lina birch 50 bruno juniper 42 gus cobalt 26 hana fable 21 gus ember 52
hana ember 60 jules juniper 24 jules juniper 24 kim ember 45 dina juniper 104 chen delta 91 dina juniper 0
hana ember 60 jules juniper 24 kim ember 45 dina juniper 104 chen delta 91 dina juniper 0
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056488
qwen/qwen3.7-plus
awkweave-0056489
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
alice grove 100 kim birch 90 kim delta 77 hana indigo 93 eli amber 46 bruno ember 36 gus amber 79 hana juniper 92
alice grove 100 kim birch 90 hana indigo 93 eli amber 46 bruno ember 36 gus amber 79
lina grove 50 bruno juniper 9 farah amber 37 hana grove 87 eli harbor 19 bruno delta 109 lina juniper 116 alice amber 71
lina grove 50 bruno juniper 9 farah amber 37 hana grove 87 eli harbor 19 alice amber 71
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056489-p1
Retain only the first occurrence for every unique value in column 1, preserving the original sequence.
!seen[$1]++
alice grove 100 kim birch 90 kim delta 77 hana indigo 93 eli amber 46 bruno ember 36 gus amber 79 hana juniper 92
alice grove 100 kim birch 90 hana indigo 93 eli amber 46 bruno ember 36 gus amber 79
lina grove 50 bruno juniper 9 farah amber 37 hana grove 87 eli harbor 19 bruno delta 109 lina juniper 116 alice amber 71
lina grove 50 bruno juniper 9 farah amber 37 hana grove 87 eli harbor 19 alice amber 71
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056489
qwen/qwen3.7-plus
awkweave-0056500
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
gamma harbor 107 gamma indigo 41 beta grove 108 alpha delta 77 alpha juniper 95 beta grove 35 delta fable 98
gamma 2 beta 2 alpha 2
gamma harbor 62 beta juniper 34 beta harbor 87 beta birch 6 gamma harbor 103 gamma cobalt 74 gamma harbor 22 alpha delta 22 alpha grove 80 beta indigo 105
gamma 4 beta 4 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056500-p1
List each duplicated value from column 1 alongside 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]]}
gamma harbor 107 gamma indigo 41 beta grove 108 alpha delta 77 alpha juniper 95 beta grove 35 delta fable 98
gamma 2 beta 2 alpha 2
gamma harbor 62 beta juniper 34 beta harbor 87 beta birch 6 gamma harbor 103 gamma cobalt 74 gamma harbor 22 alpha delta 22 alpha grove 80 beta indigo 105
gamma 4 beta 4 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056500
qwen/qwen3.7-plus
awkweave-0056501
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note state region display_name r001 hana 29 closed r002 bruno 21 active r003 chen 9 closed r004 kim 15 ready r005 dina 26 failed r006 chen 5 active r007 alice 5 ready r008 chen 29 failed
hana bruno chen kim dina chen alice chen
note state region display_name r001 hana 12 closed r002 jules 22 failed r003 bruno 7 ready r004 chen 19 pending r005 lina 1 pending r006 bruno 30 paused r007 dina 26 ready r008 bruno 7 pending
hana jules bruno chen lina bruno dina bruno
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056501-p1
Treating the first row as a header, output the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
note state region display_name r001 hana 29 closed r002 bruno 21 active r003 chen 9 closed r004 kim 15 ready r005 dina 26 failed r006 chen 5 active r007 alice 5 ready r008 chen 29 failed
hana bruno chen kim dina chen alice chen
note state region display_name r001 hana 12 closed r002 jules 22 failed r003 bruno 7 ready r004 chen 19 pending r005 lina 1 pending r006 bruno 30 paused r007 dina 26 ready r008 bruno 7 pending
hana jules bruno chen lina bruno dina bruno
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056501
qwen/qwen3.7-plus
awkweave-0056502
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 dina 25 failed r002 hana 2 closed r003 jules 29 paused r004 dina 27 active r005 kim 7 active r006 ivan 12 failed r007 hana 3 active r008 chen 21 paused r009 bruno 26 pending r010 ivan 21 failed
dina jules dina chen bruno ivan
record_id display_name score state r001 gus 2 pending r002 jules 19 paused r003 gus 1 paused r004 jules 1 active r005 bruno 22 paused r006 lina 3 paused r007 jules 6 failed
jules bruno
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0056502-p1
With the first row as a header, print the display_name for data rows where the score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 dina 25 failed r002 hana 2 closed r003 jules 29 paused r004 dina 27 active r005 kim 7 active r006 ivan 12 failed r007 hana 3 active r008 chen 21 paused r009 bruno 26 pending r010 ivan 21 failed
dina jules dina chen bruno ivan
record_id display_name score state r001 gus 2 pending r002 jules 19 paused r003 gus 1 paused r004 jules 1 active r005 bruno 22 paused r006 lina 3 paused r007 jules 6 failed
jules bruno
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0056502
qwen/qwen3.7-plus