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-0054053
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]}
chen ember 7 gus indigo 3 farah birch 26 alice birch 19 dina harbor 27 eli ember 20 eli amber 22 farah ember 18 ivan juniper 5
dina harbor 27 farah birch 26 eli amber 22
ivan delta 3 chen delta 11 chen fable 29 farah grove 16 hana fable 18 farah harbor 30 ivan birch 8
farah harbor 30 chen fable 29 hana fable 18
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054053-p1
Display the full records corresponding to the three highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values.
{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]}
chen ember 7 gus indigo 3 farah birch 26 alice birch 19 dina harbor 27 eli ember 20 eli amber 22 farah ember 18 ivan juniper 5
dina harbor 27 farah birch 26 eli amber 22
ivan delta 3 chen delta 11 chen fable 29 farah grove 16 hana fable 18 farah harbor 30 ivan birch 8
farah harbor 30 chen fable 29 hana fable 18
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054053
qwen/qwen3.7-plus
awkweave-0054054
Select the 3rd and 2nd fields in that order.
{print $3, $2}
ember 66 failed paused delta active grove 114 paused active harbor failed cobalt 29 paused paused birch closed indigo 31 failed closed amber pending amber 45 pending closed cobalt closed cobalt 16 active closed juniper closed harbor 70 closed paused juniper pending amber 23 failed ready amber failed birch 63 ready read...
failed 66 paused 114 paused 29 failed 31 pending 45 active 16 closed 70 failed 23 ready 63 pending 17
indigo 20 active active juniper ready juniper 84 active ready juniper closed harbor 67 active closed amber closed ember 114 closed active ember failed ember 16 closed pending amber active harbor 95 paused failed juniper ready
active 20 active 84 active 67 closed 114 closed 16 paused 95
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054054-p1
Extract and print the third field followed by the second field, in that specific sequence.
{print $3, $2}
ember 66 failed paused delta active grove 114 paused active harbor failed cobalt 29 paused paused birch closed indigo 31 failed closed amber pending amber 45 pending closed cobalt closed cobalt 16 active closed juniper closed harbor 70 closed paused juniper pending amber 23 failed ready amber failed birch 63 ready read...
failed 66 paused 114 paused 29 failed 31 pending 45 active 16 closed 70 failed 23 ready 63 pending 17
indigo 20 active active juniper ready juniper 84 active ready juniper closed harbor 67 active closed amber closed ember 114 closed active ember failed ember 16 closed pending amber active harbor 95 paused failed juniper ready
active 20 active 84 active 67 closed 114 closed 16 paused 95
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054054
qwen/qwen3.7-plus
awkweave-0054055
Print the last field of every input line.
{print $NF}
lina chen 118 ready 22 89 kim lina kim 0 closed 119 95 jules gus kim 60 pending 50 9 lina ivan ivan 43 pending 31 66 hana dina lina 77 ready 87 76 chen dina bruno 36 pending 67 113 jules kim gus 110 paused 98 19 alice gus dina 61 failed 25 65 bruno gus dina 41 active 113 120 bruno
kim jules lina hana chen jules alice bruno bruno
gus farah 9 closed 82 99 ivan dina farah 24 active 44 101 jules farah ivan 49 pending 119 43 kim jules hana 33 pending 101 92 dina alice chen 57 paused 30 19 hana gus eli 27 paused 98 99 dina dina gus 111 closed 44 102 farah
ivan jules kim dina hana dina farah
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054055-p1
Output the final field from every line in the input.
{print $NF}
lina chen 118 ready 22 89 kim lina kim 0 closed 119 95 jules gus kim 60 pending 50 9 lina ivan ivan 43 pending 31 66 hana dina lina 77 ready 87 76 chen dina bruno 36 pending 67 113 jules kim gus 110 paused 98 19 alice gus dina 61 failed 25 65 bruno gus dina 41 active 113 120 bruno
kim jules lina hana chen jules alice bruno bruno
gus farah 9 closed 82 99 ivan dina farah 24 active 44 101 jules farah ivan 49 pending 119 43 kim jules hana 33 pending 101 92 dina alice chen 57 paused 30 19 hana gus eli 27 paused 98 99 dina dina gus 111 closed 44 102 farah
ivan jules kim dina hana dina farah
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054055
qwen/qwen3.7-plus
awkweave-0054056
Print the complete records where column 2 is less than 40.
$2 < 40
amber 47 amber jules active ember 79 amber farah pending fable 2 cobalt jules active fable 107 amber dina ready cobalt 47 harbor bruno paused harbor 47 indigo jules pending fable 67 delta kim paused fable 38 cobalt gus ready
fable 2 cobalt jules active fable 38 cobalt gus ready
delta 112 ember bruno closed delta 14 ember alice closed grove 48 harbor eli active ember 8 harbor dina failed cobalt 95 harbor kim pending amber 118 juniper bruno paused harbor 81 cobalt lina closed birch 1 harbor kim paused fable 36 harbor kim paused
delta 14 ember alice closed ember 8 harbor dina failed birch 1 harbor kim paused fable 36 harbor kim paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054056-p1
Print the entire record for any row where the value in column 2 is strictly less than 40.
$2 < 40
amber 47 amber jules active ember 79 amber farah pending fable 2 cobalt jules active fable 107 amber dina ready cobalt 47 harbor bruno paused harbor 47 indigo jules pending fable 67 delta kim paused fable 38 cobalt gus ready
fable 2 cobalt jules active fable 38 cobalt gus ready
delta 112 ember bruno closed delta 14 ember alice closed grove 48 harbor eli active ember 8 harbor dina failed cobalt 95 harbor kim pending amber 118 juniper bruno paused harbor 81 cobalt lina closed birch 1 harbor kim paused fable 36 harbor kim paused
delta 14 ember alice closed ember 8 harbor dina failed birch 1 harbor kim paused fable 36 harbor kim paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054056
qwen/qwen3.7-plus
awkweave-0054057
Show whole lines whose 1st field is between 4 and 20, inclusive.
$1 >= 4 && $1 <= 20
25 failed ready active 15 failed ready active 29 ready ready ready 28 closed paused closed 8 pending active failed 6 paused paused ready 8 closed ready closed 18 closed active failed
15 failed ready active 8 pending active failed 6 paused paused ready 8 closed ready closed 18 closed active failed
16 closed active pending 4 pending ready active 12 active failed paused 25 ready pending closed 28 ready closed closed 29 pending paused paused 9 ready paused ready 4 active active failed 8 active active failed
16 closed active pending 4 pending ready active 12 active failed paused 9 ready paused ready 4 active active failed 8 active active failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054057-p1
Display complete lines where the first field falls within the inclusive range of 4 to 20.
$1 >= 4 && $1 <= 20
25 failed ready active 15 failed ready active 29 ready ready ready 28 closed paused closed 8 pending active failed 6 paused paused ready 8 closed ready closed 18 closed active failed
15 failed ready active 8 pending active failed 6 paused paused ready 8 closed ready closed 18 closed active failed
16 closed active pending 4 pending ready active 12 active failed paused 25 ready pending closed 28 ready closed closed 29 pending paused paused 9 ready paused ready 4 active active failed 8 active active failed
16 closed active pending 4 pending ready active 12 active failed paused 9 ready paused ready 4 active active failed 8 active active failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054057
qwen/qwen3.7-plus
awkweave-0054058
Print column 1 only for rows where column 2 is exactly pending.
$2 == "pending"{print $1}
eli closed 114 indigo jules failed 84 ember dina pending 35 juniper farah failed 15 juniper hana pending 41 ember gus failed 109 juniper jules paused 65 cobalt lina pending 101 delta hana paused 69 amber
dina hana lina
ivan failed 49 delta ivan ready 31 fable kim failed 28 harbor eli failed 41 juniper chen pending 103 delta gus paused 41 fable lina closed 62 juniper lina paused 8 ember kim pending 13 cobalt ivan paused 45 ember
chen kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054058-p1
Output only the first column for rows where the second column contains exactly the value 'pending'.
$2 == "pending"{print $1}
eli closed 114 indigo jules failed 84 ember dina pending 35 juniper farah failed 15 juniper hana pending 41 ember gus failed 109 juniper jules paused 65 cobalt lina pending 101 delta hana paused 69 amber
dina hana lina
ivan failed 49 delta ivan ready 31 fable kim failed 28 harbor eli failed 41 juniper chen pending 103 delta gus paused 41 fable lina closed 62 juniper lina paused 8 ember kim pending 13 cobalt ivan paused 45 ember
chen kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054058
qwen/qwen3.7-plus
awkweave-0054059
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
fable WARN 104 delta WARN 120 delta ERROR 34 indigo INFO 71 cobalt WARN 110 indigo INFO 22 juniper DEBUG 49 ember DEBUG 43 juniper INFO 72 birch ERROR 47
delta ERROR 34 birch ERROR 47
juniper INFO 101 cobalt WARN 28 amber ERROR 59 fable DEBUG 79 delta ERROR 14 juniper WARN 12 fable INFO 77 grove WARN 29 indigo ERROR 69
amber ERROR 59 delta ERROR 14 indigo ERROR 69
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054059-p1
Print all fields from any line where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
fable WARN 104 delta WARN 120 delta ERROR 34 indigo INFO 71 cobalt WARN 110 indigo INFO 22 juniper DEBUG 49 ember DEBUG 43 juniper INFO 72 birch ERROR 47
delta ERROR 34 birch ERROR 47
juniper INFO 101 cobalt WARN 28 amber ERROR 59 fable DEBUG 79 delta ERROR 14 juniper WARN 12 fable INFO 77 grove WARN 29 indigo ERROR 69
amber ERROR 59 delta ERROR 14 indigo ERROR 69
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054059
qwen/qwen3.7-plus
awkweave-0054060
Print every line except those containing the exact text ember.
$0 !~ /ember/
birch 47 failed birch 8 pending delta 4 failed indigo 102 active indigo 59 ready delta 50 failed cobalt 58 failed harbor 41 closed fable 36 active ember 999 active
birch 47 failed birch 8 pending delta 4 failed indigo 102 active indigo 59 ready delta 50 failed cobalt 58 failed harbor 41 closed fable 36 active
amber 38 failed indigo 0 active juniper 51 closed juniper 19 failed amber 48 pending grove 115 paused delta 66 ready ember 999 active
amber 38 failed indigo 0 active juniper 51 closed juniper 19 failed amber 48 pending grove 115 paused delta 66 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054060-p1
Output all lines that do not contain the exact string ember.
$0 !~ /ember/
birch 47 failed birch 8 pending delta 4 failed indigo 102 active indigo 59 ready delta 50 failed cobalt 58 failed harbor 41 closed fable 36 active ember 999 active
birch 47 failed birch 8 pending delta 4 failed indigo 102 active indigo 59 ready delta 50 failed cobalt 58 failed harbor 41 closed fable 36 active
amber 38 failed indigo 0 active juniper 51 closed juniper 19 failed amber 48 pending grove 115 paused delta 66 ready ember 999 active
amber 38 failed indigo 0 active juniper 51 closed juniper 19 failed amber 48 pending grove 115 paused delta 66 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054060
qwen/qwen3.7-plus
awkweave-0054061
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
farah harbor 33 hana birch 63 chen harbor 30 chen fable 69 gus fable 108 kim delta 61 hana juniper 66 jules cobalt 62
chen fable 69 gus fable 108 kim delta 61 hana juniper 66
dina delta 3 dina cobalt 87 alice fable 107 ivan amber 24 ivan birch 68 jules delta 34 kim grove 70 jules fable 23 gus fable 28 alice birch 13
ivan amber 24 ivan birch 68 jules delta 34 kim grove 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054061-p1
Display lines 4 to 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
farah harbor 33 hana birch 63 chen harbor 30 chen fable 69 gus fable 108 kim delta 61 hana juniper 66 jules cobalt 62
chen fable 69 gus fable 108 kim delta 61 hana juniper 66
dina delta 3 dina cobalt 87 alice fable 107 ivan amber 24 ivan birch 68 jules delta 34 kim grove 70 jules fable 23 gus fable 28 alice birch 13
ivan amber 24 ivan birch 68 jules delta 34 kim grove 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054061
qwen/qwen3.7-plus
awkweave-0054062
Output only the first 5 records.
NR <= 5
chen 59 grove jules 105 delta gus 44 birch gus 88 harbor ivan 81 fable lina 64 harbor jules 57 indigo lina 41 juniper
chen 59 grove jules 105 delta gus 44 birch gus 88 harbor ivan 81 fable
ivan 41 juniper bruno 68 birch farah 57 indigo lina 61 juniper chen 82 indigo lina 96 amber kim 11 ember alice 26 cobalt
ivan 41 juniper bruno 68 birch farah 57 indigo lina 61 juniper chen 82 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054062-p1
Show only the initial 5 records from the input.
NR <= 5
chen 59 grove jules 105 delta gus 44 birch gus 88 harbor ivan 81 fable lina 64 harbor jules 57 indigo lina 41 juniper
chen 59 grove jules 105 delta gus 44 birch gus 88 harbor ivan 81 fable
ivan 41 juniper bruno 68 birch farah 57 indigo lina 61 juniper chen 82 indigo lina 96 amber kim 11 ember alice 26 cobalt
ivan 41 juniper bruno 68 birch farah 57 indigo lina 61 juniper chen 82 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054062
qwen/qwen3.7-plus
awkweave-0054063
Skip the first line and print every remaining line unchanged.
NR > 1
eli 94 amber kim 26 amber chen 58 cobalt chen 58 cobalt ivan 112 delta kim 71 amber dina 16 fable kim 90 delta chen 53 cobalt kim 25 amber
kim 26 amber chen 58 cobalt chen 58 cobalt ivan 112 delta kim 71 amber dina 16 fable kim 90 delta chen 53 cobalt kim 25 amber
ivan 36 indigo eli 49 amber chen 101 harbor dina 95 amber eli 54 harbor farah 111 fable alice 34 birch jules 56 indigo lina 32 birch
eli 49 amber chen 101 harbor dina 95 amber eli 54 harbor farah 111 fable alice 34 birch jules 56 indigo lina 32 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054063-p1
Omit the first line and output the rest of the lines exactly as they appear.
NR > 1
eli 94 amber kim 26 amber chen 58 cobalt chen 58 cobalt ivan 112 delta kim 71 amber dina 16 fable kim 90 delta chen 53 cobalt kim 25 amber
kim 26 amber chen 58 cobalt chen 58 cobalt ivan 112 delta kim 71 amber dina 16 fable kim 90 delta chen 53 cobalt kim 25 amber
ivan 36 indigo eli 49 amber chen 101 harbor dina 95 amber eli 54 harbor farah 111 fable alice 34 birch jules 56 indigo lina 32 birch
eli 49 amber chen 101 harbor dina 95 amber eli 54 harbor farah 111 fable alice 34 birch jules 56 indigo lina 32 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054063
qwen/qwen3.7-plus
awkweave-0054064
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
ivan active 34 eli active 48 alice closed 91 eli pending 52 dina closed 26 chen ready 95 ivan paused 103 hana failed 89 gus pending 103
2
lina paused 103 farah paused 65 chen paused 42 ivan ready 119 dina pending 12 eli ready 45 eli active 71 eli paused 20
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054064-p1
Count the number of records where column 2 is pending; output 0 if the count is zero.
$2 == "pending"{n++}END{print n+0}
ivan active 34 eli active 48 alice closed 91 eli pending 52 dina closed 26 chen ready 95 ivan paused 103 hana failed 89 gus pending 103
2
lina paused 103 farah paused 65 chen paused 42 ivan ready 119 dina pending 12 eli ready 45 eli active 71 eli paused 20
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054064
qwen/qwen3.7-plus
awkweave-0054065
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
farah indigo 20 kim indigo 25 dina birch 30 gus cobalt 4 alice birch 23 alice birch 3 jules amber 28 farah juniper 22
155
dina delta 14 lina juniper 16 eli fable 27 farah fable 18 eli amber 29 dina harbor 13 kim birch 3 eli ember 18 lina delta 27 chen harbor 27
192
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054065-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
farah indigo 20 kim indigo 25 dina birch 30 gus cobalt 4 alice birch 23 alice birch 3 jules amber 28 farah juniper 22
155
dina delta 14 lina juniper 16 eli fable 27 farah fable 18 eli amber 29 dina harbor 13 kim birch 3 eli ember 18 lina delta 27 chen harbor 27
192
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054065
qwen/qwen3.7-plus
awkweave-0054066
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 27 bruno amber 30 eli cobalt 16 jules ember 16 farah delta 18 dina grove 17 bruno ember 19 jules ember 7 eli delta 30 farah
20.00
grove 4 lina delta 30 farah juniper 23 eli delta 27 bruno delta 15 jules delta 21 ivan delta 26 eli amber 30 dina harbor 2 chen
19.78
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054066-p1
Calculate the average of values in column 2 and print it rounded to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
cobalt 27 bruno amber 30 eli cobalt 16 jules ember 16 farah delta 18 dina grove 17 bruno ember 19 jules ember 7 eli delta 30 farah
20.00
grove 4 lina delta 30 farah juniper 23 eli delta 27 bruno delta 15 jules delta 21 ivan delta 26 eli amber 30 dina harbor 2 chen
19.78
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054066
qwen/qwen3.7-plus
awkweave-0054067
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 hana harbor 24 hana cobalt 8 ivan ember 1 hana grove 26 chen juniper 15 jules delta
1
29 hana ember 6 eli grove 12 gus grove 26 bruno fable 29 dina cobalt 29 jules birch 15 hana cobalt 7 lina delta 3 hana birch
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054067-p1
Identify and output the minimum numeric value present in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
7 hana harbor 24 hana cobalt 8 ivan ember 1 hana grove 26 chen juniper 15 jules delta
1
29 hana ember 6 eli grove 12 gus grove 26 bruno fable 29 dina cobalt 29 jules birch 15 hana cobalt 7 lina delta 3 hana birch
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054067
qwen/qwen3.7-plus
awkweave-0054068
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 10 lina ember 6 dina indigo 29 lina juniper 5 chen indigo 4 hana juniper 9 alice grove 3 jules amber 21 eli cobalt 4 ivan
29
fable 14 bruno grove 2 farah grove 8 ivan fable 26 alice harbor 4 bruno harbor 22 gus juniper 26 jules delta 10 dina
26
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054068-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 10 lina ember 6 dina indigo 29 lina juniper 5 chen indigo 4 hana juniper 9 alice grove 3 jules amber 21 eli cobalt 4 ivan
29
fable 14 bruno grove 2 farah grove 8 ivan fable 26 alice harbor 4 bruno harbor 22 gus juniper 26 jules delta 10 dina
26
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054068
qwen/qwen3.7-plus
awkweave-0054069
Count all input records and print the total.
END{print NR}
gus 45 eli 77 kim 49 farah 75 ivan 28 alice 21 ivan 15
7
chen 34 dina 11 hana 32 alice 14 farah 30 jules 110 kim 41 kim 61 bruno 110 chen 81
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054069-p1
Count the total number of input records and print the result.
END{print NR}
gus 45 eli 77 kim 49 farah 75 ivan 28 alice 21 ivan 15
7
chen 34 dina 11 hana 32 alice 14 farah 30 jules 110 kim 41 kim 61 bruno 110 chen 81
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054069
qwen/qwen3.7-plus
awkweave-0054070
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim indigo 16 hana grove 90 chen indigo 50 ivan amber 34 ivan ember 16 lina delta 115 eli amber 41 chen indigo 33 chen indigo 50 hana juniper 109 hana grove 1
kim indigo 16 hana grove 90 chen indigo 50 ivan amber 34 ivan ember 16 lina delta 115 eli amber 41 chen indigo 33 hana juniper 109 hana grove 1
eli ember 113 lina ember 18 gus grove 114 gus harbor 103 gus grove 114 ivan fable 42 alice delta 55
eli ember 113 lina ember 18 gus grove 114 gus harbor 103 ivan fable 42 alice delta 55
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054070-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
kim indigo 16 hana grove 90 chen indigo 50 ivan amber 34 ivan ember 16 lina delta 115 eli amber 41 chen indigo 33 chen indigo 50 hana juniper 109 hana grove 1
kim indigo 16 hana grove 90 chen indigo 50 ivan amber 34 ivan ember 16 lina delta 115 eli amber 41 chen indigo 33 hana juniper 109 hana grove 1
eli ember 113 lina ember 18 gus grove 114 gus harbor 103 gus grove 114 ivan fable 42 alice delta 55
eli ember 113 lina ember 18 gus grove 114 gus harbor 103 ivan fable 42 alice delta 55
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054070
qwen/qwen3.7-plus
awkweave-0054071
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
eli indigo 54 chen fable 41 hana cobalt 40 lina cobalt 93 farah ember 60 chen delta 67 alice birch 64 jules harbor 81 bruno amber 89
eli indigo 54 chen fable 41 hana cobalt 40 farah ember 60 chen delta 67 alice birch 64 jules harbor 81 bruno amber 89
lina birch 89 farah harbor 87 alice fable 98 bruno birch 58 alice delta 64 lina grove 18 hana amber 33 ivan birch 67
lina birch 89 farah harbor 87 alice fable 98 alice delta 64 lina grove 18 hana amber 33
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054071-p1
Retain only the first occurrence of each unique value in column 2, preserving the original input order.
!seen[$2]++
eli indigo 54 chen fable 41 hana cobalt 40 lina cobalt 93 farah ember 60 chen delta 67 alice birch 64 jules harbor 81 bruno amber 89
eli indigo 54 chen fable 41 hana cobalt 40 farah ember 60 chen delta 67 alice birch 64 jules harbor 81 bruno amber 89
lina birch 89 farah harbor 87 alice fable 98 bruno birch 58 alice delta 64 lina grove 18 hana amber 33 ivan birch 67
lina birch 89 farah harbor 87 alice fable 98 alice delta 64 lina grove 18 hana amber 33
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054071
qwen/qwen3.7-plus
awkweave-0054072
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 11 grove bruno 16 indigo ivan 24 indigo farah 27 harbor jules 22 cobalt gus 22 grove hana 30 cobalt alice 11 cobalt gus 14 fable
bruno 11 bruno 27 ivan 51 farah 78 jules 100 gus 122 hana 152 alice 163 gus 177
jules 16 juniper bruno 4 birch chen 9 harbor chen 22 birch farah 9 ember hana 24 ember lina 29 cobalt chen 26 delta
jules 16 bruno 20 chen 29 chen 51 farah 60 hana 84 lina 113 chen 139
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054072-p1
Output the first column and the cumulative total of the second column for every record, using a space as the delimiter.
{s+=$2;print $1,s}
bruno 11 grove bruno 16 indigo ivan 24 indigo farah 27 harbor jules 22 cobalt gus 22 grove hana 30 cobalt alice 11 cobalt gus 14 fable
bruno 11 bruno 27 ivan 51 farah 78 jules 100 gus 122 hana 152 alice 163 gus 177
jules 16 juniper bruno 4 birch chen 9 harbor chen 22 birch farah 9 ember hana 24 ember lina 29 cobalt chen 26 delta
jules 16 bruno 20 chen 29 chen 51 farah 60 hana 84 lina 113 chen 139
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054072
qwen/qwen3.7-plus
awkweave-0054073
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 23 24 juniper bruno 10 8 grove chen 15 11 cobalt lina 7 17 juniper gus 13 19 juniper lina 10 5 fable dina 13 12 birch lina 18 1 delta chen 21 19 indigo kim 29 17 delta
jules 47 bruno 18 chen 26 lina 24 gus 32 lina 15 dina 25 lina 19 chen 40 kim 46
gus 14 1 cobalt ivan 13 30 harbor dina 17 13 juniper hana 15 23 birch alice 25 10 harbor hana 11 10 amber lina 13 10 harbor chen 20 17 delta
gus 15 ivan 43 dina 30 hana 38 alice 35 hana 21 lina 23 chen 37
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054073-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 23 24 juniper bruno 10 8 grove chen 15 11 cobalt lina 7 17 juniper gus 13 19 juniper lina 10 5 fable dina 13 12 birch lina 18 1 delta chen 21 19 indigo kim 29 17 delta
jules 47 bruno 18 chen 26 lina 24 gus 32 lina 15 dina 25 lina 19 chen 40 kim 46
gus 14 1 cobalt ivan 13 30 harbor dina 17 13 juniper hana 15 23 birch alice 25 10 harbor hana 11 10 amber lina 13 10 harbor chen 20 17 delta
gus 15 ivan 43 dina 30 hana 38 alice 35 hana 21 lina 23 chen 37
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054073
qwen/qwen3.7-plus
awkweave-0054074
Print column 1 and pass when column 2 is at least 20; otherwise print fail.
{print $1,($2>=20?"pass":"fail")}
lina 28 jules 3 chen 2 gus 9 farah 4 alice 23 chen 19 kim 23
lina pass jules fail chen fail gus fail farah fail alice pass chen fail kim pass
hana 22 eli 15 lina 6 chen 19 lina 21 kim 20
hana pass eli fail lina fail chen fail lina pass kim pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054074-p1
Display the first column; output 'pass' if the second column is 20 or greater, otherwise output 'fail'.
{print $1,($2>=20?"pass":"fail")}
lina 28 jules 3 chen 2 gus 9 farah 4 alice 23 chen 19 kim 23
lina pass jules fail chen fail gus fail farah fail alice pass chen fail kim pass
hana 22 eli 15 lina 6 chen 19 lina 21 kim 20
hana pass eli fail lina fail chen fail lina pass kim pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054074
qwen/qwen3.7-plus
awkweave-0054075
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
chen ember 50 farah grove 30 alice harbor 109 hana ember 94 jules harbor 80 gus grove 101 lina fable 82
CHEN FARAH ALICE HANA JULES GUS LINA
alice juniper 80 hana grove 85 kim ember 29 bruno indigo 93 dina birch 30 bruno harbor 46 lina juniper 34 dina delta 69 ivan harbor 93 jules grove 43
ALICE HANA KIM BRUNO DINA BRUNO LINA DINA IVAN JULES
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054075-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
chen ember 50 farah grove 30 alice harbor 109 hana ember 94 jules harbor 80 gus grove 101 lina fable 82
CHEN FARAH ALICE HANA JULES GUS LINA
alice juniper 80 hana grove 85 kim ember 29 bruno indigo 93 dina birch 30 bruno harbor 46 lina juniper 34 dina delta 69 ivan harbor 93 jules grove 43
ALICE HANA KIM BRUNO DINA BRUNO LINA DINA IVAN JULES
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054075
qwen/qwen3.7-plus
awkweave-0054076
From column 1, print 3 characters starting at character 2.
{print substr($1,2,3)}
indigo 22 cobalt 79 grove 88 indigo 48 birch 8 birch 34 cobalt 2 juniper 73 ember 41 harbor 65
ndi oba rov ndi irc irc oba uni mbe arb
harbor 96 indigo 83 cobalt 38 birch 92 birch 119 fable 15
arb ndi oba irc irc abl
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054076-p1
Extract and print a substring of length 3 from the first column, starting at the second character.
{print substr($1,2,3)}
indigo 22 cobalt 79 grove 88 indigo 48 birch 8 birch 34 cobalt 2 juniper 73 ember 41 harbor 65
ndi oba rov ndi irc irc oba uni mbe arb
harbor 96 indigo 83 cobalt 38 birch 92 birch 119 fable 15
arb ndi oba irc irc abl
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054076
qwen/qwen3.7-plus
awkweave-0054077
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_grove 11 cobalt_juniper 80 grove_ember 37 indigo_indigo 27 birch_harbor 17 ember_indigo 97 fable_indigo 35 harbor_harbor 66 amber_juniper 7 birch_ember 26
grove grove cobalt juniper grove ember indigo indigo birch harbor ember indigo fable indigo harbor harbor amber juniper birch ember
juniper_birch 52 ember_ember 4 birch_fable 65 delta_ember 96 amber_grove 82 harbor_harbor 94 indigo_grove 102 delta_grove 85 harbor_juniper 57
juniper birch ember ember birch fable delta ember amber grove harbor harbor indigo grove delta grove harbor juniper
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054077-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
grove_grove 11 cobalt_juniper 80 grove_ember 37 indigo_indigo 27 birch_harbor 17 ember_indigo 97 fable_indigo 35 harbor_harbor 66 amber_juniper 7 birch_ember 26
grove grove cobalt juniper grove ember indigo indigo birch harbor ember indigo fable indigo harbor harbor amber juniper birch ember
juniper_birch 52 ember_ember 4 birch_fable 65 delta_ember 96 amber_grove 82 harbor_harbor 94 indigo_grove 102 delta_grove 85 harbor_juniper 57
juniper birch ember ember birch fable delta ember amber grove harbor harbor indigo grove delta grove harbor juniper
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054077
qwen/qwen3.7-plus
awkweave-0054078
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)}
hana ember 62 failed farah indigo 78 failed dina harbor 10 pending farah fable 47 paused chen amber 24 closed alice delta 73 failed chen juniper 57 failed jules fable 3 closed bruno ember 40 failed
failed 62 ember hana failed 78 indigo farah pending 10 harbor dina paused 47 fable farah closed 24 amber chen failed 73 delta alice failed 57 juniper chen closed 3 fable jules failed 40 ember bruno
gus amber 115 closed alice harbor 63 pending bruno fable 88 failed hana indigo 39 ready jules birch 107 active gus juniper 100 pending ivan juniper 38 pending ivan fable 115 ready chen ember 11 pending hana harbor 90 failed
closed 115 amber gus pending 63 harbor alice failed 88 fable bruno ready 39 indigo hana active 107 birch jules pending 100 juniper gus pending 38 juniper ivan ready 115 fable ivan pending 11 ember chen failed 90 harbor hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054078-p1
Reverse the sequence of fields for each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
hana ember 62 failed farah indigo 78 failed dina harbor 10 pending farah fable 47 paused chen amber 24 closed alice delta 73 failed chen juniper 57 failed jules fable 3 closed bruno ember 40 failed
failed 62 ember hana failed 78 indigo farah pending 10 harbor dina paused 47 fable farah closed 24 amber chen failed 73 delta alice failed 57 juniper chen closed 3 fable jules failed 40 ember bruno
gus amber 115 closed alice harbor 63 pending bruno fable 88 failed hana indigo 39 ready jules birch 107 active gus juniper 100 pending ivan juniper 38 pending ivan fable 115 ready chen ember 11 pending hana harbor 90 failed
closed 115 amber gus pending 63 harbor alice failed 88 fable bruno ready 39 indigo hana active 107 birch jules pending 100 juniper gus pending 38 juniper ivan ready 115 fable ivan pending 11 ember chen failed 90 harbor hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054078
qwen/qwen3.7-plus
awkweave-0054079
Print the number of whitespace-separated fields on each line.
{print NF}
farah indigo 43 pending farah harbor 11 failed kim grove 117 active lina amber 113 ready jules ember 111 ready ivan grove 1 ready lina juniper 10 paused
4 4 4 4 4 4 4
eli harbor 111 pending bruno indigo 53 active eli grove 40 closed dina indigo 88 pending chen amber 54 pending eli indigo 63 pending kim cobalt 102 paused jules cobalt 4 failed lina birch 29 active chen delta 42 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054079-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
farah indigo 43 pending farah harbor 11 failed kim grove 117 active lina amber 113 ready jules ember 111 ready ivan grove 1 ready lina juniper 10 paused
4 4 4 4 4 4 4
eli harbor 111 pending bruno indigo 53 active eli grove 40 closed dina indigo 88 pending chen amber 54 pending eli indigo 63 pending kim cobalt 102 paused jules cobalt 4 failed lina birch 29 active chen delta 42 closed
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054079
qwen/qwen3.7-plus
awkweave-0054080
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]]}
kim gamma 103 gus gamma 36 ivan alpha 82 eli delta 59 ivan alpha 72 bruno beta 27
gamma 2 alpha 2 delta 1 beta 1
lina alpha 36 farah gamma 34 ivan alpha 67 jules alpha 89 farah delta 112 kim beta 57
alpha 3 gamma 1 delta 1 beta 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054080-p1
Tally the records for each unique value in the second column. Print each value alongside its count, maintaining the 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]]}
kim gamma 103 gus gamma 36 ivan alpha 82 eli delta 59 ivan alpha 72 bruno beta 27
gamma 2 alpha 2 delta 1 beta 1
lina alpha 36 farah gamma 34 ivan alpha 67 jules alpha 89 farah delta 112 kim beta 57
alpha 3 gamma 1 delta 1 beta 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054080
qwen/qwen3.7-plus
awkweave-0054081
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]]}
gus delta 12 chen alpha 29 lina delta 18 dina alpha 4 lina alpha 7 farah alpha 14 dina gamma 24 dina alpha 11
delta 30 alpha 65 gamma 24
kim beta 10 ivan beta 11 gus delta 1 farah alpha 13 farah beta 23 kim alpha 7
beta 44 delta 1 alpha 20
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054081-p1
Calculate the sum of the third column for each distinct category in the second column, printing the groups in the order they 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]]}
gus delta 12 chen alpha 29 lina delta 18 dina alpha 4 lina alpha 7 farah alpha 14 dina gamma 24 dina alpha 11
delta 30 alpha 65 gamma 24
kim beta 10 ivan beta 11 gus delta 1 farah alpha 13 farah beta 23 kim alpha 7
beta 44 delta 1 alpha 20
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054081
qwen/qwen3.7-plus
awkweave-0054082
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 cobalt 105 beta cobalt 11 gamma harbor 116 gamma amber 80 alpha ember 20 delta cobalt 112 alpha ember 77 alpha grove 57 alpha amber 67
delta 2 gamma 2 alpha 4
gamma birch 15 alpha amber 57 gamma harbor 10 delta harbor 77 alpha grove 44 gamma delta 113 gamma grove 109 delta cobalt 47
gamma 4 alpha 2 delta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054082-p1
List each duplicate value from the first column along with its 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]]}
delta cobalt 105 beta cobalt 11 gamma harbor 116 gamma amber 80 alpha ember 20 delta cobalt 112 alpha ember 77 alpha grove 57 alpha amber 67
delta 2 gamma 2 alpha 4
gamma birch 15 alpha amber 57 gamma harbor 10 delta harbor 77 alpha grove 44 gamma delta 113 gamma grove 109 delta cobalt 47
gamma 4 alpha 2 delta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054082
qwen/qwen3.7-plus
awkweave-0054083
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region score note display_name r001 chen 10 paused r002 kim 8 closed r003 jules 27 failed r004 farah 10 ready r005 alice 11 failed r006 jules 26 failed r007 lina 14 ready r008 ivan 19 active
10 8 27 10 11 26 14 19
region score note display_name r001 farah 10 failed r002 kim 7 pending r003 bruno 28 active r004 eli 8 ready r005 alice 21 ready r006 ivan 25 paused r007 lina 27 active r008 bruno 18 failed
10 7 28 8 21 25 27 18
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054083-p1
Skip the header row and print the contents of the note column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region score note display_name r001 chen 10 paused r002 kim 8 closed r003 jules 27 failed r004 farah 10 ready r005 alice 11 failed r006 jules 26 failed r007 lina 14 ready r008 ivan 19 active
10 8 27 10 11 26 14 19
region score note display_name r001 farah 10 failed r002 kim 7 pending r003 bruno 28 active r004 eli 8 ready r005 alice 21 ready r006 ivan 25 paused r007 lina 27 active r008 bruno 18 failed
10 7 28 8 21 25 27 18
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054083
qwen/qwen3.7-plus
awkweave-0054084
The first row is a header. Print display_name for data rows whose score is greater than 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 lina 28 paused r002 ivan 20 closed r003 farah 17 paused r004 chen 2 closed r005 bruno 9 ready r006 hana 21 closed r007 lina 16 paused
lina
record_id display_name score state r001 dina 29 active r002 ivan 16 failed r003 eli 5 pending r004 alice 5 active r005 farah 19 pending r006 kim 30 active r007 bruno 14 pending r008 bruno 5 pending
dina kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054084-p1
Treat the first line as a header. Output the display_name field for all data rows where the score exceeds 23.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>23{print $h["display_name"]}
record_id display_name score state r001 lina 28 paused r002 ivan 20 closed r003 farah 17 paused r004 chen 2 closed r005 bruno 9 ready r006 hana 21 closed r007 lina 16 paused
lina
record_id display_name score state r001 dina 29 active r002 ivan 16 failed r003 eli 5 pending r004 alice 5 active r005 farah 19 pending r006 kim 30 active r007 bruno 14 pending r008 bruno 5 pending
dina kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054084
qwen/qwen3.7-plus
awkweave-0054085
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
jules 15 ready eli 21 pending lina 13 active farah 29 ready jules 19 active bruno 3 failed ivan 10 active
jules eli lina farah jules bruno ivan
jules 6 pending dina 4 pending eli 7 ready gus 11 pending chen 9 pending kim 17 failed gus 29 failed hana 30 closed bruno 1 failed eli 17 closed
jules dina eli gus chen kim gus hana bruno eli
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054085-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
jules 15 ready eli 21 pending lina 13 active farah 29 ready jules 19 active bruno 3 failed ivan 10 active
jules eli lina farah jules bruno ivan
jules 6 pending dina 4 pending eli 7 ready gus 11 pending chen 9 pending kim 17 failed gus 29 failed hana 30 closed bruno 1 failed eli 17 closed
jules dina eli gus chen kim gus hana bruno eli
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0054085
qwen/qwen3.7-plus
awkweave-0054086
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
alice,12,closed ivan,23,pending dina,29,active eli,2,ready dina,8,active gus,25,pending eli,17,pending chen,4,pending farah,25,ready chen,4,pending
ivan dina gus eli farah
hana,28,ready alice,1,failed hana,18,active kim,1,failed dina,3,paused jules,1,pending eli,23,closed
hana hana eli
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054086-p1
For simple CSV input without quoted commas, print the first column if the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
alice,12,closed ivan,23,pending dina,29,active eli,2,ready dina,8,active gus,25,pending eli,17,pending chen,4,pending farah,25,ready chen,4,pending
ivan dina gus eli farah
hana,28,ready alice,1,failed hana,18,active kim,1,failed dina,3,paused jules,1,pending eli,23,closed
hana hana eli
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054086
qwen/qwen3.7-plus
awkweave-0054087
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
chen delta 12 farah birch 71 kim harbor 3 bruno ember 0 dina indigo 64 farah birch 29 bruno harbor 59 farah birch 22 hana ember 113 alice amber 40
chen delta 12 farah birch 71 kim harbor 3 bruno ember 0 dina indigo 64 farah birch 29 bruno harbor 59 farah birch 22 hana ember 113 alice amber 40
lina grove 7 jules grove 105 ivan birch 91 bruno fable 113 gus grove 10 hana delta 18 chen cobalt 88
lina grove 7 jules grove 105 ivan birch 91 bruno fable 113 gus grove 10 hana delta 18 chen cobalt 88
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054087-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
chen delta 12 farah birch 71 kim harbor 3 bruno ember 0 dina indigo 64 farah birch 29 bruno harbor 59 farah birch 22 hana ember 113 alice amber 40
chen delta 12 farah birch 71 kim harbor 3 bruno ember 0 dina indigo 64 farah birch 29 bruno harbor 59 farah birch 22 hana ember 113 alice amber 40
lina grove 7 jules grove 105 ivan birch 91 bruno fable 113 gus grove 10 hana delta 18 chen cobalt 88
lina grove 7 jules grove 105 ivan birch 91 bruno fable 113 gus grove 10 hana delta 18 chen cobalt 88
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054087
qwen/qwen3.7-plus
awkweave-0054088
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
lina indigo 78 pending chen indigo 105 closed bruno fable 119 pending eli indigo 74 closed ivan delta 9 ready kim delta 24 failed
bruno fable 119 pending
dina indigo 15 failed dina harbor 94 pending eli amber 111 failed bruno fable 32 ready ivan amber 94 failed ivan amber 98 pending lina fable 34 ready bruno grove 74 active chen cobalt 40 failed
dina harbor 94 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054088-p1
Identify and print the longest line from the input; in case of a tie, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
lina indigo 78 pending chen indigo 105 closed bruno fable 119 pending eli indigo 74 closed ivan delta 9 ready kim delta 24 failed
bruno fable 119 pending
dina indigo 15 failed dina harbor 94 pending eli amber 111 failed bruno fable 32 ready ivan amber 94 failed ivan amber 98 pending lina fable 34 ready bruno grove 74 active chen cobalt 40 failed
dina harbor 94 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054088
qwen/qwen3.7-plus
awkweave-0054089
Print every 2nd line starting at line 1 (then line 3, and so on).
NR%2==1
dina 99 hana 106 gus 56 alice 120 farah 29 farah 117 jules 118 hana 40 gus 47
dina 99 gus 56 farah 29 jules 118 gus 47
lina 116 gus 87 dina 22 chen 32 dina 112 chen 70 kim 101
lina 116 dina 22 dina 112 kim 101
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054089-p1
Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.).
NR%2==1
dina 99 hana 106 gus 56 alice 120 farah 29 farah 117 jules 118 hana 40 gus 47
dina 99 gus 56 farah 29 jules 118 gus 47
lina 116 gus 87 dina 22 chen 32 dina 112 chen 70 kim 101
lina 116 dina 22 dina 112 kim 101
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054089
qwen/qwen3.7-plus
awkweave-0054100
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
lina cobalt 68 lina harbor 74 kim harbor 95 eli grove 52 ivan fable 94 gus grove 57 dina cobalt 21 chen indigo 82 bruno delta 48
kim harbor 95 eli grove 52 ivan fable 94 gus grove 57
lina fable 86 ivan harbor 84 farah harbor 36 gus grove 47 farah cobalt 33 hana indigo 79 alice indigo 4 dina birch 20
farah harbor 36 gus grove 47 farah cobalt 33 hana indigo 79
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054100-p1
Print lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
lina cobalt 68 lina harbor 74 kim harbor 95 eli grove 52 ivan fable 94 gus grove 57 dina cobalt 21 chen indigo 82 bruno delta 48
kim harbor 95 eli grove 52 ivan fable 94 gus grove 57
lina fable 86 ivan harbor 84 farah harbor 36 gus grove 47 farah cobalt 33 hana indigo 79 alice indigo 4 dina birch 20
farah harbor 36 gus grove 47 farah cobalt 33 hana indigo 79
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054100
qwen/qwen3.7-plus
awkweave-0054101
Output only the first 4 records.
NR <= 4
ivan 51 ember alice 4 fable jules 51 delta kim 85 indigo dina 18 grove dina 11 amber chen 110 birch alice 88 fable
ivan 51 ember alice 4 fable jules 51 delta kim 85 indigo
kim 23 grove alice 82 birch farah 15 indigo jules 38 birch alice 63 ember farah 34 birch bruno 120 ember bruno 10 birch
kim 23 grove alice 82 birch farah 15 indigo jules 38 birch
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054101-p1
Output only the first 4 records.
NR <= 4
ivan 51 ember alice 4 fable jules 51 delta kim 85 indigo dina 18 grove dina 11 amber chen 110 birch alice 88 fable
ivan 51 ember alice 4 fable jules 51 delta kim 85 indigo
kim 23 grove alice 82 birch farah 15 indigo jules 38 birch alice 63 ember farah 34 birch bruno 120 ember bruno 10 birch
kim 23 grove alice 82 birch farah 15 indigo jules 38 birch
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0054101
qwen/qwen3.7-plus
awkweave-0054102
Skip the first line and print every remaining line unchanged.
NR > 1
jules 100 delta kim 98 fable gus 46 ember eli 71 cobalt alice 0 cobalt bruno 93 ember bruno 74 amber alice 53 amber
kim 98 fable gus 46 ember eli 71 cobalt alice 0 cobalt bruno 93 ember bruno 74 amber alice 53 amber
gus 1 fable lina 95 amber eli 85 birch eli 78 fable hana 21 delta lina 101 indigo jules 80 indigo lina 102 fable ivan 17 indigo kim 89 birch
lina 95 amber eli 85 birch eli 78 fable hana 21 delta lina 101 indigo jules 80 indigo lina 102 fable ivan 17 indigo kim 89 birch
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054102-p1
Ignore the first line and print all subsequent lines exactly as they appear.
NR > 1
jules 100 delta kim 98 fable gus 46 ember eli 71 cobalt alice 0 cobalt bruno 93 ember bruno 74 amber alice 53 amber
kim 98 fable gus 46 ember eli 71 cobalt alice 0 cobalt bruno 93 ember bruno 74 amber alice 53 amber
gus 1 fable lina 95 amber eli 85 birch eli 78 fable hana 21 delta lina 101 indigo jules 80 indigo lina 102 fable ivan 17 indigo kim 89 birch
lina 95 amber eli 85 birch eli 78 fable hana 21 delta lina 101 indigo jules 80 indigo lina 102 fable ivan 17 indigo kim 89 birch
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054102
qwen/qwen3.7-plus
awkweave-0054103
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
bruno active 11 lina failed 27 ivan pending 51 hana pending 69 hana failed 4 kim ready 68
0
farah pending 94 hana pending 28 ivan active 40 farah ready 28 jules failed 21 farah ready 44 gus closed 56 farah paused 39 kim ready 23
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054103-p1
Count the number of records where column 2 contains 'paused'. Output 0 if no such records exist.
$2 == "paused"{n++}END{print n+0}
bruno active 11 lina failed 27 ivan pending 51 hana pending 69 hana failed 4 kim ready 68
0
farah pending 94 hana pending 28 ivan active 40 farah ready 28 jules failed 21 farah ready 44 gus closed 56 farah paused 39 kim ready 23
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054103
qwen/qwen3.7-plus
awkweave-0054104
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
juniper 12 chen delta 19 gus juniper 13 hana harbor 26 hana delta 7 jules cobalt 25 gus birch 30 dina
132
harbor 7 hana amber 8 ivan juniper 30 dina indigo 25 dina birch 9 farah amber 10 hana amber 20 chen amber 22 dina delta 19 lina
150
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054104-p1
Compute and print the sum of all integer values in column 2.
{s+=$2}END{print s+0}
juniper 12 chen delta 19 gus juniper 13 hana harbor 26 hana delta 7 jules cobalt 25 gus birch 30 dina
132
harbor 7 hana amber 8 ivan juniper 30 dina indigo 25 dina birch 9 farah amber 10 hana amber 20 chen amber 22 dina delta 19 lina
150
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054104
qwen/qwen3.7-plus
awkweave-0054105
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 26 lina indigo 14 kim juniper 12 hana amber 10 kim fable 26 ivan fable 15 bruno juniper 23 hana cobalt 21 ivan
18.38
fable 19 lina amber 19 dina juniper 13 jules harbor 12 kim indigo 30 lina delta 28 eli amber 12 bruno
19.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054105-p1
Calculate the arithmetic mean of column 2 and print it rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
harbor 26 lina indigo 14 kim juniper 12 hana amber 10 kim fable 26 ivan fable 15 bruno juniper 23 hana cobalt 21 ivan
18.38
fable 19 lina amber 19 dina juniper 13 jules harbor 12 kim indigo 30 lina delta 28 eli amber 12 bruno
19.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054105
qwen/qwen3.7-plus
awkweave-0054106
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 eli harbor 25 dina delta 22 bruno ember 5 gus juniper 15 jules delta 9 kim indigo
5
24 kim delta 25 alice delta 15 dina birch 9 gus cobalt 24 dina ember 15 dina indigo 18 gus juniper
9
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054106-p1
Output the minimum number found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
5 eli harbor 25 dina delta 22 bruno ember 5 gus juniper 15 jules delta 9 kim indigo
5
24 kim delta 25 alice delta 15 dina birch 9 gus cobalt 24 dina ember 15 dina indigo 18 gus juniper
9
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054106
qwen/qwen3.7-plus
awkweave-0054107
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
cobalt bruno 30 fable kim 30 birch jules 26 grove gus 3 grove hana 16 harbor bruno 10 amber dina 4 amber farah 13 grove chen 8
30
indigo chen 22 birch lina 6 fable kim 5 birch farah 23 birch lina 29 juniper jules 20
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054107-p1
Identify and display the maximum numeric value located in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
cobalt bruno 30 fable kim 30 birch jules 26 grove gus 3 grove hana 16 harbor bruno 10 amber dina 4 amber farah 13 grove chen 8
30
indigo chen 22 birch lina 6 fable kim 5 birch farah 23 birch lina 29 juniper jules 20
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054107
qwen/qwen3.7-plus
awkweave-0054108
Count all input records and print the total.
END{print NR}
dina 94 dina 11 lina 7 eli 67 chen 59 chen 109 ivan 65
7
alice 31 kim 91 bruno 84 jules 4 kim 36 lina 97
6
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054108-p1
Calculate the total number of input records and print the count.
END{print NR}
dina 94 dina 11 lina 7 eli 67 chen 59 chen 109 ivan 65
7
alice 31 kim 91 bruno 84 jules 4 kim 36 lina 97
6
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054108
qwen/qwen3.7-plus
awkweave-0054109
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen juniper 73 chen juniper 28 dina juniper 37 alice grove 14 chen juniper 28 dina cobalt 44 kim delta 61 gus harbor 37 chen harbor 80 eli fable 51
chen juniper 73 chen juniper 28 dina juniper 37 alice grove 14 dina cobalt 44 kim delta 61 gus harbor 37 chen harbor 80 eli fable 51
jules harbor 65 farah fable 16 farah grove 21 jules harbor 65 lina fable 19 dina cobalt 61 bruno juniper 111 jules birch 108 bruno amber 53 hana ember 71
jules harbor 65 farah fable 16 farah grove 21 lina fable 19 dina cobalt 61 bruno juniper 111 jules birch 108 bruno amber 53 hana ember 71
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054109-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
chen juniper 73 chen juniper 28 dina juniper 37 alice grove 14 chen juniper 28 dina cobalt 44 kim delta 61 gus harbor 37 chen harbor 80 eli fable 51
chen juniper 73 chen juniper 28 dina juniper 37 alice grove 14 dina cobalt 44 kim delta 61 gus harbor 37 chen harbor 80 eli fable 51
jules harbor 65 farah fable 16 farah grove 21 jules harbor 65 lina fable 19 dina cobalt 61 bruno juniper 111 jules birch 108 bruno amber 53 hana ember 71
jules harbor 65 farah fable 16 farah grove 21 lina fable 19 dina cobalt 61 bruno juniper 111 jules birch 108 bruno amber 53 hana ember 71
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054109
qwen/qwen3.7-plus
awkweave-0054110
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
jules ember 9 alice fable 9 ivan indigo 19 jules fable 55 kim cobalt 33 kim birch 87 hana fable 85
jules ember 9 ivan indigo 19 jules fable 55 kim cobalt 33 kim birch 87 hana fable 85
bruno indigo 72 farah birch 118 kim grove 13 ivan fable 83 lina birch 15 dina cobalt 35
bruno indigo 72 farah birch 118 kim grove 13 ivan fable 83 lina birch 15 dina cobalt 35
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054110-p1
Retain only the initial line for every unique value in the third column, keeping the original order.
!seen[$3]++
jules ember 9 alice fable 9 ivan indigo 19 jules fable 55 kim cobalt 33 kim birch 87 hana fable 85
jules ember 9 ivan indigo 19 jules fable 55 kim cobalt 33 kim birch 87 hana fable 85
bruno indigo 72 farah birch 118 kim grove 13 ivan fable 83 lina birch 15 dina cobalt 35
bruno indigo 72 farah birch 118 kim grove 13 ivan fable 83 lina birch 15 dina cobalt 35
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054110
qwen/qwen3.7-plus
awkweave-0054111
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 12 fable jules 4 harbor dina 10 amber gus 9 cobalt kim 25 harbor lina 19 ember farah 1 juniper
farah 12 jules 16 dina 26 gus 35 kim 60 lina 79 farah 80
gus 12 fable chen 10 delta lina 8 birch kim 1 fable chen 21 amber lina 13 delta ivan 27 juniper
gus 12 chen 22 lina 30 kim 31 chen 52 lina 65 ivan 92
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054111-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
farah 12 fable jules 4 harbor dina 10 amber gus 9 cobalt kim 25 harbor lina 19 ember farah 1 juniper
farah 12 jules 16 dina 26 gus 35 kim 60 lina 79 farah 80
gus 12 fable chen 10 delta lina 8 birch kim 1 fable chen 21 amber lina 13 delta ivan 27 juniper
gus 12 chen 22 lina 30 kim 31 chen 52 lina 65 ivan 92
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054111
qwen/qwen3.7-plus
awkweave-0054112
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 16 27 ember alice 5 27 cobalt dina 28 3 indigo eli 6 1 cobalt hana 1 22 juniper ivan 13 7 amber kim 5 4 birch dina 6 27 delta chen 27 29 cobalt
jules 43 alice 32 dina 31 eli 7 hana 23 ivan 20 kim 9 dina 33 chen 56
bruno 18 17 cobalt hana 29 27 amber dina 11 13 grove eli 4 24 cobalt bruno 12 10 cobalt farah 15 30 grove alice 23 12 indigo farah 28 9 ember lina 23 24 fable
bruno 35 hana 56 dina 24 eli 28 bruno 22 farah 45 alice 35 farah 37 lina 47
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0054112-p1
Print the first field followed by the sum of the second and third fields for each row.
{print $1,$2+$3}
jules 16 27 ember alice 5 27 cobalt dina 28 3 indigo eli 6 1 cobalt hana 1 22 juniper ivan 13 7 amber kim 5 4 birch dina 6 27 delta chen 27 29 cobalt
jules 43 alice 32 dina 31 eli 7 hana 23 ivan 20 kim 9 dina 33 chen 56
bruno 18 17 cobalt hana 29 27 amber dina 11 13 grove eli 4 24 cobalt bruno 12 10 cobalt farah 15 30 grove alice 23 12 indigo farah 28 9 ember lina 23 24 fable
bruno 35 hana 56 dina 24 eli 28 bruno 22 farah 45 alice 35 farah 37 lina 47
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0054112
qwen/qwen3.7-plus