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-0046382-p1 | Compute and display the total sum of integer values found in column 3. | {s+=$3}END{print s+0} | bruno juniper 16
chen indigo 28
dina juniper 26
jules cobalt 6
gus grove 23
lina juniper 2
ivan juniper 8
chen fable 3
| 112
| bruno grove 14
ivan birch 19
dina juniper 14
ivan delta 5
dina fable 26
gus indigo 2
farah cobalt 13
lina delta 4
ivan juniper 22
chen juniper 16
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046382 | qwen/qwen3.7-plus |
awkweave-0046383 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | farah amber 9
lina ember 8
farah grove 8
kim grove 12
alice ember 26
alice birch 8
| 11.83
| gus grove 13
hana cobalt 4
ivan cobalt 7
hana harbor 20
eli indigo 13
lina fable 13
lina harbor 8
chen delta 6
gus harbor 16
hana harbor 13
| 11.30
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046383-p1 | Calculate the average of column 3 and print it rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | farah amber 9
lina ember 8
farah grove 8
kim grove 12
alice ember 26
alice birch 8
| 11.83
| gus grove 13
hana cobalt 4
ivan cobalt 7
hana harbor 20
eli indigo 13
lina fable 13
lina harbor 8
chen delta 6
gus harbor 16
hana harbor 13
| 11.30
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046383 | qwen/qwen3.7-plus |
awkweave-0046384 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 lina birch
1 jules harbor
19 hana amber
29 lina harbor
11 dina amber
23 farah delta
24 alice fable
| 1
| 10 bruno indigo
13 farah delta
8 jules delta
3 gus juniper
12 lina cobalt
1 alice ember
25 bruno grove
26 chen juniper
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046384-p1 | Identify and output the minimum numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 lina birch
1 jules harbor
19 hana amber
29 lina harbor
11 dina amber
23 farah delta
24 alice fable
| 1
| 10 bruno indigo
13 farah delta
8 jules delta
3 gus juniper
12 lina cobalt
1 alice ember
25 bruno grove
26 chen juniper
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046384 | qwen/qwen3.7-plus |
awkweave-0046385 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 15 bruno delta
29 hana delta
19 alice cobalt
14 ivan fable
18 jules juniper
27 chen delta
20 chen birch
2 jules indigo
26 ivan cobalt
| 29
| 23 lina harbor
19 dina ember
17 chen juniper
14 jules fable
22 hana fable
19 eli fable
4 farah harbor
24 alice grove
3 alice delta
| 24
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046385-p1 | Identify and output the maximum numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 15 bruno delta
29 hana delta
19 alice cobalt
14 ivan fable
18 jules juniper
27 chen delta
20 chen birch
2 jules indigo
26 ivan cobalt
| 29
| 23 lina harbor
19 dina ember
17 chen juniper
14 jules fable
22 hana fable
19 eli fable
4 farah harbor
24 alice grove
3 alice delta
| 24
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046385 | qwen/qwen3.7-plus |
awkweave-0046386 | Count all input records and print the total. | END{print NR} | lina 85
alice 48
eli 15
dina 79
farah 87
farah 109
lina 107
lina 88
| 8
| bruno 35
lina 73
gus 26
lina 66
farah 19
jules 35
lina 31
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046386-p1 | Count the total number of input records and print the result. | END{print NR} | lina 85
alice 48
eli 15
dina 79
farah 87
farah 109
lina 107
lina 88
| 8
| bruno 35
lina 73
gus 26
lina 66
farah 19
jules 35
lina 31
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046386 | qwen/qwen3.7-plus |
awkweave-0046387 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim delta 104
ivan fable 31
gus delta 80
eli amber 21
bruno ember 107
eli amber 21
chen cobalt 92
dina fable 1
| kim delta 104
ivan fable 31
gus delta 80
eli amber 21
bruno ember 107
chen cobalt 92
dina fable 1
| alice ember 84
kim grove 115
hana ember 17
bruno amber 102
gus harbor 58
jules ember 85
farah harbor 65
jules delta 16
chen grove 120
chen grove 120
hana harbor 8
| alice ember 84
kim grove 115
hana ember 17
bruno amber 102
gus harbor 58
jules ember 85
farah harbor 65
jules delta 16
chen grove 120
hana harbor 8
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046387-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | kim delta 104
ivan fable 31
gus delta 80
eli amber 21
bruno ember 107
eli amber 21
chen cobalt 92
dina fable 1
| kim delta 104
ivan fable 31
gus delta 80
eli amber 21
bruno ember 107
chen cobalt 92
dina fable 1
| alice ember 84
kim grove 115
hana ember 17
bruno amber 102
gus harbor 58
jules ember 85
farah harbor 65
jules delta 16
chen grove 120
chen grove 120
hana harbor 8
| alice ember 84
kim grove 115
hana ember 17
bruno amber 102
gus harbor 58
jules ember 85
farah harbor 65
jules delta 16
chen grove 120
hana harbor 8
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046387 | qwen/qwen3.7-plus |
awkweave-0046388 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | alice delta 77
hana fable 97
bruno juniper 33
ivan birch 42
ivan amber 46
jules grove 114
lina cobalt 65
gus amber 58
farah delta 64
ivan ember 41
| alice delta 77
hana fable 97
bruno juniper 33
ivan birch 42
ivan amber 46
jules grove 114
lina cobalt 65
gus amber 58
farah delta 64
ivan ember 41
| eli birch 92
chen delta 120
eli fable 94
bruno cobalt 115
farah grove 30
lina cobalt 16
chen amber 14
alice indigo 118
hana grove 96
| eli birch 92
chen delta 120
eli fable 94
bruno cobalt 115
farah grove 30
lina cobalt 16
chen amber 14
alice indigo 118
hana grove 96
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046388-p1 | Retain only the first occurrence for each unique value in column 3, preserving the original input order. | !seen[$3]++ | alice delta 77
hana fable 97
bruno juniper 33
ivan birch 42
ivan amber 46
jules grove 114
lina cobalt 65
gus amber 58
farah delta 64
ivan ember 41
| alice delta 77
hana fable 97
bruno juniper 33
ivan birch 42
ivan amber 46
jules grove 114
lina cobalt 65
gus amber 58
farah delta 64
ivan ember 41
| eli birch 92
chen delta 120
eli fable 94
bruno cobalt 115
farah grove 30
lina cobalt 16
chen amber 14
alice indigo 118
hana grove 96
| eli birch 92
chen delta 120
eli fable 94
bruno cobalt 115
farah grove 30
lina cobalt 16
chen amber 14
alice indigo 118
hana grove 96
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046388 | qwen/qwen3.7-plus |
awkweave-0046389 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 24 birch
kim 7 indigo
lina 29 juniper
gus 21 birch
jules 27 grove
kim 30 indigo
hana 1 harbor
eli 13 delta
alice 15 harbor
| farah 24
kim 31
lina 60
gus 81
jules 108
kim 138
hana 139
eli 152
alice 167
| ivan 11 fable
dina 11 birch
farah 24 birch
ivan 16 ember
eli 26 amber
chen 26 juniper
| ivan 11
dina 22
farah 46
ivan 62
eli 88
chen 114
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046389-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 24 birch
kim 7 indigo
lina 29 juniper
gus 21 birch
jules 27 grove
kim 30 indigo
hana 1 harbor
eli 13 delta
alice 15 harbor
| farah 24
kim 31
lina 60
gus 81
jules 108
kim 138
hana 139
eli 152
alice 167
| ivan 11 fable
dina 11 birch
farah 24 birch
ivan 16 ember
eli 26 amber
chen 26 juniper
| ivan 11
dina 22
farah 46
ivan 62
eli 88
chen 114
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046389 | qwen/qwen3.7-plus |
awkweave-0046400 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note score record_id display_name
r001 alice 9 pending
r002 lina 9 failed
r003 farah 1 active
r004 lina 4 closed
r005 jules 11 ready
r006 lina 30 closed
| pending
failed
active
closed
ready
closed
| note score record_id display_name
r001 eli 19 failed
r002 chen 4 closed
r003 bruno 22 pending
r004 eli 10 failed
r005 alice 4 closed
r006 ivan 4 active
r007 hana 28 active
r008 chen 24 paused
r009 eli 4 paused
r010 chen 30 closed
| failed
closed
pending
failed
closed
active
active
paused
paused
closed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046400-p1 | Skip the header row and output the display_name field for all remaining records. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note score record_id display_name
r001 alice 9 pending
r002 lina 9 failed
r003 farah 1 active
r004 lina 4 closed
r005 jules 11 ready
r006 lina 30 closed
| pending
failed
active
closed
ready
closed
| note score record_id display_name
r001 eli 19 failed
r002 chen 4 closed
r003 bruno 22 pending
r004 eli 10 failed
r005 alice 4 closed
r006 ivan 4 active
r007 hana 28 active
r008 chen 24 paused
r009 eli 4 paused
r010 chen 30 closed
| failed
closed
pending
failed
closed
active
active
paused
paused
closed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046400 | qwen/qwen3.7-plus |
awkweave-0046401 | The first row is a header. Print display_name for data rows whose score is greater than 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 dina 30 failed
r002 ivan 5 pending
r003 hana 19 closed
r004 ivan 29 active
r005 ivan 3 ready
r006 gus 22 paused
| dina
ivan
| record_id display_name score state
r001 jules 2 active
r002 jules 16 closed
r003 ivan 26 paused
r004 ivan 11 active
r005 chen 4 ready
r006 bruno 9 failed
| ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046401-p1 | Ignoring the header, output the display_name for rows where the score exceeds 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 dina 30 failed
r002 ivan 5 pending
r003 hana 19 closed
r004 ivan 29 active
r005 ivan 3 ready
r006 gus 22 paused
| dina
ivan
| record_id display_name score state
r001 jules 2 active
r002 jules 16 closed
r003 ivan 26 paused
r004 ivan 11 active
r005 chen 4 ready
r006 bruno 9 failed
| ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046401 | qwen/qwen3.7-plus |
awkweave-0046402 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | gus 1 active
kim 30 closed
dina 17 ready
kim 27 closed
alice 13 ready
kim 26 pending
alice 22 ready
| gus
kim
dina
kim
alice
kim
alice
| kim 28 active
chen 28 pending
hana 25 ready
kim 9 ready
alice 29 ready
jules 14 paused
dina 4 ready
bruno 26 closed
ivan 9 failed
| kim
chen
hana
kim
alice
jules
dina
bruno
ivan
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046402-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | gus 1 active
kim 30 closed
dina 17 ready
kim 27 closed
alice 13 ready
kim 26 pending
alice 22 ready
| gus
kim
dina
kim
alice
kim
alice
| kim 28 active
chen 28 pending
hana 25 ready
kim 9 ready
alice 29 ready
jules 14 paused
dina 4 ready
bruno 26 closed
ivan 9 failed
| kim
chen
hana
kim
alice
jules
dina
bruno
ivan
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0046402 | qwen/qwen3.7-plus |
awkweave-0046403 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23. | BEGIN{FS=OFS=","}$2>23{print $1} | lina,27,pending
jules,3,active
lina,6,pending
hana,24,active
ivan,2,ready
hana,11,active
kim,4,failed
kim,20,active
| lina
hana
| lina,21,pending
hana,19,closed
kim,28,active
gus,9,closed
bruno,10,ready
eli,26,closed
| kim
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046403-p1 | For simple CSV data without quoted commas, print the first column if the second column is greater than 23. | BEGIN{FS=OFS=","}$2>23{print $1} | lina,27,pending
jules,3,active
lina,6,pending
hana,24,active
ivan,2,ready
hana,11,active
kim,4,failed
kim,20,active
| lina
hana
| lina,21,pending
hana,19,closed
kim,28,active
gus,9,closed
bruno,10,ready
eli,26,closed
| kim
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046403 | qwen/qwen3.7-plus |
awkweave-0046404 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice ember 108
bruno indigo 79
alice amber 66
eli amber 13
farah indigo 45
farah indigo 78
gus indigo 72
chen delta 38
eli fable 16
| alice ember 108
bruno indigo 79
alice amber 66
eli amber 13
farah indigo 45
farah indigo 78
gus indigo 72
chen delta 38
eli fable 16
| dina cobalt 15
hana harbor 21
jules cobalt 86
dina ember 116
bruno juniper 55
dina grove 91
alice amber 2
dina cobalt 2
kim amber 92
| dina cobalt 15
hana harbor 21
jules cobalt 86
dina ember 116
bruno juniper 55
dina grove 91
alice amber 2
dina cobalt 2
kim amber 92
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046404-p1 | Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space. | {$1=$1;print} | alice ember 108
bruno indigo 79
alice amber 66
eli amber 13
farah indigo 45
farah indigo 78
gus indigo 72
chen delta 38
eli fable 16
| alice ember 108
bruno indigo 79
alice amber 66
eli amber 13
farah indigo 45
farah indigo 78
gus indigo 72
chen delta 38
eli fable 16
| dina cobalt 15
hana harbor 21
jules cobalt 86
dina ember 116
bruno juniper 55
dina grove 91
alice amber 2
dina cobalt 2
kim amber 92
| dina cobalt 15
hana harbor 21
jules cobalt 86
dina ember 116
bruno juniper 55
dina grove 91
alice amber 2
dina cobalt 2
kim amber 92
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046404 | qwen/qwen3.7-plus |
awkweave-0046405 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina ember 33 ready
bruno ember 33 closed
dina harbor 109 failed
gus indigo 83 paused
eli cobalt 97 pending
hana cobalt 97 paused
| dina harbor 109 failed
| hana birch 108 failed
gus birch 64 closed
hana harbor 56 closed
hana grove 74 ready
gus ember 22 active
alice indigo 0 ready
bruno grove 90 paused
farah birch 73 paused
bruno fable 12 active
alice birch 21 active
| hana birch 108 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046405-p1 | Output the longest line from the input; in case of a tie, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | dina ember 33 ready
bruno ember 33 closed
dina harbor 109 failed
gus indigo 83 paused
eli cobalt 97 pending
hana cobalt 97 paused
| dina harbor 109 failed
| hana birch 108 failed
gus birch 64 closed
hana harbor 56 closed
hana grove 74 ready
gus ember 22 active
alice indigo 0 ready
bruno grove 90 paused
farah birch 73 paused
bruno fable 12 active
alice birch 21 active
| hana birch 108 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046405 | qwen/qwen3.7-plus |
awkweave-0046406 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | hana 61
gus 70
lina 8
bruno 82
farah 5
hana 80
| hana 61
bruno 82
| dina 107
ivan 63
dina 66
jules 26
eli 3
eli 42
eli 16
ivan 105
kim 114
| dina 107
jules 26
eli 16
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046406-p1 | Print lines 1, 4, 7, and so on (every third line starting from the first). | NR%3==1 | hana 61
gus 70
lina 8
bruno 82
farah 5
hana 80
| hana 61
bruno 82
| dina 107
ivan 63
dina 66
jules 26
eli 3
eli 42
eli 16
ivan 105
kim 114
| dina 107
jules 26
eli 16
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046406 | qwen/qwen3.7-plus |
awkweave-0046407 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma indigo 86
gamma amber 77
gamma cobalt 6
beta juniper 15
beta birch 10
beta birch 59
delta grove 93
delta ember 77
beta amber 2
gamma juniper 85
| 7
| delta amber 89
alpha harbor 13
alpha fable 7
delta cobalt 4
delta harbor 46
gamma juniper 84
delta ember 42
delta birch 32
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046407-p1 | Calculate and print only the number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | gamma indigo 86
gamma amber 77
gamma cobalt 6
beta juniper 15
beta birch 10
beta birch 59
delta grove 93
delta ember 77
beta amber 2
gamma juniper 85
| 7
| delta amber 89
alpha harbor 13
alpha fable 7
delta cobalt 4
delta harbor 46
gamma juniper 84
delta ember 42
delta birch 32
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046407 | qwen/qwen3.7-plus |
awkweave-0046408 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 13 0
bruno 12 10
eli 28 13
alice 25 9
gus 17 18
gus 2 11
ivan 10 22
chen 26 20
gus 5 23
| bruno 1.20
eli 2.15
alice 2.78
gus 0.94
gus 0.18
ivan 0.45
chen 1.30
gus 0.22
| gus 14 0
kim 25 27
jules 28 18
bruno 12 4
chen 9 27
farah 6 7
jules 5 30
bruno 28 27
hana 4 30
| kim 0.93
jules 1.56
bruno 3.00
chen 0.33
farah 0.86
jules 0.17
bruno 1.04
hana 0.13
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046408-p1 | For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), skipping any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 13 0
bruno 12 10
eli 28 13
alice 25 9
gus 17 18
gus 2 11
ivan 10 22
chen 26 20
gus 5 23
| bruno 1.20
eli 2.15
alice 2.78
gus 0.94
gus 0.18
ivan 0.45
chen 1.30
gus 0.22
| gus 14 0
kim 25 27
jules 28 18
bruno 12 4
chen 9 27
farah 6 7
jules 5 30
bruno 28 27
hana 4 30
| kim 0.93
jules 1.56
bruno 3.00
chen 0.33
farah 0.86
jules 0.17
bruno 1.04
hana 0.13
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046408 | qwen/qwen3.7-plus |
awkweave-0046409 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | eli harbor 13
hana juniper 10
chen harbor 14
gus cobalt 19
farah grove 11
dina amber 4
| gus cobalt 19
chen harbor 14
eli harbor 13
| gus fable 19
kim delta 6
bruno harbor 28
kim harbor 16
farah grove 12
eli ember 16
| bruno harbor 28
gus fable 19
kim harbor 16
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046409-p1 | Output the three full records with the highest values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | eli harbor 13
hana juniper 10
chen harbor 14
gus cobalt 19
farah grove 11
dina amber 4
| gus cobalt 19
chen harbor 14
eli harbor 13
| gus fable 19
kim delta 6
bruno harbor 28
kim harbor 16
farah grove 12
eli ember 16
| bruno harbor 28
gus fable 19
kim harbor 16
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046409 | qwen/qwen3.7-plus |
awkweave-0046410 | Select the 4th and 3rd fields in that order. | {print $4, $3} | active 62 birch 12 dina
ready 107 fable 21 alice
ready 88 birch 54 hana
failed 61 delta 111 dina
active 33 delta 63 dina
pending 43 ember 61 jules
closed 68 juniper 44 ivan
failed 13 delta 35 farah
paused 44 grove 117 hana
failed 111 juniper 84 kim
| 12 birch
21 fable
54 birch
111 delta
63 delta
61 ember
44 juniper
35 delta
117 grove
84 juniper
| paused 42 ember 85 ivan
failed 41 ember 52 alice
paused 77 juniper 67 kim
ready 29 ember 65 eli
failed 66 amber 18 dina
active 114 juniper 43 farah
| 85 ember
52 ember
67 juniper
65 ember
18 amber
43 juniper
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046410-p1 | Extract and print the fourth field followed by the third field. | {print $4, $3} | active 62 birch 12 dina
ready 107 fable 21 alice
ready 88 birch 54 hana
failed 61 delta 111 dina
active 33 delta 63 dina
pending 43 ember 61 jules
closed 68 juniper 44 ivan
failed 13 delta 35 farah
paused 44 grove 117 hana
failed 111 juniper 84 kim
| 12 birch
21 fable
54 birch
111 delta
63 delta
61 ember
44 juniper
35 delta
117 grove
84 juniper
| paused 42 ember 85 ivan
failed 41 ember 52 alice
paused 77 juniper 67 kim
ready 29 ember 65 eli
failed 66 amber 18 dina
active 114 juniper 43 farah
| 85 ember
52 ember
67 juniper
65 ember
18 amber
43 juniper
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046410 | qwen/qwen3.7-plus |
awkweave-0046411 | Print the last field of every input line. | {print $NF} | birch indigo 99
grove ember 36
amber ember 100
juniper cobalt 26
birch juniper 46
amber birch 30
juniper fable 88
| 99
36
100
26
46
30
88
| indigo birch 16
birch indigo 79
juniper indigo 84
juniper cobalt 51
birch cobalt 93
indigo birch 30
birch harbor 81
| 16
79
84
51
93
30
81
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046411-p1 | Output the final field of each input line. | {print $NF} | birch indigo 99
grove ember 36
amber ember 100
juniper cobalt 26
birch juniper 46
amber birch 30
juniper fable 88
| 99
36
100
26
46
30
88
| indigo birch 16
birch indigo 79
juniper indigo 84
juniper cobalt 51
birch cobalt 93
indigo birch 30
birch harbor 81
| 16
79
84
51
93
30
81
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046411 | qwen/qwen3.7-plus |
awkweave-0046412 | Print the complete records where column 2 is greater than 75. | $2 > 75 | active 34 closed cobalt cobalt
closed 41 paused juniper juniper
failed 72 pending indigo ember
failed 10 ready cobalt amber
paused 39 ready grove indigo
paused 81 paused delta harbor
| paused 81 paused delta harbor
| closed 13 failed juniper birch
failed 1 failed ember ember
active 48 active fable delta
paused 5 pending harbor harbor
paused 80 paused birch harbor
closed 107 ready harbor indigo
failed 9 active ember juniper
closed 90 ready delta delta
| paused 80 paused birch harbor
closed 107 ready harbor indigo
closed 90 ready delta delta
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046412-p1 | Display full rows where the value in the second column exceeds 75. | $2 > 75 | active 34 closed cobalt cobalt
closed 41 paused juniper juniper
failed 72 pending indigo ember
failed 10 ready cobalt amber
paused 39 ready grove indigo
paused 81 paused delta harbor
| paused 81 paused delta harbor
| closed 13 failed juniper birch
failed 1 failed ember ember
active 48 active fable delta
paused 5 pending harbor harbor
paused 80 paused birch harbor
closed 107 ready harbor indigo
failed 9 active ember juniper
closed 90 ready delta delta
| paused 80 paused birch harbor
closed 107 ready harbor indigo
closed 90 ready delta delta
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046412 | qwen/qwen3.7-plus |
awkweave-0046413 | Show whole lines whose 2nd field is between 11 and 26, inclusive. | $2 >= 11 && $2 <= 26 | fable 10 kim farah
juniper 10 jules jules
cobalt 9 ivan dina
juniper 21 farah alice
harbor 3 ivan lina
juniper 23 lina farah
| juniper 21 farah alice
juniper 23 lina farah
| indigo 16 hana chen
indigo 6 alice bruno
harbor 5 ivan jules
delta 16 chen dina
birch 20 bruno dina
birch 24 lina farah
juniper 2 bruno lina
| indigo 16 hana chen
delta 16 chen dina
birch 20 bruno dina
birch 24 lina farah
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046413-p1 | Output entire lines where the second field falls within the inclusive range of 11 to 26. | $2 >= 11 && $2 <= 26 | fable 10 kim farah
juniper 10 jules jules
cobalt 9 ivan dina
juniper 21 farah alice
harbor 3 ivan lina
juniper 23 lina farah
| juniper 21 farah alice
juniper 23 lina farah
| indigo 16 hana chen
indigo 6 alice bruno
harbor 5 ivan jules
delta 16 chen dina
birch 20 bruno dina
birch 24 lina farah
juniper 2 bruno lina
| indigo 16 hana chen
delta 16 chen dina
birch 20 bruno dina
birch 24 lina farah
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046413 | qwen/qwen3.7-plus |
awkweave-0046414 | Print column 4 only for rows where column 2 is exactly failed. | $2 == "failed"{print $4} | 5 active grove alice
5 paused fable farah
58 ready fable farah
16 ready fable alice
119 ready indigo hana
95 paused birch jules
116 ready birch eli
101 failed birch bruno
| bruno
| 29 closed harbor gus
62 active harbor dina
54 active amber dina
96 paused ember chen
29 paused cobalt gus
105 ready fable bruno
66 active ember farah
30 pending delta lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0046414-p1 | Extract only the fourth column for entries where the second column is strictly equal to failed. | $2 == "failed"{print $4} | 5 active grove alice
5 paused fable farah
58 ready fable farah
16 ready fable alice
119 ready indigo hana
95 paused birch jules
116 ready birch eli
101 failed birch bruno
| bruno
| 29 closed harbor gus
62 active harbor dina
54 active amber dina
96 paused ember chen
29 paused cobalt gus
105 ready fable bruno
66 active ember farah
30 pending delta lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046414 | qwen/qwen3.7-plus | |
awkweave-0046415 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | harbor 80 WARN
grove 70 DEBUG
juniper 92 ERROR
birch 80 WARN
ember 93 INFO
amber 27 WARN
amber 76 DEBUG
| ember 93 INFO
| cobalt 114 WARN
birch 36 DEBUG
harbor 5 INFO
fable 83 ERROR
delta 113 ERROR
birch 2 INFO
amber 28 ERROR
delta 85 WARN
cobalt 101 WARN
| harbor 5 INFO
birch 2 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046415-p1 | Print all columns from rows where the third field starts with the prefix INFO. | $3 ~ /^INFO/ | harbor 80 WARN
grove 70 DEBUG
juniper 92 ERROR
birch 80 WARN
ember 93 INFO
amber 27 WARN
amber 76 DEBUG
| ember 93 INFO
| cobalt 114 WARN
birch 36 DEBUG
harbor 5 INFO
fable 83 ERROR
delta 113 ERROR
birch 2 INFO
amber 28 ERROR
delta 85 WARN
cobalt 101 WARN
| harbor 5 INFO
birch 2 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046415 | qwen/qwen3.7-plus |
awkweave-0046416 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | harbor 58 paused
birch 23 ready
harbor 39 active
harbor 37 closed
harbor 34 ready
fable 45 ready
harbor 19 paused
ember 49 pending
ember 999 active
| harbor 58 paused
birch 23 ready
harbor 39 active
harbor 37 closed
harbor 34 ready
fable 45 ready
harbor 19 paused
| cobalt 59 ready
cobalt 109 failed
juniper 16 paused
juniper 46 active
fable 101 ready
amber 14 closed
indigo 22 ready
cobalt 98 active
ember 999 active
| cobalt 59 ready
cobalt 109 failed
juniper 16 paused
juniper 46 active
fable 101 ready
amber 14 closed
indigo 22 ready
cobalt 98 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046416-p1 | Output every line that does not contain the exact string ember. | $0 !~ /ember/ | harbor 58 paused
birch 23 ready
harbor 39 active
harbor 37 closed
harbor 34 ready
fable 45 ready
harbor 19 paused
ember 49 pending
ember 999 active
| harbor 58 paused
birch 23 ready
harbor 39 active
harbor 37 closed
harbor 34 ready
fable 45 ready
harbor 19 paused
| cobalt 59 ready
cobalt 109 failed
juniper 16 paused
juniper 46 active
fable 101 ready
amber 14 closed
indigo 22 ready
cobalt 98 active
ember 999 active
| cobalt 59 ready
cobalt 109 failed
juniper 16 paused
juniper 46 active
fable 101 ready
amber 14 closed
indigo 22 ready
cobalt 98 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046416 | qwen/qwen3.7-plus |
awkweave-0046417 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | alice birch 39
chen fable 91
eli harbor 108
gus fable 76
kim fable 2
kim grove 21
dina delta 110
| eli harbor 108
gus fable 76
| ivan ember 18
bruno ember 18
bruno amber 105
bruno juniper 57
farah indigo 8
farah indigo 50
gus grove 61
lina harbor 43
| bruno amber 105
bruno juniper 57
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046417-p1 | Display lines 3 to 4, inclusive of both the start and end lines. | NR >= 3 && NR <= 4 | alice birch 39
chen fable 91
eli harbor 108
gus fable 76
kim fable 2
kim grove 21
dina delta 110
| eli harbor 108
gus fable 76
| ivan ember 18
bruno ember 18
bruno amber 105
bruno juniper 57
farah indigo 8
farah indigo 50
gus grove 61
lina harbor 43
| bruno amber 105
bruno juniper 57
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046417 | qwen/qwen3.7-plus |
awkweave-0046418 | Output only the first 3 records. | NR <= 3 | bruno 91 juniper
dina 2 grove
lina 5 juniper
ivan 85 delta
chen 107 harbor
kim 67 amber
| bruno 91 juniper
dina 2 grove
lina 5 juniper
| kim 83 birch
ivan 79 cobalt
gus 109 birch
gus 12 amber
bruno 106 cobalt
kim 36 delta
| kim 83 birch
ivan 79 cobalt
gus 109 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046418-p1 | Show only the initial 3 records from the input. | NR <= 3 | bruno 91 juniper
dina 2 grove
lina 5 juniper
ivan 85 delta
chen 107 harbor
kim 67 amber
| bruno 91 juniper
dina 2 grove
lina 5 juniper
| kim 83 birch
ivan 79 cobalt
gus 109 birch
gus 12 amber
bruno 106 cobalt
kim 36 delta
| kim 83 birch
ivan 79 cobalt
gus 109 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046418 | qwen/qwen3.7-plus |
awkweave-0046419 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 26 harbor
lina 101 birch
gus 82 ember
alice 75 birch
alice 48 harbor
alice 63 harbor
alice 10 birch
lina 31 grove
dina 43 cobalt
gus 70 delta
| lina 101 birch
gus 82 ember
alice 75 birch
alice 48 harbor
alice 63 harbor
alice 10 birch
lina 31 grove
dina 43 cobalt
gus 70 delta
| eli 28 juniper
chen 6 ember
farah 76 delta
lina 16 fable
jules 72 ember
eli 109 amber
alice 61 harbor
ivan 1 ember
lina 46 ember
gus 114 harbor
| chen 6 ember
farah 76 delta
lina 16 fable
jules 72 ember
eli 109 amber
alice 61 harbor
ivan 1 ember
lina 46 ember
gus 114 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046419-p1 | Ignore the first line and output all subsequent lines without modification. | NR > 1 | lina 26 harbor
lina 101 birch
gus 82 ember
alice 75 birch
alice 48 harbor
alice 63 harbor
alice 10 birch
lina 31 grove
dina 43 cobalt
gus 70 delta
| lina 101 birch
gus 82 ember
alice 75 birch
alice 48 harbor
alice 63 harbor
alice 10 birch
lina 31 grove
dina 43 cobalt
gus 70 delta
| eli 28 juniper
chen 6 ember
farah 76 delta
lina 16 fable
jules 72 ember
eli 109 amber
alice 61 harbor
ivan 1 ember
lina 46 ember
gus 114 harbor
| chen 6 ember
farah 76 delta
lina 16 fable
jules 72 ember
eli 109 amber
alice 61 harbor
ivan 1 ember
lina 46 ember
gus 114 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046419 | qwen/qwen3.7-plus |
awkweave-0046420 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | eli closed 120
bruno paused 57
kim pending 16
alice active 101
kim active 22
kim failed 2
kim active 61
eli closed 68
bruno active 49
eli failed 23
| 2
| jules paused 104
hana active 46
bruno paused 50
farah failed 85
gus ready 19
lina active 55
alice active 23
chen failed 3
dina pending 13
kim closed 14
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046420-p1 | Count the number of records where column 2 is failed, outputting 0 if no such records exist. | $2 == "failed"{n++}END{print n+0} | eli closed 120
bruno paused 57
kim pending 16
alice active 101
kim active 22
kim failed 2
kim active 61
eli closed 68
bruno active 49
eli failed 23
| 2
| jules paused 104
hana active 46
bruno paused 50
farah failed 85
gus ready 19
lina active 55
alice active 23
chen failed 3
dina pending 13
kim closed 14
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046420 | qwen/qwen3.7-plus |
awkweave-0046421 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | birch 21 kim
amber 24 alice
delta 29 farah
grove 11 jules
juniper 20 ivan
birch 10 jules
ember 4 chen
delta 10 lina
harbor 26 lina
juniper 20 bruno
| 175
| cobalt 4 jules
birch 4 farah
fable 4 bruno
juniper 24 kim
cobalt 9 hana
cobalt 4 ivan
ember 8 gus
ember 14 jules
harbor 10 gus
amber 10 farah
| 91
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046421-p1 | Compute and display the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | birch 21 kim
amber 24 alice
delta 29 farah
grove 11 jules
juniper 20 ivan
birch 10 jules
ember 4 chen
delta 10 lina
harbor 26 lina
juniper 20 bruno
| 175
| cobalt 4 jules
birch 4 farah
fable 4 bruno
juniper 24 kim
cobalt 9 hana
cobalt 4 ivan
ember 8 gus
ember 14 jules
harbor 10 gus
amber 10 farah
| 91
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046421 | qwen/qwen3.7-plus |
awkweave-0046422 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor dina 9
amber bruno 7
indigo alice 26
birch alice 24
indigo hana 17
cobalt lina 6
juniper hana 9
grove kim 7
fable alice 3
fable gus 25
| 13.30
| amber dina 27
amber jules 20
juniper chen 7
delta hana 8
indigo ivan 19
ember farah 12
fable dina 10
indigo chen 30
| 16.62
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046422-p1 | Calculate the average of column 3 and print it rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor dina 9
amber bruno 7
indigo alice 26
birch alice 24
indigo hana 17
cobalt lina 6
juniper hana 9
grove kim 7
fable alice 3
fable gus 25
| 13.30
| amber dina 27
amber jules 20
juniper chen 7
delta hana 8
indigo ivan 19
ember farah 12
fable dina 10
indigo chen 30
| 16.62
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046422 | qwen/qwen3.7-plus |
awkweave-0046423 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 18 fable
dina 29 amber
chen 14 birch
alice 18 indigo
dina 10 ember
kim 3 cobalt
lina 23 amber
dina 30 birch
dina 8 cobalt
| 3
| kim 14 harbor
hana 16 indigo
bruno 15 ember
farah 6 ember
jules 8 cobalt
eli 9 grove
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046423-p1 | Identify and output the minimum numeric value present in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 18 fable
dina 29 amber
chen 14 birch
alice 18 indigo
dina 10 ember
kim 3 cobalt
lina 23 amber
dina 30 birch
dina 8 cobalt
| 3
| kim 14 harbor
hana 16 indigo
bruno 15 ember
farah 6 ember
jules 8 cobalt
eli 9 grove
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046423 | qwen/qwen3.7-plus |
awkweave-0046424 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | amber 3 hana
fable 22 hana
ember 10 alice
harbor 25 jules
indigo 4 gus
ember 24 farah
| 25
| fable 15 farah
ember 12 alice
juniper 29 alice
harbor 3 chen
delta 30 bruno
grove 16 kim
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046424-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | amber 3 hana
fable 22 hana
ember 10 alice
harbor 25 jules
indigo 4 gus
ember 24 farah
| 25
| fable 15 farah
ember 12 alice
juniper 29 alice
harbor 3 chen
delta 30 bruno
grove 16 kim
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046424 | qwen/qwen3.7-plus |
awkweave-0046425 | Count all input records and print the total. | END{print NR} | farah 17
hana 82
gus 17
ivan 96
bruno 19
kim 107
kim 15
| 7
| dina 50
dina 33
ivan 5
alice 96
gus 28
alice 63
ivan 99
eli 68
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046425-p1 | Calculate the total number of input records and display the count. | END{print NR} | farah 17
hana 82
gus 17
ivan 96
bruno 19
kim 107
kim 15
| 7
| dina 50
dina 33
ivan 5
alice 96
gus 28
alice 63
ivan 99
eli 68
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046425 | qwen/qwen3.7-plus |
awkweave-0046426 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice juniper 101
chen birch 40
eli fable 40
jules ember 57
eli fable 40
farah indigo 1
alice indigo 115
| alice juniper 101
chen birch 40
eli fable 40
jules ember 57
farah indigo 1
alice indigo 115
| kim delta 103
dina indigo 76
dina cobalt 65
kim ember 99
hana juniper 58
eli birch 61
farah ember 46
kim grove 64
dina cobalt 65
bruno grove 7
chen harbor 27
| kim delta 103
dina indigo 76
dina cobalt 65
kim ember 99
hana juniper 58
eli birch 61
farah ember 46
kim grove 64
bruno grove 7
chen harbor 27
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046426-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | alice juniper 101
chen birch 40
eli fable 40
jules ember 57
eli fable 40
farah indigo 1
alice indigo 115
| alice juniper 101
chen birch 40
eli fable 40
jules ember 57
farah indigo 1
alice indigo 115
| kim delta 103
dina indigo 76
dina cobalt 65
kim ember 99
hana juniper 58
eli birch 61
farah ember 46
kim grove 64
dina cobalt 65
bruno grove 7
chen harbor 27
| kim delta 103
dina indigo 76
dina cobalt 65
kim ember 99
hana juniper 58
eli birch 61
farah ember 46
kim grove 64
bruno grove 7
chen harbor 27
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046426 | qwen/qwen3.7-plus |
awkweave-0046427 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | ivan delta 83
jules indigo 110
lina fable 42
ivan delta 24
dina delta 42
farah harbor 37
| ivan delta 83
jules indigo 110
lina fable 42
farah harbor 37
| chen harbor 115
chen harbor 99
eli delta 75
hana juniper 7
jules amber 90
hana amber 97
chen indigo 26
| chen harbor 115
eli delta 75
hana juniper 7
jules amber 90
chen indigo 26
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046427-p1 | Retain just the initial line for every unique value in the second column, ensuring input order is preserved. | !seen[$2]++ | ivan delta 83
jules indigo 110
lina fable 42
ivan delta 24
dina delta 42
farah harbor 37
| ivan delta 83
jules indigo 110
lina fable 42
farah harbor 37
| chen harbor 115
chen harbor 99
eli delta 75
hana juniper 7
jules amber 90
hana amber 97
chen indigo 26
| chen harbor 115
eli delta 75
hana juniper 7
jules amber 90
chen indigo 26
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046427 | qwen/qwen3.7-plus |
awkweave-0046428 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 4 cobalt
eli 22 amber
hana 15 harbor
alice 28 amber
jules 18 indigo
lina 10 ember
bruno 1 cobalt
hana 28 juniper
jules 27 delta
lina 13 birch
| dina 4
eli 26
hana 41
alice 69
jules 87
lina 97
bruno 98
hana 126
jules 153
lina 166
| farah 1 cobalt
jules 16 ember
eli 22 birch
bruno 7 grove
eli 28 harbor
lina 3 fable
eli 27 fable
alice 25 ember
kim 9 grove
chen 12 amber
| farah 1
jules 17
eli 39
bruno 46
eli 74
lina 77
eli 104
alice 129
kim 138
chen 150
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046428-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | dina 4 cobalt
eli 22 amber
hana 15 harbor
alice 28 amber
jules 18 indigo
lina 10 ember
bruno 1 cobalt
hana 28 juniper
jules 27 delta
lina 13 birch
| dina 4
eli 26
hana 41
alice 69
jules 87
lina 97
bruno 98
hana 126
jules 153
lina 166
| farah 1 cobalt
jules 16 ember
eli 22 birch
bruno 7 grove
eli 28 harbor
lina 3 fable
eli 27 fable
alice 25 ember
kim 9 grove
chen 12 amber
| farah 1
jules 17
eli 39
bruno 46
eli 74
lina 77
eli 104
alice 129
kim 138
chen 150
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046428 | qwen/qwen3.7-plus |
awkweave-0046429 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 10 19 grove
dina 7 5 fable
lina 20 19 grove
alice 22 9 amber
farah 22 7 delta
gus 5 15 birch
chen 24 10 cobalt
dina 1 7 indigo
alice 26 26 juniper
bruno 15 6 indigo
| jules 29
dina 12
lina 39
alice 31
farah 29
gus 20
chen 34
dina 8
alice 52
bruno 21
| alice 25 16 cobalt
jules 19 29 harbor
farah 27 15 cobalt
lina 27 18 indigo
dina 13 7 birch
chen 1 6 cobalt
| alice 41
jules 48
farah 42
lina 45
dina 20
chen 7
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046429-p1 | For each row, display the first field followed by the combined total of the second and third fields. | {print $1,$2+$3} | jules 10 19 grove
dina 7 5 fable
lina 20 19 grove
alice 22 9 amber
farah 22 7 delta
gus 5 15 birch
chen 24 10 cobalt
dina 1 7 indigo
alice 26 26 juniper
bruno 15 6 indigo
| jules 29
dina 12
lina 39
alice 31
farah 29
gus 20
chen 34
dina 8
alice 52
bruno 21
| alice 25 16 cobalt
jules 19 29 harbor
farah 27 15 cobalt
lina 27 18 indigo
dina 13 7 birch
chen 1 6 cobalt
| alice 41
jules 48
farah 42
lina 45
dina 20
chen 7
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046429 | qwen/qwen3.7-plus |
awkweave-0046430 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | eli 23
kim 29
gus 13
farah 11
jules 3
dina 15
bruno 18
ivan 17
chen 11
bruno 2
| eli fail
kim pass
gus fail
farah fail
jules fail
dina fail
bruno fail
ivan fail
chen fail
bruno fail
| eli 14
ivan 14
chen 1
eli 15
farah 20
ivan 21
| eli fail
ivan fail
chen fail
eli fail
farah fail
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046430-p1 | Display the first column; if the second column is 27 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=27?"pass":"fail")} | eli 23
kim 29
gus 13
farah 11
jules 3
dina 15
bruno 18
ivan 17
chen 11
bruno 2
| eli fail
kim pass
gus fail
farah fail
jules fail
dina fail
bruno fail
ivan fail
chen fail
bruno fail
| eli 14
ivan 14
chen 1
eli 15
farah 20
ivan 21
| eli fail
ivan fail
chen fail
eli fail
farah fail
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046430 | qwen/qwen3.7-plus |
awkweave-0046431 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah ember 94
ivan fable 99
lina fable 13
lina grove 115
dina amber 23
kim indigo 97
eli grove 23
kim delta 106
jules ember 6
| FARAH
IVAN
LINA
LINA
DINA
KIM
ELI
KIM
JULES
| alice harbor 22
hana birch 38
kim harbor 28
bruno juniper 31
farah cobalt 69
chen juniper 74
| ALICE
HANA
KIM
BRUNO
FARAH
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046431-p1 | Transform the first column to uppercase letters and output only that modified column. | {print toupper($1)} | farah ember 94
ivan fable 99
lina fable 13
lina grove 115
dina amber 23
kim indigo 97
eli grove 23
kim delta 106
jules ember 6
| FARAH
IVAN
LINA
LINA
DINA
KIM
ELI
KIM
JULES
| alice harbor 22
hana birch 38
kim harbor 28
bruno juniper 31
farah cobalt 69
chen juniper 74
| ALICE
HANA
KIM
BRUNO
FARAH
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046431 | qwen/qwen3.7-plus |
awkweave-0046432 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 51
harbor 26
harbor 10
fable 90
delta 93
birch 90
| rch
rbor
rbor
ble
lta
rch
| birch 102
harbor 35
delta 15
grove 65
indigo 120
cobalt 69
juniper 80
grove 99
fable 8
grove 29
| rch
rbor
lta
ove
digo
balt
nipe
ove
ble
ove
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046432-p1 | Extract and print a substring of length 4 from the first column, beginning at the third character. | {print substr($1,3,4)} | birch 51
harbor 26
harbor 10
fable 90
delta 93
birch 90
| rch
rbor
rbor
ble
lta
rch
| birch 102
harbor 35
delta 15
grove 65
indigo 120
cobalt 69
juniper 80
grove 99
fable 8
grove 29
| rch
rbor
lta
ove
digo
balt
nipe
ove
ble
ove
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046432 | qwen/qwen3.7-plus |
awkweave-0046433 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_birch 43
juniper_indigo 7
delta_ember 68
fable_harbor 13
harbor_birch 82
fable_amber 66
delta_cobalt 57
birch_cobalt 1
grove_juniper 87
| juniper birch
juniper indigo
delta ember
fable harbor
harbor birch
fable amber
delta cobalt
birch cobalt
grove juniper
| fable_delta 102
fable_indigo 17
delta_fable 119
cobalt_harbor 5
harbor_grove 47
birch_amber 84
juniper_cobalt 94
| fable delta
fable indigo
delta fable
cobalt harbor
harbor grove
birch amber
juniper cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046433-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | juniper_birch 43
juniper_indigo 7
delta_ember 68
fable_harbor 13
harbor_birch 82
fable_amber 66
delta_cobalt 57
birch_cobalt 1
grove_juniper 87
| juniper birch
juniper indigo
delta ember
fable harbor
harbor birch
fable amber
delta cobalt
birch cobalt
grove juniper
| fable_delta 102
fable_indigo 17
delta_fable 119
cobalt_harbor 5
harbor_grove 47
birch_amber 84
juniper_cobalt 94
| fable delta
fable indigo
delta fable
cobalt harbor
harbor grove
birch amber
juniper cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046433 | qwen/qwen3.7-plus |
awkweave-0046434 | 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)} | farah amber 63 closed
farah delta 91 closed
gus cobalt 3 pending
lina juniper 114 failed
gus cobalt 113 active
farah grove 57 closed
jules indigo 81 closed
lina fable 111 closed
hana harbor 58 failed
eli fable 63 failed
| closed 63 amber farah
closed 91 delta farah
pending 3 cobalt gus
failed 114 juniper lina
active 113 cobalt gus
closed 57 grove farah
closed 81 indigo jules
closed 111 fable lina
failed 58 harbor hana
failed 63 fable eli
| kim ember 87 ready
lina amber 40 active
dina delta 104 failed
chen indigo 81 paused
eli juniper 120 ready
hana juniper 18 pending
kim fable 31 active
hana juniper 35 pending
| ready 87 ember kim
active 40 amber lina
failed 104 delta dina
paused 81 indigo chen
ready 120 juniper eli
pending 18 juniper hana
active 31 fable kim
pending 35 juniper hana
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046434-p1 | Invert the sequence of fields for every line and output the complete set of fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah amber 63 closed
farah delta 91 closed
gus cobalt 3 pending
lina juniper 114 failed
gus cobalt 113 active
farah grove 57 closed
jules indigo 81 closed
lina fable 111 closed
hana harbor 58 failed
eli fable 63 failed
| closed 63 amber farah
closed 91 delta farah
pending 3 cobalt gus
failed 114 juniper lina
active 113 cobalt gus
closed 57 grove farah
closed 81 indigo jules
closed 111 fable lina
failed 58 harbor hana
failed 63 fable eli
| kim ember 87 ready
lina amber 40 active
dina delta 104 failed
chen indigo 81 paused
eli juniper 120 ready
hana juniper 18 pending
kim fable 31 active
hana juniper 35 pending
| ready 87 ember kim
active 40 amber lina
failed 104 delta dina
paused 81 indigo chen
ready 120 juniper eli
pending 18 juniper hana
active 31 fable kim
pending 35 juniper hana
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046434 | qwen/qwen3.7-plus |
awkweave-0046435 | Print the number of whitespace-separated fields on each line. | {print NF} | farah ember 60 closed
gus fable 104 failed
hana delta 21 failed
gus ember 94 pending
lina delta 62 active
jules juniper 73 ready
gus fable 51 failed
| 4
4
4
4
4
4
4
| chen cobalt 74 closed
hana cobalt 104 paused
chen amber 3 active
farah fable 28 paused
lina delta 102 ready
lina harbor 75 ready
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046435-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | farah ember 60 closed
gus fable 104 failed
hana delta 21 failed
gus ember 94 pending
lina delta 62 active
jules juniper 73 ready
gus fable 51 failed
| 4
4
4
4
4
4
4
| chen cobalt 74 closed
hana cobalt 104 paused
chen amber 3 active
farah fable 28 paused
lina delta 102 ready
lina harbor 75 ready
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046435 | qwen/qwen3.7-plus |
awkweave-0046436 | 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]]} | farah alpha 37
hana alpha 23
kim delta 100
lina delta 38
chen beta 19
ivan delta 45
chen delta 28
alice alpha 99
alice beta 73
farah alpha 30
| alpha 4
delta 4
beta 2
| jules alpha 92
kim beta 43
alice beta 36
jules gamma 104
ivan beta 21
gus gamma 34
hana beta 8
dina beta 90
| alpha 1
beta 5
gamma 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046436-p1 | Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | farah alpha 37
hana alpha 23
kim delta 100
lina delta 38
chen beta 19
ivan delta 45
chen delta 28
alice alpha 99
alice beta 73
farah alpha 30
| alpha 4
delta 4
beta 2
| jules alpha 92
kim beta 43
alice beta 36
jules gamma 104
ivan beta 21
gus gamma 34
hana beta 8
dina beta 90
| alpha 1
beta 5
gamma 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046436 | qwen/qwen3.7-plus |
awkweave-0046437 | 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 beta 13
hana gamma 25
hana delta 21
dina delta 11
hana beta 11
kim delta 8
ivan delta 15
farah gamma 19
farah alpha 16
| beta 24
gamma 44
delta 55
alpha 16
| ivan gamma 20
ivan alpha 23
lina alpha 4
bruno alpha 25
eli delta 20
chen delta 27
dina delta 21
kim beta 22
lina gamma 5
alice delta 14
| gamma 25
alpha 52
delta 82
beta 22
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046437-p1 | 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 beta 13
hana gamma 25
hana delta 21
dina delta 11
hana beta 11
kim delta 8
ivan delta 15
farah gamma 19
farah alpha 16
| beta 24
gamma 44
delta 55
alpha 16
| ivan gamma 20
ivan alpha 23
lina alpha 4
bruno alpha 25
eli delta 20
chen delta 27
dina delta 21
kim beta 22
lina gamma 5
alice delta 14
| gamma 25
alpha 52
delta 82
beta 22
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0046437 | qwen/qwen3.7-plus |
awkweave-0046438 | 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]]} | gamma fable 29
beta birch 97
delta cobalt 8
gamma ember 52
beta birch 87
alpha harbor 54
gamma amber 26
beta juniper 73
delta cobalt 71
delta ember 28
| gamma 3
beta 3
delta 3
| delta grove 120
alpha juniper 51
gamma delta 9
gamma juniper 35
gamma juniper 70
delta birch 38
| delta 2
gamma 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046438-p1 | Identify values in column 1 that appear more than once, then print each duplicate along with its total occurrence count, 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]]} | gamma fable 29
beta birch 97
delta cobalt 8
gamma ember 52
beta birch 87
alpha harbor 54
gamma amber 26
beta juniper 73
delta cobalt 71
delta ember 28
| gamma 3
beta 3
delta 3
| delta grove 120
alpha juniper 51
gamma delta 9
gamma juniper 35
gamma juniper 70
delta birch 38
| delta 2
gamma 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046438 | qwen/qwen3.7-plus |
awkweave-0046439 | 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 region note state
r001 bruno 29 paused
r002 ivan 27 failed
r003 alice 11 ready
r004 jules 27 pending
r005 hana 27 closed
r006 alice 8 pending
r007 hana 5 closed
r008 ivan 4 paused
r009 dina 8 closed
r010 farah 7 ready
| 29
27
11
27
27
8
5
4
8
7
| display_name region note state
r001 jules 12 failed
r002 eli 6 ready
r003 gus 18 paused
r004 farah 6 failed
r005 lina 21 pending
r006 hana 8 failed
r007 hana 10 ready
r008 eli 17 active
r009 gus 8 closed
| 12
6
18
6
21
8
10
17
8
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046439-p1 | Treating the first line as a header, extract and display the content of 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 region note state
r001 bruno 29 paused
r002 ivan 27 failed
r003 alice 11 ready
r004 jules 27 pending
r005 hana 27 closed
r006 alice 8 pending
r007 hana 5 closed
r008 ivan 4 paused
r009 dina 8 closed
r010 farah 7 ready
| 29
27
11
27
27
8
5
4
8
7
| display_name region note state
r001 jules 12 failed
r002 eli 6 ready
r003 gus 18 paused
r004 farah 6 failed
r005 lina 21 pending
r006 hana 8 failed
r007 hana 10 ready
r008 eli 17 active
r009 gus 8 closed
| 12
6
18
6
21
8
10
17
8
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046439 | qwen/qwen3.7-plus |
awkweave-0046440 | The first row is a header. Print display_name for data rows whose score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 ivan 26 active
r002 chen 24 active
r003 ivan 10 ready
r004 kim 1 active
r005 lina 5 ready
r006 gus 20 pending
r007 hana 14 paused
r008 kim 18 closed
| ivan
chen
| record_id display_name score state
r001 alice 29 active
r002 eli 7 active
r003 farah 29 failed
r004 bruno 16 paused
r005 farah 11 ready
r006 gus 3 pending
| alice
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046440-p1 | With the first row serving as a header, output the display_name field for any data row where the score value is strictly greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 ivan 26 active
r002 chen 24 active
r003 ivan 10 ready
r004 kim 1 active
r005 lina 5 ready
r006 gus 20 pending
r007 hana 14 paused
r008 kim 18 closed
| ivan
chen
| record_id display_name score state
r001 alice 29 active
r002 eli 7 active
r003 farah 29 failed
r004 bruno 16 paused
r005 farah 11 ready
r006 gus 3 pending
| alice
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0046440 | qwen/qwen3.7-plus |
awkweave-0046441 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | chen 24 active
alice 18 pending
lina 13 active
gus 3 ready
gus 8 active
ivan 16 active
eli 4 ready
| 24
18
13
3
8
16
4
| hana 26 pending
bruno 17 active
farah 24 pending
alice 21 pending
alice 6 ready
farah 10 ready
eli 7 failed
| 26
17
24
21
6
10
7
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0046441-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | chen 24 active
alice 18 pending
lina 13 active
gus 3 ready
gus 8 active
ivan 16 active
eli 4 ready
| 24
18
13
3
8
16
4
| hana 26 pending
bruno 17 active
farah 24 pending
alice 21 pending
alice 6 ready
farah 10 ready
eli 7 failed
| 26
17
24
21
6
10
7
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0046441 | qwen/qwen3.7-plus |
awkweave-0046442 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | lina,7,failed
gus,21,paused
kim,21,failed
bruno,24,active
eli,3,closed
bruno,12,failed
chen,13,ready
chen,9,failed
chen,28,closed
gus,22,ready
| gus
kim
bruno
bruno
chen
chen
gus
| chen,12,closed
alice,9,pending
eli,13,active
kim,28,closed
kim,23,active
kim,5,ready
eli,21,closed
dina,3,closed
lina,7,ready
| chen
eli
kim
kim
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.