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-0026221-p1 | Identify and output the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 17 juniper gus
20 harbor gus
19 ember lina
7 harbor alice
11 ember jules
11 juniper chen
24 grove lina
| 7
| 6 cobalt ivan
20 harbor jules
20 cobalt lina
6 cobalt eli
5 grove chen
10 delta ivan
3 delta farah
13 juniper jules
20 ember jules
24 grove eli
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026221 | qwen/qwen3.7-plus |
awkweave-0026222 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | chen amber 3
farah delta 8
eli cobalt 20
jules grove 29
kim indigo 7
ivan ember 29
jules grove 30
ivan indigo 15
bruno ember 6
| 30
| gus cobalt 4
eli cobalt 29
lina cobalt 19
bruno harbor 22
lina fable 20
lina delta 8
lina birch 22
hana birch 22
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026222-p1 | Identify and output the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | chen amber 3
farah delta 8
eli cobalt 20
jules grove 29
kim indigo 7
ivan ember 29
jules grove 30
ivan indigo 15
bruno ember 6
| 30
| gus cobalt 4
eli cobalt 29
lina cobalt 19
bruno harbor 22
lina fable 20
lina delta 8
lina birch 22
hana birch 22
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026222 | qwen/qwen3.7-plus |
awkweave-0026223 | Count all input records and print the total. | END{print NR} | bruno 82
kim 21
alice 57
gus 94
eli 86
kim 84
| 6
| bruno 70
bruno 78
eli 59
dina 8
ivan 86
chen 60
chen 60
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026223-p1 | Count the total number of input records and print that number. | END{print NR} | bruno 82
kim 21
alice 57
gus 94
eli 86
kim 84
| 6
| bruno 70
bruno 78
eli 59
dina 8
ivan 86
chen 60
chen 60
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026223 | qwen/qwen3.7-plus |
awkweave-0026224 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | bruno juniper 25
gus fable 11
jules grove 4
eli fable 2
hana birch 65
eli birch 33
farah amber 111
lina ember 99
farah amber 111
eli ember 94
| bruno juniper 25
gus fable 11
jules grove 4
eli fable 2
hana birch 65
eli birch 33
farah amber 111
lina ember 99
eli ember 94
| ivan harbor 34
chen birch 34
hana fable 101
ivan cobalt 67
jules birch 83
alice ember 49
chen birch 34
eli fable 12
| ivan harbor 34
chen birch 34
hana fable 101
ivan cobalt 67
jules birch 83
alice ember 49
eli fable 12
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026224-p1 | Eliminate duplicate lines by keeping the first instance and maintaining the original sequence. | !seen[$0]++ | bruno juniper 25
gus fable 11
jules grove 4
eli fable 2
hana birch 65
eli birch 33
farah amber 111
lina ember 99
farah amber 111
eli ember 94
| bruno juniper 25
gus fable 11
jules grove 4
eli fable 2
hana birch 65
eli birch 33
farah amber 111
lina ember 99
eli ember 94
| ivan harbor 34
chen birch 34
hana fable 101
ivan cobalt 67
jules birch 83
alice ember 49
chen birch 34
eli fable 12
| ivan harbor 34
chen birch 34
hana fable 101
ivan cobalt 67
jules birch 83
alice ember 49
eli fable 12
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026224 | qwen/qwen3.7-plus |
awkweave-0026225 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah fable 48
bruno cobalt 86
jules grove 18
hana cobalt 82
chen harbor 83
alice cobalt 18
| farah fable 48
bruno cobalt 86
jules grove 18
hana cobalt 82
chen harbor 83
alice cobalt 18
| alice delta 39
lina amber 3
jules delta 14
bruno harbor 91
jules cobalt 20
eli birch 88
bruno birch 62
alice fable 37
lina amber 103
| alice delta 39
lina amber 3
jules delta 14
bruno harbor 91
eli birch 88
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026225-p1 | Retain only the initial line for every unique value in column 1, while preserving the input order. | !seen[$1]++ | farah fable 48
bruno cobalt 86
jules grove 18
hana cobalt 82
chen harbor 83
alice cobalt 18
| farah fable 48
bruno cobalt 86
jules grove 18
hana cobalt 82
chen harbor 83
alice cobalt 18
| alice delta 39
lina amber 3
jules delta 14
bruno harbor 91
jules cobalt 20
eli birch 88
bruno birch 62
alice fable 37
lina amber 103
| alice delta 39
lina amber 3
jules delta 14
bruno harbor 91
eli birch 88
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026225 | qwen/qwen3.7-plus |
awkweave-0026226 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 4 delta
farah 25 cobalt
eli 4 ember
jules 21 fable
ivan 24 fable
jules 26 indigo
alice 28 juniper
eli 12 fable
gus 25 indigo
| alice 4
farah 29
eli 33
jules 54
ivan 78
jules 104
alice 132
eli 144
gus 169
| eli 28 delta
bruno 9 juniper
bruno 13 birch
bruno 26 delta
bruno 10 ember
kim 28 grove
ivan 30 fable
farah 18 indigo
| eli 28
bruno 37
bruno 50
bruno 76
bruno 86
kim 114
ivan 144
farah 162
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026226-p1 | Output column 1 alongside the cumulative total of column 2, using a space as the delimiter. | {s+=$2;print $1,s} | alice 4 delta
farah 25 cobalt
eli 4 ember
jules 21 fable
ivan 24 fable
jules 26 indigo
alice 28 juniper
eli 12 fable
gus 25 indigo
| alice 4
farah 29
eli 33
jules 54
ivan 78
jules 104
alice 132
eli 144
gus 169
| eli 28 delta
bruno 9 juniper
bruno 13 birch
bruno 26 delta
bruno 10 ember
kim 28 grove
ivan 30 fable
farah 18 indigo
| eli 28
bruno 37
bruno 50
bruno 76
bruno 86
kim 114
ivan 144
farah 162
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026226 | qwen/qwen3.7-plus |
awkweave-0026227 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 3 22 harbor
lina 3 28 indigo
bruno 1 22 indigo
gus 24 14 harbor
bruno 13 25 fable
hana 10 2 birch
chen 30 21 birch
ivan 29 1 juniper
ivan 26 1 indigo
gus 15 12 harbor
| farah 25
lina 31
bruno 23
gus 38
bruno 38
hana 12
chen 51
ivan 30
ivan 27
gus 27
| alice 26 19 ember
bruno 4 17 juniper
jules 29 4 ember
chen 6 18 cobalt
kim 26 1 amber
ivan 23 23 ember
alice 11 21 fable
gus 5 27 indigo
| alice 45
bruno 21
jules 33
chen 24
kim 27
ivan 46
alice 32
gus 32
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026227-p1 | For each row, display field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 3 22 harbor
lina 3 28 indigo
bruno 1 22 indigo
gus 24 14 harbor
bruno 13 25 fable
hana 10 2 birch
chen 30 21 birch
ivan 29 1 juniper
ivan 26 1 indigo
gus 15 12 harbor
| farah 25
lina 31
bruno 23
gus 38
bruno 38
hana 12
chen 51
ivan 30
ivan 27
gus 27
| alice 26 19 ember
bruno 4 17 juniper
jules 29 4 ember
chen 6 18 cobalt
kim 26 1 amber
ivan 23 23 ember
alice 11 21 fable
gus 5 27 indigo
| alice 45
bruno 21
jules 33
chen 24
kim 27
ivan 46
alice 32
gus 32
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026227 | qwen/qwen3.7-plus |
awkweave-0026228 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | lina 22
chen 18
chen 21
bruno 30
lina 18
bruno 9
| lina fail
chen fail
chen fail
bruno pass
lina fail
bruno fail
| ivan 29
lina 28
lina 22
hana 6
jules 19
alice 5
alice 29
hana 15
lina 11
bruno 21
| ivan pass
lina pass
lina fail
hana fail
jules fail
alice fail
alice pass
hana fail
lina fail
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026228-p1 | Output column 1 with 'pass' if column 2 is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | lina 22
chen 18
chen 21
bruno 30
lina 18
bruno 9
| lina fail
chen fail
chen fail
bruno pass
lina fail
bruno fail
| ivan 29
lina 28
lina 22
hana 6
jules 19
alice 5
alice 29
hana 15
lina 11
bruno 21
| ivan pass
lina pass
lina fail
hana fail
jules fail
alice fail
alice pass
hana fail
lina fail
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026228 | qwen/qwen3.7-plus |
awkweave-0026229 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | gus ember 23
ivan birch 117
dina birch 2
gus harbor 110
hana juniper 37
gus harbor 69
gus fable 9
eli birch 78
farah indigo 3
| EMBER
BIRCH
BIRCH
HARBOR
JUNIPER
HARBOR
FABLE
BIRCH
INDIGO
| hana delta 23
ivan ember 10
gus juniper 74
chen harbor 108
dina grove 55
chen cobalt 28
kim harbor 59
hana delta 11
dina ember 41
| DELTA
EMBER
JUNIPER
HARBOR
GROVE
COBALT
HARBOR
DELTA
EMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026229-p1 | Transform column 2 to uppercase and output only that column. | {print toupper($2)} | gus ember 23
ivan birch 117
dina birch 2
gus harbor 110
hana juniper 37
gus harbor 69
gus fable 9
eli birch 78
farah indigo 3
| EMBER
BIRCH
BIRCH
HARBOR
JUNIPER
HARBOR
FABLE
BIRCH
INDIGO
| hana delta 23
ivan ember 10
gus juniper 74
chen harbor 108
dina grove 55
chen cobalt 28
kim harbor 59
hana delta 11
dina ember 41
| DELTA
EMBER
JUNIPER
HARBOR
GROVE
COBALT
HARBOR
DELTA
EMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026229 | qwen/qwen3.7-plus |
awkweave-0026230 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | harbor 19
indigo 102
amber 116
amber 105
birch 8
cobalt 105
| har
ind
amb
amb
bir
cob
| juniper 117
birch 58
amber 9
harbor 40
delta 49
amber 71
cobalt 22
grove 15
| jun
bir
amb
har
del
amb
cob
gro
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026230-p1 | Extract and print the first 3 characters from column 1, starting at position 1. | {print substr($1,1,3)} | harbor 19
indigo 102
amber 116
amber 105
birch 8
cobalt 105
| har
ind
amb
amb
bir
cob
| juniper 117
birch 58
amber 9
harbor 40
delta 49
amber 71
cobalt 22
grove 15
| jun
bir
amb
har
del
amb
cob
gro
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026230 | qwen/qwen3.7-plus |
awkweave-0026231 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_juniper 77
amber_indigo 18
indigo_harbor 78
cobalt_amber 25
amber_amber 29
amber_ember 79
| indigo juniper
amber indigo
indigo harbor
cobalt amber
amber amber
amber ember
| harbor_amber 43
harbor_ember 108
fable_indigo 15
harbor_juniper 46
cobalt_juniper 4
birch_indigo 82
ember_grove 13
grove_fable 81
fable_birch 59
| harbor amber
harbor ember
fable indigo
harbor juniper
cobalt juniper
birch indigo
ember grove
grove fable
fable birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026231-p1 | Substitute all underscores in column 1 with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | indigo_juniper 77
amber_indigo 18
indigo_harbor 78
cobalt_amber 25
amber_amber 29
amber_ember 79
| indigo juniper
amber indigo
indigo harbor
cobalt amber
amber amber
amber ember
| harbor_amber 43
harbor_ember 108
fable_indigo 15
harbor_juniper 46
cobalt_juniper 4
birch_indigo 82
ember_grove 13
grove_fable 81
fable_birch 59
| harbor amber
harbor ember
fable indigo
harbor juniper
cobalt juniper
birch indigo
ember grove
grove fable
fable birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026231 | qwen/qwen3.7-plus |
awkweave-0026232 | 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)} | farah harbor 112 active
chen birch 31 ready
lina indigo 10 paused
ivan harbor 8 active
farah fable 13 paused
dina ember 56 pending
alice harbor 21 active
lina delta 104 closed
lina juniper 48 active
| active 112 harbor farah
ready 31 birch chen
paused 10 indigo lina
active 8 harbor ivan
paused 13 fable farah
pending 56 ember dina
active 21 harbor alice
closed 104 delta lina
active 48 juniper lina
| farah ember 67 active
hana amber 97 active
alice indigo 48 closed
lina harbor 113 failed
dina ember 23 ready
ivan indigo 11 pending
kim juniper 119 ready
| active 67 ember farah
active 97 amber hana
closed 48 indigo alice
failed 113 harbor lina
ready 23 ember dina
pending 11 indigo ivan
ready 119 juniper kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026232-p1 | Reverse the field order for each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah harbor 112 active
chen birch 31 ready
lina indigo 10 paused
ivan harbor 8 active
farah fable 13 paused
dina ember 56 pending
alice harbor 21 active
lina delta 104 closed
lina juniper 48 active
| active 112 harbor farah
ready 31 birch chen
paused 10 indigo lina
active 8 harbor ivan
paused 13 fable farah
pending 56 ember dina
active 21 harbor alice
closed 104 delta lina
active 48 juniper lina
| farah ember 67 active
hana amber 97 active
alice indigo 48 closed
lina harbor 113 failed
dina ember 23 ready
ivan indigo 11 pending
kim juniper 119 ready
| active 67 ember farah
active 97 amber hana
closed 48 indigo alice
failed 113 harbor lina
ready 23 ember dina
pending 11 indigo ivan
ready 119 juniper kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026232 | qwen/qwen3.7-plus |
awkweave-0026233 | Print the number of whitespace-separated fields on each line. | {print NF} | lina juniper 11 pending
ivan ember 54 paused
dina cobalt 18 ready
jules grove 16 failed
farah grove 79 ready
eli harbor 116 active
| 4
4
4
4
4
4
| gus indigo 22 paused
hana fable 31 pending
alice amber 30 failed
bruno delta 64 active
hana indigo 69 closed
gus amber 7 active
lina grove 3 failed
kim birch 62 closed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026233-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | lina juniper 11 pending
ivan ember 54 paused
dina cobalt 18 ready
jules grove 16 failed
farah grove 79 ready
eli harbor 116 active
| 4
4
4
4
4
4
| gus indigo 22 paused
hana fable 31 pending
alice amber 30 failed
bruno delta 64 active
hana indigo 69 closed
gus amber 7 active
lina grove 3 failed
kim birch 62 closed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026233 | qwen/qwen3.7-plus |
awkweave-0026234 | 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]]} | chen beta 40
gus alpha 58
alice beta 14
dina alpha 63
hana gamma 111
dina alpha 117
farah beta 58
chen alpha 88
kim beta 44
| beta 4
alpha 4
gamma 1
| dina gamma 98
bruno beta 85
bruno alpha 10
lina gamma 72
alice alpha 3
alice beta 61
hana gamma 89
| gamma 3
beta 2
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026234-p1 | Tally records for each unique value in column 2 and print the value with 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]]} | chen beta 40
gus alpha 58
alice beta 14
dina alpha 63
hana gamma 111
dina alpha 117
farah beta 58
chen alpha 88
kim beta 44
| beta 4
alpha 4
gamma 1
| dina gamma 98
bruno beta 85
bruno alpha 10
lina gamma 72
alice alpha 3
alice beta 61
hana gamma 89
| gamma 3
beta 2
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026234 | qwen/qwen3.7-plus |
awkweave-0026235 | 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]]} | hana gamma 5
alice beta 3
kim delta 3
bruno beta 9
eli beta 25
ivan beta 3
ivan alpha 19
dina alpha 17
| gamma 5
beta 40
delta 3
alpha 36
| ivan alpha 30
hana gamma 27
lina gamma 3
farah alpha 20
chen delta 16
alice alpha 4
gus alpha 23
hana gamma 4
| alpha 77
gamma 34
delta 16
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026235-p1 | Calculate the sum of column 3 for each category in column 2, printing the groups in the order they first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | hana gamma 5
alice beta 3
kim delta 3
bruno beta 9
eli beta 25
ivan beta 3
ivan alpha 19
dina alpha 17
| gamma 5
beta 40
delta 3
alpha 36
| ivan alpha 30
hana gamma 27
lina gamma 3
farah alpha 20
chen delta 16
alice alpha 4
gus alpha 23
hana gamma 4
| alpha 77
gamma 34
delta 16
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026235 | qwen/qwen3.7-plus |
awkweave-0026236 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma harbor 97
gamma ember 43
beta grove 114
alpha juniper 98
delta fable 94
beta cobalt 69
| gamma 2
beta 2
| alpha fable 113
beta harbor 82
beta birch 107
alpha amber 9
gamma juniper 35
gamma ember 60
| alpha 2
beta 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026236-p1 | List each unique value from the first column along with its frequency, ordered by when it first appears. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma harbor 97
gamma ember 43
beta grove 114
alpha juniper 98
delta fable 94
beta cobalt 69
| gamma 2
beta 2
| alpha fable 113
beta harbor 82
beta birch 107
alpha amber 9
gamma juniper 35
gamma ember 60
| alpha 2
beta 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026236 | qwen/qwen3.7-plus |
awkweave-0026237 | 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"]} | record_id score state region
r001 hana 24 closed
r002 eli 29 pending
r003 lina 5 ready
r004 bruno 7 paused
r005 dina 15 active
r006 lina 3 closed
r007 hana 2 paused
r008 chen 12 closed
| hana
eli
lina
bruno
dina
lina
hana
chen
| record_id score state region
r001 chen 6 active
r002 gus 14 ready
r003 farah 22 pending
r004 hana 29 closed
r005 chen 20 paused
r006 eli 23 paused
r007 chen 27 paused
r008 dina 10 active
r009 hana 8 ready
| chen
gus
farah
hana
chen
eli
chen
dina
hana
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026237-p1 | Skip the header row and output the values found in the score column for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id score state region
r001 hana 24 closed
r002 eli 29 pending
r003 lina 5 ready
r004 bruno 7 paused
r005 dina 15 active
r006 lina 3 closed
r007 hana 2 paused
r008 chen 12 closed
| hana
eli
lina
bruno
dina
lina
hana
chen
| record_id score state region
r001 chen 6 active
r002 gus 14 ready
r003 farah 22 pending
r004 hana 29 closed
r005 chen 20 paused
r006 eli 23 paused
r007 chen 27 paused
r008 dina 10 active
r009 hana 8 ready
| chen
gus
farah
hana
chen
eli
chen
dina
hana
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026237 | qwen/qwen3.7-plus |
awkweave-0026238 | The first row is a header. Print display_name for data rows whose score is greater than 17. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]} | record_id display_name score state
r001 alice 29 pending
r002 eli 5 active
r003 eli 16 ready
r004 gus 14 ready
r005 dina 2 paused
r006 jules 6 active
r007 alice 13 closed
r008 lina 24 paused
| alice
lina
| record_id display_name score state
r001 lina 23 failed
r002 alice 11 failed
r003 farah 22 closed
r004 eli 5 closed
r005 ivan 1 closed
r006 kim 10 ready
r007 hana 4 paused
r008 lina 3 closed
r009 bruno 18 failed
r010 hana 20 active
| lina
farah
bruno
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026238-p1 | Ignore the header row and print the display_name field for any data row where the score is strictly greater than 17. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]} | record_id display_name score state
r001 alice 29 pending
r002 eli 5 active
r003 eli 16 ready
r004 gus 14 ready
r005 dina 2 paused
r006 jules 6 active
r007 alice 13 closed
r008 lina 24 paused
| alice
lina
| record_id display_name score state
r001 lina 23 failed
r002 alice 11 failed
r003 farah 22 closed
r004 eli 5 closed
r005 ivan 1 closed
r006 kim 10 ready
r007 hana 4 paused
r008 lina 3 closed
r009 bruno 18 failed
r010 hana 20 active
| lina
farah
bruno
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026238 | qwen/qwen3.7-plus |
awkweave-0026239 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | bruno 3 failed
farah 28 active
hana 3 pending
farah 13 active
bruno 26 failed
bruno 19 closed
eli 17 closed
gus 30 closed
| 3
28
3
13
26
19
17
30
| chen 19 pending
eli 30 active
eli 3 active
chen 4 failed
alice 28 paused
gus 4 ready
jules 4 failed
kim 9 closed
| 19
30
3
4
28
4
4
9
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026239-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | bruno 3 failed
farah 28 active
hana 3 pending
farah 13 active
bruno 26 failed
bruno 19 closed
eli 17 closed
gus 30 closed
| 3
28
3
13
26
19
17
30
| chen 19 pending
eli 30 active
eli 3 active
chen 4 failed
alice 28 paused
gus 4 ready
jules 4 failed
kim 9 closed
| 19
30
3
4
28
4
4
9
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0026239 | qwen/qwen3.7-plus |
awkweave-0026240 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | kim,29,pending
chen,12,failed
gus,29,ready
dina,27,failed
gus,12,paused
chen,30,closed
lina,12,failed
dina,26,pending
| kim
gus
dina
chen
dina
| jules,13,closed
hana,3,active
hana,23,pending
farah,12,failed
chen,30,paused
bruno,26,ready
kim,7,paused
| hana
chen
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026240-p1 | For simple CSV input without quoted commas, print the first column only if the second column value is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | kim,29,pending
chen,12,failed
gus,29,ready
dina,27,failed
gus,12,paused
chen,30,closed
lina,12,failed
dina,26,pending
| kim
gus
dina
chen
dina
| jules,13,closed
hana,3,active
hana,23,pending
farah,12,failed
chen,30,paused
bruno,26,ready
kim,7,paused
| hana
chen
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026240 | qwen/qwen3.7-plus |
awkweave-0026241 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | kim birch 49
alice birch 97
dina fable 42
chen harbor 52
eli delta 109
lina indigo 6
| kim birch 49
alice birch 97
dina fable 42
chen harbor 52
eli delta 109
lina indigo 6
| bruno amber 73
chen delta 58
farah cobalt 45
chen fable 57
lina delta 46
lina cobalt 25
chen delta 20
eli fable 119
dina cobalt 98
dina fable 106
| bruno amber 73
chen delta 58
farah cobalt 45
chen fable 57
lina delta 46
lina cobalt 25
chen delta 20
eli fable 119
dina cobalt 98
dina fable 106
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026241-p1 | Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | kim birch 49
alice birch 97
dina fable 42
chen harbor 52
eli delta 109
lina indigo 6
| kim birch 49
alice birch 97
dina fable 42
chen harbor 52
eli delta 109
lina indigo 6
| bruno amber 73
chen delta 58
farah cobalt 45
chen fable 57
lina delta 46
lina cobalt 25
chen delta 20
eli fable 119
dina cobalt 98
dina fable 106
| bruno amber 73
chen delta 58
farah cobalt 45
chen fable 57
lina delta 46
lina cobalt 25
chen delta 20
eli fable 119
dina cobalt 98
dina fable 106
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026241 | qwen/qwen3.7-plus |
awkweave-0026242 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 84 failed
hana delta 51 failed
jules harbor 8 paused
chen amber 15 paused
hana grove 73 ready
farah fable 12 closed
kim indigo 9 ready
| bruno delta 84 failed
| farah juniper 84 active
jules indigo 118 failed
dina fable 48 paused
lina delta 58 paused
kim cobalt 37 ready
kim ember 21 pending
| farah juniper 84 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026242-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 84 failed
hana delta 51 failed
jules harbor 8 paused
chen amber 15 paused
hana grove 73 ready
farah fable 12 closed
kim indigo 9 ready
| bruno delta 84 failed
| farah juniper 84 active
jules indigo 118 failed
dina fable 48 paused
lina delta 58 paused
kim cobalt 37 ready
kim ember 21 pending
| farah juniper 84 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026242 | qwen/qwen3.7-plus |
awkweave-0026243 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | eli 40
jules 120
lina 20
eli 16
hana 5
kim 73
kim 17
| eli 16
| kim 64
bruno 22
farah 60
bruno 111
dina 33
farah 52
lina 58
alice 77
hana 6
bruno 47
| bruno 111
alice 77
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026243-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | eli 40
jules 120
lina 20
eli 16
hana 5
kim 73
kim 17
| eli 16
| kim 64
bruno 22
farah 60
bruno 111
dina 33
farah 52
lina 58
alice 77
hana 6
bruno 47
| bruno 111
alice 77
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026243 | qwen/qwen3.7-plus |
awkweave-0026244 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 16
gamma birch 112
beta grove 113
alpha amber 107
delta grove 32
beta juniper 27
| 4
| beta ember 26
gamma amber 61
delta amber 40
gamma delta 59
gamma birch 6
delta amber 117
alpha cobalt 53
beta delta 37
alpha ember 80
beta fable 36
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026244-p1 | Calculate the number of unique values present in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 16
gamma birch 112
beta grove 113
alpha amber 107
delta grove 32
beta juniper 27
| 4
| beta ember 26
gamma amber 61
delta amber 40
gamma delta 59
gamma birch 6
delta amber 117
alpha cobalt 53
beta delta 37
alpha ember 80
beta fable 36
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026244 | qwen/qwen3.7-plus |
awkweave-0026245 | 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 2 0
hana 8 15
chen 26 5
bruno 30 5
lina 23 26
alice 26 2
farah 16 21
lina 26 4
lina 30 20
bruno 20 24
| hana 0.53
chen 5.20
bruno 6.00
lina 0.88
alice 13.00
farah 0.76
lina 6.50
lina 1.50
bruno 0.83
| alice 18 0
alice 3 18
alice 5 25
chen 27 27
chen 4 7
lina 4 21
| alice 0.17
alice 0.20
chen 1.00
chen 0.57
lina 0.19
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026245-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), omitting any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 2 0
hana 8 15
chen 26 5
bruno 30 5
lina 23 26
alice 26 2
farah 16 21
lina 26 4
lina 30 20
bruno 20 24
| hana 0.53
chen 5.20
bruno 6.00
lina 0.88
alice 13.00
farah 0.76
lina 6.50
lina 1.50
bruno 0.83
| alice 18 0
alice 3 18
alice 5 25
chen 27 27
chen 4 7
lina 4 21
| alice 0.17
alice 0.20
chen 1.00
chen 0.57
lina 0.19
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026245 | qwen/qwen3.7-plus |
awkweave-0026246 | 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]} | jules harbor 9
ivan ember 6
chen juniper 6
lina amber 17
ivan fable 15
lina indigo 14
dina juniper 9
dina amber 5
dina harbor 18
| dina harbor 18
lina amber 17
ivan fable 15
| eli juniper 5
lina cobalt 11
jules grove 12
lina ember 28
alice cobalt 25
lina amber 6
bruno delta 25
bruno juniper 10
chen amber 24
| lina ember 28
alice cobalt 25
bruno delta 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026246-p1 | Select 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]} | jules harbor 9
ivan ember 6
chen juniper 6
lina amber 17
ivan fable 15
lina indigo 14
dina juniper 9
dina amber 5
dina harbor 18
| dina harbor 18
lina amber 17
ivan fable 15
| eli juniper 5
lina cobalt 11
jules grove 12
lina ember 28
alice cobalt 25
lina amber 6
bruno delta 25
bruno juniper 10
chen amber 24
| lina ember 28
alice cobalt 25
bruno delta 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026246 | qwen/qwen3.7-plus |
awkweave-0026247 | For each line, output fields 5 and 1, in that order. | {print $5, $1} | 49 67 juniper birch farah
90 107 delta harbor bruno
96 115 harbor grove lina
55 87 birch birch hana
15 45 fable harbor gus
33 1 amber cobalt chen
| farah 49
bruno 90
lina 96
hana 55
gus 15
chen 33
| 116 94 indigo cobalt alice
33 75 amber amber bruno
48 105 cobalt amber lina
114 92 harbor indigo hana
3 92 delta ember bruno
42 59 juniper birch jules
111 39 ember ember farah
15 46 ember birch eli
12 24 amber amber eli
| alice 116
bruno 33
lina 48
hana 114
bruno 3
jules 42
farah 111
eli 15
eli 12
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026247-p1 | For every line, print the fifth field followed by the first field. | {print $5, $1} | 49 67 juniper birch farah
90 107 delta harbor bruno
96 115 harbor grove lina
55 87 birch birch hana
15 45 fable harbor gus
33 1 amber cobalt chen
| farah 49
bruno 90
lina 96
hana 55
gus 15
chen 33
| 116 94 indigo cobalt alice
33 75 amber amber bruno
48 105 cobalt amber lina
114 92 harbor indigo hana
3 92 delta ember bruno
42 59 juniper birch jules
111 39 ember ember farah
15 46 ember birch eli
12 24 amber amber eli
| alice 116
bruno 33
lina 48
hana 114
bruno 3
jules 42
farah 111
eli 15
eli 12
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026247 | qwen/qwen3.7-plus |
awkweave-0026248 | Print the last field of every input line. | {print $NF} | chen pending delta
bruno active delta
kim pending juniper
jules paused ember
dina closed cobalt
hana paused amber
bruno active harbor
dina ready ember
| delta
delta
juniper
ember
cobalt
amber
harbor
ember
| eli failed amber
gus ready fable
jules ready cobalt
gus ready birch
kim pending indigo
chen active grove
farah paused juniper
gus closed juniper
| amber
fable
cobalt
birch
indigo
grove
juniper
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026248-p1 | Output the final field from each input line. | {print $NF} | chen pending delta
bruno active delta
kim pending juniper
jules paused ember
dina closed cobalt
hana paused amber
bruno active harbor
dina ready ember
| delta
delta
juniper
ember
cobalt
amber
harbor
ember
| eli failed amber
gus ready fable
jules ready cobalt
gus ready birch
kim pending indigo
chen active grove
farah paused juniper
gus closed juniper
| amber
fable
cobalt
birch
indigo
grove
juniper
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026248 | qwen/qwen3.7-plus |
awkweave-0026249 | Print the complete records where column 1 is at least 25. | $1 >= 25 | 117 active jules pending hana
73 pending lina ready eli
110 closed chen failed ivan
26 paused hana closed dina
21 paused kim pending lina
32 closed jules failed ivan
96 pending dina ready gus
71 paused alice pending eli
14 failed dina ready eli
82 pending jules paused jules
| 117 active jules pending hana
73 pending lina ready eli
110 closed chen failed ivan
26 paused hana closed dina
32 closed jules failed ivan
96 pending dina ready gus
71 paused alice pending eli
82 pending jules paused jules
| 49 ready hana ready bruno
91 paused dina closed farah
103 closed hana active ivan
88 ready bruno closed alice
116 pending ivan active farah
80 active chen pending dina
| 49 ready hana ready bruno
91 paused dina closed farah
103 closed hana active ivan
88 ready bruno closed alice
116 pending ivan active farah
80 active chen pending dina
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026249-p1 | Display full records where the value in the first column is greater than or equal to 25. | $1 >= 25 | 117 active jules pending hana
73 pending lina ready eli
110 closed chen failed ivan
26 paused hana closed dina
21 paused kim pending lina
32 closed jules failed ivan
96 pending dina ready gus
71 paused alice pending eli
14 failed dina ready eli
82 pending jules paused jules
| 117 active jules pending hana
73 pending lina ready eli
110 closed chen failed ivan
26 paused hana closed dina
32 closed jules failed ivan
96 pending dina ready gus
71 paused alice pending eli
82 pending jules paused jules
| 49 ready hana ready bruno
91 paused dina closed farah
103 closed hana active ivan
88 ready bruno closed alice
116 pending ivan active farah
80 active chen pending dina
| 49 ready hana ready bruno
91 paused dina closed farah
103 closed hana active ivan
88 ready bruno closed alice
116 pending ivan active farah
80 active chen pending dina
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026249 | qwen/qwen3.7-plus |
awkweave-0026250 | Show whole lines whose 2nd field is between 3 and 22, inclusive. | $2 >= 3 && $2 <= 22 | pending 14 cobalt lina
pending 23 harbor ivan
closed 29 harbor bruno
ready 9 grove dina
pending 2 indigo ivan
paused 25 birch chen
pending 9 delta alice
failed 29 ember eli
| pending 14 cobalt lina
ready 9 grove dina
pending 9 delta alice
| active 25 juniper alice
closed 9 birch jules
closed 13 cobalt farah
paused 29 ember lina
pending 7 cobalt ivan
ready 5 birch jules
failed 23 cobalt bruno
active 26 ember gus
failed 16 fable gus
| closed 9 birch jules
closed 13 cobalt farah
pending 7 cobalt ivan
ready 5 birch jules
failed 16 fable gus
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026250-p1 | Show entire lines where the second field falls within the inclusive range of 3 to 22. | $2 >= 3 && $2 <= 22 | pending 14 cobalt lina
pending 23 harbor ivan
closed 29 harbor bruno
ready 9 grove dina
pending 2 indigo ivan
paused 25 birch chen
pending 9 delta alice
failed 29 ember eli
| pending 14 cobalt lina
ready 9 grove dina
pending 9 delta alice
| active 25 juniper alice
closed 9 birch jules
closed 13 cobalt farah
paused 29 ember lina
pending 7 cobalt ivan
ready 5 birch jules
failed 23 cobalt bruno
active 26 ember gus
failed 16 fable gus
| closed 9 birch jules
closed 13 cobalt farah
pending 7 cobalt ivan
ready 5 birch jules
failed 16 fable gus
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026250 | qwen/qwen3.7-plus |
awkweave-0026251 | Print column 4 only for rows where column 1 is exactly failed. | $1 == "failed"{print $4} | failed 75 juniper jules
closed 98 amber kim
failed 58 indigo dina
closed 0 cobalt ivan
paused 70 cobalt chen
paused 72 cobalt gus
ready 45 indigo hana
active 83 cobalt gus
failed 37 delta bruno
ready 86 birch gus
| jules
dina
bruno
| active 60 indigo bruno
paused 49 fable eli
closed 15 cobalt jules
failed 42 delta hana
closed 14 delta jules
pending 105 cobalt dina
| hana
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026251-p1 | Extract and print only the fourth column for rows where the first column matches 'failed' exactly. | $1 == "failed"{print $4} | failed 75 juniper jules
closed 98 amber kim
failed 58 indigo dina
closed 0 cobalt ivan
paused 70 cobalt chen
paused 72 cobalt gus
ready 45 indigo hana
active 83 cobalt gus
failed 37 delta bruno
ready 86 birch gus
| jules
dina
bruno
| active 60 indigo bruno
paused 49 fable eli
closed 15 cobalt jules
failed 42 delta hana
closed 14 delta jules
pending 105 cobalt dina
| hana
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026251 | qwen/qwen3.7-plus |
awkweave-0026252 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | WARN 43 harbor
WARN 39 grove
DEBUG 40 juniper
DEBUG 47 delta
ERROR 92 amber
ERROR 102 delta
DEBUG 5 birch
INFO 93 cobalt
INFO 84 indigo
| WARN 43 harbor
WARN 39 grove
| WARN 15 delta
DEBUG 109 birch
INFO 98 harbor
WARN 74 indigo
WARN 14 indigo
DEBUG 100 juniper
DEBUG 120 harbor
WARN 88 ember
DEBUG 40 fable
WARN 30 juniper
| WARN 15 delta
WARN 74 indigo
WARN 14 indigo
WARN 88 ember
WARN 30 juniper
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026252-p1 | Print all fields from lines where the first field starts with the string 'WARN'. | $1 ~ /^WARN/ | WARN 43 harbor
WARN 39 grove
DEBUG 40 juniper
DEBUG 47 delta
ERROR 92 amber
ERROR 102 delta
DEBUG 5 birch
INFO 93 cobalt
INFO 84 indigo
| WARN 43 harbor
WARN 39 grove
| WARN 15 delta
DEBUG 109 birch
INFO 98 harbor
WARN 74 indigo
WARN 14 indigo
DEBUG 100 juniper
DEBUG 120 harbor
WARN 88 ember
DEBUG 40 fable
WARN 30 juniper
| WARN 15 delta
WARN 74 indigo
WARN 14 indigo
WARN 88 ember
WARN 30 juniper
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026252 | qwen/qwen3.7-plus |
awkweave-0026253 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | juniper 88 active
grove 74 active
ember 108 ready
grove 49 active
ember 112 paused
amber 119 pending
harbor 110 pending
juniper 999 active
| grove 74 active
ember 108 ready
grove 49 active
ember 112 paused
amber 119 pending
harbor 110 pending
| amber 97 pending
ember 18 active
ember 114 pending
delta 2 ready
indigo 57 pending
amber 79 ready
ember 114 paused
juniper 999 active
| amber 97 pending
ember 18 active
ember 114 pending
delta 2 ready
indigo 57 pending
amber 79 ready
ember 114 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026253-p1 | Output every line that does not contain the exact substring 'juniper'. | $0 !~ /juniper/ | juniper 88 active
grove 74 active
ember 108 ready
grove 49 active
ember 112 paused
amber 119 pending
harbor 110 pending
juniper 999 active
| grove 74 active
ember 108 ready
grove 49 active
ember 112 paused
amber 119 pending
harbor 110 pending
| amber 97 pending
ember 18 active
ember 114 pending
delta 2 ready
indigo 57 pending
amber 79 ready
ember 114 paused
juniper 999 active
| amber 97 pending
ember 18 active
ember 114 pending
delta 2 ready
indigo 57 pending
amber 79 ready
ember 114 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026253 | qwen/qwen3.7-plus |
awkweave-0026254 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | jules juniper 93
chen indigo 26
ivan ember 116
hana harbor 47
ivan grove 101
hana birch 49
kim delta 112
chen juniper 96
| ivan ember 116
hana harbor 47
ivan grove 101
| chen cobalt 85
eli indigo 44
kim delta 98
lina juniper 9
bruno indigo 60
ivan amber 58
alice ember 31
kim cobalt 99
kim grove 31
jules cobalt 33
| kim delta 98
lina juniper 9
bruno indigo 60
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026254-p1 | Print lines numbered 3 through 5, inclusive of both the start and end lines. | NR >= 3 && NR <= 5 | jules juniper 93
chen indigo 26
ivan ember 116
hana harbor 47
ivan grove 101
hana birch 49
kim delta 112
chen juniper 96
| ivan ember 116
hana harbor 47
ivan grove 101
| chen cobalt 85
eli indigo 44
kim delta 98
lina juniper 9
bruno indigo 60
ivan amber 58
alice ember 31
kim cobalt 99
kim grove 31
jules cobalt 33
| kim delta 98
lina juniper 9
bruno indigo 60
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026254 | qwen/qwen3.7-plus |
awkweave-0026255 | Output only the first 4 records. | NR <= 4 | alice 51 birch
dina 73 ember
bruno 86 grove
jules 117 harbor
chen 40 delta
kim 56 cobalt
| alice 51 birch
dina 73 ember
bruno 86 grove
jules 117 harbor
| jules 58 cobalt
jules 16 harbor
lina 1 amber
eli 20 indigo
alice 29 delta
jules 38 ember
kim 39 birch
ivan 95 juniper
alice 72 grove
kim 86 birch
| jules 58 cobalt
jules 16 harbor
lina 1 amber
eli 20 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026255-p1 | Output only the first 4 records from the input. | NR <= 4 | alice 51 birch
dina 73 ember
bruno 86 grove
jules 117 harbor
chen 40 delta
kim 56 cobalt
| alice 51 birch
dina 73 ember
bruno 86 grove
jules 117 harbor
| jules 58 cobalt
jules 16 harbor
lina 1 amber
eli 20 indigo
alice 29 delta
jules 38 ember
kim 39 birch
ivan 95 juniper
alice 72 grove
kim 86 birch
| jules 58 cobalt
jules 16 harbor
lina 1 amber
eli 20 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026255 | qwen/qwen3.7-plus |
awkweave-0026256 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 51 juniper
kim 75 ember
kim 76 fable
kim 115 ember
jules 108 amber
jules 113 cobalt
bruno 40 ember
chen 12 juniper
| kim 75 ember
kim 76 fable
kim 115 ember
jules 108 amber
jules 113 cobalt
bruno 40 ember
chen 12 juniper
| chen 32 harbor
eli 21 birch
hana 68 fable
gus 84 cobalt
lina 75 harbor
farah 73 birch
hana 44 delta
| eli 21 birch
hana 68 fable
gus 84 cobalt
lina 75 harbor
farah 73 birch
hana 44 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026256-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | eli 51 juniper
kim 75 ember
kim 76 fable
kim 115 ember
jules 108 amber
jules 113 cobalt
bruno 40 ember
chen 12 juniper
| kim 75 ember
kim 76 fable
kim 115 ember
jules 108 amber
jules 113 cobalt
bruno 40 ember
chen 12 juniper
| chen 32 harbor
eli 21 birch
hana 68 fable
gus 84 cobalt
lina 75 harbor
farah 73 birch
hana 44 delta
| eli 21 birch
hana 68 fable
gus 84 cobalt
lina 75 harbor
farah 73 birch
hana 44 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026256 | qwen/qwen3.7-plus |
awkweave-0026257 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | gus closed 24
chen closed 115
jules failed 56
alice closed 22
gus active 63
gus active 81
eli failed 12
farah paused 70
| 0
| lina ready 0
eli pending 106
eli paused 68
ivan active 73
ivan active 109
chen pending 93
alice paused 7
gus pending 29
dina active 39
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026257-p1 | Count the number of records where the second column contains 'pending', and output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | gus closed 24
chen closed 115
jules failed 56
alice closed 22
gus active 63
gus active 81
eli failed 12
farah paused 70
| 0
| lina ready 0
eli pending 106
eli paused 68
ivan active 73
ivan active 109
chen pending 93
alice paused 7
gus pending 29
dina active 39
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026257 | qwen/qwen3.7-plus |
awkweave-0026258 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 1 gus juniper
11 dina delta
25 farah ember
6 bruno birch
22 chen ember
17 jules amber
24 kim grove
5 ivan fable
12 farah delta
8 chen cobalt
| 131
| 20 jules indigo
26 ivan grove
9 eli amber
15 farah amber
19 eli harbor
19 hana ember
15 ivan cobalt
| 123
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026258-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 1 gus juniper
11 dina delta
25 farah ember
6 bruno birch
22 chen ember
17 jules amber
24 kim grove
5 ivan fable
12 farah delta
8 chen cobalt
| 131
| 20 jules indigo
26 ivan grove
9 eli amber
15 farah amber
19 eli harbor
19 hana ember
15 ivan cobalt
| 123
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026258 | qwen/qwen3.7-plus |
awkweave-0026259 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | lina 14 grove
chen 27 fable
alice 8 fable
lina 5 cobalt
bruno 5 amber
chen 16 harbor
| 12.50
| eli 7 cobalt
kim 3 birch
bruno 10 cobalt
ivan 1 grove
ivan 5 juniper
chen 8 ember
| 5.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026259-p1 | Calculate and print the average of the values in the second column, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | lina 14 grove
chen 27 fable
alice 8 fable
lina 5 cobalt
bruno 5 amber
chen 16 harbor
| 12.50
| eli 7 cobalt
kim 3 birch
bruno 10 cobalt
ivan 1 grove
ivan 5 juniper
chen 8 ember
| 5.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026259 | qwen/qwen3.7-plus |
awkweave-0026260 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 26 harbor kim
21 harbor bruno
14 fable gus
24 birch chen
17 harbor hana
9 amber hana
21 indigo alice
9 juniper jules
17 birch farah
7 grove hana
| 7
| 12 cobalt dina
10 birch alice
15 fable alice
29 juniper kim
10 birch eli
29 delta alice
14 ember lina
11 harbor farah
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026260-p1 | Identify and output the minimum numerical value found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 26 harbor kim
21 harbor bruno
14 fable gus
24 birch chen
17 harbor hana
9 amber hana
21 indigo alice
9 juniper jules
17 birch farah
7 grove hana
| 7
| 12 cobalt dina
10 birch alice
15 fable alice
29 juniper kim
10 birch eli
29 delta alice
14 ember lina
11 harbor farah
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026260 | qwen/qwen3.7-plus |
awkweave-0026261 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | hana 4 ember
farah 21 grove
bruno 12 delta
eli 13 harbor
gus 26 cobalt
kim 25 juniper
bruno 30 juniper
alice 12 ember
| 30
| lina 24 harbor
alice 25 birch
jules 10 birch
jules 7 amber
lina 25 ember
eli 7 fable
alice 25 indigo
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026261-p1 | Locate and display the maximum numerical value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | hana 4 ember
farah 21 grove
bruno 12 delta
eli 13 harbor
gus 26 cobalt
kim 25 juniper
bruno 30 juniper
alice 12 ember
| 30
| lina 24 harbor
alice 25 birch
jules 10 birch
jules 7 amber
lina 25 ember
eli 7 fable
alice 25 indigo
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026261 | qwen/qwen3.7-plus |
awkweave-0026262 | Count all input records and print the total. | END{print NR} | alice 7
farah 75
eli 91
dina 71
chen 108
chen 103
kim 59
ivan 30
| 8
| bruno 7
alice 67
hana 12
gus 29
farah 38
bruno 63
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026262-p1 | Calculate the total number of input records and print the count. | END{print NR} | alice 7
farah 75
eli 91
dina 71
chen 108
chen 103
kim 59
ivan 30
| 8
| bruno 7
alice 67
hana 12
gus 29
farah 38
bruno 63
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026262 | qwen/qwen3.7-plus |
awkweave-0026263 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina cobalt 116
chen juniper 3
farah birch 86
gus delta 9
kim fable 67
eli cobalt 41
eli cobalt 41
ivan cobalt 91
| dina cobalt 116
chen juniper 3
farah birch 86
gus delta 9
kim fable 67
eli cobalt 41
ivan cobalt 91
| lina juniper 10
kim delta 97
farah birch 81
jules fable 85
chen grove 19
ivan ember 96
jules fable 85
| lina juniper 10
kim delta 97
farah birch 81
jules fable 85
chen grove 19
ivan ember 96
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026263-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | dina cobalt 116
chen juniper 3
farah birch 86
gus delta 9
kim fable 67
eli cobalt 41
eli cobalt 41
ivan cobalt 91
| dina cobalt 116
chen juniper 3
farah birch 86
gus delta 9
kim fable 67
eli cobalt 41
ivan cobalt 91
| lina juniper 10
kim delta 97
farah birch 81
jules fable 85
chen grove 19
ivan ember 96
jules fable 85
| lina juniper 10
kim delta 97
farah birch 81
jules fable 85
chen grove 19
ivan ember 96
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026263 | qwen/qwen3.7-plus |
awkweave-0026264 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | lina amber 30
eli fable 29
alice fable 46
hana ember 100
chen juniper 85
bruno cobalt 8
kim juniper 45
ivan delta 86
| lina amber 30
eli fable 29
alice fable 46
hana ember 100
chen juniper 85
bruno cobalt 8
kim juniper 45
ivan delta 86
| chen birch 80
ivan amber 53
kim harbor 26
dina juniper 60
farah birch 19
eli fable 107
farah grove 38
dina birch 103
| chen birch 80
ivan amber 53
kim harbor 26
dina juniper 60
farah birch 19
eli fable 107
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026264-p1 | Retain only the initial line for every unique value in the first column, preserving the input order. | !seen[$1]++ | lina amber 30
eli fable 29
alice fable 46
hana ember 100
chen juniper 85
bruno cobalt 8
kim juniper 45
ivan delta 86
| lina amber 30
eli fable 29
alice fable 46
hana ember 100
chen juniper 85
bruno cobalt 8
kim juniper 45
ivan delta 86
| chen birch 80
ivan amber 53
kim harbor 26
dina juniper 60
farah birch 19
eli fable 107
farah grove 38
dina birch 103
| chen birch 80
ivan amber 53
kim harbor 26
dina juniper 60
farah birch 19
eli fable 107
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026264 | qwen/qwen3.7-plus |
awkweave-0026265 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 18 grove
ivan 24 ember
ivan 22 grove
hana 21 indigo
chen 17 cobalt
alice 29 ember
alice 23 amber
dina 19 fable
eli 13 harbor
| jules 18
ivan 42
ivan 64
hana 85
chen 102
alice 131
alice 154
dina 173
eli 186
| bruno 30 delta
alice 21 delta
dina 22 birch
ivan 15 juniper
lina 11 indigo
jules 21 birch
chen 18 juniper
farah 4 harbor
hana 15 harbor
alice 27 ember
| bruno 30
alice 51
dina 73
ivan 88
lina 99
jules 120
chen 138
farah 142
hana 157
alice 184
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026265-p1 | For each entry, output the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | jules 18 grove
ivan 24 ember
ivan 22 grove
hana 21 indigo
chen 17 cobalt
alice 29 ember
alice 23 amber
dina 19 fable
eli 13 harbor
| jules 18
ivan 42
ivan 64
hana 85
chen 102
alice 131
alice 154
dina 173
eli 186
| bruno 30 delta
alice 21 delta
dina 22 birch
ivan 15 juniper
lina 11 indigo
jules 21 birch
chen 18 juniper
farah 4 harbor
hana 15 harbor
alice 27 ember
| bruno 30
alice 51
dina 73
ivan 88
lina 99
jules 120
chen 138
farah 142
hana 157
alice 184
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026265 | qwen/qwen3.7-plus |
awkweave-0026266 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 25 25 ember
alice 30 1 cobalt
ivan 3 11 juniper
alice 22 6 indigo
jules 5 17 birch
gus 24 26 cobalt
farah 1 3 cobalt
eli 30 21 fable
alice 21 7 fable
| jules 50
alice 31
ivan 14
alice 28
jules 22
gus 50
farah 4
eli 51
alice 28
| kim 10 16 indigo
gus 12 22 harbor
farah 21 20 ember
hana 14 27 ember
bruno 13 14 ember
bruno 7 15 amber
alice 22 22 amber
| kim 26
gus 34
farah 41
hana 41
bruno 27
bruno 22
alice 44
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026266-p1 | Output the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | jules 25 25 ember
alice 30 1 cobalt
ivan 3 11 juniper
alice 22 6 indigo
jules 5 17 birch
gus 24 26 cobalt
farah 1 3 cobalt
eli 30 21 fable
alice 21 7 fable
| jules 50
alice 31
ivan 14
alice 28
jules 22
gus 50
farah 4
eli 51
alice 28
| kim 10 16 indigo
gus 12 22 harbor
farah 21 20 ember
hana 14 27 ember
bruno 13 14 ember
bruno 7 15 amber
alice 22 22 amber
| kim 26
gus 34
farah 41
hana 41
bruno 27
bruno 22
alice 44
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026266 | qwen/qwen3.7-plus |
awkweave-0026267 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | gus 30
alice 26
dina 5
eli 18
lina 19
hana 1
farah 2
eli 12
| gus pass
alice pass
dina fail
eli fail
lina fail
hana fail
farah fail
eli fail
| ivan 10
kim 15
ivan 21
chen 15
kim 21
gus 11
| ivan fail
kim fail
ivan fail
chen fail
kim fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026267-p1 | Display the first column and output 'pass' if the second column is 24 or greater; otherwise, output 'fail'. | {print $1,($2>=24?"pass":"fail")} | gus 30
alice 26
dina 5
eli 18
lina 19
hana 1
farah 2
eli 12
| gus pass
alice pass
dina fail
eli fail
lina fail
hana fail
farah fail
eli fail
| ivan 10
kim 15
ivan 21
chen 15
kim 21
gus 11
| ivan fail
kim fail
ivan fail
chen fail
kim fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026267 | qwen/qwen3.7-plus |
awkweave-0026268 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | kim ember 118
kim birch 0
kim indigo 48
dina amber 47
lina fable 113
jules birch 65
eli amber 89
chen harbor 108
| KIM
KIM
KIM
DINA
LINA
JULES
ELI
CHEN
| hana juniper 42
bruno cobalt 78
jules amber 8
dina fable 80
bruno juniper 117
chen delta 43
dina cobalt 34
| HANA
BRUNO
JULES
DINA
BRUNO
CHEN
DINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026268-p1 | Transform the first column to uppercase and print only that column. | {print toupper($1)} | kim ember 118
kim birch 0
kim indigo 48
dina amber 47
lina fable 113
jules birch 65
eli amber 89
chen harbor 108
| KIM
KIM
KIM
DINA
LINA
JULES
ELI
CHEN
| hana juniper 42
bruno cobalt 78
jules amber 8
dina fable 80
bruno juniper 117
chen delta 43
dina cobalt 34
| HANA
BRUNO
JULES
DINA
BRUNO
CHEN
DINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026268 | qwen/qwen3.7-plus |
awkweave-0026269 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | cobalt 80
birch 38
cobalt 74
fable 24
birch 103
ember 40
amber 23
juniper 96
ember 107
| cob
bir
cob
fab
bir
emb
amb
jun
emb
| delta 22
juniper 60
fable 19
birch 44
harbor 47
juniper 65
harbor 59
delta 47
indigo 21
| del
jun
fab
bir
har
jun
har
del
ind
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026269-p1 | Extract and print the first 3 characters from the first column. | {print substr($1,1,3)} | cobalt 80
birch 38
cobalt 74
fable 24
birch 103
ember 40
amber 23
juniper 96
ember 107
| cob
bir
cob
fab
bir
emb
amb
jun
emb
| delta 22
juniper 60
fable 19
birch 44
harbor 47
juniper 65
harbor 59
delta 47
indigo 21
| del
jun
fab
bir
har
jun
har
del
ind
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026269 | qwen/qwen3.7-plus |
awkweave-0026270 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_grove 4
juniper_indigo 117
fable_juniper 73
harbor_cobalt 36
cobalt_delta 10
grove_grove 81
harbor_amber 85
harbor_cobalt 110
fable_amber 34
| indigo grove
juniper indigo
fable juniper
harbor cobalt
cobalt delta
grove grove
harbor amber
harbor cobalt
fable amber
| fable_ember 22
harbor_cobalt 24
delta_cobalt 52
delta_birch 62
fable_cobalt 62
cobalt_harbor 6
| fable ember
harbor cobalt
delta cobalt
delta birch
fable cobalt
cobalt harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026270-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | indigo_grove 4
juniper_indigo 117
fable_juniper 73
harbor_cobalt 36
cobalt_delta 10
grove_grove 81
harbor_amber 85
harbor_cobalt 110
fable_amber 34
| indigo grove
juniper indigo
fable juniper
harbor cobalt
cobalt delta
grove grove
harbor amber
harbor cobalt
fable amber
| fable_ember 22
harbor_cobalt 24
delta_cobalt 52
delta_birch 62
fable_cobalt 62
cobalt_harbor 6
| fable ember
harbor cobalt
delta cobalt
delta birch
fable cobalt
cobalt harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026270 | qwen/qwen3.7-plus |
awkweave-0026271 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | lina delta 36 closed
lina delta 111 ready
jules fable 57 failed
dina fable 110 ready
kim delta 66 closed
alice ember 113 active
kim amber 109 ready
lina birch 26 active
| closed 36 delta lina
ready 111 delta lina
failed 57 fable jules
ready 110 fable dina
closed 66 delta kim
active 113 ember alice
ready 109 amber kim
active 26 birch lina
| farah delta 43 pending
alice fable 43 active
hana cobalt 110 paused
hana ember 85 active
dina fable 92 failed
alice harbor 96 ready
kim grove 104 paused
dina grove 57 paused
jules fable 0 ready
| pending 43 delta farah
active 43 fable alice
paused 110 cobalt hana
active 85 ember hana
failed 92 fable dina
ready 96 harbor alice
paused 104 grove kim
paused 57 grove dina
ready 0 fable jules
| reverse_fields | 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.