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-0038611-p1
Output the final field from each line of the input.
{print $NF}
fable chen birch 33 birch farah birch eli grove 96 harbor chen grove kim grove 90 indigo ivan harbor jules fable 36 fable chen birch farah amber 33 grove kim amber lina indigo 82 delta kim amber kim delta 68 birch farah juniper alice harbor 23 ember hana
farah chen ivan chen kim kim farah hana
harbor bruno birch 44 amber farah grove chen grove 86 ember gus juniper chen ember 100 indigo dina amber eli harbor 33 delta gus cobalt alice fable 97 fable gus delta eli grove 2 harbor dina delta gus ember 119 ember gus delta jules ember 89 juniper chen ember hana grove 54 harbor chen harbor eli harbor 81 grove bruno
farah gus dina gus gus dina gus chen chen bruno
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038611
qwen/qwen3.7-plus
awkweave-0038612
Print the complete records where column 2 is greater than 46.
$2 > 46
fable 101 pending ember 86 active ember 25 paused ember 93 closed indigo 21 failed birch 94 closed ember 63 paused delta 76 ready
fable 101 pending ember 86 active ember 93 closed birch 94 closed ember 63 paused delta 76 ready
indigo 74 closed juniper 7 active birch 79 pending birch 95 active birch 21 failed grove 113 closed fable 15 paused
indigo 74 closed birch 79 pending birch 95 active grove 113 closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038612-p1
Output full records where the value in the second column exceeds 46.
$2 > 46
fable 101 pending ember 86 active ember 25 paused ember 93 closed indigo 21 failed birch 94 closed ember 63 paused delta 76 ready
fable 101 pending ember 86 active ember 93 closed birch 94 closed ember 63 paused delta 76 ready
indigo 74 closed juniper 7 active birch 79 pending birch 95 active birch 21 failed grove 113 closed fable 15 paused
indigo 74 closed birch 79 pending birch 95 active grove 113 closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038612
qwen/qwen3.7-plus
awkweave-0038613
Show whole lines whose 2nd field is between 12 and 19, inclusive.
$2 >= 12 && $2 <= 19
closed 2 amber grove closed 27 indigo ember closed 10 fable fable ready 15 grove cobalt paused 24 fable grove failed 19 amber amber ready 28 harbor ember active 14 grove juniper ready 11 amber harbor paused 12 harbor indigo
ready 15 grove cobalt failed 19 amber amber active 14 grove juniper paused 12 harbor indigo
active 14 delta delta active 25 grove ember active 13 cobalt cobalt pending 9 harbor indigo closed 2 amber indigo ready 22 birch amber paused 30 juniper ember
active 14 delta delta active 13 cobalt cobalt
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038613-p1
Display entire lines where the second field falls within the inclusive range of 12 to 19.
$2 >= 12 && $2 <= 19
closed 2 amber grove closed 27 indigo ember closed 10 fable fable ready 15 grove cobalt paused 24 fable grove failed 19 amber amber ready 28 harbor ember active 14 grove juniper ready 11 amber harbor paused 12 harbor indigo
ready 15 grove cobalt failed 19 amber amber active 14 grove juniper paused 12 harbor indigo
active 14 delta delta active 25 grove ember active 13 cobalt cobalt pending 9 harbor indigo closed 2 amber indigo ready 22 birch amber paused 30 juniper ember
active 14 delta delta active 13 cobalt cobalt
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038613
qwen/qwen3.7-plus
awkweave-0038614
Print column 1 only for rows where column 4 is exactly ready.
$4 == "ready"{print $1}
chen 92 ember pending ivan 78 harbor closed eli 10 harbor active eli 97 grove active alice 73 harbor active bruno 73 harbor closed gus 90 fable paused bruno 62 indigo closed kim 36 harbor ready dina 94 amber ready
kim dina
gus 82 delta paused kim 77 juniper ready dina 118 fable failed alice 5 ember paused hana 108 delta pending dina 23 juniper paused bruno 45 harbor pending
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038614-p1
Output only the first column for rows where the fourth column is strictly equal to ready.
$4 == "ready"{print $1}
chen 92 ember pending ivan 78 harbor closed eli 10 harbor active eli 97 grove active alice 73 harbor active bruno 73 harbor closed gus 90 fable paused bruno 62 indigo closed kim 36 harbor ready dina 94 amber ready
kim dina
gus 82 delta paused kim 77 juniper ready dina 118 fable failed alice 5 ember paused hana 108 delta pending dina 23 juniper paused bruno 45 harbor pending
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038614
qwen/qwen3.7-plus
awkweave-0038615
Print all fields from lines where field 3 begins with WARN.
$3 ~ /^WARN/
juniper 60 ERROR cobalt 26 ERROR birch 104 ERROR birch 53 INFO indigo 49 WARN amber 93 WARN delta 15 DEBUG harbor 41 INFO birch 2 INFO
indigo 49 WARN amber 93 WARN
harbor 61 INFO fable 57 DEBUG grove 6 ERROR harbor 120 ERROR fable 27 ERROR birch 78 WARN fable 72 INFO grove 107 INFO
birch 78 WARN
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038615-p1
Print all fields from lines where the third field starts with the prefix WARN.
$3 ~ /^WARN/
juniper 60 ERROR cobalt 26 ERROR birch 104 ERROR birch 53 INFO indigo 49 WARN amber 93 WARN delta 15 DEBUG harbor 41 INFO birch 2 INFO
indigo 49 WARN amber 93 WARN
harbor 61 INFO fable 57 DEBUG grove 6 ERROR harbor 120 ERROR fable 27 ERROR birch 78 WARN fable 72 INFO grove 107 INFO
birch 78 WARN
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038615
qwen/qwen3.7-plus
awkweave-0038616
Print every line except those containing the exact text birch.
$0 !~ /birch/
fable 94 paused birch 94 pending indigo 8 active harbor 23 closed fable 60 active harbor 22 failed delta 5 active birch 999 active
fable 94 paused indigo 8 active harbor 23 closed fable 60 active harbor 22 failed delta 5 active
juniper 11 failed harbor 30 active fable 116 active amber 9 failed amber 67 paused ember 33 ready cobalt 77 paused birch 999 active
juniper 11 failed harbor 30 active fable 116 active amber 9 failed amber 67 paused ember 33 ready cobalt 77 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038616-p1
Print every line that does not contain the exact string birch.
$0 !~ /birch/
fable 94 paused birch 94 pending indigo 8 active harbor 23 closed fable 60 active harbor 22 failed delta 5 active birch 999 active
fable 94 paused indigo 8 active harbor 23 closed fable 60 active harbor 22 failed delta 5 active
juniper 11 failed harbor 30 active fable 116 active amber 9 failed amber 67 paused ember 33 ready cobalt 77 paused birch 999 active
juniper 11 failed harbor 30 active fable 116 active amber 9 failed amber 67 paused ember 33 ready cobalt 77 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038616
qwen/qwen3.7-plus
awkweave-0038617
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina delta 51 hana delta 36 lina grove 14 chen indigo 77 alice indigo 106 gus birch 77 alice delta 0 chen harbor 82
hana delta 36 lina grove 14 chen indigo 77 alice indigo 106
jules cobalt 1 jules grove 65 ivan ember 50 dina fable 55 hana harbor 13 dina grove 49
jules grove 65 ivan ember 50 dina fable 55 hana harbor 13
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038617-p1
Output lines numbered 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
dina delta 51 hana delta 36 lina grove 14 chen indigo 77 alice indigo 106 gus birch 77 alice delta 0 chen harbor 82
hana delta 36 lina grove 14 chen indigo 77 alice indigo 106
jules cobalt 1 jules grove 65 ivan ember 50 dina fable 55 hana harbor 13 dina grove 49
jules grove 65 ivan ember 50 dina fable 55 hana harbor 13
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038617
qwen/qwen3.7-plus
awkweave-0038618
Output only the first 4 records.
NR <= 4
alice 110 juniper bruno 38 delta ivan 105 cobalt alice 74 amber eli 114 delta hana 18 juniper
alice 110 juniper bruno 38 delta ivan 105 cobalt alice 74 amber
eli 104 fable lina 59 ember dina 30 cobalt lina 36 cobalt dina 93 delta eli 81 cobalt kim 18 indigo dina 48 cobalt hana 95 ember
eli 104 fable lina 59 ember dina 30 cobalt lina 36 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038618-p1
Display only the initial 4 records.
NR <= 4
alice 110 juniper bruno 38 delta ivan 105 cobalt alice 74 amber eli 114 delta hana 18 juniper
alice 110 juniper bruno 38 delta ivan 105 cobalt alice 74 amber
eli 104 fable lina 59 ember dina 30 cobalt lina 36 cobalt dina 93 delta eli 81 cobalt kim 18 indigo dina 48 cobalt hana 95 ember
eli 104 fable lina 59 ember dina 30 cobalt lina 36 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038618
qwen/qwen3.7-plus
awkweave-0038619
Skip the first line and print every remaining line unchanged.
NR > 1
chen 60 harbor jules 90 birch alice 52 indigo jules 106 grove kim 70 birch eli 88 cobalt kim 84 juniper bruno 81 juniper ivan 55 delta bruno 104 birch
jules 90 birch alice 52 indigo jules 106 grove kim 70 birch eli 88 cobalt kim 84 juniper bruno 81 juniper ivan 55 delta bruno 104 birch
hana 100 juniper hana 69 indigo lina 26 juniper gus 110 ember bruno 30 amber dina 16 indigo alice 93 delta gus 109 indigo
hana 69 indigo lina 26 juniper gus 110 ember bruno 30 amber dina 16 indigo alice 93 delta gus 109 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038619-p1
Ignore the first line and output all subsequent lines without modification.
NR > 1
chen 60 harbor jules 90 birch alice 52 indigo jules 106 grove kim 70 birch eli 88 cobalt kim 84 juniper bruno 81 juniper ivan 55 delta bruno 104 birch
jules 90 birch alice 52 indigo jules 106 grove kim 70 birch eli 88 cobalt kim 84 juniper bruno 81 juniper ivan 55 delta bruno 104 birch
hana 100 juniper hana 69 indigo lina 26 juniper gus 110 ember bruno 30 amber dina 16 indigo alice 93 delta gus 109 indigo
hana 69 indigo lina 26 juniper gus 110 ember bruno 30 amber dina 16 indigo alice 93 delta gus 109 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038619
qwen/qwen3.7-plus
awkweave-0038620
Count how many records have closed in column 2. Print 0 if there are none.
$2 == "closed"{n++}END{print n+0}
alice closed 53 bruno paused 13 bruno paused 120 ivan paused 57 bruno pending 63 eli closed 54 chen active 74 chen ready 46 alice ready 34
2
hana ready 31 lina active 60 farah ready 92 kim active 68 bruno closed 25 eli paused 106 kim pending 10 lina closed 30
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038620-p1
Count the number of records where column 2 contains closed, printing 0 if no matches are found.
$2 == "closed"{n++}END{print n+0}
alice closed 53 bruno paused 13 bruno paused 120 ivan paused 57 bruno pending 63 eli closed 54 chen active 74 chen ready 46 alice ready 34
2
hana ready 31 lina active 60 farah ready 92 kim active 68 bruno closed 25 eli paused 106 kim pending 10 lina closed 30
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038620
qwen/qwen3.7-plus
awkweave-0038621
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
amber jules 19 fable alice 9 fable lina 7 ember ivan 22 amber bruno 19 indigo lina 8 amber alice 5
89
amber gus 27 ember chen 2 ember chen 29 birch jules 18 fable kim 18 harbor farah 15 indigo hana 21
130
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038621-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
amber jules 19 fable alice 9 fable lina 7 ember ivan 22 amber bruno 19 indigo lina 8 amber alice 5
89
amber gus 27 ember chen 2 ember chen 29 birch jules 18 fable kim 18 harbor farah 15 indigo hana 21
130
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038621
qwen/qwen3.7-plus
awkweave-0038622
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
grove hana 27 ember hana 17 grove ivan 2 cobalt gus 14 cobalt jules 18 harbor jules 3
13.50
ember farah 15 delta lina 28 amber lina 8 amber ivan 13 juniper bruno 16 juniper lina 22
17.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038622-p1
Calculate and print the average of column 3, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
grove hana 27 ember hana 17 grove ivan 2 cobalt gus 14 cobalt jules 18 harbor jules 3
13.50
ember farah 15 delta lina 28 amber lina 8 amber ivan 13 juniper bruno 16 juniper lina 22
17.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038622
qwen/qwen3.7-plus
awkweave-0038623
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
dina fable 16 dina ember 7 jules delta 1 bruno delta 4 chen fable 23 bruno ember 10 jules delta 8 hana fable 3 ivan birch 29 ivan juniper 19
1
alice harbor 30 dina juniper 23 dina delta 4 alice grove 23 hana grove 21 alice delta 30 ivan delta 3 dina amber 23
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038623-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
dina fable 16 dina ember 7 jules delta 1 bruno delta 4 chen fable 23 bruno ember 10 jules delta 8 hana fable 3 ivan birch 29 ivan juniper 19
1
alice harbor 30 dina juniper 23 dina delta 4 alice grove 23 hana grove 21 alice delta 30 ivan delta 3 dina amber 23
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038623
qwen/qwen3.7-plus
awkweave-0038624
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo gus 7 birch lina 15 harbor bruno 17 juniper gus 13 cobalt jules 21 delta jules 11 harbor bruno 16 juniper eli 1 birch kim 1
21
fable ivan 24 birch alice 1 delta farah 7 ember jules 13 harbor ivan 6 harbor alice 25 harbor dina 15
25
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038624-p1
Identify and output the maximum number found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo gus 7 birch lina 15 harbor bruno 17 juniper gus 13 cobalt jules 21 delta jules 11 harbor bruno 16 juniper eli 1 birch kim 1
21
fable ivan 24 birch alice 1 delta farah 7 ember jules 13 harbor ivan 6 harbor alice 25 harbor dina 15
25
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038624
qwen/qwen3.7-plus
awkweave-0038625
Count all input records and print the total.
END{print NR}
farah 69 eli 107 lina 73 gus 7 farah 16 jules 16 jules 18 gus 102 gus 90 farah 56
10
chen 9 gus 68 jules 69 farah 52 alice 115 dina 40 bruno 51
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038625-p1
Calculate the total number of input records and display the count.
END{print NR}
farah 69 eli 107 lina 73 gus 7 farah 16 jules 16 jules 18 gus 102 gus 90 farah 56
10
chen 9 gus 68 jules 69 farah 52 alice 115 dina 40 bruno 51
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038625
qwen/qwen3.7-plus
awkweave-0038626
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
eli grove 102 lina delta 64 kim grove 96 hana delta 11 lina fable 64 farah indigo 78 eli grove 95 kim grove 96
eli grove 102 lina delta 64 kim grove 96 hana delta 11 lina fable 64 farah indigo 78 eli grove 95
eli harbor 31 ivan birch 119 chen birch 6 farah amber 2 eli grove 63 ivan birch 119 jules birch 55
eli harbor 31 ivan birch 119 chen birch 6 farah amber 2 eli grove 63 jules birch 55
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038626-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
eli grove 102 lina delta 64 kim grove 96 hana delta 11 lina fable 64 farah indigo 78 eli grove 95 kim grove 96
eli grove 102 lina delta 64 kim grove 96 hana delta 11 lina fable 64 farah indigo 78 eli grove 95
eli harbor 31 ivan birch 119 chen birch 6 farah amber 2 eli grove 63 ivan birch 119 jules birch 55
eli harbor 31 ivan birch 119 chen birch 6 farah amber 2 eli grove 63 jules birch 55
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038626
qwen/qwen3.7-plus
awkweave-0038627
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim amber 10 bruno delta 108 lina juniper 6 chen ember 24 bruno ember 16 ivan cobalt 20 hana juniper 53 alice juniper 93 jules amber 93
kim amber 10 bruno delta 108 lina juniper 6 chen ember 24 bruno ember 16 ivan cobalt 20 hana juniper 53 alice juniper 93
bruno indigo 24 kim birch 0 hana ember 82 jules birch 30 farah harbor 12 kim juniper 27 lina harbor 13 hana birch 103 chen birch 29 jules ember 61
bruno indigo 24 kim birch 0 hana ember 82 jules birch 30 farah harbor 12 kim juniper 27 lina harbor 13 hana birch 103 chen birch 29 jules ember 61
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038627-p1
Retain only the initial line for every unique value in the third column, keeping the input order intact.
!seen[$3]++
kim amber 10 bruno delta 108 lina juniper 6 chen ember 24 bruno ember 16 ivan cobalt 20 hana juniper 53 alice juniper 93 jules amber 93
kim amber 10 bruno delta 108 lina juniper 6 chen ember 24 bruno ember 16 ivan cobalt 20 hana juniper 53 alice juniper 93
bruno indigo 24 kim birch 0 hana ember 82 jules birch 30 farah harbor 12 kim juniper 27 lina harbor 13 hana birch 103 chen birch 29 jules ember 61
bruno indigo 24 kim birch 0 hana ember 82 jules birch 30 farah harbor 12 kim juniper 27 lina harbor 13 hana birch 103 chen birch 29 jules ember 61
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038627
qwen/qwen3.7-plus
awkweave-0038628
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 16 juniper dina 12 grove alice 15 harbor lina 1 birch ivan 28 indigo alice 30 amber dina 8 juniper bruno 12 amber
chen 16 dina 28 alice 43 lina 44 ivan 72 alice 102 dina 110 bruno 122
bruno 20 grove dina 24 amber jules 3 grove ivan 22 indigo hana 1 harbor gus 24 cobalt farah 17 grove dina 12 indigo chen 19 indigo farah 3 fable
bruno 20 dina 44 jules 47 ivan 69 hana 70 gus 94 farah 111 dina 123 chen 142 farah 145
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038628-p1
Output the first column alongside the cumulative sum of the second column, separated by a space, for each record.
{s+=$2;print $1,s}
chen 16 juniper dina 12 grove alice 15 harbor lina 1 birch ivan 28 indigo alice 30 amber dina 8 juniper bruno 12 amber
chen 16 dina 28 alice 43 lina 44 ivan 72 alice 102 dina 110 bruno 122
bruno 20 grove dina 24 amber jules 3 grove ivan 22 indigo hana 1 harbor gus 24 cobalt farah 17 grove dina 12 indigo chen 19 indigo farah 3 fable
bruno 20 dina 44 jules 47 ivan 69 hana 70 gus 94 farah 111 dina 123 chen 142 farah 145
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038628
qwen/qwen3.7-plus
awkweave-0038629
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 9 5 cobalt chen 10 10 harbor chen 14 1 fable dina 3 7 ember hana 23 28 delta ivan 5 8 harbor gus 11 30 ember hana 6 5 birch jules 24 16 juniper
kim 14 chen 20 chen 15 dina 10 hana 51 ivan 13 gus 41 hana 11 jules 40
alice 19 1 delta kim 7 23 birch farah 18 10 delta ivan 9 16 cobalt ivan 22 13 fable chen 6 11 indigo bruno 22 22 delta hana 18 2 amber
alice 20 kim 30 farah 28 ivan 25 ivan 35 chen 17 bruno 44 hana 20
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038629-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 9 5 cobalt chen 10 10 harbor chen 14 1 fable dina 3 7 ember hana 23 28 delta ivan 5 8 harbor gus 11 30 ember hana 6 5 birch jules 24 16 juniper
kim 14 chen 20 chen 15 dina 10 hana 51 ivan 13 gus 41 hana 11 jules 40
alice 19 1 delta kim 7 23 birch farah 18 10 delta ivan 9 16 cobalt ivan 22 13 fable chen 6 11 indigo bruno 22 22 delta hana 18 2 amber
alice 20 kim 30 farah 28 ivan 25 ivan 35 chen 17 bruno 44 hana 20
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038629
qwen/qwen3.7-plus
awkweave-0038630
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
alice 17 gus 28 chen 1 dina 12 bruno 6 chen 9 dina 18 farah 4
alice fail gus pass chen fail dina fail bruno fail chen fail dina fail farah fail
alice 30 gus 20 lina 5 kim 16 kim 13 eli 20 bruno 25 farah 23
alice pass gus pass lina fail kim fail kim fail eli pass bruno pass farah pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038630-p1
Output the first column with 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
alice 17 gus 28 chen 1 dina 12 bruno 6 chen 9 dina 18 farah 4
alice fail gus pass chen fail dina fail bruno fail chen fail dina fail farah fail
alice 30 gus 20 lina 5 kim 16 kim 13 eli 20 bruno 25 farah 23
alice pass gus pass lina fail kim fail kim fail eli pass bruno pass farah pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038630
qwen/qwen3.7-plus
awkweave-0038631
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
hana delta 50 gus ember 65 alice delta 119 dina amber 55 bruno birch 51 gus birch 59
HANA GUS ALICE DINA BRUNO GUS
gus fable 11 lina fable 50 alice amber 9 kim juniper 53 ivan grove 106 bruno delta 72 kim amber 86 eli fable 57
GUS LINA ALICE KIM IVAN BRUNO KIM ELI
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038631-p1
Transform the first column to uppercase and print only that column.
{print toupper($1)}
hana delta 50 gus ember 65 alice delta 119 dina amber 55 bruno birch 51 gus birch 59
HANA GUS ALICE DINA BRUNO GUS
gus fable 11 lina fable 50 alice amber 9 kim juniper 53 ivan grove 106 bruno delta 72 kim amber 86 eli fable 57
GUS LINA ALICE KIM IVAN BRUNO KIM ELI
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038631
qwen/qwen3.7-plus
awkweave-0038632
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
harbor 93 cobalt 114 ember 5 grove 42 birch 32 delta 52 grove 101 ember 15 birch 21 delta 71
harb coba embe grov birc delt grov embe birc delt
fable 119 birch 96 fable 114 cobalt 60 ember 99 harbor 77 grove 117
fabl birc fabl coba embe harb grov
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038632-p1
Extract and print the first 4 characters from the first column.
{print substr($1,1,4)}
harbor 93 cobalt 114 ember 5 grove 42 birch 32 delta 52 grove 101 ember 15 birch 21 delta 71
harb coba embe grov birc delt grov embe birc delt
fable 119 birch 96 fable 114 cobalt 60 ember 99 harbor 77 grove 117
fabl birc fabl coba embe harb grov
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038632
qwen/qwen3.7-plus
awkweave-0038633
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
fable_juniper 23 harbor_harbor 55 ember_fable 107 juniper_harbor 41 amber_grove 56 amber_amber 119 grove_indigo 47
fable juniper harbor harbor ember fable juniper harbor amber grove amber amber grove indigo
fable_birch 57 indigo_juniper 4 cobalt_indigo 92 juniper_delta 67 ember_juniper 4 indigo_birch 72 juniper_delta 92 cobalt_harbor 55 cobalt_cobalt 91
fable birch indigo juniper cobalt indigo juniper delta ember juniper indigo birch juniper delta cobalt harbor cobalt cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038633-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
fable_juniper 23 harbor_harbor 55 ember_fable 107 juniper_harbor 41 amber_grove 56 amber_amber 119 grove_indigo 47
fable juniper harbor harbor ember fable juniper harbor amber grove amber amber grove indigo
fable_birch 57 indigo_juniper 4 cobalt_indigo 92 juniper_delta 67 ember_juniper 4 indigo_birch 72 juniper_delta 92 cobalt_harbor 55 cobalt_cobalt 91
fable birch indigo juniper cobalt indigo juniper delta ember juniper indigo birch juniper delta cobalt harbor cobalt cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038633
qwen/qwen3.7-plus
awkweave-0038634
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)}
lina harbor 37 pending lina birch 47 pending lina ember 91 closed alice indigo 116 active dina indigo 79 failed farah birch 101 closed chen fable 19 paused lina amber 63 paused eli harbor 48 closed
pending 37 harbor lina pending 47 birch lina closed 91 ember lina active 116 indigo alice failed 79 indigo dina closed 101 birch farah paused 19 fable chen paused 63 amber lina closed 48 harbor eli
eli ember 104 failed dina juniper 80 active hana amber 4 paused gus amber 39 active bruno juniper 34 active eli cobalt 113 active kim birch 39 closed
failed 104 ember eli active 80 juniper dina paused 4 amber hana active 39 amber gus active 34 juniper bruno active 113 cobalt eli closed 39 birch kim
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038634-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
lina harbor 37 pending lina birch 47 pending lina ember 91 closed alice indigo 116 active dina indigo 79 failed farah birch 101 closed chen fable 19 paused lina amber 63 paused eli harbor 48 closed
pending 37 harbor lina pending 47 birch lina closed 91 ember lina active 116 indigo alice failed 79 indigo dina closed 101 birch farah paused 19 fable chen paused 63 amber lina closed 48 harbor eli
eli ember 104 failed dina juniper 80 active hana amber 4 paused gus amber 39 active bruno juniper 34 active eli cobalt 113 active kim birch 39 closed
failed 104 ember eli active 80 juniper dina paused 4 amber hana active 39 amber gus active 34 juniper bruno active 113 cobalt eli closed 39 birch kim
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038634
qwen/qwen3.7-plus
awkweave-0038635
Print the number of whitespace-separated fields on each line.
{print NF}
gus fable 112 active eli cobalt 23 paused eli grove 16 active alice fable 118 paused dina amber 96 paused gus indigo 61 failed
4 4 4 4 4 4
gus fable 61 closed ivan delta 36 paused gus indigo 6 closed jules fable 110 failed chen indigo 47 active farah ember 92 active gus juniper 78 failed bruno harbor 18 closed lina juniper 21 pending bruno indigo 91 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038635-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
gus fable 112 active eli cobalt 23 paused eli grove 16 active alice fable 118 paused dina amber 96 paused gus indigo 61 failed
4 4 4 4 4 4
gus fable 61 closed ivan delta 36 paused gus indigo 6 closed jules fable 110 failed chen indigo 47 active farah ember 92 active gus juniper 78 failed bruno harbor 18 closed lina juniper 21 pending bruno indigo 91 failed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038635
qwen/qwen3.7-plus
awkweave-0038636
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]]}
eli beta 89 eli delta 109 dina gamma 67 chen beta 73 ivan delta 118 jules alpha 23 alice gamma 80 kim alpha 13 farah alpha 50 dina beta 75
beta 3 delta 2 gamma 2 alpha 3
bruno gamma 116 chen beta 63 gus gamma 29 gus alpha 117 dina gamma 119 kim gamma 77 gus beta 19 eli alpha 90 alice alpha 33 alice gamma 85
gamma 5 beta 2 alpha 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038636-p1
Tally the occurrences of each unique value in column 2, then output each 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]]}
eli beta 89 eli delta 109 dina gamma 67 chen beta 73 ivan delta 118 jules alpha 23 alice gamma 80 kim alpha 13 farah alpha 50 dina beta 75
beta 3 delta 2 gamma 2 alpha 3
bruno gamma 116 chen beta 63 gus gamma 29 gus alpha 117 dina gamma 119 kim gamma 77 gus beta 19 eli alpha 90 alice alpha 33 alice gamma 85
gamma 5 beta 2 alpha 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038636
qwen/qwen3.7-plus
awkweave-0038637
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan alpha 11 jules delta 29 farah gamma 4 farah alpha 14 ivan gamma 22 bruno gamma 2 chen delta 16 farah delta 11 lina delta 11
alpha 25 delta 67 gamma 28
kim delta 21 gus gamma 3 lina beta 29 kim gamma 14 ivan alpha 2 gus gamma 18 chen delta 7 kim alpha 15
delta 28 gamma 35 beta 29 alpha 17
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038637-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]]}
ivan alpha 11 jules delta 29 farah gamma 4 farah alpha 14 ivan gamma 22 bruno gamma 2 chen delta 16 farah delta 11 lina delta 11
alpha 25 delta 67 gamma 28
kim delta 21 gus gamma 3 lina beta 29 kim gamma 14 ivan alpha 2 gus gamma 18 chen delta 7 kim alpha 15
delta 28 gamma 35 beta 29 alpha 17
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0038637
qwen/qwen3.7-plus
awkweave-0038638
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta harbor 113 alpha cobalt 89 gamma delta 16 gamma amber 108 alpha birch 74 alpha birch 70 gamma indigo 101 alpha indigo 45 gamma ember 82 beta birch 52
alpha 4 gamma 4
delta amber 77 alpha amber 72 delta grove 62 gamma harbor 114 gamma harbor 43 alpha delta 41 gamma harbor 9 gamma delta 94
delta 2 alpha 2 gamma 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038638-p1
Identify values in column 1 that appear more than once, and list each repeated value with its total occurrence count, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
delta harbor 113 alpha cobalt 89 gamma delta 16 gamma amber 108 alpha birch 74 alpha birch 70 gamma indigo 101 alpha indigo 45 gamma ember 82 beta birch 52
alpha 4 gamma 4
delta amber 77 alpha amber 72 delta grove 62 gamma harbor 114 gamma harbor 43 alpha delta 41 gamma harbor 9 gamma delta 94
delta 2 alpha 2 gamma 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038638
qwen/qwen3.7-plus
awkweave-0038639
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"]}
score region state note r001 chen 13 active r002 dina 28 paused r003 kim 25 active r004 jules 13 pending r005 jules 2 paused r006 bruno 7 failed r007 gus 15 failed
13 28 25 13 2 7 15
score region state note r001 gus 5 paused r002 gus 19 closed r003 dina 17 failed r004 alice 23 failed r005 chen 1 closed r006 chen 10 closed r007 kim 13 active
5 19 17 23 1 10 13
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038639-p1
Treating the first line as a header, extract and print the values from the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score region state note r001 chen 13 active r002 dina 28 paused r003 kim 25 active r004 jules 13 pending r005 jules 2 paused r006 bruno 7 failed r007 gus 15 failed
13 28 25 13 2 7 15
score region state note r001 gus 5 paused r002 gus 19 closed r003 dina 17 failed r004 alice 23 failed r005 chen 1 closed r006 chen 10 closed r007 kim 13 active
5 19 17 23 1 10 13
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038639
qwen/qwen3.7-plus
awkweave-0038640
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 alice 13 active r002 dina 29 closed r003 kim 29 failed r004 chen 28 closed r005 eli 14 closed r006 gus 15 ready
dina kim chen eli gus
record_id display_name score state r001 gus 23 pending r002 jules 29 closed r003 kim 22 paused r004 ivan 22 paused r005 hana 16 closed r006 bruno 20 pending r007 alice 18 pending r008 kim 17 failed r009 jules 6 paused r010 chen 7 pending
gus jules kim ivan hana bruno alice kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038640-p1
Ignoring the header row, output the display_name field for any record where the score value is strictly 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 alice 13 active r002 dina 29 closed r003 kim 29 failed r004 chen 28 closed r005 eli 14 closed r006 gus 15 ready
dina kim chen eli gus
record_id display_name score state r001 gus 23 pending r002 jules 29 closed r003 kim 22 paused r004 ivan 22 paused r005 hana 16 closed r006 bruno 20 pending r007 alice 18 pending r008 kim 17 failed r009 jules 6 paused r010 chen 7 pending
gus jules kim ivan hana bruno alice kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038640
qwen/qwen3.7-plus
awkweave-0038641
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 22 paused bruno 15 pending dina 8 paused jules 30 active hana 26 closed ivan 26 active
paused pending paused active closed active
kim 23 active gus 8 paused gus 17 closed farah 29 pending dina 30 ready kim 22 ready ivan 4 paused dina 5 paused ivan 14 closed
active paused closed pending ready ready paused paused closed
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038641-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 22 paused bruno 15 pending dina 8 paused jules 30 active hana 26 closed ivan 26 active
paused pending paused active closed active
kim 23 active gus 8 paused gus 17 closed farah 29 pending dina 30 ready kim 22 ready ivan 4 paused dina 5 paused ivan 14 closed
active paused closed pending ready ready paused paused closed
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038641
qwen/qwen3.7-plus
awkweave-0038642
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,16,paused lina,10,failed kim,23,pending gus,28,paused ivan,25,pending jules,2,paused chen,15,pending chen,4,active dina,13,failed jules,2,pending
ivan lina kim gus ivan chen dina
ivan,2,active lina,5,closed farah,13,active lina,28,paused eli,29,closed kim,24,active kim,9,active alice,8,active kim,22,ready
farah lina eli kim kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038642-p1
Process simple comma-separated values without quoted commas, and print the first column only when the value in the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
ivan,16,paused lina,10,failed kim,23,pending gus,28,paused ivan,25,pending jules,2,paused chen,15,pending chen,4,active dina,13,failed jules,2,pending
ivan lina kim gus ivan chen dina
ivan,2,active lina,5,closed farah,13,active lina,28,paused eli,29,closed kim,24,active kim,9,active alice,8,active kim,22,ready
farah lina eli kim kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038642
qwen/qwen3.7-plus
awkweave-0038643
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen juniper 55 chen cobalt 31 kim delta 79 lina birch 11 ivan grove 21 farah amber 114 hana amber 11 ivan grove 48 gus juniper 56
chen juniper 55 chen cobalt 31 kim delta 79 lina birch 11 ivan grove 21 farah amber 114 hana amber 11 ivan grove 48 gus juniper 56
farah birch 12 eli indigo 6 ivan amber 93 kim birch 92 gus amber 26 lina amber 83
farah birch 12 eli indigo 6 ivan amber 93 kim birch 92 gus amber 26 lina amber 83
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038643-p1
Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
chen juniper 55 chen cobalt 31 kim delta 79 lina birch 11 ivan grove 21 farah amber 114 hana amber 11 ivan grove 48 gus juniper 56
chen juniper 55 chen cobalt 31 kim delta 79 lina birch 11 ivan grove 21 farah amber 114 hana amber 11 ivan grove 48 gus juniper 56
farah birch 12 eli indigo 6 ivan amber 93 kim birch 92 gus amber 26 lina amber 83
farah birch 12 eli indigo 6 ivan amber 93 kim birch 92 gus amber 26 lina amber 83
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038643
qwen/qwen3.7-plus
awkweave-0038644
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
bruno amber 10 ready kim juniper 48 ready dina grove 24 pending gus cobalt 72 failed jules cobalt 110 ready kim amber 92 active alice cobalt 57 ready kim fable 28 failed
jules cobalt 110 ready
dina harbor 48 ready lina delta 106 paused gus grove 45 paused kim harbor 31 closed bruno delta 46 ready lina indigo 13 ready
lina delta 106 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038644-p1
Identify and 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}
bruno amber 10 ready kim juniper 48 ready dina grove 24 pending gus cobalt 72 failed jules cobalt 110 ready kim amber 92 active alice cobalt 57 ready kim fable 28 failed
jules cobalt 110 ready
dina harbor 48 ready lina delta 106 paused gus grove 45 paused kim harbor 31 closed bruno delta 46 ready lina indigo 13 ready
lina delta 106 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038644
qwen/qwen3.7-plus
awkweave-0038645
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
chen 62 dina 69 chen 105 eli 19 bruno 69 ivan 23 kim 109 dina 109 gus 57
chen 105 ivan 23 gus 57
hana 118 lina 28 alice 28 jules 70 gus 68 dina 1
alice 28 dina 1
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038645-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
chen 62 dina 69 chen 105 eli 19 bruno 69 ivan 23 kim 109 dina 109 gus 57
chen 105 ivan 23 gus 57
hana 118 lina 28 alice 28 jules 70 gus 68 dina 1
alice 28 dina 1
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038645
qwen/qwen3.7-plus
awkweave-0038646
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta ember 100 alpha grove 75 beta harbor 72 beta fable 68 delta ember 22 alpha harbor 81 delta grove 108
4
delta cobalt 62 gamma grove 40 alpha grove 78 gamma grove 52 delta ember 87 alpha indigo 59 alpha juniper 104 alpha harbor 118 beta harbor 40
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038646-p1
Determine the number of unique values present in column 2 and print only this total count.
{if(!seen[$2]++)n++}END{print n+0}
delta ember 100 alpha grove 75 beta harbor 72 beta fable 68 delta ember 22 alpha harbor 81 delta grove 108
4
delta cobalt 62 gamma grove 40 alpha grove 78 gamma grove 52 delta ember 87 alpha indigo 59 alpha juniper 104 alpha harbor 118 beta harbor 40
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038646
qwen/qwen3.7-plus
awkweave-0038647
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}
alice 25 0 lina 11 25 hana 3 18 eli 12 8 gus 12 2 bruno 27 20 kim 27 29 farah 17 16 lina 10 22 alice 10 7
lina 0.44 hana 0.17 eli 1.50 gus 6.00 bruno 1.35 kim 0.93 farah 1.06 lina 0.45 alice 1.43
lina 27 0 hana 1 28 lina 24 11 eli 8 21 bruno 30 5 bruno 7 1
hana 0.04 lina 2.18 eli 0.38 bruno 6.00 bruno 7.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038647-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}
alice 25 0 lina 11 25 hana 3 18 eli 12 8 gus 12 2 bruno 27 20 kim 27 29 farah 17 16 lina 10 22 alice 10 7
lina 0.44 hana 0.17 eli 1.50 gus 6.00 bruno 1.35 kim 0.93 farah 1.06 lina 0.45 alice 1.43
lina 27 0 hana 1 28 lina 24 11 eli 8 21 bruno 30 5 bruno 7 1
hana 0.04 lina 2.18 eli 0.38 bruno 6.00 bruno 7.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038647
qwen/qwen3.7-plus
awkweave-0038648
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]}
farah harbor 1 hana amber 16 ivan delta 17 eli fable 21 ivan juniper 21 chen cobalt 28 farah fable 1 ivan grove 16 alice ember 4
chen cobalt 28 eli fable 21 ivan juniper 21
hana indigo 29 eli ember 28 ivan cobalt 6 dina harbor 18 kim harbor 19 alice fable 25
hana indigo 29 eli ember 28 alice fable 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038648-p1
Output the top 3 records by descending numeric value in column 3, maintaining original 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]}
farah harbor 1 hana amber 16 ivan delta 17 eli fable 21 ivan juniper 21 chen cobalt 28 farah fable 1 ivan grove 16 alice ember 4
chen cobalt 28 eli fable 21 ivan juniper 21
hana indigo 29 eli ember 28 ivan cobalt 6 dina harbor 18 kim harbor 19 alice fable 25
hana indigo 29 eli ember 28 alice fable 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038648
qwen/qwen3.7-plus
awkweave-0038649
Print column 6 followed by column 1 for every record.
{print $6, $1}
cobalt active active grove failed birch cobalt closed active cobalt paused grove delta active ready delta ready ember birch failed failed delta failed ember grove ready ready birch failed delta birch failed closed cobalt active ember ember active pending birch closed ember
birch cobalt grove cobalt ember delta ember birch delta grove ember birch ember ember
ember pending pending ember failed amber cobalt pending failed indigo active grove indigo pending closed birch failed ember indigo active failed juniper pending delta delta failed failed harbor failed birch birch ready ready indigo ready ember
amber ember grove cobalt ember indigo delta indigo birch delta ember birch
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038649-p1
For each record, display column 6 then column 1.
{print $6, $1}
cobalt active active grove failed birch cobalt closed active cobalt paused grove delta active ready delta ready ember birch failed failed delta failed ember grove ready ready birch failed delta birch failed closed cobalt active ember ember active pending birch closed ember
birch cobalt grove cobalt ember delta ember birch delta grove ember birch ember ember
ember pending pending ember failed amber cobalt pending failed indigo active grove indigo pending closed birch failed ember indigo active failed juniper pending delta delta failed failed harbor failed birch birch ready ready indigo ready ember
amber ember grove cobalt ember indigo delta indigo birch delta ember birch
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038649
qwen/qwen3.7-plus
awkweave-0038650
Print the last field of every input line.
{print $NF}
failed active closed pending juniper 19 closed ready paused active birch 98 paused failed pending closed indigo 0 paused ready paused ready harbor 39 active paused paused active fable 89 ready paused failed active fable 29
19 98 0 39 89 29
closed pending pending pending delta 61 pending active active pending indigo 40 closed ready pending failed fable 2 failed pending ready pending ember 103 closed paused failed failed amber 0 closed ready pending closed juniper 23 active pending active failed delta 30 failed ready paused pending juniper 111 active close...
61 40 2 103 0 23 30 111 66
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038650-p1
Print the final field from every input line.
{print $NF}
failed active closed pending juniper 19 closed ready paused active birch 98 paused failed pending closed indigo 0 paused ready paused ready harbor 39 active paused paused active fable 89 ready paused failed active fable 29
19 98 0 39 89 29
closed pending pending pending delta 61 pending active active pending indigo 40 closed ready pending failed fable 2 failed pending ready pending ember 103 closed paused failed failed amber 0 closed ready pending closed juniper 23 active pending active failed delta 30 failed ready paused pending juniper 111 active close...
61 40 2 103 0 23 30 111 66
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038650
qwen/qwen3.7-plus
awkweave-0038651
Print the complete records where column 1 is at least 54.
$1 >= 54
120 ivan kim 31 bruno hana 65 alice eli 20 lina dina 111 gus chen 20 jules lina 97 farah gus 14 alice jules 78 gus bruno 22 ivan bruno
120 ivan kim 65 alice eli 111 gus chen 97 farah gus 78 gus bruno
117 eli bruno 2 lina lina 96 jules alice 34 kim eli 119 hana chen 100 jules eli 79 kim lina 54 eli lina 57 eli bruno 1 bruno alice
117 eli bruno 96 jules alice 119 hana chen 100 jules eli 79 kim lina 54 eli lina 57 eli bruno
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038651-p1
Display full records where the value in column 1 is 54 or greater.
$1 >= 54
120 ivan kim 31 bruno hana 65 alice eli 20 lina dina 111 gus chen 20 jules lina 97 farah gus 14 alice jules 78 gus bruno 22 ivan bruno
120 ivan kim 65 alice eli 111 gus chen 97 farah gus 78 gus bruno
117 eli bruno 2 lina lina 96 jules alice 34 kim eli 119 hana chen 100 jules eli 79 kim lina 54 eli lina 57 eli bruno 1 bruno alice
117 eli bruno 96 jules alice 119 hana chen 100 jules eli 79 kim lina 54 eli lina 57 eli bruno
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038651
qwen/qwen3.7-plus
awkweave-0038652
Show whole lines whose 2nd field is between 5 and 19, inclusive.
$2 >= 5 && $2 <= 19
amber 21 jules eli indigo 10 farah dina juniper 18 bruno chen amber 12 kim lina birch 17 chen hana juniper 27 eli gus fable 13 farah bruno
indigo 10 farah dina juniper 18 bruno chen amber 12 kim lina birch 17 chen hana fable 13 farah bruno
juniper 22 ivan ivan amber 13 alice gus cobalt 30 eli lina indigo 25 hana gus amber 21 jules lina grove 28 alice gus
amber 13 alice gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038652-p1
Show entire lines where the second field falls within the inclusive range of 5 to 19.
$2 >= 5 && $2 <= 19
amber 21 jules eli indigo 10 farah dina juniper 18 bruno chen amber 12 kim lina birch 17 chen hana juniper 27 eli gus fable 13 farah bruno
indigo 10 farah dina juniper 18 bruno chen amber 12 kim lina birch 17 chen hana fable 13 farah bruno
juniper 22 ivan ivan amber 13 alice gus cobalt 30 eli lina indigo 25 hana gus amber 21 jules lina grove 28 alice gus
amber 13 alice gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038652
qwen/qwen3.7-plus
awkweave-0038653
Print column 4 only for rows where column 1 is exactly ready.
$1 == "ready"{print $4}
active amber 72 bruno active juniper 102 kim active delta 53 kim pending harbor 17 jules ready birch 3 eli pending harbor 16 chen failed amber 60 lina
eli
pending birch 22 eli pending ember 94 alice active harbor 99 jules pending indigo 105 chen failed harbor 49 eli paused birch 82 bruno pending birch 89 lina paused juniper 83 chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038653-p1
Output only column 4 for rows where column 1 equals 'ready'.
$1 == "ready"{print $4}
active amber 72 bruno active juniper 102 kim active delta 53 kim pending harbor 17 jules ready birch 3 eli pending harbor 16 chen failed amber 60 lina
eli
pending birch 22 eli pending ember 94 alice active harbor 99 jules pending indigo 105 chen failed harbor 49 eli paused birch 82 bruno pending birch 89 lina paused juniper 83 chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038653
qwen/qwen3.7-plus
awkweave-0038654
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
37 DEBUG fable 19 WARN amber 53 DEBUG indigo 112 ERROR cobalt 21 WARN cobalt 8 INFO harbor
112 ERROR cobalt
47 INFO ember 51 INFO fable 5 WARN ember 99 INFO grove 72 INFO indigo 106 DEBUG indigo 37 ERROR indigo 28 DEBUG indigo 58 DEBUG amber
37 ERROR indigo
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038654-p1
Print all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
37 DEBUG fable 19 WARN amber 53 DEBUG indigo 112 ERROR cobalt 21 WARN cobalt 8 INFO harbor
112 ERROR cobalt
47 INFO ember 51 INFO fable 5 WARN ember 99 INFO grove 72 INFO indigo 106 DEBUG indigo 37 ERROR indigo 28 DEBUG indigo 58 DEBUG amber
37 ERROR indigo
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038654
qwen/qwen3.7-plus
awkweave-0038655
Print every line except those containing the exact text fable.
$0 !~ /fable/
indigo 51 closed grove 30 pending fable 81 failed birch 98 closed amber 9 ready birch 69 paused fable 999 active
indigo 51 closed grove 30 pending birch 98 closed amber 9 ready birch 69 paused
ember 84 paused fable 15 failed amber 87 paused delta 25 active indigo 99 paused harbor 112 active fable 999 active
ember 84 paused amber 87 paused delta 25 active indigo 99 paused harbor 112 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038655-p1
Print all lines that do not contain the exact string 'fable'.
$0 !~ /fable/
indigo 51 closed grove 30 pending fable 81 failed birch 98 closed amber 9 ready birch 69 paused fable 999 active
indigo 51 closed grove 30 pending birch 98 closed amber 9 ready birch 69 paused
ember 84 paused fable 15 failed amber 87 paused delta 25 active indigo 99 paused harbor 112 active fable 999 active
ember 84 paused amber 87 paused delta 25 active indigo 99 paused harbor 112 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038655
qwen/qwen3.7-plus
awkweave-0038656
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
gus delta 93 jules ember 103 bruno ember 30 kim fable 112 ivan juniper 115 alice cobalt 47 ivan fable 110 farah amber 38 chen delta 100
jules ember 103 bruno ember 30 kim fable 112 ivan juniper 115
dina fable 28 farah indigo 72 kim delta 56 eli delta 95 chen juniper 115 ivan fable 102 gus birch 85
farah indigo 72 kim delta 56 eli delta 95 chen juniper 115
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038656-p1
Output lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
gus delta 93 jules ember 103 bruno ember 30 kim fable 112 ivan juniper 115 alice cobalt 47 ivan fable 110 farah amber 38 chen delta 100
jules ember 103 bruno ember 30 kim fable 112 ivan juniper 115
dina fable 28 farah indigo 72 kim delta 56 eli delta 95 chen juniper 115 ivan fable 102 gus birch 85
farah indigo 72 kim delta 56 eli delta 95 chen juniper 115
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038656
qwen/qwen3.7-plus
awkweave-0038657
Output only the first 2 records.
NR <= 2
hana 9 ember bruno 97 amber kim 14 harbor farah 53 amber bruno 100 cobalt alice 53 fable gus 114 ember dina 2 indigo
hana 9 ember bruno 97 amber
jules 3 grove jules 109 indigo eli 17 cobalt hana 99 fable bruno 60 harbor lina 66 cobalt
jules 3 grove jules 109 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038657-p1
Display only the first 2 records.
NR <= 2
hana 9 ember bruno 97 amber kim 14 harbor farah 53 amber bruno 100 cobalt alice 53 fable gus 114 ember dina 2 indigo
hana 9 ember bruno 97 amber
jules 3 grove jules 109 indigo eli 17 cobalt hana 99 fable bruno 60 harbor lina 66 cobalt
jules 3 grove jules 109 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038657
qwen/qwen3.7-plus
awkweave-0038658
Skip the first line and print every remaining line unchanged.
NR > 1
bruno 18 cobalt lina 24 cobalt hana 0 fable alice 65 harbor gus 13 grove alice 116 birch hana 91 ember hana 31 indigo kim 51 amber kim 100 harbor
lina 24 cobalt hana 0 fable alice 65 harbor gus 13 grove alice 116 birch hana 91 ember hana 31 indigo kim 51 amber kim 100 harbor
eli 87 birch hana 108 birch farah 18 juniper jules 96 juniper jules 98 harbor kim 57 harbor ivan 35 birch ivan 12 cobalt lina 73 juniper
hana 108 birch farah 18 juniper jules 96 juniper jules 98 harbor kim 57 harbor ivan 35 birch ivan 12 cobalt lina 73 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038658-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
bruno 18 cobalt lina 24 cobalt hana 0 fable alice 65 harbor gus 13 grove alice 116 birch hana 91 ember hana 31 indigo kim 51 amber kim 100 harbor
lina 24 cobalt hana 0 fable alice 65 harbor gus 13 grove alice 116 birch hana 91 ember hana 31 indigo kim 51 amber kim 100 harbor
eli 87 birch hana 108 birch farah 18 juniper jules 96 juniper jules 98 harbor kim 57 harbor ivan 35 birch ivan 12 cobalt lina 73 juniper
hana 108 birch farah 18 juniper jules 96 juniper jules 98 harbor kim 57 harbor ivan 35 birch ivan 12 cobalt lina 73 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038658
qwen/qwen3.7-plus
awkweave-0038659
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
hana failed 37 alice failed 26 kim paused 115 farah pending 20 lina closed 93 gus paused 110 gus closed 59 jules closed 118
2
ivan failed 13 alice closed 83 dina failed 77 farah paused 114 ivan pending 119 bruno paused 31 chen ready 95
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038659-p1
Count records with 'paused' in column 2; output 0 if none exist.
$2 == "paused"{n++}END{print n+0}
hana failed 37 alice failed 26 kim paused 115 farah pending 20 lina closed 93 gus paused 110 gus closed 59 jules closed 118
2
ivan failed 13 alice closed 83 dina failed 77 farah paused 114 ivan pending 119 bruno paused 31 chen ready 95
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038659
qwen/qwen3.7-plus
awkweave-0038660
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
28 bruno delta 27 dina birch 18 alice delta 16 jules juniper 20 lina juniper 26 farah amber 29 dina indigo 1 dina indigo 3 dina fable
168
18 dina cobalt 22 dina ember 6 jules grove 25 dina indigo 23 farah delta 12 gus grove 27 farah indigo 22 alice juniper 6 eli grove
161
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038660-p1
Compute and output the total of all integer values found in the first column.
{s+=$1}END{print s+0}
28 bruno delta 27 dina birch 18 alice delta 16 jules juniper 20 lina juniper 26 farah amber 29 dina indigo 1 dina indigo 3 dina fable
168
18 dina cobalt 22 dina ember 6 jules grove 25 dina indigo 23 farah delta 12 gus grove 27 farah indigo 22 alice juniper 6 eli grove
161
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038660
qwen/qwen3.7-plus
awkweave-0038661
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
22 ivan amber 21 chen harbor 25 jules fable 16 kim cobalt 4 jules juniper 18 alice birch 16 alice delta 4 eli amber
15.75
3 gus delta 11 bruno birch 11 farah birch 25 hana cobalt 9 lina fable 20 alice delta 24 lina harbor 10 alice grove 14 jules harbor
14.11
average_field
2
train
original-grammar
CC-BY-4.0
null
null