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-0002880-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | jules birch 103
bruno ember 28
dina ember 64
lina juniper 79
jules birch 78
jules amber 51
farah amber 31
chen indigo 101
dina grove 113
dina grove 62
| jules birch 103
bruno ember 28
dina ember 64
lina juniper 79
jules birch 78
jules amber 51
farah amber 31
chen indigo 101
dina grove 113
dina grove 62
| dina grove 113
chen harbor 82
chen delta 1
alice ember 47
chen grove 80
lina amber 17
lina amber 67
dina ember 56
| dina grove 113
chen harbor 82
chen delta 1
alice ember 47
chen grove 80
lina amber 17
lina amber 67
dina ember 56
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002880 | qwen/qwen3.7-plus |
awkweave-0002881 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | gus indigo 72 pending
lina birch 108 failed
farah cobalt 61 active
kim birch 109 active
gus grove 45 closed
gus delta 104 ready
eli indigo 17 pending
kim cobalt 5 ready
alice cobalt 71 pending
gus indigo 99 ready
| alice cobalt 71 pending
| gus ember 50 paused
alice cobalt 25 paused
alice fable 116 paused
jules juniper 23 ready
farah fable 66 paused
ivan amber 11 active
alice cobalt 104 pending
kim amber 37 ready
| alice cobalt 104 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002881-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | gus indigo 72 pending
lina birch 108 failed
farah cobalt 61 active
kim birch 109 active
gus grove 45 closed
gus delta 104 ready
eli indigo 17 pending
kim cobalt 5 ready
alice cobalt 71 pending
gus indigo 99 ready
| alice cobalt 71 pending
| gus ember 50 paused
alice cobalt 25 paused
alice fable 116 paused
jules juniper 23 ready
farah fable 66 paused
ivan amber 11 active
alice cobalt 104 pending
kim amber 37 ready
| alice cobalt 104 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002881 | qwen/qwen3.7-plus |
awkweave-0002882 | Print every 4th line starting at line 1 (then line 5, and so on). | NR%4==1 | jules 82
hana 20
hana 10
bruno 59
eli 70
farah 6
gus 116
| jules 82
eli 70
| dina 87
gus 31
kim 54
dina 56
kim 54
dina 74
bruno 65
kim 17
ivan 35
| dina 87
kim 54
ivan 35
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002882-p1 | Print lines 1, 5, 9, and so on, effectively selecting every fourth line starting from the first. | NR%4==1 | jules 82
hana 20
hana 10
bruno 59
eli 70
farah 6
gus 116
| jules 82
eli 70
| dina 87
gus 31
kim 54
dina 56
kim 54
dina 74
bruno 65
kim 17
ivan 35
| dina 87
kim 54
ivan 35
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002882 | qwen/qwen3.7-plus |
awkweave-0002883 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta juniper 31
gamma amber 117
gamma cobalt 107
delta grove 114
alpha birch 42
gamma grove 24
| 5
| beta fable 66
alpha birch 48
gamma harbor 6
gamma birch 55
delta indigo 16
delta indigo 119
gamma birch 25
alpha cobalt 67
| 5
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002883-p1 | Determine the number of unique values in the second column and output only that total count. | {if(!seen[$2]++)n++}END{print n+0} | delta juniper 31
gamma amber 117
gamma cobalt 107
delta grove 114
alpha birch 42
gamma grove 24
| 5
| beta fable 66
alpha birch 48
gamma harbor 6
gamma birch 55
delta indigo 16
delta indigo 119
gamma birch 25
alpha cobalt 67
| 5
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002883 | qwen/qwen3.7-plus |
awkweave-0002884 | 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} | hana 9 0
eli 17 11
lina 14 14
gus 4 22
jules 25 8
bruno 27 6
lina 22 10
| eli 1.55
lina 1.00
gus 0.18
jules 3.12
bruno 4.50
lina 2.20
| eli 29 0
jules 11 17
hana 6 14
eli 14 7
farah 14 16
gus 25 10
alice 28 11
ivan 2 13
lina 6 17
lina 27 11
| jules 0.65
hana 0.43
eli 2.00
farah 0.88
gus 2.50
alice 2.55
ivan 0.15
lina 0.35
lina 2.45
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002884-p1 | Output the first and second columns divided by the third, formatted to two decimal places, while omitting any rows where the third column equals zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | hana 9 0
eli 17 11
lina 14 14
gus 4 22
jules 25 8
bruno 27 6
lina 22 10
| eli 1.55
lina 1.00
gus 0.18
jules 3.12
bruno 4.50
lina 2.20
| eli 29 0
jules 11 17
hana 6 14
eli 14 7
farah 14 16
gus 25 10
alice 28 11
ivan 2 13
lina 6 17
lina 27 11
| jules 0.65
hana 0.43
eli 2.00
farah 0.88
gus 2.50
alice 2.55
ivan 0.15
lina 0.35
lina 2.45
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002884 | qwen/qwen3.7-plus |
awkweave-0002885 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim fable 13
chen cobalt 26
gus ember 28
kim amber 8
gus delta 9
gus ember 2
hana fable 17
| gus ember 28
chen cobalt 26
hana fable 17
| chen grove 9
alice amber 9
chen fable 20
dina harbor 5
jules juniper 16
eli amber 17
lina indigo 21
eli indigo 27
| eli indigo 27
lina indigo 21
chen fable 20
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002885-p1 | Display the three full records with the largest 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]} | kim fable 13
chen cobalt 26
gus ember 28
kim amber 8
gus delta 9
gus ember 2
hana fable 17
| gus ember 28
chen cobalt 26
hana fable 17
| chen grove 9
alice amber 9
chen fable 20
dina harbor 5
jules juniper 16
eli amber 17
lina indigo 21
eli indigo 27
| eli indigo 27
lina indigo 21
chen fable 20
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002885 | qwen/qwen3.7-plus |
awkweave-0002886 | Select the 4th and 3rd fields in that order. | {print $4, $3} | 32 delta failed 115
25 grove active 98
85 amber closed 64
108 grove pending 42
69 indigo pending 8
115 juniper closed 54
| 115 failed
98 active
64 closed
42 pending
8 pending
54 closed
| 24 fable pending 60
103 birch failed 30
29 grove ready 69
92 delta paused 40
23 cobalt pending 16
118 delta paused 71
2 ember paused 52
54 delta paused 66
12 harbor failed 86
| 60 pending
30 failed
69 ready
40 paused
16 pending
71 paused
52 paused
66 paused
86 failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002886-p1 | Extract the fourth field followed by the third field. | {print $4, $3} | 32 delta failed 115
25 grove active 98
85 amber closed 64
108 grove pending 42
69 indigo pending 8
115 juniper closed 54
| 115 failed
98 active
64 closed
42 pending
8 pending
54 closed
| 24 fable pending 60
103 birch failed 30
29 grove ready 69
92 delta paused 40
23 cobalt pending 16
118 delta paused 71
2 ember paused 52
54 delta paused 66
12 harbor failed 86
| 60 pending
30 failed
69 ready
40 paused
16 pending
71 paused
52 paused
66 paused
86 failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002886 | qwen/qwen3.7-plus |
awkweave-0002887 | Print the last field of every input line. | {print $NF} | jules farah harbor active 67
gus farah indigo ready 15
bruno bruno harbor active 22
bruno dina amber active 72
hana kim fable active 46
jules dina cobalt failed 37
ivan bruno cobalt pending 99
ivan gus amber active 81
bruno dina cobalt failed 89
chen dina juniper ready 103
| 67
15
22
72
46
37
99
81
89
103
| farah jules amber pending 9
hana alice grove active 17
eli dina fable ready 99
bruno alice cobalt active 93
lina eli harbor active 41
farah farah grove active 62
| 9
17
99
93
41
62
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002887-p1 | Output the final field from each line of input. | {print $NF} | jules farah harbor active 67
gus farah indigo ready 15
bruno bruno harbor active 22
bruno dina amber active 72
hana kim fable active 46
jules dina cobalt failed 37
ivan bruno cobalt pending 99
ivan gus amber active 81
bruno dina cobalt failed 89
chen dina juniper ready 103
| 67
15
22
72
46
37
99
81
89
103
| farah jules amber pending 9
hana alice grove active 17
eli dina fable ready 99
bruno alice cobalt active 93
lina eli harbor active 41
farah farah grove active 62
| 9
17
99
93
41
62
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002887 | qwen/qwen3.7-plus |
awkweave-0002888 | Print the complete records where column 1 is at least 51. | $1 >= 51 | 89 ember dina
87 cobalt alice
8 birch gus
51 harbor farah
97 delta bruno
96 fable eli
55 birch dina
23 ember hana
35 cobalt ivan
92 cobalt kim
| 89 ember dina
87 cobalt alice
51 harbor farah
97 delta bruno
96 fable eli
55 birch dina
92 cobalt kim
| 120 ember chen
110 grove dina
84 grove jules
32 birch jules
111 ember hana
54 indigo alice
47 ember chen
| 120 ember chen
110 grove dina
84 grove jules
111 ember hana
54 indigo alice
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002888-p1 | Print entire lines where the value in the first column is 51 or greater. | $1 >= 51 | 89 ember dina
87 cobalt alice
8 birch gus
51 harbor farah
97 delta bruno
96 fable eli
55 birch dina
23 ember hana
35 cobalt ivan
92 cobalt kim
| 89 ember dina
87 cobalt alice
51 harbor farah
97 delta bruno
96 fable eli
55 birch dina
92 cobalt kim
| 120 ember chen
110 grove dina
84 grove jules
32 birch jules
111 ember hana
54 indigo alice
47 ember chen
| 120 ember chen
110 grove dina
84 grove jules
111 ember hana
54 indigo alice
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002888 | qwen/qwen3.7-plus |
awkweave-0002889 | Show whole lines whose 2nd field is between 3 and 19, inclusive. | $2 >= 3 && $2 <= 19 | fable 25 active failed
delta 21 paused paused
grove 26 ready closed
indigo 24 active failed
cobalt 9 closed closed
fable 13 ready active
indigo 25 ready paused
| cobalt 9 closed closed
fable 13 ready active
| amber 2 closed ready
juniper 24 active pending
amber 21 active pending
cobalt 27 paused pending
amber 5 ready pending
indigo 7 failed ready
grove 12 active failed
| amber 5 ready pending
indigo 7 failed ready
grove 12 active failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002889-p1 | Display complete lines where the second field falls within the inclusive range of 3 to 19. | $2 >= 3 && $2 <= 19 | fable 25 active failed
delta 21 paused paused
grove 26 ready closed
indigo 24 active failed
cobalt 9 closed closed
fable 13 ready active
indigo 25 ready paused
| cobalt 9 closed closed
fable 13 ready active
| amber 2 closed ready
juniper 24 active pending
amber 21 active pending
cobalt 27 paused pending
amber 5 ready pending
indigo 7 failed ready
grove 12 active failed
| amber 5 ready pending
indigo 7 failed ready
grove 12 active failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002889 | qwen/qwen3.7-plus |
awkweave-0002900 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | kim 6 indigo
dina 22 fable
dina 15 birch
gus 10 ember
hana 27 amber
alice 14 birch
farah 2 indigo
eli 7 harbor
ivan 5 harbor
| 27
| lina 7 juniper
dina 16 grove
gus 14 indigo
alice 19 grove
lina 20 cobalt
chen 26 amber
gus 18 cobalt
lina 28 harbor
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002900-p1 | Identify and output the maximum numeric value found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | kim 6 indigo
dina 22 fable
dina 15 birch
gus 10 ember
hana 27 amber
alice 14 birch
farah 2 indigo
eli 7 harbor
ivan 5 harbor
| 27
| lina 7 juniper
dina 16 grove
gus 14 indigo
alice 19 grove
lina 20 cobalt
chen 26 amber
gus 18 cobalt
lina 28 harbor
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002900 | qwen/qwen3.7-plus |
awkweave-0002901 | Count all input records and print the total. | END{print NR} | eli 93
dina 42
jules 53
chen 115
lina 12
lina 41
hana 48
| 7
| hana 47
kim 114
farah 11
alice 29
gus 91
bruno 27
bruno 27
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002901-p1 | Calculate and print the total number of input records. | END{print NR} | eli 93
dina 42
jules 53
chen 115
lina 12
lina 41
hana 48
| 7
| hana 47
kim 114
farah 11
alice 29
gus 91
bruno 27
bruno 27
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002901 | qwen/qwen3.7-plus |
awkweave-0002902 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli amber 48
ivan cobalt 8
ivan cobalt 8
lina fable 68
dina birch 20
alice cobalt 61
dina harbor 90
gus harbor 60
chen grove 97
| eli amber 48
ivan cobalt 8
lina fable 68
dina birch 20
alice cobalt 61
dina harbor 90
gus harbor 60
chen grove 97
| bruno grove 115
bruno grove 115
farah cobalt 57
kim harbor 70
gus cobalt 66
dina harbor 114
alice cobalt 95
dina juniper 93
| bruno grove 115
farah cobalt 57
kim harbor 70
gus cobalt 66
dina harbor 114
alice cobalt 95
dina juniper 93
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002902-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original order. | !seen[$0]++ | eli amber 48
ivan cobalt 8
ivan cobalt 8
lina fable 68
dina birch 20
alice cobalt 61
dina harbor 90
gus harbor 60
chen grove 97
| eli amber 48
ivan cobalt 8
lina fable 68
dina birch 20
alice cobalt 61
dina harbor 90
gus harbor 60
chen grove 97
| bruno grove 115
bruno grove 115
farah cobalt 57
kim harbor 70
gus cobalt 66
dina harbor 114
alice cobalt 95
dina juniper 93
| bruno grove 115
farah cobalt 57
kim harbor 70
gus cobalt 66
dina harbor 114
alice cobalt 95
dina juniper 93
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002902 | qwen/qwen3.7-plus |
awkweave-0002903 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | dina cobalt 95
ivan delta 15
farah fable 74
alice amber 90
lina fable 116
dina grove 28
kim amber 108
chen juniper 80
farah birch 64
jules juniper 46
| dina cobalt 95
ivan delta 15
farah fable 74
alice amber 90
lina fable 116
dina grove 28
kim amber 108
chen juniper 80
farah birch 64
jules juniper 46
| kim harbor 86
gus amber 50
kim amber 119
jules juniper 112
alice harbor 34
hana birch 59
| kim harbor 86
gus amber 50
kim amber 119
jules juniper 112
alice harbor 34
hana birch 59
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002903-p1 | Retain only the first occurrence of each unique value in column 3, preserving the initial input order. | !seen[$3]++ | dina cobalt 95
ivan delta 15
farah fable 74
alice amber 90
lina fable 116
dina grove 28
kim amber 108
chen juniper 80
farah birch 64
jules juniper 46
| dina cobalt 95
ivan delta 15
farah fable 74
alice amber 90
lina fable 116
dina grove 28
kim amber 108
chen juniper 80
farah birch 64
jules juniper 46
| kim harbor 86
gus amber 50
kim amber 119
jules juniper 112
alice harbor 34
hana birch 59
| kim harbor 86
gus amber 50
kim amber 119
jules juniper 112
alice harbor 34
hana birch 59
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002903 | qwen/qwen3.7-plus |
awkweave-0002904 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 24 harbor
gus 26 fable
alice 8 delta
hana 27 birch
hana 18 harbor
ivan 3 amber
eli 24 indigo
| chen 24
gus 50
alice 58
hana 85
hana 103
ivan 106
eli 130
| chen 11 indigo
chen 20 fable
gus 16 cobalt
chen 30 delta
jules 8 amber
kim 14 birch
| chen 11
chen 31
gus 47
chen 77
jules 85
kim 99
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002904-p1 | For every record, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | chen 24 harbor
gus 26 fable
alice 8 delta
hana 27 birch
hana 18 harbor
ivan 3 amber
eli 24 indigo
| chen 24
gus 50
alice 58
hana 85
hana 103
ivan 106
eli 130
| chen 11 indigo
chen 20 fable
gus 16 cobalt
chen 30 delta
jules 8 amber
kim 14 birch
| chen 11
chen 31
gus 47
chen 77
jules 85
kim 99
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002904 | qwen/qwen3.7-plus |
awkweave-0002905 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 22 19 grove
dina 25 20 juniper
lina 15 24 juniper
eli 17 1 cobalt
kim 7 26 fable
hana 23 13 amber
kim 7 18 amber
| jules 41
dina 45
lina 39
eli 18
kim 33
hana 36
kim 25
| alice 16 19 grove
hana 13 5 birch
chen 26 1 birch
ivan 3 30 indigo
jules 4 7 indigo
dina 8 21 birch
eli 3 12 delta
gus 9 7 indigo
| alice 35
hana 18
chen 27
ivan 33
jules 11
dina 29
eli 15
gus 16
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002905-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | jules 22 19 grove
dina 25 20 juniper
lina 15 24 juniper
eli 17 1 cobalt
kim 7 26 fable
hana 23 13 amber
kim 7 18 amber
| jules 41
dina 45
lina 39
eli 18
kim 33
hana 36
kim 25
| alice 16 19 grove
hana 13 5 birch
chen 26 1 birch
ivan 3 30 indigo
jules 4 7 indigo
dina 8 21 birch
eli 3 12 delta
gus 9 7 indigo
| alice 35
hana 18
chen 27
ivan 33
jules 11
dina 29
eli 15
gus 16
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002905 | qwen/qwen3.7-plus |
awkweave-0002906 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | gus 18
farah 16
alice 14
dina 26
hana 13
kim 20
chen 5
| gus fail
farah fail
alice fail
dina pass
hana fail
kim fail
chen fail
| lina 2
farah 5
ivan 25
ivan 1
dina 9
jules 24
| lina fail
farah fail
ivan fail
ivan fail
dina fail
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002906-p1 | Output the value in column 1; if column 2 is 26 or greater, print 'pass', otherwise print 'fail'. | {print $1,($2>=26?"pass":"fail")} | gus 18
farah 16
alice 14
dina 26
hana 13
kim 20
chen 5
| gus fail
farah fail
alice fail
dina pass
hana fail
kim fail
chen fail
| lina 2
farah 5
ivan 25
ivan 1
dina 9
jules 24
| lina fail
farah fail
ivan fail
ivan fail
dina fail
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002906 | qwen/qwen3.7-plus |
awkweave-0002907 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | eli harbor 8
alice cobalt 89
ivan amber 24
hana ember 55
alice amber 56
lina birch 71
kim birch 7
| ELI
ALICE
IVAN
HANA
ALICE
LINA
KIM
| eli ember 89
dina amber 68
lina amber 113
kim cobalt 95
eli birch 63
bruno ember 8
dina fable 102
lina cobalt 34
| ELI
DINA
LINA
KIM
ELI
BRUNO
DINA
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002907-p1 | Transform column 1 to uppercase and output only that modified column. | {print toupper($1)} | eli harbor 8
alice cobalt 89
ivan amber 24
hana ember 55
alice amber 56
lina birch 71
kim birch 7
| ELI
ALICE
IVAN
HANA
ALICE
LINA
KIM
| eli ember 89
dina amber 68
lina amber 113
kim cobalt 95
eli birch 63
bruno ember 8
dina fable 102
lina cobalt 34
| ELI
DINA
LINA
KIM
ELI
BRUNO
DINA
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002907 | qwen/qwen3.7-plus |
awkweave-0002908 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | cobalt 119
ember 35
ember 12
fable 29
fable 64
amber 21
amber 44
| coba
embe
embe
fabl
fabl
ambe
ambe
| indigo 19
amber 30
birch 37
grove 102
fable 60
grove 29
indigo 73
| indi
ambe
birc
grov
fabl
grov
indi
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002908-p1 | Extract and print the first 4 characters from column 1. | {print substr($1,1,4)} | cobalt 119
ember 35
ember 12
fable 29
fable 64
amber 21
amber 44
| coba
embe
embe
fabl
fabl
ambe
ambe
| indigo 19
amber 30
birch 37
grove 102
fable 60
grove 29
indigo 73
| indi
ambe
birc
grov
fabl
grov
indi
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002908 | qwen/qwen3.7-plus |
awkweave-0002909 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_ember 9
grove_indigo 103
delta_grove 21
ember_fable 78
ember_birch 69
amber_grove 20
grove_harbor 67
birch_juniper 2
harbor_fable 114
amber_delta 60
| harbor ember
grove indigo
delta grove
ember fable
ember birch
amber grove
grove harbor
birch juniper
harbor fable
amber delta
| delta_ember 35
indigo_delta 84
birch_fable 60
grove_harbor 97
birch_cobalt 80
ember_amber 111
indigo_juniper 14
juniper_cobalt 11
ember_harbor 116
| delta ember
indigo delta
birch fable
grove harbor
birch cobalt
ember amber
indigo juniper
juniper cobalt
ember harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002909-p1 | Substitute all underscores in column 1 with spaces and display the result. | {gsub(/_/," ",$1);print $1} | harbor_ember 9
grove_indigo 103
delta_grove 21
ember_fable 78
ember_birch 69
amber_grove 20
grove_harbor 67
birch_juniper 2
harbor_fable 114
amber_delta 60
| harbor ember
grove indigo
delta grove
ember fable
ember birch
amber grove
grove harbor
birch juniper
harbor fable
amber delta
| delta_ember 35
indigo_delta 84
birch_fable 60
grove_harbor 97
birch_cobalt 80
ember_amber 111
indigo_juniper 14
juniper_cobalt 11
ember_harbor 116
| delta ember
indigo delta
birch fable
grove harbor
birch cobalt
ember amber
indigo juniper
juniper cobalt
ember harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002909 | qwen/qwen3.7-plus |
awkweave-0002910 | 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)} | jules fable 47 pending
kim cobalt 100 failed
farah juniper 90 ready
eli ember 66 ready
farah harbor 13 ready
ivan cobalt 110 pending
bruno indigo 42 pending
alice grove 87 pending
kim grove 12 active
| pending 47 fable jules
failed 100 cobalt kim
ready 90 juniper farah
ready 66 ember eli
ready 13 harbor farah
pending 110 cobalt ivan
pending 42 indigo bruno
pending 87 grove alice
active 12 grove kim
| bruno indigo 33 pending
farah fable 25 pending
hana delta 22 closed
bruno fable 11 failed
kim grove 8 ready
ivan cobalt 10 closed
ivan amber 119 active
| pending 33 indigo bruno
pending 25 fable farah
closed 22 delta hana
failed 11 fable bruno
ready 8 grove kim
closed 10 cobalt ivan
active 119 amber ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002910-p1 | Reverse the sequence of fields in each line and output all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules fable 47 pending
kim cobalt 100 failed
farah juniper 90 ready
eli ember 66 ready
farah harbor 13 ready
ivan cobalt 110 pending
bruno indigo 42 pending
alice grove 87 pending
kim grove 12 active
| pending 47 fable jules
failed 100 cobalt kim
ready 90 juniper farah
ready 66 ember eli
ready 13 harbor farah
pending 110 cobalt ivan
pending 42 indigo bruno
pending 87 grove alice
active 12 grove kim
| bruno indigo 33 pending
farah fable 25 pending
hana delta 22 closed
bruno fable 11 failed
kim grove 8 ready
ivan cobalt 10 closed
ivan amber 119 active
| pending 33 indigo bruno
pending 25 fable farah
closed 22 delta hana
failed 11 fable bruno
ready 8 grove kim
closed 10 cobalt ivan
active 119 amber ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002910 | qwen/qwen3.7-plus |
awkweave-0002911 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan juniper 112 active
alice juniper 56 failed
farah ember 8 paused
chen juniper 46 pending
bruno indigo 62 failed
kim amber 83 pending
kim grove 115 pending
| 4
4
4
4
4
4
4
| chen amber 25 failed
alice harbor 100 closed
dina amber 5 ready
eli ember 105 ready
jules harbor 75 ready
dina amber 95 paused
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002911-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | ivan juniper 112 active
alice juniper 56 failed
farah ember 8 paused
chen juniper 46 pending
bruno indigo 62 failed
kim amber 83 pending
kim grove 115 pending
| 4
4
4
4
4
4
4
| chen amber 25 failed
alice harbor 100 closed
dina amber 5 ready
eli ember 105 ready
jules harbor 75 ready
dina amber 95 paused
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002911 | qwen/qwen3.7-plus |
awkweave-0002912 | 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 74
eli gamma 7
farah gamma 72
dina gamma 33
gus alpha 84
gus alpha 22
| alpha 3
gamma 3
| ivan beta 91
hana delta 118
jules beta 91
gus beta 79
alice alpha 93
jules gamma 119
ivan beta 17
ivan gamma 71
| beta 4
delta 1
alpha 1
gamma 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002912-p1 | Tally the records for each unique value in column 2, printing the value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | farah alpha 74
eli gamma 7
farah gamma 72
dina gamma 33
gus alpha 84
gus alpha 22
| alpha 3
gamma 3
| ivan beta 91
hana delta 118
jules beta 91
gus beta 79
alice alpha 93
jules gamma 119
ivan beta 17
ivan gamma 71
| beta 4
delta 1
alpha 1
gamma 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002912 | qwen/qwen3.7-plus |
awkweave-0002913 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | bruno delta 15
ivan gamma 22
chen alpha 30
lina gamma 18
farah beta 5
eli alpha 24
eli gamma 24
dina gamma 1
| delta 15
gamma 65
alpha 54
beta 5
| ivan beta 14
eli gamma 27
alice beta 21
ivan gamma 6
eli gamma 6
farah delta 9
| beta 35
gamma 39
delta 9
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002913-p1 | Calculate the sum of column 3 grouped by column 2 categories, outputting the results in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | bruno delta 15
ivan gamma 22
chen alpha 30
lina gamma 18
farah beta 5
eli alpha 24
eli gamma 24
dina gamma 1
| delta 15
gamma 65
alpha 54
beta 5
| ivan beta 14
eli gamma 27
alice beta 21
ivan gamma 6
eli gamma 6
farah delta 9
| beta 35
gamma 39
delta 9
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002913 | qwen/qwen3.7-plus |
awkweave-0002914 | 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]]} | delta delta 96
beta cobalt 18
gamma ember 112
delta delta 52
delta juniper 71
beta juniper 51
gamma cobalt 120
delta birch 69
gamma juniper 111
| delta 4
beta 2
gamma 3
| beta fable 120
delta harbor 111
delta juniper 40
beta grove 110
alpha juniper 15
beta birch 32
gamma birch 78
delta fable 102
delta juniper 80
alpha juniper 4
| beta 3
delta 4
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002914-p1 | List each duplicate value from column 1 along with its frequency, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta delta 96
beta cobalt 18
gamma ember 112
delta delta 52
delta juniper 71
beta juniper 51
gamma cobalt 120
delta birch 69
gamma juniper 111
| delta 4
beta 2
gamma 3
| beta fable 120
delta harbor 111
delta juniper 40
beta grove 110
alpha juniper 15
beta birch 32
gamma birch 78
delta fable 102
delta juniper 80
alpha juniper 4
| beta 3
delta 4
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002914 | qwen/qwen3.7-plus |
awkweave-0002915 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | state note region record_id
r001 kim 20 failed
r002 kim 21 failed
r003 eli 21 ready
r004 lina 14 failed
r005 bruno 15 pending
r006 jules 29 ready
r007 eli 14 paused
r008 dina 8 pending
| failed
failed
ready
failed
pending
ready
paused
pending
| state note region record_id
r001 alice 10 pending
r002 alice 20 ready
r003 ivan 16 paused
r004 ivan 3 pending
r005 alice 6 closed
r006 jules 11 closed
r007 ivan 17 pending
r008 ivan 26 active
| pending
ready
paused
pending
closed
closed
pending
active
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002915-p1 | Skip the header row and print the record_id column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | state note region record_id
r001 kim 20 failed
r002 kim 21 failed
r003 eli 21 ready
r004 lina 14 failed
r005 bruno 15 pending
r006 jules 29 ready
r007 eli 14 paused
r008 dina 8 pending
| failed
failed
ready
failed
pending
ready
paused
pending
| state note region record_id
r001 alice 10 pending
r002 alice 20 ready
r003 ivan 16 paused
r004 ivan 3 pending
r005 alice 6 closed
r006 jules 11 closed
r007 ivan 17 pending
r008 ivan 26 active
| pending
ready
paused
pending
closed
closed
pending
active
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002915 | qwen/qwen3.7-plus |
awkweave-0002916 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 farah 5 pending
r002 chen 8 active
r003 eli 28 ready
r004 eli 1 closed
r005 bruno 28 active
r006 chen 12 failed
| eli
bruno
chen
| record_id display_name score state
r001 dina 1 pending
r002 lina 20 closed
r003 farah 5 paused
r004 gus 5 ready
r005 farah 12 closed
r006 gus 18 closed
| lina
farah
gus
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002916-p1 | Ignoring the header, print the display_name for rows where the score exceeds 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 farah 5 pending
r002 chen 8 active
r003 eli 28 ready
r004 eli 1 closed
r005 bruno 28 active
r006 chen 12 failed
| eli
bruno
chen
| record_id display_name score state
r001 dina 1 pending
r002 lina 20 closed
r003 farah 5 paused
r004 gus 5 ready
r005 farah 12 closed
r006 gus 18 closed
| lina
farah
gus
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002916 | qwen/qwen3.7-plus |
awkweave-0002917 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | farah 21 closed
eli 20 closed
farah 8 paused
eli 24 ready
hana 18 failed
farah 24 paused
kim 6 active
lina 21 pending
| closed
closed
paused
ready
failed
paused
active
pending
| chen 7 pending
chen 30 ready
jules 25 pending
alice 9 ready
eli 6 paused
farah 13 active
lina 24 failed
eli 2 pending
dina 15 failed
lina 18 ready
| pending
ready
pending
ready
paused
active
failed
pending
failed
ready
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002917-p1 | Given tab-separated input, output the third column for every record. | BEGIN{FS=OFS="\t"}{print $3} | farah 21 closed
eli 20 closed
farah 8 paused
eli 24 ready
hana 18 failed
farah 24 paused
kim 6 active
lina 21 pending
| closed
closed
paused
ready
failed
paused
active
pending
| chen 7 pending
chen 30 ready
jules 25 pending
alice 9 ready
eli 6 paused
farah 13 active
lina 24 failed
eli 2 pending
dina 15 failed
lina 18 ready
| pending
ready
pending
ready
paused
active
failed
pending
failed
ready
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002917 | qwen/qwen3.7-plus |
awkweave-0002918 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8. | BEGIN{FS=OFS=","}$2>8{print $1} | eli,15,pending
eli,18,paused
farah,10,pending
bruno,25,failed
lina,15,active
kim,3,closed
| eli
eli
farah
bruno
lina
| dina,15,closed
lina,18,pending
jules,12,failed
farah,20,active
gus,30,ready
alice,6,ready
eli,16,active
hana,13,ready
| dina
lina
jules
farah
gus
eli
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002918-p1 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8. | BEGIN{FS=OFS=","}$2>8{print $1} | eli,15,pending
eli,18,paused
farah,10,pending
bruno,25,failed
lina,15,active
kim,3,closed
| eli
eli
farah
bruno
lina
| dina,15,closed
lina,18,pending
jules,12,failed
farah,20,active
gus,30,ready
alice,6,ready
eli,16,active
hana,13,ready
| dina
lina
jules
farah
gus
eli
hana
| csv_filter | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0002918 | qwen/qwen3.7-plus |
awkweave-0002919 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen harbor 91
gus cobalt 53
alice amber 43
hana harbor 96
ivan ember 87
dina ember 8
farah indigo 94
| chen harbor 91
gus cobalt 53
alice amber 43
hana harbor 96
ivan ember 87
dina ember 8
farah indigo 94
| alice ember 37
kim cobalt 56
farah indigo 28
jules harbor 30
gus juniper 73
ivan harbor 72
dina harbor 115
hana cobalt 38
| alice ember 37
kim cobalt 56
farah indigo 28
jules harbor 30
gus juniper 73
ivan harbor 72
dina harbor 115
hana cobalt 38
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002919-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | chen harbor 91
gus cobalt 53
alice amber 43
hana harbor 96
ivan ember 87
dina ember 8
farah indigo 94
| chen harbor 91
gus cobalt 53
alice amber 43
hana harbor 96
ivan ember 87
dina ember 8
farah indigo 94
| alice ember 37
kim cobalt 56
farah indigo 28
jules harbor 30
gus juniper 73
ivan harbor 72
dina harbor 115
hana cobalt 38
| alice ember 37
kim cobalt 56
farah indigo 28
jules harbor 30
gus juniper 73
ivan harbor 72
dina harbor 115
hana cobalt 38
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002919 | qwen/qwen3.7-plus |
awkweave-0002920 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli cobalt 36 active
alice birch 117 active
eli cobalt 21 ready
kim harbor 68 failed
dina ember 88 failed
alice ember 59 pending
farah grove 79 failed
chen juniper 76 active
alice ember 19 paused
| alice birch 117 active
| alice fable 39 failed
dina indigo 53 ready
eli juniper 74 active
bruno amber 58 pending
alice birch 119 pending
gus juniper 95 ready
dina grove 30 ready
alice fable 69 closed
kim grove 49 pending
eli indigo 11 pending
| alice birch 119 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002920-p1 | Identify and display the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | eli cobalt 36 active
alice birch 117 active
eli cobalt 21 ready
kim harbor 68 failed
dina ember 88 failed
alice ember 59 pending
farah grove 79 failed
chen juniper 76 active
alice ember 19 paused
| alice birch 117 active
| alice fable 39 failed
dina indigo 53 ready
eli juniper 74 active
bruno amber 58 pending
alice birch 119 pending
gus juniper 95 ready
dina grove 30 ready
alice fable 69 closed
kim grove 49 pending
eli indigo 11 pending
| alice birch 119 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002920 | qwen/qwen3.7-plus |
awkweave-0002921 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | ivan 114
lina 104
bruno 63
hana 1
lina 111
ivan 26
lina 29
hana 18
eli 103
| ivan 114
hana 1
lina 29
| eli 57
dina 51
gus 55
farah 100
ivan 108
bruno 97
| eli 57
farah 100
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002921-p1 | Display every third line of the input, beginning with the first line (i.e., lines 1, 4, 7, etc.). | NR%3==1 | ivan 114
lina 104
bruno 63
hana 1
lina 111
ivan 26
lina 29
hana 18
eli 103
| ivan 114
hana 1
lina 29
| eli 57
dina 51
gus 55
farah 100
ivan 108
bruno 97
| eli 57
farah 100
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002921 | qwen/qwen3.7-plus |
awkweave-0002922 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 34
delta amber 5
alpha fable 42
gamma birch 38
alpha ember 116
beta delta 72
delta fable 87
gamma grove 20
beta fable 2
| 4
| beta ember 35
delta delta 84
beta juniper 98
gamma ember 85
beta cobalt 26
beta grove 87
gamma juniper 48
beta fable 90
delta delta 66
alpha birch 49
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002922-p1 | Calculate and output only the total number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 34
delta amber 5
alpha fable 42
gamma birch 38
alpha ember 116
beta delta 72
delta fable 87
gamma grove 20
beta fable 2
| 4
| beta ember 35
delta delta 84
beta juniper 98
gamma ember 85
beta cobalt 26
beta grove 87
gamma juniper 48
beta fable 90
delta delta 66
alpha birch 49
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002922 | qwen/qwen3.7-plus |
awkweave-0002923 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 4 0
lina 8 11
hana 11 20
jules 3 15
eli 5 21
gus 22 12
dina 27 7
ivan 13 5
eli 12 13
eli 3 27
| lina 0.73
hana 0.55
jules 0.20
eli 0.24
gus 1.83
dina 3.86
ivan 2.60
eli 0.92
eli 0.11
| bruno 1 0
hana 6 27
ivan 5 4
dina 30 22
farah 27 1
dina 13 28
alice 13 4
hana 14 26
lina 1 16
| hana 0.22
ivan 1.25
dina 1.36
farah 27.00
dina 0.46
alice 3.25
hana 0.54
lina 0.06
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002923-p1 | For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 4 0
lina 8 11
hana 11 20
jules 3 15
eli 5 21
gus 22 12
dina 27 7
ivan 13 5
eli 12 13
eli 3 27
| lina 0.73
hana 0.55
jules 0.20
eli 0.24
gus 1.83
dina 3.86
ivan 2.60
eli 0.92
eli 0.11
| bruno 1 0
hana 6 27
ivan 5 4
dina 30 22
farah 27 1
dina 13 28
alice 13 4
hana 14 26
lina 1 16
| hana 0.22
ivan 1.25
dina 1.36
farah 27.00
dina 0.46
alice 3.25
hana 0.54
lina 0.06
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002923 | qwen/qwen3.7-plus |
awkweave-0002924 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim amber 10
chen fable 12
hana indigo 26
lina delta 23
ivan fable 12
bruno juniper 28
bruno birch 30
| bruno birch 30
bruno juniper 28
hana indigo 26
| lina cobalt 25
hana ember 21
chen indigo 29
bruno delta 28
ivan fable 21
chen birch 8
| chen indigo 29
bruno delta 28
lina cobalt 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002924-p1 | Output the three 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]} | kim amber 10
chen fable 12
hana indigo 26
lina delta 23
ivan fable 12
bruno juniper 28
bruno birch 30
| bruno birch 30
bruno juniper 28
hana indigo 26
| lina cobalt 25
hana ember 21
chen indigo 29
bruno delta 28
ivan fable 21
chen birch 8
| chen indigo 29
bruno delta 28
lina cobalt 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002924 | qwen/qwen3.7-plus |
awkweave-0002925 | Print column 3 followed by column 1 for every record. | {print $3, $1} | bruno 106 29 106 41 chen
ivan 49 35 73 34 alice
dina 74 95 2 109 chen
dina 96 33 111 65 gus
lina 69 66 107 54 dina
dina 44 12 120 99 jules
gus 102 72 8 16 hana
lina 78 104 82 14 chen
bruno 116 114 100 109 ivan
farah 36 80 18 77 ivan
| 29 bruno
35 ivan
95 dina
33 dina
66 lina
12 dina
72 gus
104 lina
114 bruno
80 farah
| gus 102 19 64 53 ivan
dina 118 77 20 116 kim
jules 91 38 24 19 hana
bruno 93 102 97 117 gus
eli 84 62 19 40 alice
farah 6 80 56 93 ivan
hana 89 30 24 100 gus
dina 38 27 104 71 ivan
bruno 66 55 77 23 farah
| 19 gus
77 dina
38 jules
102 bruno
62 eli
80 farah
30 hana
27 dina
55 bruno
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002925-p1 | For every record, output the third column followed by the first column. | {print $3, $1} | bruno 106 29 106 41 chen
ivan 49 35 73 34 alice
dina 74 95 2 109 chen
dina 96 33 111 65 gus
lina 69 66 107 54 dina
dina 44 12 120 99 jules
gus 102 72 8 16 hana
lina 78 104 82 14 chen
bruno 116 114 100 109 ivan
farah 36 80 18 77 ivan
| 29 bruno
35 ivan
95 dina
33 dina
66 lina
12 dina
72 gus
104 lina
114 bruno
80 farah
| gus 102 19 64 53 ivan
dina 118 77 20 116 kim
jules 91 38 24 19 hana
bruno 93 102 97 117 gus
eli 84 62 19 40 alice
farah 6 80 56 93 ivan
hana 89 30 24 100 gus
dina 38 27 104 71 ivan
bruno 66 55 77 23 farah
| 19 gus
77 dina
38 jules
102 bruno
62 eli
80 farah
30 hana
27 dina
55 bruno
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002925 | qwen/qwen3.7-plus |
awkweave-0002926 | Print the last field of every input line. | {print $NF} | 19 94 active closed active ready
89 32 paused closed failed paused
48 16 active pending active ready
83 69 failed failed failed pending
25 7 failed ready ready pending
106 94 active ready paused closed
74 38 closed failed failed closed
57 69 active closed pending paused
| ready
paused
ready
pending
pending
closed
closed
paused
| 72 79 pending paused active failed
53 112 paused pending failed paused
54 79 active closed failed failed
63 31 failed closed failed failed
77 65 closed closed paused active
11 98 paused closed ready closed
62 91 closed active failed failed
| failed
paused
failed
failed
active
closed
failed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002926-p1 | Print the final field of each input line. | {print $NF} | 19 94 active closed active ready
89 32 paused closed failed paused
48 16 active pending active ready
83 69 failed failed failed pending
25 7 failed ready ready pending
106 94 active ready paused closed
74 38 closed failed failed closed
57 69 active closed pending paused
| ready
paused
ready
pending
pending
closed
closed
paused
| 72 79 pending paused active failed
53 112 paused pending failed paused
54 79 active closed failed failed
63 31 failed closed failed failed
77 65 closed closed paused active
11 98 paused closed ready closed
62 91 closed active failed failed
| failed
paused
failed
failed
active
closed
failed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002926 | qwen/qwen3.7-plus |
awkweave-0002927 | Print the complete records where column 4 is less than 20. | $4 < 20 | amber kim juniper 91 closed
harbor hana juniper 24 active
amber ivan ember 8 paused
fable chen birch 25 pending
cobalt gus birch 42 pending
juniper bruno fable 55 ready
| amber ivan ember 8 paused
| indigo chen harbor 32 paused
ember lina harbor 96 failed
ember hana fable 62 pending
fable gus amber 16 failed
birch kim grove 75 paused
cobalt chen harbor 30 pending
ember eli fable 61 failed
| fable gus amber 16 failed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002927-p1 | Output the full records for which the value in column 4 is strictly less than 20. | $4 < 20 | amber kim juniper 91 closed
harbor hana juniper 24 active
amber ivan ember 8 paused
fable chen birch 25 pending
cobalt gus birch 42 pending
juniper bruno fable 55 ready
| amber ivan ember 8 paused
| indigo chen harbor 32 paused
ember lina harbor 96 failed
ember hana fable 62 pending
fable gus amber 16 failed
birch kim grove 75 paused
cobalt chen harbor 30 pending
ember eli fable 61 failed
| fable gus amber 16 failed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002927 | qwen/qwen3.7-plus |
awkweave-0002928 | Show whole lines whose 2nd field is between 6 and 24, inclusive. | $2 >= 6 && $2 <= 24 | paused 1 lina amber
ready 10 kim harbor
active 10 bruno ember
closed 25 hana cobalt
pending 10 lina grove
closed 19 ivan juniper
| ready 10 kim harbor
active 10 bruno ember
pending 10 lina grove
closed 19 ivan juniper
| failed 24 kim grove
active 12 lina delta
pending 28 lina grove
active 18 jules ember
ready 21 chen delta
paused 14 kim amber
| failed 24 kim grove
active 12 lina delta
active 18 jules ember
ready 21 chen delta
paused 14 kim amber
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002928-p1 | Display entire lines where the second field falls within the range of 6 to 24, inclusive. | $2 >= 6 && $2 <= 24 | paused 1 lina amber
ready 10 kim harbor
active 10 bruno ember
closed 25 hana cobalt
pending 10 lina grove
closed 19 ivan juniper
| ready 10 kim harbor
active 10 bruno ember
pending 10 lina grove
closed 19 ivan juniper
| failed 24 kim grove
active 12 lina delta
pending 28 lina grove
active 18 jules ember
ready 21 chen delta
paused 14 kim amber
| failed 24 kim grove
active 12 lina delta
active 18 jules ember
ready 21 chen delta
paused 14 kim amber
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002928 | qwen/qwen3.7-plus |
awkweave-0002929 | Print column 3 only for rows where column 2 is exactly failed. | $2 == "failed"{print $3} | 28 failed alice harbor
31 failed chen amber
41 active eli grove
10 paused farah indigo
13 closed ivan fable
28 paused alice ember
0 failed ivan delta
69 closed hana indigo
| alice
chen
ivan
| 40 paused dina juniper
26 closed dina grove
90 ready eli cobalt
104 paused hana amber
68 active dina amber
93 failed chen cobalt
100 active hana fable
38 ready lina delta
0 paused ivan fable
| chen
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002929-p1 | Output the third column exclusively for rows where the second column contains the exact string 'failed'. | $2 == "failed"{print $3} | 28 failed alice harbor
31 failed chen amber
41 active eli grove
10 paused farah indigo
13 closed ivan fable
28 paused alice ember
0 failed ivan delta
69 closed hana indigo
| alice
chen
ivan
| 40 paused dina juniper
26 closed dina grove
90 ready eli cobalt
104 paused hana amber
68 active dina amber
93 failed chen cobalt
100 active hana fable
38 ready lina delta
0 paused ivan fable
| chen
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002929 | qwen/qwen3.7-plus |
awkweave-0002930 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 11 ERROR grove
60 DEBUG birch
9 ERROR amber
120 ERROR grove
32 WARN fable
11 INFO juniper
18 ERROR harbor
28 INFO birch
58 INFO grove
66 INFO grove
| 11 ERROR grove
9 ERROR amber
120 ERROR grove
18 ERROR harbor
| 95 ERROR delta
109 WARN indigo
43 ERROR birch
5 ERROR amber
28 WARN grove
81 WARN harbor
8 DEBUG amber
| 95 ERROR delta
43 ERROR birch
5 ERROR amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002930-p1 | Output all fields for rows where the second field starts with ERROR. | $2 ~ /^ERROR/ | 11 ERROR grove
60 DEBUG birch
9 ERROR amber
120 ERROR grove
32 WARN fable
11 INFO juniper
18 ERROR harbor
28 INFO birch
58 INFO grove
66 INFO grove
| 11 ERROR grove
9 ERROR amber
120 ERROR grove
18 ERROR harbor
| 95 ERROR delta
109 WARN indigo
43 ERROR birch
5 ERROR amber
28 WARN grove
81 WARN harbor
8 DEBUG amber
| 95 ERROR delta
43 ERROR birch
5 ERROR amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002930 | qwen/qwen3.7-plus |
awkweave-0002931 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | ember 7 ready
indigo 33 ready
cobalt 107 active
ember 69 failed
juniper 38 failed
harbor 90 closed
indigo 75 closed
ember 17 ready
birch 2 closed
ember 999 active
| indigo 33 ready
cobalt 107 active
juniper 38 failed
harbor 90 closed
indigo 75 closed
birch 2 closed
| cobalt 91 closed
delta 1 pending
ember 94 active
delta 94 closed
delta 74 closed
ember 88 active
cobalt 86 active
fable 43 ready
delta 106 failed
ember 999 active
| cobalt 91 closed
delta 1 pending
delta 94 closed
delta 74 closed
cobalt 86 active
fable 43 ready
delta 106 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002931-p1 | Display every line that does not contain the exact string ember. | $0 !~ /ember/ | ember 7 ready
indigo 33 ready
cobalt 107 active
ember 69 failed
juniper 38 failed
harbor 90 closed
indigo 75 closed
ember 17 ready
birch 2 closed
ember 999 active
| indigo 33 ready
cobalt 107 active
juniper 38 failed
harbor 90 closed
indigo 75 closed
birch 2 closed
| cobalt 91 closed
delta 1 pending
ember 94 active
delta 94 closed
delta 74 closed
ember 88 active
cobalt 86 active
fable 43 ready
delta 106 failed
ember 999 active
| cobalt 91 closed
delta 1 pending
delta 94 closed
delta 74 closed
cobalt 86 active
fable 43 ready
delta 106 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002931 | qwen/qwen3.7-plus |
awkweave-0002932 | Print lines 4 through 6, including both endpoints. | NR >= 4 && NR <= 6 | jules indigo 0
eli fable 14
farah birch 53
dina cobalt 51
eli juniper 49
eli ember 119
bruno fable 4
alice ember 90
kim cobalt 14
| dina cobalt 51
eli juniper 49
eli ember 119
| alice delta 19
gus cobalt 36
chen harbor 116
chen ember 93
ivan ember 56
hana delta 51
lina grove 50
| chen ember 93
ivan ember 56
hana delta 51
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002932-p1 | Show lines 4 to 6, inclusive. | NR >= 4 && NR <= 6 | jules indigo 0
eli fable 14
farah birch 53
dina cobalt 51
eli juniper 49
eli ember 119
bruno fable 4
alice ember 90
kim cobalt 14
| dina cobalt 51
eli juniper 49
eli ember 119
| alice delta 19
gus cobalt 36
chen harbor 116
chen ember 93
ivan ember 56
hana delta 51
lina grove 50
| chen ember 93
ivan ember 56
hana delta 51
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002932 | qwen/qwen3.7-plus |
awkweave-0002933 | Output only the first 2 records. | NR <= 2 | hana 8 indigo
kim 91 grove
lina 14 juniper
dina 32 fable
ivan 80 cobalt
eli 8 ember
kim 108 amber
ivan 32 juniper
ivan 55 amber
alice 35 fable
| hana 8 indigo
kim 91 grove
| gus 79 harbor
gus 105 cobalt
gus 76 fable
lina 47 cobalt
gus 108 indigo
jules 19 fable
kim 105 fable
| gus 79 harbor
gus 105 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002933-p1 | Print only the first 2 records. | NR <= 2 | hana 8 indigo
kim 91 grove
lina 14 juniper
dina 32 fable
ivan 80 cobalt
eli 8 ember
kim 108 amber
ivan 32 juniper
ivan 55 amber
alice 35 fable
| hana 8 indigo
kim 91 grove
| gus 79 harbor
gus 105 cobalt
gus 76 fable
lina 47 cobalt
gus 108 indigo
jules 19 fable
kim 105 fable
| gus 79 harbor
gus 105 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002933 | qwen/qwen3.7-plus |
awkweave-0002934 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 15 harbor
eli 117 indigo
kim 59 delta
ivan 6 delta
bruno 118 delta
hana 70 juniper
gus 82 delta
kim 87 amber
bruno 108 fable
ivan 35 delta
| eli 117 indigo
kim 59 delta
ivan 6 delta
bruno 118 delta
hana 70 juniper
gus 82 delta
kim 87 amber
bruno 108 fable
ivan 35 delta
| jules 104 delta
ivan 88 indigo
kim 57 grove
jules 12 ember
bruno 4 indigo
eli 84 fable
eli 41 juniper
kim 12 harbor
kim 42 fable
ivan 118 fable
| ivan 88 indigo
kim 57 grove
jules 12 ember
bruno 4 indigo
eli 84 fable
eli 41 juniper
kim 12 harbor
kim 42 fable
ivan 118 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002934-p1 | Omit the first line and print the rest of the lines as they are. | NR > 1 | bruno 15 harbor
eli 117 indigo
kim 59 delta
ivan 6 delta
bruno 118 delta
hana 70 juniper
gus 82 delta
kim 87 amber
bruno 108 fable
ivan 35 delta
| eli 117 indigo
kim 59 delta
ivan 6 delta
bruno 118 delta
hana 70 juniper
gus 82 delta
kim 87 amber
bruno 108 fable
ivan 35 delta
| jules 104 delta
ivan 88 indigo
kim 57 grove
jules 12 ember
bruno 4 indigo
eli 84 fable
eli 41 juniper
kim 12 harbor
kim 42 fable
ivan 118 fable
| ivan 88 indigo
kim 57 grove
jules 12 ember
bruno 4 indigo
eli 84 fable
eli 41 juniper
kim 12 harbor
kim 42 fable
ivan 118 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002934 | qwen/qwen3.7-plus |
awkweave-0002935 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | gus failed 89
bruno active 59
gus active 65
hana active 94
chen failed 5
lina closed 9
farah paused 32
chen ready 109
| 3
| hana pending 110
gus pending 31
ivan closed 94
kim pending 16
ivan closed 44
bruno pending 50
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002935-p1 | Count the number of records with 'active' in the second column; output 0 if none exist. | $2 == "active"{n++}END{print n+0} | gus failed 89
bruno active 59
gus active 65
hana active 94
chen failed 5
lina closed 9
farah paused 32
chen ready 109
| 3
| hana pending 110
gus pending 31
ivan closed 94
kim pending 16
ivan closed 44
bruno pending 50
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002935 | qwen/qwen3.7-plus |
awkweave-0002936 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | juniper 18 lina
juniper 5 dina
indigo 13 gus
delta 16 eli
birch 12 bruno
ember 26 ivan
delta 5 gus
fable 25 bruno
indigo 3 kim
| 123
| harbor 16 jules
harbor 25 dina
harbor 12 chen
delta 24 kim
juniper 13 bruno
fable 16 dina
fable 13 ivan
| 119
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002936-p1 | Compute and display the sum of integer values in the second column. | {s+=$2}END{print s+0} | juniper 18 lina
juniper 5 dina
indigo 13 gus
delta 16 eli
birch 12 bruno
ember 26 ivan
delta 5 gus
fable 25 bruno
indigo 3 kim
| 123
| harbor 16 jules
harbor 25 dina
harbor 12 chen
delta 24 kim
juniper 13 bruno
fable 16 dina
fable 13 ivan
| 119
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002936 | qwen/qwen3.7-plus |
awkweave-0002937 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor ivan 25
cobalt gus 25
amber bruno 9
fable jules 26
amber kim 21
cobalt alice 12
fable hana 9
birch kim 24
harbor eli 25
cobalt alice 30
| 20.60
| amber hana 20
birch gus 28
amber kim 16
juniper eli 2
harbor chen 12
harbor hana 21
amber lina 8
delta hana 6
delta lina 14
grove dina 23
| 15.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002937-p1 | Print the average of the third column, rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor ivan 25
cobalt gus 25
amber bruno 9
fable jules 26
amber kim 21
cobalt alice 12
fable hana 9
birch kim 24
harbor eli 25
cobalt alice 30
| 20.60
| amber hana 20
birch gus 28
amber kim 16
juniper eli 2
harbor chen 12
harbor hana 21
amber lina 8
delta hana 6
delta lina 14
grove dina 23
| 15.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002937 | qwen/qwen3.7-plus |
awkweave-0002938 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 30 amber dina
8 amber kim
30 cobalt gus
5 juniper eli
17 juniper hana
5 amber chen
8 indigo jules
| 5
| 30 indigo eli
30 cobalt bruno
1 cobalt jules
9 grove gus
5 cobalt eli
19 amber dina
30 indigo alice
20 cobalt hana
2 juniper chen
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002938-p1 | Identify and print the minimum numeric value in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 30 amber dina
8 amber kim
30 cobalt gus
5 juniper eli
17 juniper hana
5 amber chen
8 indigo jules
| 5
| 30 indigo eli
30 cobalt bruno
1 cobalt jules
9 grove gus
5 cobalt eli
19 amber dina
30 indigo alice
20 cobalt hana
2 juniper chen
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002938 | qwen/qwen3.7-plus |
awkweave-0002939 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch gus 29
harbor chen 17
harbor chen 22
birch bruno 8
birch farah 24
birch bruno 16
ember jules 21
cobalt chen 16
birch kim 30
delta chen 4
| 30
| harbor ivan 4
juniper lina 12
amber jules 14
harbor farah 14
amber dina 6
grove lina 10
ember eli 25
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0002939-p1 | Identify and print the maximum numeric value in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch gus 29
harbor chen 17
harbor chen 22
birch bruno 8
birch farah 24
birch bruno 16
ember jules 21
cobalt chen 16
birch kim 30
delta chen 4
| 30
| harbor ivan 4
juniper lina 12
amber jules 14
harbor farah 14
amber dina 6
grove lina 10
ember eli 25
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0002939 | qwen/qwen3.7-plus |
awkweave-0002940 | Count all input records and print the total. | END{print NR} | hana 17
alice 47
jules 94
lina 107
dina 55
chen 80
bruno 8
bruno 73
gus 23
ivan 23
| 10
| eli 42
hana 26
alice 70
bruno 52
dina 108
alice 46
lina 52
lina 100
ivan 25
| 9
| count_records | 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.