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-0058943 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | fable bruno 2
cobalt dina 21
cobalt kim 24
indigo ivan 29
cobalt farah 6
fable dina 13
| 29
| amber lina 7
delta hana 9
fable eli 19
amber chen 23
juniper bruno 18
ember alice 22
fable chen 6
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058943-p1 | Identify and output the maximum numerical value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | fable bruno 2
cobalt dina 21
cobalt kim 24
indigo ivan 29
cobalt farah 6
fable dina 13
| 29
| amber lina 7
delta hana 9
fable eli 19
amber chen 23
juniper bruno 18
ember alice 22
fable chen 6
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058943 | qwen/qwen3.7-plus |
awkweave-0058944 | Count all input records and print the total. | END{print NR} | eli 114
farah 36
alice 11
jules 63
chen 17
dina 48
| 6
| farah 35
dina 71
eli 76
bruno 4
alice 44
hana 21
kim 64
jules 56
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058944-p1 | Calculate the total number of input records and display the count. | END{print NR} | eli 114
farah 36
alice 11
jules 63
chen 17
dina 48
| 6
| farah 35
dina 71
eli 76
bruno 4
alice 44
hana 21
kim 64
jules 56
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058944 | qwen/qwen3.7-plus |
awkweave-0058945 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen cobalt 21
dina ember 101
chen indigo 60
alice ember 120
jules harbor 92
dina juniper 6
lina harbor 71
farah juniper 53
lina harbor 71
lina indigo 50
| chen cobalt 21
dina ember 101
chen indigo 60
alice ember 120
jules harbor 92
dina juniper 6
lina harbor 71
farah juniper 53
lina indigo 50
| lina juniper 88
dina fable 105
bruno grove 98
jules harbor 22
kim birch 64
dina juniper 32
dina fable 105
kim juniper 89
| lina juniper 88
dina fable 105
bruno grove 98
jules harbor 22
kim birch 64
dina juniper 32
kim juniper 89
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058945-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | chen cobalt 21
dina ember 101
chen indigo 60
alice ember 120
jules harbor 92
dina juniper 6
lina harbor 71
farah juniper 53
lina harbor 71
lina indigo 50
| chen cobalt 21
dina ember 101
chen indigo 60
alice ember 120
jules harbor 92
dina juniper 6
lina harbor 71
farah juniper 53
lina indigo 50
| lina juniper 88
dina fable 105
bruno grove 98
jules harbor 22
kim birch 64
dina juniper 32
dina fable 105
kim juniper 89
| lina juniper 88
dina fable 105
bruno grove 98
jules harbor 22
kim birch 64
dina juniper 32
kim juniper 89
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058945 | qwen/qwen3.7-plus |
awkweave-0058946 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim harbor 92
dina harbor 73
kim grove 61
bruno delta 109
ivan harbor 115
farah delta 112
| kim harbor 92
kim grove 61
bruno delta 109
| lina indigo 108
eli cobalt 3
gus amber 119
kim cobalt 92
jules birch 72
ivan grove 103
lina birch 56
| lina indigo 108
eli cobalt 3
gus amber 119
jules birch 72
ivan grove 103
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058946-p1 | Retain only the initial line for every unique value in the second column, keeping the original input order. | !seen[$2]++ | kim harbor 92
dina harbor 73
kim grove 61
bruno delta 109
ivan harbor 115
farah delta 112
| kim harbor 92
kim grove 61
bruno delta 109
| lina indigo 108
eli cobalt 3
gus amber 119
kim cobalt 92
jules birch 72
ivan grove 103
lina birch 56
| lina indigo 108
eli cobalt 3
gus amber 119
jules birch 72
ivan grove 103
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058946 | qwen/qwen3.7-plus |
awkweave-0058947 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 15 juniper
eli 1 fable
ivan 25 fable
lina 2 birch
hana 6 cobalt
gus 6 harbor
| lina 15
eli 16
ivan 41
lina 43
hana 49
gus 55
| bruno 5 ember
kim 21 amber
jules 14 juniper
lina 6 indigo
hana 22 birch
jules 28 indigo
hana 14 delta
ivan 10 grove
| bruno 5
kim 26
jules 40
lina 46
hana 68
jules 96
hana 110
ivan 120
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058947-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | lina 15 juniper
eli 1 fable
ivan 25 fable
lina 2 birch
hana 6 cobalt
gus 6 harbor
| lina 15
eli 16
ivan 41
lina 43
hana 49
gus 55
| bruno 5 ember
kim 21 amber
jules 14 juniper
lina 6 indigo
hana 22 birch
jules 28 indigo
hana 14 delta
ivan 10 grove
| bruno 5
kim 26
jules 40
lina 46
hana 68
jules 96
hana 110
ivan 120
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058947 | qwen/qwen3.7-plus |
awkweave-0058948 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 1 26 grove
kim 2 20 indigo
gus 23 1 delta
farah 28 3 birch
gus 13 17 cobalt
jules 27 8 juniper
ivan 23 15 fable
lina 17 30 cobalt
| gus 27
kim 22
gus 24
farah 31
gus 30
jules 35
ivan 38
lina 47
| alice 8 24 amber
gus 29 6 amber
farah 11 17 grove
ivan 26 16 delta
jules 22 28 fable
hana 21 14 ember
chen 13 13 juniper
bruno 13 12 cobalt
| alice 32
gus 35
farah 28
ivan 42
jules 50
hana 35
chen 26
bruno 25
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058948-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 1 26 grove
kim 2 20 indigo
gus 23 1 delta
farah 28 3 birch
gus 13 17 cobalt
jules 27 8 juniper
ivan 23 15 fable
lina 17 30 cobalt
| gus 27
kim 22
gus 24
farah 31
gus 30
jules 35
ivan 38
lina 47
| alice 8 24 amber
gus 29 6 amber
farah 11 17 grove
ivan 26 16 delta
jules 22 28 fable
hana 21 14 ember
chen 13 13 juniper
bruno 13 12 cobalt
| alice 32
gus 35
farah 28
ivan 42
jules 50
hana 35
chen 26
bruno 25
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058948 | qwen/qwen3.7-plus |
awkweave-0058949 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | jules 3
gus 5
gus 1
chen 7
farah 7
hana 6
| jules fail
gus fail
gus fail
chen fail
farah fail
hana fail
| dina 1
dina 22
farah 4
bruno 23
jules 26
chen 16
| dina fail
dina fail
farah fail
bruno fail
jules pass
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058949-p1 | Display the first column and output 'pass' if the second column is greater than or equal to 26; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | jules 3
gus 5
gus 1
chen 7
farah 7
hana 6
| jules fail
gus fail
gus fail
chen fail
farah fail
hana fail
| dina 1
dina 22
farah 4
bruno 23
jules 26
chen 16
| dina fail
dina fail
farah fail
bruno fail
jules pass
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058949 | qwen/qwen3.7-plus |
awkweave-0058950 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | jules cobalt 50
gus grove 33
chen cobalt 36
lina harbor 45
eli delta 58
alice juniper 106
bruno ember 41
ivan indigo 0
chen indigo 30
| JULES
GUS
CHEN
LINA
ELI
ALICE
BRUNO
IVAN
CHEN
| ivan delta 13
ivan harbor 32
chen harbor 66
alice ember 7
farah grove 105
jules juniper 63
ivan harbor 49
| IVAN
IVAN
CHEN
ALICE
FARAH
JULES
IVAN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058950-p1 | Transform the first column to uppercase letters and print only that modified column. | {print toupper($1)} | jules cobalt 50
gus grove 33
chen cobalt 36
lina harbor 45
eli delta 58
alice juniper 106
bruno ember 41
ivan indigo 0
chen indigo 30
| JULES
GUS
CHEN
LINA
ELI
ALICE
BRUNO
IVAN
CHEN
| ivan delta 13
ivan harbor 32
chen harbor 66
alice ember 7
farah grove 105
jules juniper 63
ivan harbor 49
| IVAN
IVAN
CHEN
ALICE
FARAH
JULES
IVAN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058950 | qwen/qwen3.7-plus |
awkweave-0058951 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | juniper 38
indigo 65
amber 2
indigo 37
amber 111
juniper 5
amber 80
grove 60
| unip
ndig
mber
ndig
mber
unip
mber
rove
| birch 79
delta 62
birch 63
harbor 92
ember 94
harbor 90
fable 92
birch 84
ember 87
| irch
elta
irch
arbo
mber
arbo
able
irch
mber
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058951-p1 | Extract and print a substring of 4 characters from the first column, starting at the second character. | {print substr($1,2,4)} | juniper 38
indigo 65
amber 2
indigo 37
amber 111
juniper 5
amber 80
grove 60
| unip
ndig
mber
ndig
mber
unip
mber
rove
| birch 79
delta 62
birch 63
harbor 92
ember 94
harbor 90
fable 92
birch 84
ember 87
| irch
elta
irch
arbo
mber
arbo
able
irch
mber
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058951 | qwen/qwen3.7-plus |
awkweave-0058952 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_fable 56
juniper_cobalt 9
indigo_ember 57
juniper_cobalt 30
ember_indigo 19
delta_juniper 17
| ember fable
juniper cobalt
indigo ember
juniper cobalt
ember indigo
delta juniper
| harbor_ember 6
grove_fable 40
harbor_amber 82
fable_harbor 90
fable_delta 82
grove_indigo 29
harbor_fable 13
cobalt_birch 21
amber_ember 82
| harbor ember
grove fable
harbor amber
fable harbor
fable delta
grove indigo
harbor fable
cobalt birch
amber ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058952-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | ember_fable 56
juniper_cobalt 9
indigo_ember 57
juniper_cobalt 30
ember_indigo 19
delta_juniper 17
| ember fable
juniper cobalt
indigo ember
juniper cobalt
ember indigo
delta juniper
| harbor_ember 6
grove_fable 40
harbor_amber 82
fable_harbor 90
fable_delta 82
grove_indigo 29
harbor_fable 13
cobalt_birch 21
amber_ember 82
| harbor ember
grove fable
harbor amber
fable harbor
fable delta
grove indigo
harbor fable
cobalt birch
amber ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058952 | qwen/qwen3.7-plus |
awkweave-0058953 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | hana fable 78 active
ivan amber 35 ready
eli ember 48 failed
farah amber 74 active
eli birch 61 paused
kim harbor 91 active
bruno delta 62 pending
| active 78 fable hana
ready 35 amber ivan
failed 48 ember eli
active 74 amber farah
paused 61 birch eli
active 91 harbor kim
pending 62 delta bruno
| dina amber 95 failed
alice indigo 60 paused
kim amber 37 closed
gus delta 69 ready
jules juniper 84 failed
hana grove 39 ready
| failed 95 amber dina
paused 60 indigo alice
closed 37 amber kim
ready 69 delta gus
failed 84 juniper jules
ready 39 grove hana
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058953-p1 | Reverse the sequence of fields in each line and print all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | hana fable 78 active
ivan amber 35 ready
eli ember 48 failed
farah amber 74 active
eli birch 61 paused
kim harbor 91 active
bruno delta 62 pending
| active 78 fable hana
ready 35 amber ivan
failed 48 ember eli
active 74 amber farah
paused 61 birch eli
active 91 harbor kim
pending 62 delta bruno
| dina amber 95 failed
alice indigo 60 paused
kim amber 37 closed
gus delta 69 ready
jules juniper 84 failed
hana grove 39 ready
| failed 95 amber dina
paused 60 indigo alice
closed 37 amber kim
ready 69 delta gus
failed 84 juniper jules
ready 39 grove hana
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058953 | qwen/qwen3.7-plus |
awkweave-0058954 | Print the number of whitespace-separated fields on each line. | {print NF} | alice ember 66 closed
chen birch 58 active
alice juniper 3 closed
bruno fable 6 paused
farah ember 109 active
lina birch 71 failed
jules birch 109 pending
| 4
4
4
4
4
4
4
| eli indigo 38 ready
chen ember 65 pending
hana delta 55 paused
kim juniper 79 active
lina birch 105 closed
bruno amber 98 active
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058954-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | alice ember 66 closed
chen birch 58 active
alice juniper 3 closed
bruno fable 6 paused
farah ember 109 active
lina birch 71 failed
jules birch 109 pending
| 4
4
4
4
4
4
4
| eli indigo 38 ready
chen ember 65 pending
hana delta 55 paused
kim juniper 79 active
lina birch 105 closed
bruno amber 98 active
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058954 | qwen/qwen3.7-plus |
awkweave-0058955 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | jules delta 105
gus delta 41
eli beta 89
farah alpha 25
gus alpha 42
bruno gamma 99
| delta 2
beta 1
alpha 2
gamma 1
| hana beta 110
bruno gamma 102
alice beta 38
jules alpha 39
farah gamma 68
ivan alpha 72
eli delta 22
gus gamma 68
| beta 2
gamma 3
alpha 2
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058955-p1 | Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order of their first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | jules delta 105
gus delta 41
eli beta 89
farah alpha 25
gus alpha 42
bruno gamma 99
| delta 2
beta 1
alpha 2
gamma 1
| hana beta 110
bruno gamma 102
alice beta 38
jules alpha 39
farah gamma 68
ivan alpha 72
eli delta 22
gus gamma 68
| beta 2
gamma 3
alpha 2
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058955 | qwen/qwen3.7-plus |
awkweave-0058956 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | bruno alpha 6
kim alpha 26
lina gamma 12
chen delta 7
alice gamma 12
ivan gamma 2
lina delta 11
| alpha 32
gamma 26
delta 18
| dina gamma 8
chen delta 7
bruno gamma 8
chen alpha 27
hana alpha 25
lina beta 10
| gamma 16
delta 7
alpha 52
beta 10
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058956-p1 | Calculate the sum of values in column 3 grouped by column 2, listing 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]]} | bruno alpha 6
kim alpha 26
lina gamma 12
chen delta 7
alice gamma 12
ivan gamma 2
lina delta 11
| alpha 32
gamma 26
delta 18
| dina gamma 8
chen delta 7
bruno gamma 8
chen alpha 27
hana alpha 25
lina beta 10
| gamma 16
delta 7
alpha 52
beta 10
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058956 | qwen/qwen3.7-plus |
awkweave-0058957 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha birch 71
alpha amber 17
alpha amber 93
alpha cobalt 51
alpha ember 61
alpha ember 59
delta ember 83
alpha ember 93
gamma ember 66
beta grove 98
| alpha 7
| alpha birch 72
beta cobalt 49
gamma amber 110
delta grove 64
delta grove 18
gamma indigo 19
gamma cobalt 63
alpha birch 57
delta ember 34
| alpha 2
gamma 3
delta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058957-p1 | List each value from column 1 that appears more than once, along with its frequency, sorted by first occurrence. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha birch 71
alpha amber 17
alpha amber 93
alpha cobalt 51
alpha ember 61
alpha ember 59
delta ember 83
alpha ember 93
gamma ember 66
beta grove 98
| alpha 7
| alpha birch 72
beta cobalt 49
gamma amber 110
delta grove 64
delta grove 18
gamma indigo 19
gamma cobalt 63
alpha birch 57
delta ember 34
| alpha 2
gamma 3
delta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058957 | qwen/qwen3.7-plus |
awkweave-0058958 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | display_name record_id note score
r001 gus 18 failed
r002 ivan 1 failed
r003 hana 1 pending
r004 gus 11 failed
r005 eli 1 active
r006 chen 4 ready
| failed
failed
pending
failed
active
ready
| display_name record_id note score
r001 ivan 4 pending
r002 chen 14 pending
r003 eli 26 ready
r004 hana 14 ready
r005 lina 15 paused
r006 bruno 11 active
| pending
pending
ready
ready
paused
active
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058958-p1 | Skip the header row and output the values from the score column for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | display_name record_id note score
r001 gus 18 failed
r002 ivan 1 failed
r003 hana 1 pending
r004 gus 11 failed
r005 eli 1 active
r006 chen 4 ready
| failed
failed
pending
failed
active
ready
| display_name record_id note score
r001 ivan 4 pending
r002 chen 14 pending
r003 eli 26 ready
r004 hana 14 ready
r005 lina 15 paused
r006 bruno 11 active
| pending
pending
ready
ready
paused
active
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058958 | qwen/qwen3.7-plus |
awkweave-0058959 | The first row is a header. Print display_name for data rows whose score is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 farah 9 paused
r002 ivan 11 pending
r003 bruno 4 failed
r004 alice 23 failed
r005 kim 27 closed
r006 hana 4 closed
r007 jules 23 paused
r008 hana 28 pending
| alice
kim
jules
hana
| record_id display_name score state
r001 bruno 6 closed
r002 eli 14 closed
r003 kim 30 pending
r004 kim 28 ready
r005 eli 18 failed
r006 eli 10 closed
| eli
kim
kim
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058959-p1 | Ignoring the header, print the display_name field for any row where the score is strictly greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 farah 9 paused
r002 ivan 11 pending
r003 bruno 4 failed
r004 alice 23 failed
r005 kim 27 closed
r006 hana 4 closed
r007 jules 23 paused
r008 hana 28 pending
| alice
kim
jules
hana
| record_id display_name score state
r001 bruno 6 closed
r002 eli 14 closed
r003 kim 30 pending
r004 kim 28 ready
r005 eli 18 failed
r006 eli 10 closed
| eli
kim
kim
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058959 | qwen/qwen3.7-plus |
awkweave-0058960 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | kim 21 paused
farah 1 closed
kim 10 failed
dina 19 pending
lina 7 pending
gus 6 pending
| paused
closed
failed
pending
pending
pending
| farah 28 failed
alice 3 closed
lina 19 active
hana 13 pending
eli 7 active
kim 13 active
farah 26 active
| failed
closed
active
pending
active
active
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058960-p1 | Extract and print the third field from each tab-separated record. | BEGIN{FS=OFS="\t"}{print $3} | kim 21 paused
farah 1 closed
kim 10 failed
dina 19 pending
lina 7 pending
gus 6 pending
| paused
closed
failed
pending
pending
pending
| farah 28 failed
alice 3 closed
lina 19 active
hana 13 pending
eli 7 active
kim 13 active
farah 26 active
| failed
closed
active
pending
active
active
active
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058960 | qwen/qwen3.7-plus |
awkweave-0058961 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10. | BEGIN{FS=OFS=","}$2>10{print $1} | ivan,10,closed
dina,22,active
lina,27,failed
bruno,17,failed
chen,15,ready
alice,29,pending
bruno,13,failed
eli,9,ready
| dina
lina
bruno
chen
alice
bruno
| jules,4,ready
kim,30,failed
alice,1,pending
lina,30,pending
kim,11,ready
chen,3,active
kim,1,active
lina,5,closed
bruno,26,paused
| kim
lina
kim
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058961-p1 | For simple comma-separated input without quoted fields, output the first column whenever the second column's value is greater than 10. | BEGIN{FS=OFS=","}$2>10{print $1} | ivan,10,closed
dina,22,active
lina,27,failed
bruno,17,failed
chen,15,ready
alice,29,pending
bruno,13,failed
eli,9,ready
| dina
lina
bruno
chen
alice
bruno
| jules,4,ready
kim,30,failed
alice,1,pending
lina,30,pending
kim,11,ready
chen,3,active
kim,1,active
lina,5,closed
bruno,26,paused
| kim
lina
kim
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058961 | qwen/qwen3.7-plus |
awkweave-0058962 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | hana ember 47
lina juniper 115
ivan birch 49
lina ember 74
kim cobalt 3
bruno cobalt 92
| hana ember 47
lina juniper 115
ivan birch 49
lina ember 74
kim cobalt 3
bruno cobalt 92
| chen juniper 18
jules ember 16
kim ember 24
jules cobalt 79
bruno cobalt 76
chen juniper 118
ivan indigo 99
bruno delta 104
dina juniper 27
farah indigo 47
| chen juniper 18
jules ember 16
kim ember 24
jules cobalt 79
bruno cobalt 76
chen juniper 118
ivan indigo 99
bruno delta 104
dina juniper 27
farah indigo 47
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058962-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | hana ember 47
lina juniper 115
ivan birch 49
lina ember 74
kim cobalt 3
bruno cobalt 92
| hana ember 47
lina juniper 115
ivan birch 49
lina ember 74
kim cobalt 3
bruno cobalt 92
| chen juniper 18
jules ember 16
kim ember 24
jules cobalt 79
bruno cobalt 76
chen juniper 118
ivan indigo 99
bruno delta 104
dina juniper 27
farah indigo 47
| chen juniper 18
jules ember 16
kim ember 24
jules cobalt 79
bruno cobalt 76
chen juniper 118
ivan indigo 99
bruno delta 104
dina juniper 27
farah indigo 47
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058962 | qwen/qwen3.7-plus |
awkweave-0058963 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno ember 5 ready
eli birch 38 closed
ivan harbor 1 failed
jules birch 49 closed
ivan juniper 101 ready
chen grove 36 closed
hana harbor 29 closed
kim delta 44 pending
farah ember 90 ready
| ivan juniper 101 ready
| eli fable 22 closed
alice birch 64 pending
ivan harbor 109 ready
bruno ember 116 failed
bruno indigo 109 active
hana birch 22 pending
| bruno indigo 109 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058963-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | bruno ember 5 ready
eli birch 38 closed
ivan harbor 1 failed
jules birch 49 closed
ivan juniper 101 ready
chen grove 36 closed
hana harbor 29 closed
kim delta 44 pending
farah ember 90 ready
| ivan juniper 101 ready
| eli fable 22 closed
alice birch 64 pending
ivan harbor 109 ready
bruno ember 116 failed
bruno indigo 109 active
hana birch 22 pending
| bruno indigo 109 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058963 | qwen/qwen3.7-plus |
awkweave-0058964 | Print every 4th line starting at line 3 (then line 7, and so on). | NR%4==3 | bruno 94
dina 95
lina 48
bruno 60
lina 98
kim 15
jules 63
farah 92
chen 27
chen 19
| lina 48
jules 63
| jules 110
dina 13
dina 7
farah 52
alice 4
dina 106
farah 92
eli 0
farah 33
| dina 7
farah 92
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058964-p1 | Print lines 3, 7, 11, and so on (every fourth line starting from the third). | NR%4==3 | bruno 94
dina 95
lina 48
bruno 60
lina 98
kim 15
jules 63
farah 92
chen 27
chen 19
| lina 48
jules 63
| jules 110
dina 13
dina 7
farah 52
alice 4
dina 106
farah 92
eli 0
farah 33
| dina 7
farah 92
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058964 | qwen/qwen3.7-plus |
awkweave-0058965 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha ember 63
beta indigo 61
gamma delta 55
beta birch 39
alpha delta 95
alpha birch 53
beta delta 14
| 3
| delta harbor 23
delta harbor 23
gamma ember 17
beta indigo 56
delta juniper 74
gamma harbor 37
gamma grove 2
gamma amber 108
alpha juniper 59
gamma delta 35
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058965-p1 | Determine the number of unique values in the first column and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha ember 63
beta indigo 61
gamma delta 55
beta birch 39
alpha delta 95
alpha birch 53
beta delta 14
| 3
| delta harbor 23
delta harbor 23
gamma ember 17
beta indigo 56
delta juniper 74
gamma harbor 37
gamma grove 2
gamma amber 108
alpha juniper 59
gamma delta 35
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058965 | qwen/qwen3.7-plus |
awkweave-0058966 | 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 17 0
chen 29 19
eli 2 11
alice 4 19
alice 3 25
hana 5 24
eli 28 12
jules 30 2
gus 20 27
| chen 1.53
eli 0.18
alice 0.21
alice 0.12
hana 0.21
eli 2.33
jules 15.00
gus 0.74
| alice 5 0
jules 1 18
alice 15 24
chen 12 18
eli 18 21
eli 2 23
chen 26 23
alice 26 24
kim 22 17
kim 18 7
| jules 0.06
alice 0.62
chen 0.67
eli 0.86
eli 0.09
chen 1.13
alice 1.08
kim 1.29
kim 2.57
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058966-p1 | For each row, output the first and second columns divided by the third column formatted to two decimal places, omitting any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 17 0
chen 29 19
eli 2 11
alice 4 19
alice 3 25
hana 5 24
eli 28 12
jules 30 2
gus 20 27
| chen 1.53
eli 0.18
alice 0.21
alice 0.12
hana 0.21
eli 2.33
jules 15.00
gus 0.74
| alice 5 0
jules 1 18
alice 15 24
chen 12 18
eli 18 21
eli 2 23
chen 26 23
alice 26 24
kim 22 17
kim 18 7
| jules 0.06
alice 0.62
chen 0.67
eli 0.86
eli 0.09
chen 1.13
alice 1.08
kim 1.29
kim 2.57
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058966 | qwen/qwen3.7-plus |
awkweave-0058967 | 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]} | kim birch 22
eli cobalt 20
lina juniper 6
eli delta 12
dina grove 24
bruno ember 29
farah fable 8
jules delta 16
kim grove 13
ivan delta 11
| bruno ember 29
dina grove 24
kim birch 22
| dina indigo 4
gus ember 14
alice ember 1
farah cobalt 21
kim harbor 23
alice delta 19
ivan fable 30
chen grove 11
dina birch 26
bruno ember 3
| ivan fable 30
dina birch 26
kim harbor 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058967-p1 | Display the three full records with the largest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim birch 22
eli cobalt 20
lina juniper 6
eli delta 12
dina grove 24
bruno ember 29
farah fable 8
jules delta 16
kim grove 13
ivan delta 11
| bruno ember 29
dina grove 24
kim birch 22
| dina indigo 4
gus ember 14
alice ember 1
farah cobalt 21
kim harbor 23
alice delta 19
ivan fable 30
chen grove 11
dina birch 26
bruno ember 3
| ivan fable 30
dina birch 26
kim harbor 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058967 | qwen/qwen3.7-plus |
awkweave-0058968 | Print column 5 followed by column 4 for every record. | {print $5, $4} | juniper chen ivan birch cobalt paused
delta chen alice fable cobalt paused
birch eli ivan ember indigo pending
cobalt kim hana indigo cobalt closed
fable alice chen ember amber closed
delta lina farah harbor fable active
indigo ivan kim delta delta pending
grove kim bruno juniper amber failed
| cobalt birch
cobalt fable
indigo ember
cobalt indigo
amber ember
fable harbor
delta delta
amber juniper
| ember farah chen grove indigo closed
cobalt kim lina juniper grove paused
harbor lina lina amber amber active
cobalt chen chen harbor grove ready
birch chen lina amber indigo ready
grove gus kim ember delta pending
| indigo grove
grove juniper
amber amber
grove harbor
indigo amber
delta ember
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058968-p1 | Output column 5 followed by column 4 for every record. | {print $5, $4} | juniper chen ivan birch cobalt paused
delta chen alice fable cobalt paused
birch eli ivan ember indigo pending
cobalt kim hana indigo cobalt closed
fable alice chen ember amber closed
delta lina farah harbor fable active
indigo ivan kim delta delta pending
grove kim bruno juniper amber failed
| cobalt birch
cobalt fable
indigo ember
cobalt indigo
amber ember
fable harbor
delta delta
amber juniper
| ember farah chen grove indigo closed
cobalt kim lina juniper grove paused
harbor lina lina amber amber active
cobalt chen chen harbor grove ready
birch chen lina amber indigo ready
grove gus kim ember delta pending
| indigo grove
grove juniper
amber amber
grove harbor
indigo amber
delta ember
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058968 | qwen/qwen3.7-plus |
awkweave-0058969 | Print the last field of every input line. | {print $NF} | ready cobalt amber fable
ready fable delta indigo
pending birch fable harbor
ready delta juniper harbor
ready ember delta amber
closed fable delta delta
closed cobalt delta juniper
paused delta cobalt grove
pending birch amber delta
| fable
indigo
harbor
harbor
amber
delta
juniper
grove
delta
| active juniper juniper delta
pending grove harbor amber
active grove fable grove
failed indigo fable delta
active indigo birch fable
ready fable harbor amber
failed ember indigo birch
closed cobalt juniper ember
| delta
amber
grove
delta
fable
amber
birch
ember
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058969-p1 | Print the final field from each input line. | {print $NF} | ready cobalt amber fable
ready fable delta indigo
pending birch fable harbor
ready delta juniper harbor
ready ember delta amber
closed fable delta delta
closed cobalt delta juniper
paused delta cobalt grove
pending birch amber delta
| fable
indigo
harbor
harbor
amber
delta
juniper
grove
delta
| active juniper juniper delta
pending grove harbor amber
active grove fable grove
failed indigo fable delta
active indigo birch fable
ready fable harbor amber
failed ember indigo birch
closed cobalt juniper ember
| delta
amber
grove
delta
fable
amber
birch
ember
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058969 | qwen/qwen3.7-plus |
awkweave-0058970 | Print the complete records where column 1 is at least 50. | $1 >= 50 | 64 fable lina kim
67 cobalt hana chen
110 birch hana hana
25 harbor chen farah
78 juniper lina jules
4 harbor jules dina
| 64 fable lina kim
67 cobalt hana chen
110 birch hana hana
78 juniper lina jules
| 82 cobalt hana eli
88 indigo eli kim
95 juniper kim kim
108 indigo gus kim
26 cobalt chen lina
115 cobalt chen alice
30 amber kim farah
| 82 cobalt hana eli
88 indigo eli kim
95 juniper kim kim
108 indigo gus kim
115 cobalt chen alice
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058970-p1 | Output the full records where the value in column 1 is greater than or equal to 50. | $1 >= 50 | 64 fable lina kim
67 cobalt hana chen
110 birch hana hana
25 harbor chen farah
78 juniper lina jules
4 harbor jules dina
| 64 fable lina kim
67 cobalt hana chen
110 birch hana hana
78 juniper lina jules
| 82 cobalt hana eli
88 indigo eli kim
95 juniper kim kim
108 indigo gus kim
26 cobalt chen lina
115 cobalt chen alice
30 amber kim farah
| 82 cobalt hana eli
88 indigo eli kim
95 juniper kim kim
108 indigo gus kim
115 cobalt chen alice
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058970 | qwen/qwen3.7-plus |
awkweave-0058971 | Show whole lines whose 3rd field is between 12 and 18, inclusive. | $3 >= 12 && $3 <= 18 | ivan paused 15 ready
hana closed 25 failed
farah active 24 paused
dina closed 7 closed
kim paused 23 paused
farah pending 22 ready
hana closed 21 active
eli failed 25 closed
| ivan paused 15 ready
| bruno pending 7 paused
dina active 15 active
ivan failed 26 ready
alice pending 9 ready
gus closed 1 paused
gus closed 27 pending
ivan failed 2 ready
| dina active 15 active
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058971-p1 | Display entire lines where the third field falls within the inclusive range of 12 to 18. | $3 >= 12 && $3 <= 18 | ivan paused 15 ready
hana closed 25 failed
farah active 24 paused
dina closed 7 closed
kim paused 23 paused
farah pending 22 ready
hana closed 21 active
eli failed 25 closed
| ivan paused 15 ready
| bruno pending 7 paused
dina active 15 active
ivan failed 26 ready
alice pending 9 ready
gus closed 1 paused
gus closed 27 pending
ivan failed 2 ready
| dina active 15 active
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058971 | qwen/qwen3.7-plus |
awkweave-0058972 | Print column 3 only for rows where column 2 is exactly closed. | $2 == "closed"{print $3} | 91 failed alice delta
116 pending alice indigo
108 closed ivan juniper
117 closed ivan delta
74 failed eli ember
1 failed hana indigo
98 active farah fable
62 failed dina fable
93 paused jules harbor
| ivan
ivan
| 26 closed ivan harbor
1 ready bruno cobalt
29 ready lina harbor
37 paused eli delta
116 failed alice cobalt
98 active chen juniper
42 ready hana birch
69 closed kim juniper
76 ready chen grove
| ivan
kim
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058972-p1 | Print only column 3 for rows where column 2 is exactly 'closed'. | $2 == "closed"{print $3} | 91 failed alice delta
116 pending alice indigo
108 closed ivan juniper
117 closed ivan delta
74 failed eli ember
1 failed hana indigo
98 active farah fable
62 failed dina fable
93 paused jules harbor
| ivan
ivan
| 26 closed ivan harbor
1 ready bruno cobalt
29 ready lina harbor
37 paused eli delta
116 failed alice cobalt
98 active chen juniper
42 ready hana birch
69 closed kim juniper
76 ready chen grove
| ivan
kim
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058972 | qwen/qwen3.7-plus |
awkweave-0058973 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | INFO 71 indigo
WARN 86 grove
DEBUG 81 harbor
WARN 44 juniper
ERROR 44 fable
WARN 49 ember
WARN 112 birch
WARN 11 ember
INFO 52 harbor
WARN 36 indigo
| INFO 71 indigo
INFO 52 harbor
| INFO 67 ember
INFO 120 delta
ERROR 9 ember
DEBUG 28 indigo
WARN 77 delta
INFO 118 cobalt
DEBUG 42 birch
INFO 41 ember
INFO 117 juniper
| INFO 67 ember
INFO 120 delta
INFO 118 cobalt
INFO 41 ember
INFO 117 juniper
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058973-p1 | Output all fields from lines where the first field starts with 'INFO'. | $1 ~ /^INFO/ | INFO 71 indigo
WARN 86 grove
DEBUG 81 harbor
WARN 44 juniper
ERROR 44 fable
WARN 49 ember
WARN 112 birch
WARN 11 ember
INFO 52 harbor
WARN 36 indigo
| INFO 71 indigo
INFO 52 harbor
| INFO 67 ember
INFO 120 delta
ERROR 9 ember
DEBUG 28 indigo
WARN 77 delta
INFO 118 cobalt
DEBUG 42 birch
INFO 41 ember
INFO 117 juniper
| INFO 67 ember
INFO 120 delta
INFO 118 cobalt
INFO 41 ember
INFO 117 juniper
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058973 | qwen/qwen3.7-plus |
awkweave-0058974 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | delta 112 active
delta 92 failed
delta 87 paused
cobalt 47 paused
grove 17 paused
ember 61 paused
cobalt 112 active
indigo 999 active
| delta 112 active
delta 92 failed
delta 87 paused
cobalt 47 paused
grove 17 paused
ember 61 paused
cobalt 112 active
| indigo 9 closed
fable 32 closed
delta 27 failed
ember 45 pending
grove 53 pending
harbor 22 active
indigo 999 active
| fable 32 closed
delta 27 failed
ember 45 pending
grove 53 pending
harbor 22 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058974-p1 | Print every line that does not contain the exact string 'indigo'. | $0 !~ /indigo/ | delta 112 active
delta 92 failed
delta 87 paused
cobalt 47 paused
grove 17 paused
ember 61 paused
cobalt 112 active
indigo 999 active
| delta 112 active
delta 92 failed
delta 87 paused
cobalt 47 paused
grove 17 paused
ember 61 paused
cobalt 112 active
| indigo 9 closed
fable 32 closed
delta 27 failed
ember 45 pending
grove 53 pending
harbor 22 active
indigo 999 active
| fable 32 closed
delta 27 failed
ember 45 pending
grove 53 pending
harbor 22 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058974 | qwen/qwen3.7-plus |
awkweave-0058975 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | gus indigo 19
hana grove 31
ivan indigo 25
bruno fable 88
bruno ember 51
eli fable 49
dina amber 56
alice juniper 45
hana indigo 108
| ivan indigo 25
bruno fable 88
| ivan juniper 9
dina ember 74
kim indigo 47
dina ember 57
eli birch 7
alice delta 43
| kim indigo 47
dina ember 57
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058975-p1 | Output lines 3 through 4, inclusive of both endpoints. | NR >= 3 && NR <= 4 | gus indigo 19
hana grove 31
ivan indigo 25
bruno fable 88
bruno ember 51
eli fable 49
dina amber 56
alice juniper 45
hana indigo 108
| ivan indigo 25
bruno fable 88
| ivan juniper 9
dina ember 74
kim indigo 47
dina ember 57
eli birch 7
alice delta 43
| kim indigo 47
dina ember 57
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058975 | qwen/qwen3.7-plus |
awkweave-0058976 | Output only the first 2 records. | NR <= 2 | gus 52 indigo
eli 119 amber
farah 102 amber
ivan 100 delta
ivan 72 indigo
bruno 75 birch
gus 79 grove
kim 49 grove
dina 25 cobalt
| gus 52 indigo
eli 119 amber
| lina 106 juniper
kim 19 grove
dina 72 amber
hana 45 fable
alice 116 harbor
ivan 0 amber
jules 25 indigo
| lina 106 juniper
kim 19 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058976-p1 | Output only the first 2 records. | NR <= 2 | gus 52 indigo
eli 119 amber
farah 102 amber
ivan 100 delta
ivan 72 indigo
bruno 75 birch
gus 79 grove
kim 49 grove
dina 25 cobalt
| gus 52 indigo
eli 119 amber
| lina 106 juniper
kim 19 grove
dina 72 amber
hana 45 fable
alice 116 harbor
ivan 0 amber
jules 25 indigo
| lina 106 juniper
kim 19 grove
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0058976 | qwen/qwen3.7-plus |
awkweave-0058977 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 61 indigo
farah 94 indigo
alice 21 juniper
bruno 112 harbor
gus 118 birch
lina 75 birch
lina 112 birch
bruno 115 birch
ivan 90 grove
| farah 94 indigo
alice 21 juniper
bruno 112 harbor
gus 118 birch
lina 75 birch
lina 112 birch
bruno 115 birch
ivan 90 grove
| kim 101 amber
bruno 43 harbor
lina 42 birch
ivan 39 harbor
farah 68 cobalt
ivan 0 cobalt
hana 13 harbor
hana 30 indigo
| bruno 43 harbor
lina 42 birch
ivan 39 harbor
farah 68 cobalt
ivan 0 cobalt
hana 13 harbor
hana 30 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058977-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | lina 61 indigo
farah 94 indigo
alice 21 juniper
bruno 112 harbor
gus 118 birch
lina 75 birch
lina 112 birch
bruno 115 birch
ivan 90 grove
| farah 94 indigo
alice 21 juniper
bruno 112 harbor
gus 118 birch
lina 75 birch
lina 112 birch
bruno 115 birch
ivan 90 grove
| kim 101 amber
bruno 43 harbor
lina 42 birch
ivan 39 harbor
farah 68 cobalt
ivan 0 cobalt
hana 13 harbor
hana 30 indigo
| bruno 43 harbor
lina 42 birch
ivan 39 harbor
farah 68 cobalt
ivan 0 cobalt
hana 13 harbor
hana 30 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058977 | qwen/qwen3.7-plus |
awkweave-0058978 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | gus active 26
dina closed 16
eli ready 86
farah pending 33
eli ready 11
farah closed 74
dina paused 118
ivan active 57
| 1
| kim active 44
dina pending 68
eli closed 60
bruno paused 53
bruno paused 45
bruno active 43
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058978-p1 | Output the count of entries where column 2 is 'pending', defaulting to 0 if none exist. | $2 == "pending"{n++}END{print n+0} | gus active 26
dina closed 16
eli ready 86
farah pending 33
eli ready 11
farah closed 74
dina paused 118
ivan active 57
| 1
| kim active 44
dina pending 68
eli closed 60
bruno paused 53
bruno paused 45
bruno active 43
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058978 | qwen/qwen3.7-plus |
awkweave-0058979 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | amber alice 9
indigo ivan 20
amber jules 27
birch farah 5
grove alice 20
indigo farah 3
ember chen 15
cobalt hana 28
grove eli 21
birch gus 25
| 173
| harbor chen 25
birch lina 4
indigo bruno 20
ember kim 7
birch ivan 18
grove chen 9
delta ivan 27
birch hana 23
grove hana 12
| 145
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058979-p1 | Compute and display the total sum of integer values found in column 3. | {s+=$3}END{print s+0} | amber alice 9
indigo ivan 20
amber jules 27
birch farah 5
grove alice 20
indigo farah 3
ember chen 15
cobalt hana 28
grove eli 21
birch gus 25
| 173
| harbor chen 25
birch lina 4
indigo bruno 20
ember kim 7
birch ivan 18
grove chen 9
delta ivan 27
birch hana 23
grove hana 12
| 145
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058979 | qwen/qwen3.7-plus |
awkweave-0058980 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 19 juniper hana
29 ember bruno
11 ember alice
28 birch bruno
30 ember lina
10 grove alice
17 juniper hana
5 harbor eli
15 grove jules
| 18.22
| 13 birch eli
12 juniper gus
29 juniper kim
11 grove gus
2 juniper hana
29 ember hana
18 indigo alice
17 grove ivan
7 harbor alice
| 15.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058980-p1 | Display the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 19 juniper hana
29 ember bruno
11 ember alice
28 birch bruno
30 ember lina
10 grove alice
17 juniper hana
5 harbor eli
15 grove jules
| 18.22
| 13 birch eli
12 juniper gus
29 juniper kim
11 grove gus
2 juniper hana
29 ember hana
18 indigo alice
17 grove ivan
7 harbor alice
| 15.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058980 | qwen/qwen3.7-plus |
awkweave-0058981 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 6 fable
jules 4 juniper
dina 27 grove
farah 7 cobalt
farah 7 indigo
gus 16 indigo
| 4
| eli 9 indigo
lina 30 juniper
hana 15 cobalt
chen 26 indigo
kim 19 birch
lina 1 fable
kim 7 amber
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058981-p1 | Identify and output the minimum numeric value present in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 6 fable
jules 4 juniper
dina 27 grove
farah 7 cobalt
farah 7 indigo
gus 16 indigo
| 4
| eli 9 indigo
lina 30 juniper
hana 15 cobalt
chen 26 indigo
kim 19 birch
lina 1 fable
kim 7 amber
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058981 | qwen/qwen3.7-plus |
awkweave-0058982 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo dina 18
birch kim 11
harbor gus 30
amber gus 11
amber hana 11
harbor eli 6
| 30
| ember gus 7
indigo gus 13
ember eli 14
harbor gus 16
amber ivan 5
cobalt kim 7
delta gus 15
cobalt kim 17
| 17
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058982-p1 | Identify and output the maximum numeric value present in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo dina 18
birch kim 11
harbor gus 30
amber gus 11
amber hana 11
harbor eli 6
| 30
| ember gus 7
indigo gus 13
ember eli 14
harbor gus 16
amber ivan 5
cobalt kim 7
delta gus 15
cobalt kim 17
| 17
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058982 | qwen/qwen3.7-plus |
awkweave-0058983 | Count all input records and print the total. | END{print NR} | ivan 102
gus 12
hana 47
bruno 26
farah 19
lina 26
lina 54
gus 92
jules 69
| 9
| jules 105
eli 35
eli 20
bruno 81
lina 74
alice 80
hana 0
eli 91
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058983-p1 | Count the total number of input records and print the result. | END{print NR} | ivan 102
gus 12
hana 47
bruno 26
farah 19
lina 26
lina 54
gus 92
jules 69
| 9
| jules 105
eli 35
eli 20
bruno 81
lina 74
alice 80
hana 0
eli 91
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058983 | qwen/qwen3.7-plus |
awkweave-0058984 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah harbor 64
hana indigo 18
jules fable 29
kim harbor 90
chen delta 92
jules fable 29
dina ember 29
alice delta 32
ivan cobalt 83
| farah harbor 64
hana indigo 18
jules fable 29
kim harbor 90
chen delta 92
dina ember 29
alice delta 32
ivan cobalt 83
| ivan juniper 0
bruno fable 43
dina juniper 18
eli juniper 48
bruno fable 43
farah ember 33
farah fable 17
dina delta 54
alice harbor 119
ivan indigo 92
jules ember 75
| ivan juniper 0
bruno fable 43
dina juniper 18
eli juniper 48
farah ember 33
farah fable 17
dina delta 54
alice harbor 119
ivan indigo 92
jules ember 75
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058984-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first occurrence. | !seen[$0]++ | farah harbor 64
hana indigo 18
jules fable 29
kim harbor 90
chen delta 92
jules fable 29
dina ember 29
alice delta 32
ivan cobalt 83
| farah harbor 64
hana indigo 18
jules fable 29
kim harbor 90
chen delta 92
dina ember 29
alice delta 32
ivan cobalt 83
| ivan juniper 0
bruno fable 43
dina juniper 18
eli juniper 48
bruno fable 43
farah ember 33
farah fable 17
dina delta 54
alice harbor 119
ivan indigo 92
jules ember 75
| ivan juniper 0
bruno fable 43
dina juniper 18
eli juniper 48
farah ember 33
farah fable 17
dina delta 54
alice harbor 119
ivan indigo 92
jules ember 75
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058984 | qwen/qwen3.7-plus |
awkweave-0058985 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | eli harbor 49
farah juniper 27
jules birch 4
farah birch 53
dina amber 113
bruno fable 101
jules indigo 55
jules cobalt 89
| eli harbor 49
farah juniper 27
jules birch 4
dina amber 113
bruno fable 101
| eli harbor 102
alice indigo 37
ivan birch 16
chen juniper 96
eli delta 44
jules juniper 80
ivan juniper 35
| eli harbor 102
alice indigo 37
ivan birch 16
chen juniper 96
jules juniper 80
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058985-p1 | Retain only the first row for each unique value in column 1, preserving the initial sequence. | !seen[$1]++ | eli harbor 49
farah juniper 27
jules birch 4
farah birch 53
dina amber 113
bruno fable 101
jules indigo 55
jules cobalt 89
| eli harbor 49
farah juniper 27
jules birch 4
dina amber 113
bruno fable 101
| eli harbor 102
alice indigo 37
ivan birch 16
chen juniper 96
eli delta 44
jules juniper 80
ivan juniper 35
| eli harbor 102
alice indigo 37
ivan birch 16
chen juniper 96
jules juniper 80
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058985 | qwen/qwen3.7-plus |
awkweave-0058986 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 17 fable
dina 8 amber
jules 1 cobalt
alice 8 ember
dina 16 delta
bruno 12 juniper
lina 28 ember
gus 14 delta
dina 20 amber
| farah 17
dina 25
jules 26
alice 34
dina 50
bruno 62
lina 90
gus 104
dina 124
| alice 24 fable
lina 22 delta
kim 8 ember
bruno 26 juniper
dina 9 fable
hana 24 grove
lina 7 grove
| alice 24
lina 46
kim 54
bruno 80
dina 89
hana 113
lina 120
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058986-p1 | For every record, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 17 fable
dina 8 amber
jules 1 cobalt
alice 8 ember
dina 16 delta
bruno 12 juniper
lina 28 ember
gus 14 delta
dina 20 amber
| farah 17
dina 25
jules 26
alice 34
dina 50
bruno 62
lina 90
gus 104
dina 124
| alice 24 fable
lina 22 delta
kim 8 ember
bruno 26 juniper
dina 9 fable
hana 24 grove
lina 7 grove
| alice 24
lina 46
kim 54
bruno 80
dina 89
hana 113
lina 120
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058986 | qwen/qwen3.7-plus |
awkweave-0058987 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | alice 30 28 birch
kim 29 27 grove
gus 2 5 harbor
gus 17 29 delta
jules 20 13 juniper
eli 1 11 harbor
bruno 22 15 ember
lina 5 14 juniper
| alice 58
kim 56
gus 7
gus 46
jules 33
eli 12
bruno 37
lina 19
| chen 1 4 grove
kim 7 28 indigo
gus 1 8 harbor
farah 26 8 birch
gus 23 28 indigo
chen 12 18 fable
gus 12 4 cobalt
| chen 5
kim 35
gus 9
farah 34
gus 51
chen 30
gus 16
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058987-p1 | Output field 1 followed by the sum of fields 2 and 3 for each row. | {print $1,$2+$3} | alice 30 28 birch
kim 29 27 grove
gus 2 5 harbor
gus 17 29 delta
jules 20 13 juniper
eli 1 11 harbor
bruno 22 15 ember
lina 5 14 juniper
| alice 58
kim 56
gus 7
gus 46
jules 33
eli 12
bruno 37
lina 19
| chen 1 4 grove
kim 7 28 indigo
gus 1 8 harbor
farah 26 8 birch
gus 23 28 indigo
chen 12 18 fable
gus 12 4 cobalt
| chen 5
kim 35
gus 9
farah 34
gus 51
chen 30
gus 16
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058987 | qwen/qwen3.7-plus |
awkweave-0058988 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | chen 16
alice 21
bruno 7
gus 6
chen 23
eli 7
chen 10
| chen fail
alice fail
bruno fail
gus fail
chen fail
eli fail
chen fail
| bruno 7
kim 5
jules 16
alice 18
lina 16
hana 21
lina 4
dina 18
| bruno fail
kim fail
jules fail
alice fail
lina fail
hana fail
lina fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058988-p1 | Print column 1 with 'pass' if column 2 is 24 or greater, otherwise print 'fail'. | {print $1,($2>=24?"pass":"fail")} | chen 16
alice 21
bruno 7
gus 6
chen 23
eli 7
chen 10
| chen fail
alice fail
bruno fail
gus fail
chen fail
eli fail
chen fail
| bruno 7
kim 5
jules 16
alice 18
lina 16
hana 21
lina 4
dina 18
| bruno fail
kim fail
jules fail
alice fail
lina fail
hana fail
lina fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058988 | qwen/qwen3.7-plus |
awkweave-0058989 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | alice juniper 101
bruno fable 81
chen fable 11
dina fable 95
farah cobalt 95
bruno indigo 14
jules indigo 49
hana cobalt 74
hana juniper 49
lina delta 3
| ALICE
BRUNO
CHEN
DINA
FARAH
BRUNO
JULES
HANA
HANA
LINA
| bruno grove 43
farah grove 2
gus juniper 30
lina juniper 16
alice ember 53
chen juniper 1
gus indigo 82
eli delta 65
| BRUNO
FARAH
GUS
LINA
ALICE
CHEN
GUS
ELI
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058989-p1 | Transform column 1 to uppercase and output only that modified column. | {print toupper($1)} | alice juniper 101
bruno fable 81
chen fable 11
dina fable 95
farah cobalt 95
bruno indigo 14
jules indigo 49
hana cobalt 74
hana juniper 49
lina delta 3
| ALICE
BRUNO
CHEN
DINA
FARAH
BRUNO
JULES
HANA
HANA
LINA
| bruno grove 43
farah grove 2
gus juniper 30
lina juniper 16
alice ember 53
chen juniper 1
gus indigo 82
eli delta 65
| BRUNO
FARAH
GUS
LINA
ALICE
CHEN
GUS
ELI
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058989 | qwen/qwen3.7-plus |
awkweave-0059000 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23. | BEGIN{FS=OFS=","}$2>23{print $1} | hana,17,closed
farah,28,closed
ivan,10,failed
ivan,5,failed
chen,27,ready
jules,8,active
chen,4,failed
farah,5,paused
dina,17,ready
| farah
chen
| ivan,17,pending
jules,8,ready
jules,7,paused
ivan,8,failed
kim,10,pending
eli,6,failed
alice,10,closed
gus,14,failed
dina,20,paused
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0059000-p1 | Output the first field from comma-separated input whenever the second field is greater than 23. | BEGIN{FS=OFS=","}$2>23{print $1} | hana,17,closed
farah,28,closed
ivan,10,failed
ivan,5,failed
chen,27,ready
jules,8,active
chen,4,failed
farah,5,paused
dina,17,ready
| farah
chen
| ivan,17,pending
jules,8,ready
jules,7,paused
ivan,8,failed
kim,10,pending
eli,6,failed
alice,10,closed
gus,14,failed
dina,20,paused
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059000 | qwen/qwen3.7-plus | |
awkweave-0059001 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | hana cobalt 32
chen harbor 6
kim amber 95
lina cobalt 105
bruno ember 31
ivan grove 0
chen ember 84
farah amber 30
eli harbor 23
kim harbor 8
| hana cobalt 32
chen harbor 6
kim amber 95
lina cobalt 105
bruno ember 31
ivan grove 0
chen ember 84
farah amber 30
eli harbor 23
kim harbor 8
| alice birch 80
gus ember 48
jules delta 1
bruno juniper 117
alice juniper 63
alice amber 90
dina amber 45
| alice birch 80
gus ember 48
jules delta 1
bruno juniper 117
alice juniper 63
alice amber 90
dina amber 45
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059001-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | hana cobalt 32
chen harbor 6
kim amber 95
lina cobalt 105
bruno ember 31
ivan grove 0
chen ember 84
farah amber 30
eli harbor 23
kim harbor 8
| hana cobalt 32
chen harbor 6
kim amber 95
lina cobalt 105
bruno ember 31
ivan grove 0
chen ember 84
farah amber 30
eli harbor 23
kim harbor 8
| alice birch 80
gus ember 48
jules delta 1
bruno juniper 117
alice juniper 63
alice amber 90
dina amber 45
| alice birch 80
gus ember 48
jules delta 1
bruno juniper 117
alice juniper 63
alice amber 90
dina amber 45
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059001 | qwen/qwen3.7-plus |
awkweave-0059002 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana harbor 16 paused
bruno indigo 90 paused
alice juniper 77 active
jules cobalt 4 failed
gus amber 72 failed
dina birch 73 ready
chen ember 12 paused
hana juniper 96 failed
lina ember 9 ready
dina grove 67 active
| alice juniper 77 active
| farah grove 62 paused
jules birch 32 pending
alice birch 35 paused
eli fable 63 pending
bruno harbor 17 paused
farah harbor 35 pending
hana birch 63 paused
| farah harbor 35 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0059002-p1 | Identify and 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 harbor 16 paused
bruno indigo 90 paused
alice juniper 77 active
jules cobalt 4 failed
gus amber 72 failed
dina birch 73 ready
chen ember 12 paused
hana juniper 96 failed
lina ember 9 ready
dina grove 67 active
| alice juniper 77 active
| farah grove 62 paused
jules birch 32 pending
alice birch 35 paused
eli fable 63 pending
bruno harbor 17 paused
farah harbor 35 pending
hana birch 63 paused
| farah harbor 35 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0059002 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.