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-0037001-p1 | Treat the initial line as a header and output the record_id field for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | state region display_name record_id
r001 jules 3 active
r002 lina 4 pending
r003 dina 21 paused
r004 farah 13 active
r005 bruno 5 pending
r006 gus 1 paused
| active
pending
paused
active
pending
paused
| state region display_name record_id
r001 farah 23 closed
r002 eli 21 ready
r003 farah 26 paused
r004 dina 20 closed
r005 chen 27 closed
r006 lina 26 pending
r007 bruno 27 pending
| closed
ready
paused
closed
closed
pending
pending
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037001 | qwen/qwen3.7-plus |
awkweave-0037002 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 gus 25 ready
r002 gus 15 paused
r003 kim 25 pending
r004 kim 4 ready
r005 eli 23 pending
r006 ivan 14 paused
r007 chen 14 failed
r008 kim 24 active
| gus
gus
kim
eli
kim
| record_id display_name score state
r001 eli 9 ready
r002 eli 18 pending
r003 dina 16 pending
r004 alice 12 closed
r005 kim 8 closed
r006 bruno 25 paused
r007 lina 2 active
r008 hana 2 active
r009 farah 16 closed
r010 dina 15 pending
| eli
dina
bruno
farah
dina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037002-p1 | Ignoring the header row, output the display_name for entries where the score is strictly greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 gus 25 ready
r002 gus 15 paused
r003 kim 25 pending
r004 kim 4 ready
r005 eli 23 pending
r006 ivan 14 paused
r007 chen 14 failed
r008 kim 24 active
| gus
gus
kim
eli
kim
| record_id display_name score state
r001 eli 9 ready
r002 eli 18 pending
r003 dina 16 pending
r004 alice 12 closed
r005 kim 8 closed
r006 bruno 25 paused
r007 lina 2 active
r008 hana 2 active
r009 farah 16 closed
r010 dina 15 pending
| eli
dina
bruno
farah
dina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037002 | qwen/qwen3.7-plus |
awkweave-0037003 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | gus 17 paused
hana 7 pending
lina 3 pending
eli 13 paused
eli 29 paused
lina 6 paused
kim 22 ready
chen 25 closed
ivan 28 paused
bruno 8 pending
| paused
pending
pending
paused
paused
paused
ready
closed
paused
pending
| gus 13 pending
hana 29 ready
alice 12 ready
hana 15 closed
alice 28 pending
eli 4 paused
jules 20 pending
| pending
ready
ready
closed
pending
paused
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037003-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | gus 17 paused
hana 7 pending
lina 3 pending
eli 13 paused
eli 29 paused
lina 6 paused
kim 22 ready
chen 25 closed
ivan 28 paused
bruno 8 pending
| paused
pending
pending
paused
paused
paused
ready
closed
paused
pending
| gus 13 pending
hana 29 ready
alice 12 ready
hana 15 closed
alice 28 pending
eli 4 paused
jules 20 pending
| pending
ready
ready
closed
pending
paused
pending
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0037003 | qwen/qwen3.7-plus |
awkweave-0037004 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10. | BEGIN{FS=OFS=","}$2>10{print $1} | chen,24,active
lina,2,closed
jules,20,paused
lina,28,paused
eli,22,closed
alice,8,active
dina,5,ready
| chen
jules
lina
eli
| alice,11,paused
dina,25,closed
hana,5,paused
farah,17,active
chen,16,paused
gus,15,failed
kim,14,ready
bruno,30,paused
| alice
dina
farah
chen
gus
kim
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037004-p1 | For this unquoted CSV data, output the first field only if the second field is greater than 10. | BEGIN{FS=OFS=","}$2>10{print $1} | chen,24,active
lina,2,closed
jules,20,paused
lina,28,paused
eli,22,closed
alice,8,active
dina,5,ready
| chen
jules
lina
eli
| alice,11,paused
dina,25,closed
hana,5,paused
farah,17,active
chen,16,paused
gus,15,failed
kim,14,ready
bruno,30,paused
| alice
dina
farah
chen
gus
kim
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037004 | qwen/qwen3.7-plus |
awkweave-0037005 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules indigo 119
hana cobalt 35
hana indigo 74
chen birch 85
ivan harbor 56
dina ember 36
kim birch 101
| jules indigo 119
hana cobalt 35
hana indigo 74
chen birch 85
ivan harbor 56
dina ember 36
kim birch 101
| chen cobalt 76
dina delta 28
dina amber 38
gus birch 40
farah harbor 9
alice amber 20
| chen cobalt 76
dina delta 28
dina amber 38
gus birch 40
farah harbor 9
alice amber 20
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037005-p1 | Remove leading and trailing spaces from the text and replace any sequence of internal whitespace with a single space. | {$1=$1;print} | jules indigo 119
hana cobalt 35
hana indigo 74
chen birch 85
ivan harbor 56
dina ember 36
kim birch 101
| jules indigo 119
hana cobalt 35
hana indigo 74
chen birch 85
ivan harbor 56
dina ember 36
kim birch 101
| chen cobalt 76
dina delta 28
dina amber 38
gus birch 40
farah harbor 9
alice amber 20
| chen cobalt 76
dina delta 28
dina amber 38
gus birch 40
farah harbor 9
alice amber 20
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037005 | qwen/qwen3.7-plus |
awkweave-0037006 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno amber 87 pending
ivan ember 95 closed
chen indigo 105 active
bruno birch 25 failed
gus grove 14 active
lina amber 92 failed
ivan cobalt 86 pending
hana birch 39 active
farah grove 72 paused
| bruno amber 87 pending
| bruno fable 12 paused
jules ember 9 ready
jules harbor 37 closed
bruno cobalt 7 active
alice cobalt 28 paused
farah birch 76 pending
| jules harbor 37 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037006-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | bruno amber 87 pending
ivan ember 95 closed
chen indigo 105 active
bruno birch 25 failed
gus grove 14 active
lina amber 92 failed
ivan cobalt 86 pending
hana birch 39 active
farah grove 72 paused
| bruno amber 87 pending
| bruno fable 12 paused
jules ember 9 ready
jules harbor 37 closed
bruno cobalt 7 active
alice cobalt 28 paused
farah birch 76 pending
| jules harbor 37 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037006 | qwen/qwen3.7-plus |
awkweave-0037007 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | eli 39
kim 55
chen 61
ivan 88
chen 94
lina 14
bruno 34
| kim 55
chen 94
| farah 58
ivan 22
alice 117
ivan 23
alice 91
farah 93
| ivan 22
alice 91
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037007-p1 | Print lines 2, 5, 8, and so on, effectively selecting every third line starting from the second. | NR%3==2 | eli 39
kim 55
chen 61
ivan 88
chen 94
lina 14
bruno 34
| kim 55
chen 94
| farah 58
ivan 22
alice 117
ivan 23
alice 91
farah 93
| ivan 22
alice 91
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037007 | qwen/qwen3.7-plus |
awkweave-0037008 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 81
gamma cobalt 72
delta indigo 60
delta amber 87
delta cobalt 30
alpha indigo 54
delta delta 24
delta ember 11
| 6
| gamma ember 65
alpha harbor 91
alpha fable 56
gamma fable 85
gamma fable 2
beta birch 57
beta delta 97
alpha juniper 63
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037008-p1 | Calculate and print only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 81
gamma cobalt 72
delta indigo 60
delta amber 87
delta cobalt 30
alpha indigo 54
delta delta 24
delta ember 11
| 6
| gamma ember 65
alpha harbor 91
alpha fable 56
gamma fable 85
gamma fable 2
beta birch 57
beta delta 97
alpha juniper 63
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037008 | qwen/qwen3.7-plus |
awkweave-0037009 | 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 6 0
dina 5 25
dina 4 11
dina 25 5
lina 12 13
kim 7 13
chen 25 1
hana 10 1
lina 18 15
| dina 0.20
dina 0.36
dina 5.00
lina 0.92
kim 0.54
chen 25.00
hana 10.00
lina 1.20
| eli 1 0
kim 2 7
eli 2 8
ivan 9 28
hana 18 3
alice 25 23
hana 10 12
| kim 0.29
eli 0.25
ivan 0.32
hana 6.00
alice 1.09
hana 0.83
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037009-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 6 0
dina 5 25
dina 4 11
dina 25 5
lina 12 13
kim 7 13
chen 25 1
hana 10 1
lina 18 15
| dina 0.20
dina 0.36
dina 5.00
lina 0.92
kim 0.54
chen 25.00
hana 10.00
lina 1.20
| eli 1 0
kim 2 7
eli 2 8
ivan 9 28
hana 18 3
alice 25 23
hana 10 12
| kim 0.29
eli 0.25
ivan 0.32
hana 6.00
alice 1.09
hana 0.83
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037009 | qwen/qwen3.7-plus |
awkweave-0037010 | 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]} | bruno fable 16
bruno juniper 4
ivan harbor 19
gus grove 26
dina harbor 22
eli cobalt 7
dina indigo 9
farah birch 19
| gus grove 26
dina harbor 22
ivan harbor 19
| farah cobalt 6
eli delta 15
eli amber 23
ivan grove 14
alice fable 19
gus birch 2
hana amber 30
| hana amber 30
eli amber 23
alice fable 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037010-p1 | Output the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno fable 16
bruno juniper 4
ivan harbor 19
gus grove 26
dina harbor 22
eli cobalt 7
dina indigo 9
farah birch 19
| gus grove 26
dina harbor 22
ivan harbor 19
| farah cobalt 6
eli delta 15
eli amber 23
ivan grove 14
alice fable 19
gus birch 2
hana amber 30
| hana amber 30
eli amber 23
alice fable 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037010 | qwen/qwen3.7-plus |
awkweave-0037011 | Print column 2 followed by column 1 for every record. | {print $2, $1} | 89 72 cobalt alice
84 22 amber chen
94 89 cobalt jules
43 39 harbor farah
119 118 fable farah
55 18 fable bruno
6 49 grove lina
87 116 ember bruno
68 111 ember lina
| 72 89
22 84
89 94
39 43
118 119
18 55
49 6
116 87
111 68
| 44 35 cobalt farah
13 2 amber jules
68 40 juniper ivan
13 98 harbor ivan
92 36 birch dina
78 42 ember hana
89 88 amber chen
| 35 44
2 13
40 68
98 13
36 92
42 78
88 89
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037011-p1 | Swap the first two columns for every record, printing column 2 before column 1. | {print $2, $1} | 89 72 cobalt alice
84 22 amber chen
94 89 cobalt jules
43 39 harbor farah
119 118 fable farah
55 18 fable bruno
6 49 grove lina
87 116 ember bruno
68 111 ember lina
| 72 89
22 84
89 94
39 43
118 119
18 55
49 6
116 87
111 68
| 44 35 cobalt farah
13 2 amber jules
68 40 juniper ivan
13 98 harbor ivan
92 36 birch dina
78 42 ember hana
89 88 amber chen
| 35 44
2 13
40 68
98 13
36 92
42 78
88 89
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037011 | qwen/qwen3.7-plus |
awkweave-0037012 | Print the last field of every input line. | {print $NF} | chen 25 paused harbor
eli 106 closed grove
hana 51 failed fable
chen 51 active birch
lina 6 paused delta
hana 10 closed amber
bruno 77 closed amber
bruno 51 pending indigo
| harbor
grove
fable
birch
delta
amber
amber
indigo
| chen 2 closed delta
dina 100 paused delta
farah 106 failed delta
ivan 21 ready ember
dina 112 pending harbor
alice 20 closed delta
| delta
delta
delta
ember
harbor
delta
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037012-p1 | Output the final field from each input line. | {print $NF} | chen 25 paused harbor
eli 106 closed grove
hana 51 failed fable
chen 51 active birch
lina 6 paused delta
hana 10 closed amber
bruno 77 closed amber
bruno 51 pending indigo
| harbor
grove
fable
birch
delta
amber
amber
indigo
| chen 2 closed delta
dina 100 paused delta
farah 106 failed delta
ivan 21 ready ember
dina 112 pending harbor
alice 20 closed delta
| delta
delta
delta
ember
harbor
delta
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037012 | qwen/qwen3.7-plus |
awkweave-0037013 | Print the complete records where column 1 is less than 52. | $1 < 52 | 88 cobalt closed
39 fable failed
13 cobalt closed
112 indigo pending
42 indigo active
117 cobalt ready
40 grove paused
99 juniper closed
95 cobalt active
| 39 fable failed
13 cobalt closed
42 indigo active
40 grove paused
| 82 ember failed
48 juniper failed
55 ember active
5 juniper active
47 cobalt failed
79 fable pending
61 delta ready
| 48 juniper failed
5 juniper active
47 cobalt failed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037013-p1 | Display full records where the value in the first column is strictly less than 52. | $1 < 52 | 88 cobalt closed
39 fable failed
13 cobalt closed
112 indigo pending
42 indigo active
117 cobalt ready
40 grove paused
99 juniper closed
95 cobalt active
| 39 fable failed
13 cobalt closed
42 indigo active
40 grove paused
| 82 ember failed
48 juniper failed
55 ember active
5 juniper active
47 cobalt failed
79 fable pending
61 delta ready
| 48 juniper failed
5 juniper active
47 cobalt failed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037013 | qwen/qwen3.7-plus |
awkweave-0037014 | Show whole lines whose 2nd field is between 11 and 18, inclusive. | $2 >= 11 && $2 <= 18 | pending 16 amber ready
active 10 birch paused
ready 7 fable closed
failed 4 fable failed
failed 29 delta failed
active 11 harbor failed
| pending 16 amber ready
active 11 harbor failed
| failed 18 harbor ready
pending 29 indigo closed
paused 27 juniper ready
ready 25 birch failed
pending 30 harbor pending
ready 25 harbor closed
closed 8 delta paused
pending 13 ember failed
| failed 18 harbor ready
pending 13 ember failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037014-p1 | Show entire lines where the second field falls within the inclusive range of 11 to 18. | $2 >= 11 && $2 <= 18 | pending 16 amber ready
active 10 birch paused
ready 7 fable closed
failed 4 fable failed
failed 29 delta failed
active 11 harbor failed
| pending 16 amber ready
active 11 harbor failed
| failed 18 harbor ready
pending 29 indigo closed
paused 27 juniper ready
ready 25 birch failed
pending 30 harbor pending
ready 25 harbor closed
closed 8 delta paused
pending 13 ember failed
| failed 18 harbor ready
pending 13 ember failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037014 | qwen/qwen3.7-plus |
awkweave-0037015 | Print column 2 only for rows where column 3 is exactly active. | $3 == "active"{print $2} | 116 dina failed fable
25 farah failed amber
82 bruno active birch
65 jules failed harbor
90 chen paused amber
22 farah ready indigo
8 lina paused harbor
104 kim paused cobalt
73 ivan paused fable
| bruno
| 19 kim active delta
79 dina failed delta
71 ivan ready delta
83 bruno pending juniper
2 lina ready fable
27 chen paused birch
64 eli failed fable
104 kim failed birch
87 hana closed grove
| kim
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037015-p1 | Extract and print only the second column for rows where the third column equals active. | $3 == "active"{print $2} | 116 dina failed fable
25 farah failed amber
82 bruno active birch
65 jules failed harbor
90 chen paused amber
22 farah ready indigo
8 lina paused harbor
104 kim paused cobalt
73 ivan paused fable
| bruno
| 19 kim active delta
79 dina failed delta
71 ivan ready delta
83 bruno pending juniper
2 lina ready fable
27 chen paused birch
64 eli failed fable
104 kim failed birch
87 hana closed grove
| kim
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037015 | qwen/qwen3.7-plus |
awkweave-0037016 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | indigo ERROR 65
birch WARN 23
juniper ERROR 8
ember INFO 117
indigo DEBUG 47
delta WARN 114
ember ERROR 50
birch INFO 83
fable DEBUG 89
| ember INFO 117
birch INFO 83
| birch WARN 55
ember ERROR 4
amber ERROR 105
juniper DEBUG 0
cobalt INFO 93
ember INFO 19
| cobalt INFO 93
ember INFO 19
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037016-p1 | Print all fields from lines where the second field starts with the prefix INFO. | $2 ~ /^INFO/ | indigo ERROR 65
birch WARN 23
juniper ERROR 8
ember INFO 117
indigo DEBUG 47
delta WARN 114
ember ERROR 50
birch INFO 83
fable DEBUG 89
| ember INFO 117
birch INFO 83
| birch WARN 55
ember ERROR 4
amber ERROR 105
juniper DEBUG 0
cobalt INFO 93
ember INFO 19
| cobalt INFO 93
ember INFO 19
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037016 | qwen/qwen3.7-plus |
awkweave-0037017 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | amber 72 ready
grove 73 closed
birch 26 active
indigo 112 closed
birch 78 paused
birch 15 closed
delta 11 failed
amber 111 ready
ember 117 closed
indigo 999 active
| amber 72 ready
grove 73 closed
birch 26 active
birch 78 paused
birch 15 closed
delta 11 failed
amber 111 ready
ember 117 closed
| indigo 66 failed
amber 97 pending
ember 60 paused
amber 116 active
grove 30 closed
indigo 55 failed
birch 73 pending
fable 53 closed
indigo 999 active
| amber 97 pending
ember 60 paused
amber 116 active
grove 30 closed
birch 73 pending
fable 53 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037017-p1 | Output every line that does not contain the exact string indigo. | $0 !~ /indigo/ | amber 72 ready
grove 73 closed
birch 26 active
indigo 112 closed
birch 78 paused
birch 15 closed
delta 11 failed
amber 111 ready
ember 117 closed
indigo 999 active
| amber 72 ready
grove 73 closed
birch 26 active
birch 78 paused
birch 15 closed
delta 11 failed
amber 111 ready
ember 117 closed
| indigo 66 failed
amber 97 pending
ember 60 paused
amber 116 active
grove 30 closed
indigo 55 failed
birch 73 pending
fable 53 closed
indigo 999 active
| amber 97 pending
ember 60 paused
amber 116 active
grove 30 closed
birch 73 pending
fable 53 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037017 | qwen/qwen3.7-plus |
awkweave-0037018 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | hana delta 31
gus birch 35
farah amber 93
hana ember 14
ivan cobalt 109
farah grove 112
chen fable 80
ivan amber 30
| farah amber 93
hana ember 14
ivan cobalt 109
farah grove 112
| jules cobalt 70
bruno birch 59
ivan harbor 0
chen cobalt 114
gus ember 57
kim delta 100
farah delta 24
gus amber 17
| ivan harbor 0
chen cobalt 114
gus ember 57
kim delta 100
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037018-p1 | Print lines numbered 3 through 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | hana delta 31
gus birch 35
farah amber 93
hana ember 14
ivan cobalt 109
farah grove 112
chen fable 80
ivan amber 30
| farah amber 93
hana ember 14
ivan cobalt 109
farah grove 112
| jules cobalt 70
bruno birch 59
ivan harbor 0
chen cobalt 114
gus ember 57
kim delta 100
farah delta 24
gus amber 17
| ivan harbor 0
chen cobalt 114
gus ember 57
kim delta 100
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037018 | qwen/qwen3.7-plus |
awkweave-0037019 | Output only the first 3 records. | NR <= 3 | kim 82 birch
gus 72 juniper
chen 2 birch
eli 114 amber
lina 10 indigo
hana 77 harbor
farah 73 birch
lina 77 delta
lina 79 ember
| kim 82 birch
gus 72 juniper
chen 2 birch
| ivan 45 delta
dina 114 indigo
lina 106 indigo
bruno 104 juniper
ivan 51 birch
ivan 86 delta
| ivan 45 delta
dina 114 indigo
lina 106 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037019-p1 | Output only the first 3 records. | NR <= 3 | kim 82 birch
gus 72 juniper
chen 2 birch
eli 114 amber
lina 10 indigo
hana 77 harbor
farah 73 birch
lina 77 delta
lina 79 ember
| kim 82 birch
gus 72 juniper
chen 2 birch
| ivan 45 delta
dina 114 indigo
lina 106 indigo
bruno 104 juniper
ivan 51 birch
ivan 86 delta
| ivan 45 delta
dina 114 indigo
lina 106 indigo
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0037019 | qwen/qwen3.7-plus |
awkweave-0037020 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 37 birch
chen 75 harbor
farah 73 grove
chen 0 harbor
gus 45 cobalt
dina 24 birch
alice 22 delta
lina 19 indigo
dina 35 grove
| chen 75 harbor
farah 73 grove
chen 0 harbor
gus 45 cobalt
dina 24 birch
alice 22 delta
lina 19 indigo
dina 35 grove
| jules 84 fable
alice 24 indigo
dina 28 grove
gus 60 ember
farah 47 juniper
jules 0 birch
ivan 83 birch
gus 4 indigo
| alice 24 indigo
dina 28 grove
gus 60 ember
farah 47 juniper
jules 0 birch
ivan 83 birch
gus 4 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037020-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | bruno 37 birch
chen 75 harbor
farah 73 grove
chen 0 harbor
gus 45 cobalt
dina 24 birch
alice 22 delta
lina 19 indigo
dina 35 grove
| chen 75 harbor
farah 73 grove
chen 0 harbor
gus 45 cobalt
dina 24 birch
alice 22 delta
lina 19 indigo
dina 35 grove
| jules 84 fable
alice 24 indigo
dina 28 grove
gus 60 ember
farah 47 juniper
jules 0 birch
ivan 83 birch
gus 4 indigo
| alice 24 indigo
dina 28 grove
gus 60 ember
farah 47 juniper
jules 0 birch
ivan 83 birch
gus 4 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037020 | qwen/qwen3.7-plus |
awkweave-0037021 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | farah ready 5
kim paused 67
kim ready 24
chen failed 17
ivan active 37
dina active 48
| 1
| dina pending 36
eli closed 65
kim active 60
bruno pending 77
hana ready 79
farah active 90
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037021-p1 | Count the number of records where the second column is paused; output 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | farah ready 5
kim paused 67
kim ready 24
chen failed 17
ivan active 37
dina active 48
| 1
| dina pending 36
eli closed 65
kim active 60
bruno pending 77
hana ready 79
farah active 90
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037021 | qwen/qwen3.7-plus |
awkweave-0037022 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 4 alice ember
27 dina harbor
19 ivan cobalt
12 eli ember
19 hana fable
28 jules birch
2 jules ember
21 eli amber
2 hana ember
| 134
| 4 lina cobalt
6 jules cobalt
23 lina juniper
18 farah delta
14 eli birch
29 eli harbor
12 hana amber
8 eli amber
24 farah birch
| 138
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037022-p1 | Compute and display the sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 4 alice ember
27 dina harbor
19 ivan cobalt
12 eli ember
19 hana fable
28 jules birch
2 jules ember
21 eli amber
2 hana ember
| 134
| 4 lina cobalt
6 jules cobalt
23 lina juniper
18 farah delta
14 eli birch
29 eli harbor
12 hana amber
8 eli amber
24 farah birch
| 138
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037022 | qwen/qwen3.7-plus |
awkweave-0037023 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | gus delta 7
eli delta 13
kim birch 29
dina birch 16
ivan cobalt 23
lina juniper 24
| 18.67
| chen indigo 6
ivan amber 25
kim indigo 20
dina harbor 17
kim juniper 1
jules fable 25
ivan birch 2
| 13.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037023-p1 | Calculate the average of the values in the third column and print the result rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | gus delta 7
eli delta 13
kim birch 29
dina birch 16
ivan cobalt 23
lina juniper 24
| 18.67
| chen indigo 6
ivan amber 25
kim indigo 20
dina harbor 17
kim juniper 1
jules fable 25
ivan birch 2
| 13.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037023 | qwen/qwen3.7-plus |
awkweave-0037024 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | dina delta 16
lina cobalt 27
eli cobalt 9
eli ember 18
chen indigo 11
dina indigo 27
kim fable 6
| 6
| farah harbor 30
ivan amber 2
jules delta 5
kim indigo 17
jules juniper 1
chen cobalt 4
farah amber 12
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037024-p1 | Identify and output the minimum number found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | dina delta 16
lina cobalt 27
eli cobalt 9
eli ember 18
chen indigo 11
dina indigo 27
kim fable 6
| 6
| farah harbor 30
ivan amber 2
jules delta 5
kim indigo 17
jules juniper 1
chen cobalt 4
farah amber 12
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037024 | qwen/qwen3.7-plus |
awkweave-0037025 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | amber 9 kim
fable 17 jules
ember 20 hana
amber 2 alice
amber 20 hana
grove 27 lina
| 27
| indigo 13 hana
grove 3 gus
juniper 15 jules
grove 6 hana
ember 10 alice
indigo 26 jules
juniper 30 hana
delta 14 hana
amber 16 hana
delta 24 farah
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037025-p1 | Determine and display the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | amber 9 kim
fable 17 jules
ember 20 hana
amber 2 alice
amber 20 hana
grove 27 lina
| 27
| indigo 13 hana
grove 3 gus
juniper 15 jules
grove 6 hana
ember 10 alice
indigo 26 jules
juniper 30 hana
delta 14 hana
amber 16 hana
delta 24 farah
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037025 | qwen/qwen3.7-plus |
awkweave-0037026 | Count all input records and print the total. | END{print NR} | bruno 116
gus 50
kim 51
alice 107
ivan 10
gus 58
jules 25
| 7
| eli 42
alice 78
gus 97
gus 79
jules 113
eli 94
dina 24
chen 67
jules 109
bruno 104
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037026-p1 | Calculate the total number of input records and print the count. | END{print NR} | bruno 116
gus 50
kim 51
alice 107
ivan 10
gus 58
jules 25
| 7
| eli 42
alice 78
gus 97
gus 79
jules 113
eli 94
dina 24
chen 67
jules 109
bruno 104
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037026 | qwen/qwen3.7-plus |
awkweave-0037027 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | bruno amber 64
gus juniper 59
chen ember 93
chen ember 93
kim fable 88
bruno ember 98
farah amber 120
chen juniper 33
| bruno amber 64
gus juniper 59
chen ember 93
kim fable 88
bruno ember 98
farah amber 120
chen juniper 33
| gus ember 75
ivan indigo 61
ivan birch 0
chen ember 50
ivan indigo 61
jules grove 114
farah birch 75
| gus ember 75
ivan indigo 61
ivan birch 0
chen ember 50
jules grove 114
farah birch 75
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037027-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | bruno amber 64
gus juniper 59
chen ember 93
chen ember 93
kim fable 88
bruno ember 98
farah amber 120
chen juniper 33
| bruno amber 64
gus juniper 59
chen ember 93
kim fable 88
bruno ember 98
farah amber 120
chen juniper 33
| gus ember 75
ivan indigo 61
ivan birch 0
chen ember 50
ivan indigo 61
jules grove 114
farah birch 75
| gus ember 75
ivan indigo 61
ivan birch 0
chen ember 50
jules grove 114
farah birch 75
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037027 | qwen/qwen3.7-plus |
awkweave-0037028 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | lina cobalt 120
lina ember 21
bruno harbor 68
bruno delta 92
jules ember 117
lina cobalt 91
lina juniper 44
bruno birch 20
| lina cobalt 120
bruno harbor 68
jules ember 117
| bruno cobalt 22
chen delta 60
dina grove 23
farah birch 117
gus birch 102
chen ember 100
hana ember 10
| bruno cobalt 22
chen delta 60
dina grove 23
farah birch 117
gus birch 102
hana ember 10
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037028-p1 | Retain only the initial line for every unique value in the first column, keeping the original order intact. | !seen[$1]++ | lina cobalt 120
lina ember 21
bruno harbor 68
bruno delta 92
jules ember 117
lina cobalt 91
lina juniper 44
bruno birch 20
| lina cobalt 120
bruno harbor 68
jules ember 117
| bruno cobalt 22
chen delta 60
dina grove 23
farah birch 117
gus birch 102
chen ember 100
hana ember 10
| bruno cobalt 22
chen delta 60
dina grove 23
farah birch 117
gus birch 102
hana ember 10
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037028 | qwen/qwen3.7-plus |
awkweave-0037029 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 26 fable
alice 7 delta
ivan 26 indigo
hana 3 delta
hana 2 grove
chen 10 fable
alice 4 indigo
| chen 26
alice 33
ivan 59
hana 62
hana 64
chen 74
alice 78
| bruno 21 juniper
lina 19 amber
lina 20 cobalt
lina 13 delta
alice 22 harbor
alice 30 harbor
| bruno 21
lina 40
lina 60
lina 73
alice 95
alice 125
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037029-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | chen 26 fable
alice 7 delta
ivan 26 indigo
hana 3 delta
hana 2 grove
chen 10 fable
alice 4 indigo
| chen 26
alice 33
ivan 59
hana 62
hana 64
chen 74
alice 78
| bruno 21 juniper
lina 19 amber
lina 20 cobalt
lina 13 delta
alice 22 harbor
alice 30 harbor
| bruno 21
lina 40
lina 60
lina 73
alice 95
alice 125
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037029 | qwen/qwen3.7-plus |
awkweave-0037030 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 27 25 birch
lina 2 14 delta
chen 22 7 birch
bruno 10 14 harbor
farah 14 14 indigo
gus 19 7 juniper
gus 20 10 amber
| jules 52
lina 16
chen 29
bruno 24
farah 28
gus 26
gus 30
| eli 23 28 amber
kim 25 7 birch
chen 21 23 harbor
chen 11 18 indigo
lina 27 4 amber
alice 28 23 birch
alice 23 23 fable
| eli 51
kim 32
chen 44
chen 29
lina 31
alice 51
alice 46
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037030-p1 | For each row, display the first field followed by the combined total of the second and third fields. | {print $1,$2+$3} | jules 27 25 birch
lina 2 14 delta
chen 22 7 birch
bruno 10 14 harbor
farah 14 14 indigo
gus 19 7 juniper
gus 20 10 amber
| jules 52
lina 16
chen 29
bruno 24
farah 28
gus 26
gus 30
| eli 23 28 amber
kim 25 7 birch
chen 21 23 harbor
chen 11 18 indigo
lina 27 4 amber
alice 28 23 birch
alice 23 23 fable
| eli 51
kim 32
chen 44
chen 29
lina 31
alice 51
alice 46
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037030 | qwen/qwen3.7-plus |
awkweave-0037031 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | farah 7
bruno 8
lina 5
eli 13
eli 22
chen 14
| farah fail
bruno fail
lina fail
eli fail
eli fail
chen fail
| farah 30
ivan 10
ivan 29
chen 17
alice 28
eli 17
lina 23
kim 7
| farah pass
ivan fail
ivan pass
chen fail
alice pass
eli fail
lina fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037031-p1 | Display the first column and output 'pass' if the second column is 25 or greater; otherwise, output 'fail'. | {print $1,($2>=25?"pass":"fail")} | farah 7
bruno 8
lina 5
eli 13
eli 22
chen 14
| farah fail
bruno fail
lina fail
eli fail
eli fail
chen fail
| farah 30
ivan 10
ivan 29
chen 17
alice 28
eli 17
lina 23
kim 7
| farah pass
ivan fail
ivan pass
chen fail
alice pass
eli fail
lina fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037031 | qwen/qwen3.7-plus |
awkweave-0037032 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | farah grove 12
kim fable 118
gus harbor 42
ivan birch 97
farah harbor 23
gus grove 48
jules fable 90
jules amber 102
dina cobalt 31
dina delta 5
| GROVE
FABLE
HARBOR
BIRCH
HARBOR
GROVE
FABLE
AMBER
COBALT
DELTA
| alice ember 34
hana birch 82
bruno delta 36
bruno ember 2
kim harbor 35
bruno cobalt 88
dina grove 80
dina amber 61
| EMBER
BIRCH
DELTA
EMBER
HARBOR
COBALT
GROVE
AMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037032-p1 | Transform the second column to uppercase letters and print only this modified column. | {print toupper($2)} | farah grove 12
kim fable 118
gus harbor 42
ivan birch 97
farah harbor 23
gus grove 48
jules fable 90
jules amber 102
dina cobalt 31
dina delta 5
| GROVE
FABLE
HARBOR
BIRCH
HARBOR
GROVE
FABLE
AMBER
COBALT
DELTA
| alice ember 34
hana birch 82
bruno delta 36
bruno ember 2
kim harbor 35
bruno cobalt 88
dina grove 80
dina amber 61
| EMBER
BIRCH
DELTA
EMBER
HARBOR
COBALT
GROVE
AMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037032 | qwen/qwen3.7-plus |
awkweave-0037033 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | amber 82
indigo 30
indigo 24
harbor 87
indigo 29
birch 62
grove 72
| be
di
di
rb
di
rc
ov
| amber 86
fable 10
amber 12
grove 36
juniper 30
cobalt 32
| be
bl
be
ov
ni
ba
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037033-p1 | Extract and print a substring of length 2 from the first column, beginning at the third character. | {print substr($1,3,2)} | amber 82
indigo 30
indigo 24
harbor 87
indigo 29
birch 62
grove 72
| be
di
di
rb
di
rc
ov
| amber 86
fable 10
amber 12
grove 36
juniper 30
cobalt 32
| be
bl
be
ov
ni
ba
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037033 | qwen/qwen3.7-plus |
awkweave-0037034 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_amber 59
indigo_fable 75
birch_grove 65
birch_harbor 21
amber_grove 1
harbor_fable 5
ember_fable 58
grove_delta 32
cobalt_amber 20
| birch amber
indigo fable
birch grove
birch harbor
amber grove
harbor fable
ember fable
grove delta
cobalt amber
| amber_ember 63
juniper_birch 69
fable_juniper 58
amber_cobalt 54
juniper_indigo 12
amber_juniper 11
amber_fable 78
| amber ember
juniper birch
fable juniper
amber cobalt
juniper indigo
amber juniper
amber fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037034-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_amber 59
indigo_fable 75
birch_grove 65
birch_harbor 21
amber_grove 1
harbor_fable 5
ember_fable 58
grove_delta 32
cobalt_amber 20
| birch amber
indigo fable
birch grove
birch harbor
amber grove
harbor fable
ember fable
grove delta
cobalt amber
| amber_ember 63
juniper_birch 69
fable_juniper 58
amber_cobalt 54
juniper_indigo 12
amber_juniper 11
amber_fable 78
| amber ember
juniper birch
fable juniper
amber cobalt
juniper indigo
amber juniper
amber fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037034 | qwen/qwen3.7-plus |
awkweave-0037035 | 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 ember 98 closed
dina cobalt 78 paused
kim birch 88 closed
dina birch 76 paused
alice grove 95 ready
jules grove 106 active
| closed 98 ember chen
paused 78 cobalt dina
closed 88 birch kim
paused 76 birch dina
ready 95 grove alice
active 106 grove jules
| lina amber 101 paused
jules amber 35 paused
ivan indigo 115 paused
gus ember 91 paused
gus birch 31 pending
kim cobalt 106 active
eli harbor 17 pending
hana juniper 27 active
gus juniper 27 paused
| paused 101 amber lina
paused 35 amber jules
paused 115 indigo ivan
paused 91 ember gus
pending 31 birch gus
active 106 cobalt kim
pending 17 harbor eli
active 27 juniper hana
paused 27 juniper gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037035-p1 | Invert the sequence of fields for every line and print all resulting fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen ember 98 closed
dina cobalt 78 paused
kim birch 88 closed
dina birch 76 paused
alice grove 95 ready
jules grove 106 active
| closed 98 ember chen
paused 78 cobalt dina
closed 88 birch kim
paused 76 birch dina
ready 95 grove alice
active 106 grove jules
| lina amber 101 paused
jules amber 35 paused
ivan indigo 115 paused
gus ember 91 paused
gus birch 31 pending
kim cobalt 106 active
eli harbor 17 pending
hana juniper 27 active
gus juniper 27 paused
| paused 101 amber lina
paused 35 amber jules
paused 115 indigo ivan
paused 91 ember gus
pending 31 birch gus
active 106 cobalt kim
pending 17 harbor eli
active 27 juniper hana
paused 27 juniper gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037035 | qwen/qwen3.7-plus |
awkweave-0037036 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno fable 57 paused
gus indigo 105 closed
bruno indigo 78 pending
ivan amber 82 closed
ivan harbor 120 pending
jules juniper 67 failed
jules grove 8 ready
lina juniper 33 active
ivan indigo 22 failed
| 4
4
4
4
4
4
4
4
4
| kim juniper 72 ready
hana indigo 63 closed
gus ember 102 closed
chen indigo 89 failed
dina delta 104 pending
chen amber 39 active
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037036-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno fable 57 paused
gus indigo 105 closed
bruno indigo 78 pending
ivan amber 82 closed
ivan harbor 120 pending
jules juniper 67 failed
jules grove 8 ready
lina juniper 33 active
ivan indigo 22 failed
| 4
4
4
4
4
4
4
4
4
| kim juniper 72 ready
hana indigo 63 closed
gus ember 102 closed
chen indigo 89 failed
dina delta 104 pending
chen amber 39 active
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037036 | qwen/qwen3.7-plus |
awkweave-0037037 | 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]]} | hana beta 15
eli alpha 28
chen beta 32
bruno delta 83
kim alpha 30
alice alpha 13
| beta 2
alpha 3
delta 1
| jules delta 62
lina gamma 12
eli beta 9
bruno gamma 75
ivan gamma 96
kim beta 28
| delta 1
gamma 3
beta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037037-p1 | Tally records by the value in column 2 and display each value alongside its count, ordered 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]]} | hana beta 15
eli alpha 28
chen beta 32
bruno delta 83
kim alpha 30
alice alpha 13
| beta 2
alpha 3
delta 1
| jules delta 62
lina gamma 12
eli beta 9
bruno gamma 75
ivan gamma 96
kim beta 28
| delta 1
gamma 3
beta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037037 | qwen/qwen3.7-plus |
awkweave-0037038 | 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]]} | farah beta 15
hana alpha 17
chen alpha 4
lina beta 19
eli gamma 10
bruno alpha 6
jules gamma 10
chen alpha 25
dina gamma 10
| beta 34
alpha 52
gamma 30
| chen gamma 6
ivan delta 23
lina alpha 15
jules delta 25
chen gamma 22
hana beta 22
eli alpha 8
hana alpha 27
lina beta 4
| gamma 28
delta 48
alpha 50
beta 26
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037038-p1 | Calculate the sum of column 3 for each group defined by column 2, listing groups in the order they 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]]} | farah beta 15
hana alpha 17
chen alpha 4
lina beta 19
eli gamma 10
bruno alpha 6
jules gamma 10
chen alpha 25
dina gamma 10
| beta 34
alpha 52
gamma 30
| chen gamma 6
ivan delta 23
lina alpha 15
jules delta 25
chen gamma 22
hana beta 22
eli alpha 8
hana alpha 27
lina beta 4
| gamma 28
delta 48
alpha 50
beta 26
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037038 | qwen/qwen3.7-plus |
awkweave-0037039 | 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 cobalt 104
delta fable 38
delta delta 62
alpha cobalt 59
gamma harbor 7
gamma juniper 101
delta cobalt 6
alpha juniper 28
| gamma 3
delta 3
alpha 2
| delta grove 5
beta juniper 59
gamma delta 40
delta indigo 13
gamma delta 106
alpha ember 12
gamma cobalt 63
gamma grove 39
delta harbor 64
delta grove 100
| delta 4
gamma 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037039-p1 | List each duplicate value from column 1 with its frequency, sorted by first occurrence. | {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 cobalt 104
delta fable 38
delta delta 62
alpha cobalt 59
gamma harbor 7
gamma juniper 101
delta cobalt 6
alpha juniper 28
| gamma 3
delta 3
alpha 2
| delta grove 5
beta juniper 59
gamma delta 40
delta indigo 13
gamma delta 106
alpha ember 12
gamma cobalt 63
gamma grove 39
delta harbor 64
delta grove 100
| delta 4
gamma 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037039 | qwen/qwen3.7-plus |
awkweave-0037040 | 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"]} | region note display_name score
r001 hana 1 closed
r002 bruno 26 active
r003 bruno 26 ready
r004 farah 16 failed
r005 kim 29 closed
r006 ivan 1 failed
r007 jules 23 pending
r008 bruno 26 ready
| hana
bruno
bruno
farah
kim
ivan
jules
bruno
| region note display_name score
r001 jules 12 active
r002 eli 21 failed
r003 gus 4 pending
r004 eli 29 ready
r005 lina 21 paused
r006 chen 25 paused
r007 hana 12 pending
r008 alice 27 paused
r009 farah 22 closed
| jules
eli
gus
eli
lina
chen
hana
alice
farah
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037040-p1 | Skip the header row and output the note column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | region note display_name score
r001 hana 1 closed
r002 bruno 26 active
r003 bruno 26 ready
r004 farah 16 failed
r005 kim 29 closed
r006 ivan 1 failed
r007 jules 23 pending
r008 bruno 26 ready
| hana
bruno
bruno
farah
kim
ivan
jules
bruno
| region note display_name score
r001 jules 12 active
r002 eli 21 failed
r003 gus 4 pending
r004 eli 29 ready
r005 lina 21 paused
r006 chen 25 paused
r007 hana 12 pending
r008 alice 27 paused
r009 farah 22 closed
| jules
eli
gus
eli
lina
chen
hana
alice
farah
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037040 | qwen/qwen3.7-plus |
awkweave-0037041 | 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 lina 3 ready
r002 chen 23 ready
r003 ivan 27 active
r004 alice 16 paused
r005 alice 16 pending
r006 alice 25 paused
r007 dina 3 paused
| chen
ivan
alice
alice
alice
| record_id display_name score state
r001 ivan 2 ready
r002 gus 22 active
r003 lina 27 ready
r004 hana 6 active
r005 hana 15 closed
r006 hana 9 ready
r007 chen 20 ready
r008 jules 28 closed
| gus
lina
hana
chen
jules
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037041-p1 | Ignore the header row and print the display_name for data rows where the 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 lina 3 ready
r002 chen 23 ready
r003 ivan 27 active
r004 alice 16 paused
r005 alice 16 pending
r006 alice 25 paused
r007 dina 3 paused
| chen
ivan
alice
alice
alice
| record_id display_name score state
r001 ivan 2 ready
r002 gus 22 active
r003 lina 27 ready
r004 hana 6 active
r005 hana 15 closed
r006 hana 9 ready
r007 chen 20 ready
r008 jules 28 closed
| gus
lina
hana
chen
jules
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037041 | qwen/qwen3.7-plus |
awkweave-0037042 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | alice 30 active
alice 3 failed
chen 14 closed
farah 7 closed
dina 9 pending
chen 2 pending
dina 12 active
| 30
3
14
7
9
2
12
| chen 2 active
kim 8 ready
jules 16 failed
jules 2 closed
chen 2 closed
kim 13 failed
| 2
8
16
2
2
13
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037042-p1 | Extract and print column 2 from each tab-separated record. | BEGIN{FS=OFS="\t"}{print $2} | alice 30 active
alice 3 failed
chen 14 closed
farah 7 closed
dina 9 pending
chen 2 pending
dina 12 active
| 30
3
14
7
9
2
12
| chen 2 active
kim 8 ready
jules 16 failed
jules 2 closed
chen 2 closed
kim 13 failed
| 2
8
16
2
2
13
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037042 | qwen/qwen3.7-plus |
awkweave-0037043 | 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} | kim,5,ready
dina,15,ready
ivan,9,active
eli,2,active
lina,30,failed
kim,9,active
bruno,7,ready
gus,22,paused
lina,4,pending
bruno,19,closed
| dina
lina
gus
bruno
| jules,17,ready
gus,27,active
dina,18,closed
farah,3,failed
ivan,4,failed
eli,11,paused
| jules
gus
dina
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037043-p1 | For simple comma-separated input without quoted commas, output column 1 if column 2 is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | kim,5,ready
dina,15,ready
ivan,9,active
eli,2,active
lina,30,failed
kim,9,active
bruno,7,ready
gus,22,paused
lina,4,pending
bruno,19,closed
| dina
lina
gus
bruno
| jules,17,ready
gus,27,active
dina,18,closed
farah,3,failed
ivan,4,failed
eli,11,paused
| jules
gus
dina
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037043 | qwen/qwen3.7-plus |
awkweave-0037044 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan cobalt 90
kim grove 96
farah delta 10
alice ember 79
gus ember 9
bruno grove 57
farah ember 105
| ivan cobalt 90
kim grove 96
farah delta 10
alice ember 79
gus ember 9
bruno grove 57
farah ember 105
| alice indigo 101
kim birch 74
bruno amber 25
ivan delta 1
gus ember 67
kim indigo 37
lina fable 25
lina delta 11
lina amber 80
| alice indigo 101
kim birch 74
bruno amber 25
ivan delta 1
gus ember 67
kim indigo 37
lina fable 25
lina delta 11
lina amber 80
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037044-p1 | Remove leading and trailing whitespace and replace internal whitespace sequences with single spaces. | {$1=$1;print} | ivan cobalt 90
kim grove 96
farah delta 10
alice ember 79
gus ember 9
bruno grove 57
farah ember 105
| ivan cobalt 90
kim grove 96
farah delta 10
alice ember 79
gus ember 9
bruno grove 57
farah ember 105
| alice indigo 101
kim birch 74
bruno amber 25
ivan delta 1
gus ember 67
kim indigo 37
lina fable 25
lina delta 11
lina amber 80
| alice indigo 101
kim birch 74
bruno amber 25
ivan delta 1
gus ember 67
kim indigo 37
lina fable 25
lina delta 11
lina amber 80
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037044 | qwen/qwen3.7-plus |
awkweave-0037045 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice juniper 10 failed
hana cobalt 65 pending
jules fable 24 failed
lina birch 26 paused
alice harbor 110 active
farah juniper 6 paused
eli amber 80 ready
chen juniper 82 active
| alice juniper 10 failed
| eli amber 120 pending
farah cobalt 96 paused
ivan indigo 41 pending
lina cobalt 55 ready
alice fable 85 active
hana harbor 2 ready
chen delta 48 pending
| farah cobalt 96 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037045-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} | alice juniper 10 failed
hana cobalt 65 pending
jules fable 24 failed
lina birch 26 paused
alice harbor 110 active
farah juniper 6 paused
eli amber 80 ready
chen juniper 82 active
| alice juniper 10 failed
| eli amber 120 pending
farah cobalt 96 paused
ivan indigo 41 pending
lina cobalt 55 ready
alice fable 85 active
hana harbor 2 ready
chen delta 48 pending
| farah cobalt 96 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037045 | qwen/qwen3.7-plus |
awkweave-0037046 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | kim 7
gus 45
hana 113
kim 96
gus 119
hana 13
ivan 107
lina 112
gus 91
| kim 96
lina 112
| kim 60
dina 52
dina 120
gus 58
kim 74
chen 53
hana 3
hana 51
| gus 58
hana 51
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037046-p1 | Print every 4th line, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | kim 7
gus 45
hana 113
kim 96
gus 119
hana 13
ivan 107
lina 112
gus 91
| kim 96
lina 112
| kim 60
dina 52
dina 120
gus 58
kim 74
chen 53
hana 3
hana 51
| gus 58
hana 51
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037046 | qwen/qwen3.7-plus |
awkweave-0037047 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 18
gamma indigo 44
delta fable 24
delta delta 0
beta amber 87
beta juniper 96
| 6
| beta cobalt 116
gamma fable 49
beta amber 69
gamma birch 76
gamma juniper 18
beta indigo 111
beta harbor 76
beta birch 53
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037047-p1 | Count the number of unique values in column 2 and output only that total. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 18
gamma indigo 44
delta fable 24
delta delta 0
beta amber 87
beta juniper 96
| 6
| beta cobalt 116
gamma fable 49
beta amber 69
gamma birch 76
gamma juniper 18
beta indigo 111
beta harbor 76
beta birch 53
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037047 | qwen/qwen3.7-plus |
awkweave-0037048 | 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 8 0
gus 21 14
dina 16 20
dina 12 9
lina 17 21
bruno 12 20
jules 21 12
jules 17 10
farah 15 3
bruno 7 16
| gus 1.50
dina 0.80
dina 1.33
lina 0.81
bruno 0.60
jules 1.75
jules 1.70
farah 5.00
bruno 0.44
| lina 9 0
jules 15 5
jules 2 26
chen 4 15
chen 21 22
hana 12 16
hana 6 11
| jules 3.00
jules 0.08
chen 0.27
chen 0.95
hana 0.75
hana 0.55
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037048-p1 | For each row, output column 1 and the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 8 0
gus 21 14
dina 16 20
dina 12 9
lina 17 21
bruno 12 20
jules 21 12
jules 17 10
farah 15 3
bruno 7 16
| gus 1.50
dina 0.80
dina 1.33
lina 0.81
bruno 0.60
jules 1.75
jules 1.70
farah 5.00
bruno 0.44
| lina 9 0
jules 15 5
jules 2 26
chen 4 15
chen 21 22
hana 12 16
hana 6 11
| jules 3.00
jules 0.08
chen 0.27
chen 0.95
hana 0.75
hana 0.55
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037048 | qwen/qwen3.7-plus |
awkweave-0037049 | 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]} | bruno harbor 1
kim amber 1
jules ember 17
gus grove 21
hana cobalt 3
eli ember 28
bruno indigo 18
| eli ember 28
gus grove 21
bruno indigo 18
| ivan birch 19
dina delta 16
ivan delta 5
hana delta 7
gus fable 9
farah juniper 14
jules birch 9
dina delta 23
| dina delta 23
ivan birch 19
dina delta 16
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037049-p1 | Display the three full records with the largest numeric values in column 3 in descending order, maintaining the original input sequence 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]} | bruno harbor 1
kim amber 1
jules ember 17
gus grove 21
hana cobalt 3
eli ember 28
bruno indigo 18
| eli ember 28
gus grove 21
bruno indigo 18
| ivan birch 19
dina delta 16
ivan delta 5
hana delta 7
gus fable 9
farah juniper 14
jules birch 9
dina delta 23
| dina delta 23
ivan birch 19
dina delta 16
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037049 | qwen/qwen3.7-plus |
awkweave-0037050 | Print column 5 followed by column 4 for every record. | {print $5, $4} | 37 closed closed chen kim
111 pending pending gus farah
114 active ready farah bruno
89 paused active hana eli
21 ready ready hana lina
114 pending pending bruno hana
44 paused failed gus alice
88 ready failed chen chen
56 active pending lina chen
38 failed paused farah eli
| kim chen
farah gus
bruno farah
eli hana
lina hana
hana bruno
alice gus
chen chen
chen lina
eli farah
| 87 active ready bruno kim
62 ready ready bruno jules
70 ready paused eli hana
16 active pending hana farah
9 failed closed bruno jules
103 active paused ivan jules
119 ready failed farah ivan
55 failed paused chen dina
| kim bruno
jules bruno
hana eli
farah hana
jules bruno
jules ivan
ivan farah
dina chen
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037050-p1 | Output column 5 followed by column 4 for every record. | {print $5, $4} | 37 closed closed chen kim
111 pending pending gus farah
114 active ready farah bruno
89 paused active hana eli
21 ready ready hana lina
114 pending pending bruno hana
44 paused failed gus alice
88 ready failed chen chen
56 active pending lina chen
38 failed paused farah eli
| kim chen
farah gus
bruno farah
eli hana
lina hana
hana bruno
alice gus
chen chen
chen lina
eli farah
| 87 active ready bruno kim
62 ready ready bruno jules
70 ready paused eli hana
16 active pending hana farah
9 failed closed bruno jules
103 active paused ivan jules
119 ready failed farah ivan
55 failed paused chen dina
| kim bruno
jules bruno
hana eli
farah hana
jules bruno
jules ivan
ivan farah
dina chen
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037050 | qwen/qwen3.7-plus |
awkweave-0037051 | Print the last field of every input line. | {print $NF} | pending failed 19
paused active 39
paused pending 3
pending ready 120
failed ready 111
pending paused 72
active failed 112
ready pending 93
ready closed 45
active paused 119
| 19
39
3
120
111
72
112
93
45
119
| active failed 24
pending pending 107
active failed 62
failed closed 102
paused failed 16
pending closed 24
| 24
107
62
102
16
24
| last_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.