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-0011000-p1
Output full records where the value in the second column is strictly less than 33.
$2 < 33
gus 116 lina failed ivan 27 dina active farah 45 farah pending lina 96 bruno active eli 43 ivan ready farah 103 kim ready jules 3 dina pending jules 55 eli ready eli 86 lina paused dina 97 jules pending
ivan 27 dina active jules 3 dina pending
chen 2 farah failed kim 71 eli pending gus 38 gus pending alice 115 hana active bruno 70 jules ready dina 26 ivan failed dina 108 alice closed ivan 25 gus failed bruno 83 gus closed bruno 80 alice ready
chen 2 farah failed dina 26 ivan failed ivan 25 gus failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011000
qwen/qwen3.7-plus
awkweave-0011001
Show whole lines whose 2nd field is between 11 and 26, inclusive.
$2 >= 11 && $2 <= 26
farah 27 ready birch bruno 6 paused harbor hana 19 closed grove dina 18 active cobalt eli 1 paused indigo chen 13 pending delta jules 15 active grove jules 7 paused amber eli 3 failed indigo jules 18 pending grove
hana 19 closed grove dina 18 active cobalt chen 13 pending delta jules 15 active grove jules 18 pending grove
bruno 29 pending fable eli 8 active fable eli 16 active grove farah 14 pending birch ivan 15 active cobalt dina 8 failed ember bruno 29 pending indigo kim 5 paused grove dina 5 paused cobalt lina 9 closed juniper
eli 16 active grove farah 14 pending birch ivan 15 active cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011001-p1
Display entire lines where the second field falls within the inclusive range of 11 to 26.
$2 >= 11 && $2 <= 26
farah 27 ready birch bruno 6 paused harbor hana 19 closed grove dina 18 active cobalt eli 1 paused indigo chen 13 pending delta jules 15 active grove jules 7 paused amber eli 3 failed indigo jules 18 pending grove
hana 19 closed grove dina 18 active cobalt chen 13 pending delta jules 15 active grove jules 18 pending grove
bruno 29 pending fable eli 8 active fable eli 16 active grove farah 14 pending birch ivan 15 active cobalt dina 8 failed ember bruno 29 pending indigo kim 5 paused grove dina 5 paused cobalt lina 9 closed juniper
eli 16 active grove farah 14 pending birch ivan 15 active cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011001
qwen/qwen3.7-plus
awkweave-0011002
Print column 4 only for rows where column 1 is exactly paused.
$1 == "paused"{print $4}
failed 75 birch farah ready 44 delta eli paused 7 grove farah ready 81 grove chen failed 19 cobalt eli failed 93 birch bruno
farah
ready 11 indigo alice failed 88 harbor ivan active 14 indigo ivan closed 61 ember bruno closed 76 fable chen pending 82 birch kim active 69 birch dina
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011002-p1
Extract and print only the fourth column for rows where the first column matches 'paused' exactly.
$1 == "paused"{print $4}
failed 75 birch farah ready 44 delta eli paused 7 grove farah ready 81 grove chen failed 19 cobalt eli failed 93 birch bruno
farah
ready 11 indigo alice failed 88 harbor ivan active 14 indigo ivan closed 61 ember bruno closed 76 fable chen pending 82 birch kim active 69 birch dina
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011002
qwen/qwen3.7-plus
awkweave-0011003
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
68 INFO fable 35 ERROR birch 34 WARN birch 52 WARN delta 5 DEBUG ember 49 DEBUG juniper 112 DEBUG cobalt
34 WARN birch 52 WARN delta
74 WARN fable 33 ERROR ember 38 ERROR grove 64 WARN delta 89 ERROR indigo 40 INFO birch 104 ERROR harbor 85 DEBUG juniper 29 WARN fable
74 WARN fable 64 WARN delta 29 WARN fable
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011003-p1
Print all fields from any line where the second field starts with the string 'WARN'.
$2 ~ /^WARN/
68 INFO fable 35 ERROR birch 34 WARN birch 52 WARN delta 5 DEBUG ember 49 DEBUG juniper 112 DEBUG cobalt
34 WARN birch 52 WARN delta
74 WARN fable 33 ERROR ember 38 ERROR grove 64 WARN delta 89 ERROR indigo 40 INFO birch 104 ERROR harbor 85 DEBUG juniper 29 WARN fable
74 WARN fable 64 WARN delta 29 WARN fable
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011003
qwen/qwen3.7-plus
awkweave-0011004
Print every line except those containing the exact text fable.
$0 !~ /fable/
cobalt 92 failed fable 45 active cobalt 23 pending harbor 109 pending juniper 45 failed delta 107 active grove 35 ready birch 70 ready grove 88 ready juniper 108 pending fable 999 active
cobalt 92 failed cobalt 23 pending harbor 109 pending juniper 45 failed delta 107 active grove 35 ready birch 70 ready grove 88 ready juniper 108 pending
birch 32 ready birch 6 paused fable 38 ready harbor 81 active delta 57 closed ember 114 failed amber 25 closed juniper 119 paused fable 118 closed indigo 66 closed fable 999 active
birch 32 ready birch 6 paused harbor 81 active delta 57 closed ember 114 failed amber 25 closed juniper 119 paused indigo 66 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011004-p1
Output every line that does not contain the exact substring 'fable'.
$0 !~ /fable/
cobalt 92 failed fable 45 active cobalt 23 pending harbor 109 pending juniper 45 failed delta 107 active grove 35 ready birch 70 ready grove 88 ready juniper 108 pending fable 999 active
cobalt 92 failed cobalt 23 pending harbor 109 pending juniper 45 failed delta 107 active grove 35 ready birch 70 ready grove 88 ready juniper 108 pending
birch 32 ready birch 6 paused fable 38 ready harbor 81 active delta 57 closed ember 114 failed amber 25 closed juniper 119 paused fable 118 closed indigo 66 closed fable 999 active
birch 32 ready birch 6 paused harbor 81 active delta 57 closed ember 114 failed amber 25 closed juniper 119 paused indigo 66 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011004
qwen/qwen3.7-plus
awkweave-0011005
Print lines 4 through 5, including both endpoints.
NR >= 4 && NR <= 5
bruno ember 42 ivan delta 18 gus grove 13 farah indigo 45 ivan fable 65 chen birch 68 ivan ember 60
farah indigo 45 ivan fable 65
ivan amber 85 chen juniper 28 lina delta 83 bruno birch 6 bruno birch 108 lina juniper 38
bruno birch 6 bruno birch 108
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011005-p1
Print lines 4 through 5, ensuring both the start and end lines are included.
NR >= 4 && NR <= 5
bruno ember 42 ivan delta 18 gus grove 13 farah indigo 45 ivan fable 65 chen birch 68 ivan ember 60
farah indigo 45 ivan fable 65
ivan amber 85 chen juniper 28 lina delta 83 bruno birch 6 bruno birch 108 lina juniper 38
bruno birch 6 bruno birch 108
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011005
qwen/qwen3.7-plus
awkweave-0011006
Output only the first 2 records.
NR <= 2
jules 59 ember kim 56 harbor alice 60 birch lina 56 ember hana 78 ember dina 111 ember kim 120 fable gus 103 birch ivan 76 grove bruno 2 indigo
jules 59 ember kim 56 harbor
gus 89 amber alice 81 delta alice 102 juniper dina 76 ember ivan 56 juniper gus 79 indigo jules 19 amber alice 111 indigo gus 54 delta chen 38 ember
gus 89 amber alice 81 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011006-p1
Display only the first two records from the input.
NR <= 2
jules 59 ember kim 56 harbor alice 60 birch lina 56 ember hana 78 ember dina 111 ember kim 120 fable gus 103 birch ivan 76 grove bruno 2 indigo
jules 59 ember kim 56 harbor
gus 89 amber alice 81 delta alice 102 juniper dina 76 ember ivan 56 juniper gus 79 indigo jules 19 amber alice 111 indigo gus 54 delta chen 38 ember
gus 89 amber alice 81 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011006
qwen/qwen3.7-plus
awkweave-0011007
Skip the first line and print every remaining line unchanged.
NR > 1
dina 79 grove alice 53 delta dina 23 amber bruno 3 delta ivan 52 birch gus 26 grove
alice 53 delta dina 23 amber bruno 3 delta ivan 52 birch gus 26 grove
kim 69 grove dina 105 juniper ivan 31 delta lina 91 delta hana 73 ember kim 46 juniper
dina 105 juniper ivan 31 delta lina 91 delta hana 73 ember kim 46 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011007-p1
Ignore the first line and output all subsequent lines without modification.
NR > 1
dina 79 grove alice 53 delta dina 23 amber bruno 3 delta ivan 52 birch gus 26 grove
alice 53 delta dina 23 amber bruno 3 delta ivan 52 birch gus 26 grove
kim 69 grove dina 105 juniper ivan 31 delta lina 91 delta hana 73 ember kim 46 juniper
dina 105 juniper ivan 31 delta lina 91 delta hana 73 ember kim 46 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011007
qwen/qwen3.7-plus
awkweave-0011008
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
kim closed 104 hana active 85 jules failed 48 chen closed 102 ivan closed 114 eli paused 0 farah paused 80 bruno ready 36 hana closed 98 bruno failed 64
2
gus active 6 gus failed 11 bruno closed 56 dina active 115 kim failed 15 gus paused 52 alice failed 42
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011008-p1
Count the number of records where the second column is 'failed', printing 0 if no such records exist.
$2 == "failed"{n++}END{print n+0}
kim closed 104 hana active 85 jules failed 48 chen closed 102 ivan closed 114 eli paused 0 farah paused 80 bruno ready 36 hana closed 98 bruno failed 64
2
gus active 6 gus failed 11 bruno closed 56 dina active 115 kim failed 15 gus paused 52 alice failed 42
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011008
qwen/qwen3.7-plus
awkweave-0011009
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
lina amber 8 dina cobalt 2 alice amber 25 hana delta 30 bruno fable 6 gus harbor 22 bruno juniper 3
96
lina harbor 21 hana fable 1 lina indigo 27 hana harbor 5 lina indigo 12 alice cobalt 13
79
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011009-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
lina amber 8 dina cobalt 2 alice amber 25 hana delta 30 bruno fable 6 gus harbor 22 bruno juniper 3
96
lina harbor 21 hana fable 1 lina indigo 27 hana harbor 5 lina indigo 12 alice cobalt 13
79
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011009
qwen/qwen3.7-plus
awkweave-0011010
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt hana 17 fable chen 11 juniper kim 17 juniper bruno 23 juniper chen 9 amber hana 13 juniper hana 27
16.71
harbor dina 13 ember bruno 24 cobalt kim 22 ember farah 5 delta ivan 22 grove ivan 7 harbor ivan 7 fable lina 11 harbor eli 13 amber ivan 25
14.90
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011010-p1
Calculate the average of the values in the third column and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
cobalt hana 17 fable chen 11 juniper kim 17 juniper bruno 23 juniper chen 9 amber hana 13 juniper hana 27
16.71
harbor dina 13 ember bruno 24 cobalt kim 22 ember farah 5 delta ivan 22 grove ivan 7 harbor ivan 7 fable lina 11 harbor eli 13 amber ivan 25
14.90
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011010
qwen/qwen3.7-plus
awkweave-0011011
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
grove 30 jules fable 28 hana amber 3 ivan cobalt 12 kim juniper 15 farah cobalt 15 bruno cobalt 16 dina juniper 20 gus juniper 27 lina
3
amber 27 gus delta 14 ivan cobalt 16 farah cobalt 4 jules delta 6 hana juniper 20 jules
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011011-p1
Identify and output the minimum numeric value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
grove 30 jules fable 28 hana amber 3 ivan cobalt 12 kim juniper 15 farah cobalt 15 bruno cobalt 16 dina juniper 20 gus juniper 27 lina
3
amber 27 gus delta 14 ivan cobalt 16 farah cobalt 4 jules delta 6 hana juniper 20 jules
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011011
qwen/qwen3.7-plus
awkweave-0011012
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 juniper hana 14 cobalt jules 23 cobalt jules 13 ember gus 24 juniper jules 17 cobalt dina 22 amber jules 25 harbor farah 15 juniper farah 20 delta alice
25
29 fable hana 2 ember hana 12 grove alice 5 indigo dina 15 grove chen 19 harbor lina 1 harbor jules 12 juniper bruno 6 ember gus
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011012-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
3 juniper hana 14 cobalt jules 23 cobalt jules 13 ember gus 24 juniper jules 17 cobalt dina 22 amber jules 25 harbor farah 15 juniper farah 20 delta alice
25
29 fable hana 2 ember hana 12 grove alice 5 indigo dina 15 grove chen 19 harbor lina 1 harbor jules 12 juniper bruno 6 ember gus
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011012
qwen/qwen3.7-plus
awkweave-0011013
Count all input records and print the total.
END{print NR}
kim 94 alice 1 bruno 104 bruno 41 bruno 64 hana 73 jules 73 farah 7 farah 104 farah 45
10
chen 16 dina 111 eli 63 lina 110 kim 3 gus 53 chen 102 chen 55 hana 11 eli 14
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011013-p1
Calculate the total number of input records and display the count.
END{print NR}
kim 94 alice 1 bruno 104 bruno 41 bruno 64 hana 73 jules 73 farah 7 farah 104 farah 45
10
chen 16 dina 111 eli 63 lina 110 kim 3 gus 53 chen 102 chen 55 hana 11 eli 14
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011013
qwen/qwen3.7-plus
awkweave-0011014
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli cobalt 100 ivan ember 8 gus delta 29 chen ember 80 bruno fable 92 bruno fable 92 bruno delta 46
eli cobalt 100 ivan ember 8 gus delta 29 chen ember 80 bruno fable 92 bruno delta 46
ivan cobalt 61 jules harbor 100 ivan fable 83 lina indigo 3 bruno harbor 116 gus amber 6 lina birch 28 chen juniper 97 jules delta 71 bruno harbor 116 lina fable 32
ivan cobalt 61 jules harbor 100 ivan fable 83 lina indigo 3 bruno harbor 116 gus amber 6 lina birch 28 chen juniper 97 jules delta 71 lina fable 32
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011014-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli cobalt 100 ivan ember 8 gus delta 29 chen ember 80 bruno fable 92 bruno fable 92 bruno delta 46
eli cobalt 100 ivan ember 8 gus delta 29 chen ember 80 bruno fable 92 bruno delta 46
ivan cobalt 61 jules harbor 100 ivan fable 83 lina indigo 3 bruno harbor 116 gus amber 6 lina birch 28 chen juniper 97 jules delta 71 bruno harbor 116 lina fable 32
ivan cobalt 61 jules harbor 100 ivan fable 83 lina indigo 3 bruno harbor 116 gus amber 6 lina birch 28 chen juniper 97 jules delta 71 lina fable 32
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011014
qwen/qwen3.7-plus
awkweave-0011015
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
kim delta 24 lina ember 28 alice indigo 43 eli amber 69 alice juniper 9 kim juniper 38 farah cobalt 14 lina cobalt 55
kim delta 24 lina ember 28 alice indigo 43 eli amber 69 farah cobalt 14
jules birch 97 dina fable 4 alice delta 3 chen birch 87 kim fable 92 dina delta 38 eli birch 82 bruno harbor 42 dina birch 16 alice indigo 40
jules birch 97 dina fable 4 alice delta 3 chen birch 87 kim fable 92 eli birch 82 bruno harbor 42
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011015-p1
Retain only the initial line for every unique value in the first column, keeping the input order intact.
!seen[$1]++
kim delta 24 lina ember 28 alice indigo 43 eli amber 69 alice juniper 9 kim juniper 38 farah cobalt 14 lina cobalt 55
kim delta 24 lina ember 28 alice indigo 43 eli amber 69 farah cobalt 14
jules birch 97 dina fable 4 alice delta 3 chen birch 87 kim fable 92 dina delta 38 eli birch 82 bruno harbor 42 dina birch 16 alice indigo 40
jules birch 97 dina fable 4 alice delta 3 chen birch 87 kim fable 92 eli birch 82 bruno harbor 42
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011015
qwen/qwen3.7-plus
awkweave-0011016
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 18 amber eli 2 fable dina 4 birch kim 23 birch eli 18 cobalt alice 2 juniper alice 30 harbor lina 27 birch
chen 18 eli 20 dina 24 kim 47 eli 65 alice 67 alice 97 lina 124
alice 19 harbor eli 13 birch jules 5 amber hana 9 juniper kim 8 harbor jules 7 indigo farah 13 birch bruno 8 harbor lina 17 grove
alice 19 eli 32 jules 37 hana 46 kim 54 jules 61 farah 74 bruno 82 lina 99
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011016-p1
Output the first column alongside the cumulative total of the second column for each entry, separated by a space.
{s+=$2;print $1,s}
chen 18 amber eli 2 fable dina 4 birch kim 23 birch eli 18 cobalt alice 2 juniper alice 30 harbor lina 27 birch
chen 18 eli 20 dina 24 kim 47 eli 65 alice 67 alice 97 lina 124
alice 19 harbor eli 13 birch jules 5 amber hana 9 juniper kim 8 harbor jules 7 indigo farah 13 birch bruno 8 harbor lina 17 grove
alice 19 eli 32 jules 37 hana 46 kim 54 jules 61 farah 74 bruno 82 lina 99
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011016
qwen/qwen3.7-plus
awkweave-0011017
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 3 12 harbor lina 12 23 amber alice 21 26 juniper alice 29 1 cobalt chen 21 9 grove alice 7 15 birch lina 11 1 amber lina 29 11 grove jules 9 21 amber
gus 15 lina 35 alice 47 alice 30 chen 30 alice 22 lina 12 lina 40 jules 30
gus 3 30 indigo farah 12 15 grove kim 17 10 grove alice 13 11 ember alice 5 21 indigo chen 5 10 amber kim 11 20 cobalt gus 24 10 cobalt bruno 29 23 birch jules 22 26 indigo
gus 33 farah 27 kim 27 alice 24 alice 26 chen 15 kim 31 gus 34 bruno 52 jules 48
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011017-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 3 12 harbor lina 12 23 amber alice 21 26 juniper alice 29 1 cobalt chen 21 9 grove alice 7 15 birch lina 11 1 amber lina 29 11 grove jules 9 21 amber
gus 15 lina 35 alice 47 alice 30 chen 30 alice 22 lina 12 lina 40 jules 30
gus 3 30 indigo farah 12 15 grove kim 17 10 grove alice 13 11 ember alice 5 21 indigo chen 5 10 amber kim 11 20 cobalt gus 24 10 cobalt bruno 29 23 birch jules 22 26 indigo
gus 33 farah 27 kim 27 alice 24 alice 26 chen 15 kim 31 gus 34 bruno 52 jules 48
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011017
qwen/qwen3.7-plus
awkweave-0011018
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
chen 4 hana 30 farah 24 farah 12 dina 30 gus 16 hana 10 chen 21 bruno 24 farah 26
chen fail hana pass farah pass farah fail dina pass gus fail hana fail chen fail bruno pass farah pass
bruno 10 lina 22 dina 13 ivan 3 alice 30 kim 21 eli 25 dina 3 dina 24
bruno fail lina fail dina fail ivan fail alice pass kim fail eli pass dina fail dina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011018-p1
Output the first column along with 'pass' if the second column is 24 or greater; otherwise, output 'fail'.
{print $1,($2>=24?"pass":"fail")}
chen 4 hana 30 farah 24 farah 12 dina 30 gus 16 hana 10 chen 21 bruno 24 farah 26
chen fail hana pass farah pass farah fail dina pass gus fail hana fail chen fail bruno pass farah pass
bruno 10 lina 22 dina 13 ivan 3 alice 30 kim 21 eli 25 dina 3 dina 24
bruno fail lina fail dina fail ivan fail alice pass kim fail eli pass dina fail dina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011018
qwen/qwen3.7-plus
awkweave-0011019
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
lina juniper 45 lina juniper 102 kim juniper 92 gus fable 102 hana birch 43 ivan delta 75 hana amber 110
JUNIPER JUNIPER JUNIPER FABLE BIRCH DELTA AMBER
bruno fable 4 farah delta 88 eli birch 67 bruno amber 70 ivan cobalt 100 farah fable 68 chen delta 98 gus grove 78 gus birch 31
FABLE DELTA BIRCH AMBER COBALT FABLE DELTA GROVE BIRCH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011019-p1
Transform the second column to uppercase letters and print only that column.
{print toupper($2)}
lina juniper 45 lina juniper 102 kim juniper 92 gus fable 102 hana birch 43 ivan delta 75 hana amber 110
JUNIPER JUNIPER JUNIPER FABLE BIRCH DELTA AMBER
bruno fable 4 farah delta 88 eli birch 67 bruno amber 70 ivan cobalt 100 farah fable 68 chen delta 98 gus grove 78 gus birch 31
FABLE DELTA BIRCH AMBER COBALT FABLE DELTA GROVE BIRCH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011019
qwen/qwen3.7-plus
awkweave-0011020
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
harbor 43 birch 8 birch 87 amber 29 juniper 29 grove 25 juniper 113
ha bi bi am ju gr ju
cobalt 69 indigo 55 amber 101 delta 46 cobalt 66 harbor 87 harbor 96 fable 16
co in am de co ha ha fa
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011020-p1
Extract and print the first 2 characters from the first column.
{print substr($1,1,2)}
harbor 43 birch 8 birch 87 amber 29 juniper 29 grove 25 juniper 113
ha bi bi am ju gr ju
cobalt 69 indigo 55 amber 101 delta 46 cobalt 66 harbor 87 harbor 96 fable 16
co in am de co ha ha fa
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011020
qwen/qwen3.7-plus
awkweave-0011021
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
amber_ember 97 fable_birch 109 indigo_grove 109 juniper_delta 43 fable_juniper 42 juniper_juniper 87 birch_birch 103
amber ember fable birch indigo grove juniper delta fable juniper juniper juniper birch birch
ember_fable 81 juniper_fable 93 fable_cobalt 32 birch_indigo 107 cobalt_cobalt 18 birch_amber 54 juniper_ember 45 grove_grove 40
ember fable juniper fable fable cobalt birch indigo cobalt cobalt birch amber juniper ember grove grove
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011021-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
amber_ember 97 fable_birch 109 indigo_grove 109 juniper_delta 43 fable_juniper 42 juniper_juniper 87 birch_birch 103
amber ember fable birch indigo grove juniper delta fable juniper juniper juniper birch birch
ember_fable 81 juniper_fable 93 fable_cobalt 32 birch_indigo 107 cobalt_cobalt 18 birch_amber 54 juniper_ember 45 grove_grove 40
ember fable juniper fable fable cobalt birch indigo cobalt cobalt birch amber juniper ember grove grove
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011021
qwen/qwen3.7-plus
awkweave-0011022
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice birch 0 active bruno cobalt 23 closed farah indigo 89 pending bruno delta 77 paused ivan delta 24 paused ivan birch 14 paused gus birch 73 paused chen delta 58 failed
active 0 birch alice closed 23 cobalt bruno pending 89 indigo farah paused 77 delta bruno paused 24 delta ivan paused 14 birch ivan paused 73 birch gus failed 58 delta chen
eli juniper 3 pending dina cobalt 37 pending lina ember 45 paused eli amber 27 active ivan indigo 34 failed jules cobalt 87 active kim cobalt 46 ready eli birch 97 closed bruno juniper 47 paused ivan harbor 28 closed
pending 3 juniper eli pending 37 cobalt dina paused 45 ember lina active 27 amber eli failed 34 indigo ivan active 87 cobalt jules ready 46 cobalt kim closed 97 birch eli paused 47 juniper bruno closed 28 harbor ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011022-p1
Invert the sequence of fields for every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
alice birch 0 active bruno cobalt 23 closed farah indigo 89 pending bruno delta 77 paused ivan delta 24 paused ivan birch 14 paused gus birch 73 paused chen delta 58 failed
active 0 birch alice closed 23 cobalt bruno pending 89 indigo farah paused 77 delta bruno paused 24 delta ivan paused 14 birch ivan paused 73 birch gus failed 58 delta chen
eli juniper 3 pending dina cobalt 37 pending lina ember 45 paused eli amber 27 active ivan indigo 34 failed jules cobalt 87 active kim cobalt 46 ready eli birch 97 closed bruno juniper 47 paused ivan harbor 28 closed
pending 3 juniper eli pending 37 cobalt dina paused 45 ember lina active 27 amber eli failed 34 indigo ivan active 87 cobalt jules ready 46 cobalt kim closed 97 birch eli paused 47 juniper bruno closed 28 harbor ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011022
qwen/qwen3.7-plus
awkweave-0011023
Print the number of whitespace-separated fields on each line.
{print NF}
kim delta 109 paused farah birch 3 pending dina amber 85 active farah ember 12 pending kim juniper 63 pending eli fable 81 ready bruno birch 43 active
4 4 4 4 4 4 4
eli delta 45 closed farah cobalt 73 paused alice amber 116 ready bruno grove 24 closed farah birch 50 ready gus birch 4 paused gus ember 102 pending
4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011023-p1
Display the count of whitespace-delimited fields for each line.
{print NF}
kim delta 109 paused farah birch 3 pending dina amber 85 active farah ember 12 pending kim juniper 63 pending eli fable 81 ready bruno birch 43 active
4 4 4 4 4 4 4
eli delta 45 closed farah cobalt 73 paused alice amber 116 ready bruno grove 24 closed farah birch 50 ready gus birch 4 paused gus ember 102 pending
4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011023
qwen/qwen3.7-plus
awkweave-0011024
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 beta 50 chen alpha 75 ivan gamma 26 bruno beta 109 chen beta 75 gus beta 5
beta 4 alpha 1 gamma 1
ivan beta 104 lina alpha 23 eli gamma 79 eli alpha 42 gus gamma 68 chen alpha 32 dina alpha 10
beta 1 alpha 4 gamma 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011024-p1
Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
lina beta 50 chen alpha 75 ivan gamma 26 bruno beta 109 chen beta 75 gus beta 5
beta 4 alpha 1 gamma 1
ivan beta 104 lina alpha 23 eli gamma 79 eli alpha 42 gus gamma 68 chen alpha 32 dina alpha 10
beta 1 alpha 4 gamma 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011024
qwen/qwen3.7-plus
awkweave-0011025
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]]}
alice alpha 8 farah delta 28 chen delta 11 lina alpha 7 gus beta 4 gus gamma 5
alpha 15 delta 39 beta 4 gamma 5
ivan gamma 8 gus delta 19 ivan gamma 6 farah delta 7 eli delta 8 jules gamma 16 hana gamma 29
gamma 59 delta 34
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011025-p1
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
alice alpha 8 farah delta 28 chen delta 11 lina alpha 7 gus beta 4 gus gamma 5
alpha 15 delta 39 beta 4 gamma 5
ivan gamma 8 gus delta 19 ivan gamma 6 farah delta 7 eli delta 8 jules gamma 16 hana gamma 29
gamma 59 delta 34
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0011025
qwen/qwen3.7-plus
awkweave-0011026
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 juniper 87 delta juniper 80 alpha delta 97 gamma amber 67 delta ember 50 alpha juniper 54 delta cobalt 12 beta amber 82 delta delta 42
alpha 3 delta 4
delta juniper 58 alpha cobalt 98 delta birch 114 delta birch 70 gamma fable 18 beta juniper 60
delta 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011026-p1
Identify duplicate entries in column 1 and display each repeated value with its total occurrence count, 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]]}
alpha juniper 87 delta juniper 80 alpha delta 97 gamma amber 67 delta ember 50 alpha juniper 54 delta cobalt 12 beta amber 82 delta delta 42
alpha 3 delta 4
delta juniper 58 alpha cobalt 98 delta birch 114 delta birch 70 gamma fable 18 beta juniper 60
delta 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011026
qwen/qwen3.7-plus
awkweave-0011027
The first row is a header. Print the record_id column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score display_name record_id state r001 farah 4 ready r002 farah 30 failed r003 chen 17 failed r004 jules 22 pending r005 farah 24 closed r006 eli 27 ready
4 30 17 22 24 27
score display_name record_id state r001 chen 14 paused r002 bruno 13 paused r003 dina 25 active r004 farah 19 closed r005 farah 30 active r006 eli 5 failed r007 jules 25 active r008 chen 2 paused
14 13 25 19 30 5 25 2
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011027-p1
Treating the first line as a header, extract and print the record_id field from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]}
score display_name record_id state r001 farah 4 ready r002 farah 30 failed r003 chen 17 failed r004 jules 22 pending r005 farah 24 closed r006 eli 27 ready
4 30 17 22 24 27
score display_name record_id state r001 chen 14 paused r002 bruno 13 paused r003 dina 25 active r004 farah 19 closed r005 farah 30 active r006 eli 5 failed r007 jules 25 active r008 chen 2 paused
14 13 25 19 30 5 25 2
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011027
qwen/qwen3.7-plus
awkweave-0011028
The first row is a header. Print display_name for data rows whose score is greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 jules 22 pending r002 kim 24 active r003 ivan 28 closed r004 lina 24 closed r005 gus 19 failed r006 bruno 30 paused r007 bruno 18 active r008 alice 1 pending
jules kim ivan lina gus bruno bruno
record_id display_name score state r001 jules 28 ready r002 jules 1 pending r003 farah 9 pending r004 farah 17 ready r005 lina 9 failed r006 alice 9 pending r007 eli 6 pending
jules
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011028-p1
Ignoring the header row, output the display_name for any record where the score value is strictly greater than 17.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]}
record_id display_name score state r001 jules 22 pending r002 kim 24 active r003 ivan 28 closed r004 lina 24 closed r005 gus 19 failed r006 bruno 30 paused r007 bruno 18 active r008 alice 1 pending
jules kim ivan lina gus bruno bruno
record_id display_name score state r001 jules 28 ready r002 jules 1 pending r003 farah 9 pending r004 farah 17 ready r005 lina 9 failed r006 alice 9 pending r007 eli 6 pending
jules
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011028
qwen/qwen3.7-plus
awkweave-0011029
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
chen 25 failed ivan 20 failed gus 4 closed chen 28 pending alice 8 active dina 28 failed
25 20 4 28 8 28
farah 24 ready lina 21 closed eli 7 ready chen 30 closed gus 1 pending bruno 29 ready farah 12 closed chen 2 paused kim 26 pending
24 21 7 30 1 29 12 2 26
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011029-p1
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
chen 25 failed ivan 20 failed gus 4 closed chen 28 pending alice 8 active dina 28 failed
25 20 4 28 8 28
farah 24 ready lina 21 closed eli 7 ready chen 30 closed gus 1 pending bruno 29 ready farah 12 closed chen 2 paused kim 26 pending
24 21 7 30 1 29 12 2 26
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0011029
qwen/qwen3.7-plus
awkweave-0011030
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17.
BEGIN{FS=OFS=","}$2>17{print $1}
alice,26,failed ivan,5,paused alice,20,pending lina,17,active dina,8,closed chen,28,failed gus,16,closed
alice alice chen
hana,5,active chen,18,failed gus,15,paused gus,6,paused jules,14,ready bruno,20,ready
chen bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011030-p1
For simple comma-separated values without quoted commas, print the first column only if the value in the second column is greater than 17.
BEGIN{FS=OFS=","}$2>17{print $1}
alice,26,failed ivan,5,paused alice,20,pending lina,17,active dina,8,closed chen,28,failed gus,16,closed
alice alice chen
hana,5,active chen,18,failed gus,15,paused gus,6,paused jules,14,ready bruno,20,ready
chen bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011030
qwen/qwen3.7-plus
awkweave-0011031
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules ember 4 ivan ember 98 ivan indigo 8 ivan juniper 1 gus cobalt 101 dina harbor 46
jules ember 4 ivan ember 98 ivan indigo 8 ivan juniper 1 gus cobalt 101 dina harbor 46
lina juniper 85 lina cobalt 12 gus indigo 85 kim indigo 101 eli grove 15 eli birch 17 lina juniper 73 ivan harbor 104 alice delta 94
lina juniper 85 lina cobalt 12 gus indigo 85 kim indigo 101 eli grove 15 eli birch 17 lina juniper 73 ivan harbor 104 alice delta 94
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011031-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
jules ember 4 ivan ember 98 ivan indigo 8 ivan juniper 1 gus cobalt 101 dina harbor 46
jules ember 4 ivan ember 98 ivan indigo 8 ivan juniper 1 gus cobalt 101 dina harbor 46
lina juniper 85 lina cobalt 12 gus indigo 85 kim indigo 101 eli grove 15 eli birch 17 lina juniper 73 ivan harbor 104 alice delta 94
lina juniper 85 lina cobalt 12 gus indigo 85 kim indigo 101 eli grove 15 eli birch 17 lina juniper 73 ivan harbor 104 alice delta 94
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011031
qwen/qwen3.7-plus
awkweave-0011032
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice indigo 6 failed jules harbor 49 paused dina delta 110 paused ivan fable 99 failed farah amber 33 failed lina cobalt 100 ready dina fable 48 ready lina harbor 116 failed
jules harbor 49 paused
gus cobalt 77 ready lina cobalt 93 failed farah delta 83 paused jules ember 94 closed gus birch 113 failed gus cobalt 28 closed
lina cobalt 93 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011032-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
alice indigo 6 failed jules harbor 49 paused dina delta 110 paused ivan fable 99 failed farah amber 33 failed lina cobalt 100 ready dina fable 48 ready lina harbor 116 failed
jules harbor 49 paused
gus cobalt 77 ready lina cobalt 93 failed farah delta 83 paused jules ember 94 closed gus birch 113 failed gus cobalt 28 closed
lina cobalt 93 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011032
qwen/qwen3.7-plus
awkweave-0011033
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
chen 63 hana 8 alice 15 jules 28 jules 39 hana 74 hana 61
alice 15 hana 74
ivan 45 kim 88 alice 119 lina 97 hana 77 jules 112 gus 4
alice 119 jules 112
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011033-p1
Print every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
chen 63 hana 8 alice 15 jules 28 jules 39 hana 74 hana 61
alice 15 hana 74
ivan 45 kim 88 alice 119 lina 97 hana 77 jules 112 gus 4
alice 119 jules 112
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011033
qwen/qwen3.7-plus
awkweave-0011034
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha indigo 91 alpha amber 8 beta juniper 17 alpha harbor 118 gamma juniper 106 beta cobalt 40
5
delta fable 120 alpha ember 5 gamma ember 55 beta juniper 5 gamma cobalt 102 beta grove 52 beta birch 106 beta amber 72
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011034-p1
Determine the number of unique values present in column 2 and output only this total count.
{if(!seen[$2]++)n++}END{print n+0}
alpha indigo 91 alpha amber 8 beta juniper 17 alpha harbor 118 gamma juniper 106 beta cobalt 40
5
delta fable 120 alpha ember 5 gamma ember 55 beta juniper 5 gamma cobalt 102 beta grove 52 beta birch 106 beta amber 72
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011034
qwen/qwen3.7-plus
awkweave-0011035
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
gus 27 0 hana 11 8 chen 1 4 bruno 13 17 bruno 25 2 bruno 14 10 eli 3 27 alice 27 3 bruno 10 14 dina 14 27
hana 1.38 chen 0.25 bruno 0.76 bruno 12.50 bruno 1.40 eli 0.11 alice 9.00 bruno 0.71 dina 0.52
hana 8 0 eli 23 17 gus 21 22 bruno 24 5 ivan 18 22 bruno 4 2 hana 8 18
eli 1.35 gus 0.95 bruno 4.80 ivan 0.82 bruno 2.00 hana 0.44
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011035-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}
gus 27 0 hana 11 8 chen 1 4 bruno 13 17 bruno 25 2 bruno 14 10 eli 3 27 alice 27 3 bruno 10 14 dina 14 27
hana 1.38 chen 0.25 bruno 0.76 bruno 12.50 bruno 1.40 eli 0.11 alice 9.00 bruno 0.71 dina 0.52
hana 8 0 eli 23 17 gus 21 22 bruno 24 5 ivan 18 22 bruno 4 2 hana 8 18
eli 1.35 gus 0.95 bruno 4.80 ivan 0.82 bruno 2.00 hana 0.44
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011035
qwen/qwen3.7-plus
awkweave-0011036
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]}
bruno juniper 22 alice ember 23 farah fable 9 gus grove 23 gus grove 11 lina birch 29 kim harbor 22 hana ember 12 chen ember 5 jules ember 28
lina birch 29 jules ember 28 alice ember 23
kim birch 27 chen amber 25 gus juniper 26 bruno fable 9 bruno indigo 6 chen amber 2
kim birch 27 gus juniper 26 chen amber 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011036-p1
Output the top three full records based on the highest values in column 3, sorted in descending order, while maintaining the original input sequence 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]}
bruno juniper 22 alice ember 23 farah fable 9 gus grove 23 gus grove 11 lina birch 29 kim harbor 22 hana ember 12 chen ember 5 jules ember 28
lina birch 29 jules ember 28 alice ember 23
kim birch 27 chen amber 25 gus juniper 26 bruno fable 9 bruno indigo 6 chen amber 2
kim birch 27 gus juniper 26 chen amber 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011036
qwen/qwen3.7-plus
awkweave-0011037
For each line, output fields 4 and 2, in that order.
{print $4, $2}
farah harbor paused pending jules fable failed paused kim amber closed closed chen birch paused failed lina grove paused active chen harbor paused pending jules cobalt ready failed
pending harbor paused fable closed amber failed birch active grove pending harbor failed cobalt
eli grove ready paused farah grove closed pending lina birch paused closed hana grove pending paused lina indigo closed ready farah amber pending pending chen juniper closed paused chen amber paused ready gus grove paused active
paused grove pending grove closed birch paused grove ready indigo pending amber paused juniper ready amber active grove
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011037-p1
For every line, display field 4 followed by field 2.
{print $4, $2}
farah harbor paused pending jules fable failed paused kim amber closed closed chen birch paused failed lina grove paused active chen harbor paused pending jules cobalt ready failed
pending harbor paused fable closed amber failed birch active grove pending harbor failed cobalt
eli grove ready paused farah grove closed pending lina birch paused closed hana grove pending paused lina indigo closed ready farah amber pending pending chen juniper closed paused chen amber paused ready gus grove paused active
paused grove pending grove closed birch paused grove ready indigo pending amber paused juniper ready amber active grove
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011037
qwen/qwen3.7-plus
awkweave-0011038
Print the last field of every input line.
{print $NF}
alice dina chen 90 chen bruno eli 67 eli ivan alice 86 eli kim hana 106 ivan bruno ivan 43 gus kim chen 10 ivan gus chen 89
90 67 86 106 43 10 89
dina lina farah 81 farah ivan eli 16 bruno alice alice 44 hana lina gus 21 farah farah ivan 0 eli hana dina 52 eli farah ivan 107 bruno chen gus 13 gus ivan bruno 95
81 16 44 21 0 52 107 13 95
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011038-p1
Print the final field from each input line.
{print $NF}
alice dina chen 90 chen bruno eli 67 eli ivan alice 86 eli kim hana 106 ivan bruno ivan 43 gus kim chen 10 ivan gus chen 89
90 67 86 106 43 10 89
dina lina farah 81 farah ivan eli 16 bruno alice alice 44 hana lina gus 21 farah farah ivan 0 eli hana dina 52 eli farah ivan 107 bruno chen gus 13 gus ivan bruno 95
81 16 44 21 0 52 107 13 95
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011038
qwen/qwen3.7-plus
awkweave-0011039
Print the complete records where column 2 is less than 28.
$2 < 28
dina 50 farah kim 20 jules alice 65 dina kim 9 alice chen 27 jules dina 81 bruno
kim 20 jules kim 9 alice chen 27 jules
chen 77 gus bruno 4 gus farah 94 farah farah 50 alice alice 9 kim alice 115 dina hana 108 kim bruno 38 jules
bruno 4 gus alice 9 kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011039-p1
Display complete records where the value in column 2 is strictly less than 28.
$2 < 28
dina 50 farah kim 20 jules alice 65 dina kim 9 alice chen 27 jules dina 81 bruno
kim 20 jules kim 9 alice chen 27 jules
chen 77 gus bruno 4 gus farah 94 farah farah 50 alice alice 9 kim alice 115 dina hana 108 kim bruno 38 jules
bruno 4 gus alice 9 kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011039
qwen/qwen3.7-plus
awkweave-0011040
Show whole lines whose 2nd field is between 9 and 23, inclusive.
$2 >= 9 && $2 <= 23
gus 11 chen grove dina 9 gus fable ivan 14 gus juniper hana 4 gus grove gus 20 gus delta alice 12 gus delta hana 13 chen delta alice 30 alice amber lina 10 chen grove
gus 11 chen grove dina 9 gus fable ivan 14 gus juniper gus 20 gus delta alice 12 gus delta hana 13 chen delta lina 10 chen grove
eli 5 farah birch alice 15 alice amber eli 26 kim fable lina 25 eli cobalt bruno 21 farah fable chen 20 jules birch ivan 8 lina amber kim 28 hana fable
alice 15 alice amber bruno 21 farah fable chen 20 jules birch
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011040-p1
Show entire lines where the second field falls within the inclusive range of 9 to 23.
$2 >= 9 && $2 <= 23
gus 11 chen grove dina 9 gus fable ivan 14 gus juniper hana 4 gus grove gus 20 gus delta alice 12 gus delta hana 13 chen delta alice 30 alice amber lina 10 chen grove
gus 11 chen grove dina 9 gus fable ivan 14 gus juniper gus 20 gus delta alice 12 gus delta hana 13 chen delta lina 10 chen grove
eli 5 farah birch alice 15 alice amber eli 26 kim fable lina 25 eli cobalt bruno 21 farah fable chen 20 jules birch ivan 8 lina amber kim 28 hana fable
alice 15 alice amber bruno 21 farah fable chen 20 jules birch
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011040
qwen/qwen3.7-plus
awkweave-0011041
Print column 2 only for rows where column 1 is exactly active.
$1 == "active"{print $2}
failed bruno 23 indigo active chen 10 grove failed gus 5 delta failed gus 61 amber pending jules 61 amber paused kim 54 amber active bruno 50 birch paused lina 90 fable
chen bruno
failed kim 39 harbor paused lina 29 amber closed hana 104 fable ready gus 69 ember closed jules 82 indigo pending ivan 6 birch
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011041-p1
Output only column 2 for rows where column 1 matches the exact string 'active'.
$1 == "active"{print $2}
failed bruno 23 indigo active chen 10 grove failed gus 5 delta failed gus 61 amber pending jules 61 amber paused kim 54 amber active bruno 50 birch paused lina 90 fable
chen bruno
failed kim 39 harbor paused lina 29 amber closed hana 104 fable ready gus 69 ember closed jules 82 indigo pending ivan 6 birch
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011041
qwen/qwen3.7-plus
awkweave-0011042
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
INFO 25 indigo WARN 91 harbor ERROR 94 amber INFO 8 grove INFO 106 ember INFO 47 ember DEBUG 45 indigo WARN 119 harbor ERROR 13 cobalt WARN 28 grove
ERROR 94 amber ERROR 13 cobalt
DEBUG 19 grove WARN 72 juniper ERROR 5 ember ERROR 9 ember WARN 46 harbor ERROR 39 cobalt
ERROR 5 ember ERROR 9 ember ERROR 39 cobalt
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011042-p1
Print all fields from lines where the first field starts with 'ERROR'.
$1 ~ /^ERROR/
INFO 25 indigo WARN 91 harbor ERROR 94 amber INFO 8 grove INFO 106 ember INFO 47 ember DEBUG 45 indigo WARN 119 harbor ERROR 13 cobalt WARN 28 grove
ERROR 94 amber ERROR 13 cobalt
DEBUG 19 grove WARN 72 juniper ERROR 5 ember ERROR 9 ember WARN 46 harbor ERROR 39 cobalt
ERROR 5 ember ERROR 9 ember ERROR 39 cobalt
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011042
qwen/qwen3.7-plus
awkweave-0011043
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
grove 66 pending ember 88 closed ember 77 closed indigo 59 closed amber 11 ready cobalt 8 paused juniper 104 failed ember 72 ready harbor 999 active
grove 66 pending ember 88 closed ember 77 closed indigo 59 closed amber 11 ready cobalt 8 paused juniper 104 failed ember 72 ready
cobalt 96 failed juniper 12 ready amber 20 pending indigo 17 pending cobalt 89 failed amber 119 failed indigo 51 ready fable 70 failed harbor 999 active
cobalt 96 failed juniper 12 ready amber 20 pending indigo 17 pending cobalt 89 failed amber 119 failed indigo 51 ready fable 70 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011043-p1
Print every line that does not contain the exact substring 'harbor'.
$0 !~ /harbor/
grove 66 pending ember 88 closed ember 77 closed indigo 59 closed amber 11 ready cobalt 8 paused juniper 104 failed ember 72 ready harbor 999 active
grove 66 pending ember 88 closed ember 77 closed indigo 59 closed amber 11 ready cobalt 8 paused juniper 104 failed ember 72 ready
cobalt 96 failed juniper 12 ready amber 20 pending indigo 17 pending cobalt 89 failed amber 119 failed indigo 51 ready fable 70 failed harbor 999 active
cobalt 96 failed juniper 12 ready amber 20 pending indigo 17 pending cobalt 89 failed amber 119 failed indigo 51 ready fable 70 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011043
qwen/qwen3.7-plus
awkweave-0011044
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
chen harbor 18 alice juniper 89 bruno birch 38 dina delta 75 chen amber 15 eli ember 53 ivan amber 104 alice harbor 68 farah cobalt 28
alice juniper 89 bruno birch 38 dina delta 75
alice fable 106 jules amber 62 farah delta 34 lina delta 62 bruno harbor 28 farah delta 20 hana indigo 50
jules amber 62 farah delta 34 lina delta 62
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011044-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
chen harbor 18 alice juniper 89 bruno birch 38 dina delta 75 chen amber 15 eli ember 53 ivan amber 104 alice harbor 68 farah cobalt 28
alice juniper 89 bruno birch 38 dina delta 75
alice fable 106 jules amber 62 farah delta 34 lina delta 62 bruno harbor 28 farah delta 20 hana indigo 50
jules amber 62 farah delta 34 lina delta 62
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011044
qwen/qwen3.7-plus
awkweave-0011045
Output only the first 5 records.
NR <= 5
dina 73 amber hana 96 cobalt ivan 39 juniper eli 78 amber chen 100 cobalt chen 24 juniper
dina 73 amber hana 96 cobalt ivan 39 juniper eli 78 amber chen 100 cobalt
bruno 98 juniper alice 15 amber eli 1 juniper chen 37 delta chen 38 indigo farah 70 ember ivan 27 delta chen 73 ember jules 25 ember gus 8 ember
bruno 98 juniper alice 15 amber eli 1 juniper chen 37 delta chen 38 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011045-p1
Display only the first 5 records.
NR <= 5
dina 73 amber hana 96 cobalt ivan 39 juniper eli 78 amber chen 100 cobalt chen 24 juniper
dina 73 amber hana 96 cobalt ivan 39 juniper eli 78 amber chen 100 cobalt
bruno 98 juniper alice 15 amber eli 1 juniper chen 37 delta chen 38 indigo farah 70 ember ivan 27 delta chen 73 ember jules 25 ember gus 8 ember
bruno 98 juniper alice 15 amber eli 1 juniper chen 37 delta chen 38 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011045
qwen/qwen3.7-plus
awkweave-0011046
Skip the first line and print every remaining line unchanged.
NR > 1
dina 8 grove chen 100 juniper jules 18 birch bruno 82 amber farah 106 ember alice 25 grove dina 55 birch jules 75 ember
chen 100 juniper jules 18 birch bruno 82 amber farah 106 ember alice 25 grove dina 55 birch jules 75 ember
hana 46 juniper ivan 19 indigo gus 32 delta lina 112 ember alice 73 juniper bruno 70 ember hana 52 ember hana 104 grove ivan 115 cobalt
ivan 19 indigo gus 32 delta lina 112 ember alice 73 juniper bruno 70 ember hana 52 ember hana 104 grove ivan 115 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011046-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
dina 8 grove chen 100 juniper jules 18 birch bruno 82 amber farah 106 ember alice 25 grove dina 55 birch jules 75 ember
chen 100 juniper jules 18 birch bruno 82 amber farah 106 ember alice 25 grove dina 55 birch jules 75 ember
hana 46 juniper ivan 19 indigo gus 32 delta lina 112 ember alice 73 juniper bruno 70 ember hana 52 ember hana 104 grove ivan 115 cobalt
ivan 19 indigo gus 32 delta lina 112 ember alice 73 juniper bruno 70 ember hana 52 ember hana 104 grove ivan 115 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011046
qwen/qwen3.7-plus
awkweave-0011047
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
lina active 114 lina closed 48 bruno active 82 bruno pending 68 dina ready 114 kim pending 19 jules pending 18 farah pending 54 ivan paused 86
1
farah ready 108 dina failed 97 hana closed 53 gus active 52 ivan pending 35 chen failed 56 chen closed 23 kim paused 21 ivan closed 0 hana failed 26
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011047-p1
Count the number of records where column 2 is 'closed', and output 0 if no such records exist.
$2 == "closed"{n++}END{print n+0}
lina active 114 lina closed 48 bruno active 82 bruno pending 68 dina ready 114 kim pending 19 jules pending 18 farah pending 54 ivan paused 86
1
farah ready 108 dina failed 97 hana closed 53 gus active 52 ivan pending 35 chen failed 56 chen closed 23 kim paused 21 ivan closed 0 hana failed 26
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011047
qwen/qwen3.7-plus
awkweave-0011048
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
birch jules 16 grove bruno 2 indigo ivan 2 grove hana 25 grove bruno 4 delta chen 28 birch lina 14 birch eli 7
98
juniper chen 28 amber kim 8 cobalt gus 16 fable alice 11 juniper chen 26 ember dina 21
110
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011048-p1
Compute the total of all integer values found in the third column and output the result.
{s+=$3}END{print s+0}
birch jules 16 grove bruno 2 indigo ivan 2 grove hana 25 grove bruno 4 delta chen 28 birch lina 14 birch eli 7
98
juniper chen 28 amber kim 8 cobalt gus 16 fable alice 11 juniper chen 26 ember dina 21
110
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011048
qwen/qwen3.7-plus
awkweave-0011049
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
18 birch jules 29 amber bruno 17 fable ivan 15 ember lina 23 birch jules 7 grove kim 15 amber chen
17.71
1 birch farah 5 ember alice 12 grove eli 30 grove alice 3 grove gus 6 cobalt ivan 20 delta gus 18 juniper eli 10 indigo chen 12 cobalt alice
11.70
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0011049-p1
Output the average of the values in the first column, ensuring the result is rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
18 birch jules 29 amber bruno 17 fable ivan 15 ember lina 23 birch jules 7 grove kim 15 amber chen
17.71
1 birch farah 5 ember alice 12 grove eli 30 grove alice 3 grove gus 6 cobalt ivan 20 delta gus 18 juniper eli 10 indigo chen 12 cobalt alice
11.70
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0011049
qwen/qwen3.7-plus
awkweave-0011050
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
14 farah indigo 7 lina indigo 4 chen juniper 20 lina fable 11 farah amber 13 hana delta 18 gus delta 10 ivan grove 1 kim fable 27 bruno birch
1
6 eli amber 10 kim birch 11 hana fable 28 eli harbor 6 alice indigo 13 alice juniper 6 kim birch 9 jules amber 2 kim cobalt
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null