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-0018720-p1
For each line, print the fifth field followed by the first field.
{print $5, $1}
active 11 eli 15 cobalt delta ready 18 bruno 27 grove fable closed 90 bruno 101 amber juniper active 38 farah 93 amber delta failed 53 gus 17 fable juniper ready 40 gus 70 harbor delta active 43 ivan 113 amber fable pending 64 jules 19 cobalt fable
cobalt active grove ready amber closed amber active fable failed harbor ready amber active cobalt pending
pending 34 dina 39 delta juniper active 24 kim 24 ember ember ready 120 bruno 0 fable ember pending 79 alice 15 cobalt cobalt failed 0 eli 83 cobalt cobalt closed 75 farah 4 juniper indigo ready 80 ivan 107 ember juniper
delta pending ember active fable ready cobalt pending cobalt failed juniper closed ember ready
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018720
qwen/qwen3.7-plus
awkweave-0018721
Print the last field of every input line.
{print $NF}
paused failed cobalt harbor pending pending failed indigo fable closed failed paused birch harbor failed ready failed delta birch closed paused failed grove grove ready closed ready grove fable failed failed pending cobalt grove pending active active juniper grove closed
pending closed failed closed ready failed pending closed
closed closed indigo fable failed pending paused amber birch failed pending pending harbor juniper pending pending closed indigo ember paused failed ready delta birch active ready failed birch harbor failed ready ready amber amber paused failed paused harbor birch active
failed failed pending paused active failed paused active
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018721-p1
Output the final field from every line of input.
{print $NF}
paused failed cobalt harbor pending pending failed indigo fable closed failed paused birch harbor failed ready failed delta birch closed paused failed grove grove ready closed ready grove fable failed failed pending cobalt grove pending active active juniper grove closed
pending closed failed closed ready failed pending closed
closed closed indigo fable failed pending paused amber birch failed pending pending harbor juniper pending pending closed indigo ember paused failed ready delta birch active ready failed birch harbor failed ready ready amber amber paused failed paused harbor birch active
failed failed pending paused active failed paused active
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018721
qwen/qwen3.7-plus
awkweave-0018722
Print the complete records where column 4 is at most 36.
$4 <= 36
active juniper juniper 19 delta pending ember juniper 34 ember paused fable ember 1 ember failed juniper grove 40 juniper failed birch fable 2 amber active amber amber 86 indigo closed fable juniper 96 juniper
active juniper juniper 19 delta pending ember juniper 34 ember paused fable ember 1 ember failed birch fable 2 amber
paused indigo harbor 40 grove failed grove juniper 115 indigo active birch ember 96 juniper paused grove harbor 21 cobalt ready juniper fable 25 grove paused amber delta 93 harbor ready amber fable 117 fable ready amber ember 67 harbor
paused grove harbor 21 cobalt ready juniper fable 25 grove
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018722-p1
Print the entire records for which the value in the fourth column is less than or equal to 36.
$4 <= 36
active juniper juniper 19 delta pending ember juniper 34 ember paused fable ember 1 ember failed juniper grove 40 juniper failed birch fable 2 amber active amber amber 86 indigo closed fable juniper 96 juniper
active juniper juniper 19 delta pending ember juniper 34 ember paused fable ember 1 ember failed birch fable 2 amber
paused indigo harbor 40 grove failed grove juniper 115 indigo active birch ember 96 juniper paused grove harbor 21 cobalt ready juniper fable 25 grove paused amber delta 93 harbor ready amber fable 117 fable ready amber ember 67 harbor
paused grove harbor 21 cobalt ready juniper fable 25 grove
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018722
qwen/qwen3.7-plus
awkweave-0018723
Show whole lines whose 3rd field is between 5 and 18, inclusive.
$3 >= 5 && $3 <= 18
ready active 7 indigo closed active 29 fable closed ready 17 delta paused failed 29 delta failed ready 11 juniper closed failed 15 ember active active 16 cobalt ready ready 10 cobalt ready failed 3 indigo
ready active 7 indigo closed ready 17 delta failed ready 11 juniper closed failed 15 ember active active 16 cobalt ready ready 10 cobalt
paused active 10 cobalt ready pending 22 ember pending failed 1 grove ready active 5 grove paused active 24 ember pending pending 12 indigo failed closed 13 ember
paused active 10 cobalt ready active 5 grove pending pending 12 indigo failed closed 13 ember
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018723-p1
Display complete lines where the third field falls within the inclusive range of 5 to 18.
$3 >= 5 && $3 <= 18
ready active 7 indigo closed active 29 fable closed ready 17 delta paused failed 29 delta failed ready 11 juniper closed failed 15 ember active active 16 cobalt ready ready 10 cobalt ready failed 3 indigo
ready active 7 indigo closed ready 17 delta failed ready 11 juniper closed failed 15 ember active active 16 cobalt ready ready 10 cobalt
paused active 10 cobalt ready pending 22 ember pending failed 1 grove ready active 5 grove paused active 24 ember pending pending 12 indigo failed closed 13 ember
paused active 10 cobalt ready active 5 grove pending pending 12 indigo failed closed 13 ember
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018723
qwen/qwen3.7-plus
awkweave-0018724
Print column 4 only for rows where column 3 is exactly pending.
$3 == "pending"{print $4}
juniper 21 pending bruno indigo 54 active ivan juniper 9 closed bruno juniper 79 pending ivan grove 115 pending jules grove 73 closed eli
bruno ivan jules
amber 43 pending chen amber 40 failed hana fable 100 failed ivan delta 61 active farah harbor 43 closed dina juniper 108 ready hana delta 88 pending chen fable 34 paused farah grove 103 ready gus
chen chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018724-p1
Output only the fourth column for rows where the third column contains exactly the text pending.
$3 == "pending"{print $4}
juniper 21 pending bruno indigo 54 active ivan juniper 9 closed bruno juniper 79 pending ivan grove 115 pending jules grove 73 closed eli
bruno ivan jules
amber 43 pending chen amber 40 failed hana fable 100 failed ivan delta 61 active farah harbor 43 closed dina juniper 108 ready hana delta 88 pending chen fable 34 paused farah grove 103 ready gus
chen chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018724
qwen/qwen3.7-plus
awkweave-0018725
Print all fields from lines where field 1 begins with WARN.
$1 ~ /^WARN/
ERROR grove 35 WARN indigo 114 ERROR amber 20 DEBUG delta 74 DEBUG ember 53 INFO grove 31 WARN fable 67 INFO fable 52
WARN indigo 114 WARN fable 67
WARN juniper 107 INFO grove 9 DEBUG birch 36 ERROR amber 106 DEBUG grove 80 WARN cobalt 5 DEBUG fable 89 WARN cobalt 62 ERROR grove 65
WARN juniper 107 WARN cobalt 5 WARN cobalt 62
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018725-p1
Print all fields from lines where the first field starts with the string WARN.
$1 ~ /^WARN/
ERROR grove 35 WARN indigo 114 ERROR amber 20 DEBUG delta 74 DEBUG ember 53 INFO grove 31 WARN fable 67 INFO fable 52
WARN indigo 114 WARN fable 67
WARN juniper 107 INFO grove 9 DEBUG birch 36 ERROR amber 106 DEBUG grove 80 WARN cobalt 5 DEBUG fable 89 WARN cobalt 62 ERROR grove 65
WARN juniper 107 WARN cobalt 5 WARN cobalt 62
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018725
qwen/qwen3.7-plus
awkweave-0018726
Print every line except those containing the exact text delta.
$0 !~ /delta/
grove 57 failed cobalt 109 active grove 73 active amber 56 active cobalt 12 failed ember 45 ready ember 119 paused delta 999 active
grove 57 failed cobalt 109 active grove 73 active amber 56 active cobalt 12 failed ember 45 ready ember 119 paused
fable 21 failed juniper 0 ready fable 70 pending birch 97 failed grove 16 failed grove 56 pending amber 26 paused amber 110 pending delta 999 active
fable 21 failed juniper 0 ready fable 70 pending birch 97 failed grove 16 failed grove 56 pending amber 26 paused amber 110 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018726-p1
Print every line that does not contain the exact string delta.
$0 !~ /delta/
grove 57 failed cobalt 109 active grove 73 active amber 56 active cobalt 12 failed ember 45 ready ember 119 paused delta 999 active
grove 57 failed cobalt 109 active grove 73 active amber 56 active cobalt 12 failed ember 45 ready ember 119 paused
fable 21 failed juniper 0 ready fable 70 pending birch 97 failed grove 16 failed grove 56 pending amber 26 paused amber 110 pending delta 999 active
fable 21 failed juniper 0 ready fable 70 pending birch 97 failed grove 16 failed grove 56 pending amber 26 paused amber 110 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018726
qwen/qwen3.7-plus
awkweave-0018727
Print lines 3 through 4, including both endpoints.
NR >= 3 && NR <= 4
bruno cobalt 0 eli fable 82 farah indigo 88 farah ember 30 kim ember 38 jules fable 11 bruno juniper 51
farah indigo 88 farah ember 30
lina birch 99 chen delta 61 lina amber 20 alice indigo 89 jules delta 43 kim cobalt 115 dina delta 85
lina amber 20 alice indigo 89
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018727-p1
Output lines 3 through 4, inclusive.
NR >= 3 && NR <= 4
bruno cobalt 0 eli fable 82 farah indigo 88 farah ember 30 kim ember 38 jules fable 11 bruno juniper 51
farah indigo 88 farah ember 30
lina birch 99 chen delta 61 lina amber 20 alice indigo 89 jules delta 43 kim cobalt 115 dina delta 85
lina amber 20 alice indigo 89
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018727
qwen/qwen3.7-plus
awkweave-0018728
Output only the first 3 records.
NR <= 3
eli 34 juniper hana 52 birch lina 98 ember gus 60 juniper dina 87 ember eli 13 birch alice 85 juniper
eli 34 juniper hana 52 birch lina 98 ember
kim 15 grove alice 58 grove hana 44 grove bruno 33 juniper chen 46 harbor alice 101 ember farah 20 fable farah 29 harbor lina 94 grove
kim 15 grove alice 58 grove hana 44 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018728-p1
Print only the first three records.
NR <= 3
eli 34 juniper hana 52 birch lina 98 ember gus 60 juniper dina 87 ember eli 13 birch alice 85 juniper
eli 34 juniper hana 52 birch lina 98 ember
kim 15 grove alice 58 grove hana 44 grove bruno 33 juniper chen 46 harbor alice 101 ember farah 20 fable farah 29 harbor lina 94 grove
kim 15 grove alice 58 grove hana 44 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018728
qwen/qwen3.7-plus
awkweave-0018729
Skip the first line and print every remaining line unchanged.
NR > 1
dina 2 grove bruno 53 juniper jules 81 cobalt gus 57 fable lina 73 delta bruno 43 ember
bruno 53 juniper jules 81 cobalt gus 57 fable lina 73 delta bruno 43 ember
ivan 12 ember eli 15 cobalt eli 21 ember gus 4 juniper chen 105 juniper farah 118 harbor bruno 72 grove lina 82 amber dina 12 fable bruno 97 amber
eli 15 cobalt eli 21 ember gus 4 juniper chen 105 juniper farah 118 harbor bruno 72 grove lina 82 amber dina 12 fable bruno 97 amber
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018729-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
dina 2 grove bruno 53 juniper jules 81 cobalt gus 57 fable lina 73 delta bruno 43 ember
bruno 53 juniper jules 81 cobalt gus 57 fable lina 73 delta bruno 43 ember
ivan 12 ember eli 15 cobalt eli 21 ember gus 4 juniper chen 105 juniper farah 118 harbor bruno 72 grove lina 82 amber dina 12 fable bruno 97 amber
eli 15 cobalt eli 21 ember gus 4 juniper chen 105 juniper farah 118 harbor bruno 72 grove lina 82 amber dina 12 fable bruno 97 amber
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018729
qwen/qwen3.7-plus
awkweave-0018730
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
bruno ready 77 bruno closed 102 gus failed 75 gus pending 25 gus closed 6 lina active 11 farah pending 88 lina closed 44
0
alice closed 24 chen active 66 alice closed 43 dina paused 78 jules closed 9 bruno pending 19 farah ready 58 ivan ready 25
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018730-p1
Determine the number of entries where the second column contains 'paused', outputting 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
bruno ready 77 bruno closed 102 gus failed 75 gus pending 25 gus closed 6 lina active 11 farah pending 88 lina closed 44
0
alice closed 24 chen active 66 alice closed 43 dina paused 78 jules closed 9 bruno pending 19 farah ready 58 ivan ready 25
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018730
qwen/qwen3.7-plus
awkweave-0018731
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
kim harbor 22 eli indigo 24 dina birch 11 lina ember 9 bruno birch 27 hana delta 2 chen delta 12
107
dina grove 23 lina fable 25 alice birch 2 hana juniper 6 bruno birch 28 eli ember 6 jules juniper 5
95
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018731-p1
Compute and display the total sum of all integer values found in the third column.
{s+=$3}END{print s+0}
kim harbor 22 eli indigo 24 dina birch 11 lina ember 9 bruno birch 27 hana delta 2 chen delta 12
107
dina grove 23 lina fable 25 alice birch 2 hana juniper 6 bruno birch 28 eli ember 6 jules juniper 5
95
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018731
qwen/qwen3.7-plus
awkweave-0018732
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber lina 9 delta eli 21 indigo gus 23 indigo ivan 4 grove jules 17 fable dina 4 indigo hana 9 amber hana 27 ember hana 25 fable gus 7
14.60
ember ivan 14 grove jules 1 cobalt bruno 18 cobalt kim 1 ember farah 16 harbor jules 9 juniper dina 29 grove farah 7 indigo jules 13 cobalt bruno 13
12.10
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018732-p1
Output the average value of the third column, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber lina 9 delta eli 21 indigo gus 23 indigo ivan 4 grove jules 17 fable dina 4 indigo hana 9 amber hana 27 ember hana 25 fable gus 7
14.60
ember ivan 14 grove jules 1 cobalt bruno 18 cobalt kim 1 ember farah 16 harbor jules 9 juniper dina 29 grove farah 7 indigo jules 13 cobalt bruno 13
12.10
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018732
qwen/qwen3.7-plus
awkweave-0018733
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
25 alice grove 1 lina amber 15 alice ember 12 dina cobalt 8 eli ember 13 hana fable 30 jules birch 16 jules delta 29 bruno indigo
1
16 farah ember 19 chen ember 11 bruno harbor 5 hana juniper 28 eli fable 10 chen juniper 1 dina amber
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018733-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
25 alice grove 1 lina amber 15 alice ember 12 dina cobalt 8 eli ember 13 hana fable 30 jules birch 16 jules delta 29 bruno indigo
1
16 farah ember 19 chen ember 11 bruno harbor 5 hana juniper 28 eli fable 10 chen juniper 1 dina amber
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018733
qwen/qwen3.7-plus
awkweave-0018734
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo kim 6 fable hana 11 juniper dina 21 cobalt jules 10 fable alice 17 juniper eli 27 grove ivan 3 ember farah 14
27
cobalt kim 12 ember jules 7 harbor gus 21 cobalt lina 20 grove chen 13 cobalt kim 13 birch alice 2
21
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018734-p1
Identify and print the maximum numeric value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
indigo kim 6 fable hana 11 juniper dina 21 cobalt jules 10 fable alice 17 juniper eli 27 grove ivan 3 ember farah 14
27
cobalt kim 12 ember jules 7 harbor gus 21 cobalt lina 20 grove chen 13 cobalt kim 13 birch alice 2
21
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018734
qwen/qwen3.7-plus
awkweave-0018735
Count all input records and print the total.
END{print NR}
ivan 72 bruno 109 lina 96 eli 96 farah 78 farah 117 ivan 46 ivan 30 lina 31
9
bruno 60 chen 101 dina 108 jules 39 eli 100 ivan 112 lina 101 farah 5 kim 31
9
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018735-p1
Count the total number of input records and print the result.
END{print NR}
ivan 72 bruno 109 lina 96 eli 96 farah 78 farah 117 ivan 46 ivan 30 lina 31
9
bruno 60 chen 101 dina 108 jules 39 eli 100 ivan 112 lina 101 farah 5 kim 31
9
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018735
qwen/qwen3.7-plus
awkweave-0018736
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan cobalt 106 jules indigo 72 jules indigo 72 alice cobalt 47 ivan delta 67 lina harbor 10 gus amber 48 dina grove 31
ivan cobalt 106 jules indigo 72 alice cobalt 47 ivan delta 67 lina harbor 10 gus amber 48 dina grove 31
dina grove 96 farah delta 60 lina delta 89 dina ember 91 farah juniper 14 lina amber 93 ivan harbor 109 lina delta 89 dina grove 68 chen cobalt 115 lina cobalt 38
dina grove 96 farah delta 60 lina delta 89 dina ember 91 farah juniper 14 lina amber 93 ivan harbor 109 dina grove 68 chen cobalt 115 lina cobalt 38
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018736-p1
Eliminate exact duplicate lines while maintaining the original order and keeping only the first instance of each.
!seen[$0]++
ivan cobalt 106 jules indigo 72 jules indigo 72 alice cobalt 47 ivan delta 67 lina harbor 10 gus amber 48 dina grove 31
ivan cobalt 106 jules indigo 72 alice cobalt 47 ivan delta 67 lina harbor 10 gus amber 48 dina grove 31
dina grove 96 farah delta 60 lina delta 89 dina ember 91 farah juniper 14 lina amber 93 ivan harbor 109 lina delta 89 dina grove 68 chen cobalt 115 lina cobalt 38
dina grove 96 farah delta 60 lina delta 89 dina ember 91 farah juniper 14 lina amber 93 ivan harbor 109 dina grove 68 chen cobalt 115 lina cobalt 38
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018736
qwen/qwen3.7-plus
awkweave-0018737
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
farah juniper 14 gus delta 39 farah grove 45 jules fable 39 dina grove 35 alice harbor 48 ivan amber 109 alice juniper 15 dina juniper 115 hana delta 73
farah juniper 14 gus delta 39 jules fable 39 dina grove 35 alice harbor 48 ivan amber 109 hana delta 73
chen ember 85 alice delta 45 hana fable 29 kim amber 13 gus delta 71 jules amber 12 alice fable 100
chen ember 85 alice delta 45 hana fable 29 kim amber 13 gus delta 71 jules amber 12
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018737-p1
Retain only the first occurrence for every unique value in the first column, preserving the original input sequence.
!seen[$1]++
farah juniper 14 gus delta 39 farah grove 45 jules fable 39 dina grove 35 alice harbor 48 ivan amber 109 alice juniper 15 dina juniper 115 hana delta 73
farah juniper 14 gus delta 39 jules fable 39 dina grove 35 alice harbor 48 ivan amber 109 hana delta 73
chen ember 85 alice delta 45 hana fable 29 kim amber 13 gus delta 71 jules amber 12 alice fable 100
chen ember 85 alice delta 45 hana fable 29 kim amber 13 gus delta 71 jules amber 12
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018737
qwen/qwen3.7-plus
awkweave-0018738
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
eli 23 fable bruno 25 delta gus 5 amber kim 14 indigo jules 9 indigo eli 24 amber bruno 29 grove ivan 26 indigo gus 2 juniper
eli 23 bruno 48 gus 53 kim 67 jules 76 eli 100 bruno 129 ivan 155 gus 157
lina 27 juniper alice 6 birch bruno 24 fable dina 28 birch lina 2 ember lina 2 delta eli 21 cobalt
lina 27 alice 33 bruno 57 dina 85 lina 87 lina 89 eli 110
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018738-p1
For each record, output the first column followed by the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
eli 23 fable bruno 25 delta gus 5 amber kim 14 indigo jules 9 indigo eli 24 amber bruno 29 grove ivan 26 indigo gus 2 juniper
eli 23 bruno 48 gus 53 kim 67 jules 76 eli 100 bruno 129 ivan 155 gus 157
lina 27 juniper alice 6 birch bruno 24 fable dina 28 birch lina 2 ember lina 2 delta eli 21 cobalt
lina 27 alice 33 bruno 57 dina 85 lina 87 lina 89 eli 110
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018738
qwen/qwen3.7-plus
awkweave-0018739
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 17 16 harbor kim 22 3 harbor ivan 10 25 amber eli 3 3 amber jules 7 14 fable chen 17 24 ember
jules 33 kim 25 ivan 35 eli 6 jules 21 chen 41
eli 9 20 grove bruno 8 29 delta alice 21 19 delta hana 1 2 harbor alice 13 5 birch alice 9 21 grove bruno 16 27 harbor
eli 29 bruno 37 alice 40 hana 3 alice 18 alice 30 bruno 43
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018739-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 17 16 harbor kim 22 3 harbor ivan 10 25 amber eli 3 3 amber jules 7 14 fable chen 17 24 ember
jules 33 kim 25 ivan 35 eli 6 jules 21 chen 41
eli 9 20 grove bruno 8 29 delta alice 21 19 delta hana 1 2 harbor alice 13 5 birch alice 9 21 grove bruno 16 27 harbor
eli 29 bruno 37 alice 40 hana 3 alice 18 alice 30 bruno 43
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018739
qwen/qwen3.7-plus
awkweave-0018740
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
eli 28 dina 15 kim 6 ivan 22 gus 28 gus 10
eli pass dina fail kim fail ivan fail gus pass gus fail
ivan 30 eli 11 hana 30 lina 28 chen 24 eli 30 eli 13 farah 12 alice 18
ivan pass eli fail hana pass lina pass chen pass eli pass eli fail farah fail alice fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018740-p1
Print the first column along with 'pass' if the second column is 24 or greater, otherwise print 'fail'.
{print $1,($2>=24?"pass":"fail")}
eli 28 dina 15 kim 6 ivan 22 gus 28 gus 10
eli pass dina fail kim fail ivan fail gus pass gus fail
ivan 30 eli 11 hana 30 lina 28 chen 24 eli 30 eli 13 farah 12 alice 18
ivan pass eli fail hana pass lina pass chen pass eli pass eli fail farah fail alice fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018740
qwen/qwen3.7-plus
awkweave-0018741
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli harbor 44 ivan ember 57 lina fable 20 alice harbor 93 bruno indigo 36 kim juniper 32
ELI IVAN LINA ALICE BRUNO KIM
gus delta 114 alice fable 71 hana ember 120 kim ember 2 kim delta 46 kim ember 13 dina birch 63 bruno fable 106 dina cobalt 81 farah indigo 51
GUS ALICE HANA KIM KIM KIM DINA BRUNO DINA FARAH
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018741-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
eli harbor 44 ivan ember 57 lina fable 20 alice harbor 93 bruno indigo 36 kim juniper 32
ELI IVAN LINA ALICE BRUNO KIM
gus delta 114 alice fable 71 hana ember 120 kim ember 2 kim delta 46 kim ember 13 dina birch 63 bruno fable 106 dina cobalt 81 farah indigo 51
GUS ALICE HANA KIM KIM KIM DINA BRUNO DINA FARAH
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018741
qwen/qwen3.7-plus
awkweave-0018742
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
ember 48 birch 68 amber 31 harbor 27 grove 44 delta 4
mb ir mb ar ro el
cobalt 13 grove 29 birch 31 cobalt 51 cobalt 85 ember 91 ember 13
ob ro ir ob ob mb mb
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018742-p1
Extract and display a 2-character substring from column 1, beginning at the second character position.
{print substr($1,2,2)}
ember 48 birch 68 amber 31 harbor 27 grove 44 delta 4
mb ir mb ar ro el
cobalt 13 grove 29 birch 31 cobalt 51 cobalt 85 ember 91 ember 13
ob ro ir ob ob mb mb
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018742
qwen/qwen3.7-plus
awkweave-0018743
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
indigo_delta 98 ember_ember 80 ember_birch 5 cobalt_ember 21 fable_harbor 18 delta_indigo 82 ember_juniper 80 ember_delta 40
indigo delta ember ember ember birch cobalt ember fable harbor delta indigo ember juniper ember delta
juniper_juniper 72 grove_indigo 98 cobalt_indigo 96 indigo_birch 69 juniper_cobalt 49 indigo_harbor 102 grove_cobalt 107
juniper juniper grove indigo cobalt indigo indigo birch juniper cobalt indigo harbor grove cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018743-p1
Substitute all underscores in column 1 with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
indigo_delta 98 ember_ember 80 ember_birch 5 cobalt_ember 21 fable_harbor 18 delta_indigo 82 ember_juniper 80 ember_delta 40
indigo delta ember ember ember birch cobalt ember fable harbor delta indigo ember juniper ember delta
juniper_juniper 72 grove_indigo 98 cobalt_indigo 96 indigo_birch 69 juniper_cobalt 49 indigo_harbor 102 grove_cobalt 107
juniper juniper grove indigo cobalt indigo indigo birch juniper cobalt indigo harbor grove cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018743
qwen/qwen3.7-plus
awkweave-0018744
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan cobalt 107 failed chen indigo 8 paused bruno delta 84 active hana fable 23 failed bruno fable 106 active chen fable 70 paused dina harbor 26 pending
failed 107 cobalt ivan paused 8 indigo chen active 84 delta bruno failed 23 fable hana active 106 fable bruno paused 70 fable chen pending 26 harbor dina
eli delta 40 closed dina amber 56 pending ivan grove 81 failed jules indigo 119 active gus harbor 4 paused farah cobalt 53 closed ivan ember 21 paused dina fable 17 pending eli amber 24 pending lina birch 28 pending
closed 40 delta eli pending 56 amber dina failed 81 grove ivan active 119 indigo jules paused 4 harbor gus closed 53 cobalt farah paused 21 ember ivan pending 17 fable dina pending 24 amber eli pending 28 birch lina
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018744-p1
Reverse the sequence of fields for each line and output every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan cobalt 107 failed chen indigo 8 paused bruno delta 84 active hana fable 23 failed bruno fable 106 active chen fable 70 paused dina harbor 26 pending
failed 107 cobalt ivan paused 8 indigo chen active 84 delta bruno failed 23 fable hana active 106 fable bruno paused 70 fable chen pending 26 harbor dina
eli delta 40 closed dina amber 56 pending ivan grove 81 failed jules indigo 119 active gus harbor 4 paused farah cobalt 53 closed ivan ember 21 paused dina fable 17 pending eli amber 24 pending lina birch 28 pending
closed 40 delta eli pending 56 amber dina failed 81 grove ivan active 119 indigo jules paused 4 harbor gus closed 53 cobalt farah paused 21 ember ivan pending 17 fable dina pending 24 amber eli pending 28 birch lina
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018744
qwen/qwen3.7-plus
awkweave-0018745
Print the number of whitespace-separated fields on each line.
{print NF}
gus amber 33 closed lina delta 77 pending jules fable 56 pending dina cobalt 25 closed chen delta 82 ready eli juniper 73 paused ivan grove 102 ready gus amber 44 failed dina cobalt 27 paused
4 4 4 4 4 4 4 4 4
alice harbor 41 pending ivan indigo 53 closed lina cobalt 66 closed chen grove 27 pending kim fable 64 ready jules cobalt 44 closed gus juniper 111 active eli ember 62 ready gus amber 31 paused gus ember 66 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018745-p1
Output the count of whitespace-delimited fields found on each line.
{print NF}
gus amber 33 closed lina delta 77 pending jules fable 56 pending dina cobalt 25 closed chen delta 82 ready eli juniper 73 paused ivan grove 102 ready gus amber 44 failed dina cobalt 27 paused
4 4 4 4 4 4 4 4 4
alice harbor 41 pending ivan indigo 53 closed lina cobalt 66 closed chen grove 27 pending kim fable 64 ready jules cobalt 44 closed gus juniper 111 active eli ember 62 ready gus amber 31 paused gus ember 66 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018745
qwen/qwen3.7-plus
awkweave-0018746
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 gamma 76 lina gamma 50 kim alpha 99 jules gamma 35 ivan beta 40 kim delta 30
gamma 3 alpha 1 beta 1 delta 1
ivan gamma 11 chen beta 94 alice beta 110 chen delta 112 jules alpha 37 hana beta 5 eli beta 43 jules delta 119
gamma 1 beta 4 delta 2 alpha 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018746-p1
Tally the occurrences of each unique value in column 2, then list each value alongside its count sorted by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
eli gamma 76 lina gamma 50 kim alpha 99 jules gamma 35 ivan beta 40 kim delta 30
gamma 3 alpha 1 beta 1 delta 1
ivan gamma 11 chen beta 94 alice beta 110 chen delta 112 jules alpha 37 hana beta 5 eli beta 43 jules delta 119
gamma 1 beta 4 delta 2 alpha 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018746
qwen/qwen3.7-plus
awkweave-0018747
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]]}
bruno alpha 17 gus gamma 25 gus alpha 13 lina gamma 4 hana alpha 8 farah alpha 25 eli beta 24 dina beta 17 gus delta 13 eli delta 14
alpha 63 gamma 29 beta 41 delta 27
farah delta 8 kim beta 14 jules beta 27 bruno gamma 2 gus delta 9 ivan delta 9 hana gamma 22
delta 26 beta 41 gamma 24
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018747-p1
Calculate the sum of column 3 values grouped by column 2 categories, presenting the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
bruno alpha 17 gus gamma 25 gus alpha 13 lina gamma 4 hana alpha 8 farah alpha 25 eli beta 24 dina beta 17 gus delta 13 eli delta 14
alpha 63 gamma 29 beta 41 delta 27
farah delta 8 kim beta 14 jules beta 27 bruno gamma 2 gus delta 9 ivan delta 9 hana gamma 22
delta 26 beta 41 gamma 24
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018747
qwen/qwen3.7-plus
awkweave-0018748
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 harbor 72 delta delta 59 delta cobalt 40 delta juniper 88 delta harbor 111 gamma delta 24 beta fable 117 beta indigo 64 beta grove 4 delta birch 26
delta 5 beta 3
gamma amber 107 gamma ember 63 gamma indigo 72 alpha grove 30 gamma delta 104 gamma ember 31 gamma delta 115
gamma 6
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018748-p1
Identify duplicate values in column 1 and print each one 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 harbor 72 delta delta 59 delta cobalt 40 delta juniper 88 delta harbor 111 gamma delta 24 beta fable 117 beta indigo 64 beta grove 4 delta birch 26
delta 5 beta 3
gamma amber 107 gamma ember 63 gamma indigo 72 alpha grove 30 gamma delta 104 gamma ember 31 gamma delta 115
gamma 6
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018748
qwen/qwen3.7-plus
awkweave-0018749
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 record_id region state r001 bruno 29 closed r002 alice 14 ready r003 gus 14 active r004 kim 30 pending r005 jules 5 paused r006 lina 3 paused
closed ready active pending paused paused
score record_id region state r001 eli 17 pending r002 jules 10 active r003 chen 24 ready r004 dina 6 closed r005 eli 22 active r006 hana 22 failed r007 alice 9 pending r008 kim 5 active r009 farah 18 pending
pending active ready closed active failed pending active pending
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018749-p1
Treating the first row as a header, output the contents of the state column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
score record_id region state r001 bruno 29 closed r002 alice 14 ready r003 gus 14 active r004 kim 30 pending r005 jules 5 paused r006 lina 3 paused
closed ready active pending paused paused
score record_id region state r001 eli 17 pending r002 jules 10 active r003 chen 24 ready r004 dina 6 closed r005 eli 22 active r006 hana 22 failed r007 alice 9 pending r008 kim 5 active r009 farah 18 pending
pending active ready closed active failed pending active pending
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018749
qwen/qwen3.7-plus
awkweave-0018750
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 hana 6 ready r002 ivan 4 ready r003 chen 16 active r004 ivan 17 active r005 hana 6 failed r006 bruno 6 paused r007 lina 12 closed r008 lina 18 pending r009 farah 3 active r010 dina 17 closed
chen ivan lina dina
record_id display_name score state r001 gus 11 pending r002 hana 1 pending r003 alice 24 ready r004 eli 7 pending r005 kim 2 ready r006 eli 24 active r007 gus 13 pending
alice eli gus
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018750-p1
Ignoring the header row, print the display_name field for records where the score exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 hana 6 ready r002 ivan 4 ready r003 chen 16 active r004 ivan 17 active r005 hana 6 failed r006 bruno 6 paused r007 lina 12 closed r008 lina 18 pending r009 farah 3 active r010 dina 17 closed
chen ivan lina dina
record_id display_name score state r001 gus 11 pending r002 hana 1 pending r003 alice 24 ready r004 eli 7 pending r005 kim 2 ready r006 eli 24 active r007 gus 13 pending
alice eli gus
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018750
qwen/qwen3.7-plus
awkweave-0018751
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 19 ready eli 17 active jules 10 active farah 10 failed farah 25 active ivan 29 pending
ready active active failed active pending
dina 20 pending eli 27 failed lina 10 failed kim 22 failed jules 1 active jules 3 paused lina 6 ready gus 3 ready gus 30 ready dina 21 active
pending failed failed failed active paused ready ready ready active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018751-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
farah 19 ready eli 17 active jules 10 active farah 10 failed farah 25 active ivan 29 pending
ready active active failed active pending
dina 20 pending eli 27 failed lina 10 failed kim 22 failed jules 1 active jules 3 paused lina 6 ready gus 3 ready gus 30 ready dina 21 active
pending failed failed failed active paused ready ready ready active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018751
qwen/qwen3.7-plus
awkweave-0018752
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24.
BEGIN{FS=OFS=","}$2>24{print $1}
eli,13,active bruno,28,closed eli,9,failed hana,24,failed farah,4,failed lina,12,paused dina,11,active
bruno
alice,28,paused jules,2,paused dina,17,active alice,2,closed gus,25,closed bruno,9,paused lina,13,pending eli,14,active
alice gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018752-p1
For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
eli,13,active bruno,28,closed eli,9,failed hana,24,failed farah,4,failed lina,12,paused dina,11,active
bruno
alice,28,paused jules,2,paused dina,17,active alice,2,closed gus,25,closed bruno,9,paused lina,13,pending eli,14,active
alice gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018752
qwen/qwen3.7-plus
awkweave-0018753
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli grove 99 ivan grove 26 hana grove 113 farah fable 27 farah juniper 43 farah delta 75
eli grove 99 ivan grove 26 hana grove 113 farah fable 27 farah juniper 43 farah delta 75
farah cobalt 53 jules juniper 111 alice birch 0 jules fable 115 dina amber 84 kim juniper 72 lina juniper 32
farah cobalt 53 jules juniper 111 alice birch 0 jules fable 115 dina amber 84 kim juniper 72 lina juniper 32
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018753-p1
Remove leading and trailing whitespace, and replace any internal whitespace sequences with a single space.
{$1=$1;print}
eli grove 99 ivan grove 26 hana grove 113 farah fable 27 farah juniper 43 farah delta 75
eli grove 99 ivan grove 26 hana grove 113 farah fable 27 farah juniper 43 farah delta 75
farah cobalt 53 jules juniper 111 alice birch 0 jules fable 115 dina amber 84 kim juniper 72 lina juniper 32
farah cobalt 53 jules juniper 111 alice birch 0 jules fable 115 dina amber 84 kim juniper 72 lina juniper 32
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018753
qwen/qwen3.7-plus
awkweave-0018754
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli ember 92 active farah ember 22 paused ivan cobalt 114 ready chen cobalt 109 ready hana cobalt 37 active alice birch 15 failed bruno juniper 63 active farah delta 74 paused
bruno juniper 63 active
jules fable 16 failed hana birch 75 closed dina delta 60 closed ivan indigo 9 active kim juniper 66 ready hana indigo 102 paused
hana indigo 102 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018754-p1
Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length.
{if(length($0)>length(best))best=$0}END{print best}
eli ember 92 active farah ember 22 paused ivan cobalt 114 ready chen cobalt 109 ready hana cobalt 37 active alice birch 15 failed bruno juniper 63 active farah delta 74 paused
bruno juniper 63 active
jules fable 16 failed hana birch 75 closed dina delta 60 closed ivan indigo 9 active kim juniper 66 ready hana indigo 102 paused
hana indigo 102 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018754
qwen/qwen3.7-plus
awkweave-0018755
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
dina 85 lina 49 alice 54 ivan 10 bruno 20 ivan 11 dina 26
dina 85 alice 54 bruno 20 dina 26
bruno 68 lina 55 farah 28 hana 58 bruno 40 kim 41 alice 106
bruno 68 farah 28 bruno 40 alice 106
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018755-p1
Print lines 1, 3, 5, and so on, effectively outputting every second line starting from the first.
NR%2==1
dina 85 lina 49 alice 54 ivan 10 bruno 20 ivan 11 dina 26
dina 85 alice 54 bruno 20 dina 26
bruno 68 lina 55 farah 28 hana 58 bruno 40 kim 41 alice 106
bruno 68 farah 28 bruno 40 alice 106
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018755
qwen/qwen3.7-plus
awkweave-0018756
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 0 gamma fable 16 beta juniper 37 delta indigo 112 beta ember 99 alpha cobalt 108
4
beta delta 98 gamma delta 107 alpha indigo 99 gamma harbor 107 delta delta 1 gamma grove 41
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018756-p1
Calculate and display only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 0 gamma fable 16 beta juniper 37 delta indigo 112 beta ember 99 alpha cobalt 108
4
beta delta 98 gamma delta 107 alpha indigo 99 gamma harbor 107 delta delta 1 gamma grove 41
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018756
qwen/qwen3.7-plus
awkweave-0018757
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}
ivan 19 0 ivan 3 16 bruno 16 18 dina 12 30 lina 24 22 dina 1 9 chen 25 5 jules 26 2
ivan 0.19 bruno 0.89 dina 0.40 lina 1.09 dina 0.11 chen 5.00 jules 13.00
dina 24 0 kim 5 10 hana 22 25 lina 15 29 bruno 20 4 ivan 26 9 dina 25 29 farah 27 28
kim 0.50 hana 0.88 lina 0.52 bruno 5.00 ivan 2.89 dina 0.86 farah 0.96
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018757-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
ivan 19 0 ivan 3 16 bruno 16 18 dina 12 30 lina 24 22 dina 1 9 chen 25 5 jules 26 2
ivan 0.19 bruno 0.89 dina 0.40 lina 1.09 dina 0.11 chen 5.00 jules 13.00
dina 24 0 kim 5 10 hana 22 25 lina 15 29 bruno 20 4 ivan 26 9 dina 25 29 farah 27 28
kim 0.50 hana 0.88 lina 0.52 bruno 5.00 ivan 2.89 dina 0.86 farah 0.96
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018757
qwen/qwen3.7-plus
awkweave-0018758
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 ember 16 lina cobalt 10 gus delta 4 chen cobalt 22 gus harbor 5 dina birch 23 gus ember 30
gus ember 30 dina birch 23 chen cobalt 22
alice ember 2 gus grove 24 alice juniper 17 alice harbor 4 ivan amber 29 lina harbor 15 farah harbor 25
ivan amber 29 farah harbor 25 gus grove 24
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018758-p1
Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
bruno ember 16 lina cobalt 10 gus delta 4 chen cobalt 22 gus harbor 5 dina birch 23 gus ember 30
gus ember 30 dina birch 23 chen cobalt 22
alice ember 2 gus grove 24 alice juniper 17 alice harbor 4 ivan amber 29 lina harbor 15 farah harbor 25
ivan amber 29 farah harbor 25 gus grove 24
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018758
qwen/qwen3.7-plus
awkweave-0018759
Print column 3 followed by column 1 for every record.
{print $3, $1}
cobalt alice pending 7 grove jules ready 103 birch chen paused 94 grove alice paused 64 delta kim failed 78 birch kim ready 24
pending cobalt ready grove paused birch paused grove failed delta ready birch
juniper alice active 61 ember jules active 106 birch lina paused 30 amber chen paused 103 cobalt lina failed 29 harbor eli pending 90 amber gus active 41 cobalt farah pending 52 juniper lina paused 42 delta kim pending 88
active juniper active ember paused birch paused amber failed cobalt pending harbor active amber pending cobalt paused juniper pending delta
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018759-p1
Output the third column followed by the first column for every record in the input.
{print $3, $1}
cobalt alice pending 7 grove jules ready 103 birch chen paused 94 grove alice paused 64 delta kim failed 78 birch kim ready 24
pending cobalt ready grove paused birch paused grove failed delta ready birch
juniper alice active 61 ember jules active 106 birch lina paused 30 amber chen paused 103 cobalt lina failed 29 harbor eli pending 90 amber gus active 41 cobalt farah pending 52 juniper lina paused 42 delta kim pending 88
active juniper active ember paused birch paused amber failed cobalt pending harbor active amber pending cobalt paused juniper pending delta
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018759
qwen/qwen3.7-plus
awkweave-0018760
Print the last field of every input line.
{print $NF}
pending 9 25 eli paused chen closed 4 102 kim ready farah active 40 85 farah pending farah pending 85 25 gus failed alice active 78 98 alice pending gus ready 82 106 gus failed lina paused 37 63 chen ready lina
chen farah farah alice gus lina lina
active 51 11 bruno closed dina active 106 37 bruno active chen paused 107 83 kim pending jules pending 49 51 farah closed bruno paused 32 38 kim failed ivan ready 19 92 kim closed chen
dina chen jules bruno ivan chen
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018760-p1
Print the final field of each input line.
{print $NF}
pending 9 25 eli paused chen closed 4 102 kim ready farah active 40 85 farah pending farah pending 85 25 gus failed alice active 78 98 alice pending gus ready 82 106 gus failed lina paused 37 63 chen ready lina
chen farah farah alice gus lina lina
active 51 11 bruno closed dina active 106 37 bruno active chen paused 107 83 kim pending jules pending 49 51 farah closed bruno paused 32 38 kim failed ivan ready 19 92 kim closed chen
dina chen jules bruno ivan chen
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018760
qwen/qwen3.7-plus
awkweave-0018761
Print the complete records where column 2 is greater than 79.
$2 > 79
juniper 47 jules failed grove 115 ivan active birch 104 kim ready juniper 34 jules pending birch 59 jules pending indigo 95 hana ready indigo 72 eli active
grove 115 ivan active birch 104 kim ready indigo 95 hana ready
juniper 50 farah paused grove 100 kim active ember 29 ivan ready grove 25 dina paused birch 114 jules ready indigo 96 ivan active ember 45 dina paused delta 23 farah pending
grove 100 kim active birch 114 jules ready indigo 96 ivan active
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018761-p1
Output full records where the value in the second column exceeds 79.
$2 > 79
juniper 47 jules failed grove 115 ivan active birch 104 kim ready juniper 34 jules pending birch 59 jules pending indigo 95 hana ready indigo 72 eli active
grove 115 ivan active birch 104 kim ready indigo 95 hana ready
juniper 50 farah paused grove 100 kim active ember 29 ivan ready grove 25 dina paused birch 114 jules ready indigo 96 ivan active ember 45 dina paused delta 23 farah pending
grove 100 kim active birch 114 jules ready indigo 96 ivan active
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018761
qwen/qwen3.7-plus
awkweave-0018762
Show whole lines whose 1st field is between 12 and 20, inclusive.
$1 >= 12 && $1 <= 20
7 alice eli ready 7 hana lina ready 12 gus chen paused 2 hana dina ready 4 dina jules closed 4 ivan alice paused 20 dina farah closed
12 gus chen paused 20 dina farah closed
21 chen alice ready 1 alice gus ready 21 alice ivan failed 21 chen hana paused 12 bruno dina closed 2 kim hana closed
12 bruno dina closed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018762-p1
Display entire lines where the first field falls within the inclusive range of 12 to 20.
$1 >= 12 && $1 <= 20
7 alice eli ready 7 hana lina ready 12 gus chen paused 2 hana dina ready 4 dina jules closed 4 ivan alice paused 20 dina farah closed
12 gus chen paused 20 dina farah closed
21 chen alice ready 1 alice gus ready 21 alice ivan failed 21 chen hana paused 12 bruno dina closed 2 kim hana closed
12 bruno dina closed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018762
qwen/qwen3.7-plus
awkweave-0018763
Print column 2 only for rows where column 1 is exactly closed.
$1 == "closed"{print $2}
closed hana 110 fable ready farah 16 delta ready hana 117 fable pending farah 52 grove pending dina 83 cobalt ready bruno 7 amber failed jules 55 juniper
hana
active hana 115 juniper paused alice 74 juniper paused jules 21 birch closed eli 34 amber ready chen 92 grove closed chen 2 birch active eli 95 amber pending lina 65 cobalt
eli chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018763-p1
Print only the second column for rows where the first column is exactly 'closed'.
$1 == "closed"{print $2}
closed hana 110 fable ready farah 16 delta ready hana 117 fable pending farah 52 grove pending dina 83 cobalt ready bruno 7 amber failed jules 55 juniper
hana
active hana 115 juniper paused alice 74 juniper paused jules 21 birch closed eli 34 amber ready chen 92 grove closed chen 2 birch active eli 95 amber pending lina 65 cobalt
eli chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018763
qwen/qwen3.7-plus
awkweave-0018764
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO juniper 30 WARN indigo 112 WARN birch 94 ERROR fable 18 DEBUG cobalt 118 ERROR amber 53 INFO juniper 82 DEBUG harbor 57 DEBUG indigo 99
INFO juniper 30 INFO juniper 82
ERROR fable 76 DEBUG delta 27 ERROR amber 12 INFO harbor 13 DEBUG cobalt 37 ERROR ember 73 DEBUG harbor 89
INFO harbor 13
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018764-p1
Output all fields from lines where the first field starts with the string 'INFO'.
$1 ~ /^INFO/
INFO juniper 30 WARN indigo 112 WARN birch 94 ERROR fable 18 DEBUG cobalt 118 ERROR amber 53 INFO juniper 82 DEBUG harbor 57 DEBUG indigo 99
INFO juniper 30 INFO juniper 82
ERROR fable 76 DEBUG delta 27 ERROR amber 12 INFO harbor 13 DEBUG cobalt 37 ERROR ember 73 DEBUG harbor 89
INFO harbor 13
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018764
qwen/qwen3.7-plus
awkweave-0018765
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
indigo 14 pending harbor 27 failed amber 87 pending grove 30 pending juniper 68 failed indigo 101 ready birch 42 closed amber 87 pending birch 49 active harbor 999 active
indigo 14 pending amber 87 pending grove 30 pending juniper 68 failed indigo 101 ready birch 42 closed amber 87 pending birch 49 active
grove 34 closed fable 39 active birch 42 active amber 7 ready fable 75 failed juniper 97 ready amber 68 ready delta 116 active juniper 27 pending harbor 89 ready harbor 999 active
grove 34 closed fable 39 active birch 42 active amber 7 ready fable 75 failed juniper 97 ready amber 68 ready delta 116 active juniper 27 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018765-p1
Print every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
indigo 14 pending harbor 27 failed amber 87 pending grove 30 pending juniper 68 failed indigo 101 ready birch 42 closed amber 87 pending birch 49 active harbor 999 active
indigo 14 pending amber 87 pending grove 30 pending juniper 68 failed indigo 101 ready birch 42 closed amber 87 pending birch 49 active
grove 34 closed fable 39 active birch 42 active amber 7 ready fable 75 failed juniper 97 ready amber 68 ready delta 116 active juniper 27 pending harbor 89 ready harbor 999 active
grove 34 closed fable 39 active birch 42 active amber 7 ready fable 75 failed juniper 97 ready amber 68 ready delta 116 active juniper 27 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018765
qwen/qwen3.7-plus
awkweave-0018766
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
farah fable 56 hana delta 102 dina harbor 33 bruno amber 17 ivan amber 21 eli juniper 62 farah ember 27 lina indigo 112
hana delta 102 dina harbor 33 bruno amber 17 ivan amber 21
ivan cobalt 77 lina birch 104 dina juniper 52 farah birch 89 ivan delta 36 jules grove 13 lina indigo 22 jules harbor 19 jules delta 91 bruno delta 63
lina birch 104 dina juniper 52 farah birch 89 ivan delta 36
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018766-p1
Display lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
farah fable 56 hana delta 102 dina harbor 33 bruno amber 17 ivan amber 21 eli juniper 62 farah ember 27 lina indigo 112
hana delta 102 dina harbor 33 bruno amber 17 ivan amber 21
ivan cobalt 77 lina birch 104 dina juniper 52 farah birch 89 ivan delta 36 jules grove 13 lina indigo 22 jules harbor 19 jules delta 91 bruno delta 63
lina birch 104 dina juniper 52 farah birch 89 ivan delta 36
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018766
qwen/qwen3.7-plus
awkweave-0018767
Output only the first 3 records.
NR <= 3
jules 98 indigo alice 37 fable jules 64 delta gus 22 cobalt lina 50 amber eli 53 grove kim 81 juniper
jules 98 indigo alice 37 fable jules 64 delta
dina 63 ember lina 69 harbor ivan 103 grove dina 7 harbor eli 98 fable lina 63 grove kim 89 juniper
dina 63 ember lina 69 harbor ivan 103 grove
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018767-p1
Output just the initial 3 records.
NR <= 3
jules 98 indigo alice 37 fable jules 64 delta gus 22 cobalt lina 50 amber eli 53 grove kim 81 juniper
jules 98 indigo alice 37 fable jules 64 delta
dina 63 ember lina 69 harbor ivan 103 grove dina 7 harbor eli 98 fable lina 63 grove kim 89 juniper
dina 63 ember lina 69 harbor ivan 103 grove
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018767
qwen/qwen3.7-plus
awkweave-0018768
Skip the first line and print every remaining line unchanged.
NR > 1
gus 49 harbor ivan 62 delta ivan 36 indigo dina 58 fable dina 93 ember lina 70 delta eli 67 delta kim 107 birch farah 117 delta ivan 72 indigo
ivan 62 delta ivan 36 indigo dina 58 fable dina 93 ember lina 70 delta eli 67 delta kim 107 birch farah 117 delta ivan 72 indigo
ivan 114 fable farah 109 amber chen 73 delta chen 5 grove dina 80 fable jules 20 cobalt
farah 109 amber chen 73 delta chen 5 grove dina 80 fable jules 20 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018768-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
gus 49 harbor ivan 62 delta ivan 36 indigo dina 58 fable dina 93 ember lina 70 delta eli 67 delta kim 107 birch farah 117 delta ivan 72 indigo
ivan 62 delta ivan 36 indigo dina 58 fable dina 93 ember lina 70 delta eli 67 delta kim 107 birch farah 117 delta ivan 72 indigo
ivan 114 fable farah 109 amber chen 73 delta chen 5 grove dina 80 fable jules 20 cobalt
farah 109 amber chen 73 delta chen 5 grove dina 80 fable jules 20 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018768
qwen/qwen3.7-plus
awkweave-0018769
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
gus ready 104 farah failed 24 hana failed 94 kim paused 50 lina failed 73 bruno active 76 gus failed 98 chen active 68 ivan paused 21 chen ready 97
0
ivan closed 3 lina ready 55 eli ready 117 bruno failed 39 farah paused 56 lina active 106 farah paused 111 farah ready 26
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0018769-p1
Count the number of records where column 2 contains 'pending', printing 0 if no such records exist.
$2 == "pending"{n++}END{print n+0}
gus ready 104 farah failed 24 hana failed 94 kim paused 50 lina failed 73 bruno active 76 gus failed 98 chen active 68 ivan paused 21 chen ready 97
0
ivan closed 3 lina ready 55 eli ready 117 bruno failed 39 farah paused 56 lina active 106 farah paused 111 farah ready 26
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0018769
qwen/qwen3.7-plus
awkweave-0018770
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
eli 15 indigo hana 24 fable chen 2 amber hana 8 delta eli 25 amber ivan 20 grove dina 7 harbor
101
bruno 27 indigo jules 19 indigo jules 29 delta lina 21 amber kim 23 harbor hana 22 cobalt alice 1 amber farah 16 delta chen 28 birch
186
sum_field
1
train
original-grammar
CC-BY-4.0
null
null