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-0026161-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 14 failed
lina 24 active
eli 20 closed
alice 2 closed
hana 4 ready
kim 23 ready
dina 22 paused
farah 28 pending
ivan 28 paused
| 14
24
20
2
4
23
22
28
28
| jules 8 failed
kim 21 closed
ivan 1 pending
eli 5 active
eli 21 pending
eli 4 active
eli 14 active
| 8
21
1
5
21
4
14
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026161 | qwen/qwen3.7-plus |
awkweave-0026162 | 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} | kim,23,ready
jules,24,active
lina,27,closed
bruno,25,active
lina,8,closed
bruno,10,paused
dina,15,closed
| kim
jules
lina
bruno
bruno
dina
| kim,21,failed
jules,25,pending
bruno,1,ready
eli,3,closed
gus,18,pending
ivan,17,pending
jules,11,closed
alice,6,pending
chen,11,closed
| kim
jules
gus
ivan
jules
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026162-p1 | For simple comma-separated input without quoted commas, print the first column if the second column value is greater than 8. | BEGIN{FS=OFS=","}$2>8{print $1} | kim,23,ready
jules,24,active
lina,27,closed
bruno,25,active
lina,8,closed
bruno,10,paused
dina,15,closed
| kim
jules
lina
bruno
bruno
dina
| kim,21,failed
jules,25,pending
bruno,1,ready
eli,3,closed
gus,18,pending
ivan,17,pending
jules,11,closed
alice,6,pending
chen,11,closed
| kim
jules
gus
ivan
jules
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026162 | qwen/qwen3.7-plus |
awkweave-0026163 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli birch 50
dina ember 38
bruno ember 108
hana juniper 14
farah grove 120
hana juniper 14
chen ember 3
| eli birch 50
dina ember 38
bruno ember 108
hana juniper 14
farah grove 120
hana juniper 14
chen ember 3
| eli cobalt 104
lina juniper 35
jules amber 34
farah fable 97
alice indigo 31
ivan grove 98
kim juniper 73
kim fable 17
farah delta 29
| eli cobalt 104
lina juniper 35
jules amber 34
farah fable 97
alice indigo 31
ivan grove 98
kim juniper 73
kim fable 17
farah delta 29
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026163-p1 | Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | eli birch 50
dina ember 38
bruno ember 108
hana juniper 14
farah grove 120
hana juniper 14
chen ember 3
| eli birch 50
dina ember 38
bruno ember 108
hana juniper 14
farah grove 120
hana juniper 14
chen ember 3
| eli cobalt 104
lina juniper 35
jules amber 34
farah fable 97
alice indigo 31
ivan grove 98
kim juniper 73
kim fable 17
farah delta 29
| eli cobalt 104
lina juniper 35
jules amber 34
farah fable 97
alice indigo 31
ivan grove 98
kim juniper 73
kim fable 17
farah delta 29
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026163 | qwen/qwen3.7-plus |
awkweave-0026164 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice fable 93 pending
alice amber 74 pending
hana harbor 31 closed
dina fable 109 ready
alice ember 84 ready
hana fable 46 active
ivan cobalt 71 ready
eli indigo 51 paused
gus grove 27 paused
| alice fable 93 pending
| hana juniper 49 ready
kim fable 59 pending
gus amber 111 pending
jules fable 35 active
jules amber 98 closed
jules cobalt 60 closed
| jules cobalt 60 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026164-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 fable 93 pending
alice amber 74 pending
hana harbor 31 closed
dina fable 109 ready
alice ember 84 ready
hana fable 46 active
ivan cobalt 71 ready
eli indigo 51 paused
gus grove 27 paused
| alice fable 93 pending
| hana juniper 49 ready
kim fable 59 pending
gus amber 111 pending
jules fable 35 active
jules amber 98 closed
jules cobalt 60 closed
| jules cobalt 60 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026164 | qwen/qwen3.7-plus |
awkweave-0026165 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | eli 99
alice 20
alice 91
bruno 46
eli 3
lina 50
| alice 20
bruno 46
lina 50
| kim 40
chen 113
ivan 44
bruno 4
lina 12
dina 7
| chen 113
bruno 4
dina 7
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026165-p1 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | eli 99
alice 20
alice 91
bruno 46
eli 3
lina 50
| alice 20
bruno 46
lina 50
| kim 40
chen 113
ivan 44
bruno 4
lina 12
dina 7
| chen 113
bruno 4
dina 7
| every_nth | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0026165 | qwen/qwen3.7-plus |
awkweave-0026166 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 16
beta cobalt 120
beta grove 90
delta grove 6
beta grove 87
alpha cobalt 62
gamma fable 41
beta grove 4
| 4
| alpha ember 119
gamma birch 104
gamma cobalt 86
beta ember 31
delta grove 68
alpha indigo 52
alpha birch 65
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026166-p1 | Calculate the number of unique entries in the first column and output just that total. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 16
beta cobalt 120
beta grove 90
delta grove 6
beta grove 87
alpha cobalt 62
gamma fable 41
beta grove 4
| 4
| alpha ember 119
gamma birch 104
gamma cobalt 86
beta ember 31
delta grove 68
alpha indigo 52
alpha birch 65
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026166 | qwen/qwen3.7-plus |
awkweave-0026167 | 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} | kim 3 0
eli 21 14
kim 16 28
hana 3 25
bruno 20 16
eli 10 22
| eli 1.50
kim 0.57
hana 0.12
bruno 1.25
eli 0.45
| chen 6 0
alice 20 3
eli 12 5
chen 18 10
jules 6 25
kim 6 17
| alice 6.67
eli 2.40
chen 1.80
jules 0.24
kim 0.35
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026167-p1 | For each record, display the value from column 1 and the result of dividing column 2 by column 3 rounded to two decimal places, omitting any rows where column 3 equals 0. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 3 0
eli 21 14
kim 16 28
hana 3 25
bruno 20 16
eli 10 22
| eli 1.50
kim 0.57
hana 0.12
bruno 1.25
eli 0.45
| chen 6 0
alice 20 3
eli 12 5
chen 18 10
jules 6 25
kim 6 17
| alice 6.67
eli 2.40
chen 1.80
jules 0.24
kim 0.35
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026167 | qwen/qwen3.7-plus |
awkweave-0026168 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus amber 8
eli indigo 21
bruno grove 14
jules ember 30
kim amber 6
lina birch 27
chen amber 30
jules fable 7
gus indigo 20
| jules ember 30
chen amber 30
lina birch 27
| hana cobalt 7
chen delta 8
gus delta 8
alice amber 18
bruno cobalt 22
alice birch 11
| bruno cobalt 22
alice amber 18
alice birch 11
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026168-p1 | Output the top three full records based on the highest numeric values in column 3, sorted in descending order, while maintaining the original input sequence for any tied values. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus amber 8
eli indigo 21
bruno grove 14
jules ember 30
kim amber 6
lina birch 27
chen amber 30
jules fable 7
gus indigo 20
| jules ember 30
chen amber 30
lina birch 27
| hana cobalt 7
chen delta 8
gus delta 8
alice amber 18
bruno cobalt 22
alice birch 11
| bruno cobalt 22
alice amber 18
alice birch 11
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026168 | qwen/qwen3.7-plus |
awkweave-0026169 | Print column 2 followed by column 1 for every record. | {print $2, $1} | 14 8 closed closed
91 117 ready ready
33 69 failed paused
39 31 paused paused
23 64 pending paused
9 35 closed paused
| 8 14
117 91
69 33
31 39
64 23
35 9
| 118 109 paused paused
88 99 pending active
52 78 pending pending
41 103 active pending
113 87 failed failed
116 32 pending paused
103 45 failed failed
54 27 ready paused
| 109 118
99 88
78 52
103 41
87 113
32 116
45 103
27 54
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026169-p1 | Display the second column followed by the first column for every entry. | {print $2, $1} | 14 8 closed closed
91 117 ready ready
33 69 failed paused
39 31 paused paused
23 64 pending paused
9 35 closed paused
| 8 14
117 91
69 33
31 39
64 23
35 9
| 118 109 paused paused
88 99 pending active
52 78 pending pending
41 103 active pending
113 87 failed failed
116 32 pending paused
103 45 failed failed
54 27 ready paused
| 109 118
99 88
78 52
103 41
87 113
32 116
45 103
27 54
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026169 | qwen/qwen3.7-plus |
awkweave-0026170 | Print the last field of every input line. | {print $NF} | active juniper 48 juniper ivan
active cobalt 119 grove ivan
failed birch 86 amber eli
closed juniper 96 harbor lina
failed grove 92 fable chen
ready delta 101 grove jules
closed ember 38 fable bruno
ready juniper 11 juniper alice
| ivan
ivan
eli
lina
chen
jules
bruno
alice
| paused delta 64 ember chen
closed birch 48 ember alice
pending grove 47 juniper gus
failed indigo 44 amber bruno
active harbor 69 delta bruno
active juniper 44 fable chen
pending harbor 115 harbor jules
ready birch 105 ember lina
ready birch 38 fable dina
| chen
alice
gus
bruno
bruno
chen
jules
lina
dina
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026170-p1 | Output the final field from each line of input. | {print $NF} | active juniper 48 juniper ivan
active cobalt 119 grove ivan
failed birch 86 amber eli
closed juniper 96 harbor lina
failed grove 92 fable chen
ready delta 101 grove jules
closed ember 38 fable bruno
ready juniper 11 juniper alice
| ivan
ivan
eli
lina
chen
jules
bruno
alice
| paused delta 64 ember chen
closed birch 48 ember alice
pending grove 47 juniper gus
failed indigo 44 amber bruno
active harbor 69 delta bruno
active juniper 44 fable chen
pending harbor 115 harbor jules
ready birch 105 ember lina
ready birch 38 fable dina
| chen
alice
gus
bruno
bruno
chen
jules
lina
dina
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026170 | qwen/qwen3.7-plus |
awkweave-0026171 | Print the complete records where column 4 is at most 50. | $4 <= 50 | bruno lina paused 23 cobalt
alice gus ready 87 fable
farah bruno closed 95 amber
ivan chen paused 51 birch
jules hana active 88 harbor
bruno ivan failed 114 ember
chen dina active 60 birch
alice kim ready 39 grove
| bruno lina paused 23 cobalt
alice kim ready 39 grove
| gus hana paused 32 ember
eli bruno pending 76 fable
chen ivan ready 42 amber
hana eli failed 54 ember
ivan farah paused 55 ember
farah alice active 67 amber
alice alice paused 49 indigo
alice lina pending 63 juniper
| gus hana paused 32 ember
chen ivan ready 42 amber
alice alice paused 49 indigo
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026171-p1 | Print the full records where the value in column 4 is less than or equal to 50. | $4 <= 50 | bruno lina paused 23 cobalt
alice gus ready 87 fable
farah bruno closed 95 amber
ivan chen paused 51 birch
jules hana active 88 harbor
bruno ivan failed 114 ember
chen dina active 60 birch
alice kim ready 39 grove
| bruno lina paused 23 cobalt
alice kim ready 39 grove
| gus hana paused 32 ember
eli bruno pending 76 fable
chen ivan ready 42 amber
hana eli failed 54 ember
ivan farah paused 55 ember
farah alice active 67 amber
alice alice paused 49 indigo
alice lina pending 63 juniper
| gus hana paused 32 ember
chen ivan ready 42 amber
alice alice paused 49 indigo
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026171 | qwen/qwen3.7-plus |
awkweave-0026172 | Show whole lines whose 3rd field is between 12 and 26, inclusive. | $3 >= 12 && $3 <= 26 | dina indigo 21 dina
eli harbor 19 bruno
ivan harbor 28 chen
bruno cobalt 19 lina
hana birch 28 chen
farah fable 30 hana
lina ember 12 jules
| dina indigo 21 dina
eli harbor 19 bruno
bruno cobalt 19 lina
lina ember 12 jules
| gus indigo 15 farah
lina cobalt 27 eli
bruno amber 1 ivan
kim delta 23 dina
alice cobalt 21 bruno
eli juniper 5 alice
| gus indigo 15 farah
kim delta 23 dina
alice cobalt 21 bruno
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026172-p1 | Display entire lines where the third field falls within the range of 12 to 26, inclusive. | $3 >= 12 && $3 <= 26 | dina indigo 21 dina
eli harbor 19 bruno
ivan harbor 28 chen
bruno cobalt 19 lina
hana birch 28 chen
farah fable 30 hana
lina ember 12 jules
| dina indigo 21 dina
eli harbor 19 bruno
bruno cobalt 19 lina
lina ember 12 jules
| gus indigo 15 farah
lina cobalt 27 eli
bruno amber 1 ivan
kim delta 23 dina
alice cobalt 21 bruno
eli juniper 5 alice
| gus indigo 15 farah
kim delta 23 dina
alice cobalt 21 bruno
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026172 | qwen/qwen3.7-plus |
awkweave-0026173 | Print column 4 only for rows where column 3 is exactly ready. | $3 == "ready"{print $4} | 14 amber failed jules
34 cobalt paused eli
48 delta ready chen
117 amber paused kim
96 indigo paused jules
74 birch closed gus
| chen
| 25 amber closed jules
57 grove pending dina
23 delta ready ivan
103 delta failed jules
44 ember pending ivan
82 juniper pending hana
115 birch closed lina
33 cobalt active alice
| ivan
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026173-p1 | Output only the fourth column for rows where the third column contains exactly the text 'ready'. | $3 == "ready"{print $4} | 14 amber failed jules
34 cobalt paused eli
48 delta ready chen
117 amber paused kim
96 indigo paused jules
74 birch closed gus
| chen
| 25 amber closed jules
57 grove pending dina
23 delta ready ivan
103 delta failed jules
44 ember pending ivan
82 juniper pending hana
115 birch closed lina
33 cobalt active alice
| ivan
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026173 | qwen/qwen3.7-plus |
awkweave-0026174 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 108 INFO cobalt
96 ERROR indigo
91 DEBUG grove
30 ERROR fable
18 INFO ember
24 DEBUG indigo
81 WARN ember
20 DEBUG fable
| 96 ERROR indigo
30 ERROR fable
| 106 DEBUG delta
28 INFO juniper
112 ERROR amber
68 DEBUG cobalt
45 DEBUG indigo
14 DEBUG delta
| 112 ERROR amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026174-p1 | Print all fields from lines where the second field starts with the string 'ERROR'. | $2 ~ /^ERROR/ | 108 INFO cobalt
96 ERROR indigo
91 DEBUG grove
30 ERROR fable
18 INFO ember
24 DEBUG indigo
81 WARN ember
20 DEBUG fable
| 96 ERROR indigo
30 ERROR fable
| 106 DEBUG delta
28 INFO juniper
112 ERROR amber
68 DEBUG cobalt
45 DEBUG indigo
14 DEBUG delta
| 112 ERROR amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026174 | qwen/qwen3.7-plus |
awkweave-0026175 | Print every line except those containing the exact text delta. | $0 !~ /delta/ | delta 74 failed
grove 109 active
fable 82 active
cobalt 109 failed
amber 23 paused
grove 58 failed
cobalt 13 closed
indigo 116 pending
ember 58 ready
delta 999 active
| grove 109 active
fable 82 active
cobalt 109 failed
amber 23 paused
grove 58 failed
cobalt 13 closed
indigo 116 pending
ember 58 ready
| fable 117 pending
birch 111 failed
juniper 11 pending
cobalt 37 closed
juniper 115 closed
indigo 115 paused
juniper 56 ready
fable 114 active
birch 42 paused
juniper 110 paused
delta 999 active
| fable 117 pending
birch 111 failed
juniper 11 pending
cobalt 37 closed
juniper 115 closed
indigo 115 paused
juniper 56 ready
fable 114 active
birch 42 paused
juniper 110 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026175-p1 | Output every line except those that contain the exact string 'delta'. | $0 !~ /delta/ | delta 74 failed
grove 109 active
fable 82 active
cobalt 109 failed
amber 23 paused
grove 58 failed
cobalt 13 closed
indigo 116 pending
ember 58 ready
delta 999 active
| grove 109 active
fable 82 active
cobalt 109 failed
amber 23 paused
grove 58 failed
cobalt 13 closed
indigo 116 pending
ember 58 ready
| fable 117 pending
birch 111 failed
juniper 11 pending
cobalt 37 closed
juniper 115 closed
indigo 115 paused
juniper 56 ready
fable 114 active
birch 42 paused
juniper 110 paused
delta 999 active
| fable 117 pending
birch 111 failed
juniper 11 pending
cobalt 37 closed
juniper 115 closed
indigo 115 paused
juniper 56 ready
fable 114 active
birch 42 paused
juniper 110 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026175 | qwen/qwen3.7-plus |
awkweave-0026176 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | gus cobalt 71
gus ember 21
ivan amber 30
kim grove 0
bruno indigo 11
ivan delta 76
| kim grove 0
bruno indigo 11
ivan delta 76
| chen harbor 105
eli ember 108
ivan indigo 44
farah cobalt 65
farah juniper 106
eli indigo 77
chen grove 46
jules juniper 118
gus fable 120
eli grove 22
| farah cobalt 65
farah juniper 106
eli indigo 77
chen grove 46
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026176-p1 | Print lines 4 through 7, inclusive of both the start and end lines. | NR >= 4 && NR <= 7 | gus cobalt 71
gus ember 21
ivan amber 30
kim grove 0
bruno indigo 11
ivan delta 76
| kim grove 0
bruno indigo 11
ivan delta 76
| chen harbor 105
eli ember 108
ivan indigo 44
farah cobalt 65
farah juniper 106
eli indigo 77
chen grove 46
jules juniper 118
gus fable 120
eli grove 22
| farah cobalt 65
farah juniper 106
eli indigo 77
chen grove 46
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026176 | qwen/qwen3.7-plus |
awkweave-0026177 | Output only the first 3 records. | NR <= 3 | hana 104 birch
ivan 68 ember
gus 99 ember
chen 90 ember
ivan 8 juniper
bruno 70 ember
bruno 65 harbor
gus 7 indigo
| hana 104 birch
ivan 68 ember
gus 99 ember
| ivan 112 ember
jules 28 delta
jules 3 indigo
gus 66 indigo
alice 18 indigo
ivan 94 ember
kim 6 ember
| ivan 112 ember
jules 28 delta
jules 3 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026177-p1 | Output only the first 3 records. | NR <= 3 | hana 104 birch
ivan 68 ember
gus 99 ember
chen 90 ember
ivan 8 juniper
bruno 70 ember
bruno 65 harbor
gus 7 indigo
| hana 104 birch
ivan 68 ember
gus 99 ember
| ivan 112 ember
jules 28 delta
jules 3 indigo
gus 66 indigo
alice 18 indigo
ivan 94 ember
kim 6 ember
| ivan 112 ember
jules 28 delta
jules 3 indigo
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0026177 | qwen/qwen3.7-plus |
awkweave-0026178 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 23 fable
gus 54 fable
hana 4 indigo
lina 106 birch
lina 55 fable
alice 66 birch
| gus 54 fable
hana 4 indigo
lina 106 birch
lina 55 fable
alice 66 birch
| hana 118 harbor
alice 112 harbor
hana 116 grove
jules 75 harbor
jules 8 ember
bruno 75 amber
farah 23 harbor
| alice 112 harbor
hana 116 grove
jules 75 harbor
jules 8 ember
bruno 75 amber
farah 23 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026178-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | chen 23 fable
gus 54 fable
hana 4 indigo
lina 106 birch
lina 55 fable
alice 66 birch
| gus 54 fable
hana 4 indigo
lina 106 birch
lina 55 fable
alice 66 birch
| hana 118 harbor
alice 112 harbor
hana 116 grove
jules 75 harbor
jules 8 ember
bruno 75 amber
farah 23 harbor
| alice 112 harbor
hana 116 grove
jules 75 harbor
jules 8 ember
bruno 75 amber
farah 23 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026178 | qwen/qwen3.7-plus |
awkweave-0026179 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | lina failed 37
farah pending 29
bruno failed 26
kim active 26
bruno ready 41
eli failed 22
alice ready 46
| 2
| kim failed 74
kim closed 114
hana ready 60
eli paused 66
jules closed 38
ivan closed 12
hana paused 36
hana pending 106
bruno closed 87
bruno ready 120
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026179-p1 | Determine the number of entries where the second column contains 'ready', outputting 0 if no such entries exist. | $2 == "ready"{n++}END{print n+0} | lina failed 37
farah pending 29
bruno failed 26
kim active 26
bruno ready 41
eli failed 22
alice ready 46
| 2
| kim failed 74
kim closed 114
hana ready 60
eli paused 66
jules closed 38
ivan closed 12
hana paused 36
hana pending 106
bruno closed 87
bruno ready 120
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026179 | qwen/qwen3.7-plus |
awkweave-0026180 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 15 hana ember
26 ivan delta
8 gus harbor
25 gus cobalt
25 gus ember
29 gus grove
30 lina cobalt
3 eli indigo
11 farah indigo
12 hana amber
| 184
| 4 alice grove
12 eli amber
1 jules grove
6 chen delta
22 kim cobalt
25 gus delta
8 chen juniper
| 78
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026180-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 15 hana ember
26 ivan delta
8 gus harbor
25 gus cobalt
25 gus ember
29 gus grove
30 lina cobalt
3 eli indigo
11 farah indigo
12 hana amber
| 184
| 4 alice grove
12 eli amber
1 jules grove
6 chen delta
22 kim cobalt
25 gus delta
8 chen juniper
| 78
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026180 | qwen/qwen3.7-plus |
awkweave-0026181 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 delta alice
7 harbor hana
6 amber eli
27 ember lina
13 delta gus
10 cobalt jules
| 11.33
| 30 juniper hana
5 delta ivan
1 fable hana
17 grove dina
12 harbor chen
3 fable alice
16 amber farah
1 amber ivan
17 delta jules
| 11.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026181-p1 | Output the average of the values in column 1, formatted to precisely two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 delta alice
7 harbor hana
6 amber eli
27 ember lina
13 delta gus
10 cobalt jules
| 11.33
| 30 juniper hana
5 delta ivan
1 fable hana
17 grove dina
12 harbor chen
3 fable alice
16 amber farah
1 amber ivan
17 delta jules
| 11.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026181 | qwen/qwen3.7-plus |
awkweave-0026182 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 21 ember
hana 12 fable
dina 12 indigo
eli 15 ember
jules 24 birch
lina 14 delta
| 12
| eli 2 harbor
jules 5 indigo
farah 17 delta
jules 30 cobalt
alice 23 birch
bruno 17 amber
chen 10 indigo
gus 3 birch
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026182-p1 | Identify and display the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 21 ember
hana 12 fable
dina 12 indigo
eli 15 ember
jules 24 birch
lina 14 delta
| 12
| eli 2 harbor
jules 5 indigo
farah 17 delta
jules 30 cobalt
alice 23 birch
bruno 17 amber
chen 10 indigo
gus 3 birch
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026182 | qwen/qwen3.7-plus |
awkweave-0026183 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 25 kim fable
18 hana amber
9 lina cobalt
17 hana fable
13 hana birch
7 farah harbor
30 gus delta
28 hana harbor
2 chen delta
24 hana fable
| 30
| 20 alice fable
16 lina birch
30 kim grove
2 farah birch
28 bruno harbor
4 bruno ember
29 hana birch
28 jules harbor
26 eli cobalt
7 dina grove
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026183-p1 | Identify and display the maximum numeric value present in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 25 kim fable
18 hana amber
9 lina cobalt
17 hana fable
13 hana birch
7 farah harbor
30 gus delta
28 hana harbor
2 chen delta
24 hana fable
| 30
| 20 alice fable
16 lina birch
30 kim grove
2 farah birch
28 bruno harbor
4 bruno ember
29 hana birch
28 jules harbor
26 eli cobalt
7 dina grove
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026183 | qwen/qwen3.7-plus |
awkweave-0026184 | Count all input records and print the total. | END{print NR} | hana 84
kim 105
chen 104
ivan 13
lina 15
farah 91
| 6
| ivan 77
eli 2
jules 40
hana 72
dina 8
farah 85
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026184-p1 | Count the total number of input records and print the result. | END{print NR} | hana 84
kim 105
chen 104
ivan 13
lina 15
farah 91
| 6
| ivan 77
eli 2
jules 40
hana 72
dina 8
farah 85
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026184 | qwen/qwen3.7-plus |
awkweave-0026185 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice juniper 93
farah ember 62
kim indigo 63
kim indigo 63
farah harbor 61
alice birch 32
dina harbor 58
eli grove 50
jules juniper 38
| alice juniper 93
farah ember 62
kim indigo 63
farah harbor 61
alice birch 32
dina harbor 58
eli grove 50
jules juniper 38
| dina ember 0
ivan harbor 0
hana fable 113
ivan harbor 115
bruno fable 47
bruno birch 45
kim indigo 49
bruno amber 62
bruno birch 45
| dina ember 0
ivan harbor 0
hana fable 113
ivan harbor 115
bruno fable 47
bruno birch 45
kim indigo 49
bruno amber 62
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026185-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each. | !seen[$0]++ | alice juniper 93
farah ember 62
kim indigo 63
kim indigo 63
farah harbor 61
alice birch 32
dina harbor 58
eli grove 50
jules juniper 38
| alice juniper 93
farah ember 62
kim indigo 63
farah harbor 61
alice birch 32
dina harbor 58
eli grove 50
jules juniper 38
| dina ember 0
ivan harbor 0
hana fable 113
ivan harbor 115
bruno fable 47
bruno birch 45
kim indigo 49
bruno amber 62
bruno birch 45
| dina ember 0
ivan harbor 0
hana fable 113
ivan harbor 115
bruno fable 47
bruno birch 45
kim indigo 49
bruno amber 62
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026185 | qwen/qwen3.7-plus |
awkweave-0026186 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | chen fable 93
bruno amber 71
alice delta 53
farah ember 88
bruno harbor 106
eli delta 106
farah indigo 107
eli ember 117
eli ember 34
| chen fable 93
bruno amber 71
alice delta 53
farah ember 88
bruno harbor 106
farah indigo 107
| alice indigo 22
bruno ember 13
hana grove 115
alice indigo 2
jules ember 113
lina grove 109
farah juniper 83
| alice indigo 22
bruno ember 13
hana grove 115
farah juniper 83
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026186-p1 | Retain only the first occurrence for every unique value in column 2, preserving the original input order. | !seen[$2]++ | chen fable 93
bruno amber 71
alice delta 53
farah ember 88
bruno harbor 106
eli delta 106
farah indigo 107
eli ember 117
eli ember 34
| chen fable 93
bruno amber 71
alice delta 53
farah ember 88
bruno harbor 106
farah indigo 107
| alice indigo 22
bruno ember 13
hana grove 115
alice indigo 2
jules ember 113
lina grove 109
farah juniper 83
| alice indigo 22
bruno ember 13
hana grove 115
farah juniper 83
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026186 | qwen/qwen3.7-plus |
awkweave-0026187 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 24 cobalt
ivan 4 harbor
alice 12 cobalt
gus 11 harbor
eli 23 delta
ivan 21 harbor
gus 30 juniper
chen 28 fable
farah 8 ember
gus 2 grove
| gus 24
ivan 28
alice 40
gus 51
eli 74
ivan 95
gus 125
chen 153
farah 161
gus 163
| farah 3 grove
dina 16 ember
alice 29 fable
alice 27 delta
ivan 30 juniper
hana 4 amber
gus 1 juniper
hana 7 ember
eli 15 delta
dina 30 grove
| farah 3
dina 19
alice 48
alice 75
ivan 105
hana 109
gus 110
hana 117
eli 132
dina 162
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026187-p1 | For each entry, output the value from column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 24 cobalt
ivan 4 harbor
alice 12 cobalt
gus 11 harbor
eli 23 delta
ivan 21 harbor
gus 30 juniper
chen 28 fable
farah 8 ember
gus 2 grove
| gus 24
ivan 28
alice 40
gus 51
eli 74
ivan 95
gus 125
chen 153
farah 161
gus 163
| farah 3 grove
dina 16 ember
alice 29 fable
alice 27 delta
ivan 30 juniper
hana 4 amber
gus 1 juniper
hana 7 ember
eli 15 delta
dina 30 grove
| farah 3
dina 19
alice 48
alice 75
ivan 105
hana 109
gus 110
hana 117
eli 132
dina 162
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026187 | qwen/qwen3.7-plus |
awkweave-0026188 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | ivan 8 9 indigo
farah 5 7 indigo
eli 25 14 amber
chen 28 13 amber
chen 18 17 indigo
dina 6 13 grove
| ivan 17
farah 12
eli 39
chen 41
chen 35
dina 19
| gus 3 15 juniper
dina 18 30 delta
farah 10 9 indigo
gus 21 7 delta
lina 11 22 grove
dina 7 30 harbor
dina 4 23 ember
bruno 25 3 grove
| gus 18
dina 48
farah 19
gus 28
lina 33
dina 37
dina 27
bruno 28
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026188-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | ivan 8 9 indigo
farah 5 7 indigo
eli 25 14 amber
chen 28 13 amber
chen 18 17 indigo
dina 6 13 grove
| ivan 17
farah 12
eli 39
chen 41
chen 35
dina 19
| gus 3 15 juniper
dina 18 30 delta
farah 10 9 indigo
gus 21 7 delta
lina 11 22 grove
dina 7 30 harbor
dina 4 23 ember
bruno 25 3 grove
| gus 18
dina 48
farah 19
gus 28
lina 33
dina 37
dina 27
bruno 28
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026188 | qwen/qwen3.7-plus |
awkweave-0026189 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | kim 6
farah 15
bruno 17
jules 27
eli 6
farah 22
gus 11
chen 7
eli 5
| kim fail
farah fail
bruno fail
jules pass
eli fail
farah fail
gus fail
chen fail
eli fail
| bruno 22
farah 14
lina 1
dina 8
gus 22
bruno 9
hana 23
ivan 5
jules 6
gus 12
| bruno fail
farah fail
lina fail
dina fail
gus fail
bruno fail
hana fail
ivan fail
jules fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026189-p1 | Output the value from column 1 along with 'pass' if column 2 is 24 or greater; otherwise, output 'fail'. | {print $1,($2>=24?"pass":"fail")} | kim 6
farah 15
bruno 17
jules 27
eli 6
farah 22
gus 11
chen 7
eli 5
| kim fail
farah fail
bruno fail
jules pass
eli fail
farah fail
gus fail
chen fail
eli fail
| bruno 22
farah 14
lina 1
dina 8
gus 22
bruno 9
hana 23
ivan 5
jules 6
gus 12
| bruno fail
farah fail
lina fail
dina fail
gus fail
bruno fail
hana fail
ivan fail
jules fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026189 | qwen/qwen3.7-plus |
awkweave-0026200 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 24 ready
farah 19 pending
gus 26 active
kim 18 ready
dina 13 failed
hana 9 failed
alice 21 active
bruno 29 failed
farah 1 failed
bruno 13 failed
| ready
pending
active
ready
failed
failed
active
failed
failed
failed
| dina 29 paused
bruno 15 closed
bruno 19 pending
kim 12 paused
chen 25 paused
jules 14 pending
kim 22 failed
| paused
closed
pending
paused
paused
pending
failed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026200-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 24 ready
farah 19 pending
gus 26 active
kim 18 ready
dina 13 failed
hana 9 failed
alice 21 active
bruno 29 failed
farah 1 failed
bruno 13 failed
| ready
pending
active
ready
failed
failed
active
failed
failed
failed
| dina 29 paused
bruno 15 closed
bruno 19 pending
kim 12 paused
chen 25 paused
jules 14 pending
kim 22 failed
| paused
closed
pending
paused
paused
pending
failed
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0026200 | qwen/qwen3.7-plus |
awkweave-0026201 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19. | BEGIN{FS=OFS=","}$2>19{print $1} | chen,29,active
lina,20,failed
chen,6,paused
bruno,8,ready
chen,3,ready
jules,3,pending
chen,25,ready
dina,3,paused
gus,29,pending
farah,18,failed
| chen
lina
chen
gus
| alice,28,ready
dina,22,ready
alice,29,ready
alice,29,pending
eli,23,closed
hana,26,ready
| alice
dina
alice
alice
eli
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026201-p1 | Output the first field of comma-separated records where the second field is greater than 19. | BEGIN{FS=OFS=","}$2>19{print $1} | chen,29,active
lina,20,failed
chen,6,paused
bruno,8,ready
chen,3,ready
jules,3,pending
chen,25,ready
dina,3,paused
gus,29,pending
farah,18,failed
| chen
lina
chen
gus
| alice,28,ready
dina,22,ready
alice,29,ready
alice,29,pending
eli,23,closed
hana,26,ready
| alice
dina
alice
alice
eli
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026201 | qwen/qwen3.7-plus |
awkweave-0026202 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli amber 103
lina indigo 61
bruno grove 11
alice amber 84
lina ember 10
hana cobalt 32
farah cobalt 111
lina amber 96
hana juniper 63
| eli amber 103
lina indigo 61
bruno grove 11
alice amber 84
lina ember 10
hana cobalt 32
farah cobalt 111
lina amber 96
hana juniper 63
| eli ember 38
ivan cobalt 56
lina fable 17
alice cobalt 22
dina fable 23
kim ember 93
eli ember 82
bruno indigo 49
| eli ember 38
ivan cobalt 56
lina fable 17
alice cobalt 22
dina fable 23
kim ember 93
eli ember 82
bruno indigo 49
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026202-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | eli amber 103
lina indigo 61
bruno grove 11
alice amber 84
lina ember 10
hana cobalt 32
farah cobalt 111
lina amber 96
hana juniper 63
| eli amber 103
lina indigo 61
bruno grove 11
alice amber 84
lina ember 10
hana cobalt 32
farah cobalt 111
lina amber 96
hana juniper 63
| eli ember 38
ivan cobalt 56
lina fable 17
alice cobalt 22
dina fable 23
kim ember 93
eli ember 82
bruno indigo 49
| eli ember 38
ivan cobalt 56
lina fable 17
alice cobalt 22
dina fable 23
kim ember 93
eli ember 82
bruno indigo 49
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026202 | qwen/qwen3.7-plus |
awkweave-0026203 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim delta 82 ready
ivan juniper 70 paused
ivan juniper 98 ready
chen grove 67 paused
alice fable 6 active
lina cobalt 46 failed
lina juniper 115 pending
| lina juniper 115 pending
| gus delta 29 active
ivan juniper 27 paused
jules cobalt 10 active
eli indigo 33 closed
dina birch 98 failed
alice indigo 2 failed
farah juniper 9 paused
alice birch 50 paused
| ivan juniper 27 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026203-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, output the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | kim delta 82 ready
ivan juniper 70 paused
ivan juniper 98 ready
chen grove 67 paused
alice fable 6 active
lina cobalt 46 failed
lina juniper 115 pending
| lina juniper 115 pending
| gus delta 29 active
ivan juniper 27 paused
jules cobalt 10 active
eli indigo 33 closed
dina birch 98 failed
alice indigo 2 failed
farah juniper 9 paused
alice birch 50 paused
| ivan juniper 27 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026203 | qwen/qwen3.7-plus |
awkweave-0026204 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | chen 100
farah 2
ivan 10
kim 40
chen 93
farah 26
gus 120
| farah 2
farah 26
| hana 113
farah 6
kim 109
jules 20
hana 72
eli 81
| farah 6
eli 81
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026204-p1 | Print lines 2, 6, 10, and so on, effectively outputting every fourth line starting from the second. | NR%4==2 | chen 100
farah 2
ivan 10
kim 40
chen 93
farah 26
gus 120
| farah 2
farah 26
| hana 113
farah 6
kim 109
jules 20
hana 72
eli 81
| farah 6
eli 81
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026204 | qwen/qwen3.7-plus |
awkweave-0026205 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 72
alpha harbor 103
gamma indigo 109
delta ember 33
alpha ember 42
alpha ember 114
delta fable 119
alpha birch 32
| 6
| gamma ember 43
delta juniper 26
alpha delta 19
delta harbor 46
beta harbor 5
gamma juniper 23
gamma grove 30
delta indigo 108
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026205-p1 | Calculate and display only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 72
alpha harbor 103
gamma indigo 109
delta ember 33
alpha ember 42
alpha ember 114
delta fable 119
alpha birch 32
| 6
| gamma ember 43
delta juniper 26
alpha delta 19
delta harbor 46
beta harbor 5
gamma juniper 23
gamma grove 30
delta indigo 108
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026205 | qwen/qwen3.7-plus |
awkweave-0026206 | 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} | alice 29 0
alice 26 5
gus 15 12
lina 11 26
kim 11 20
eli 6 22
kim 21 9
| alice 5.20
gus 1.25
lina 0.42
kim 0.55
eli 0.27
kim 2.33
| bruno 14 0
dina 15 7
eli 14 18
gus 4 3
bruno 25 4
farah 29 20
ivan 29 26
| dina 2.14
eli 0.78
gus 1.33
bruno 6.25
farah 1.45
ivan 1.12
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026206-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} | alice 29 0
alice 26 5
gus 15 12
lina 11 26
kim 11 20
eli 6 22
kim 21 9
| alice 5.20
gus 1.25
lina 0.42
kim 0.55
eli 0.27
kim 2.33
| bruno 14 0
dina 15 7
eli 14 18
gus 4 3
bruno 25 4
farah 29 20
ivan 29 26
| dina 2.14
eli 0.78
gus 1.33
bruno 6.25
farah 1.45
ivan 1.12
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026206 | qwen/qwen3.7-plus |
awkweave-0026207 | 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]} | dina juniper 14
lina amber 10
kim indigo 25
jules indigo 22
chen juniper 22
bruno juniper 21
ivan juniper 23
lina juniper 23
farah grove 29
| farah grove 29
kim indigo 25
ivan juniper 23
| bruno ember 20
bruno grove 17
gus delta 27
bruno harbor 23
bruno indigo 26
jules indigo 20
eli ember 4
| gus delta 27
bruno indigo 26
bruno harbor 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026207-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | dina juniper 14
lina amber 10
kim indigo 25
jules indigo 22
chen juniper 22
bruno juniper 21
ivan juniper 23
lina juniper 23
farah grove 29
| farah grove 29
kim indigo 25
ivan juniper 23
| bruno ember 20
bruno grove 17
gus delta 27
bruno harbor 23
bruno indigo 26
jules indigo 20
eli ember 4
| gus delta 27
bruno indigo 26
bruno harbor 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026207 | qwen/qwen3.7-plus |
awkweave-0026208 | Select the 3rd and 2nd fields in that order. | {print $3, $2} | jules active kim chen
alice paused ivan gus
ivan closed farah bruno
dina failed farah hana
chen closed eli alice
alice pending kim jules
hana pending ivan eli
alice paused lina hana
| kim active
ivan paused
farah closed
farah failed
eli closed
kim pending
ivan pending
lina paused
| eli paused ivan alice
farah ready alice alice
alice failed bruno dina
gus closed hana bruno
hana ready bruno hana
jules ready jules kim
| ivan paused
alice ready
bruno failed
hana closed
bruno ready
jules ready
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026208-p1 | Reorder and output the fields by printing the third field followed by the second field. | {print $3, $2} | jules active kim chen
alice paused ivan gus
ivan closed farah bruno
dina failed farah hana
chen closed eli alice
alice pending kim jules
hana pending ivan eli
alice paused lina hana
| kim active
ivan paused
farah closed
farah failed
eli closed
kim pending
ivan pending
lina paused
| eli paused ivan alice
farah ready alice alice
alice failed bruno dina
gus closed hana bruno
hana ready bruno hana
jules ready jules kim
| ivan paused
alice ready
bruno failed
hana closed
bruno ready
jules ready
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026208 | qwen/qwen3.7-plus |
awkweave-0026209 | Print the last field of every input line. | {print $NF} | lina pending lina fable 27 eli 111
kim failed alice amber 86 farah 58
jules closed kim indigo 48 chen 70
gus pending gus fable 12 bruno 76
kim paused hana grove 24 farah 50
ivan paused jules cobalt 107 lina 91
farah closed hana grove 97 kim 61
eli active farah harbor 71 hana 58
hana closed lina birch 89 gus 53
| 111
58
70
76
50
91
61
58
53
| ivan closed ivan cobalt 4 farah 67
eli closed chen birch 73 lina 40
lina active jules cobalt 6 chen 82
kim ready lina amber 119 eli 104
kim ready chen harbor 77 farah 8
alice ready jules indigo 105 gus 13
hana failed chen birch 50 jules 64
ivan closed bruno fable 86 alice 36
dina closed eli juniper 1 ivan 113
eli ready... | 67
40
82
104
8
13
64
36
113
79
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026209-p1 | Output the final field from every line of input. | {print $NF} | lina pending lina fable 27 eli 111
kim failed alice amber 86 farah 58
jules closed kim indigo 48 chen 70
gus pending gus fable 12 bruno 76
kim paused hana grove 24 farah 50
ivan paused jules cobalt 107 lina 91
farah closed hana grove 97 kim 61
eli active farah harbor 71 hana 58
hana closed lina birch 89 gus 53
| 111
58
70
76
50
91
61
58
53
| ivan closed ivan cobalt 4 farah 67
eli closed chen birch 73 lina 40
lina active jules cobalt 6 chen 82
kim ready lina amber 119 eli 104
kim ready chen harbor 77 farah 8
alice ready jules indigo 105 gus 13
hana failed chen birch 50 jules 64
ivan closed bruno fable 86 alice 36
dina closed eli juniper 1 ivan 113
eli ready... | 67
40
82
104
8
13
64
36
113
79
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026209 | qwen/qwen3.7-plus |
awkweave-0026210 | Print the complete records where column 1 is less than 37. | $1 < 37 | 32 closed cobalt juniper farah
15 ready ember indigo chen
96 active grove amber jules
73 paused delta amber eli
26 failed indigo delta bruno
113 active cobalt indigo hana
89 paused grove fable lina
| 32 closed cobalt juniper farah
15 ready ember indigo chen
26 failed indigo delta bruno
| 55 closed indigo harbor gus
118 ready fable ember alice
11 ready delta grove chen
111 failed indigo cobalt lina
0 ready delta grove gus
17 active cobalt indigo alice
4 paused amber ember gus
105 active ember delta ivan
| 11 ready delta grove chen
0 ready delta grove gus
17 active cobalt indigo alice
4 paused amber ember gus
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026210-p1 | Print entire records where the value in the first column is strictly less than 37. | $1 < 37 | 32 closed cobalt juniper farah
15 ready ember indigo chen
96 active grove amber jules
73 paused delta amber eli
26 failed indigo delta bruno
113 active cobalt indigo hana
89 paused grove fable lina
| 32 closed cobalt juniper farah
15 ready ember indigo chen
26 failed indigo delta bruno
| 55 closed indigo harbor gus
118 ready fable ember alice
11 ready delta grove chen
111 failed indigo cobalt lina
0 ready delta grove gus
17 active cobalt indigo alice
4 paused amber ember gus
105 active ember delta ivan
| 11 ready delta grove chen
0 ready delta grove gus
17 active cobalt indigo alice
4 paused amber ember gus
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026210 | qwen/qwen3.7-plus |
awkweave-0026211 | Show whole lines whose 1st field is between 8 and 21, inclusive. | $1 >= 8 && $1 <= 21 | 27 closed active amber
14 pending paused grove
16 pending ready fable
3 paused pending indigo
24 failed paused grove
27 ready failed ember
8 closed closed grove
14 active closed fable
| 14 pending paused grove
16 pending ready fable
8 closed closed grove
14 active closed fable
| 4 closed active ember
13 pending pending fable
27 closed ready grove
20 active failed amber
1 closed paused amber
16 pending failed birch
20 paused closed birch
1 paused active birch
26 paused pending delta
| 13 pending pending fable
20 active failed amber
16 pending failed birch
20 paused closed birch
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026211-p1 | Display full lines where the first field falls within the inclusive range of 8 to 21. | $1 >= 8 && $1 <= 21 | 27 closed active amber
14 pending paused grove
16 pending ready fable
3 paused pending indigo
24 failed paused grove
27 ready failed ember
8 closed closed grove
14 active closed fable
| 14 pending paused grove
16 pending ready fable
8 closed closed grove
14 active closed fable
| 4 closed active ember
13 pending pending fable
27 closed ready grove
20 active failed amber
1 closed paused amber
16 pending failed birch
20 paused closed birch
1 paused active birch
26 paused pending delta
| 13 pending pending fable
20 active failed amber
16 pending failed birch
20 paused closed birch
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026211 | qwen/qwen3.7-plus |
awkweave-0026212 | Print column 1 only for rows where column 3 is exactly pending. | $3 == "pending"{print $1} | hana 102 paused birch
hana 17 paused birch
jules 107 ready fable
dina 49 closed birch
alice 35 pending harbor
kim 17 active cobalt
hana 64 ready ember
eli 53 paused delta
alice 53 paused juniper
| alice
| dina 90 failed ember
lina 60 active ember
dina 100 active juniper
ivan 86 paused amber
lina 46 paused grove
bruno 40 failed fable
eli 10 failed indigo
alice 48 failed harbor
farah 85 failed birch
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0026212-p1 | Output the first column exclusively for rows where the third column matches 'pending' exactly. | $3 == "pending"{print $1} | hana 102 paused birch
hana 17 paused birch
jules 107 ready fable
dina 49 closed birch
alice 35 pending harbor
kim 17 active cobalt
hana 64 ready ember
eli 53 paused delta
alice 53 paused juniper
| alice
| dina 90 failed ember
lina 60 active ember
dina 100 active juniper
ivan 86 paused amber
lina 46 paused grove
bruno 40 failed fable
eli 10 failed indigo
alice 48 failed harbor
farah 85 failed birch
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026212 | qwen/qwen3.7-plus | |
awkweave-0026213 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 4 DEBUG harbor
75 WARN amber
15 INFO ember
11 WARN amber
100 WARN delta
6 ERROR fable
| 6 ERROR fable
| 28 ERROR ember
96 DEBUG harbor
9 WARN fable
18 ERROR cobalt
33 INFO delta
16 WARN grove
| 28 ERROR ember
18 ERROR cobalt
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026213-p1 | Display all fields from lines where the second field starts with the string 'ERROR'. | $2 ~ /^ERROR/ | 4 DEBUG harbor
75 WARN amber
15 INFO ember
11 WARN amber
100 WARN delta
6 ERROR fable
| 6 ERROR fable
| 28 ERROR ember
96 DEBUG harbor
9 WARN fable
18 ERROR cobalt
33 INFO delta
16 WARN grove
| 28 ERROR ember
18 ERROR cobalt
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026213 | qwen/qwen3.7-plus |
awkweave-0026214 | Print every line except those containing the exact text delta. | $0 !~ /delta/ | birch 34 closed
delta 26 pending
harbor 119 paused
grove 91 paused
grove 54 failed
indigo 66 ready
delta 999 active
| birch 34 closed
harbor 119 paused
grove 91 paused
grove 54 failed
indigo 66 ready
| indigo 68 pending
cobalt 65 paused
grove 13 paused
grove 19 failed
juniper 62 pending
grove 9 paused
cobalt 44 ready
grove 107 failed
grove 118 active
delta 999 active
| indigo 68 pending
cobalt 65 paused
grove 13 paused
grove 19 failed
juniper 62 pending
grove 9 paused
cobalt 44 ready
grove 107 failed
grove 118 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026214-p1 | Print every line that does not contain the exact substring 'delta'. | $0 !~ /delta/ | birch 34 closed
delta 26 pending
harbor 119 paused
grove 91 paused
grove 54 failed
indigo 66 ready
delta 999 active
| birch 34 closed
harbor 119 paused
grove 91 paused
grove 54 failed
indigo 66 ready
| indigo 68 pending
cobalt 65 paused
grove 13 paused
grove 19 failed
juniper 62 pending
grove 9 paused
cobalt 44 ready
grove 107 failed
grove 118 active
delta 999 active
| indigo 68 pending
cobalt 65 paused
grove 13 paused
grove 19 failed
juniper 62 pending
grove 9 paused
cobalt 44 ready
grove 107 failed
grove 118 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026214 | qwen/qwen3.7-plus |
awkweave-0026215 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | dina harbor 95
ivan ember 76
farah cobalt 3
alice juniper 120
gus grove 53
gus amber 103
alice ember 68
| ivan ember 76
farah cobalt 3
alice juniper 120
gus grove 53
| chen fable 103
alice fable 106
lina amber 48
hana harbor 24
alice harbor 1
dina amber 117
ivan ember 64
alice cobalt 95
| alice fable 106
lina amber 48
hana harbor 24
alice harbor 1
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026215-p1 | Output lines 2 to 5, inclusive of both the start and end lines. | NR >= 2 && NR <= 5 | dina harbor 95
ivan ember 76
farah cobalt 3
alice juniper 120
gus grove 53
gus amber 103
alice ember 68
| ivan ember 76
farah cobalt 3
alice juniper 120
gus grove 53
| chen fable 103
alice fable 106
lina amber 48
hana harbor 24
alice harbor 1
dina amber 117
ivan ember 64
alice cobalt 95
| alice fable 106
lina amber 48
hana harbor 24
alice harbor 1
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026215 | qwen/qwen3.7-plus |
awkweave-0026216 | Output only the first 2 records. | NR <= 2 | jules 1 birch
lina 2 grove
bruno 93 fable
alice 36 birch
bruno 104 amber
alice 19 grove
lina 43 juniper
| jules 1 birch
lina 2 grove
| gus 17 indigo
gus 12 grove
lina 80 delta
lina 14 juniper
jules 26 grove
ivan 107 ember
dina 18 juniper
lina 17 harbor
dina 81 fable
alice 25 birch
| gus 17 indigo
gus 12 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026216-p1 | Display only the initial 2 records from the input. | NR <= 2 | jules 1 birch
lina 2 grove
bruno 93 fable
alice 36 birch
bruno 104 amber
alice 19 grove
lina 43 juniper
| jules 1 birch
lina 2 grove
| gus 17 indigo
gus 12 grove
lina 80 delta
lina 14 juniper
jules 26 grove
ivan 107 ember
dina 18 juniper
lina 17 harbor
dina 81 fable
alice 25 birch
| gus 17 indigo
gus 12 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026216 | qwen/qwen3.7-plus |
awkweave-0026217 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 87 cobalt
bruno 11 indigo
hana 25 grove
lina 77 indigo
gus 9 cobalt
eli 109 delta
| bruno 11 indigo
hana 25 grove
lina 77 indigo
gus 9 cobalt
eli 109 delta
| alice 109 delta
jules 61 delta
dina 54 fable
hana 103 birch
dina 89 ember
dina 94 harbor
ivan 46 delta
lina 41 birch
alice 75 harbor
kim 86 indigo
| jules 61 delta
dina 54 fable
hana 103 birch
dina 89 ember
dina 94 harbor
ivan 46 delta
lina 41 birch
alice 75 harbor
kim 86 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026217-p1 | Omit the first line and output all subsequent lines without modification. | NR > 1 | lina 87 cobalt
bruno 11 indigo
hana 25 grove
lina 77 indigo
gus 9 cobalt
eli 109 delta
| bruno 11 indigo
hana 25 grove
lina 77 indigo
gus 9 cobalt
eli 109 delta
| alice 109 delta
jules 61 delta
dina 54 fable
hana 103 birch
dina 89 ember
dina 94 harbor
ivan 46 delta
lina 41 birch
alice 75 harbor
kim 86 indigo
| jules 61 delta
dina 54 fable
hana 103 birch
dina 89 ember
dina 94 harbor
ivan 46 delta
lina 41 birch
alice 75 harbor
kim 86 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026217 | qwen/qwen3.7-plus |
awkweave-0026218 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | chen paused 53
lina active 65
bruno closed 61
dina pending 32
chen active 92
farah closed 17
| 2
| alice active 9
alice active 99
dina failed 69
hana failed 21
lina paused 34
kim ready 97
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026218-p1 | Count the number of records containing 'active' in the second column, printing 0 if the count is zero. | $2 == "active"{n++}END{print n+0} | chen paused 53
lina active 65
bruno closed 61
dina pending 32
chen active 92
farah closed 17
| 2
| alice active 9
alice active 99
dina failed 69
hana failed 21
lina paused 34
kim ready 97
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026218 | qwen/qwen3.7-plus |
awkweave-0026219 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | gus birch 17
dina delta 22
dina grove 30
eli harbor 14
kim indigo 9
ivan fable 22
lina grove 3
gus harbor 12
bruno ember 26
farah juniper 18
| 173
| ivan cobalt 17
alice cobalt 27
lina delta 13
dina ember 5
farah amber 6
jules juniper 19
lina delta 4
| 91
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026219-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | gus birch 17
dina delta 22
dina grove 30
eli harbor 14
kim indigo 9
ivan fable 22
lina grove 3
gus harbor 12
bruno ember 26
farah juniper 18
| 173
| ivan cobalt 17
alice cobalt 27
lina delta 13
dina ember 5
farah amber 6
jules juniper 19
lina delta 4
| 91
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026219 | qwen/qwen3.7-plus |
awkweave-0026220 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan amber 24
ivan cobalt 30
alice ember 22
jules indigo 20
chen amber 12
farah amber 5
bruno birch 20
alice ember 7
| 17.50
| eli amber 9
lina ember 26
bruno delta 21
bruno indigo 22
gus birch 30
gus juniper 9
kim delta 27
| 20.57
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0026220-p1 | Calculate the average of values in column 3 and print the result rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan amber 24
ivan cobalt 30
alice ember 22
jules indigo 20
chen amber 12
farah amber 5
bruno birch 20
alice ember 7
| 17.50
| eli amber 9
lina ember 26
bruno delta 21
bruno indigo 22
gus birch 30
gus juniper 9
kim delta 27
| 20.57
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0026220 | qwen/qwen3.7-plus |
awkweave-0026221 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 17 juniper gus
20 harbor gus
19 ember lina
7 harbor alice
11 ember jules
11 juniper chen
24 grove lina
| 7
| 6 cobalt ivan
20 harbor jules
20 cobalt lina
6 cobalt eli
5 grove chen
10 delta ivan
3 delta farah
13 juniper jules
20 ember jules
24 grove eli
| 3
| min_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.