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-0002770-p1
Output the final field from every line of input.
{print $NF}
61 juniper 76 birch kim 60 106 birch 69 juniper jules 105 58 birch 112 fable bruno 14 26 ember 98 indigo jules 120 56 fable 28 harbor lina 83 53 cobalt 63 juniper lina 31
60 105 14 120 83 31
48 ember 71 delta lina 64 2 delta 109 cobalt bruno 16 111 delta 42 indigo bruno 80 119 cobalt 16 amber hana 49 63 ember 93 grove kim 2 112 juniper 38 ember kim 106 83 harbor 50 birch chen 27
64 16 80 49 2 106 27
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002770
qwen/qwen3.7-plus
awkweave-0002771
Print the complete records where column 3 is at most 36.
$3 <= 36
failed cobalt 87 hana closed birch 19 farah pending harbor 0 ivan paused cobalt 13 eli paused birch 6 lina closed birch 13 dina
closed birch 19 farah pending harbor 0 ivan paused cobalt 13 eli paused birch 6 lina closed birch 13 dina
paused ember 15 ivan active fable 40 lina ready delta 97 jules pending indigo 85 chen failed fable 4 gus closed harbor 112 farah pending amber 74 kim
paused ember 15 ivan failed fable 4 gus
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002771-p1
Print the full records where the value in column 3 is less than or equal to 36.
$3 <= 36
failed cobalt 87 hana closed birch 19 farah pending harbor 0 ivan paused cobalt 13 eli paused birch 6 lina closed birch 13 dina
closed birch 19 farah pending harbor 0 ivan paused cobalt 13 eli paused birch 6 lina closed birch 13 dina
paused ember 15 ivan active fable 40 lina ready delta 97 jules pending indigo 85 chen failed fable 4 gus closed harbor 112 farah pending amber 74 kim
paused ember 15 ivan failed fable 4 gus
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002771
qwen/qwen3.7-plus
awkweave-0002772
Show whole lines whose 1st field is between 7 and 29, inclusive.
$1 >= 7 && $1 <= 29
17 ready jules farah 19 ready jules dina 17 active lina lina 7 ready lina gus 1 pending hana farah 7 active alice alice
17 ready jules farah 19 ready jules dina 17 active lina lina 7 ready lina gus 7 active alice alice
26 closed hana farah 23 active eli eli 7 ready farah dina 14 paused bruno kim 18 closed ivan dina 30 active bruno jules
26 closed hana farah 23 active eli eli 7 ready farah dina 14 paused bruno kim 18 closed ivan dina
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002772-p1
Display entire lines where the first field falls within the range of 7 to 29, inclusive.
$1 >= 7 && $1 <= 29
17 ready jules farah 19 ready jules dina 17 active lina lina 7 ready lina gus 1 pending hana farah 7 active alice alice
17 ready jules farah 19 ready jules dina 17 active lina lina 7 ready lina gus 7 active alice alice
26 closed hana farah 23 active eli eli 7 ready farah dina 14 paused bruno kim 18 closed ivan dina 30 active bruno jules
26 closed hana farah 23 active eli eli 7 ready farah dina 14 paused bruno kim 18 closed ivan dina
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002772
qwen/qwen3.7-plus
awkweave-0002773
Print column 4 only for rows where column 1 is exactly pending.
$1 == "pending"{print $4}
active 92 birch hana active 65 ember bruno active 69 juniper lina closed 59 grove bruno active 90 ember chen pending 79 amber ivan closed 13 cobalt dina failed 4 grove alice failed 73 grove alice active 96 indigo jules
ivan
paused 10 indigo ivan paused 6 delta ivan ready 71 harbor hana active 33 delta dina closed 40 juniper farah ready 41 fable gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002773-p1
Output only the fourth column for rows where the first column is exactly 'pending'.
$1 == "pending"{print $4}
active 92 birch hana active 65 ember bruno active 69 juniper lina closed 59 grove bruno active 90 ember chen pending 79 amber ivan closed 13 cobalt dina failed 4 grove alice failed 73 grove alice active 96 indigo jules
ivan
paused 10 indigo ivan paused 6 delta ivan ready 71 harbor hana active 33 delta dina closed 40 juniper farah ready 41 fable gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002773
qwen/qwen3.7-plus
awkweave-0002774
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
69 INFO harbor 65 DEBUG ember 22 DEBUG amber 112 ERROR indigo 32 DEBUG ember 104 WARN ember 44 WARN ember 85 WARN amber
112 ERROR indigo
18 ERROR ember 44 WARN amber 6 WARN indigo 97 ERROR ember 43 DEBUG indigo 102 INFO cobalt 78 DEBUG fable 47 WARN indigo 112 INFO grove
18 ERROR ember 97 ERROR ember
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002774-p1
Print all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
69 INFO harbor 65 DEBUG ember 22 DEBUG amber 112 ERROR indigo 32 DEBUG ember 104 WARN ember 44 WARN ember 85 WARN amber
112 ERROR indigo
18 ERROR ember 44 WARN amber 6 WARN indigo 97 ERROR ember 43 DEBUG indigo 102 INFO cobalt 78 DEBUG fable 47 WARN indigo 112 INFO grove
18 ERROR ember 97 ERROR ember
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002774
qwen/qwen3.7-plus
awkweave-0002775
Print every line except those containing the exact text fable.
$0 !~ /fable/
cobalt 74 paused delta 0 closed grove 68 failed cobalt 21 paused amber 60 active grove 33 paused indigo 88 paused fable 107 paused grove 69 ready harbor 63 failed fable 999 active
cobalt 74 paused delta 0 closed grove 68 failed cobalt 21 paused amber 60 active grove 33 paused indigo 88 paused grove 69 ready harbor 63 failed
grove 36 pending juniper 15 failed fable 64 pending fable 90 ready delta 94 ready harbor 97 failed cobalt 81 closed cobalt 97 pending fable 999 active
grove 36 pending juniper 15 failed delta 94 ready harbor 97 failed cobalt 81 closed cobalt 97 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002775-p1
Print every line that does not contain the exact string 'fable'.
$0 !~ /fable/
cobalt 74 paused delta 0 closed grove 68 failed cobalt 21 paused amber 60 active grove 33 paused indigo 88 paused fable 107 paused grove 69 ready harbor 63 failed fable 999 active
cobalt 74 paused delta 0 closed grove 68 failed cobalt 21 paused amber 60 active grove 33 paused indigo 88 paused grove 69 ready harbor 63 failed
grove 36 pending juniper 15 failed fable 64 pending fable 90 ready delta 94 ready harbor 97 failed cobalt 81 closed cobalt 97 pending fable 999 active
grove 36 pending juniper 15 failed delta 94 ready harbor 97 failed cobalt 81 closed cobalt 97 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002775
qwen/qwen3.7-plus
awkweave-0002776
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
farah birch 53 gus ember 98 gus indigo 71 eli harbor 8 eli juniper 118 hana harbor 68 bruno juniper 26 farah fable 31
gus ember 98 gus indigo 71
hana amber 97 ivan ember 79 hana grove 112 dina cobalt 109 eli amber 105 ivan harbor 47
ivan ember 79 hana grove 112
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002776-p1
Output lines 2 through 3, inclusive.
NR >= 2 && NR <= 3
farah birch 53 gus ember 98 gus indigo 71 eli harbor 8 eli juniper 118 hana harbor 68 bruno juniper 26 farah fable 31
gus ember 98 gus indigo 71
hana amber 97 ivan ember 79 hana grove 112 dina cobalt 109 eli amber 105 ivan harbor 47
ivan ember 79 hana grove 112
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002776
qwen/qwen3.7-plus
awkweave-0002777
Output only the first 4 records.
NR <= 4
eli 78 delta jules 46 harbor bruno 41 birch dina 29 birch alice 117 juniper gus 7 amber gus 51 cobalt kim 58 fable
eli 78 delta jules 46 harbor bruno 41 birch dina 29 birch
eli 44 indigo farah 43 delta lina 33 fable dina 3 harbor gus 59 grove gus 78 cobalt alice 84 fable alice 45 fable gus 76 birch
eli 44 indigo farah 43 delta lina 33 fable dina 3 harbor
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002777-p1
Display only the first 4 records.
NR <= 4
eli 78 delta jules 46 harbor bruno 41 birch dina 29 birch alice 117 juniper gus 7 amber gus 51 cobalt kim 58 fable
eli 78 delta jules 46 harbor bruno 41 birch dina 29 birch
eli 44 indigo farah 43 delta lina 33 fable dina 3 harbor gus 59 grove gus 78 cobalt alice 84 fable alice 45 fable gus 76 birch
eli 44 indigo farah 43 delta lina 33 fable dina 3 harbor
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002777
qwen/qwen3.7-plus
awkweave-0002778
Skip the first line and print every remaining line unchanged.
NR > 1
hana 44 birch gus 104 delta ivan 62 birch gus 38 cobalt ivan 23 amber hana 61 birch kim 39 cobalt alice 44 delta dina 5 indigo bruno 109 cobalt
gus 104 delta ivan 62 birch gus 38 cobalt ivan 23 amber hana 61 birch kim 39 cobalt alice 44 delta dina 5 indigo bruno 109 cobalt
farah 115 delta kim 0 amber kim 110 fable dina 6 birch eli 73 amber farah 37 harbor alice 91 amber eli 62 juniper
kim 0 amber kim 110 fable dina 6 birch eli 73 amber farah 37 harbor alice 91 amber eli 62 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002778-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
hana 44 birch gus 104 delta ivan 62 birch gus 38 cobalt ivan 23 amber hana 61 birch kim 39 cobalt alice 44 delta dina 5 indigo bruno 109 cobalt
gus 104 delta ivan 62 birch gus 38 cobalt ivan 23 amber hana 61 birch kim 39 cobalt alice 44 delta dina 5 indigo bruno 109 cobalt
farah 115 delta kim 0 amber kim 110 fable dina 6 birch eli 73 amber farah 37 harbor alice 91 amber eli 62 juniper
kim 0 amber kim 110 fable dina 6 birch eli 73 amber farah 37 harbor alice 91 amber eli 62 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002778
qwen/qwen3.7-plus
awkweave-0002779
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
kim failed 25 alice paused 33 dina failed 18 bruno failed 23 hana ready 92 alice active 19 ivan paused 98 chen failed 103
1
chen closed 6 gus ready 7 ivan paused 37 alice failed 90 bruno pending 102 chen active 36 gus ready 117 farah ready 107
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002779-p1
Determine the number of entries where the second column is 'active', outputting 0 if no such entries exist.
$2 == "active"{n++}END{print n+0}
kim failed 25 alice paused 33 dina failed 18 bruno failed 23 hana ready 92 alice active 19 ivan paused 98 chen failed 103
1
chen closed 6 gus ready 7 ivan paused 37 alice failed 90 bruno pending 102 chen active 36 gus ready 117 farah ready 107
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002779
qwen/qwen3.7-plus
awkweave-0002780
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
delta eli 16 harbor bruno 3 grove dina 20 fable bruno 14 grove kim 9 amber chen 14
76
ember eli 3 harbor hana 8 amber ivan 8 amber dina 12 juniper ivan 20 ember chen 17 juniper ivan 26
94
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002780-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
delta eli 16 harbor bruno 3 grove dina 20 fable bruno 14 grove kim 9 amber chen 14
76
ember eli 3 harbor hana 8 amber ivan 8 amber dina 12 juniper ivan 20 ember chen 17 juniper ivan 26
94
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002780
qwen/qwen3.7-plus
awkweave-0002781
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber alice 6 cobalt lina 22 harbor eli 9 amber alice 10 ember dina 2 indigo farah 25 birch hana 22 juniper ivan 8 indigo kim 17 harbor gus 2
12.30
delta jules 8 indigo hana 8 fable lina 30 ember chen 15 cobalt gus 1 ember bruno 30 fable eli 20 harbor jules 28 ember alice 4
16.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002781-p1
Output the average of the values in column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
amber alice 6 cobalt lina 22 harbor eli 9 amber alice 10 ember dina 2 indigo farah 25 birch hana 22 juniper ivan 8 indigo kim 17 harbor gus 2
12.30
delta jules 8 indigo hana 8 fable lina 30 ember chen 15 cobalt gus 1 ember bruno 30 fable eli 20 harbor jules 28 ember alice 4
16.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002781
qwen/qwen3.7-plus
awkweave-0002782
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 1 hana cobalt 8 hana amber 9 kim fable 7 bruno grove 7 eli indigo 18 eli
1
amber 8 kim ember 13 lina fable 19 jules harbor 16 bruno indigo 27 gus cobalt 2 farah harbor 5 dina
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002782-p1
Identify and print the minimum numerical value present in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
juniper 1 hana cobalt 8 hana amber 9 kim fable 7 bruno grove 7 eli indigo 18 eli
1
amber 8 kim ember 13 lina fable 19 jules harbor 16 bruno indigo 27 gus cobalt 2 farah harbor 5 dina
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002782
qwen/qwen3.7-plus
awkweave-0002783
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus birch 11 jules harbor 24 gus amber 30 hana delta 20 eli harbor 18 dina cobalt 19
30
ivan fable 4 bruno delta 10 lina harbor 5 bruno harbor 24 chen birch 18 bruno indigo 7 chen grove 22 dina amber 9
24
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002783-p1
Identify and print the maximum numerical value present in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
gus birch 11 jules harbor 24 gus amber 30 hana delta 20 eli harbor 18 dina cobalt 19
30
ivan fable 4 bruno delta 10 lina harbor 5 bruno harbor 24 chen birch 18 bruno indigo 7 chen grove 22 dina amber 9
24
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002783
qwen/qwen3.7-plus
awkweave-0002784
Count all input records and print the total.
END{print NR}
kim 106 gus 2 kim 4 ivan 26 jules 72 kim 117 alice 33 eli 113 jules 54
9
ivan 7 chen 73 bruno 0 farah 119 chen 79 alice 93 farah 86
7
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002784-p1
Count the total number of input records and display the result.
END{print NR}
kim 106 gus 2 kim 4 ivan 26 jules 72 kim 117 alice 33 eli 113 jules 54
9
ivan 7 chen 73 bruno 0 farah 119 chen 79 alice 93 farah 86
7
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002784
qwen/qwen3.7-plus
awkweave-0002785
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
kim amber 76 dina fable 70 hana delta 48 gus delta 9 hana harbor 65 kim juniper 46 farah grove 118 dina birch 107 kim amber 76 alice cobalt 2 jules cobalt 45
kim amber 76 dina fable 70 hana delta 48 gus delta 9 hana harbor 65 kim juniper 46 farah grove 118 dina birch 107 alice cobalt 2 jules cobalt 45
gus juniper 50 bruno amber 99 gus delta 23 bruno amber 50 alice ember 6 lina fable 29 eli delta 72 lina indigo 59 gus delta 23 jules birch 85
gus juniper 50 bruno amber 99 gus delta 23 bruno amber 50 alice ember 6 lina fable 29 eli delta 72 lina indigo 59 jules birch 85
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002785-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
kim amber 76 dina fable 70 hana delta 48 gus delta 9 hana harbor 65 kim juniper 46 farah grove 118 dina birch 107 kim amber 76 alice cobalt 2 jules cobalt 45
kim amber 76 dina fable 70 hana delta 48 gus delta 9 hana harbor 65 kim juniper 46 farah grove 118 dina birch 107 alice cobalt 2 jules cobalt 45
gus juniper 50 bruno amber 99 gus delta 23 bruno amber 50 alice ember 6 lina fable 29 eli delta 72 lina indigo 59 gus delta 23 jules birch 85
gus juniper 50 bruno amber 99 gus delta 23 bruno amber 50 alice ember 6 lina fable 29 eli delta 72 lina indigo 59 jules birch 85
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002785
qwen/qwen3.7-plus
awkweave-0002786
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
alice cobalt 111 alice juniper 57 ivan cobalt 89 eli amber 114 eli delta 17 farah juniper 38
alice cobalt 111 alice juniper 57 eli amber 114 eli delta 17
chen fable 2 farah grove 116 eli harbor 18 kim ember 15 farah cobalt 15 jules delta 41 jules fable 4 farah delta 75 dina birch 4 jules delta 6
chen fable 2 farah grove 116 eli harbor 18 kim ember 15 farah cobalt 15 jules delta 41 dina birch 4
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002786-p1
Retain only the first row for every unique value in column 2, keeping the original input order.
!seen[$2]++
alice cobalt 111 alice juniper 57 ivan cobalt 89 eli amber 114 eli delta 17 farah juniper 38
alice cobalt 111 alice juniper 57 eli amber 114 eli delta 17
chen fable 2 farah grove 116 eli harbor 18 kim ember 15 farah cobalt 15 jules delta 41 jules fable 4 farah delta 75 dina birch 4 jules delta 6
chen fable 2 farah grove 116 eli harbor 18 kim ember 15 farah cobalt 15 jules delta 41 dina birch 4
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002786
qwen/qwen3.7-plus
awkweave-0002787
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
lina 25 fable gus 11 ember hana 26 fable bruno 23 delta dina 2 indigo lina 28 fable
lina 25 gus 36 hana 62 bruno 85 dina 87 lina 115
kim 5 grove alice 21 fable gus 23 amber eli 30 juniper lina 28 grove chen 20 ember
kim 5 alice 26 gus 49 eli 79 lina 107 chen 127
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002787-p1
For each entry, output the first column and the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
lina 25 fable gus 11 ember hana 26 fable bruno 23 delta dina 2 indigo lina 28 fable
lina 25 gus 36 hana 62 bruno 85 dina 87 lina 115
kim 5 grove alice 21 fable gus 23 amber eli 30 juniper lina 28 grove chen 20 ember
kim 5 alice 26 gus 49 eli 79 lina 107 chen 127
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002787
qwen/qwen3.7-plus
awkweave-0002788
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
kim 6 30 ember gus 20 13 juniper jules 10 26 harbor kim 28 28 delta hana 8 19 harbor lina 18 11 juniper alice 30 5 grove
kim 36 gus 33 jules 36 kim 56 hana 27 lina 29 alice 35
eli 12 26 juniper alice 2 10 harbor chen 14 30 harbor chen 28 26 juniper chen 13 29 juniper eli 18 18 indigo lina 15 19 cobalt farah 14 18 cobalt chen 18 19 fable
eli 38 alice 12 chen 44 chen 54 chen 42 eli 36 lina 34 farah 32 chen 37
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002788-p1
For each row, output the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
kim 6 30 ember gus 20 13 juniper jules 10 26 harbor kim 28 28 delta hana 8 19 harbor lina 18 11 juniper alice 30 5 grove
kim 36 gus 33 jules 36 kim 56 hana 27 lina 29 alice 35
eli 12 26 juniper alice 2 10 harbor chen 14 30 harbor chen 28 26 juniper chen 13 29 juniper eli 18 18 indigo lina 15 19 cobalt farah 14 18 cobalt chen 18 19 fable
eli 38 alice 12 chen 44 chen 54 chen 42 eli 36 lina 34 farah 32 chen 37
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002788
qwen/qwen3.7-plus
awkweave-0002789
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
hana 8 gus 24 eli 24 jules 9 lina 20 chen 6 gus 26 dina 4 hana 1
hana fail gus fail eli fail jules fail lina fail chen fail gus pass dina fail hana fail
lina 24 kim 18 alice 14 alice 11 eli 24 hana 23 alice 11 chen 25 jules 25
lina fail kim fail alice fail alice fail eli fail hana fail alice fail chen pass jules pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002789-p1
Print the first column along with 'pass' if the second column is 25 or greater, otherwise print 'fail'.
{print $1,($2>=25?"pass":"fail")}
hana 8 gus 24 eli 24 jules 9 lina 20 chen 6 gus 26 dina 4 hana 1
hana fail gus fail eli fail jules fail lina fail chen fail gus pass dina fail hana fail
lina 24 kim 18 alice 14 alice 11 eli 24 hana 23 alice 11 chen 25 jules 25
lina fail kim fail alice fail alice fail eli fail hana fail alice fail chen pass jules pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002789
qwen/qwen3.7-plus
awkweave-0002800
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 27 failed jules 9 active lina 27 paused bruno 10 closed kim 28 paused ivan 3 active eli 13 ready
kim jules lina bruno kim ivan eli
dina 6 active kim 20 closed ivan 23 ready bruno 18 pending eli 30 ready eli 2 closed gus 11 paused chen 8 pending dina 17 failed
dina kim ivan bruno eli eli gus chen dina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002800-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
kim 27 failed jules 9 active lina 27 paused bruno 10 closed kim 28 paused ivan 3 active eli 13 ready
kim jules lina bruno kim ivan eli
dina 6 active kim 20 closed ivan 23 ready bruno 18 pending eli 30 ready eli 2 closed gus 11 paused chen 8 pending dina 17 failed
dina kim ivan bruno eli eli gus chen dina
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0002800
qwen/qwen3.7-plus
awkweave-0002801
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8.
BEGIN{FS=OFS=","}$2>8{print $1}
ivan,11,paused chen,20,paused bruno,26,active kim,23,paused gus,29,pending hana,23,paused kim,22,failed ivan,14,pending lina,8,pending
ivan chen bruno kim gus hana kim ivan
hana,4,paused ivan,9,paused alice,9,closed jules,20,failed ivan,28,failed gus,30,ready
ivan alice jules ivan gus
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002801-p1
For simple CSV input without quoted commas, output the first field only if the second field is greater than 8.
BEGIN{FS=OFS=","}$2>8{print $1}
ivan,11,paused chen,20,paused bruno,26,active kim,23,paused gus,29,pending hana,23,paused kim,22,failed ivan,14,pending lina,8,pending
ivan chen bruno kim gus hana kim ivan
hana,4,paused ivan,9,paused alice,9,closed jules,20,failed ivan,28,failed gus,30,ready
ivan alice jules ivan gus
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002801
qwen/qwen3.7-plus
awkweave-0002802
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice fable 14 lina cobalt 46 alice ember 73 jules ember 69 farah juniper 11 chen amber 119 kim amber 61 alice cobalt 102
alice fable 14 lina cobalt 46 alice ember 73 jules ember 69 farah juniper 11 chen amber 119 kim amber 61 alice cobalt 102
gus fable 20 lina ember 37 jules delta 98 alice indigo 102 kim harbor 66 dina juniper 14 jules grove 103 kim fable 94 farah harbor 78 alice indigo 20
gus fable 20 lina ember 37 jules delta 98 alice indigo 102 kim harbor 66 dina juniper 14 jules grove 103 kim fable 94 farah harbor 78 alice indigo 20
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002802-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
alice fable 14 lina cobalt 46 alice ember 73 jules ember 69 farah juniper 11 chen amber 119 kim amber 61 alice cobalt 102
alice fable 14 lina cobalt 46 alice ember 73 jules ember 69 farah juniper 11 chen amber 119 kim amber 61 alice cobalt 102
gus fable 20 lina ember 37 jules delta 98 alice indigo 102 kim harbor 66 dina juniper 14 jules grove 103 kim fable 94 farah harbor 78 alice indigo 20
gus fable 20 lina ember 37 jules delta 98 alice indigo 102 kim harbor 66 dina juniper 14 jules grove 103 kim fable 94 farah harbor 78 alice indigo 20
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002802
qwen/qwen3.7-plus
awkweave-0002803
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
jules cobalt 93 paused kim birch 10 closed alice fable 63 failed farah fable 0 closed chen delta 76 closed jules harbor 120 paused bruno amber 47 active
jules harbor 120 paused
farah ember 99 ready lina ember 67 pending hana amber 77 pending eli cobalt 34 ready ivan grove 92 active jules grove 4 active kim harbor 85 pending farah amber 111 closed lina fable 113 failed hana grove 85 active
farah amber 111 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002803-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
jules cobalt 93 paused kim birch 10 closed alice fable 63 failed farah fable 0 closed chen delta 76 closed jules harbor 120 paused bruno amber 47 active
jules harbor 120 paused
farah ember 99 ready lina ember 67 pending hana amber 77 pending eli cobalt 34 ready ivan grove 92 active jules grove 4 active kim harbor 85 pending farah amber 111 closed lina fable 113 failed hana grove 85 active
farah amber 111 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002803
qwen/qwen3.7-plus
awkweave-0002804
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
lina 79 lina 119 lina 81 ivan 97 hana 2 hana 44 dina 118 ivan 21
lina 79 ivan 97 dina 118
hana 9 farah 88 gus 84 dina 97 farah 58 kim 99 alice 23 kim 32 hana 8 gus 111
hana 9 dina 97 alice 23 gus 111
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002804-p1
Output every third line, beginning with the first line (i.e., lines 1, 4, 7, ...).
NR%3==1
lina 79 lina 119 lina 81 ivan 97 hana 2 hana 44 dina 118 ivan 21
lina 79 ivan 97 dina 118
hana 9 farah 88 gus 84 dina 97 farah 58 kim 99 alice 23 kim 32 hana 8 gus 111
hana 9 dina 97 alice 23 gus 111
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002804
qwen/qwen3.7-plus
awkweave-0002805
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta juniper 93 alpha delta 75 alpha indigo 114 beta cobalt 66 alpha amber 11 delta indigo 111 gamma delta 62
5
beta birch 55 gamma delta 60 beta grove 24 gamma harbor 92 delta cobalt 44 beta juniper 37 beta indigo 32
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002805-p1
Calculate the number of unique values in the second column and output only that total count.
{if(!seen[$2]++)n++}END{print n+0}
delta juniper 93 alpha delta 75 alpha indigo 114 beta cobalt 66 alpha amber 11 delta indigo 111 gamma delta 62
5
beta birch 55 gamma delta 60 beta grove 24 gamma harbor 92 delta cobalt 44 beta juniper 37 beta indigo 32
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002805
qwen/qwen3.7-plus
awkweave-0002806
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}
eli 2 0 farah 4 19 jules 17 17 dina 4 16 dina 12 28 kim 16 23 dina 8 13 gus 16 21
farah 0.21 jules 1.00 dina 0.25 dina 0.43 kim 0.70 dina 0.62 gus 0.76
hana 7 0 bruno 14 14 alice 8 16 farah 16 20 gus 9 1 bruno 5 25 alice 22 25 eli 11 20
bruno 1.00 alice 0.50 farah 0.80 gus 9.00 bruno 0.20 alice 0.88 eli 0.55
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002806-p1
For each row where the third column is non-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}
eli 2 0 farah 4 19 jules 17 17 dina 4 16 dina 12 28 kim 16 23 dina 8 13 gus 16 21
farah 0.21 jules 1.00 dina 0.25 dina 0.43 kim 0.70 dina 0.62 gus 0.76
hana 7 0 bruno 14 14 alice 8 16 farah 16 20 gus 9 1 bruno 5 25 alice 22 25 eli 11 20
bruno 1.00 alice 0.50 farah 0.80 gus 9.00 bruno 0.20 alice 0.88 eli 0.55
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002806
qwen/qwen3.7-plus
awkweave-0002807
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
farah harbor 7 kim fable 9 dina harbor 27 jules juniper 18 farah delta 11 hana cobalt 13 ivan cobalt 1
dina harbor 27 jules juniper 18 hana cobalt 13
chen amber 30 chen ember 17 eli birch 23 jules harbor 10 bruno fable 28 kim harbor 7 jules amber 7 dina juniper 2
chen amber 30 bruno fable 28 eli birch 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002807-p1
Output the 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]}
farah harbor 7 kim fable 9 dina harbor 27 jules juniper 18 farah delta 11 hana cobalt 13 ivan cobalt 1
dina harbor 27 jules juniper 18 hana cobalt 13
chen amber 30 chen ember 17 eli birch 23 jules harbor 10 bruno fable 28 kim harbor 7 jules amber 7 dina juniper 2
chen amber 30 bruno fable 28 eli birch 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002807
qwen/qwen3.7-plus
awkweave-0002808
Print column 5 followed by column 3 for every record.
{print $5, $3}
pending ready ready 9 grove jules closed closed failed 28 grove dina paused active active 42 harbor bruno pending failed active 23 amber hana active closed closed 38 delta ivan failed pending closed 99 ember jules pending failed paused 85 birch kim active active pending 0 ember bruno
grove ready grove failed harbor active amber active delta closed ember closed birch paused ember pending
closed failed closed 77 juniper alice closed closed paused 68 cobalt hana failed paused pending 39 fable hana closed paused closed 17 birch gus failed active paused 88 indigo chen active closed paused 23 fable ivan active ready failed 18 birch bruno active active active 64 harbor jules
juniper closed cobalt paused fable pending birch closed indigo paused fable paused birch failed harbor active
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002808-p1
For every record, output the fifth column followed by the third column.
{print $5, $3}
pending ready ready 9 grove jules closed closed failed 28 grove dina paused active active 42 harbor bruno pending failed active 23 amber hana active closed closed 38 delta ivan failed pending closed 99 ember jules pending failed paused 85 birch kim active active pending 0 ember bruno
grove ready grove failed harbor active amber active delta closed ember closed birch paused ember pending
closed failed closed 77 juniper alice closed closed paused 68 cobalt hana failed paused pending 39 fable hana closed paused closed 17 birch gus failed active paused 88 indigo chen active closed paused 23 fable ivan active ready failed 18 birch bruno active active active 64 harbor jules
juniper closed cobalt paused fable pending birch closed indigo paused fable paused birch failed harbor active
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002808
qwen/qwen3.7-plus
awkweave-0002809
Print the last field of every input line.
{print $NF}
114 ember closed fable pending closed delta 50 harbor pending harbor closed closed birch 61 delta closed amber active active harbor 87 delta pending cobalt ready ready harbor 41 ember ready indigo failed active ember 102 fable paused birch paused closed cobalt 22 ember ready cobalt pending active grove 61 birch failed ...
delta birch harbor harbor ember cobalt grove amber ember ember
118 harbor ready amber pending failed amber 4 cobalt closed amber active pending amber 35 ember paused birch paused paused harbor 7 cobalt ready fable pending ready fable 62 delta paused juniper paused pending delta 51 grove pending ember active pending delta
amber amber harbor fable delta delta
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002809-p1
Output the final field from each line of input.
{print $NF}
114 ember closed fable pending closed delta 50 harbor pending harbor closed closed birch 61 delta closed amber active active harbor 87 delta pending cobalt ready ready harbor 41 ember ready indigo failed active ember 102 fable paused birch paused closed cobalt 22 ember ready cobalt pending active grove 61 birch failed ...
delta birch harbor harbor ember cobalt grove amber ember ember
118 harbor ready amber pending failed amber 4 cobalt closed amber active pending amber 35 ember paused birch paused paused harbor 7 cobalt ready fable pending ready fable 62 delta paused juniper paused pending delta 51 grove pending ember active pending delta
amber amber harbor fable delta delta
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002809
qwen/qwen3.7-plus
awkweave-0002810
Print the complete records where column 1 is less than 53.
$1 < 53
87 active bruno 0 ready alice 7 paused alice 76 closed alice 35 failed kim 94 failed kim 75 failed kim 104 pending hana 76 closed chen 103 failed eli
0 ready alice 7 paused alice 35 failed kim
98 ready farah 52 failed eli 100 pending farah 34 failed alice 27 closed chen 105 ready bruno 9 paused gus
52 failed eli 34 failed alice 27 closed chen 9 paused gus
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002810-p1
Output the full records where the value in the first column is less than 53.
$1 < 53
87 active bruno 0 ready alice 7 paused alice 76 closed alice 35 failed kim 94 failed kim 75 failed kim 104 pending hana 76 closed chen 103 failed eli
0 ready alice 7 paused alice 35 failed kim
98 ready farah 52 failed eli 100 pending farah 34 failed alice 27 closed chen 105 ready bruno 9 paused gus
52 failed eli 34 failed alice 27 closed chen 9 paused gus
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002810
qwen/qwen3.7-plus
awkweave-0002811
Show whole lines whose 1st field is between 10 and 20, inclusive.
$1 >= 10 && $1 <= 20
26 paused indigo active 17 ready juniper closed 29 paused fable closed 28 active cobalt ready 19 ready birch failed 10 paused harbor paused 28 closed indigo failed 29 paused grove pending
17 ready juniper closed 19 ready birch failed 10 paused harbor paused
14 paused fable failed 26 closed harbor paused 23 closed ember failed 15 closed birch pending 8 pending juniper closed 13 failed cobalt failed 29 failed birch active 14 active cobalt active 2 active cobalt paused
14 paused fable failed 15 closed birch pending 13 failed cobalt failed 14 active cobalt active
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002811-p1
Display entire lines where the first field falls within the inclusive range of 10 to 20.
$1 >= 10 && $1 <= 20
26 paused indigo active 17 ready juniper closed 29 paused fable closed 28 active cobalt ready 19 ready birch failed 10 paused harbor paused 28 closed indigo failed 29 paused grove pending
17 ready juniper closed 19 ready birch failed 10 paused harbor paused
14 paused fable failed 26 closed harbor paused 23 closed ember failed 15 closed birch pending 8 pending juniper closed 13 failed cobalt failed 29 failed birch active 14 active cobalt active 2 active cobalt paused
14 paused fable failed 15 closed birch pending 13 failed cobalt failed 14 active cobalt active
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002811
qwen/qwen3.7-plus
awkweave-0002812
Print column 1 only for rows where column 3 is exactly ready.
$3 == "ready"{print $1}
ivan grove ready 81 bruno harbor pending 8 dina ember ready 2 hana grove closed 40 jules ember closed 6 jules ember ready 87 ivan grove failed 32
ivan dina jules
kim indigo active 118 jules indigo ready 52 lina ember pending 39 bruno fable pending 15 lina amber pending 110 gus delta ready 20
jules gus
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002812-p1
Display the first column exclusively for rows where the third column matches 'ready' exactly.
$3 == "ready"{print $1}
ivan grove ready 81 bruno harbor pending 8 dina ember ready 2 hana grove closed 40 jules ember closed 6 jules ember ready 87 ivan grove failed 32
ivan dina jules
kim indigo active 118 jules indigo ready 52 lina ember pending 39 bruno fable pending 15 lina amber pending 110 gus delta ready 20
jules gus
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002812
qwen/qwen3.7-plus
awkweave-0002813
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
INFO fable 50 INFO harbor 94 WARN delta 31 DEBUG indigo 111 DEBUG juniper 57 ERROR delta 34 WARN grove 41 WARN grove 110
INFO fable 50 INFO harbor 94
INFO delta 110 WARN indigo 16 DEBUG cobalt 73 INFO indigo 34 ERROR grove 94 DEBUG birch 42 INFO harbor 23 INFO cobalt 82
INFO delta 110 INFO indigo 34 INFO harbor 23 INFO cobalt 82
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002813-p1
Output all fields from lines where the first field starts with 'INFO'.
$1 ~ /^INFO/
INFO fable 50 INFO harbor 94 WARN delta 31 DEBUG indigo 111 DEBUG juniper 57 ERROR delta 34 WARN grove 41 WARN grove 110
INFO fable 50 INFO harbor 94
INFO delta 110 WARN indigo 16 DEBUG cobalt 73 INFO indigo 34 ERROR grove 94 DEBUG birch 42 INFO harbor 23 INFO cobalt 82
INFO delta 110 INFO indigo 34 INFO harbor 23 INFO cobalt 82
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002813
qwen/qwen3.7-plus
awkweave-0002814
Print every line except those containing the exact text juniper.
$0 !~ /juniper/
delta 92 pending birch 111 pending grove 92 pending ember 71 pending birch 57 ready fable 78 active cobalt 72 closed cobalt 21 active indigo 36 ready birch 58 paused juniper 999 active
delta 92 pending birch 111 pending grove 92 pending ember 71 pending birch 57 ready fable 78 active cobalt 72 closed cobalt 21 active indigo 36 ready birch 58 paused
juniper 46 ready cobalt 15 active amber 50 failed fable 81 paused amber 28 active ember 53 paused juniper 103 closed indigo 56 paused juniper 23 ready juniper 999 active
cobalt 15 active amber 50 failed fable 81 paused amber 28 active ember 53 paused indigo 56 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002814-p1
Print every line that does not contain the exact string 'juniper'.
$0 !~ /juniper/
delta 92 pending birch 111 pending grove 92 pending ember 71 pending birch 57 ready fable 78 active cobalt 72 closed cobalt 21 active indigo 36 ready birch 58 paused juniper 999 active
delta 92 pending birch 111 pending grove 92 pending ember 71 pending birch 57 ready fable 78 active cobalt 72 closed cobalt 21 active indigo 36 ready birch 58 paused
juniper 46 ready cobalt 15 active amber 50 failed fable 81 paused amber 28 active ember 53 paused juniper 103 closed indigo 56 paused juniper 23 ready juniper 999 active
cobalt 15 active amber 50 failed fable 81 paused amber 28 active ember 53 paused indigo 56 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002814
qwen/qwen3.7-plus
awkweave-0002815
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
gus fable 90 farah fable 62 farah indigo 63 jules cobalt 56 gus grove 10 gus birch 63
farah fable 62 farah indigo 63 jules cobalt 56 gus grove 10
bruno delta 31 jules juniper 61 jules harbor 8 jules birch 88 dina amber 24 hana amber 47 jules amber 90 ivan ember 18 alice cobalt 19
jules juniper 61 jules harbor 8 jules birch 88 dina amber 24
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002815-p1
Output lines 2 to 5, inclusive of both the start and end lines.
NR >= 2 && NR <= 5
gus fable 90 farah fable 62 farah indigo 63 jules cobalt 56 gus grove 10 gus birch 63
farah fable 62 farah indigo 63 jules cobalt 56 gus grove 10
bruno delta 31 jules juniper 61 jules harbor 8 jules birch 88 dina amber 24 hana amber 47 jules amber 90 ivan ember 18 alice cobalt 19
jules juniper 61 jules harbor 8 jules birch 88 dina amber 24
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002815
qwen/qwen3.7-plus
awkweave-0002816
Output only the first 2 records.
NR <= 2
dina 118 delta hana 32 birch alice 6 birch alice 6 birch ivan 1 cobalt chen 65 amber eli 27 grove dina 46 delta
dina 118 delta hana 32 birch
ivan 64 birch eli 103 cobalt hana 27 amber eli 74 harbor ivan 0 indigo alice 23 indigo alice 1 harbor
ivan 64 birch eli 103 cobalt
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002816-p1
Display only the initial 2 records.
NR <= 2
dina 118 delta hana 32 birch alice 6 birch alice 6 birch ivan 1 cobalt chen 65 amber eli 27 grove dina 46 delta
dina 118 delta hana 32 birch
ivan 64 birch eli 103 cobalt hana 27 amber eli 74 harbor ivan 0 indigo alice 23 indigo alice 1 harbor
ivan 64 birch eli 103 cobalt
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002816
qwen/qwen3.7-plus
awkweave-0002817
Skip the first line and print every remaining line unchanged.
NR > 1
jules 91 ember alice 41 grove alice 28 amber chen 48 fable hana 21 ember jules 110 fable
alice 41 grove alice 28 amber chen 48 fable hana 21 ember jules 110 fable
alice 119 delta chen 106 delta ivan 62 fable hana 88 juniper alice 111 harbor lina 47 birch ivan 76 cobalt farah 24 fable
chen 106 delta ivan 62 fable hana 88 juniper alice 111 harbor lina 47 birch ivan 76 cobalt farah 24 fable
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002817-p1
Omit the first line and print all subsequent lines without modification.
NR > 1
jules 91 ember alice 41 grove alice 28 amber chen 48 fable hana 21 ember jules 110 fable
alice 41 grove alice 28 amber chen 48 fable hana 21 ember jules 110 fable
alice 119 delta chen 106 delta ivan 62 fable hana 88 juniper alice 111 harbor lina 47 birch ivan 76 cobalt farah 24 fable
chen 106 delta ivan 62 fable hana 88 juniper alice 111 harbor lina 47 birch ivan 76 cobalt farah 24 fable
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002817
qwen/qwen3.7-plus
awkweave-0002818
Count how many records have pending in column 2. Print 0 if there are none.
$2 == "pending"{n++}END{print n+0}
alice active 58 dina ready 37 gus active 113 lina pending 103 dina paused 58 ivan closed 54
1
eli paused 43 farah failed 117 hana ready 36 bruno paused 112 alice active 53 gus closed 45
0
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002818-p1
Count the number of records with 'pending' in the second column, printing 0 if none exist.
$2 == "pending"{n++}END{print n+0}
alice active 58 dina ready 37 gus active 113 lina pending 103 dina paused 58 ivan closed 54
1
eli paused 43 farah failed 117 hana ready 36 bruno paused 112 alice active 53 gus closed 45
0
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002818
qwen/qwen3.7-plus
awkweave-0002819
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
9 indigo ivan 17 fable lina 6 birch lina 27 harbor gus 30 juniper jules 4 ember hana 16 ember jules
109
15 amber kim 17 fable dina 27 grove gus 25 cobalt lina 27 amber eli 11 fable dina 13 birch farah 18 juniper farah 25 harbor hana 2 cobalt hana
180
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002819-p1
Compute and display the sum of integer values found in the first column.
{s+=$1}END{print s+0}
9 indigo ivan 17 fable lina 6 birch lina 27 harbor gus 30 juniper jules 4 ember hana 16 ember jules
109
15 amber kim 17 fable dina 27 grove gus 25 cobalt lina 27 amber eli 11 fable dina 13 birch farah 18 juniper farah 25 harbor hana 2 cobalt hana
180
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002819
qwen/qwen3.7-plus
awkweave-0002820
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 grove alice 19 harbor lina 14 fable eli 6 fable dina 24 birch hana 1 delta bruno
12.17
8 fable ivan 9 juniper jules 21 ember gus 13 delta bruno 30 amber alice 22 ember alice 27 amber kim
18.57
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002820-p1
Calculate the average of the first column and print it rounded to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
9 grove alice 19 harbor lina 14 fable eli 6 fable dina 24 birch hana 1 delta bruno
12.17
8 fable ivan 9 juniper jules 21 ember gus 13 delta bruno 30 amber alice 22 ember alice 27 amber kim
18.57
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002820
qwen/qwen3.7-plus
awkweave-0002821
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan cobalt 19 kim harbor 30 lina grove 12 kim delta 8 hana birch 13 dina ember 27
8
gus grove 23 chen grove 26 chen birch 22 jules juniper 14 farah fable 6 ivan delta 26 bruno amber 3 ivan ember 29 kim juniper 28 hana cobalt 3
3
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002821-p1
Identify and output the minimum numeric value in the third column.
NR==1||$3<extreme{extreme=$3}END{print extreme}
ivan cobalt 19 kim harbor 30 lina grove 12 kim delta 8 hana birch 13 dina ember 27
8
gus grove 23 chen grove 26 chen birch 22 jules juniper 14 farah fable 6 ivan delta 26 bruno amber 3 ivan ember 29 kim juniper 28 hana cobalt 3
3
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002821
qwen/qwen3.7-plus
awkweave-0002822
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina birch 3 gus harbor 11 ivan juniper 21 alice juniper 10 jules cobalt 16 jules amber 26 bruno cobalt 26
26
kim amber 29 chen harbor 1 eli harbor 1 lina indigo 15 kim birch 24 bruno birch 10 hana delta 19
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002822-p1
Identify and output the maximum numeric value in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina birch 3 gus harbor 11 ivan juniper 21 alice juniper 10 jules cobalt 16 jules amber 26 bruno cobalt 26
26
kim amber 29 chen harbor 1 eli harbor 1 lina indigo 15 kim birch 24 bruno birch 10 hana delta 19
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002822
qwen/qwen3.7-plus
awkweave-0002823
Count all input records and print the total.
END{print NR}
eli 21 dina 89 bruno 37 dina 39 alice 68 alice 55 gus 17 bruno 73
8
eli 51 chen 58 farah 27 lina 92 farah 38 dina 54 hana 60 hana 47
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002823-p1
Count the total number of input records and print the result.
END{print NR}
eli 21 dina 89 bruno 37 dina 39 alice 68 alice 55 gus 17 bruno 73
8
eli 51 chen 58 farah 27 lina 92 farah 38 dina 54 hana 60 hana 47
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002823
qwen/qwen3.7-plus
awkweave-0002824
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana harbor 22 hana harbor 22 bruno amber 99 chen ember 88 alice cobalt 29 chen juniper 52 jules juniper 43 farah ember 105
hana harbor 22 bruno amber 99 chen ember 88 alice cobalt 29 chen juniper 52 jules juniper 43 farah ember 105
bruno ember 76 jules grove 21 gus amber 53 gus amber 79 gus amber 53 bruno fable 37 hana delta 45
bruno ember 76 jules grove 21 gus amber 53 gus amber 79 bruno fable 37 hana delta 45
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002824-p1
Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance.
!seen[$0]++
hana harbor 22 hana harbor 22 bruno amber 99 chen ember 88 alice cobalt 29 chen juniper 52 jules juniper 43 farah ember 105
hana harbor 22 bruno amber 99 chen ember 88 alice cobalt 29 chen juniper 52 jules juniper 43 farah ember 105
bruno ember 76 jules grove 21 gus amber 53 gus amber 79 gus amber 53 bruno fable 37 hana delta 45
bruno ember 76 jules grove 21 gus amber 53 gus amber 79 bruno fable 37 hana delta 45
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002824
qwen/qwen3.7-plus
awkweave-0002825
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
dina amber 57 jules grove 70 farah birch 79 kim delta 26 chen harbor 62 kim harbor 100
dina amber 57 jules grove 70 farah birch 79 kim delta 26 chen harbor 62
eli harbor 113 gus indigo 2 gus grove 68 dina delta 14 ivan indigo 41 ivan fable 85
eli harbor 113 gus indigo 2 gus grove 68 dina delta 14 ivan fable 85
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002825-p1
Retain only the initial line for every unique value found in the second column, preserving the input order.
!seen[$2]++
dina amber 57 jules grove 70 farah birch 79 kim delta 26 chen harbor 62 kim harbor 100
dina amber 57 jules grove 70 farah birch 79 kim delta 26 chen harbor 62
eli harbor 113 gus indigo 2 gus grove 68 dina delta 14 ivan indigo 41 ivan fable 85
eli harbor 113 gus indigo 2 gus grove 68 dina delta 14 ivan fable 85
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002825
qwen/qwen3.7-plus
awkweave-0002826
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
ivan 27 fable bruno 19 fable lina 11 ember hana 21 grove lina 16 juniper ivan 28 indigo hana 21 cobalt eli 6 fable eli 27 fable
ivan 27 bruno 46 lina 57 hana 78 lina 94 ivan 122 hana 143 eli 149 eli 176
kim 12 birch bruno 4 amber dina 28 birch eli 24 grove farah 15 grove gus 14 indigo gus 25 fable
kim 12 bruno 16 dina 44 eli 68 farah 83 gus 97 gus 122
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002826-p1
Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
ivan 27 fable bruno 19 fable lina 11 ember hana 21 grove lina 16 juniper ivan 28 indigo hana 21 cobalt eli 6 fable eli 27 fable
ivan 27 bruno 46 lina 57 hana 78 lina 94 ivan 122 hana 143 eli 149 eli 176
kim 12 birch bruno 4 amber dina 28 birch eli 24 grove farah 15 grove gus 14 indigo gus 25 fable
kim 12 bruno 16 dina 44 eli 68 farah 83 gus 97 gus 122
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002826
qwen/qwen3.7-plus
awkweave-0002827
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
jules 21 6 ember eli 27 1 birch farah 20 2 ember ivan 30 3 juniper kim 3 26 birch bruno 12 14 grove gus 13 21 grove kim 21 13 ember
jules 27 eli 28 farah 22 ivan 33 kim 29 bruno 26 gus 34 kim 34
dina 28 23 indigo farah 8 1 cobalt ivan 30 15 amber alice 18 28 juniper gus 6 11 juniper kim 9 19 delta bruno 12 11 ember hana 17 30 birch hana 12 27 amber
dina 51 farah 9 ivan 45 alice 46 gus 17 kim 28 bruno 23 hana 47 hana 39
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002827-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
jules 21 6 ember eli 27 1 birch farah 20 2 ember ivan 30 3 juniper kim 3 26 birch bruno 12 14 grove gus 13 21 grove kim 21 13 ember
jules 27 eli 28 farah 22 ivan 33 kim 29 bruno 26 gus 34 kim 34
dina 28 23 indigo farah 8 1 cobalt ivan 30 15 amber alice 18 28 juniper gus 6 11 juniper kim 9 19 delta bruno 12 11 ember hana 17 30 birch hana 12 27 amber
dina 51 farah 9 ivan 45 alice 46 gus 17 kim 28 bruno 23 hana 47 hana 39
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002827
qwen/qwen3.7-plus
awkweave-0002828
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
lina 4 eli 7 gus 2 kim 11 chen 12 chen 8
lina fail eli fail gus fail kim fail chen fail chen fail
lina 2 kim 29 kim 26 alice 3 jules 18 jules 1 dina 4 dina 17 jules 1 ivan 21
lina fail kim pass kim fail alice fail jules fail jules fail dina fail dina fail jules fail ivan fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002828-p1
Output the first column and print 'pass' if the second column is 27 or greater; otherwise, print 'fail'.
{print $1,($2>=27?"pass":"fail")}
lina 4 eli 7 gus 2 kim 11 chen 12 chen 8
lina fail eli fail gus fail kim fail chen fail chen fail
lina 2 kim 29 kim 26 alice 3 jules 18 jules 1 dina 4 dina 17 jules 1 ivan 21
lina fail kim pass kim fail alice fail jules fail jules fail dina fail dina fail jules fail ivan fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002828
qwen/qwen3.7-plus
awkweave-0002829
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
dina ember 38 alice ember 39 bruno indigo 37 farah harbor 50 bruno indigo 3 kim grove 119 dina birch 111 alice birch 56 farah indigo 35
DINA ALICE BRUNO FARAH BRUNO KIM DINA ALICE FARAH
hana amber 38 dina ember 97 eli delta 56 dina grove 112 hana birch 8 gus delta 35
HANA DINA ELI DINA HANA GUS
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0002829-p1
Transform the first column to uppercase and output only that modified column.
{print toupper($1)}
dina ember 38 alice ember 39 bruno indigo 37 farah harbor 50 bruno indigo 3 kim grove 119 dina birch 111 alice birch 56 farah indigo 35
DINA ALICE BRUNO FARAH BRUNO KIM DINA ALICE FARAH
hana amber 38 dina ember 97 eli delta 56 dina grove 112 hana birch 8 gus delta 35
HANA DINA ELI DINA HANA GUS
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0002829
qwen/qwen3.7-plus
awkweave-0002830
From column 1, print 4 characters starting at character 1.
{print substr($1,1,4)}
grove 0 grove 23 amber 1 harbor 7 delta 80 juniper 41 delta 83 birch 10 grove 40 cobalt 17
grov grov ambe harb delt juni delt birc grov coba
amber 84 indigo 19 delta 72 cobalt 101 juniper 78 birch 116 indigo 94 fable 88
ambe indi delt coba juni birc indi fabl
substring
1
train
original-grammar
CC-BY-4.0
null
null