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-0041941-p1 | Eliminate exact duplicate lines while keeping the first occurrence and original order. | !seen[$0]++ | lina birch 21
dina indigo 9
hana harbor 3
chen amber 42
hana fable 23
lina delta 113
lina delta 113
dina indigo 3
bruno fable 20
| lina birch 21
dina indigo 9
hana harbor 3
chen amber 42
hana fable 23
lina delta 113
dina indigo 3
bruno fable 20
| lina amber 30
alice grove 31
hana grove 4
ivan cobalt 4
kim indigo 77
ivan indigo 45
chen cobalt 58
hana grove 4
farah indigo 44
| lina amber 30
alice grove 31
hana grove 4
ivan cobalt 4
kim indigo 77
ivan indigo 45
chen cobalt 58
farah indigo 44
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041941 | qwen/qwen3.7-plus |
awkweave-0041942 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina ember 28
kim amber 66
alice indigo 41
ivan juniper 82
bruno amber 23
jules delta 80
eli harbor 61
kim cobalt 110
eli fable 88
gus amber 85
| dina ember 28
kim amber 66
alice indigo 41
ivan juniper 82
bruno amber 23
jules delta 80
eli harbor 61
gus amber 85
| lina ember 102
ivan cobalt 58
farah indigo 96
lina delta 54
chen birch 61
farah fable 52
dina grove 94
hana amber 46
farah birch 54
eli juniper 51
| lina ember 102
ivan cobalt 58
farah indigo 96
chen birch 61
dina grove 94
hana amber 46
eli juniper 51
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041942-p1 | For every unique value in column 1, output only its first occurrence while maintaining the original input sequence. | !seen[$1]++ | dina ember 28
kim amber 66
alice indigo 41
ivan juniper 82
bruno amber 23
jules delta 80
eli harbor 61
kim cobalt 110
eli fable 88
gus amber 85
| dina ember 28
kim amber 66
alice indigo 41
ivan juniper 82
bruno amber 23
jules delta 80
eli harbor 61
gus amber 85
| lina ember 102
ivan cobalt 58
farah indigo 96
lina delta 54
chen birch 61
farah fable 52
dina grove 94
hana amber 46
farah birch 54
eli juniper 51
| lina ember 102
ivan cobalt 58
farah indigo 96
chen birch 61
dina grove 94
hana amber 46
eli juniper 51
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041942 | qwen/qwen3.7-plus |
awkweave-0041943 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 11 grove
lina 24 juniper
eli 25 harbor
gus 20 indigo
kim 7 fable
eli 29 delta
gus 9 birch
| chen 11
lina 35
eli 60
gus 80
kim 87
eli 116
gus 125
| hana 15 delta
lina 10 grove
kim 9 amber
ivan 3 fable
gus 15 amber
alice 19 cobalt
jules 15 birch
ivan 25 delta
| hana 15
lina 25
kim 34
ivan 37
gus 52
alice 71
jules 86
ivan 111
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041943-p1 | Output column 1 alongside the cumulative total of column 2 for each record, using a space as the delimiter. | {s+=$2;print $1,s} | chen 11 grove
lina 24 juniper
eli 25 harbor
gus 20 indigo
kim 7 fable
eli 29 delta
gus 9 birch
| chen 11
lina 35
eli 60
gus 80
kim 87
eli 116
gus 125
| hana 15 delta
lina 10 grove
kim 9 amber
ivan 3 fable
gus 15 amber
alice 19 cobalt
jules 15 birch
ivan 25 delta
| hana 15
lina 25
kim 34
ivan 37
gus 52
alice 71
jules 86
ivan 111
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041943 | qwen/qwen3.7-plus |
awkweave-0041944 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 16 10 fable
ivan 25 12 birch
ivan 26 20 birch
gus 23 28 birch
chen 11 29 harbor
dina 23 5 ember
| bruno 26
ivan 37
ivan 46
gus 51
chen 40
dina 28
| chen 16 20 juniper
ivan 1 25 ember
chen 3 5 juniper
lina 11 11 harbor
dina 12 29 delta
alice 12 1 amber
| chen 36
ivan 26
chen 8
lina 22
dina 41
alice 13
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041944-p1 | Display field 1 followed by the sum of fields 2 and 3 for each row. | {print $1,$2+$3} | bruno 16 10 fable
ivan 25 12 birch
ivan 26 20 birch
gus 23 28 birch
chen 11 29 harbor
dina 23 5 ember
| bruno 26
ivan 37
ivan 46
gus 51
chen 40
dina 28
| chen 16 20 juniper
ivan 1 25 ember
chen 3 5 juniper
lina 11 11 harbor
dina 12 29 delta
alice 12 1 amber
| chen 36
ivan 26
chen 8
lina 22
dina 41
alice 13
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041944 | qwen/qwen3.7-plus |
awkweave-0041945 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | bruno 11
ivan 8
dina 19
ivan 23
lina 3
gus 23
eli 21
| bruno fail
ivan fail
dina fail
ivan fail
lina fail
gus fail
eli fail
| hana 10
chen 15
lina 25
lina 6
dina 19
bruno 10
| hana fail
chen fail
lina pass
lina fail
dina fail
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041945-p1 | Output column 1 with 'pass' if column 2 is 25 or greater, otherwise output 'fail'. | {print $1,($2>=25?"pass":"fail")} | bruno 11
ivan 8
dina 19
ivan 23
lina 3
gus 23
eli 21
| bruno fail
ivan fail
dina fail
ivan fail
lina fail
gus fail
eli fail
| hana 10
chen 15
lina 25
lina 6
dina 19
bruno 10
| hana fail
chen fail
lina pass
lina fail
dina fail
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041945 | qwen/qwen3.7-plus |
awkweave-0041946 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah ember 77
jules harbor 118
gus harbor 64
ivan indigo 73
eli amber 44
kim birch 55
dina amber 89
dina birch 120
| FARAH
JULES
GUS
IVAN
ELI
KIM
DINA
DINA
| farah juniper 6
hana grove 3
lina juniper 87
hana amber 104
jules ember 13
hana birch 88
hana ember 20
gus grove 62
farah indigo 120
| FARAH
HANA
LINA
HANA
JULES
HANA
HANA
GUS
FARAH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041946-p1 | Transform column 1 to uppercase letters and print solely that column. | {print toupper($1)} | farah ember 77
jules harbor 118
gus harbor 64
ivan indigo 73
eli amber 44
kim birch 55
dina amber 89
dina birch 120
| FARAH
JULES
GUS
IVAN
ELI
KIM
DINA
DINA
| farah juniper 6
hana grove 3
lina juniper 87
hana amber 104
jules ember 13
hana birch 88
hana ember 20
gus grove 62
farah indigo 120
| FARAH
HANA
LINA
HANA
JULES
HANA
HANA
GUS
FARAH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041946 | qwen/qwen3.7-plus |
awkweave-0041947 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | juniper 33
harbor 24
birch 78
harbor 34
ember 56
cobalt 79
indigo 49
harbor 113
harbor 8
fable 107
| jun
har
bir
har
emb
cob
ind
har
har
fab
| cobalt 6
juniper 26
delta 2
harbor 100
grove 48
grove 116
birch 59
delta 77
| cob
jun
del
har
gro
gro
bir
del
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041947-p1 | Extract and print the first 3 characters from column 1. | {print substr($1,1,3)} | juniper 33
harbor 24
birch 78
harbor 34
ember 56
cobalt 79
indigo 49
harbor 113
harbor 8
fable 107
| jun
har
bir
har
emb
cob
ind
har
har
fab
| cobalt 6
juniper 26
delta 2
harbor 100
grove 48
grove 116
birch 59
delta 77
| cob
jun
del
har
gro
gro
bir
del
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041947 | qwen/qwen3.7-plus |
awkweave-0041948 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_delta 24
amber_birch 106
juniper_grove 49
ember_juniper 74
juniper_grove 36
ember_cobalt 73
amber_grove 54
| harbor delta
amber birch
juniper grove
ember juniper
juniper grove
ember cobalt
amber grove
| birch_harbor 102
indigo_indigo 110
juniper_grove 76
grove_amber 58
birch_birch 2
indigo_birch 108
birch_indigo 100
| birch harbor
indigo indigo
juniper grove
grove amber
birch birch
indigo birch
birch indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041948-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | harbor_delta 24
amber_birch 106
juniper_grove 49
ember_juniper 74
juniper_grove 36
ember_cobalt 73
amber_grove 54
| harbor delta
amber birch
juniper grove
ember juniper
juniper grove
ember cobalt
amber grove
| birch_harbor 102
indigo_indigo 110
juniper_grove 76
grove_amber 58
birch_birch 2
indigo_birch 108
birch_indigo 100
| birch harbor
indigo indigo
juniper grove
grove amber
birch birch
indigo birch
birch indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041948 | qwen/qwen3.7-plus |
awkweave-0041949 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 52 active
alice fable 76 ready
farah grove 17 active
bruno indigo 106 failed
dina juniper 0 failed
bruno fable 49 failed
| active 52 amber jules
ready 76 fable alice
active 17 grove farah
failed 106 indigo bruno
failed 0 juniper dina
failed 49 fable bruno
| ivan juniper 7 active
kim cobalt 19 closed
bruno indigo 43 closed
gus ember 43 ready
jules amber 80 closed
chen birch 71 pending
lina juniper 2 closed
eli delta 34 ready
alice fable 74 paused
eli indigo 5 active
| active 7 juniper ivan
closed 19 cobalt kim
closed 43 indigo bruno
ready 43 ember gus
closed 80 amber jules
pending 71 birch chen
closed 2 juniper lina
ready 34 delta eli
paused 74 fable alice
active 5 indigo eli
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041949-p1 | Reverse the sequence of all fields on each line and print the result. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 52 active
alice fable 76 ready
farah grove 17 active
bruno indigo 106 failed
dina juniper 0 failed
bruno fable 49 failed
| active 52 amber jules
ready 76 fable alice
active 17 grove farah
failed 106 indigo bruno
failed 0 juniper dina
failed 49 fable bruno
| ivan juniper 7 active
kim cobalt 19 closed
bruno indigo 43 closed
gus ember 43 ready
jules amber 80 closed
chen birch 71 pending
lina juniper 2 closed
eli delta 34 ready
alice fable 74 paused
eli indigo 5 active
| active 7 juniper ivan
closed 19 cobalt kim
closed 43 indigo bruno
ready 43 ember gus
closed 80 amber jules
pending 71 birch chen
closed 2 juniper lina
ready 34 delta eli
paused 74 fable alice
active 5 indigo eli
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041949 | qwen/qwen3.7-plus |
awkweave-0041950 | Print the number of whitespace-separated fields on each line. | {print NF} | chen birch 77 active
dina juniper 102 closed
lina fable 62 ready
lina grove 18 pending
jules juniper 10 active
dina birch 14 failed
| 4
4
4
4
4
4
| hana cobalt 31 ready
ivan harbor 28 pending
bruno cobalt 85 pending
alice juniper 67 closed
eli grove 27 ready
chen harbor 42 pending
dina indigo 16 ready
farah cobalt 106 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041950-p1 | Print the count of whitespace-delimited fields found on each line. | {print NF} | chen birch 77 active
dina juniper 102 closed
lina fable 62 ready
lina grove 18 pending
jules juniper 10 active
dina birch 14 failed
| 4
4
4
4
4
4
| hana cobalt 31 ready
ivan harbor 28 pending
bruno cobalt 85 pending
alice juniper 67 closed
eli grove 27 ready
chen harbor 42 pending
dina indigo 16 ready
farah cobalt 106 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041950 | qwen/qwen3.7-plus |
awkweave-0041951 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno gamma 75
hana alpha 8
farah alpha 92
bruno alpha 65
chen beta 78
eli beta 109
hana alpha 2
eli beta 82
kim gamma 100
alice beta 30
| gamma 2
alpha 4
beta 4
| dina alpha 16
alice alpha 2
hana beta 84
lina gamma 51
dina gamma 15
chen beta 91
ivan gamma 90
| alpha 2
beta 2
gamma 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041951-p1 | Tally the number of records for each distinct value in column 2, listing them by their order of first appearance along with their counts. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno gamma 75
hana alpha 8
farah alpha 92
bruno alpha 65
chen beta 78
eli beta 109
hana alpha 2
eli beta 82
kim gamma 100
alice beta 30
| gamma 2
alpha 4
beta 4
| dina alpha 16
alice alpha 2
hana beta 84
lina gamma 51
dina gamma 15
chen beta 91
ivan gamma 90
| alpha 2
beta 2
gamma 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041951 | qwen/qwen3.7-plus |
awkweave-0041952 | 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 delta 29
lina gamma 20
eli gamma 29
jules delta 4
farah delta 18
ivan gamma 2
| delta 51
gamma 51
| jules beta 15
ivan gamma 10
gus beta 8
dina alpha 21
hana delta 28
lina gamma 23
| beta 23
gamma 33
alpha 21
delta 28
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041952-p1 | Calculate the sum of column 3 grouped by each category in column 2, presenting the results in the order the categories 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 delta 29
lina gamma 20
eli gamma 29
jules delta 4
farah delta 18
ivan gamma 2
| delta 51
gamma 51
| jules beta 15
ivan gamma 10
gus beta 8
dina alpha 21
hana delta 28
lina gamma 23
| beta 23
gamma 33
alpha 21
delta 28
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041952 | qwen/qwen3.7-plus |
awkweave-0041953 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta delta 54
gamma cobalt 57
beta cobalt 95
beta amber 116
delta ember 84
gamma harbor 50
| beta 3
gamma 2
| beta indigo 105
beta amber 21
alpha juniper 9
beta fable 70
alpha indigo 39
alpha cobalt 39
beta ember 109
alpha birch 34
delta ember 54
| beta 4
alpha 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041953-p1 | List each duplicate value from column 1 together with its frequency, ordered by when they first appeared. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta delta 54
gamma cobalt 57
beta cobalt 95
beta amber 116
delta ember 84
gamma harbor 50
| beta 3
gamma 2
| beta indigo 105
beta amber 21
alpha juniper 9
beta fable 70
alpha indigo 39
alpha cobalt 39
beta ember 109
alpha birch 34
delta ember 54
| beta 4
alpha 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041953 | qwen/qwen3.7-plus |
awkweave-0041954 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | display_name region score record_id
r001 alice 25 paused
r002 eli 2 failed
r003 chen 3 active
r004 kim 7 active
r005 eli 25 closed
r006 alice 30 closed
r007 bruno 13 pending
r008 ivan 23 ready
r009 ivan 23 ready
r010 chen 15 closed
| alice
eli
chen
kim
eli
alice
bruno
ivan
ivan
chen
| display_name region score record_id
r001 farah 7 paused
r002 alice 6 pending
r003 eli 28 failed
r004 chen 2 paused
r005 jules 21 ready
r006 farah 10 pending
r007 kim 18 failed
r008 gus 28 active
r009 bruno 30 failed
r010 bruno 11 pending
| farah
alice
eli
chen
jules
farah
kim
gus
bruno
bruno
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041954-p1 | Skip the header row and output the region column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | display_name region score record_id
r001 alice 25 paused
r002 eli 2 failed
r003 chen 3 active
r004 kim 7 active
r005 eli 25 closed
r006 alice 30 closed
r007 bruno 13 pending
r008 ivan 23 ready
r009 ivan 23 ready
r010 chen 15 closed
| alice
eli
chen
kim
eli
alice
bruno
ivan
ivan
chen
| display_name region score record_id
r001 farah 7 paused
r002 alice 6 pending
r003 eli 28 failed
r004 chen 2 paused
r005 jules 21 ready
r006 farah 10 pending
r007 kim 18 failed
r008 gus 28 active
r009 bruno 30 failed
r010 bruno 11 pending
| farah
alice
eli
chen
jules
farah
kim
gus
bruno
bruno
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041954 | qwen/qwen3.7-plus |
awkweave-0041955 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 alice 12 paused
r002 jules 19 failed
r003 dina 3 paused
r004 kim 12 ready
r005 lina 17 active
r006 jules 29 ready
r007 lina 7 active
| jules
lina
jules
| record_id display_name score state
r001 dina 22 failed
r002 eli 5 failed
r003 lina 23 failed
r004 farah 26 failed
r005 jules 28 paused
r006 eli 23 ready
| dina
lina
farah
jules
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041955-p1 | Ignoring the header, print the display_name field for any row where the score is strictly greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 alice 12 paused
r002 jules 19 failed
r003 dina 3 paused
r004 kim 12 ready
r005 lina 17 active
r006 jules 29 ready
r007 lina 7 active
| jules
lina
jules
| record_id display_name score state
r001 dina 22 failed
r002 eli 5 failed
r003 lina 23 failed
r004 farah 26 failed
r005 jules 28 paused
r006 eli 23 ready
| dina
lina
farah
jules
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041955 | qwen/qwen3.7-plus |
awkweave-0041956 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | bruno 10 closed
ivan 24 closed
hana 29 failed
hana 1 failed
hana 17 paused
gus 12 paused
lina 27 failed
ivan 13 pending
alice 8 active
hana 26 failed
| 10
24
29
1
17
12
27
13
8
26
| alice 23 pending
hana 27 pending
hana 25 paused
gus 14 active
gus 18 active
bruno 16 paused
eli 29 closed
hana 4 active
farah 2 active
bruno 18 ready
| 23
27
25
14
18
16
29
4
2
18
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041956-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | bruno 10 closed
ivan 24 closed
hana 29 failed
hana 1 failed
hana 17 paused
gus 12 paused
lina 27 failed
ivan 13 pending
alice 8 active
hana 26 failed
| 10
24
29
1
17
12
27
13
8
26
| alice 23 pending
hana 27 pending
hana 25 paused
gus 14 active
gus 18 active
bruno 16 paused
eli 29 closed
hana 4 active
farah 2 active
bruno 18 ready
| 23
27
25
14
18
16
29
4
2
18
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041956 | qwen/qwen3.7-plus |
awkweave-0041957 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24. | BEGIN{FS=OFS=","}$2>24{print $1} | lina,15,ready
hana,22,active
chen,5,paused
dina,24,active
alice,26,closed
farah,1,pending
kim,5,active
gus,15,pending
| alice
| alice,20,failed
bruno,3,pending
hana,13,paused
ivan,13,paused
kim,15,closed
lina,29,pending
chen,6,ready
| lina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041957-p1 | For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 24. | BEGIN{FS=OFS=","}$2>24{print $1} | lina,15,ready
hana,22,active
chen,5,paused
dina,24,active
alice,26,closed
farah,1,pending
kim,5,active
gus,15,pending
| alice
| alice,20,failed
bruno,3,pending
hana,13,paused
ivan,13,paused
kim,15,closed
lina,29,pending
chen,6,ready
| lina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041957 | qwen/qwen3.7-plus |
awkweave-0041958 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice grove 113
farah grove 6
alice birch 118
lina harbor 16
eli amber 118
eli juniper 14
| alice grove 113
farah grove 6
alice birch 118
lina harbor 16
eli amber 118
eli juniper 14
| gus cobalt 9
bruno cobalt 22
bruno fable 107
hana grove 103
farah ember 93
kim amber 74
lina fable 14
gus indigo 10
| gus cobalt 9
bruno cobalt 22
bruno fable 107
hana grove 103
farah ember 93
kim amber 74
lina fable 14
gus indigo 10
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041958-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | alice grove 113
farah grove 6
alice birch 118
lina harbor 16
eli amber 118
eli juniper 14
| alice grove 113
farah grove 6
alice birch 118
lina harbor 16
eli amber 118
eli juniper 14
| gus cobalt 9
bruno cobalt 22
bruno fable 107
hana grove 103
farah ember 93
kim amber 74
lina fable 14
gus indigo 10
| gus cobalt 9
bruno cobalt 22
bruno fable 107
hana grove 103
farah ember 93
kim amber 74
lina fable 14
gus indigo 10
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041958 | qwen/qwen3.7-plus |
awkweave-0041959 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim delta 33 ready
gus grove 70 paused
kim amber 41 closed
chen harbor 38 pending
ivan birch 1 failed
hana indigo 101 pending
gus harbor 118 ready
gus birch 118 failed
hana amber 51 paused
jules harbor 75 ready
| hana indigo 101 pending
| bruno cobalt 49 failed
alice grove 26 closed
chen indigo 98 ready
gus grove 46 failed
gus fable 30 pending
lina ember 54 failed
alice birch 57 closed
jules amber 69 failed
| bruno cobalt 49 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041959-p1 | Identify and output the longest line from the input; in case of a tie in length, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | kim delta 33 ready
gus grove 70 paused
kim amber 41 closed
chen harbor 38 pending
ivan birch 1 failed
hana indigo 101 pending
gus harbor 118 ready
gus birch 118 failed
hana amber 51 paused
jules harbor 75 ready
| hana indigo 101 pending
| bruno cobalt 49 failed
alice grove 26 closed
chen indigo 98 ready
gus grove 46 failed
gus fable 30 pending
lina ember 54 failed
alice birch 57 closed
jules amber 69 failed
| bruno cobalt 49 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041959 | qwen/qwen3.7-plus |
awkweave-0041960 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | gus 60
gus 29
jules 50
dina 3
chen 49
bruno 37
farah 84
chen 11
jules 35
jules 52
| gus 60
jules 50
chen 49
farah 84
jules 35
| chen 117
lina 97
jules 113
eli 30
farah 109
jules 15
jules 78
jules 46
| chen 117
jules 113
farah 109
jules 78
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041960-p1 | Output every other line starting from the first line (i.e., lines 1, 3, 5, etc.). | NR%2==1 | gus 60
gus 29
jules 50
dina 3
chen 49
bruno 37
farah 84
chen 11
jules 35
jules 52
| gus 60
jules 50
chen 49
farah 84
jules 35
| chen 117
lina 97
jules 113
eli 30
farah 109
jules 15
jules 78
jules 46
| chen 117
jules 113
farah 109
jules 78
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041960 | qwen/qwen3.7-plus |
awkweave-0041961 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma juniper 73
delta amber 89
alpha ember 98
alpha ember 40
gamma harbor 92
gamma fable 37
delta birch 48
gamma cobalt 74
beta juniper 99
alpha indigo 23
| 8
| alpha delta 23
alpha amber 68
gamma delta 77
gamma fable 87
beta cobalt 95
alpha indigo 99
delta grove 82
beta birch 33
delta ember 55
alpha delta 18
| 8
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041961-p1 | Calculate the number of unique values in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | gamma juniper 73
delta amber 89
alpha ember 98
alpha ember 40
gamma harbor 92
gamma fable 37
delta birch 48
gamma cobalt 74
beta juniper 99
alpha indigo 23
| 8
| alpha delta 23
alpha amber 68
gamma delta 77
gamma fable 87
beta cobalt 95
alpha indigo 99
delta grove 82
beta birch 33
delta ember 55
alpha delta 18
| 8
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041961 | qwen/qwen3.7-plus |
awkweave-0041962 | 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} | gus 1 0
hana 12 11
kim 22 17
eli 16 11
kim 27 21
gus 8 2
ivan 9 5
| hana 1.09
kim 1.29
eli 1.45
kim 1.29
gus 4.00
ivan 1.80
| hana 8 0
chen 5 29
jules 10 20
eli 7 10
hana 3 25
dina 30 13
alice 5 5
chen 23 15
chen 15 7
alice 4 22
| chen 0.17
jules 0.50
eli 0.70
hana 0.12
dina 2.31
alice 1.00
chen 1.53
chen 2.14
alice 0.18
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041962-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 1 0
hana 12 11
kim 22 17
eli 16 11
kim 27 21
gus 8 2
ivan 9 5
| hana 1.09
kim 1.29
eli 1.45
kim 1.29
gus 4.00
ivan 1.80
| hana 8 0
chen 5 29
jules 10 20
eli 7 10
hana 3 25
dina 30 13
alice 5 5
chen 23 15
chen 15 7
alice 4 22
| chen 0.17
jules 0.50
eli 0.70
hana 0.12
dina 2.31
alice 1.00
chen 1.53
chen 2.14
alice 0.18
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041962 | qwen/qwen3.7-plus |
awkweave-0041963 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno grove 6
lina cobalt 6
alice indigo 15
farah cobalt 10
farah amber 10
bruno indigo 24
hana grove 23
jules delta 8
dina ember 21
farah delta 2
| bruno indigo 24
hana grove 23
dina ember 21
| jules harbor 7
bruno fable 12
alice cobalt 26
dina fable 16
kim amber 29
lina indigo 10
hana indigo 30
gus fable 30
| hana indigo 30
gus fable 30
kim amber 29
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041963-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain 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]} | bruno grove 6
lina cobalt 6
alice indigo 15
farah cobalt 10
farah amber 10
bruno indigo 24
hana grove 23
jules delta 8
dina ember 21
farah delta 2
| bruno indigo 24
hana grove 23
dina ember 21
| jules harbor 7
bruno fable 12
alice cobalt 26
dina fable 16
kim amber 29
lina indigo 10
hana indigo 30
gus fable 30
| hana indigo 30
gus fable 30
kim amber 29
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041963 | qwen/qwen3.7-plus |
awkweave-0041964 | Print column 4 followed by column 1 for every record. | {print $4, $1} | 69 68 55 failed 69
9 36 82 active 62
21 51 57 ready 10
88 40 41 ready 88
57 61 20 active 84
46 1 65 failed 101
| failed 69
active 9
ready 21
ready 88
active 57
failed 46
| 36 42 69 active 65
120 83 69 closed 74
90 87 73 pending 92
114 79 116 closed 116
49 29 31 paused 9
117 20 21 failed 33
18 42 100 closed 24
41 40 109 closed 10
19 24 11 paused 55
| active 36
closed 120
pending 90
closed 114
paused 49
failed 117
closed 18
closed 41
paused 19
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041964-p1 | For every record, print the fourth column followed by the first column. | {print $4, $1} | 69 68 55 failed 69
9 36 82 active 62
21 51 57 ready 10
88 40 41 ready 88
57 61 20 active 84
46 1 65 failed 101
| failed 69
active 9
ready 21
ready 88
active 57
failed 46
| 36 42 69 active 65
120 83 69 closed 74
90 87 73 pending 92
114 79 116 closed 116
49 29 31 paused 9
117 20 21 failed 33
18 42 100 closed 24
41 40 109 closed 10
19 24 11 paused 55
| active 36
closed 120
pending 90
closed 114
paused 49
failed 117
closed 18
closed 41
paused 19
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041964 | qwen/qwen3.7-plus |
awkweave-0041965 | Print the last field of every input line. | {print $NF} | active jules indigo
ready chen juniper
active gus juniper
paused eli harbor
ready bruno amber
ready dina amber
ready farah fable
| indigo
juniper
juniper
harbor
amber
amber
fable
| failed farah ember
paused jules ember
closed lina ember
pending chen amber
pending jules amber
failed ivan delta
| ember
ember
ember
amber
amber
delta
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041965-p1 | Extract and print the final field from each input line. | {print $NF} | active jules indigo
ready chen juniper
active gus juniper
paused eli harbor
ready bruno amber
ready dina amber
ready farah fable
| indigo
juniper
juniper
harbor
amber
amber
fable
| failed farah ember
paused jules ember
closed lina ember
pending chen amber
pending jules amber
failed ivan delta
| ember
ember
ember
amber
amber
delta
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041965 | qwen/qwen3.7-plus |
awkweave-0041966 | Print the complete records where column 2 is greater than 65. | $2 > 65 | ember 72 failed chen
harbor 118 paused eli
ember 29 paused hana
delta 59 paused alice
delta 26 closed alice
juniper 120 pending dina
delta 27 active gus
fable 25 failed gus
| ember 72 failed chen
harbor 118 paused eli
juniper 120 pending dina
| delta 93 pending lina
fable 20 ready alice
birch 15 pending alice
grove 47 pending chen
grove 101 paused dina
ember 12 failed ivan
birch 67 failed dina
| delta 93 pending lina
grove 101 paused dina
birch 67 failed dina
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041966-p1 | Output full records where the value in the second column exceeds 65. | $2 > 65 | ember 72 failed chen
harbor 118 paused eli
ember 29 paused hana
delta 59 paused alice
delta 26 closed alice
juniper 120 pending dina
delta 27 active gus
fable 25 failed gus
| ember 72 failed chen
harbor 118 paused eli
juniper 120 pending dina
| delta 93 pending lina
fable 20 ready alice
birch 15 pending alice
grove 47 pending chen
grove 101 paused dina
ember 12 failed ivan
birch 67 failed dina
| delta 93 pending lina
grove 101 paused dina
birch 67 failed dina
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041966 | qwen/qwen3.7-plus |
awkweave-0041967 | Show whole lines whose 1st field is between 7 and 29, inclusive. | $1 >= 7 && $1 <= 29 | 2 paused dina failed
8 pending gus paused
16 ready eli failed
21 paused farah ready
13 ready eli failed
26 failed dina paused
27 failed lina pending
9 closed jules failed
21 active bruno active
| 8 pending gus paused
16 ready eli failed
21 paused farah ready
13 ready eli failed
26 failed dina paused
27 failed lina pending
9 closed jules failed
21 active bruno active
| 28 active bruno closed
14 closed eli active
8 pending ivan pending
8 failed ivan paused
3 ready dina failed
23 paused alice active
9 failed gus ready
| 28 active bruno closed
14 closed eli active
8 pending ivan pending
8 failed ivan paused
23 paused alice active
9 failed gus ready
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041967-p1 | Display entire lines where the first field falls within the inclusive range of 7 to 29. | $1 >= 7 && $1 <= 29 | 2 paused dina failed
8 pending gus paused
16 ready eli failed
21 paused farah ready
13 ready eli failed
26 failed dina paused
27 failed lina pending
9 closed jules failed
21 active bruno active
| 8 pending gus paused
16 ready eli failed
21 paused farah ready
13 ready eli failed
26 failed dina paused
27 failed lina pending
9 closed jules failed
21 active bruno active
| 28 active bruno closed
14 closed eli active
8 pending ivan pending
8 failed ivan paused
3 ready dina failed
23 paused alice active
9 failed gus ready
| 28 active bruno closed
14 closed eli active
8 pending ivan pending
8 failed ivan paused
23 paused alice active
9 failed gus ready
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041967 | qwen/qwen3.7-plus |
awkweave-0041968 | Print column 4 only for rows where column 3 is exactly paused. | $3 == "paused"{print $4} | juniper 25 paused ivan
amber 0 pending chen
delta 102 ready jules
amber 88 paused chen
birch 68 closed alice
harbor 22 ready alice
| ivan
chen
| birch 59 ready gus
grove 106 paused bruno
grove 78 ready bruno
harbor 108 failed ivan
birch 4 closed dina
juniper 34 failed hana
juniper 26 closed farah
| bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041968-p1 | Print only the fourth column for rows where the third column matches 'paused' exactly. | $3 == "paused"{print $4} | juniper 25 paused ivan
amber 0 pending chen
delta 102 ready jules
amber 88 paused chen
birch 68 closed alice
harbor 22 ready alice
| ivan
chen
| birch 59 ready gus
grove 106 paused bruno
grove 78 ready bruno
harbor 108 failed ivan
birch 4 closed dina
juniper 34 failed hana
juniper 26 closed farah
| bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041968 | qwen/qwen3.7-plus |
awkweave-0041969 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | INFO delta 114
ERROR amber 46
ERROR birch 40
INFO harbor 52
ERROR fable 34
WARN birch 1
ERROR birch 112
| WARN birch 1
| ERROR grove 35
DEBUG fable 74
ERROR cobalt 65
DEBUG amber 23
DEBUG cobalt 66
ERROR ember 38
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0041969-p1 | Output all fields from lines where the first field starts with the string 'WARN'. | $1 ~ /^WARN/ | INFO delta 114
ERROR amber 46
ERROR birch 40
INFO harbor 52
ERROR fable 34
WARN birch 1
ERROR birch 112
| WARN birch 1
| ERROR grove 35
DEBUG fable 74
ERROR cobalt 65
DEBUG amber 23
DEBUG cobalt 66
ERROR ember 38
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041969 | qwen/qwen3.7-plus | |
awkweave-0041970 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | grove 20 closed
indigo 101 paused
harbor 75 pending
delta 90 closed
juniper 4 active
cobalt 57 failed
grove 95 paused
harbor 106 active
juniper 42 pending
ember 74 failed
juniper 999 active
| grove 20 closed
indigo 101 paused
harbor 75 pending
delta 90 closed
cobalt 57 failed
grove 95 paused
harbor 106 active
ember 74 failed
| cobalt 41 ready
ember 32 pending
ember 48 paused
juniper 43 paused
amber 22 paused
delta 110 ready
cobalt 19 failed
harbor 51 pending
ember 76 paused
juniper 999 active
| cobalt 41 ready
ember 32 pending
ember 48 paused
amber 22 paused
delta 110 ready
cobalt 19 failed
harbor 51 pending
ember 76 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041970-p1 | Print every line that does not contain the exact string 'juniper'. | $0 !~ /juniper/ | grove 20 closed
indigo 101 paused
harbor 75 pending
delta 90 closed
juniper 4 active
cobalt 57 failed
grove 95 paused
harbor 106 active
juniper 42 pending
ember 74 failed
juniper 999 active
| grove 20 closed
indigo 101 paused
harbor 75 pending
delta 90 closed
cobalt 57 failed
grove 95 paused
harbor 106 active
ember 74 failed
| cobalt 41 ready
ember 32 pending
ember 48 paused
juniper 43 paused
amber 22 paused
delta 110 ready
cobalt 19 failed
harbor 51 pending
ember 76 paused
juniper 999 active
| cobalt 41 ready
ember 32 pending
ember 48 paused
amber 22 paused
delta 110 ready
cobalt 19 failed
harbor 51 pending
ember 76 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041970 | qwen/qwen3.7-plus |
awkweave-0041971 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | dina juniper 90
farah amber 6
eli amber 100
ivan harbor 59
farah delta 1
bruno grove 48
alice juniper 78
hana delta 48
hana harbor 98
chen grove 82
| eli amber 100
ivan harbor 59
farah delta 1
| ivan indigo 107
chen juniper 48
chen cobalt 33
alice fable 90
hana ember 53
gus harbor 111
bruno juniper 58
lina fable 28
lina fable 25
| chen cobalt 33
alice fable 90
hana ember 53
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041971-p1 | Output lines 3 to 5, inclusive of both the start and end lines. | NR >= 3 && NR <= 5 | dina juniper 90
farah amber 6
eli amber 100
ivan harbor 59
farah delta 1
bruno grove 48
alice juniper 78
hana delta 48
hana harbor 98
chen grove 82
| eli amber 100
ivan harbor 59
farah delta 1
| ivan indigo 107
chen juniper 48
chen cobalt 33
alice fable 90
hana ember 53
gus harbor 111
bruno juniper 58
lina fable 28
lina fable 25
| chen cobalt 33
alice fable 90
hana ember 53
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041971 | qwen/qwen3.7-plus |
awkweave-0041972 | Output only the first 4 records. | NR <= 4 | jules 79 delta
eli 88 fable
farah 118 amber
gus 19 fable
dina 94 grove
chen 31 grove
| jules 79 delta
eli 88 fable
farah 118 amber
gus 19 fable
| hana 28 cobalt
farah 7 amber
chen 76 fable
alice 73 birch
jules 91 fable
dina 98 ember
kim 103 ember
chen 114 amber
| hana 28 cobalt
farah 7 amber
chen 76 fable
alice 73 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041972-p1 | Display only the initial 4 records. | NR <= 4 | jules 79 delta
eli 88 fable
farah 118 amber
gus 19 fable
dina 94 grove
chen 31 grove
| jules 79 delta
eli 88 fable
farah 118 amber
gus 19 fable
| hana 28 cobalt
farah 7 amber
chen 76 fable
alice 73 birch
jules 91 fable
dina 98 ember
kim 103 ember
chen 114 amber
| hana 28 cobalt
farah 7 amber
chen 76 fable
alice 73 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041972 | qwen/qwen3.7-plus |
awkweave-0041973 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 47 juniper
hana 44 fable
hana 38 amber
jules 89 birch
chen 46 birch
gus 106 amber
chen 15 juniper
gus 7 fable
dina 48 ember
| hana 44 fable
hana 38 amber
jules 89 birch
chen 46 birch
gus 106 amber
chen 15 juniper
gus 7 fable
dina 48 ember
| gus 116 grove
chen 26 birch
bruno 80 fable
alice 68 ember
jules 35 delta
dina 116 indigo
lina 22 birch
hana 16 amber
dina 70 cobalt
| chen 26 birch
bruno 80 fable
alice 68 ember
jules 35 delta
dina 116 indigo
lina 22 birch
hana 16 amber
dina 70 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041973-p1 | Ignore the first line and output all subsequent lines without modification. | NR > 1 | ivan 47 juniper
hana 44 fable
hana 38 amber
jules 89 birch
chen 46 birch
gus 106 amber
chen 15 juniper
gus 7 fable
dina 48 ember
| hana 44 fable
hana 38 amber
jules 89 birch
chen 46 birch
gus 106 amber
chen 15 juniper
gus 7 fable
dina 48 ember
| gus 116 grove
chen 26 birch
bruno 80 fable
alice 68 ember
jules 35 delta
dina 116 indigo
lina 22 birch
hana 16 amber
dina 70 cobalt
| chen 26 birch
bruno 80 fable
alice 68 ember
jules 35 delta
dina 116 indigo
lina 22 birch
hana 16 amber
dina 70 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041973 | qwen/qwen3.7-plus |
awkweave-0041974 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | eli closed 47
dina failed 116
eli paused 16
dina active 23
hana ready 109
lina failed 73
eli paused 115
hana paused 81
dina failed 96
farah failed 37
| 1
| alice paused 23
alice failed 66
hana pending 26
alice paused 107
farah closed 79
kim failed 59
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041974-p1 | Count the number of records containing 'active' in the second column; output 0 if the count is zero. | $2 == "active"{n++}END{print n+0} | eli closed 47
dina failed 116
eli paused 16
dina active 23
hana ready 109
lina failed 73
eli paused 115
hana paused 81
dina failed 96
farah failed 37
| 1
| alice paused 23
alice failed 66
hana pending 26
alice paused 107
farah closed 79
kim failed 59
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041974 | qwen/qwen3.7-plus |
awkweave-0041975 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | juniper farah 25
cobalt gus 1
birch chen 23
grove bruno 13
indigo farah 10
harbor hana 1
juniper chen 27
delta chen 7
amber alice 5
| 112
| indigo kim 9
amber eli 6
fable bruno 20
grove lina 11
ember jules 21
harbor alice 21
ember ivan 7
fable bruno 28
| 123
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041975-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | juniper farah 25
cobalt gus 1
birch chen 23
grove bruno 13
indigo farah 10
harbor hana 1
juniper chen 27
delta chen 7
amber alice 5
| 112
| indigo kim 9
amber eli 6
fable bruno 20
grove lina 11
ember jules 21
harbor alice 21
ember ivan 7
fable bruno 28
| 123
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041975 | qwen/qwen3.7-plus |
awkweave-0041976 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 3 jules juniper
14 hana delta
28 alice amber
29 kim delta
9 eli indigo
28 alice ember
30 farah delta
| 20.14
| 28 hana ember
13 ivan juniper
9 lina delta
4 hana cobalt
23 hana birch
23 lina fable
8 chen amber
| 15.43
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041976-p1 | Calculate and print the average of the values in the first column, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 3 jules juniper
14 hana delta
28 alice amber
29 kim delta
9 eli indigo
28 alice ember
30 farah delta
| 20.14
| 28 hana ember
13 ivan juniper
9 lina delta
4 hana cobalt
23 hana birch
23 lina fable
8 chen amber
| 15.43
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041976 | qwen/qwen3.7-plus |
awkweave-0041977 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 27 juniper ivan
16 indigo farah
29 ember ivan
10 harbor lina
18 harbor dina
25 delta jules
10 ember lina
21 fable lina
14 birch hana
10 juniper bruno
| 10
| 9 amber ivan
23 amber chen
29 delta chen
6 indigo alice
24 cobalt eli
24 grove hana
6 birch eli
2 delta farah
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041977-p1 | Identify and output the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 27 juniper ivan
16 indigo farah
29 ember ivan
10 harbor lina
18 harbor dina
25 delta jules
10 ember lina
21 fable lina
14 birch hana
10 juniper bruno
| 10
| 9 amber ivan
23 amber chen
29 delta chen
6 indigo alice
24 cobalt eli
24 grove hana
6 birch eli
2 delta farah
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041977 | qwen/qwen3.7-plus |
awkweave-0041978 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | bruno 27 birch
farah 2 grove
ivan 11 delta
ivan 12 delta
ivan 29 ember
hana 14 ember
dina 28 birch
dina 30 grove
alice 18 fable
dina 8 grove
| 30
| alice 18 delta
bruno 1 amber
dina 17 fable
farah 2 harbor
bruno 27 cobalt
gus 19 harbor
chen 15 indigo
hana 10 birch
gus 27 delta
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041978-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | bruno 27 birch
farah 2 grove
ivan 11 delta
ivan 12 delta
ivan 29 ember
hana 14 ember
dina 28 birch
dina 30 grove
alice 18 fable
dina 8 grove
| 30
| alice 18 delta
bruno 1 amber
dina 17 fable
farah 2 harbor
bruno 27 cobalt
gus 19 harbor
chen 15 indigo
hana 10 birch
gus 27 delta
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041978 | qwen/qwen3.7-plus |
awkweave-0041979 | Count all input records and print the total. | END{print NR} | dina 29
lina 63
ivan 22
chen 64
ivan 25
eli 49
eli 98
jules 56
jules 68
| 9
| hana 78
ivan 24
jules 111
ivan 29
kim 67
jules 95
gus 114
chen 93
gus 29
gus 15
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041979-p1 | Calculate the total number of input records and display the count. | END{print NR} | dina 29
lina 63
ivan 22
chen 64
ivan 25
eli 49
eli 98
jules 56
jules 68
| 9
| hana 78
ivan 24
jules 111
ivan 29
kim 67
jules 95
gus 114
chen 93
gus 29
gus 15
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041979 | qwen/qwen3.7-plus |
awkweave-0041980 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli grove 30
kim cobalt 45
jules grove 52
alice juniper 120
kim cobalt 45
alice harbor 16
bruno amber 16
gus fable 79
chen fable 51
| eli grove 30
kim cobalt 45
jules grove 52
alice juniper 120
alice harbor 16
bruno amber 16
gus fable 79
chen fable 51
| chen delta 112
farah cobalt 62
hana grove 80
farah delta 12
eli ember 2
bruno delta 103
eli ember 120
farah delta 12
| chen delta 112
farah cobalt 62
hana grove 80
farah delta 12
eli ember 2
bruno delta 103
eli ember 120
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041980-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | eli grove 30
kim cobalt 45
jules grove 52
alice juniper 120
kim cobalt 45
alice harbor 16
bruno amber 16
gus fable 79
chen fable 51
| eli grove 30
kim cobalt 45
jules grove 52
alice juniper 120
alice harbor 16
bruno amber 16
gus fable 79
chen fable 51
| chen delta 112
farah cobalt 62
hana grove 80
farah delta 12
eli ember 2
bruno delta 103
eli ember 120
farah delta 12
| chen delta 112
farah cobalt 62
hana grove 80
farah delta 12
eli ember 2
bruno delta 103
eli ember 120
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041980 | qwen/qwen3.7-plus |
awkweave-0041981 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | jules ember 62
gus ember 50
farah indigo 118
kim fable 5
alice harbor 33
kim amber 25
| jules ember 62
gus ember 50
farah indigo 118
kim fable 5
alice harbor 33
kim amber 25
| lina cobalt 85
chen indigo 7
eli cobalt 114
hana juniper 107
chen indigo 5
chen delta 88
hana juniper 67
chen juniper 62
| lina cobalt 85
chen indigo 7
eli cobalt 114
hana juniper 107
chen indigo 5
chen delta 88
hana juniper 67
chen juniper 62
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041981-p1 | Retain only the initial line for every unique value in the third column, keeping the original order intact. | !seen[$3]++ | jules ember 62
gus ember 50
farah indigo 118
kim fable 5
alice harbor 33
kim amber 25
| jules ember 62
gus ember 50
farah indigo 118
kim fable 5
alice harbor 33
kim amber 25
| lina cobalt 85
chen indigo 7
eli cobalt 114
hana juniper 107
chen indigo 5
chen delta 88
hana juniper 67
chen juniper 62
| lina cobalt 85
chen indigo 7
eli cobalt 114
hana juniper 107
chen indigo 5
chen delta 88
hana juniper 67
chen juniper 62
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041981 | qwen/qwen3.7-plus |
awkweave-0041982 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 12 delta
hana 22 grove
chen 3 grove
dina 9 ember
kim 14 fable
eli 2 harbor
| dina 12
hana 34
chen 37
dina 46
kim 60
eli 62
| lina 4 grove
alice 14 amber
hana 25 juniper
dina 28 harbor
hana 4 juniper
ivan 13 amber
lina 18 delta
| lina 4
alice 18
hana 43
dina 71
hana 75
ivan 88
lina 106
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041982-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | dina 12 delta
hana 22 grove
chen 3 grove
dina 9 ember
kim 14 fable
eli 2 harbor
| dina 12
hana 34
chen 37
dina 46
kim 60
eli 62
| lina 4 grove
alice 14 amber
hana 25 juniper
dina 28 harbor
hana 4 juniper
ivan 13 amber
lina 18 delta
| lina 4
alice 18
hana 43
dina 71
hana 75
ivan 88
lina 106
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041982 | qwen/qwen3.7-plus |
awkweave-0041983 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 2 6 fable
jules 22 21 birch
eli 8 9 fable
hana 23 24 ember
hana 15 21 cobalt
jules 14 4 birch
jules 4 1 birch
| gus 8
jules 43
eli 17
hana 47
hana 36
jules 18
jules 5
| alice 15 15 indigo
gus 24 9 harbor
dina 10 2 grove
ivan 2 24 fable
jules 6 1 indigo
eli 15 16 grove
| alice 30
gus 33
dina 12
ivan 26
jules 7
eli 31
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041983-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 2 6 fable
jules 22 21 birch
eli 8 9 fable
hana 23 24 ember
hana 15 21 cobalt
jules 14 4 birch
jules 4 1 birch
| gus 8
jules 43
eli 17
hana 47
hana 36
jules 18
jules 5
| alice 15 15 indigo
gus 24 9 harbor
dina 10 2 grove
ivan 2 24 fable
jules 6 1 indigo
eli 15 16 grove
| alice 30
gus 33
dina 12
ivan 26
jules 7
eli 31
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041983 | qwen/qwen3.7-plus |
awkweave-0041984 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | chen 4
hana 22
hana 11
chen 8
alice 27
farah 9
dina 12
| chen fail
hana pass
hana fail
chen fail
alice pass
farah fail
dina fail
| farah 18
eli 20
hana 8
jules 3
chen 25
kim 7
| farah fail
eli pass
hana fail
jules fail
chen pass
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041984-p1 | Output the first column and print 'pass' if the second column is 20 or greater; otherwise, print 'fail'. | {print $1,($2>=20?"pass":"fail")} | chen 4
hana 22
hana 11
chen 8
alice 27
farah 9
dina 12
| chen fail
hana pass
hana fail
chen fail
alice pass
farah fail
dina fail
| farah 18
eli 20
hana 8
jules 3
chen 25
kim 7
| farah fail
eli pass
hana fail
jules fail
chen pass
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041984 | qwen/qwen3.7-plus |
awkweave-0041985 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | ivan fable 82
hana indigo 56
hana cobalt 22
hana delta 42
eli amber 37
dina delta 31
kim delta 38
gus amber 93
farah birch 84
jules ember 102
| FABLE
INDIGO
COBALT
DELTA
AMBER
DELTA
DELTA
AMBER
BIRCH
EMBER
| jules indigo 46
chen fable 9
bruno cobalt 65
dina ember 40
lina ember 113
farah fable 74
lina birch 98
hana indigo 18
ivan fable 32
| INDIGO
FABLE
COBALT
EMBER
EMBER
FABLE
BIRCH
INDIGO
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041985-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | ivan fable 82
hana indigo 56
hana cobalt 22
hana delta 42
eli amber 37
dina delta 31
kim delta 38
gus amber 93
farah birch 84
jules ember 102
| FABLE
INDIGO
COBALT
DELTA
AMBER
DELTA
DELTA
AMBER
BIRCH
EMBER
| jules indigo 46
chen fable 9
bruno cobalt 65
dina ember 40
lina ember 113
farah fable 74
lina birch 98
hana indigo 18
ivan fable 32
| INDIGO
FABLE
COBALT
EMBER
EMBER
FABLE
BIRCH
INDIGO
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041985 | qwen/qwen3.7-plus |
awkweave-0041986 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | fable 59
fable 14
grove 60
juniper 109
indigo 110
ember 41
harbor 23
| ab
ab
ro
un
nd
mb
ar
| fable 14
ember 19
indigo 40
delta 93
indigo 14
ember 38
cobalt 2
| ab
mb
nd
el
nd
mb
ob
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041986-p1 | Extract and print a substring of length 2 from the first column, starting at the second character. | {print substr($1,2,2)} | fable 59
fable 14
grove 60
juniper 109
indigo 110
ember 41
harbor 23
| ab
ab
ro
un
nd
mb
ar
| fable 14
ember 19
indigo 40
delta 93
indigo 14
ember 38
cobalt 2
| ab
mb
nd
el
nd
mb
ob
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041986 | qwen/qwen3.7-plus |
awkweave-0041987 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_indigo 115
amber_indigo 54
birch_amber 91
harbor_ember 10
amber_amber 42
indigo_birch 112
cobalt_amber 31
| harbor indigo
amber indigo
birch amber
harbor ember
amber amber
indigo birch
cobalt amber
| ember_birch 15
fable_grove 44
fable_ember 101
indigo_grove 87
fable_amber 43
juniper_delta 0
harbor_grove 75
| ember birch
fable grove
fable ember
indigo grove
fable amber
juniper delta
harbor grove
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041987-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | harbor_indigo 115
amber_indigo 54
birch_amber 91
harbor_ember 10
amber_amber 42
indigo_birch 112
cobalt_amber 31
| harbor indigo
amber indigo
birch amber
harbor ember
amber amber
indigo birch
cobalt amber
| ember_birch 15
fable_grove 44
fable_ember 101
indigo_grove 87
fable_amber 43
juniper_delta 0
harbor_grove 75
| ember birch
fable grove
fable ember
indigo grove
fable amber
juniper delta
harbor grove
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041987 | qwen/qwen3.7-plus |
awkweave-0041988 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules harbor 73 active
dina delta 3 paused
eli amber 104 failed
lina grove 1 active
farah ember 0 ready
lina fable 107 paused
jules ember 20 failed
alice amber 114 active
ivan fable 36 failed
| active 73 harbor jules
paused 3 delta dina
failed 104 amber eli
active 1 grove lina
ready 0 ember farah
paused 107 fable lina
failed 20 ember jules
active 114 amber alice
failed 36 fable ivan
| farah cobalt 40 active
alice birch 102 failed
dina birch 1 paused
alice amber 54 failed
bruno fable 54 paused
alice amber 74 failed
| active 40 cobalt farah
failed 102 birch alice
paused 1 birch dina
failed 54 amber alice
paused 54 fable bruno
failed 74 amber alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041988-p1 | Reverse the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules harbor 73 active
dina delta 3 paused
eli amber 104 failed
lina grove 1 active
farah ember 0 ready
lina fable 107 paused
jules ember 20 failed
alice amber 114 active
ivan fable 36 failed
| active 73 harbor jules
paused 3 delta dina
failed 104 amber eli
active 1 grove lina
ready 0 ember farah
paused 107 fable lina
failed 20 ember jules
active 114 amber alice
failed 36 fable ivan
| farah cobalt 40 active
alice birch 102 failed
dina birch 1 paused
alice amber 54 failed
bruno fable 54 paused
alice amber 74 failed
| active 40 cobalt farah
failed 102 birch alice
paused 1 birch dina
failed 54 amber alice
paused 54 fable bruno
failed 74 amber alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041988 | qwen/qwen3.7-plus |
awkweave-0041989 | Print the number of whitespace-separated fields on each line. | {print NF} | jules fable 41 active
chen juniper 48 pending
lina delta 99 failed
jules harbor 118 pending
kim delta 72 failed
farah harbor 0 active
eli harbor 51 ready
gus indigo 13 paused
chen juniper 23 pending
| 4
4
4
4
4
4
4
4
4
| chen indigo 77 ready
farah cobalt 59 closed
kim delta 59 paused
kim cobalt 67 paused
eli amber 20 pending
bruno amber 62 ready
hana ember 66 ready
ivan ember 30 active
dina grove 102 closed
farah ember 13 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041989-p1 | Display the count of whitespace-delimited fields for each line. | {print NF} | jules fable 41 active
chen juniper 48 pending
lina delta 99 failed
jules harbor 118 pending
kim delta 72 failed
farah harbor 0 active
eli harbor 51 ready
gus indigo 13 paused
chen juniper 23 pending
| 4
4
4
4
4
4
4
4
4
| chen indigo 77 ready
farah cobalt 59 closed
kim delta 59 paused
kim cobalt 67 paused
eli amber 20 pending
bruno amber 62 ready
hana ember 66 ready
ivan ember 30 active
dina grove 102 closed
farah ember 13 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041989 | qwen/qwen3.7-plus |
awkweave-0042000 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta amber 27
gamma amber 51
alpha amber 49
delta harbor 69
gamma juniper 89
beta harbor 62
delta amber 11
delta juniper 26
beta grove 108
delta fable 100
| 4
| alpha birch 104
gamma juniper 29
alpha harbor 17
alpha ember 21
gamma grove 93
gamma juniper 78
gamma amber 93
| 2
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042000-p1 | Count the unique entries in column 1 and output just that number. | {if(!seen[$1]++)n++}END{print n+0} | beta amber 27
gamma amber 51
alpha amber 49
delta harbor 69
gamma juniper 89
beta harbor 62
delta amber 11
delta juniper 26
beta grove 108
delta fable 100
| 4
| alpha birch 104
gamma juniper 29
alpha harbor 17
alpha ember 21
gamma grove 93
gamma juniper 78
gamma amber 93
| 2
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042000 | qwen/qwen3.7-plus |
awkweave-0042001 | 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} | gus 18 0
kim 12 14
alice 2 12
jules 10 14
jules 28 30
eli 21 22
chen 8 28
farah 9 28
| kim 0.86
alice 0.17
jules 0.71
jules 0.93
eli 0.95
chen 0.29
farah 0.32
| jules 3 0
chen 25 20
lina 3 26
lina 13 2
dina 20 7
alice 1 25
| chen 1.25
lina 0.12
lina 6.50
dina 2.86
alice 0.04
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.