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-0042271-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | gus amber 65 paused
jules amber 75 failed
chen birch 41 failed
kim ember 24 ready
kim amber 14 ready
dina birch 96 closed
alice fable 9 paused
hana ember 83 closed
hana fable 5 failed
kim juniper 115 closed
| kim juniper 115 closed
| eli birch 72 closed
alice ember 15 closed
jules juniper 70 pending
kim delta 89 failed
bruno indigo 86 paused
bruno juniper 48 failed
hana birch 107 active
| jules juniper 70 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042271 | qwen/qwen3.7-plus |
awkweave-0042272 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | eli 118
kim 47
kim 112
alice 52
lina 120
eli 85
hana 70
ivan 36
hana 26
| eli 118
alice 52
hana 70
| hana 84
ivan 5
lina 89
hana 3
jules 77
lina 105
ivan 92
bruno 60
jules 56
| hana 84
hana 3
ivan 92
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042272-p1 | Output every third line beginning with the first line (i.e., lines 1, 4, etc.). | NR%3==1 | eli 118
kim 47
kim 112
alice 52
lina 120
eli 85
hana 70
ivan 36
hana 26
| eli 118
alice 52
hana 70
| hana 84
ivan 5
lina 89
hana 3
jules 77
lina 105
ivan 92
bruno 60
jules 56
| hana 84
hana 3
ivan 92
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042272 | qwen/qwen3.7-plus |
awkweave-0042273 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta ember 75
delta amber 27
gamma fable 115
alpha delta 74
alpha indigo 98
gamma indigo 28
beta delta 44
beta birch 119
| 4
| beta indigo 102
delta grove 56
beta indigo 50
gamma juniper 53
alpha indigo 7
delta fable 29
gamma cobalt 47
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042273-p1 | Calculate and display only the number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | delta ember 75
delta amber 27
gamma fable 115
alpha delta 74
alpha indigo 98
gamma indigo 28
beta delta 44
beta birch 119
| 4
| beta indigo 102
delta grove 56
beta indigo 50
gamma juniper 53
alpha indigo 7
delta fable 29
gamma cobalt 47
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042273 | qwen/qwen3.7-plus |
awkweave-0042274 | 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
hana 6 5
kim 21 7
hana 11 4
ivan 20 28
alice 25 1
lina 12 11
jules 2 30
gus 2 26
| hana 1.20
kim 3.00
hana 2.75
ivan 0.71
alice 25.00
lina 1.09
jules 0.07
gus 0.08
| kim 8 0
bruno 6 8
hana 11 25
eli 21 26
gus 7 16
chen 29 29
bruno 13 20
alice 21 24
| bruno 0.75
hana 0.44
eli 0.81
gus 0.44
chen 1.00
bruno 0.65
alice 0.88
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042274-p1 | For each row where the third column is not zero, output 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} | ivan 18 0
hana 6 5
kim 21 7
hana 11 4
ivan 20 28
alice 25 1
lina 12 11
jules 2 30
gus 2 26
| hana 1.20
kim 3.00
hana 2.75
ivan 0.71
alice 25.00
lina 1.09
jules 0.07
gus 0.08
| kim 8 0
bruno 6 8
hana 11 25
eli 21 26
gus 7 16
chen 29 29
bruno 13 20
alice 21 24
| bruno 0.75
hana 0.44
eli 0.81
gus 0.44
chen 1.00
bruno 0.65
alice 0.88
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042274 | qwen/qwen3.7-plus |
awkweave-0042275 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim fable 6
eli amber 29
ivan indigo 11
chen juniper 1
chen delta 21
ivan cobalt 2
farah ember 18
farah amber 20
jules ember 30
hana amber 14
| jules ember 30
eli amber 29
chen delta 21
| dina birch 1
dina cobalt 1
alice cobalt 6
hana delta 7
eli indigo 30
alice harbor 22
| eli indigo 30
alice harbor 22
hana delta 7
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042275-p1 | Display the full records corresponding to the top three 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]} | kim fable 6
eli amber 29
ivan indigo 11
chen juniper 1
chen delta 21
ivan cobalt 2
farah ember 18
farah amber 20
jules ember 30
hana amber 14
| jules ember 30
eli amber 29
chen delta 21
| dina birch 1
dina cobalt 1
alice cobalt 6
hana delta 7
eli indigo 30
alice harbor 22
| eli indigo 30
alice harbor 22
hana delta 7
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042275 | qwen/qwen3.7-plus |
awkweave-0042276 | Print column 3 followed by column 1 for every record. | {print $3, $1} | active failed ready lina birch
ready ready pending farah fable
active failed closed alice harbor
active active failed hana cobalt
closed failed active chen fable
pending closed closed ivan amber
closed failed failed gus harbor
ready ready ready chen ember
ready closed pending chen harbor
active paused paused kim cobalt... | ready active
pending ready
closed active
failed active
active closed
closed pending
failed closed
ready ready
pending ready
paused active
| pending failed active eli amber
failed closed paused gus juniper
ready closed pending dina amber
failed failed pending jules delta
failed failed failed kim indigo
pending paused ready bruno delta
pending pending closed farah indigo
paused closed pending lina cobalt
pending pending active gus cobalt
| active pending
paused failed
pending ready
pending failed
failed failed
ready pending
closed pending
pending paused
active pending
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042276-p1 | Output column 3 followed by column 1 for all records. | {print $3, $1} | active failed ready lina birch
ready ready pending farah fable
active failed closed alice harbor
active active failed hana cobalt
closed failed active chen fable
pending closed closed ivan amber
closed failed failed gus harbor
ready ready ready chen ember
ready closed pending chen harbor
active paused paused kim cobalt... | ready active
pending ready
closed active
failed active
active closed
closed pending
failed closed
ready ready
pending ready
paused active
| pending failed active eli amber
failed closed paused gus juniper
ready closed pending dina amber
failed failed pending jules delta
failed failed failed kim indigo
pending paused ready bruno delta
pending pending closed farah indigo
paused closed pending lina cobalt
pending pending active gus cobalt
| active pending
paused failed
pending ready
pending failed
failed failed
ready pending
closed pending
pending paused
active pending
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042276 | qwen/qwen3.7-plus |
awkweave-0042277 | Print the last field of every input line. | {print $NF} | amber ivan cobalt
juniper gus indigo
delta alice harbor
harbor lina amber
delta farah grove
birch hana ember
| cobalt
indigo
harbor
amber
grove
ember
| amber chen juniper
cobalt chen juniper
grove eli grove
delta gus ember
fable kim fable
amber kim juniper
grove bruno birch
harbor bruno juniper
| juniper
juniper
grove
ember
fable
juniper
birch
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042277-p1 | Print the final field from each input line. | {print $NF} | amber ivan cobalt
juniper gus indigo
delta alice harbor
harbor lina amber
delta farah grove
birch hana ember
| cobalt
indigo
harbor
amber
grove
ember
| amber chen juniper
cobalt chen juniper
grove eli grove
delta gus ember
fable kim fable
amber kim juniper
grove bruno birch
harbor bruno juniper
| juniper
juniper
grove
ember
fable
juniper
birch
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042277 | qwen/qwen3.7-plus |
awkweave-0042278 | Print the complete records where column 2 is greater than 32. | $2 > 32 | ready 0 bruno active
paused 83 farah pending
failed 93 gus failed
pending 19 dina pending
active 53 farah active
active 85 hana failed
pending 110 chen ready
failed 71 gus pending
active 21 alice failed
| paused 83 farah pending
failed 93 gus failed
active 53 farah active
active 85 hana failed
pending 110 chen ready
failed 71 gus pending
| paused 87 gus active
ready 67 hana ready
paused 115 ivan pending
paused 17 eli active
paused 73 hana pending
failed 18 eli active
pending 40 hana ready
| paused 87 gus active
ready 67 hana ready
paused 115 ivan pending
paused 73 hana pending
pending 40 hana ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042278-p1 | Output the entire records where the value in column 2 exceeds 32. | $2 > 32 | ready 0 bruno active
paused 83 farah pending
failed 93 gus failed
pending 19 dina pending
active 53 farah active
active 85 hana failed
pending 110 chen ready
failed 71 gus pending
active 21 alice failed
| paused 83 farah pending
failed 93 gus failed
active 53 farah active
active 85 hana failed
pending 110 chen ready
failed 71 gus pending
| paused 87 gus active
ready 67 hana ready
paused 115 ivan pending
paused 17 eli active
paused 73 hana pending
failed 18 eli active
pending 40 hana ready
| paused 87 gus active
ready 67 hana ready
paused 115 ivan pending
paused 73 hana pending
pending 40 hana ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042278 | qwen/qwen3.7-plus |
awkweave-0042279 | Show whole lines whose 3rd field is between 10 and 26, inclusive. | $3 >= 10 && $3 <= 26 | chen alice 22 alice
alice hana 25 jules
eli gus 2 dina
jules ivan 19 kim
eli ivan 19 ivan
chen hana 21 bruno
bruno kim 30 gus
dina alice 29 gus
kim chen 4 farah
gus jules 7 eli
| chen alice 22 alice
alice hana 25 jules
jules ivan 19 kim
eli ivan 19 ivan
chen hana 21 bruno
| bruno ivan 6 dina
kim hana 6 jules
lina farah 23 jules
kim alice 29 ivan
alice hana 20 bruno
gus dina 28 dina
gus dina 13 chen
ivan kim 23 chen
bruno ivan 17 dina
farah dina 22 jules
| lina farah 23 jules
alice hana 20 bruno
gus dina 13 chen
ivan kim 23 chen
bruno ivan 17 dina
farah dina 22 jules
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042279-p1 | Display complete lines where the third field falls within the inclusive range of 10 to 26. | $3 >= 10 && $3 <= 26 | chen alice 22 alice
alice hana 25 jules
eli gus 2 dina
jules ivan 19 kim
eli ivan 19 ivan
chen hana 21 bruno
bruno kim 30 gus
dina alice 29 gus
kim chen 4 farah
gus jules 7 eli
| chen alice 22 alice
alice hana 25 jules
jules ivan 19 kim
eli ivan 19 ivan
chen hana 21 bruno
| bruno ivan 6 dina
kim hana 6 jules
lina farah 23 jules
kim alice 29 ivan
alice hana 20 bruno
gus dina 28 dina
gus dina 13 chen
ivan kim 23 chen
bruno ivan 17 dina
farah dina 22 jules
| lina farah 23 jules
alice hana 20 bruno
gus dina 13 chen
ivan kim 23 chen
bruno ivan 17 dina
farah dina 22 jules
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042279 | qwen/qwen3.7-plus |
awkweave-0042280 | Print column 4 only for rows where column 2 is exactly pending. | $2 == "pending"{print $4} | delta ready 28 ivan
fable pending 22 eli
ember paused 69 chen
ember active 72 alice
fable pending 89 lina
amber failed 79 alice
| eli
lina
| delta closed 117 jules
cobalt ready 41 ivan
juniper active 18 lina
ember active 90 dina
indigo active 23 chen
harbor active 74 lina
harbor paused 83 bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0042280-p1 | Output only the fourth column for rows where the second column is exactly 'pending'. | $2 == "pending"{print $4} | delta ready 28 ivan
fable pending 22 eli
ember paused 69 chen
ember active 72 alice
fable pending 89 lina
amber failed 79 alice
| eli
lina
| delta closed 117 jules
cobalt ready 41 ivan
juniper active 18 lina
ember active 90 dina
indigo active 23 chen
harbor active 74 lina
harbor paused 83 bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042280 | qwen/qwen3.7-plus | |
awkweave-0042281 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 1 amber WARN
91 ember DEBUG
113 delta DEBUG
42 fable ERROR
90 amber DEBUG
109 juniper INFO
4 grove INFO
48 cobalt ERROR
| 1 amber WARN
| 96 juniper DEBUG
30 juniper DEBUG
90 juniper INFO
76 harbor DEBUG
47 delta ERROR
82 juniper INFO
113 ember WARN
103 delta INFO
47 grove INFO
54 amber WARN
| 113 ember WARN
54 amber WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042281-p1 | Print all fields from lines where the third field starts with 'WARN'. | $3 ~ /^WARN/ | 1 amber WARN
91 ember DEBUG
113 delta DEBUG
42 fable ERROR
90 amber DEBUG
109 juniper INFO
4 grove INFO
48 cobalt ERROR
| 1 amber WARN
| 96 juniper DEBUG
30 juniper DEBUG
90 juniper INFO
76 harbor DEBUG
47 delta ERROR
82 juniper INFO
113 ember WARN
103 delta INFO
47 grove INFO
54 amber WARN
| 113 ember WARN
54 amber WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042281 | qwen/qwen3.7-plus |
awkweave-0042282 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | indigo 59 ready
harbor 30 paused
grove 69 active
delta 69 failed
juniper 45 closed
delta 72 closed
ember 25 active
fable 999 active
| indigo 59 ready
harbor 30 paused
grove 69 active
delta 69 failed
juniper 45 closed
delta 72 closed
ember 25 active
| amber 112 failed
cobalt 100 active
juniper 50 failed
delta 20 active
birch 9 ready
ember 39 closed
grove 81 paused
fable 999 active
| amber 112 failed
cobalt 100 active
juniper 50 failed
delta 20 active
birch 9 ready
ember 39 closed
grove 81 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042282-p1 | Output every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | indigo 59 ready
harbor 30 paused
grove 69 active
delta 69 failed
juniper 45 closed
delta 72 closed
ember 25 active
fable 999 active
| indigo 59 ready
harbor 30 paused
grove 69 active
delta 69 failed
juniper 45 closed
delta 72 closed
ember 25 active
| amber 112 failed
cobalt 100 active
juniper 50 failed
delta 20 active
birch 9 ready
ember 39 closed
grove 81 paused
fable 999 active
| amber 112 failed
cobalt 100 active
juniper 50 failed
delta 20 active
birch 9 ready
ember 39 closed
grove 81 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042282 | qwen/qwen3.7-plus |
awkweave-0042283 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | ivan delta 31
eli indigo 114
dina harbor 34
chen delta 76
lina grove 75
ivan harbor 73
hana amber 46
hana harbor 40
dina ember 27
bruno cobalt 53
| chen delta 76
lina grove 75
| dina fable 1
jules fable 63
eli indigo 84
bruno ember 42
alice ember 13
chen delta 70
kim delta 40
| bruno ember 42
alice ember 13
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042283-p1 | Print lines 4 through 5, inclusive. | NR >= 4 && NR <= 5 | ivan delta 31
eli indigo 114
dina harbor 34
chen delta 76
lina grove 75
ivan harbor 73
hana amber 46
hana harbor 40
dina ember 27
bruno cobalt 53
| chen delta 76
lina grove 75
| dina fable 1
jules fable 63
eli indigo 84
bruno ember 42
alice ember 13
chen delta 70
kim delta 40
| bruno ember 42
alice ember 13
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042283 | qwen/qwen3.7-plus |
awkweave-0042284 | Output only the first 2 records. | NR <= 2 | hana 54 grove
bruno 5 indigo
bruno 36 delta
ivan 106 harbor
alice 50 fable
dina 29 cobalt
| hana 54 grove
bruno 5 indigo
| lina 119 cobalt
hana 110 harbor
ivan 9 harbor
eli 93 harbor
kim 112 cobalt
lina 37 harbor
| lina 119 cobalt
hana 110 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042284-p1 | Output only the initial 2 records. | NR <= 2 | hana 54 grove
bruno 5 indigo
bruno 36 delta
ivan 106 harbor
alice 50 fable
dina 29 cobalt
| hana 54 grove
bruno 5 indigo
| lina 119 cobalt
hana 110 harbor
ivan 9 harbor
eli 93 harbor
kim 112 cobalt
lina 37 harbor
| lina 119 cobalt
hana 110 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042284 | qwen/qwen3.7-plus |
awkweave-0042285 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 77 ember
gus 82 birch
dina 51 grove
jules 76 grove
jules 102 cobalt
ivan 115 delta
dina 115 cobalt
| gus 82 birch
dina 51 grove
jules 76 grove
jules 102 cobalt
ivan 115 delta
dina 115 cobalt
| chen 26 delta
lina 99 birch
dina 59 amber
alice 1 amber
chen 83 amber
kim 65 ember
kim 39 harbor
| lina 99 birch
dina 59 amber
alice 1 amber
chen 83 amber
kim 65 ember
kim 39 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042285-p1 | Omit the first line and display every subsequent line exactly as it appears. | NR > 1 | alice 77 ember
gus 82 birch
dina 51 grove
jules 76 grove
jules 102 cobalt
ivan 115 delta
dina 115 cobalt
| gus 82 birch
dina 51 grove
jules 76 grove
jules 102 cobalt
ivan 115 delta
dina 115 cobalt
| chen 26 delta
lina 99 birch
dina 59 amber
alice 1 amber
chen 83 amber
kim 65 ember
kim 39 harbor
| lina 99 birch
dina 59 amber
alice 1 amber
chen 83 amber
kim 65 ember
kim 39 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042285 | qwen/qwen3.7-plus |
awkweave-0042286 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | bruno pending 41
lina active 50
gus closed 25
chen active 30
dina paused 111
chen active 47
| 0
| dina failed 99
chen failed 105
bruno failed 87
lina ready 64
hana failed 89
kim ready 101
kim failed 112
chen paused 12
gus active 90
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042286-p1 | Determine the number of records where column 2 contains 'ready', printing 0 if no such records exist. | $2 == "ready"{n++}END{print n+0} | bruno pending 41
lina active 50
gus closed 25
chen active 30
dina paused 111
chen active 47
| 0
| dina failed 99
chen failed 105
bruno failed 87
lina ready 64
hana failed 89
kim ready 101
kim failed 112
chen paused 12
gus active 90
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042286 | qwen/qwen3.7-plus |
awkweave-0042287 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | ivan 5 birch
alice 9 cobalt
hana 11 fable
eli 16 birch
gus 16 fable
jules 16 delta
chen 25 cobalt
dina 6 grove
kim 2 indigo
| 106
| jules 27 ember
dina 11 ember
hana 22 cobalt
dina 14 amber
eli 21 grove
chen 19 delta
alice 5 delta
kim 26 cobalt
lina 20 delta
farah 12 grove
| 177
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042287-p1 | Compute and output the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | ivan 5 birch
alice 9 cobalt
hana 11 fable
eli 16 birch
gus 16 fable
jules 16 delta
chen 25 cobalt
dina 6 grove
kim 2 indigo
| 106
| jules 27 ember
dina 11 ember
hana 22 cobalt
dina 14 amber
eli 21 grove
chen 19 delta
alice 5 delta
kim 26 cobalt
lina 20 delta
farah 12 grove
| 177
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042287 | qwen/qwen3.7-plus |
awkweave-0042288 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | ember 5 hana
fable 26 jules
birch 11 dina
birch 19 bruno
fable 10 alice
ember 14 alice
ember 1 gus
fable 5 eli
grove 15 chen
| 11.78
| cobalt 11 dina
delta 26 kim
birch 30 ivan
indigo 12 lina
amber 26 alice
indigo 27 eli
delta 19 kim
| 21.57
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042288-p1 | Display the average of column 2, formatted to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | ember 5 hana
fable 26 jules
birch 11 dina
birch 19 bruno
fable 10 alice
ember 14 alice
ember 1 gus
fable 5 eli
grove 15 chen
| 11.78
| cobalt 11 dina
delta 26 kim
birch 30 ivan
indigo 12 lina
amber 26 alice
indigo 27 eli
delta 19 kim
| 21.57
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042288 | qwen/qwen3.7-plus |
awkweave-0042289 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim juniper 8
eli juniper 9
eli ember 26
hana cobalt 23
gus amber 18
kim fable 10
| 8
| jules ember 10
alice indigo 25
hana harbor 13
gus birch 16
kim juniper 22
eli harbor 12
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042289-p1 | Identify and print the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim juniper 8
eli juniper 9
eli ember 26
hana cobalt 23
gus amber 18
kim fable 10
| 8
| jules ember 10
alice indigo 25
hana harbor 13
gus birch 16
kim juniper 22
eli harbor 12
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042289 | qwen/qwen3.7-plus |
awkweave-0042300 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah birch 26 active
alice birch 36 closed
jules ember 72 paused
ivan cobalt 109 active
chen harbor 11 ready
farah fable 14 closed
eli juniper 48 paused
| active 26 birch farah
closed 36 birch alice
paused 72 ember jules
active 109 cobalt ivan
ready 11 harbor chen
closed 14 fable farah
paused 48 juniper eli
| chen ember 91 active
hana harbor 18 failed
gus birch 98 pending
dina amber 37 ready
dina ember 31 active
dina fable 111 failed
eli delta 20 closed
| active 91 ember chen
failed 18 harbor hana
pending 98 birch gus
ready 37 amber dina
active 31 ember dina
failed 111 fable dina
closed 20 delta eli
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042300-p1 | Reverse the sequence of fields for each line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah birch 26 active
alice birch 36 closed
jules ember 72 paused
ivan cobalt 109 active
chen harbor 11 ready
farah fable 14 closed
eli juniper 48 paused
| active 26 birch farah
closed 36 birch alice
paused 72 ember jules
active 109 cobalt ivan
ready 11 harbor chen
closed 14 fable farah
paused 48 juniper eli
| chen ember 91 active
hana harbor 18 failed
gus birch 98 pending
dina amber 37 ready
dina ember 31 active
dina fable 111 failed
eli delta 20 closed
| active 91 ember chen
failed 18 harbor hana
pending 98 birch gus
ready 37 amber dina
active 31 ember dina
failed 111 fable dina
closed 20 delta eli
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042300 | qwen/qwen3.7-plus |
awkweave-0042301 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno fable 79 active
farah harbor 50 active
eli grove 76 closed
lina delta 91 active
alice delta 73 paused
dina grove 71 paused
gus amber 25 active
dina juniper 27 closed
| 4
4
4
4
4
4
4
4
| farah birch 112 closed
chen cobalt 84 failed
jules ember 92 failed
gus cobalt 48 closed
hana ember 20 paused
bruno birch 103 active
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042301-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno fable 79 active
farah harbor 50 active
eli grove 76 closed
lina delta 91 active
alice delta 73 paused
dina grove 71 paused
gus amber 25 active
dina juniper 27 closed
| 4
4
4
4
4
4
4
4
| farah birch 112 closed
chen cobalt 84 failed
jules ember 92 failed
gus cobalt 48 closed
hana ember 20 paused
bruno birch 103 active
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042301 | qwen/qwen3.7-plus |
awkweave-0042302 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | eli delta 41
eli delta 4
hana delta 30
kim gamma 47
bruno delta 69
kim beta 45
alice gamma 63
| delta 4
gamma 2
beta 1
| jules beta 88
ivan delta 77
lina gamma 95
dina alpha 19
dina beta 45
jules beta 24
kim delta 84
dina gamma 23
| beta 3
delta 2
gamma 2
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042302-p1 | Tally the occurrences of each unique value in column 2 and print each value alongside its count, maintaining the order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | eli delta 41
eli delta 4
hana delta 30
kim gamma 47
bruno delta 69
kim beta 45
alice gamma 63
| delta 4
gamma 2
beta 1
| jules beta 88
ivan delta 77
lina gamma 95
dina alpha 19
dina beta 45
jules beta 24
kim delta 84
dina gamma 23
| beta 3
delta 2
gamma 2
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042302 | qwen/qwen3.7-plus |
awkweave-0042303 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | dina gamma 14
farah delta 9
farah beta 22
kim gamma 5
bruno beta 11
dina beta 27
bruno delta 4
chen gamma 29
kim alpha 5
| gamma 48
delta 13
beta 60
alpha 5
| ivan gamma 17
farah gamma 9
farah gamma 9
gus delta 24
ivan alpha 3
dina gamma 27
gus gamma 15
| gamma 77
delta 24
alpha 3
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042303-p1 | Calculate the sum of column 3 grouped by each category in column 2, displaying the results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | dina gamma 14
farah delta 9
farah beta 22
kim gamma 5
bruno beta 11
dina beta 27
bruno delta 4
chen gamma 29
kim alpha 5
| gamma 48
delta 13
beta 60
alpha 5
| ivan gamma 17
farah gamma 9
farah gamma 9
gus delta 24
ivan alpha 3
dina gamma 27
gus gamma 15
| gamma 77
delta 24
alpha 3
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042303 | qwen/qwen3.7-plus |
awkweave-0042304 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 58
alpha fable 113
alpha delta 118
beta juniper 39
gamma harbor 71
gamma juniper 41
delta grove 92
gamma harbor 8
alpha ember 9
delta amber 47
| gamma 4
alpha 3
delta 2
| gamma amber 103
gamma delta 78
beta indigo 11
beta birch 101
gamma grove 45
gamma ember 119
| gamma 4
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042304-p1 | List each duplicate value from column 1 along with its frequency, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 58
alpha fable 113
alpha delta 118
beta juniper 39
gamma harbor 71
gamma juniper 41
delta grove 92
gamma harbor 8
alpha ember 9
delta amber 47
| gamma 4
alpha 3
delta 2
| gamma amber 103
gamma delta 78
beta indigo 11
beta birch 101
gamma grove 45
gamma ember 119
| gamma 4
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042304 | qwen/qwen3.7-plus |
awkweave-0042305 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state region score display_name
r001 bruno 24 active
r002 gus 4 ready
r003 eli 19 paused
r004 kim 15 pending
r005 kim 21 pending
r006 jules 7 closed
r007 jules 17 pending
r008 chen 26 pending
| active
ready
paused
pending
pending
closed
pending
pending
| state region score display_name
r001 alice 24 active
r002 bruno 25 pending
r003 ivan 23 active
r004 alice 19 ready
r005 farah 18 active
r006 farah 26 ready
r007 dina 6 closed
r008 jules 20 paused
| active
pending
active
ready
active
ready
closed
paused
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042305-p1 | Treating the first row as a header, output the values from the display_name column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state region score display_name
r001 bruno 24 active
r002 gus 4 ready
r003 eli 19 paused
r004 kim 15 pending
r005 kim 21 pending
r006 jules 7 closed
r007 jules 17 pending
r008 chen 26 pending
| active
ready
paused
pending
pending
closed
pending
pending
| state region score display_name
r001 alice 24 active
r002 bruno 25 pending
r003 ivan 23 active
r004 alice 19 ready
r005 farah 18 active
r006 farah 26 ready
r007 dina 6 closed
r008 jules 20 paused
| active
pending
active
ready
active
ready
closed
paused
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042305 | qwen/qwen3.7-plus |
awkweave-0042306 | The first row is a header. Print display_name for data rows whose score is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 alice 16 closed
r002 hana 28 paused
r003 alice 21 closed
r004 farah 18 pending
r005 bruno 24 paused
r006 chen 2 ready
r007 ivan 17 failed
| alice
hana
alice
farah
bruno
ivan
| record_id display_name score state
r001 eli 17 closed
r002 hana 21 pending
r003 hana 21 ready
r004 hana 29 ready
r005 bruno 25 paused
r006 hana 26 ready
r007 farah 26 active
r008 chen 12 failed
r009 dina 21 paused
r010 farah 20 pending
| eli
hana
hana
hana
bruno
hana
farah
dina
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042306-p1 | Skip the header row and output the display_name field for any data row where the score exceeds 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 alice 16 closed
r002 hana 28 paused
r003 alice 21 closed
r004 farah 18 pending
r005 bruno 24 paused
r006 chen 2 ready
r007 ivan 17 failed
| alice
hana
alice
farah
bruno
ivan
| record_id display_name score state
r001 eli 17 closed
r002 hana 21 pending
r003 hana 21 ready
r004 hana 29 ready
r005 bruno 25 paused
r006 hana 26 ready
r007 farah 26 active
r008 chen 12 failed
r009 dina 21 paused
r010 farah 20 pending
| eli
hana
hana
hana
bruno
hana
farah
dina
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042306 | qwen/qwen3.7-plus |
awkweave-0042307 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 18 ready
bruno 3 paused
hana 14 pending
chen 12 paused
kim 9 pending
alice 1 ready
farah 2 ready
eli 4 failed
ivan 21 paused
| chen
bruno
hana
chen
kim
alice
farah
eli
ivan
| hana 8 failed
kim 17 closed
farah 29 failed
eli 13 active
farah 24 ready
dina 29 ready
ivan 25 failed
bruno 17 active
kim 6 failed
hana 28 ready
| hana
kim
farah
eli
farah
dina
ivan
bruno
kim
hana
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042307-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 18 ready
bruno 3 paused
hana 14 pending
chen 12 paused
kim 9 pending
alice 1 ready
farah 2 ready
eli 4 failed
ivan 21 paused
| chen
bruno
hana
chen
kim
alice
farah
eli
ivan
| hana 8 failed
kim 17 closed
farah 29 failed
eli 13 active
farah 24 ready
dina 29 ready
ivan 25 failed
bruno 17 active
kim 6 failed
hana 28 ready
| hana
kim
farah
eli
farah
dina
ivan
bruno
kim
hana
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0042307 | qwen/qwen3.7-plus |
awkweave-0042308 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | dina,15,active
alice,4,pending
farah,20,closed
hana,21,paused
eli,30,active
jules,24,closed
| dina
farah
hana
eli
jules
| eli,15,active
dina,14,failed
jules,20,pending
eli,6,closed
gus,21,paused
gus,11,active
chen,3,closed
dina,27,closed
hana,18,active
ivan,6,failed
| eli
dina
jules
gus
dina
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042308-p1 | For simple CSV input without quoted commas, print the first column only if the second column is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | dina,15,active
alice,4,pending
farah,20,closed
hana,21,paused
eli,30,active
jules,24,closed
| dina
farah
hana
eli
jules
| eli,15,active
dina,14,failed
jules,20,pending
eli,6,closed
gus,21,paused
gus,11,active
chen,3,closed
dina,27,closed
hana,18,active
ivan,6,failed
| eli
dina
jules
gus
dina
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042308 | qwen/qwen3.7-plus |
awkweave-0042309 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli amber 51
alice juniper 115
dina grove 57
farah delta 21
kim cobalt 75
hana birch 49
farah fable 64
dina indigo 94
jules harbor 65
kim ember 35
| eli amber 51
alice juniper 115
dina grove 57
farah delta 21
kim cobalt 75
hana birch 49
farah fable 64
dina indigo 94
jules harbor 65
kim ember 35
| lina birch 8
lina fable 84
bruno indigo 82
alice juniper 82
dina cobalt 54
kim delta 26
| lina birch 8
lina fable 84
bruno indigo 82
alice juniper 82
dina cobalt 54
kim delta 26
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042309-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | eli amber 51
alice juniper 115
dina grove 57
farah delta 21
kim cobalt 75
hana birch 49
farah fable 64
dina indigo 94
jules harbor 65
kim ember 35
| eli amber 51
alice juniper 115
dina grove 57
farah delta 21
kim cobalt 75
hana birch 49
farah fable 64
dina indigo 94
jules harbor 65
kim ember 35
| lina birch 8
lina fable 84
bruno indigo 82
alice juniper 82
dina cobalt 54
kim delta 26
| lina birch 8
lina fable 84
bruno indigo 82
alice juniper 82
dina cobalt 54
kim delta 26
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042309 | qwen/qwen3.7-plus |
awkweave-0042310 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 30 paused
ivan fable 26 active
lina cobalt 82 pending
gus ember 51 closed
alice juniper 68 paused
jules delta 96 active
jules juniper 71 active
bruno cobalt 89 active
kim indigo 18 ready
| alice juniper 68 paused
| jules delta 71 pending
jules birch 21 ready
ivan harbor 88 active
chen delta 34 failed
gus ember 99 paused
hana cobalt 41 failed
kim birch 28 closed
lina amber 23 pending
jules fable 66 active
| jules delta 71 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042310-p1 | Identify and output the longest line from the input; in case of a tie in length, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | bruno delta 30 paused
ivan fable 26 active
lina cobalt 82 pending
gus ember 51 closed
alice juniper 68 paused
jules delta 96 active
jules juniper 71 active
bruno cobalt 89 active
kim indigo 18 ready
| alice juniper 68 paused
| jules delta 71 pending
jules birch 21 ready
ivan harbor 88 active
chen delta 34 failed
gus ember 99 paused
hana cobalt 41 failed
kim birch 28 closed
lina amber 23 pending
jules fable 66 active
| jules delta 71 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042310 | qwen/qwen3.7-plus |
awkweave-0042311 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | ivan 120
ivan 42
eli 91
farah 70
eli 6
bruno 5
| ivan 120
eli 91
eli 6
| ivan 85
dina 74
hana 36
ivan 48
dina 78
jules 74
alice 71
jules 40
chen 54
| ivan 85
hana 36
dina 78
alice 71
chen 54
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042311-p1 | Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.). | NR%2==1 | ivan 120
ivan 42
eli 91
farah 70
eli 6
bruno 5
| ivan 120
eli 91
eli 6
| ivan 85
dina 74
hana 36
ivan 48
dina 78
jules 74
alice 71
jules 40
chen 54
| ivan 85
hana 36
dina 78
alice 71
chen 54
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042311 | qwen/qwen3.7-plus |
awkweave-0042312 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma birch 112
beta juniper 43
gamma cobalt 7
gamma amber 15
delta harbor 87
gamma juniper 17
delta delta 85
| 3
| alpha delta 69
beta birch 35
alpha harbor 33
alpha birch 84
alpha grove 91
delta amber 0
alpha birch 13
gamma fable 110
gamma amber 105
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042312-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma birch 112
beta juniper 43
gamma cobalt 7
gamma amber 15
delta harbor 87
gamma juniper 17
delta delta 85
| 3
| alpha delta 69
beta birch 35
alpha harbor 33
alpha birch 84
alpha grove 91
delta amber 0
alpha birch 13
gamma fable 110
gamma amber 105
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042312 | qwen/qwen3.7-plus |
awkweave-0042313 | 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} | dina 21 0
hana 6 24
hana 2 24
gus 4 30
hana 2 9
ivan 27 5
kim 23 28
| hana 0.25
hana 0.08
gus 0.13
hana 0.22
ivan 5.40
kim 0.82
| kim 9 0
eli 11 19
lina 3 6
gus 29 17
jules 12 28
farah 15 28
kim 12 7
jules 23 28
bruno 12 19
| eli 0.58
lina 0.50
gus 1.71
jules 0.43
farah 0.54
kim 1.71
jules 0.82
bruno 0.63
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042313-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 21 0
hana 6 24
hana 2 24
gus 4 30
hana 2 9
ivan 27 5
kim 23 28
| hana 0.25
hana 0.08
gus 0.13
hana 0.22
ivan 5.40
kim 0.82
| kim 9 0
eli 11 19
lina 3 6
gus 29 17
jules 12 28
farah 15 28
kim 12 7
jules 23 28
bruno 12 19
| eli 0.58
lina 0.50
gus 1.71
jules 0.43
farah 0.54
kim 1.71
jules 0.82
bruno 0.63
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042313 | qwen/qwen3.7-plus |
awkweave-0042314 | 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]} | eli cobalt 21
alice birch 3
hana fable 13
eli grove 5
eli delta 18
hana juniper 14
farah delta 4
| eli cobalt 21
eli delta 18
hana juniper 14
| dina juniper 10
farah fable 20
alice birch 15
dina delta 7
alice amber 13
lina harbor 3
dina juniper 27
farah grove 22
| dina juniper 27
farah grove 22
farah fable 20
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042314-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | eli cobalt 21
alice birch 3
hana fable 13
eli grove 5
eli delta 18
hana juniper 14
farah delta 4
| eli cobalt 21
eli delta 18
hana juniper 14
| dina juniper 10
farah fable 20
alice birch 15
dina delta 7
alice amber 13
lina harbor 3
dina juniper 27
farah grove 22
| dina juniper 27
farah grove 22
farah fable 20
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042314 | qwen/qwen3.7-plus |
awkweave-0042315 | Select the 4th and 3rd fields in that order. | {print $4, $3} | amber 16 farah failed
amber 104 eli closed
juniper 78 hana pending
grove 73 lina ready
grove 60 jules closed
amber 58 alice ready
ember 57 lina failed
indigo 99 bruno pending
juniper 86 alice paused
grove 28 hana active
| failed farah
closed eli
pending hana
ready lina
closed jules
ready alice
failed lina
pending bruno
paused alice
active hana
| delta 118 eli pending
birch 95 lina pending
fable 73 alice paused
delta 109 ivan paused
harbor 90 eli active
birch 7 gus ready
cobalt 64 eli failed
ember 13 bruno failed
harbor 17 hana closed
harbor 15 eli failed
| pending eli
pending lina
paused alice
paused ivan
active eli
ready gus
failed eli
failed bruno
closed hana
failed eli
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042315-p1 | Extract and print the fourth field followed by the third field. | {print $4, $3} | amber 16 farah failed
amber 104 eli closed
juniper 78 hana pending
grove 73 lina ready
grove 60 jules closed
amber 58 alice ready
ember 57 lina failed
indigo 99 bruno pending
juniper 86 alice paused
grove 28 hana active
| failed farah
closed eli
pending hana
ready lina
closed jules
ready alice
failed lina
pending bruno
paused alice
active hana
| delta 118 eli pending
birch 95 lina pending
fable 73 alice paused
delta 109 ivan paused
harbor 90 eli active
birch 7 gus ready
cobalt 64 eli failed
ember 13 bruno failed
harbor 17 hana closed
harbor 15 eli failed
| pending eli
pending lina
paused alice
paused ivan
active eli
ready gus
failed eli
failed bruno
closed hana
failed eli
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042315 | qwen/qwen3.7-plus |
awkweave-0042316 | Print the last field of every input line. | {print $NF} | 47 birch failed
15 birch ready
108 indigo pending
118 ember active
74 indigo active
24 juniper pending
111 cobalt closed
42 juniper ready
33 birch paused
| failed
ready
pending
active
active
pending
closed
ready
paused
| 32 grove closed
107 cobalt closed
22 ember pending
55 ember ready
35 cobalt pending
50 indigo pending
37 harbor paused
23 harbor ready
112 amber active
0 fable closed
| closed
closed
pending
ready
pending
pending
paused
ready
active
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042316-p1 | Print the final field from every line of input. | {print $NF} | 47 birch failed
15 birch ready
108 indigo pending
118 ember active
74 indigo active
24 juniper pending
111 cobalt closed
42 juniper ready
33 birch paused
| failed
ready
pending
active
active
pending
closed
ready
paused
| 32 grove closed
107 cobalt closed
22 ember pending
55 ember ready
35 cobalt pending
50 indigo pending
37 harbor paused
23 harbor ready
112 amber active
0 fable closed
| closed
closed
pending
ready
pending
pending
paused
ready
active
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042316 | qwen/qwen3.7-plus |
awkweave-0042317 | Print the complete records where column 2 is greater than 44. | $2 > 44 | fable 27 bruno closed fable
amber 66 gus paused grove
cobalt 72 ivan ready juniper
indigo 109 lina pending harbor
amber 96 ivan pending indigo
harbor 21 jules closed ember
| amber 66 gus paused grove
cobalt 72 ivan ready juniper
indigo 109 lina pending harbor
amber 96 ivan pending indigo
| ember 27 eli pending indigo
delta 119 ivan failed indigo
amber 11 alice closed ember
cobalt 22 ivan paused fable
grove 110 jules ready amber
indigo 38 dina paused amber
fable 49 hana ready cobalt
| delta 119 ivan failed indigo
grove 110 jules ready amber
fable 49 hana ready cobalt
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042317-p1 | Output the full records for which the value in column 2 is greater than 44. | $2 > 44 | fable 27 bruno closed fable
amber 66 gus paused grove
cobalt 72 ivan ready juniper
indigo 109 lina pending harbor
amber 96 ivan pending indigo
harbor 21 jules closed ember
| amber 66 gus paused grove
cobalt 72 ivan ready juniper
indigo 109 lina pending harbor
amber 96 ivan pending indigo
| ember 27 eli pending indigo
delta 119 ivan failed indigo
amber 11 alice closed ember
cobalt 22 ivan paused fable
grove 110 jules ready amber
indigo 38 dina paused amber
fable 49 hana ready cobalt
| delta 119 ivan failed indigo
grove 110 jules ready amber
fable 49 hana ready cobalt
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042317 | qwen/qwen3.7-plus |
awkweave-0042318 | Show whole lines whose 3rd field is between 7 and 19, inclusive. | $3 >= 7 && $3 <= 19 | juniper birch 19 jules
juniper indigo 28 farah
juniper ember 11 kim
juniper cobalt 25 jules
ember juniper 24 hana
fable delta 28 farah
indigo grove 22 farah
| juniper birch 19 jules
juniper ember 11 kim
| birch harbor 2 ivan
ember grove 21 bruno
juniper birch 26 kim
juniper birch 15 dina
birch delta 10 lina
harbor delta 16 bruno
indigo grove 15 ivan
fable ember 19 farah
| juniper birch 15 dina
birch delta 10 lina
harbor delta 16 bruno
indigo grove 15 ivan
fable ember 19 farah
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042318-p1 | Display complete lines where the third field falls within the inclusive range of 7 to 19. | $3 >= 7 && $3 <= 19 | juniper birch 19 jules
juniper indigo 28 farah
juniper ember 11 kim
juniper cobalt 25 jules
ember juniper 24 hana
fable delta 28 farah
indigo grove 22 farah
| juniper birch 19 jules
juniper ember 11 kim
| birch harbor 2 ivan
ember grove 21 bruno
juniper birch 26 kim
juniper birch 15 dina
birch delta 10 lina
harbor delta 16 bruno
indigo grove 15 ivan
fable ember 19 farah
| juniper birch 15 dina
birch delta 10 lina
harbor delta 16 bruno
indigo grove 15 ivan
fable ember 19 farah
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042318 | qwen/qwen3.7-plus |
awkweave-0042319 | Print column 3 only for rows where column 1 is exactly failed. | $1 == "failed"{print $3} | closed indigo lina 4
active fable bruno 32
paused birch farah 84
pending juniper chen 39
failed birch dina 47
closed birch chen 100
ready delta chen 19
active harbor hana 120
ready indigo alice 22
closed delta jules 48
| dina
| pending fable kim 114
failed harbor gus 18
active harbor ivan 108
pending delta lina 29
closed cobalt dina 1
paused delta bruno 107
ready grove jules 52
pending delta ivan 37
paused fable lina 12
ready ember bruno 120
| gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042319-p1 | Output only the third column for rows where the first column matches 'failed' exactly. | $1 == "failed"{print $3} | closed indigo lina 4
active fable bruno 32
paused birch farah 84
pending juniper chen 39
failed birch dina 47
closed birch chen 100
ready delta chen 19
active harbor hana 120
ready indigo alice 22
closed delta jules 48
| dina
| pending fable kim 114
failed harbor gus 18
active harbor ivan 108
pending delta lina 29
closed cobalt dina 1
paused delta bruno 107
ready grove jules 52
pending delta ivan 37
paused fable lina 12
ready ember bruno 120
| gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042319 | qwen/qwen3.7-plus |
awkweave-0042320 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | indigo INFO 9
cobalt DEBUG 98
birch ERROR 69
amber DEBUG 116
amber WARN 23
harbor ERROR 8
| indigo INFO 9
| birch DEBUG 97
birch ERROR 19
ember INFO 79
cobalt WARN 116
harbor WARN 59
indigo ERROR 29
fable INFO 8
| ember INFO 79
fable INFO 8
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042320-p1 | Print all fields from lines where the second field starts with 'INFO'. | $2 ~ /^INFO/ | indigo INFO 9
cobalt DEBUG 98
birch ERROR 69
amber DEBUG 116
amber WARN 23
harbor ERROR 8
| indigo INFO 9
| birch DEBUG 97
birch ERROR 19
ember INFO 79
cobalt WARN 116
harbor WARN 59
indigo ERROR 29
fable INFO 8
| ember INFO 79
fable INFO 8
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042320 | qwen/qwen3.7-plus |
awkweave-0042321 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | indigo 73 paused
cobalt 52 failed
harbor 105 ready
amber 101 failed
birch 30 failed
fable 43 ready
harbor 999 active
| indigo 73 paused
cobalt 52 failed
amber 101 failed
birch 30 failed
fable 43 ready
| juniper 11 pending
grove 94 failed
juniper 17 failed
grove 11 ready
birch 60 ready
birch 94 active
harbor 13 pending
harbor 44 failed
fable 69 ready
birch 19 active
harbor 999 active
| juniper 11 pending
grove 94 failed
juniper 17 failed
grove 11 ready
birch 60 ready
birch 94 active
fable 69 ready
birch 19 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042321-p1 | Print every line that does not contain the exact string 'harbor'. | $0 !~ /harbor/ | indigo 73 paused
cobalt 52 failed
harbor 105 ready
amber 101 failed
birch 30 failed
fable 43 ready
harbor 999 active
| indigo 73 paused
cobalt 52 failed
amber 101 failed
birch 30 failed
fable 43 ready
| juniper 11 pending
grove 94 failed
juniper 17 failed
grove 11 ready
birch 60 ready
birch 94 active
harbor 13 pending
harbor 44 failed
fable 69 ready
birch 19 active
harbor 999 active
| juniper 11 pending
grove 94 failed
juniper 17 failed
grove 11 ready
birch 60 ready
birch 94 active
fable 69 ready
birch 19 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042321 | qwen/qwen3.7-plus |
awkweave-0042322 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | jules indigo 115
chen fable 8
lina grove 108
farah delta 15
jules fable 18
jules cobalt 79
eli juniper 110
chen birch 48
farah grove 109
chen grove 8
| lina grove 108
farah delta 15
| alice amber 18
alice ember 18
gus harbor 31
lina indigo 115
alice cobalt 15
bruno grove 12
chen fable 114
farah delta 57
lina ember 29
| gus harbor 31
lina indigo 115
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042322-p1 | Output lines 3 through 4, inclusive. | NR >= 3 && NR <= 4 | jules indigo 115
chen fable 8
lina grove 108
farah delta 15
jules fable 18
jules cobalt 79
eli juniper 110
chen birch 48
farah grove 109
chen grove 8
| lina grove 108
farah delta 15
| alice amber 18
alice ember 18
gus harbor 31
lina indigo 115
alice cobalt 15
bruno grove 12
chen fable 114
farah delta 57
lina ember 29
| gus harbor 31
lina indigo 115
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042322 | qwen/qwen3.7-plus |
awkweave-0042323 | Output only the first 5 records. | NR <= 5 | ivan 22 harbor
ivan 46 indigo
hana 65 cobalt
ivan 79 cobalt
kim 48 fable
hana 36 fable
| ivan 22 harbor
ivan 46 indigo
hana 65 cobalt
ivan 79 cobalt
kim 48 fable
| gus 65 amber
ivan 49 grove
eli 78 harbor
hana 27 fable
gus 56 cobalt
eli 13 amber
eli 90 fable
hana 33 juniper
gus 73 birch
jules 20 birch
| gus 65 amber
ivan 49 grove
eli 78 harbor
hana 27 fable
gus 56 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042323-p1 | Display only the first 5 records. | NR <= 5 | ivan 22 harbor
ivan 46 indigo
hana 65 cobalt
ivan 79 cobalt
kim 48 fable
hana 36 fable
| ivan 22 harbor
ivan 46 indigo
hana 65 cobalt
ivan 79 cobalt
kim 48 fable
| gus 65 amber
ivan 49 grove
eli 78 harbor
hana 27 fable
gus 56 cobalt
eli 13 amber
eli 90 fable
hana 33 juniper
gus 73 birch
jules 20 birch
| gus 65 amber
ivan 49 grove
eli 78 harbor
hana 27 fable
gus 56 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042323 | qwen/qwen3.7-plus |
awkweave-0042324 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 104 amber
hana 95 grove
chen 63 birch
eli 55 ember
lina 14 indigo
lina 24 amber
| hana 95 grove
chen 63 birch
eli 55 ember
lina 14 indigo
lina 24 amber
| farah 34 harbor
chen 49 indigo
kim 69 birch
jules 49 juniper
ivan 67 cobalt
chen 36 grove
kim 99 grove
kim 102 grove
bruno 40 harbor
| chen 49 indigo
kim 69 birch
jules 49 juniper
ivan 67 cobalt
chen 36 grove
kim 99 grove
kim 102 grove
bruno 40 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042324-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | hana 104 amber
hana 95 grove
chen 63 birch
eli 55 ember
lina 14 indigo
lina 24 amber
| hana 95 grove
chen 63 birch
eli 55 ember
lina 14 indigo
lina 24 amber
| farah 34 harbor
chen 49 indigo
kim 69 birch
jules 49 juniper
ivan 67 cobalt
chen 36 grove
kim 99 grove
kim 102 grove
bruno 40 harbor
| chen 49 indigo
kim 69 birch
jules 49 juniper
ivan 67 cobalt
chen 36 grove
kim 99 grove
kim 102 grove
bruno 40 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042324 | qwen/qwen3.7-plus |
awkweave-0042325 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | alice pending 38
farah ready 38
alice pending 11
farah ready 102
jules closed 116
lina closed 51
lina pending 103
bruno failed 75
| 1
| kim failed 11
bruno active 74
lina pending 58
lina failed 0
bruno closed 44
hana active 0
hana closed 67
kim active 65
kim active 65
ivan pending 22
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042325-p1 | Count the number of records where column 2 is 'failed', outputting 0 if none exist. | $2 == "failed"{n++}END{print n+0} | alice pending 38
farah ready 38
alice pending 11
farah ready 102
jules closed 116
lina closed 51
lina pending 103
bruno failed 75
| 1
| kim failed 11
bruno active 74
lina pending 58
lina failed 0
bruno closed 44
hana active 0
hana closed 67
kim active 65
kim active 65
ivan pending 22
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042325 | qwen/qwen3.7-plus |
awkweave-0042326 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | harbor 1 jules
grove 18 jules
fable 16 alice
delta 25 jules
grove 27 eli
amber 23 bruno
ember 4 dina
| 114
| harbor 12 farah
fable 23 farah
juniper 11 lina
indigo 4 bruno
amber 13 farah
grove 10 kim
delta 5 chen
cobalt 14 jules
grove 8 bruno
| 100
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042326-p1 | Compute and display the sum of integer values in column 2. | {s+=$2}END{print s+0} | harbor 1 jules
grove 18 jules
fable 16 alice
delta 25 jules
grove 27 eli
amber 23 bruno
ember 4 dina
| 114
| harbor 12 farah
fable 23 farah
juniper 11 lina
indigo 4 bruno
amber 13 farah
grove 10 kim
delta 5 chen
cobalt 14 jules
grove 8 bruno
| 100
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042326 | qwen/qwen3.7-plus |
awkweave-0042327 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 13 juniper bruno
22 ember kim
18 cobalt bruno
27 birch alice
4 delta dina
27 amber jules
14 harbor hana
| 17.86
| 21 harbor hana
3 harbor jules
12 grove ivan
3 ember lina
2 delta lina
10 cobalt alice
18 amber alice
11 indigo eli
11 delta chen
| 10.11
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042327-p1 | Print the average of column 1, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 13 juniper bruno
22 ember kim
18 cobalt bruno
27 birch alice
4 delta dina
27 amber jules
14 harbor hana
| 17.86
| 21 harbor hana
3 harbor jules
12 grove ivan
3 ember lina
2 delta lina
10 cobalt alice
18 amber alice
11 indigo eli
11 delta chen
| 10.11
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042327 | qwen/qwen3.7-plus |
awkweave-0042328 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 3 amber eli
21 cobalt lina
15 cobalt kim
12 juniper dina
30 birch alice
23 birch alice
5 harbor hana
| 3
| 13 grove alice
23 harbor eli
14 juniper jules
1 ember hana
14 grove dina
19 fable bruno
18 fable jules
9 cobalt bruno
1 harbor alice
16 harbor bruno
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042328-p1 | Identify and print the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 3 amber eli
21 cobalt lina
15 cobalt kim
12 juniper dina
30 birch alice
23 birch alice
5 harbor hana
| 3
| 13 grove alice
23 harbor eli
14 juniper jules
1 ember hana
14 grove dina
19 fable bruno
18 fable jules
9 cobalt bruno
1 harbor alice
16 harbor bruno
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042328 | qwen/qwen3.7-plus |
awkweave-0042329 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | indigo 9 ivan
birch 8 kim
amber 25 ivan
ember 27 ivan
cobalt 20 ivan
cobalt 17 eli
grove 23 kim
juniper 20 dina
indigo 3 ivan
birch 24 hana
| 27
| delta 7 jules
harbor 26 farah
indigo 28 gus
indigo 29 ivan
grove 1 jules
ember 13 alice
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042329-p1 | Identify and print the maximum numeric value found in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | indigo 9 ivan
birch 8 kim
amber 25 ivan
ember 27 ivan
cobalt 20 ivan
cobalt 17 eli
grove 23 kim
juniper 20 dina
indigo 3 ivan
birch 24 hana
| 27
| delta 7 jules
harbor 26 farah
indigo 28 gus
indigo 29 ivan
grove 1 jules
ember 13 alice
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042329 | qwen/qwen3.7-plus |
awkweave-0042330 | Count all input records and print the total. | END{print NR} | farah 114
lina 100
kim 23
farah 99
dina 36
ivan 67
gus 14
| 7
| kim 43
hana 0
dina 105
eli 108
kim 52
farah 29
hana 57
alice 65
bruno 5
chen 77
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0042330-p1 | Count the total number of input records and output the result. | END{print NR} | farah 114
lina 100
kim 23
farah 99
dina 36
ivan 67
gus 14
| 7
| kim 43
hana 0
dina 105
eli 108
kim 52
farah 29
hana 57
alice 65
bruno 5
chen 77
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0042330 | qwen/qwen3.7-plus |
awkweave-0042331 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina juniper 59
farah ember 91
gus delta 35
farah cobalt 99
lina birch 26
eli delta 100
kim amber 55
dina birch 27
farah ember 91
| lina juniper 59
farah ember 91
gus delta 35
farah cobalt 99
lina birch 26
eli delta 100
kim amber 55
dina birch 27
| jules juniper 54
kim cobalt 60
ivan cobalt 35
gus juniper 110
gus juniper 86
farah indigo 11
kim birch 91
farah indigo 11
| jules juniper 54
kim cobalt 60
ivan cobalt 35
gus juniper 110
gus juniper 86
farah indigo 11
kim birch 91
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.