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-0041501-p1
Print all fields from any line where the second field starts with the prefix 'ERROR'.
$2 ~ /^ERROR/
57 WARN grove 120 WARN birch 2 WARN fable 81 DEBUG grove 38 WARN birch 29 ERROR harbor 89 ERROR fable 97 WARN indigo
29 ERROR harbor 89 ERROR fable
46 INFO amber 11 WARN birch 20 ERROR grove 14 INFO birch 80 DEBUG amber 21 DEBUG harbor 67 DEBUG grove
20 ERROR grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041501
qwen/qwen3.7-plus
awkweave-0041502
Print every line except those containing the exact text delta.
$0 !~ /delta/
ember 17 pending indigo 96 ready delta 8 ready cobalt 81 ready harbor 13 closed harbor 93 closed delta 999 active
ember 17 pending indigo 96 ready cobalt 81 ready harbor 13 closed harbor 93 closed
juniper 117 active juniper 16 closed indigo 39 closed indigo 28 closed indigo 7 failed amber 120 failed birch 87 paused delta 999 active
juniper 117 active juniper 16 closed indigo 39 closed indigo 28 closed indigo 7 failed amber 120 failed birch 87 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041502-p1
Output every line from the input except for those that contain the exact substring 'delta'.
$0 !~ /delta/
ember 17 pending indigo 96 ready delta 8 ready cobalt 81 ready harbor 13 closed harbor 93 closed delta 999 active
ember 17 pending indigo 96 ready cobalt 81 ready harbor 13 closed harbor 93 closed
juniper 117 active juniper 16 closed indigo 39 closed indigo 28 closed indigo 7 failed amber 120 failed birch 87 paused delta 999 active
juniper 117 active juniper 16 closed indigo 39 closed indigo 28 closed indigo 7 failed amber 120 failed birch 87 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041502
qwen/qwen3.7-plus
awkweave-0041503
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
farah delta 53 dina ember 104 ivan fable 22 gus indigo 75 jules amber 1 ivan amber 7 dina ember 87
dina ember 104 ivan fable 22 gus indigo 75 jules amber 1
gus harbor 34 lina amber 29 alice juniper 116 chen amber 34 dina fable 70 farah juniper 26 lina cobalt 46 dina fable 28 bruno juniper 14
lina amber 29 alice juniper 116 chen amber 34 dina fable 70
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041503-p1
Extract and print lines 2 through 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
farah delta 53 dina ember 104 ivan fable 22 gus indigo 75 jules amber 1 ivan amber 7 dina ember 87
dina ember 104 ivan fable 22 gus indigo 75 jules amber 1
gus harbor 34 lina amber 29 alice juniper 116 chen amber 34 dina fable 70 farah juniper 26 lina cobalt 46 dina fable 28 bruno juniper 14
lina amber 29 alice juniper 116 chen amber 34 dina fable 70
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041503
qwen/qwen3.7-plus
awkweave-0041504
Output only the first 4 records.
NR <= 4
dina 77 ember eli 49 ember hana 21 ember kim 41 amber eli 112 birch alice 67 fable bruno 67 cobalt kim 62 indigo ivan 21 fable jules 61 harbor
dina 77 ember eli 49 ember hana 21 ember kim 41 amber
alice 117 harbor alice 23 birch dina 105 grove hana 119 amber farah 23 cobalt kim 48 juniper chen 38 grove alice 37 grove alice 83 cobalt bruno 31 grove
alice 117 harbor alice 23 birch dina 105 grove hana 119 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041504-p1
Restrict the output to only the first 4 records from the input.
NR <= 4
dina 77 ember eli 49 ember hana 21 ember kim 41 amber eli 112 birch alice 67 fable bruno 67 cobalt kim 62 indigo ivan 21 fable jules 61 harbor
dina 77 ember eli 49 ember hana 21 ember kim 41 amber
alice 117 harbor alice 23 birch dina 105 grove hana 119 amber farah 23 cobalt kim 48 juniper chen 38 grove alice 37 grove alice 83 cobalt bruno 31 grove
alice 117 harbor alice 23 birch dina 105 grove hana 119 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041504
qwen/qwen3.7-plus
awkweave-0041505
Skip the first line and print every remaining line unchanged.
NR > 1
eli 104 delta chen 36 delta bruno 25 cobalt ivan 9 ember hana 71 cobalt gus 69 juniper bruno 99 indigo ivan 67 ember
chen 36 delta bruno 25 cobalt ivan 9 ember hana 71 cobalt gus 69 juniper bruno 99 indigo ivan 67 ember
alice 64 cobalt eli 36 birch farah 91 cobalt ivan 85 birch bruno 99 ember bruno 10 cobalt kim 47 harbor kim 98 fable farah 37 delta
eli 36 birch farah 91 cobalt ivan 85 birch bruno 99 ember bruno 10 cobalt kim 47 harbor kim 98 fable farah 37 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041505-p1
Ignore the first line of the input and print all remaining lines exactly as they appear.
NR > 1
eli 104 delta chen 36 delta bruno 25 cobalt ivan 9 ember hana 71 cobalt gus 69 juniper bruno 99 indigo ivan 67 ember
chen 36 delta bruno 25 cobalt ivan 9 ember hana 71 cobalt gus 69 juniper bruno 99 indigo ivan 67 ember
alice 64 cobalt eli 36 birch farah 91 cobalt ivan 85 birch bruno 99 ember bruno 10 cobalt kim 47 harbor kim 98 fable farah 37 delta
eli 36 birch farah 91 cobalt ivan 85 birch bruno 99 ember bruno 10 cobalt kim 47 harbor kim 98 fable farah 37 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041505
qwen/qwen3.7-plus
awkweave-0041506
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
kim pending 59 gus closed 57 gus pending 38 bruno closed 105 dina pending 64 dina ready 36 alice pending 13 chen closed 28 farah active 40
1
kim failed 74 ivan pending 18 hana pending 66 gus paused 31 chen ready 15 jules pending 117 alice ready 54 alice failed 75
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041506-p1
Count the occurrences of 'ready' in the second column and output 0 if none are found.
$2 == "ready"{n++}END{print n+0}
kim pending 59 gus closed 57 gus pending 38 bruno closed 105 dina pending 64 dina ready 36 alice pending 13 chen closed 28 farah active 40
1
kim failed 74 ivan pending 18 hana pending 66 gus paused 31 chen ready 15 jules pending 117 alice ready 54 alice failed 75
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041506
qwen/qwen3.7-plus
awkweave-0041507
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
15 ember farah 11 indigo gus 14 amber ivan 22 indigo lina 4 juniper ivan 10 cobalt farah 8 delta gus 10 grove farah 6 amber bruno 17 birch farah
117
11 amber gus 25 birch lina 28 grove lina 14 birch hana 15 delta gus 9 amber lina 25 cobalt hana
127
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041507-p1
Compute and display the total sum of all integer values found in the first column.
{s+=$1}END{print s+0}
15 ember farah 11 indigo gus 14 amber ivan 22 indigo lina 4 juniper ivan 10 cobalt farah 8 delta gus 10 grove farah 6 amber bruno 17 birch farah
117
11 amber gus 25 birch lina 28 grove lina 14 birch hana 15 delta gus 9 amber lina 25 cobalt hana
127
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041507
qwen/qwen3.7-plus
awkweave-0041508
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
grove chen 21 amber eli 26 harbor chen 20 grove gus 27 grove ivan 7 indigo gus 12 fable ivan 12 grove eli 14 fable hana 19
17.56
juniper farah 23 delta farah 29 delta jules 18 amber dina 15 delta hana 19 fable chen 29 fable gus 5 birch lina 12 birch hana 30
20.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041508-p1
Output the average of the values in the third column, formatted to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
grove chen 21 amber eli 26 harbor chen 20 grove gus 27 grove ivan 7 indigo gus 12 fable ivan 12 grove eli 14 fable hana 19
17.56
juniper farah 23 delta farah 29 delta jules 18 amber dina 15 delta hana 19 fable chen 29 fable gus 5 birch lina 12 birch hana 30
20.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041508
qwen/qwen3.7-plus
awkweave-0041509
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 harbor kim 7 cobalt eli 21 harbor kim 22 delta farah 16 grove alice 29 delta hana
7
1 juniper kim 21 harbor eli 9 birch farah 1 harbor farah 29 juniper bruno 19 birch bruno 13 juniper chen 4 grove ivan 28 cobalt alice 29 indigo hana
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041509-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
30 harbor kim 7 cobalt eli 21 harbor kim 22 delta farah 16 grove alice 29 delta hana
7
1 juniper kim 21 harbor eli 9 birch farah 1 harbor farah 29 juniper bruno 19 birch bruno 13 juniper chen 4 grove ivan 28 cobalt alice 29 indigo hana
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041509
qwen/qwen3.7-plus
awkweave-0041510
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
bruno 19 cobalt lina 2 delta kim 7 ember gus 24 grove ivan 22 harbor lina 25 grove
25
ivan 14 ember lina 11 amber alice 13 amber chen 24 fable ivan 23 amber bruno 1 cobalt hana 3 ember farah 27 harbor
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041510-p1
Identify and print the maximum numeric value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
bruno 19 cobalt lina 2 delta kim 7 ember gus 24 grove ivan 22 harbor lina 25 grove
25
ivan 14 ember lina 11 amber alice 13 amber chen 24 fable ivan 23 amber bruno 1 cobalt hana 3 ember farah 27 harbor
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041510
qwen/qwen3.7-plus
awkweave-0041511
Count all input records and print the total.
END{print NR}
dina 120 hana 20 lina 88 bruno 53 farah 114 kim 11 kim 7
7
eli 70 jules 59 dina 95 chen 20 hana 14 kim 69 farah 27 dina 21
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041511-p1
Count the total number of input records and print the result.
END{print NR}
dina 120 hana 20 lina 88 bruno 53 farah 114 kim 11 kim 7
7
eli 70 jules 59 dina 95 chen 20 hana 14 kim 69 farah 27 dina 21
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041511
qwen/qwen3.7-plus
awkweave-0041512
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno grove 74 dina grove 5 jules ember 77 hana amber 80 dina grove 5 eli fable 74 kim cobalt 63 bruno fable 90 ivan cobalt 100 eli cobalt 100 farah harbor 61
bruno grove 74 dina grove 5 jules ember 77 hana amber 80 eli fable 74 kim cobalt 63 bruno fable 90 ivan cobalt 100 eli cobalt 100 farah harbor 61
farah juniper 120 bruno ember 101 kim harbor 74 alice birch 30 farah juniper 120 lina indigo 53 farah amber 118 eli birch 88 bruno delta 77 farah indigo 40
farah juniper 120 bruno ember 101 kim harbor 74 alice birch 30 lina indigo 53 farah amber 118 eli birch 88 bruno delta 77 farah indigo 40
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041512-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
bruno grove 74 dina grove 5 jules ember 77 hana amber 80 dina grove 5 eli fable 74 kim cobalt 63 bruno fable 90 ivan cobalt 100 eli cobalt 100 farah harbor 61
bruno grove 74 dina grove 5 jules ember 77 hana amber 80 eli fable 74 kim cobalt 63 bruno fable 90 ivan cobalt 100 eli cobalt 100 farah harbor 61
farah juniper 120 bruno ember 101 kim harbor 74 alice birch 30 farah juniper 120 lina indigo 53 farah amber 118 eli birch 88 bruno delta 77 farah indigo 40
farah juniper 120 bruno ember 101 kim harbor 74 alice birch 30 lina indigo 53 farah amber 118 eli birch 88 bruno delta 77 farah indigo 40
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041512
qwen/qwen3.7-plus
awkweave-0041513
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
alice birch 81 chen delta 99 dina cobalt 34 hana cobalt 120 jules juniper 90 eli harbor 95 bruno harbor 79 ivan cobalt 108 dina juniper 112 gus indigo 45
alice birch 81 chen delta 99 dina cobalt 34 hana cobalt 120 jules juniper 90 eli harbor 95 bruno harbor 79 ivan cobalt 108 dina juniper 112 gus indigo 45
farah fable 21 kim fable 71 gus birch 100 lina fable 43 lina harbor 65 eli delta 39 dina fable 118 alice cobalt 9
farah fable 21 kim fable 71 gus birch 100 lina fable 43 lina harbor 65 eli delta 39 dina fable 118 alice cobalt 9
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041513-p1
Retain only the first row for every unique value in the third column, preserving the original sequence.
!seen[$3]++
alice birch 81 chen delta 99 dina cobalt 34 hana cobalt 120 jules juniper 90 eli harbor 95 bruno harbor 79 ivan cobalt 108 dina juniper 112 gus indigo 45
alice birch 81 chen delta 99 dina cobalt 34 hana cobalt 120 jules juniper 90 eli harbor 95 bruno harbor 79 ivan cobalt 108 dina juniper 112 gus indigo 45
farah fable 21 kim fable 71 gus birch 100 lina fable 43 lina harbor 65 eli delta 39 dina fable 118 alice cobalt 9
farah fable 21 kim fable 71 gus birch 100 lina fable 43 lina harbor 65 eli delta 39 dina fable 118 alice cobalt 9
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041513
qwen/qwen3.7-plus
awkweave-0041514
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
jules 2 ember chen 10 harbor dina 8 amber alice 26 ember alice 10 cobalt bruno 28 fable farah 13 grove
jules 2 chen 12 dina 20 alice 46 alice 56 bruno 84 farah 97
lina 11 fable kim 10 grove eli 17 juniper bruno 8 grove alice 18 ember bruno 11 grove alice 15 juniper gus 6 fable chen 5 harbor
lina 11 kim 21 eli 38 bruno 46 alice 64 bruno 75 alice 90 gus 96 chen 101
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041514-p1
For each record, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
jules 2 ember chen 10 harbor dina 8 amber alice 26 ember alice 10 cobalt bruno 28 fable farah 13 grove
jules 2 chen 12 dina 20 alice 46 alice 56 bruno 84 farah 97
lina 11 fable kim 10 grove eli 17 juniper bruno 8 grove alice 18 ember bruno 11 grove alice 15 juniper gus 6 fable chen 5 harbor
lina 11 kim 21 eli 38 bruno 46 alice 64 bruno 75 alice 90 gus 96 chen 101
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041514
qwen/qwen3.7-plus
awkweave-0041515
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 6 6 grove jules 15 22 juniper ivan 16 25 fable dina 3 14 indigo alice 25 9 ember alice 28 24 fable farah 30 24 cobalt bruno 11 19 amber dina 11 30 juniper
jules 12 jules 37 ivan 41 dina 17 alice 34 alice 52 farah 54 bruno 30 dina 41
chen 5 5 juniper kim 7 27 juniper chen 22 24 harbor bruno 11 3 amber eli 11 4 birch ivan 3 10 delta alice 16 30 harbor farah 9 18 delta dina 17 18 birch eli 30 29 indigo
chen 10 kim 34 chen 46 bruno 14 eli 15 ivan 13 alice 46 farah 27 dina 35 eli 59
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041515-p1
For each row, print the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 6 6 grove jules 15 22 juniper ivan 16 25 fable dina 3 14 indigo alice 25 9 ember alice 28 24 fable farah 30 24 cobalt bruno 11 19 amber dina 11 30 juniper
jules 12 jules 37 ivan 41 dina 17 alice 34 alice 52 farah 54 bruno 30 dina 41
chen 5 5 juniper kim 7 27 juniper chen 22 24 harbor bruno 11 3 amber eli 11 4 birch ivan 3 10 delta alice 16 30 harbor farah 9 18 delta dina 17 18 birch eli 30 29 indigo
chen 10 kim 34 chen 46 bruno 14 eli 15 ivan 13 alice 46 farah 27 dina 35 eli 59
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041515
qwen/qwen3.7-plus
awkweave-0041516
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
chen 10 dina 8 farah 8 gus 30 gus 24 ivan 30
chen fail dina fail farah fail gus pass gus pass ivan pass
lina 4 lina 16 ivan 29 kim 28 bruno 14 dina 2 hana 26
lina fail lina fail ivan pass kim pass bruno fail dina fail hana pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041516-p1
Print the first column along with 'pass' if the second column is 22 or greater; otherwise, print 'fail'.
{print $1,($2>=22?"pass":"fail")}
chen 10 dina 8 farah 8 gus 30 gus 24 ivan 30
chen fail dina fail farah fail gus pass gus pass ivan pass
lina 4 lina 16 ivan 29 kim 28 bruno 14 dina 2 hana 26
lina fail lina fail ivan pass kim pass bruno fail dina fail hana pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041516
qwen/qwen3.7-plus
awkweave-0041517
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
kim cobalt 9 bruno fable 14 eli harbor 89 alice ember 89 chen fable 67 farah cobalt 25 dina birch 44 gus ember 11 jules fable 74 kim indigo 8
COBALT FABLE HARBOR EMBER FABLE COBALT BIRCH EMBER FABLE INDIGO
dina grove 15 hana ember 80 dina fable 15 hana fable 92 eli birch 41 alice fable 15 alice indigo 32 kim indigo 119 eli indigo 106 lina indigo 60
GROVE EMBER FABLE FABLE BIRCH FABLE INDIGO INDIGO INDIGO INDIGO
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041517-p1
Transform the second column to uppercase and output only that modified column.
{print toupper($2)}
kim cobalt 9 bruno fable 14 eli harbor 89 alice ember 89 chen fable 67 farah cobalt 25 dina birch 44 gus ember 11 jules fable 74 kim indigo 8
COBALT FABLE HARBOR EMBER FABLE COBALT BIRCH EMBER FABLE INDIGO
dina grove 15 hana ember 80 dina fable 15 hana fable 92 eli birch 41 alice fable 15 alice indigo 32 kim indigo 119 eli indigo 106 lina indigo 60
GROVE EMBER FABLE FABLE BIRCH FABLE INDIGO INDIGO INDIGO INDIGO
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041517
qwen/qwen3.7-plus
awkweave-0041518
From column 1, print 3 characters starting at character 3.
{print substr($1,3,3)}
ember 48 delta 60 amber 97 harbor 87 amber 70 ember 68 cobalt 4 delta 19 grove 13 juniper 17
ber lta ber rbo ber ber bal lta ove nip
delta 36 indigo 65 fable 114 indigo 64 ember 55 grove 113 delta 10 cobalt 3 delta 91 juniper 75
lta dig ble dig ber ove lta bal lta nip
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041518-p1
Extract a 3-character substring from the first column, beginning at the third character.
{print substr($1,3,3)}
ember 48 delta 60 amber 97 harbor 87 amber 70 ember 68 cobalt 4 delta 19 grove 13 juniper 17
ber lta ber rbo ber ber bal lta ove nip
delta 36 indigo 65 fable 114 indigo 64 ember 55 grove 113 delta 10 cobalt 3 delta 91 juniper 75
lta dig ble dig ber ove lta bal lta nip
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041518
qwen/qwen3.7-plus
awkweave-0041519
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_juniper 3 harbor_birch 78 grove_amber 14 ember_juniper 31 indigo_amber 103 amber_indigo 82 amber_juniper 64
delta juniper harbor birch grove amber ember juniper indigo amber amber indigo amber juniper
grove_ember 94 grove_fable 80 amber_ember 87 fable_fable 25 grove_grove 101 indigo_birch 109 juniper_cobalt 71
grove ember grove fable amber ember fable fable grove grove indigo birch juniper cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041519-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_juniper 3 harbor_birch 78 grove_amber 14 ember_juniper 31 indigo_amber 103 amber_indigo 82 amber_juniper 64
delta juniper harbor birch grove amber ember juniper indigo amber amber indigo amber juniper
grove_ember 94 grove_fable 80 amber_ember 87 fable_fable 25 grove_grove 101 indigo_birch 109 juniper_cobalt 71
grove ember grove fable amber ember fable fable grove grove indigo birch juniper cobalt
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041519
qwen/qwen3.7-plus
awkweave-0041520
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)}
bruno indigo 38 closed ivan fable 102 closed farah delta 109 pending eli grove 39 ready jules harbor 63 ready jules juniper 111 ready
closed 38 indigo bruno closed 102 fable ivan pending 109 delta farah ready 39 grove eli ready 63 harbor jules ready 111 juniper jules
eli juniper 65 active lina ember 58 failed kim harbor 75 pending eli grove 10 closed dina indigo 71 failed ivan birch 42 active ivan grove 96 closed kim delta 45 ready alice harbor 4 active
active 65 juniper eli failed 58 ember lina pending 75 harbor kim closed 10 grove eli failed 71 indigo dina active 42 birch ivan closed 96 grove ivan ready 45 delta kim active 4 harbor alice
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041520-p1
Reverse the sequence of fields on each line and display every field.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
bruno indigo 38 closed ivan fable 102 closed farah delta 109 pending eli grove 39 ready jules harbor 63 ready jules juniper 111 ready
closed 38 indigo bruno closed 102 fable ivan pending 109 delta farah ready 39 grove eli ready 63 harbor jules ready 111 juniper jules
eli juniper 65 active lina ember 58 failed kim harbor 75 pending eli grove 10 closed dina indigo 71 failed ivan birch 42 active ivan grove 96 closed kim delta 45 ready alice harbor 4 active
active 65 juniper eli failed 58 ember lina pending 75 harbor kim closed 10 grove eli failed 71 indigo dina active 42 birch ivan closed 96 grove ivan ready 45 delta kim active 4 harbor alice
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041520
qwen/qwen3.7-plus
awkweave-0041521
Print the number of whitespace-separated fields on each line.
{print NF}
dina amber 78 failed chen delta 20 closed kim ember 92 paused ivan fable 92 paused bruno amber 1 active lina birch 64 ready bruno harbor 34 failed gus cobalt 44 failed
4 4 4 4 4 4 4 4
jules indigo 120 closed gus fable 23 closed eli grove 97 failed bruno grove 87 ready lina harbor 2 pending alice cobalt 17 active ivan indigo 89 closed dina amber 113 failed chen juniper 80 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041521-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
dina amber 78 failed chen delta 20 closed kim ember 92 paused ivan fable 92 paused bruno amber 1 active lina birch 64 ready bruno harbor 34 failed gus cobalt 44 failed
4 4 4 4 4 4 4 4
jules indigo 120 closed gus fable 23 closed eli grove 97 failed bruno grove 87 ready lina harbor 2 pending alice cobalt 17 active ivan indigo 89 closed dina amber 113 failed chen juniper 80 failed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041521
qwen/qwen3.7-plus
awkweave-0041522
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 beta 11 chen alpha 7 alice delta 31 dina gamma 29 eli beta 3 kim beta 113 dina beta 86
beta 4 alpha 1 delta 1 gamma 1
farah alpha 116 hana beta 110 chen beta 111 alice beta 85 bruno beta 2 bruno delta 52 dina gamma 47
alpha 1 beta 4 delta 1 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041522-p1
Tally the occurrences of each unique value in the second column, listing them alongside their counts in the order they first appear.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
kim beta 11 chen alpha 7 alice delta 31 dina gamma 29 eli beta 3 kim beta 113 dina beta 86
beta 4 alpha 1 delta 1 gamma 1
farah alpha 116 hana beta 110 chen beta 111 alice beta 85 bruno beta 2 bruno delta 52 dina gamma 47
alpha 1 beta 4 delta 1 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041522
qwen/qwen3.7-plus
awkweave-0041523
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli gamma 5 jules gamma 2 eli beta 12 alice gamma 25 eli beta 30 dina alpha 11
gamma 32 beta 42 alpha 11
eli gamma 10 ivan gamma 25 bruno delta 3 gus delta 13 eli beta 16 lina delta 14 kim alpha 8 eli gamma 16
gamma 51 delta 30 beta 16 alpha 8
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041523-p1
Calculate the sum of the third column grouped by the second column's categories, presenting the results in the order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
eli gamma 5 jules gamma 2 eli beta 12 alice gamma 25 eli beta 30 dina alpha 11
gamma 32 beta 42 alpha 11
eli gamma 10 ivan gamma 25 bruno delta 3 gus delta 13 eli beta 16 lina delta 14 kim alpha 8 eli gamma 16
gamma 51 delta 30 beta 16 alpha 8
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041523
qwen/qwen3.7-plus
awkweave-0041524
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 cobalt 47 gamma ember 19 delta birch 78 delta indigo 77 delta ember 53 beta fable 62 gamma birch 87 beta fable 24 beta cobalt 39 beta ember 95
gamma 2 delta 3 beta 4
delta indigo 119 gamma fable 68 beta fable 115 gamma juniper 64 alpha birch 38 gamma birch 66
gamma 3
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041524-p1
List each duplicate value from the first column along with its frequency, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha cobalt 47 gamma ember 19 delta birch 78 delta indigo 77 delta ember 53 beta fable 62 gamma birch 87 beta fable 24 beta cobalt 39 beta ember 95
gamma 2 delta 3 beta 4
delta indigo 119 gamma fable 68 beta fable 115 gamma juniper 64 alpha birch 38 gamma birch 66
gamma 3
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041524
qwen/qwen3.7-plus
awkweave-0041525
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score display_name record_id r001 farah 16 failed r002 hana 18 paused r003 hana 3 closed r004 gus 9 paused r005 lina 4 pending r006 ivan 2 closed r007 dina 15 pending r008 jules 20 active
16 18 3 9 4 2 15 20
state score display_name record_id r001 ivan 16 pending r002 ivan 28 failed r003 bruno 21 pending r004 lina 3 failed r005 bruno 30 pending r006 chen 15 ready
16 28 21 3 30 15
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041525-p1
Treating the initial row as a header, output the 'display_name' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
state score display_name record_id r001 farah 16 failed r002 hana 18 paused r003 hana 3 closed r004 gus 9 paused r005 lina 4 pending r006 ivan 2 closed r007 dina 15 pending r008 jules 20 active
16 18 3 9 4 2 15 20
state score display_name record_id r001 ivan 16 pending r002 ivan 28 failed r003 bruno 21 pending r004 lina 3 failed r005 bruno 30 pending r006 chen 15 ready
16 28 21 3 30 15
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041525
qwen/qwen3.7-plus
awkweave-0041526
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 gus 30 pending r002 lina 19 paused r003 bruno 28 pending r004 kim 13 pending r005 chen 2 failed r006 kim 16 paused r007 gus 17 pending r008 gus 6 closed r009 ivan 27 closed r010 ivan 26 closed
gus lina bruno kim gus ivan ivan
record_id display_name score state r001 hana 13 ready r002 hana 26 closed r003 kim 15 active r004 dina 24 ready r005 eli 21 ready r006 alice 18 failed
hana kim dina eli alice
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041526-p1
With the first row as a header, print the 'display_name' for data rows where the 'score' is strictly greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 gus 30 pending r002 lina 19 paused r003 bruno 28 pending r004 kim 13 pending r005 chen 2 failed r006 kim 16 paused r007 gus 17 pending r008 gus 6 closed r009 ivan 27 closed r010 ivan 26 closed
gus lina bruno kim gus ivan ivan
record_id display_name score state r001 hana 13 ready r002 hana 26 closed r003 kim 15 active r004 dina 24 ready r005 eli 21 ready r006 alice 18 failed
hana kim dina eli alice
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041526
qwen/qwen3.7-plus
awkweave-0041527
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 3 active kim 16 ready bruno 20 ready ivan 27 active farah 7 ready jules 9 active ivan 9 paused
3 16 20 27 7 9 9
gus 24 paused jules 13 ready alice 23 failed gus 30 failed bruno 26 pending kim 8 active kim 19 closed dina 27 pending
24 13 23 30 26 8 19 27
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041527-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
farah 3 active kim 16 ready bruno 20 ready ivan 27 active farah 7 ready jules 9 active ivan 9 paused
3 16 20 27 7 9 9
gus 24 paused jules 13 ready alice 23 failed gus 30 failed bruno 26 pending kim 8 active kim 19 closed dina 27 pending
24 13 23 30 26 8 19 27
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041527
qwen/qwen3.7-plus
awkweave-0041528
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23.
BEGIN{FS=OFS=","}$2>23{print $1}
farah,14,failed ivan,21,ready eli,29,pending ivan,17,closed gus,16,ready dina,27,failed bruno,27,pending
eli dina bruno
eli,13,paused jules,19,closed gus,20,ready hana,30,active chen,22,pending bruno,25,pending alice,1,paused
hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041528-p1
For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 23.
BEGIN{FS=OFS=","}$2>23{print $1}
farah,14,failed ivan,21,ready eli,29,pending ivan,17,closed gus,16,ready dina,27,failed bruno,27,pending
eli dina bruno
eli,13,paused jules,19,closed gus,20,ready hana,30,active chen,22,pending bruno,25,pending alice,1,paused
hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041528
qwen/qwen3.7-plus
awkweave-0041529
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
lina birch 46 ivan fable 61 chen harbor 53 gus indigo 11 alice amber 108 farah fable 78 lina birch 100
lina birch 46 ivan fable 61 chen harbor 53 gus indigo 11 alice amber 108 farah fable 78 lina birch 100
chen harbor 3 ivan grove 92 farah birch 76 farah amber 34 chen grove 69 kim fable 82
chen harbor 3 ivan grove 92 farah birch 76 farah amber 34 chen grove 69 kim fable 82
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041529-p1
Remove leading and trailing whitespace and replace any internal sequences of whitespace with a single space.
{$1=$1;print}
lina birch 46 ivan fable 61 chen harbor 53 gus indigo 11 alice amber 108 farah fable 78 lina birch 100
lina birch 46 ivan fable 61 chen harbor 53 gus indigo 11 alice amber 108 farah fable 78 lina birch 100
chen harbor 3 ivan grove 92 farah birch 76 farah amber 34 chen grove 69 kim fable 82
chen harbor 3 ivan grove 92 farah birch 76 farah amber 34 chen grove 69 kim fable 82
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041529
qwen/qwen3.7-plus
awkweave-0041530
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 114 paused gus grove 5 failed bruno juniper 50 paused lina cobalt 104 failed chen harbor 28 failed kim indigo 83 paused dina indigo 70 pending
bruno juniper 50 paused
alice delta 105 failed jules birch 27 closed farah fable 112 failed ivan indigo 10 active ivan juniper 94 ready alice harbor 70 paused alice birch 40 paused
alice delta 105 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041530-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
farah delta 114 paused gus grove 5 failed bruno juniper 50 paused lina cobalt 104 failed chen harbor 28 failed kim indigo 83 paused dina indigo 70 pending
bruno juniper 50 paused
alice delta 105 failed jules birch 27 closed farah fable 112 failed ivan indigo 10 active ivan juniper 94 ready alice harbor 70 paused alice birch 40 paused
alice delta 105 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041530
qwen/qwen3.7-plus
awkweave-0041531
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
kim 58 kim 24 lina 88 eli 45 hana 24 kim 63
kim 58 hana 24
farah 104 chen 108 alice 31 farah 40 bruno 65 kim 104 chen 38 lina 36
farah 104 bruno 65
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041531-p1
Display lines 1, 5, 9, and so on, effectively printing every fourth line starting from the first.
NR%4==1
kim 58 kim 24 lina 88 eli 45 hana 24 kim 63
kim 58 hana 24
farah 104 chen 108 alice 31 farah 40 bruno 65 kim 104 chen 38 lina 36
farah 104 bruno 65
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041531
qwen/qwen3.7-plus
awkweave-0041532
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 78 gamma juniper 10 delta fable 95 alpha ember 61 alpha harbor 103 beta cobalt 67 alpha indigo 80
6
delta indigo 79 gamma amber 80 beta amber 118 gamma ember 23 alpha indigo 39 alpha juniper 98
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041532-p1
Calculate and output only the number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
delta indigo 78 gamma juniper 10 delta fable 95 alpha ember 61 alpha harbor 103 beta cobalt 67 alpha indigo 80
6
delta indigo 79 gamma amber 80 beta amber 118 gamma ember 23 alpha indigo 39 alpha juniper 98
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041532
qwen/qwen3.7-plus
awkweave-0041533
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}
chen 22 0 alice 17 30 kim 6 1 chen 10 8 bruno 13 15 kim 22 18
alice 0.57 kim 6.00 chen 1.25 bruno 0.87 kim 1.22
eli 22 0 kim 23 28 alice 30 4 dina 30 15 jules 8 18 eli 20 19 kim 21 21 lina 1 22 dina 6 24
kim 0.82 alice 7.50 dina 2.00 jules 0.44 eli 1.05 kim 1.00 lina 0.05 dina 0.25
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041533-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}
chen 22 0 alice 17 30 kim 6 1 chen 10 8 bruno 13 15 kim 22 18
alice 0.57 kim 6.00 chen 1.25 bruno 0.87 kim 1.22
eli 22 0 kim 23 28 alice 30 4 dina 30 15 jules 8 18 eli 20 19 kim 21 21 lina 1 22 dina 6 24
kim 0.82 alice 7.50 dina 2.00 jules 0.44 eli 1.05 kim 1.00 lina 0.05 dina 0.25
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041533
qwen/qwen3.7-plus
awkweave-0041534
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]}
eli delta 2 gus grove 15 jules delta 27 chen fable 19 farah grove 4 dina fable 9 alice cobalt 17 gus harbor 25 dina cobalt 22 ivan harbor 26
jules delta 27 ivan harbor 26 gus harbor 25
ivan juniper 7 ivan amber 4 jules amber 5 alice indigo 5 dina grove 24 alice delta 12 jules harbor 13 eli cobalt 14
dina grove 24 eli cobalt 14 jules harbor 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041534-p1
Output 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]}
eli delta 2 gus grove 15 jules delta 27 chen fable 19 farah grove 4 dina fable 9 alice cobalt 17 gus harbor 25 dina cobalt 22 ivan harbor 26
jules delta 27 ivan harbor 26 gus harbor 25
ivan juniper 7 ivan amber 4 jules amber 5 alice indigo 5 dina grove 24 alice delta 12 jules harbor 13 eli cobalt 14
dina grove 24 eli cobalt 14 jules harbor 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041534
qwen/qwen3.7-plus
awkweave-0041535
Print column 3 followed by column 2 for every record.
{print $3, $2}
alice birch hana active jules pending ivan amber gus pending lina closed jules ember kim paused eli failed hana indigo lina active farah paused jules birch ivan closed hana closed bruno indigo gus pending dina active gus amber jules closed ivan pending alice grove gus ready dina pending kim indigo lina ready bruno fail...
hana birch gus amber kim ember lina indigo ivan birch gus indigo jules amber gus grove lina indigo lina delta
gus cobalt lina failed lina paused gus fable dina closed chen failed bruno ember jules failed jules paused lina indigo chen pending farah paused kim harbor jules failed bruno pending ivan grove eli pending ivan pending farah fable eli pending kim pending eli grove hana closed eli active
lina cobalt dina fable jules ember chen indigo jules harbor eli grove eli fable hana grove
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041535-p1
For every record, output the value in column 3 followed by the value in column 2.
{print $3, $2}
alice birch hana active jules pending ivan amber gus pending lina closed jules ember kim paused eli failed hana indigo lina active farah paused jules birch ivan closed hana closed bruno indigo gus pending dina active gus amber jules closed ivan pending alice grove gus ready dina pending kim indigo lina ready bruno fail...
hana birch gus amber kim ember lina indigo ivan birch gus indigo jules amber gus grove lina indigo lina delta
gus cobalt lina failed lina paused gus fable dina closed chen failed bruno ember jules failed jules paused lina indigo chen pending farah paused kim harbor jules failed bruno pending ivan grove eli pending ivan pending farah fable eli pending kim pending eli grove hana closed eli active
lina cobalt dina fable jules ember chen indigo jules harbor eli grove eli fable hana grove
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041535
qwen/qwen3.7-plus
awkweave-0041536
Print the last field of every input line.
{print $NF}
87 farah 0 juniper harbor 80 farah 82 cobalt indigo 34 hana 23 juniper birch 23 alice 29 indigo ember 40 chen 37 cobalt ember 90 bruno 1 grove harbor
harbor indigo birch ember ember harbor
32 bruno 108 grove harbor 86 dina 10 harbor cobalt 8 eli 35 fable indigo 43 ivan 37 amber ember 74 lina 97 harbor delta 115 bruno 118 amber grove 120 kim 21 amber fable
harbor cobalt indigo ember delta grove fable
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041536-p1
Output the final field from each input line.
{print $NF}
87 farah 0 juniper harbor 80 farah 82 cobalt indigo 34 hana 23 juniper birch 23 alice 29 indigo ember 40 chen 37 cobalt ember 90 bruno 1 grove harbor
harbor indigo birch ember ember harbor
32 bruno 108 grove harbor 86 dina 10 harbor cobalt 8 eli 35 fable indigo 43 ivan 37 amber ember 74 lina 97 harbor delta 115 bruno 118 amber grove 120 kim 21 amber fable
harbor cobalt indigo ember delta grove fable
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041536
qwen/qwen3.7-plus
awkweave-0041537
Print the complete records where column 1 is greater than 50.
$1 > 50
17 birch gus 42 juniper dina 53 harbor bruno 14 indigo farah 112 indigo alice 52 harbor lina 32 delta gus
53 harbor bruno 112 indigo alice 52 harbor lina
51 harbor chen 14 ember lina 46 ember ivan 76 juniper ivan 33 juniper gus 21 birch lina
51 harbor chen 76 juniper ivan
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041537-p1
Output the full records for which the value in column 1 exceeds 50.
$1 > 50
17 birch gus 42 juniper dina 53 harbor bruno 14 indigo farah 112 indigo alice 52 harbor lina 32 delta gus
53 harbor bruno 112 indigo alice 52 harbor lina
51 harbor chen 14 ember lina 46 ember ivan 76 juniper ivan 33 juniper gus 21 birch lina
51 harbor chen 76 juniper ivan
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041537
qwen/qwen3.7-plus
awkweave-0041538
Show whole lines whose 1st field is between 3 and 27, inclusive.
$1 >= 3 && $1 <= 27
24 indigo chen fable 7 delta dina indigo 10 grove dina ember 15 delta gus harbor 19 delta hana juniper 8 cobalt chen delta
24 indigo chen fable 7 delta dina indigo 10 grove dina ember 15 delta gus harbor 19 delta hana juniper 8 cobalt chen delta
6 indigo eli juniper 22 cobalt chen birch 3 grove chen fable 11 harbor hana harbor 11 fable gus ember 27 harbor bruno harbor
6 indigo eli juniper 22 cobalt chen birch 3 grove chen fable 11 harbor hana harbor 11 fable gus ember 27 harbor bruno harbor
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041538-p1
Display entire lines where the first field falls within the inclusive range of 3 to 27.
$1 >= 3 && $1 <= 27
24 indigo chen fable 7 delta dina indigo 10 grove dina ember 15 delta gus harbor 19 delta hana juniper 8 cobalt chen delta
24 indigo chen fable 7 delta dina indigo 10 grove dina ember 15 delta gus harbor 19 delta hana juniper 8 cobalt chen delta
6 indigo eli juniper 22 cobalt chen birch 3 grove chen fable 11 harbor hana harbor 11 fable gus ember 27 harbor bruno harbor
6 indigo eli juniper 22 cobalt chen birch 3 grove chen fable 11 harbor hana harbor 11 fable gus ember 27 harbor bruno harbor
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041538
qwen/qwen3.7-plus
awkweave-0041539
Print column 3 only for rows where column 1 is exactly closed.
$1 == "closed"{print $3}
ready harbor bruno 75 ready ember jules 119 paused grove gus 46 paused ember kim 83 active grove ivan 41 ready indigo farah 55 closed cobalt gus 55 pending delta gus 5 failed cobalt lina 13 failed grove bruno 81
gus
closed delta kim 8 paused amber dina 104 ready fable gus 16 paused harbor jules 108 closed ember ivan 72 ready delta chen 35 pending cobalt eli 48
kim ivan
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041539-p1
Output only the third column for rows where the first column is exactly 'closed'.
$1 == "closed"{print $3}
ready harbor bruno 75 ready ember jules 119 paused grove gus 46 paused ember kim 83 active grove ivan 41 ready indigo farah 55 closed cobalt gus 55 pending delta gus 5 failed cobalt lina 13 failed grove bruno 81
gus
closed delta kim 8 paused amber dina 104 ready fable gus 16 paused harbor jules 108 closed ember ivan 72 ready delta chen 35 pending cobalt eli 48
kim ivan
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041539
qwen/qwen3.7-plus
awkweave-0041540
Print all fields from lines where field 1 begins with ERROR.
$1 ~ /^ERROR/
INFO 64 delta DEBUG 103 amber ERROR 5 indigo ERROR 65 juniper DEBUG 115 fable ERROR 18 delta WARN 75 harbor DEBUG 42 indigo ERROR 119 harbor
ERROR 5 indigo ERROR 65 juniper ERROR 18 delta ERROR 119 harbor
WARN 51 amber ERROR 63 grove DEBUG 75 harbor INFO 3 amber WARN 25 harbor ERROR 43 ember DEBUG 107 harbor ERROR 70 harbor INFO 57 ember INFO 22 fable
ERROR 63 grove ERROR 43 ember ERROR 70 harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041540-p1
Output all fields from lines where the first field starts with the string 'ERROR'.
$1 ~ /^ERROR/
INFO 64 delta DEBUG 103 amber ERROR 5 indigo ERROR 65 juniper DEBUG 115 fable ERROR 18 delta WARN 75 harbor DEBUG 42 indigo ERROR 119 harbor
ERROR 5 indigo ERROR 65 juniper ERROR 18 delta ERROR 119 harbor
WARN 51 amber ERROR 63 grove DEBUG 75 harbor INFO 3 amber WARN 25 harbor ERROR 43 ember DEBUG 107 harbor ERROR 70 harbor INFO 57 ember INFO 22 fable
ERROR 63 grove ERROR 43 ember ERROR 70 harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041540
qwen/qwen3.7-plus
awkweave-0041541
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
indigo 45 closed amber 36 paused indigo 96 closed harbor 66 pending harbor 32 pending delta 57 paused birch 87 ready harbor 999 active
indigo 45 closed amber 36 paused indigo 96 closed delta 57 paused birch 87 ready
indigo 50 ready juniper 75 failed ember 57 pending fable 26 paused birch 1 closed harbor 38 paused birch 9 failed fable 15 pending birch 4 closed indigo 27 closed harbor 999 active
indigo 50 ready juniper 75 failed ember 57 pending fable 26 paused birch 1 closed birch 9 failed fable 15 pending birch 4 closed indigo 27 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041541-p1
Output every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
indigo 45 closed amber 36 paused indigo 96 closed harbor 66 pending harbor 32 pending delta 57 paused birch 87 ready harbor 999 active
indigo 45 closed amber 36 paused indigo 96 closed delta 57 paused birch 87 ready
indigo 50 ready juniper 75 failed ember 57 pending fable 26 paused birch 1 closed harbor 38 paused birch 9 failed fable 15 pending birch 4 closed indigo 27 closed harbor 999 active
indigo 50 ready juniper 75 failed ember 57 pending fable 26 paused birch 1 closed birch 9 failed fable 15 pending birch 4 closed indigo 27 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041541
qwen/qwen3.7-plus
awkweave-0041542
Print lines 3 through 6, including both endpoints.
NR >= 3 && NR <= 6
kim delta 56 gus indigo 62 ivan ember 96 dina harbor 88 ivan amber 85 jules harbor 45 ivan indigo 77 eli delta 46 lina indigo 98 dina fable 37
ivan ember 96 dina harbor 88 ivan amber 85 jules harbor 45
jules amber 105 hana harbor 49 ivan indigo 103 jules grove 52 kim juniper 56 ivan birch 64 farah birch 96
ivan indigo 103 jules grove 52 kim juniper 56 ivan birch 64
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041542-p1
Display lines 3 to 6, inclusive.
NR >= 3 && NR <= 6
kim delta 56 gus indigo 62 ivan ember 96 dina harbor 88 ivan amber 85 jules harbor 45 ivan indigo 77 eli delta 46 lina indigo 98 dina fable 37
ivan ember 96 dina harbor 88 ivan amber 85 jules harbor 45
jules amber 105 hana harbor 49 ivan indigo 103 jules grove 52 kim juniper 56 ivan birch 64 farah birch 96
ivan indigo 103 jules grove 52 kim juniper 56 ivan birch 64
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041542
qwen/qwen3.7-plus
awkweave-0041543
Output only the first 4 records.
NR <= 4
hana 61 grove kim 66 harbor jules 62 amber farah 30 fable jules 98 amber eli 103 amber eli 35 grove chen 109 juniper chen 107 harbor
hana 61 grove kim 66 harbor jules 62 amber farah 30 fable
kim 5 fable jules 21 cobalt bruno 77 birch ivan 88 ember hana 51 indigo ivan 0 harbor farah 37 amber jules 35 delta
kim 5 fable jules 21 cobalt bruno 77 birch ivan 88 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041543-p1
Output just the initial 4 records.
NR <= 4
hana 61 grove kim 66 harbor jules 62 amber farah 30 fable jules 98 amber eli 103 amber eli 35 grove chen 109 juniper chen 107 harbor
hana 61 grove kim 66 harbor jules 62 amber farah 30 fable
kim 5 fable jules 21 cobalt bruno 77 birch ivan 88 ember hana 51 indigo ivan 0 harbor farah 37 amber jules 35 delta
kim 5 fable jules 21 cobalt bruno 77 birch ivan 88 ember
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041543
qwen/qwen3.7-plus
awkweave-0041544
Skip the first line and print every remaining line unchanged.
NR > 1
dina 79 harbor ivan 35 ember lina 0 harbor eli 98 delta chen 52 juniper jules 41 juniper bruno 78 juniper dina 0 cobalt
ivan 35 ember lina 0 harbor eli 98 delta chen 52 juniper jules 41 juniper bruno 78 juniper dina 0 cobalt
lina 99 ember alice 60 amber bruno 99 delta hana 41 indigo dina 12 harbor kim 87 amber dina 45 juniper alice 44 juniper gus 114 fable farah 51 grove
alice 60 amber bruno 99 delta hana 41 indigo dina 12 harbor kim 87 amber dina 45 juniper alice 44 juniper gus 114 fable farah 51 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041544-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
dina 79 harbor ivan 35 ember lina 0 harbor eli 98 delta chen 52 juniper jules 41 juniper bruno 78 juniper dina 0 cobalt
ivan 35 ember lina 0 harbor eli 98 delta chen 52 juniper jules 41 juniper bruno 78 juniper dina 0 cobalt
lina 99 ember alice 60 amber bruno 99 delta hana 41 indigo dina 12 harbor kim 87 amber dina 45 juniper alice 44 juniper gus 114 fable farah 51 grove
alice 60 amber bruno 99 delta hana 41 indigo dina 12 harbor kim 87 amber dina 45 juniper alice 44 juniper gus 114 fable farah 51 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041544
qwen/qwen3.7-plus
awkweave-0041545
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
lina failed 94 farah closed 71 gus active 79 lina closed 14 farah active 101 hana failed 0 farah pending 6 lina active 50
0
dina failed 48 farah active 71 dina failed 76 bruno failed 27 bruno closed 43 ivan failed 110 chen pending 7 lina paused 84
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041545-p1
Count records where column 2 is 'ready'; output 0 if none match.
$2 == "ready"{n++}END{print n+0}
lina failed 94 farah closed 71 gus active 79 lina closed 14 farah active 101 hana failed 0 farah pending 6 lina active 50
0
dina failed 48 farah active 71 dina failed 76 bruno failed 27 bruno closed 43 ivan failed 110 chen pending 7 lina paused 84
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041545
qwen/qwen3.7-plus
awkweave-0041546
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
hana 1 juniper kim 25 delta bruno 30 birch eli 20 delta ivan 9 ember eli 6 delta kim 1 grove eli 8 delta jules 26 indigo
126
gus 27 grove chen 6 grove lina 15 harbor ivan 21 cobalt jules 16 cobalt ivan 13 harbor ivan 26 delta kim 2 cobalt
126
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041546-p1
Compute and display the total sum of integers in column 2.
{s+=$2}END{print s+0}
hana 1 juniper kim 25 delta bruno 30 birch eli 20 delta ivan 9 ember eli 6 delta kim 1 grove eli 8 delta jules 26 indigo
126
gus 27 grove chen 6 grove lina 15 harbor ivan 21 cobalt jules 16 cobalt ivan 13 harbor ivan 26 delta kim 2 cobalt
126
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041546
qwen/qwen3.7-plus
awkweave-0041547
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
27 kim indigo 11 eli delta 20 alice cobalt 24 gus grove 9 hana ember 23 kim cobalt 22 gus ember 10 farah grove 3 jules birch 28 bruno amber
17.70
9 alice juniper 18 ivan amber 25 lina ember 11 eli grove 26 eli delta 7 dina harbor 27 kim birch 17 alice delta 22 gus harbor 14 kim indigo
17.60
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041547-p1
Print the average of column 1, rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
27 kim indigo 11 eli delta 20 alice cobalt 24 gus grove 9 hana ember 23 kim cobalt 22 gus ember 10 farah grove 3 jules birch 28 bruno amber
17.70
9 alice juniper 18 ivan amber 25 lina ember 11 eli grove 26 eli delta 7 dina harbor 27 kim birch 17 alice delta 22 gus harbor 14 kim indigo
17.60
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041547
qwen/qwen3.7-plus
awkweave-0041548
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 grove hana 20 fable bruno 18 birch hana 4 fable alice 7 ember kim 29 ember gus 6 grove lina 24 ember lina 8 cobalt jules
4
19 delta gus 19 harbor gus 15 fable dina 16 juniper chen 21 ember ivan 19 grove gus 21 cobalt gus 1 grove kim 20 grove bruno
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041548-p1
Identify and print the minimum numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
19 grove hana 20 fable bruno 18 birch hana 4 fable alice 7 ember kim 29 ember gus 6 grove lina 24 ember lina 8 cobalt jules
4
19 delta gus 19 harbor gus 15 fable dina 16 juniper chen 21 ember ivan 19 grove gus 21 cobalt gus 1 grove kim 20 grove bruno
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041548
qwen/qwen3.7-plus
awkweave-0041549
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
22 chen birch 9 ivan harbor 25 alice cobalt 26 jules cobalt 11 bruno juniper 9 ivan birch
26
25 ivan ember 27 gus amber 4 hana fable 21 dina indigo 14 kim fable 25 kim delta 7 dina cobalt
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041549-p1
Identify and print the maximum numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
22 chen birch 9 ivan harbor 25 alice cobalt 26 jules cobalt 11 bruno juniper 9 ivan birch
26
25 ivan ember 27 gus amber 4 hana fable 21 dina indigo 14 kim fable 25 kim delta 7 dina cobalt
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041549
qwen/qwen3.7-plus
awkweave-0041550
Count all input records and print the total.
END{print NR}
ivan 91 chen 97 dina 24 farah 66 eli 49 hana 109 chen 74 hana 106
8
eli 18 ivan 46 dina 115 farah 59 gus 3 dina 40 farah 82
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041550-p1
Count and print the total number of input records.
END{print NR}
ivan 91 chen 97 dina 24 farah 66 eli 49 hana 109 chen 74 hana 106
8
eli 18 ivan 46 dina 115 farah 59 gus 3 dina 40 farah 82
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041550
qwen/qwen3.7-plus
awkweave-0041551
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
bruno cobalt 83 alice indigo 33 ivan amber 111 dina harbor 72 gus cobalt 92 kim juniper 61 bruno cobalt 83 alice amber 0 chen fable 55 chen amber 25
bruno cobalt 83 alice indigo 33 ivan amber 111 dina harbor 72 gus cobalt 92 kim juniper 61 alice amber 0 chen fable 55 chen amber 25
bruno amber 93 hana fable 46 farah fable 81 hana delta 19 jules harbor 65 bruno harbor 14 hana delta 19 kim harbor 29
bruno amber 93 hana fable 46 farah fable 81 hana delta 19 jules harbor 65 bruno harbor 14 kim harbor 29
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null