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-0014550-p1
Display complete lines where the second field has a value between 3 and 24, inclusive.
$2 >= 3 && $2 <= 24
jules 25 ember chen jules 12 juniper hana alice 25 juniper lina hana 29 harbor dina gus 14 ember eli gus 13 amber chen
jules 12 juniper hana gus 14 ember eli gus 13 amber chen
lina 3 fable farah dina 30 fable lina dina 12 fable bruno bruno 16 amber bruno dina 22 harbor alice gus 24 cobalt hana farah 13 delta jules dina 4 fable eli dina 12 birch kim gus 26 birch dina
lina 3 fable farah dina 12 fable bruno bruno 16 amber bruno dina 22 harbor alice gus 24 cobalt hana farah 13 delta jules dina 4 fable eli dina 12 birch kim
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014550
qwen/qwen3.7-plus
awkweave-0014551
Print column 3 only for rows where column 4 is exactly active.
$4 == "active"{print $3}
harbor 22 kim active ember 83 eli pending grove 114 alice closed indigo 4 kim active amber 112 eli ready indigo 69 bruno pending
kim kim
juniper 65 ivan closed fable 36 farah ready delta 38 hana failed delta 101 chen active fable 116 kim active amber 79 alice paused fable 6 ivan pending birch 98 alice paused amber 21 eli active amber 14 gus pending
chen kim eli
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014551-p1
Output only the third column for rows where the fourth column contains exactly the text 'active'.
$4 == "active"{print $3}
harbor 22 kim active ember 83 eli pending grove 114 alice closed indigo 4 kim active amber 112 eli ready indigo 69 bruno pending
kim kim
juniper 65 ivan closed fable 36 farah ready delta 38 hana failed delta 101 chen active fable 116 kim active amber 79 alice paused fable 6 ivan pending birch 98 alice paused amber 21 eli active amber 14 gus pending
chen kim eli
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014551
qwen/qwen3.7-plus
awkweave-0014552
Print all fields from lines where field 2 begins with WARN.
$2 ~ /^WARN/
49 DEBUG harbor 50 DEBUG cobalt 53 ERROR fable 6 INFO indigo 61 ERROR birch 57 DEBUG amber 95 DEBUG juniper 26 WARN cobalt 34 DEBUG cobalt
26 WARN cobalt
19 ERROR amber 22 ERROR ember 25 INFO ember 46 WARN ember 24 ERROR fable 41 WARN harbor 62 INFO fable 100 ERROR fable 42 DEBUG birch 94 DEBUG ember
46 WARN ember 41 WARN harbor
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014552-p1
Print all fields from any line where the second field starts with the string 'WARN'.
$2 ~ /^WARN/
49 DEBUG harbor 50 DEBUG cobalt 53 ERROR fable 6 INFO indigo 61 ERROR birch 57 DEBUG amber 95 DEBUG juniper 26 WARN cobalt 34 DEBUG cobalt
26 WARN cobalt
19 ERROR amber 22 ERROR ember 25 INFO ember 46 WARN ember 24 ERROR fable 41 WARN harbor 62 INFO fable 100 ERROR fable 42 DEBUG birch 94 DEBUG ember
46 WARN ember 41 WARN harbor
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014552
qwen/qwen3.7-plus
awkweave-0014553
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 67 closed grove 2 pending indigo 116 failed ember 16 closed harbor 91 ready indigo 118 ready fable 85 ready harbor 85 failed cobalt 999 active
delta 67 closed grove 2 pending indigo 116 failed ember 16 closed harbor 91 ready indigo 118 ready fable 85 ready harbor 85 failed
delta 76 failed amber 37 paused juniper 58 paused ember 55 pending amber 119 paused fable 113 closed juniper 110 closed ember 113 ready cobalt 999 active
delta 76 failed amber 37 paused juniper 58 paused ember 55 pending amber 119 paused fable 113 closed juniper 110 closed ember 113 ready
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014553-p1
Output every line from the input except those that contain the exact string 'cobalt'.
$0 !~ /cobalt/
delta 67 closed grove 2 pending indigo 116 failed ember 16 closed harbor 91 ready indigo 118 ready fable 85 ready harbor 85 failed cobalt 999 active
delta 67 closed grove 2 pending indigo 116 failed ember 16 closed harbor 91 ready indigo 118 ready fable 85 ready harbor 85 failed
delta 76 failed amber 37 paused juniper 58 paused ember 55 pending amber 119 paused fable 113 closed juniper 110 closed ember 113 ready cobalt 999 active
delta 76 failed amber 37 paused juniper 58 paused ember 55 pending amber 119 paused fable 113 closed juniper 110 closed ember 113 ready
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014553
qwen/qwen3.7-plus
awkweave-0014554
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
dina juniper 75 kim harbor 36 chen ember 92 chen grove 23 jules indigo 120 chen harbor 80 alice harbor 52
kim harbor 36 chen ember 92 chen grove 23 jules indigo 120
lina fable 11 farah fable 71 hana delta 57 gus harbor 45 eli cobalt 23 alice fable 40
farah fable 71 hana delta 57 gus harbor 45 eli cobalt 23
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014554-p1
Display lines 2 to 5, inclusive.
NR >= 2 && NR <= 5
dina juniper 75 kim harbor 36 chen ember 92 chen grove 23 jules indigo 120 chen harbor 80 alice harbor 52
kim harbor 36 chen ember 92 chen grove 23 jules indigo 120
lina fable 11 farah fable 71 hana delta 57 gus harbor 45 eli cobalt 23 alice fable 40
farah fable 71 hana delta 57 gus harbor 45 eli cobalt 23
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014554
qwen/qwen3.7-plus
awkweave-0014555
Output only the first 3 records.
NR <= 3
dina 14 grove ivan 11 grove farah 110 birch gus 94 indigo lina 46 birch dina 31 indigo gus 4 ember eli 108 harbor
dina 14 grove ivan 11 grove farah 110 birch
alice 55 indigo bruno 42 ember ivan 84 indigo bruno 87 birch chen 105 birch gus 18 fable eli 69 juniper gus 52 delta ivan 97 delta lina 68 cobalt
alice 55 indigo bruno 42 ember ivan 84 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014555-p1
Output just the initial 3 records.
NR <= 3
dina 14 grove ivan 11 grove farah 110 birch gus 94 indigo lina 46 birch dina 31 indigo gus 4 ember eli 108 harbor
dina 14 grove ivan 11 grove farah 110 birch
alice 55 indigo bruno 42 ember ivan 84 indigo bruno 87 birch chen 105 birch gus 18 fable eli 69 juniper gus 52 delta ivan 97 delta lina 68 cobalt
alice 55 indigo bruno 42 ember ivan 84 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014555
qwen/qwen3.7-plus
awkweave-0014556
Skip the first line and print every remaining line unchanged.
NR > 1
gus 103 birch bruno 97 fable farah 2 indigo gus 85 indigo alice 83 ember hana 91 grove
bruno 97 fable farah 2 indigo gus 85 indigo alice 83 ember hana 91 grove
dina 90 birch alice 102 indigo chen 73 ember alice 103 delta chen 103 grove kim 69 grove
alice 102 indigo chen 73 ember alice 103 delta chen 103 grove kim 69 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014556-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
gus 103 birch bruno 97 fable farah 2 indigo gus 85 indigo alice 83 ember hana 91 grove
bruno 97 fable farah 2 indigo gus 85 indigo alice 83 ember hana 91 grove
dina 90 birch alice 102 indigo chen 73 ember alice 103 delta chen 103 grove kim 69 grove
alice 102 indigo chen 73 ember alice 103 delta chen 103 grove kim 69 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014556
qwen/qwen3.7-plus
awkweave-0014557
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
chen ready 26 eli pending 41 eli ready 82 lina pending 40 alice paused 94 ivan active 91
1
ivan closed 119 dina failed 54 hana paused 79 hana pending 93 ivan ready 64 farah pending 73 lina pending 118 ivan ready 89 lina paused 72 gus failed 94
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014557-p1
Count records where column 2 is 'paused'; output 0 if none exist.
$2 == "paused"{n++}END{print n+0}
chen ready 26 eli pending 41 eli ready 82 lina pending 40 alice paused 94 ivan active 91
1
ivan closed 119 dina failed 54 hana paused 79 hana pending 93 ivan ready 64 farah pending 73 lina pending 118 ivan ready 89 lina paused 72 gus failed 94
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014557
qwen/qwen3.7-plus
awkweave-0014558
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
bruno delta 9 alice indigo 28 dina birch 29 kim delta 5 kim indigo 3 lina amber 15 gus grove 3
92
chen amber 10 dina indigo 7 bruno birch 23 bruno indigo 22 chen ember 1 lina birch 16 farah ember 12 lina fable 17 farah amber 30
138
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014558-p1
Compute and display the total sum of integer values in column 3.
{s+=$3}END{print s+0}
bruno delta 9 alice indigo 28 dina birch 29 kim delta 5 kim indigo 3 lina amber 15 gus grove 3
92
chen amber 10 dina indigo 7 bruno birch 23 bruno indigo 22 chen ember 1 lina birch 16 farah ember 12 lina fable 17 farah amber 30
138
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014558
qwen/qwen3.7-plus
awkweave-0014559
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 18 fable bruno 21 delta chen 18 juniper alice 20 grove alice 14 cobalt jules 28 harbor chen 3 delta farah 7 harbor
16.12
dina 18 ember bruno 23 fable lina 25 amber kim 5 delta hana 24 birch chen 29 ember lina 29 juniper lina 8 delta
20.12
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014559-p1
Print the average of column 2, formatted to two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
eli 18 fable bruno 21 delta chen 18 juniper alice 20 grove alice 14 cobalt jules 28 harbor chen 3 delta farah 7 harbor
16.12
dina 18 ember bruno 23 fable lina 25 amber kim 5 delta hana 24 birch chen 29 ember lina 29 juniper lina 8 delta
20.12
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014559
qwen/qwen3.7-plus
awkweave-0014560
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
kim 15 juniper bruno 22 amber dina 23 cobalt jules 30 amber farah 1 fable dina 5 ember kim 5 delta bruno 23 birch jules 21 juniper
1
gus 10 juniper jules 17 fable eli 27 cobalt farah 6 ember jules 17 harbor ivan 10 birch hana 11 ember dina 5 cobalt
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014560-p1
Identify and output the minimum numeric value found in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
kim 15 juniper bruno 22 amber dina 23 cobalt jules 30 amber farah 1 fable dina 5 ember kim 5 delta bruno 23 birch jules 21 juniper
1
gus 10 juniper jules 17 fable eli 27 cobalt farah 6 ember jules 17 harbor ivan 10 birch hana 11 ember dina 5 cobalt
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014560
qwen/qwen3.7-plus
awkweave-0014561
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 26 amber bruno 17 harbor jules 8 harbor chen 10 harbor chen 19 amber jules 19 harbor
26
hana 25 juniper gus 22 fable bruno 28 birch eli 23 indigo alice 22 grove alice 10 ember chen 15 birch hana 15 harbor chen 27 birch alice 2 amber
28
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014561-p1
Identify and output the maximum numeric value found in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
gus 26 amber bruno 17 harbor jules 8 harbor chen 10 harbor chen 19 amber jules 19 harbor
26
hana 25 juniper gus 22 fable bruno 28 birch eli 23 indigo alice 22 grove alice 10 ember chen 15 birch hana 15 harbor chen 27 birch alice 2 amber
28
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014561
qwen/qwen3.7-plus
awkweave-0014562
Count all input records and print the total.
END{print NR}
farah 45 kim 33 eli 3 alice 59 farah 81 eli 104 bruno 70 eli 39 bruno 92
9
bruno 28 eli 96 farah 110 ivan 106 kim 115 ivan 100 bruno 66 gus 57 ivan 28 kim 13
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014562-p1
Count the total number of input records and print the result.
END{print NR}
farah 45 kim 33 eli 3 alice 59 farah 81 eli 104 bruno 70 eli 39 bruno 92
9
bruno 28 eli 96 farah 110 ivan 106 kim 115 ivan 100 bruno 66 gus 57 ivan 28 kim 13
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014562
qwen/qwen3.7-plus
awkweave-0014563
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
chen delta 2 gus delta 112 alice ember 53 alice fable 108 hana ember 13 bruno fable 91 alice fable 108 ivan cobalt 84 jules cobalt 22 bruno ember 110 kim cobalt 61
chen delta 2 gus delta 112 alice ember 53 alice fable 108 hana ember 13 bruno fable 91 ivan cobalt 84 jules cobalt 22 bruno ember 110 kim cobalt 61
ivan grove 98 dina harbor 79 ivan grove 83 kim grove 57 ivan fable 35 lina grove 100 ivan grove 83 kim harbor 39
ivan grove 98 dina harbor 79 ivan grove 83 kim grove 57 ivan fable 35 lina grove 100 kim harbor 39
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014563-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining original order.
!seen[$0]++
chen delta 2 gus delta 112 alice ember 53 alice fable 108 hana ember 13 bruno fable 91 alice fable 108 ivan cobalt 84 jules cobalt 22 bruno ember 110 kim cobalt 61
chen delta 2 gus delta 112 alice ember 53 alice fable 108 hana ember 13 bruno fable 91 ivan cobalt 84 jules cobalt 22 bruno ember 110 kim cobalt 61
ivan grove 98 dina harbor 79 ivan grove 83 kim grove 57 ivan fable 35 lina grove 100 ivan grove 83 kim harbor 39
ivan grove 98 dina harbor 79 ivan grove 83 kim grove 57 ivan fable 35 lina grove 100 kim harbor 39
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014563
qwen/qwen3.7-plus
awkweave-0014564
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
farah ember 9 farah juniper 41 gus amber 29 lina harbor 60 ivan indigo 57 jules fable 34
farah ember 9 farah juniper 41 gus amber 29 lina harbor 60 ivan indigo 57 jules fable 34
alice delta 44 gus amber 92 jules amber 32 jules fable 16 jules harbor 98 kim amber 70 hana fable 1 chen harbor 17 chen harbor 91
alice delta 44 gus amber 92 jules amber 32 jules fable 16 jules harbor 98 kim amber 70 hana fable 1 chen harbor 17 chen harbor 91
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014564-p1
Retain only the first occurrence for each unique value in column 3, preserving input order.
!seen[$3]++
farah ember 9 farah juniper 41 gus amber 29 lina harbor 60 ivan indigo 57 jules fable 34
farah ember 9 farah juniper 41 gus amber 29 lina harbor 60 ivan indigo 57 jules fable 34
alice delta 44 gus amber 92 jules amber 32 jules fable 16 jules harbor 98 kim amber 70 hana fable 1 chen harbor 17 chen harbor 91
alice delta 44 gus amber 92 jules amber 32 jules fable 16 jules harbor 98 kim amber 70 hana fable 1 chen harbor 17 chen harbor 91
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014564
qwen/qwen3.7-plus
awkweave-0014565
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 25 fable bruno 16 ember alice 28 indigo ivan 19 juniper gus 5 delta gus 1 fable
bruno 25 bruno 41 alice 69 ivan 88 gus 93 gus 94
kim 13 birch farah 21 cobalt kim 5 birch hana 29 juniper alice 13 amber hana 7 indigo alice 18 birch kim 1 ember kim 20 indigo eli 1 harbor
kim 13 farah 34 kim 39 hana 68 alice 81 hana 88 alice 106 kim 107 kim 127 eli 128
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014565-p1
For every record, output column 1 followed by the cumulative sum of column 2, separated by a space.
{s+=$2;print $1,s}
bruno 25 fable bruno 16 ember alice 28 indigo ivan 19 juniper gus 5 delta gus 1 fable
bruno 25 bruno 41 alice 69 ivan 88 gus 93 gus 94
kim 13 birch farah 21 cobalt kim 5 birch hana 29 juniper alice 13 amber hana 7 indigo alice 18 birch kim 1 ember kim 20 indigo eli 1 harbor
kim 13 farah 34 kim 39 hana 68 alice 81 hana 88 alice 106 kim 107 kim 127 eli 128
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014565
qwen/qwen3.7-plus
awkweave-0014566
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
lina 8 25 indigo hana 10 8 grove chen 16 13 fable farah 14 11 amber kim 11 18 juniper dina 6 16 birch eli 18 25 amber lina 17 7 juniper dina 7 21 indigo gus 20 16 cobalt
lina 33 hana 18 chen 29 farah 25 kim 29 dina 22 eli 43 lina 24 dina 28 gus 36
lina 28 24 fable gus 27 5 juniper alice 4 11 delta dina 6 28 juniper hana 17 20 grove dina 3 22 amber bruno 12 12 fable dina 10 29 harbor eli 13 6 harbor jules 15 11 cobalt
lina 52 gus 32 alice 15 dina 34 hana 37 dina 25 bruno 24 dina 39 eli 19 jules 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014566-p1
Output field 1 and the total of fields 2 and 3 for each row.
{print $1,$2+$3}
lina 8 25 indigo hana 10 8 grove chen 16 13 fable farah 14 11 amber kim 11 18 juniper dina 6 16 birch eli 18 25 amber lina 17 7 juniper dina 7 21 indigo gus 20 16 cobalt
lina 33 hana 18 chen 29 farah 25 kim 29 dina 22 eli 43 lina 24 dina 28 gus 36
lina 28 24 fable gus 27 5 juniper alice 4 11 delta dina 6 28 juniper hana 17 20 grove dina 3 22 amber bruno 12 12 fable dina 10 29 harbor eli 13 6 harbor jules 15 11 cobalt
lina 52 gus 32 alice 15 dina 34 hana 37 dina 25 bruno 24 dina 39 eli 19 jules 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014566
qwen/qwen3.7-plus
awkweave-0014567
Print column 1 and pass when column 2 is at least 22; otherwise print fail.
{print $1,($2>=22?"pass":"fail")}
kim 27 chen 27 lina 16 lina 16 alice 9 gus 20 bruno 21 jules 1
kim pass chen pass lina fail lina fail alice fail gus fail bruno fail jules fail
chen 29 kim 2 hana 9 lina 4 lina 27 hana 1 chen 2 dina 26
chen pass kim fail hana fail lina fail lina pass hana fail chen fail dina pass
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014567-p1
Display column 1; if column 2 is 22 or higher, output 'pass', else output 'fail'.
{print $1,($2>=22?"pass":"fail")}
kim 27 chen 27 lina 16 lina 16 alice 9 gus 20 bruno 21 jules 1
kim pass chen pass lina fail lina fail alice fail gus fail bruno fail jules fail
chen 29 kim 2 hana 9 lina 4 lina 27 hana 1 chen 2 dina 26
chen pass kim fail hana fail lina fail lina pass hana fail chen fail dina pass
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014567
qwen/qwen3.7-plus
awkweave-0014568
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
dina amber 117 dina birch 68 kim amber 38 ivan harbor 62 gus ember 118 jules grove 3 bruno delta 29 chen juniper 56
AMBER BIRCH AMBER HARBOR EMBER GROVE DELTA JUNIPER
farah grove 79 alice birch 79 eli indigo 67 lina birch 9 bruno delta 93 alice amber 7 eli indigo 77 kim ember 20 jules juniper 40 lina delta 28
GROVE BIRCH INDIGO BIRCH DELTA AMBER INDIGO EMBER JUNIPER DELTA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014568-p1
Transform column 2 to uppercase and output only that column.
{print toupper($2)}
dina amber 117 dina birch 68 kim amber 38 ivan harbor 62 gus ember 118 jules grove 3 bruno delta 29 chen juniper 56
AMBER BIRCH AMBER HARBOR EMBER GROVE DELTA JUNIPER
farah grove 79 alice birch 79 eli indigo 67 lina birch 9 bruno delta 93 alice amber 7 eli indigo 77 kim ember 20 jules juniper 40 lina delta 28
GROVE BIRCH INDIGO BIRCH DELTA AMBER INDIGO EMBER JUNIPER DELTA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014568
qwen/qwen3.7-plus
awkweave-0014569
From column 1, print 3 characters starting at character 1.
{print substr($1,1,3)}
indigo 97 cobalt 59 cobalt 8 cobalt 21 cobalt 105 indigo 68 ember 72 cobalt 10
ind cob cob cob cob ind emb cob
ember 60 amber 3 juniper 95 fable 3 cobalt 105 harbor 19 birch 73 cobalt 67 cobalt 21
emb amb jun fab cob har bir cob cob
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014569-p1
Extract and print the first 3 characters from column 1.
{print substr($1,1,3)}
indigo 97 cobalt 59 cobalt 8 cobalt 21 cobalt 105 indigo 68 ember 72 cobalt 10
ind cob cob cob cob ind emb cob
ember 60 amber 3 juniper 95 fable 3 cobalt 105 harbor 19 birch 73 cobalt 67 cobalt 21
emb amb jun fab cob har bir cob cob
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014569
qwen/qwen3.7-plus
awkweave-0014570
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
cobalt_birch 101 indigo_delta 56 amber_birch 76 fable_harbor 86 juniper_fable 38 grove_cobalt 116 fable_birch 86 birch_birch 16 juniper_grove 39 delta_harbor 21
cobalt birch indigo delta amber birch fable harbor juniper fable grove cobalt fable birch birch birch juniper grove delta harbor
harbor_ember 29 cobalt_juniper 57 indigo_harbor 61 ember_amber 22 birch_birch 35 fable_birch 71 cobalt_birch 21 harbor_amber 108
harbor ember cobalt juniper indigo harbor ember amber birch birch fable birch cobalt birch harbor amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014570-p1
Substitute all underscores in column 1 with spaces and print the result.
{gsub(/_/," ",$1);print $1}
cobalt_birch 101 indigo_delta 56 amber_birch 76 fable_harbor 86 juniper_fable 38 grove_cobalt 116 fable_birch 86 birch_birch 16 juniper_grove 39 delta_harbor 21
cobalt birch indigo delta amber birch fable harbor juniper fable grove cobalt fable birch birch birch juniper grove delta harbor
harbor_ember 29 cobalt_juniper 57 indigo_harbor 61 ember_amber 22 birch_birch 35 fable_birch 71 cobalt_birch 21 harbor_amber 108
harbor ember cobalt juniper indigo harbor ember amber birch birch fable birch cobalt birch harbor amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014570
qwen/qwen3.7-plus
awkweave-0014571
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus juniper 105 pending kim juniper 43 closed hana delta 2 pending eli cobalt 12 ready bruno amber 47 failed ivan fable 58 pending eli amber 23 failed alice ember 104 active
pending 105 juniper gus closed 43 juniper kim pending 2 delta hana ready 12 cobalt eli failed 47 amber bruno pending 58 fable ivan failed 23 amber eli active 104 ember alice
lina harbor 65 pending hana harbor 115 ready kim juniper 65 active hana harbor 69 paused eli indigo 56 paused lina cobalt 110 closed kim grove 85 ready hana amber 13 paused
pending 65 harbor lina ready 115 harbor hana active 65 juniper kim paused 69 harbor hana paused 56 indigo eli closed 110 cobalt lina ready 85 grove kim paused 13 amber hana
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014571-p1
Reverse the sequence of fields for every line and print them all.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
gus juniper 105 pending kim juniper 43 closed hana delta 2 pending eli cobalt 12 ready bruno amber 47 failed ivan fable 58 pending eli amber 23 failed alice ember 104 active
pending 105 juniper gus closed 43 juniper kim pending 2 delta hana ready 12 cobalt eli failed 47 amber bruno pending 58 fable ivan failed 23 amber eli active 104 ember alice
lina harbor 65 pending hana harbor 115 ready kim juniper 65 active hana harbor 69 paused eli indigo 56 paused lina cobalt 110 closed kim grove 85 ready hana amber 13 paused
pending 65 harbor lina ready 115 harbor hana active 65 juniper kim paused 69 harbor hana paused 56 indigo eli closed 110 cobalt lina ready 85 grove kim paused 13 amber hana
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014571
qwen/qwen3.7-plus
awkweave-0014572
Print the number of whitespace-separated fields on each line.
{print NF}
kim cobalt 64 paused ivan delta 21 active lina grove 52 paused bruno amber 80 ready chen harbor 60 pending ivan harbor 108 active farah cobalt 94 failed jules indigo 63 pending
4 4 4 4 4 4 4 4
dina ember 55 failed dina birch 24 active gus harbor 83 active eli fable 1 active lina grove 118 failed gus indigo 23 paused eli cobalt 86 paused alice juniper 119 failed alice delta 4 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014572-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
kim cobalt 64 paused ivan delta 21 active lina grove 52 paused bruno amber 80 ready chen harbor 60 pending ivan harbor 108 active farah cobalt 94 failed jules indigo 63 pending
4 4 4 4 4 4 4 4
dina ember 55 failed dina birch 24 active gus harbor 83 active eli fable 1 active lina grove 118 failed gus indigo 23 paused eli cobalt 86 paused alice juniper 119 failed alice delta 4 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014572
qwen/qwen3.7-plus
awkweave-0014573
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus gamma 9 hana alpha 106 dina delta 57 chen beta 88 jules beta 58 kim beta 103 gus delta 58 alice alpha 18 bruno alpha 61
gamma 1 alpha 3 delta 2 beta 3
kim alpha 51 lina gamma 75 ivan alpha 79 dina delta 14 lina delta 9 bruno gamma 84
alpha 2 gamma 2 delta 2
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014573-p1
Tally records by column 2 values and print each value with its count, ordered by first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus gamma 9 hana alpha 106 dina delta 57 chen beta 88 jules beta 58 kim beta 103 gus delta 58 alice alpha 18 bruno alpha 61
gamma 1 alpha 3 delta 2 beta 3
kim alpha 51 lina gamma 75 ivan alpha 79 dina delta 14 lina delta 9 bruno gamma 84
alpha 2 gamma 2 delta 2
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014573
qwen/qwen3.7-plus
awkweave-0014574
Sum column 3 for each category in column 2, printing groups in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan delta 5 kim beta 14 gus beta 18 eli delta 27 hana delta 25 lina beta 13 kim gamma 30 chen gamma 24
delta 57 beta 45 gamma 54
ivan beta 15 eli gamma 30 farah delta 7 dina alpha 6 kim beta 15 ivan beta 30 gus delta 24
beta 60 gamma 30 delta 31 alpha 6
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014574-p1
Calculate the sum of column 3 for each group in column 2, printing results in order of first appearance.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
ivan delta 5 kim beta 14 gus beta 18 eli delta 27 hana delta 25 lina beta 13 kim gamma 30 chen gamma 24
delta 57 beta 45 gamma 54
ivan beta 15 eli gamma 30 farah delta 7 dina alpha 6 kim beta 15 ivan beta 30 gus delta 24
beta 60 gamma 30 delta 31 alpha 6
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014574
qwen/qwen3.7-plus
awkweave-0014575
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta juniper 106 gamma indigo 5 alpha juniper 39 gamma birch 48 gamma amber 76 beta grove 66 alpha fable 83 beta cobalt 115
beta 3 gamma 3 alpha 2
delta birch 20 alpha fable 79 alpha grove 86 gamma ember 51 alpha indigo 10 gamma birch 108
alpha 3 gamma 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014575-p1
List duplicate values from column 1 along with their occurrence counts, sorted by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta juniper 106 gamma indigo 5 alpha juniper 39 gamma birch 48 gamma amber 76 beta grove 66 alpha fable 83 beta cobalt 115
beta 3 gamma 3 alpha 2
delta birch 20 alpha fable 79 alpha grove 86 gamma ember 51 alpha indigo 10 gamma birch 108
alpha 3 gamma 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014575
qwen/qwen3.7-plus
awkweave-0014576
The first row is a header. Print the note column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name score record_id note r001 alice 7 paused r002 alice 18 failed r003 gus 15 pending r004 chen 11 ready r005 ivan 9 paused r006 alice 20 active r007 ivan 10 ready r008 alice 6 pending r009 kim 26 paused r010 farah 24 failed
paused failed pending ready paused active ready pending paused failed
display_name score record_id note r001 jules 23 ready r002 chen 15 pending r003 jules 17 closed r004 kim 23 paused r005 chen 1 closed r006 bruno 4 closed r007 chen 29 closed r008 jules 22 closed r009 eli 1 paused r010 farah 2 closed
ready pending closed paused closed closed closed closed paused closed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014576-p1
Skip the header row and print the 'note' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
display_name score record_id note r001 alice 7 paused r002 alice 18 failed r003 gus 15 pending r004 chen 11 ready r005 ivan 9 paused r006 alice 20 active r007 ivan 10 ready r008 alice 6 pending r009 kim 26 paused r010 farah 24 failed
paused failed pending ready paused active ready pending paused failed
display_name score record_id note r001 jules 23 ready r002 chen 15 pending r003 jules 17 closed r004 kim 23 paused r005 chen 1 closed r006 bruno 4 closed r007 chen 29 closed r008 jules 22 closed r009 eli 1 paused r010 farah 2 closed
ready pending closed paused closed closed closed closed paused closed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014576
qwen/qwen3.7-plus
awkweave-0014577
The first row is a header. Print display_name for data rows whose score is greater than 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 alice 24 failed r002 hana 17 failed r003 gus 1 failed r004 eli 15 ready r005 bruno 9 closed r006 eli 21 closed r007 dina 19 active r008 alice 14 paused r009 gus 24 closed
alice hana eli eli dina alice gus
record_id display_name score state r001 jules 18 pending r002 jules 20 pending r003 ivan 6 closed r004 farah 23 ready r005 hana 15 paused r006 bruno 4 paused r007 hana 25 failed r008 ivan 20 ready r009 lina 21 closed r010 hana 2 failed
jules jules farah hana hana ivan lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014577-p1
Ignore the header row and print 'display_name' for data rows where 'score' exceeds 11.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]}
record_id display_name score state r001 alice 24 failed r002 hana 17 failed r003 gus 1 failed r004 eli 15 ready r005 bruno 9 closed r006 eli 21 closed r007 dina 19 active r008 alice 14 paused r009 gus 24 closed
alice hana eli eli dina alice gus
record_id display_name score state r001 jules 18 pending r002 jules 20 pending r003 ivan 6 closed r004 farah 23 ready r005 hana 15 paused r006 bruno 4 paused r007 hana 25 failed r008 ivan 20 ready r009 lina 21 closed r010 hana 2 failed
jules jules farah hana hana ivan lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014577
qwen/qwen3.7-plus
awkweave-0014578
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 7 closed gus 19 ready hana 2 pending kim 21 active kim 3 closed gus 25 closed
bruno gus hana kim kim gus
jules 6 active chen 27 active farah 29 closed eli 2 pending bruno 26 pending chen 24 ready
jules chen farah eli bruno chen
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014578-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
bruno 7 closed gus 19 ready hana 2 pending kim 21 active kim 3 closed gus 25 closed
bruno gus hana kim kim gus
jules 6 active chen 27 active farah 29 closed eli 2 pending bruno 26 pending chen 24 ready
jules chen farah eli bruno chen
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0014578
qwen/qwen3.7-plus
awkweave-0014579
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,1,ready farah,6,active dina,25,closed gus,7,closed gus,27,pending jules,13,paused gus,20,closed
dina gus gus
kim,1,failed hana,18,failed ivan,9,paused dina,2,failed hana,9,ready jules,23,closed gus,21,paused lina,30,pending chen,4,pending ivan,16,failed
hana jules gus lina ivan
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014579-p1
Output the first field of comma-separated records only if the second field is greater than 14.
BEGIN{FS=OFS=","}$2>14{print $1}
jules,1,ready farah,6,active dina,25,closed gus,7,closed gus,27,pending jules,13,paused gus,20,closed
dina gus gus
kim,1,failed hana,18,failed ivan,9,paused dina,2,failed hana,9,ready jules,23,closed gus,21,paused lina,30,pending chen,4,pending ivan,16,failed
hana jules gus lina ivan
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014579
qwen/qwen3.7-plus
awkweave-0014580
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice birch 116 chen cobalt 30 lina grove 12 farah ember 0 bruno delta 82 alice birch 12 alice juniper 68
alice birch 116 chen cobalt 30 lina grove 12 farah ember 0 bruno delta 82 alice birch 12 alice juniper 68
jules indigo 67 alice juniper 21 eli juniper 67 lina cobalt 0 alice ember 87 hana birch 112 hana harbor 48 dina cobalt 81
jules indigo 67 alice juniper 21 eli juniper 67 lina cobalt 0 alice ember 87 hana birch 112 hana harbor 48 dina cobalt 81
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014580-p1
Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice birch 116 chen cobalt 30 lina grove 12 farah ember 0 bruno delta 82 alice birch 12 alice juniper 68
alice birch 116 chen cobalt 30 lina grove 12 farah ember 0 bruno delta 82 alice birch 12 alice juniper 68
jules indigo 67 alice juniper 21 eli juniper 67 lina cobalt 0 alice ember 87 hana birch 112 hana harbor 48 dina cobalt 81
jules indigo 67 alice juniper 21 eli juniper 67 lina cobalt 0 alice ember 87 hana birch 112 hana harbor 48 dina cobalt 81
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014580
qwen/qwen3.7-plus
awkweave-0014581
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli birch 54 paused gus grove 39 paused bruno fable 34 active farah cobalt 71 paused lina fable 52 failed bruno harbor 89 paused
farah cobalt 71 paused
eli fable 48 active ivan indigo 93 failed alice fable 36 ready eli amber 5 failed lina harbor 20 ready hana harbor 83 closed lina birch 82 closed bruno juniper 1 ready
ivan indigo 93 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014581-p1
Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
eli birch 54 paused gus grove 39 paused bruno fable 34 active farah cobalt 71 paused lina fable 52 failed bruno harbor 89 paused
farah cobalt 71 paused
eli fable 48 active ivan indigo 93 failed alice fable 36 ready eli amber 5 failed lina harbor 20 ready hana harbor 83 closed lina birch 82 closed bruno juniper 1 ready
ivan indigo 93 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014581
qwen/qwen3.7-plus
awkweave-0014582
Print every 3rd line starting at line 1 (then line 4, and so on).
NR%3==1
farah 89 farah 7 alice 44 hana 65 dina 89 bruno 17 ivan 9
farah 89 hana 65 ivan 9
gus 15 chen 66 eli 32 dina 10 jules 91 kim 109 gus 24 dina 107 farah 107
gus 15 dina 10 gus 24
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014582-p1
Print lines 1, 4, 7, and so on, effectively outputting every third line starting from the first.
NR%3==1
farah 89 farah 7 alice 44 hana 65 dina 89 bruno 17 ivan 9
farah 89 hana 65 ivan 9
gus 15 chen 66 eli 32 dina 10 jules 91 kim 109 gus 24 dina 107 farah 107
gus 15 dina 10 gus 24
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014582
qwen/qwen3.7-plus
awkweave-0014583
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma delta 11 gamma harbor 68 alpha grove 88 delta amber 118 delta delta 115 gamma juniper 96 beta delta 71 alpha birch 40
6
alpha indigo 115 gamma ember 110 alpha grove 93 gamma cobalt 64 gamma fable 57 delta harbor 108 alpha fable 79 alpha amber 39
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014583-p1
Calculate and display the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
gamma delta 11 gamma harbor 68 alpha grove 88 delta amber 118 delta delta 115 gamma juniper 96 beta delta 71 alpha birch 40
6
alpha indigo 115 gamma ember 110 alpha grove 93 gamma cobalt 64 gamma fable 57 delta harbor 108 alpha fable 79 alpha amber 39
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014583
qwen/qwen3.7-plus
awkweave-0014584
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}
farah 4 0 farah 18 18 hana 18 27 bruno 27 9 jules 24 24 gus 1 26 farah 28 4 chen 30 4 hana 6 6
farah 1.00 hana 0.67 bruno 3.00 jules 1.00 gus 0.04 farah 7.00 chen 7.50 hana 1.00
farah 14 0 jules 28 16 ivan 26 23 chen 1 11 alice 23 29 lina 18 30 farah 24 27
jules 1.75 ivan 1.13 chen 0.09 alice 0.79 lina 0.60 farah 0.89
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014584-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}
farah 4 0 farah 18 18 hana 18 27 bruno 27 9 jules 24 24 gus 1 26 farah 28 4 chen 30 4 hana 6 6
farah 1.00 hana 0.67 bruno 3.00 jules 1.00 gus 0.04 farah 7.00 chen 7.50 hana 1.00
farah 14 0 jules 28 16 ivan 26 23 chen 1 11 alice 23 29 lina 18 30 farah 24 27
jules 1.75 ivan 1.13 chen 0.09 alice 0.79 lina 0.60 farah 0.89
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014584
qwen/qwen3.7-plus
awkweave-0014585
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 fable 24 lina birch 7 bruno grove 11 jules birch 10 gus birch 2 gus juniper 24 eli birch 3 jules delta 7 lina harbor 29
lina harbor 29 farah fable 24 gus juniper 24
jules cobalt 16 eli fable 21 dina fable 13 chen indigo 2 dina birch 23 eli delta 27 lina juniper 14
eli delta 27 dina birch 23 eli fable 21
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014585-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 fable 24 lina birch 7 bruno grove 11 jules birch 10 gus birch 2 gus juniper 24 eli birch 3 jules delta 7 lina harbor 29
lina harbor 29 farah fable 24 gus juniper 24
jules cobalt 16 eli fable 21 dina fable 13 chen indigo 2 dina birch 23 eli delta 27 lina juniper 14
eli delta 27 dina birch 23 eli fable 21
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014585
qwen/qwen3.7-plus
awkweave-0014586
Print column 2 followed by column 1 for every record.
{print $2, $1}
hana ready amber 1 pending ivan farah pending delta 28 active gus chen ready amber 105 pending jules gus active juniper 72 ready eli lina closed indigo 35 pending gus chen ready birch 86 pending dina lina ready ember 21 active bruno dina pending harbor 13 closed ivan
ready hana pending farah ready chen active gus closed lina ready chen ready lina pending dina
chen paused harbor 49 active farah dina active fable 28 active ivan ivan failed harbor 107 paused jules bruno ready amber 2 closed eli alice failed delta 18 active chen kim closed amber 119 pending ivan
paused chen active dina failed ivan ready bruno failed alice closed kim
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014586-p1
Swap the order of the first two columns, printing column 2 followed by column 1 for every record.
{print $2, $1}
hana ready amber 1 pending ivan farah pending delta 28 active gus chen ready amber 105 pending jules gus active juniper 72 ready eli lina closed indigo 35 pending gus chen ready birch 86 pending dina lina ready ember 21 active bruno dina pending harbor 13 closed ivan
ready hana pending farah ready chen active gus closed lina ready chen ready lina pending dina
chen paused harbor 49 active farah dina active fable 28 active ivan ivan failed harbor 107 paused jules bruno ready amber 2 closed eli alice failed delta 18 active chen kim closed amber 119 pending ivan
paused chen active dina failed ivan ready bruno failed alice closed kim
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014586
qwen/qwen3.7-plus
awkweave-0014587
Print the last field of every input line.
{print $NF}
failed closed failed 53 chen ready ready ready 40 chen ready failed pending 108 jules pending ready paused 9 chen pending ready failed 78 jules paused failed closed 104 jules
chen chen jules chen jules jules
failed pending failed 113 hana paused closed closed 49 gus ready active active 19 alice active pending failed 39 ivan paused failed ready 88 chen ready failed pending 100 chen
hana gus alice ivan chen chen
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014587-p1
Output the final field from every line of input.
{print $NF}
failed closed failed 53 chen ready ready ready 40 chen ready failed pending 108 jules pending ready paused 9 chen pending ready failed 78 jules paused failed closed 104 jules
chen chen jules chen jules jules
failed pending failed 113 hana paused closed closed 49 gus ready active active 19 alice active pending failed 39 ivan paused failed ready 88 chen ready failed pending 100 chen
hana gus alice ivan chen chen
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014587
qwen/qwen3.7-plus
awkweave-0014588
Print the complete records where column 3 is at most 40.
$3 <= 40
grove bruno 115 pending juniper farah 29 closed birch bruno 2 ready harbor hana 87 paused cobalt chen 10 closed grove jules 44 failed juniper hana 14 closed
juniper farah 29 closed birch bruno 2 ready cobalt chen 10 closed juniper hana 14 closed
cobalt ivan 14 ready harbor lina 26 pending harbor lina 1 ready indigo kim 112 pending juniper farah 44 active ember dina 59 ready fable jules 76 closed indigo bruno 6 ready
cobalt ivan 14 ready harbor lina 26 pending harbor lina 1 ready indigo bruno 6 ready
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014588-p1
Display full records where the value in column 3 is less than or equal to 40.
$3 <= 40
grove bruno 115 pending juniper farah 29 closed birch bruno 2 ready harbor hana 87 paused cobalt chen 10 closed grove jules 44 failed juniper hana 14 closed
juniper farah 29 closed birch bruno 2 ready cobalt chen 10 closed juniper hana 14 closed
cobalt ivan 14 ready harbor lina 26 pending harbor lina 1 ready indigo kim 112 pending juniper farah 44 active ember dina 59 ready fable jules 76 closed indigo bruno 6 ready
cobalt ivan 14 ready harbor lina 26 pending harbor lina 1 ready indigo bruno 6 ready
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014588
qwen/qwen3.7-plus
awkweave-0014589
Show whole lines whose 2nd field is between 9 and 29, inclusive.
$2 >= 9 && $2 <= 29
farah 18 active chen farah 27 pending ivan hana 17 pending kim hana 29 closed kim ivan 10 ready bruno lina 13 failed kim
farah 18 active chen farah 27 pending ivan hana 17 pending kim hana 29 closed kim ivan 10 ready bruno lina 13 failed kim
jules 10 active dina kim 6 pending alice chen 7 closed ivan ivan 26 active bruno lina 24 failed eli hana 9 closed eli
jules 10 active dina ivan 26 active bruno lina 24 failed eli hana 9 closed eli
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014589-p1
Print entire lines where the second field falls within the inclusive range of 9 to 29.
$2 >= 9 && $2 <= 29
farah 18 active chen farah 27 pending ivan hana 17 pending kim hana 29 closed kim ivan 10 ready bruno lina 13 failed kim
farah 18 active chen farah 27 pending ivan hana 17 pending kim hana 29 closed kim ivan 10 ready bruno lina 13 failed kim
jules 10 active dina kim 6 pending alice chen 7 closed ivan ivan 26 active bruno lina 24 failed eli hana 9 closed eli
jules 10 active dina ivan 26 active bruno lina 24 failed eli hana 9 closed eli
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014589
qwen/qwen3.7-plus
awkweave-0014600
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
26 grove lina 5 delta kim 8 grove kim 22 birch ivan 25 cobalt jules 4 birch kim 5 harbor ivan 21 indigo lina
26
3 juniper jules 8 juniper farah 29 fable ivan 10 fable eli 16 harbor jules 20 ember alice 21 harbor kim 2 grove jules 18 birch lina
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014600-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
26 grove lina 5 delta kim 8 grove kim 22 birch ivan 25 cobalt jules 4 birch kim 5 harbor ivan 21 indigo lina
26
3 juniper jules 8 juniper farah 29 fable ivan 10 fable eli 16 harbor jules 20 ember alice 21 harbor kim 2 grove jules 18 birch lina
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014600
qwen/qwen3.7-plus
awkweave-0014601
Count all input records and print the total.
END{print NR}
dina 116 dina 28 lina 87 lina 30 farah 97 hana 52 kim 34 lina 3
8
lina 96 ivan 31 jules 32 lina 6 hana 25 gus 28 hana 35 ivan 118
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014601-p1
Calculate the total number of input records and display the count.
END{print NR}
dina 116 dina 28 lina 87 lina 30 farah 97 hana 52 kim 34 lina 3
8
lina 96 ivan 31 jules 32 lina 6 hana 25 gus 28 hana 35 ivan 118
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014601
qwen/qwen3.7-plus
awkweave-0014602
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
alice indigo 78 eli cobalt 26 eli amber 8 ivan fable 95 gus amber 30 chen delta 64 alice indigo 78 ivan fable 35
alice indigo 78 eli cobalt 26 eli amber 8 ivan fable 95 gus amber 30 chen delta 64 ivan fable 35
chen grove 29 jules delta 105 chen grove 29 jules fable 93 eli indigo 65 lina grove 117 kim amber 14 farah delta 16 dina juniper 96
chen grove 29 jules delta 105 jules fable 93 eli indigo 65 lina grove 117 kim amber 14 farah delta 16 dina juniper 96
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014602-p1
Eliminate duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
alice indigo 78 eli cobalt 26 eli amber 8 ivan fable 95 gus amber 30 chen delta 64 alice indigo 78 ivan fable 35
alice indigo 78 eli cobalt 26 eli amber 8 ivan fable 95 gus amber 30 chen delta 64 ivan fable 35
chen grove 29 jules delta 105 chen grove 29 jules fable 93 eli indigo 65 lina grove 117 kim amber 14 farah delta 16 dina juniper 96
chen grove 29 jules delta 105 jules fable 93 eli indigo 65 lina grove 117 kim amber 14 farah delta 16 dina juniper 96
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014602
qwen/qwen3.7-plus
awkweave-0014603
Keep only the first line for each distinct value in column 1; preserve input order.
!seen[$1]++
gus juniper 120 ivan juniper 56 gus cobalt 112 chen indigo 77 lina cobalt 90 alice harbor 104 lina birch 56 alice delta 55 eli grove 99
gus juniper 120 ivan juniper 56 chen indigo 77 lina cobalt 90 alice harbor 104 eli grove 99
chen ember 63 ivan juniper 42 chen grove 104 chen ember 11 dina delta 28 lina delta 55
chen ember 63 ivan juniper 42 dina delta 28 lina delta 55
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014603-p1
Retain only the initial line for every unique value in the first column, keeping the original order.
!seen[$1]++
gus juniper 120 ivan juniper 56 gus cobalt 112 chen indigo 77 lina cobalt 90 alice harbor 104 lina birch 56 alice delta 55 eli grove 99
gus juniper 120 ivan juniper 56 chen indigo 77 lina cobalt 90 alice harbor 104 eli grove 99
chen ember 63 ivan juniper 42 chen grove 104 chen ember 11 dina delta 28 lina delta 55
chen ember 63 ivan juniper 42 dina delta 28 lina delta 55
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014603
qwen/qwen3.7-plus
awkweave-0014604
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
kim 19 juniper gus 2 grove ivan 23 harbor chen 10 grove lina 9 indigo dina 5 cobalt
kim 19 gus 21 ivan 44 chen 54 lina 63 dina 68
alice 29 harbor dina 11 birch hana 5 birch dina 30 amber chen 9 cobalt gus 20 cobalt farah 6 ember chen 23 birch
alice 29 dina 40 hana 45 dina 75 chen 84 gus 104 farah 110 chen 133
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014604-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
kim 19 juniper gus 2 grove ivan 23 harbor chen 10 grove lina 9 indigo dina 5 cobalt
kim 19 gus 21 ivan 44 chen 54 lina 63 dina 68
alice 29 harbor dina 11 birch hana 5 birch dina 30 amber chen 9 cobalt gus 20 cobalt farah 6 ember chen 23 birch
alice 29 dina 40 hana 45 dina 75 chen 84 gus 104 farah 110 chen 133
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014604
qwen/qwen3.7-plus
awkweave-0014605
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
bruno 2 22 ember eli 15 30 grove dina 3 18 juniper alice 20 19 juniper eli 25 25 birch hana 19 13 ember kim 10 16 amber
bruno 24 eli 45 dina 21 alice 39 eli 50 hana 32 kim 26
dina 19 17 amber kim 7 18 juniper chen 21 6 fable chen 11 23 birch lina 15 2 fable eli 25 18 amber kim 29 24 indigo alice 16 9 ember alice 5 7 birch
dina 36 kim 25 chen 27 chen 34 lina 17 eli 43 kim 53 alice 25 alice 12
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014605-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
bruno 2 22 ember eli 15 30 grove dina 3 18 juniper alice 20 19 juniper eli 25 25 birch hana 19 13 ember kim 10 16 amber
bruno 24 eli 45 dina 21 alice 39 eli 50 hana 32 kim 26
dina 19 17 amber kim 7 18 juniper chen 21 6 fable chen 11 23 birch lina 15 2 fable eli 25 18 amber kim 29 24 indigo alice 16 9 ember alice 5 7 birch
dina 36 kim 25 chen 27 chen 34 lina 17 eli 43 kim 53 alice 25 alice 12
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014605
qwen/qwen3.7-plus
awkweave-0014606
Print column 1 and pass when column 2 is at least 24; otherwise print fail.
{print $1,($2>=24?"pass":"fail")}
gus 7 bruno 30 jules 1 kim 28 bruno 18 alice 19 lina 27 bruno 3 kim 12
gus fail bruno pass jules fail kim pass bruno fail alice fail lina pass bruno fail kim fail
chen 17 hana 12 lina 2 ivan 19 gus 7 kim 5 lina 11
chen fail hana fail lina fail ivan fail gus fail kim fail lina fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014606-p1
Output the first column and print 'pass' if the second column is 24 or greater; otherwise, print 'fail'.
{print $1,($2>=24?"pass":"fail")}
gus 7 bruno 30 jules 1 kim 28 bruno 18 alice 19 lina 27 bruno 3 kim 12
gus fail bruno pass jules fail kim pass bruno fail alice fail lina pass bruno fail kim fail
chen 17 hana 12 lina 2 ivan 19 gus 7 kim 5 lina 11
chen fail hana fail lina fail ivan fail gus fail kim fail lina fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014606
qwen/qwen3.7-plus
awkweave-0014607
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus birch 9 ivan amber 20 gus delta 111 farah harbor 102 eli ember 95 ivan harbor 79
GUS IVAN GUS FARAH ELI IVAN
ivan birch 67 farah delta 38 ivan indigo 88 kim ember 46 chen amber 19 alice cobalt 68
IVAN FARAH IVAN KIM CHEN ALICE
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014607-p1
Transform the first column to uppercase and output only that column.
{print toupper($1)}
gus birch 9 ivan amber 20 gus delta 111 farah harbor 102 eli ember 95 ivan harbor 79
GUS IVAN GUS FARAH ELI IVAN
ivan birch 67 farah delta 38 ivan indigo 88 kim ember 46 chen amber 19 alice cobalt 68
IVAN FARAH IVAN KIM CHEN ALICE
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014607
qwen/qwen3.7-plus
awkweave-0014608
From column 1, print 2 characters starting at character 2.
{print substr($1,2,2)}
delta 24 harbor 22 harbor 75 cobalt 58 grove 68 birch 60 ember 36 birch 63 cobalt 42 grove 35
el ar ar ob ro ir mb ir ob ro
juniper 26 indigo 42 ember 52 juniper 26 amber 85 juniper 116 delta 6
un nd mb un mb un el
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014608-p1
Extract and print a substring of 2 characters from the first column, starting at the second character.
{print substr($1,2,2)}
delta 24 harbor 22 harbor 75 cobalt 58 grove 68 birch 60 ember 36 birch 63 cobalt 42 grove 35
el ar ar ob ro ir mb ir ob ro
juniper 26 indigo 42 ember 52 juniper 26 amber 85 juniper 116 delta 6
un nd mb un mb un el
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014608
qwen/qwen3.7-plus
awkweave-0014609
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
harbor_harbor 28 ember_birch 44 ember_juniper 76 juniper_ember 50 grove_grove 92 fable_harbor 27 ember_ember 15 juniper_delta 85 amber_amber 78 fable_harbor 66
harbor harbor ember birch ember juniper juniper ember grove grove fable harbor ember ember juniper delta amber amber fable harbor
delta_birch 67 cobalt_indigo 46 indigo_indigo 20 cobalt_indigo 11 juniper_delta 12 grove_grove 108 indigo_delta 76 ember_birch 24
delta birch cobalt indigo indigo indigo cobalt indigo juniper delta grove grove indigo delta ember birch
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0014609-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
harbor_harbor 28 ember_birch 44 ember_juniper 76 juniper_ember 50 grove_grove 92 fable_harbor 27 ember_ember 15 juniper_delta 85 amber_amber 78 fable_harbor 66
harbor harbor ember birch ember juniper juniper ember grove grove fable harbor ember ember juniper delta amber amber fable harbor
delta_birch 67 cobalt_indigo 46 indigo_indigo 20 cobalt_indigo 11 juniper_delta 12 grove_grove 108 indigo_delta 76 ember_birch 24
delta birch cobalt indigo indigo indigo cobalt indigo juniper delta grove grove indigo delta ember birch
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0014609
qwen/qwen3.7-plus
awkweave-0014610
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
ivan grove 88 closed gus juniper 9 pending ivan birch 73 ready kim juniper 21 active ivan birch 73 failed kim grove 85 pending dina cobalt 82 ready ivan indigo 116 pending farah fable 99 paused lina amber 23 closed
closed 88 grove ivan pending 9 juniper gus ready 73 birch ivan active 21 juniper kim failed 73 birch ivan pending 85 grove kim ready 82 cobalt dina pending 116 indigo ivan paused 99 fable farah closed 23 amber lina
lina indigo 46 ready hana delta 30 active lina indigo 53 failed jules grove 83 failed bruno ember 71 closed chen amber 114 active eli cobalt 80 failed ivan cobalt 34 active lina cobalt 45 failed chen amber 112 ready
ready 46 indigo lina active 30 delta hana failed 53 indigo lina failed 83 grove jules closed 71 ember bruno active 114 amber chen failed 80 cobalt eli active 34 cobalt ivan failed 45 cobalt lina ready 112 amber chen
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null