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-0034881-p1 | Count the total number of input records and print the final count. | END{print NR} | kim 14
eli 16
jules 92
dina 25
bruno 114
ivan 65
| 6
| chen 74
gus 35
lina 120
eli 31
chen 3
alice 102
alice 81
farah 64
dina 19
jules 51
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034881 | qwen/qwen3.7-plus |
awkweave-0034882 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim amber 9
hana birch 53
eli grove 92
hana delta 16
hana amber 66
hana amber 66
farah grove 94
| kim amber 9
hana birch 53
eli grove 92
hana delta 16
hana amber 66
farah grove 94
| eli birch 59
alice delta 112
farah birch 22
bruno harbor 11
ivan harbor 61
bruno harbor 11
eli delta 27
| eli birch 59
alice delta 112
farah birch 22
bruno harbor 11
ivan harbor 61
eli delta 27
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034882-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | kim amber 9
hana birch 53
eli grove 92
hana delta 16
hana amber 66
hana amber 66
farah grove 94
| kim amber 9
hana birch 53
eli grove 92
hana delta 16
hana amber 66
farah grove 94
| eli birch 59
alice delta 112
farah birch 22
bruno harbor 11
ivan harbor 61
bruno harbor 11
eli delta 27
| eli birch 59
alice delta 112
farah birch 22
bruno harbor 11
ivan harbor 61
eli delta 27
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034882 | qwen/qwen3.7-plus |
awkweave-0034883 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim ember 27
lina juniper 31
dina grove 31
alice fable 91
eli juniper 111
kim birch 117
hana indigo 6
gus cobalt 47
alice birch 40
farah ember 53
| kim ember 27
lina juniper 31
dina grove 31
alice fable 91
eli juniper 111
hana indigo 6
gus cobalt 47
farah ember 53
| alice indigo 44
ivan delta 82
jules ember 115
jules cobalt 28
farah fable 108
hana ember 120
hana indigo 95
chen grove 1
kim fable 95
alice harbor 52
| alice indigo 44
ivan delta 82
jules ember 115
farah fable 108
hana ember 120
chen grove 1
kim fable 95
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034883-p1 | Retain only the first occurrence for each unique value in column 1, preserving the original input order. | !seen[$1]++ | kim ember 27
lina juniper 31
dina grove 31
alice fable 91
eli juniper 111
kim birch 117
hana indigo 6
gus cobalt 47
alice birch 40
farah ember 53
| kim ember 27
lina juniper 31
dina grove 31
alice fable 91
eli juniper 111
hana indigo 6
gus cobalt 47
farah ember 53
| alice indigo 44
ivan delta 82
jules ember 115
jules cobalt 28
farah fable 108
hana ember 120
hana indigo 95
chen grove 1
kim fable 95
alice harbor 52
| alice indigo 44
ivan delta 82
jules ember 115
farah fable 108
hana ember 120
chen grove 1
kim fable 95
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034883 | qwen/qwen3.7-plus |
awkweave-0034884 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 16 indigo
ivan 2 ember
eli 10 grove
hana 4 cobalt
jules 6 harbor
ivan 17 grove
| dina 16
ivan 18
eli 28
hana 32
jules 38
ivan 55
| chen 10 birch
chen 18 grove
eli 29 birch
hana 19 juniper
bruno 18 delta
lina 8 indigo
farah 27 juniper
| chen 10
chen 28
eli 57
hana 76
bruno 94
lina 102
farah 129
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034884-p1 | Output the first column and the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | dina 16 indigo
ivan 2 ember
eli 10 grove
hana 4 cobalt
jules 6 harbor
ivan 17 grove
| dina 16
ivan 18
eli 28
hana 32
jules 38
ivan 55
| chen 10 birch
chen 18 grove
eli 29 birch
hana 19 juniper
bruno 18 delta
lina 8 indigo
farah 27 juniper
| chen 10
chen 28
eli 57
hana 76
bruno 94
lina 102
farah 129
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034884 | qwen/qwen3.7-plus |
awkweave-0034885 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 7 15 indigo
lina 29 9 grove
ivan 17 5 harbor
dina 3 25 cobalt
lina 25 3 harbor
farah 27 9 amber
| jules 22
lina 38
ivan 22
dina 28
lina 28
farah 36
| jules 3 25 grove
hana 5 29 grove
eli 1 7 birch
alice 27 12 amber
kim 25 8 amber
farah 8 10 cobalt
eli 28 5 delta
| jules 28
hana 34
eli 8
alice 39
kim 33
farah 18
eli 33
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034885-p1 | For every row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | jules 7 15 indigo
lina 29 9 grove
ivan 17 5 harbor
dina 3 25 cobalt
lina 25 3 harbor
farah 27 9 amber
| jules 22
lina 38
ivan 22
dina 28
lina 28
farah 36
| jules 3 25 grove
hana 5 29 grove
eli 1 7 birch
alice 27 12 amber
kim 25 8 amber
farah 8 10 cobalt
eli 28 5 delta
| jules 28
hana 34
eli 8
alice 39
kim 33
farah 18
eli 33
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034885 | qwen/qwen3.7-plus |
awkweave-0034886 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | jules 27
hana 16
gus 13
dina 6
gus 24
jules 1
alice 27
ivan 7
| jules pass
hana fail
gus fail
dina fail
gus pass
jules fail
alice pass
ivan fail
| bruno 7
kim 8
hana 27
jules 1
dina 9
ivan 20
kim 18
| bruno fail
kim fail
hana pass
jules fail
dina fail
ivan fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034886-p1 | Print the first column; output 'pass' if the second column is 22 or greater, otherwise output 'fail'. | {print $1,($2>=22?"pass":"fail")} | jules 27
hana 16
gus 13
dina 6
gus 24
jules 1
alice 27
ivan 7
| jules pass
hana fail
gus fail
dina fail
gus pass
jules fail
alice pass
ivan fail
| bruno 7
kim 8
hana 27
jules 1
dina 9
ivan 20
kim 18
| bruno fail
kim fail
hana pass
jules fail
dina fail
ivan fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034886 | qwen/qwen3.7-plus |
awkweave-0034887 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | kim ember 115
jules fable 99
alice fable 22
hana ember 50
farah cobalt 95
ivan harbor 83
dina grove 102
| EMBER
FABLE
FABLE
EMBER
COBALT
HARBOR
GROVE
| alice ember 20
kim indigo 114
gus delta 91
eli amber 100
ivan delta 83
hana fable 24
chen ember 26
lina fable 42
kim fable 34
| EMBER
INDIGO
DELTA
AMBER
DELTA
FABLE
EMBER
FABLE
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034887-p1 | Transform the second column to uppercase letters and print only that modified column. | {print toupper($2)} | kim ember 115
jules fable 99
alice fable 22
hana ember 50
farah cobalt 95
ivan harbor 83
dina grove 102
| EMBER
FABLE
FABLE
EMBER
COBALT
HARBOR
GROVE
| alice ember 20
kim indigo 114
gus delta 91
eli amber 100
ivan delta 83
hana fable 24
chen ember 26
lina fable 42
kim fable 34
| EMBER
INDIGO
DELTA
AMBER
DELTA
FABLE
EMBER
FABLE
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034887 | qwen/qwen3.7-plus |
awkweave-0034888 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | amber 37
fable 49
amber 32
ember 25
cobalt 9
cobalt 82
| ambe
fabl
ambe
embe
coba
coba
| amber 97
ember 104
delta 108
juniper 71
grove 92
grove 73
delta 118
cobalt 58
ember 74
birch 0
| ambe
embe
delt
juni
grov
grov
delt
coba
embe
birc
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034888-p1 | Extract and print the first 4 characters from the first column, starting at position 1. | {print substr($1,1,4)} | amber 37
fable 49
amber 32
ember 25
cobalt 9
cobalt 82
| ambe
fabl
ambe
embe
coba
coba
| amber 97
ember 104
delta 108
juniper 71
grove 92
grove 73
delta 118
cobalt 58
ember 74
birch 0
| ambe
embe
delt
juni
grov
grov
delt
coba
embe
birc
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034888 | qwen/qwen3.7-plus |
awkweave-0034889 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_ember 54
birch_juniper 95
ember_grove 81
amber_juniper 67
grove_birch 100
amber_amber 43
juniper_cobalt 116
| indigo ember
birch juniper
ember grove
amber juniper
grove birch
amber amber
juniper cobalt
| delta_ember 63
grove_birch 111
ember_delta 9
grove_grove 119
ember_ember 43
birch_delta 101
| delta ember
grove birch
ember delta
grove grove
ember ember
birch delta
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034889-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | indigo_ember 54
birch_juniper 95
ember_grove 81
amber_juniper 67
grove_birch 100
amber_amber 43
juniper_cobalt 116
| indigo ember
birch juniper
ember grove
amber juniper
grove birch
amber amber
juniper cobalt
| delta_ember 63
grove_birch 111
ember_delta 9
grove_grove 119
ember_ember 43
birch_delta 101
| delta ember
grove birch
ember delta
grove grove
ember ember
birch delta
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034889 | qwen/qwen3.7-plus |
awkweave-0034900 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice ember 67 failed
kim birch 108 ready
lina fable 118 closed
eli grove 33 pending
kim juniper 69 ready
chen juniper 95 ready
gus indigo 42 ready
lina grove 90 active
kim grove 6 failed
| alice ember 67 failed
| chen birch 55 ready
dina juniper 54 failed
dina juniper 39 failed
hana harbor 73 failed
kim birch 99 paused
bruno harbor 118 failed
eli delta 41 active
ivan fable 66 active
bruno fable 57 closed
| bruno harbor 118 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034900-p1 | Identify and print the longest line from the input; in case of a tie in length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | alice ember 67 failed
kim birch 108 ready
lina fable 118 closed
eli grove 33 pending
kim juniper 69 ready
chen juniper 95 ready
gus indigo 42 ready
lina grove 90 active
kim grove 6 failed
| alice ember 67 failed
| chen birch 55 ready
dina juniper 54 failed
dina juniper 39 failed
hana harbor 73 failed
kim birch 99 paused
bruno harbor 118 failed
eli delta 41 active
ivan fable 66 active
bruno fable 57 closed
| bruno harbor 118 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034900 | qwen/qwen3.7-plus |
awkweave-0034901 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | dina 62
farah 39
kim 74
bruno 25
kim 97
bruno 117
| farah 39
bruno 117
| eli 71
ivan 14
lina 117
chen 108
bruno 97
alice 29
farah 105
dina 102
| ivan 14
alice 29
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034901-p1 | Print every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | dina 62
farah 39
kim 74
bruno 25
kim 97
bruno 117
| farah 39
bruno 117
| eli 71
ivan 14
lina 117
chen 108
bruno 97
alice 29
farah 105
dina 102
| ivan 14
alice 29
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034901 | qwen/qwen3.7-plus |
awkweave-0034902 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha amber 114
delta ember 30
gamma harbor 2
gamma indigo 46
gamma birch 96
gamma delta 94
alpha juniper 42
gamma harbor 111
gamma grove 29
alpha fable 13
| 9
| delta harbor 107
beta juniper 18
delta grove 53
beta amber 41
alpha amber 35
delta birch 62
| 5
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034902-p1 | Calculate the number of unique values in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | alpha amber 114
delta ember 30
gamma harbor 2
gamma indigo 46
gamma birch 96
gamma delta 94
alpha juniper 42
gamma harbor 111
gamma grove 29
alpha fable 13
| 9
| delta harbor 107
beta juniper 18
delta grove 53
beta amber 41
alpha amber 35
delta birch 62
| 5
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034902 | qwen/qwen3.7-plus |
awkweave-0034903 | 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} | hana 2 0
alice 19 5
gus 30 2
gus 26 15
dina 15 26
ivan 5 2
ivan 20 17
lina 18 27
hana 21 27
eli 9 13
| alice 3.80
gus 15.00
gus 1.73
dina 0.58
ivan 2.50
ivan 1.18
lina 0.67
hana 0.78
eli 0.69
| chen 25 0
alice 15 16
lina 8 12
hana 7 27
farah 26 13
dina 9 28
ivan 6 5
lina 26 14
dina 9 27
| alice 0.94
lina 0.67
hana 0.26
farah 2.00
dina 0.32
ivan 1.20
lina 1.86
dina 0.33
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034903-p1 | For each row, print the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | hana 2 0
alice 19 5
gus 30 2
gus 26 15
dina 15 26
ivan 5 2
ivan 20 17
lina 18 27
hana 21 27
eli 9 13
| alice 3.80
gus 15.00
gus 1.73
dina 0.58
ivan 2.50
ivan 1.18
lina 0.67
hana 0.78
eli 0.69
| chen 25 0
alice 15 16
lina 8 12
hana 7 27
farah 26 13
dina 9 28
ivan 6 5
lina 26 14
dina 9 27
| alice 0.94
lina 0.67
hana 0.26
farah 2.00
dina 0.32
ivan 1.20
lina 1.86
dina 0.33
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034903 | qwen/qwen3.7-plus |
awkweave-0034904 | 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]} | jules harbor 4
jules cobalt 30
ivan amber 13
chen delta 8
eli indigo 18
lina juniper 7
| jules cobalt 30
eli indigo 18
ivan amber 13
| farah juniper 13
bruno juniper 3
jules delta 27
ivan juniper 17
farah cobalt 14
alice grove 7
alice indigo 8
bruno fable 23
| jules delta 27
bruno fable 23
ivan juniper 17
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034904-p1 | Display the top three records with the highest numeric values in the third column, sorted in descending order, while maintaining 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]} | jules harbor 4
jules cobalt 30
ivan amber 13
chen delta 8
eli indigo 18
lina juniper 7
| jules cobalt 30
eli indigo 18
ivan amber 13
| farah juniper 13
bruno juniper 3
jules delta 27
ivan juniper 17
farah cobalt 14
alice grove 7
alice indigo 8
bruno fable 23
| jules delta 27
bruno fable 23
ivan juniper 17
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034904 | qwen/qwen3.7-plus |
awkweave-0034905 | Print column 2 followed by column 1 for every record. | {print $2, $1} | juniper eli alice kim
indigo bruno chen hana
delta kim dina kim
indigo hana farah gus
delta hana alice alice
indigo kim hana kim
indigo dina lina jules
birch chen jules lina
juniper gus dina hana
harbor jules kim farah
| eli juniper
bruno indigo
kim delta
hana indigo
hana delta
kim indigo
dina indigo
chen birch
gus juniper
jules harbor
| delta alice ivan hana
grove chen bruno bruno
grove chen kim ivan
ember alice eli ivan
cobalt gus kim gus
indigo kim chen kim
fable gus alice gus
cobalt lina alice ivan
harbor gus kim hana
fable ivan alice eli
| alice delta
chen grove
chen grove
alice ember
gus cobalt
kim indigo
gus fable
lina cobalt
gus harbor
ivan fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034905-p1 | For each record, print the second column followed by the first column. | {print $2, $1} | juniper eli alice kim
indigo bruno chen hana
delta kim dina kim
indigo hana farah gus
delta hana alice alice
indigo kim hana kim
indigo dina lina jules
birch chen jules lina
juniper gus dina hana
harbor jules kim farah
| eli juniper
bruno indigo
kim delta
hana indigo
hana delta
kim indigo
dina indigo
chen birch
gus juniper
jules harbor
| delta alice ivan hana
grove chen bruno bruno
grove chen kim ivan
ember alice eli ivan
cobalt gus kim gus
indigo kim chen kim
fable gus alice gus
cobalt lina alice ivan
harbor gus kim hana
fable ivan alice eli
| alice delta
chen grove
chen grove
alice ember
gus cobalt
kim indigo
gus fable
lina cobalt
gus harbor
ivan fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034905 | qwen/qwen3.7-plus |
awkweave-0034906 | Print the last field of every input line. | {print $NF} | bruno pending alice
farah failed gus
ivan ready bruno
alice failed ivan
chen ready eli
jules failed lina
hana paused lina
kim pending hana
ivan closed lina
gus pending kim
| alice
gus
bruno
ivan
eli
lina
lina
hana
lina
kim
| kim ready kim
kim paused lina
hana closed gus
chen failed alice
jules pending gus
farah failed kim
eli failed jules
ivan failed kim
alice active jules
| kim
lina
gus
alice
gus
kim
jules
kim
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034906-p1 | Output the final field from each input line. | {print $NF} | bruno pending alice
farah failed gus
ivan ready bruno
alice failed ivan
chen ready eli
jules failed lina
hana paused lina
kim pending hana
ivan closed lina
gus pending kim
| alice
gus
bruno
ivan
eli
lina
lina
hana
lina
kim
| kim ready kim
kim paused lina
hana closed gus
chen failed alice
jules pending gus
farah failed kim
eli failed jules
ivan failed kim
alice active jules
| kim
lina
gus
alice
gus
kim
jules
kim
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034906 | qwen/qwen3.7-plus |
awkweave-0034907 | Print the complete records where column 2 is greater than 76. | $2 > 76 | bruno 94 juniper
jules 71 indigo
alice 4 amber
alice 67 grove
alice 67 juniper
ivan 0 juniper
| bruno 94 juniper
| chen 4 harbor
farah 31 birch
eli 70 birch
jules 93 birch
eli 29 juniper
lina 4 amber
| jules 93 birch
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034907-p1 | Display full records where the value in the second column exceeds 76. | $2 > 76 | bruno 94 juniper
jules 71 indigo
alice 4 amber
alice 67 grove
alice 67 juniper
ivan 0 juniper
| bruno 94 juniper
| chen 4 harbor
farah 31 birch
eli 70 birch
jules 93 birch
eli 29 juniper
lina 4 amber
| jules 93 birch
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034907 | qwen/qwen3.7-plus |
awkweave-0034908 | Show whole lines whose 2nd field is between 4 and 21, inclusive. | $2 >= 4 && $2 <= 21 | alice 7 closed kim
eli 10 pending jules
chen 26 active bruno
lina 16 closed ivan
bruno 11 closed kim
gus 27 ready farah
| alice 7 closed kim
eli 10 pending jules
lina 16 closed ivan
bruno 11 closed kim
| dina 19 failed gus
chen 21 ready bruno
jules 20 closed gus
kim 11 ready eli
alice 10 paused chen
jules 4 failed bruno
jules 6 pending hana
ivan 11 pending bruno
kim 26 failed bruno
gus 15 ready chen
| dina 19 failed gus
chen 21 ready bruno
jules 20 closed gus
kim 11 ready eli
alice 10 paused chen
jules 4 failed bruno
jules 6 pending hana
ivan 11 pending bruno
gus 15 ready chen
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034908-p1 | Show entire lines where the second field falls within the inclusive range of 4 to 21. | $2 >= 4 && $2 <= 21 | alice 7 closed kim
eli 10 pending jules
chen 26 active bruno
lina 16 closed ivan
bruno 11 closed kim
gus 27 ready farah
| alice 7 closed kim
eli 10 pending jules
lina 16 closed ivan
bruno 11 closed kim
| dina 19 failed gus
chen 21 ready bruno
jules 20 closed gus
kim 11 ready eli
alice 10 paused chen
jules 4 failed bruno
jules 6 pending hana
ivan 11 pending bruno
kim 26 failed bruno
gus 15 ready chen
| dina 19 failed gus
chen 21 ready bruno
jules 20 closed gus
kim 11 ready eli
alice 10 paused chen
jules 4 failed bruno
jules 6 pending hana
ivan 11 pending bruno
gus 15 ready chen
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034908 | qwen/qwen3.7-plus |
awkweave-0034909 | Print column 3 only for rows where column 4 is exactly ready. | $4 == "ready"{print $3} | amber 95 bruno failed
fable 23 jules pending
grove 76 hana closed
juniper 35 hana paused
ember 1 eli closed
grove 8 chen active
amber 94 alice paused
juniper 5 gus active
cobalt 50 gus ready
birch 8 gus pending
| gus
| cobalt 57 hana failed
indigo 3 ivan pending
fable 3 alice ready
juniper 65 bruno active
harbor 120 hana ready
ember 20 jules active
grove 118 eli closed
juniper 4 bruno pending
cobalt 66 dina pending
harbor 71 gus ready
| alice
hana
gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034909-p1 | Print only the third column for rows where the fourth column is exactly 'ready'. | $4 == "ready"{print $3} | amber 95 bruno failed
fable 23 jules pending
grove 76 hana closed
juniper 35 hana paused
ember 1 eli closed
grove 8 chen active
amber 94 alice paused
juniper 5 gus active
cobalt 50 gus ready
birch 8 gus pending
| gus
| cobalt 57 hana failed
indigo 3 ivan pending
fable 3 alice ready
juniper 65 bruno active
harbor 120 hana ready
ember 20 jules active
grove 118 eli closed
juniper 4 bruno pending
cobalt 66 dina pending
harbor 71 gus ready
| alice
hana
gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034909 | qwen/qwen3.7-plus |
awkweave-0034910 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 1 ember WARN
81 birch DEBUG
79 juniper WARN
44 fable DEBUG
106 juniper ERROR
81 juniper INFO
39 indigo ERROR
5 harbor DEBUG
72 amber ERROR
| 1 ember WARN
79 juniper WARN
| 29 delta DEBUG
71 amber WARN
18 grove WARN
33 juniper WARN
25 harbor DEBUG
48 cobalt ERROR
116 cobalt WARN
| 71 amber WARN
18 grove WARN
33 juniper WARN
116 cobalt WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034910-p1 | Output all fields from lines where the third field starts with 'WARN'. | $3 ~ /^WARN/ | 1 ember WARN
81 birch DEBUG
79 juniper WARN
44 fable DEBUG
106 juniper ERROR
81 juniper INFO
39 indigo ERROR
5 harbor DEBUG
72 amber ERROR
| 1 ember WARN
79 juniper WARN
| 29 delta DEBUG
71 amber WARN
18 grove WARN
33 juniper WARN
25 harbor DEBUG
48 cobalt ERROR
116 cobalt WARN
| 71 amber WARN
18 grove WARN
33 juniper WARN
116 cobalt WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034910 | qwen/qwen3.7-plus |
awkweave-0034911 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | juniper 103 active
harbor 79 pending
juniper 25 failed
harbor 36 active
indigo 24 active
cobalt 104 failed
amber 999 active
| juniper 103 active
harbor 79 pending
juniper 25 failed
harbor 36 active
indigo 24 active
cobalt 104 failed
| grove 8 failed
cobalt 8 failed
cobalt 60 active
ember 13 active
fable 104 active
delta 52 active
birch 31 active
amber 117 paused
amber 999 active
| grove 8 failed
cobalt 8 failed
cobalt 60 active
ember 13 active
fable 104 active
delta 52 active
birch 31 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034911-p1 | Print every line that does not contain the exact string 'amber'. | $0 !~ /amber/ | juniper 103 active
harbor 79 pending
juniper 25 failed
harbor 36 active
indigo 24 active
cobalt 104 failed
amber 999 active
| juniper 103 active
harbor 79 pending
juniper 25 failed
harbor 36 active
indigo 24 active
cobalt 104 failed
| grove 8 failed
cobalt 8 failed
cobalt 60 active
ember 13 active
fable 104 active
delta 52 active
birch 31 active
amber 117 paused
amber 999 active
| grove 8 failed
cobalt 8 failed
cobalt 60 active
ember 13 active
fable 104 active
delta 52 active
birch 31 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034911 | qwen/qwen3.7-plus |
awkweave-0034912 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | jules amber 63
dina juniper 28
chen amber 100
ivan grove 42
bruno indigo 82
ivan juniper 59
| ivan grove 42
bruno indigo 82
ivan juniper 59
| kim fable 55
alice fable 30
gus grove 99
dina fable 42
eli birch 99
gus indigo 80
dina indigo 43
jules harbor 40
| dina fable 42
eli birch 99
gus indigo 80
dina indigo 43
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034912-p1 | Output lines 4 through 7, inclusive of both endpoints. | NR >= 4 && NR <= 7 | jules amber 63
dina juniper 28
chen amber 100
ivan grove 42
bruno indigo 82
ivan juniper 59
| ivan grove 42
bruno indigo 82
ivan juniper 59
| kim fable 55
alice fable 30
gus grove 99
dina fable 42
eli birch 99
gus indigo 80
dina indigo 43
jules harbor 40
| dina fable 42
eli birch 99
gus indigo 80
dina indigo 43
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034912 | qwen/qwen3.7-plus |
awkweave-0034913 | Output only the first 5 records. | NR <= 5 | dina 85 grove
farah 80 juniper
alice 74 indigo
lina 82 delta
bruno 17 grove
hana 2 birch
| dina 85 grove
farah 80 juniper
alice 74 indigo
lina 82 delta
bruno 17 grove
| ivan 105 juniper
kim 28 cobalt
ivan 94 grove
dina 81 amber
farah 43 grove
kim 91 juniper
dina 40 indigo
alice 15 juniper
eli 42 grove
| ivan 105 juniper
kim 28 cobalt
ivan 94 grove
dina 81 amber
farah 43 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034913-p1 | Display only the first 5 records. | NR <= 5 | dina 85 grove
farah 80 juniper
alice 74 indigo
lina 82 delta
bruno 17 grove
hana 2 birch
| dina 85 grove
farah 80 juniper
alice 74 indigo
lina 82 delta
bruno 17 grove
| ivan 105 juniper
kim 28 cobalt
ivan 94 grove
dina 81 amber
farah 43 grove
kim 91 juniper
dina 40 indigo
alice 15 juniper
eli 42 grove
| ivan 105 juniper
kim 28 cobalt
ivan 94 grove
dina 81 amber
farah 43 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034913 | qwen/qwen3.7-plus |
awkweave-0034914 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 53 amber
bruno 101 cobalt
eli 119 birch
jules 75 delta
chen 92 birch
jules 84 ember
dina 74 ember
dina 6 birch
kim 117 birch
lina 16 grove
| bruno 101 cobalt
eli 119 birch
jules 75 delta
chen 92 birch
jules 84 ember
dina 74 ember
dina 6 birch
kim 117 birch
lina 16 grove
| bruno 78 juniper
chen 118 grove
gus 69 grove
bruno 69 fable
alice 62 ember
eli 82 cobalt
| chen 118 grove
gus 69 grove
bruno 69 fable
alice 62 ember
eli 82 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034914-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | eli 53 amber
bruno 101 cobalt
eli 119 birch
jules 75 delta
chen 92 birch
jules 84 ember
dina 74 ember
dina 6 birch
kim 117 birch
lina 16 grove
| bruno 101 cobalt
eli 119 birch
jules 75 delta
chen 92 birch
jules 84 ember
dina 74 ember
dina 6 birch
kim 117 birch
lina 16 grove
| bruno 78 juniper
chen 118 grove
gus 69 grove
bruno 69 fable
alice 62 ember
eli 82 cobalt
| chen 118 grove
gus 69 grove
bruno 69 fable
alice 62 ember
eli 82 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034914 | qwen/qwen3.7-plus |
awkweave-0034915 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | dina paused 58
hana pending 57
farah paused 8
ivan failed 105
bruno active 51
hana ready 95
ivan closed 16
gus failed 107
gus closed 87
| 2
| eli pending 56
ivan active 71
kim pending 105
lina paused 12
alice ready 99
ivan active 61
jules pending 53
dina paused 79
eli ready 91
kim failed 28
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034915-p1 | Count the number of records with 'paused' in the second column; output 0 if none exist. | $2 == "paused"{n++}END{print n+0} | dina paused 58
hana pending 57
farah paused 8
ivan failed 105
bruno active 51
hana ready 95
ivan closed 16
gus failed 107
gus closed 87
| 2
| eli pending 56
ivan active 71
kim pending 105
lina paused 12
alice ready 99
ivan active 61
jules pending 53
dina paused 79
eli ready 91
kim failed 28
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034915 | qwen/qwen3.7-plus |
awkweave-0034916 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | ivan harbor 7
jules birch 11
kim fable 11
eli birch 20
ivan amber 28
bruno birch 9
ivan juniper 27
| 113
| ivan indigo 15
ivan grove 13
bruno harbor 10
lina birch 18
eli amber 8
kim ember 30
| 94
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034916-p1 | Compute and print the sum of integer values in the third column. | {s+=$3}END{print s+0} | ivan harbor 7
jules birch 11
kim fable 11
eli birch 20
ivan amber 28
bruno birch 9
ivan juniper 27
| 113
| ivan indigo 15
ivan grove 13
bruno harbor 10
lina birch 18
eli amber 8
kim ember 30
| 94
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034916 | qwen/qwen3.7-plus |
awkweave-0034917 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo alice 28
juniper bruno 9
amber jules 19
juniper hana 28
harbor lina 4
harbor ivan 12
juniper kim 5
cobalt farah 9
| 14.25
| delta alice 1
harbor eli 1
cobalt ivan 6
harbor eli 9
harbor jules 4
delta kim 17
fable chen 11
| 7.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034917-p1 | Calculate and display the average of the third column, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo alice 28
juniper bruno 9
amber jules 19
juniper hana 28
harbor lina 4
harbor ivan 12
juniper kim 5
cobalt farah 9
| 14.25
| delta alice 1
harbor eli 1
cobalt ivan 6
harbor eli 9
harbor jules 4
delta kim 17
fable chen 11
| 7.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034917 | qwen/qwen3.7-plus |
awkweave-0034918 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 cobalt lina
16 grove alice
24 cobalt kim
7 fable gus
2 ember farah
26 harbor farah
10 juniper gus
3 grove chen
| 2
| 18 fable chen
30 birch gus
14 amber jules
22 indigo ivan
8 fable gus
27 birch lina
9 grove farah
| 8
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034918-p1 | Output the minimum number found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 cobalt lina
16 grove alice
24 cobalt kim
7 fable gus
2 ember farah
26 harbor farah
10 juniper gus
3 grove chen
| 2
| 18 fable chen
30 birch gus
14 amber jules
22 indigo ivan
8 fable gus
27 birch lina
9 grove farah
| 8
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034918 | qwen/qwen3.7-plus |
awkweave-0034919 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | kim grove 20
gus fable 24
jules ember 23
ivan harbor 28
jules fable 2
jules delta 6
ivan fable 13
| 28
| lina amber 30
lina fable 3
dina amber 16
kim delta 25
eli juniper 4
farah ember 2
kim ember 12
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034919-p1 | Output the maximum number found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | kim grove 20
gus fable 24
jules ember 23
ivan harbor 28
jules fable 2
jules delta 6
ivan fable 13
| 28
| lina amber 30
lina fable 3
dina amber 16
kim delta 25
eli juniper 4
farah ember 2
kim ember 12
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034919 | qwen/qwen3.7-plus |
awkweave-0034920 | Count all input records and print the total. | END{print NR} | alice 64
hana 104
eli 103
gus 102
eli 79
alice 3
hana 10
hana 67
dina 26
| 9
| hana 49
lina 96
gus 79
eli 30
chen 3
farah 8
jules 66
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034920-p1 | Calculate and display the total number of input records. | END{print NR} | alice 64
hana 104
eli 103
gus 102
eli 79
alice 3
hana 10
hana 67
dina 26
| 9
| hana 49
lina 96
gus 79
eli 30
chen 3
farah 8
jules 66
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034920 | qwen/qwen3.7-plus |
awkweave-0034921 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli indigo 119
alice delta 53
dina cobalt 3
eli grove 52
gus indigo 3
eli indigo 119
ivan amber 36
| eli indigo 119
alice delta 53
dina cobalt 3
eli grove 52
gus indigo 3
ivan amber 36
| jules cobalt 40
bruno delta 11
ivan fable 79
eli birch 64
farah delta 38
ivan delta 104
farah delta 38
chen birch 76
| jules cobalt 40
bruno delta 11
ivan fable 79
eli birch 64
farah delta 38
ivan delta 104
chen birch 76
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034921-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | eli indigo 119
alice delta 53
dina cobalt 3
eli grove 52
gus indigo 3
eli indigo 119
ivan amber 36
| eli indigo 119
alice delta 53
dina cobalt 3
eli grove 52
gus indigo 3
ivan amber 36
| jules cobalt 40
bruno delta 11
ivan fable 79
eli birch 64
farah delta 38
ivan delta 104
farah delta 38
chen birch 76
| jules cobalt 40
bruno delta 11
ivan fable 79
eli birch 64
farah delta 38
ivan delta 104
chen birch 76
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034921 | qwen/qwen3.7-plus |
awkweave-0034922 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | gus juniper 48
farah ember 100
jules birch 36
bruno cobalt 64
hana juniper 45
alice harbor 108
| gus juniper 48
farah ember 100
jules birch 36
bruno cobalt 64
hana juniper 45
alice harbor 108
| lina juniper 18
eli delta 41
lina juniper 11
chen birch 100
eli birch 58
jules delta 73
alice juniper 15
hana grove 86
eli juniper 118
chen ember 63
| lina juniper 18
eli delta 41
chen birch 100
jules delta 73
alice juniper 15
hana grove 86
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034922-p1 | Retain only the initial line for every unique value in the first column, keeping the original order. | !seen[$1]++ | gus juniper 48
farah ember 100
jules birch 36
bruno cobalt 64
hana juniper 45
alice harbor 108
| gus juniper 48
farah ember 100
jules birch 36
bruno cobalt 64
hana juniper 45
alice harbor 108
| lina juniper 18
eli delta 41
lina juniper 11
chen birch 100
eli birch 58
jules delta 73
alice juniper 15
hana grove 86
eli juniper 118
chen ember 63
| lina juniper 18
eli delta 41
chen birch 100
jules delta 73
alice juniper 15
hana grove 86
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034922 | qwen/qwen3.7-plus |
awkweave-0034923 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 18 harbor
dina 21 cobalt
ivan 17 grove
bruno 29 ember
bruno 24 birch
gus 22 fable
farah 9 indigo
| alice 18
dina 39
ivan 56
bruno 85
bruno 109
gus 131
farah 140
| kim 12 birch
chen 2 cobalt
farah 21 birch
kim 23 cobalt
farah 10 juniper
kim 21 fable
| kim 12
chen 14
farah 35
kim 58
farah 68
kim 89
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034923-p1 | For each entry, output the first column and the cumulative total of the second column, separated by a space. | {s+=$2;print $1,s} | alice 18 harbor
dina 21 cobalt
ivan 17 grove
bruno 29 ember
bruno 24 birch
gus 22 fable
farah 9 indigo
| alice 18
dina 39
ivan 56
bruno 85
bruno 109
gus 131
farah 140
| kim 12 birch
chen 2 cobalt
farah 21 birch
kim 23 cobalt
farah 10 juniper
kim 21 fable
| kim 12
chen 14
farah 35
kim 58
farah 68
kim 89
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034923 | qwen/qwen3.7-plus |
awkweave-0034924 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 29 20 fable
hana 11 29 indigo
eli 18 4 juniper
jules 4 18 indigo
ivan 11 16 indigo
gus 16 12 ember
lina 12 13 harbor
| eli 49
hana 40
eli 22
jules 22
ivan 27
gus 28
lina 25
| eli 25 28 delta
bruno 7 2 juniper
eli 19 29 harbor
farah 5 8 harbor
ivan 21 26 amber
eli 15 19 cobalt
alice 14 20 cobalt
chen 19 9 fable
jules 10 11 birch
| eli 53
bruno 9
eli 48
farah 13
ivan 47
eli 34
alice 34
chen 28
jules 21
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034924-p1 | Output the first field followed by the sum of the second and third fields for each row. | {print $1,$2+$3} | eli 29 20 fable
hana 11 29 indigo
eli 18 4 juniper
jules 4 18 indigo
ivan 11 16 indigo
gus 16 12 ember
lina 12 13 harbor
| eli 49
hana 40
eli 22
jules 22
ivan 27
gus 28
lina 25
| eli 25 28 delta
bruno 7 2 juniper
eli 19 29 harbor
farah 5 8 harbor
ivan 21 26 amber
eli 15 19 cobalt
alice 14 20 cobalt
chen 19 9 fable
jules 10 11 birch
| eli 53
bruno 9
eli 48
farah 13
ivan 47
eli 34
alice 34
chen 28
jules 21
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034924 | qwen/qwen3.7-plus |
awkweave-0034925 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | chen 6
dina 18
jules 2
chen 3
chen 10
jules 9
chen 14
ivan 2
| chen fail
dina fail
jules fail
chen fail
chen fail
jules fail
chen fail
ivan fail
| kim 11
bruno 4
gus 10
alice 15
gus 28
hana 6
kim 6
kim 14
| kim fail
bruno fail
gus fail
alice fail
gus pass
hana fail
kim fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034925-p1 | Display the first column along with 'pass' if the second column is 27 or greater, otherwise display 'fail'. | {print $1,($2>=27?"pass":"fail")} | chen 6
dina 18
jules 2
chen 3
chen 10
jules 9
chen 14
ivan 2
| chen fail
dina fail
jules fail
chen fail
chen fail
jules fail
chen fail
ivan fail
| kim 11
bruno 4
gus 10
alice 15
gus 28
hana 6
kim 6
kim 14
| kim fail
bruno fail
gus fail
alice fail
gus pass
hana fail
kim fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034925 | qwen/qwen3.7-plus |
awkweave-0034926 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | bruno birch 109
hana delta 74
dina grove 97
dina indigo 29
gus indigo 106
bruno amber 49
ivan delta 21
bruno ember 67
| BRUNO
HANA
DINA
DINA
GUS
BRUNO
IVAN
BRUNO
| dina fable 23
chen grove 84
lina birch 54
chen harbor 11
jules indigo 17
gus grove 17
lina harbor 117
| DINA
CHEN
LINA
CHEN
JULES
GUS
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034926-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | bruno birch 109
hana delta 74
dina grove 97
dina indigo 29
gus indigo 106
bruno amber 49
ivan delta 21
bruno ember 67
| BRUNO
HANA
DINA
DINA
GUS
BRUNO
IVAN
BRUNO
| dina fable 23
chen grove 84
lina birch 54
chen harbor 11
jules indigo 17
gus grove 17
lina harbor 117
| DINA
CHEN
LINA
CHEN
JULES
GUS
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034926 | qwen/qwen3.7-plus |
awkweave-0034927 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | grove 5
juniper 96
cobalt 48
cobalt 45
ember 20
juniper 56
| grov
juni
coba
coba
embe
juni
| harbor 82
harbor 52
amber 68
indigo 64
grove 34
fable 75
amber 99
fable 73
cobalt 68
fable 115
| harb
harb
ambe
indi
grov
fabl
ambe
fabl
coba
fabl
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034927-p1 | Extract and print the first 4 characters from the first column. | {print substr($1,1,4)} | grove 5
juniper 96
cobalt 48
cobalt 45
ember 20
juniper 56
| grov
juni
coba
coba
embe
juni
| harbor 82
harbor 52
amber 68
indigo 64
grove 34
fable 75
amber 99
fable 73
cobalt 68
fable 115
| harb
harb
ambe
indi
grov
fabl
ambe
fabl
coba
fabl
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034927 | qwen/qwen3.7-plus |
awkweave-0034928 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_grove 117
indigo_grove 12
delta_ember 16
cobalt_indigo 111
amber_ember 48
ember_juniper 43
cobalt_delta 88
fable_cobalt 88
| grove grove
indigo grove
delta ember
cobalt indigo
amber ember
ember juniper
cobalt delta
fable cobalt
| delta_indigo 81
juniper_birch 93
indigo_birch 83
grove_juniper 81
amber_delta 64
amber_cobalt 60
delta_birch 68
delta_birch 109
| delta indigo
juniper birch
indigo birch
grove juniper
amber delta
amber cobalt
delta birch
delta birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034928-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | grove_grove 117
indigo_grove 12
delta_ember 16
cobalt_indigo 111
amber_ember 48
ember_juniper 43
cobalt_delta 88
fable_cobalt 88
| grove grove
indigo grove
delta ember
cobalt indigo
amber ember
ember juniper
cobalt delta
fable cobalt
| delta_indigo 81
juniper_birch 93
indigo_birch 83
grove_juniper 81
amber_delta 64
amber_cobalt 60
delta_birch 68
delta_birch 109
| delta indigo
juniper birch
indigo birch
grove juniper
amber delta
amber cobalt
delta birch
delta birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034928 | qwen/qwen3.7-plus |
awkweave-0034929 | 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)} | kim cobalt 88 paused
eli ember 10 pending
kim fable 106 failed
eli ember 12 failed
eli amber 52 active
bruno grove 65 closed
ivan grove 31 closed
jules grove 78 pending
| paused 88 cobalt kim
pending 10 ember eli
failed 106 fable kim
failed 12 ember eli
active 52 amber eli
closed 65 grove bruno
closed 31 grove ivan
pending 78 grove jules
| eli delta 36 pending
gus birch 27 paused
alice grove 118 paused
dina birch 108 closed
jules ember 107 pending
alice cobalt 107 closed
jules indigo 32 active
eli fable 112 failed
bruno cobalt 120 failed
alice harbor 74 pending
| pending 36 delta eli
paused 27 birch gus
paused 118 grove alice
closed 108 birch dina
pending 107 ember jules
closed 107 cobalt alice
active 32 indigo jules
failed 112 fable eli
failed 120 cobalt bruno
pending 74 harbor alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034929-p1 | Reverse the sequence of fields for each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim cobalt 88 paused
eli ember 10 pending
kim fable 106 failed
eli ember 12 failed
eli amber 52 active
bruno grove 65 closed
ivan grove 31 closed
jules grove 78 pending
| paused 88 cobalt kim
pending 10 ember eli
failed 106 fable kim
failed 12 ember eli
active 52 amber eli
closed 65 grove bruno
closed 31 grove ivan
pending 78 grove jules
| eli delta 36 pending
gus birch 27 paused
alice grove 118 paused
dina birch 108 closed
jules ember 107 pending
alice cobalt 107 closed
jules indigo 32 active
eli fable 112 failed
bruno cobalt 120 failed
alice harbor 74 pending
| pending 36 delta eli
paused 27 birch gus
paused 118 grove alice
closed 108 birch dina
pending 107 ember jules
closed 107 cobalt alice
active 32 indigo jules
failed 112 fable eli
failed 120 cobalt bruno
pending 74 harbor alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034929 | qwen/qwen3.7-plus |
awkweave-0034930 | Print the number of whitespace-separated fields on each line. | {print NF} | eli birch 107 paused
ivan juniper 102 ready
jules harbor 119 ready
hana birch 115 paused
hana indigo 81 active
gus indigo 93 failed
farah birch 0 paused
chen ember 72 paused
| 4
4
4
4
4
4
4
4
| alice birch 37 failed
kim harbor 61 failed
eli fable 65 closed
bruno juniper 91 closed
dina delta 85 failed
eli ember 8 closed
chen ember 17 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034930-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | eli birch 107 paused
ivan juniper 102 ready
jules harbor 119 ready
hana birch 115 paused
hana indigo 81 active
gus indigo 93 failed
farah birch 0 paused
chen ember 72 paused
| 4
4
4
4
4
4
4
4
| alice birch 37 failed
kim harbor 61 failed
eli fable 65 closed
bruno juniper 91 closed
dina delta 85 failed
eli ember 8 closed
chen ember 17 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034930 | qwen/qwen3.7-plus |
awkweave-0034931 | 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]]} | chen gamma 56
farah delta 60
bruno alpha 90
ivan alpha 116
bruno gamma 89
jules beta 119
ivan alpha 40
dina gamma 9
| gamma 3
delta 1
alpha 3
beta 1
| eli alpha 46
chen delta 68
gus beta 4
lina gamma 107
jules gamma 22
farah delta 24
| alpha 1
delta 2
beta 1
gamma 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034931-p1 | 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]]} | chen gamma 56
farah delta 60
bruno alpha 90
ivan alpha 116
bruno gamma 89
jules beta 119
ivan alpha 40
dina gamma 9
| gamma 3
delta 1
alpha 3
beta 1
| eli alpha 46
chen delta 68
gus beta 4
lina gamma 107
jules gamma 22
farah delta 24
| alpha 1
delta 2
beta 1
gamma 2
| count_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0034931 | qwen/qwen3.7-plus |
awkweave-0034932 | 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]]} | bruno gamma 1
eli gamma 30
jules delta 8
gus delta 5
chen gamma 15
gus alpha 15
| gamma 46
delta 13
alpha 15
| kim delta 6
alice alpha 27
hana delta 4
bruno delta 20
ivan alpha 22
eli delta 5
| delta 35
alpha 49
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034932-p1 | Calculate the sum of column 3 grouped by column 2 categories, listing results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | bruno gamma 1
eli gamma 30
jules delta 8
gus delta 5
chen gamma 15
gus alpha 15
| gamma 46
delta 13
alpha 15
| kim delta 6
alice alpha 27
hana delta 4
bruno delta 20
ivan alpha 22
eli delta 5
| delta 35
alpha 49
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034932 | qwen/qwen3.7-plus |
awkweave-0034933 | 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 fable 93
delta birch 94
alpha cobalt 15
delta amber 110
delta ember 90
delta fable 76
| delta 4
| beta cobalt 55
beta cobalt 47
gamma juniper 74
gamma cobalt 80
gamma ember 39
alpha fable 44
alpha delta 6
gamma grove 7
gamma cobalt 45
| beta 2
gamma 5
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034933-p1 | List each duplicate value from column 1 with its frequency, sorted by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta fable 93
delta birch 94
alpha cobalt 15
delta amber 110
delta ember 90
delta fable 76
| delta 4
| beta cobalt 55
beta cobalt 47
gamma juniper 74
gamma cobalt 80
gamma ember 39
alpha fable 44
alpha delta 6
gamma grove 7
gamma cobalt 45
| beta 2
gamma 5
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034933 | qwen/qwen3.7-plus |
awkweave-0034934 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note score region record_id
r001 lina 30 ready
r002 alice 30 pending
r003 gus 3 ready
r004 dina 25 failed
r005 eli 22 paused
r006 farah 22 paused
| 30
30
3
25
22
22
| note score region record_id
r001 kim 9 closed
r002 farah 10 active
r003 alice 26 failed
r004 hana 4 active
r005 eli 22 failed
r006 chen 30 pending
r007 farah 17 failed
r008 gus 1 closed
r009 ivan 21 pending
| 9
10
26
4
22
30
17
1
21
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034934-p1 | Skip the header row and output the region column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note score region record_id
r001 lina 30 ready
r002 alice 30 pending
r003 gus 3 ready
r004 dina 25 failed
r005 eli 22 paused
r006 farah 22 paused
| 30
30
3
25
22
22
| note score region record_id
r001 kim 9 closed
r002 farah 10 active
r003 alice 26 failed
r004 hana 4 active
r005 eli 22 failed
r006 chen 30 pending
r007 farah 17 failed
r008 gus 1 closed
r009 ivan 21 pending
| 9
10
26
4
22
30
17
1
21
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034934 | qwen/qwen3.7-plus |
awkweave-0034935 | The first row is a header. Print display_name for data rows whose score is greater than 8. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]} | record_id display_name score state
r001 gus 25 failed
r002 alice 11 failed
r003 chen 25 pending
r004 farah 28 paused
r005 chen 17 closed
r006 lina 6 pending
r007 jules 22 paused
r008 chen 26 active
| gus
alice
chen
farah
chen
jules
chen
| record_id display_name score state
r001 lina 9 pending
r002 chen 23 paused
r003 kim 2 active
r004 lina 19 ready
r005 kim 26 failed
r006 ivan 29 failed
r007 lina 2 paused
r008 dina 25 ready
r009 ivan 16 failed
r010 ivan 17 pending
| lina
chen
lina
kim
ivan
dina
ivan
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034935-p1 | Ignoring the header, print the display_name for any row where the score is above 8. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>8{print $h["display_name"]} | record_id display_name score state
r001 gus 25 failed
r002 alice 11 failed
r003 chen 25 pending
r004 farah 28 paused
r005 chen 17 closed
r006 lina 6 pending
r007 jules 22 paused
r008 chen 26 active
| gus
alice
chen
farah
chen
jules
chen
| record_id display_name score state
r001 lina 9 pending
r002 chen 23 paused
r003 kim 2 active
r004 lina 19 ready
r005 kim 26 failed
r006 ivan 29 failed
r007 lina 2 paused
r008 dina 25 ready
r009 ivan 16 failed
r010 ivan 17 pending
| lina
chen
lina
kim
ivan
dina
ivan
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034935 | qwen/qwen3.7-plus |
awkweave-0034936 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | ivan 15 ready
ivan 10 failed
hana 4 paused
farah 2 pending
alice 28 ready
bruno 13 failed
farah 17 pending
bruno 21 failed
bruno 4 failed
| 15
10
4
2
28
13
17
21
4
| kim 14 failed
jules 30 closed
jules 11 failed
ivan 25 failed
ivan 1 active
lina 25 failed
gus 3 failed
jules 3 active
lina 2 closed
lina 1 paused
| 14
30
11
25
1
25
3
3
2
1
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034936-p1 | Extract and print the second field from each tab-separated record. | BEGIN{FS=OFS="\t"}{print $2} | ivan 15 ready
ivan 10 failed
hana 4 paused
farah 2 pending
alice 28 ready
bruno 13 failed
farah 17 pending
bruno 21 failed
bruno 4 failed
| 15
10
4
2
28
13
17
21
4
| kim 14 failed
jules 30 closed
jules 11 failed
ivan 25 failed
ivan 1 active
lina 25 failed
gus 3 failed
jules 3 active
lina 2 closed
lina 1 paused
| 14
30
11
25
1
25
3
3
2
1
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034936 | qwen/qwen3.7-plus |
awkweave-0034937 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18. | BEGIN{FS=OFS=","}$2>18{print $1} | dina,5,pending
gus,21,paused
jules,17,failed
lina,6,failed
bruno,12,pending
farah,10,closed
alice,8,paused
eli,25,pending
gus,4,paused
hana,29,ready
| gus
eli
hana
| chen,16,failed
ivan,16,failed
bruno,26,closed
farah,22,failed
bruno,6,pending
hana,24,ready
| bruno
farah
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034937-p1 | For simple CSV input without quoted commas, output the first column if the second column value is greater than 18. | BEGIN{FS=OFS=","}$2>18{print $1} | dina,5,pending
gus,21,paused
jules,17,failed
lina,6,failed
bruno,12,pending
farah,10,closed
alice,8,paused
eli,25,pending
gus,4,paused
hana,29,ready
| gus
eli
hana
| chen,16,failed
ivan,16,failed
bruno,26,closed
farah,22,failed
bruno,6,pending
hana,24,ready
| bruno
farah
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034937 | qwen/qwen3.7-plus |
awkweave-0034938 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | farah juniper 66
jules grove 73
ivan delta 8
alice fable 90
alice amber 13
jules fable 114
gus juniper 26
| farah juniper 66
jules grove 73
ivan delta 8
alice fable 90
alice amber 13
jules fable 114
gus juniper 26
| alice cobalt 79
alice ember 57
farah cobalt 107
ivan harbor 98
jules juniper 8
eli grove 111
| alice cobalt 79
alice ember 57
farah cobalt 107
ivan harbor 98
jules juniper 8
eli grove 111
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034938-p1 | Remove leading and trailing spaces and replace internal whitespace sequences with a single space. | {$1=$1;print} | farah juniper 66
jules grove 73
ivan delta 8
alice fable 90
alice amber 13
jules fable 114
gus juniper 26
| farah juniper 66
jules grove 73
ivan delta 8
alice fable 90
alice amber 13
jules fable 114
gus juniper 26
| alice cobalt 79
alice ember 57
farah cobalt 107
ivan harbor 98
jules juniper 8
eli grove 111
| alice cobalt 79
alice ember 57
farah cobalt 107
ivan harbor 98
jules juniper 8
eli grove 111
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034938 | qwen/qwen3.7-plus |
awkweave-0034939 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah amber 60 active
jules delta 56 active
chen grove 9 paused
farah birch 117 closed
farah grove 111 pending
kim ember 92 ready
lina grove 109 ready
dina cobalt 60 pending
hana amber 54 failed
farah birch 70 paused
| farah grove 111 pending
| farah juniper 83 failed
jules birch 62 failed
hana harbor 79 failed
eli delta 11 pending
ivan grove 110 ready
hana juniper 95 ready
| farah juniper 83 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034939-p1 | Identify and print the longest line from the input, selecting the first one if there are ties in length. | {if(length($0)>length(best))best=$0}END{print best} | farah amber 60 active
jules delta 56 active
chen grove 9 paused
farah birch 117 closed
farah grove 111 pending
kim ember 92 ready
lina grove 109 ready
dina cobalt 60 pending
hana amber 54 failed
farah birch 70 paused
| farah grove 111 pending
| farah juniper 83 failed
jules birch 62 failed
hana harbor 79 failed
eli delta 11 pending
ivan grove 110 ready
hana juniper 95 ready
| farah juniper 83 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034939 | qwen/qwen3.7-plus |
awkweave-0034940 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | jules 29
dina 77
ivan 78
eli 5
jules 49
dina 81
gus 60
hana 41
| dina 77
jules 49
hana 41
| ivan 83
chen 112
bruno 83
gus 74
dina 4
alice 9
kim 97
hana 82
kim 43
| chen 112
dina 4
hana 82
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034940-p1 | Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.). | NR%3==2 | jules 29
dina 77
ivan 78
eli 5
jules 49
dina 81
gus 60
hana 41
| dina 77
jules 49
hana 41
| ivan 83
chen 112
bruno 83
gus 74
dina 4
alice 9
kim 97
hana 82
kim 43
| chen 112
dina 4
hana 82
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034940 | qwen/qwen3.7-plus |
awkweave-0034941 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta indigo 67
delta indigo 55
gamma ember 38
delta ember 30
gamma cobalt 23
gamma birch 105
beta ember 26
delta ember 20
| 3
| delta birch 34
beta harbor 11
beta delta 91
alpha grove 87
gamma ember 42
gamma amber 25
alpha birch 30
| 4
| distinct_count | 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.