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-0017270-p1 | For simple comma-separated input without quoted commas, output the first column if the second column's value is greater than 24. | BEGIN{FS=OFS=","}$2>24{print $1} | farah,6,pending
alice,29,pending
kim,5,paused
ivan,7,active
alice,26,active
eli,1,pending
ivan,16,failed
eli,5,pending
kim,3,ready
chen,4,closed
| alice
alice
| eli,30,active
gus,17,closed
jules,14,paused
alice,17,failed
lina,6,closed
lina,22,ready
| eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017270 | qwen/qwen3.7-plus |
awkweave-0017271 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | farah ember 1
hana ember 118
bruno indigo 4
chen indigo 115
gus juniper 117
gus delta 87
gus birch 120
| farah ember 1
hana ember 118
bruno indigo 4
chen indigo 115
gus juniper 117
gus delta 87
gus birch 120
| alice ember 37
gus indigo 43
hana amber 72
bruno harbor 69
jules delta 71
hana cobalt 2
eli fable 92
| alice ember 37
gus indigo 43
hana amber 72
bruno harbor 69
jules delta 71
hana cobalt 2
eli fable 92
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017271-p1 | Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space. | {$1=$1;print} | farah ember 1
hana ember 118
bruno indigo 4
chen indigo 115
gus juniper 117
gus delta 87
gus birch 120
| farah ember 1
hana ember 118
bruno indigo 4
chen indigo 115
gus juniper 117
gus delta 87
gus birch 120
| alice ember 37
gus indigo 43
hana amber 72
bruno harbor 69
jules delta 71
hana cobalt 2
eli fable 92
| alice ember 37
gus indigo 43
hana amber 72
bruno harbor 69
jules delta 71
hana cobalt 2
eli fable 92
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017271 | qwen/qwen3.7-plus |
awkweave-0017272 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | jules grove 67 ready
kim delta 92 ready
kim delta 64 paused
gus grove 49 ready
gus birch 86 failed
bruno indigo 18 failed
gus amber 31 pending
bruno ember 103 ready
| bruno indigo 18 failed
| farah juniper 33 closed
kim amber 51 closed
jules juniper 42 failed
kim birch 7 paused
ivan birch 107 closed
farah birch 54 paused
chen fable 1 pending
jules ember 86 paused
ivan birch 105 pending
| farah juniper 33 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017272-p1 | Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length. | {if(length($0)>length(best))best=$0}END{print best} | jules grove 67 ready
kim delta 92 ready
kim delta 64 paused
gus grove 49 ready
gus birch 86 failed
bruno indigo 18 failed
gus amber 31 pending
bruno ember 103 ready
| bruno indigo 18 failed
| farah juniper 33 closed
kim amber 51 closed
jules juniper 42 failed
kim birch 7 paused
ivan birch 107 closed
farah birch 54 paused
chen fable 1 pending
jules ember 86 paused
ivan birch 105 pending
| farah juniper 33 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017272 | qwen/qwen3.7-plus |
awkweave-0017273 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | jules 11
kim 1
dina 57
bruno 94
farah 34
farah 57
bruno 40
| jules 11
bruno 94
bruno 40
| jules 24
kim 33
hana 38
farah 26
ivan 68
alice 119
lina 64
gus 38
| jules 24
farah 26
lina 64
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017273-p1 | Display lines 1, 4, 7, and so on, effectively printing every third line starting from the first. | NR%3==1 | jules 11
kim 1
dina 57
bruno 94
farah 34
farah 57
bruno 40
| jules 11
bruno 94
bruno 40
| jules 24
kim 33
hana 38
farah 26
ivan 68
alice 119
lina 64
gus 38
| jules 24
farah 26
lina 64
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017273 | qwen/qwen3.7-plus |
awkweave-0017274 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha fable 120
beta harbor 97
delta harbor 15
gamma birch 86
beta juniper 72
delta ember 51
gamma ember 93
alpha grove 58
alpha grove 101
| 6
| delta cobalt 15
alpha grove 92
alpha ember 18
delta harbor 96
alpha fable 25
delta cobalt 6
| 5
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017274-p1 | Calculate and output only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | alpha fable 120
beta harbor 97
delta harbor 15
gamma birch 86
beta juniper 72
delta ember 51
gamma ember 93
alpha grove 58
alpha grove 101
| 6
| delta cobalt 15
alpha grove 92
alpha ember 18
delta harbor 96
alpha fable 25
delta cobalt 6
| 5
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017274 | qwen/qwen3.7-plus |
awkweave-0017275 | 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 25 0
alice 27 5
gus 19 13
lina 28 6
hana 11 5
hana 1 23
lina 16 17
| alice 5.40
gus 1.46
lina 4.67
hana 2.20
hana 0.04
lina 0.94
| gus 2 0
eli 2 5
jules 26 13
dina 8 21
chen 24 19
jules 4 20
jules 13 26
dina 19 7
| eli 0.40
jules 2.00
dina 0.38
chen 1.26
jules 0.20
jules 0.50
dina 2.71
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017275-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} | dina 25 0
alice 27 5
gus 19 13
lina 28 6
hana 11 5
hana 1 23
lina 16 17
| alice 5.40
gus 1.46
lina 4.67
hana 2.20
hana 0.04
lina 0.94
| gus 2 0
eli 2 5
jules 26 13
dina 8 21
chen 24 19
jules 4 20
jules 13 26
dina 19 7
| eli 0.40
jules 2.00
dina 0.38
chen 1.26
jules 0.20
jules 0.50
dina 2.71
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017275 | qwen/qwen3.7-plus |
awkweave-0017276 | 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]} | lina indigo 7
jules indigo 7
lina indigo 18
lina delta 5
dina grove 25
gus delta 26
jules delta 24
chen cobalt 11
| gus delta 26
dina grove 25
jules delta 24
| kim fable 22
dina birch 25
gus indigo 13
eli ember 14
chen amber 17
chen ember 28
| chen ember 28
dina birch 25
kim fable 22
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017276-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]} | lina indigo 7
jules indigo 7
lina indigo 18
lina delta 5
dina grove 25
gus delta 26
jules delta 24
chen cobalt 11
| gus delta 26
dina grove 25
jules delta 24
| kim fable 22
dina birch 25
gus indigo 13
eli ember 14
chen amber 17
chen ember 28
| chen ember 28
dina birch 25
kim fable 22
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017276 | qwen/qwen3.7-plus |
awkweave-0017277 | Print column 4 followed by column 2 for every record. | {print $4, $2} | harbor ivan ember hana
cobalt gus grove gus
birch alice birch bruno
delta alice delta dina
birch kim grove lina
amber chen delta bruno
ember gus indigo hana
| hana ivan
gus gus
bruno alice
dina alice
lina kim
bruno chen
hana gus
| fable ivan harbor bruno
amber ivan juniper chen
ember eli delta bruno
cobalt ivan juniper kim
indigo hana indigo dina
fable alice birch ivan
| bruno ivan
chen ivan
bruno eli
kim ivan
dina hana
ivan alice
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017277-p1 | For every record, output the value from column 4 followed by the value from column 2. | {print $4, $2} | harbor ivan ember hana
cobalt gus grove gus
birch alice birch bruno
delta alice delta dina
birch kim grove lina
amber chen delta bruno
ember gus indigo hana
| hana ivan
gus gus
bruno alice
dina alice
lina kim
bruno chen
hana gus
| fable ivan harbor bruno
amber ivan juniper chen
ember eli delta bruno
cobalt ivan juniper kim
indigo hana indigo dina
fable alice birch ivan
| bruno ivan
chen ivan
bruno eli
kim ivan
dina hana
ivan alice
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017277 | qwen/qwen3.7-plus |
awkweave-0017278 | Print the last field of every input line. | {print $NF} | lina amber ember dina
hana ember ember alice
kim grove ember dina
bruno amber juniper bruno
bruno ember amber kim
hana cobalt juniper gus
| dina
alice
dina
bruno
kim
gus
| alice birch harbor gus
dina fable birch hana
lina delta birch eli
eli indigo grove gus
gus grove delta kim
dina cobalt ember jules
bruno fable amber dina
kim amber grove hana
dina grove cobalt hana
| gus
hana
eli
gus
kim
jules
dina
hana
hana
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017278-p1 | Print the final field of each input line. | {print $NF} | lina amber ember dina
hana ember ember alice
kim grove ember dina
bruno amber juniper bruno
bruno ember amber kim
hana cobalt juniper gus
| dina
alice
dina
bruno
kim
gus
| alice birch harbor gus
dina fable birch hana
lina delta birch eli
eli indigo grove gus
gus grove delta kim
dina cobalt ember jules
bruno fable amber dina
kim amber grove hana
dina grove cobalt hana
| gus
hana
eli
gus
kim
jules
dina
hana
hana
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017278 | qwen/qwen3.7-plus |
awkweave-0017279 | Print the complete records where column 2 is less than 69. | $2 < 69 | failed 66 paused
pending 53 closed
paused 42 closed
paused 62 active
active 53 active
closed 78 closed
closed 75 failed
closed 110 failed
active 14 pending
paused 30 active
| failed 66 paused
pending 53 closed
paused 42 closed
paused 62 active
active 53 active
active 14 pending
paused 30 active
| pending 101 ready
closed 2 active
pending 103 closed
closed 16 paused
active 38 ready
ready 101 active
| closed 2 active
closed 16 paused
active 38 ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017279-p1 | Output the full records for which the value in column 2 is strictly less than 69. | $2 < 69 | failed 66 paused
pending 53 closed
paused 42 closed
paused 62 active
active 53 active
closed 78 closed
closed 75 failed
closed 110 failed
active 14 pending
paused 30 active
| failed 66 paused
pending 53 closed
paused 42 closed
paused 62 active
active 53 active
active 14 pending
paused 30 active
| pending 101 ready
closed 2 active
pending 103 closed
closed 16 paused
active 38 ready
ready 101 active
| closed 2 active
closed 16 paused
active 38 ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017279 | qwen/qwen3.7-plus |
awkweave-0017280 | Show whole lines whose 1st field is between 4 and 18, inclusive. | $1 >= 4 && $1 <= 18 | 7 dina lina gus
8 kim farah dina
8 eli hana farah
15 ivan ivan eli
1 alice jules gus
7 kim kim bruno
10 jules jules alice
| 7 dina lina gus
8 kim farah dina
8 eli hana farah
15 ivan ivan eli
7 kim kim bruno
10 jules jules alice
| 30 lina farah eli
17 bruno lina bruno
21 ivan chen eli
5 chen kim ivan
15 jules jules lina
22 chen alice chen
16 jules eli hana
| 17 bruno lina bruno
5 chen kim ivan
15 jules jules lina
16 jules eli hana
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017280-p1 | Display entire lines where the first field falls within the inclusive range of 4 to 18. | $1 >= 4 && $1 <= 18 | 7 dina lina gus
8 kim farah dina
8 eli hana farah
15 ivan ivan eli
1 alice jules gus
7 kim kim bruno
10 jules jules alice
| 7 dina lina gus
8 kim farah dina
8 eli hana farah
15 ivan ivan eli
7 kim kim bruno
10 jules jules alice
| 30 lina farah eli
17 bruno lina bruno
21 ivan chen eli
5 chen kim ivan
15 jules jules lina
22 chen alice chen
16 jules eli hana
| 17 bruno lina bruno
5 chen kim ivan
15 jules jules lina
16 jules eli hana
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017280 | qwen/qwen3.7-plus |
awkweave-0017281 | Print column 4 only for rows where column 3 is exactly failed. | $3 == "failed"{print $4} | 61 juniper ready bruno
27 indigo failed chen
20 ember closed kim
53 cobalt paused dina
24 amber closed gus
102 indigo ready gus
| chen
| 16 indigo failed bruno
41 cobalt active lina
44 harbor failed jules
63 birch failed hana
85 fable closed hana
74 indigo pending hana
| bruno
jules
hana
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017281-p1 | Output only the fourth column for rows where the third column contains the exact string 'failed'. | $3 == "failed"{print $4} | 61 juniper ready bruno
27 indigo failed chen
20 ember closed kim
53 cobalt paused dina
24 amber closed gus
102 indigo ready gus
| chen
| 16 indigo failed bruno
41 cobalt active lina
44 harbor failed jules
63 birch failed hana
85 fable closed hana
74 indigo pending hana
| bruno
jules
hana
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017281 | qwen/qwen3.7-plus |
awkweave-0017282 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR amber 38
INFO harbor 79
WARN indigo 42
WARN juniper 75
DEBUG ember 9
INFO delta 110
| WARN indigo 42
WARN juniper 75
| DEBUG delta 2
INFO birch 39
ERROR amber 54
WARN ember 59
INFO birch 114
ERROR indigo 69
DEBUG indigo 32
DEBUG delta 61
DEBUG harbor 91
WARN ember 17
| WARN ember 59
WARN ember 17
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017282-p1 | Print all fields from any line where the first field starts with the prefix 'WARN'. | $1 ~ /^WARN/ | ERROR amber 38
INFO harbor 79
WARN indigo 42
WARN juniper 75
DEBUG ember 9
INFO delta 110
| WARN indigo 42
WARN juniper 75
| DEBUG delta 2
INFO birch 39
ERROR amber 54
WARN ember 59
INFO birch 114
ERROR indigo 69
DEBUG indigo 32
DEBUG delta 61
DEBUG harbor 91
WARN ember 17
| WARN ember 59
WARN ember 17
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017282 | qwen/qwen3.7-plus |
awkweave-0017283 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | grove 83 ready
ember 115 failed
juniper 113 closed
amber 3 closed
indigo 91 closed
cobalt 56 closed
ember 17 pending
harbor 68 failed
fable 69 active
juniper 77 active
cobalt 999 active
| grove 83 ready
ember 115 failed
juniper 113 closed
amber 3 closed
indigo 91 closed
ember 17 pending
harbor 68 failed
fable 69 active
juniper 77 active
| grove 22 failed
ember 0 pending
grove 81 ready
fable 83 ready
grove 74 failed
amber 53 ready
cobalt 47 failed
grove 116 ready
juniper 65 ready
cobalt 999 active
| grove 22 failed
ember 0 pending
grove 81 ready
fable 83 ready
grove 74 failed
amber 53 ready
grove 116 ready
juniper 65 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017283-p1 | Output every line that does not contain the exact substring 'cobalt'. | $0 !~ /cobalt/ | grove 83 ready
ember 115 failed
juniper 113 closed
amber 3 closed
indigo 91 closed
cobalt 56 closed
ember 17 pending
harbor 68 failed
fable 69 active
juniper 77 active
cobalt 999 active
| grove 83 ready
ember 115 failed
juniper 113 closed
amber 3 closed
indigo 91 closed
ember 17 pending
harbor 68 failed
fable 69 active
juniper 77 active
| grove 22 failed
ember 0 pending
grove 81 ready
fable 83 ready
grove 74 failed
amber 53 ready
cobalt 47 failed
grove 116 ready
juniper 65 ready
cobalt 999 active
| grove 22 failed
ember 0 pending
grove 81 ready
fable 83 ready
grove 74 failed
amber 53 ready
grove 116 ready
juniper 65 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017283 | qwen/qwen3.7-plus |
awkweave-0017284 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | farah grove 28
jules cobalt 80
lina harbor 3
lina harbor 48
alice cobalt 0
ivan grove 49
| jules cobalt 80
lina harbor 3
| ivan amber 99
gus ember 93
chen amber 114
farah delta 5
chen birch 112
dina fable 110
| gus ember 93
chen amber 114
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017284-p1 | Display lines 2 to 3, inclusive. | NR >= 2 && NR <= 3 | farah grove 28
jules cobalt 80
lina harbor 3
lina harbor 48
alice cobalt 0
ivan grove 49
| jules cobalt 80
lina harbor 3
| ivan amber 99
gus ember 93
chen amber 114
farah delta 5
chen birch 112
dina fable 110
| gus ember 93
chen amber 114
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017284 | qwen/qwen3.7-plus |
awkweave-0017285 | Output only the first 4 records. | NR <= 4 | ivan 83 cobalt
kim 73 indigo
alice 95 birch
ivan 7 delta
hana 70 delta
chen 36 ember
eli 6 grove
jules 96 juniper
bruno 34 grove
| ivan 83 cobalt
kim 73 indigo
alice 95 birch
ivan 7 delta
| eli 47 cobalt
bruno 64 juniper
hana 41 harbor
eli 111 indigo
farah 50 ember
alice 111 indigo
dina 84 indigo
bruno 68 indigo
| eli 47 cobalt
bruno 64 juniper
hana 41 harbor
eli 111 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017285-p1 | Output just the initial 4 records. | NR <= 4 | ivan 83 cobalt
kim 73 indigo
alice 95 birch
ivan 7 delta
hana 70 delta
chen 36 ember
eli 6 grove
jules 96 juniper
bruno 34 grove
| ivan 83 cobalt
kim 73 indigo
alice 95 birch
ivan 7 delta
| eli 47 cobalt
bruno 64 juniper
hana 41 harbor
eli 111 indigo
farah 50 ember
alice 111 indigo
dina 84 indigo
bruno 68 indigo
| eli 47 cobalt
bruno 64 juniper
hana 41 harbor
eli 111 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017285 | qwen/qwen3.7-plus |
awkweave-0017286 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 87 harbor
lina 85 indigo
dina 36 fable
chen 83 indigo
ivan 8 cobalt
hana 114 fable
| lina 85 indigo
dina 36 fable
chen 83 indigo
ivan 8 cobalt
hana 114 fable
| farah 74 delta
eli 58 grove
kim 90 grove
ivan 36 delta
ivan 69 birch
ivan 66 birch
| eli 58 grove
kim 90 grove
ivan 36 delta
ivan 69 birch
ivan 66 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017286-p1 | Omit the first line and output all subsequent lines as they are. | NR > 1 | lina 87 harbor
lina 85 indigo
dina 36 fable
chen 83 indigo
ivan 8 cobalt
hana 114 fable
| lina 85 indigo
dina 36 fable
chen 83 indigo
ivan 8 cobalt
hana 114 fable
| farah 74 delta
eli 58 grove
kim 90 grove
ivan 36 delta
ivan 69 birch
ivan 66 birch
| eli 58 grove
kim 90 grove
ivan 36 delta
ivan 69 birch
ivan 66 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017286 | qwen/qwen3.7-plus |
awkweave-0017287 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | ivan failed 101
alice ready 79
ivan closed 98
ivan active 96
lina closed 105
gus ready 46
| 0
| eli pending 105
bruno pending 100
farah ready 94
gus pending 4
hana ready 3
ivan failed 81
jules ready 47
alice failed 114
bruno paused 12
bruno paused 7
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017287-p1 | Tally the records where column 2 is 'pending', printing 0 if none exist. | $2 == "pending"{n++}END{print n+0} | ivan failed 101
alice ready 79
ivan closed 98
ivan active 96
lina closed 105
gus ready 46
| 0
| eli pending 105
bruno pending 100
farah ready 94
gus pending 4
hana ready 3
ivan failed 81
jules ready 47
alice failed 114
bruno paused 12
bruno paused 7
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017287 | qwen/qwen3.7-plus |
awkweave-0017288 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 13 birch chen
18 cobalt kim
12 ember gus
3 cobalt ivan
5 ember farah
11 juniper chen
14 birch chen
30 cobalt hana
2 amber bruno
12 cobalt dina
| 120
| 8 fable dina
14 harbor bruno
23 delta gus
1 harbor chen
17 indigo gus
6 grove alice
22 grove hana
12 delta eli
12 juniper gus
| 115
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017288-p1 | Compute and display the total of integer values in column 1. | {s+=$1}END{print s+0} | 13 birch chen
18 cobalt kim
12 ember gus
3 cobalt ivan
5 ember farah
11 juniper chen
14 birch chen
30 cobalt hana
2 amber bruno
12 cobalt dina
| 120
| 8 fable dina
14 harbor bruno
23 delta gus
1 harbor chen
17 indigo gus
6 grove alice
22 grove hana
12 delta eli
12 juniper gus
| 115
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017288 | qwen/qwen3.7-plus |
awkweave-0017289 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 25 birch alice
11 grove alice
26 ember gus
1 delta gus
18 amber eli
29 harbor dina
17 cobalt chen
17 grove kim
19 birch ivan
| 18.11
| 8 cobalt chen
19 birch hana
20 indigo gus
13 fable gus
2 fable hana
19 grove jules
22 amber alice
16 grove farah
7 ember hana
19 delta jules
| 14.50
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017289-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 25 birch alice
11 grove alice
26 ember gus
1 delta gus
18 amber eli
29 harbor dina
17 cobalt chen
17 grove kim
19 birch ivan
| 18.11
| 8 cobalt chen
19 birch hana
20 indigo gus
13 fable gus
2 fable hana
19 grove jules
22 amber alice
16 grove farah
7 ember hana
19 delta jules
| 14.50
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017289 | qwen/qwen3.7-plus |
awkweave-0017300 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | cobalt_grove 68
cobalt_indigo 29
birch_ember 34
harbor_juniper 114
birch_indigo 111
amber_birch 100
| cobalt grove
cobalt indigo
birch ember
harbor juniper
birch indigo
amber birch
| ember_harbor 103
juniper_harbor 31
indigo_indigo 77
indigo_ember 28
juniper_amber 0
juniper_ember 60
| ember harbor
juniper harbor
indigo indigo
indigo ember
juniper amber
juniper ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017300-p1 | Substitute all underscores in column 1 with spaces and output the results. | {gsub(/_/," ",$1);print $1} | cobalt_grove 68
cobalt_indigo 29
birch_ember 34
harbor_juniper 114
birch_indigo 111
amber_birch 100
| cobalt grove
cobalt indigo
birch ember
harbor juniper
birch indigo
amber birch
| ember_harbor 103
juniper_harbor 31
indigo_indigo 77
indigo_ember 28
juniper_amber 0
juniper_ember 60
| ember harbor
juniper harbor
indigo indigo
indigo ember
juniper amber
juniper ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017300 | qwen/qwen3.7-plus |
awkweave-0017301 | 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)} | chen amber 53 closed
farah ember 75 closed
chen cobalt 23 ready
kim juniper 14 failed
chen amber 25 ready
jules grove 56 pending
ivan grove 7 failed
alice juniper 39 active
| closed 53 amber chen
closed 75 ember farah
ready 23 cobalt chen
failed 14 juniper kim
ready 25 amber chen
pending 56 grove jules
failed 7 grove ivan
active 39 juniper alice
| alice delta 94 closed
gus juniper 80 ready
gus delta 72 pending
jules ember 37 failed
farah fable 111 closed
gus amber 98 active
| closed 94 delta alice
ready 80 juniper gus
pending 72 delta gus
failed 37 ember jules
closed 111 fable farah
active 98 amber gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017301-p1 | Reverse the field order for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen amber 53 closed
farah ember 75 closed
chen cobalt 23 ready
kim juniper 14 failed
chen amber 25 ready
jules grove 56 pending
ivan grove 7 failed
alice juniper 39 active
| closed 53 amber chen
closed 75 ember farah
ready 23 cobalt chen
failed 14 juniper kim
ready 25 amber chen
pending 56 grove jules
failed 7 grove ivan
active 39 juniper alice
| alice delta 94 closed
gus juniper 80 ready
gus delta 72 pending
jules ember 37 failed
farah fable 111 closed
gus amber 98 active
| closed 94 delta alice
ready 80 juniper gus
pending 72 delta gus
failed 37 ember jules
closed 111 fable farah
active 98 amber gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017301 | qwen/qwen3.7-plus |
awkweave-0017302 | Print the number of whitespace-separated fields on each line. | {print NF} | eli juniper 116 active
jules harbor 80 closed
lina harbor 87 closed
dina fable 55 paused
ivan birch 99 active
chen juniper 38 ready
gus ember 101 ready
alice fable 107 active
| 4
4
4
4
4
4
4
4
| dina cobalt 36 pending
chen harbor 44 pending
lina indigo 27 failed
farah indigo 41 ready
farah harbor 0 ready
dina ember 65 active
eli delta 113 paused
eli juniper 64 failed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017302-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | eli juniper 116 active
jules harbor 80 closed
lina harbor 87 closed
dina fable 55 paused
ivan birch 99 active
chen juniper 38 ready
gus ember 101 ready
alice fable 107 active
| 4
4
4
4
4
4
4
4
| dina cobalt 36 pending
chen harbor 44 pending
lina indigo 27 failed
farah indigo 41 ready
farah harbor 0 ready
dina ember 65 active
eli delta 113 paused
eli juniper 64 failed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017302 | qwen/qwen3.7-plus |
awkweave-0017303 | 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 54
farah beta 120
bruno delta 39
alice beta 5
farah alpha 44
farah delta 2
gus delta 93
alice delta 59
| delta 5
beta 2
alpha 1
| gus gamma 65
ivan alpha 113
jules delta 62
kim delta 90
jules gamma 106
dina alpha 96
| gamma 2
alpha 2
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017303-p1 | Count occurrences per value in column 2, listing them by 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 54
farah beta 120
bruno delta 39
alice beta 5
farah alpha 44
farah delta 2
gus delta 93
alice delta 59
| delta 5
beta 2
alpha 1
| gus gamma 65
ivan alpha 113
jules delta 62
kim delta 90
jules gamma 106
dina alpha 96
| gamma 2
alpha 2
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017303 | qwen/qwen3.7-plus |
awkweave-0017304 | 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]]} | bruno alpha 3
dina alpha 21
alice alpha 17
alice delta 8
kim alpha 2
jules alpha 24
kim gamma 23
gus alpha 12
lina delta 4
| alpha 79
delta 12
gamma 23
| ivan gamma 16
lina beta 30
kim alpha 11
eli alpha 29
kim delta 6
dina alpha 24
| gamma 16
beta 30
alpha 64
delta 6
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017304-p1 | Sum column 3 grouped by column 2 categories, ordered by 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]]} | bruno alpha 3
dina alpha 21
alice alpha 17
alice delta 8
kim alpha 2
jules alpha 24
kim gamma 23
gus alpha 12
lina delta 4
| alpha 79
delta 12
gamma 23
| ivan gamma 16
lina beta 30
kim alpha 11
eli alpha 29
kim delta 6
dina alpha 24
| gamma 16
beta 30
alpha 64
delta 6
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017304 | qwen/qwen3.7-plus |
awkweave-0017305 | 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]]} | beta indigo 40
beta indigo 64
beta indigo 76
beta harbor 117
gamma juniper 50
beta amber 85
delta fable 27
| beta 5
| delta delta 0
gamma juniper 41
alpha amber 15
delta indigo 49
beta grove 5
delta harbor 67
beta cobalt 92
beta fable 112
beta delta 110
beta fable 118
| delta 3
beta 5
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017305-p1 | List each duplicate value from column 1 with its frequency, sorted 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]]} | beta indigo 40
beta indigo 64
beta indigo 76
beta harbor 117
gamma juniper 50
beta amber 85
delta fable 27
| beta 5
| delta delta 0
gamma juniper 41
alpha amber 15
delta indigo 49
beta grove 5
delta harbor 67
beta cobalt 92
beta fable 112
beta delta 110
beta fable 118
| delta 3
beta 5
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017305 | qwen/qwen3.7-plus |
awkweave-0017306 | 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"]} | region state record_id score
r001 jules 8 active
r002 eli 24 closed
r003 ivan 20 failed
r004 dina 14 active
r005 hana 6 ready
r006 jules 1 ready
r007 ivan 6 active
r008 gus 12 active
r009 lina 7 closed
r010 chen 16 closed
| 8
24
20
14
6
1
6
12
7
16
| region state record_id score
r001 lina 8 failed
r002 ivan 21 active
r003 kim 29 pending
r004 gus 1 paused
r005 hana 23 closed
r006 gus 11 closed
r007 dina 21 closed
| 8
21
29
1
23
11
21
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017306-p1 | Skip the header row and output the record_id field for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | region state record_id score
r001 jules 8 active
r002 eli 24 closed
r003 ivan 20 failed
r004 dina 14 active
r005 hana 6 ready
r006 jules 1 ready
r007 ivan 6 active
r008 gus 12 active
r009 lina 7 closed
r010 chen 16 closed
| 8
24
20
14
6
1
6
12
7
16
| region state record_id score
r001 lina 8 failed
r002 ivan 21 active
r003 kim 29 pending
r004 gus 1 paused
r005 hana 23 closed
r006 gus 11 closed
r007 dina 21 closed
| 8
21
29
1
23
11
21
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017306 | qwen/qwen3.7-plus |
awkweave-0017307 | The first row is a header. Print display_name for data rows whose score is greater than 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 ivan 1 closed
r002 chen 26 active
r003 bruno 12 failed
r004 dina 29 active
r005 chen 10 closed
r006 chen 27 ready
r007 gus 9 paused
r008 dina 20 ready
r009 chen 28 paused
| chen
dina
chen
chen
| record_id display_name score state
r001 chen 25 ready
r002 farah 22 ready
r003 ivan 10 pending
r004 alice 26 closed
r005 alice 9 paused
r006 ivan 17 ready
| chen
alice
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017307-p1 | Ignoring the header, display the display_name for any row where the score exceeds 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 ivan 1 closed
r002 chen 26 active
r003 bruno 12 failed
r004 dina 29 active
r005 chen 10 closed
r006 chen 27 ready
r007 gus 9 paused
r008 dina 20 ready
r009 chen 28 paused
| chen
dina
chen
chen
| record_id display_name score state
r001 chen 25 ready
r002 farah 22 ready
r003 ivan 10 pending
r004 alice 26 closed
r005 alice 9 paused
r006 ivan 17 ready
| chen
alice
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017307 | qwen/qwen3.7-plus |
awkweave-0017308 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 7 ready
lina 29 active
dina 10 failed
farah 17 active
kim 20 paused
chen 12 failed
chen 29 ready
| ready
active
failed
active
paused
failed
ready
| jules 6 paused
bruno 20 ready
chen 10 pending
chen 8 paused
chen 28 active
lina 15 active
lina 28 active
farah 9 closed
farah 2 pending
| paused
ready
pending
paused
active
active
active
closed
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017308-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 7 ready
lina 29 active
dina 10 failed
farah 17 active
kim 20 paused
chen 12 failed
chen 29 ready
| ready
active
failed
active
paused
failed
ready
| jules 6 paused
bruno 20 ready
chen 10 pending
chen 8 paused
chen 28 active
lina 15 active
lina 28 active
farah 9 closed
farah 2 pending
| paused
ready
pending
paused
active
active
active
closed
pending
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0017308 | qwen/qwen3.7-plus |
awkweave-0017309 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20. | BEGIN{FS=OFS=","}$2>20{print $1} | gus,21,closed
gus,12,active
gus,25,paused
ivan,4,pending
bruno,2,failed
lina,13,failed
lina,3,active
dina,30,ready
bruno,17,active
ivan,1,pending
| gus
gus
dina
| lina,2,paused
kim,10,closed
eli,5,paused
alice,3,active
ivan,8,active
hana,25,ready
gus,27,active
| hana
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017309-p1 | For comma-separated input without quoted fields, output the first column if the second column is greater than 20. | BEGIN{FS=OFS=","}$2>20{print $1} | gus,21,closed
gus,12,active
gus,25,paused
ivan,4,pending
bruno,2,failed
lina,13,failed
lina,3,active
dina,30,ready
bruno,17,active
ivan,1,pending
| gus
gus
dina
| lina,2,paused
kim,10,closed
eli,5,paused
alice,3,active
ivan,8,active
hana,25,ready
gus,27,active
| hana
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017309 | qwen/qwen3.7-plus |
awkweave-0017310 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | dina indigo 26
farah delta 25
ivan fable 84
jules ember 12
kim fable 23
farah indigo 28
hana grove 115
| dina indigo 26
farah delta 25
ivan fable 84
jules ember 12
kim fable 23
farah indigo 28
hana grove 115
| lina birch 47
bruno juniper 97
dina fable 96
ivan birch 6
dina fable 8
hana juniper 87
farah cobalt 51
gus delta 37
alice delta 13
| lina birch 47
bruno juniper 97
dina fable 96
ivan birch 6
dina fable 8
hana juniper 87
farah cobalt 51
gus delta 37
alice delta 13
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017310-p1 | Remove leading and trailing spaces from the text and replace sequences of internal whitespace with a single space. | {$1=$1;print} | dina indigo 26
farah delta 25
ivan fable 84
jules ember 12
kim fable 23
farah indigo 28
hana grove 115
| dina indigo 26
farah delta 25
ivan fable 84
jules ember 12
kim fable 23
farah indigo 28
hana grove 115
| lina birch 47
bruno juniper 97
dina fable 96
ivan birch 6
dina fable 8
hana juniper 87
farah cobalt 51
gus delta 37
alice delta 13
| lina birch 47
bruno juniper 97
dina fable 96
ivan birch 6
dina fable 8
hana juniper 87
farah cobalt 51
gus delta 37
alice delta 13
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017310 | qwen/qwen3.7-plus |
awkweave-0017311 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim cobalt 64 pending
eli amber 30 paused
alice amber 72 paused
kim birch 46 failed
bruno fable 88 pending
hana amber 60 ready
hana amber 10 paused
| bruno fable 88 pending
| eli ember 72 failed
jules juniper 29 active
jules fable 14 ready
kim fable 92 pending
ivan grove 3 pending
lina harbor 52 ready
ivan delta 105 paused
dina juniper 64 paused
hana indigo 102 paused
| jules juniper 29 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017311-p1 | Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | kim cobalt 64 pending
eli amber 30 paused
alice amber 72 paused
kim birch 46 failed
bruno fable 88 pending
hana amber 60 ready
hana amber 10 paused
| bruno fable 88 pending
| eli ember 72 failed
jules juniper 29 active
jules fable 14 ready
kim fable 92 pending
ivan grove 3 pending
lina harbor 52 ready
ivan delta 105 paused
dina juniper 64 paused
hana indigo 102 paused
| jules juniper 29 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017311 | qwen/qwen3.7-plus |
awkweave-0017312 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | eli 111
eli 111
alice 115
bruno 60
jules 114
chen 20
chen 63
farah 89
gus 112
gus 116
| bruno 60
farah 89
| bruno 53
farah 78
hana 105
eli 99
ivan 95
chen 47
dina 69
bruno 118
gus 1
| eli 99
bruno 118
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017312-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | eli 111
eli 111
alice 115
bruno 60
jules 114
chen 20
chen 63
farah 89
gus 112
gus 116
| bruno 60
farah 89
| bruno 53
farah 78
hana 105
eli 99
ivan 95
chen 47
dina 69
bruno 118
gus 1
| eli 99
bruno 118
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017312 | qwen/qwen3.7-plus |
awkweave-0017313 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha indigo 79
beta grove 103
delta delta 3
beta delta 4
gamma amber 107
alpha juniper 21
delta indigo 59
beta grove 86
beta cobalt 79
delta birch 23
| 4
| delta harbor 64
gamma grove 21
beta cobalt 39
delta juniper 16
gamma harbor 42
beta birch 86
gamma harbor 60
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017313-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} | alpha indigo 79
beta grove 103
delta delta 3
beta delta 4
gamma amber 107
alpha juniper 21
delta indigo 59
beta grove 86
beta cobalt 79
delta birch 23
| 4
| delta harbor 64
gamma grove 21
beta cobalt 39
delta juniper 16
gamma harbor 42
beta birch 86
gamma harbor 60
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017313 | qwen/qwen3.7-plus |
awkweave-0017314 | 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} | bruno 3 0
lina 3 14
hana 19 4
kim 5 30
ivan 5 20
dina 5 29
gus 11 28
chen 14 20
chen 30 28
| lina 0.21
hana 4.75
kim 0.17
ivan 0.25
dina 0.17
gus 0.39
chen 0.70
chen 1.07
| farah 15 0
gus 13 4
gus 25 22
chen 6 22
jules 29 22
hana 19 13
| gus 3.25
gus 1.14
chen 0.27
jules 1.32
hana 1.46
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017314-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} | bruno 3 0
lina 3 14
hana 19 4
kim 5 30
ivan 5 20
dina 5 29
gus 11 28
chen 14 20
chen 30 28
| lina 0.21
hana 4.75
kim 0.17
ivan 0.25
dina 0.17
gus 0.39
chen 0.70
chen 1.07
| farah 15 0
gus 13 4
gus 25 22
chen 6 22
jules 29 22
hana 19 13
| gus 3.25
gus 1.14
chen 0.27
jules 1.32
hana 1.46
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017314 | qwen/qwen3.7-plus |
awkweave-0017315 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules juniper 5
lina harbor 17
chen amber 13
dina grove 16
ivan harbor 17
kim cobalt 7
chen amber 8
ivan juniper 2
bruno cobalt 12
farah fable 20
| farah fable 20
lina harbor 17
ivan harbor 17
| lina juniper 24
jules ember 17
bruno fable 30
kim ember 23
eli amber 9
hana birch 8
| bruno fable 30
lina juniper 24
kim ember 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017315-p1 | Display the top three records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules juniper 5
lina harbor 17
chen amber 13
dina grove 16
ivan harbor 17
kim cobalt 7
chen amber 8
ivan juniper 2
bruno cobalt 12
farah fable 20
| farah fable 20
lina harbor 17
ivan harbor 17
| lina juniper 24
jules ember 17
bruno fable 30
kim ember 23
eli amber 9
hana birch 8
| bruno fable 30
lina juniper 24
kim ember 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017315 | qwen/qwen3.7-plus |
awkweave-0017316 | For each line, output fields 4 and 2, in that order. | {print $4, $2} | ember 54 closed pending
delta 86 ready ready
fable 70 pending pending
harbor 95 paused closed
juniper 10 active failed
cobalt 62 paused paused
| pending 54
ready 86
pending 70
closed 95
failed 10
paused 62
| harbor 30 active ready
harbor 29 ready ready
harbor 28 failed failed
birch 39 ready closed
indigo 49 active active
juniper 54 ready paused
delta 32 paused active
| ready 30
ready 29
failed 28
closed 39
active 49
paused 54
active 32
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017316-p1 | For every line, print the fourth field followed by the second field. | {print $4, $2} | ember 54 closed pending
delta 86 ready ready
fable 70 pending pending
harbor 95 paused closed
juniper 10 active failed
cobalt 62 paused paused
| pending 54
ready 86
pending 70
closed 95
failed 10
paused 62
| harbor 30 active ready
harbor 29 ready ready
harbor 28 failed failed
birch 39 ready closed
indigo 49 active active
juniper 54 ready paused
delta 32 paused active
| ready 30
ready 29
failed 28
closed 39
active 49
paused 54
active 32
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017316 | qwen/qwen3.7-plus |
awkweave-0017317 | Print the last field of every input line. | {print $NF} | grove active farah gus ivan chen 47
amber pending bruno eli hana kim 73
juniper closed jules farah eli alice 80
birch pending dina chen bruno kim 43
fable ready ivan eli ivan hana 45
harbor closed ivan dina alice kim 94
| 47
73
80
43
45
94
| cobalt ready chen ivan lina alice 5
indigo failed kim eli eli jules 116
grove ready eli farah lina gus 69
juniper failed chen alice eli alice 45
grove closed lina dina bruno chen 58
harbor failed kim bruno gus farah 30
fable paused hana alice kim farah 106
grove paused lina gus lina bruno 73
indigo paused alice chen di... | 5
116
69
45
58
30
106
73
1
34
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017317-p1 | Output the final field from each line of the input. | {print $NF} | grove active farah gus ivan chen 47
amber pending bruno eli hana kim 73
juniper closed jules farah eli alice 80
birch pending dina chen bruno kim 43
fable ready ivan eli ivan hana 45
harbor closed ivan dina alice kim 94
| 47
73
80
43
45
94
| cobalt ready chen ivan lina alice 5
indigo failed kim eli eli jules 116
grove ready eli farah lina gus 69
juniper failed chen alice eli alice 45
grove closed lina dina bruno chen 58
harbor failed kim bruno gus farah 30
fable paused hana alice kim farah 106
grove paused lina gus lina bruno 73
indigo paused alice chen di... | 5
116
69
45
58
30
106
73
1
34
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017317 | qwen/qwen3.7-plus |
awkweave-0017318 | Print the complete records where column 2 is at least 80. | $2 >= 80 | ready 56 farah
ready 26 alice
ready 36 hana
pending 18 kim
paused 68 bruno
failed 114 eli
active 116 kim
pending 75 kim
| failed 114 eli
active 116 kim
| closed 1 eli
pending 107 kim
pending 17 eli
closed 109 eli
active 118 chen
paused 53 alice
| pending 107 kim
closed 109 eli
active 118 chen
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017318-p1 | Output full records where the value in the second column is greater than or equal to 80. | $2 >= 80 | ready 56 farah
ready 26 alice
ready 36 hana
pending 18 kim
paused 68 bruno
failed 114 eli
active 116 kim
pending 75 kim
| failed 114 eli
active 116 kim
| closed 1 eli
pending 107 kim
pending 17 eli
closed 109 eli
active 118 chen
paused 53 alice
| pending 107 kim
closed 109 eli
active 118 chen
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017318 | qwen/qwen3.7-plus |
awkweave-0017319 | Show whole lines whose 1st field is between 11 and 28, inclusive. | $1 >= 11 && $1 <= 28 | 28 kim ready fable
25 alice failed juniper
5 farah failed grove
26 alice failed cobalt
23 farah paused indigo
7 gus failed ember
30 dina ready delta
5 dina ready ember
27 alice active fable
4 eli closed juniper
| 28 kim ready fable
25 alice failed juniper
26 alice failed cobalt
23 farah paused indigo
27 alice active fable
| 19 hana active delta
4 hana pending amber
26 dina paused amber
24 chen failed fable
2 eli failed cobalt
24 eli closed indigo
21 dina failed indigo
| 19 hana active delta
26 dina paused amber
24 chen failed fable
24 eli closed indigo
21 dina failed indigo
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017319-p1 | Display entire lines where the first field falls within the inclusive range of 11 to 28. | $1 >= 11 && $1 <= 28 | 28 kim ready fable
25 alice failed juniper
5 farah failed grove
26 alice failed cobalt
23 farah paused indigo
7 gus failed ember
30 dina ready delta
5 dina ready ember
27 alice active fable
4 eli closed juniper
| 28 kim ready fable
25 alice failed juniper
26 alice failed cobalt
23 farah paused indigo
27 alice active fable
| 19 hana active delta
4 hana pending amber
26 dina paused amber
24 chen failed fable
2 eli failed cobalt
24 eli closed indigo
21 dina failed indigo
| 19 hana active delta
26 dina paused amber
24 chen failed fable
24 eli closed indigo
21 dina failed indigo
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017319 | qwen/qwen3.7-plus |
awkweave-0017320 | Print column 1 only for rows where column 3 is exactly ready. | $3 == "ready"{print $1} | ivan delta ready 25
eli fable ready 1
kim delta pending 50
hana ember ready 86
kim juniper active 106
kim harbor active 100
lina amber pending 105
| ivan
eli
hana
| alice indigo ready 111
eli amber ready 69
gus grove failed 90
hana harbor failed 0
ivan amber paused 17
eli grove closed 48
eli harbor pending 115
| alice
eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017320-p1 | Print only the first column for rows where the third column matches 'ready' exactly. | $3 == "ready"{print $1} | ivan delta ready 25
eli fable ready 1
kim delta pending 50
hana ember ready 86
kim juniper active 106
kim harbor active 100
lina amber pending 105
| ivan
eli
hana
| alice indigo ready 111
eli amber ready 69
gus grove failed 90
hana harbor failed 0
ivan amber paused 17
eli grove closed 48
eli harbor pending 115
| alice
eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017320 | qwen/qwen3.7-plus |
awkweave-0017321 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | 9 fable WARN
120 indigo INFO
42 birch INFO
87 amber ERROR
95 birch WARN
73 delta ERROR
99 grove WARN
96 delta DEBUG
| 120 indigo INFO
42 birch INFO
| 75 harbor DEBUG
55 ember WARN
33 indigo INFO
27 grove ERROR
62 delta ERROR
43 cobalt WARN
12 indigo WARN
55 birch ERROR
56 cobalt WARN
81 delta WARN
| 33 indigo INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017321-p1 | Output all fields from lines where the third field starts with the prefix 'INFO'. | $3 ~ /^INFO/ | 9 fable WARN
120 indigo INFO
42 birch INFO
87 amber ERROR
95 birch WARN
73 delta ERROR
99 grove WARN
96 delta DEBUG
| 120 indigo INFO
42 birch INFO
| 75 harbor DEBUG
55 ember WARN
33 indigo INFO
27 grove ERROR
62 delta ERROR
43 cobalt WARN
12 indigo WARN
55 birch ERROR
56 cobalt WARN
81 delta WARN
| 33 indigo INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017321 | qwen/qwen3.7-plus |
awkweave-0017322 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | harbor 40 active
harbor 20 failed
harbor 66 closed
delta 73 closed
juniper 5 closed
ember 99 active
harbor 24 paused
harbor 20 pending
grove 999 active
| harbor 40 active
harbor 20 failed
harbor 66 closed
delta 73 closed
juniper 5 closed
ember 99 active
harbor 24 paused
harbor 20 pending
| cobalt 79 closed
harbor 76 active
cobalt 44 failed
birch 95 failed
delta 72 paused
amber 36 paused
fable 66 closed
harbor 66 active
indigo 106 failed
grove 999 active
| cobalt 79 closed
harbor 76 active
cobalt 44 failed
birch 95 failed
delta 72 paused
amber 36 paused
fable 66 closed
harbor 66 active
indigo 106 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017322-p1 | Print every line that does not contain the exact string 'grove'. | $0 !~ /grove/ | harbor 40 active
harbor 20 failed
harbor 66 closed
delta 73 closed
juniper 5 closed
ember 99 active
harbor 24 paused
harbor 20 pending
grove 999 active
| harbor 40 active
harbor 20 failed
harbor 66 closed
delta 73 closed
juniper 5 closed
ember 99 active
harbor 24 paused
harbor 20 pending
| cobalt 79 closed
harbor 76 active
cobalt 44 failed
birch 95 failed
delta 72 paused
amber 36 paused
fable 66 closed
harbor 66 active
indigo 106 failed
grove 999 active
| cobalt 79 closed
harbor 76 active
cobalt 44 failed
birch 95 failed
delta 72 paused
amber 36 paused
fable 66 closed
harbor 66 active
indigo 106 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017322 | qwen/qwen3.7-plus |
awkweave-0017323 | Print lines 4 through 6, including both endpoints. | NR >= 4 && NR <= 6 | chen fable 5
bruno juniper 94
jules cobalt 2
alice grove 62
farah grove 107
bruno amber 22
| alice grove 62
farah grove 107
bruno amber 22
| kim indigo 81
jules grove 57
bruno cobalt 102
gus birch 82
ivan fable 114
kim indigo 3
ivan indigo 120
eli amber 56
| gus birch 82
ivan fable 114
kim indigo 3
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017323-p1 | Output lines 4 through 6, inclusive of both the start and end lines. | NR >= 4 && NR <= 6 | chen fable 5
bruno juniper 94
jules cobalt 2
alice grove 62
farah grove 107
bruno amber 22
| alice grove 62
farah grove 107
bruno amber 22
| kim indigo 81
jules grove 57
bruno cobalt 102
gus birch 82
ivan fable 114
kim indigo 3
ivan indigo 120
eli amber 56
| gus birch 82
ivan fable 114
kim indigo 3
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017323 | qwen/qwen3.7-plus |
awkweave-0017324 | Output only the first 2 records. | NR <= 2 | farah 40 juniper
eli 12 juniper
alice 50 harbor
kim 22 cobalt
jules 0 ember
gus 29 fable
hana 109 amber
lina 73 cobalt
hana 32 grove
| farah 40 juniper
eli 12 juniper
| chen 60 grove
eli 81 indigo
farah 69 indigo
lina 102 fable
alice 8 amber
farah 55 indigo
kim 58 amber
eli 118 harbor
| chen 60 grove
eli 81 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017324-p1 | Display only the first 2 records from the input. | NR <= 2 | farah 40 juniper
eli 12 juniper
alice 50 harbor
kim 22 cobalt
jules 0 ember
gus 29 fable
hana 109 amber
lina 73 cobalt
hana 32 grove
| farah 40 juniper
eli 12 juniper
| chen 60 grove
eli 81 indigo
farah 69 indigo
lina 102 fable
alice 8 amber
farah 55 indigo
kim 58 amber
eli 118 harbor
| chen 60 grove
eli 81 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017324 | qwen/qwen3.7-plus |
awkweave-0017325 | Skip the first line and print every remaining line unchanged. | NR > 1 | dina 38 cobalt
kim 98 ember
alice 37 birch
farah 20 cobalt
eli 48 indigo
jules 50 ember
jules 90 fable
jules 66 birch
| kim 98 ember
alice 37 birch
farah 20 cobalt
eli 48 indigo
jules 50 ember
jules 90 fable
jules 66 birch
| alice 25 cobalt
alice 27 fable
hana 94 birch
dina 79 grove
hana 32 grove
lina 4 juniper
hana 39 delta
kim 101 fable
| alice 27 fable
hana 94 birch
dina 79 grove
hana 32 grove
lina 4 juniper
hana 39 delta
kim 101 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017325-p1 | Ignore the first line and print all subsequent lines without modification. | NR > 1 | dina 38 cobalt
kim 98 ember
alice 37 birch
farah 20 cobalt
eli 48 indigo
jules 50 ember
jules 90 fable
jules 66 birch
| kim 98 ember
alice 37 birch
farah 20 cobalt
eli 48 indigo
jules 50 ember
jules 90 fable
jules 66 birch
| alice 25 cobalt
alice 27 fable
hana 94 birch
dina 79 grove
hana 32 grove
lina 4 juniper
hana 39 delta
kim 101 fable
| alice 27 fable
hana 94 birch
dina 79 grove
hana 32 grove
lina 4 juniper
hana 39 delta
kim 101 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017325 | qwen/qwen3.7-plus |
awkweave-0017326 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | chen paused 45
gus active 112
ivan active 120
ivan pending 106
bruno pending 113
bruno paused 41
eli pending 80
farah pending 13
lina closed 6
| 2
| bruno paused 0
jules failed 55
gus closed 47
alice failed 74
alice active 0
chen pending 24
bruno pending 52
eli active 27
hana ready 28
dina paused 79
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017326-p1 | Count the number of records where the second column is 'active', outputting 0 if no matches are found. | $2 == "active"{n++}END{print n+0} | chen paused 45
gus active 112
ivan active 120
ivan pending 106
bruno pending 113
bruno paused 41
eli pending 80
farah pending 13
lina closed 6
| 2
| bruno paused 0
jules failed 55
gus closed 47
alice failed 74
alice active 0
chen pending 24
bruno pending 52
eli active 27
hana ready 28
dina paused 79
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017326 | qwen/qwen3.7-plus |
awkweave-0017327 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | bruno delta 22
kim ember 7
bruno delta 7
ivan harbor 21
dina indigo 10
alice cobalt 18
ivan birch 20
bruno indigo 20
lina harbor 17
| 142
| hana delta 19
gus indigo 18
dina indigo 2
chen ember 12
hana delta 10
farah birch 20
hana fable 11
| 92
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017327-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | bruno delta 22
kim ember 7
bruno delta 7
ivan harbor 21
dina indigo 10
alice cobalt 18
ivan birch 20
bruno indigo 20
lina harbor 17
| 142
| hana delta 19
gus indigo 18
dina indigo 2
chen ember 12
hana delta 10
farah birch 20
hana fable 11
| 92
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017327 | qwen/qwen3.7-plus |
awkweave-0017328 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno indigo 15
ivan grove 14
eli harbor 1
jules harbor 21
jules delta 29
farah grove 3
dina ember 28
lina ember 27
| 17.25
| hana harbor 30
hana indigo 30
ivan grove 11
dina harbor 19
gus delta 22
kim ember 27
| 23.17
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017328-p1 | Calculate the average of the values in the third column and print it rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno indigo 15
ivan grove 14
eli harbor 1
jules harbor 21
jules delta 29
farah grove 3
dina ember 28
lina ember 27
| 17.25
| hana harbor 30
hana indigo 30
ivan grove 11
dina harbor 19
gus delta 22
kim ember 27
| 23.17
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017328 | qwen/qwen3.7-plus |
awkweave-0017329 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 ember ivan
2 ember kim
17 amber lina
10 cobalt dina
20 cobalt farah
28 juniper kim
14 birch dina
6 fable alice
7 delta bruno
10 amber eli
| 2
| 4 delta eli
9 cobalt eli
30 fable ivan
21 amber chen
28 delta eli
25 ember dina
19 ember dina
7 grove kim
7 indigo alice
19 fable gus
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017329-p1 | Identify and print the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 ember ivan
2 ember kim
17 amber lina
10 cobalt dina
20 cobalt farah
28 juniper kim
14 birch dina
6 fable alice
7 delta bruno
10 amber eli
| 2
| 4 delta eli
9 cobalt eli
30 fable ivan
21 amber chen
28 delta eli
25 ember dina
19 ember dina
7 grove kim
7 indigo alice
19 fable gus
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017329 | qwen/qwen3.7-plus |
awkweave-0017330 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 29 bruno birch
23 hana harbor
4 eli fable
6 alice ember
3 dina fable
17 eli delta
| 29
| 6 alice ember
10 chen delta
9 hana cobalt
14 dina indigo
8 dina amber
6 gus cobalt
5 kim harbor
| 14
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.