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-0051162-p1 | Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | bruno ember 78
chen birch 90
chen indigo 20
farah indigo 86
ivan cobalt 102
chen delta 30
| bruno ember 78
chen birch 90
chen indigo 20
farah indigo 86
ivan cobalt 102
chen delta 30
| ivan birch 51
kim juniper 101
chen cobalt 115
alice fable 26
kim harbor 38
lina ember 1
lina grove 102
jules ember 42
jules harbor 91
chen fable 99
| ivan birch 51
kim juniper 101
chen cobalt 115
alice fable 26
kim harbor 38
lina ember 1
lina grove 102
jules ember 42
jules harbor 91
chen fable 99
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051162 | qwen/qwen3.7-plus |
awkweave-0051163 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana juniper 55 closed
dina ember 43 ready
lina delta 9 closed
dina indigo 2 active
kim grove 48 failed
eli juniper 80 pending
kim indigo 6 pending
bruno juniper 94 pending
gus amber 87 active
alice fable 91 paused
| bruno juniper 94 pending
| kim birch 26 failed
eli indigo 30 closed
hana delta 119 closed
chen cobalt 113 ready
kim juniper 43 failed
chen cobalt 66 paused
| hana delta 119 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051163-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} | hana juniper 55 closed
dina ember 43 ready
lina delta 9 closed
dina indigo 2 active
kim grove 48 failed
eli juniper 80 pending
kim indigo 6 pending
bruno juniper 94 pending
gus amber 87 active
alice fable 91 paused
| bruno juniper 94 pending
| kim birch 26 failed
eli indigo 30 closed
hana delta 119 closed
chen cobalt 113 ready
kim juniper 43 failed
chen cobalt 66 paused
| hana delta 119 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051163 | qwen/qwen3.7-plus |
awkweave-0051164 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | kim 91
alice 20
bruno 98
jules 83
alice 118
bruno 11
chen 73
gus 105
| bruno 98
bruno 11
| jules 53
kim 68
chen 30
bruno 41
kim 2
kim 61
| chen 30
kim 61
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051164-p1 | Print every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | kim 91
alice 20
bruno 98
jules 83
alice 118
bruno 11
chen 73
gus 105
| bruno 98
bruno 11
| jules 53
kim 68
chen 30
bruno 41
kim 2
kim 61
| chen 30
kim 61
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051164 | qwen/qwen3.7-plus |
awkweave-0051165 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha ember 19
alpha juniper 46
gamma grove 100
delta birch 110
alpha indigo 63
delta delta 98
alpha cobalt 117
gamma juniper 40
| 3
| alpha grove 115
delta ember 62
gamma harbor 45
delta grove 22
beta indigo 70
gamma juniper 107
alpha ember 7
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051165-p1 | Determine the number of unique values present in the first column and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha ember 19
alpha juniper 46
gamma grove 100
delta birch 110
alpha indigo 63
delta delta 98
alpha cobalt 117
gamma juniper 40
| 3
| alpha grove 115
delta ember 62
gamma harbor 45
delta grove 22
beta indigo 70
gamma juniper 107
alpha ember 7
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051165 | qwen/qwen3.7-plus |
awkweave-0051166 | 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 4 0
chen 2 20
kim 10 3
chen 8 4
chen 21 2
eli 23 5
| chen 0.10
kim 3.33
chen 2.00
chen 10.50
eli 4.60
| gus 13 0
kim 29 25
alice 20 23
ivan 30 22
dina 27 30
eli 7 14
dina 17 16
| kim 1.16
alice 0.87
ivan 1.36
dina 0.90
eli 0.50
dina 1.06
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051166-p1 | For each row, output column 1 and the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 4 0
chen 2 20
kim 10 3
chen 8 4
chen 21 2
eli 23 5
| chen 0.10
kim 3.33
chen 2.00
chen 10.50
eli 4.60
| gus 13 0
kim 29 25
alice 20 23
ivan 30 22
dina 27 30
eli 7 14
dina 17 16
| kim 1.16
alice 0.87
ivan 1.36
dina 0.90
eli 0.50
dina 1.06
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051166 | qwen/qwen3.7-plus |
awkweave-0051167 | 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]} | chen fable 10
eli juniper 8
dina fable 1
farah grove 26
ivan birch 25
gus juniper 21
alice ember 19
| farah grove 26
ivan birch 25
gus juniper 21
| bruno indigo 17
dina juniper 21
bruno juniper 19
gus delta 13
jules cobalt 12
alice fable 4
hana delta 5
| dina juniper 21
bruno juniper 19
bruno indigo 17
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051167-p1 | Display the three full records with the largest numeric values in column 3 in descending order, keeping 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]} | chen fable 10
eli juniper 8
dina fable 1
farah grove 26
ivan birch 25
gus juniper 21
alice ember 19
| farah grove 26
ivan birch 25
gus juniper 21
| bruno indigo 17
dina juniper 21
bruno juniper 19
gus delta 13
jules cobalt 12
alice fable 4
hana delta 5
| dina juniper 21
bruno juniper 19
bruno indigo 17
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051167 | qwen/qwen3.7-plus |
awkweave-0051168 | Select the 4th and 2nd fields in that order. | {print $4, $2} | ready 74 fable active
active 38 delta failed
active 5 harbor paused
closed 89 indigo paused
paused 99 indigo paused
pending 108 delta pending
| active 74
failed 38
paused 5
paused 89
paused 99
pending 108
| active 106 delta active
failed 57 delta paused
closed 54 birch active
active 71 ember paused
failed 61 cobalt active
closed 84 harbor closed
pending 86 amber closed
ready 100 ember active
ready 120 harbor active
active 1 cobalt active
| active 106
paused 57
active 54
paused 71
active 61
closed 84
closed 86
active 100
active 120
active 1
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051168-p1 | Extract the 4th field followed by the 2nd field. | {print $4, $2} | ready 74 fable active
active 38 delta failed
active 5 harbor paused
closed 89 indigo paused
paused 99 indigo paused
pending 108 delta pending
| active 74
failed 38
paused 5
paused 89
paused 99
pending 108
| active 106 delta active
failed 57 delta paused
closed 54 birch active
active 71 ember paused
failed 61 cobalt active
closed 84 harbor closed
pending 86 amber closed
ready 100 ember active
ready 120 harbor active
active 1 cobalt active
| active 106
paused 57
active 54
paused 71
active 61
closed 84
closed 86
active 100
active 120
active 1
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051168 | qwen/qwen3.7-plus |
awkweave-0051169 | Print the last field of every input line. | {print $NF} | 27 failed 71 failed indigo
18 active 117 ready indigo
74 ready 50 closed delta
40 active 8 active amber
72 active 113 pending delta
36 active 31 failed delta
21 paused 98 ready birch
52 closed 53 ready indigo
91 pending 71 failed juniper
| indigo
indigo
delta
amber
delta
delta
birch
indigo
juniper
| 85 active 38 paused cobalt
67 ready 49 closed juniper
76 failed 19 failed cobalt
32 closed 55 pending delta
110 pending 88 ready fable
43 paused 29 failed grove
95 failed 12 pending cobalt
| cobalt
juniper
cobalt
delta
fable
grove
cobalt
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051169-p1 | Output the final field from every line of input. | {print $NF} | 27 failed 71 failed indigo
18 active 117 ready indigo
74 ready 50 closed delta
40 active 8 active amber
72 active 113 pending delta
36 active 31 failed delta
21 paused 98 ready birch
52 closed 53 ready indigo
91 pending 71 failed juniper
| indigo
indigo
delta
amber
delta
delta
birch
indigo
juniper
| 85 active 38 paused cobalt
67 ready 49 closed juniper
76 failed 19 failed cobalt
32 closed 55 pending delta
110 pending 88 ready fable
43 paused 29 failed grove
95 failed 12 pending cobalt
| cobalt
juniper
cobalt
delta
fable
grove
cobalt
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051169 | qwen/qwen3.7-plus |
awkweave-0051170 | Print the complete records where column 1 is greater than 20. | $1 > 20 | 76 gus delta paused
111 chen ember closed
119 dina amber closed
79 bruno harbor ready
81 farah ember pending
44 eli amber ready
107 dina grove paused
86 alice ember pending
31 gus birch ready
| 76 gus delta paused
111 chen ember closed
119 dina amber closed
79 bruno harbor ready
81 farah ember pending
44 eli amber ready
107 dina grove paused
86 alice ember pending
31 gus birch ready
| 17 eli delta failed
31 lina birch ready
66 jules delta paused
56 gus fable closed
61 farah ember active
25 dina indigo failed
106 chen indigo closed
80 farah amber closed
81 lina ember closed
89 gus cobalt active
| 31 lina birch ready
66 jules delta paused
56 gus fable closed
61 farah ember active
25 dina indigo failed
106 chen indigo closed
80 farah amber closed
81 lina ember closed
89 gus cobalt active
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051170-p1 | Print the entire records where the value in column 1 exceeds 20. | $1 > 20 | 76 gus delta paused
111 chen ember closed
119 dina amber closed
79 bruno harbor ready
81 farah ember pending
44 eli amber ready
107 dina grove paused
86 alice ember pending
31 gus birch ready
| 76 gus delta paused
111 chen ember closed
119 dina amber closed
79 bruno harbor ready
81 farah ember pending
44 eli amber ready
107 dina grove paused
86 alice ember pending
31 gus birch ready
| 17 eli delta failed
31 lina birch ready
66 jules delta paused
56 gus fable closed
61 farah ember active
25 dina indigo failed
106 chen indigo closed
80 farah amber closed
81 lina ember closed
89 gus cobalt active
| 31 lina birch ready
66 jules delta paused
56 gus fable closed
61 farah ember active
25 dina indigo failed
106 chen indigo closed
80 farah amber closed
81 lina ember closed
89 gus cobalt active
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051170 | qwen/qwen3.7-plus |
awkweave-0051171 | Show whole lines whose 3rd field is between 5 and 21, inclusive. | $3 >= 5 && $3 <= 21 | closed cobalt 27 failed
closed cobalt 18 active
failed juniper 8 pending
active fable 18 failed
closed harbor 5 ready
ready indigo 14 failed
paused cobalt 16 pending
active cobalt 21 failed
failed indigo 6 active
| closed cobalt 18 active
failed juniper 8 pending
active fable 18 failed
closed harbor 5 ready
ready indigo 14 failed
paused cobalt 16 pending
active cobalt 21 failed
failed indigo 6 active
| paused grove 16 ready
paused grove 9 closed
failed ember 23 closed
pending birch 22 pending
ready harbor 24 paused
ready delta 20 pending
pending delta 22 active
active ember 3 closed
closed delta 3 ready
pending grove 1 paused
| paused grove 16 ready
paused grove 9 closed
ready delta 20 pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051171-p1 | Display complete lines where the third field falls within the inclusive range of 5 to 21. | $3 >= 5 && $3 <= 21 | closed cobalt 27 failed
closed cobalt 18 active
failed juniper 8 pending
active fable 18 failed
closed harbor 5 ready
ready indigo 14 failed
paused cobalt 16 pending
active cobalt 21 failed
failed indigo 6 active
| closed cobalt 18 active
failed juniper 8 pending
active fable 18 failed
closed harbor 5 ready
ready indigo 14 failed
paused cobalt 16 pending
active cobalt 21 failed
failed indigo 6 active
| paused grove 16 ready
paused grove 9 closed
failed ember 23 closed
pending birch 22 pending
ready harbor 24 paused
ready delta 20 pending
pending delta 22 active
active ember 3 closed
closed delta 3 ready
pending grove 1 paused
| paused grove 16 ready
paused grove 9 closed
ready delta 20 pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051171 | qwen/qwen3.7-plus |
awkweave-0051172 | Print column 2 only for rows where column 3 is exactly pending. | $3 == "pending"{print $2} | 79 farah active cobalt
48 alice pending amber
56 lina closed ember
25 bruno closed cobalt
28 eli ready fable
25 kim pending birch
| alice
kim
| 53 alice failed juniper
44 eli closed ember
74 eli pending cobalt
20 ivan failed amber
112 bruno active amber
114 kim paused grove
90 eli pending indigo
53 jules pending ember
| eli
eli
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051172-p1 | Output only column 2 for rows where column 3 matches the exact string pending. | $3 == "pending"{print $2} | 79 farah active cobalt
48 alice pending amber
56 lina closed ember
25 bruno closed cobalt
28 eli ready fable
25 kim pending birch
| alice
kim
| 53 alice failed juniper
44 eli closed ember
74 eli pending cobalt
20 ivan failed amber
112 bruno active amber
114 kim paused grove
90 eli pending indigo
53 jules pending ember
| eli
eli
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051172 | qwen/qwen3.7-plus |
awkweave-0051173 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | indigo ERROR 67
harbor ERROR 21
cobalt DEBUG 76
fable INFO 4
delta INFO 20
grove ERROR 91
birch WARN 15
juniper DEBUG 47
ember ERROR 75
| fable INFO 4
delta INFO 20
| amber DEBUG 120
fable DEBUG 61
delta WARN 82
grove DEBUG 69
ember WARN 60
ember DEBUG 1
birch WARN 113
juniper INFO 102
delta DEBUG 117
| juniper INFO 102
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051173-p1 | Print all fields from lines where the second field starts with INFO. | $2 ~ /^INFO/ | indigo ERROR 67
harbor ERROR 21
cobalt DEBUG 76
fable INFO 4
delta INFO 20
grove ERROR 91
birch WARN 15
juniper DEBUG 47
ember ERROR 75
| fable INFO 4
delta INFO 20
| amber DEBUG 120
fable DEBUG 61
delta WARN 82
grove DEBUG 69
ember WARN 60
ember DEBUG 1
birch WARN 113
juniper INFO 102
delta DEBUG 117
| juniper INFO 102
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051173 | qwen/qwen3.7-plus |
awkweave-0051174 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | harbor 11 pending
grove 114 ready
grove 49 failed
harbor 46 paused
fable 19 closed
birch 68 ready
birch 999 active
| harbor 11 pending
grove 114 ready
grove 49 failed
harbor 46 paused
fable 19 closed
| ember 80 active
indigo 38 paused
fable 106 active
indigo 10 ready
juniper 30 paused
fable 24 ready
harbor 82 failed
birch 999 active
| ember 80 active
indigo 38 paused
fable 106 active
indigo 10 ready
juniper 30 paused
fable 24 ready
harbor 82 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051174-p1 | Output every line that does not contain the exact text birch. | $0 !~ /birch/ | harbor 11 pending
grove 114 ready
grove 49 failed
harbor 46 paused
fable 19 closed
birch 68 ready
birch 999 active
| harbor 11 pending
grove 114 ready
grove 49 failed
harbor 46 paused
fable 19 closed
| ember 80 active
indigo 38 paused
fable 106 active
indigo 10 ready
juniper 30 paused
fable 24 ready
harbor 82 failed
birch 999 active
| ember 80 active
indigo 38 paused
fable 106 active
indigo 10 ready
juniper 30 paused
fable 24 ready
harbor 82 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051174 | qwen/qwen3.7-plus |
awkweave-0051175 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | chen harbor 87
lina fable 98
farah cobalt 3
dina juniper 82
kim juniper 66
alice grove 34
chen juniper 118
| farah cobalt 3
dina juniper 82
kim juniper 66
| alice fable 92
eli juniper 94
ivan indigo 64
alice indigo 20
lina amber 80
hana cobalt 61
eli grove 112
farah delta 43
alice amber 65
jules birch 76
| ivan indigo 64
alice indigo 20
lina amber 80
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051175-p1 | Print lines 3 to 5, inclusive. | NR >= 3 && NR <= 5 | chen harbor 87
lina fable 98
farah cobalt 3
dina juniper 82
kim juniper 66
alice grove 34
chen juniper 118
| farah cobalt 3
dina juniper 82
kim juniper 66
| alice fable 92
eli juniper 94
ivan indigo 64
alice indigo 20
lina amber 80
hana cobalt 61
eli grove 112
farah delta 43
alice amber 65
jules birch 76
| ivan indigo 64
alice indigo 20
lina amber 80
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051175 | qwen/qwen3.7-plus |
awkweave-0051176 | Output only the first 2 records. | NR <= 2 | ivan 86 grove
lina 71 grove
chen 106 cobalt
hana 112 fable
eli 116 birch
farah 112 juniper
| ivan 86 grove
lina 71 grove
| lina 92 amber
dina 43 grove
farah 22 fable
kim 76 delta
kim 103 birch
bruno 86 grove
dina 65 harbor
kim 74 juniper
| lina 92 amber
dina 43 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051176-p1 | Output only the first 2 records. | NR <= 2 | ivan 86 grove
lina 71 grove
chen 106 cobalt
hana 112 fable
eli 116 birch
farah 112 juniper
| ivan 86 grove
lina 71 grove
| lina 92 amber
dina 43 grove
farah 22 fable
kim 76 delta
kim 103 birch
bruno 86 grove
dina 65 harbor
kim 74 juniper
| lina 92 amber
dina 43 grove
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0051176 | qwen/qwen3.7-plus |
awkweave-0051177 | Skip the first line and print every remaining line unchanged. | NR > 1 | dina 68 ember
hana 113 juniper
jules 46 ember
ivan 44 delta
ivan 95 amber
ivan 86 ember
hana 85 birch
ivan 83 harbor
jules 29 amber
alice 56 ember
| hana 113 juniper
jules 46 ember
ivan 44 delta
ivan 95 amber
ivan 86 ember
hana 85 birch
ivan 83 harbor
jules 29 amber
alice 56 ember
| kim 15 cobalt
hana 24 harbor
eli 52 delta
bruno 82 indigo
lina 103 cobalt
jules 21 delta
eli 91 ember
kim 72 grove
alice 87 amber
hana 51 juniper
| hana 24 harbor
eli 52 delta
bruno 82 indigo
lina 103 cobalt
jules 21 delta
eli 91 ember
kim 72 grove
alice 87 amber
hana 51 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051177-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | dina 68 ember
hana 113 juniper
jules 46 ember
ivan 44 delta
ivan 95 amber
ivan 86 ember
hana 85 birch
ivan 83 harbor
jules 29 amber
alice 56 ember
| hana 113 juniper
jules 46 ember
ivan 44 delta
ivan 95 amber
ivan 86 ember
hana 85 birch
ivan 83 harbor
jules 29 amber
alice 56 ember
| kim 15 cobalt
hana 24 harbor
eli 52 delta
bruno 82 indigo
lina 103 cobalt
jules 21 delta
eli 91 ember
kim 72 grove
alice 87 amber
hana 51 juniper
| hana 24 harbor
eli 52 delta
bruno 82 indigo
lina 103 cobalt
jules 21 delta
eli 91 ember
kim 72 grove
alice 87 amber
hana 51 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051177 | qwen/qwen3.7-plus |
awkweave-0051178 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | chen ready 95
alice closed 115
jules paused 0
hana failed 30
alice paused 42
eli failed 58
eli failed 74
chen paused 49
| 3
| eli pending 19
ivan paused 65
gus paused 2
hana active 33
jules ready 110
chen paused 54
dina active 31
dina ready 67
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051178-p1 | Output the count of entries where column 2 is 'paused', defaulting to 0 if no matches are found. | $2 == "paused"{n++}END{print n+0} | chen ready 95
alice closed 115
jules paused 0
hana failed 30
alice paused 42
eli failed 58
eli failed 74
chen paused 49
| 3
| eli pending 19
ivan paused 65
gus paused 2
hana active 33
jules ready 110
chen paused 54
dina active 31
dina ready 67
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051178 | qwen/qwen3.7-plus |
awkweave-0051179 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | dina harbor 25
farah delta 20
kim amber 20
farah grove 20
alice cobalt 8
kim delta 28
| 121
| jules harbor 7
farah juniper 13
ivan cobalt 30
gus cobalt 21
lina fable 15
alice ember 1
alice harbor 5
| 92
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051179-p1 | Compute and display the total sum of all integer values found in column 3. | {s+=$3}END{print s+0} | dina harbor 25
farah delta 20
kim amber 20
farah grove 20
alice cobalt 8
kim delta 28
| 121
| jules harbor 7
farah juniper 13
ivan cobalt 30
gus cobalt 21
lina fable 15
alice ember 1
alice harbor 5
| 92
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051179 | qwen/qwen3.7-plus |
awkweave-0051180 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 26 birch gus
11 harbor jules
16 fable farah
26 indigo ivan
2 cobalt chen
4 juniper ivan
10 ember jules
23 grove hana
8 ember alice
11 indigo kim
| 13.70
| 28 harbor lina
12 fable eli
3 delta lina
11 amber kim
25 juniper ivan
18 fable kim
| 16.17
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051180-p1 | Calculate the average of column 1 and output it rounded to precisely two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 26 birch gus
11 harbor jules
16 fable farah
26 indigo ivan
2 cobalt chen
4 juniper ivan
10 ember jules
23 grove hana
8 ember alice
11 indigo kim
| 13.70
| 28 harbor lina
12 fable eli
3 delta lina
11 amber kim
25 juniper ivan
18 fable kim
| 16.17
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051180 | qwen/qwen3.7-plus |
awkweave-0051181 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 6 dina indigo
11 lina indigo
26 ivan delta
6 kim indigo
23 ivan grove
20 eli ember
18 ivan amber
| 6
| 10 eli ember
10 dina amber
11 gus fable
24 farah cobalt
11 kim juniper
18 lina delta
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051181-p1 | Identify and print the minimum numeric value present in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 6 dina indigo
11 lina indigo
26 ivan delta
6 kim indigo
23 ivan grove
20 eli ember
18 ivan amber
| 6
| 10 eli ember
10 dina amber
11 gus fable
24 farah cobalt
11 kim juniper
18 lina delta
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051181 | qwen/qwen3.7-plus |
awkweave-0051182 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 6 delta bruno
27 juniper bruno
23 ember eli
14 indigo chen
4 ember eli
11 ember kim
23 grove kim
2 fable bruno
12 grove ivan
21 harbor alice
| 27
| 24 birch jules
16 cobalt eli
18 grove hana
12 fable gus
3 harbor alice
16 juniper eli
| 24
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051182-p1 | Identify and print the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 6 delta bruno
27 juniper bruno
23 ember eli
14 indigo chen
4 ember eli
11 ember kim
23 grove kim
2 fable bruno
12 grove ivan
21 harbor alice
| 27
| 24 birch jules
16 cobalt eli
18 grove hana
12 fable gus
3 harbor alice
16 juniper eli
| 24
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051182 | qwen/qwen3.7-plus |
awkweave-0051183 | Count all input records and print the total. | END{print NR} | gus 117
lina 9
ivan 36
kim 16
eli 24
dina 115
jules 103
| 7
| hana 9
jules 98
jules 11
ivan 95
bruno 82
dina 58
lina 7
eli 94
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051183-p1 | Count the total number of input records and print the result. | END{print NR} | gus 117
lina 9
ivan 36
kim 16
eli 24
dina 115
jules 103
| 7
| hana 9
jules 98
jules 11
ivan 95
bruno 82
dina 58
lina 7
eli 94
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051183 | qwen/qwen3.7-plus |
awkweave-0051184 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim juniper 47
bruno harbor 19
eli ember 21
bruno harbor 19
alice indigo 63
alice grove 82
eli harbor 71
dina juniper 85
| kim juniper 47
bruno harbor 19
eli ember 21
alice indigo 63
alice grove 82
eli harbor 71
dina juniper 85
| alice grove 82
lina ember 112
dina ember 66
jules amber 62
bruno harbor 61
farah harbor 71
lina harbor 7
kim indigo 115
hana juniper 80
alice grove 82
| alice grove 82
lina ember 112
dina ember 66
jules amber 62
bruno harbor 61
farah harbor 71
lina harbor 7
kim indigo 115
hana juniper 80
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051184-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | kim juniper 47
bruno harbor 19
eli ember 21
bruno harbor 19
alice indigo 63
alice grove 82
eli harbor 71
dina juniper 85
| kim juniper 47
bruno harbor 19
eli ember 21
alice indigo 63
alice grove 82
eli harbor 71
dina juniper 85
| alice grove 82
lina ember 112
dina ember 66
jules amber 62
bruno harbor 61
farah harbor 71
lina harbor 7
kim indigo 115
hana juniper 80
alice grove 82
| alice grove 82
lina ember 112
dina ember 66
jules amber 62
bruno harbor 61
farah harbor 71
lina harbor 7
kim indigo 115
hana juniper 80
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051184 | qwen/qwen3.7-plus |
awkweave-0051185 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | ivan cobalt 85
kim juniper 58
bruno juniper 82
ivan harbor 37
eli juniper 81
hana ember 58
ivan birch 16
ivan amber 89
| ivan cobalt 85
kim juniper 58
bruno juniper 82
eli juniper 81
hana ember 58
| gus juniper 2
gus ember 51
alice delta 97
gus grove 54
eli indigo 32
lina birch 46
| gus juniper 2
alice delta 97
eli indigo 32
lina birch 46
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051185-p1 | Retain only the first occurrence for every unique value in column 1, preserving the original sequence. | !seen[$1]++ | ivan cobalt 85
kim juniper 58
bruno juniper 82
ivan harbor 37
eli juniper 81
hana ember 58
ivan birch 16
ivan amber 89
| ivan cobalt 85
kim juniper 58
bruno juniper 82
eli juniper 81
hana ember 58
| gus juniper 2
gus ember 51
alice delta 97
gus grove 54
eli indigo 32
lina birch 46
| gus juniper 2
alice delta 97
eli indigo 32
lina birch 46
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051185 | qwen/qwen3.7-plus |
awkweave-0051186 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 18 ember
dina 12 delta
jules 26 fable
hana 12 ember
jules 3 delta
dina 3 amber
kim 10 ember
dina 11 grove
hana 27 juniper
farah 13 cobalt
| bruno 18
dina 30
jules 56
hana 68
jules 71
dina 74
kim 84
dina 95
hana 122
farah 135
| dina 12 amber
gus 30 ember
alice 29 fable
lina 25 cobalt
kim 4 delta
eli 26 delta
farah 13 birch
farah 2 indigo
dina 22 indigo
kim 16 grove
| dina 12
gus 42
alice 71
lina 96
kim 100
eli 126
farah 139
farah 141
dina 163
kim 179
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051186-p1 | For each record, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 18 ember
dina 12 delta
jules 26 fable
hana 12 ember
jules 3 delta
dina 3 amber
kim 10 ember
dina 11 grove
hana 27 juniper
farah 13 cobalt
| bruno 18
dina 30
jules 56
hana 68
jules 71
dina 74
kim 84
dina 95
hana 122
farah 135
| dina 12 amber
gus 30 ember
alice 29 fable
lina 25 cobalt
kim 4 delta
eli 26 delta
farah 13 birch
farah 2 indigo
dina 22 indigo
kim 16 grove
| dina 12
gus 42
alice 71
lina 96
kim 100
eli 126
farah 139
farah 141
dina 163
kim 179
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051186 | qwen/qwen3.7-plus |
awkweave-0051187 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 8 24 grove
dina 17 29 fable
bruno 16 17 fable
kim 29 5 ember
bruno 9 2 grove
dina 14 18 harbor
hana 26 2 fable
eli 24 1 delta
| hana 32
dina 46
bruno 33
kim 34
bruno 11
dina 32
hana 28
eli 25
| farah 3 1 indigo
lina 30 18 delta
farah 2 11 grove
lina 17 2 indigo
hana 27 11 birch
kim 22 8 amber
ivan 6 6 harbor
ivan 17 14 indigo
| farah 4
lina 48
farah 13
lina 19
hana 38
kim 30
ivan 12
ivan 31
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051187-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 8 24 grove
dina 17 29 fable
bruno 16 17 fable
kim 29 5 ember
bruno 9 2 grove
dina 14 18 harbor
hana 26 2 fable
eli 24 1 delta
| hana 32
dina 46
bruno 33
kim 34
bruno 11
dina 32
hana 28
eli 25
| farah 3 1 indigo
lina 30 18 delta
farah 2 11 grove
lina 17 2 indigo
hana 27 11 birch
kim 22 8 amber
ivan 6 6 harbor
ivan 17 14 indigo
| farah 4
lina 48
farah 13
lina 19
hana 38
kim 30
ivan 12
ivan 31
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051187 | qwen/qwen3.7-plus |
awkweave-0051188 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | chen 18
gus 12
lina 11
alice 1
chen 13
kim 1
| chen fail
gus fail
lina fail
alice fail
chen fail
kim fail
| dina 7
eli 29
farah 30
ivan 6
kim 30
chen 11
dina 5
lina 6
farah 25
ivan 10
| dina fail
eli pass
farah pass
ivan fail
kim pass
chen fail
dina fail
lina fail
farah pass
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051188-p1 | Print column 1 and output 'pass' if column 2 is 24 or greater; otherwise, output 'fail'. | {print $1,($2>=24?"pass":"fail")} | chen 18
gus 12
lina 11
alice 1
chen 13
kim 1
| chen fail
gus fail
lina fail
alice fail
chen fail
kim fail
| dina 7
eli 29
farah 30
ivan 6
kim 30
chen 11
dina 5
lina 6
farah 25
ivan 10
| dina fail
eli pass
farah pass
ivan fail
kim pass
chen fail
dina fail
lina fail
farah pass
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051188 | qwen/qwen3.7-plus |
awkweave-0051189 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | lina harbor 108
ivan harbor 29
jules grove 81
gus amber 72
eli ember 65
farah cobalt 79
bruno cobalt 19
chen juniper 51
lina ember 27
dina harbor 69
| LINA
IVAN
JULES
GUS
ELI
FARAH
BRUNO
CHEN
LINA
DINA
| lina birch 8
gus harbor 78
eli harbor 34
lina fable 19
dina delta 92
chen grove 57
farah indigo 3
dina harbor 50
hana cobalt 13
| LINA
GUS
ELI
LINA
DINA
CHEN
FARAH
DINA
HANA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051189-p1 | Transform column 1 to uppercase and print only that transformed column. | {print toupper($1)} | lina harbor 108
ivan harbor 29
jules grove 81
gus amber 72
eli ember 65
farah cobalt 79
bruno cobalt 19
chen juniper 51
lina ember 27
dina harbor 69
| LINA
IVAN
JULES
GUS
ELI
FARAH
BRUNO
CHEN
LINA
DINA
| lina birch 8
gus harbor 78
eli harbor 34
lina fable 19
dina delta 92
chen grove 57
farah indigo 3
dina harbor 50
hana cobalt 13
| LINA
GUS
ELI
LINA
DINA
CHEN
FARAH
DINA
HANA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051189 | qwen/qwen3.7-plus |
awkweave-0051200 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | gus,8,pending
dina,4,pending
kim,18,ready
chen,29,active
hana,16,failed
bruno,7,active
bruno,20,closed
lina,25,closed
farah,26,ready
kim,6,pending
| kim
chen
bruno
lina
farah
| chen,6,closed
bruno,24,active
jules,2,failed
chen,19,paused
farah,15,pending
chen,16,closed
bruno,10,active
| bruno
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051200-p1 | Given simple CSV input without quoted commas, output the first column whenever the second column is greater than 17. | BEGIN{FS=OFS=","}$2>17{print $1} | gus,8,pending
dina,4,pending
kim,18,ready
chen,29,active
hana,16,failed
bruno,7,active
bruno,20,closed
lina,25,closed
farah,26,ready
kim,6,pending
| kim
chen
bruno
lina
farah
| chen,6,closed
bruno,24,active
jules,2,failed
chen,19,paused
farah,15,pending
chen,16,closed
bruno,10,active
| bruno
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051200 | qwen/qwen3.7-plus |
awkweave-0051201 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | farah delta 68
kim juniper 6
bruno indigo 49
farah harbor 105
dina grove 83
bruno birch 62
alice harbor 20
| farah delta 68
kim juniper 6
bruno indigo 49
farah harbor 105
dina grove 83
bruno birch 62
alice harbor 20
| ivan birch 39
hana cobalt 55
jules ember 108
farah ember 114
chen ember 111
dina ember 8
ivan indigo 77
ivan fable 102
| ivan birch 39
hana cobalt 55
jules ember 108
farah ember 114
chen ember 111
dina ember 8
ivan indigo 77
ivan fable 102
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051201-p1 | Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | farah delta 68
kim juniper 6
bruno indigo 49
farah harbor 105
dina grove 83
bruno birch 62
alice harbor 20
| farah delta 68
kim juniper 6
bruno indigo 49
farah harbor 105
dina grove 83
bruno birch 62
alice harbor 20
| ivan birch 39
hana cobalt 55
jules ember 108
farah ember 114
chen ember 111
dina ember 8
ivan indigo 77
ivan fable 102
| ivan birch 39
hana cobalt 55
jules ember 108
farah ember 114
chen ember 111
dina ember 8
ivan indigo 77
ivan fable 102
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051201 | qwen/qwen3.7-plus |
awkweave-0051202 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 14 paused
gus delta 77 failed
eli indigo 65 closed
lina ember 72 closed
jules cobalt 20 ready
bruno harbor 100 ready
| bruno harbor 100 ready
| jules juniper 54 closed
jules juniper 90 pending
bruno ember 54 active
hana juniper 91 closed
bruno grove 86 active
dina harbor 101 active
dina harbor 17 active
| jules juniper 90 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051202-p1 | Identify and print the longest line in the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 14 paused
gus delta 77 failed
eli indigo 65 closed
lina ember 72 closed
jules cobalt 20 ready
bruno harbor 100 ready
| bruno harbor 100 ready
| jules juniper 54 closed
jules juniper 90 pending
bruno ember 54 active
hana juniper 91 closed
bruno grove 86 active
dina harbor 101 active
dina harbor 17 active
| jules juniper 90 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051202 | qwen/qwen3.7-plus |
awkweave-0051203 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | dina 9
lina 40
alice 43
ivan 107
farah 52
ivan 109
ivan 86
kim 60
kim 90
| dina 9
alice 43
farah 52
ivan 86
kim 90
| gus 115
gus 12
gus 75
eli 119
ivan 38
dina 8
eli 0
hana 72
farah 113
chen 30
| gus 115
gus 75
ivan 38
eli 0
farah 113
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051203-p1 | Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.). | NR%2==1 | dina 9
lina 40
alice 43
ivan 107
farah 52
ivan 109
ivan 86
kim 60
kim 90
| dina 9
alice 43
farah 52
ivan 86
kim 90
| gus 115
gus 12
gus 75
eli 119
ivan 38
dina 8
eli 0
hana 72
farah 113
chen 30
| gus 115
gus 75
ivan 38
eli 0
farah 113
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051203 | qwen/qwen3.7-plus |
awkweave-0051204 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta indigo 62
beta delta 86
beta delta 74
delta amber 52
gamma ember 6
delta indigo 25
| 3
| delta amber 70
alpha ember 95
beta cobalt 13
alpha birch 15
beta cobalt 108
alpha amber 35
alpha grove 6
delta fable 20
delta indigo 45
beta harbor 96
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051204-p1 | Calculate the number of unique values found in the first column and display only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta indigo 62
beta delta 86
beta delta 74
delta amber 52
gamma ember 6
delta indigo 25
| 3
| delta amber 70
alpha ember 95
beta cobalt 13
alpha birch 15
beta cobalt 108
alpha amber 35
alpha grove 6
delta fable 20
delta indigo 45
beta harbor 96
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051204 | qwen/qwen3.7-plus |
awkweave-0051205 | 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} | ivan 29 0
alice 1 25
kim 26 3
lina 5 4
bruno 6 17
bruno 25 23
jules 21 26
| alice 0.04
kim 8.67
lina 1.25
bruno 0.35
bruno 1.09
jules 0.81
| chen 24 0
ivan 10 10
jules 7 8
ivan 19 21
chen 30 27
farah 7 27
eli 23 3
hana 3 14
| ivan 1.00
jules 0.88
ivan 0.90
chen 1.11
farah 0.26
eli 7.67
hana 0.21
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051205-p1 | For each row where the third column is not zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 29 0
alice 1 25
kim 26 3
lina 5 4
bruno 6 17
bruno 25 23
jules 21 26
| alice 0.04
kim 8.67
lina 1.25
bruno 0.35
bruno 1.09
jules 0.81
| chen 24 0
ivan 10 10
jules 7 8
ivan 19 21
chen 30 27
farah 7 27
eli 23 3
hana 3 14
| ivan 1.00
jules 0.88
ivan 0.90
chen 1.11
farah 0.26
eli 7.67
hana 0.21
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051205 | qwen/qwen3.7-plus |
awkweave-0051206 | 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]} | dina grove 19
chen fable 24
jules indigo 8
bruno ember 25
ivan harbor 16
hana delta 1
alice juniper 17
chen indigo 10
jules ember 21
| bruno ember 25
chen fable 24
jules ember 21
| jules harbor 26
gus grove 19
hana amber 9
farah delta 19
bruno indigo 6
lina birch 21
jules ember 30
gus delta 15
jules harbor 27
ivan amber 17
| jules ember 30
jules harbor 27
jules harbor 26
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051206-p1 | Display the top three records based on 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]} | dina grove 19
chen fable 24
jules indigo 8
bruno ember 25
ivan harbor 16
hana delta 1
alice juniper 17
chen indigo 10
jules ember 21
| bruno ember 25
chen fable 24
jules ember 21
| jules harbor 26
gus grove 19
hana amber 9
farah delta 19
bruno indigo 6
lina birch 21
jules ember 30
gus delta 15
jules harbor 27
ivan amber 17
| jules ember 30
jules harbor 27
jules harbor 26
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051206 | qwen/qwen3.7-plus |
awkweave-0051207 | For each line, output fields 4 and 2, in that order. | {print $4, $2} | amber ember 88 cobalt birch paused
harbor grove 115 birch harbor pending
amber indigo 91 indigo grove ready
fable cobalt 114 birch fable failed
birch fable 113 juniper amber failed
birch cobalt 39 juniper delta active
| cobalt ember
birch grove
indigo indigo
birch cobalt
juniper fable
juniper cobalt
| cobalt grove 67 ember juniper closed
fable fable 60 indigo amber pending
amber fable 43 amber fable paused
amber indigo 38 cobalt indigo pending
harbor grove 38 amber juniper pending
fable fable 62 amber indigo active
| ember grove
indigo fable
amber fable
cobalt indigo
amber grove
amber fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051207-p1 | For every line, print the fourth field followed by the second field. | {print $4, $2} | amber ember 88 cobalt birch paused
harbor grove 115 birch harbor pending
amber indigo 91 indigo grove ready
fable cobalt 114 birch fable failed
birch fable 113 juniper amber failed
birch cobalt 39 juniper delta active
| cobalt ember
birch grove
indigo indigo
birch cobalt
juniper fable
juniper cobalt
| cobalt grove 67 ember juniper closed
fable fable 60 indigo amber pending
amber fable 43 amber fable paused
amber indigo 38 cobalt indigo pending
harbor grove 38 amber juniper pending
fable fable 62 amber indigo active
| ember grove
indigo fable
amber fable
cobalt indigo
amber grove
amber fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051207 | qwen/qwen3.7-plus |
awkweave-0051208 | Print the last field of every input line. | {print $NF} | alice eli amber
farah gus harbor
bruno gus indigo
bruno jules amber
eli farah harbor
farah dina ember
alice bruno amber
jules eli cobalt
| amber
harbor
indigo
amber
harbor
ember
amber
cobalt
| eli dina amber
ivan bruno harbor
kim kim delta
alice chen cobalt
lina gus delta
farah dina indigo
bruno hana indigo
| amber
harbor
delta
cobalt
delta
indigo
indigo
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051208-p1 | Output the final field from each line of input. | {print $NF} | alice eli amber
farah gus harbor
bruno gus indigo
bruno jules amber
eli farah harbor
farah dina ember
alice bruno amber
jules eli cobalt
| amber
harbor
indigo
amber
harbor
ember
amber
cobalt
| eli dina amber
ivan bruno harbor
kim kim delta
alice chen cobalt
lina gus delta
farah dina indigo
bruno hana indigo
| amber
harbor
delta
cobalt
delta
indigo
indigo
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051208 | qwen/qwen3.7-plus |
awkweave-0051209 | Print the complete records where column 2 is at least 60. | $2 >= 60 | bruno 86 failed
farah 27 active
eli 64 active
ivan 80 pending
chen 54 closed
bruno 3 ready
gus 37 paused
kim 3 paused
| bruno 86 failed
eli 64 active
ivan 80 pending
| eli 13 active
alice 10 failed
lina 66 pending
hana 3 paused
kim 11 active
farah 100 pending
| lina 66 pending
farah 100 pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051209-p1 | Print the full records for which the value in the second column is 60 or higher. | $2 >= 60 | bruno 86 failed
farah 27 active
eli 64 active
ivan 80 pending
chen 54 closed
bruno 3 ready
gus 37 paused
kim 3 paused
| bruno 86 failed
eli 64 active
ivan 80 pending
| eli 13 active
alice 10 failed
lina 66 pending
hana 3 paused
kim 11 active
farah 100 pending
| lina 66 pending
farah 100 pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051209 | qwen/qwen3.7-plus |
awkweave-0051210 | Show whole lines whose 1st field is between 4 and 23, inclusive. | $1 >= 4 && $1 <= 23 | 29 amber fable gus
23 ember ember dina
1 juniper ember lina
1 birch fable hana
28 juniper harbor alice
2 harbor juniper chen
5 fable juniper eli
11 delta harbor chen
| 23 ember ember dina
5 fable juniper eli
11 delta harbor chen
| 18 birch birch ivan
15 harbor grove chen
10 harbor indigo bruno
18 ember indigo eli
24 cobalt delta eli
10 ember ember hana
22 grove fable alice
| 18 birch birch ivan
15 harbor grove chen
10 harbor indigo bruno
18 ember indigo eli
10 ember ember hana
22 grove fable alice
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051210-p1 | Display entire lines where the first field falls within the inclusive range of 4 to 23. | $1 >= 4 && $1 <= 23 | 29 amber fable gus
23 ember ember dina
1 juniper ember lina
1 birch fable hana
28 juniper harbor alice
2 harbor juniper chen
5 fable juniper eli
11 delta harbor chen
| 23 ember ember dina
5 fable juniper eli
11 delta harbor chen
| 18 birch birch ivan
15 harbor grove chen
10 harbor indigo bruno
18 ember indigo eli
24 cobalt delta eli
10 ember ember hana
22 grove fable alice
| 18 birch birch ivan
15 harbor grove chen
10 harbor indigo bruno
18 ember indigo eli
10 ember ember hana
22 grove fable alice
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051210 | qwen/qwen3.7-plus |
awkweave-0051211 | Print column 4 only for rows where column 3 is exactly pending. | $3 == "pending"{print $4} | juniper 63 pending eli
fable 105 active bruno
amber 67 closed jules
delta 94 active chen
amber 72 pending chen
cobalt 41 failed lina
| eli
chen
| harbor 14 ready gus
indigo 86 failed eli
amber 44 failed alice
juniper 120 failed dina
indigo 97 pending dina
fable 80 failed farah
birch 22 closed jules
indigo 58 paused ivan
cobalt 69 closed bruno
grove 29 failed eli
| dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051211-p1 | Output only the fourth column for rows where the third column contains exactly the value 'pending'. | $3 == "pending"{print $4} | juniper 63 pending eli
fable 105 active bruno
amber 67 closed jules
delta 94 active chen
amber 72 pending chen
cobalt 41 failed lina
| eli
chen
| harbor 14 ready gus
indigo 86 failed eli
amber 44 failed alice
juniper 120 failed dina
indigo 97 pending dina
fable 80 failed farah
birch 22 closed jules
indigo 58 paused ivan
cobalt 69 closed bruno
grove 29 failed eli
| dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051211 | qwen/qwen3.7-plus |
awkweave-0051212 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | juniper 92 ERROR
delta 13 ERROR
indigo 43 WARN
harbor 64 DEBUG
birch 77 WARN
amber 75 ERROR
ember 100 DEBUG
cobalt 48 DEBUG
fable 39 INFO
| fable 39 INFO
| delta 109 WARN
amber 119 INFO
amber 118 INFO
delta 96 WARN
ember 65 INFO
birch 77 DEBUG
cobalt 15 WARN
juniper 61 INFO
ember 112 INFO
| amber 119 INFO
amber 118 INFO
ember 65 INFO
juniper 61 INFO
ember 112 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051212-p1 | Output the entire line for any record where the third field starts with INFO. | $3 ~ /^INFO/ | juniper 92 ERROR
delta 13 ERROR
indigo 43 WARN
harbor 64 DEBUG
birch 77 WARN
amber 75 ERROR
ember 100 DEBUG
cobalt 48 DEBUG
fable 39 INFO
| fable 39 INFO
| delta 109 WARN
amber 119 INFO
amber 118 INFO
delta 96 WARN
ember 65 INFO
birch 77 DEBUG
cobalt 15 WARN
juniper 61 INFO
ember 112 INFO
| amber 119 INFO
amber 118 INFO
ember 65 INFO
juniper 61 INFO
ember 112 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051212 | qwen/qwen3.7-plus |
awkweave-0051213 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | juniper 18 active
harbor 65 closed
grove 83 ready
cobalt 110 ready
amber 80 closed
harbor 6 ready
fable 10 paused
grove 94 paused
amber 108 ready
birch 999 active
| juniper 18 active
harbor 65 closed
grove 83 ready
cobalt 110 ready
amber 80 closed
harbor 6 ready
fable 10 paused
grove 94 paused
amber 108 ready
| amber 102 failed
ember 97 failed
delta 38 paused
delta 102 failed
indigo 0 closed
cobalt 90 active
delta 86 failed
birch 999 active
| amber 102 failed
ember 97 failed
delta 38 paused
delta 102 failed
indigo 0 closed
cobalt 90 active
delta 86 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051213-p1 | Display all lines that do not contain the exact string birch. | $0 !~ /birch/ | juniper 18 active
harbor 65 closed
grove 83 ready
cobalt 110 ready
amber 80 closed
harbor 6 ready
fable 10 paused
grove 94 paused
amber 108 ready
birch 999 active
| juniper 18 active
harbor 65 closed
grove 83 ready
cobalt 110 ready
amber 80 closed
harbor 6 ready
fable 10 paused
grove 94 paused
amber 108 ready
| amber 102 failed
ember 97 failed
delta 38 paused
delta 102 failed
indigo 0 closed
cobalt 90 active
delta 86 failed
birch 999 active
| amber 102 failed
ember 97 failed
delta 38 paused
delta 102 failed
indigo 0 closed
cobalt 90 active
delta 86 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051213 | qwen/qwen3.7-plus |
awkweave-0051214 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | gus grove 17
farah fable 19
chen indigo 38
bruno amber 63
jules fable 104
kim indigo 57
| farah fable 19
chen indigo 38
| eli delta 54
alice juniper 110
alice juniper 86
alice juniper 47
bruno grove 18
eli ember 112
bruno amber 84
jules cobalt 75
ivan ember 13
jules birch 115
| alice juniper 110
alice juniper 86
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051214-p1 | Print lines 2 to 3, inclusive. | NR >= 2 && NR <= 3 | gus grove 17
farah fable 19
chen indigo 38
bruno amber 63
jules fable 104
kim indigo 57
| farah fable 19
chen indigo 38
| eli delta 54
alice juniper 110
alice juniper 86
alice juniper 47
bruno grove 18
eli ember 112
bruno amber 84
jules cobalt 75
ivan ember 13
jules birch 115
| alice juniper 110
alice juniper 86
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051214 | qwen/qwen3.7-plus |
awkweave-0051215 | Output only the first 2 records. | NR <= 2 | lina 110 amber
kim 111 birch
dina 44 grove
bruno 9 cobalt
bruno 6 harbor
jules 115 harbor
bruno 116 fable
farah 49 juniper
gus 119 indigo
farah 58 indigo
| lina 110 amber
kim 111 birch
| ivan 51 juniper
ivan 29 harbor
chen 85 birch
gus 61 delta
kim 27 grove
ivan 95 grove
bruno 56 juniper
lina 80 fable
chen 120 amber
| ivan 51 juniper
ivan 29 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051215-p1 | Output only the first two records. | NR <= 2 | lina 110 amber
kim 111 birch
dina 44 grove
bruno 9 cobalt
bruno 6 harbor
jules 115 harbor
bruno 116 fable
farah 49 juniper
gus 119 indigo
farah 58 indigo
| lina 110 amber
kim 111 birch
| ivan 51 juniper
ivan 29 harbor
chen 85 birch
gus 61 delta
kim 27 grove
ivan 95 grove
bruno 56 juniper
lina 80 fable
chen 120 amber
| ivan 51 juniper
ivan 29 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051215 | qwen/qwen3.7-plus |
awkweave-0051216 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 20 amber
alice 50 ember
jules 120 indigo
hana 59 amber
farah 19 cobalt
alice 56 ember
hana 43 cobalt
dina 28 indigo
| alice 50 ember
jules 120 indigo
hana 59 amber
farah 19 cobalt
alice 56 ember
hana 43 cobalt
dina 28 indigo
| dina 77 amber
dina 77 cobalt
hana 33 amber
bruno 74 fable
gus 46 juniper
jules 10 indigo
kim 29 amber
lina 24 birch
gus 23 fable
alice 78 harbor
| dina 77 cobalt
hana 33 amber
bruno 74 fable
gus 46 juniper
jules 10 indigo
kim 29 amber
lina 24 birch
gus 23 fable
alice 78 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051216-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | farah 20 amber
alice 50 ember
jules 120 indigo
hana 59 amber
farah 19 cobalt
alice 56 ember
hana 43 cobalt
dina 28 indigo
| alice 50 ember
jules 120 indigo
hana 59 amber
farah 19 cobalt
alice 56 ember
hana 43 cobalt
dina 28 indigo
| dina 77 amber
dina 77 cobalt
hana 33 amber
bruno 74 fable
gus 46 juniper
jules 10 indigo
kim 29 amber
lina 24 birch
gus 23 fable
alice 78 harbor
| dina 77 cobalt
hana 33 amber
bruno 74 fable
gus 46 juniper
jules 10 indigo
kim 29 amber
lina 24 birch
gus 23 fable
alice 78 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051216 | qwen/qwen3.7-plus |
awkweave-0051217 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | farah pending 95
kim ready 50
alice pending 69
hana pending 90
alice paused 26
chen failed 41
gus ready 28
kim ready 54
| 3
| kim pending 103
alice closed 91
jules closed 0
lina active 61
alice active 16
chen closed 59
hana failed 17
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051217-p1 | Count the number of records with ready in the second column; output 0 if the count is zero. | $2 == "ready"{n++}END{print n+0} | farah pending 95
kim ready 50
alice pending 69
hana pending 90
alice paused 26
chen failed 41
gus ready 28
kim ready 54
| 3
| kim pending 103
alice closed 91
jules closed 0
lina active 61
alice active 16
chen closed 59
hana failed 17
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051217 | qwen/qwen3.7-plus |
awkweave-0051218 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | grove gus 26
ember lina 10
indigo hana 11
fable alice 5
amber ivan 19
harbor ivan 5
fable ivan 11
| 87
| ember jules 4
amber eli 10
indigo kim 25
ember eli 29
grove alice 5
birch farah 2
ember chen 17
harbor gus 28
ember lina 20
| 140
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051218-p1 | Compute and display the sum of integer values found in the third column. | {s+=$3}END{print s+0} | grove gus 26
ember lina 10
indigo hana 11
fable alice 5
amber ivan 19
harbor ivan 5
fable ivan 11
| 87
| ember jules 4
amber eli 10
indigo kim 25
ember eli 29
grove alice 5
birch farah 2
ember chen 17
harbor gus 28
ember lina 20
| 140
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051218 | qwen/qwen3.7-plus |
awkweave-0051219 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta bruno 8
ember lina 20
delta hana 18
fable farah 23
indigo chen 20
indigo dina 17
ember bruno 13
| 17.00
| birch jules 6
delta ivan 7
delta lina 16
birch jules 5
indigo eli 22
grove alice 1
| 9.50
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051219-p1 | Calculate the average of the values in column 3 and print it rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta bruno 8
ember lina 20
delta hana 18
fable farah 23
indigo chen 20
indigo dina 17
ember bruno 13
| 17.00
| birch jules 6
delta ivan 7
delta lina 16
birch jules 5
indigo eli 22
grove alice 1
| 9.50
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051219 | qwen/qwen3.7-plus |
awkweave-0051220 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 5 fable alice
29 delta gus
24 harbor eli
22 amber alice
26 birch ivan
8 cobalt dina
23 ember kim
| 5
| 14 indigo kim
16 juniper ivan
11 fable gus
1 ember gus
3 fable bruno
28 ember bruno
23 amber hana
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051220-p1 | Identify and print the minimum numeric value in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 5 fable alice
29 delta gus
24 harbor eli
22 amber alice
26 birch ivan
8 cobalt dina
23 ember kim
| 5
| 14 indigo kim
16 juniper ivan
11 fable gus
1 ember gus
3 fable bruno
28 ember bruno
23 amber hana
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051220 | qwen/qwen3.7-plus |
awkweave-0051221 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | fable 19 hana
birch 8 bruno
amber 19 hana
grove 4 ivan
juniper 16 ivan
indigo 6 chen
| 19
| fable 7 alice
indigo 19 farah
fable 8 kim
indigo 2 alice
grove 10 dina
juniper 8 gus
harbor 18 chen
indigo 15 dina
| 19
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051221-p1 | Identify and print the maximum numeric value in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | fable 19 hana
birch 8 bruno
amber 19 hana
grove 4 ivan
juniper 16 ivan
indigo 6 chen
| 19
| fable 7 alice
indigo 19 farah
fable 8 kim
indigo 2 alice
grove 10 dina
juniper 8 gus
harbor 18 chen
indigo 15 dina
| 19
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051221 | qwen/qwen3.7-plus |
awkweave-0051222 | Count all input records and print the total. | END{print NR} | lina 0
eli 34
hana 27
chen 99
farah 115
hana 4
dina 18
farah 72
| 8
| alice 63
farah 96
farah 41
jules 13
gus 30
eli 79
eli 112
dina 45
alice 85
eli 66
| 10
| count_records | 1 | 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.