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-0007660-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance. | !seen[$0]++ | kim ember 60
hana ember 116
lina birch 69
hana harbor 56
kim juniper 24
farah birch 107
ivan cobalt 107
jules birch 56
lina birch 69
lina juniper 96
dina indigo 10
| kim ember 60
hana ember 116
lina birch 69
hana harbor 56
kim juniper 24
farah birch 107
ivan cobalt 107
jules birch 56
lina juniper 96
dina indigo 10
| dina grove 33
alice birch 108
bruno delta 21
lina grove 37
kim juniper 106
kim juniper 106
bruno juniper 32
alice harbor 79
| dina grove 33
alice birch 108
bruno delta 21
lina grove 37
kim juniper 106
bruno juniper 32
alice harbor 79
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007660 | qwen/qwen3.7-plus |
awkweave-0007661 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | alice juniper 14
eli amber 66
lina cobalt 67
jules ember 83
chen juniper 33
lina juniper 4
kim birch 19
| alice juniper 14
eli amber 66
lina cobalt 67
jules ember 83
chen juniper 33
lina juniper 4
kim birch 19
| hana ember 8
kim birch 96
gus indigo 68
eli ember 115
kim ember 105
gus cobalt 55
| hana ember 8
kim birch 96
gus indigo 68
eli ember 115
kim ember 105
gus cobalt 55
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007661-p1 | Retain only the initial line for every unique value found in column 3, preserving the input order. | !seen[$3]++ | alice juniper 14
eli amber 66
lina cobalt 67
jules ember 83
chen juniper 33
lina juniper 4
kim birch 19
| alice juniper 14
eli amber 66
lina cobalt 67
jules ember 83
chen juniper 33
lina juniper 4
kim birch 19
| hana ember 8
kim birch 96
gus indigo 68
eli ember 115
kim ember 105
gus cobalt 55
| hana ember 8
kim birch 96
gus indigo 68
eli ember 115
kim ember 105
gus cobalt 55
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007661 | qwen/qwen3.7-plus |
awkweave-0007662 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | kim 17 harbor
jules 10 fable
farah 14 indigo
kim 17 ember
dina 13 juniper
lina 6 ember
chen 20 harbor
kim 22 indigo
| kim 17
jules 27
farah 41
kim 58
dina 71
lina 77
chen 97
kim 119
| dina 13 delta
eli 11 grove
kim 17 juniper
gus 25 fable
hana 26 amber
lina 28 indigo
farah 18 grove
kim 29 juniper
lina 26 delta
bruno 7 ember
| dina 13
eli 24
kim 41
gus 66
hana 92
lina 120
farah 138
kim 167
lina 193
bruno 200
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007662-p1 | Output column 1 alongside the cumulative total of column 2, with values separated by a space. | {s+=$2;print $1,s} | kim 17 harbor
jules 10 fable
farah 14 indigo
kim 17 ember
dina 13 juniper
lina 6 ember
chen 20 harbor
kim 22 indigo
| kim 17
jules 27
farah 41
kim 58
dina 71
lina 77
chen 97
kim 119
| dina 13 delta
eli 11 grove
kim 17 juniper
gus 25 fable
hana 26 amber
lina 28 indigo
farah 18 grove
kim 29 juniper
lina 26 delta
bruno 7 ember
| dina 13
eli 24
kim 41
gus 66
hana 92
lina 120
farah 138
kim 167
lina 193
bruno 200
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007662 | qwen/qwen3.7-plus |
awkweave-0007663 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 2 3 birch
lina 14 1 ember
bruno 10 21 ember
chen 20 25 cobalt
gus 26 8 grove
jules 7 14 fable
gus 9 21 harbor
dina 5 28 delta
| farah 5
lina 15
bruno 31
chen 45
gus 34
jules 21
gus 30
dina 33
| dina 19 17 cobalt
ivan 9 21 juniper
jules 29 19 indigo
dina 17 1 indigo
dina 13 3 birch
bruno 6 20 cobalt
bruno 7 20 indigo
bruno 25 28 delta
| dina 36
ivan 30
jules 48
dina 18
dina 16
bruno 26
bruno 27
bruno 53
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007663-p1 | For each row, display field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 2 3 birch
lina 14 1 ember
bruno 10 21 ember
chen 20 25 cobalt
gus 26 8 grove
jules 7 14 fable
gus 9 21 harbor
dina 5 28 delta
| farah 5
lina 15
bruno 31
chen 45
gus 34
jules 21
gus 30
dina 33
| dina 19 17 cobalt
ivan 9 21 juniper
jules 29 19 indigo
dina 17 1 indigo
dina 13 3 birch
bruno 6 20 cobalt
bruno 7 20 indigo
bruno 25 28 delta
| dina 36
ivan 30
jules 48
dina 18
dina 16
bruno 26
bruno 27
bruno 53
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007663 | qwen/qwen3.7-plus |
awkweave-0007664 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | kim 4
eli 13
ivan 2
farah 3
farah 25
jules 24
jules 15
eli 1
| kim fail
eli fail
ivan fail
farah fail
farah pass
jules fail
jules fail
eli fail
| ivan 7
chen 19
kim 20
farah 18
farah 5
dina 24
ivan 9
bruno 2
lina 13
chen 6
| ivan fail
chen fail
kim fail
farah fail
farah fail
dina fail
ivan fail
bruno fail
lina fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007664-p1 | Output column 1 and 'pass' if column 2 is 25 or greater; otherwise, output 'fail'. | {print $1,($2>=25?"pass":"fail")} | kim 4
eli 13
ivan 2
farah 3
farah 25
jules 24
jules 15
eli 1
| kim fail
eli fail
ivan fail
farah fail
farah pass
jules fail
jules fail
eli fail
| ivan 7
chen 19
kim 20
farah 18
farah 5
dina 24
ivan 9
bruno 2
lina 13
chen 6
| ivan fail
chen fail
kim fail
farah fail
farah fail
dina fail
ivan fail
bruno fail
lina fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007664 | qwen/qwen3.7-plus |
awkweave-0007665 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | eli amber 10
lina birch 88
alice grove 10
eli delta 24
eli juniper 1
farah indigo 27
chen cobalt 118
| ELI
LINA
ALICE
ELI
ELI
FARAH
CHEN
| gus delta 70
gus fable 44
gus amber 120
gus ember 6
bruno birch 45
lina amber 73
ivan birch 106
farah harbor 36
| GUS
GUS
GUS
GUS
BRUNO
LINA
IVAN
FARAH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007665-p1 | Transform column 1 to uppercase and output only that column. | {print toupper($1)} | eli amber 10
lina birch 88
alice grove 10
eli delta 24
eli juniper 1
farah indigo 27
chen cobalt 118
| ELI
LINA
ALICE
ELI
ELI
FARAH
CHEN
| gus delta 70
gus fable 44
gus amber 120
gus ember 6
bruno birch 45
lina amber 73
ivan birch 106
farah harbor 36
| GUS
GUS
GUS
GUS
BRUNO
LINA
IVAN
FARAH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007665 | qwen/qwen3.7-plus |
awkweave-0007666 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | indigo 69
amber 67
cobalt 32
ember 79
cobalt 49
grove 93
harbor 116
harbor 110
| indi
ambe
coba
embe
coba
grov
harb
harb
| indigo 35
indigo 91
juniper 32
juniper 117
cobalt 114
harbor 79
ember 8
| indi
indi
juni
juni
coba
harb
embe
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007666-p1 | Extract and print the first 4 characters from column 1, starting at position 1. | {print substr($1,1,4)} | indigo 69
amber 67
cobalt 32
ember 79
cobalt 49
grove 93
harbor 116
harbor 110
| indi
ambe
coba
embe
coba
grov
harb
harb
| indigo 35
indigo 91
juniper 32
juniper 117
cobalt 114
harbor 79
ember 8
| indi
indi
juni
juni
coba
harb
embe
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007666 | qwen/qwen3.7-plus |
awkweave-0007667 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_fable 51
juniper_harbor 25
amber_cobalt 104
indigo_grove 100
grove_juniper 96
ember_fable 107
juniper_delta 80
ember_indigo 16
indigo_harbor 43
cobalt_cobalt 93
| ember fable
juniper harbor
amber cobalt
indigo grove
grove juniper
ember fable
juniper delta
ember indigo
indigo harbor
cobalt cobalt
| juniper_harbor 1
cobalt_fable 87
cobalt_fable 10
harbor_birch 29
indigo_indigo 64
birch_indigo 1
fable_delta 96
| juniper harbor
cobalt fable
cobalt fable
harbor birch
indigo indigo
birch indigo
fable delta
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007667-p1 | Substitute all underscores in column 1 with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | ember_fable 51
juniper_harbor 25
amber_cobalt 104
indigo_grove 100
grove_juniper 96
ember_fable 107
juniper_delta 80
ember_indigo 16
indigo_harbor 43
cobalt_cobalt 93
| ember fable
juniper harbor
amber cobalt
indigo grove
grove juniper
ember fable
juniper delta
ember indigo
indigo harbor
cobalt cobalt
| juniper_harbor 1
cobalt_fable 87
cobalt_fable 10
harbor_birch 29
indigo_indigo 64
birch_indigo 1
fable_delta 96
| juniper harbor
cobalt fable
cobalt fable
harbor birch
indigo indigo
birch indigo
fable delta
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007667 | qwen/qwen3.7-plus |
awkweave-0007668 | 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)} | lina cobalt 8 paused
gus ember 5 pending
kim harbor 1 active
jules fable 61 failed
bruno amber 114 pending
bruno delta 11 pending
dina ember 73 active
| paused 8 cobalt lina
pending 5 ember gus
active 1 harbor kim
failed 61 fable jules
pending 114 amber bruno
pending 11 delta bruno
active 73 ember dina
| kim grove 110 pending
kim cobalt 35 active
alice fable 21 pending
kim birch 89 closed
chen grove 70 closed
dina grove 59 ready
gus cobalt 99 ready
kim delta 27 active
bruno cobalt 8 closed
| pending 110 grove kim
active 35 cobalt kim
pending 21 fable alice
closed 89 birch kim
closed 70 grove chen
ready 59 grove dina
ready 99 cobalt gus
active 27 delta kim
closed 8 cobalt bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007668-p1 | Reverse the sequence of fields on each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | lina cobalt 8 paused
gus ember 5 pending
kim harbor 1 active
jules fable 61 failed
bruno amber 114 pending
bruno delta 11 pending
dina ember 73 active
| paused 8 cobalt lina
pending 5 ember gus
active 1 harbor kim
failed 61 fable jules
pending 114 amber bruno
pending 11 delta bruno
active 73 ember dina
| kim grove 110 pending
kim cobalt 35 active
alice fable 21 pending
kim birch 89 closed
chen grove 70 closed
dina grove 59 ready
gus cobalt 99 ready
kim delta 27 active
bruno cobalt 8 closed
| pending 110 grove kim
active 35 cobalt kim
pending 21 fable alice
closed 89 birch kim
closed 70 grove chen
ready 59 grove dina
ready 99 cobalt gus
active 27 delta kim
closed 8 cobalt bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007668 | qwen/qwen3.7-plus |
awkweave-0007669 | Print the number of whitespace-separated fields on each line. | {print NF} | dina cobalt 69 active
chen fable 71 ready
hana cobalt 97 paused
chen fable 66 active
eli grove 81 ready
ivan amber 44 active
gus birch 63 closed
| 4
4
4
4
4
4
4
| kim amber 118 paused
hana ember 76 failed
alice cobalt 26 active
hana fable 37 pending
eli harbor 107 active
hana grove 6 active
alice amber 87 pending
bruno cobalt 82 closed
farah fable 46 closed
chen fable 55 closed
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007669-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | dina cobalt 69 active
chen fable 71 ready
hana cobalt 97 paused
chen fable 66 active
eli grove 81 ready
ivan amber 44 active
gus birch 63 closed
| 4
4
4
4
4
4
4
| kim amber 118 paused
hana ember 76 failed
alice cobalt 26 active
hana fable 37 pending
eli harbor 107 active
hana grove 6 active
alice amber 87 pending
bruno cobalt 82 closed
farah fable 46 closed
chen fable 55 closed
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007669 | qwen/qwen3.7-plus |
awkweave-0007670 | 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]]} | bruno gamma 119
dina gamma 45
dina gamma 75
gus alpha 37
hana delta 70
jules beta 44
lina alpha 59
chen delta 4
| gamma 3
alpha 2
delta 2
beta 1
| kim alpha 12
eli delta 69
alice alpha 110
hana delta 41
lina delta 87
farah beta 84
| alpha 2
delta 3
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007670-p1 | Tally records for each distinct value in column 2, printing the value and its count in 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]]} | bruno gamma 119
dina gamma 45
dina gamma 75
gus alpha 37
hana delta 70
jules beta 44
lina alpha 59
chen delta 4
| gamma 3
alpha 2
delta 2
beta 1
| kim alpha 12
eli delta 69
alice alpha 110
hana delta 41
lina delta 87
farah beta 84
| alpha 2
delta 3
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007670 | qwen/qwen3.7-plus |
awkweave-0007671 | 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]]} | kim beta 21
chen beta 20
gus beta 14
bruno delta 29
farah alpha 5
bruno beta 29
farah gamma 6
| beta 84
delta 29
alpha 5
gamma 6
| eli gamma 23
eli delta 20
bruno gamma 27
chen beta 18
dina beta 17
farah beta 14
bruno beta 22
gus gamma 10
kim alpha 11
gus beta 23
| gamma 60
delta 20
beta 94
alpha 11
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007671-p1 | Calculate the sum of column 3 for each category in column 2, displaying groups in the order they 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]]} | kim beta 21
chen beta 20
gus beta 14
bruno delta 29
farah alpha 5
bruno beta 29
farah gamma 6
| beta 84
delta 29
alpha 5
gamma 6
| eli gamma 23
eli delta 20
bruno gamma 27
chen beta 18
dina beta 17
farah beta 14
bruno beta 22
gus gamma 10
kim alpha 11
gus beta 23
| gamma 60
delta 20
beta 94
alpha 11
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007671 | qwen/qwen3.7-plus |
awkweave-0007672 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma fable 83
gamma ember 1
delta juniper 99
alpha harbor 3
delta grove 2
gamma indigo 84
| gamma 3
delta 2
| alpha ember 95
delta indigo 32
beta juniper 35
delta grove 58
gamma juniper 99
beta harbor 29
alpha cobalt 46
| alpha 2
delta 2
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007672-p1 | List each unique value from the first column along with its frequency, ordered by when it first appears. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma fable 83
gamma ember 1
delta juniper 99
alpha harbor 3
delta grove 2
gamma indigo 84
| gamma 3
delta 2
| alpha ember 95
delta indigo 32
beta juniper 35
delta grove 58
gamma juniper 99
beta harbor 29
alpha cobalt 46
| alpha 2
delta 2
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007672 | qwen/qwen3.7-plus |
awkweave-0007673 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | display_name state note record_id
r001 chen 10 active
r002 jules 2 pending
r003 alice 10 paused
r004 alice 25 failed
r005 eli 9 active
r006 chen 24 failed
r007 bruno 22 closed
r008 dina 16 active
r009 ivan 9 paused
r010 alice 27 ready
| 10
2
10
25
9
24
22
16
9
27
| display_name state note record_id
r001 ivan 25 active
r002 eli 11 active
r003 lina 30 pending
r004 ivan 29 ready
r005 hana 28 paused
r006 jules 11 active
| 25
11
30
29
28
11
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007673-p1 | Skip the header row and output the contents of the note column for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | display_name state note record_id
r001 chen 10 active
r002 jules 2 pending
r003 alice 10 paused
r004 alice 25 failed
r005 eli 9 active
r006 chen 24 failed
r007 bruno 22 closed
r008 dina 16 active
r009 ivan 9 paused
r010 alice 27 ready
| 10
2
10
25
9
24
22
16
9
27
| display_name state note record_id
r001 ivan 25 active
r002 eli 11 active
r003 lina 30 pending
r004 ivan 29 ready
r005 hana 28 paused
r006 jules 11 active
| 25
11
30
29
28
11
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007673 | qwen/qwen3.7-plus |
awkweave-0007674 | The first row is a header. Print display_name for data rows whose score is greater than 18. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]} | record_id display_name score state
r001 kim 23 paused
r002 lina 26 ready
r003 jules 11 paused
r004 ivan 24 failed
r005 lina 18 paused
r006 bruno 24 ready
| kim
lina
ivan
bruno
| record_id display_name score state
r001 dina 27 active
r002 ivan 2 paused
r003 chen 13 pending
r004 dina 17 closed
r005 farah 4 pending
r006 farah 7 active
r007 bruno 5 ready
r008 eli 18 active
r009 jules 6 closed
| dina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007674-p1 | Ignoring the header, display the display_name field for any record where the score is strictly greater than 18. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]} | record_id display_name score state
r001 kim 23 paused
r002 lina 26 ready
r003 jules 11 paused
r004 ivan 24 failed
r005 lina 18 paused
r006 bruno 24 ready
| kim
lina
ivan
bruno
| record_id display_name score state
r001 dina 27 active
r002 ivan 2 paused
r003 chen 13 pending
r004 dina 17 closed
r005 farah 4 pending
r006 farah 7 active
r007 bruno 5 ready
r008 eli 18 active
r009 jules 6 closed
| dina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007674 | qwen/qwen3.7-plus |
awkweave-0007675 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | kim 3 paused
alice 21 closed
ivan 28 active
bruno 3 ready
bruno 14 pending
bruno 7 closed
eli 27 ready
jules 13 active
farah 25 ready
alice 17 closed
| kim
alice
ivan
bruno
bruno
bruno
eli
jules
farah
alice
| lina 26 ready
eli 28 failed
farah 21 ready
kim 18 closed
lina 24 paused
jules 24 failed
kim 13 closed
bruno 3 active
gus 14 closed
jules 26 paused
| lina
eli
farah
kim
lina
jules
kim
bruno
gus
jules
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007675-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | kim 3 paused
alice 21 closed
ivan 28 active
bruno 3 ready
bruno 14 pending
bruno 7 closed
eli 27 ready
jules 13 active
farah 25 ready
alice 17 closed
| kim
alice
ivan
bruno
bruno
bruno
eli
jules
farah
alice
| lina 26 ready
eli 28 failed
farah 21 ready
kim 18 closed
lina 24 paused
jules 24 failed
kim 13 closed
bruno 3 active
gus 14 closed
jules 26 paused
| lina
eli
farah
kim
lina
jules
kim
bruno
gus
jules
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0007675 | qwen/qwen3.7-plus |
awkweave-0007676 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | farah,16,pending
eli,20,pending
hana,20,failed
hana,30,closed
jules,8,paused
alice,14,closed
bruno,27,closed
alice,2,pending
| farah
eli
hana
hana
alice
bruno
| hana,14,pending
gus,12,pending
kim,11,paused
eli,17,paused
ivan,7,paused
lina,1,ready
jules,24,failed
dina,27,paused
bruno,18,paused
| hana
gus
kim
eli
jules
dina
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007676-p1 | For comma-separated input without quoted fields, output the first column only if the second column is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | farah,16,pending
eli,20,pending
hana,20,failed
hana,30,closed
jules,8,paused
alice,14,closed
bruno,27,closed
alice,2,pending
| farah
eli
hana
hana
alice
bruno
| hana,14,pending
gus,12,pending
kim,11,paused
eli,17,paused
ivan,7,paused
lina,1,ready
jules,24,failed
dina,27,paused
bruno,18,paused
| hana
gus
kim
eli
jules
dina
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007676 | qwen/qwen3.7-plus |
awkweave-0007677 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | dina birch 88
lina fable 0
gus cobalt 91
dina birch 1
jules grove 53
lina delta 15
chen delta 50
hana amber 44
bruno ember 20
lina ember 36
| dina birch 88
lina fable 0
gus cobalt 91
dina birch 1
jules grove 53
lina delta 15
chen delta 50
hana amber 44
bruno ember 20
lina ember 36
| eli delta 76
kim birch 50
alice ember 45
hana delta 79
kim grove 24
alice juniper 82
| eli delta 76
kim birch 50
alice ember 45
hana delta 79
kim grove 24
alice juniper 82
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007677-p1 | Remove leading and trailing spaces, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | dina birch 88
lina fable 0
gus cobalt 91
dina birch 1
jules grove 53
lina delta 15
chen delta 50
hana amber 44
bruno ember 20
lina ember 36
| dina birch 88
lina fable 0
gus cobalt 91
dina birch 1
jules grove 53
lina delta 15
chen delta 50
hana amber 44
bruno ember 20
lina ember 36
| eli delta 76
kim birch 50
alice ember 45
hana delta 79
kim grove 24
alice juniper 82
| eli delta 76
kim birch 50
alice ember 45
hana delta 79
kim grove 24
alice juniper 82
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007677 | qwen/qwen3.7-plus |
awkweave-0007678 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana juniper 52 closed
chen fable 43 ready
chen grove 73 failed
gus indigo 42 paused
eli amber 57 pending
dina harbor 30 closed
jules cobalt 71 failed
kim juniper 35 pending
| hana juniper 52 closed
| kim birch 18 active
bruno amber 27 failed
jules birch 58 paused
hana birch 88 pending
bruno fable 25 closed
bruno indigo 45 paused
hana fable 120 active
| bruno indigo 45 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007678-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | hana juniper 52 closed
chen fable 43 ready
chen grove 73 failed
gus indigo 42 paused
eli amber 57 pending
dina harbor 30 closed
jules cobalt 71 failed
kim juniper 35 pending
| hana juniper 52 closed
| kim birch 18 active
bruno amber 27 failed
jules birch 58 paused
hana birch 88 pending
bruno fable 25 closed
bruno indigo 45 paused
hana fable 120 active
| bruno indigo 45 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007678 | qwen/qwen3.7-plus |
awkweave-0007679 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | bruno 83
jules 104
chen 87
dina 9
chen 82
dina 61
| chen 87
dina 61
| eli 102
hana 30
dina 41
kim 9
farah 119
bruno 66
jules 13
| dina 41
bruno 66
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007679-p1 | Print lines 3, 6, 9, and so on, effectively selecting every third line starting from the third. | NR%3==0 | bruno 83
jules 104
chen 87
dina 9
chen 82
dina 61
| chen 87
dina 61
| eli 102
hana 30
dina 41
kim 9
farah 119
bruno 66
jules 13
| dina 41
bruno 66
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007679 | qwen/qwen3.7-plus |
awkweave-0007680 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 45
gamma indigo 39
beta ember 84
alpha harbor 84
beta grove 70
gamma birch 90
beta fable 70
gamma delta 83
alpha fable 58
beta grove 53
| 4
| alpha harbor 77
beta delta 5
beta cobalt 120
alpha amber 89
gamma amber 4
gamma delta 97
beta cobalt 35
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007680-p1 | Calculate and print the total number of unique entries found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 45
gamma indigo 39
beta ember 84
alpha harbor 84
beta grove 70
gamma birch 90
beta fable 70
gamma delta 83
alpha fable 58
beta grove 53
| 4
| alpha harbor 77
beta delta 5
beta cobalt 120
alpha amber 89
gamma amber 4
gamma delta 97
beta cobalt 35
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007680 | qwen/qwen3.7-plus |
awkweave-0007681 | 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 28 0
farah 27 20
kim 22 24
chen 3 22
chen 8 30
ivan 6 24
eli 18 3
jules 14 11
dina 15 2
chen 4 14
| farah 1.35
kim 0.92
chen 0.14
chen 0.27
ivan 0.25
eli 6.00
jules 1.27
dina 7.50
chen 0.29
| lina 29 0
jules 30 11
jules 19 28
gus 4 15
alice 16 29
gus 11 26
farah 14 28
| jules 2.73
jules 0.68
gus 0.27
alice 0.55
gus 0.42
farah 0.50
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007681-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | hana 28 0
farah 27 20
kim 22 24
chen 3 22
chen 8 30
ivan 6 24
eli 18 3
jules 14 11
dina 15 2
chen 4 14
| farah 1.35
kim 0.92
chen 0.14
chen 0.27
ivan 0.25
eli 6.00
jules 1.27
dina 7.50
chen 0.29
| lina 29 0
jules 30 11
jules 19 28
gus 4 15
alice 16 29
gus 11 26
farah 14 28
| jules 2.73
jules 0.68
gus 0.27
alice 0.55
gus 0.42
farah 0.50
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007681 | qwen/qwen3.7-plus |
awkweave-0007682 | 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]} | bruno indigo 20
bruno indigo 3
kim birch 25
lina grove 1
gus harbor 6
chen cobalt 23
kim birch 10
kim ember 10
| kim birch 25
chen cobalt 23
bruno indigo 20
| chen grove 27
jules birch 14
bruno amber 17
jules birch 23
chen juniper 6
bruno cobalt 4
| chen grove 27
jules birch 23
bruno amber 17
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007682-p1 | Output the top three records based on the numeric value in column 3, sorted in descending order; maintain original 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]} | bruno indigo 20
bruno indigo 3
kim birch 25
lina grove 1
gus harbor 6
chen cobalt 23
kim birch 10
kim ember 10
| kim birch 25
chen cobalt 23
bruno indigo 20
| chen grove 27
jules birch 14
bruno amber 17
jules birch 23
chen juniper 6
bruno cobalt 4
| chen grove 27
jules birch 23
bruno amber 17
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007682 | qwen/qwen3.7-plus |
awkweave-0007683 | Select the 2nd and 1st fields in that order. | {print $2, $1} | active 92 bruno kim
pending 20 jules gus
failed 24 lina bruno
active 47 farah jules
failed 61 chen hana
active 42 ivan jules
active 0 gus lina
failed 1 chen alice
| 92 active
20 pending
24 failed
47 active
61 failed
42 active
0 active
1 failed
| ready 61 chen chen
failed 73 ivan ivan
active 77 ivan hana
failed 0 jules eli
paused 54 dina hana
ready 103 farah jules
| 61 ready
73 failed
77 active
0 failed
54 paused
103 ready
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007683-p1 | Rearrange the fields to output the second field followed by the first field. | {print $2, $1} | active 92 bruno kim
pending 20 jules gus
failed 24 lina bruno
active 47 farah jules
failed 61 chen hana
active 42 ivan jules
active 0 gus lina
failed 1 chen alice
| 92 active
20 pending
24 failed
47 active
61 failed
42 active
0 active
1 failed
| ready 61 chen chen
failed 73 ivan ivan
active 77 ivan hana
failed 0 jules eli
paused 54 dina hana
ready 103 farah jules
| 61 ready
73 failed
77 active
0 failed
54 paused
103 ready
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007683 | qwen/qwen3.7-plus |
awkweave-0007684 | Print the last field of every input line. | {print $NF} | indigo 11 farah farah
birch 4 kim alice
delta 1 chen hana
cobalt 58 farah hana
ember 62 hana lina
cobalt 60 gus jules
| farah
alice
hana
hana
lina
jules
| ember 57 gus bruno
ember 82 jules hana
amber 115 dina ivan
ember 89 bruno jules
grove 18 bruno lina
delta 63 bruno kim
| bruno
hana
ivan
jules
lina
kim
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007684-p1 | Output the final field from each line of input. | {print $NF} | indigo 11 farah farah
birch 4 kim alice
delta 1 chen hana
cobalt 58 farah hana
ember 62 hana lina
cobalt 60 gus jules
| farah
alice
hana
hana
lina
jules
| ember 57 gus bruno
ember 82 jules hana
amber 115 dina ivan
ember 89 bruno jules
grove 18 bruno lina
delta 63 bruno kim
| bruno
hana
ivan
jules
lina
kim
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007684 | qwen/qwen3.7-plus |
awkweave-0007685 | Print the complete records where column 2 is less than 26. | $2 < 26 | chen 59 cobalt
eli 48 juniper
lina 95 birch
ivan 0 birch
gus 2 ember
jules 43 amber
eli 61 amber
gus 63 ember
| ivan 0 birch
gus 2 ember
| hana 23 juniper
kim 40 indigo
hana 119 delta
gus 51 amber
farah 52 juniper
gus 84 birch
dina 49 juniper
lina 50 birch
| hana 23 juniper
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007685-p1 | Display full records where the second column has a value under 26. | $2 < 26 | chen 59 cobalt
eli 48 juniper
lina 95 birch
ivan 0 birch
gus 2 ember
jules 43 amber
eli 61 amber
gus 63 ember
| ivan 0 birch
gus 2 ember
| hana 23 juniper
kim 40 indigo
hana 119 delta
gus 51 amber
farah 52 juniper
gus 84 birch
dina 49 juniper
lina 50 birch
| hana 23 juniper
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007685 | qwen/qwen3.7-plus |
awkweave-0007686 | Show whole lines whose 1st field is between 10 and 21, inclusive. | $1 >= 10 && $1 <= 21 | 24 chen active paused
4 farah closed ready
25 kim failed closed
18 alice closed ready
19 chen ready pending
20 dina pending paused
| 18 alice closed ready
19 chen ready pending
20 dina pending paused
| 30 farah pending ready
5 chen paused pending
21 eli failed active
16 bruno closed ready
17 hana closed paused
27 hana closed ready
3 eli active active
1 lina pending pending
25 alice failed active
| 21 eli failed active
16 bruno closed ready
17 hana closed paused
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007686-p1 | Show entire lines where the first field falls within the range 10 to 21, inclusive. | $1 >= 10 && $1 <= 21 | 24 chen active paused
4 farah closed ready
25 kim failed closed
18 alice closed ready
19 chen ready pending
20 dina pending paused
| 18 alice closed ready
19 chen ready pending
20 dina pending paused
| 30 farah pending ready
5 chen paused pending
21 eli failed active
16 bruno closed ready
17 hana closed paused
27 hana closed ready
3 eli active active
1 lina pending pending
25 alice failed active
| 21 eli failed active
16 bruno closed ready
17 hana closed paused
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007686 | qwen/qwen3.7-plus |
awkweave-0007687 | Print column 2 only for rows where column 3 is exactly pending. | $3 == "pending"{print $2} | 97 ivan paused indigo
117 eli ready birch
38 alice active indigo
104 chen active ember
68 alice failed ember
5 eli ready harbor
3 chen pending amber
16 lina pending delta
28 alice active juniper
36 jules paused cobalt
| chen
lina
| 107 bruno failed ember
63 farah active harbor
61 lina ready juniper
89 farah active juniper
6 farah pending birch
83 eli pending indigo
76 alice active amber
105 chen failed amber
101 ivan pending harbor
58 bruno active ember
| farah
eli
ivan
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007687-p1 | Output only the second column for rows where the third column is exactly 'pending'. | $3 == "pending"{print $2} | 97 ivan paused indigo
117 eli ready birch
38 alice active indigo
104 chen active ember
68 alice failed ember
5 eli ready harbor
3 chen pending amber
16 lina pending delta
28 alice active juniper
36 jules paused cobalt
| chen
lina
| 107 bruno failed ember
63 farah active harbor
61 lina ready juniper
89 farah active juniper
6 farah pending birch
83 eli pending indigo
76 alice active amber
105 chen failed amber
101 ivan pending harbor
58 bruno active ember
| farah
eli
ivan
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007687 | qwen/qwen3.7-plus |
awkweave-0007688 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | juniper DEBUG 101
harbor ERROR 46
ember DEBUG 111
fable WARN 120
cobalt WARN 97
cobalt WARN 68
cobalt INFO 30
fable WARN 1
cobalt INFO 70
| fable WARN 120
cobalt WARN 97
cobalt WARN 68
fable WARN 1
| ember DEBUG 93
ember ERROR 67
birch INFO 92
indigo INFO 71
cobalt INFO 11
indigo INFO 65
birch INFO 30
birch ERROR 57
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0007688-p1 | Print all fields from lines where the second field starts with 'WARN'. | $2 ~ /^WARN/ | juniper DEBUG 101
harbor ERROR 46
ember DEBUG 111
fable WARN 120
cobalt WARN 97
cobalt WARN 68
cobalt INFO 30
fable WARN 1
cobalt INFO 70
| fable WARN 120
cobalt WARN 97
cobalt WARN 68
fable WARN 1
| ember DEBUG 93
ember ERROR 67
birch INFO 92
indigo INFO 71
cobalt INFO 11
indigo INFO 65
birch INFO 30
birch ERROR 57
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007688 | qwen/qwen3.7-plus | |
awkweave-0007689 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | indigo 54 failed
amber 26 ready
fable 20 failed
juniper 101 active
harbor 8 ready
ember 111 closed
harbor 3 active
fable 28 pending
amber 999 active
| indigo 54 failed
fable 20 failed
juniper 101 active
harbor 8 ready
ember 111 closed
harbor 3 active
fable 28 pending
| delta 88 paused
grove 29 failed
indigo 62 ready
juniper 21 closed
grove 80 paused
delta 101 closed
amber 83 ready
juniper 33 active
birch 98 pending
amber 8 active
amber 999 active
| delta 88 paused
grove 29 failed
indigo 62 ready
juniper 21 closed
grove 80 paused
delta 101 closed
juniper 33 active
birch 98 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007689-p1 | Output every line that does not contain the exact string 'amber'. | $0 !~ /amber/ | indigo 54 failed
amber 26 ready
fable 20 failed
juniper 101 active
harbor 8 ready
ember 111 closed
harbor 3 active
fable 28 pending
amber 999 active
| indigo 54 failed
fable 20 failed
juniper 101 active
harbor 8 ready
ember 111 closed
harbor 3 active
fable 28 pending
| delta 88 paused
grove 29 failed
indigo 62 ready
juniper 21 closed
grove 80 paused
delta 101 closed
amber 83 ready
juniper 33 active
birch 98 pending
amber 8 active
amber 999 active
| delta 88 paused
grove 29 failed
indigo 62 ready
juniper 21 closed
grove 80 paused
delta 101 closed
juniper 33 active
birch 98 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007689 | qwen/qwen3.7-plus |
awkweave-0007700 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | alice birch 54
farah birch 26
gus delta 94
gus fable 112
jules delta 98
gus indigo 13
| alice birch 54
gus delta 94
gus fable 112
gus indigo 13
| jules amber 45
eli grove 54
bruno fable 65
lina cobalt 75
chen indigo 106
jules juniper 89
lina fable 27
kim juniper 35
farah ember 46
| jules amber 45
eli grove 54
bruno fable 65
lina cobalt 75
chen indigo 106
jules juniper 89
farah ember 46
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007700-p1 | Retain only the first occurrence for each unique value in the second column, maintaining the original input order. | !seen[$2]++ | alice birch 54
farah birch 26
gus delta 94
gus fable 112
jules delta 98
gus indigo 13
| alice birch 54
gus delta 94
gus fable 112
gus indigo 13
| jules amber 45
eli grove 54
bruno fable 65
lina cobalt 75
chen indigo 106
jules juniper 89
lina fable 27
kim juniper 35
farah ember 46
| jules amber 45
eli grove 54
bruno fable 65
lina cobalt 75
chen indigo 106
jules juniper 89
farah ember 46
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007700 | qwen/qwen3.7-plus |
awkweave-0007701 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 10 ember
bruno 27 fable
kim 4 birch
bruno 29 indigo
jules 14 birch
hana 10 indigo
gus 28 amber
alice 2 birch
farah 7 indigo
| bruno 10
bruno 37
kim 41
bruno 70
jules 84
hana 94
gus 122
alice 124
farah 131
| hana 19 delta
farah 14 grove
dina 30 fable
chen 20 indigo
hana 6 amber
bruno 29 amber
| hana 19
farah 33
dina 63
chen 83
hana 89
bruno 118
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007701-p1 | For each record, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | bruno 10 ember
bruno 27 fable
kim 4 birch
bruno 29 indigo
jules 14 birch
hana 10 indigo
gus 28 amber
alice 2 birch
farah 7 indigo
| bruno 10
bruno 37
kim 41
bruno 70
jules 84
hana 94
gus 122
alice 124
farah 131
| hana 19 delta
farah 14 grove
dina 30 fable
chen 20 indigo
hana 6 amber
bruno 29 amber
| hana 19
farah 33
dina 63
chen 83
hana 89
bruno 118
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007701 | qwen/qwen3.7-plus |
awkweave-0007702 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 26 13 cobalt
bruno 8 20 grove
bruno 22 9 grove
farah 13 5 amber
farah 20 28 harbor
gus 12 26 cobalt
| gus 39
bruno 28
bruno 31
farah 18
farah 48
gus 38
| ivan 16 21 harbor
kim 27 5 grove
kim 20 9 amber
kim 20 18 juniper
chen 1 6 amber
lina 4 22 ember
ivan 11 7 delta
farah 17 13 cobalt
gus 6 5 birch
| ivan 37
kim 32
kim 29
kim 38
chen 7
lina 26
ivan 18
farah 30
gus 11
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007702-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 26 13 cobalt
bruno 8 20 grove
bruno 22 9 grove
farah 13 5 amber
farah 20 28 harbor
gus 12 26 cobalt
| gus 39
bruno 28
bruno 31
farah 18
farah 48
gus 38
| ivan 16 21 harbor
kim 27 5 grove
kim 20 9 amber
kim 20 18 juniper
chen 1 6 amber
lina 4 22 ember
ivan 11 7 delta
farah 17 13 cobalt
gus 6 5 birch
| ivan 37
kim 32
kim 29
kim 38
chen 7
lina 26
ivan 18
farah 30
gus 11
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007702 | qwen/qwen3.7-plus |
awkweave-0007703 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | jules 24
chen 13
ivan 22
bruno 11
dina 25
chen 6
dina 15
hana 28
| jules fail
chen fail
ivan fail
bruno fail
dina fail
chen fail
dina fail
hana pass
| kim 18
jules 8
dina 15
ivan 17
alice 24
eli 26
bruno 9
kim 28
| kim fail
jules fail
dina fail
ivan fail
alice fail
eli pass
bruno fail
kim pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007703-p1 | Output the first column and 'pass' if the second column is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | jules 24
chen 13
ivan 22
bruno 11
dina 25
chen 6
dina 15
hana 28
| jules fail
chen fail
ivan fail
bruno fail
dina fail
chen fail
dina fail
hana pass
| kim 18
jules 8
dina 15
ivan 17
alice 24
eli 26
bruno 9
kim 28
| kim fail
jules fail
dina fail
ivan fail
alice fail
eli pass
bruno fail
kim pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007703 | qwen/qwen3.7-plus |
awkweave-0007704 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | hana cobalt 77
chen fable 66
dina harbor 40
chen juniper 64
alice harbor 12
kim birch 36
bruno amber 96
| COBALT
FABLE
HARBOR
JUNIPER
HARBOR
BIRCH
AMBER
| alice grove 80
gus amber 33
jules delta 20
dina indigo 21
gus birch 51
alice grove 109
hana juniper 76
dina cobalt 30
bruno juniper 92
bruno juniper 4
| GROVE
AMBER
DELTA
INDIGO
BIRCH
GROVE
JUNIPER
COBALT
JUNIPER
JUNIPER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007704-p1 | Transform the second column to uppercase and print only that column. | {print toupper($2)} | hana cobalt 77
chen fable 66
dina harbor 40
chen juniper 64
alice harbor 12
kim birch 36
bruno amber 96
| COBALT
FABLE
HARBOR
JUNIPER
HARBOR
BIRCH
AMBER
| alice grove 80
gus amber 33
jules delta 20
dina indigo 21
gus birch 51
alice grove 109
hana juniper 76
dina cobalt 30
bruno juniper 92
bruno juniper 4
| GROVE
AMBER
DELTA
INDIGO
BIRCH
GROVE
JUNIPER
COBALT
JUNIPER
JUNIPER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007704 | qwen/qwen3.7-plus |
awkweave-0007705 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | juniper 85
delta 42
ember 68
fable 45
fable 109
indigo 58
amber 94
| unip
elta
mber
able
able
ndig
mber
| amber 120
cobalt 51
ember 118
indigo 116
birch 66
harbor 46
grove 42
indigo 38
| mber
obal
mber
ndig
irch
arbo
rove
ndig
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007705-p1 | Extract and print 4 characters from the first column, starting at the second character. | {print substr($1,2,4)} | juniper 85
delta 42
ember 68
fable 45
fable 109
indigo 58
amber 94
| unip
elta
mber
able
able
ndig
mber
| amber 120
cobalt 51
ember 118
indigo 116
birch 66
harbor 46
grove 42
indigo 38
| mber
obal
mber
ndig
irch
arbo
rove
ndig
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007705 | qwen/qwen3.7-plus |
awkweave-0007706 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_indigo 80
ember_cobalt 59
juniper_juniper 15
amber_amber 38
grove_ember 58
indigo_delta 39
ember_harbor 18
indigo_harbor 112
| birch indigo
ember cobalt
juniper juniper
amber amber
grove ember
indigo delta
ember harbor
indigo harbor
| cobalt_juniper 20
delta_cobalt 14
birch_fable 28
indigo_harbor 76
indigo_amber 104
harbor_indigo 109
harbor_indigo 90
ember_ember 4
cobalt_birch 7
| cobalt juniper
delta cobalt
birch fable
indigo harbor
indigo amber
harbor indigo
harbor indigo
ember ember
cobalt birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007706-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_indigo 80
ember_cobalt 59
juniper_juniper 15
amber_amber 38
grove_ember 58
indigo_delta 39
ember_harbor 18
indigo_harbor 112
| birch indigo
ember cobalt
juniper juniper
amber amber
grove ember
indigo delta
ember harbor
indigo harbor
| cobalt_juniper 20
delta_cobalt 14
birch_fable 28
indigo_harbor 76
indigo_amber 104
harbor_indigo 109
harbor_indigo 90
ember_ember 4
cobalt_birch 7
| cobalt juniper
delta cobalt
birch fable
indigo harbor
indigo amber
harbor indigo
harbor indigo
ember ember
cobalt birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007706 | qwen/qwen3.7-plus |
awkweave-0007707 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | ivan harbor 108 closed
eli grove 5 failed
dina grove 20 paused
gus juniper 43 failed
dina juniper 36 failed
lina birch 101 paused
eli juniper 104 active
hana cobalt 72 ready
| closed 108 harbor ivan
failed 5 grove eli
paused 20 grove dina
failed 43 juniper gus
failed 36 juniper dina
paused 101 birch lina
active 104 juniper eli
ready 72 cobalt hana
| chen ember 43 failed
dina birch 26 ready
alice juniper 39 failed
jules grove 101 closed
farah birch 103 failed
ivan birch 89 ready
| failed 43 ember chen
ready 26 birch dina
failed 39 juniper alice
closed 101 grove jules
failed 103 birch farah
ready 89 birch ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007707-p1 | Reverse the sequence of fields for each line and display every field. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | ivan harbor 108 closed
eli grove 5 failed
dina grove 20 paused
gus juniper 43 failed
dina juniper 36 failed
lina birch 101 paused
eli juniper 104 active
hana cobalt 72 ready
| closed 108 harbor ivan
failed 5 grove eli
paused 20 grove dina
failed 43 juniper gus
failed 36 juniper dina
paused 101 birch lina
active 104 juniper eli
ready 72 cobalt hana
| chen ember 43 failed
dina birch 26 ready
alice juniper 39 failed
jules grove 101 closed
farah birch 103 failed
ivan birch 89 ready
| failed 43 ember chen
ready 26 birch dina
failed 39 juniper alice
closed 101 grove jules
failed 103 birch farah
ready 89 birch ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007707 | qwen/qwen3.7-plus |
awkweave-0007708 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan ember 33 closed
alice harbor 92 closed
kim cobalt 13 pending
farah birch 113 closed
dina birch 96 active
kim harbor 26 paused
jules delta 108 active
hana indigo 3 active
| 4
4
4
4
4
4
4
4
| gus delta 13 paused
chen juniper 107 pending
lina indigo 82 closed
hana harbor 67 paused
gus amber 14 active
jules indigo 5 closed
ivan indigo 99 ready
jules grove 1 active
hana cobalt 107 ready
bruno fable 14 closed
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007708-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | ivan ember 33 closed
alice harbor 92 closed
kim cobalt 13 pending
farah birch 113 closed
dina birch 96 active
kim harbor 26 paused
jules delta 108 active
hana indigo 3 active
| 4
4
4
4
4
4
4
4
| gus delta 13 paused
chen juniper 107 pending
lina indigo 82 closed
hana harbor 67 paused
gus amber 14 active
jules indigo 5 closed
ivan indigo 99 ready
jules grove 1 active
hana cobalt 107 ready
bruno fable 14 closed
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007708 | qwen/qwen3.7-plus |
awkweave-0007709 | 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]]} | alice beta 118
hana gamma 52
bruno gamma 72
eli delta 14
dina gamma 97
jules gamma 37
lina delta 64
farah delta 6
| beta 1
gamma 4
delta 3
| lina delta 30
bruno gamma 10
bruno alpha 91
jules beta 49
jules gamma 89
chen beta 52
chen gamma 80
alice beta 41
| delta 1
gamma 3
alpha 1
beta 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007709-p1 | Tally records by the value in column 2, then print each unique 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]]} | alice beta 118
hana gamma 52
bruno gamma 72
eli delta 14
dina gamma 97
jules gamma 37
lina delta 64
farah delta 6
| beta 1
gamma 4
delta 3
| lina delta 30
bruno gamma 10
bruno alpha 91
jules beta 49
jules gamma 89
chen beta 52
chen gamma 80
alice beta 41
| delta 1
gamma 3
alpha 1
beta 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007709 | qwen/qwen3.7-plus |
awkweave-0007710 | 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 delta 6
chen gamma 29
dina alpha 8
lina delta 26
farah alpha 26
lina gamma 22
| delta 32
gamma 51
alpha 34
| ivan gamma 14
dina delta 2
eli gamma 15
hana delta 7
eli beta 18
hana alpha 24
gus gamma 12
chen beta 10
chen beta 30
| gamma 41
delta 9
beta 58
alpha 24
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007710-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying the 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]]} | alice delta 6
chen gamma 29
dina alpha 8
lina delta 26
farah alpha 26
lina gamma 22
| delta 32
gamma 51
alpha 34
| ivan gamma 14
dina delta 2
eli gamma 15
hana delta 7
eli beta 18
hana alpha 24
gus gamma 12
chen beta 10
chen beta 30
| gamma 41
delta 9
beta 58
alpha 24
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007710 | qwen/qwen3.7-plus |
awkweave-0007711 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma grove 103
alpha grove 117
delta ember 108
delta ember 67
beta ember 82
gamma juniper 1
alpha juniper 104
beta cobalt 44
beta cobalt 114
| gamma 2
alpha 2
delta 2
beta 3
| gamma juniper 65
beta grove 62
alpha grove 95
delta juniper 20
alpha grove 56
beta harbor 51
gamma indigo 83
alpha grove 31
gamma amber 59
delta indigo 67
| gamma 3
beta 2
alpha 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007711-p1 | List each duplicate value from column 1 along with its occurrence count, sorted by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma grove 103
alpha grove 117
delta ember 108
delta ember 67
beta ember 82
gamma juniper 1
alpha juniper 104
beta cobalt 44
beta cobalt 114
| gamma 2
alpha 2
delta 2
beta 3
| gamma juniper 65
beta grove 62
alpha grove 95
delta juniper 20
alpha grove 56
beta harbor 51
gamma indigo 83
alpha grove 31
gamma amber 59
delta indigo 67
| gamma 3
beta 2
alpha 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007711 | qwen/qwen3.7-plus |
awkweave-0007712 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | record_id note score display_name
r001 farah 7 ready
r002 eli 24 active
r003 farah 26 pending
r004 bruno 19 failed
r005 bruno 10 failed
r006 bruno 8 closed
r007 hana 23 closed
| farah
eli
farah
bruno
bruno
bruno
hana
| record_id note score display_name
r001 bruno 27 closed
r002 dina 4 pending
r003 alice 30 ready
r004 lina 7 closed
r005 hana 1 paused
r006 kim 11 active
r007 hana 21 active
r008 chen 21 pending
r009 dina 16 pending
r010 chen 16 pending
| bruno
dina
alice
lina
hana
kim
hana
chen
dina
chen
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007712-p1 | Treating the first row as a header, output the content of the note column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | record_id note score display_name
r001 farah 7 ready
r002 eli 24 active
r003 farah 26 pending
r004 bruno 19 failed
r005 bruno 10 failed
r006 bruno 8 closed
r007 hana 23 closed
| farah
eli
farah
bruno
bruno
bruno
hana
| record_id note score display_name
r001 bruno 27 closed
r002 dina 4 pending
r003 alice 30 ready
r004 lina 7 closed
r005 hana 1 paused
r006 kim 11 active
r007 hana 21 active
r008 chen 21 pending
r009 dina 16 pending
r010 chen 16 pending
| bruno
dina
alice
lina
hana
kim
hana
chen
dina
chen
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007712 | qwen/qwen3.7-plus |
awkweave-0007713 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 lina 27 pending
r002 farah 5 closed
r003 alice 10 active
r004 chen 28 active
r005 hana 13 ready
r006 alice 13 ready
| lina
chen
hana
alice
| record_id display_name score state
r001 alice 16 ready
r002 hana 7 closed
r003 gus 8 pending
r004 jules 9 pending
r005 ivan 2 pending
r006 kim 19 pending
r007 chen 2 failed
r008 chen 1 failed
r009 farah 25 active
| alice
kim
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007713-p1 | With the first row as a header, print the display_name field for data rows where the score is strictly greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 lina 27 pending
r002 farah 5 closed
r003 alice 10 active
r004 chen 28 active
r005 hana 13 ready
r006 alice 13 ready
| lina
chen
hana
alice
| record_id display_name score state
r001 alice 16 ready
r002 hana 7 closed
r003 gus 8 pending
r004 jules 9 pending
r005 ivan 2 pending
r006 kim 19 pending
r007 chen 2 failed
r008 chen 1 failed
r009 farah 25 active
| alice
kim
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007713 | qwen/qwen3.7-plus |
awkweave-0007714 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 15 paused
alice 25 failed
dina 26 active
gus 21 paused
farah 7 ready
bruno 13 paused
| paused
failed
active
paused
ready
paused
| hana 4 closed
dina 21 closed
jules 24 failed
chen 7 paused
hana 20 ready
bruno 11 active
jules 26 active
bruno 21 active
ivan 1 failed
| closed
closed
failed
paused
ready
active
active
active
failed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007714-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 15 paused
alice 25 failed
dina 26 active
gus 21 paused
farah 7 ready
bruno 13 paused
| paused
failed
active
paused
ready
paused
| hana 4 closed
dina 21 closed
jules 24 failed
chen 7 paused
hana 20 ready
bruno 11 active
jules 26 active
bruno 21 active
ivan 1 failed
| closed
closed
failed
paused
ready
active
active
active
failed
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007714 | qwen/qwen3.7-plus |
awkweave-0007715 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | hana,11,failed
lina,4,ready
jules,15,pending
hana,19,paused
jules,19,pending
ivan,6,paused
alice,1,ready
kim,7,closed
eli,24,paused
| jules
hana
jules
eli
| bruno,8,ready
bruno,17,failed
gus,23,failed
bruno,21,active
kim,19,failed
kim,25,closed
| bruno
gus
bruno
kim
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007715-p1 | For simple comma-separated input without quoted commas, print the first column whenever the second column value is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | hana,11,failed
lina,4,ready
jules,15,pending
hana,19,paused
jules,19,pending
ivan,6,paused
alice,1,ready
kim,7,closed
eli,24,paused
| jules
hana
jules
eli
| bruno,8,ready
bruno,17,failed
gus,23,failed
bruno,21,active
kim,19,failed
kim,25,closed
| bruno
gus
bruno
kim
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007715 | qwen/qwen3.7-plus |
awkweave-0007716 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | kim birch 18
chen birch 64
jules juniper 50
gus ember 109
farah delta 54
bruno fable 18
bruno indigo 0
| kim birch 18
chen birch 64
jules juniper 50
gus ember 109
farah delta 54
bruno fable 18
bruno indigo 0
| ivan grove 56
chen grove 97
hana amber 108
dina cobalt 67
farah cobalt 81
ivan indigo 27
hana delta 106
alice harbor 52
alice harbor 60
| ivan grove 56
chen grove 97
hana amber 108
dina cobalt 67
farah cobalt 81
ivan indigo 27
hana delta 106
alice harbor 52
alice harbor 60
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007716-p1 | Remove leading and trailing whitespace, and reduce any internal whitespace sequences to a single space. | {$1=$1;print} | kim birch 18
chen birch 64
jules juniper 50
gus ember 109
farah delta 54
bruno fable 18
bruno indigo 0
| kim birch 18
chen birch 64
jules juniper 50
gus ember 109
farah delta 54
bruno fable 18
bruno indigo 0
| ivan grove 56
chen grove 97
hana amber 108
dina cobalt 67
farah cobalt 81
ivan indigo 27
hana delta 106
alice harbor 52
alice harbor 60
| ivan grove 56
chen grove 97
hana amber 108
dina cobalt 67
farah cobalt 81
ivan indigo 27
hana delta 106
alice harbor 52
alice harbor 60
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007716 | qwen/qwen3.7-plus |
awkweave-0007717 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina cobalt 14 pending
ivan harbor 5 closed
gus fable 4 failed
hana harbor 40 ready
bruno cobalt 18 ready
ivan indigo 44 pending
gus delta 106 pending
| dina cobalt 14 pending
| chen grove 113 failed
chen birch 57 closed
dina juniper 39 paused
ivan indigo 94 pending
chen indigo 36 paused
jules ember 92 ready
eli indigo 102 failed
hana indigo 77 closed
eli amber 103 paused
| dina juniper 39 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007717-p1 | Identify and print the longest line from the input; in case of a tie, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina cobalt 14 pending
ivan harbor 5 closed
gus fable 4 failed
hana harbor 40 ready
bruno cobalt 18 ready
ivan indigo 44 pending
gus delta 106 pending
| dina cobalt 14 pending
| chen grove 113 failed
chen birch 57 closed
dina juniper 39 paused
ivan indigo 94 pending
chen indigo 36 paused
jules ember 92 ready
eli indigo 102 failed
hana indigo 77 closed
eli amber 103 paused
| dina juniper 39 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007717 | qwen/qwen3.7-plus |
awkweave-0007718 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | jules 25
hana 67
dina 70
jules 64
alice 56
gus 51
alice 112
ivan 39
| hana 67
alice 56
ivan 39
| eli 73
chen 68
alice 75
chen 71
chen 18
chen 56
chen 46
alice 76
ivan 65
| chen 68
chen 18
alice 76
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007718-p1 | Output every third line beginning with the second line (i.e., lines 2, 5, etc.). | NR%3==2 | jules 25
hana 67
dina 70
jules 64
alice 56
gus 51
alice 112
ivan 39
| hana 67
alice 56
ivan 39
| eli 73
chen 68
alice 75
chen 71
chen 18
chen 56
chen 46
alice 76
ivan 65
| chen 68
chen 18
alice 76
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007718 | qwen/qwen3.7-plus |
awkweave-0007719 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta fable 79
beta fable 98
alpha grove 21
alpha birch 63
beta amber 48
alpha ember 77
delta harbor 6
beta cobalt 85
| 3
| beta cobalt 78
beta birch 27
gamma indigo 30
gamma indigo 28
alpha indigo 9
delta delta 48
beta grove 105
gamma indigo 35
delta juniper 112
alpha fable 5
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0007719-p1 | Calculate and display only the number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | delta fable 79
beta fable 98
alpha grove 21
alpha birch 63
beta amber 48
alpha ember 77
delta harbor 6
beta cobalt 85
| 3
| beta cobalt 78
beta birch 27
gamma indigo 30
gamma indigo 28
alpha indigo 9
delta delta 48
beta grove 105
gamma indigo 35
delta juniper 112
alpha fable 5
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0007719 | qwen/qwen3.7-plus |
awkweave-0007720 | 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} | dina 17 0
chen 7 18
eli 23 9
lina 15 26
gus 22 4
alice 4 24
chen 23 15
| chen 0.39
eli 2.56
lina 0.58
gus 5.50
alice 0.17
chen 1.53
| bruno 5 0
farah 28 22
kim 1 30
kim 11 13
ivan 18 25
gus 8 19
jules 29 28
lina 1 21
farah 27 10
| farah 1.27
kim 0.03
kim 0.85
ivan 0.72
gus 0.42
jules 1.04
lina 0.05
farah 2.70
| ratio | 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.