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-0059723 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo ivan 21
fable hana 7
ember eli 29
harbor gus 24
harbor jules 17
fable chen 28
grove lina 10
cobalt eli 10
| 29
| grove bruno 4
juniper farah 10
indigo alice 20
delta gus 15
harbor kim 15
grove hana 17
indigo eli 23
fable lina 5
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059723-p1 | Identify and print the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo ivan 21
fable hana 7
ember eli 29
harbor gus 24
harbor jules 17
fable chen 28
grove lina 10
cobalt eli 10
| 29
| grove bruno 4
juniper farah 10
indigo alice 20
delta gus 15
harbor kim 15
grove hana 17
indigo eli 23
fable lina 5
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059723 | qwen/qwen3.7-plus |
awkweave-0059724 | Count all input records and print the total. | END{print NR} | dina 74
bruno 0
ivan 90
eli 69
hana 114
eli 58
alice 119
jules 77
| 8
| jules 116
eli 119
hana 112
hana 106
farah 33
lina 42
kim 37
eli 109
bruno 32
alice 77
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059724-p1 | Count the total number of input records and print the result. | END{print NR} | dina 74
bruno 0
ivan 90
eli 69
hana 114
eli 58
alice 119
jules 77
| 8
| jules 116
eli 119
hana 112
hana 106
farah 33
lina 42
kim 37
eli 109
bruno 32
alice 77
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059724 | qwen/qwen3.7-plus |
awkweave-0059725 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina ember 76
ivan grove 97
bruno indigo 58
gus amber 39
lina ember 76
ivan delta 115
alice indigo 64
dina indigo 77
chen ember 83
| lina ember 76
ivan grove 97
bruno indigo 58
gus amber 39
ivan delta 115
alice indigo 64
dina indigo 77
chen ember 83
| hana ember 2
dina harbor 15
farah fable 44
gus harbor 117
dina harbor 15
dina harbor 3
hana amber 23
bruno delta 115
| hana ember 2
dina harbor 15
farah fable 44
gus harbor 117
dina harbor 3
hana amber 23
bruno delta 115
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059725-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | lina ember 76
ivan grove 97
bruno indigo 58
gus amber 39
lina ember 76
ivan delta 115
alice indigo 64
dina indigo 77
chen ember 83
| lina ember 76
ivan grove 97
bruno indigo 58
gus amber 39
ivan delta 115
alice indigo 64
dina indigo 77
chen ember 83
| hana ember 2
dina harbor 15
farah fable 44
gus harbor 117
dina harbor 15
dina harbor 3
hana amber 23
bruno delta 115
| hana ember 2
dina harbor 15
farah fable 44
gus harbor 117
dina harbor 3
hana amber 23
bruno delta 115
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059725 | qwen/qwen3.7-plus |
awkweave-0059726 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | farah cobalt 95
chen fable 71
lina delta 17
dina cobalt 62
chen ember 36
kim cobalt 51
| farah cobalt 95
chen fable 71
lina delta 17
dina cobalt 62
chen ember 36
kim cobalt 51
| alice grove 118
bruno birch 65
eli delta 79
lina indigo 60
chen cobalt 44
gus harbor 117
jules harbor 6
| alice grove 118
bruno birch 65
eli delta 79
lina indigo 60
chen cobalt 44
gus harbor 117
jules harbor 6
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059726-p1 | Retain only the first occurrence for every unique value in column 3, preserving the original sequence. | !seen[$3]++ | farah cobalt 95
chen fable 71
lina delta 17
dina cobalt 62
chen ember 36
kim cobalt 51
| farah cobalt 95
chen fable 71
lina delta 17
dina cobalt 62
chen ember 36
kim cobalt 51
| alice grove 118
bruno birch 65
eli delta 79
lina indigo 60
chen cobalt 44
gus harbor 117
jules harbor 6
| alice grove 118
bruno birch 65
eli delta 79
lina indigo 60
chen cobalt 44
gus harbor 117
jules harbor 6
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059726 | qwen/qwen3.7-plus |
awkweave-0059727 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 12 juniper
bruno 28 harbor
dina 22 ember
jules 11 ember
jules 13 fable
hana 6 cobalt
ivan 30 grove
gus 3 indigo
jules 24 harbor
| bruno 12
bruno 40
dina 62
jules 73
jules 86
hana 92
ivan 122
gus 125
jules 149
| eli 27 birch
bruno 2 juniper
dina 20 ember
ivan 8 cobalt
dina 12 indigo
chen 26 juniper
| eli 27
bruno 29
dina 49
ivan 57
dina 69
chen 95
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059727-p1 | For each entry, output the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | bruno 12 juniper
bruno 28 harbor
dina 22 ember
jules 11 ember
jules 13 fable
hana 6 cobalt
ivan 30 grove
gus 3 indigo
jules 24 harbor
| bruno 12
bruno 40
dina 62
jules 73
jules 86
hana 92
ivan 122
gus 125
jules 149
| eli 27 birch
bruno 2 juniper
dina 20 ember
ivan 8 cobalt
dina 12 indigo
chen 26 juniper
| eli 27
bruno 29
dina 49
ivan 57
dina 69
chen 95
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059727 | qwen/qwen3.7-plus |
awkweave-0059728 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 18 15 cobalt
bruno 26 6 harbor
eli 1 7 harbor
farah 12 23 indigo
alice 15 29 ember
lina 2 13 birch
| kim 33
bruno 32
eli 8
farah 35
alice 44
lina 15
| bruno 4 12 indigo
chen 27 4 birch
eli 26 29 juniper
jules 24 30 juniper
gus 15 1 juniper
alice 22 26 delta
| bruno 16
chen 31
eli 55
jules 54
gus 16
alice 48
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059728-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | kim 18 15 cobalt
bruno 26 6 harbor
eli 1 7 harbor
farah 12 23 indigo
alice 15 29 ember
lina 2 13 birch
| kim 33
bruno 32
eli 8
farah 35
alice 44
lina 15
| bruno 4 12 indigo
chen 27 4 birch
eli 26 29 juniper
jules 24 30 juniper
gus 15 1 juniper
alice 22 26 delta
| bruno 16
chen 31
eli 55
jules 54
gus 16
alice 48
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059728 | qwen/qwen3.7-plus |
awkweave-0059729 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | hana 18
gus 3
lina 4
alice 18
bruno 25
kim 8
dina 2
kim 18
| hana fail
gus fail
lina fail
alice fail
bruno pass
kim fail
dina fail
kim fail
| lina 16
chen 19
eli 20
chen 1
gus 2
jules 26
gus 10
gus 1
alice 3
| lina fail
chen fail
eli fail
chen fail
gus fail
jules pass
gus fail
gus fail
alice fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059729-p1 | Print the first column along with 'pass' if the second column is 22 or greater; otherwise, print 'fail'. | {print $1,($2>=22?"pass":"fail")} | hana 18
gus 3
lina 4
alice 18
bruno 25
kim 8
dina 2
kim 18
| hana fail
gus fail
lina fail
alice fail
bruno pass
kim fail
dina fail
kim fail
| lina 16
chen 19
eli 20
chen 1
gus 2
jules 26
gus 10
gus 1
alice 3
| lina fail
chen fail
eli fail
chen fail
gus fail
jules pass
gus fail
gus fail
alice fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059729 | qwen/qwen3.7-plus |
awkweave-0059730 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | ivan cobalt 66
kim ember 36
jules fable 19
ivan amber 11
gus harbor 31
bruno ember 65
chen grove 50
gus juniper 110
eli juniper 59
| IVAN
KIM
JULES
IVAN
GUS
BRUNO
CHEN
GUS
ELI
| jules ember 71
lina delta 75
hana delta 74
alice delta 71
dina birch 45
kim ember 32
gus fable 23
gus cobalt 81
hana amber 28
| JULES
LINA
HANA
ALICE
DINA
KIM
GUS
GUS
HANA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059730-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | ivan cobalt 66
kim ember 36
jules fable 19
ivan amber 11
gus harbor 31
bruno ember 65
chen grove 50
gus juniper 110
eli juniper 59
| IVAN
KIM
JULES
IVAN
GUS
BRUNO
CHEN
GUS
ELI
| jules ember 71
lina delta 75
hana delta 74
alice delta 71
dina birch 45
kim ember 32
gus fable 23
gus cobalt 81
hana amber 28
| JULES
LINA
HANA
ALICE
DINA
KIM
GUS
GUS
HANA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059730 | qwen/qwen3.7-plus |
awkweave-0059731 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | birch 13
ember 79
delta 9
juniper 27
grove 109
harbor 22
| bi
em
de
ju
gr
ha
| indigo 103
ember 28
amber 88
harbor 117
juniper 9
birch 83
cobalt 31
delta 23
ember 100
| in
em
am
ha
ju
bi
co
de
em
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059731-p1 | Extract and print the first two characters from column 1. | {print substr($1,1,2)} | birch 13
ember 79
delta 9
juniper 27
grove 109
harbor 22
| bi
em
de
ju
gr
ha
| indigo 103
ember 28
amber 88
harbor 117
juniper 9
birch 83
cobalt 31
delta 23
ember 100
| in
em
am
ha
ju
bi
co
de
em
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059731 | qwen/qwen3.7-plus |
awkweave-0059732 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_harbor 40
juniper_cobalt 40
cobalt_indigo 71
fable_juniper 78
ember_indigo 84
harbor_harbor 77
juniper_birch 63
harbor_grove 54
grove_fable 57
juniper_cobalt 39
| grove harbor
juniper cobalt
cobalt indigo
fable juniper
ember indigo
harbor harbor
juniper birch
harbor grove
grove fable
juniper cobalt
| juniper_juniper 41
grove_amber 73
grove_delta 7
harbor_indigo 31
grove_delta 58
grove_amber 59
grove_delta 112
| juniper juniper
grove amber
grove delta
harbor indigo
grove delta
grove amber
grove delta
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059732-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | grove_harbor 40
juniper_cobalt 40
cobalt_indigo 71
fable_juniper 78
ember_indigo 84
harbor_harbor 77
juniper_birch 63
harbor_grove 54
grove_fable 57
juniper_cobalt 39
| grove harbor
juniper cobalt
cobalt indigo
fable juniper
ember indigo
harbor harbor
juniper birch
harbor grove
grove fable
juniper cobalt
| juniper_juniper 41
grove_amber 73
grove_delta 7
harbor_indigo 31
grove_delta 58
grove_amber 59
grove_delta 112
| juniper juniper
grove amber
grove delta
harbor indigo
grove delta
grove amber
grove delta
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059732 | qwen/qwen3.7-plus |
awkweave-0059733 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim juniper 29 active
eli ember 60 closed
gus indigo 58 pending
lina fable 49 closed
eli harbor 3 pending
lina amber 6 pending
dina indigo 54 active
| active 29 juniper kim
closed 60 ember eli
pending 58 indigo gus
closed 49 fable lina
pending 3 harbor eli
pending 6 amber lina
active 54 indigo dina
| jules indigo 62 active
hana ember 22 ready
hana indigo 114 active
eli juniper 67 paused
alice ember 58 failed
alice birch 68 pending
bruno juniper 15 pending
ivan grove 97 closed
eli delta 87 pending
chen delta 105 active
| active 62 indigo jules
ready 22 ember hana
active 114 indigo hana
paused 67 juniper eli
failed 58 ember alice
pending 68 birch alice
pending 15 juniper bruno
closed 97 grove ivan
pending 87 delta eli
active 105 delta chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059733-p1 | Reverse the sequence of fields on each line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim juniper 29 active
eli ember 60 closed
gus indigo 58 pending
lina fable 49 closed
eli harbor 3 pending
lina amber 6 pending
dina indigo 54 active
| active 29 juniper kim
closed 60 ember eli
pending 58 indigo gus
closed 49 fable lina
pending 3 harbor eli
pending 6 amber lina
active 54 indigo dina
| jules indigo 62 active
hana ember 22 ready
hana indigo 114 active
eli juniper 67 paused
alice ember 58 failed
alice birch 68 pending
bruno juniper 15 pending
ivan grove 97 closed
eli delta 87 pending
chen delta 105 active
| active 62 indigo jules
ready 22 ember hana
active 114 indigo hana
paused 67 juniper eli
failed 58 ember alice
pending 68 birch alice
pending 15 juniper bruno
closed 97 grove ivan
pending 87 delta eli
active 105 delta chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059733 | qwen/qwen3.7-plus |
awkweave-0059734 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno juniper 57 paused
alice birch 37 closed
lina cobalt 89 closed
eli cobalt 99 failed
hana indigo 99 failed
dina grove 71 ready
kim birch 62 paused
gus juniper 120 paused
bruno birch 10 active
| 4
4
4
4
4
4
4
4
4
| chen cobalt 116 ready
alice birch 85 pending
jules cobalt 80 failed
lina juniper 110 paused
dina juniper 87 failed
farah ember 79 active
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059734-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno juniper 57 paused
alice birch 37 closed
lina cobalt 89 closed
eli cobalt 99 failed
hana indigo 99 failed
dina grove 71 ready
kim birch 62 paused
gus juniper 120 paused
bruno birch 10 active
| 4
4
4
4
4
4
4
4
4
| chen cobalt 116 ready
alice birch 85 pending
jules cobalt 80 failed
lina juniper 110 paused
dina juniper 87 failed
farah ember 79 active
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059734 | qwen/qwen3.7-plus |
awkweave-0059735 | 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]]} | ivan alpha 10
ivan alpha 71
dina delta 117
ivan gamma 116
kim alpha 19
hana gamma 4
ivan beta 25
gus alpha 57
| alpha 4
delta 1
gamma 2
beta 1
| farah delta 75
hana delta 68
kim alpha 68
gus beta 48
hana gamma 104
ivan beta 34
| delta 2
alpha 1
beta 2
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059735-p1 | Tally records by each unique value in column 2, printing the value and its total 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]]} | ivan alpha 10
ivan alpha 71
dina delta 117
ivan gamma 116
kim alpha 19
hana gamma 4
ivan beta 25
gus alpha 57
| alpha 4
delta 1
gamma 2
beta 1
| farah delta 75
hana delta 68
kim alpha 68
gus beta 48
hana gamma 104
ivan beta 34
| delta 2
alpha 1
beta 2
gamma 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059735 | qwen/qwen3.7-plus |
awkweave-0059736 | 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 alpha 10
chen gamma 6
dina beta 15
jules gamma 1
lina delta 21
lina alpha 3
| alpha 13
gamma 7
beta 15
delta 21
| dina gamma 11
jules alpha 22
dina delta 13
alice gamma 12
kim beta 12
gus gamma 27
bruno beta 26
chen alpha 3
| gamma 50
alpha 25
delta 13
beta 38
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059736-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying results in the 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 alpha 10
chen gamma 6
dina beta 15
jules gamma 1
lina delta 21
lina alpha 3
| alpha 13
gamma 7
beta 15
delta 21
| dina gamma 11
jules alpha 22
dina delta 13
alice gamma 12
kim beta 12
gus gamma 27
bruno beta 26
chen alpha 3
| gamma 50
alpha 25
delta 13
beta 38
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059736 | qwen/qwen3.7-plus |
awkweave-0059737 | 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]]} | delta ember 52
delta indigo 3
gamma indigo 33
alpha juniper 81
delta harbor 67
beta grove 70
delta fable 17
delta birch 99
alpha ember 14
| delta 5
alpha 2
| gamma harbor 70
beta grove 77
delta amber 70
gamma delta 117
beta amber 116
delta juniper 90
beta indigo 88
alpha ember 26
gamma cobalt 55
alpha indigo 53
| gamma 3
beta 3
delta 2
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059737-p1 | List each duplicate value from column 1 along with its occurrence count, ordered 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]]} | delta ember 52
delta indigo 3
gamma indigo 33
alpha juniper 81
delta harbor 67
beta grove 70
delta fable 17
delta birch 99
alpha ember 14
| delta 5
alpha 2
| gamma harbor 70
beta grove 77
delta amber 70
gamma delta 117
beta amber 116
delta juniper 90
beta indigo 88
alpha ember 26
gamma cobalt 55
alpha indigo 53
| gamma 3
beta 3
delta 2
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059737 | qwen/qwen3.7-plus |
awkweave-0059738 | The first row is a header. Print the state column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | score region note state
r001 dina 8 failed
r002 gus 2 closed
r003 kim 22 active
r004 lina 18 failed
r005 gus 7 closed
r006 ivan 1 failed
r007 alice 21 closed
r008 chen 29 closed
r009 farah 7 ready
| failed
closed
active
failed
closed
failed
closed
closed
ready
| score region note state
r001 hana 28 pending
r002 dina 19 closed
r003 kim 4 paused
r004 jules 29 paused
r005 eli 10 paused
r006 gus 9 paused
r007 gus 27 closed
r008 farah 16 active
r009 kim 18 closed
| pending
closed
paused
paused
paused
paused
closed
active
closed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059738-p1 | Skip the header row and print the state column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | score region note state
r001 dina 8 failed
r002 gus 2 closed
r003 kim 22 active
r004 lina 18 failed
r005 gus 7 closed
r006 ivan 1 failed
r007 alice 21 closed
r008 chen 29 closed
r009 farah 7 ready
| failed
closed
active
failed
closed
failed
closed
closed
ready
| score region note state
r001 hana 28 pending
r002 dina 19 closed
r003 kim 4 paused
r004 jules 29 paused
r005 eli 10 paused
r006 gus 9 paused
r007 gus 27 closed
r008 farah 16 active
r009 kim 18 closed
| pending
closed
paused
paused
paused
paused
closed
active
closed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059738 | qwen/qwen3.7-plus |
awkweave-0059739 | The first row is a header. Print display_name for data rows whose score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 eli 11 paused
r002 bruno 28 active
r003 kim 29 ready
r004 jules 16 active
r005 alice 4 failed
r006 jules 1 failed
r007 lina 30 paused
r008 kim 1 failed
| bruno
kim
lina
| record_id display_name score state
r001 hana 26 closed
r002 farah 25 pending
r003 gus 20 failed
r004 gus 14 pending
r005 eli 21 closed
r006 farah 1 closed
| hana
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059739-p1 | Ignoring the header, print the display_name for rows where the score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 eli 11 paused
r002 bruno 28 active
r003 kim 29 ready
r004 jules 16 active
r005 alice 4 failed
r006 jules 1 failed
r007 lina 30 paused
r008 kim 1 failed
| bruno
kim
lina
| record_id display_name score state
r001 hana 26 closed
r002 farah 25 pending
r003 gus 20 failed
r004 gus 14 pending
r005 eli 21 closed
r006 farah 1 closed
| hana
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059739 | qwen/qwen3.7-plus |
awkweave-0059740 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 29 pending
chen 4 closed
lina 1 failed
ivan 5 active
chen 9 closed
farah 16 failed
| pending
closed
failed
active
closed
failed
| lina 8 paused
eli 23 paused
jules 17 paused
kim 8 paused
bruno 14 ready
ivan 30 paused
ivan 26 failed
hana 12 ready
chen 6 paused
dina 10 failed
| paused
paused
paused
paused
ready
paused
failed
ready
paused
failed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059740-p1 | Given tab-separated input, output the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | bruno 29 pending
chen 4 closed
lina 1 failed
ivan 5 active
chen 9 closed
farah 16 failed
| pending
closed
failed
active
closed
failed
| lina 8 paused
eli 23 paused
jules 17 paused
kim 8 paused
bruno 14 ready
ivan 30 paused
ivan 26 failed
hana 12 ready
chen 6 paused
dina 10 failed
| paused
paused
paused
paused
ready
paused
failed
ready
paused
failed
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059740 | qwen/qwen3.7-plus |
awkweave-0059741 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15. | BEGIN{FS=OFS=","}$2>15{print $1} | gus,21,ready
gus,29,paused
lina,4,ready
lina,22,closed
kim,16,closed
lina,12,closed
chen,8,ready
jules,5,closed
dina,26,failed
hana,17,paused
| gus
gus
lina
kim
dina
hana
| eli,10,ready
jules,3,paused
alice,8,active
ivan,4,paused
eli,26,ready
kim,14,closed
| eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059741-p1 | For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 15. | BEGIN{FS=OFS=","}$2>15{print $1} | gus,21,ready
gus,29,paused
lina,4,ready
lina,22,closed
kim,16,closed
lina,12,closed
chen,8,ready
jules,5,closed
dina,26,failed
hana,17,paused
| gus
gus
lina
kim
dina
hana
| eli,10,ready
jules,3,paused
alice,8,active
ivan,4,paused
eli,26,ready
kim,14,closed
| eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059741 | qwen/qwen3.7-plus |
awkweave-0059742 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | gus ember 26
jules indigo 69
gus juniper 39
dina juniper 73
farah ember 69
eli birch 59
| gus ember 26
jules indigo 69
gus juniper 39
dina juniper 73
farah ember 69
eli birch 59
| lina fable 30
gus amber 30
bruno cobalt 49
bruno juniper 116
farah grove 109
dina delta 41
bruno indigo 17
alice grove 74
| lina fable 30
gus amber 30
bruno cobalt 49
bruno juniper 116
farah grove 109
dina delta 41
bruno indigo 17
alice grove 74
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059742-p1 | Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | gus ember 26
jules indigo 69
gus juniper 39
dina juniper 73
farah ember 69
eli birch 59
| gus ember 26
jules indigo 69
gus juniper 39
dina juniper 73
farah ember 69
eli birch 59
| lina fable 30
gus amber 30
bruno cobalt 49
bruno juniper 116
farah grove 109
dina delta 41
bruno indigo 17
alice grove 74
| lina fable 30
gus amber 30
bruno cobalt 49
bruno juniper 116
farah grove 109
dina delta 41
bruno indigo 17
alice grove 74
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059742 | qwen/qwen3.7-plus |
awkweave-0059743 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | gus ember 20 closed
bruno cobalt 9 failed
kim harbor 78 closed
ivan fable 6 paused
gus harbor 89 ready
kim harbor 53 ready
kim delta 87 paused
ivan ember 69 pending
dina ember 88 paused
| bruno cobalt 9 failed
| farah grove 108 paused
lina juniper 81 paused
chen juniper 94 pending
jules harbor 4 active
hana amber 112 ready
lina fable 91 closed
farah fable 0 closed
ivan fable 97 failed
lina juniper 69 pending
alice ember 1 paused
| chen juniper 94 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059743-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} | gus ember 20 closed
bruno cobalt 9 failed
kim harbor 78 closed
ivan fable 6 paused
gus harbor 89 ready
kim harbor 53 ready
kim delta 87 paused
ivan ember 69 pending
dina ember 88 paused
| bruno cobalt 9 failed
| farah grove 108 paused
lina juniper 81 paused
chen juniper 94 pending
jules harbor 4 active
hana amber 112 ready
lina fable 91 closed
farah fable 0 closed
ivan fable 97 failed
lina juniper 69 pending
alice ember 1 paused
| chen juniper 94 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059743 | qwen/qwen3.7-plus |
awkweave-0059744 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | jules 16
jules 61
dina 67
dina 72
alice 6
bruno 17
ivan 64
hana 6
lina 6
| dina 72
hana 6
| lina 106
farah 15
lina 39
kim 77
bruno 85
farah 96
farah 88
jules 56
| kim 77
jules 56
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059744-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | jules 16
jules 61
dina 67
dina 72
alice 6
bruno 17
ivan 64
hana 6
lina 6
| dina 72
hana 6
| lina 106
farah 15
lina 39
kim 77
bruno 85
farah 96
farah 88
jules 56
| kim 77
jules 56
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059744 | qwen/qwen3.7-plus |
awkweave-0059745 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 92
beta ember 4
gamma delta 50
delta juniper 81
delta delta 78
gamma amber 56
beta birch 51
delta delta 9
| 6
| delta grove 48
gamma ember 88
delta ember 119
beta ember 41
delta fable 0
beta indigo 67
alpha amber 6
gamma cobalt 40
gamma ember 12
alpha amber 23
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059745-p1 | Calculate the number of unique values present in the second column and display only that total count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 92
beta ember 4
gamma delta 50
delta juniper 81
delta delta 78
gamma amber 56
beta birch 51
delta delta 9
| 6
| delta grove 48
gamma ember 88
delta ember 119
beta ember 41
delta fable 0
beta indigo 67
alpha amber 6
gamma cobalt 40
gamma ember 12
alpha amber 23
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059745 | qwen/qwen3.7-plus |
awkweave-0059746 | 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} | kim 13 0
chen 18 25
alice 14 28
farah 7 29
alice 4 28
dina 29 7
| chen 0.72
alice 0.50
farah 0.24
alice 0.14
dina 4.14
| lina 26 0
bruno 1 30
dina 24 17
lina 11 24
farah 24 27
bruno 6 15
dina 24 20
| bruno 0.03
dina 1.41
lina 0.46
farah 0.89
bruno 0.40
dina 1.20
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059746-p1 | For each row, output the value of column 1 followed by the result of column 2 divided by column 3, formatted to two decimal places; exclude any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 13 0
chen 18 25
alice 14 28
farah 7 29
alice 4 28
dina 29 7
| chen 0.72
alice 0.50
farah 0.24
alice 0.14
dina 4.14
| lina 26 0
bruno 1 30
dina 24 17
lina 11 24
farah 24 27
bruno 6 15
dina 24 20
| bruno 0.03
dina 1.41
lina 0.46
farah 0.89
bruno 0.40
dina 1.20
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059746 | qwen/qwen3.7-plus |
awkweave-0059747 | 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]} | hana amber 4
lina amber 29
ivan indigo 30
jules fable 30
lina grove 25
eli indigo 5
lina amber 19
| ivan indigo 30
jules fable 30
lina amber 29
| lina fable 25
chen cobalt 8
eli harbor 29
lina birch 1
alice amber 2
farah grove 3
| eli harbor 29
lina fable 25
chen cobalt 8
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059747-p1 | Display the full records corresponding to the three highest numeric values in column 3, 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]} | hana amber 4
lina amber 29
ivan indigo 30
jules fable 30
lina grove 25
eli indigo 5
lina amber 19
| ivan indigo 30
jules fable 30
lina amber 29
| lina fable 25
chen cobalt 8
eli harbor 29
lina birch 1
alice amber 2
farah grove 3
| eli harbor 29
lina fable 25
chen cobalt 8
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059747 | qwen/qwen3.7-plus |
awkweave-0059748 | For each line, output fields 5 and 1, in that order. | {print $5, $1} | paused 27 indigo 31 gus
pending 96 ember 37 gus
pending 17 cobalt 27 dina
pending 112 harbor 63 alice
failed 100 amber 65 ivan
pending 91 fable 4 eli
pending 64 grove 59 alice
paused 64 ember 103 bruno
failed 49 indigo 81 alice
| gus paused
gus pending
dina pending
alice pending
ivan failed
eli pending
alice pending
bruno paused
alice failed
| paused 68 fable 100 alice
closed 120 birch 101 bruno
active 110 ember 46 jules
paused 108 amber 47 dina
pending 111 birch 81 ivan
paused 66 cobalt 65 alice
paused 99 cobalt 119 dina
ready 100 ember 77 chen
pending 79 delta 118 farah
failed 11 indigo 23 eli
| alice paused
bruno closed
jules active
dina paused
ivan pending
alice paused
dina paused
chen ready
farah pending
eli failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059748-p1 | For every line, print the fifth field followed by the first field. | {print $5, $1} | paused 27 indigo 31 gus
pending 96 ember 37 gus
pending 17 cobalt 27 dina
pending 112 harbor 63 alice
failed 100 amber 65 ivan
pending 91 fable 4 eli
pending 64 grove 59 alice
paused 64 ember 103 bruno
failed 49 indigo 81 alice
| gus paused
gus pending
dina pending
alice pending
ivan failed
eli pending
alice pending
bruno paused
alice failed
| paused 68 fable 100 alice
closed 120 birch 101 bruno
active 110 ember 46 jules
paused 108 amber 47 dina
pending 111 birch 81 ivan
paused 66 cobalt 65 alice
paused 99 cobalt 119 dina
ready 100 ember 77 chen
pending 79 delta 118 farah
failed 11 indigo 23 eli
| alice paused
bruno closed
jules active
dina paused
ivan pending
alice paused
dina paused
chen ready
farah pending
eli failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059748 | qwen/qwen3.7-plus |
awkweave-0059749 | Print the last field of every input line. | {print $NF} | juniper paused grove juniper chen
amber active amber indigo lina
amber pending delta indigo hana
ember pending juniper indigo farah
juniper paused juniper indigo farah
ember paused grove birch ivan
delta ready indigo juniper chen
harbor active amber harbor dina
fable failed grove birch gus
| chen
lina
hana
farah
farah
ivan
chen
dina
gus
| juniper active juniper ember alice
fable paused cobalt amber kim
fable failed ember birch kim
birch failed delta juniper dina
grove ready juniper ember jules
cobalt ready indigo delta ivan
ember failed indigo birch kim
grove active harbor birch jules
| alice
kim
kim
dina
jules
ivan
kim
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059749-p1 | Output the final field from each line of the input. | {print $NF} | juniper paused grove juniper chen
amber active amber indigo lina
amber pending delta indigo hana
ember pending juniper indigo farah
juniper paused juniper indigo farah
ember paused grove birch ivan
delta ready indigo juniper chen
harbor active amber harbor dina
fable failed grove birch gus
| chen
lina
hana
farah
farah
ivan
chen
dina
gus
| juniper active juniper ember alice
fable paused cobalt amber kim
fable failed ember birch kim
birch failed delta juniper dina
grove ready juniper ember jules
cobalt ready indigo delta ivan
ember failed indigo birch kim
grove active harbor birch jules
| alice
kim
kim
dina
jules
ivan
kim
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059749 | qwen/qwen3.7-plus |
awkweave-0059750 | Print the complete records where column 1 is at most 45. | $1 <= 45 | 1 chen kim
37 jules ivan
61 dina hana
50 kim dina
90 ivan alice
54 dina gus
73 hana jules
| 1 chen kim
37 jules ivan
| 111 dina dina
92 gus jules
59 jules chen
40 alice gus
19 dina gus
8 bruno dina
15 kim hana
6 farah eli
59 chen ivan
| 40 alice gus
19 dina gus
8 bruno dina
15 kim hana
6 farah eli
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059750-p1 | Print the entire record for any row where the value in column 1 is less than or equal to 45. | $1 <= 45 | 1 chen kim
37 jules ivan
61 dina hana
50 kim dina
90 ivan alice
54 dina gus
73 hana jules
| 1 chen kim
37 jules ivan
| 111 dina dina
92 gus jules
59 jules chen
40 alice gus
19 dina gus
8 bruno dina
15 kim hana
6 farah eli
59 chen ivan
| 40 alice gus
19 dina gus
8 bruno dina
15 kim hana
6 farah eli
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059750 | qwen/qwen3.7-plus |
awkweave-0059751 | Show whole lines whose 2nd field is between 6 and 20, inclusive. | $2 >= 6 && $2 <= 20 | lina 12 failed fable
bruno 18 closed indigo
alice 18 active grove
jules 8 pending ember
jules 11 ready ember
hana 11 paused fable
gus 26 paused juniper
| lina 12 failed fable
bruno 18 closed indigo
alice 18 active grove
jules 8 pending ember
jules 11 ready ember
hana 11 paused fable
| dina 4 pending indigo
farah 2 active amber
gus 12 pending ember
bruno 23 active ember
eli 5 failed grove
dina 15 failed cobalt
| gus 12 pending ember
dina 15 failed cobalt
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059751-p1 | Display complete lines where the second field has a value between 6 and 20, inclusive. | $2 >= 6 && $2 <= 20 | lina 12 failed fable
bruno 18 closed indigo
alice 18 active grove
jules 8 pending ember
jules 11 ready ember
hana 11 paused fable
gus 26 paused juniper
| lina 12 failed fable
bruno 18 closed indigo
alice 18 active grove
jules 8 pending ember
jules 11 ready ember
hana 11 paused fable
| dina 4 pending indigo
farah 2 active amber
gus 12 pending ember
bruno 23 active ember
eli 5 failed grove
dina 15 failed cobalt
| gus 12 pending ember
dina 15 failed cobalt
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059751 | qwen/qwen3.7-plus |
awkweave-0059752 | Print column 3 only for rows where column 2 is exactly failed. | $2 == "failed"{print $3} | indigo closed ivan 81
ember ready dina 97
grove paused lina 68
delta pending jules 8
ember failed kim 103
cobalt pending lina 16
delta active farah 28
harbor failed dina 52
| kim
dina
| ember closed farah 64
fable pending ivan 104
cobalt ready jules 74
delta ready hana 2
fable closed hana 113
fable ready hana 28
ember ready alice 46
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0059752-p1 | Output only the third column for rows where the second column contains exactly the string 'failed'. | $2 == "failed"{print $3} | indigo closed ivan 81
ember ready dina 97
grove paused lina 68
delta pending jules 8
ember failed kim 103
cobalt pending lina 16
delta active farah 28
harbor failed dina 52
| kim
dina
| ember closed farah 64
fable pending ivan 104
cobalt ready jules 74
delta ready hana 2
fable closed hana 113
fable ready hana 28
ember ready alice 46
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059752 | qwen/qwen3.7-plus | |
awkweave-0059753 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | INFO 93 delta
WARN 86 indigo
DEBUG 25 harbor
INFO 14 fable
WARN 36 amber
WARN 1 indigo
ERROR 92 juniper
ERROR 76 delta
| ERROR 92 juniper
ERROR 76 delta
| ERROR 80 fable
INFO 25 fable
INFO 47 delta
DEBUG 18 juniper
DEBUG 70 grove
INFO 48 harbor
WARN 67 amber
ERROR 1 grove
INFO 78 grove
DEBUG 103 delta
| ERROR 80 fable
ERROR 1 grove
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059753-p1 | Print all fields from any line where the first field starts with the prefix 'ERROR'. | $1 ~ /^ERROR/ | INFO 93 delta
WARN 86 indigo
DEBUG 25 harbor
INFO 14 fable
WARN 36 amber
WARN 1 indigo
ERROR 92 juniper
ERROR 76 delta
| ERROR 92 juniper
ERROR 76 delta
| ERROR 80 fable
INFO 25 fable
INFO 47 delta
DEBUG 18 juniper
DEBUG 70 grove
INFO 48 harbor
WARN 67 amber
ERROR 1 grove
INFO 78 grove
DEBUG 103 delta
| ERROR 80 fable
ERROR 1 grove
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059753 | qwen/qwen3.7-plus |
awkweave-0059754 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | fable 109 failed
cobalt 11 pending
indigo 85 closed
indigo 82 ready
harbor 49 ready
juniper 114 pending
delta 65 pending
harbor 92 pending
birch 999 active
| fable 109 failed
cobalt 11 pending
indigo 85 closed
indigo 82 ready
harbor 49 ready
juniper 114 pending
delta 65 pending
harbor 92 pending
| grove 106 pending
juniper 29 pending
delta 108 ready
cobalt 30 closed
fable 116 pending
birch 50 active
indigo 14 pending
birch 999 active
| grove 106 pending
juniper 29 pending
delta 108 ready
cobalt 30 closed
fable 116 pending
indigo 14 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059754-p1 | Display all lines that do not contain the exact string birch. | $0 !~ /birch/ | fable 109 failed
cobalt 11 pending
indigo 85 closed
indigo 82 ready
harbor 49 ready
juniper 114 pending
delta 65 pending
harbor 92 pending
birch 999 active
| fable 109 failed
cobalt 11 pending
indigo 85 closed
indigo 82 ready
harbor 49 ready
juniper 114 pending
delta 65 pending
harbor 92 pending
| grove 106 pending
juniper 29 pending
delta 108 ready
cobalt 30 closed
fable 116 pending
birch 50 active
indigo 14 pending
birch 999 active
| grove 106 pending
juniper 29 pending
delta 108 ready
cobalt 30 closed
fable 116 pending
indigo 14 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059754 | qwen/qwen3.7-plus |
awkweave-0059755 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | farah ember 95
bruno delta 56
ivan amber 24
dina harbor 102
ivan fable 72
gus amber 99
hana birch 68
dina indigo 118
| ivan amber 24
dina harbor 102
ivan fable 72
gus amber 99
| chen juniper 85
farah birch 72
kim indigo 40
lina fable 28
jules delta 106
chen juniper 55
| kim indigo 40
lina fable 28
jules delta 106
chen juniper 55
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059755-p1 | Output lines 3 to 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | farah ember 95
bruno delta 56
ivan amber 24
dina harbor 102
ivan fable 72
gus amber 99
hana birch 68
dina indigo 118
| ivan amber 24
dina harbor 102
ivan fable 72
gus amber 99
| chen juniper 85
farah birch 72
kim indigo 40
lina fable 28
jules delta 106
chen juniper 55
| kim indigo 40
lina fable 28
jules delta 106
chen juniper 55
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059755 | qwen/qwen3.7-plus |
awkweave-0059756 | Output only the first 5 records. | NR <= 5 | alice 96 amber
gus 107 cobalt
lina 111 ember
ivan 103 grove
kim 60 ember
hana 49 amber
chen 40 amber
| alice 96 amber
gus 107 cobalt
lina 111 ember
ivan 103 grove
kim 60 ember
| ivan 84 fable
kim 38 ember
jules 3 birch
ivan 110 harbor
kim 95 fable
gus 64 delta
farah 15 grove
chen 19 birch
lina 65 amber
| ivan 84 fable
kim 38 ember
jules 3 birch
ivan 110 harbor
kim 95 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059756-p1 | Show only the initial 5 records from the input. | NR <= 5 | alice 96 amber
gus 107 cobalt
lina 111 ember
ivan 103 grove
kim 60 ember
hana 49 amber
chen 40 amber
| alice 96 amber
gus 107 cobalt
lina 111 ember
ivan 103 grove
kim 60 ember
| ivan 84 fable
kim 38 ember
jules 3 birch
ivan 110 harbor
kim 95 fable
gus 64 delta
farah 15 grove
chen 19 birch
lina 65 amber
| ivan 84 fable
kim 38 ember
jules 3 birch
ivan 110 harbor
kim 95 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059756 | qwen/qwen3.7-plus |
awkweave-0059757 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 56 grove
eli 42 harbor
eli 116 amber
lina 83 juniper
eli 56 juniper
bruno 53 juniper
jules 49 indigo
alice 117 cobalt
| eli 42 harbor
eli 116 amber
lina 83 juniper
eli 56 juniper
bruno 53 juniper
jules 49 indigo
alice 117 cobalt
| farah 27 delta
alice 6 delta
hana 70 amber
ivan 80 harbor
hana 67 fable
lina 34 grove
| alice 6 delta
hana 70 amber
ivan 80 harbor
hana 67 fable
lina 34 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059757-p1 | Omit the first line and print the rest of the lines exactly as they appear. | NR > 1 | alice 56 grove
eli 42 harbor
eli 116 amber
lina 83 juniper
eli 56 juniper
bruno 53 juniper
jules 49 indigo
alice 117 cobalt
| eli 42 harbor
eli 116 amber
lina 83 juniper
eli 56 juniper
bruno 53 juniper
jules 49 indigo
alice 117 cobalt
| farah 27 delta
alice 6 delta
hana 70 amber
ivan 80 harbor
hana 67 fable
lina 34 grove
| alice 6 delta
hana 70 amber
ivan 80 harbor
hana 67 fable
lina 34 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059757 | qwen/qwen3.7-plus |
awkweave-0059758 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | eli ready 115
farah ready 45
chen pending 106
lina failed 91
alice ready 83
chen closed 70
hana closed 25
chen active 88
jules closed 85
eli ready 6
| 1
| hana active 55
alice closed 53
hana paused 110
chen paused 89
eli closed 102
jules paused 64
kim pending 37
gus failed 1
alice paused 42
alice pending 114
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059758-p1 | Tally the number of records where column 2 is pending, outputting 0 if the count is zero. | $2 == "pending"{n++}END{print n+0} | eli ready 115
farah ready 45
chen pending 106
lina failed 91
alice ready 83
chen closed 70
hana closed 25
chen active 88
jules closed 85
eli ready 6
| 1
| hana active 55
alice closed 53
hana paused 110
chen paused 89
eli closed 102
jules paused 64
kim pending 37
gus failed 1
alice paused 42
alice pending 114
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059758 | qwen/qwen3.7-plus |
awkweave-0059759 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 5 delta ivan
4 fable bruno
25 harbor alice
30 harbor gus
5 cobalt chen
22 grove lina
26 cobalt lina
18 grove kim
4 harbor ivan
25 delta kim
| 164
| 26 grove eli
4 cobalt dina
24 ember bruno
24 juniper farah
20 juniper hana
26 indigo chen
8 juniper gus
| 132
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059759-p1 | Compute and display the total sum of integer values found in column 1. | {s+=$1}END{print s+0} | 5 delta ivan
4 fable bruno
25 harbor alice
30 harbor gus
5 cobalt chen
22 grove lina
26 cobalt lina
18 grove kim
4 harbor ivan
25 delta kim
| 164
| 26 grove eli
4 cobalt dina
24 ember bruno
24 juniper farah
20 juniper hana
26 indigo chen
8 juniper gus
| 132
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059759 | qwen/qwen3.7-plus |
awkweave-0059760 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo lina 4
cobalt lina 21
birch ivan 6
fable gus 7
grove lina 20
amber dina 11
| 11.50
| grove kim 18
indigo lina 27
harbor bruno 3
harbor chen 17
grove dina 2
juniper chen 6
delta kim 20
| 13.29
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059760-p1 | Calculate the average of column 3 and format the result to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo lina 4
cobalt lina 21
birch ivan 6
fable gus 7
grove lina 20
amber dina 11
| 11.50
| grove kim 18
indigo lina 27
harbor bruno 3
harbor chen 17
grove dina 2
juniper chen 6
delta kim 20
| 13.29
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059760 | qwen/qwen3.7-plus |
awkweave-0059761 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 bruno ember
8 farah delta
16 ivan harbor
13 eli juniper
17 eli amber
18 dina fable
2 gus ember
9 kim harbor
26 farah delta
23 dina ember
| 2
| 4 jules delta
30 jules amber
22 kim birch
21 chen amber
3 dina cobalt
13 eli birch
24 kim grove
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059761-p1 | Identify and output the minimum numeric value present in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 bruno ember
8 farah delta
16 ivan harbor
13 eli juniper
17 eli amber
18 dina fable
2 gus ember
9 kim harbor
26 farah delta
23 dina ember
| 2
| 4 jules delta
30 jules amber
22 kim birch
21 chen amber
3 dina cobalt
13 eli birch
24 kim grove
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059761 | qwen/qwen3.7-plus |
awkweave-0059762 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | kim 17 amber
dina 8 delta
kim 21 indigo
jules 9 birch
hana 2 cobalt
bruno 3 cobalt
| 21
| kim 5 fable
chen 23 ember
jules 22 grove
farah 8 cobalt
farah 3 harbor
lina 11 harbor
lina 17 harbor
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059762-p1 | Identify and output the maximum numeric value present in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | kim 17 amber
dina 8 delta
kim 21 indigo
jules 9 birch
hana 2 cobalt
bruno 3 cobalt
| 21
| kim 5 fable
chen 23 ember
jules 22 grove
farah 8 cobalt
farah 3 harbor
lina 11 harbor
lina 17 harbor
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059762 | qwen/qwen3.7-plus |
awkweave-0059763 | Count all input records and print the total. | END{print NR} | eli 15
kim 49
ivan 47
jules 62
eli 100
lina 114
dina 24
| 7
| jules 106
chen 50
bruno 37
gus 85
dina 43
eli 1
ivan 16
eli 92
eli 42
chen 29
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059763-p1 | Count the total number of input records and print the final count. | END{print NR} | eli 15
kim 49
ivan 47
jules 62
eli 100
lina 114
dina 24
| 7
| jules 106
chen 50
bruno 37
gus 85
dina 43
eli 1
ivan 16
eli 92
eli 42
chen 29
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059763 | qwen/qwen3.7-plus |
awkweave-0059764 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen amber 117
gus birch 76
gus delta 56
alice juniper 24
chen indigo 97
alice juniper 24
ivan fable 28
| chen amber 117
gus birch 76
gus delta 56
alice juniper 24
chen indigo 97
ivan fable 28
| farah juniper 107
alice ember 61
bruno birch 103
ivan birch 70
farah juniper 107
ivan harbor 49
dina indigo 5
| farah juniper 107
alice ember 61
bruno birch 103
ivan birch 70
ivan harbor 49
dina indigo 5
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059764-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | chen amber 117
gus birch 76
gus delta 56
alice juniper 24
chen indigo 97
alice juniper 24
ivan fable 28
| chen amber 117
gus birch 76
gus delta 56
alice juniper 24
chen indigo 97
ivan fable 28
| farah juniper 107
alice ember 61
bruno birch 103
ivan birch 70
farah juniper 107
ivan harbor 49
dina indigo 5
| farah juniper 107
alice ember 61
bruno birch 103
ivan birch 70
ivan harbor 49
dina indigo 5
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059764 | qwen/qwen3.7-plus |
awkweave-0059765 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina indigo 98
dina harbor 2
bruno cobalt 64
bruno birch 18
lina birch 38
eli ember 30
hana cobalt 111
| dina indigo 98
bruno cobalt 64
lina birch 38
eli ember 30
hana cobalt 111
| chen delta 43
gus juniper 27
hana juniper 78
farah fable 15
gus amber 59
bruno birch 83
ivan harbor 119
| chen delta 43
gus juniper 27
hana juniper 78
farah fable 15
bruno birch 83
ivan harbor 119
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059765-p1 | Retain only the first occurrence of each unique value in column 1, preserving the original input order. | !seen[$1]++ | dina indigo 98
dina harbor 2
bruno cobalt 64
bruno birch 18
lina birch 38
eli ember 30
hana cobalt 111
| dina indigo 98
bruno cobalt 64
lina birch 38
eli ember 30
hana cobalt 111
| chen delta 43
gus juniper 27
hana juniper 78
farah fable 15
gus amber 59
bruno birch 83
ivan harbor 119
| chen delta 43
gus juniper 27
hana juniper 78
farah fable 15
bruno birch 83
ivan harbor 119
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059765 | qwen/qwen3.7-plus |
awkweave-0059766 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 17 fable
jules 29 fable
gus 15 juniper
eli 9 amber
gus 21 amber
gus 16 indigo
chen 29 delta
lina 5 harbor
alice 4 indigo
| alice 17
jules 46
gus 61
eli 70
gus 91
gus 107
chen 136
lina 141
alice 145
| gus 5 harbor
chen 19 cobalt
eli 14 delta
farah 1 amber
kim 3 cobalt
chen 9 cobalt
jules 5 grove
hana 7 grove
| gus 5
chen 24
eli 38
farah 39
kim 42
chen 51
jules 56
hana 63
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059766-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} | alice 17 fable
jules 29 fable
gus 15 juniper
eli 9 amber
gus 21 amber
gus 16 indigo
chen 29 delta
lina 5 harbor
alice 4 indigo
| alice 17
jules 46
gus 61
eli 70
gus 91
gus 107
chen 136
lina 141
alice 145
| gus 5 harbor
chen 19 cobalt
eli 14 delta
farah 1 amber
kim 3 cobalt
chen 9 cobalt
jules 5 grove
hana 7 grove
| gus 5
chen 24
eli 38
farah 39
kim 42
chen 51
jules 56
hana 63
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059766 | qwen/qwen3.7-plus |
awkweave-0059767 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 18 17 ember
kim 20 24 birch
bruno 20 14 juniper
farah 29 19 ember
farah 2 10 amber
dina 3 5 birch
| hana 35
kim 44
bruno 34
farah 48
farah 12
dina 8
| farah 25 25 indigo
farah 4 16 harbor
gus 9 14 amber
farah 6 9 juniper
bruno 19 29 fable
farah 24 25 birch
| farah 50
farah 20
gus 23
farah 15
bruno 48
farah 49
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059767-p1 | For each line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | hana 18 17 ember
kim 20 24 birch
bruno 20 14 juniper
farah 29 19 ember
farah 2 10 amber
dina 3 5 birch
| hana 35
kim 44
bruno 34
farah 48
farah 12
dina 8
| farah 25 25 indigo
farah 4 16 harbor
gus 9 14 amber
farah 6 9 juniper
bruno 19 29 fable
farah 24 25 birch
| farah 50
farah 20
gus 23
farah 15
bruno 48
farah 49
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059767 | qwen/qwen3.7-plus |
awkweave-0059768 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | alice 24
jules 28
kim 14
dina 21
gus 17
farah 1
| alice pass
jules pass
kim fail
dina fail
gus fail
farah fail
| bruno 2
chen 5
lina 29
alice 21
eli 4
dina 27
farah 17
| bruno fail
chen fail
lina pass
alice fail
eli fail
dina pass
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059768-p1 | Show the first column; if the second column is 23 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=23?"pass":"fail")} | alice 24
jules 28
kim 14
dina 21
gus 17
farah 1
| alice pass
jules pass
kim fail
dina fail
gus fail
farah fail
| bruno 2
chen 5
lina 29
alice 21
eli 4
dina 27
farah 17
| bruno fail
chen fail
lina pass
alice fail
eli fail
dina pass
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059768 | qwen/qwen3.7-plus |
awkweave-0059769 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah birch 75
farah fable 29
jules grove 63
chen harbor 18
kim amber 77
farah ember 14
dina delta 37
alice indigo 31
hana birch 98
| FARAH
FARAH
JULES
CHEN
KIM
FARAH
DINA
ALICE
HANA
| alice cobalt 98
hana amber 48
lina amber 49
lina cobalt 23
chen fable 117
gus delta 47
lina cobalt 38
hana indigo 66
lina birch 93
jules fable 80
| ALICE
HANA
LINA
LINA
CHEN
GUS
LINA
HANA
LINA
JULES
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059769-p1 | Transform the first column to uppercase letters and print only that modified column. | {print toupper($1)} | farah birch 75
farah fable 29
jules grove 63
chen harbor 18
kim amber 77
farah ember 14
dina delta 37
alice indigo 31
hana birch 98
| FARAH
FARAH
JULES
CHEN
KIM
FARAH
DINA
ALICE
HANA
| alice cobalt 98
hana amber 48
lina amber 49
lina cobalt 23
chen fable 117
gus delta 47
lina cobalt 38
hana indigo 66
lina birch 93
jules fable 80
| ALICE
HANA
LINA
LINA
CHEN
GUS
LINA
HANA
LINA
JULES
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059769 | qwen/qwen3.7-plus |
awkweave-0059770 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | delta 101
harbor 39
birch 34
delta 44
fable 77
amber 100
ember 27
cobalt 33
| elta
arbo
irch
elta
able
mber
mber
obal
| ember 58
amber 40
ember 108
ember 59
ember 103
birch 57
indigo 108
ember 29
grove 102
| mber
mber
mber
mber
mber
irch
ndig
mber
rove
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059770-p1 | Extract and print a substring of length 4 from the first column, beginning at the second character. | {print substr($1,2,4)} | delta 101
harbor 39
birch 34
delta 44
fable 77
amber 100
ember 27
cobalt 33
| elta
arbo
irch
elta
able
mber
mber
obal
| ember 58
amber 40
ember 108
ember 59
ember 103
birch 57
indigo 108
ember 29
grove 102
| mber
mber
mber
mber
mber
irch
ndig
mber
rove
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059770 | qwen/qwen3.7-plus |
awkweave-0059771 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_harbor 85
harbor_amber 43
cobalt_cobalt 100
grove_harbor 43
ember_grove 69
cobalt_birch 4
ember_juniper 42
| indigo harbor
harbor amber
cobalt cobalt
grove harbor
ember grove
cobalt birch
ember juniper
| birch_indigo 79
amber_delta 103
juniper_fable 8
juniper_juniper 34
indigo_grove 50
cobalt_birch 80
| birch indigo
amber delta
juniper fable
juniper juniper
indigo grove
cobalt birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059771-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_harbor 85
harbor_amber 43
cobalt_cobalt 100
grove_harbor 43
ember_grove 69
cobalt_birch 4
ember_juniper 42
| indigo harbor
harbor amber
cobalt cobalt
grove harbor
ember grove
cobalt birch
ember juniper
| birch_indigo 79
amber_delta 103
juniper_fable 8
juniper_juniper 34
indigo_grove 50
cobalt_birch 80
| birch indigo
amber delta
juniper fable
juniper juniper
indigo grove
cobalt birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059771 | qwen/qwen3.7-plus |
awkweave-0059772 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim delta 49 pending
jules grove 115 paused
dina amber 112 failed
lina fable 49 closed
jules cobalt 56 active
gus grove 73 active
jules juniper 85 pending
dina grove 88 active
bruno juniper 45 paused
alice juniper 9 failed
| pending 49 delta kim
paused 115 grove jules
failed 112 amber dina
closed 49 fable lina
active 56 cobalt jules
active 73 grove gus
pending 85 juniper jules
active 88 grove dina
paused 45 juniper bruno
failed 9 juniper alice
| eli amber 61 pending
lina indigo 89 active
eli birch 50 paused
kim delta 117 closed
jules cobalt 59 ready
bruno grove 54 failed
eli amber 82 paused
jules delta 92 failed
| pending 61 amber eli
active 89 indigo lina
paused 50 birch eli
closed 117 delta kim
ready 59 cobalt jules
failed 54 grove bruno
paused 82 amber eli
failed 92 delta jules
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059772-p1 | Reverse the sequence of fields on each line and print the entire row. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim delta 49 pending
jules grove 115 paused
dina amber 112 failed
lina fable 49 closed
jules cobalt 56 active
gus grove 73 active
jules juniper 85 pending
dina grove 88 active
bruno juniper 45 paused
alice juniper 9 failed
| pending 49 delta kim
paused 115 grove jules
failed 112 amber dina
closed 49 fable lina
active 56 cobalt jules
active 73 grove gus
pending 85 juniper jules
active 88 grove dina
paused 45 juniper bruno
failed 9 juniper alice
| eli amber 61 pending
lina indigo 89 active
eli birch 50 paused
kim delta 117 closed
jules cobalt 59 ready
bruno grove 54 failed
eli amber 82 paused
jules delta 92 failed
| pending 61 amber eli
active 89 indigo lina
paused 50 birch eli
closed 117 delta kim
ready 59 cobalt jules
failed 54 grove bruno
paused 82 amber eli
failed 92 delta jules
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059772 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.