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-0012160-p1 | Extract and print the second field from each tab-separated record. | BEGIN{FS=OFS="\t"}{print $2} | lina 4 failed
lina 14 pending
lina 29 ready
gus 15 closed
kim 20 closed
dina 2 paused
lina 26 ready
eli 18 failed
ivan 16 active
eli 5 closed
| 4
14
29
15
20
2
26
18
16
5
| eli 9 failed
gus 28 active
chen 20 paused
farah 9 closed
kim 19 failed
hana 29 closed
alice 8 pending
| 9
28
20
9
19
29
8
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012160 | qwen/qwen3.7-plus |
awkweave-0012161 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24. | BEGIN{FS=OFS=","}$2>24{print $1} | dina,13,failed
ivan,30,ready
alice,20,paused
kim,7,paused
lina,8,active
kim,2,pending
bruno,18,paused
chen,22,paused
kim,10,active
hana,23,ready
| ivan
| gus,27,failed
ivan,23,paused
dina,24,ready
alice,23,pending
gus,17,paused
dina,10,pending
chen,28,failed
bruno,18,paused
| gus
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012161-p1 | For simple comma-separated input without quoted commas, output the first column whenever the second column's value is greater than 24. | BEGIN{FS=OFS=","}$2>24{print $1} | dina,13,failed
ivan,30,ready
alice,20,paused
kim,7,paused
lina,8,active
kim,2,pending
bruno,18,paused
chen,22,paused
kim,10,active
hana,23,ready
| ivan
| gus,27,failed
ivan,23,paused
dina,24,ready
alice,23,pending
gus,17,paused
dina,10,pending
chen,28,failed
bruno,18,paused
| gus
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012161 | qwen/qwen3.7-plus |
awkweave-0012162 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | farah grove 6
chen indigo 97
eli birch 54
hana indigo 83
jules birch 22
alice ember 46
kim harbor 26
alice harbor 40
| farah grove 6
chen indigo 97
eli birch 54
hana indigo 83
jules birch 22
alice ember 46
kim harbor 26
alice harbor 40
| gus birch 33
alice amber 59
hana delta 112
eli birch 83
eli cobalt 109
dina birch 54
| gus birch 33
alice amber 59
hana delta 112
eli birch 83
eli cobalt 109
dina birch 54
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012162-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | farah grove 6
chen indigo 97
eli birch 54
hana indigo 83
jules birch 22
alice ember 46
kim harbor 26
alice harbor 40
| farah grove 6
chen indigo 97
eli birch 54
hana indigo 83
jules birch 22
alice ember 46
kim harbor 26
alice harbor 40
| gus birch 33
alice amber 59
hana delta 112
eli birch 83
eli cobalt 109
dina birch 54
| gus birch 33
alice amber 59
hana delta 112
eli birch 83
eli cobalt 109
dina birch 54
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012162 | qwen/qwen3.7-plus |
awkweave-0012163 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | ivan cobalt 58 pending
lina grove 118 failed
chen amber 14 paused
dina grove 74 active
dina harbor 25 active
dina grove 68 active
lina indigo 114 paused
eli juniper 114 closed
hana birch 4 active
chen indigo 35 ready
| ivan cobalt 58 pending
| jules harbor 112 active
eli cobalt 18 failed
chen juniper 95 ready
alice harbor 80 closed
chen juniper 62 failed
ivan cobalt 3 ready
alice ember 68 ready
| jules harbor 112 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012163-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | ivan cobalt 58 pending
lina grove 118 failed
chen amber 14 paused
dina grove 74 active
dina harbor 25 active
dina grove 68 active
lina indigo 114 paused
eli juniper 114 closed
hana birch 4 active
chen indigo 35 ready
| ivan cobalt 58 pending
| jules harbor 112 active
eli cobalt 18 failed
chen juniper 95 ready
alice harbor 80 closed
chen juniper 62 failed
ivan cobalt 3 ready
alice ember 68 ready
| jules harbor 112 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012163 | qwen/qwen3.7-plus |
awkweave-0012164 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | dina 89
lina 46
lina 120
ivan 96
chen 116
kim 12
eli 92
kim 103
| dina 89
lina 120
chen 116
eli 92
| jules 53
hana 49
lina 16
dina 15
kim 111
ivan 59
jules 110
eli 84
hana 33
| jules 53
lina 16
kim 111
jules 110
hana 33
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012164-p1 | Print lines 1, 3, 5, and so on (every second line starting from the first). | NR%2==1 | dina 89
lina 46
lina 120
ivan 96
chen 116
kim 12
eli 92
kim 103
| dina 89
lina 120
chen 116
eli 92
| jules 53
hana 49
lina 16
dina 15
kim 111
ivan 59
jules 110
eli 84
hana 33
| jules 53
lina 16
kim 111
jules 110
hana 33
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012164 | qwen/qwen3.7-plus |
awkweave-0012165 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta amber 118
delta indigo 32
alpha delta 85
alpha juniper 46
gamma juniper 107
alpha ember 18
beta indigo 4
gamma ember 21
alpha juniper 67
gamma cobalt 97
| 4
| beta cobalt 74
delta grove 106
beta fable 54
gamma amber 68
gamma birch 7
gamma cobalt 36
gamma fable 1
alpha fable 86
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012165-p1 | Determine the number of unique values in the first column and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta amber 118
delta indigo 32
alpha delta 85
alpha juniper 46
gamma juniper 107
alpha ember 18
beta indigo 4
gamma ember 21
alpha juniper 67
gamma cobalt 97
| 4
| beta cobalt 74
delta grove 106
beta fable 54
gamma amber 68
gamma birch 7
gamma cobalt 36
gamma fable 1
alpha fable 86
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012165 | qwen/qwen3.7-plus |
awkweave-0012166 | 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 18 0
lina 28 11
hana 24 11
gus 18 15
ivan 12 29
ivan 23 15
chen 8 27
kim 7 13
bruno 27 4
lina 6 2
| lina 2.55
hana 2.18
gus 1.20
ivan 0.41
ivan 1.53
chen 0.30
kim 0.54
bruno 6.75
lina 3.00
| alice 26 0
chen 19 21
bruno 20 23
kim 28 18
ivan 11 20
bruno 10 13
lina 6 12
gus 14 28
bruno 1 6
jules 23 29
| chen 0.90
bruno 0.87
kim 1.56
ivan 0.55
bruno 0.77
lina 0.50
gus 0.50
bruno 0.17
jules 0.79
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012166-p1 | For every row, output the value of column 1 followed by the result of dividing column 2 by column 3 formatted to two decimal places, while ignoring any rows where column 3 equals zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 18 0
lina 28 11
hana 24 11
gus 18 15
ivan 12 29
ivan 23 15
chen 8 27
kim 7 13
bruno 27 4
lina 6 2
| lina 2.55
hana 2.18
gus 1.20
ivan 0.41
ivan 1.53
chen 0.30
kim 0.54
bruno 6.75
lina 3.00
| alice 26 0
chen 19 21
bruno 20 23
kim 28 18
ivan 11 20
bruno 10 13
lina 6 12
gus 14 28
bruno 1 6
jules 23 29
| chen 0.90
bruno 0.87
kim 1.56
ivan 0.55
bruno 0.77
lina 0.50
gus 0.50
bruno 0.17
jules 0.79
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012166 | qwen/qwen3.7-plus |
awkweave-0012167 | 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 birch 3
farah amber 26
ivan harbor 20
hana indigo 5
gus fable 2
jules ember 5
ivan cobalt 20
gus juniper 27
| gus juniper 27
farah amber 26
ivan harbor 20
| gus amber 20
dina cobalt 25
dina harbor 2
gus indigo 26
gus birch 9
ivan indigo 24
hana indigo 10
ivan fable 24
jules amber 10
farah indigo 6
| gus indigo 26
dina cobalt 25
ivan indigo 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012167-p1 | Display the three full records that have the largest numeric values in column 3, arranged in descending order, and maintain the original input sequence for any tied values. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | chen birch 3
farah amber 26
ivan harbor 20
hana indigo 5
gus fable 2
jules ember 5
ivan cobalt 20
gus juniper 27
| gus juniper 27
farah amber 26
ivan harbor 20
| gus amber 20
dina cobalt 25
dina harbor 2
gus indigo 26
gus birch 9
ivan indigo 24
hana indigo 10
ivan fable 24
jules amber 10
farah indigo 6
| gus indigo 26
dina cobalt 25
ivan indigo 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012167 | qwen/qwen3.7-plus |
awkweave-0012168 | For each line, output fields 2 and 1, in that order. | {print $2, $1} | delta ready failed ember 46
ember pending paused delta 27
amber paused ready indigo 97
delta ready closed cobalt 113
grove active pending harbor 61
juniper paused closed birch 50
birch ready active juniper 108
amber closed ready cobalt 24
ember failed active birch 28
| ready delta
pending ember
paused amber
ready delta
active grove
paused juniper
ready birch
closed amber
failed ember
| amber paused active cobalt 96
amber ready active cobalt 50
juniper active pending fable 19
amber pending active birch 33
grove active failed fable 24
harbor failed failed ember 102
indigo failed paused amber 64
amber pending closed cobalt 8
| paused amber
ready amber
active juniper
pending amber
active grove
failed harbor
failed indigo
pending amber
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012168-p1 | Output field 2 followed by field 1 for each line. | {print $2, $1} | delta ready failed ember 46
ember pending paused delta 27
amber paused ready indigo 97
delta ready closed cobalt 113
grove active pending harbor 61
juniper paused closed birch 50
birch ready active juniper 108
amber closed ready cobalt 24
ember failed active birch 28
| ready delta
pending ember
paused amber
ready delta
active grove
paused juniper
ready birch
closed amber
failed ember
| amber paused active cobalt 96
amber ready active cobalt 50
juniper active pending fable 19
amber pending active birch 33
grove active failed fable 24
harbor failed failed ember 102
indigo failed paused amber 64
amber pending closed cobalt 8
| paused amber
ready amber
active juniper
pending amber
active grove
failed harbor
failed indigo
pending amber
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012168 | qwen/qwen3.7-plus |
awkweave-0012169 | Print the last field of every input line. | {print $NF} | amber closed 12 harbor active delta pending
fable ready 120 ember failed indigo closed
juniper ready 23 fable closed amber failed
cobalt paused 114 juniper pending indigo paused
amber failed 98 grove paused ember pending
grove paused 78 ember pending juniper active
| pending
closed
failed
paused
pending
active
| fable ready 33 birch paused harbor failed
amber paused 68 delta pending ember failed
grove paused 69 ember failed amber paused
cobalt paused 58 harbor paused cobalt ready
cobalt failed 29 fable ready cobalt closed
amber pending 94 amber closed fable pending
grove ready 79 ember active ember closed
ember ready 82 grove ... | failed
failed
paused
ready
closed
pending
closed
active
ready
pending
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012169-p1 | Print the final field from every line of input. | {print $NF} | amber closed 12 harbor active delta pending
fable ready 120 ember failed indigo closed
juniper ready 23 fable closed amber failed
cobalt paused 114 juniper pending indigo paused
amber failed 98 grove paused ember pending
grove paused 78 ember pending juniper active
| pending
closed
failed
paused
pending
active
| fable ready 33 birch paused harbor failed
amber paused 68 delta pending ember failed
grove paused 69 ember failed amber paused
cobalt paused 58 harbor paused cobalt ready
cobalt failed 29 fable ready cobalt closed
amber pending 94 amber closed fable pending
grove ready 79 ember active ember closed
ember ready 82 grove ... | failed
failed
paused
ready
closed
pending
closed
active
ready
pending
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012169 | qwen/qwen3.7-plus |
awkweave-0012170 | Print the complete records where column 1 is at most 40. | $1 <= 40 | 108 ember juniper chen chen
89 amber cobalt chen alice
56 indigo amber lina eli
60 fable birch ivan dina
75 fable indigo kim lina
22 amber harbor hana alice
45 harbor juniper lina gus
74 fable ember ivan hana
63 ember ember gus jules
116 delta birch alice dina
| 22 amber harbor hana alice
| 67 cobalt indigo alice kim
59 delta fable dina lina
108 ember grove gus lina
37 delta juniper jules lina
56 birch amber farah dina
24 cobalt delta alice bruno
| 37 delta juniper jules lina
24 cobalt delta alice bruno
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012170-p1 | Output the entire records where the value in column 1 is less than or equal to 40. | $1 <= 40 | 108 ember juniper chen chen
89 amber cobalt chen alice
56 indigo amber lina eli
60 fable birch ivan dina
75 fable indigo kim lina
22 amber harbor hana alice
45 harbor juniper lina gus
74 fable ember ivan hana
63 ember ember gus jules
116 delta birch alice dina
| 22 amber harbor hana alice
| 67 cobalt indigo alice kim
59 delta fable dina lina
108 ember grove gus lina
37 delta juniper jules lina
56 birch amber farah dina
24 cobalt delta alice bruno
| 37 delta juniper jules lina
24 cobalt delta alice bruno
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012170 | qwen/qwen3.7-plus |
awkweave-0012171 | Show whole lines whose 3rd field is between 12 and 25, inclusive. | $3 >= 12 && $3 <= 25 | birch juniper 12 active
harbor ember 29 failed
delta harbor 24 pending
ember fable 14 ready
cobalt amber 30 active
fable fable 24 paused
| birch juniper 12 active
delta harbor 24 pending
ember fable 14 ready
fable fable 24 paused
| juniper indigo 8 active
ember cobalt 10 closed
juniper grove 29 pending
juniper amber 3 pending
ember cobalt 14 ready
indigo amber 28 failed
ember ember 10 active
fable juniper 16 active
birch juniper 21 pending
delta harbor 15 closed
| ember cobalt 14 ready
fable juniper 16 active
birch juniper 21 pending
delta harbor 15 closed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012171-p1 | Display complete lines where the third field falls within the range of 12 to 25, inclusive. | $3 >= 12 && $3 <= 25 | birch juniper 12 active
harbor ember 29 failed
delta harbor 24 pending
ember fable 14 ready
cobalt amber 30 active
fable fable 24 paused
| birch juniper 12 active
delta harbor 24 pending
ember fable 14 ready
fable fable 24 paused
| juniper indigo 8 active
ember cobalt 10 closed
juniper grove 29 pending
juniper amber 3 pending
ember cobalt 14 ready
indigo amber 28 failed
ember ember 10 active
fable juniper 16 active
birch juniper 21 pending
delta harbor 15 closed
| ember cobalt 14 ready
fable juniper 16 active
birch juniper 21 pending
delta harbor 15 closed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012171 | qwen/qwen3.7-plus |
awkweave-0012172 | Print column 4 only for rows where column 2 is exactly pending. | $2 == "pending"{print $4} | 30 active cobalt alice
97 closed delta lina
11 ready harbor ivan
24 closed birch alice
68 pending birch eli
66 pending amber dina
| eli
dina
| 22 closed cobalt bruno
72 pending cobalt farah
11 ready birch ivan
32 active delta ivan
57 closed fable chen
115 paused indigo bruno
34 paused delta dina
115 failed fable hana
| farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012172-p1 | Output only column 4 for those rows where column 2 matches the exact string pending. | $2 == "pending"{print $4} | 30 active cobalt alice
97 closed delta lina
11 ready harbor ivan
24 closed birch alice
68 pending birch eli
66 pending amber dina
| eli
dina
| 22 closed cobalt bruno
72 pending cobalt farah
11 ready birch ivan
32 active delta ivan
57 closed fable chen
115 paused indigo bruno
34 paused delta dina
115 failed fable hana
| farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012172 | qwen/qwen3.7-plus |
awkweave-0012173 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | fable 26 INFO
harbor 58 DEBUG
juniper 119 WARN
cobalt 101 ERROR
delta 9 INFO
birch 20 ERROR
cobalt 63 WARN
| cobalt 101 ERROR
birch 20 ERROR
| birch 99 DEBUG
harbor 63 WARN
cobalt 50 INFO
birch 92 INFO
juniper 69 WARN
delta 29 WARN
ember 62 WARN
juniper 48 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0012173-p1 | Print all fields from lines where the third field starts with the text ERROR. | $3 ~ /^ERROR/ | fable 26 INFO
harbor 58 DEBUG
juniper 119 WARN
cobalt 101 ERROR
delta 9 INFO
birch 20 ERROR
cobalt 63 WARN
| cobalt 101 ERROR
birch 20 ERROR
| birch 99 DEBUG
harbor 63 WARN
cobalt 50 INFO
birch 92 INFO
juniper 69 WARN
delta 29 WARN
ember 62 WARN
juniper 48 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012173 | qwen/qwen3.7-plus | |
awkweave-0012174 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | grove 113 closed
birch 7 pending
ember 64 paused
fable 111 active
fable 103 ready
fable 106 ready
amber 98 ready
fable 67 active
birch 999 active
| grove 113 closed
ember 64 paused
fable 111 active
fable 103 ready
fable 106 ready
amber 98 ready
fable 67 active
| cobalt 25 closed
delta 4 closed
cobalt 6 pending
harbor 66 closed
fable 106 paused
harbor 44 active
harbor 66 failed
birch 999 active
| cobalt 25 closed
delta 4 closed
cobalt 6 pending
harbor 66 closed
fable 106 paused
harbor 44 active
harbor 66 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012174-p1 | Print every line that does not contain the exact string birch. | $0 !~ /birch/ | grove 113 closed
birch 7 pending
ember 64 paused
fable 111 active
fable 103 ready
fable 106 ready
amber 98 ready
fable 67 active
birch 999 active
| grove 113 closed
ember 64 paused
fable 111 active
fable 103 ready
fable 106 ready
amber 98 ready
fable 67 active
| cobalt 25 closed
delta 4 closed
cobalt 6 pending
harbor 66 closed
fable 106 paused
harbor 44 active
harbor 66 failed
birch 999 active
| cobalt 25 closed
delta 4 closed
cobalt 6 pending
harbor 66 closed
fable 106 paused
harbor 44 active
harbor 66 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012174 | qwen/qwen3.7-plus |
awkweave-0012175 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | chen delta 96
eli ember 75
alice indigo 90
alice birch 92
ivan birch 9
chen fable 4
eli indigo 99
bruno harbor 115
gus harbor 29
| eli ember 75
alice indigo 90
alice birch 92
| gus indigo 24
chen harbor 67
kim cobalt 119
jules cobalt 14
bruno cobalt 10
alice amber 86
| chen harbor 67
kim cobalt 119
jules cobalt 14
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012175-p1 | Output lines 2 through 4, inclusive. | NR >= 2 && NR <= 4 | chen delta 96
eli ember 75
alice indigo 90
alice birch 92
ivan birch 9
chen fable 4
eli indigo 99
bruno harbor 115
gus harbor 29
| eli ember 75
alice indigo 90
alice birch 92
| gus indigo 24
chen harbor 67
kim cobalt 119
jules cobalt 14
bruno cobalt 10
alice amber 86
| chen harbor 67
kim cobalt 119
jules cobalt 14
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012175 | qwen/qwen3.7-plus |
awkweave-0012176 | Output only the first 2 records. | NR <= 2 | alice 112 birch
lina 94 amber
gus 111 cobalt
lina 18 harbor
gus 31 ember
ivan 8 juniper
kim 74 harbor
dina 18 cobalt
| alice 112 birch
lina 94 amber
| lina 21 ember
farah 31 ember
jules 59 indigo
lina 56 indigo
kim 78 grove
ivan 22 harbor
jules 118 cobalt
| lina 21 ember
farah 31 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012176-p1 | Output only the first 2 records. | NR <= 2 | alice 112 birch
lina 94 amber
gus 111 cobalt
lina 18 harbor
gus 31 ember
ivan 8 juniper
kim 74 harbor
dina 18 cobalt
| alice 112 birch
lina 94 amber
| lina 21 ember
farah 31 ember
jules 59 indigo
lina 56 indigo
kim 78 grove
ivan 22 harbor
jules 118 cobalt
| lina 21 ember
farah 31 ember
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0012176 | qwen/qwen3.7-plus |
awkweave-0012177 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 22 ember
eli 66 ember
bruno 2 grove
chen 97 grove
bruno 41 juniper
eli 34 fable
chen 64 fable
gus 62 birch
kim 53 harbor
kim 105 grove
| eli 66 ember
bruno 2 grove
chen 97 grove
bruno 41 juniper
eli 34 fable
chen 64 fable
gus 62 birch
kim 53 harbor
kim 105 grove
| kim 86 harbor
jules 88 fable
hana 31 birch
eli 93 grove
bruno 51 juniper
jules 107 ember
kim 13 cobalt
dina 14 ember
bruno 12 cobalt
| jules 88 fable
hana 31 birch
eli 93 grove
bruno 51 juniper
jules 107 ember
kim 13 cobalt
dina 14 ember
bruno 12 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012177-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | alice 22 ember
eli 66 ember
bruno 2 grove
chen 97 grove
bruno 41 juniper
eli 34 fable
chen 64 fable
gus 62 birch
kim 53 harbor
kim 105 grove
| eli 66 ember
bruno 2 grove
chen 97 grove
bruno 41 juniper
eli 34 fable
chen 64 fable
gus 62 birch
kim 53 harbor
kim 105 grove
| kim 86 harbor
jules 88 fable
hana 31 birch
eli 93 grove
bruno 51 juniper
jules 107 ember
kim 13 cobalt
dina 14 ember
bruno 12 cobalt
| jules 88 fable
hana 31 birch
eli 93 grove
bruno 51 juniper
jules 107 ember
kim 13 cobalt
dina 14 ember
bruno 12 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012177 | qwen/qwen3.7-plus |
awkweave-0012178 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | jules ready 35
dina active 75
kim ready 6
lina pending 91
bruno paused 59
jules ready 32
kim active 67
jules ready 52
lina failed 60
eli active 54
| 1
| ivan ready 10
kim paused 88
bruno paused 63
kim active 68
lina active 30
kim pending 20
bruno pending 12
ivan ready 10
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012178-p1 | Count the occurrences of 'pending' in the second column and output 0 if none are found. | $2 == "pending"{n++}END{print n+0} | jules ready 35
dina active 75
kim ready 6
lina pending 91
bruno paused 59
jules ready 32
kim active 67
jules ready 52
lina failed 60
eli active 54
| 1
| ivan ready 10
kim paused 88
bruno paused 63
kim active 68
lina active 30
kim pending 20
bruno pending 12
ivan ready 10
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012178 | qwen/qwen3.7-plus |
awkweave-0012179 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | gus harbor 14
dina grove 21
ivan ember 15
chen indigo 21
hana cobalt 9
eli juniper 27
alice harbor 18
alice indigo 30
lina grove 29
| 184
| jules harbor 17
lina birch 18
chen grove 3
hana harbor 19
kim indigo 7
dina grove 3
| 67
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012179-p1 | Compute and display the total sum of all integer values located in the third column. | {s+=$3}END{print s+0} | gus harbor 14
dina grove 21
ivan ember 15
chen indigo 21
hana cobalt 9
eli juniper 27
alice harbor 18
alice indigo 30
lina grove 29
| 184
| jules harbor 17
lina birch 18
chen grove 3
hana harbor 19
kim indigo 7
dina grove 3
| 67
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012179 | qwen/qwen3.7-plus |
awkweave-0012180 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | dina ember 7
kim ember 23
eli delta 20
kim amber 4
kim birch 26
farah ember 15
| 15.83
| eli juniper 18
farah amber 29
alice juniper 23
dina birch 25
alice cobalt 8
chen birch 7
| 18.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012180-p1 | Output the average of the values in column 3, formatted to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | dina ember 7
kim ember 23
eli delta 20
kim amber 4
kim birch 26
farah ember 15
| 15.83
| eli juniper 18
farah amber 29
alice juniper 23
dina birch 25
alice cobalt 8
chen birch 7
| 18.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012180 | qwen/qwen3.7-plus |
awkweave-0012181 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen birch 3
lina amber 23
gus harbor 21
gus cobalt 4
alice cobalt 21
kim birch 14
jules juniper 12
| 3
| alice indigo 6
alice delta 18
hana juniper 10
dina birch 18
jules juniper 21
eli cobalt 3
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012181-p1 | Identify and print the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen birch 3
lina amber 23
gus harbor 21
gus cobalt 4
alice cobalt 21
kim birch 14
jules juniper 12
| 3
| alice indigo 6
alice delta 18
hana juniper 10
dina birch 18
jules juniper 21
eli cobalt 3
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012181 | qwen/qwen3.7-plus |
awkweave-0012182 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 kim birch
30 farah ember
3 hana ember
8 kim juniper
7 dina cobalt
21 gus amber
30 chen ember
3 kim amber
26 dina birch
24 farah ember
| 30
| 19 bruno cobalt
16 bruno grove
14 jules cobalt
13 hana delta
10 gus ember
27 lina amber
22 eli juniper
25 farah juniper
29 farah cobalt
8 ivan delta
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012182-p1 | Determine and display the maximum numeric value found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 kim birch
30 farah ember
3 hana ember
8 kim juniper
7 dina cobalt
21 gus amber
30 chen ember
3 kim amber
26 dina birch
24 farah ember
| 30
| 19 bruno cobalt
16 bruno grove
14 jules cobalt
13 hana delta
10 gus ember
27 lina amber
22 eli juniper
25 farah juniper
29 farah cobalt
8 ivan delta
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012182 | qwen/qwen3.7-plus |
awkweave-0012183 | Count all input records and print the total. | END{print NR} | kim 115
jules 97
hana 30
gus 118
ivan 37
lina 117
kim 21
alice 4
hana 75
| 9
| ivan 31
eli 4
jules 97
kim 104
farah 91
kim 58
gus 24
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012183-p1 | Count the total number of input records and print the result. | END{print NR} | kim 115
jules 97
hana 30
gus 118
ivan 37
lina 117
kim 21
alice 4
hana 75
| 9
| ivan 31
eli 4
jules 97
kim 104
farah 91
kim 58
gus 24
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012183 | qwen/qwen3.7-plus |
awkweave-0012184 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus harbor 32
hana ember 101
farah ember 50
bruno indigo 103
hana cobalt 39
alice delta 29
hana cobalt 39
hana harbor 41
eli delta 80
eli harbor 69
| gus harbor 32
hana ember 101
farah ember 50
bruno indigo 103
hana cobalt 39
alice delta 29
hana harbor 41
eli delta 80
eli harbor 69
| gus cobalt 42
lina ember 5
farah ember 78
alice amber 46
ivan cobalt 94
alice amber 46
dina harbor 21
| gus cobalt 42
lina ember 5
farah ember 78
alice amber 46
ivan cobalt 94
dina harbor 21
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012184-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | gus harbor 32
hana ember 101
farah ember 50
bruno indigo 103
hana cobalt 39
alice delta 29
hana cobalt 39
hana harbor 41
eli delta 80
eli harbor 69
| gus harbor 32
hana ember 101
farah ember 50
bruno indigo 103
hana cobalt 39
alice delta 29
hana harbor 41
eli delta 80
eli harbor 69
| gus cobalt 42
lina ember 5
farah ember 78
alice amber 46
ivan cobalt 94
alice amber 46
dina harbor 21
| gus cobalt 42
lina ember 5
farah ember 78
alice amber 46
ivan cobalt 94
dina harbor 21
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012184 | qwen/qwen3.7-plus |
awkweave-0012185 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | farah harbor 94
jules ember 35
bruno harbor 48
chen delta 120
farah delta 81
bruno fable 118
bruno amber 119
gus birch 76
jules delta 48
dina harbor 29
| farah harbor 94
jules ember 35
chen delta 120
bruno fable 118
bruno amber 119
gus birch 76
| lina indigo 66
gus fable 56
hana amber 36
chen cobalt 51
dina grove 46
kim delta 2
alice ember 72
gus delta 101
chen cobalt 40
bruno ember 78
| lina indigo 66
gus fable 56
hana amber 36
chen cobalt 51
dina grove 46
kim delta 2
alice ember 72
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012185-p1 | Retain only the first row for every unique value in column 2, preserving the initial input sequence. | !seen[$2]++ | farah harbor 94
jules ember 35
bruno harbor 48
chen delta 120
farah delta 81
bruno fable 118
bruno amber 119
gus birch 76
jules delta 48
dina harbor 29
| farah harbor 94
jules ember 35
chen delta 120
bruno fable 118
bruno amber 119
gus birch 76
| lina indigo 66
gus fable 56
hana amber 36
chen cobalt 51
dina grove 46
kim delta 2
alice ember 72
gus delta 101
chen cobalt 40
bruno ember 78
| lina indigo 66
gus fable 56
hana amber 36
chen cobalt 51
dina grove 46
kim delta 2
alice ember 72
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012185 | qwen/qwen3.7-plus |
awkweave-0012186 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 12 fable
lina 14 juniper
eli 3 delta
ivan 10 juniper
chen 5 ember
ivan 13 fable
dina 10 amber
| jules 12
lina 26
eli 29
ivan 39
chen 44
ivan 57
dina 67
| bruno 15 cobalt
alice 15 delta
gus 20 indigo
lina 4 juniper
alice 22 fable
alice 28 juniper
bruno 12 grove
jules 20 cobalt
alice 20 juniper
ivan 28 birch
| bruno 15
alice 30
gus 50
lina 54
alice 76
alice 104
bruno 116
jules 136
alice 156
ivan 184
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012186-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 12 fable
lina 14 juniper
eli 3 delta
ivan 10 juniper
chen 5 ember
ivan 13 fable
dina 10 amber
| jules 12
lina 26
eli 29
ivan 39
chen 44
ivan 57
dina 67
| bruno 15 cobalt
alice 15 delta
gus 20 indigo
lina 4 juniper
alice 22 fable
alice 28 juniper
bruno 12 grove
jules 20 cobalt
alice 20 juniper
ivan 28 birch
| bruno 15
alice 30
gus 50
lina 54
alice 76
alice 104
bruno 116
jules 136
alice 156
ivan 184
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012186 | qwen/qwen3.7-plus |
awkweave-0012187 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 20 17 fable
eli 27 1 juniper
alice 23 16 delta
chen 28 21 ember
chen 22 6 amber
bruno 14 20 ember
ivan 13 1 ember
| lina 37
eli 28
alice 39
chen 49
chen 28
bruno 34
ivan 14
| bruno 14 21 grove
farah 29 9 harbor
lina 1 12 juniper
gus 22 7 delta
kim 29 19 amber
dina 27 16 indigo
| bruno 35
farah 38
lina 13
gus 29
kim 48
dina 43
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012187-p1 | Print the first field followed by the sum of the second and third fields for each row. | {print $1,$2+$3} | lina 20 17 fable
eli 27 1 juniper
alice 23 16 delta
chen 28 21 ember
chen 22 6 amber
bruno 14 20 ember
ivan 13 1 ember
| lina 37
eli 28
alice 39
chen 49
chen 28
bruno 34
ivan 14
| bruno 14 21 grove
farah 29 9 harbor
lina 1 12 juniper
gus 22 7 delta
kim 29 19 amber
dina 27 16 indigo
| bruno 35
farah 38
lina 13
gus 29
kim 48
dina 43
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012187 | qwen/qwen3.7-plus |
awkweave-0012188 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | gus 2
hana 23
eli 25
hana 9
gus 12
chen 10
eli 15
jules 12
dina 9
| gus fail
hana fail
eli fail
hana fail
gus fail
chen fail
eli fail
jules fail
dina fail
| bruno 11
dina 29
alice 10
bruno 6
kim 23
gus 25
chen 24
kim 8
eli 1
eli 18
| bruno fail
dina pass
alice fail
bruno fail
kim fail
gus fail
chen fail
kim fail
eli fail
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012188-p1 | Display the first column and output 'pass' if the second column is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | gus 2
hana 23
eli 25
hana 9
gus 12
chen 10
eli 15
jules 12
dina 9
| gus fail
hana fail
eli fail
hana fail
gus fail
chen fail
eli fail
jules fail
dina fail
| bruno 11
dina 29
alice 10
bruno 6
kim 23
gus 25
chen 24
kim 8
eli 1
eli 18
| bruno fail
dina pass
alice fail
bruno fail
kim fail
gus fail
chen fail
kim fail
eli fail
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012188 | qwen/qwen3.7-plus |
awkweave-0012189 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | gus fable 108
dina amber 91
kim grove 86
farah indigo 21
kim birch 22
hana harbor 97
eli amber 8
farah indigo 106
eli delta 95
| GUS
DINA
KIM
FARAH
KIM
HANA
ELI
FARAH
ELI
| ivan amber 83
bruno harbor 13
chen juniper 53
bruno harbor 47
gus juniper 54
farah grove 80
| IVAN
BRUNO
CHEN
BRUNO
GUS
FARAH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012189-p1 | Transform the first column to uppercase and print only that modified column. | {print toupper($1)} | gus fable 108
dina amber 91
kim grove 86
farah indigo 21
kim birch 22
hana harbor 97
eli amber 8
farah indigo 106
eli delta 95
| GUS
DINA
KIM
FARAH
KIM
HANA
ELI
FARAH
ELI
| ivan amber 83
bruno harbor 13
chen juniper 53
bruno harbor 47
gus juniper 54
farah grove 80
| IVAN
BRUNO
CHEN
BRUNO
GUS
FARAH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012189 | qwen/qwen3.7-plus |
awkweave-0012200 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13. | BEGIN{FS=OFS=","}$2>13{print $1} | jules,25,paused
bruno,4,pending
ivan,24,pending
lina,16,pending
hana,15,closed
kim,14,closed
hana,4,ready
| jules
ivan
lina
hana
kim
| kim,26,pending
ivan,2,active
hana,17,closed
kim,5,active
eli,20,failed
lina,13,active
ivan,25,paused
jules,18,failed
| kim
hana
eli
ivan
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012200-p1 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13. | BEGIN{FS=OFS=","}$2>13{print $1} | jules,25,paused
bruno,4,pending
ivan,24,pending
lina,16,pending
hana,15,closed
kim,14,closed
hana,4,ready
| jules
ivan
lina
hana
kim
| kim,26,pending
ivan,2,active
hana,17,closed
kim,5,active
eli,20,failed
lina,13,active
ivan,25,paused
jules,18,failed
| kim
hana
eli
ivan
jules
| csv_filter | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0012200 | qwen/qwen3.7-plus |
awkweave-0012201 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno ember 72
dina amber 109
farah amber 93
gus juniper 91
bruno amber 96
gus juniper 112
ivan indigo 94
kim cobalt 50
| bruno ember 72
dina amber 109
farah amber 93
gus juniper 91
bruno amber 96
gus juniper 112
ivan indigo 94
kim cobalt 50
| dina indigo 88
hana ember 64
dina delta 11
dina cobalt 56
eli indigo 72
lina harbor 28
| dina indigo 88
hana ember 64
dina delta 11
dina cobalt 56
eli indigo 72
lina harbor 28
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012201-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | bruno ember 72
dina amber 109
farah amber 93
gus juniper 91
bruno amber 96
gus juniper 112
ivan indigo 94
kim cobalt 50
| bruno ember 72
dina amber 109
farah amber 93
gus juniper 91
bruno amber 96
gus juniper 112
ivan indigo 94
kim cobalt 50
| dina indigo 88
hana ember 64
dina delta 11
dina cobalt 56
eli indigo 72
lina harbor 28
| dina indigo 88
hana ember 64
dina delta 11
dina cobalt 56
eli indigo 72
lina harbor 28
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012201 | qwen/qwen3.7-plus |
awkweave-0012202 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno juniper 77 pending
jules juniper 118 ready
eli cobalt 40 closed
kim juniper 112 active
ivan ember 29 ready
farah harbor 69 active
ivan amber 94 closed
| bruno juniper 77 pending
| jules ember 106 pending
alice cobalt 44 failed
dina ember 70 active
chen indigo 25 active
ivan harbor 100 paused
jules indigo 115 pending
dina ember 21 failed
| jules indigo 115 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012202-p1 | Identify and display the longest line in the input, selecting the first occurrence if multiple lines share the maximum length. | {if(length($0)>length(best))best=$0}END{print best} | bruno juniper 77 pending
jules juniper 118 ready
eli cobalt 40 closed
kim juniper 112 active
ivan ember 29 ready
farah harbor 69 active
ivan amber 94 closed
| bruno juniper 77 pending
| jules ember 106 pending
alice cobalt 44 failed
dina ember 70 active
chen indigo 25 active
ivan harbor 100 paused
jules indigo 115 pending
dina ember 21 failed
| jules indigo 115 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012202 | qwen/qwen3.7-plus |
awkweave-0012203 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | jules 120
ivan 24
eli 93
lina 19
eli 61
kim 21
alice 49
ivan 1
bruno 58
| jules 120
lina 19
alice 49
| alice 5
eli 71
gus 22
jules 34
farah 117
eli 56
| alice 5
jules 34
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012203-p1 | Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.). | NR%3==1 | jules 120
ivan 24
eli 93
lina 19
eli 61
kim 21
alice 49
ivan 1
bruno 58
| jules 120
lina 19
alice 49
| alice 5
eli 71
gus 22
jules 34
farah 117
eli 56
| alice 5
jules 34
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012203 | qwen/qwen3.7-plus |
awkweave-0012204 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta amber 83
delta cobalt 102
beta birch 55
alpha amber 11
gamma cobalt 19
alpha birch 48
delta birch 72
delta delta 97
alpha juniper 49
beta ember 26
| 6
| gamma ember 7
delta birch 53
delta amber 85
alpha indigo 97
alpha cobalt 113
beta cobalt 40
delta fable 67
gamma harbor 90
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012204-p1 | Calculate the number of unique values in the second column and output only that total count. | {if(!seen[$2]++)n++}END{print n+0} | delta amber 83
delta cobalt 102
beta birch 55
alpha amber 11
gamma cobalt 19
alpha birch 48
delta birch 72
delta delta 97
alpha juniper 49
beta ember 26
| 6
| gamma ember 7
delta birch 53
delta amber 85
alpha indigo 97
alpha cobalt 113
beta cobalt 40
delta fable 67
gamma harbor 90
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012204 | qwen/qwen3.7-plus |
awkweave-0012205 | 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} | hana 28 0
chen 6 20
eli 1 26
farah 22 13
alice 29 28
ivan 11 3
lina 16 3
bruno 6 17
alice 19 9
jules 16 6
| chen 0.30
eli 0.04
farah 1.69
alice 1.04
ivan 3.67
lina 5.33
bruno 0.35
alice 2.11
jules 2.67
| ivan 17 0
farah 21 27
farah 22 13
kim 9 16
alice 21 12
eli 19 20
| farah 0.78
farah 1.69
kim 0.56
alice 1.75
eli 0.95
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012205-p1 | For each row where the third column is non-zero, print the first column and 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} | hana 28 0
chen 6 20
eli 1 26
farah 22 13
alice 29 28
ivan 11 3
lina 16 3
bruno 6 17
alice 19 9
jules 16 6
| chen 0.30
eli 0.04
farah 1.69
alice 1.04
ivan 3.67
lina 5.33
bruno 0.35
alice 2.11
jules 2.67
| ivan 17 0
farah 21 27
farah 22 13
kim 9 16
alice 21 12
eli 19 20
| farah 0.78
farah 1.69
kim 0.56
alice 1.75
eli 0.95
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012205 | qwen/qwen3.7-plus |
awkweave-0012206 | 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 juniper 2
alice fable 12
kim grove 18
alice delta 26
jules birch 2
bruno birch 29
| bruno birch 29
alice delta 26
kim grove 18
| farah birch 16
kim juniper 15
chen amber 23
alice indigo 29
alice indigo 1
hana ember 28
bruno indigo 17
| alice indigo 29
hana ember 28
chen amber 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012206-p1 | Display the three records with the largest 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 juniper 2
alice fable 12
kim grove 18
alice delta 26
jules birch 2
bruno birch 29
| bruno birch 29
alice delta 26
kim grove 18
| farah birch 16
kim juniper 15
chen amber 23
alice indigo 29
alice indigo 1
hana ember 28
bruno indigo 17
| alice indigo 29
hana ember 28
chen amber 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012206 | qwen/qwen3.7-plus |
awkweave-0012207 | Print column 5 followed by column 1 for every record. | {print $5, $1} | closed pending amber paused active 32
closed active cobalt pending closed 57
paused ready fable ready ready 50
active ready delta failed paused 96
ready failed delta paused active 107
closed closed cobalt paused active 24
paused pending fable ready ready 88
paused failed juniper active failed 49
| active closed
closed closed
ready paused
paused active
active ready
active closed
ready paused
failed paused
| active failed ember pending active 20
failed pending amber ready ready 88
failed active amber pending pending 102
failed failed grove active closed 23
failed ready birch failed ready 18
closed failed cobalt pending pending 4
| active active
ready failed
pending failed
closed failed
ready failed
pending closed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012207-p1 | Output the fifth column followed by the first column for every record. | {print $5, $1} | closed pending amber paused active 32
closed active cobalt pending closed 57
paused ready fable ready ready 50
active ready delta failed paused 96
ready failed delta paused active 107
closed closed cobalt paused active 24
paused pending fable ready ready 88
paused failed juniper active failed 49
| active closed
closed closed
ready paused
paused active
active ready
active closed
ready paused
failed paused
| active failed ember pending active 20
failed pending amber ready ready 88
failed active amber pending pending 102
failed failed grove active closed 23
failed ready birch failed ready 18
closed failed cobalt pending pending 4
| active active
ready failed
pending failed
closed failed
ready failed
pending closed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012207 | qwen/qwen3.7-plus |
awkweave-0012208 | Print the last field of every input line. | {print $NF} | paused pending ready grove closed chen
pending closed closed fable active eli
closed failed closed amber failed bruno
pending pending closed delta failed hana
active ready pending grove failed jules
paused closed paused juniper active hana
pending closed closed grove pending farah
| chen
eli
bruno
hana
jules
hana
farah
| failed closed closed harbor paused alice
failed failed paused birch closed alice
failed active paused ember active kim
closed ready paused amber failed hana
closed pending pending harbor pending alice
closed failed pending cobalt paused gus
pending pending active delta failed jules
| alice
alice
kim
hana
alice
gus
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012208-p1 | Print the final field from each line of input. | {print $NF} | paused pending ready grove closed chen
pending closed closed fable active eli
closed failed closed amber failed bruno
pending pending closed delta failed hana
active ready pending grove failed jules
paused closed paused juniper active hana
pending closed closed grove pending farah
| chen
eli
bruno
hana
jules
hana
farah
| failed closed closed harbor paused alice
failed failed paused birch closed alice
failed active paused ember active kim
closed ready paused amber failed hana
closed pending pending harbor pending alice
closed failed pending cobalt paused gus
pending pending active delta failed jules
| alice
alice
kim
hana
alice
gus
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012208 | qwen/qwen3.7-plus |
awkweave-0012209 | Print the complete records where column 3 is greater than 24. | $3 > 24 | hana gus 18 pending harbor
gus kim 57 active cobalt
ivan dina 90 pending juniper
ivan eli 81 failed amber
eli ivan 51 ready ember
hana kim 82 failed delta
eli lina 51 active birch
lina lina 5 paused ember
| gus kim 57 active cobalt
ivan dina 90 pending juniper
ivan eli 81 failed amber
eli ivan 51 ready ember
hana kim 82 failed delta
eli lina 51 active birch
| chen eli 15 failed indigo
eli jules 61 paused amber
eli bruno 35 closed grove
kim gus 69 pending harbor
chen farah 56 closed indigo
dina gus 30 ready grove
| eli jules 61 paused amber
eli bruno 35 closed grove
kim gus 69 pending harbor
chen farah 56 closed indigo
dina gus 30 ready grove
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012209-p1 | Output the full records where the value in column 3 exceeds 24. | $3 > 24 | hana gus 18 pending harbor
gus kim 57 active cobalt
ivan dina 90 pending juniper
ivan eli 81 failed amber
eli ivan 51 ready ember
hana kim 82 failed delta
eli lina 51 active birch
lina lina 5 paused ember
| gus kim 57 active cobalt
ivan dina 90 pending juniper
ivan eli 81 failed amber
eli ivan 51 ready ember
hana kim 82 failed delta
eli lina 51 active birch
| chen eli 15 failed indigo
eli jules 61 paused amber
eli bruno 35 closed grove
kim gus 69 pending harbor
chen farah 56 closed indigo
dina gus 30 ready grove
| eli jules 61 paused amber
eli bruno 35 closed grove
kim gus 69 pending harbor
chen farah 56 closed indigo
dina gus 30 ready grove
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012209 | qwen/qwen3.7-plus |
awkweave-0012210 | Show whole lines whose 2nd field is between 8 and 29, inclusive. | $2 >= 8 && $2 <= 29 | delta 27 bruno grove
indigo 2 alice delta
ember 24 chen fable
grove 14 jules indigo
indigo 3 gus harbor
cobalt 27 hana juniper
| delta 27 bruno grove
ember 24 chen fable
grove 14 jules indigo
cobalt 27 hana juniper
| birch 4 farah harbor
birch 19 alice birch
harbor 23 lina indigo
amber 6 ivan cobalt
indigo 7 gus juniper
amber 11 lina fable
birch 21 dina cobalt
grove 17 lina indigo
indigo 4 dina indigo
ember 19 gus indigo
| birch 19 alice birch
harbor 23 lina indigo
amber 11 lina fable
birch 21 dina cobalt
grove 17 lina indigo
ember 19 gus indigo
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012210-p1 | Display entire lines where the second field falls within the inclusive range of 8 to 29. | $2 >= 8 && $2 <= 29 | delta 27 bruno grove
indigo 2 alice delta
ember 24 chen fable
grove 14 jules indigo
indigo 3 gus harbor
cobalt 27 hana juniper
| delta 27 bruno grove
ember 24 chen fable
grove 14 jules indigo
cobalt 27 hana juniper
| birch 4 farah harbor
birch 19 alice birch
harbor 23 lina indigo
amber 6 ivan cobalt
indigo 7 gus juniper
amber 11 lina fable
birch 21 dina cobalt
grove 17 lina indigo
indigo 4 dina indigo
ember 19 gus indigo
| birch 19 alice birch
harbor 23 lina indigo
amber 11 lina fable
birch 21 dina cobalt
grove 17 lina indigo
ember 19 gus indigo
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012210 | qwen/qwen3.7-plus |
awkweave-0012211 | Print column 4 only for rows where column 3 is exactly paused. | $3 == "paused"{print $4} | 46 juniper closed ivan
80 ember closed bruno
3 grove ready kim
98 birch pending chen
108 harbor failed gus
79 fable paused chen
9 fable paused kim
52 cobalt failed alice
44 cobalt closed dina
52 birch ready kim
| chen
kim
| 66 delta pending kim
19 harbor pending jules
85 delta pending chen
67 fable paused farah
76 amber active alice
14 ember closed dina
| farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012211-p1 | Output the fourth column only for rows where the third column contains the exact value 'paused'. | $3 == "paused"{print $4} | 46 juniper closed ivan
80 ember closed bruno
3 grove ready kim
98 birch pending chen
108 harbor failed gus
79 fable paused chen
9 fable paused kim
52 cobalt failed alice
44 cobalt closed dina
52 birch ready kim
| chen
kim
| 66 delta pending kim
19 harbor pending jules
85 delta pending chen
67 fable paused farah
76 amber active alice
14 ember closed dina
| farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012211 | qwen/qwen3.7-plus |
awkweave-0012212 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | INFO 91 grove
WARN 23 delta
INFO 45 amber
DEBUG 17 harbor
ERROR 83 harbor
WARN 58 amber
WARN 29 indigo
WARN 67 amber
ERROR 23 birch
| INFO 91 grove
INFO 45 amber
| WARN 109 birch
INFO 82 birch
WARN 47 cobalt
WARN 35 indigo
ERROR 83 harbor
WARN 52 delta
| INFO 82 birch
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012212-p1 | Output every field from rows where the first field starts with INFO. | $1 ~ /^INFO/ | INFO 91 grove
WARN 23 delta
INFO 45 amber
DEBUG 17 harbor
ERROR 83 harbor
WARN 58 amber
WARN 29 indigo
WARN 67 amber
ERROR 23 birch
| INFO 91 grove
INFO 45 amber
| WARN 109 birch
INFO 82 birch
WARN 47 cobalt
WARN 35 indigo
ERROR 83 harbor
WARN 52 delta
| INFO 82 birch
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012212 | qwen/qwen3.7-plus |
awkweave-0012213 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | harbor 31 ready
birch 59 paused
juniper 65 ready
birch 41 closed
grove 94 paused
harbor 2 pending
amber 67 active
grove 999 active
| harbor 31 ready
birch 59 paused
juniper 65 ready
birch 41 closed
harbor 2 pending
amber 67 active
| fable 53 failed
grove 9 active
harbor 79 active
fable 88 active
birch 91 paused
ember 109 closed
fable 2 pending
birch 9 ready
delta 81 paused
indigo 108 paused
grove 999 active
| fable 53 failed
harbor 79 active
fable 88 active
birch 91 paused
ember 109 closed
fable 2 pending
birch 9 ready
delta 81 paused
indigo 108 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012213-p1 | Display all lines that do not contain the exact string grove. | $0 !~ /grove/ | harbor 31 ready
birch 59 paused
juniper 65 ready
birch 41 closed
grove 94 paused
harbor 2 pending
amber 67 active
grove 999 active
| harbor 31 ready
birch 59 paused
juniper 65 ready
birch 41 closed
harbor 2 pending
amber 67 active
| fable 53 failed
grove 9 active
harbor 79 active
fable 88 active
birch 91 paused
ember 109 closed
fable 2 pending
birch 9 ready
delta 81 paused
indigo 108 paused
grove 999 active
| fable 53 failed
harbor 79 active
fable 88 active
birch 91 paused
ember 109 closed
fable 2 pending
birch 9 ready
delta 81 paused
indigo 108 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012213 | qwen/qwen3.7-plus |
awkweave-0012214 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | lina birch 107
gus fable 56
kim birch 10
bruno fable 77
chen harbor 70
bruno delta 45
farah harbor 83
gus indigo 18
| bruno fable 77
chen harbor 70
| farah delta 61
kim cobalt 26
farah delta 103
farah amber 11
dina ember 78
farah ember 41
kim birch 55
hana amber 49
ivan indigo 60
| farah amber 11
dina ember 78
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012214-p1 | Show lines 4 to 5, inclusive of both ends. | NR >= 4 && NR <= 5 | lina birch 107
gus fable 56
kim birch 10
bruno fable 77
chen harbor 70
bruno delta 45
farah harbor 83
gus indigo 18
| bruno fable 77
chen harbor 70
| farah delta 61
kim cobalt 26
farah delta 103
farah amber 11
dina ember 78
farah ember 41
kim birch 55
hana amber 49
ivan indigo 60
| farah amber 11
dina ember 78
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012214 | qwen/qwen3.7-plus |
awkweave-0012215 | Output only the first 2 records. | NR <= 2 | alice 106 harbor
gus 50 harbor
ivan 48 indigo
ivan 57 ember
eli 77 cobalt
lina 119 ember
bruno 58 amber
farah 95 juniper
ivan 23 harbor
eli 65 fable
| alice 106 harbor
gus 50 harbor
| bruno 29 birch
eli 33 cobalt
bruno 13 juniper
bruno 38 amber
ivan 61 birch
jules 29 fable
| bruno 29 birch
eli 33 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012215-p1 | Print only the initial 2 records. | NR <= 2 | alice 106 harbor
gus 50 harbor
ivan 48 indigo
ivan 57 ember
eli 77 cobalt
lina 119 ember
bruno 58 amber
farah 95 juniper
ivan 23 harbor
eli 65 fable
| alice 106 harbor
gus 50 harbor
| bruno 29 birch
eli 33 cobalt
bruno 13 juniper
bruno 38 amber
ivan 61 birch
jules 29 fable
| bruno 29 birch
eli 33 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012215 | qwen/qwen3.7-plus |
awkweave-0012216 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 17 delta
chen 110 ember
bruno 57 birch
jules 14 juniper
eli 56 ember
kim 34 amber
chen 109 ember
farah 81 cobalt
farah 83 indigo
chen 72 ember
| chen 110 ember
bruno 57 birch
jules 14 juniper
eli 56 ember
kim 34 amber
chen 109 ember
farah 81 cobalt
farah 83 indigo
chen 72 ember
| dina 35 ember
jules 57 juniper
eli 5 amber
dina 104 ember
hana 82 grove
dina 58 harbor
| jules 57 juniper
eli 5 amber
dina 104 ember
hana 82 grove
dina 58 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012216-p1 | Omit the first line and output the rest of the lines as they are. | NR > 1 | eli 17 delta
chen 110 ember
bruno 57 birch
jules 14 juniper
eli 56 ember
kim 34 amber
chen 109 ember
farah 81 cobalt
farah 83 indigo
chen 72 ember
| chen 110 ember
bruno 57 birch
jules 14 juniper
eli 56 ember
kim 34 amber
chen 109 ember
farah 81 cobalt
farah 83 indigo
chen 72 ember
| dina 35 ember
jules 57 juniper
eli 5 amber
dina 104 ember
hana 82 grove
dina 58 harbor
| jules 57 juniper
eli 5 amber
dina 104 ember
hana 82 grove
dina 58 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012216 | qwen/qwen3.7-plus |
awkweave-0012217 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | farah failed 75
chen closed 88
dina paused 8
farah closed 70
lina paused 14
gus pending 12
chen ready 83
kim pending 115
| 1
| jules paused 22
hana active 119
kim active 27
farah active 3
eli ready 103
chen failed 49
lina paused 77
farah active 48
lina paused 15
lina failed 88
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012217-p1 | Tally 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 failed 75
chen closed 88
dina paused 8
farah closed 70
lina paused 14
gus pending 12
chen ready 83
kim pending 115
| 1
| jules paused 22
hana active 119
kim active 27
farah active 3
eli ready 103
chen failed 49
lina paused 77
farah active 48
lina paused 15
lina failed 88
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012217 | qwen/qwen3.7-plus |
awkweave-0012218 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor alice 15
ember farah 11
cobalt ivan 1
delta gus 5
cobalt alice 30
ember chen 4
indigo alice 9
ember kim 25
cobalt gus 23
| 123
| delta lina 12
grove dina 5
delta gus 5
indigo ivan 26
grove ivan 6
amber jules 15
harbor jules 9
| 78
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012218-p1 | Compute and display the total sum of integer values in the third column. | {s+=$3}END{print s+0} | harbor alice 15
ember farah 11
cobalt ivan 1
delta gus 5
cobalt alice 30
ember chen 4
indigo alice 9
ember kim 25
cobalt gus 23
| 123
| delta lina 12
grove dina 5
delta gus 5
indigo ivan 26
grove ivan 6
amber jules 15
harbor jules 9
| 78
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012218 | qwen/qwen3.7-plus |
awkweave-0012219 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 2 farah juniper
19 eli harbor
27 bruno grove
22 dina delta
13 chen grove
18 bruno ember
18 hana grove
4 bruno juniper
| 15.38
| 9 bruno grove
9 farah fable
16 bruno birch
8 jules birch
17 bruno grove
15 farah harbor
5 chen birch
7 jules delta
17 alice indigo
| 11.44
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0012219-p1 | Calculate the average of the first column and print it rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 2 farah juniper
19 eli harbor
27 bruno grove
22 dina delta
13 chen grove
18 bruno ember
18 hana grove
4 bruno juniper
| 15.38
| 9 bruno grove
9 farah fable
16 bruno birch
8 jules birch
17 bruno grove
15 farah harbor
5 chen birch
7 jules delta
17 alice indigo
| 11.44
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0012219 | qwen/qwen3.7-plus |
awkweave-0012220 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 28 ember dina
29 indigo eli
13 fable alice
20 juniper gus
1 birch farah
27 cobalt kim
3 birch ivan
20 indigo jules
11 ember chen
16 juniper farah
| 1
| 14 harbor jules
27 delta farah
14 grove dina
24 grove farah
18 juniper chen
26 amber alice
22 juniper kim
18 amber ivan
16 grove ivan
| 14
| min_field | 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.