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-0049442-p1 | Treating the initial row as a header, output the state column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | score record_id note state
r001 kim 15 closed
r002 jules 14 failed
r003 farah 9 active
r004 gus 18 closed
r005 jules 11 failed
r006 lina 11 failed
r007 kim 4 paused
r008 hana 18 pending
r009 chen 6 pending
| closed
failed
active
closed
failed
failed
paused
pending
pending
| score record_id note state
r001 chen 2 paused
r002 jules 2 ready
r003 dina 16 ready
r004 bruno 24 ready
r005 lina 14 active
r006 lina 28 ready
r007 eli 5 closed
r008 ivan 18 paused
| paused
ready
ready
ready
active
ready
closed
paused
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049442 | qwen/qwen3.7-plus |
awkweave-0049443 | The first row is a header. Print display_name for data rows whose score is greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 alice 13 failed
r002 alice 6 failed
r003 kim 8 failed
r004 alice 11 active
r005 farah 11 ready
r006 gus 4 failed
r007 farah 16 pending
r008 chen 5 active
r009 hana 19 closed
| alice
farah
hana
| record_id display_name score state
r001 eli 14 closed
r002 eli 18 failed
r003 lina 16 pending
r004 eli 28 closed
r005 dina 26 ready
r006 farah 9 active
r007 bruno 12 pending
r008 chen 21 active
r009 ivan 28 pending
| eli
eli
lina
eli
dina
chen
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049443-p1 | With the first row as a header, print the display_name for data rows where the score is strictly greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 alice 13 failed
r002 alice 6 failed
r003 kim 8 failed
r004 alice 11 active
r005 farah 11 ready
r006 gus 4 failed
r007 farah 16 pending
r008 chen 5 active
r009 hana 19 closed
| alice
farah
hana
| record_id display_name score state
r001 eli 14 closed
r002 eli 18 failed
r003 lina 16 pending
r004 eli 28 closed
r005 dina 26 ready
r006 farah 9 active
r007 bruno 12 pending
r008 chen 21 active
r009 ivan 28 pending
| eli
eli
lina
eli
dina
chen
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049443 | qwen/qwen3.7-plus |
awkweave-0049444 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | bruno 27 paused
chen 29 pending
lina 28 ready
kim 4 closed
hana 25 failed
lina 27 pending
| bruno
chen
lina
kim
hana
lina
| ivan 18 closed
hana 1 paused
kim 12 pending
lina 29 active
lina 28 active
jules 23 closed
chen 10 pending
gus 5 paused
| ivan
hana
kim
lina
lina
jules
chen
gus
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049444-p1 | Given tab-separated input, extract and print the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | bruno 27 paused
chen 29 pending
lina 28 ready
kim 4 closed
hana 25 failed
lina 27 pending
| bruno
chen
lina
kim
hana
lina
| ivan 18 closed
hana 1 paused
kim 12 pending
lina 29 active
lina 28 active
jules 23 closed
chen 10 pending
gus 5 paused
| ivan
hana
kim
lina
lina
jules
chen
gus
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049444 | qwen/qwen3.7-plus |
awkweave-0049445 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | dina,24,ready
alice,30,ready
dina,3,failed
lina,11,closed
farah,26,failed
eli,27,closed
farah,7,closed
ivan,10,active
kim,17,paused
| dina
alice
lina
farah
eli
ivan
kim
| gus,27,failed
eli,3,closed
farah,12,active
kim,4,active
dina,5,ready
dina,27,ready
kim,14,closed
gus,19,closed
farah,18,ready
bruno,17,paused
| gus
farah
dina
kim
gus
farah
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049445-p1 | For simple comma-separated input without quoted commas, print the first column only when the second column value is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | dina,24,ready
alice,30,ready
dina,3,failed
lina,11,closed
farah,26,failed
eli,27,closed
farah,7,closed
ivan,10,active
kim,17,paused
| dina
alice
lina
farah
eli
ivan
kim
| gus,27,failed
eli,3,closed
farah,12,active
kim,4,active
dina,5,ready
dina,27,ready
kim,14,closed
gus,19,closed
farah,18,ready
bruno,17,paused
| gus
farah
dina
kim
gus
farah
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049445 | qwen/qwen3.7-plus |
awkweave-0049446 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen ember 52
alice birch 47
alice amber 73
alice indigo 52
lina delta 117
eli ember 8
lina indigo 75
jules amber 26
| chen ember 52
alice birch 47
alice amber 73
alice indigo 52
lina delta 117
eli ember 8
lina indigo 75
jules amber 26
| ivan indigo 37
eli indigo 74
chen indigo 18
alice indigo 14
farah ember 70
chen indigo 81
dina harbor 108
| ivan indigo 37
eli indigo 74
chen indigo 18
alice indigo 14
farah ember 70
chen indigo 81
dina harbor 108
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049446-p1 | Remove leading and trailing whitespace and reduce any internal whitespace sequences to single spaces. | {$1=$1;print} | chen ember 52
alice birch 47
alice amber 73
alice indigo 52
lina delta 117
eli ember 8
lina indigo 75
jules amber 26
| chen ember 52
alice birch 47
alice amber 73
alice indigo 52
lina delta 117
eli ember 8
lina indigo 75
jules amber 26
| ivan indigo 37
eli indigo 74
chen indigo 18
alice indigo 14
farah ember 70
chen indigo 81
dina harbor 108
| ivan indigo 37
eli indigo 74
chen indigo 18
alice indigo 14
farah ember 70
chen indigo 81
dina harbor 108
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049446 | qwen/qwen3.7-plus |
awkweave-0049447 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina cobalt 44 pending
alice delta 38 closed
bruno birch 35 failed
kim cobalt 91 paused
ivan birch 16 pending
gus juniper 17 ready
hana ember 57 closed
| lina cobalt 44 pending
| gus delta 75 paused
alice grove 103 pending
chen harbor 119 ready
chen birch 116 paused
eli ember 16 ready
chen amber 82 paused
| alice grove 103 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049447-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | lina cobalt 44 pending
alice delta 38 closed
bruno birch 35 failed
kim cobalt 91 paused
ivan birch 16 pending
gus juniper 17 ready
hana ember 57 closed
| lina cobalt 44 pending
| gus delta 75 paused
alice grove 103 pending
chen harbor 119 ready
chen birch 116 paused
eli ember 16 ready
chen amber 82 paused
| alice grove 103 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049447 | qwen/qwen3.7-plus |
awkweave-0049448 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | jules 55
hana 6
alice 10
gus 2
alice 91
dina 34
dina 22
| alice 10
dina 34
| kim 4
alice 43
bruno 101
eli 92
jules 64
jules 37
ivan 81
ivan 21
| bruno 101
jules 37
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049448-p1 | Output every third line beginning with line 3 (i.e., lines 3, 6, etc.). | NR%3==0 | jules 55
hana 6
alice 10
gus 2
alice 91
dina 34
dina 22
| alice 10
dina 34
| kim 4
alice 43
bruno 101
eli 92
jules 64
jules 37
ivan 81
ivan 21
| bruno 101
jules 37
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049448 | qwen/qwen3.7-plus |
awkweave-0049449 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma ember 91
delta delta 58
alpha cobalt 110
gamma cobalt 67
beta cobalt 58
gamma grove 69
delta ember 37
| 4
| alpha delta 50
gamma cobalt 118
gamma fable 40
delta grove 99
gamma fable 58
gamma grove 59
beta grove 0
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049449-p1 | Calculate the number of unique values in column 1 and display only that total. | {if(!seen[$1]++)n++}END{print n+0} | gamma ember 91
delta delta 58
alpha cobalt 110
gamma cobalt 67
beta cobalt 58
gamma grove 69
delta ember 37
| 4
| alpha delta 50
gamma cobalt 118
gamma fable 40
delta grove 99
gamma fable 58
gamma grove 59
beta grove 0
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049449 | qwen/qwen3.7-plus |
awkweave-0049450 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 9 0
ivan 22 20
lina 18 17
hana 15 16
chen 10 28
ivan 15 28
gus 28 24
dina 18 16
| ivan 1.10
lina 1.06
hana 0.94
chen 0.36
ivan 0.54
gus 1.17
dina 1.12
| kim 26 0
eli 25 13
farah 21 21
eli 29 17
alice 24 23
alice 10 9
gus 12 7
hana 25 16
| eli 1.92
farah 1.00
eli 1.71
alice 1.04
alice 1.11
gus 1.71
hana 1.56
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049450-p1 | For each row where column 3 is not zero, output column 1 and the result of column 2 divided by column 3, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 9 0
ivan 22 20
lina 18 17
hana 15 16
chen 10 28
ivan 15 28
gus 28 24
dina 18 16
| ivan 1.10
lina 1.06
hana 0.94
chen 0.36
ivan 0.54
gus 1.17
dina 1.12
| kim 26 0
eli 25 13
farah 21 21
eli 29 17
alice 24 23
alice 10 9
gus 12 7
hana 25 16
| eli 1.92
farah 1.00
eli 1.71
alice 1.04
alice 1.11
gus 1.71
hana 1.56
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049450 | qwen/qwen3.7-plus |
awkweave-0049451 | 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 grove 10
dina amber 6
lina ember 1
lina juniper 2
farah cobalt 16
ivan cobalt 10
gus delta 10
farah ember 25
alice indigo 6
jules delta 18
| farah ember 25
jules delta 18
farah cobalt 16
| dina juniper 1
bruno indigo 13
bruno cobalt 5
kim indigo 11
jules fable 7
lina juniper 3
gus harbor 30
| gus harbor 30
bruno indigo 13
kim indigo 11
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049451-p1 | Display the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules grove 10
dina amber 6
lina ember 1
lina juniper 2
farah cobalt 16
ivan cobalt 10
gus delta 10
farah ember 25
alice indigo 6
jules delta 18
| farah ember 25
jules delta 18
farah cobalt 16
| dina juniper 1
bruno indigo 13
bruno cobalt 5
kim indigo 11
jules fable 7
lina juniper 3
gus harbor 30
| gus harbor 30
bruno indigo 13
kim indigo 11
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049451 | qwen/qwen3.7-plus |
awkweave-0049452 | Select the 3rd and 1st fields in that order. | {print $3, $1} | paused ready 95 delta
paused ready 49 juniper
paused active 60 indigo
closed closed 86 juniper
paused closed 34 fable
pending paused 98 indigo
| 95 paused
49 paused
60 paused
86 closed
34 paused
98 pending
| failed pending 40 indigo
ready failed 96 delta
ready failed 12 ember
failed paused 118 ember
failed pending 32 grove
pending pending 56 harbor
| 40 failed
96 ready
12 ready
118 failed
32 failed
56 pending
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049452-p1 | Extract and print the 3rd field followed by the 1st field. | {print $3, $1} | paused ready 95 delta
paused ready 49 juniper
paused active 60 indigo
closed closed 86 juniper
paused closed 34 fable
pending paused 98 indigo
| 95 paused
49 paused
60 paused
86 closed
34 paused
98 pending
| failed pending 40 indigo
ready failed 96 delta
ready failed 12 ember
failed paused 118 ember
failed pending 32 grove
pending pending 56 harbor
| 40 failed
96 ready
12 ready
118 failed
32 failed
56 pending
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049452 | qwen/qwen3.7-plus |
awkweave-0049453 | Print the last field of every input line. | {print $NF} | jules farah closed
jules lina ready
lina bruno ready
lina jules active
bruno gus active
alice ivan closed
ivan dina paused
farah lina active
lina jules closed
bruno hana failed
| closed
ready
ready
active
active
closed
paused
active
closed
failed
| jules farah failed
jules farah pending
hana bruno paused
hana alice closed
kim lina closed
jules eli ready
gus bruno paused
lina kim pending
alice gus pending
| failed
pending
paused
closed
closed
ready
paused
pending
pending
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049453-p1 | Output the final field from each input line. | {print $NF} | jules farah closed
jules lina ready
lina bruno ready
lina jules active
bruno gus active
alice ivan closed
ivan dina paused
farah lina active
lina jules closed
bruno hana failed
| closed
ready
ready
active
active
closed
paused
active
closed
failed
| jules farah failed
jules farah pending
hana bruno paused
hana alice closed
kim lina closed
jules eli ready
gus bruno paused
lina kim pending
alice gus pending
| failed
pending
paused
closed
closed
ready
paused
pending
pending
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049453 | qwen/qwen3.7-plus |
awkweave-0049454 | Print the complete records where column 1 is at least 48. | $1 >= 48 | 94 lina grove ivan
35 lina juniper farah
118 gus harbor eli
19 ivan indigo dina
105 lina indigo dina
36 lina grove alice
20 hana ember jules
| 94 lina grove ivan
118 gus harbor eli
105 lina indigo dina
| 71 bruno fable chen
2 dina juniper alice
52 kim birch eli
105 jules fable chen
98 gus ember ivan
59 lina grove gus
17 dina ember farah
21 kim birch ivan
65 farah birch lina
47 chen ember kim
| 71 bruno fable chen
52 kim birch eli
105 jules fable chen
98 gus ember ivan
59 lina grove gus
65 farah birch lina
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049454-p1 | Print the entire records where the value in column 1 is greater than or equal to 48. | $1 >= 48 | 94 lina grove ivan
35 lina juniper farah
118 gus harbor eli
19 ivan indigo dina
105 lina indigo dina
36 lina grove alice
20 hana ember jules
| 94 lina grove ivan
118 gus harbor eli
105 lina indigo dina
| 71 bruno fable chen
2 dina juniper alice
52 kim birch eli
105 jules fable chen
98 gus ember ivan
59 lina grove gus
17 dina ember farah
21 kim birch ivan
65 farah birch lina
47 chen ember kim
| 71 bruno fable chen
52 kim birch eli
105 jules fable chen
98 gus ember ivan
59 lina grove gus
65 farah birch lina
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049454 | qwen/qwen3.7-plus |
awkweave-0049455 | Show whole lines whose 1st field is between 10 and 27, inclusive. | $1 >= 10 && $1 <= 27 | 3 failed closed hana
30 ready pending alice
9 closed pending alice
3 closed closed ivan
10 paused failed bruno
21 paused failed hana
6 pending closed kim
8 closed closed kim
5 pending closed ivan
2 failed active kim
| 10 paused failed bruno
21 paused failed hana
| 14 pending pending bruno
10 paused paused farah
1 paused ready ivan
14 active paused kim
23 pending active dina
16 ready ready eli
30 active ready chen
| 14 pending pending bruno
10 paused paused farah
14 active paused kim
23 pending active dina
16 ready ready eli
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049455-p1 | Display complete lines where the first field falls within the inclusive range of 10 to 27. | $1 >= 10 && $1 <= 27 | 3 failed closed hana
30 ready pending alice
9 closed pending alice
3 closed closed ivan
10 paused failed bruno
21 paused failed hana
6 pending closed kim
8 closed closed kim
5 pending closed ivan
2 failed active kim
| 10 paused failed bruno
21 paused failed hana
| 14 pending pending bruno
10 paused paused farah
1 paused ready ivan
14 active paused kim
23 pending active dina
16 ready ready eli
30 active ready chen
| 14 pending pending bruno
10 paused paused farah
14 active paused kim
23 pending active dina
16 ready ready eli
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049455 | qwen/qwen3.7-plus |
awkweave-0049456 | Print column 2 only for rows where column 3 is exactly active. | $3 == "active"{print $2} | 80 eli closed birch
13 farah closed delta
65 eli ready juniper
59 jules active fable
110 kim ready cobalt
40 farah ready fable
103 bruno active delta
88 kim failed delta
| jules
bruno
| 45 chen active grove
36 hana closed indigo
9 lina failed harbor
61 gus failed fable
93 dina active ember
65 dina active indigo
117 jules closed delta
69 chen active juniper
| chen
dina
dina
chen
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049456-p1 | Output only column 2 for rows where column 3 equals active. | $3 == "active"{print $2} | 80 eli closed birch
13 farah closed delta
65 eli ready juniper
59 jules active fable
110 kim ready cobalt
40 farah ready fable
103 bruno active delta
88 kim failed delta
| jules
bruno
| 45 chen active grove
36 hana closed indigo
9 lina failed harbor
61 gus failed fable
93 dina active ember
65 dina active indigo
117 jules closed delta
69 chen active juniper
| chen
dina
dina
chen
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049456 | qwen/qwen3.7-plus |
awkweave-0049457 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | INFO harbor 23
WARN delta 54
INFO juniper 58
INFO ember 57
INFO cobalt 93
WARN juniper 100
| INFO harbor 23
INFO juniper 58
INFO ember 57
INFO cobalt 93
| ERROR harbor 92
DEBUG fable 33
ERROR birch 62
ERROR cobalt 35
ERROR juniper 57
WARN cobalt 60
WARN delta 78
ERROR indigo 15
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0049457-p1 | Print all fields from lines where the first field starts with INFO. | $1 ~ /^INFO/ | INFO harbor 23
WARN delta 54
INFO juniper 58
INFO ember 57
INFO cobalt 93
WARN juniper 100
| INFO harbor 23
INFO juniper 58
INFO ember 57
INFO cobalt 93
| ERROR harbor 92
DEBUG fable 33
ERROR birch 62
ERROR cobalt 35
ERROR juniper 57
WARN cobalt 60
WARN delta 78
ERROR indigo 15
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049457 | qwen/qwen3.7-plus | |
awkweave-0049458 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | ember 116 active
delta 100 ready
grove 86 closed
cobalt 72 pending
cobalt 33 active
indigo 76 active
cobalt 4 active
grove 49 failed
delta 119 paused
amber 999 active
| ember 116 active
delta 100 ready
grove 86 closed
cobalt 72 pending
cobalt 33 active
indigo 76 active
cobalt 4 active
grove 49 failed
delta 119 paused
| birch 16 active
indigo 22 failed
fable 102 ready
amber 16 paused
grove 11 failed
fable 110 ready
birch 20 failed
amber 999 active
| birch 16 active
indigo 22 failed
fable 102 ready
grove 11 failed
fable 110 ready
birch 20 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049458-p1 | Output every line that does not contain the exact string amber. | $0 !~ /amber/ | ember 116 active
delta 100 ready
grove 86 closed
cobalt 72 pending
cobalt 33 active
indigo 76 active
cobalt 4 active
grove 49 failed
delta 119 paused
amber 999 active
| ember 116 active
delta 100 ready
grove 86 closed
cobalt 72 pending
cobalt 33 active
indigo 76 active
cobalt 4 active
grove 49 failed
delta 119 paused
| birch 16 active
indigo 22 failed
fable 102 ready
amber 16 paused
grove 11 failed
fable 110 ready
birch 20 failed
amber 999 active
| birch 16 active
indigo 22 failed
fable 102 ready
grove 11 failed
fable 110 ready
birch 20 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049458 | qwen/qwen3.7-plus |
awkweave-0049459 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | gus juniper 5
dina grove 80
lina birch 57
eli juniper 52
lina amber 101
chen fable 70
bruno fable 55
farah birch 25
ivan indigo 34
ivan fable 93
| lina birch 57
eli juniper 52
| kim juniper 14
farah juniper 36
gus fable 109
farah ember 62
gus ember 33
bruno ember 78
eli amber 87
| gus fable 109
farah ember 62
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049459-p1 | Print lines 3 through 4, inclusive. | NR >= 3 && NR <= 4 | gus juniper 5
dina grove 80
lina birch 57
eli juniper 52
lina amber 101
chen fable 70
bruno fable 55
farah birch 25
ivan indigo 34
ivan fable 93
| lina birch 57
eli juniper 52
| kim juniper 14
farah juniper 36
gus fable 109
farah ember 62
gus ember 33
bruno ember 78
eli amber 87
| gus fable 109
farah ember 62
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049459 | qwen/qwen3.7-plus |
awkweave-0049460 | Output only the first 2 records. | NR <= 2 | dina 37 grove
alice 10 fable
chen 120 birch
alice 2 birch
bruno 109 ember
kim 1 grove
lina 25 birch
jules 71 delta
hana 80 birch
| dina 37 grove
alice 10 fable
| farah 60 delta
lina 111 fable
alice 97 ember
kim 38 cobalt
eli 63 cobalt
gus 44 indigo
jules 31 delta
| farah 60 delta
lina 111 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049460-p1 | Display only the initial two records from the input. | NR <= 2 | dina 37 grove
alice 10 fable
chen 120 birch
alice 2 birch
bruno 109 ember
kim 1 grove
lina 25 birch
jules 71 delta
hana 80 birch
| dina 37 grove
alice 10 fable
| farah 60 delta
lina 111 fable
alice 97 ember
kim 38 cobalt
eli 63 cobalt
gus 44 indigo
jules 31 delta
| farah 60 delta
lina 111 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049460 | qwen/qwen3.7-plus |
awkweave-0049461 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 23 delta
bruno 64 fable
farah 8 grove
farah 104 delta
alice 84 harbor
farah 34 amber
kim 113 amber
eli 64 cobalt
ivan 84 birch
hana 71 delta
| bruno 64 fable
farah 8 grove
farah 104 delta
alice 84 harbor
farah 34 amber
kim 113 amber
eli 64 cobalt
ivan 84 birch
hana 71 delta
| eli 10 juniper
eli 118 juniper
ivan 97 juniper
lina 104 cobalt
eli 83 ember
hana 82 harbor
eli 47 delta
| eli 118 juniper
ivan 97 juniper
lina 104 cobalt
eli 83 ember
hana 82 harbor
eli 47 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049461-p1 | Omit the first line and output all subsequent lines exactly as they appear. | NR > 1 | kim 23 delta
bruno 64 fable
farah 8 grove
farah 104 delta
alice 84 harbor
farah 34 amber
kim 113 amber
eli 64 cobalt
ivan 84 birch
hana 71 delta
| bruno 64 fable
farah 8 grove
farah 104 delta
alice 84 harbor
farah 34 amber
kim 113 amber
eli 64 cobalt
ivan 84 birch
hana 71 delta
| eli 10 juniper
eli 118 juniper
ivan 97 juniper
lina 104 cobalt
eli 83 ember
hana 82 harbor
eli 47 delta
| eli 118 juniper
ivan 97 juniper
lina 104 cobalt
eli 83 ember
hana 82 harbor
eli 47 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049461 | qwen/qwen3.7-plus |
awkweave-0049462 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | dina pending 11
dina paused 80
gus closed 53
alice paused 89
dina failed 18
bruno closed 51
| 0
| eli active 63
eli pending 52
lina pending 64
gus ready 26
bruno active 40
dina active 44
gus paused 75
gus paused 53
dina closed 51
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049462-p1 | Determine the number of entries where column 2 contains 'ready', outputting 0 if no matches are found. | $2 == "ready"{n++}END{print n+0} | dina pending 11
dina paused 80
gus closed 53
alice paused 89
dina failed 18
bruno closed 51
| 0
| eli active 63
eli pending 52
lina pending 64
gus ready 26
bruno active 40
dina active 44
gus paused 75
gus paused 53
dina closed 51
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049462 | qwen/qwen3.7-plus |
awkweave-0049463 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | fable ivan 10
fable kim 22
juniper farah 29
indigo kim 28
harbor farah 8
indigo chen 23
birch farah 8
birch farah 24
birch hana 20
juniper bruno 2
| 174
| juniper kim 1
indigo kim 20
fable lina 6
fable bruno 11
indigo kim 19
fable dina 23
juniper hana 15
amber eli 16
fable jules 6
ember jules 18
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049463-p1 | Compute and display the total sum of integer values found in column 3. | {s+=$3}END{print s+0} | fable ivan 10
fable kim 22
juniper farah 29
indigo kim 28
harbor farah 8
indigo chen 23
birch farah 8
birch farah 24
birch hana 20
juniper bruno 2
| 174
| juniper kim 1
indigo kim 20
fable lina 6
fable bruno 11
indigo kim 19
fable dina 23
juniper hana 15
amber eli 16
fable jules 6
ember jules 18
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049463 | qwen/qwen3.7-plus |
awkweave-0049464 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 26 bruno cobalt
2 hana harbor
16 jules amber
30 ivan delta
15 alice grove
10 ivan indigo
26 chen juniper
| 17.86
| 18 jules delta
14 alice fable
5 lina birch
26 jules juniper
23 bruno fable
1 lina amber
27 dina juniper
4 eli grove
| 14.75
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049464-p1 | Output the average of values in column 1, formatted to precisely two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 26 bruno cobalt
2 hana harbor
16 jules amber
30 ivan delta
15 alice grove
10 ivan indigo
26 chen juniper
| 17.86
| 18 jules delta
14 alice fable
5 lina birch
26 jules juniper
23 bruno fable
1 lina amber
27 dina juniper
4 eli grove
| 14.75
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049464 | qwen/qwen3.7-plus |
awkweave-0049465 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim cobalt 2
ivan ember 4
dina amber 4
kim harbor 27
chen harbor 7
dina amber 27
hana grove 2
gus juniper 29
| 2
| kim delta 4
hana ember 30
ivan cobalt 22
chen juniper 26
kim juniper 9
chen fable 16
eli juniper 15
lina cobalt 27
chen birch 29
farah fable 24
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049465-p1 | Identify and print the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim cobalt 2
ivan ember 4
dina amber 4
kim harbor 27
chen harbor 7
dina amber 27
hana grove 2
gus juniper 29
| 2
| kim delta 4
hana ember 30
ivan cobalt 22
chen juniper 26
kim juniper 9
chen fable 16
eli juniper 15
lina cobalt 27
chen birch 29
farah fable 24
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049465 | qwen/qwen3.7-plus |
awkweave-0049466 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | lina juniper 7
gus juniper 10
alice cobalt 18
bruno ember 6
gus cobalt 1
bruno juniper 27
kim grove 14
bruno juniper 26
hana delta 17
eli indigo 11
| 27
| jules cobalt 6
jules fable 13
kim juniper 27
kim cobalt 16
eli fable 19
bruno birch 18
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049466-p1 | Identify and print the maximum numeric value present in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | lina juniper 7
gus juniper 10
alice cobalt 18
bruno ember 6
gus cobalt 1
bruno juniper 27
kim grove 14
bruno juniper 26
hana delta 17
eli indigo 11
| 27
| jules cobalt 6
jules fable 13
kim juniper 27
kim cobalt 16
eli fable 19
bruno birch 18
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049466 | qwen/qwen3.7-plus |
awkweave-0049467 | Count all input records and print the total. | END{print NR} | chen 32
bruno 35
bruno 99
hana 8
ivan 53
chen 48
dina 78
ivan 104
alice 22
| 9
| eli 52
ivan 4
gus 104
ivan 82
hana 87
bruno 112
farah 82
bruno 19
bruno 16
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049467-p1 | Count the total number of input records and print the result. | END{print NR} | chen 32
bruno 35
bruno 99
hana 8
ivan 53
chen 48
dina 78
ivan 104
alice 22
| 9
| eli 52
ivan 4
gus 104
ivan 82
hana 87
bruno 112
farah 82
bruno 19
bruno 16
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049467 | qwen/qwen3.7-plus |
awkweave-0049468 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli juniper 54
jules indigo 73
gus delta 68
alice cobalt 99
farah indigo 64
ivan ember 106
eli juniper 54
kim harbor 46
| eli juniper 54
jules indigo 73
gus delta 68
alice cobalt 99
farah indigo 64
ivan ember 106
kim harbor 46
| hana grove 86
lina juniper 61
lina harbor 59
eli harbor 7
ivan grove 10
farah cobalt 73
gus delta 11
alice delta 72
lina juniper 61
ivan harbor 118
| hana grove 86
lina juniper 61
lina harbor 59
eli harbor 7
ivan grove 10
farah cobalt 73
gus delta 11
alice delta 72
ivan harbor 118
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049468-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | eli juniper 54
jules indigo 73
gus delta 68
alice cobalt 99
farah indigo 64
ivan ember 106
eli juniper 54
kim harbor 46
| eli juniper 54
jules indigo 73
gus delta 68
alice cobalt 99
farah indigo 64
ivan ember 106
kim harbor 46
| hana grove 86
lina juniper 61
lina harbor 59
eli harbor 7
ivan grove 10
farah cobalt 73
gus delta 11
alice delta 72
lina juniper 61
ivan harbor 118
| hana grove 86
lina juniper 61
lina harbor 59
eli harbor 7
ivan grove 10
farah cobalt 73
gus delta 11
alice delta 72
ivan harbor 118
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049468 | qwen/qwen3.7-plus |
awkweave-0049469 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | jules indigo 15
lina grove 68
kim harbor 41
dina juniper 88
kim indigo 60
lina harbor 71
jules harbor 54
| jules indigo 15
lina grove 68
kim harbor 41
dina juniper 88
| kim delta 23
dina cobalt 62
lina indigo 21
jules grove 72
hana delta 114
gus ember 111
ivan harbor 65
| kim delta 23
dina cobalt 62
lina indigo 21
jules grove 72
gus ember 111
ivan harbor 65
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049469-p1 | Retain only the first occurrence for each unique value in column 2, preserving the original input sequence. | !seen[$2]++ | jules indigo 15
lina grove 68
kim harbor 41
dina juniper 88
kim indigo 60
lina harbor 71
jules harbor 54
| jules indigo 15
lina grove 68
kim harbor 41
dina juniper 88
| kim delta 23
dina cobalt 62
lina indigo 21
jules grove 72
hana delta 114
gus ember 111
ivan harbor 65
| kim delta 23
dina cobalt 62
lina indigo 21
jules grove 72
gus ember 111
ivan harbor 65
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049469 | qwen/qwen3.7-plus |
awkweave-0049470 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 2 cobalt
lina 2 birch
gus 1 grove
farah 1 fable
gus 12 indigo
eli 10 fable
farah 26 indigo
bruno 2 juniper
hana 4 birch
| jules 2
lina 4
gus 5
farah 6
gus 18
eli 28
farah 54
bruno 56
hana 60
| kim 14 harbor
ivan 7 juniper
eli 12 amber
hana 8 delta
gus 28 amber
jules 30 birch
gus 10 fable
gus 26 amber
jules 5 harbor
| kim 14
ivan 21
eli 33
hana 41
gus 69
jules 99
gus 109
gus 135
jules 140
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049470-p1 | For each record, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 2 cobalt
lina 2 birch
gus 1 grove
farah 1 fable
gus 12 indigo
eli 10 fable
farah 26 indigo
bruno 2 juniper
hana 4 birch
| jules 2
lina 4
gus 5
farah 6
gus 18
eli 28
farah 54
bruno 56
hana 60
| kim 14 harbor
ivan 7 juniper
eli 12 amber
hana 8 delta
gus 28 amber
jules 30 birch
gus 10 fable
gus 26 amber
jules 5 harbor
| kim 14
ivan 21
eli 33
hana 41
gus 69
jules 99
gus 109
gus 135
jules 140
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049470 | qwen/qwen3.7-plus |
awkweave-0049471 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 4 30 juniper
hana 25 10 harbor
jules 4 16 cobalt
eli 27 30 cobalt
kim 14 27 grove
alice 11 15 amber
| farah 34
hana 35
jules 20
eli 57
kim 41
alice 26
| hana 4 13 fable
alice 6 20 ember
hana 5 11 delta
ivan 6 4 grove
jules 15 16 grove
chen 9 10 indigo
gus 9 18 fable
hana 1 18 fable
dina 10 20 cobalt
chen 13 4 juniper
| hana 17
alice 26
hana 16
ivan 10
jules 31
chen 19
gus 27
hana 19
dina 30
chen 17
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049471-p1 | For every row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 4 30 juniper
hana 25 10 harbor
jules 4 16 cobalt
eli 27 30 cobalt
kim 14 27 grove
alice 11 15 amber
| farah 34
hana 35
jules 20
eli 57
kim 41
alice 26
| hana 4 13 fable
alice 6 20 ember
hana 5 11 delta
ivan 6 4 grove
jules 15 16 grove
chen 9 10 indigo
gus 9 18 fable
hana 1 18 fable
dina 10 20 cobalt
chen 13 4 juniper
| hana 17
alice 26
hana 16
ivan 10
jules 31
chen 19
gus 27
hana 19
dina 30
chen 17
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049471 | qwen/qwen3.7-plus |
awkweave-0049472 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | gus 27
chen 25
farah 23
jules 6
bruno 26
kim 4
hana 24
| gus pass
chen pass
farah fail
jules fail
bruno pass
kim fail
hana fail
| jules 10
gus 4
jules 4
kim 7
chen 1
alice 13
| jules fail
gus fail
jules fail
kim fail
chen fail
alice fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049472-p1 | Output the value in column 1; if column 2 is greater than or equal to 25, output 'pass', otherwise output 'fail'. | {print $1,($2>=25?"pass":"fail")} | gus 27
chen 25
farah 23
jules 6
bruno 26
kim 4
hana 24
| gus pass
chen pass
farah fail
jules fail
bruno pass
kim fail
hana fail
| jules 10
gus 4
jules 4
kim 7
chen 1
alice 13
| jules fail
gus fail
jules fail
kim fail
chen fail
alice fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049472 | qwen/qwen3.7-plus |
awkweave-0049473 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | jules juniper 79
gus amber 50
kim indigo 30
chen cobalt 58
eli harbor 88
chen amber 54
hana delta 98
hana fable 74
| JUNIPER
AMBER
INDIGO
COBALT
HARBOR
AMBER
DELTA
FABLE
| kim fable 83
farah birch 22
chen ember 68
dina harbor 118
jules birch 41
gus juniper 38
| FABLE
BIRCH
EMBER
HARBOR
BIRCH
JUNIPER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049473-p1 | Transform column 2 to uppercase letters and display only that modified column. | {print toupper($2)} | jules juniper 79
gus amber 50
kim indigo 30
chen cobalt 58
eli harbor 88
chen amber 54
hana delta 98
hana fable 74
| JUNIPER
AMBER
INDIGO
COBALT
HARBOR
AMBER
DELTA
FABLE
| kim fable 83
farah birch 22
chen ember 68
dina harbor 118
jules birch 41
gus juniper 38
| FABLE
BIRCH
EMBER
HARBOR
BIRCH
JUNIPER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049473 | qwen/qwen3.7-plus |
awkweave-0049474 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | birch 101
harbor 75
harbor 41
cobalt 76
grove 67
ember 22
indigo 17
birch 29
harbor 49
harbor 68
| birc
harb
harb
coba
grov
embe
indi
birc
harb
harb
| grove 117
delta 9
juniper 36
indigo 42
grove 100
amber 73
ember 103
harbor 16
| grov
delt
juni
indi
grov
ambe
embe
harb
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049474-p1 | Extract and print the first 4 characters from column 1. | {print substr($1,1,4)} | birch 101
harbor 75
harbor 41
cobalt 76
grove 67
ember 22
indigo 17
birch 29
harbor 49
harbor 68
| birc
harb
harb
coba
grov
embe
indi
birc
harb
harb
| grove 117
delta 9
juniper 36
indigo 42
grove 100
amber 73
ember 103
harbor 16
| grov
delt
juni
indi
grov
ambe
embe
harb
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049474 | qwen/qwen3.7-plus |
awkweave-0049475 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | cobalt_indigo 74
fable_grove 81
ember_fable 67
harbor_ember 106
juniper_delta 69
birch_fable 11
fable_cobalt 62
fable_harbor 108
| cobalt indigo
fable grove
ember fable
harbor ember
juniper delta
birch fable
fable cobalt
fable harbor
| delta_delta 69
harbor_delta 10
juniper_birch 72
cobalt_ember 101
harbor_grove 31
ember_harbor 104
juniper_grove 83
birch_grove 86
| delta delta
harbor delta
juniper birch
cobalt ember
harbor grove
ember harbor
juniper grove
birch grove
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049475-p1 | Substitute all underscores in column 1 with spaces and output the result. | {gsub(/_/," ",$1);print $1} | cobalt_indigo 74
fable_grove 81
ember_fable 67
harbor_ember 106
juniper_delta 69
birch_fable 11
fable_cobalt 62
fable_harbor 108
| cobalt indigo
fable grove
ember fable
harbor ember
juniper delta
birch fable
fable cobalt
fable harbor
| delta_delta 69
harbor_delta 10
juniper_birch 72
cobalt_ember 101
harbor_grove 31
ember_harbor 104
juniper_grove 83
birch_grove 86
| delta delta
harbor delta
juniper birch
cobalt ember
harbor grove
ember harbor
juniper grove
birch grove
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049475 | qwen/qwen3.7-plus |
awkweave-0049476 | 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 birch 76 closed
farah delta 102 active
hana juniper 81 ready
gus fable 118 pending
ivan fable 20 paused
ivan cobalt 8 pending
farah indigo 110 paused
ivan delta 40 failed
| closed 76 birch eli
active 102 delta farah
ready 81 juniper hana
pending 118 fable gus
paused 20 fable ivan
pending 8 cobalt ivan
paused 110 indigo farah
failed 40 delta ivan
| alice juniper 84 failed
lina indigo 13 closed
hana birch 100 ready
eli harbor 67 active
bruno grove 39 failed
lina cobalt 69 active
chen amber 65 paused
| failed 84 juniper alice
closed 13 indigo lina
ready 100 birch hana
active 67 harbor eli
failed 39 grove bruno
active 69 cobalt lina
paused 65 amber chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049476-p1 | Reverse the sequence of fields on each line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli birch 76 closed
farah delta 102 active
hana juniper 81 ready
gus fable 118 pending
ivan fable 20 paused
ivan cobalt 8 pending
farah indigo 110 paused
ivan delta 40 failed
| closed 76 birch eli
active 102 delta farah
ready 81 juniper hana
pending 118 fable gus
paused 20 fable ivan
pending 8 cobalt ivan
paused 110 indigo farah
failed 40 delta ivan
| alice juniper 84 failed
lina indigo 13 closed
hana birch 100 ready
eli harbor 67 active
bruno grove 39 failed
lina cobalt 69 active
chen amber 65 paused
| failed 84 juniper alice
closed 13 indigo lina
ready 100 birch hana
active 67 harbor eli
failed 39 grove bruno
active 69 cobalt lina
paused 65 amber chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049476 | qwen/qwen3.7-plus |
awkweave-0049477 | Print the number of whitespace-separated fields on each line. | {print NF} | alice cobalt 66 active
bruno delta 94 closed
kim delta 100 pending
ivan birch 98 paused
kim harbor 13 paused
jules delta 82 paused
| 4
4
4
4
4
4
| jules grove 9 pending
kim fable 96 active
lina ember 47 failed
kim ember 55 paused
kim harbor 44 ready
jules delta 72 closed
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049477-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | alice cobalt 66 active
bruno delta 94 closed
kim delta 100 pending
ivan birch 98 paused
kim harbor 13 paused
jules delta 82 paused
| 4
4
4
4
4
4
| jules grove 9 pending
kim fable 96 active
lina ember 47 failed
kim ember 55 paused
kim harbor 44 ready
jules delta 72 closed
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049477 | qwen/qwen3.7-plus |
awkweave-0049478 | 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]]} | farah alpha 31
farah gamma 2
eli beta 80
dina gamma 112
dina alpha 43
bruno alpha 24
farah alpha 86
| alpha 4
gamma 2
beta 1
| alice beta 91
dina delta 2
gus gamma 86
chen alpha 72
hana beta 113
jules alpha 93
hana beta 105
alice gamma 3
chen beta 28
jules beta 41
| beta 5
delta 1
gamma 2
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049478-p1 | Tally the occurrences of each unique value in column 2 and print the value alongside its count, maintaining the order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | farah alpha 31
farah gamma 2
eli beta 80
dina gamma 112
dina alpha 43
bruno alpha 24
farah alpha 86
| alpha 4
gamma 2
beta 1
| alice beta 91
dina delta 2
gus gamma 86
chen alpha 72
hana beta 113
jules alpha 93
hana beta 105
alice gamma 3
chen beta 28
jules beta 41
| beta 5
delta 1
gamma 2
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049478 | qwen/qwen3.7-plus |
awkweave-0049479 | 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 19
hana beta 23
chen delta 15
gus gamma 11
gus beta 17
lina delta 3
ivan alpha 24
dina gamma 10
| gamma 40
beta 40
delta 18
alpha 24
| hana gamma 14
eli beta 13
dina gamma 29
chen delta 22
alice gamma 26
jules beta 24
hana beta 8
dina gamma 27
dina alpha 12
alice gamma 15
| gamma 111
beta 45
delta 22
alpha 12
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049479-p1 | Calculate the sum of column 3 grouped by column 2 values, printing 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 19
hana beta 23
chen delta 15
gus gamma 11
gus beta 17
lina delta 3
ivan alpha 24
dina gamma 10
| gamma 40
beta 40
delta 18
alpha 24
| hana gamma 14
eli beta 13
dina gamma 29
chen delta 22
alice gamma 26
jules beta 24
hana beta 8
dina gamma 27
dina alpha 12
alice gamma 15
| gamma 111
beta 45
delta 22
alpha 12
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049479 | qwen/qwen3.7-plus |
awkweave-0049480 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma delta 112
beta ember 29
alpha birch 99
alpha delta 77
gamma cobalt 38
alpha delta 99
alpha cobalt 89
| gamma 2
alpha 4
| alpha amber 68
alpha birch 22
delta harbor 103
delta amber 15
gamma cobalt 21
alpha grove 53
| alpha 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049480-p1 | List each duplicate value found in column 1 along with its frequency, ordered by when the value first appeared. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma delta 112
beta ember 29
alpha birch 99
alpha delta 77
gamma cobalt 38
alpha delta 99
alpha cobalt 89
| gamma 2
alpha 4
| alpha amber 68
alpha birch 22
delta harbor 103
delta amber 15
gamma cobalt 21
alpha grove 53
| alpha 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049480 | qwen/qwen3.7-plus |
awkweave-0049481 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score note state record_id
r001 farah 24 failed
r002 lina 9 pending
r003 lina 24 paused
r004 eli 30 failed
r005 eli 20 active
r006 chen 26 failed
r007 gus 14 active
r008 jules 18 ready
| farah
lina
lina
eli
eli
chen
gus
jules
| score note state record_id
r001 eli 9 active
r002 alice 20 paused
r003 hana 13 ready
r004 lina 14 pending
r005 lina 13 pending
r006 hana 21 paused
r007 alice 16 closed
| eli
alice
hana
lina
lina
hana
alice
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049481-p1 | Treating the first row as a header, output the content of the note column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score note state record_id
r001 farah 24 failed
r002 lina 9 pending
r003 lina 24 paused
r004 eli 30 failed
r005 eli 20 active
r006 chen 26 failed
r007 gus 14 active
r008 jules 18 ready
| farah
lina
lina
eli
eli
chen
gus
jules
| score note state record_id
r001 eli 9 active
r002 alice 20 paused
r003 hana 13 ready
r004 lina 14 pending
r005 lina 13 pending
r006 hana 21 paused
r007 alice 16 closed
| eli
alice
hana
lina
lina
hana
alice
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049481 | qwen/qwen3.7-plus |
awkweave-0049482 | 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 hana 22 active
r002 alice 22 ready
r003 kim 22 failed
r004 chen 22 active
r005 gus 2 paused
r006 alice 28 failed
| alice
| record_id display_name score state
r001 alice 5 active
r002 dina 18 ready
r003 farah 25 pending
r004 alice 5 paused
r005 dina 19 closed
r006 lina 26 active
r007 alice 14 pending
r008 jules 4 failed
r009 alice 16 failed
| farah
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049482-p1 | With the first row as a header, print the display_name field for data rows 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 hana 22 active
r002 alice 22 ready
r003 kim 22 failed
r004 chen 22 active
r005 gus 2 paused
r006 alice 28 failed
| alice
| record_id display_name score state
r001 alice 5 active
r002 dina 18 ready
r003 farah 25 pending
r004 alice 5 paused
r005 dina 19 closed
r006 lina 26 active
r007 alice 14 pending
r008 jules 4 failed
r009 alice 16 failed
| farah
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049482 | qwen/qwen3.7-plus |
awkweave-0049483 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | eli 14 failed
eli 7 paused
bruno 26 closed
jules 2 paused
gus 14 ready
lina 28 closed
| eli
eli
bruno
jules
gus
lina
| jules 11 active
eli 13 pending
dina 23 closed
lina 18 closed
alice 18 failed
chen 28 active
| jules
eli
dina
lina
alice
chen
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049483-p1 | Given tab-separated input, extract and print the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | eli 14 failed
eli 7 paused
bruno 26 closed
jules 2 paused
gus 14 ready
lina 28 closed
| eli
eli
bruno
jules
gus
lina
| jules 11 active
eli 13 pending
dina 23 closed
lina 18 closed
alice 18 failed
chen 28 active
| jules
eli
dina
lina
alice
chen
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049483 | qwen/qwen3.7-plus |
awkweave-0049484 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | jules,3,closed
lina,30,ready
ivan,4,paused
bruno,25,failed
chen,1,active
lina,2,pending
| lina
bruno
| alice,20,paused
chen,15,closed
kim,12,failed
farah,3,pending
eli,10,failed
gus,21,paused
| alice
chen
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049484-p1 | Given comma-separated input without quoted commas, output the first field whenever the second field is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | jules,3,closed
lina,30,ready
ivan,4,paused
bruno,25,failed
chen,1,active
lina,2,pending
| lina
bruno
| alice,20,paused
chen,15,closed
kim,12,failed
farah,3,pending
eli,10,failed
gus,21,paused
| alice
chen
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049484 | qwen/qwen3.7-plus |
awkweave-0049485 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules harbor 35
alice delta 69
chen juniper 64
bruno indigo 7
jules fable 61
kim ember 36
gus birch 104
| jules harbor 35
alice delta 69
chen juniper 64
bruno indigo 7
jules fable 61
kim ember 36
gus birch 104
| chen fable 115
alice cobalt 94
eli delta 64
bruno cobalt 99
eli delta 36
jules ember 83
chen juniper 33
farah ember 6
dina juniper 17
eli ember 80
| chen fable 115
alice cobalt 94
eli delta 64
bruno cobalt 99
eli delta 36
jules ember 83
chen juniper 33
farah ember 6
dina juniper 17
eli ember 80
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049485-p1 | Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | jules harbor 35
alice delta 69
chen juniper 64
bruno indigo 7
jules fable 61
kim ember 36
gus birch 104
| jules harbor 35
alice delta 69
chen juniper 64
bruno indigo 7
jules fable 61
kim ember 36
gus birch 104
| chen fable 115
alice cobalt 94
eli delta 64
bruno cobalt 99
eli delta 36
jules ember 83
chen juniper 33
farah ember 6
dina juniper 17
eli ember 80
| chen fable 115
alice cobalt 94
eli delta 64
bruno cobalt 99
eli delta 36
jules ember 83
chen juniper 33
farah ember 6
dina juniper 17
eli ember 80
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049485 | qwen/qwen3.7-plus |
awkweave-0049486 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina ember 114 paused
eli fable 51 closed
jules ember 19 pending
farah harbor 0 paused
eli fable 56 failed
alice cobalt 24 active
alice birch 29 active
| jules ember 19 pending
| hana amber 2 pending
bruno juniper 8 pending
ivan juniper 52 ready
lina harbor 25 active
alice grove 55 pending
dina ember 97 active
gus grove 67 paused
ivan grove 36 ready
farah birch 79 pending
gus fable 104 paused
| bruno juniper 8 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049486-p1 | Identify and display 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} | dina ember 114 paused
eli fable 51 closed
jules ember 19 pending
farah harbor 0 paused
eli fable 56 failed
alice cobalt 24 active
alice birch 29 active
| jules ember 19 pending
| hana amber 2 pending
bruno juniper 8 pending
ivan juniper 52 ready
lina harbor 25 active
alice grove 55 pending
dina ember 97 active
gus grove 67 paused
ivan grove 36 ready
farah birch 79 pending
gus fable 104 paused
| bruno juniper 8 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049486 | qwen/qwen3.7-plus |
awkweave-0049487 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | jules 95
alice 104
eli 93
chen 80
lina 7
alice 103
bruno 101
dina 2
farah 32
jules 45
| chen 80
dina 2
| kim 25
eli 66
hana 1
kim 84
farah 44
farah 115
alice 120
kim 67
| kim 84
kim 67
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049487-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | jules 95
alice 104
eli 93
chen 80
lina 7
alice 103
bruno 101
dina 2
farah 32
jules 45
| chen 80
dina 2
| kim 25
eli 66
hana 1
kim 84
farah 44
farah 115
alice 120
kim 67
| kim 84
kim 67
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049487 | qwen/qwen3.7-plus |
awkweave-0049488 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta cobalt 84
delta cobalt 89
alpha amber 44
gamma grove 117
delta ember 42
beta indigo 51
beta grove 33
beta delta 36
beta cobalt 82
gamma grove 29
| 6
| alpha ember 49
delta indigo 65
gamma birch 59
gamma fable 10
gamma cobalt 53
alpha cobalt 88
gamma amber 40
gamma juniper 84
alpha amber 119
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049488-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} | beta cobalt 84
delta cobalt 89
alpha amber 44
gamma grove 117
delta ember 42
beta indigo 51
beta grove 33
beta delta 36
beta cobalt 82
gamma grove 29
| 6
| alpha ember 49
delta indigo 65
gamma birch 59
gamma fable 10
gamma cobalt 53
alpha cobalt 88
gamma amber 40
gamma juniper 84
alpha amber 119
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049488 | qwen/qwen3.7-plus |
awkweave-0049489 | 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} | chen 24 0
dina 27 18
farah 12 13
hana 14 5
kim 30 23
jules 15 7
jules 13 30
| dina 1.50
farah 0.92
hana 2.80
kim 1.30
jules 2.14
jules 0.43
| bruno 20 0
ivan 23 11
ivan 16 26
ivan 7 3
bruno 17 21
jules 24 22
| ivan 2.09
ivan 0.62
ivan 2.33
bruno 0.81
jules 1.09
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049489-p1 | For each record, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 24 0
dina 27 18
farah 12 13
hana 14 5
kim 30 23
jules 15 7
jules 13 30
| dina 1.50
farah 0.92
hana 2.80
kim 1.30
jules 2.14
jules 0.43
| bruno 20 0
ivan 23 11
ivan 16 26
ivan 7 3
bruno 17 21
jules 24 22
| ivan 2.09
ivan 0.62
ivan 2.33
bruno 0.81
jules 1.09
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049489 | qwen/qwen3.7-plus |
awkweave-0049500 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 119 grove
ivan 72 grove
lina 69 harbor
ivan 37 grove
kim 98 delta
gus 9 birch
kim 47 juniper
gus 117 fable
dina 10 harbor
| ivan 72 grove
lina 69 harbor
ivan 37 grove
kim 98 delta
gus 9 birch
kim 47 juniper
gus 117 fable
dina 10 harbor
| hana 24 birch
kim 99 birch
eli 1 indigo
alice 86 birch
eli 30 ember
farah 72 indigo
jules 118 delta
| kim 99 birch
eli 1 indigo
alice 86 birch
eli 30 ember
farah 72 indigo
jules 118 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049500-p1 | Ignore the header line and print all subsequent lines exactly as they appear. | NR > 1 | jules 119 grove
ivan 72 grove
lina 69 harbor
ivan 37 grove
kim 98 delta
gus 9 birch
kim 47 juniper
gus 117 fable
dina 10 harbor
| ivan 72 grove
lina 69 harbor
ivan 37 grove
kim 98 delta
gus 9 birch
kim 47 juniper
gus 117 fable
dina 10 harbor
| hana 24 birch
kim 99 birch
eli 1 indigo
alice 86 birch
eli 30 ember
farah 72 indigo
jules 118 delta
| kim 99 birch
eli 1 indigo
alice 86 birch
eli 30 ember
farah 72 indigo
jules 118 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049500 | qwen/qwen3.7-plus |
awkweave-0049501 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | eli ready 113
gus ready 65
lina paused 103
hana ready 37
gus failed 8
alice active 13
kim pending 21
bruno failed 15
lina closed 105
lina failed 61
| 1
| ivan failed 23
eli pending 17
jules active 23
gus failed 108
farah paused 50
farah active 105
chen closed 65
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049501-p1 | Count the number of entries where the second column contains the value 'closed' and print 0 if no such entries exist. | $2 == "closed"{n++}END{print n+0} | eli ready 113
gus ready 65
lina paused 103
hana ready 37
gus failed 8
alice active 13
kim pending 21
bruno failed 15
lina closed 105
lina failed 61
| 1
| ivan failed 23
eli pending 17
jules active 23
gus failed 108
farah paused 50
farah active 105
chen closed 65
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049501 | qwen/qwen3.7-plus |
awkweave-0049502 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | jules 28 ember
hana 22 grove
kim 18 grove
lina 10 ember
bruno 11 birch
hana 1 cobalt
lina 20 birch
alice 8 cobalt
jules 29 juniper
kim 27 juniper
| 174
| kim 10 indigo
dina 8 harbor
gus 7 fable
kim 25 birch
gus 27 birch
jules 23 delta
lina 18 grove
gus 1 harbor
jules 26 indigo
bruno 12 fable
| 157
| sum_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.