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-0041771-p1
Display full records where the value in the second column exceeds 45.
$2 > 45
closed 91 ready paused 5 active paused 115 failed pending 85 closed paused 111 pending active 43 ready ready 75 closed
closed 91 ready paused 115 failed pending 85 closed paused 111 pending ready 75 closed
failed 39 pending paused 67 paused active 111 closed closed 99 closed active 28 ready failed 106 active failed 114 pending ready 25 paused failed 73 pending failed 109 ready
paused 67 paused active 111 closed closed 99 closed failed 106 active failed 114 pending failed 73 pending failed 109 ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041771
qwen/qwen3.7-plus
awkweave-0041772
Show whole lines whose 1st field is between 3 and 21, inclusive.
$1 >= 3 && $1 <= 21
19 dina active cobalt 30 eli pending fable 19 hana active delta 28 lina active fable 8 ivan failed indigo 24 jules ready amber 21 lina paused delta 9 bruno failed birch
19 dina active cobalt 19 hana active delta 8 ivan failed indigo 21 lina paused delta 9 bruno failed birch
4 farah failed harbor 16 farah pending harbor 5 farah failed ember 18 lina active amber 10 chen failed ember 29 alice active ember 26 farah paused ember 4 gus pending ember
4 farah failed harbor 16 farah pending harbor 5 farah failed ember 18 lina active amber 10 chen failed ember 4 gus pending ember
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041772-p1
Print entire lines where the first field falls within the inclusive range of 3 to 21.
$1 >= 3 && $1 <= 21
19 dina active cobalt 30 eli pending fable 19 hana active delta 28 lina active fable 8 ivan failed indigo 24 jules ready amber 21 lina paused delta 9 bruno failed birch
19 dina active cobalt 19 hana active delta 8 ivan failed indigo 21 lina paused delta 9 bruno failed birch
4 farah failed harbor 16 farah pending harbor 5 farah failed ember 18 lina active amber 10 chen failed ember 29 alice active ember 26 farah paused ember 4 gus pending ember
4 farah failed harbor 16 farah pending harbor 5 farah failed ember 18 lina active amber 10 chen failed ember 4 gus pending ember
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041772
qwen/qwen3.7-plus
awkweave-0041773
Print column 4 only for rows where column 2 is exactly ready.
$2 == "ready"{print $4}
114 ready delta hana 42 paused indigo bruno 46 failed ember chen 11 active harbor gus 120 failed grove ivan 24 closed juniper hana 109 ready cobalt eli 54 active fable hana 84 active fable gus
hana eli
16 pending fable ivan 0 active indigo lina 16 failed delta hana 19 closed grove gus 73 active grove lina 42 closed fable kim 105 pending harbor chen 27 pending amber gus 64 failed amber alice 53 closed juniper bruno
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041773-p1
Output only the fourth column for rows where the second column contains exactly 'ready'.
$2 == "ready"{print $4}
114 ready delta hana 42 paused indigo bruno 46 failed ember chen 11 active harbor gus 120 failed grove ivan 24 closed juniper hana 109 ready cobalt eli 54 active fable hana 84 active fable gus
hana eli
16 pending fable ivan 0 active indigo lina 16 failed delta hana 19 closed grove gus 73 active grove lina 42 closed fable kim 105 pending harbor chen 27 pending amber gus 64 failed amber alice 53 closed juniper bruno
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041773
qwen/qwen3.7-plus
awkweave-0041774
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
birch WARN 41 grove DEBUG 16 ember INFO 46 indigo DEBUG 83 indigo ERROR 61 birch INFO 32
indigo ERROR 61
birch ERROR 103 grove INFO 115 cobalt WARN 113 harbor INFO 52 amber INFO 57 juniper WARN 20 grove INFO 103 juniper WARN 28 juniper WARN 10
birch ERROR 103
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041774-p1
Print all fields from any line where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
birch WARN 41 grove DEBUG 16 ember INFO 46 indigo DEBUG 83 indigo ERROR 61 birch INFO 32
indigo ERROR 61
birch ERROR 103 grove INFO 115 cobalt WARN 113 harbor INFO 52 amber INFO 57 juniper WARN 20 grove INFO 103 juniper WARN 28 juniper WARN 10
birch ERROR 103
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041774
qwen/qwen3.7-plus
awkweave-0041775
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
ember 62 paused cobalt 100 pending harbor 77 paused juniper 7 ready indigo 24 failed cobalt 83 pending ember 19 paused amber 62 pending juniper 46 active harbor 999 active
ember 62 paused cobalt 100 pending juniper 7 ready indigo 24 failed cobalt 83 pending ember 19 paused amber 62 pending juniper 46 active
amber 66 ready ember 82 ready juniper 56 ready fable 103 paused grove 112 pending juniper 55 failed ember 108 pending juniper 14 active amber 70 active harbor 999 active
amber 66 ready ember 82 ready juniper 56 ready fable 103 paused grove 112 pending juniper 55 failed ember 108 pending juniper 14 active amber 70 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041775-p1
Output every line that does not contain the exact string 'harbor'.
$0 !~ /harbor/
ember 62 paused cobalt 100 pending harbor 77 paused juniper 7 ready indigo 24 failed cobalt 83 pending ember 19 paused amber 62 pending juniper 46 active harbor 999 active
ember 62 paused cobalt 100 pending juniper 7 ready indigo 24 failed cobalt 83 pending ember 19 paused amber 62 pending juniper 46 active
amber 66 ready ember 82 ready juniper 56 ready fable 103 paused grove 112 pending juniper 55 failed ember 108 pending juniper 14 active amber 70 active harbor 999 active
amber 66 ready ember 82 ready juniper 56 ready fable 103 paused grove 112 pending juniper 55 failed ember 108 pending juniper 14 active amber 70 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041775
qwen/qwen3.7-plus
awkweave-0041776
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
bruno ember 65 eli harbor 118 chen cobalt 112 alice cobalt 120 ivan grove 65 eli juniper 115
eli harbor 118 chen cobalt 112 alice cobalt 120 ivan grove 65
alice cobalt 85 lina fable 64 jules indigo 77 eli juniper 109 lina indigo 22 eli harbor 6
lina fable 64 jules indigo 77 eli juniper 109 lina indigo 22
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041776-p1
Print lines 2 through 5, inclusive of both endpoints.
NR >= 2 && NR <= 5
bruno ember 65 eli harbor 118 chen cobalt 112 alice cobalt 120 ivan grove 65 eli juniper 115
eli harbor 118 chen cobalt 112 alice cobalt 120 ivan grove 65
alice cobalt 85 lina fable 64 jules indigo 77 eli juniper 109 lina indigo 22 eli harbor 6
lina fable 64 jules indigo 77 eli juniper 109 lina indigo 22
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041776
qwen/qwen3.7-plus
awkweave-0041777
Output only the first 2 records.
NR <= 2
alice 106 indigo farah 24 amber dina 62 ember dina 62 cobalt chen 109 juniper hana 60 grove farah 119 ember
alice 106 indigo farah 24 amber
lina 65 juniper farah 84 delta gus 86 ember bruno 6 juniper jules 42 cobalt farah 18 birch gus 79 fable
lina 65 juniper farah 84 delta
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041777-p1
Display only the first two records.
NR <= 2
alice 106 indigo farah 24 amber dina 62 ember dina 62 cobalt chen 109 juniper hana 60 grove farah 119 ember
alice 106 indigo farah 24 amber
lina 65 juniper farah 84 delta gus 86 ember bruno 6 juniper jules 42 cobalt farah 18 birch gus 79 fable
lina 65 juniper farah 84 delta
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041777
qwen/qwen3.7-plus
awkweave-0041778
Skip the first line and print every remaining line unchanged.
NR > 1
farah 69 grove lina 42 juniper bruno 17 amber bruno 26 amber jules 17 fable eli 36 harbor alice 75 amber
lina 42 juniper bruno 17 amber bruno 26 amber jules 17 fable eli 36 harbor alice 75 amber
farah 103 amber lina 79 harbor dina 43 indigo jules 47 ember gus 29 birch farah 20 birch alice 57 cobalt alice 68 birch farah 46 delta
lina 79 harbor dina 43 indigo jules 47 ember gus 29 birch farah 20 birch alice 57 cobalt alice 68 birch farah 46 delta
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041778-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
farah 69 grove lina 42 juniper bruno 17 amber bruno 26 amber jules 17 fable eli 36 harbor alice 75 amber
lina 42 juniper bruno 17 amber bruno 26 amber jules 17 fable eli 36 harbor alice 75 amber
farah 103 amber lina 79 harbor dina 43 indigo jules 47 ember gus 29 birch farah 20 birch alice 57 cobalt alice 68 birch farah 46 delta
lina 79 harbor dina 43 indigo jules 47 ember gus 29 birch farah 20 birch alice 57 cobalt alice 68 birch farah 46 delta
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041778
qwen/qwen3.7-plus
awkweave-0041779
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
eli active 36 bruno failed 30 dina paused 23 jules pending 117 ivan ready 55 chen paused 60 lina pending 48
1
gus ready 57 alice failed 19 eli ready 76 lina closed 101 hana closed 47 gus failed 5
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041779-p1
Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero.
$2 == "failed"{n++}END{print n+0}
eli active 36 bruno failed 30 dina paused 23 jules pending 117 ivan ready 55 chen paused 60 lina pending 48
1
gus ready 57 alice failed 19 eli ready 76 lina closed 101 hana closed 47 gus failed 5
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041779
qwen/qwen3.7-plus
awkweave-0041780
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
2 alice delta 10 hana delta 12 lina grove 29 hana ember 22 hana juniper 1 alice amber 2 hana harbor 28 gus ember 21 hana fable
127
7 kim harbor 25 chen harbor 5 eli amber 21 ivan fable 3 dina amber 16 gus delta
77
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041780-p1
Compute and display the total sum of integer values found in the first column.
{s+=$1}END{print s+0}
2 alice delta 10 hana delta 12 lina grove 29 hana ember 22 hana juniper 1 alice amber 2 hana harbor 28 gus ember 21 hana fable
127
7 kim harbor 25 chen harbor 5 eli amber 21 ivan fable 3 dina amber 16 gus delta
77
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041780
qwen/qwen3.7-plus
awkweave-0041781
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
birch gus 23 fable lina 14 ember kim 1 amber lina 27 birch gus 13 cobalt alice 27 ember eli 13 birch farah 17 cobalt dina 14 delta gus 12
16.10
grove alice 28 amber dina 24 harbor alice 4 delta bruno 14 harbor kim 9 indigo bruno 24 delta jules 26 indigo ivan 19 birch bruno 26
19.33
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041781-p1
Output the average value of the third column, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
birch gus 23 fable lina 14 ember kim 1 amber lina 27 birch gus 13 cobalt alice 27 ember eli 13 birch farah 17 cobalt dina 14 delta gus 12
16.10
grove alice 28 amber dina 24 harbor alice 4 delta bruno 14 harbor kim 9 indigo bruno 24 delta jules 26 indigo ivan 19 birch bruno 26
19.33
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041781
qwen/qwen3.7-plus
awkweave-0041782
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
16 harbor lina 4 ember hana 3 amber jules 1 birch hana 30 amber dina 11 delta dina
1
24 ember dina 16 indigo dina 24 cobalt farah 26 birch bruno 28 harbor kim 23 indigo kim 27 delta eli
16
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041782-p1
Identify and print the minimum numerical value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
16 harbor lina 4 ember hana 3 amber jules 1 birch hana 30 amber dina 11 delta dina
1
24 ember dina 16 indigo dina 24 cobalt farah 26 birch bruno 28 harbor kim 23 indigo kim 27 delta eli
16
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041782
qwen/qwen3.7-plus
awkweave-0041783
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 22 bruno delta 25 gus birch 14 dina birch 9 ivan ember 27 gus indigo 27 dina fable 15 eli cobalt 8 eli cobalt 17 dina
27
amber 6 farah delta 4 gus grove 23 hana cobalt 20 kim juniper 16 chen fable 1 farah amber 3 eli amber 16 hana
23
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041783-p1
Identify and print the maximum numerical value present in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
juniper 22 bruno delta 25 gus birch 14 dina birch 9 ivan ember 27 gus indigo 27 dina fable 15 eli cobalt 8 eli cobalt 17 dina
27
amber 6 farah delta 4 gus grove 23 hana cobalt 20 kim juniper 16 chen fable 1 farah amber 3 eli amber 16 hana
23
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041783
qwen/qwen3.7-plus
awkweave-0041784
Count all input records and print the total.
END{print NR}
dina 40 chen 100 ivan 101 dina 63 dina 18 jules 1 hana 49 lina 25 bruno 94 alice 42
10
eli 40 gus 92 farah 113 bruno 109 farah 20 lina 37 kim 41 gus 62 hana 85 eli 71
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041784-p1
Count the total number of input records and display the result.
END{print NR}
dina 40 chen 100 ivan 101 dina 63 dina 18 jules 1 hana 49 lina 25 bruno 94 alice 42
10
eli 40 gus 92 farah 113 bruno 109 farah 20 lina 37 kim 41 gus 62 hana 85 eli 71
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041784
qwen/qwen3.7-plus
awkweave-0041785
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
farah juniper 48 ivan harbor 106 hana ember 34 farah grove 81 hana delta 110 farah fable 101 hana ember 34 bruno cobalt 61 lina delta 3
farah juniper 48 ivan harbor 106 hana ember 34 farah grove 81 hana delta 110 farah fable 101 bruno cobalt 61 lina delta 3
chen amber 40 chen amber 40 ivan fable 22 gus harbor 47 kim delta 44 bruno indigo 88 bruno ember 115 eli cobalt 2 hana indigo 35
chen amber 40 ivan fable 22 gus harbor 47 kim delta 44 bruno indigo 88 bruno ember 115 eli cobalt 2 hana indigo 35
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041785-p1
Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each.
!seen[$0]++
farah juniper 48 ivan harbor 106 hana ember 34 farah grove 81 hana delta 110 farah fable 101 hana ember 34 bruno cobalt 61 lina delta 3
farah juniper 48 ivan harbor 106 hana ember 34 farah grove 81 hana delta 110 farah fable 101 bruno cobalt 61 lina delta 3
chen amber 40 chen amber 40 ivan fable 22 gus harbor 47 kim delta 44 bruno indigo 88 bruno ember 115 eli cobalt 2 hana indigo 35
chen amber 40 ivan fable 22 gus harbor 47 kim delta 44 bruno indigo 88 bruno ember 115 eli cobalt 2 hana indigo 35
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041785
qwen/qwen3.7-plus
awkweave-0041786
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
jules amber 96 gus delta 20 jules delta 118 chen juniper 47 ivan birch 8 ivan juniper 105 gus cobalt 50
jules amber 96 gus delta 20 chen juniper 47 ivan birch 8
alice juniper 63 dina ember 118 alice amber 118 jules harbor 40 gus fable 92 lina grove 2 lina delta 51 jules juniper 108 alice grove 60 kim grove 69
alice juniper 63 dina ember 118 jules harbor 40 gus fable 92 lina grove 2 kim grove 69
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041786-p1
Retain only the first occurrence for every unique value in the first column, preserving the original sequence.
!seen[$1]++
jules amber 96 gus delta 20 jules delta 118 chen juniper 47 ivan birch 8 ivan juniper 105 gus cobalt 50
jules amber 96 gus delta 20 chen juniper 47 ivan birch 8
alice juniper 63 dina ember 118 alice amber 118 jules harbor 40 gus fable 92 lina grove 2 lina delta 51 jules juniper 108 alice grove 60 kim grove 69
alice juniper 63 dina ember 118 jules harbor 40 gus fable 92 lina grove 2 kim grove 69
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041786
qwen/qwen3.7-plus
awkweave-0041787
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 14 cobalt hana 4 fable eli 20 harbor chen 20 juniper gus 8 cobalt bruno 24 cobalt lina 8 grove alice 30 grove bruno 2 indigo
gus 14 hana 18 eli 38 chen 58 gus 66 bruno 90 lina 98 alice 128 bruno 130
alice 22 fable chen 26 cobalt farah 7 cobalt jules 23 indigo ivan 4 amber chen 18 juniper
alice 22 chen 48 farah 55 jules 78 ivan 82 chen 100
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041787-p1
For each entry, output the first column alongside the cumulative sum of the second column, separated by a space.
{s+=$2;print $1,s}
gus 14 cobalt hana 4 fable eli 20 harbor chen 20 juniper gus 8 cobalt bruno 24 cobalt lina 8 grove alice 30 grove bruno 2 indigo
gus 14 hana 18 eli 38 chen 58 gus 66 bruno 90 lina 98 alice 128 bruno 130
alice 22 fable chen 26 cobalt farah 7 cobalt jules 23 indigo ivan 4 amber chen 18 juniper
alice 22 chen 48 farah 55 jules 78 ivan 82 chen 100
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041787
qwen/qwen3.7-plus
awkweave-0041788
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 8 28 fable kim 9 3 ember kim 25 16 indigo bruno 13 14 indigo jules 22 6 harbor alice 13 27 cobalt lina 4 27 amber
bruno 36 kim 12 kim 41 bruno 27 jules 28 alice 40 lina 31
farah 19 4 juniper jules 24 22 delta gus 6 25 cobalt gus 11 21 grove ivan 2 23 amber eli 21 27 grove gus 19 28 fable chen 18 27 juniper bruno 24 1 grove hana 26 30 cobalt
farah 23 jules 46 gus 31 gus 32 ivan 25 eli 48 gus 47 chen 45 bruno 25 hana 56
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041788-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
bruno 8 28 fable kim 9 3 ember kim 25 16 indigo bruno 13 14 indigo jules 22 6 harbor alice 13 27 cobalt lina 4 27 amber
bruno 36 kim 12 kim 41 bruno 27 jules 28 alice 40 lina 31
farah 19 4 juniper jules 24 22 delta gus 6 25 cobalt gus 11 21 grove ivan 2 23 amber eli 21 27 grove gus 19 28 fable chen 18 27 juniper bruno 24 1 grove hana 26 30 cobalt
farah 23 jules 46 gus 31 gus 32 ivan 25 eli 48 gus 47 chen 45 bruno 25 hana 56
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041788
qwen/qwen3.7-plus
awkweave-0041789
Print column 1 and pass when column 2 is at least 27; otherwise print fail.
{print $1,($2>=27?"pass":"fail")}
kim 29 alice 18 chen 1 kim 10 jules 12 bruno 28 hana 24 lina 14
kim pass alice fail chen fail kim fail jules fail bruno pass hana fail lina fail
hana 27 jules 14 eli 9 alice 21 farah 10 bruno 1 farah 19 eli 18
hana pass jules fail eli fail alice fail farah fail bruno fail farah fail eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041789-p1
Output the first column and label it 'pass' if the second column is 27 or greater; otherwise, label it 'fail'.
{print $1,($2>=27?"pass":"fail")}
kim 29 alice 18 chen 1 kim 10 jules 12 bruno 28 hana 24 lina 14
kim pass alice fail chen fail kim fail jules fail bruno pass hana fail lina fail
hana 27 jules 14 eli 9 alice 21 farah 10 bruno 1 farah 19 eli 18
hana pass jules fail eli fail alice fail farah fail bruno fail farah fail eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041789
qwen/qwen3.7-plus
awkweave-0041800
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 26 paused lina 29 active ivan 4 closed kim 8 active kim 14 active lina 19 closed jules 6 pending kim 25 ready gus 27 failed eli 19 closed
farah lina ivan kim kim lina jules kim gus eli
dina 7 closed bruno 16 paused jules 22 ready kim 3 ready gus 16 active alice 10 pending gus 6 paused bruno 12 ready kim 8 paused
dina bruno jules kim gus alice gus bruno kim
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041800-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
farah 26 paused lina 29 active ivan 4 closed kim 8 active kim 14 active lina 19 closed jules 6 pending kim 25 ready gus 27 failed eli 19 closed
farah lina ivan kim kim lina jules kim gus eli
dina 7 closed bruno 16 paused jules 22 ready kim 3 ready gus 16 active alice 10 pending gus 6 paused bruno 12 ready kim 8 paused
dina bruno jules kim gus alice gus bruno kim
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0041800
qwen/qwen3.7-plus
awkweave-0041801
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
ivan,28,paused farah,18,ready alice,1,paused kim,6,pending gus,14,failed dina,1,closed lina,27,closed
ivan lina
eli,18,closed kim,4,paused gus,12,failed lina,12,closed kim,13,ready eli,24,active hana,25,ready bruno,13,ready chen,5,ready
eli hana
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041801-p1
Output the first field of comma-separated records where the second field is strictly greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
ivan,28,paused farah,18,ready alice,1,paused kim,6,pending gus,14,failed dina,1,closed lina,27,closed
ivan lina
eli,18,closed kim,4,paused gus,12,failed lina,12,closed kim,13,ready eli,24,active hana,25,ready bruno,13,ready chen,5,ready
eli hana
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041801
qwen/qwen3.7-plus
awkweave-0041802
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
gus birch 99 ivan harbor 51 farah birch 99 jules cobalt 35 gus cobalt 61 lina birch 11 kim cobalt 74
gus birch 99 ivan harbor 51 farah birch 99 jules cobalt 35 gus cobalt 61 lina birch 11 kim cobalt 74
farah indigo 12 dina juniper 1 hana juniper 78 eli harbor 58 bruno birch 32 lina ember 12 gus amber 2
farah indigo 12 dina juniper 1 hana juniper 78 eli harbor 58 bruno birch 32 lina ember 12 gus amber 2
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041802-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
gus birch 99 ivan harbor 51 farah birch 99 jules cobalt 35 gus cobalt 61 lina birch 11 kim cobalt 74
gus birch 99 ivan harbor 51 farah birch 99 jules cobalt 35 gus cobalt 61 lina birch 11 kim cobalt 74
farah indigo 12 dina juniper 1 hana juniper 78 eli harbor 58 bruno birch 32 lina ember 12 gus amber 2
farah indigo 12 dina juniper 1 hana juniper 78 eli harbor 58 bruno birch 32 lina ember 12 gus amber 2
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041802
qwen/qwen3.7-plus
awkweave-0041803
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus indigo 39 paused jules harbor 64 failed farah delta 29 failed kim cobalt 55 ready farah fable 97 ready gus grove 74 active hana fable 36 pending
jules harbor 64 failed
eli delta 118 paused jules indigo 8 paused ivan delta 33 failed jules amber 38 closed hana birch 8 paused farah ember 71 ready
jules indigo 8 paused
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041803-p1
Identify and print the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
gus indigo 39 paused jules harbor 64 failed farah delta 29 failed kim cobalt 55 ready farah fable 97 ready gus grove 74 active hana fable 36 pending
jules harbor 64 failed
eli delta 118 paused jules indigo 8 paused ivan delta 33 failed jules amber 38 closed hana birch 8 paused farah ember 71 ready
jules indigo 8 paused
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041803
qwen/qwen3.7-plus
awkweave-0041804
Print every 4th line starting at line 1 (then line 5, and so on).
NR%4==1
kim 71 ivan 11 alice 23 dina 6 eli 4 dina 36 dina 38
kim 71 eli 4
hana 32 chen 11 dina 71 dina 65 alice 47 gus 8 ivan 102
hana 32 alice 47
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041804-p1
Print lines 1, 5, 9, and so on, effectively outputting every fourth line starting from the first.
NR%4==1
kim 71 ivan 11 alice 23 dina 6 eli 4 dina 36 dina 38
kim 71 eli 4
hana 32 chen 11 dina 71 dina 65 alice 47 gus 8 ivan 102
hana 32 alice 47
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041804
qwen/qwen3.7-plus
awkweave-0041805
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
alpha indigo 80 alpha delta 63 delta delta 22 beta ember 31 beta fable 14 alpha ember 28 alpha cobalt 108
5
delta birch 19 gamma birch 93 alpha birch 35 delta ember 52 alpha amber 106 alpha delta 102 alpha grove 103 gamma grove 113 alpha birch 48
5
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041805-p1
Calculate and output only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
alpha indigo 80 alpha delta 63 delta delta 22 beta ember 31 beta fable 14 alpha ember 28 alpha cobalt 108
5
delta birch 19 gamma birch 93 alpha birch 35 delta ember 52 alpha amber 106 alpha delta 102 alpha grove 103 gamma grove 113 alpha birch 48
5
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041805
qwen/qwen3.7-plus
awkweave-0041806
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 13 0 eli 13 10 lina 24 17 lina 27 8 bruno 8 8 alice 4 23
eli 1.30 lina 1.41 lina 3.38 bruno 1.00 alice 0.17
jules 6 0 lina 11 13 hana 2 6 ivan 9 21 gus 28 30 eli 25 23 lina 7 8
lina 0.85 hana 0.33 ivan 0.43 gus 0.93 eli 1.09 lina 0.88
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041806-p1
For each row where the third column is non-zero, print 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}
alice 13 0 eli 13 10 lina 24 17 lina 27 8 bruno 8 8 alice 4 23
eli 1.30 lina 1.41 lina 3.38 bruno 1.00 alice 0.17
jules 6 0 lina 11 13 hana 2 6 ivan 9 21 gus 28 30 eli 25 23 lina 7 8
lina 0.85 hana 0.33 ivan 0.43 gus 0.93 eli 1.09 lina 0.88
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041806
qwen/qwen3.7-plus
awkweave-0041807
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]}
gus fable 2 ivan delta 8 chen harbor 27 dina indigo 1 jules ember 28 chen grove 28 lina indigo 11 gus ember 17
jules ember 28 chen grove 28 chen harbor 27
kim fable 15 chen indigo 6 gus indigo 27 jules indigo 7 bruno birch 27 ivan grove 4 hana grove 4 ivan harbor 7 alice birch 16 farah indigo 13
gus indigo 27 bruno birch 27 alice birch 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041807-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]}
gus fable 2 ivan delta 8 chen harbor 27 dina indigo 1 jules ember 28 chen grove 28 lina indigo 11 gus ember 17
jules ember 28 chen grove 28 chen harbor 27
kim fable 15 chen indigo 6 gus indigo 27 jules indigo 7 bruno birch 27 ivan grove 4 hana grove 4 ivan harbor 7 alice birch 16 farah indigo 13
gus indigo 27 bruno birch 27 alice birch 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041807
qwen/qwen3.7-plus
awkweave-0041808
For each line, output fields 4 and 3, in that order.
{print $4, $3}
ready grove ember juniper ready delta birch amber ready fable cobalt harbor closed indigo fable juniper closed indigo juniper amber failed amber indigo ember active cobalt fable delta
juniper ember amber birch harbor cobalt juniper fable amber juniper ember indigo delta fable
ready indigo cobalt delta closed ember grove fable ready indigo birch grove paused indigo grove juniper failed birch birch cobalt paused juniper fable amber closed harbor delta cobalt active cobalt indigo cobalt failed birch indigo juniper ready ember harbor delta
delta cobalt fable grove grove birch juniper grove cobalt birch amber fable cobalt delta cobalt indigo juniper indigo delta harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041808-p1
For every line, print the fourth field followed by the third field.
{print $4, $3}
ready grove ember juniper ready delta birch amber ready fable cobalt harbor closed indigo fable juniper closed indigo juniper amber failed amber indigo ember active cobalt fable delta
juniper ember amber birch harbor cobalt juniper fable amber juniper ember indigo delta fable
ready indigo cobalt delta closed ember grove fable ready indigo birch grove paused indigo grove juniper failed birch birch cobalt paused juniper fable amber closed harbor delta cobalt active cobalt indigo cobalt failed birch indigo juniper ready ember harbor delta
delta cobalt fable grove grove birch juniper grove cobalt birch amber fable cobalt delta cobalt indigo juniper indigo delta harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041808
qwen/qwen3.7-plus
awkweave-0041809
Print the last field of every input line.
{print $NF}
harbor 45 active ember 112 active amber 61 closed delta 36 pending fable 71 paused harbor 55 failed
active active closed pending paused failed
indigo 39 paused fable 83 paused delta 66 ready juniper 112 paused juniper 3 paused juniper 3 closed amber 113 paused
paused paused ready paused paused closed paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041809-p1
Display the final field from each line of input.
{print $NF}
harbor 45 active ember 112 active amber 61 closed delta 36 pending fable 71 paused harbor 55 failed
active active closed pending paused failed
indigo 39 paused fable 83 paused delta 66 ready juniper 112 paused juniper 3 paused juniper 3 closed amber 113 paused
paused paused ready paused paused closed paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041809
qwen/qwen3.7-plus
awkweave-0041810
Print the complete records where column 1 is greater than 78.
$1 > 78
94 pending amber 97 active ember 79 active juniper 30 closed birch 45 closed juniper 4 pending juniper 117 closed fable 115 ready juniper
94 pending amber 97 active ember 79 active juniper 117 closed fable 115 ready juniper
79 active fable 86 closed juniper 37 active ember 31 failed cobalt 43 active delta 59 closed delta 19 paused delta 15 pending birch 88 active delta
79 active fable 86 closed juniper 88 active delta
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041810-p1
Print the full records for which the value in the first column exceeds 78.
$1 > 78
94 pending amber 97 active ember 79 active juniper 30 closed birch 45 closed juniper 4 pending juniper 117 closed fable 115 ready juniper
94 pending amber 97 active ember 79 active juniper 117 closed fable 115 ready juniper
79 active fable 86 closed juniper 37 active ember 31 failed cobalt 43 active delta 59 closed delta 19 paused delta 15 pending birch 88 active delta
79 active fable 86 closed juniper 88 active delta
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041810
qwen/qwen3.7-plus
awkweave-0041811
Show whole lines whose 3rd field is between 4 and 24, inclusive.
$3 >= 4 && $3 <= 24
birch indigo 21 eli grove amber 21 hana cobalt amber 28 eli juniper harbor 28 eli birch ember 21 alice juniper fable 14 alice ember harbor 16 jules
birch indigo 21 eli grove amber 21 hana birch ember 21 alice juniper fable 14 alice ember harbor 16 jules
ember fable 2 farah harbor fable 6 kim birch cobalt 21 farah amber birch 18 gus juniper juniper 26 dina indigo cobalt 3 gus cobalt harbor 2 gus
harbor fable 6 kim birch cobalt 21 farah amber birch 18 gus
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041811-p1
Output entire lines where the value in the third field falls within the inclusive range of 4 to 24.
$3 >= 4 && $3 <= 24
birch indigo 21 eli grove amber 21 hana cobalt amber 28 eli juniper harbor 28 eli birch ember 21 alice juniper fable 14 alice ember harbor 16 jules
birch indigo 21 eli grove amber 21 hana birch ember 21 alice juniper fable 14 alice ember harbor 16 jules
ember fable 2 farah harbor fable 6 kim birch cobalt 21 farah amber birch 18 gus juniper juniper 26 dina indigo cobalt 3 gus cobalt harbor 2 gus
harbor fable 6 kim birch cobalt 21 farah amber birch 18 gus
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041811
qwen/qwen3.7-plus
awkweave-0041812
Print column 3 only for rows where column 1 is exactly failed.
$1 == "failed"{print $3}
closed harbor dina 7 active indigo kim 6 failed grove dina 68 closed amber eli 48 active cobalt farah 108 pending juniper eli 42 ready ember kim 100 paused ember bruno 58
dina
active indigo kim 66 pending birch ivan 28 closed amber eli 14 ready birch lina 118 pending cobalt gus 2 pending birch kim 41 ready fable chen 86 paused harbor gus 18 ready ember lina 99 active harbor chen 61
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041812-p1
Display only the third column for rows where the first column matches 'failed' exactly.
$1 == "failed"{print $3}
closed harbor dina 7 active indigo kim 6 failed grove dina 68 closed amber eli 48 active cobalt farah 108 pending juniper eli 42 ready ember kim 100 paused ember bruno 58
dina
active indigo kim 66 pending birch ivan 28 closed amber eli 14 ready birch lina 118 pending cobalt gus 2 pending birch kim 41 ready fable chen 86 paused harbor gus 18 ready ember lina 99 active harbor chen 61
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041812
qwen/qwen3.7-plus
awkweave-0041813
Print all fields from lines where field 3 begins with ERROR.
$3 ~ /^ERROR/
ember 87 WARN grove 59 DEBUG birch 94 WARN ember 116 DEBUG birch 116 INFO delta 78 INFO delta 38 DEBUG cobalt 96 ERROR harbor 21 WARN
cobalt 96 ERROR
grove 93 ERROR grove 47 INFO delta 93 WARN amber 38 ERROR amber 38 DEBUG amber 33 INFO harbor 27 DEBUG birch 54 DEBUG amber 29 INFO cobalt 71 ERROR
grove 93 ERROR amber 38 ERROR cobalt 71 ERROR
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041813-p1
Output every field from lines whose third field starts with 'ERROR'.
$3 ~ /^ERROR/
ember 87 WARN grove 59 DEBUG birch 94 WARN ember 116 DEBUG birch 116 INFO delta 78 INFO delta 38 DEBUG cobalt 96 ERROR harbor 21 WARN
cobalt 96 ERROR
grove 93 ERROR grove 47 INFO delta 93 WARN amber 38 ERROR amber 38 DEBUG amber 33 INFO harbor 27 DEBUG birch 54 DEBUG amber 29 INFO cobalt 71 ERROR
grove 93 ERROR amber 38 ERROR cobalt 71 ERROR
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041813
qwen/qwen3.7-plus
awkweave-0041814
Print every line except those containing the exact text harbor.
$0 !~ /harbor/
delta 68 ready birch 15 failed birch 50 closed indigo 82 ready delta 10 failed fable 83 pending grove 18 ready harbor 22 active indigo 81 failed harbor 34 pending harbor 999 active
delta 68 ready birch 15 failed birch 50 closed indigo 82 ready delta 10 failed fable 83 pending grove 18 ready indigo 81 failed
amber 31 ready birch 66 failed harbor 2 active birch 1 closed juniper 29 failed delta 53 active harbor 999 active
amber 31 ready birch 66 failed birch 1 closed juniper 29 failed delta 53 active
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041814-p1
Print all lines that do not contain the exact string 'harbor'.
$0 !~ /harbor/
delta 68 ready birch 15 failed birch 50 closed indigo 82 ready delta 10 failed fable 83 pending grove 18 ready harbor 22 active indigo 81 failed harbor 34 pending harbor 999 active
delta 68 ready birch 15 failed birch 50 closed indigo 82 ready delta 10 failed fable 83 pending grove 18 ready indigo 81 failed
amber 31 ready birch 66 failed harbor 2 active birch 1 closed juniper 29 failed delta 53 active harbor 999 active
amber 31 ready birch 66 failed birch 1 closed juniper 29 failed delta 53 active
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041814
qwen/qwen3.7-plus
awkweave-0041815
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
eli cobalt 33 kim ember 59 bruno delta 39 bruno juniper 84 alice birch 86 hana delta 103 alice juniper 85
bruno juniper 84 alice birch 86 hana delta 103
alice delta 81 bruno amber 114 eli harbor 80 bruno grove 72 gus cobalt 13 kim harbor 61 lina grove 104 bruno fable 44
bruno grove 72 gus cobalt 13 kim harbor 61
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041815-p1
Show lines 4 to 6, inclusive of both ends.
NR >= 4 && NR <= 6
eli cobalt 33 kim ember 59 bruno delta 39 bruno juniper 84 alice birch 86 hana delta 103 alice juniper 85
bruno juniper 84 alice birch 86 hana delta 103
alice delta 81 bruno amber 114 eli harbor 80 bruno grove 72 gus cobalt 13 kim harbor 61 lina grove 104 bruno fable 44
bruno grove 72 gus cobalt 13 kim harbor 61
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041815
qwen/qwen3.7-plus
awkweave-0041816
Output only the first 5 records.
NR <= 5
chen 52 fable farah 102 amber lina 63 juniper ivan 50 cobalt alice 79 grove chen 69 fable eli 71 birch kim 101 ember gus 15 birch
chen 52 fable farah 102 amber lina 63 juniper ivan 50 cobalt alice 79 grove
chen 47 indigo kim 47 cobalt eli 109 juniper hana 93 amber eli 55 fable ivan 114 harbor hana 21 juniper gus 6 birch kim 15 amber
chen 47 indigo kim 47 cobalt eli 109 juniper hana 93 amber eli 55 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041816-p1
Display just the initial 5 records.
NR <= 5
chen 52 fable farah 102 amber lina 63 juniper ivan 50 cobalt alice 79 grove chen 69 fable eli 71 birch kim 101 ember gus 15 birch
chen 52 fable farah 102 amber lina 63 juniper ivan 50 cobalt alice 79 grove
chen 47 indigo kim 47 cobalt eli 109 juniper hana 93 amber eli 55 fable ivan 114 harbor hana 21 juniper gus 6 birch kim 15 amber
chen 47 indigo kim 47 cobalt eli 109 juniper hana 93 amber eli 55 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041816
qwen/qwen3.7-plus
awkweave-0041817
Skip the first line and print every remaining line unchanged.
NR > 1
hana 107 amber dina 99 fable eli 11 cobalt bruno 47 indigo farah 92 juniper gus 120 juniper
dina 99 fable eli 11 cobalt bruno 47 indigo farah 92 juniper gus 120 juniper
bruno 3 grove farah 113 grove chen 70 harbor bruno 105 ember bruno 67 indigo gus 73 fable hana 64 cobalt kim 67 harbor kim 52 grove alice 22 indigo
farah 113 grove chen 70 harbor bruno 105 ember bruno 67 indigo gus 73 fable hana 64 cobalt kim 67 harbor kim 52 grove alice 22 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041817-p1
Omit the first line and output all subsequent lines as they are.
NR > 1
hana 107 amber dina 99 fable eli 11 cobalt bruno 47 indigo farah 92 juniper gus 120 juniper
dina 99 fable eli 11 cobalt bruno 47 indigo farah 92 juniper gus 120 juniper
bruno 3 grove farah 113 grove chen 70 harbor bruno 105 ember bruno 67 indigo gus 73 fable hana 64 cobalt kim 67 harbor kim 52 grove alice 22 indigo
farah 113 grove chen 70 harbor bruno 105 ember bruno 67 indigo gus 73 fable hana 64 cobalt kim 67 harbor kim 52 grove alice 22 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041817
qwen/qwen3.7-plus
awkweave-0041818
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
chen active 8 eli pending 30 chen active 12 gus closed 30 alice closed 52 farah failed 24 ivan paused 15 ivan pending 41
2
eli active 102 bruno active 11 lina pending 14 gus active 94 jules pending 37 hana ready 77 hana closed 71 lina paused 88 dina pending 107 alice closed 12
3
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041818-p1
Tally the number of records with 'active' in the second column; output 0 if none exist.
$2 == "active"{n++}END{print n+0}
chen active 8 eli pending 30 chen active 12 gus closed 30 alice closed 52 farah failed 24 ivan paused 15 ivan pending 41
2
eli active 102 bruno active 11 lina pending 14 gus active 94 jules pending 37 hana ready 77 hana closed 71 lina paused 88 dina pending 107 alice closed 12
3
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041818
qwen/qwen3.7-plus
awkweave-0041819
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
15 cobalt jules 12 grove gus 29 grove lina 4 juniper hana 12 grove farah 4 indigo chen 8 fable alice
84
17 cobalt chen 23 amber dina 14 birch alice 3 grove gus 10 juniper gus 26 indigo dina 5 amber eli 24 cobalt jules 7 fable lina 16 amber hana
145
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041819-p1
Compute and display the total sum of integer values in the first column.
{s+=$1}END{print s+0}
15 cobalt jules 12 grove gus 29 grove lina 4 juniper hana 12 grove farah 4 indigo chen 8 fable alice
84
17 cobalt chen 23 amber dina 14 birch alice 3 grove gus 10 juniper gus 26 indigo dina 5 amber eli 24 cobalt jules 7 fable lina 16 amber hana
145
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041819
qwen/qwen3.7-plus
awkweave-0041820
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 kim cobalt 1 bruno fable 27 chen amber 12 gus grove 25 hana harbor 13 dina cobalt 10 alice ember
14.86
27 dina delta 24 chen grove 17 ivan delta 9 ivan birch 8 bruno harbor 8 dina juniper
15.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041820-p1
Calculate the average of the first column and format it to two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 kim cobalt 1 bruno fable 27 chen amber 12 gus grove 25 hana harbor 13 dina cobalt 10 alice ember
14.86
27 dina delta 24 chen grove 17 ivan delta 9 ivan birch 8 bruno harbor 8 dina juniper
15.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041820
qwen/qwen3.7-plus
awkweave-0041821
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 gus delta 4 gus ember 4 farah fable 3 eli harbor 30 gus grove 13 farah ember 17 lina amber 28 gus harbor 4 alice delta
2
22 lina ember 12 alice fable 14 eli fable 12 dina birch 24 kim juniper 18 hana cobalt 5 gus ember 21 alice delta 4 lina fable
4
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041821-p1
Identify and print the minimum numeric value found in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
2 gus delta 4 gus ember 4 farah fable 3 eli harbor 30 gus grove 13 farah ember 17 lina amber 28 gus harbor 4 alice delta
2
22 lina ember 12 alice fable 14 eli fable 12 dina birch 24 kim juniper 18 hana cobalt 5 gus ember 21 alice delta 4 lina fable
4
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041821
qwen/qwen3.7-plus
awkweave-0041822
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
20 delta kim 13 amber eli 9 grove eli 15 harbor alice 17 cobalt kim 8 birch farah 22 delta dina
22
1 fable hana 28 ember hana 29 fable kim 28 juniper ivan 21 indigo farah 1 harbor bruno 13 delta gus 19 cobalt kim 22 grove chen 17 juniper farah
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041822-p1
Identify and print the maximum numeric value found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
20 delta kim 13 amber eli 9 grove eli 15 harbor alice 17 cobalt kim 8 birch farah 22 delta dina
22
1 fable hana 28 ember hana 29 fable kim 28 juniper ivan 21 indigo farah 1 harbor bruno 13 delta gus 19 cobalt kim 22 grove chen 17 juniper farah
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041822
qwen/qwen3.7-plus
awkweave-0041823
Count all input records and print the total.
END{print NR}
dina 9 jules 94 jules 32 farah 54 chen 59 bruno 8 farah 16 hana 68 chen 103
9
jules 98 bruno 48 farah 26 eli 45 bruno 19 lina 0 lina 63 hana 32 farah 74 lina 120
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041823-p1
Count the total number of input records and print the result.
END{print NR}
dina 9 jules 94 jules 32 farah 54 chen 59 bruno 8 farah 16 hana 68 chen 103
9
jules 98 bruno 48 farah 26 eli 45 bruno 19 lina 0 lina 63 hana 32 farah 74 lina 120
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041823
qwen/qwen3.7-plus
awkweave-0041824
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice juniper 59 jules fable 2 gus grove 41 lina indigo 21 farah grove 67 alice delta 116 lina indigo 21
alice juniper 59 jules fable 2 gus grove 41 lina indigo 21 farah grove 67 alice delta 116
farah amber 16 gus cobalt 111 farah amber 16 farah birch 106 farah delta 11 kim indigo 106 hana ember 25 hana delta 45 gus fable 37 kim cobalt 12 dina amber 91
farah amber 16 gus cobalt 111 farah birch 106 farah delta 11 kim indigo 106 hana ember 25 hana delta 45 gus fable 37 kim cobalt 12 dina amber 91
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041824-p1
Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence.
!seen[$0]++
alice juniper 59 jules fable 2 gus grove 41 lina indigo 21 farah grove 67 alice delta 116 lina indigo 21
alice juniper 59 jules fable 2 gus grove 41 lina indigo 21 farah grove 67 alice delta 116
farah amber 16 gus cobalt 111 farah amber 16 farah birch 106 farah delta 11 kim indigo 106 hana ember 25 hana delta 45 gus fable 37 kim cobalt 12 dina amber 91
farah amber 16 gus cobalt 111 farah birch 106 farah delta 11 kim indigo 106 hana ember 25 hana delta 45 gus fable 37 kim cobalt 12 dina amber 91
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041824
qwen/qwen3.7-plus
awkweave-0041825
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
jules fable 20 alice indigo 100 kim ember 88 lina harbor 80 alice birch 29 farah delta 37 kim indigo 25 dina delta 47
jules fable 20 alice indigo 100 kim ember 88 lina harbor 80 alice birch 29 farah delta 37
dina ember 83 kim indigo 50 alice harbor 91 gus harbor 74 ivan harbor 82 jules grove 61 alice fable 6
dina ember 83 kim indigo 50 alice harbor 91 jules grove 61 alice fable 6
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041825-p1
Retain solely the initial line for every unique entry in the second column, ensuring the input order is preserved.
!seen[$2]++
jules fable 20 alice indigo 100 kim ember 88 lina harbor 80 alice birch 29 farah delta 37 kim indigo 25 dina delta 47
jules fable 20 alice indigo 100 kim ember 88 lina harbor 80 alice birch 29 farah delta 37
dina ember 83 kim indigo 50 alice harbor 91 gus harbor 74 ivan harbor 82 jules grove 61 alice fable 6
dina ember 83 kim indigo 50 alice harbor 91 jules grove 61 alice fable 6
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041825
qwen/qwen3.7-plus
awkweave-0041826
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
farah 3 fable jules 27 cobalt gus 14 fable dina 21 indigo gus 22 delta kim 22 grove
farah 3 jules 30 gus 44 dina 65 gus 87 kim 109
chen 5 ember chen 22 birch kim 24 amber lina 21 ember ivan 27 amber eli 19 birch eli 20 juniper hana 6 amber jules 30 grove ivan 17 grove
chen 5 chen 27 kim 51 lina 72 ivan 99 eli 118 eli 138 hana 144 jules 174 ivan 191
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041826-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}
farah 3 fable jules 27 cobalt gus 14 fable dina 21 indigo gus 22 delta kim 22 grove
farah 3 jules 30 gus 44 dina 65 gus 87 kim 109
chen 5 ember chen 22 birch kim 24 amber lina 21 ember ivan 27 amber eli 19 birch eli 20 juniper hana 6 amber jules 30 grove ivan 17 grove
chen 5 chen 27 kim 51 lina 72 ivan 99 eli 118 eli 138 hana 144 jules 174 ivan 191
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041826
qwen/qwen3.7-plus
awkweave-0041827
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
alice 13 23 birch chen 17 5 indigo hana 7 4 cobalt ivan 23 6 fable dina 14 19 indigo alice 30 4 grove bruno 3 8 grove jules 6 4 fable ivan 16 11 delta hana 18 12 amber
alice 36 chen 22 hana 11 ivan 29 dina 33 alice 34 bruno 11 jules 10 ivan 27 hana 30
farah 29 8 grove farah 6 21 grove hana 10 11 ember alice 23 17 birch dina 15 13 indigo ivan 12 22 delta
farah 37 farah 27 hana 21 alice 40 dina 28 ivan 34
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041827-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
alice 13 23 birch chen 17 5 indigo hana 7 4 cobalt ivan 23 6 fable dina 14 19 indigo alice 30 4 grove bruno 3 8 grove jules 6 4 fable ivan 16 11 delta hana 18 12 amber
alice 36 chen 22 hana 11 ivan 29 dina 33 alice 34 bruno 11 jules 10 ivan 27 hana 30
farah 29 8 grove farah 6 21 grove hana 10 11 ember alice 23 17 birch dina 15 13 indigo ivan 12 22 delta
farah 37 farah 27 hana 21 alice 40 dina 28 ivan 34
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041827
qwen/qwen3.7-plus
awkweave-0041828
Print column 1 and pass when column 2 is at least 26; otherwise print fail.
{print $1,($2>=26?"pass":"fail")}
lina 10 eli 11 lina 24 alice 16 chen 1 eli 7 ivan 6 chen 30 jules 16
lina fail eli fail lina fail alice fail chen fail eli fail ivan fail chen pass jules fail
farah 28 gus 18 bruno 11 kim 15 hana 20 jules 13 alice 7 lina 22 chen 2 eli 28
farah pass gus fail bruno fail kim fail hana fail jules fail alice fail lina fail chen fail eli pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041828-p1
Output the value from column 1 along with 'pass' if column 2 is 26 or greater; otherwise, output 'fail'.
{print $1,($2>=26?"pass":"fail")}
lina 10 eli 11 lina 24 alice 16 chen 1 eli 7 ivan 6 chen 30 jules 16
lina fail eli fail lina fail alice fail chen fail eli fail ivan fail chen pass jules fail
farah 28 gus 18 bruno 11 kim 15 hana 20 jules 13 alice 7 lina 22 chen 2 eli 28
farah pass gus fail bruno fail kim fail hana fail jules fail alice fail lina fail chen fail eli pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041828
qwen/qwen3.7-plus
awkweave-0041829
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
eli delta 32 lina indigo 90 alice harbor 81 gus amber 80 ivan birch 80 gus grove 118 hana ember 43 kim birch 17 hana grove 60
ELI LINA ALICE GUS IVAN GUS HANA KIM HANA
bruno ember 102 hana grove 28 kim fable 109 hana grove 10 dina cobalt 92 farah fable 59 farah amber 49 jules juniper 66 chen amber 39
BRUNO HANA KIM HANA DINA FARAH FARAH JULES CHEN
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041829-p1
Transform the content of column 1 to uppercase letters and print exclusively that column.
{print toupper($1)}
eli delta 32 lina indigo 90 alice harbor 81 gus amber 80 ivan birch 80 gus grove 118 hana ember 43 kim birch 17 hana grove 60
ELI LINA ALICE GUS IVAN GUS HANA KIM HANA
bruno ember 102 hana grove 28 kim fable 109 hana grove 10 dina cobalt 92 farah fable 59 farah amber 49 jules juniper 66 chen amber 39
BRUNO HANA KIM HANA DINA FARAH FARAH JULES CHEN
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041829
qwen/qwen3.7-plus
awkweave-0041830
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
indigo 77 harbor 44 grove 91 indigo 64 harbor 11 delta 98 fable 112 harbor 95 delta 19
in ha gr in ha de fa ha de
delta 36 birch 39 fable 113 cobalt 66 delta 107 ember 1 fable 36 grove 9 cobalt 10 amber 47
de bi fa co de em fa gr co am
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0041830-p1
Extract and print a substring of 2 characters from column 1, beginning at position 1.
{print substr($1,1,2)}
indigo 77 harbor 44 grove 91 indigo 64 harbor 11 delta 98 fable 112 harbor 95 delta 19
in ha gr in ha de fa ha de
delta 36 birch 39 fable 113 cobalt 66 delta 107 ember 1 fable 36 grove 9 cobalt 10 amber 47
de bi fa co de em fa gr co am
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0041830
qwen/qwen3.7-plus
awkweave-0041831
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
grove_birch 110 delta_ember 44 grove_ember 77 indigo_fable 76 juniper_harbor 59 amber_delta 117 fable_grove 87 amber_amber 106 harbor_amber 28 grove_cobalt 40
grove birch delta ember grove ember indigo fable juniper harbor amber delta fable grove amber amber harbor amber grove cobalt
juniper_juniper 103 harbor_juniper 41 cobalt_birch 109 fable_fable 108 indigo_harbor 102 juniper_cobalt 90
juniper juniper harbor juniper cobalt birch fable fable indigo harbor juniper cobalt
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null