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-0001050 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 32
gamma harbor 23
delta amber 38
delta cobalt 23
gamma indigo 109
alpha indigo 10
gamma cobalt 69
gamma amber 29
| 3
| delta cobalt 32
delta juniper 16
alpha birch 18
alpha birch 75
alpha delta 27
delta grove 31
gamma birch 55
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001050-p1 | Calculate the number of unique values in the first column and display only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 32
gamma harbor 23
delta amber 38
delta cobalt 23
gamma indigo 109
alpha indigo 10
gamma cobalt 69
gamma amber 29
| 3
| delta cobalt 32
delta juniper 16
alpha birch 18
alpha birch 75
alpha delta 27
delta grove 31
gamma birch 55
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001050 | qwen/qwen3.7-plus |
awkweave-0001051 | 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} | jules 16 0
hana 14 9
jules 10 8
farah 7 19
ivan 5 20
gus 30 11
ivan 2 21
bruno 27 23
farah 1 1
| hana 1.56
jules 1.25
farah 0.37
ivan 0.25
gus 2.73
ivan 0.10
bruno 1.17
farah 1.00
| chen 11 0
bruno 28 19
eli 4 22
eli 27 5
kim 30 21
hana 23 19
chen 24 23
jules 9 14
gus 24 17
| bruno 1.47
eli 0.18
eli 5.40
kim 1.43
hana 1.21
chen 1.04
jules 0.64
gus 1.41
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001051-p1 | For each row where the third column is non-zero, output the first column and the result of dividing the second column by the third column, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 16 0
hana 14 9
jules 10 8
farah 7 19
ivan 5 20
gus 30 11
ivan 2 21
bruno 27 23
farah 1 1
| hana 1.56
jules 1.25
farah 0.37
ivan 0.25
gus 2.73
ivan 0.10
bruno 1.17
farah 1.00
| chen 11 0
bruno 28 19
eli 4 22
eli 27 5
kim 30 21
hana 23 19
chen 24 23
jules 9 14
gus 24 17
| bruno 1.47
eli 0.18
eli 5.40
kim 1.43
hana 1.21
chen 1.04
jules 0.64
gus 1.41
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001051 | qwen/qwen3.7-plus |
awkweave-0001052 | 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]} | gus harbor 4
lina cobalt 2
bruno harbor 2
dina cobalt 7
gus juniper 19
gus ember 19
gus amber 12
dina grove 27
| dina grove 27
gus juniper 19
gus ember 19
| eli juniper 12
ivan delta 18
dina fable 24
bruno juniper 26
ivan cobalt 17
gus harbor 23
kim amber 20
eli juniper 25
alice delta 7
| bruno juniper 26
eli juniper 25
dina fable 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001052-p1 | Display the full records corresponding to the three highest numeric values in the third column, 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]} | gus harbor 4
lina cobalt 2
bruno harbor 2
dina cobalt 7
gus juniper 19
gus ember 19
gus amber 12
dina grove 27
| dina grove 27
gus juniper 19
gus ember 19
| eli juniper 12
ivan delta 18
dina fable 24
bruno juniper 26
ivan cobalt 17
gus harbor 23
kim amber 20
eli juniper 25
alice delta 7
| bruno juniper 26
eli juniper 25
dina fable 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001052 | qwen/qwen3.7-plus |
awkweave-0001053 | Select the 3rd and 1st fields in that order. | {print $3, $1} | pending active paused bruno
pending pending closed alice
ready pending ready eli
ready closed paused chen
failed ready active lina
active ready active eli
paused pending active dina
failed paused active lina
closed pending pending jules
| paused pending
closed pending
ready ready
paused ready
active failed
active active
active paused
active failed
pending closed
| paused active active dina
active paused ready kim
pending paused closed dina
closed ready ready dina
active paused pending eli
failed closed active alice
pending closed failed chen
active pending paused jules
failed ready failed bruno
failed failed pending hana
| active paused
ready active
closed pending
ready closed
pending active
active failed
failed pending
paused active
failed failed
pending failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001053-p1 | Extract and print the third field followed by the first field. | {print $3, $1} | pending active paused bruno
pending pending closed alice
ready pending ready eli
ready closed paused chen
failed ready active lina
active ready active eli
paused pending active dina
failed paused active lina
closed pending pending jules
| paused pending
closed pending
ready ready
paused ready
active failed
active active
active paused
active failed
pending closed
| paused active active dina
active paused ready kim
pending paused closed dina
closed ready ready dina
active paused pending eli
failed closed active alice
pending closed failed chen
active pending paused jules
failed ready failed bruno
failed failed pending hana
| active paused
ready active
closed pending
ready closed
pending active
active failed
failed pending
paused active
failed failed
pending failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001053 | qwen/qwen3.7-plus |
awkweave-0001054 | Print the last field of every input line. | {print $NF} | failed jules delta fable gus
closed kim grove fable ivan
ready lina delta ember jules
pending chen delta indigo dina
closed dina amber juniper lina
paused dina cobalt birch gus
paused dina grove juniper lina
paused gus indigo juniper bruno
| gus
ivan
jules
dina
lina
gus
lina
bruno
| pending dina cobalt indigo alice
ready eli amber grove dina
failed gus grove cobalt lina
closed farah indigo fable kim
pending bruno amber harbor ivan
ready hana delta indigo kim
active gus ember birch eli
active lina ember amber farah
ready jules fable birch eli
active ivan delta fable kim
| alice
dina
lina
kim
ivan
kim
eli
farah
eli
kim
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001054-p1 | Output the final field from every line in the input. | {print $NF} | failed jules delta fable gus
closed kim grove fable ivan
ready lina delta ember jules
pending chen delta indigo dina
closed dina amber juniper lina
paused dina cobalt birch gus
paused dina grove juniper lina
paused gus indigo juniper bruno
| gus
ivan
jules
dina
lina
gus
lina
bruno
| pending dina cobalt indigo alice
ready eli amber grove dina
failed gus grove cobalt lina
closed farah indigo fable kim
pending bruno amber harbor ivan
ready hana delta indigo kim
active gus ember birch eli
active lina ember amber farah
ready jules fable birch eli
active ivan delta fable kim
| alice
dina
lina
kim
ivan
kim
eli
farah
eli
kim
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001054 | qwen/qwen3.7-plus |
awkweave-0001055 | Print the complete records where column 3 is at most 77. | $3 <= 77 | active harbor 76 ember kim
paused harbor 80 ember gus
closed grove 65 grove bruno
pending amber 95 grove hana
failed ember 101 delta jules
paused indigo 20 juniper gus
| active harbor 76 ember kim
closed grove 65 grove bruno
paused indigo 20 juniper gus
| paused indigo 51 indigo eli
failed grove 78 birch alice
closed indigo 85 delta alice
closed amber 49 juniper lina
closed birch 74 ember gus
active harbor 102 delta hana
closed birch 111 delta kim
paused juniper 65 ember eli
| paused indigo 51 indigo eli
closed amber 49 juniper lina
closed birch 74 ember gus
paused juniper 65 ember eli
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001055-p1 | Print the entire record for any row where the value in the third column is less than or equal to 77. | $3 <= 77 | active harbor 76 ember kim
paused harbor 80 ember gus
closed grove 65 grove bruno
pending amber 95 grove hana
failed ember 101 delta jules
paused indigo 20 juniper gus
| active harbor 76 ember kim
closed grove 65 grove bruno
paused indigo 20 juniper gus
| paused indigo 51 indigo eli
failed grove 78 birch alice
closed indigo 85 delta alice
closed amber 49 juniper lina
closed birch 74 ember gus
active harbor 102 delta hana
closed birch 111 delta kim
paused juniper 65 ember eli
| paused indigo 51 indigo eli
closed amber 49 juniper lina
closed birch 74 ember gus
paused juniper 65 ember eli
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001055 | qwen/qwen3.7-plus |
awkweave-0001056 | Show whole lines whose 1st field is between 6 and 20, inclusive. | $1 >= 6 && $1 <= 20 | 7 failed gus failed
5 ready farah closed
4 active dina closed
4 closed kim pending
28 ready eli paused
17 paused kim ready
6 pending bruno failed
13 ready alice active
| 7 failed gus failed
17 paused kim ready
6 pending bruno failed
13 ready alice active
| 2 paused gus active
13 pending lina pending
5 closed ivan closed
27 pending dina ready
2 active farah closed
16 ready gus active
14 failed lina active
| 13 pending lina pending
16 ready gus active
14 failed lina active
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001056-p1 | Display complete lines where the first field falls within the inclusive range of 6 to 20. | $1 >= 6 && $1 <= 20 | 7 failed gus failed
5 ready farah closed
4 active dina closed
4 closed kim pending
28 ready eli paused
17 paused kim ready
6 pending bruno failed
13 ready alice active
| 7 failed gus failed
17 paused kim ready
6 pending bruno failed
13 ready alice active
| 2 paused gus active
13 pending lina pending
5 closed ivan closed
27 pending dina ready
2 active farah closed
16 ready gus active
14 failed lina active
| 13 pending lina pending
16 ready gus active
14 failed lina active
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001056 | qwen/qwen3.7-plus |
awkweave-0001057 | Print column 2 only for rows where column 3 is exactly ready. | $3 == "ready"{print $2} | juniper ivan paused 56
ember bruno ready 90
amber chen closed 15
delta eli active 19
fable gus failed 22
birch dina failed 53
cobalt eli failed 19
| bruno
| birch hana pending 19
amber jules pending 100
grove dina pending 120
indigo chen closed 16
indigo jules closed 2
amber eli failed 78
indigo hana paused 118
ember farah active 53
delta ivan failed 68
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0001057-p1 | Output only the second column for rows where the third column contains the exact string 'ready'. | $3 == "ready"{print $2} | juniper ivan paused 56
ember bruno ready 90
amber chen closed 15
delta eli active 19
fable gus failed 22
birch dina failed 53
cobalt eli failed 19
| bruno
| birch hana pending 19
amber jules pending 100
grove dina pending 120
indigo chen closed 16
indigo jules closed 2
amber eli failed 78
indigo hana paused 118
ember farah active 53
delta ivan failed 68
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001057 | qwen/qwen3.7-plus | |
awkweave-0001058 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | 16 DEBUG delta
59 ERROR ember
62 WARN indigo
81 ERROR birch
85 WARN ember
111 DEBUG birch
84 INFO fable
| 84 INFO fable
| 52 INFO grove
17 WARN harbor
20 WARN cobalt
7 WARN ember
107 INFO indigo
107 INFO ember
44 INFO juniper
| 52 INFO grove
107 INFO indigo
107 INFO ember
44 INFO juniper
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001058-p1 | Print all fields from any line where the second field starts with the prefix 'INFO'. | $2 ~ /^INFO/ | 16 DEBUG delta
59 ERROR ember
62 WARN indigo
81 ERROR birch
85 WARN ember
111 DEBUG birch
84 INFO fable
| 84 INFO fable
| 52 INFO grove
17 WARN harbor
20 WARN cobalt
7 WARN ember
107 INFO indigo
107 INFO ember
44 INFO juniper
| 52 INFO grove
107 INFO indigo
107 INFO ember
44 INFO juniper
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001058 | qwen/qwen3.7-plus |
awkweave-0001059 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | juniper 95 paused
amber 83 paused
birch 28 pending
indigo 7 closed
indigo 78 closed
juniper 28 pending
ember 13 failed
juniper 1 paused
birch 999 active
| juniper 95 paused
amber 83 paused
indigo 7 closed
indigo 78 closed
juniper 28 pending
ember 13 failed
juniper 1 paused
| delta 112 closed
ember 96 ready
harbor 68 failed
juniper 70 ready
cobalt 29 failed
harbor 92 failed
harbor 60 active
cobalt 115 paused
grove 51 closed
cobalt 90 failed
birch 999 active
| delta 112 closed
ember 96 ready
harbor 68 failed
juniper 70 ready
cobalt 29 failed
harbor 92 failed
harbor 60 active
cobalt 115 paused
grove 51 closed
cobalt 90 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001059-p1 | Output every line that does not contain the exact string 'birch'. | $0 !~ /birch/ | juniper 95 paused
amber 83 paused
birch 28 pending
indigo 7 closed
indigo 78 closed
juniper 28 pending
ember 13 failed
juniper 1 paused
birch 999 active
| juniper 95 paused
amber 83 paused
indigo 7 closed
indigo 78 closed
juniper 28 pending
ember 13 failed
juniper 1 paused
| delta 112 closed
ember 96 ready
harbor 68 failed
juniper 70 ready
cobalt 29 failed
harbor 92 failed
harbor 60 active
cobalt 115 paused
grove 51 closed
cobalt 90 failed
birch 999 active
| delta 112 closed
ember 96 ready
harbor 68 failed
juniper 70 ready
cobalt 29 failed
harbor 92 failed
harbor 60 active
cobalt 115 paused
grove 51 closed
cobalt 90 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001059 | qwen/qwen3.7-plus |
awkweave-0001060 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | hana juniper 18
eli juniper 77
eli indigo 120
kim juniper 50
kim juniper 25
bruno birch 3
chen ember 107
eli indigo 68
kim cobalt 99
| kim juniper 50
kim juniper 25
bruno birch 3
chen ember 107
| alice harbor 120
lina grove 47
alice fable 13
eli fable 116
ivan grove 51
eli cobalt 1
ivan birch 104
ivan juniper 70
| eli fable 116
ivan grove 51
eli cobalt 1
ivan birch 104
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001060-p1 | Display lines 4 to 7, inclusive. | NR >= 4 && NR <= 7 | hana juniper 18
eli juniper 77
eli indigo 120
kim juniper 50
kim juniper 25
bruno birch 3
chen ember 107
eli indigo 68
kim cobalt 99
| kim juniper 50
kim juniper 25
bruno birch 3
chen ember 107
| alice harbor 120
lina grove 47
alice fable 13
eli fable 116
ivan grove 51
eli cobalt 1
ivan birch 104
ivan juniper 70
| eli fable 116
ivan grove 51
eli cobalt 1
ivan birch 104
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001060 | qwen/qwen3.7-plus |
awkweave-0001061 | Output only the first 2 records. | NR <= 2 | chen 21 delta
gus 77 delta
gus 111 harbor
kim 87 harbor
jules 31 harbor
alice 47 ember
lina 99 indigo
| chen 21 delta
gus 77 delta
| ivan 84 indigo
ivan 88 indigo
bruno 38 cobalt
jules 4 fable
farah 1 birch
jules 43 fable
hana 67 harbor
jules 3 fable
lina 119 delta
jules 67 fable
| ivan 84 indigo
ivan 88 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001061-p1 | Output just the initial 2 records. | NR <= 2 | chen 21 delta
gus 77 delta
gus 111 harbor
kim 87 harbor
jules 31 harbor
alice 47 ember
lina 99 indigo
| chen 21 delta
gus 77 delta
| ivan 84 indigo
ivan 88 indigo
bruno 38 cobalt
jules 4 fable
farah 1 birch
jules 43 fable
hana 67 harbor
jules 3 fable
lina 119 delta
jules 67 fable
| ivan 84 indigo
ivan 88 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001061 | qwen/qwen3.7-plus |
awkweave-0001062 | Skip the first line and print every remaining line unchanged. | NR > 1 | dina 112 birch
alice 4 amber
ivan 84 delta
eli 57 fable
alice 92 birch
ivan 2 amber
bruno 2 juniper
kim 100 juniper
| alice 4 amber
ivan 84 delta
eli 57 fable
alice 92 birch
ivan 2 amber
bruno 2 juniper
kim 100 juniper
| bruno 19 indigo
kim 66 fable
eli 2 juniper
lina 7 grove
alice 84 harbor
chen 77 indigo
jules 53 indigo
ivan 82 birch
hana 52 indigo
| kim 66 fable
eli 2 juniper
lina 7 grove
alice 84 harbor
chen 77 indigo
jules 53 indigo
ivan 82 birch
hana 52 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001062-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | dina 112 birch
alice 4 amber
ivan 84 delta
eli 57 fable
alice 92 birch
ivan 2 amber
bruno 2 juniper
kim 100 juniper
| alice 4 amber
ivan 84 delta
eli 57 fable
alice 92 birch
ivan 2 amber
bruno 2 juniper
kim 100 juniper
| bruno 19 indigo
kim 66 fable
eli 2 juniper
lina 7 grove
alice 84 harbor
chen 77 indigo
jules 53 indigo
ivan 82 birch
hana 52 indigo
| kim 66 fable
eli 2 juniper
lina 7 grove
alice 84 harbor
chen 77 indigo
jules 53 indigo
ivan 82 birch
hana 52 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001062 | qwen/qwen3.7-plus |
awkweave-0001063 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | jules closed 110
lina paused 5
alice paused 12
hana pending 50
bruno paused 39
hana ready 14
ivan ready 48
bruno pending 54
bruno paused 22
kim failed 9
| 1
| kim failed 57
jules ready 86
ivan active 114
bruno ready 82
ivan failed 4
chen ready 1
dina ready 96
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001063-p1 | Count records where column 2 is 'closed'; output 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | jules closed 110
lina paused 5
alice paused 12
hana pending 50
bruno paused 39
hana ready 14
ivan ready 48
bruno pending 54
bruno paused 22
kim failed 9
| 1
| kim failed 57
jules ready 86
ivan active 114
bruno ready 82
ivan failed 4
chen ready 1
dina ready 96
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001063 | qwen/qwen3.7-plus |
awkweave-0001064 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 29 eli fable
22 gus harbor
9 bruno fable
9 farah amber
20 farah grove
6 kim delta
1 farah ember
21 chen juniper
26 eli ember
| 143
| 27 ivan grove
24 kim harbor
26 jules delta
10 kim delta
16 jules birch
19 jules delta
22 eli harbor
| 144
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001064-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 29 eli fable
22 gus harbor
9 bruno fable
9 farah amber
20 farah grove
6 kim delta
1 farah ember
21 chen juniper
26 eli ember
| 143
| 27 ivan grove
24 kim harbor
26 jules delta
10 kim delta
16 jules birch
19 jules delta
22 eli harbor
| 144
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001064 | qwen/qwen3.7-plus |
awkweave-0001065 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | kim fable 4
bruno indigo 8
lina grove 9
eli cobalt 6
hana birch 23
dina delta 12
hana grove 19
lina harbor 21
| 12.75
| hana ember 4
chen ember 11
dina fable 9
lina fable 16
bruno amber 5
hana indigo 8
alice grove 8
jules cobalt 19
| 10.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001065-p1 | Print the average of column 3, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | kim fable 4
bruno indigo 8
lina grove 9
eli cobalt 6
hana birch 23
dina delta 12
hana grove 19
lina harbor 21
| 12.75
| hana ember 4
chen ember 11
dina fable 9
lina fable 16
bruno amber 5
hana indigo 8
alice grove 8
jules cobalt 19
| 10.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001065 | qwen/qwen3.7-plus |
awkweave-0001066 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 ember kim
14 indigo gus
9 cobalt ivan
23 grove lina
1 harbor gus
9 cobalt bruno
8 cobalt kim
20 grove gus
| 1
| 27 fable farah
12 cobalt eli
28 fable gus
17 birch gus
6 cobalt chen
3 cobalt chen
14 birch dina
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001066-p1 | Identify and output the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 ember kim
14 indigo gus
9 cobalt ivan
23 grove lina
1 harbor gus
9 cobalt bruno
8 cobalt kim
20 grove gus
| 1
| 27 fable farah
12 cobalt eli
28 fable gus
17 birch gus
6 cobalt chen
3 cobalt chen
14 birch dina
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001066 | qwen/qwen3.7-plus |
awkweave-0001067 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta eli 20
fable eli 28
fable eli 22
harbor kim 22
grove chen 2
delta alice 28
amber lina 27
| 28
| birch dina 10
grove ivan 29
juniper alice 2
harbor kim 24
grove bruno 13
indigo kim 19
delta kim 21
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001067-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta eli 20
fable eli 28
fable eli 22
harbor kim 22
grove chen 2
delta alice 28
amber lina 27
| 28
| birch dina 10
grove ivan 29
juniper alice 2
harbor kim 24
grove bruno 13
indigo kim 19
delta kim 21
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001067 | qwen/qwen3.7-plus |
awkweave-0001068 | Count all input records and print the total. | END{print NR} | dina 14
alice 104
gus 66
hana 57
eli 46
kim 27
| 6
| kim 63
lina 21
ivan 113
gus 21
lina 44
kim 12
kim 24
gus 16
alice 61
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001068-p1 | Count the total number of input records and print the result. | END{print NR} | dina 14
alice 104
gus 66
hana 57
eli 46
kim 27
| 6
| kim 63
lina 21
ivan 113
gus 21
lina 44
kim 12
kim 24
gus 16
alice 61
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001068 | qwen/qwen3.7-plus |
awkweave-0001069 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana harbor 58
jules cobalt 2
chen birch 6
hana harbor 58
dina birch 116
bruno cobalt 20
eli indigo 97
eli fable 41
chen harbor 76
chen indigo 34
kim grove 96
| hana harbor 58
jules cobalt 2
chen birch 6
dina birch 116
bruno cobalt 20
eli indigo 97
eli fable 41
chen harbor 76
chen indigo 34
kim grove 96
| chen cobalt 107
hana amber 2
eli juniper 92
jules indigo 102
ivan ember 104
eli juniper 92
hana fable 44
lina amber 88
eli fable 95
gus birch 77
| chen cobalt 107
hana amber 2
eli juniper 92
jules indigo 102
ivan ember 104
hana fable 44
lina amber 88
eli fable 95
gus birch 77
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001069-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | hana harbor 58
jules cobalt 2
chen birch 6
hana harbor 58
dina birch 116
bruno cobalt 20
eli indigo 97
eli fable 41
chen harbor 76
chen indigo 34
kim grove 96
| hana harbor 58
jules cobalt 2
chen birch 6
dina birch 116
bruno cobalt 20
eli indigo 97
eli fable 41
chen harbor 76
chen indigo 34
kim grove 96
| chen cobalt 107
hana amber 2
eli juniper 92
jules indigo 102
ivan ember 104
eli juniper 92
hana fable 44
lina amber 88
eli fable 95
gus birch 77
| chen cobalt 107
hana amber 2
eli juniper 92
jules indigo 102
ivan ember 104
hana fable 44
lina amber 88
eli fable 95
gus birch 77
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001069 | qwen/qwen3.7-plus |
awkweave-0001070 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | dina fable 98
chen grove 20
gus birch 114
gus amber 104
alice juniper 46
gus grove 26
eli cobalt 120
chen ember 83
chen delta 22
| dina fable 98
chen grove 20
gus birch 114
gus amber 104
alice juniper 46
eli cobalt 120
chen ember 83
chen delta 22
| hana ember 16
eli indigo 18
chen cobalt 61
eli juniper 34
ivan ember 56
gus amber 98
farah cobalt 106
jules fable 28
lina cobalt 57
kim juniper 11
| hana ember 16
eli indigo 18
chen cobalt 61
eli juniper 34
gus amber 98
jules fable 28
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001070-p1 | Retain only the first occurrence for each unique value in column 2, preserving input order. | !seen[$2]++ | dina fable 98
chen grove 20
gus birch 114
gus amber 104
alice juniper 46
gus grove 26
eli cobalt 120
chen ember 83
chen delta 22
| dina fable 98
chen grove 20
gus birch 114
gus amber 104
alice juniper 46
eli cobalt 120
chen ember 83
chen delta 22
| hana ember 16
eli indigo 18
chen cobalt 61
eli juniper 34
ivan ember 56
gus amber 98
farah cobalt 106
jules fable 28
lina cobalt 57
kim juniper 11
| hana ember 16
eli indigo 18
chen cobalt 61
eli juniper 34
gus amber 98
jules fable 28
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001070 | qwen/qwen3.7-plus |
awkweave-0001071 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 29 amber
gus 10 grove
kim 9 grove
jules 18 birch
gus 22 fable
gus 18 harbor
| farah 29
gus 39
kim 48
jules 66
gus 88
gus 106
| dina 25 delta
jules 18 grove
gus 2 delta
kim 3 fable
farah 13 harbor
jules 4 delta
kim 23 cobalt
alice 12 delta
chen 1 juniper
| dina 25
jules 43
gus 45
kim 48
farah 61
jules 65
kim 88
alice 100
chen 101
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001071-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 29 amber
gus 10 grove
kim 9 grove
jules 18 birch
gus 22 fable
gus 18 harbor
| farah 29
gus 39
kim 48
jules 66
gus 88
gus 106
| dina 25 delta
jules 18 grove
gus 2 delta
kim 3 fable
farah 13 harbor
jules 4 delta
kim 23 cobalt
alice 12 delta
chen 1 juniper
| dina 25
jules 43
gus 45
kim 48
farah 61
jules 65
kim 88
alice 100
chen 101
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001071 | qwen/qwen3.7-plus |
awkweave-0001072 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 2 13 juniper
kim 7 5 grove
eli 2 10 birch
hana 7 15 ember
farah 18 12 delta
ivan 5 12 birch
gus 1 19 cobalt
ivan 28 7 juniper
| kim 15
kim 12
eli 12
hana 22
farah 30
ivan 17
gus 20
ivan 35
| eli 17 24 ember
lina 9 6 fable
gus 22 22 harbor
hana 22 2 cobalt
jules 19 13 ember
eli 25 26 grove
ivan 26 22 indigo
| eli 41
lina 15
gus 44
hana 24
jules 32
eli 51
ivan 48
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001072-p1 | For each line, output the first field followed by the total of the second and third fields. | {print $1,$2+$3} | kim 2 13 juniper
kim 7 5 grove
eli 2 10 birch
hana 7 15 ember
farah 18 12 delta
ivan 5 12 birch
gus 1 19 cobalt
ivan 28 7 juniper
| kim 15
kim 12
eli 12
hana 22
farah 30
ivan 17
gus 20
ivan 35
| eli 17 24 ember
lina 9 6 fable
gus 22 22 harbor
hana 22 2 cobalt
jules 19 13 ember
eli 25 26 grove
ivan 26 22 indigo
| eli 41
lina 15
gus 44
hana 24
jules 32
eli 51
ivan 48
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001072 | qwen/qwen3.7-plus |
awkweave-0001073 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | farah 1
eli 20
chen 12
bruno 2
kim 15
ivan 3
eli 8
| farah fail
eli fail
chen fail
bruno fail
kim fail
ivan fail
eli fail
| alice 20
lina 25
ivan 5
gus 19
alice 4
kim 18
alice 26
| alice fail
lina fail
ivan fail
gus fail
alice fail
kim fail
alice pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001073-p1 | Output the first column; if the second column is 26 or higher, print 'pass', otherwise print 'fail'. | {print $1,($2>=26?"pass":"fail")} | farah 1
eli 20
chen 12
bruno 2
kim 15
ivan 3
eli 8
| farah fail
eli fail
chen fail
bruno fail
kim fail
ivan fail
eli fail
| alice 20
lina 25
ivan 5
gus 19
alice 4
kim 18
alice 26
| alice fail
lina fail
ivan fail
gus fail
alice fail
kim fail
alice pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001073 | qwen/qwen3.7-plus |
awkweave-0001074 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen ember 45
farah juniper 79
chen grove 85
eli harbor 96
jules amber 74
alice ember 101
lina grove 91
| EMBER
JUNIPER
GROVE
HARBOR
AMBER
EMBER
GROVE
| kim harbor 15
hana delta 36
eli harbor 38
chen birch 96
eli amber 111
farah indigo 37
kim amber 115
eli indigo 72
dina birch 83
chen cobalt 2
| HARBOR
DELTA
HARBOR
BIRCH
AMBER
INDIGO
AMBER
INDIGO
BIRCH
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001074-p1 | Transform the second column to uppercase and display only that column. | {print toupper($2)} | chen ember 45
farah juniper 79
chen grove 85
eli harbor 96
jules amber 74
alice ember 101
lina grove 91
| EMBER
JUNIPER
GROVE
HARBOR
AMBER
EMBER
GROVE
| kim harbor 15
hana delta 36
eli harbor 38
chen birch 96
eli amber 111
farah indigo 37
kim amber 115
eli indigo 72
dina birch 83
chen cobalt 2
| HARBOR
DELTA
HARBOR
BIRCH
AMBER
INDIGO
AMBER
INDIGO
BIRCH
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001074 | qwen/qwen3.7-plus |
awkweave-0001075 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | cobalt 115
grove 99
cobalt 76
juniper 88
birch 106
cobalt 64
grove 60
indigo 107
delta 42
amber 107
| ob
ro
ob
un
ir
ob
ro
nd
el
mb
| birch 11
harbor 33
grove 81
amber 100
indigo 98
indigo 87
fable 41
| ir
ar
ro
mb
nd
nd
ab
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001075-p1 | Extract and print a substring of length 2 from the first column, starting at the second character. | {print substr($1,2,2)} | cobalt 115
grove 99
cobalt 76
juniper 88
birch 106
cobalt 64
grove 60
indigo 107
delta 42
amber 107
| ob
ro
ob
un
ir
ob
ro
nd
el
mb
| birch 11
harbor 33
grove 81
amber 100
indigo 98
indigo 87
fable 41
| ir
ar
ro
mb
nd
nd
ab
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001075 | qwen/qwen3.7-plus |
awkweave-0001076 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_indigo 65
indigo_cobalt 84
delta_ember 33
harbor_ember 11
birch_grove 106
harbor_juniper 23
cobalt_birch 108
delta_grove 27
delta_cobalt 57
| harbor indigo
indigo cobalt
delta ember
harbor ember
birch grove
harbor juniper
cobalt birch
delta grove
delta cobalt
| ember_harbor 57
indigo_birch 85
ember_harbor 13
delta_birch 57
ember_birch 54
harbor_fable 109
indigo_indigo 88
cobalt_grove 38
harbor_juniper 78
cobalt_fable 11
| ember harbor
indigo birch
ember harbor
delta birch
ember birch
harbor fable
indigo indigo
cobalt grove
harbor juniper
cobalt fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001076-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | harbor_indigo 65
indigo_cobalt 84
delta_ember 33
harbor_ember 11
birch_grove 106
harbor_juniper 23
cobalt_birch 108
delta_grove 27
delta_cobalt 57
| harbor indigo
indigo cobalt
delta ember
harbor ember
birch grove
harbor juniper
cobalt birch
delta grove
delta cobalt
| ember_harbor 57
indigo_birch 85
ember_harbor 13
delta_birch 57
ember_birch 54
harbor_fable 109
indigo_indigo 88
cobalt_grove 38
harbor_juniper 78
cobalt_fable 11
| ember harbor
indigo birch
ember harbor
delta birch
ember birch
harbor fable
indigo indigo
cobalt grove
harbor juniper
cobalt fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001076 | qwen/qwen3.7-plus |
awkweave-0001077 | 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)} | eli cobalt 49 ready
dina harbor 1 paused
bruno harbor 102 failed
eli harbor 100 pending
hana cobalt 22 paused
farah ember 69 failed
| ready 49 cobalt eli
paused 1 harbor dina
failed 102 harbor bruno
pending 100 harbor eli
paused 22 cobalt hana
failed 69 ember farah
| jules harbor 5 failed
lina ember 115 paused
kim ember 92 closed
hana grove 93 ready
kim juniper 99 closed
kim cobalt 71 pending
| failed 5 harbor jules
paused 115 ember lina
closed 92 ember kim
ready 93 grove hana
closed 99 juniper kim
pending 71 cobalt kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001077-p1 | Reverse the sequence of fields for every line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli cobalt 49 ready
dina harbor 1 paused
bruno harbor 102 failed
eli harbor 100 pending
hana cobalt 22 paused
farah ember 69 failed
| ready 49 cobalt eli
paused 1 harbor dina
failed 102 harbor bruno
pending 100 harbor eli
paused 22 cobalt hana
failed 69 ember farah
| jules harbor 5 failed
lina ember 115 paused
kim ember 92 closed
hana grove 93 ready
kim juniper 99 closed
kim cobalt 71 pending
| failed 5 harbor jules
paused 115 ember lina
closed 92 ember kim
ready 93 grove hana
closed 99 juniper kim
pending 71 cobalt kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001077 | qwen/qwen3.7-plus |
awkweave-0001078 | Print the number of whitespace-separated fields on each line. | {print NF} | farah fable 22 closed
jules juniper 16 ready
kim cobalt 113 closed
bruno cobalt 41 active
ivan amber 49 failed
kim ember 91 active
| 4
4
4
4
4
4
| alice delta 33 closed
hana amber 20 closed
farah indigo 113 ready
gus fable 84 failed
jules amber 61 ready
dina amber 23 paused
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001078-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | farah fable 22 closed
jules juniper 16 ready
kim cobalt 113 closed
bruno cobalt 41 active
ivan amber 49 failed
kim ember 91 active
| 4
4
4
4
4
4
| alice delta 33 closed
hana amber 20 closed
farah indigo 113 ready
gus fable 84 failed
jules amber 61 ready
dina amber 23 paused
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001078 | qwen/qwen3.7-plus |
awkweave-0001079 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno alpha 37
chen beta 86
kim alpha 116
bruno gamma 88
kim delta 95
eli delta 71
dina gamma 114
| alpha 2
beta 1
gamma 2
delta 2
| farah delta 50
chen delta 2
gus beta 95
chen alpha 75
dina beta 41
jules alpha 12
bruno delta 42
lina alpha 3
farah delta 43
| delta 4
beta 2
alpha 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001079-p1 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno alpha 37
chen beta 86
kim alpha 116
bruno gamma 88
kim delta 95
eli delta 71
dina gamma 114
| alpha 2
beta 1
gamma 2
delta 2
| farah delta 50
chen delta 2
gus beta 95
chen alpha 75
dina beta 41
jules alpha 12
bruno delta 42
lina alpha 3
farah delta 43
| delta 4
beta 2
alpha 3
| count_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001079 | qwen/qwen3.7-plus |
awkweave-0001080 | 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]]} | gus gamma 13
hana gamma 28
hana beta 4
jules alpha 29
dina alpha 7
jules gamma 2
gus alpha 18
kim beta 2
| gamma 43
beta 6
alpha 54
| kim gamma 24
farah gamma 8
dina alpha 27
jules alpha 21
bruno gamma 14
gus delta 1
chen delta 12
chen beta 1
| gamma 46
alpha 48
delta 13
beta 1
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001080-p1 | Calculate the sum of the third column for each group defined by the second column, 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]]} | gus gamma 13
hana gamma 28
hana beta 4
jules alpha 29
dina alpha 7
jules gamma 2
gus alpha 18
kim beta 2
| gamma 43
beta 6
alpha 54
| kim gamma 24
farah gamma 8
dina alpha 27
jules alpha 21
bruno gamma 14
gus delta 1
chen delta 12
chen beta 1
| gamma 46
alpha 48
delta 13
beta 1
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001080 | qwen/qwen3.7-plus |
awkweave-0001081 | 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]]} | alpha birch 88
gamma delta 90
alpha birch 26
delta harbor 3
alpha grove 92
alpha indigo 100
gamma harbor 68
gamma cobalt 111
| alpha 4
gamma 3
| beta amber 44
alpha grove 11
gamma indigo 72
beta grove 46
delta cobalt 28
alpha cobalt 103
delta juniper 30
beta harbor 108
beta cobalt 113
alpha delta 80
| beta 4
alpha 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001081-p1 | List each duplicate value from the first column 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]]} | alpha birch 88
gamma delta 90
alpha birch 26
delta harbor 3
alpha grove 92
alpha indigo 100
gamma harbor 68
gamma cobalt 111
| alpha 4
gamma 3
| beta amber 44
alpha grove 11
gamma indigo 72
beta grove 46
delta cobalt 28
alpha cobalt 103
delta juniper 30
beta harbor 108
beta cobalt 113
alpha delta 80
| beta 4
alpha 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001081 | qwen/qwen3.7-plus |
awkweave-0001082 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | display_name region record_id score
r001 hana 28 failed
r002 eli 1 closed
r003 hana 1 failed
r004 hana 9 pending
r005 hana 9 ready
r006 lina 8 closed
r007 lina 11 closed
| 28
1
1
9
9
8
11
| display_name region record_id score
r001 gus 28 ready
r002 jules 16 active
r003 jules 7 active
r004 alice 8 pending
r005 gus 21 paused
r006 eli 23 failed
r007 lina 1 failed
| 28
16
7
8
21
23
1
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001082-p1 | Treating the first row as a header, output the 'record_id' column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | display_name region record_id score
r001 hana 28 failed
r002 eli 1 closed
r003 hana 1 failed
r004 hana 9 pending
r005 hana 9 ready
r006 lina 8 closed
r007 lina 11 closed
| 28
1
1
9
9
8
11
| display_name region record_id score
r001 gus 28 ready
r002 jules 16 active
r003 jules 7 active
r004 alice 8 pending
r005 gus 21 paused
r006 eli 23 failed
r007 lina 1 failed
| 28
16
7
8
21
23
1
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001082 | qwen/qwen3.7-plus |
awkweave-0001083 | The first row is a header. Print display_name for data rows whose score is greater than 20. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]} | record_id display_name score state
r001 gus 10 ready
r002 hana 12 failed
r003 chen 6 pending
r004 chen 22 failed
r005 ivan 2 paused
r006 lina 25 closed
r007 hana 19 closed
| chen
lina
| record_id display_name score state
r001 chen 9 active
r002 bruno 3 failed
r003 farah 22 closed
r004 bruno 13 paused
r005 gus 9 paused
r006 lina 17 failed
r007 farah 4 failed
r008 hana 21 paused
r009 eli 8 ready
r010 hana 17 paused
| farah
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001083-p1 | With the first row as a header, output the 'display_name' for data rows where the 'score' exceeds 20. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]} | record_id display_name score state
r001 gus 10 ready
r002 hana 12 failed
r003 chen 6 pending
r004 chen 22 failed
r005 ivan 2 paused
r006 lina 25 closed
r007 hana 19 closed
| chen
lina
| record_id display_name score state
r001 chen 9 active
r002 bruno 3 failed
r003 farah 22 closed
r004 bruno 13 paused
r005 gus 9 paused
r006 lina 17 failed
r007 farah 4 failed
r008 hana 21 paused
r009 eli 8 ready
r010 hana 17 paused
| farah
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001083 | qwen/qwen3.7-plus |
awkweave-0001084 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | alice 2 closed
farah 9 pending
farah 9 pending
lina 24 pending
ivan 3 closed
farah 26 pending
alice 13 paused
alice 24 ready
| 2
9
9
24
3
26
13
24
| dina 25 ready
bruno 5 active
ivan 8 ready
kim 5 active
dina 1 pending
lina 29 failed
| 25
5
8
5
1
29
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001084-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | alice 2 closed
farah 9 pending
farah 9 pending
lina 24 pending
ivan 3 closed
farah 26 pending
alice 13 paused
alice 24 ready
| 2
9
9
24
3
26
13
24
| dina 25 ready
bruno 5 active
ivan 8 ready
kim 5 active
dina 1 pending
lina 29 failed
| 25
5
8
5
1
29
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001084 | qwen/qwen3.7-plus |
awkweave-0001085 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | farah,2,paused
ivan,21,active
gus,16,pending
farah,15,failed
eli,17,active
gus,17,pending
gus,19,paused
dina,3,paused
| ivan
gus
| lina,4,active
bruno,17,ready
jules,16,closed
lina,24,paused
eli,28,failed
dina,8,paused
| lina
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001085-p1 | For simple CSV input without quoted commas, output the first field only if the second field is greater than 17. | BEGIN{FS=OFS=","}$2>17{print $1} | farah,2,paused
ivan,21,active
gus,16,pending
farah,15,failed
eli,17,active
gus,17,pending
gus,19,paused
dina,3,paused
| ivan
gus
| lina,4,active
bruno,17,ready
jules,16,closed
lina,24,paused
eli,28,failed
dina,8,paused
| lina
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001085 | qwen/qwen3.7-plus |
awkweave-0001086 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | hana grove 111
lina delta 76
eli delta 68
bruno fable 64
hana grove 64
kim cobalt 73
kim delta 49
hana indigo 43
farah birch 87
chen delta 101
| hana grove 111
lina delta 76
eli delta 68
bruno fable 64
hana grove 64
kim cobalt 73
kim delta 49
hana indigo 43
farah birch 87
chen delta 101
| hana amber 9
gus amber 77
dina grove 62
ivan grove 60
farah delta 57
gus cobalt 13
kim fable 17
| hana amber 9
gus amber 77
dina grove 62
ivan grove 60
farah delta 57
gus cobalt 13
kim fable 17
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001086-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | hana grove 111
lina delta 76
eli delta 68
bruno fable 64
hana grove 64
kim cobalt 73
kim delta 49
hana indigo 43
farah birch 87
chen delta 101
| hana grove 111
lina delta 76
eli delta 68
bruno fable 64
hana grove 64
kim cobalt 73
kim delta 49
hana indigo 43
farah birch 87
chen delta 101
| hana amber 9
gus amber 77
dina grove 62
ivan grove 60
farah delta 57
gus cobalt 13
kim fable 17
| hana amber 9
gus amber 77
dina grove 62
ivan grove 60
farah delta 57
gus cobalt 13
kim fable 17
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001086 | qwen/qwen3.7-plus |
awkweave-0001087 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah juniper 29 failed
jules fable 96 paused
chen cobalt 99 paused
eli cobalt 68 closed
bruno harbor 90 ready
hana delta 47 paused
alice ember 45 active
hana harbor 112 active
jules delta 81 active
| farah juniper 29 failed
| bruno fable 52 ready
bruno delta 86 paused
gus fable 28 closed
alice delta 53 paused
gus delta 78 pending
jules delta 89 paused
| bruno delta 86 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001087-p1 | Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | farah juniper 29 failed
jules fable 96 paused
chen cobalt 99 paused
eli cobalt 68 closed
bruno harbor 90 ready
hana delta 47 paused
alice ember 45 active
hana harbor 112 active
jules delta 81 active
| farah juniper 29 failed
| bruno fable 52 ready
bruno delta 86 paused
gus fable 28 closed
alice delta 53 paused
gus delta 78 pending
jules delta 89 paused
| bruno delta 86 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001087 | qwen/qwen3.7-plus |
awkweave-0001088 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | lina 110
chen 111
jules 24
lina 56
kim 11
jules 63
jules 98
hana 39
farah 56
bruno 59
| jules 24
jules 63
farah 56
| kim 34
kim 81
chen 40
hana 34
farah 37
hana 38
farah 90
| chen 40
hana 38
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001088-p1 | Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, ...). | NR%3==0 | lina 110
chen 111
jules 24
lina 56
kim 11
jules 63
jules 98
hana 39
farah 56
bruno 59
| jules 24
jules 63
farah 56
| kim 34
kim 81
chen 40
hana 34
farah 37
hana 38
farah 90
| chen 40
hana 38
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001088 | qwen/qwen3.7-plus |
awkweave-0001089 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta cobalt 2
gamma delta 23
beta grove 61
delta ember 108
gamma amber 60
delta cobalt 41
beta ember 76
| 5
| alpha birch 107
gamma cobalt 109
alpha juniper 116
beta harbor 38
delta juniper 64
alpha harbor 56
gamma indigo 66
alpha birch 96
gamma delta 57
beta cobalt 3
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001089-p1 | Determine the number of unique values present in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | delta cobalt 2
gamma delta 23
beta grove 61
delta ember 108
gamma amber 60
delta cobalt 41
beta ember 76
| 5
| alpha birch 107
gamma cobalt 109
alpha juniper 116
beta harbor 38
delta juniper 64
alpha harbor 56
gamma indigo 66
alpha birch 96
gamma delta 57
beta cobalt 3
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001089 | qwen/qwen3.7-plus |
awkweave-0001100 | Output only the first 4 records. | NR <= 4 | farah 10 birch
gus 92 harbor
eli 89 delta
alice 85 amber
dina 86 indigo
dina 66 birch
| farah 10 birch
gus 92 harbor
eli 89 delta
alice 85 amber
| dina 49 harbor
alice 82 cobalt
farah 27 fable
chen 60 delta
bruno 114 fable
lina 47 amber
farah 81 grove
farah 110 grove
alice 29 ember
| dina 49 harbor
alice 82 cobalt
farah 27 fable
chen 60 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001100-p1 | Restrict the output to the initial 4 records of the input. | NR <= 4 | farah 10 birch
gus 92 harbor
eli 89 delta
alice 85 amber
dina 86 indigo
dina 66 birch
| farah 10 birch
gus 92 harbor
eli 89 delta
alice 85 amber
| dina 49 harbor
alice 82 cobalt
farah 27 fable
chen 60 delta
bruno 114 fable
lina 47 amber
farah 81 grove
farah 110 grove
alice 29 ember
| dina 49 harbor
alice 82 cobalt
farah 27 fable
chen 60 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001100 | qwen/qwen3.7-plus |
awkweave-0001101 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 66 fable
eli 28 delta
gus 109 harbor
jules 8 indigo
eli 20 grove
hana 110 ember
alice 30 juniper
chen 12 amber
lina 112 harbor
jules 71 ember
| eli 28 delta
gus 109 harbor
jules 8 indigo
eli 20 grove
hana 110 ember
alice 30 juniper
chen 12 amber
lina 112 harbor
jules 71 ember
| bruno 117 amber
bruno 10 indigo
dina 86 amber
hana 110 ember
dina 24 ember
hana 16 amber
farah 12 indigo
dina 50 fable
| bruno 10 indigo
dina 86 amber
hana 110 ember
dina 24 ember
hana 16 amber
farah 12 indigo
dina 50 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001101-p1 | Omit the header line and print all subsequent lines exactly as they appear. | NR > 1 | alice 66 fable
eli 28 delta
gus 109 harbor
jules 8 indigo
eli 20 grove
hana 110 ember
alice 30 juniper
chen 12 amber
lina 112 harbor
jules 71 ember
| eli 28 delta
gus 109 harbor
jules 8 indigo
eli 20 grove
hana 110 ember
alice 30 juniper
chen 12 amber
lina 112 harbor
jules 71 ember
| bruno 117 amber
bruno 10 indigo
dina 86 amber
hana 110 ember
dina 24 ember
hana 16 amber
farah 12 indigo
dina 50 fable
| bruno 10 indigo
dina 86 amber
hana 110 ember
dina 24 ember
hana 16 amber
farah 12 indigo
dina 50 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001101 | qwen/qwen3.7-plus |
awkweave-0001102 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen pending 74
eli ready 37
chen closed 85
kim active 82
kim closed 4
kim ready 101
| 0
| bruno paused 19
ivan pending 86
alice paused 24
chen failed 1
farah failed 108
gus paused 118
eli paused 110
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001102-p1 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen pending 74
eli ready 37
chen closed 85
kim active 82
kim closed 4
kim ready 101
| 0
| bruno paused 19
ivan pending 86
alice paused 24
chen failed 1
farah failed 108
gus paused 118
eli paused 110
| 2
| count_matches | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001102 | qwen/qwen3.7-plus |
awkweave-0001103 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 9 amber bruno
3 fable farah
21 grove lina
28 birch ivan
10 grove ivan
16 amber jules
4 ember hana
| 91
| 3 indigo bruno
1 delta kim
16 ember chen
12 grove kim
1 ember bruno
6 grove chen
23 harbor jules
23 harbor eli
5 harbor gus
| 90
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001103-p1 | Compute and display the total sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 9 amber bruno
3 fable farah
21 grove lina
28 birch ivan
10 grove ivan
16 amber jules
4 ember hana
| 91
| 3 indigo bruno
1 delta kim
16 ember chen
12 grove kim
1 ember bruno
6 grove chen
23 harbor jules
23 harbor eli
5 harbor gus
| 90
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001103 | qwen/qwen3.7-plus |
awkweave-0001104 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 23 farah birch
2 kim ember
29 farah cobalt
2 kim grove
12 gus delta
11 bruno juniper
16 ivan juniper
21 farah delta
| 14.50
| 26 hana harbor
16 alice amber
24 chen grove
14 eli birch
20 eli fable
8 kim birch
7 kim amber
13 kim harbor
| 16.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001104-p1 | Calculate the average of the values in the first column and print the result rounded to precisely two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 23 farah birch
2 kim ember
29 farah cobalt
2 kim grove
12 gus delta
11 bruno juniper
16 ivan juniper
21 farah delta
| 14.50
| 26 hana harbor
16 alice amber
24 chen grove
14 eli birch
20 eli fable
8 kim birch
7 kim amber
13 kim harbor
| 16.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001104 | qwen/qwen3.7-plus |
awkweave-0001105 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 22 harbor
hana 18 grove
chen 1 grove
farah 9 harbor
alice 22 cobalt
eli 9 fable
hana 2 harbor
| 1
| ivan 5 amber
farah 21 birch
gus 16 birch
hana 10 birch
kim 9 grove
alice 9 indigo
alice 13 cobalt
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001105-p1 | Locate and print the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 22 harbor
hana 18 grove
chen 1 grove
farah 9 harbor
alice 22 cobalt
eli 9 fable
hana 2 harbor
| 1
| ivan 5 amber
farah 21 birch
gus 16 birch
hana 10 birch
kim 9 grove
alice 9 indigo
alice 13 cobalt
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001105 | qwen/qwen3.7-plus |
awkweave-0001106 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | bruno 5 fable
eli 18 juniper
bruno 3 cobalt
bruno 8 delta
chen 21 fable
hana 21 ember
| 21
| chen 17 juniper
dina 9 delta
jules 30 ember
chen 10 birch
dina 18 grove
gus 2 amber
jules 25 grove
farah 4 grove
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001106-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | bruno 5 fable
eli 18 juniper
bruno 3 cobalt
bruno 8 delta
chen 21 fable
hana 21 ember
| 21
| chen 17 juniper
dina 9 delta
jules 30 ember
chen 10 birch
dina 18 grove
gus 2 amber
jules 25 grove
farah 4 grove
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001106 | qwen/qwen3.7-plus |
awkweave-0001107 | Count all input records and print the total. | END{print NR} | farah 40
ivan 79
bruno 97
dina 97
ivan 7
alice 92
hana 27
kim 43
| 8
| eli 57
hana 39
gus 89
jules 82
chen 50
farah 29
bruno 11
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001107-p1 | Calculate the total number of input records and display the count. | END{print NR} | farah 40
ivan 79
bruno 97
dina 97
ivan 7
alice 92
hana 27
kim 43
| 8
| eli 57
hana 39
gus 89
jules 82
chen 50
farah 29
bruno 11
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001107 | qwen/qwen3.7-plus |
awkweave-0001108 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina fable 112
chen harbor 55
ivan amber 24
farah harbor 91
farah fable 4
eli birch 34
eli grove 35
bruno amber 18
farah fable 4
alice grove 68
hana ember 82
| dina fable 112
chen harbor 55
ivan amber 24
farah harbor 91
farah fable 4
eli birch 34
eli grove 35
bruno amber 18
alice grove 68
hana ember 82
| hana indigo 0
jules ember 118
gus amber 29
ivan birch 100
gus amber 29
eli birch 23
dina juniper 101
| hana indigo 0
jules ember 118
gus amber 29
ivan birch 100
eli birch 23
dina juniper 101
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001108-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | dina fable 112
chen harbor 55
ivan amber 24
farah harbor 91
farah fable 4
eli birch 34
eli grove 35
bruno amber 18
farah fable 4
alice grove 68
hana ember 82
| dina fable 112
chen harbor 55
ivan amber 24
farah harbor 91
farah fable 4
eli birch 34
eli grove 35
bruno amber 18
alice grove 68
hana ember 82
| hana indigo 0
jules ember 118
gus amber 29
ivan birch 100
gus amber 29
eli birch 23
dina juniper 101
| hana indigo 0
jules ember 118
gus amber 29
ivan birch 100
eli birch 23
dina juniper 101
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001108 | qwen/qwen3.7-plus |
awkweave-0001109 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | chen ember 56
farah juniper 56
lina birch 108
hana amber 96
eli cobalt 57
alice fable 8
| chen ember 56
farah juniper 56
lina birch 108
hana amber 96
eli cobalt 57
alice fable 8
| bruno ember 24
eli fable 120
farah ember 57
jules harbor 19
eli fable 44
lina delta 46
hana indigo 47
| bruno ember 24
eli fable 120
jules harbor 19
lina delta 46
hana indigo 47
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001109-p1 | Retain only the initial line for every unique value in the second column, keeping the input order intact. | !seen[$2]++ | chen ember 56
farah juniper 56
lina birch 108
hana amber 96
eli cobalt 57
alice fable 8
| chen ember 56
farah juniper 56
lina birch 108
hana amber 96
eli cobalt 57
alice fable 8
| bruno ember 24
eli fable 120
farah ember 57
jules harbor 19
eli fable 44
lina delta 46
hana indigo 47
| bruno ember 24
eli fable 120
jules harbor 19
lina delta 46
hana indigo 47
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001109 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.