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-0022831-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | bruno juniper 77
chen amber 42
jules grove 15
bruno juniper 77
ivan juniper 38
lina harbor 48
lina delta 85
| bruno juniper 77
chen amber 42
jules grove 15
ivan juniper 38
lina harbor 48
lina delta 85
| bruno fable 31
gus amber 119
lina amber 3
dina amber 68
gus amber 55
kim harbor 117
gus amber 119
lina juniper 111
farah grove 15
jules indigo 63
| bruno fable 31
gus amber 119
lina amber 3
dina amber 68
gus amber 55
kim harbor 117
lina juniper 111
farah grove 15
jules indigo 63
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022831 | qwen/qwen3.7-plus |
awkweave-0022832 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | alice fable 92
ivan delta 99
alice harbor 33
hana indigo 106
farah grove 5
lina harbor 27
chen ember 60
dina ember 72
kim amber 39
| alice fable 92
ivan delta 99
alice harbor 33
hana indigo 106
farah grove 5
chen ember 60
kim amber 39
| jules harbor 105
alice harbor 14
chen birch 9
hana indigo 41
alice ember 90
ivan cobalt 60
chen ember 42
bruno fable 3
ivan indigo 8
jules fable 62
| jules harbor 105
chen birch 9
hana indigo 41
alice ember 90
ivan cobalt 60
bruno fable 3
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022832-p1 | Retain only the first occurrence for every unique value in column 2, preserving the original input order. | !seen[$2]++ | alice fable 92
ivan delta 99
alice harbor 33
hana indigo 106
farah grove 5
lina harbor 27
chen ember 60
dina ember 72
kim amber 39
| alice fable 92
ivan delta 99
alice harbor 33
hana indigo 106
farah grove 5
chen ember 60
kim amber 39
| jules harbor 105
alice harbor 14
chen birch 9
hana indigo 41
alice ember 90
ivan cobalt 60
chen ember 42
bruno fable 3
ivan indigo 8
jules fable 62
| jules harbor 105
chen birch 9
hana indigo 41
alice ember 90
ivan cobalt 60
bruno fable 3
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022832 | qwen/qwen3.7-plus |
awkweave-0022833 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 27 fable
chen 15 grove
lina 23 amber
alice 6 juniper
jules 12 juniper
alice 2 ember
lina 30 indigo
| ivan 27
chen 42
lina 65
alice 71
jules 83
alice 85
lina 115
| farah 21 fable
gus 3 juniper
bruno 9 fable
kim 1 birch
farah 3 fable
chen 17 grove
bruno 3 cobalt
lina 16 indigo
chen 24 fable
| farah 21
gus 24
bruno 33
kim 34
farah 37
chen 54
bruno 57
lina 73
chen 97
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022833-p1 | For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 27 fable
chen 15 grove
lina 23 amber
alice 6 juniper
jules 12 juniper
alice 2 ember
lina 30 indigo
| ivan 27
chen 42
lina 65
alice 71
jules 83
alice 85
lina 115
| farah 21 fable
gus 3 juniper
bruno 9 fable
kim 1 birch
farah 3 fable
chen 17 grove
bruno 3 cobalt
lina 16 indigo
chen 24 fable
| farah 21
gus 24
bruno 33
kim 34
farah 37
chen 54
bruno 57
lina 73
chen 97
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022833 | qwen/qwen3.7-plus |
awkweave-0022834 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 10 20 delta
ivan 6 24 amber
alice 24 27 ember
jules 21 21 indigo
gus 25 19 cobalt
bruno 21 1 birch
bruno 22 6 ember
| chen 30
ivan 30
alice 51
jules 42
gus 44
bruno 22
bruno 28
| bruno 12 1 birch
kim 18 12 ember
dina 16 22 fable
alice 18 30 indigo
lina 12 21 juniper
eli 11 22 grove
dina 14 5 fable
kim 9 25 cobalt
| bruno 13
kim 30
dina 38
alice 48
lina 33
eli 33
dina 19
kim 34
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022834-p1 | For each row, display field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 10 20 delta
ivan 6 24 amber
alice 24 27 ember
jules 21 21 indigo
gus 25 19 cobalt
bruno 21 1 birch
bruno 22 6 ember
| chen 30
ivan 30
alice 51
jules 42
gus 44
bruno 22
bruno 28
| bruno 12 1 birch
kim 18 12 ember
dina 16 22 fable
alice 18 30 indigo
lina 12 21 juniper
eli 11 22 grove
dina 14 5 fable
kim 9 25 cobalt
| bruno 13
kim 30
dina 38
alice 48
lina 33
eli 33
dina 19
kim 34
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022834 | qwen/qwen3.7-plus |
awkweave-0022835 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | gus 17
gus 7
hana 5
dina 29
alice 21
kim 3
eli 16
bruno 30
| gus fail
gus fail
hana fail
dina pass
alice fail
kim fail
eli fail
bruno pass
| dina 5
jules 29
gus 1
kim 23
eli 5
chen 16
chen 13
eli 18
| dina fail
jules pass
gus fail
kim fail
eli fail
chen fail
chen fail
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022835-p1 | Print column 1 and output 'pass' if column 2 is greater than or equal to 26; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | gus 17
gus 7
hana 5
dina 29
alice 21
kim 3
eli 16
bruno 30
| gus fail
gus fail
hana fail
dina pass
alice fail
kim fail
eli fail
bruno pass
| dina 5
jules 29
gus 1
kim 23
eli 5
chen 16
chen 13
eli 18
| dina fail
jules pass
gus fail
kim fail
eli fail
chen fail
chen fail
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022835 | qwen/qwen3.7-plus |
awkweave-0022836 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen harbor 56
dina delta 26
alice fable 114
farah birch 80
chen delta 89
lina fable 85
kim harbor 82
eli ember 22
dina harbor 36
| HARBOR
DELTA
FABLE
BIRCH
DELTA
FABLE
HARBOR
EMBER
HARBOR
| kim harbor 99
gus birch 71
dina amber 118
hana grove 51
farah harbor 80
eli delta 50
bruno ember 75
kim ember 103
hana fable 29
gus ember 111
| HARBOR
BIRCH
AMBER
GROVE
HARBOR
DELTA
EMBER
EMBER
FABLE
EMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022836-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | chen harbor 56
dina delta 26
alice fable 114
farah birch 80
chen delta 89
lina fable 85
kim harbor 82
eli ember 22
dina harbor 36
| HARBOR
DELTA
FABLE
BIRCH
DELTA
FABLE
HARBOR
EMBER
HARBOR
| kim harbor 99
gus birch 71
dina amber 118
hana grove 51
farah harbor 80
eli delta 50
bruno ember 75
kim ember 103
hana fable 29
gus ember 111
| HARBOR
BIRCH
AMBER
GROVE
HARBOR
DELTA
EMBER
EMBER
FABLE
EMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022836 | qwen/qwen3.7-plus |
awkweave-0022837 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | amber 60
fable 87
cobalt 36
birch 39
juniper 22
amber 106
juniper 45
juniper 13
| am
fa
co
bi
ju
am
ju
ju
| delta 102
amber 92
indigo 45
fable 13
grove 104
birch 18
cobalt 85
| de
am
in
fa
gr
bi
co
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022837-p1 | Extract and print the first two characters from the first column. | {print substr($1,1,2)} | amber 60
fable 87
cobalt 36
birch 39
juniper 22
amber 106
juniper 45
juniper 13
| am
fa
co
bi
ju
am
ju
ju
| delta 102
amber 92
indigo 45
fable 13
grove 104
birch 18
cobalt 85
| de
am
in
fa
gr
bi
co
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022837 | qwen/qwen3.7-plus |
awkweave-0022838 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_grove 35
fable_fable 60
grove_grove 69
ember_fable 95
grove_indigo 68
amber_ember 119
| harbor grove
fable fable
grove grove
ember fable
grove indigo
amber ember
| grove_amber 72
juniper_juniper 2
harbor_indigo 90
delta_grove 1
amber_harbor 65
ember_indigo 47
birch_harbor 118
fable_ember 110
harbor_fable 106
cobalt_harbor 88
| grove amber
juniper juniper
harbor indigo
delta grove
amber harbor
ember indigo
birch harbor
fable ember
harbor fable
cobalt harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022838-p1 | Substitute all underscores in the first column with spaces and display the result. | {gsub(/_/," ",$1);print $1} | harbor_grove 35
fable_fable 60
grove_grove 69
ember_fable 95
grove_indigo 68
amber_ember 119
| harbor grove
fable fable
grove grove
ember fable
grove indigo
amber ember
| grove_amber 72
juniper_juniper 2
harbor_indigo 90
delta_grove 1
amber_harbor 65
ember_indigo 47
birch_harbor 118
fable_ember 110
harbor_fable 106
cobalt_harbor 88
| grove amber
juniper juniper
harbor indigo
delta grove
amber harbor
ember indigo
birch harbor
fable ember
harbor fable
cobalt harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022838 | qwen/qwen3.7-plus |
awkweave-0022839 | 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)} | hana ember 86 failed
bruno indigo 12 paused
dina harbor 105 paused
kim ember 67 pending
lina cobalt 52 active
farah harbor 72 failed
farah fable 34 pending
| failed 86 ember hana
paused 12 indigo bruno
paused 105 harbor dina
pending 67 ember kim
active 52 cobalt lina
failed 72 harbor farah
pending 34 fable farah
| alice fable 59 failed
lina fable 36 ready
chen indigo 111 active
dina fable 96 ready
bruno juniper 72 closed
farah fable 109 failed
alice cobalt 74 closed
chen fable 41 ready
kim birch 17 failed
jules cobalt 34 active
| failed 59 fable alice
ready 36 fable lina
active 111 indigo chen
ready 96 fable dina
closed 72 juniper bruno
failed 109 fable farah
closed 74 cobalt alice
ready 41 fable chen
failed 17 birch kim
active 34 cobalt jules
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022839-p1 | Reverse the sequence of fields on each line and output all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | hana ember 86 failed
bruno indigo 12 paused
dina harbor 105 paused
kim ember 67 pending
lina cobalt 52 active
farah harbor 72 failed
farah fable 34 pending
| failed 86 ember hana
paused 12 indigo bruno
paused 105 harbor dina
pending 67 ember kim
active 52 cobalt lina
failed 72 harbor farah
pending 34 fable farah
| alice fable 59 failed
lina fable 36 ready
chen indigo 111 active
dina fable 96 ready
bruno juniper 72 closed
farah fable 109 failed
alice cobalt 74 closed
chen fable 41 ready
kim birch 17 failed
jules cobalt 34 active
| failed 59 fable alice
ready 36 fable lina
active 111 indigo chen
ready 96 fable dina
closed 72 juniper bruno
failed 109 fable farah
closed 74 cobalt alice
ready 41 fable chen
failed 17 birch kim
active 34 cobalt jules
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022839 | qwen/qwen3.7-plus |
awkweave-0022840 | Print the number of whitespace-separated fields on each line. | {print NF} | gus ember 38 ready
lina harbor 45 paused
chen birch 1 paused
dina juniper 112 active
gus birch 24 failed
jules juniper 46 closed
lina grove 81 failed
| 4
4
4
4
4
4
4
| chen fable 94 paused
jules harbor 95 pending
jules ember 117 failed
lina cobalt 15 closed
bruno cobalt 101 ready
bruno fable 48 ready
lina birch 37 active
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022840-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | gus ember 38 ready
lina harbor 45 paused
chen birch 1 paused
dina juniper 112 active
gus birch 24 failed
jules juniper 46 closed
lina grove 81 failed
| 4
4
4
4
4
4
4
| chen fable 94 paused
jules harbor 95 pending
jules ember 117 failed
lina cobalt 15 closed
bruno cobalt 101 ready
bruno fable 48 ready
lina birch 37 active
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022840 | qwen/qwen3.7-plus |
awkweave-0022841 | 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]]} | hana delta 43
eli delta 75
lina delta 90
dina gamma 109
chen gamma 95
farah gamma 100
farah alpha 85
alice delta 58
kim gamma 23
hana alpha 3
| delta 4
gamma 4
alpha 2
| chen gamma 109
farah beta 103
ivan beta 28
chen beta 28
lina delta 40
alice alpha 120
eli alpha 27
chen delta 101
lina beta 79
| gamma 1
beta 4
delta 2
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022841-p1 | Tally the records for each unique value in column 2, then print each value alongside its count in the order 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]]} | hana delta 43
eli delta 75
lina delta 90
dina gamma 109
chen gamma 95
farah gamma 100
farah alpha 85
alice delta 58
kim gamma 23
hana alpha 3
| delta 4
gamma 4
alpha 2
| chen gamma 109
farah beta 103
ivan beta 28
chen beta 28
lina delta 40
alice alpha 120
eli alpha 27
chen delta 101
lina beta 79
| gamma 1
beta 4
delta 2
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022841 | qwen/qwen3.7-plus |
awkweave-0022842 | 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]]} | dina beta 12
dina alpha 8
bruno beta 10
jules gamma 19
hana delta 6
lina alpha 25
hana delta 16
kim gamma 16
hana delta 11
lina beta 22
| beta 44
alpha 33
gamma 35
delta 33
| eli beta 4
lina delta 19
alice gamma 2
dina gamma 7
ivan gamma 14
jules gamma 29
kim alpha 17
gus delta 6
ivan beta 29
| beta 33
delta 25
gamma 52
alpha 17
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022842-p1 | Calculate the sum of column 3 grouped by column 2, displaying the results in the order of the group's 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]]} | dina beta 12
dina alpha 8
bruno beta 10
jules gamma 19
hana delta 6
lina alpha 25
hana delta 16
kim gamma 16
hana delta 11
lina beta 22
| beta 44
alpha 33
gamma 35
delta 33
| eli beta 4
lina delta 19
alice gamma 2
dina gamma 7
ivan gamma 14
jules gamma 29
kim alpha 17
gus delta 6
ivan beta 29
| beta 33
delta 25
gamma 52
alpha 17
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022842 | qwen/qwen3.7-plus |
awkweave-0022843 | 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]]} | alpha cobalt 104
beta birch 14
gamma grove 98
beta indigo 21
delta harbor 32
delta grove 95
gamma delta 42
beta juniper 105
beta amber 34
| beta 4
gamma 2
delta 2
| delta grove 53
delta ember 108
delta indigo 56
gamma fable 98
delta grove 117
delta juniper 74
beta birch 110
| delta 5
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022843-p1 | List each duplicate value from column 1 along with its frequency, ordered by first occurrence. | {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]]} | alpha cobalt 104
beta birch 14
gamma grove 98
beta indigo 21
delta harbor 32
delta grove 95
gamma delta 42
beta juniper 105
beta amber 34
| beta 4
gamma 2
delta 2
| delta grove 53
delta ember 108
delta indigo 56
gamma fable 98
delta grove 117
delta juniper 74
beta birch 110
| delta 5
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022843 | qwen/qwen3.7-plus |
awkweave-0022844 | 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"]} | state display_name score note
r001 dina 15 failed
r002 alice 11 failed
r003 hana 23 closed
r004 kim 9 ready
r005 eli 20 ready
r006 jules 6 pending
r007 kim 10 pending
r008 kim 27 active
r009 eli 22 pending
| dina
alice
hana
kim
eli
jules
kim
kim
eli
| state display_name score note
r001 eli 17 closed
r002 chen 9 paused
r003 alice 12 active
r004 bruno 10 pending
r005 chen 28 closed
r006 gus 17 ready
r007 alice 5 paused
r008 jules 29 paused
r009 jules 21 failed
| eli
chen
alice
bruno
chen
gus
alice
jules
jules
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022844-p1 | Treating the first line as a header, output the display_name column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state display_name score note
r001 dina 15 failed
r002 alice 11 failed
r003 hana 23 closed
r004 kim 9 ready
r005 eli 20 ready
r006 jules 6 pending
r007 kim 10 pending
r008 kim 27 active
r009 eli 22 pending
| dina
alice
hana
kim
eli
jules
kim
kim
eli
| state display_name score note
r001 eli 17 closed
r002 chen 9 paused
r003 alice 12 active
r004 bruno 10 pending
r005 chen 28 closed
r006 gus 17 ready
r007 alice 5 paused
r008 jules 29 paused
r009 jules 21 failed
| eli
chen
alice
bruno
chen
gus
alice
jules
jules
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022844 | qwen/qwen3.7-plus |
awkweave-0022845 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 dina 13 failed
r002 gus 7 closed
r003 gus 29 paused
r004 bruno 26 closed
r005 jules 15 ready
r006 bruno 19 pending
r007 chen 10 active
r008 eli 13 closed
r009 chen 13 ready
| gus
bruno
jules
bruno
| record_id display_name score state
r001 alice 7 active
r002 gus 18 active
r003 farah 21 ready
r004 gus 27 active
r005 dina 8 pending
r006 chen 19 active
r007 jules 25 paused
r008 hana 19 pending
r009 lina 12 paused
r010 jules 5 ready
| gus
farah
gus
chen
jules
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022845-p1 | With the first row as a header, print the display_name for data rows where the score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 dina 13 failed
r002 gus 7 closed
r003 gus 29 paused
r004 bruno 26 closed
r005 jules 15 ready
r006 bruno 19 pending
r007 chen 10 active
r008 eli 13 closed
r009 chen 13 ready
| gus
bruno
jules
bruno
| record_id display_name score state
r001 alice 7 active
r002 gus 18 active
r003 farah 21 ready
r004 gus 27 active
r005 dina 8 pending
r006 chen 19 active
r007 jules 25 paused
r008 hana 19 pending
r009 lina 12 paused
r010 jules 5 ready
| gus
farah
gus
chen
jules
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022845 | qwen/qwen3.7-plus |
awkweave-0022846 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 14 active
bruno 6 failed
gus 21 failed
chen 18 pending
chen 5 active
jules 20 ready
alice 15 active
| active
failed
failed
pending
active
ready
active
| eli 15 active
lina 15 pending
eli 27 pending
hana 3 ready
bruno 2 pending
jules 15 active
| active
pending
pending
ready
pending
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022846-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 14 active
bruno 6 failed
gus 21 failed
chen 18 pending
chen 5 active
jules 20 ready
alice 15 active
| active
failed
failed
pending
active
ready
active
| eli 15 active
lina 15 pending
eli 27 pending
hana 3 ready
bruno 2 pending
jules 15 active
| active
pending
pending
ready
pending
active
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022846 | qwen/qwen3.7-plus |
awkweave-0022847 | 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} | jules,3,failed
dina,25,failed
chen,24,closed
alice,10,failed
gus,22,active
jules,5,paused
dina,3,paused
kim,12,ready
alice,7,pending
dina,26,failed
| dina
chen
gus
dina
| lina,29,active
hana,23,paused
hana,4,active
alice,11,failed
hana,19,ready
gus,5,paused
alice,12,failed
jules,19,pending
hana,17,ready
kim,2,active
| lina
hana
hana
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022847-p1 | For simple comma-separated data without quoted commas, print the first column if the second column is greater than 18. | BEGIN{FS=OFS=","}$2>18{print $1} | jules,3,failed
dina,25,failed
chen,24,closed
alice,10,failed
gus,22,active
jules,5,paused
dina,3,paused
kim,12,ready
alice,7,pending
dina,26,failed
| dina
chen
gus
dina
| lina,29,active
hana,23,paused
hana,4,active
alice,11,failed
hana,19,ready
gus,5,paused
alice,12,failed
jules,19,pending
hana,17,ready
kim,2,active
| lina
hana
hana
jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022847 | qwen/qwen3.7-plus |
awkweave-0022848 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | gus ember 3
lina fable 45
lina harbor 68
lina delta 38
farah juniper 34
alice juniper 31
| gus ember 3
lina fable 45
lina harbor 68
lina delta 38
farah juniper 34
alice juniper 31
| chen indigo 36
gus birch 87
kim indigo 45
farah birch 3
dina grove 120
bruno grove 50
lina fable 107
| chen indigo 36
gus birch 87
kim indigo 45
farah birch 3
dina grove 120
bruno grove 50
lina fable 107
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022848-p1 | Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | gus ember 3
lina fable 45
lina harbor 68
lina delta 38
farah juniper 34
alice juniper 31
| gus ember 3
lina fable 45
lina harbor 68
lina delta 38
farah juniper 34
alice juniper 31
| chen indigo 36
gus birch 87
kim indigo 45
farah birch 3
dina grove 120
bruno grove 50
lina fable 107
| chen indigo 36
gus birch 87
kim indigo 45
farah birch 3
dina grove 120
bruno grove 50
lina fable 107
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022848 | qwen/qwen3.7-plus |
awkweave-0022849 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | chen birch 114 pending
alice cobalt 65 failed
kim grove 105 active
bruno ember 103 closed
alice indigo 25 failed
ivan birch 31 pending
alice ember 95 ready
| chen birch 114 pending
| gus harbor 67 ready
eli cobalt 19 active
lina birch 62 pending
alice juniper 112 closed
hana amber 36 pending
farah harbor 54 failed
jules grove 61 failed
| alice juniper 112 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022849-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | chen birch 114 pending
alice cobalt 65 failed
kim grove 105 active
bruno ember 103 closed
alice indigo 25 failed
ivan birch 31 pending
alice ember 95 ready
| chen birch 114 pending
| gus harbor 67 ready
eli cobalt 19 active
lina birch 62 pending
alice juniper 112 closed
hana amber 36 pending
farah harbor 54 failed
jules grove 61 failed
| alice juniper 112 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022849 | qwen/qwen3.7-plus |
awkweave-0022850 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | hana 20
jules 86
kim 110
jules 58
jules 116
dina 28
| kim 110
dina 28
| farah 101
eli 77
bruno 30
hana 81
eli 80
hana 74
chen 5
kim 42
eli 15
chen 90
| bruno 30
hana 74
eli 15
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022850-p1 | Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | hana 20
jules 86
kim 110
jules 58
jules 116
dina 28
| kim 110
dina 28
| farah 101
eli 77
bruno 30
hana 81
eli 80
hana 74
chen 5
kim 42
eli 15
chen 90
| bruno 30
hana 74
eli 15
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022850 | qwen/qwen3.7-plus |
awkweave-0022851 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 39
alpha ember 97
beta juniper 53
alpha cobalt 107
beta cobalt 58
delta amber 99
alpha amber 9
alpha amber 37
| 3
| gamma amber 105
delta fable 16
beta amber 40
delta amber 99
beta grove 65
gamma delta 120
beta cobalt 3
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022851-p1 | Calculate the number of unique values present in the first column and display only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 39
alpha ember 97
beta juniper 53
alpha cobalt 107
beta cobalt 58
delta amber 99
alpha amber 9
alpha amber 37
| 3
| gamma amber 105
delta fable 16
beta amber 40
delta amber 99
beta grove 65
gamma delta 120
beta cobalt 3
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022851 | qwen/qwen3.7-plus |
awkweave-0022852 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | eli 30 0
alice 17 17
kim 2 25
ivan 5 25
jules 18 23
dina 19 23
kim 15 27
dina 6 17
ivan 30 18
jules 21 2
| alice 1.00
kim 0.08
ivan 0.20
jules 0.78
dina 0.83
kim 0.56
dina 0.35
ivan 1.67
jules 10.50
| hana 8 0
bruno 21 6
lina 15 3
gus 11 18
ivan 18 4
eli 24 4
ivan 15 22
hana 5 9
farah 21 18
dina 14 10
| bruno 3.50
lina 5.00
gus 0.61
ivan 4.50
eli 6.00
ivan 0.68
hana 0.56
farah 1.17
dina 1.40
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022852-p1 | For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | eli 30 0
alice 17 17
kim 2 25
ivan 5 25
jules 18 23
dina 19 23
kim 15 27
dina 6 17
ivan 30 18
jules 21 2
| alice 1.00
kim 0.08
ivan 0.20
jules 0.78
dina 0.83
kim 0.56
dina 0.35
ivan 1.67
jules 10.50
| hana 8 0
bruno 21 6
lina 15 3
gus 11 18
ivan 18 4
eli 24 4
ivan 15 22
hana 5 9
farah 21 18
dina 14 10
| bruno 3.50
lina 5.00
gus 0.61
ivan 4.50
eli 6.00
ivan 0.68
hana 0.56
farah 1.17
dina 1.40
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022852 | qwen/qwen3.7-plus |
awkweave-0022853 | 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]} | ivan cobalt 1
gus juniper 14
dina cobalt 24
gus fable 24
chen juniper 29
ivan amber 29
| chen juniper 29
ivan amber 29
dina cobalt 24
| ivan grove 2
jules harbor 2
alice cobalt 17
farah harbor 20
jules birch 25
hana grove 15
gus ember 9
hana harbor 8
chen birch 26
hana fable 12
| chen birch 26
jules birch 25
farah harbor 20
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022853-p1 | Display the full records corresponding to the three highest numeric values in the third column, sorted in descending order; maintain the original input order for any tied values. | {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]} | ivan cobalt 1
gus juniper 14
dina cobalt 24
gus fable 24
chen juniper 29
ivan amber 29
| chen juniper 29
ivan amber 29
dina cobalt 24
| ivan grove 2
jules harbor 2
alice cobalt 17
farah harbor 20
jules birch 25
hana grove 15
gus ember 9
hana harbor 8
chen birch 26
hana fable 12
| chen birch 26
jules birch 25
farah harbor 20
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022853 | qwen/qwen3.7-plus |
awkweave-0022854 | For each line, output fields 5 and 4, in that order. | {print $5, $4} | pending ready closed indigo paused
active ready pending harbor failed
active failed active grove closed
closed pending failed delta paused
failed failed closed indigo failed
pending failed pending birch closed
| paused indigo
failed harbor
closed grove
paused delta
failed indigo
closed birch
| paused pending failed juniper paused
active closed active grove pending
pending active paused harbor closed
pending ready active harbor failed
paused pending closed cobalt pending
active closed ready juniper active
failed paused failed grove paused
pending closed closed ember paused
closed ready active grove failed
clo... | paused juniper
pending grove
closed harbor
failed harbor
pending cobalt
active juniper
paused grove
paused ember
failed grove
paused birch
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022854-p1 | For every line, print the fifth field followed by the fourth field. | {print $5, $4} | pending ready closed indigo paused
active ready pending harbor failed
active failed active grove closed
closed pending failed delta paused
failed failed closed indigo failed
pending failed pending birch closed
| paused indigo
failed harbor
closed grove
paused delta
failed indigo
closed birch
| paused pending failed juniper paused
active closed active grove pending
pending active paused harbor closed
pending ready active harbor failed
paused pending closed cobalt pending
active closed ready juniper active
failed paused failed grove paused
pending closed closed ember paused
closed ready active grove failed
clo... | paused juniper
pending grove
closed harbor
failed harbor
pending cobalt
active juniper
paused grove
paused ember
failed grove
paused birch
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022854 | qwen/qwen3.7-plus |
awkweave-0022855 | Print the last field of every input line. | {print $NF} | 104 51 80
71 85 70
72 36 15
15 53 39
80 11 85
28 104 99
| 80
70
15
39
85
99
| 110 86 6
8 118 77
102 42 27
42 98 66
45 44 37
70 24 9
89 53 103
25 54 64
90 66 3
62 77 89
| 6
77
27
66
37
9
103
64
3
89
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022855-p1 | Output the final field from each line of the input. | {print $NF} | 104 51 80
71 85 70
72 36 15
15 53 39
80 11 85
28 104 99
| 80
70
15
39
85
99
| 110 86 6
8 118 77
102 42 27
42 98 66
45 44 37
70 24 9
89 53 103
25 54 64
90 66 3
62 77 89
| 6
77
27
66
37
9
103
64
3
89
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022855 | qwen/qwen3.7-plus |
awkweave-0022856 | Print the complete records where column 2 is at least 38. | $2 >= 38 | fable 105 paused kim paused
birch 97 failed hana ready
fable 8 active bruno closed
indigo 113 active gus closed
delta 40 ready bruno closed
ember 105 paused ivan ready
indigo 59 pending jules ready
| fable 105 paused kim paused
birch 97 failed hana ready
indigo 113 active gus closed
delta 40 ready bruno closed
ember 105 paused ivan ready
indigo 59 pending jules ready
| indigo 72 failed hana ready
fable 109 closed chen active
cobalt 14 failed ivan failed
juniper 99 pending ivan failed
birch 103 ready chen pending
harbor 110 ready farah active
indigo 91 pending farah failed
cobalt 18 ready ivan paused
birch 117 active dina paused
indigo 15 active farah pending
| indigo 72 failed hana ready
fable 109 closed chen active
juniper 99 pending ivan failed
birch 103 ready chen pending
harbor 110 ready farah active
indigo 91 pending farah failed
birch 117 active dina paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022856-p1 | Print the entire lines where the value in the second column is greater than or equal to 38. | $2 >= 38 | fable 105 paused kim paused
birch 97 failed hana ready
fable 8 active bruno closed
indigo 113 active gus closed
delta 40 ready bruno closed
ember 105 paused ivan ready
indigo 59 pending jules ready
| fable 105 paused kim paused
birch 97 failed hana ready
indigo 113 active gus closed
delta 40 ready bruno closed
ember 105 paused ivan ready
indigo 59 pending jules ready
| indigo 72 failed hana ready
fable 109 closed chen active
cobalt 14 failed ivan failed
juniper 99 pending ivan failed
birch 103 ready chen pending
harbor 110 ready farah active
indigo 91 pending farah failed
cobalt 18 ready ivan paused
birch 117 active dina paused
indigo 15 active farah pending
| indigo 72 failed hana ready
fable 109 closed chen active
juniper 99 pending ivan failed
birch 103 ready chen pending
harbor 110 ready farah active
indigo 91 pending farah failed
birch 117 active dina paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022856 | qwen/qwen3.7-plus |
awkweave-0022857 | Show whole lines whose 3rd field is between 3 and 19, inclusive. | $3 >= 3 && $3 <= 19 | delta gus 5 hana
indigo hana 10 lina
delta gus 6 bruno
cobalt bruno 9 farah
juniper hana 21 farah
cobalt hana 30 ivan
delta eli 20 kim
fable bruno 12 bruno
amber alice 3 farah
| delta gus 5 hana
indigo hana 10 lina
delta gus 6 bruno
cobalt bruno 9 farah
fable bruno 12 bruno
amber alice 3 farah
| amber kim 1 eli
delta kim 14 kim
birch chen 3 chen
birch gus 5 dina
fable kim 10 bruno
delta kim 16 dina
cobalt jules 22 chen
indigo kim 30 hana
birch kim 22 eli
| delta kim 14 kim
birch chen 3 chen
birch gus 5 dina
fable kim 10 bruno
delta kim 16 dina
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022857-p1 | Display complete lines where the third field has a value between 3 and 19, inclusive. | $3 >= 3 && $3 <= 19 | delta gus 5 hana
indigo hana 10 lina
delta gus 6 bruno
cobalt bruno 9 farah
juniper hana 21 farah
cobalt hana 30 ivan
delta eli 20 kim
fable bruno 12 bruno
amber alice 3 farah
| delta gus 5 hana
indigo hana 10 lina
delta gus 6 bruno
cobalt bruno 9 farah
fable bruno 12 bruno
amber alice 3 farah
| amber kim 1 eli
delta kim 14 kim
birch chen 3 chen
birch gus 5 dina
fable kim 10 bruno
delta kim 16 dina
cobalt jules 22 chen
indigo kim 30 hana
birch kim 22 eli
| delta kim 14 kim
birch chen 3 chen
birch gus 5 dina
fable kim 10 bruno
delta kim 16 dina
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022857 | qwen/qwen3.7-plus |
awkweave-0022858 | Print column 4 only for rows where column 1 is exactly paused. | $1 == "paused"{print $4} | closed 109 cobalt ivan
failed 12 grove chen
active 111 fable kim
failed 19 indigo chen
pending 42 amber jules
paused 102 ember kim
paused 69 indigo bruno
| kim
bruno
| failed 5 birch lina
pending 31 birch alice
closed 30 grove ivan
failed 7 delta lina
ready 83 juniper bruno
paused 47 grove bruno
ready 37 birch alice
ready 73 amber farah
| bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022858-p1 | Output only the fourth column for rows where the first column is exactly 'paused'. | $1 == "paused"{print $4} | closed 109 cobalt ivan
failed 12 grove chen
active 111 fable kim
failed 19 indigo chen
pending 42 amber jules
paused 102 ember kim
paused 69 indigo bruno
| kim
bruno
| failed 5 birch lina
pending 31 birch alice
closed 30 grove ivan
failed 7 delta lina
ready 83 juniper bruno
paused 47 grove bruno
ready 37 birch alice
ready 73 amber farah
| bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022858 | qwen/qwen3.7-plus |
awkweave-0022859 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 76 delta DEBUG
66 cobalt WARN
102 amber INFO
21 amber DEBUG
64 amber DEBUG
43 cobalt INFO
81 harbor INFO
| 66 cobalt WARN
| 106 juniper INFO
57 indigo ERROR
23 birch INFO
79 juniper ERROR
115 fable DEBUG
16 birch ERROR
103 birch ERROR
116 indigo WARN
47 delta ERROR
| 116 indigo WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022859-p1 | Print all fields from any line where the third field starts with the string 'WARN'. | $3 ~ /^WARN/ | 76 delta DEBUG
66 cobalt WARN
102 amber INFO
21 amber DEBUG
64 amber DEBUG
43 cobalt INFO
81 harbor INFO
| 66 cobalt WARN
| 106 juniper INFO
57 indigo ERROR
23 birch INFO
79 juniper ERROR
115 fable DEBUG
16 birch ERROR
103 birch ERROR
116 indigo WARN
47 delta ERROR
| 116 indigo WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022859 | qwen/qwen3.7-plus |
awkweave-0022860 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | ember 25 failed
indigo 42 closed
birch 72 pending
cobalt 6 ready
grove 16 active
indigo 64 failed
birch 50 pending
grove 999 active
| ember 25 failed
indigo 42 closed
birch 72 pending
cobalt 6 ready
indigo 64 failed
birch 50 pending
| indigo 37 active
fable 29 paused
fable 111 failed
birch 95 active
delta 4 active
indigo 87 active
grove 41 active
grove 999 active
| indigo 37 active
fable 29 paused
fable 111 failed
birch 95 active
delta 4 active
indigo 87 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022860-p1 | Output all lines that do not contain the exact string grove. | $0 !~ /grove/ | ember 25 failed
indigo 42 closed
birch 72 pending
cobalt 6 ready
grove 16 active
indigo 64 failed
birch 50 pending
grove 999 active
| ember 25 failed
indigo 42 closed
birch 72 pending
cobalt 6 ready
indigo 64 failed
birch 50 pending
| indigo 37 active
fable 29 paused
fable 111 failed
birch 95 active
delta 4 active
indigo 87 active
grove 41 active
grove 999 active
| indigo 37 active
fable 29 paused
fable 111 failed
birch 95 active
delta 4 active
indigo 87 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022860 | qwen/qwen3.7-plus |
awkweave-0022861 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | gus harbor 70
chen delta 59
lina cobalt 74
alice indigo 87
jules ember 23
kim birch 10
lina amber 47
gus delta 0
| chen delta 59
lina cobalt 74
| lina delta 102
hana amber 118
farah juniper 3
lina amber 59
bruno ember 97
kim birch 38
gus juniper 100
kim indigo 78
| hana amber 118
farah juniper 3
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022861-p1 | Display lines 2 to 3, inclusive of both ends. | NR >= 2 && NR <= 3 | gus harbor 70
chen delta 59
lina cobalt 74
alice indigo 87
jules ember 23
kim birch 10
lina amber 47
gus delta 0
| chen delta 59
lina cobalt 74
| lina delta 102
hana amber 118
farah juniper 3
lina amber 59
bruno ember 97
kim birch 38
gus juniper 100
kim indigo 78
| hana amber 118
farah juniper 3
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022861 | qwen/qwen3.7-plus |
awkweave-0022862 | Output only the first 3 records. | NR <= 3 | ivan 13 indigo
jules 31 ember
kim 96 fable
lina 18 fable
farah 85 cobalt
kim 9 delta
| ivan 13 indigo
jules 31 ember
kim 96 fable
| farah 80 fable
lina 110 amber
bruno 105 ember
eli 98 delta
ivan 95 birch
jules 120 amber
dina 63 indigo
hana 117 juniper
| farah 80 fable
lina 110 amber
bruno 105 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022862-p1 | Show only the initial 3 records. | NR <= 3 | ivan 13 indigo
jules 31 ember
kim 96 fable
lina 18 fable
farah 85 cobalt
kim 9 delta
| ivan 13 indigo
jules 31 ember
kim 96 fable
| farah 80 fable
lina 110 amber
bruno 105 ember
eli 98 delta
ivan 95 birch
jules 120 amber
dina 63 indigo
hana 117 juniper
| farah 80 fable
lina 110 amber
bruno 105 ember
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022862 | qwen/qwen3.7-plus |
awkweave-0022863 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 99 birch
farah 42 amber
ivan 24 amber
jules 48 harbor
ivan 118 juniper
lina 12 birch
lina 37 juniper
dina 115 grove
| farah 42 amber
ivan 24 amber
jules 48 harbor
ivan 118 juniper
lina 12 birch
lina 37 juniper
dina 115 grove
| ivan 105 delta
kim 47 fable
chen 8 harbor
alice 87 birch
gus 60 delta
eli 106 grove
alice 71 harbor
jules 47 delta
| kim 47 fable
chen 8 harbor
alice 87 birch
gus 60 delta
eli 106 grove
alice 71 harbor
jules 47 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022863-p1 | Omit the first line and output the rest exactly as they appear. | NR > 1 | gus 99 birch
farah 42 amber
ivan 24 amber
jules 48 harbor
ivan 118 juniper
lina 12 birch
lina 37 juniper
dina 115 grove
| farah 42 amber
ivan 24 amber
jules 48 harbor
ivan 118 juniper
lina 12 birch
lina 37 juniper
dina 115 grove
| ivan 105 delta
kim 47 fable
chen 8 harbor
alice 87 birch
gus 60 delta
eli 106 grove
alice 71 harbor
jules 47 delta
| kim 47 fable
chen 8 harbor
alice 87 birch
gus 60 delta
eli 106 grove
alice 71 harbor
jules 47 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022863 | qwen/qwen3.7-plus |
awkweave-0022864 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | dina paused 38
gus paused 63
gus paused 114
ivan ready 63
kim pending 73
jules ready 54
| 3
| gus active 37
hana ready 107
eli active 8
lina ready 58
farah paused 50
ivan pending 62
dina failed 68
eli pending 113
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022864-p1 | Tally the records where column 2 is paused; output 0 if the count is zero. | $2 == "paused"{n++}END{print n+0} | dina paused 38
gus paused 63
gus paused 114
ivan ready 63
kim pending 73
jules ready 54
| 3
| gus active 37
hana ready 107
eli active 8
lina ready 58
farah paused 50
ivan pending 62
dina failed 68
eli pending 113
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022864 | qwen/qwen3.7-plus |
awkweave-0022865 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 23 kim cobalt
9 alice birch
4 hana fable
1 bruno amber
30 chen harbor
4 alice juniper
| 71
| 20 dina grove
2 eli harbor
2 eli grove
25 lina delta
14 ivan fable
11 eli indigo
6 chen harbor
3 bruno ember
| 83
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022865-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 23 kim cobalt
9 alice birch
4 hana fable
1 bruno amber
30 chen harbor
4 alice juniper
| 71
| 20 dina grove
2 eli harbor
2 eli grove
25 lina delta
14 ivan fable
11 eli indigo
6 chen harbor
3 bruno ember
| 83
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022865 | qwen/qwen3.7-plus |
awkweave-0022866 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 11 lina
birch 23 gus
harbor 14 kim
delta 23 chen
indigo 25 hana
juniper 29 jules
ember 27 eli
| 21.71
| ember 30 dina
grove 16 bruno
grove 10 hana
harbor 9 farah
delta 12 chen
juniper 29 alice
| 17.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022866-p1 | Print the average of column 2, formatted to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 11 lina
birch 23 gus
harbor 14 kim
delta 23 chen
indigo 25 hana
juniper 29 jules
ember 27 eli
| 21.71
| ember 30 dina
grove 16 bruno
grove 10 hana
harbor 9 farah
delta 12 chen
juniper 29 alice
| 17.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022866 | qwen/qwen3.7-plus |
awkweave-0022867 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 ivan fable
13 eli amber
19 farah birch
2 chen birch
24 alice harbor
14 dina indigo
11 jules juniper
9 gus delta
15 chen grove
17 bruno cobalt
| 2
| 19 jules indigo
9 jules grove
17 dina fable
10 lina fable
16 lina juniper
19 farah harbor
| 9
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022867-p1 | Identify and output the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 ivan fable
13 eli amber
19 farah birch
2 chen birch
24 alice harbor
14 dina indigo
11 jules juniper
9 gus delta
15 chen grove
17 bruno cobalt
| 2
| 19 jules indigo
9 jules grove
17 dina fable
10 lina fable
16 lina juniper
19 farah harbor
| 9
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022867 | qwen/qwen3.7-plus |
awkweave-0022868 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber dina 18
delta kim 20
ember kim 13
ember chen 21
juniper kim 22
birch lina 20
grove alice 19
grove bruno 27
indigo bruno 8
| 27
| cobalt ivan 25
birch jules 3
ember gus 8
juniper ivan 30
grove ivan 19
grove bruno 15
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022868-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber dina 18
delta kim 20
ember kim 13
ember chen 21
juniper kim 22
birch lina 20
grove alice 19
grove bruno 27
indigo bruno 8
| 27
| cobalt ivan 25
birch jules 3
ember gus 8
juniper ivan 30
grove ivan 19
grove bruno 15
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022868 | qwen/qwen3.7-plus |
awkweave-0022869 | Count all input records and print the total. | END{print NR} | alice 115
ivan 44
alice 102
dina 63
farah 47
farah 3
eli 94
farah 71
lina 36
lina 39
| 10
| bruno 61
hana 50
ivan 20
jules 114
gus 85
lina 90
dina 7
eli 106
bruno 62
gus 12
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022869-p1 | Count the total number of input records and print the result. | END{print NR} | alice 115
ivan 44
alice 102
dina 63
farah 47
farah 3
eli 94
farah 71
lina 36
lina 39
| 10
| bruno 61
hana 50
ivan 20
jules 114
gus 85
lina 90
dina 7
eli 106
bruno 62
gus 12
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022869 | qwen/qwen3.7-plus |
awkweave-0022870 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen cobalt 88
hana delta 82
gus delta 68
gus indigo 99
gus cobalt 9
kim fable 5
gus cobalt 9
gus juniper 71
chen juniper 18
jules delta 34
ivan ember 42
| chen cobalt 88
hana delta 82
gus delta 68
gus indigo 99
gus cobalt 9
kim fable 5
gus juniper 71
chen juniper 18
jules delta 34
ivan ember 42
| eli juniper 111
hana juniper 74
jules juniper 52
ivan juniper 101
kim fable 67
dina juniper 59
lina juniper 45
eli grove 40
farah fable 2
lina juniper 45
bruno cobalt 111
| eli juniper 111
hana juniper 74
jules juniper 52
ivan juniper 101
kim fable 67
dina juniper 59
lina juniper 45
eli grove 40
farah fable 2
bruno cobalt 111
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022870-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | chen cobalt 88
hana delta 82
gus delta 68
gus indigo 99
gus cobalt 9
kim fable 5
gus cobalt 9
gus juniper 71
chen juniper 18
jules delta 34
ivan ember 42
| chen cobalt 88
hana delta 82
gus delta 68
gus indigo 99
gus cobalt 9
kim fable 5
gus juniper 71
chen juniper 18
jules delta 34
ivan ember 42
| eli juniper 111
hana juniper 74
jules juniper 52
ivan juniper 101
kim fable 67
dina juniper 59
lina juniper 45
eli grove 40
farah fable 2
lina juniper 45
bruno cobalt 111
| eli juniper 111
hana juniper 74
jules juniper 52
ivan juniper 101
kim fable 67
dina juniper 59
lina juniper 45
eli grove 40
farah fable 2
bruno cobalt 111
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022870 | qwen/qwen3.7-plus |
awkweave-0022871 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim grove 62
jules indigo 3
lina cobalt 94
chen harbor 88
kim harbor 109
bruno fable 120
chen birch 36
| kim grove 62
jules indigo 3
lina cobalt 94
chen harbor 88
bruno fable 120
chen birch 36
| dina grove 47
hana amber 18
bruno delta 109
jules harbor 56
bruno birch 20
dina ember 73
dina cobalt 64
alice birch 74
ivan amber 38
kim amber 90
| dina grove 47
hana amber 18
bruno delta 109
jules harbor 56
bruno birch 20
dina ember 73
dina cobalt 64
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022871-p1 | Retain only the first occurrence for each unique value in column 2, preserving the input sequence. | !seen[$2]++ | kim grove 62
jules indigo 3
lina cobalt 94
chen harbor 88
kim harbor 109
bruno fable 120
chen birch 36
| kim grove 62
jules indigo 3
lina cobalt 94
chen harbor 88
bruno fable 120
chen birch 36
| dina grove 47
hana amber 18
bruno delta 109
jules harbor 56
bruno birch 20
dina ember 73
dina cobalt 64
alice birch 74
ivan amber 38
kim amber 90
| dina grove 47
hana amber 18
bruno delta 109
jules harbor 56
bruno birch 20
dina ember 73
dina cobalt 64
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022871 | qwen/qwen3.7-plus |
awkweave-0022872 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 24 cobalt
chen 19 harbor
gus 7 ember
farah 29 amber
eli 5 fable
kim 12 birch
eli 18 fable
jules 25 harbor
chen 9 birch
lina 19 ember
| chen 24
chen 43
gus 50
farah 79
eli 84
kim 96
eli 114
jules 139
chen 148
lina 167
| ivan 14 birch
chen 17 juniper
dina 6 delta
gus 1 indigo
kim 11 amber
alice 18 ember
farah 27 delta
| ivan 14
chen 31
dina 37
gus 38
kim 49
alice 67
farah 94
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022872-p1 | Output the first column and the cumulative total of the second column for every record, using a space as the delimiter. | {s+=$2;print $1,s} | chen 24 cobalt
chen 19 harbor
gus 7 ember
farah 29 amber
eli 5 fable
kim 12 birch
eli 18 fable
jules 25 harbor
chen 9 birch
lina 19 ember
| chen 24
chen 43
gus 50
farah 79
eli 84
kim 96
eli 114
jules 139
chen 148
lina 167
| ivan 14 birch
chen 17 juniper
dina 6 delta
gus 1 indigo
kim 11 amber
alice 18 ember
farah 27 delta
| ivan 14
chen 31
dina 37
gus 38
kim 49
alice 67
farah 94
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022872 | qwen/qwen3.7-plus |
awkweave-0022873 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 11 14 grove
ivan 20 28 cobalt
hana 5 7 fable
chen 8 25 indigo
jules 27 20 harbor
chen 16 4 amber
chen 17 9 ember
| chen 25
ivan 48
hana 12
chen 33
jules 47
chen 20
chen 26
| kim 11 1 birch
dina 4 25 indigo
chen 23 19 birch
hana 3 19 ember
kim 20 14 indigo
dina 29 3 juniper
jules 18 16 juniper
alice 1 5 birch
hana 16 20 ember
chen 24 5 birch
| kim 12
dina 29
chen 42
hana 22
kim 34
dina 32
jules 34
alice 6
hana 36
chen 29
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022873-p1 | For each line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | chen 11 14 grove
ivan 20 28 cobalt
hana 5 7 fable
chen 8 25 indigo
jules 27 20 harbor
chen 16 4 amber
chen 17 9 ember
| chen 25
ivan 48
hana 12
chen 33
jules 47
chen 20
chen 26
| kim 11 1 birch
dina 4 25 indigo
chen 23 19 birch
hana 3 19 ember
kim 20 14 indigo
dina 29 3 juniper
jules 18 16 juniper
alice 1 5 birch
hana 16 20 ember
chen 24 5 birch
| kim 12
dina 29
chen 42
hana 22
kim 34
dina 32
jules 34
alice 6
hana 36
chen 29
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022873 | qwen/qwen3.7-plus |
awkweave-0022874 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | farah 2
dina 10
gus 4
lina 24
dina 26
dina 27
eli 27
dina 10
eli 14
| farah fail
dina fail
gus fail
lina pass
dina pass
dina pass
eli pass
dina fail
eli fail
| lina 9
bruno 27
gus 3
dina 10
kim 26
hana 27
lina 20
gus 26
eli 10
dina 19
| lina fail
bruno pass
gus fail
dina fail
kim pass
hana pass
lina fail
gus pass
eli fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022874-p1 | Show the value in column 1; if column 2 is 22 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=22?"pass":"fail")} | farah 2
dina 10
gus 4
lina 24
dina 26
dina 27
eli 27
dina 10
eli 14
| farah fail
dina fail
gus fail
lina pass
dina pass
dina pass
eli pass
dina fail
eli fail
| lina 9
bruno 27
gus 3
dina 10
kim 26
hana 27
lina 20
gus 26
eli 10
dina 19
| lina fail
bruno pass
gus fail
dina fail
kim pass
hana pass
lina fail
gus pass
eli fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022874 | qwen/qwen3.7-plus |
awkweave-0022875 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | gus juniper 4
kim harbor 50
eli cobalt 114
alice delta 66
kim delta 46
ivan harbor 87
bruno grove 9
| JUNIPER
HARBOR
COBALT
DELTA
DELTA
HARBOR
GROVE
| ivan birch 116
eli birch 120
kim harbor 20
dina juniper 72
gus harbor 6
farah ember 7
eli birch 80
| BIRCH
BIRCH
HARBOR
JUNIPER
HARBOR
EMBER
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022875-p1 | Transform the second column to uppercase letters and output only that modified column. | {print toupper($2)} | gus juniper 4
kim harbor 50
eli cobalt 114
alice delta 66
kim delta 46
ivan harbor 87
bruno grove 9
| JUNIPER
HARBOR
COBALT
DELTA
DELTA
HARBOR
GROVE
| ivan birch 116
eli birch 120
kim harbor 20
dina juniper 72
gus harbor 6
farah ember 7
eli birch 80
| BIRCH
BIRCH
HARBOR
JUNIPER
HARBOR
EMBER
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022875 | qwen/qwen3.7-plus |
awkweave-0022876 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | fable 0
cobalt 36
harbor 31
ember 41
cobalt 34
delta 95
birch 93
grove 78
juniper 5
harbor 48
| ble
bal
rbo
ber
bal
lta
rch
ove
nip
rbo
| birch 95
amber 118
grove 73
fable 105
birch 47
harbor 67
ember 51
fable 97
birch 40
juniper 106
| rch
ber
ove
ble
rch
rbo
ber
ble
rch
nip
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022876-p1 | Extract and print a substring of length 3 from column 1, beginning at the third character. | {print substr($1,3,3)} | fable 0
cobalt 36
harbor 31
ember 41
cobalt 34
delta 95
birch 93
grove 78
juniper 5
harbor 48
| ble
bal
rbo
ber
bal
lta
rch
ove
nip
rbo
| birch 95
amber 118
grove 73
fable 105
birch 47
harbor 67
ember 51
fable 97
birch 40
juniper 106
| rch
ber
ove
ble
rch
rbo
ber
ble
rch
nip
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022876 | qwen/qwen3.7-plus |
awkweave-0022877 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | cobalt_juniper 70
cobalt_birch 33
harbor_indigo 91
harbor_indigo 34
grove_harbor 53
birch_cobalt 108
ember_ember 15
| cobalt juniper
cobalt birch
harbor indigo
harbor indigo
grove harbor
birch cobalt
ember ember
| grove_fable 116
juniper_harbor 46
harbor_birch 68
cobalt_birch 15
harbor_indigo 60
juniper_fable 54
ember_grove 51
delta_harbor 105
birch_cobalt 24
| grove fable
juniper harbor
harbor birch
cobalt birch
harbor indigo
juniper fable
ember grove
delta harbor
birch cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022877-p1 | Substitute all underscores with spaces in column 1 and display the modified entries. | {gsub(/_/," ",$1);print $1} | cobalt_juniper 70
cobalt_birch 33
harbor_indigo 91
harbor_indigo 34
grove_harbor 53
birch_cobalt 108
ember_ember 15
| cobalt juniper
cobalt birch
harbor indigo
harbor indigo
grove harbor
birch cobalt
ember ember
| grove_fable 116
juniper_harbor 46
harbor_birch 68
cobalt_birch 15
harbor_indigo 60
juniper_fable 54
ember_grove 51
delta_harbor 105
birch_cobalt 24
| grove fable
juniper harbor
harbor birch
cobalt birch
harbor indigo
juniper fable
ember grove
delta harbor
birch cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022877 | qwen/qwen3.7-plus |
awkweave-0022878 | 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)} | jules amber 101 paused
bruno cobalt 19 paused
eli delta 89 paused
jules fable 5 closed
jules juniper 102 closed
lina ember 91 failed
| paused 101 amber jules
paused 19 cobalt bruno
paused 89 delta eli
closed 5 fable jules
closed 102 juniper jules
failed 91 ember lina
| gus amber 98 failed
lina fable 70 ready
alice juniper 11 failed
gus birch 13 ready
chen harbor 48 failed
alice cobalt 96 ready
hana delta 73 ready
hana grove 106 failed
gus grove 37 active
| failed 98 amber gus
ready 70 fable lina
failed 11 juniper alice
ready 13 birch gus
failed 48 harbor chen
ready 96 cobalt alice
ready 73 delta hana
failed 106 grove hana
active 37 grove gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022878-p1 | Reverse the sequence of all fields on each line and output the result. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 101 paused
bruno cobalt 19 paused
eli delta 89 paused
jules fable 5 closed
jules juniper 102 closed
lina ember 91 failed
| paused 101 amber jules
paused 19 cobalt bruno
paused 89 delta eli
closed 5 fable jules
closed 102 juniper jules
failed 91 ember lina
| gus amber 98 failed
lina fable 70 ready
alice juniper 11 failed
gus birch 13 ready
chen harbor 48 failed
alice cobalt 96 ready
hana delta 73 ready
hana grove 106 failed
gus grove 37 active
| failed 98 amber gus
ready 70 fable lina
failed 11 juniper alice
ready 13 birch gus
failed 48 harbor chen
ready 96 cobalt alice
ready 73 delta hana
failed 106 grove hana
active 37 grove gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022878 | qwen/qwen3.7-plus |
awkweave-0022879 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan fable 32 closed
chen cobalt 11 closed
bruno harbor 85 closed
kim ember 19 failed
chen harbor 113 active
eli amber 74 closed
bruno juniper 95 active
| 4
4
4
4
4
4
4
| bruno juniper 62 failed
alice harbor 38 paused
chen harbor 29 closed
gus fable 108 ready
gus harbor 78 active
bruno indigo 52 closed
farah birch 44 pending
hana delta 2 ready
lina amber 59 paused
dina grove 44 paused
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022879-p1 | Display the count of whitespace-delimited fields present in each line. | {print NF} | ivan fable 32 closed
chen cobalt 11 closed
bruno harbor 85 closed
kim ember 19 failed
chen harbor 113 active
eli amber 74 closed
bruno juniper 95 active
| 4
4
4
4
4
4
4
| bruno juniper 62 failed
alice harbor 38 paused
chen harbor 29 closed
gus fable 108 ready
gus harbor 78 active
bruno indigo 52 closed
farah birch 44 pending
hana delta 2 ready
lina amber 59 paused
dina grove 44 paused
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022879 | qwen/qwen3.7-plus |
awkweave-0022880 | 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]]} | jules gamma 67
alice gamma 85
jules delta 50
dina beta 72
ivan delta 4
bruno gamma 77
chen delta 50
eli gamma 103
dina delta 8
ivan beta 94
| gamma 4
delta 4
beta 2
| lina beta 22
kim alpha 115
kim alpha 20
eli alpha 20
kim beta 97
ivan delta 69
ivan beta 114
alice gamma 101
eli beta 112
eli delta 90
| beta 4
alpha 3
delta 2
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0022880-p1 | Tally the occurrences of each unique value in column 2 and print the value alongside its count, maintaining the 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]]} | jules gamma 67
alice gamma 85
jules delta 50
dina beta 72
ivan delta 4
bruno gamma 77
chen delta 50
eli gamma 103
dina delta 8
ivan beta 94
| gamma 4
delta 4
beta 2
| lina beta 22
kim alpha 115
kim alpha 20
eli alpha 20
kim beta 97
ivan delta 69
ivan beta 114
alice gamma 101
eli beta 112
eli delta 90
| beta 4
alpha 3
delta 2
gamma 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0022880 | qwen/qwen3.7-plus |
awkweave-0022881 | 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]]} | alice beta 1
ivan alpha 5
ivan gamma 26
ivan delta 26
gus beta 2
lina beta 5
eli delta 22
gus gamma 1
| beta 8
alpha 5
gamma 27
delta 48
| hana gamma 26
chen beta 24
gus beta 11
jules beta 4
kim beta 22
jules beta 27
bruno alpha 18
lina gamma 17
gus alpha 13
| gamma 43
beta 88
alpha 31
| sum_by_key | 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.