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-0038331-p1 | Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | bruno birch 45
lina delta 70
hana indigo 94
jules grove 22
lina amber 23
chen amber 98
chen juniper 82
chen birch 93
gus indigo 112
chen fable 100
| bruno birch 45
lina delta 70
hana indigo 94
jules grove 22
lina amber 23
chen amber 98
chen juniper 82
chen birch 93
gus indigo 112
chen fable 100
| bruno grove 85
eli birch 21
ivan grove 57
kim harbor 22
kim harbor 89
bruno birch 16
gus indigo 49
jules delta 96
| bruno grove 85
eli birch 21
ivan grove 57
kim harbor 22
kim harbor 89
bruno birch 16
gus indigo 49
jules delta 96
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038331 | qwen/qwen3.7-plus |
awkweave-0038332 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | jules grove 112 failed
lina ember 13 pending
farah fable 9 active
farah harbor 45 failed
gus amber 91 failed
farah fable 65 ready
hana harbor 20 ready
chen juniper 45 active
kim ember 120 closed
dina ember 65 active
| jules grove 112 failed
| eli juniper 11 failed
alice harbor 95 pending
hana cobalt 61 closed
bruno indigo 22 paused
alice amber 94 failed
eli delta 87 ready
chen indigo 79 closed
| alice harbor 95 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038332-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | jules grove 112 failed
lina ember 13 pending
farah fable 9 active
farah harbor 45 failed
gus amber 91 failed
farah fable 65 ready
hana harbor 20 ready
chen juniper 45 active
kim ember 120 closed
dina ember 65 active
| jules grove 112 failed
| eli juniper 11 failed
alice harbor 95 pending
hana cobalt 61 closed
bruno indigo 22 paused
alice amber 94 failed
eli delta 87 ready
chen indigo 79 closed
| alice harbor 95 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038332 | qwen/qwen3.7-plus |
awkweave-0038333 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | ivan 19
bruno 33
ivan 12
lina 36
ivan 16
chen 102
bruno 47
alice 68
ivan 55
| ivan 12
chen 102
ivan 55
| hana 81
kim 2
farah 66
jules 10
bruno 70
dina 84
gus 49
dina 57
| farah 66
dina 84
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038333-p1 | Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | ivan 19
bruno 33
ivan 12
lina 36
ivan 16
chen 102
bruno 47
alice 68
ivan 55
| ivan 12
chen 102
ivan 55
| hana 81
kim 2
farah 66
jules 10
bruno 70
dina 84
gus 49
dina 57
| farah 66
dina 84
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038333 | qwen/qwen3.7-plus |
awkweave-0038334 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 32
alpha cobalt 88
gamma ember 23
beta birch 84
gamma amber 41
gamma amber 67
alpha juniper 93
| 3
| alpha ember 10
gamma fable 24
delta juniper 63
delta ember 81
delta ember 75
alpha ember 83
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038334-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 32
alpha cobalt 88
gamma ember 23
beta birch 84
gamma amber 41
gamma amber 67
alpha juniper 93
| 3
| alpha ember 10
gamma fable 24
delta juniper 63
delta ember 81
delta ember 75
alpha ember 83
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038334 | qwen/qwen3.7-plus |
awkweave-0038335 | 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} | lina 4 0
jules 9 11
eli 2 16
kim 28 29
kim 13 25
hana 13 26
farah 14 30
jules 20 7
chen 12 3
| jules 0.82
eli 0.12
kim 0.97
kim 0.52
hana 0.50
farah 0.47
jules 2.86
chen 4.00
| alice 21 0
hana 20 17
alice 1 6
bruno 6 13
alice 7 6
farah 28 18
| hana 1.18
alice 0.17
bruno 0.46
alice 1.17
farah 1.56
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038335-p1 | For each row where the third column is not zero, print 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} | lina 4 0
jules 9 11
eli 2 16
kim 28 29
kim 13 25
hana 13 26
farah 14 30
jules 20 7
chen 12 3
| jules 0.82
eli 0.12
kim 0.97
kim 0.52
hana 0.50
farah 0.47
jules 2.86
chen 4.00
| alice 21 0
hana 20 17
alice 1 6
bruno 6 13
alice 7 6
farah 28 18
| hana 1.18
alice 0.17
bruno 0.46
alice 1.17
farah 1.56
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038335 | qwen/qwen3.7-plus |
awkweave-0038336 | 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]} | eli grove 19
dina birch 6
alice birch 11
alice amber 21
eli ember 5
bruno birch 17
farah cobalt 19
| alice amber 21
eli grove 19
farah cobalt 19
| gus ember 14
ivan ember 16
hana cobalt 18
bruno cobalt 24
chen juniper 11
ivan birch 1
eli ember 3
bruno grove 28
| bruno grove 28
bruno cobalt 24
hana cobalt 18
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038336-p1 | Output the 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]} | eli grove 19
dina birch 6
alice birch 11
alice amber 21
eli ember 5
bruno birch 17
farah cobalt 19
| alice amber 21
eli grove 19
farah cobalt 19
| gus ember 14
ivan ember 16
hana cobalt 18
bruno cobalt 24
chen juniper 11
ivan birch 1
eli ember 3
bruno grove 28
| bruno grove 28
bruno cobalt 24
hana cobalt 18
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038336 | qwen/qwen3.7-plus |
awkweave-0038337 | Print column 4 followed by column 3 for every record. | {print $4, $3} | 57 failed ready farah 107
46 active ready hana 116
114 closed active bruno 103
56 active closed jules 61
68 pending paused farah 46
83 closed closed gus 31
108 failed pending gus 61
31 paused ready farah 23
6 pending active farah 4
53 pending pending hana 20
| farah ready
hana ready
bruno active
jules closed
farah paused
gus closed
gus pending
farah ready
farah active
hana pending
| 88 closed failed jules 116
65 pending closed hana 27
98 pending pending lina 58
54 closed paused jules 107
108 pending ready hana 39
69 paused paused alice 35
| jules failed
hana closed
lina pending
jules paused
hana ready
alice paused
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038337-p1 | For every record, output the fourth column followed by the third column. | {print $4, $3} | 57 failed ready farah 107
46 active ready hana 116
114 closed active bruno 103
56 active closed jules 61
68 pending paused farah 46
83 closed closed gus 31
108 failed pending gus 61
31 paused ready farah 23
6 pending active farah 4
53 pending pending hana 20
| farah ready
hana ready
bruno active
jules closed
farah paused
gus closed
gus pending
farah ready
farah active
hana pending
| 88 closed failed jules 116
65 pending closed hana 27
98 pending pending lina 58
54 closed paused jules 107
108 pending ready hana 39
69 paused paused alice 35
| jules failed
hana closed
lina pending
jules paused
hana ready
alice paused
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038337 | qwen/qwen3.7-plus |
awkweave-0038338 | Print the last field of every input line. | {print $NF} | active eli 64 ivan
paused gus 30 chen
pending hana 115 farah
ready dina 118 alice
closed gus 34 hana
ready lina 120 alice
ready dina 116 chen
failed alice 118 jules
| ivan
chen
farah
alice
hana
alice
chen
jules
| ready gus 21 bruno
pending alice 77 jules
pending hana 21 kim
pending chen 71 farah
closed ivan 89 farah
failed jules 2 dina
active eli 71 ivan
pending bruno 39 jules
pending chen 81 jules
| bruno
jules
kim
farah
farah
dina
ivan
jules
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038338-p1 | Print the final field of each input line. | {print $NF} | active eli 64 ivan
paused gus 30 chen
pending hana 115 farah
ready dina 118 alice
closed gus 34 hana
ready lina 120 alice
ready dina 116 chen
failed alice 118 jules
| ivan
chen
farah
alice
hana
alice
chen
jules
| ready gus 21 bruno
pending alice 77 jules
pending hana 21 kim
pending chen 71 farah
closed ivan 89 farah
failed jules 2 dina
active eli 71 ivan
pending bruno 39 jules
pending chen 81 jules
| bruno
jules
kim
farah
farah
dina
ivan
jules
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038338 | qwen/qwen3.7-plus |
awkweave-0038339 | Print the complete records where column 1 is at least 73. | $1 >= 73 | 102 gus paused ready
77 dina paused active
112 chen ready paused
70 eli paused paused
20 bruno failed active
94 farah active failed
| 102 gus paused ready
77 dina paused active
112 chen ready paused
94 farah active failed
| 94 bruno active active
39 hana pending failed
31 dina closed paused
62 kim pending ready
28 jules failed pending
89 hana pending pending
65 farah active ready
61 kim closed failed
| 94 bruno active active
89 hana pending pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038339-p1 | Output the full records for which the value in the first column is 73 or higher. | $1 >= 73 | 102 gus paused ready
77 dina paused active
112 chen ready paused
70 eli paused paused
20 bruno failed active
94 farah active failed
| 102 gus paused ready
77 dina paused active
112 chen ready paused
94 farah active failed
| 94 bruno active active
39 hana pending failed
31 dina closed paused
62 kim pending ready
28 jules failed pending
89 hana pending pending
65 farah active ready
61 kim closed failed
| 94 bruno active active
89 hana pending pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038339 | qwen/qwen3.7-plus |
awkweave-0038340 | Show whole lines whose 2nd field is between 11 and 22, inclusive. | $2 >= 11 && $2 <= 22 | delta 16 paused active
amber 30 failed paused
delta 12 active active
ember 20 ready paused
fable 5 ready closed
amber 15 pending paused
| delta 16 paused active
delta 12 active active
ember 20 ready paused
amber 15 pending paused
| amber 12 failed failed
harbor 4 paused ready
amber 30 closed active
cobalt 25 ready paused
cobalt 5 paused active
birch 29 active ready
ember 3 pending failed
| amber 12 failed failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038340-p1 | Display entire lines where the second field falls within the inclusive range of 11 to 22. | $2 >= 11 && $2 <= 22 | delta 16 paused active
amber 30 failed paused
delta 12 active active
ember 20 ready paused
fable 5 ready closed
amber 15 pending paused
| delta 16 paused active
delta 12 active active
ember 20 ready paused
amber 15 pending paused
| amber 12 failed failed
harbor 4 paused ready
amber 30 closed active
cobalt 25 ready paused
cobalt 5 paused active
birch 29 active ready
ember 3 pending failed
| amber 12 failed failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038340 | qwen/qwen3.7-plus |
awkweave-0038341 | Print column 3 only for rows where column 2 is exactly paused. | $2 == "paused"{print $3} | 12 paused bruno amber
87 closed ivan delta
27 failed alice fable
105 active bruno indigo
48 active bruno amber
34 active farah grove
0 paused lina indigo
48 pending jules indigo
| bruno
lina
| 101 paused chen cobalt
109 paused kim ember
40 pending eli juniper
103 ready eli birch
67 closed bruno juniper
79 closed bruno indigo
49 ready chen cobalt
57 paused chen indigo
| chen
kim
chen
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038341-p1 | Output the third column only for rows where the second column contains exactly the word 'paused'. | $2 == "paused"{print $3} | 12 paused bruno amber
87 closed ivan delta
27 failed alice fable
105 active bruno indigo
48 active bruno amber
34 active farah grove
0 paused lina indigo
48 pending jules indigo
| bruno
lina
| 101 paused chen cobalt
109 paused kim ember
40 pending eli juniper
103 ready eli birch
67 closed bruno juniper
79 closed bruno indigo
49 ready chen cobalt
57 paused chen indigo
| chen
kim
chen
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038341 | qwen/qwen3.7-plus |
awkweave-0038342 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | amber INFO 120
ember WARN 59
juniper WARN 18
ember DEBUG 66
fable ERROR 92
ember ERROR 0
grove INFO 56
indigo INFO 48
birch INFO 49
| amber INFO 120
grove INFO 56
indigo INFO 48
birch INFO 49
| amber DEBUG 89
harbor WARN 85
indigo ERROR 38
juniper ERROR 56
amber ERROR 115
amber ERROR 120
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0038342-p1 | Output every field from rows where the second field starts with INFO. | $2 ~ /^INFO/ | amber INFO 120
ember WARN 59
juniper WARN 18
ember DEBUG 66
fable ERROR 92
ember ERROR 0
grove INFO 56
indigo INFO 48
birch INFO 49
| amber INFO 120
grove INFO 56
indigo INFO 48
birch INFO 49
| amber DEBUG 89
harbor WARN 85
indigo ERROR 38
juniper ERROR 56
amber ERROR 115
amber ERROR 120
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038342 | qwen/qwen3.7-plus | |
awkweave-0038343 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | grove 26 active
grove 3 ready
amber 30 failed
juniper 76 paused
juniper 53 ready
fable 7 pending
harbor 120 pending
cobalt 999 active
| grove 26 active
grove 3 ready
amber 30 failed
juniper 76 paused
juniper 53 ready
fable 7 pending
harbor 120 pending
| ember 60 pending
ember 94 active
grove 71 ready
juniper 8 paused
harbor 98 failed
amber 101 active
birch 3 failed
grove 102 failed
juniper 22 active
grove 63 failed
cobalt 999 active
| ember 60 pending
ember 94 active
grove 71 ready
juniper 8 paused
harbor 98 failed
amber 101 active
birch 3 failed
grove 102 failed
juniper 22 active
grove 63 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038343-p1 | Display all lines that do not contain the exact string cobalt. | $0 !~ /cobalt/ | grove 26 active
grove 3 ready
amber 30 failed
juniper 76 paused
juniper 53 ready
fable 7 pending
harbor 120 pending
cobalt 999 active
| grove 26 active
grove 3 ready
amber 30 failed
juniper 76 paused
juniper 53 ready
fable 7 pending
harbor 120 pending
| ember 60 pending
ember 94 active
grove 71 ready
juniper 8 paused
harbor 98 failed
amber 101 active
birch 3 failed
grove 102 failed
juniper 22 active
grove 63 failed
cobalt 999 active
| ember 60 pending
ember 94 active
grove 71 ready
juniper 8 paused
harbor 98 failed
amber 101 active
birch 3 failed
grove 102 failed
juniper 22 active
grove 63 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038343 | qwen/qwen3.7-plus |
awkweave-0038344 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | farah amber 79
hana amber 42
alice juniper 113
hana cobalt 83
gus harbor 20
gus birch 38
alice grove 106
bruno birch 71
dina juniper 27
| alice juniper 113
hana cobalt 83
gus harbor 20
| alice birch 84
kim cobalt 25
eli grove 17
kim amber 80
kim indigo 96
gus birch 21
bruno delta 57
dina birch 49
hana cobalt 78
| eli grove 17
kim amber 80
kim indigo 96
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038344-p1 | Show lines 3 to 5, inclusive of both ends. | NR >= 3 && NR <= 5 | farah amber 79
hana amber 42
alice juniper 113
hana cobalt 83
gus harbor 20
gus birch 38
alice grove 106
bruno birch 71
dina juniper 27
| alice juniper 113
hana cobalt 83
gus harbor 20
| alice birch 84
kim cobalt 25
eli grove 17
kim amber 80
kim indigo 96
gus birch 21
bruno delta 57
dina birch 49
hana cobalt 78
| eli grove 17
kim amber 80
kim indigo 96
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038344 | qwen/qwen3.7-plus |
awkweave-0038345 | Output only the first 4 records. | NR <= 4 | hana 61 juniper
eli 61 juniper
eli 47 juniper
chen 72 delta
bruno 40 harbor
hana 47 delta
kim 77 ember
| hana 61 juniper
eli 61 juniper
eli 47 juniper
chen 72 delta
| ivan 71 birch
eli 56 fable
jules 36 juniper
jules 98 delta
hana 70 ember
chen 62 cobalt
eli 54 delta
ivan 53 fable
alice 109 juniper
| ivan 71 birch
eli 56 fable
jules 36 juniper
jules 98 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038345-p1 | Print just the initial 4 records. | NR <= 4 | hana 61 juniper
eli 61 juniper
eli 47 juniper
chen 72 delta
bruno 40 harbor
hana 47 delta
kim 77 ember
| hana 61 juniper
eli 61 juniper
eli 47 juniper
chen 72 delta
| ivan 71 birch
eli 56 fable
jules 36 juniper
jules 98 delta
hana 70 ember
chen 62 cobalt
eli 54 delta
ivan 53 fable
alice 109 juniper
| ivan 71 birch
eli 56 fable
jules 36 juniper
jules 98 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038345 | qwen/qwen3.7-plus |
awkweave-0038346 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 66 ember
gus 37 amber
lina 99 amber
lina 103 amber
chen 9 cobalt
alice 52 birch
lina 109 juniper
| gus 37 amber
lina 99 amber
lina 103 amber
chen 9 cobalt
alice 52 birch
lina 109 juniper
| lina 40 juniper
eli 85 grove
alice 2 delta
eli 89 ember
farah 37 birch
eli 98 amber
jules 12 harbor
lina 101 cobalt
jules 51 grove
| eli 85 grove
alice 2 delta
eli 89 ember
farah 37 birch
eli 98 amber
jules 12 harbor
lina 101 cobalt
jules 51 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038346-p1 | Omit the first line and output the rest as they are. | NR > 1 | eli 66 ember
gus 37 amber
lina 99 amber
lina 103 amber
chen 9 cobalt
alice 52 birch
lina 109 juniper
| gus 37 amber
lina 99 amber
lina 103 amber
chen 9 cobalt
alice 52 birch
lina 109 juniper
| lina 40 juniper
eli 85 grove
alice 2 delta
eli 89 ember
farah 37 birch
eli 98 amber
jules 12 harbor
lina 101 cobalt
jules 51 grove
| eli 85 grove
alice 2 delta
eli 89 ember
farah 37 birch
eli 98 amber
jules 12 harbor
lina 101 cobalt
jules 51 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038346 | qwen/qwen3.7-plus |
awkweave-0038347 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | hana ready 22
chen closed 11
alice active 55
ivan ready 118
bruno paused 108
dina ready 41
jules failed 14
| 1
| dina closed 67
alice paused 92
bruno active 51
hana active 20
jules active 78
ivan ready 98
gus pending 21
hana pending 115
farah closed 44
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038347-p1 | Tally the records with active in the second column; output 0 if the count is zero. | $2 == "active"{n++}END{print n+0} | hana ready 22
chen closed 11
alice active 55
ivan ready 118
bruno paused 108
dina ready 41
jules failed 14
| 1
| dina closed 67
alice paused 92
bruno active 51
hana active 20
jules active 78
ivan ready 98
gus pending 21
hana pending 115
farah closed 44
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038347 | qwen/qwen3.7-plus |
awkweave-0038348 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 6 ivan birch
9 hana delta
22 dina fable
12 farah ember
16 bruno birch
7 ivan fable
29 ivan birch
| 101
| 23 hana cobalt
25 farah amber
5 gus grove
23 alice indigo
11 gus ember
8 alice cobalt
| 95
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038348-p1 | Compute and display the total sum of integer values in the first column. | {s+=$1}END{print s+0} | 6 ivan birch
9 hana delta
22 dina fable
12 farah ember
16 bruno birch
7 ivan fable
29 ivan birch
| 101
| 23 hana cobalt
25 farah amber
5 gus grove
23 alice indigo
11 gus ember
8 alice cobalt
| 95
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038348 | qwen/qwen3.7-plus |
awkweave-0038349 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 15 jules delta
1 farah ember
19 kim indigo
18 lina harbor
8 ivan amber
15 dina cobalt
16 farah juniper
16 alice cobalt
11 gus ember
| 13.22
| 2 jules birch
26 eli grove
8 dina delta
20 lina grove
24 jules fable
18 hana juniper
4 eli indigo
8 dina ember
| 13.75
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038349-p1 | Output the average of the first column, formatted to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 15 jules delta
1 farah ember
19 kim indigo
18 lina harbor
8 ivan amber
15 dina cobalt
16 farah juniper
16 alice cobalt
11 gus ember
| 13.22
| 2 jules birch
26 eli grove
8 dina delta
20 lina grove
24 jules fable
18 hana juniper
4 eli indigo
8 dina ember
| 13.75
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038349 | qwen/qwen3.7-plus |
awkweave-0038350 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 ember chen
27 ember lina
8 cobalt kim
23 amber hana
23 amber ivan
1 fable farah
9 amber farah
27 cobalt jules
| 1
| 18 juniper ivan
24 grove eli
1 indigo jules
20 juniper alice
3 cobalt hana
10 amber chen
23 grove hana
9 fable dina
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038350-p1 | Identify and print the minimum numeric value found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 2 ember chen
27 ember lina
8 cobalt kim
23 amber hana
23 amber ivan
1 fable farah
9 amber farah
27 cobalt jules
| 1
| 18 juniper ivan
24 grove eli
1 indigo jules
20 juniper alice
3 cobalt hana
10 amber chen
23 grove hana
9 fable dina
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038350 | qwen/qwen3.7-plus |
awkweave-0038351 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | juniper chen 22
delta ivan 12
juniper kim 1
ember ivan 17
amber gus 8
grove bruno 26
| 26
| amber eli 20
cobalt jules 22
harbor kim 9
harbor eli 28
fable farah 24
juniper gus 17
delta hana 1
cobalt alice 15
indigo eli 28
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038351-p1 | Identify and print the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | juniper chen 22
delta ivan 12
juniper kim 1
ember ivan 17
amber gus 8
grove bruno 26
| 26
| amber eli 20
cobalt jules 22
harbor kim 9
harbor eli 28
fable farah 24
juniper gus 17
delta hana 1
cobalt alice 15
indigo eli 28
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038351 | qwen/qwen3.7-plus |
awkweave-0038352 | Count all input records and print the total. | END{print NR} | ivan 7
dina 35
gus 56
eli 27
ivan 23
hana 12
| 6
| kim 106
dina 92
ivan 90
lina 40
farah 52
gus 47
eli 86
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038352-p1 | Count the total number of input records and print the result. | END{print NR} | ivan 7
dina 35
gus 56
eli 27
ivan 23
hana 12
| 6
| kim 106
dina 92
ivan 90
lina 40
farah 52
gus 47
eli 86
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038352 | qwen/qwen3.7-plus |
awkweave-0038353 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen amber 93
chen amber 93
chen harbor 37
gus indigo 88
farah indigo 119
eli harbor 43
bruno juniper 41
| chen amber 93
chen harbor 37
gus indigo 88
farah indigo 119
eli harbor 43
bruno juniper 41
| ivan harbor 21
alice juniper 27
ivan ember 58
bruno fable 22
jules grove 29
bruno delta 18
dina juniper 63
ivan ember 58
| ivan harbor 21
alice juniper 27
ivan ember 58
bruno fable 22
jules grove 29
bruno delta 18
dina juniper 63
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038353-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | chen amber 93
chen amber 93
chen harbor 37
gus indigo 88
farah indigo 119
eli harbor 43
bruno juniper 41
| chen amber 93
chen harbor 37
gus indigo 88
farah indigo 119
eli harbor 43
bruno juniper 41
| ivan harbor 21
alice juniper 27
ivan ember 58
bruno fable 22
jules grove 29
bruno delta 18
dina juniper 63
ivan ember 58
| ivan harbor 21
alice juniper 27
ivan ember 58
bruno fable 22
jules grove 29
bruno delta 18
dina juniper 63
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038353 | qwen/qwen3.7-plus |
awkweave-0038354 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | lina harbor 16
eli juniper 19
kim juniper 92
gus juniper 3
chen juniper 85
chen delta 72
dina grove 95
| lina harbor 16
eli juniper 19
kim juniper 92
gus juniper 3
chen juniper 85
chen delta 72
dina grove 95
| gus juniper 54
farah birch 44
bruno fable 52
lina juniper 11
kim fable 1
farah ember 107
ivan delta 64
bruno grove 42
| gus juniper 54
farah birch 44
bruno fable 52
lina juniper 11
kim fable 1
farah ember 107
ivan delta 64
bruno grove 42
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038354-p1 | Retain only the first occurrence of each unique value in column 3, maintaining the original input sequence. | !seen[$3]++ | lina harbor 16
eli juniper 19
kim juniper 92
gus juniper 3
chen juniper 85
chen delta 72
dina grove 95
| lina harbor 16
eli juniper 19
kim juniper 92
gus juniper 3
chen juniper 85
chen delta 72
dina grove 95
| gus juniper 54
farah birch 44
bruno fable 52
lina juniper 11
kim fable 1
farah ember 107
ivan delta 64
bruno grove 42
| gus juniper 54
farah birch 44
bruno fable 52
lina juniper 11
kim fable 1
farah ember 107
ivan delta 64
bruno grove 42
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038354 | qwen/qwen3.7-plus |
awkweave-0038355 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 23 fable
lina 25 delta
chen 23 juniper
lina 18 ember
ivan 28 harbor
kim 18 delta
ivan 26 juniper
| lina 23
lina 48
chen 71
lina 89
ivan 117
kim 135
ivan 161
| lina 28 amber
jules 9 harbor
chen 3 ember
ivan 28 juniper
lina 26 indigo
lina 4 juniper
| lina 28
jules 37
chen 40
ivan 68
lina 94
lina 98
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038355-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | lina 23 fable
lina 25 delta
chen 23 juniper
lina 18 ember
ivan 28 harbor
kim 18 delta
ivan 26 juniper
| lina 23
lina 48
chen 71
lina 89
ivan 117
kim 135
ivan 161
| lina 28 amber
jules 9 harbor
chen 3 ember
ivan 28 juniper
lina 26 indigo
lina 4 juniper
| lina 28
jules 37
chen 40
ivan 68
lina 94
lina 98
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038355 | qwen/qwen3.7-plus |
awkweave-0038356 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 19 10 fable
chen 4 12 delta
bruno 18 18 grove
dina 6 4 amber
alice 23 28 birch
kim 2 21 juniper
ivan 19 30 cobalt
dina 19 9 birch
| hana 29
chen 16
bruno 36
dina 10
alice 51
kim 23
ivan 49
dina 28
| alice 5 26 ember
farah 18 23 delta
hana 1 28 fable
chen 12 7 fable
ivan 11 21 cobalt
bruno 13 29 cobalt
bruno 26 8 grove
| alice 31
farah 41
hana 29
chen 19
ivan 32
bruno 42
bruno 34
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038356-p1 | For each row, display field 1 followed by the combined total of fields 2 and 3. | {print $1,$2+$3} | hana 19 10 fable
chen 4 12 delta
bruno 18 18 grove
dina 6 4 amber
alice 23 28 birch
kim 2 21 juniper
ivan 19 30 cobalt
dina 19 9 birch
| hana 29
chen 16
bruno 36
dina 10
alice 51
kim 23
ivan 49
dina 28
| alice 5 26 ember
farah 18 23 delta
hana 1 28 fable
chen 12 7 fable
ivan 11 21 cobalt
bruno 13 29 cobalt
bruno 26 8 grove
| alice 31
farah 41
hana 29
chen 19
ivan 32
bruno 42
bruno 34
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038356 | qwen/qwen3.7-plus |
awkweave-0038357 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | chen 14
dina 23
kim 18
farah 10
jules 4
bruno 12
ivan 1
| chen fail
dina fail
kim fail
farah fail
jules fail
bruno fail
ivan fail
| bruno 7
kim 7
lina 20
gus 3
lina 10
chen 17
kim 23
dina 30
| bruno fail
kim fail
lina fail
gus fail
lina fail
chen fail
kim fail
dina pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038357-p1 | Output column 1 followed by 'pass' if column 2 is greater than or equal to 27; otherwise, output 'fail'. | {print $1,($2>=27?"pass":"fail")} | chen 14
dina 23
kim 18
farah 10
jules 4
bruno 12
ivan 1
| chen fail
dina fail
kim fail
farah fail
jules fail
bruno fail
ivan fail
| bruno 7
kim 7
lina 20
gus 3
lina 10
chen 17
kim 23
dina 30
| bruno fail
kim fail
lina fail
gus fail
lina fail
chen fail
kim fail
dina pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038357 | qwen/qwen3.7-plus |
awkweave-0038358 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | eli indigo 117
alice ember 32
eli cobalt 51
alice birch 88
kim juniper 103
farah indigo 88
| ELI
ALICE
ELI
ALICE
KIM
FARAH
| chen grove 110
kim indigo 96
gus cobalt 75
alice delta 54
kim harbor 0
gus birch 120
hana juniper 118
gus ember 36
| CHEN
KIM
GUS
ALICE
KIM
GUS
HANA
GUS
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038358-p1 | Transform column 1 to uppercase letters and output only this modified column. | {print toupper($1)} | eli indigo 117
alice ember 32
eli cobalt 51
alice birch 88
kim juniper 103
farah indigo 88
| ELI
ALICE
ELI
ALICE
KIM
FARAH
| chen grove 110
kim indigo 96
gus cobalt 75
alice delta 54
kim harbor 0
gus birch 120
hana juniper 118
gus ember 36
| CHEN
KIM
GUS
ALICE
KIM
GUS
HANA
GUS
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038358 | qwen/qwen3.7-plus |
awkweave-0038359 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | amber 0
ember 69
indigo 85
grove 41
grove 26
delta 114
harbor 12
birch 11
grove 106
| amb
emb
ind
gro
gro
del
har
bir
gro
| grove 31
fable 109
ember 99
fable 100
ember 93
fable 39
delta 101
grove 71
fable 62
| gro
fab
emb
fab
emb
fab
del
gro
fab
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038359-p1 | Extract and print the first 3 characters from column 1, starting at position 1. | {print substr($1,1,3)} | amber 0
ember 69
indigo 85
grove 41
grove 26
delta 114
harbor 12
birch 11
grove 106
| amb
emb
ind
gro
gro
del
har
bir
gro
| grove 31
fable 109
ember 99
fable 100
ember 93
fable 39
delta 101
grove 71
fable 62
| gro
fab
emb
fab
emb
fab
del
gro
fab
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038359 | qwen/qwen3.7-plus |
awkweave-0038360 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_delta 35
indigo_indigo 91
juniper_delta 34
indigo_ember 68
amber_fable 32
delta_grove 24
juniper_harbor 23
juniper_juniper 70
harbor_ember 114
amber_amber 64
| birch delta
indigo indigo
juniper delta
indigo ember
amber fable
delta grove
juniper harbor
juniper juniper
harbor ember
amber amber
| cobalt_ember 47
juniper_juniper 62
indigo_cobalt 92
cobalt_delta 112
indigo_delta 31
cobalt_amber 64
birch_amber 81
| cobalt ember
juniper juniper
indigo cobalt
cobalt delta
indigo delta
cobalt amber
birch amber
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038360-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_delta 35
indigo_indigo 91
juniper_delta 34
indigo_ember 68
amber_fable 32
delta_grove 24
juniper_harbor 23
juniper_juniper 70
harbor_ember 114
amber_amber 64
| birch delta
indigo indigo
juniper delta
indigo ember
amber fable
delta grove
juniper harbor
juniper juniper
harbor ember
amber amber
| cobalt_ember 47
juniper_juniper 62
indigo_cobalt 92
cobalt_delta 112
indigo_delta 31
cobalt_amber 64
birch_amber 81
| cobalt ember
juniper juniper
indigo cobalt
cobalt delta
indigo delta
cobalt amber
birch amber
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038360 | qwen/qwen3.7-plus |
awkweave-0038361 | 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)} | kim amber 107 closed
dina delta 80 active
jules grove 94 failed
ivan amber 77 paused
farah delta 23 closed
lina grove 89 ready
jules amber 18 failed
dina delta 74 active
| closed 107 amber kim
active 80 delta dina
failed 94 grove jules
paused 77 amber ivan
closed 23 delta farah
ready 89 grove lina
failed 18 amber jules
active 74 delta dina
| gus ember 105 active
ivan ember 60 paused
dina amber 86 ready
bruno grove 5 active
ivan delta 85 failed
kim delta 5 closed
farah birch 12 failed
| active 105 ember gus
paused 60 ember ivan
ready 86 amber dina
active 5 grove bruno
failed 85 delta ivan
closed 5 delta kim
failed 12 birch farah
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038361-p1 | Invert the sequence of fields for every line and print all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim amber 107 closed
dina delta 80 active
jules grove 94 failed
ivan amber 77 paused
farah delta 23 closed
lina grove 89 ready
jules amber 18 failed
dina delta 74 active
| closed 107 amber kim
active 80 delta dina
failed 94 grove jules
paused 77 amber ivan
closed 23 delta farah
ready 89 grove lina
failed 18 amber jules
active 74 delta dina
| gus ember 105 active
ivan ember 60 paused
dina amber 86 ready
bruno grove 5 active
ivan delta 85 failed
kim delta 5 closed
farah birch 12 failed
| active 105 ember gus
paused 60 ember ivan
ready 86 amber dina
active 5 grove bruno
failed 85 delta ivan
closed 5 delta kim
failed 12 birch farah
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038361 | qwen/qwen3.7-plus |
awkweave-0038362 | Print the number of whitespace-separated fields on each line. | {print NF} | lina fable 93 failed
hana fable 84 failed
ivan grove 52 paused
lina fable 4 closed
hana indigo 74 closed
ivan ember 114 active
hana grove 51 closed
| 4
4
4
4
4
4
4
| jules birch 100 failed
bruno cobalt 110 failed
kim delta 42 active
lina amber 25 closed
hana ember 31 active
ivan indigo 36 paused
hana amber 15 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038362-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | lina fable 93 failed
hana fable 84 failed
ivan grove 52 paused
lina fable 4 closed
hana indigo 74 closed
ivan ember 114 active
hana grove 51 closed
| 4
4
4
4
4
4
4
| jules birch 100 failed
bruno cobalt 110 failed
kim delta 42 active
lina amber 25 closed
hana ember 31 active
ivan indigo 36 paused
hana amber 15 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038362 | qwen/qwen3.7-plus |
awkweave-0038363 | 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]]} | alice beta 45
gus alpha 68
eli delta 85
gus delta 8
eli alpha 53
alice alpha 19
gus delta 108
jules beta 99
| beta 2
alpha 3
delta 3
| lina beta 40
chen beta 45
hana beta 91
bruno alpha 35
lina gamma 74
hana beta 90
gus beta 86
bruno delta 59
jules delta 120
| beta 5
alpha 1
gamma 1
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038363-p1 | Tally the number of records for each distinct 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]]} | alice beta 45
gus alpha 68
eli delta 85
gus delta 8
eli alpha 53
alice alpha 19
gus delta 108
jules beta 99
| beta 2
alpha 3
delta 3
| lina beta 40
chen beta 45
hana beta 91
bruno alpha 35
lina gamma 74
hana beta 90
gus beta 86
bruno delta 59
jules delta 120
| beta 5
alpha 1
gamma 1
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038363 | qwen/qwen3.7-plus |
awkweave-0038364 | 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]]} | eli beta 13
chen gamma 22
hana delta 17
bruno gamma 26
chen beta 5
chen alpha 26
eli delta 20
| beta 18
gamma 48
delta 37
alpha 26
| farah alpha 2
ivan gamma 11
jules delta 28
chen alpha 9
bruno gamma 11
chen alpha 16
eli alpha 25
chen beta 11
chen gamma 11
jules alpha 6
| alpha 58
gamma 33
delta 28
beta 11
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038364-p1 | Calculate the sum of column 3 for each group defined by column 2, displaying the results in the order of the group's 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]]} | eli beta 13
chen gamma 22
hana delta 17
bruno gamma 26
chen beta 5
chen alpha 26
eli delta 20
| beta 18
gamma 48
delta 37
alpha 26
| farah alpha 2
ivan gamma 11
jules delta 28
chen alpha 9
bruno gamma 11
chen alpha 16
eli alpha 25
chen beta 11
chen gamma 11
jules alpha 6
| alpha 58
gamma 33
delta 28
beta 11
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038364 | qwen/qwen3.7-plus |
awkweave-0038365 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta birch 59
beta fable 36
delta harbor 117
beta delta 109
beta delta 82
beta fable 11
alpha delta 116
gamma ember 44
| beta 5
| alpha juniper 68
delta grove 71
delta cobalt 42
gamma grove 98
alpha juniper 80
beta ember 24
| alpha 2
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038365-p1 | List each duplicate value from column 1 along with its frequency, ordered by when the value first appeared. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta birch 59
beta fable 36
delta harbor 117
beta delta 109
beta delta 82
beta fable 11
alpha delta 116
gamma ember 44
| beta 5
| alpha juniper 68
delta grove 71
delta cobalt 42
gamma grove 98
alpha juniper 80
beta ember 24
| alpha 2
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038365 | qwen/qwen3.7-plus |
awkweave-0038366 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region score record_id
r001 alice 26 failed
r002 gus 19 pending
r003 farah 26 pending
r004 kim 1 pending
r005 hana 22 paused
r006 ivan 9 active
| alice
gus
farah
kim
hana
ivan
| note region score record_id
r001 jules 13 pending
r002 bruno 13 closed
r003 dina 19 ready
r004 hana 1 paused
r005 eli 14 active
r006 kim 3 failed
r007 ivan 12 active
| jules
bruno
dina
hana
eli
kim
ivan
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038366-p1 | Skip the header row and output the region field for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region score record_id
r001 alice 26 failed
r002 gus 19 pending
r003 farah 26 pending
r004 kim 1 pending
r005 hana 22 paused
r006 ivan 9 active
| alice
gus
farah
kim
hana
ivan
| note region score record_id
r001 jules 13 pending
r002 bruno 13 closed
r003 dina 19 ready
r004 hana 1 paused
r005 eli 14 active
r006 kim 3 failed
r007 ivan 12 active
| jules
bruno
dina
hana
eli
kim
ivan
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038366 | qwen/qwen3.7-plus |
awkweave-0038367 | 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 bruno 29 pending
r002 gus 8 active
r003 dina 19 paused
r004 farah 25 failed
r005 dina 5 ready
r006 ivan 7 active
r007 chen 19 pending
r008 farah 19 pending
r009 alice 22 pending
r010 alice 22 closed
| bruno
dina
farah
chen
farah
alice
alice
| record_id display_name score state
r001 chen 4 paused
r002 lina 27 pending
r003 ivan 4 paused
r004 alice 20 ready
r005 jules 26 pending
r006 eli 29 active
r007 farah 25 active
r008 ivan 19 paused
| lina
alice
jules
eli
farah
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038367-p1 | Ignoring the header, output the display_name for any row 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 bruno 29 pending
r002 gus 8 active
r003 dina 19 paused
r004 farah 25 failed
r005 dina 5 ready
r006 ivan 7 active
r007 chen 19 pending
r008 farah 19 pending
r009 alice 22 pending
r010 alice 22 closed
| bruno
dina
farah
chen
farah
alice
alice
| record_id display_name score state
r001 chen 4 paused
r002 lina 27 pending
r003 ivan 4 paused
r004 alice 20 ready
r005 jules 26 pending
r006 eli 29 active
r007 farah 25 active
r008 ivan 19 paused
| lina
alice
jules
eli
farah
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038367 | qwen/qwen3.7-plus |
awkweave-0038368 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 28 ready
ivan 2 failed
ivan 7 paused
alice 4 ready
dina 4 closed
bruno 23 paused
bruno 16 active
| ready
failed
paused
ready
closed
paused
active
| bruno 2 paused
alice 29 closed
bruno 24 paused
ivan 14 active
bruno 9 paused
gus 28 active
| paused
closed
paused
active
paused
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038368-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 28 ready
ivan 2 failed
ivan 7 paused
alice 4 ready
dina 4 closed
bruno 23 paused
bruno 16 active
| ready
failed
paused
ready
closed
paused
active
| bruno 2 paused
alice 29 closed
bruno 24 paused
ivan 14 active
bruno 9 paused
gus 28 active
| paused
closed
paused
active
paused
active
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0038368 | qwen/qwen3.7-plus |
awkweave-0038369 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24. | BEGIN{FS=OFS=","}$2>24{print $1} | alice,23,pending
hana,8,paused
ivan,16,pending
jules,1,paused
chen,5,pending
dina,26,closed
hana,16,active
hana,10,failed
ivan,9,ready
| dina
| lina,26,active
eli,9,ready
lina,7,failed
dina,8,ready
farah,20,closed
kim,14,paused
alice,23,active
| lina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038369-p1 | For simple CSV input without quoted commas, output the first column if the second column is greater than 24. | BEGIN{FS=OFS=","}$2>24{print $1} | alice,23,pending
hana,8,paused
ivan,16,pending
jules,1,paused
chen,5,pending
dina,26,closed
hana,16,active
hana,10,failed
ivan,9,ready
| dina
| lina,26,active
eli,9,ready
lina,7,failed
dina,8,ready
farah,20,closed
kim,14,paused
alice,23,active
| lina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038369 | qwen/qwen3.7-plus |
awkweave-0038370 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan grove 110
gus amber 106
jules fable 30
hana ember 116
hana grove 104
dina fable 13
ivan juniper 106
eli juniper 41
eli delta 119
| ivan grove 110
gus amber 106
jules fable 30
hana ember 116
hana grove 104
dina fable 13
ivan juniper 106
eli juniper 41
eli delta 119
| gus birch 38
lina birch 103
jules birch 108
bruno fable 114
eli harbor 84
ivan amber 73
| gus birch 38
lina birch 103
jules birch 108
bruno fable 114
eli harbor 84
ivan amber 73
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038370-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan grove 110
gus amber 106
jules fable 30
hana ember 116
hana grove 104
dina fable 13
ivan juniper 106
eli juniper 41
eli delta 119
| ivan grove 110
gus amber 106
jules fable 30
hana ember 116
hana grove 104
dina fable 13
ivan juniper 106
eli juniper 41
eli delta 119
| gus birch 38
lina birch 103
jules birch 108
bruno fable 114
eli harbor 84
ivan amber 73
| gus birch 38
lina birch 103
jules birch 108
bruno fable 114
eli harbor 84
ivan amber 73
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038370 | qwen/qwen3.7-plus |
awkweave-0038371 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim fable 23 paused
kim indigo 6 paused
eli indigo 11 active
farah juniper 104 closed
hana harbor 100 closed
eli harbor 30 active
alice amber 54 paused
farah birch 91 pending
kim amber 3 paused
eli cobalt 72 pending
| farah juniper 104 closed
| alice cobalt 92 pending
eli fable 106 pending
gus fable 54 active
eli fable 9 paused
eli ember 38 active
bruno amber 90 pending
chen delta 101 pending
farah juniper 67 pending
hana harbor 49 ready
eli ember 104 ready
| farah juniper 67 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038371-p1 | Output 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} | kim fable 23 paused
kim indigo 6 paused
eli indigo 11 active
farah juniper 104 closed
hana harbor 100 closed
eli harbor 30 active
alice amber 54 paused
farah birch 91 pending
kim amber 3 paused
eli cobalt 72 pending
| farah juniper 104 closed
| alice cobalt 92 pending
eli fable 106 pending
gus fable 54 active
eli fable 9 paused
eli ember 38 active
bruno amber 90 pending
chen delta 101 pending
farah juniper 67 pending
hana harbor 49 ready
eli ember 104 ready
| farah juniper 67 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038371 | qwen/qwen3.7-plus |
awkweave-0038372 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | hana 106
alice 20
alice 94
farah 114
jules 74
lina 95
chen 58
chen 61
| hana 106
farah 114
chen 58
| kim 80
jules 113
bruno 116
eli 1
farah 94
kim 105
chen 53
ivan 26
| kim 80
eli 1
chen 53
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038372-p1 | Print lines 1, 4, 7, and so on (every third line starting from the first). | NR%3==1 | hana 106
alice 20
alice 94
farah 114
jules 74
lina 95
chen 58
chen 61
| hana 106
farah 114
chen 58
| kim 80
jules 113
bruno 116
eli 1
farah 94
kim 105
chen 53
ivan 26
| kim 80
eli 1
chen 53
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038372 | qwen/qwen3.7-plus |
awkweave-0038373 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 23
alpha amber 85
beta harbor 47
beta fable 112
gamma amber 81
delta juniper 70
delta ember 112
| 4
| alpha ember 22
delta delta 49
delta birch 91
delta indigo 87
gamma delta 58
delta ember 26
gamma indigo 46
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038373-p1 | Calculate and print the number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | delta cobalt 23
alpha amber 85
beta harbor 47
beta fable 112
gamma amber 81
delta juniper 70
delta ember 112
| 4
| alpha ember 22
delta delta 49
delta birch 91
delta indigo 87
gamma delta 58
delta ember 26
gamma indigo 46
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038373 | qwen/qwen3.7-plus |
awkweave-0038374 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 11 0
hana 24 2
dina 25 17
bruno 18 25
bruno 17 29
eli 2 13
eli 20 8
kim 3 28
ivan 27 11
| hana 12.00
dina 1.47
bruno 0.72
bruno 0.59
eli 0.15
eli 2.50
kim 0.11
ivan 2.45
| bruno 10 0
bruno 25 19
dina 29 7
dina 23 8
alice 17 20
bruno 14 22
eli 26 7
lina 8 22
| bruno 1.32
dina 4.14
dina 2.88
alice 0.85
bruno 0.64
eli 3.71
lina 0.36
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038374-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 11 0
hana 24 2
dina 25 17
bruno 18 25
bruno 17 29
eli 2 13
eli 20 8
kim 3 28
ivan 27 11
| hana 12.00
dina 1.47
bruno 0.72
bruno 0.59
eli 0.15
eli 2.50
kim 0.11
ivan 2.45
| bruno 10 0
bruno 25 19
dina 29 7
dina 23 8
alice 17 20
bruno 14 22
eli 26 7
lina 8 22
| bruno 1.32
dina 4.14
dina 2.88
alice 0.85
bruno 0.64
eli 3.71
lina 0.36
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038374 | qwen/qwen3.7-plus |
awkweave-0038375 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno fable 6
farah delta 4
dina grove 15
eli fable 3
lina birch 30
hana cobalt 4
| lina birch 30
dina grove 15
bruno fable 6
| lina harbor 19
eli harbor 9
hana juniper 15
bruno cobalt 3
chen harbor 14
alice ember 25
kim delta 15
| alice ember 25
lina harbor 19
hana juniper 15
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038375-p1 | Output the 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]} | bruno fable 6
farah delta 4
dina grove 15
eli fable 3
lina birch 30
hana cobalt 4
| lina birch 30
dina grove 15
bruno fable 6
| lina harbor 19
eli harbor 9
hana juniper 15
bruno cobalt 3
chen harbor 14
alice ember 25
kim delta 15
| alice ember 25
lina harbor 19
hana juniper 15
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038375 | qwen/qwen3.7-plus |
awkweave-0038376 | Print column 3 followed by column 2 for every record. | {print $3, $2} | paused 107 93 chen
paused 14 5 farah
active 114 23 alice
failed 30 52 farah
active 107 114 ivan
closed 15 44 dina
active 59 88 hana
pending 84 83 jules
| 93 107
5 14
23 114
52 30
114 107
44 15
88 59
83 84
| closed 97 102 eli
active 56 75 jules
closed 8 13 lina
paused 55 70 bruno
closed 23 23 farah
failed 118 28 ivan
closed 35 40 eli
active 96 102 dina
paused 77 47 gus
failed 23 21 bruno
| 102 97
75 56
13 8
70 55
23 23
28 118
40 35
102 96
47 77
21 23
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038376-p1 | For every record, print the third column followed by the second column. | {print $3, $2} | paused 107 93 chen
paused 14 5 farah
active 114 23 alice
failed 30 52 farah
active 107 114 ivan
closed 15 44 dina
active 59 88 hana
pending 84 83 jules
| 93 107
5 14
23 114
52 30
114 107
44 15
88 59
83 84
| closed 97 102 eli
active 56 75 jules
closed 8 13 lina
paused 55 70 bruno
closed 23 23 farah
failed 118 28 ivan
closed 35 40 eli
active 96 102 dina
paused 77 47 gus
failed 23 21 bruno
| 102 97
75 56
13 8
70 55
23 23
28 118
40 35
102 96
47 77
21 23
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038376 | qwen/qwen3.7-plus |
awkweave-0038377 | Print the last field of every input line. | {print $NF} | bruno 47 eli
bruno 117 eli
ivan 83 dina
eli 73 eli
chen 101 lina
dina 106 gus
alice 118 gus
| eli
eli
dina
eli
lina
gus
gus
| ivan 15 dina
dina 53 kim
gus 63 kim
farah 57 dina
farah 17 lina
chen 56 ivan
kim 17 hana
chen 25 alice
dina 51 gus
| dina
kim
kim
dina
lina
ivan
hana
alice
gus
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038377-p1 | Output the final field from each line of input. | {print $NF} | bruno 47 eli
bruno 117 eli
ivan 83 dina
eli 73 eli
chen 101 lina
dina 106 gus
alice 118 gus
| eli
eli
dina
eli
lina
gus
gus
| ivan 15 dina
dina 53 kim
gus 63 kim
farah 57 dina
farah 17 lina
chen 56 ivan
kim 17 hana
chen 25 alice
dina 51 gus
| dina
kim
kim
dina
lina
ivan
hana
alice
gus
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038377 | qwen/qwen3.7-plus |
awkweave-0038378 | Print the complete records where column 1 is at least 36. | $1 >= 36 | 100 grove gus ember
31 harbor ivan ember
63 indigo kim amber
8 grove hana birch
100 delta jules indigo
49 cobalt alice delta
| 100 grove gus ember
63 indigo kim amber
100 delta jules indigo
49 cobalt alice delta
| 71 birch hana fable
37 harbor kim cobalt
56 harbor gus fable
30 amber eli amber
5 grove chen fable
15 cobalt kim indigo
32 amber lina birch
44 delta chen delta
84 delta lina grove
84 birch lina harbor
| 71 birch hana fable
37 harbor kim cobalt
56 harbor gus fable
44 delta chen delta
84 delta lina grove
84 birch lina harbor
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038378-p1 | Output full records where the value in the first column is greater than or equal to 36. | $1 >= 36 | 100 grove gus ember
31 harbor ivan ember
63 indigo kim amber
8 grove hana birch
100 delta jules indigo
49 cobalt alice delta
| 100 grove gus ember
63 indigo kim amber
100 delta jules indigo
49 cobalt alice delta
| 71 birch hana fable
37 harbor kim cobalt
56 harbor gus fable
30 amber eli amber
5 grove chen fable
15 cobalt kim indigo
32 amber lina birch
44 delta chen delta
84 delta lina grove
84 birch lina harbor
| 71 birch hana fable
37 harbor kim cobalt
56 harbor gus fable
44 delta chen delta
84 delta lina grove
84 birch lina harbor
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038378 | qwen/qwen3.7-plus |
awkweave-0038379 | Show whole lines whose 2nd field is between 7 and 24, inclusive. | $2 >= 7 && $2 <= 24 | pending 22 lina failed
ready 19 gus pending
ready 14 farah active
ready 22 farah closed
pending 18 dina closed
paused 30 farah closed
paused 4 kim closed
pending 9 chen failed
| pending 22 lina failed
ready 19 gus pending
ready 14 farah active
ready 22 farah closed
pending 18 dina closed
pending 9 chen failed
| ready 13 ivan active
failed 26 chen closed
failed 15 farah closed
failed 8 dina failed
closed 28 dina ready
ready 2 dina pending
| ready 13 ivan active
failed 15 farah closed
failed 8 dina failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038379-p1 | Display entire lines where the second field falls within the inclusive range of 7 to 24. | $2 >= 7 && $2 <= 24 | pending 22 lina failed
ready 19 gus pending
ready 14 farah active
ready 22 farah closed
pending 18 dina closed
paused 30 farah closed
paused 4 kim closed
pending 9 chen failed
| pending 22 lina failed
ready 19 gus pending
ready 14 farah active
ready 22 farah closed
pending 18 dina closed
pending 9 chen failed
| ready 13 ivan active
failed 26 chen closed
failed 15 farah closed
failed 8 dina failed
closed 28 dina ready
ready 2 dina pending
| ready 13 ivan active
failed 15 farah closed
failed 8 dina failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038379 | qwen/qwen3.7-plus |
awkweave-0038380 | Print column 1 only for rows where column 3 is exactly closed. | $3 == "closed"{print $1} | gus 77 paused grove
jules 29 failed birch
hana 27 closed ember
farah 30 closed ember
eli 102 failed cobalt
eli 89 ready fable
hana 51 failed amber
jules 50 failed harbor
| hana
farah
| ivan 98 paused birch
chen 95 pending delta
jules 78 pending delta
kim 38 pending grove
farah 41 failed amber
alice 65 failed ember
ivan 19 ready amber
farah 29 paused grove
ivan 10 pending fable
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0038380-p1 | Extract and print only the first column for rows where the third column equals 'closed'. | $3 == "closed"{print $1} | gus 77 paused grove
jules 29 failed birch
hana 27 closed ember
farah 30 closed ember
eli 102 failed cobalt
eli 89 ready fable
hana 51 failed amber
jules 50 failed harbor
| hana
farah
| ivan 98 paused birch
chen 95 pending delta
jules 78 pending delta
kim 38 pending grove
farah 41 failed amber
alice 65 failed ember
ivan 19 ready amber
farah 29 paused grove
ivan 10 pending fable
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038380 | qwen/qwen3.7-plus | |
awkweave-0038381 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | juniper DEBUG 66
juniper WARN 88
cobalt ERROR 62
birch INFO 112
delta DEBUG 76
grove DEBUG 89
ember WARN 38
juniper DEBUG 47
cobalt WARN 92
| birch INFO 112
| birch INFO 111
grove ERROR 59
juniper WARN 28
amber ERROR 117
harbor ERROR 106
juniper ERROR 76
birch WARN 52
birch DEBUG 59
amber DEBUG 40
harbor WARN 66
| birch INFO 111
| regex_filter | 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.