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-0003660-p1 | Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | gus fable 37
farah juniper 18
chen fable 92
kim grove 8
kim fable 104
gus harbor 95
chen birch 75
bruno juniper 24
hana juniper 9
| gus fable 37
farah juniper 18
chen fable 92
kim grove 8
kim fable 104
gus harbor 95
chen birch 75
bruno juniper 24
hana juniper 9
| gus amber 21
chen cobalt 80
bruno birch 58
bruno cobalt 47
jules juniper 73
alice ember 11
kim indigo 10
ivan delta 48
lina ember 20
| gus amber 21
chen cobalt 80
bruno birch 58
bruno cobalt 47
jules juniper 73
alice ember 11
kim indigo 10
ivan delta 48
lina ember 20
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003660 | qwen/qwen3.7-plus |
awkweave-0003661 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | chen fable 1 paused
ivan grove 42 pending
ivan fable 43 closed
chen harbor 28 active
lina cobalt 51 pending
hana cobalt 26 ready
| lina cobalt 51 pending
| alice harbor 70 active
dina ember 1 active
bruno harbor 17 paused
farah harbor 91 pending
chen birch 47 active
hana ember 41 pending
jules indigo 29 pending
eli ember 93 ready
ivan juniper 106 closed
farah amber 107 failed
| farah harbor 91 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003661-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | chen fable 1 paused
ivan grove 42 pending
ivan fable 43 closed
chen harbor 28 active
lina cobalt 51 pending
hana cobalt 26 ready
| lina cobalt 51 pending
| alice harbor 70 active
dina ember 1 active
bruno harbor 17 paused
farah harbor 91 pending
chen birch 47 active
hana ember 41 pending
jules indigo 29 pending
eli ember 93 ready
ivan juniper 106 closed
farah amber 107 failed
| farah harbor 91 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003661 | qwen/qwen3.7-plus |
awkweave-0003662 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | farah 39
chen 38
lina 117
bruno 80
gus 75
chen 69
| farah 39
bruno 80
| farah 26
chen 19
bruno 82
alice 104
chen 91
kim 86
gus 101
| farah 26
alice 104
gus 101
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003662-p1 | Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.). | NR%3==1 | farah 39
chen 38
lina 117
bruno 80
gus 75
chen 69
| farah 39
bruno 80
| farah 26
chen 19
bruno 82
alice 104
chen 91
kim 86
gus 101
| farah 26
alice 104
gus 101
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003662 | qwen/qwen3.7-plus |
awkweave-0003663 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 0
beta delta 62
gamma ember 114
alpha indigo 26
gamma cobalt 76
delta juniper 16
beta delta 32
| 6
| beta juniper 67
gamma fable 2
beta cobalt 87
delta delta 60
gamma delta 37
beta fable 104
alpha indigo 76
delta cobalt 21
alpha indigo 55
alpha grove 95
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003663-p1 | Calculate the number of unique values present in the second column and display only that total count. | {if(!seen[$2]++)n++}END{print n+0} | beta grove 0
beta delta 62
gamma ember 114
alpha indigo 26
gamma cobalt 76
delta juniper 16
beta delta 32
| 6
| beta juniper 67
gamma fable 2
beta cobalt 87
delta delta 60
gamma delta 37
beta fable 104
alpha indigo 76
delta cobalt 21
alpha indigo 55
alpha grove 95
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003663 | qwen/qwen3.7-plus |
awkweave-0003664 | 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 17 0
farah 18 19
lina 26 1
ivan 24 19
gus 18 19
eli 10 14
lina 1 3
chen 11 28
alice 9 4
| farah 0.95
lina 26.00
ivan 1.26
gus 0.95
eli 0.71
lina 0.33
chen 0.39
alice 2.25
| dina 6 0
ivan 23 13
lina 12 26
dina 15 20
jules 2 29
kim 5 5
farah 6 5
jules 5 27
| ivan 1.77
lina 0.46
dina 0.75
jules 0.07
kim 1.00
farah 1.20
jules 0.19
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003664-p1 | For each row where the third column is not zero, output the first column followed by the result of dividing the second column by the third column, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 17 0
farah 18 19
lina 26 1
ivan 24 19
gus 18 19
eli 10 14
lina 1 3
chen 11 28
alice 9 4
| farah 0.95
lina 26.00
ivan 1.26
gus 0.95
eli 0.71
lina 0.33
chen 0.39
alice 2.25
| dina 6 0
ivan 23 13
lina 12 26
dina 15 20
jules 2 29
kim 5 5
farah 6 5
jules 5 27
| ivan 1.77
lina 0.46
dina 0.75
jules 0.07
kim 1.00
farah 1.20
jules 0.19
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003664 | qwen/qwen3.7-plus |
awkweave-0003665 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim harbor 15
eli birch 20
eli grove 17
dina fable 23
bruno juniper 23
gus grove 24
gus harbor 6
ivan ember 30
bruno amber 15
| ivan ember 30
gus grove 24
dina fable 23
| alice juniper 28
farah cobalt 10
alice fable 7
dina juniper 28
hana harbor 25
hana indigo 4
| alice juniper 28
dina juniper 28
hana harbor 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003665-p1 | Display the three full records with the highest numeric values in the third column, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim harbor 15
eli birch 20
eli grove 17
dina fable 23
bruno juniper 23
gus grove 24
gus harbor 6
ivan ember 30
bruno amber 15
| ivan ember 30
gus grove 24
dina fable 23
| alice juniper 28
farah cobalt 10
alice fable 7
dina juniper 28
hana harbor 25
hana indigo 4
| alice juniper 28
dina juniper 28
hana harbor 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003665 | qwen/qwen3.7-plus |
awkweave-0003666 | Select the 3rd and 2nd fields in that order. | {print $3, $2} | failed birch ready eli
paused birch active chen
pending delta active ivan
active grove paused kim
closed juniper paused alice
pending cobalt paused hana
pending harbor active farah
ready indigo pending eli
active harbor ready alice
closed amber paused eli
| ready birch
active birch
active delta
paused grove
paused juniper
paused cobalt
active harbor
pending indigo
ready harbor
paused amber
| paused indigo ready hana
active cobalt active bruno
closed cobalt ready ivan
pending indigo ready gus
active amber ready ivan
ready grove failed dina
| ready indigo
active cobalt
ready cobalt
ready indigo
ready amber
failed grove
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003666-p1 | Extract and print the third field followed by the second field, in that specific sequence. | {print $3, $2} | failed birch ready eli
paused birch active chen
pending delta active ivan
active grove paused kim
closed juniper paused alice
pending cobalt paused hana
pending harbor active farah
ready indigo pending eli
active harbor ready alice
closed amber paused eli
| ready birch
active birch
active delta
paused grove
paused juniper
paused cobalt
active harbor
pending indigo
ready harbor
paused amber
| paused indigo ready hana
active cobalt active bruno
closed cobalt ready ivan
pending indigo ready gus
active amber ready ivan
ready grove failed dina
| ready indigo
active cobalt
ready cobalt
ready indigo
ready amber
failed grove
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003666 | qwen/qwen3.7-plus |
awkweave-0003667 | Print the last field of every input line. | {print $NF} | eli chen failed 63 harbor failed
bruno hana pending 106 fable closed
eli hana closed 5 grove active
eli hana active 27 juniper active
kim chen active 51 ember pending
ivan jules pending 17 harbor active
lina ivan pending 114 grove ready
| failed
closed
active
active
pending
active
ready
| alice chen pending 108 amber ready
hana dina closed 38 juniper ready
alice jules ready 36 grove paused
bruno eli ready 39 birch failed
alice kim paused 90 fable active
hana bruno active 102 juniper active
ivan hana pending 77 amber pending
hana alice active 53 juniper ready
alice eli closed 45 delta failed
lina jules a... | ready
ready
paused
failed
active
active
pending
ready
failed
paused
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003667-p1 | Output the final field from each line of the input. | {print $NF} | eli chen failed 63 harbor failed
bruno hana pending 106 fable closed
eli hana closed 5 grove active
eli hana active 27 juniper active
kim chen active 51 ember pending
ivan jules pending 17 harbor active
lina ivan pending 114 grove ready
| failed
closed
active
active
pending
active
ready
| alice chen pending 108 amber ready
hana dina closed 38 juniper ready
alice jules ready 36 grove paused
bruno eli ready 39 birch failed
alice kim paused 90 fable active
hana bruno active 102 juniper active
ivan hana pending 77 amber pending
hana alice active 53 juniper ready
alice eli closed 45 delta failed
lina jules a... | ready
ready
paused
failed
active
active
pending
ready
failed
paused
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003667 | qwen/qwen3.7-plus |
awkweave-0003668 | Print the complete records where column 2 is at most 67. | $2 <= 67 | paused 120 failed
closed 45 active
ready 68 paused
active 69 failed
failed 55 active
active 96 ready
ready 96 closed
| closed 45 active
failed 55 active
| active 0 closed
failed 47 active
ready 22 paused
active 84 ready
failed 36 failed
failed 63 pending
failed 39 closed
ready 15 pending
active 40 failed
paused 58 pending
| active 0 closed
failed 47 active
ready 22 paused
failed 36 failed
failed 63 pending
failed 39 closed
ready 15 pending
active 40 failed
paused 58 pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003668-p1 | Print the entire record for any row where the value in the second column is less than or equal to 67. | $2 <= 67 | paused 120 failed
closed 45 active
ready 68 paused
active 69 failed
failed 55 active
active 96 ready
ready 96 closed
| closed 45 active
failed 55 active
| active 0 closed
failed 47 active
ready 22 paused
active 84 ready
failed 36 failed
failed 63 pending
failed 39 closed
ready 15 pending
active 40 failed
paused 58 pending
| active 0 closed
failed 47 active
ready 22 paused
failed 36 failed
failed 63 pending
failed 39 closed
ready 15 pending
active 40 failed
paused 58 pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003668 | qwen/qwen3.7-plus |
awkweave-0003669 | Show whole lines whose 2nd field is between 6 and 19, inclusive. | $2 >= 6 && $2 <= 19 | closed 30 hana fable
paused 7 hana grove
failed 27 bruno delta
active 11 farah birch
active 8 farah juniper
active 19 hana fable
pending 8 jules indigo
| paused 7 hana grove
active 11 farah birch
active 8 farah juniper
active 19 hana fable
pending 8 jules indigo
| pending 13 alice grove
pending 21 alice indigo
closed 9 farah harbor
failed 2 ivan juniper
active 15 farah birch
failed 1 kim fable
paused 8 bruno grove
ready 10 lina ember
pending 7 ivan grove
closed 26 dina indigo
| pending 13 alice grove
closed 9 farah harbor
active 15 farah birch
paused 8 bruno grove
ready 10 lina ember
pending 7 ivan grove
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003669-p1 | Display complete lines where the second field falls within the inclusive range of 6 to 19. | $2 >= 6 && $2 <= 19 | closed 30 hana fable
paused 7 hana grove
failed 27 bruno delta
active 11 farah birch
active 8 farah juniper
active 19 hana fable
pending 8 jules indigo
| paused 7 hana grove
active 11 farah birch
active 8 farah juniper
active 19 hana fable
pending 8 jules indigo
| pending 13 alice grove
pending 21 alice indigo
closed 9 farah harbor
failed 2 ivan juniper
active 15 farah birch
failed 1 kim fable
paused 8 bruno grove
ready 10 lina ember
pending 7 ivan grove
closed 26 dina indigo
| pending 13 alice grove
closed 9 farah harbor
active 15 farah birch
paused 8 bruno grove
ready 10 lina ember
pending 7 ivan grove
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003669 | qwen/qwen3.7-plus |
awkweave-0003670 | Print column 3 only for rows where column 2 is exactly pending. | $2 == "pending"{print $3} | indigo paused lina 120
ember pending hana 113
cobalt ready jules 100
ember paused bruno 68
juniper closed chen 19
grove paused alice 95
| hana
| delta paused jules 118
cobalt closed alice 112
delta pending kim 18
fable ready hana 91
fable ready gus 29
grove active chen 30
fable pending ivan 51
cobalt paused chen 39
| kim
ivan
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003670-p1 | Output only the third column for rows where the second column contains exactly the string 'pending'. | $2 == "pending"{print $3} | indigo paused lina 120
ember pending hana 113
cobalt ready jules 100
ember paused bruno 68
juniper closed chen 19
grove paused alice 95
| hana
| delta paused jules 118
cobalt closed alice 112
delta pending kim 18
fable ready hana 91
fable ready gus 29
grove active chen 30
fable pending ivan 51
cobalt paused chen 39
| kim
ivan
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003670 | qwen/qwen3.7-plus |
awkweave-0003671 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | INFO 103 amber
INFO 120 juniper
INFO 91 cobalt
INFO 55 grove
WARN 97 ember
WARN 28 delta
| WARN 97 ember
WARN 28 delta
| DEBUG 30 birch
WARN 104 ember
WARN 72 indigo
WARN 12 delta
ERROR 80 ember
DEBUG 92 fable
INFO 12 amber
INFO 44 grove
| WARN 104 ember
WARN 72 indigo
WARN 12 delta
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003671-p1 | Print all fields from any line where the first field starts with the prefix 'WARN'. | $1 ~ /^WARN/ | INFO 103 amber
INFO 120 juniper
INFO 91 cobalt
INFO 55 grove
WARN 97 ember
WARN 28 delta
| WARN 97 ember
WARN 28 delta
| DEBUG 30 birch
WARN 104 ember
WARN 72 indigo
WARN 12 delta
ERROR 80 ember
DEBUG 92 fable
INFO 12 amber
INFO 44 grove
| WARN 104 ember
WARN 72 indigo
WARN 12 delta
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003671 | qwen/qwen3.7-plus |
awkweave-0003672 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | fable 46 failed
ember 29 failed
delta 74 ready
fable 86 active
birch 9 closed
ember 47 pending
ember 999 active
| fable 46 failed
delta 74 ready
fable 86 active
birch 9 closed
| juniper 100 active
harbor 21 paused
amber 33 ready
delta 45 failed
delta 116 pending
ember 44 failed
birch 32 pending
grove 41 failed
ember 999 active
| juniper 100 active
harbor 21 paused
amber 33 ready
delta 45 failed
delta 116 pending
birch 32 pending
grove 41 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003672-p1 | Display all lines that do not contain the exact string ember. | $0 !~ /ember/ | fable 46 failed
ember 29 failed
delta 74 ready
fable 86 active
birch 9 closed
ember 47 pending
ember 999 active
| fable 46 failed
delta 74 ready
fable 86 active
birch 9 closed
| juniper 100 active
harbor 21 paused
amber 33 ready
delta 45 failed
delta 116 pending
ember 44 failed
birch 32 pending
grove 41 failed
ember 999 active
| juniper 100 active
harbor 21 paused
amber 33 ready
delta 45 failed
delta 116 pending
birch 32 pending
grove 41 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003672 | qwen/qwen3.7-plus |
awkweave-0003673 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | hana harbor 3
farah cobalt 120
dina birch 5
gus indigo 120
bruno indigo 96
ivan cobalt 41
| dina birch 5
gus indigo 120
bruno indigo 96
ivan cobalt 41
| alice birch 117
chen harbor 79
farah cobalt 100
ivan cobalt 47
farah amber 82
chen grove 99
eli fable 36
| farah cobalt 100
ivan cobalt 47
farah amber 82
chen grove 99
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003673-p1 | Output lines 3 to 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | hana harbor 3
farah cobalt 120
dina birch 5
gus indigo 120
bruno indigo 96
ivan cobalt 41
| dina birch 5
gus indigo 120
bruno indigo 96
ivan cobalt 41
| alice birch 117
chen harbor 79
farah cobalt 100
ivan cobalt 47
farah amber 82
chen grove 99
eli fable 36
| farah cobalt 100
ivan cobalt 47
farah amber 82
chen grove 99
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003673 | qwen/qwen3.7-plus |
awkweave-0003674 | Output only the first 4 records. | NR <= 4 | alice 32 ember
kim 20 ember
ivan 109 fable
hana 48 harbor
hana 111 delta
kim 6 fable
gus 46 indigo
alice 20 fable
farah 51 juniper
| alice 32 ember
kim 20 ember
ivan 109 fable
hana 48 harbor
| bruno 90 harbor
eli 98 indigo
dina 107 birch
kim 117 indigo
kim 12 amber
dina 49 indigo
eli 60 delta
chen 66 birch
dina 104 birch
kim 0 indigo
| bruno 90 harbor
eli 98 indigo
dina 107 birch
kim 117 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003674-p1 | Show only the initial 4 records. | NR <= 4 | alice 32 ember
kim 20 ember
ivan 109 fable
hana 48 harbor
hana 111 delta
kim 6 fable
gus 46 indigo
alice 20 fable
farah 51 juniper
| alice 32 ember
kim 20 ember
ivan 109 fable
hana 48 harbor
| bruno 90 harbor
eli 98 indigo
dina 107 birch
kim 117 indigo
kim 12 amber
dina 49 indigo
eli 60 delta
chen 66 birch
dina 104 birch
kim 0 indigo
| bruno 90 harbor
eli 98 indigo
dina 107 birch
kim 117 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003674 | qwen/qwen3.7-plus |
awkweave-0003675 | Skip the first line and print every remaining line unchanged. | NR > 1 | dina 42 harbor
alice 0 juniper
gus 46 delta
dina 17 harbor
eli 4 indigo
farah 71 birch
farah 64 ember
ivan 16 ember
| alice 0 juniper
gus 46 delta
dina 17 harbor
eli 4 indigo
farah 71 birch
farah 64 ember
ivan 16 ember
| farah 5 delta
kim 6 ember
hana 94 harbor
ivan 49 grove
bruno 67 delta
hana 40 grove
chen 66 delta
hana 109 juniper
| kim 6 ember
hana 94 harbor
ivan 49 grove
bruno 67 delta
hana 40 grove
chen 66 delta
hana 109 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003675-p1 | Omit the first line and output all subsequent lines as they are. | NR > 1 | dina 42 harbor
alice 0 juniper
gus 46 delta
dina 17 harbor
eli 4 indigo
farah 71 birch
farah 64 ember
ivan 16 ember
| alice 0 juniper
gus 46 delta
dina 17 harbor
eli 4 indigo
farah 71 birch
farah 64 ember
ivan 16 ember
| farah 5 delta
kim 6 ember
hana 94 harbor
ivan 49 grove
bruno 67 delta
hana 40 grove
chen 66 delta
hana 109 juniper
| kim 6 ember
hana 94 harbor
ivan 49 grove
bruno 67 delta
hana 40 grove
chen 66 delta
hana 109 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003675 | qwen/qwen3.7-plus |
awkweave-0003676 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | chen closed 14
ivan closed 79
kim ready 19
eli closed 110
lina failed 89
ivan failed 108
lina ready 40
lina ready 91
| 0
| gus pending 75
chen active 48
lina ready 35
alice pending 62
farah ready 42
bruno closed 77
hana paused 60
gus active 55
lina failed 81
kim failed 29
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003676-p1 | Count the number of records where column 2 is pending; output 0 if the count is zero. | $2 == "pending"{n++}END{print n+0} | chen closed 14
ivan closed 79
kim ready 19
eli closed 110
lina failed 89
ivan failed 108
lina ready 40
lina ready 91
| 0
| gus pending 75
chen active 48
lina ready 35
alice pending 62
farah ready 42
bruno closed 77
hana paused 60
gus active 55
lina failed 81
kim failed 29
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003676 | qwen/qwen3.7-plus |
awkweave-0003677 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | bruno harbor 6
kim fable 18
eli delta 17
gus harbor 28
bruno amber 18
ivan indigo 18
eli grove 9
jules harbor 26
gus birch 17
| 157
| hana birch 23
alice fable 8
farah harbor 16
kim indigo 11
farah harbor 7
farah juniper 22
farah ember 16
eli juniper 27
dina cobalt 6
hana fable 22
| 158
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003677-p1 | Compute and display the total sum of integer values in column 3. | {s+=$3}END{print s+0} | bruno harbor 6
kim fable 18
eli delta 17
gus harbor 28
bruno amber 18
ivan indigo 18
eli grove 9
jules harbor 26
gus birch 17
| 157
| hana birch 23
alice fable 8
farah harbor 16
kim indigo 11
farah harbor 7
farah juniper 22
farah ember 16
eli juniper 27
dina cobalt 6
hana fable 22
| 158
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003677 | qwen/qwen3.7-plus |
awkweave-0003678 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 4 grove hana
29 indigo alice
28 grove kim
18 harbor gus
8 cobalt eli
3 grove jules
2 indigo hana
15 juniper farah
| 13.38
| 19 birch dina
13 ember chen
20 harbor eli
10 amber hana
26 birch eli
19 indigo dina
14 fable eli
| 17.29
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003678-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 4 grove hana
29 indigo alice
28 grove kim
18 harbor gus
8 cobalt eli
3 grove jules
2 indigo hana
15 juniper farah
| 13.38
| 19 birch dina
13 ember chen
20 harbor eli
10 amber hana
26 birch eli
19 indigo dina
14 fable eli
| 17.29
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003678 | qwen/qwen3.7-plus |
awkweave-0003679 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | birch lina 28
harbor kim 9
grove jules 13
juniper chen 22
harbor hana 26
harbor kim 21
| 9
| ember gus 9
harbor gus 11
birch bruno 6
amber alice 22
birch kim 27
birch lina 25
cobalt gus 26
ember lina 15
birch chen 13
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003679-p1 | Identify and output the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | birch lina 28
harbor kim 9
grove jules 13
juniper chen 22
harbor hana 26
harbor kim 21
| 9
| ember gus 9
harbor gus 11
birch bruno 6
amber alice 22
birch kim 27
birch lina 25
cobalt gus 26
ember lina 15
birch chen 13
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003679 | qwen/qwen3.7-plus |
awkweave-0003680 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 fable chen
6 grove hana
1 indigo bruno
15 grove eli
10 fable farah
5 cobalt gus
1 harbor lina
8 birch chen
19 delta chen
| 19
| 22 amber gus
6 harbor chen
10 fable farah
28 cobalt lina
13 fable farah
13 grove jules
20 harbor hana
11 indigo dina
1 grove kim
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003680-p1 | Identify and output the maximum numeric value found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 fable chen
6 grove hana
1 indigo bruno
15 grove eli
10 fable farah
5 cobalt gus
1 harbor lina
8 birch chen
19 delta chen
| 19
| 22 amber gus
6 harbor chen
10 fable farah
28 cobalt lina
13 fable farah
13 grove jules
20 harbor hana
11 indigo dina
1 grove kim
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003680 | qwen/qwen3.7-plus |
awkweave-0003681 | Count all input records and print the total. | END{print NR} | chen 54
chen 4
dina 73
alice 37
farah 23
gus 71
lina 34
hana 93
| 8
| farah 77
kim 65
jules 28
ivan 9
chen 40
farah 30
kim 42
chen 34
jules 88
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003681-p1 | Count the total number of input records and print the result. | END{print NR} | chen 54
chen 4
dina 73
alice 37
farah 23
gus 71
lina 34
hana 93
| 8
| farah 77
kim 65
jules 28
ivan 9
chen 40
farah 30
kim 42
chen 34
jules 88
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003681 | qwen/qwen3.7-plus |
awkweave-0003682 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah indigo 3
ivan ember 66
kim ember 25
farah indigo 95
kim ember 25
gus delta 85
gus delta 107
dina grove 41
| farah indigo 3
ivan ember 66
kim ember 25
farah indigo 95
gus delta 85
gus delta 107
dina grove 41
| alice cobalt 89
bruno harbor 22
alice cobalt 89
kim harbor 8
alice fable 23
kim amber 101
ivan delta 53
eli grove 105
alice fable 78
| alice cobalt 89
bruno harbor 22
kim harbor 8
alice fable 23
kim amber 101
ivan delta 53
eli grove 105
alice fable 78
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003682-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence. | !seen[$0]++ | farah indigo 3
ivan ember 66
kim ember 25
farah indigo 95
kim ember 25
gus delta 85
gus delta 107
dina grove 41
| farah indigo 3
ivan ember 66
kim ember 25
farah indigo 95
gus delta 85
gus delta 107
dina grove 41
| alice cobalt 89
bruno harbor 22
alice cobalt 89
kim harbor 8
alice fable 23
kim amber 101
ivan delta 53
eli grove 105
alice fable 78
| alice cobalt 89
bruno harbor 22
kim harbor 8
alice fable 23
kim amber 101
ivan delta 53
eli grove 105
alice fable 78
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003682 | qwen/qwen3.7-plus |
awkweave-0003683 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | chen indigo 12
alice juniper 93
bruno birch 31
bruno grove 85
ivan grove 103
chen birch 80
gus indigo 34
alice amber 89
| chen indigo 12
alice juniper 93
bruno birch 31
bruno grove 85
alice amber 89
| jules fable 107
hana delta 71
hana amber 76
kim birch 89
ivan juniper 28
jules cobalt 88
lina ember 24
farah delta 116
| jules fable 107
hana delta 71
hana amber 76
kim birch 89
ivan juniper 28
jules cobalt 88
lina ember 24
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003683-p1 | Retain only the first line for every unique value in column 2, preserving the original input order. | !seen[$2]++ | chen indigo 12
alice juniper 93
bruno birch 31
bruno grove 85
ivan grove 103
chen birch 80
gus indigo 34
alice amber 89
| chen indigo 12
alice juniper 93
bruno birch 31
bruno grove 85
alice amber 89
| jules fable 107
hana delta 71
hana amber 76
kim birch 89
ivan juniper 28
jules cobalt 88
lina ember 24
farah delta 116
| jules fable 107
hana delta 71
hana amber 76
kim birch 89
ivan juniper 28
jules cobalt 88
lina ember 24
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003683 | qwen/qwen3.7-plus |
awkweave-0003684 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 10 juniper
chen 22 grove
kim 19 juniper
lina 6 delta
alice 19 harbor
dina 10 harbor
gus 15 fable
hana 30 cobalt
hana 4 fable
farah 9 indigo
| jules 10
chen 32
kim 51
lina 57
alice 76
dina 86
gus 101
hana 131
hana 135
farah 144
| farah 21 harbor
gus 12 cobalt
kim 25 birch
hana 8 fable
ivan 1 grove
gus 13 amber
kim 7 harbor
| farah 21
gus 33
kim 58
hana 66
ivan 67
gus 80
kim 87
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003684-p1 | Output the first column and the cumulative total of the second column for each record, separated by a space. | {s+=$2;print $1,s} | jules 10 juniper
chen 22 grove
kim 19 juniper
lina 6 delta
alice 19 harbor
dina 10 harbor
gus 15 fable
hana 30 cobalt
hana 4 fable
farah 9 indigo
| jules 10
chen 32
kim 51
lina 57
alice 76
dina 86
gus 101
hana 131
hana 135
farah 144
| farah 21 harbor
gus 12 cobalt
kim 25 birch
hana 8 fable
ivan 1 grove
gus 13 amber
kim 7 harbor
| farah 21
gus 33
kim 58
hana 66
ivan 67
gus 80
kim 87
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003684 | qwen/qwen3.7-plus |
awkweave-0003685 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 26 5 cobalt
alice 23 24 cobalt
gus 26 19 juniper
chen 29 17 birch
kim 14 27 grove
kim 10 11 ember
dina 2 17 amber
bruno 4 19 delta
hana 26 29 grove
| dina 31
alice 47
gus 45
chen 46
kim 41
kim 21
dina 19
bruno 23
hana 55
| farah 28 17 juniper
alice 5 10 indigo
ivan 27 3 ember
eli 14 1 harbor
bruno 26 27 cobalt
kim 2 11 amber
| farah 45
alice 15
ivan 30
eli 15
bruno 53
kim 13
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003685-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | dina 26 5 cobalt
alice 23 24 cobalt
gus 26 19 juniper
chen 29 17 birch
kim 14 27 grove
kim 10 11 ember
dina 2 17 amber
bruno 4 19 delta
hana 26 29 grove
| dina 31
alice 47
gus 45
chen 46
kim 41
kim 21
dina 19
bruno 23
hana 55
| farah 28 17 juniper
alice 5 10 indigo
ivan 27 3 ember
eli 14 1 harbor
bruno 26 27 cobalt
kim 2 11 amber
| farah 45
alice 15
ivan 30
eli 15
bruno 53
kim 13
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003685 | qwen/qwen3.7-plus |
awkweave-0003686 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | gus 10
hana 14
chen 15
bruno 9
bruno 25
lina 25
hana 27
eli 9
kim 5
| gus fail
hana fail
chen fail
bruno fail
bruno pass
lina pass
hana pass
eli fail
kim fail
| chen 17
lina 17
chen 19
bruno 19
ivan 6
chen 19
| chen fail
lina fail
chen fail
bruno fail
ivan fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003686-p1 | Display the first column; output 'pass' if the second column is 20 or greater, otherwise output 'fail'. | {print $1,($2>=20?"pass":"fail")} | gus 10
hana 14
chen 15
bruno 9
bruno 25
lina 25
hana 27
eli 9
kim 5
| gus fail
hana fail
chen fail
bruno fail
bruno pass
lina pass
hana pass
eli fail
kim fail
| chen 17
lina 17
chen 19
bruno 19
ivan 6
chen 19
| chen fail
lina fail
chen fail
bruno fail
ivan fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003686 | qwen/qwen3.7-plus |
awkweave-0003687 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | hana cobalt 59
eli indigo 82
alice delta 107
hana grove 95
lina harbor 73
alice juniper 65
ivan harbor 99
jules harbor 12
gus cobalt 34
farah grove 82
| COBALT
INDIGO
DELTA
GROVE
HARBOR
JUNIPER
HARBOR
HARBOR
COBALT
GROVE
| bruno cobalt 42
farah cobalt 55
eli harbor 10
alice grove 57
chen indigo 54
alice birch 57
farah juniper 79
bruno indigo 68
| COBALT
COBALT
HARBOR
GROVE
INDIGO
BIRCH
JUNIPER
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003687-p1 | Transform the second column to uppercase and print only that column. | {print toupper($2)} | hana cobalt 59
eli indigo 82
alice delta 107
hana grove 95
lina harbor 73
alice juniper 65
ivan harbor 99
jules harbor 12
gus cobalt 34
farah grove 82
| COBALT
INDIGO
DELTA
GROVE
HARBOR
JUNIPER
HARBOR
HARBOR
COBALT
GROVE
| bruno cobalt 42
farah cobalt 55
eli harbor 10
alice grove 57
chen indigo 54
alice birch 57
farah juniper 79
bruno indigo 68
| COBALT
COBALT
HARBOR
GROVE
INDIGO
BIRCH
JUNIPER
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003687 | qwen/qwen3.7-plus |
awkweave-0003688 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | ember 36
amber 57
indigo 26
indigo 13
harbor 41
birch 89
indigo 63
cobalt 92
fable 96
| mb
mb
nd
nd
ar
ir
nd
ob
ab
| ember 51
ember 28
birch 63
delta 99
indigo 10
juniper 64
delta 12
birch 14
delta 3
juniper 78
| mb
mb
ir
el
nd
un
el
ir
el
un
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003688-p1 | Extract and print a 2-character substring from the first column, starting at the second character. | {print substr($1,2,2)} | ember 36
amber 57
indigo 26
indigo 13
harbor 41
birch 89
indigo 63
cobalt 92
fable 96
| mb
mb
nd
nd
ar
ir
nd
ob
ab
| ember 51
ember 28
birch 63
delta 99
indigo 10
juniper 64
delta 12
birch 14
delta 3
juniper 78
| mb
mb
ir
el
nd
un
el
ir
el
un
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003688 | qwen/qwen3.7-plus |
awkweave-0003689 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_ember 55
delta_fable 91
grove_delta 66
juniper_birch 1
ember_birch 44
grove_fable 93
| birch ember
delta fable
grove delta
juniper birch
ember birch
grove fable
| juniper_amber 100
delta_juniper 15
amber_ember 27
fable_indigo 63
amber_birch 73
delta_cobalt 19
amber_birch 107
juniper_grove 110
indigo_fable 36
fable_fable 72
| juniper amber
delta juniper
amber ember
fable indigo
amber birch
delta cobalt
amber birch
juniper grove
indigo fable
fable fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003689-p1 | Replace all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | birch_ember 55
delta_fable 91
grove_delta 66
juniper_birch 1
ember_birch 44
grove_fable 93
| birch ember
delta fable
grove delta
juniper birch
ember birch
grove fable
| juniper_amber 100
delta_juniper 15
amber_ember 27
fable_indigo 63
amber_birch 73
delta_cobalt 19
amber_birch 107
juniper_grove 110
indigo_fable 36
fable_fable 72
| juniper amber
delta juniper
amber ember
fable indigo
amber birch
delta cobalt
amber birch
juniper grove
indigo fable
fable fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003689 | qwen/qwen3.7-plus |
awkweave-0003700 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina grove 2 paused
alice fable 64 pending
bruno cobalt 57 ready
jules juniper 81 ready
jules ember 95 pending
alice grove 59 pending
dina juniper 57 failed
alice juniper 61 failed
| alice juniper 61 failed
| ivan cobalt 21 failed
gus amber 94 ready
lina juniper 23 closed
chen fable 8 pending
bruno cobalt 3 paused
alice fable 45 closed
bruno birch 93 ready
dina birch 97 failed
eli fable 75 ready
gus amber 71 active
| lina juniper 23 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003700-p1 | Identify and print the longest input line, retaining the first one encountered in case of a tie. | {if(length($0)>length(best))best=$0}END{print best} | lina grove 2 paused
alice fable 64 pending
bruno cobalt 57 ready
jules juniper 81 ready
jules ember 95 pending
alice grove 59 pending
dina juniper 57 failed
alice juniper 61 failed
| alice juniper 61 failed
| ivan cobalt 21 failed
gus amber 94 ready
lina juniper 23 closed
chen fable 8 pending
bruno cobalt 3 paused
alice fable 45 closed
bruno birch 93 ready
dina birch 97 failed
eli fable 75 ready
gus amber 71 active
| lina juniper 23 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003700 | qwen/qwen3.7-plus |
awkweave-0003701 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | eli 57
chen 39
chen 27
gus 105
dina 58
kim 60
hana 64
| eli 57
chen 27
dina 58
hana 64
| bruno 88
bruno 39
kim 116
gus 94
bruno 13
dina 27
| bruno 88
kim 116
bruno 13
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003701-p1 | Print every other line, beginning with line 1 (i.e., lines 1, 3, etc.). | NR%2==1 | eli 57
chen 39
chen 27
gus 105
dina 58
kim 60
hana 64
| eli 57
chen 27
dina 58
hana 64
| bruno 88
bruno 39
kim 116
gus 94
bruno 13
dina 27
| bruno 88
kim 116
bruno 13
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003701 | qwen/qwen3.7-plus |
awkweave-0003702 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta ember 24
delta juniper 47
delta cobalt 36
alpha delta 114
delta grove 64
delta fable 112
delta cobalt 0
beta grove 1
| 3
| beta fable 87
delta harbor 53
alpha grove 115
alpha grove 25
delta fable 108
gamma birch 57
alpha fable 99
gamma amber 36
gamma birch 29
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003702-p1 | Count the number of unique values in the first column and print only that count. | {if(!seen[$1]++)n++}END{print n+0} | beta ember 24
delta juniper 47
delta cobalt 36
alpha delta 114
delta grove 64
delta fable 112
delta cobalt 0
beta grove 1
| 3
| beta fable 87
delta harbor 53
alpha grove 115
alpha grove 25
delta fable 108
gamma birch 57
alpha fable 99
gamma amber 36
gamma birch 29
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003702 | qwen/qwen3.7-plus |
awkweave-0003703 | 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} | gus 28 0
jules 1 15
lina 27 18
lina 12 27
alice 11 23
alice 14 8
kim 11 23
| jules 0.07
lina 1.50
lina 0.44
alice 0.48
alice 1.75
kim 0.48
| jules 8 0
jules 2 27
hana 2 26
hana 21 20
chen 29 6
eli 30 21
farah 25 14
farah 21 25
| jules 0.07
hana 0.08
hana 1.05
chen 4.83
eli 1.43
farah 1.79
farah 0.84
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003703-p1 | For each row, print the first column and the result of dividing the second column by the third column rounded to two decimal places, skipping rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 28 0
jules 1 15
lina 27 18
lina 12 27
alice 11 23
alice 14 8
kim 11 23
| jules 0.07
lina 1.50
lina 0.44
alice 0.48
alice 1.75
kim 0.48
| jules 8 0
jules 2 27
hana 2 26
hana 21 20
chen 29 6
eli 30 21
farah 25 14
farah 21 25
| jules 0.07
hana 0.08
hana 1.05
chen 4.83
eli 1.43
farah 1.79
farah 0.84
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003703 | qwen/qwen3.7-plus |
awkweave-0003704 | 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]} | ivan indigo 13
alice amber 8
chen harbor 20
lina cobalt 10
jules indigo 29
ivan fable 13
ivan indigo 18
farah grove 25
farah cobalt 4
| jules indigo 29
farah grove 25
chen harbor 20
| jules fable 4
dina cobalt 28
eli grove 3
lina grove 21
jules grove 11
farah ember 8
eli fable 2
| dina cobalt 28
lina grove 21
jules grove 11
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003704-p1 | Print the top three records with the highest numeric values in the third column, sorted in descending order, preserving the original 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]} | ivan indigo 13
alice amber 8
chen harbor 20
lina cobalt 10
jules indigo 29
ivan fable 13
ivan indigo 18
farah grove 25
farah cobalt 4
| jules indigo 29
farah grove 25
chen harbor 20
| jules fable 4
dina cobalt 28
eli grove 3
lina grove 21
jules grove 11
farah ember 8
eli fable 2
| dina cobalt 28
lina grove 21
jules grove 11
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003704 | qwen/qwen3.7-plus |
awkweave-0003705 | Select the 6th and 1st fields in that order. | {print $6, $1} | lina ready gus jules 60 15
ivan failed alice bruno 39 96
jules pending hana eli 32 40
bruno pending gus lina 63 67
eli active lina jules 43 70
farah ready kim bruno 19 50
| 15 lina
96 ivan
40 jules
67 bruno
70 eli
50 farah
| eli failed dina hana 71 40
hana ready jules eli 31 114
eli pending farah gus 34 16
farah paused farah dina 79 114
lina paused bruno ivan 30 61
alice failed lina hana 51 13
farah ready jules farah 3 113
kim ready hana alice 16 15
bruno closed ivan alice 20 77
dina closed gus jules 113 36
| 40 eli
114 hana
16 eli
114 farah
61 lina
13 alice
113 farah
15 kim
77 bruno
36 dina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003705-p1 | Output the sixth field followed by the first field. | {print $6, $1} | lina ready gus jules 60 15
ivan failed alice bruno 39 96
jules pending hana eli 32 40
bruno pending gus lina 63 67
eli active lina jules 43 70
farah ready kim bruno 19 50
| 15 lina
96 ivan
40 jules
67 bruno
70 eli
50 farah
| eli failed dina hana 71 40
hana ready jules eli 31 114
eli pending farah gus 34 16
farah paused farah dina 79 114
lina paused bruno ivan 30 61
alice failed lina hana 51 13
farah ready jules farah 3 113
kim ready hana alice 16 15
bruno closed ivan alice 20 77
dina closed gus jules 113 36
| 40 eli
114 hana
16 eli
114 farah
61 lina
13 alice
113 farah
15 kim
77 bruno
36 dina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003705 | qwen/qwen3.7-plus |
awkweave-0003706 | Print the last field of every input line. | {print $NF} | 70 active farah
14 closed kim
51 active jules
37 closed eli
97 pending dina
102 closed kim
49 active bruno
| farah
kim
jules
eli
dina
kim
bruno
| 74 pending ivan
108 closed jules
109 pending eli
86 closed ivan
43 failed jules
97 closed alice
36 ready lina
40 pending ivan
44 pending jules
97 ready bruno
| ivan
jules
eli
ivan
jules
alice
lina
ivan
jules
bruno
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003706-p1 | Output the final field from each input line. | {print $NF} | 70 active farah
14 closed kim
51 active jules
37 closed eli
97 pending dina
102 closed kim
49 active bruno
| farah
kim
jules
eli
dina
kim
bruno
| 74 pending ivan
108 closed jules
109 pending eli
86 closed ivan
43 failed jules
97 closed alice
36 ready lina
40 pending ivan
44 pending jules
97 ready bruno
| ivan
jules
eli
ivan
jules
alice
lina
ivan
jules
bruno
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003706 | qwen/qwen3.7-plus |
awkweave-0003707 | Print the complete records where column 2 is at most 46. | $2 <= 46 | failed 53 amber
closed 25 birch
ready 97 ember
closed 67 harbor
ready 73 ember
pending 113 cobalt
paused 61 fable
failed 111 harbor
| closed 25 birch
| paused 105 cobalt
closed 65 delta
closed 39 cobalt
active 98 amber
ready 45 fable
active 6 ember
paused 99 juniper
| closed 39 cobalt
ready 45 fable
active 6 ember
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003707-p1 | Display full records where the second column is less than or equal to 46. | $2 <= 46 | failed 53 amber
closed 25 birch
ready 97 ember
closed 67 harbor
ready 73 ember
pending 113 cobalt
paused 61 fable
failed 111 harbor
| closed 25 birch
| paused 105 cobalt
closed 65 delta
closed 39 cobalt
active 98 amber
ready 45 fable
active 6 ember
paused 99 juniper
| closed 39 cobalt
ready 45 fable
active 6 ember
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003707 | qwen/qwen3.7-plus |
awkweave-0003708 | Show whole lines whose 2nd field is between 3 and 20, inclusive. | $2 >= 3 && $2 <= 20 | closed 21 lina fable
pending 5 alice fable
failed 15 jules amber
closed 15 bruno delta
failed 14 eli birch
paused 6 chen ember
ready 14 alice harbor
pending 4 dina cobalt
| pending 5 alice fable
failed 15 jules amber
closed 15 bruno delta
failed 14 eli birch
paused 6 chen ember
ready 14 alice harbor
pending 4 dina cobalt
| active 24 hana amber
paused 28 ivan harbor
failed 13 eli harbor
closed 11 bruno ember
failed 7 ivan grove
active 1 eli grove
active 18 farah harbor
active 9 hana birch
| failed 13 eli harbor
closed 11 bruno ember
failed 7 ivan grove
active 18 farah harbor
active 9 hana birch
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003708-p1 | Show entire lines where the second field falls within the inclusive range of 3 to 20. | $2 >= 3 && $2 <= 20 | closed 21 lina fable
pending 5 alice fable
failed 15 jules amber
closed 15 bruno delta
failed 14 eli birch
paused 6 chen ember
ready 14 alice harbor
pending 4 dina cobalt
| pending 5 alice fable
failed 15 jules amber
closed 15 bruno delta
failed 14 eli birch
paused 6 chen ember
ready 14 alice harbor
pending 4 dina cobalt
| active 24 hana amber
paused 28 ivan harbor
failed 13 eli harbor
closed 11 bruno ember
failed 7 ivan grove
active 1 eli grove
active 18 farah harbor
active 9 hana birch
| failed 13 eli harbor
closed 11 bruno ember
failed 7 ivan grove
active 18 farah harbor
active 9 hana birch
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003708 | qwen/qwen3.7-plus |
awkweave-0003709 | Print column 2 only for rows where column 1 is exactly paused. | $1 == "paused"{print $2} | active jules birch 64
closed hana indigo 46
failed ivan indigo 70
paused eli birch 97
closed kim ember 22
failed bruno ember 57
pending hana indigo 26
| eli
| paused kim indigo 9
closed eli ember 59
closed bruno juniper 109
ready dina ember 105
active farah juniper 31
paused lina amber 81
closed farah indigo 17
active bruno fable 64
active dina birch 118
| kim
lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003709-p1 | Output only the second column for rows where the first column matches 'paused' exactly. | $1 == "paused"{print $2} | active jules birch 64
closed hana indigo 46
failed ivan indigo 70
paused eli birch 97
closed kim ember 22
failed bruno ember 57
pending hana indigo 26
| eli
| paused kim indigo 9
closed eli ember 59
closed bruno juniper 109
ready dina ember 105
active farah juniper 31
paused lina amber 81
closed farah indigo 17
active bruno fable 64
active dina birch 118
| kim
lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003709 | qwen/qwen3.7-plus |
awkweave-0003710 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | amber 20 ERROR
harbor 91 DEBUG
ember 33 WARN
birch 18 WARN
fable 52 DEBUG
fable 47 ERROR
amber 54 WARN
fable 35 INFO
| amber 20 ERROR
fable 47 ERROR
| harbor 70 DEBUG
indigo 109 WARN
delta 98 DEBUG
indigo 64 ERROR
juniper 114 ERROR
ember 72 WARN
juniper 82 DEBUG
birch 34 INFO
| indigo 64 ERROR
juniper 114 ERROR
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003710-p1 | Print all fields from lines where the third field starts with 'ERROR'. | $3 ~ /^ERROR/ | amber 20 ERROR
harbor 91 DEBUG
ember 33 WARN
birch 18 WARN
fable 52 DEBUG
fable 47 ERROR
amber 54 WARN
fable 35 INFO
| amber 20 ERROR
fable 47 ERROR
| harbor 70 DEBUG
indigo 109 WARN
delta 98 DEBUG
indigo 64 ERROR
juniper 114 ERROR
ember 72 WARN
juniper 82 DEBUG
birch 34 INFO
| indigo 64 ERROR
juniper 114 ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003710 | qwen/qwen3.7-plus |
awkweave-0003711 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | delta 20 failed
fable 65 closed
delta 57 failed
fable 73 active
amber 114 ready
indigo 78 pending
delta 113 pending
juniper 14 active
amber 59 active
ember 999 active
| delta 20 failed
fable 65 closed
delta 57 failed
fable 73 active
amber 114 ready
indigo 78 pending
delta 113 pending
juniper 14 active
amber 59 active
| delta 44 active
harbor 78 closed
amber 27 closed
fable 102 pending
delta 45 ready
birch 55 paused
grove 78 paused
ember 999 active
| delta 44 active
harbor 78 closed
amber 27 closed
fable 102 pending
delta 45 ready
birch 55 paused
grove 78 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003711-p1 | Print every line that does not contain the exact string 'ember'. | $0 !~ /ember/ | delta 20 failed
fable 65 closed
delta 57 failed
fable 73 active
amber 114 ready
indigo 78 pending
delta 113 pending
juniper 14 active
amber 59 active
ember 999 active
| delta 20 failed
fable 65 closed
delta 57 failed
fable 73 active
amber 114 ready
indigo 78 pending
delta 113 pending
juniper 14 active
amber 59 active
| delta 44 active
harbor 78 closed
amber 27 closed
fable 102 pending
delta 45 ready
birch 55 paused
grove 78 paused
ember 999 active
| delta 44 active
harbor 78 closed
amber 27 closed
fable 102 pending
delta 45 ready
birch 55 paused
grove 78 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003711 | qwen/qwen3.7-plus |
awkweave-0003712 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | gus birch 86
ivan indigo 65
ivan harbor 25
lina ember 81
farah juniper 33
gus delta 119
alice ember 77
hana ember 66
| lina ember 81
farah juniper 33
| lina delta 47
eli delta 42
alice grove 57
kim amber 36
dina delta 48
kim fable 74
bruno amber 63
lina birch 61
jules grove 116
| kim amber 36
dina delta 48
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003712-p1 | Output lines 4 through 5, inclusive of both endpoints. | NR >= 4 && NR <= 5 | gus birch 86
ivan indigo 65
ivan harbor 25
lina ember 81
farah juniper 33
gus delta 119
alice ember 77
hana ember 66
| lina ember 81
farah juniper 33
| lina delta 47
eli delta 42
alice grove 57
kim amber 36
dina delta 48
kim fable 74
bruno amber 63
lina birch 61
jules grove 116
| kim amber 36
dina delta 48
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003712 | qwen/qwen3.7-plus |
awkweave-0003713 | Output only the first 3 records. | NR <= 3 | ivan 30 indigo
eli 119 indigo
hana 38 amber
kim 98 cobalt
ivan 116 delta
hana 58 juniper
hana 65 fable
hana 49 cobalt
chen 114 fable
| ivan 30 indigo
eli 119 indigo
hana 38 amber
| eli 108 ember
farah 90 harbor
alice 13 cobalt
bruno 39 indigo
hana 45 indigo
lina 33 cobalt
chen 29 fable
alice 10 indigo
hana 46 indigo
chen 101 birch
| eli 108 ember
farah 90 harbor
alice 13 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003713-p1 | Display only the first 3 records. | NR <= 3 | ivan 30 indigo
eli 119 indigo
hana 38 amber
kim 98 cobalt
ivan 116 delta
hana 58 juniper
hana 65 fable
hana 49 cobalt
chen 114 fable
| ivan 30 indigo
eli 119 indigo
hana 38 amber
| eli 108 ember
farah 90 harbor
alice 13 cobalt
bruno 39 indigo
hana 45 indigo
lina 33 cobalt
chen 29 fable
alice 10 indigo
hana 46 indigo
chen 101 birch
| eli 108 ember
farah 90 harbor
alice 13 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003713 | qwen/qwen3.7-plus |
awkweave-0003714 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 51 fable
jules 14 birch
ivan 95 harbor
kim 66 fable
kim 13 grove
ivan 115 juniper
| jules 14 birch
ivan 95 harbor
kim 66 fable
kim 13 grove
ivan 115 juniper
| alice 24 delta
dina 36 juniper
jules 38 cobalt
kim 116 fable
farah 76 juniper
bruno 34 indigo
ivan 101 amber
kim 74 cobalt
bruno 52 fable
| dina 36 juniper
jules 38 cobalt
kim 116 fable
farah 76 juniper
bruno 34 indigo
ivan 101 amber
kim 74 cobalt
bruno 52 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003714-p1 | Ignore the first line and print all subsequent lines without modification. | NR > 1 | lina 51 fable
jules 14 birch
ivan 95 harbor
kim 66 fable
kim 13 grove
ivan 115 juniper
| jules 14 birch
ivan 95 harbor
kim 66 fable
kim 13 grove
ivan 115 juniper
| alice 24 delta
dina 36 juniper
jules 38 cobalt
kim 116 fable
farah 76 juniper
bruno 34 indigo
ivan 101 amber
kim 74 cobalt
bruno 52 fable
| dina 36 juniper
jules 38 cobalt
kim 116 fable
farah 76 juniper
bruno 34 indigo
ivan 101 amber
kim 74 cobalt
bruno 52 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003714 | qwen/qwen3.7-plus |
awkweave-0003715 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | farah pending 98
kim active 39
gus pending 33
chen active 101
farah closed 33
kim active 34
chen active 84
hana failed 0
jules failed 9
ivan active 76
| 2
| jules active 98
lina active 103
jules failed 116
hana pending 117
jules closed 63
eli failed 98
hana ready 75
gus pending 91
farah closed 17
ivan ready 47
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003715-p1 | Count the number of records with 'pending' in the second column; output 0 if none exist. | $2 == "pending"{n++}END{print n+0} | farah pending 98
kim active 39
gus pending 33
chen active 101
farah closed 33
kim active 34
chen active 84
hana failed 0
jules failed 9
ivan active 76
| 2
| jules active 98
lina active 103
jules failed 116
hana pending 117
jules closed 63
eli failed 98
hana ready 75
gus pending 91
farah closed 17
ivan ready 47
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003715 | qwen/qwen3.7-plus |
awkweave-0003716 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 2 harbor alice
24 cobalt alice
17 birch eli
24 ember hana
3 juniper dina
1 amber kim
7 amber eli
| 78
| 23 indigo dina
3 cobalt alice
26 delta chen
23 delta dina
3 harbor chen
25 juniper eli
30 delta ivan
| 133
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003716-p1 | Compute and print the sum of integer values in the first column. | {s+=$1}END{print s+0} | 2 harbor alice
24 cobalt alice
17 birch eli
24 ember hana
3 juniper dina
1 amber kim
7 amber eli
| 78
| 23 indigo dina
3 cobalt alice
26 delta chen
23 delta dina
3 harbor chen
25 juniper eli
30 delta ivan
| 133
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003716 | qwen/qwen3.7-plus |
awkweave-0003717 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | hana 22 ember
eli 1 harbor
dina 26 amber
bruno 11 grove
ivan 20 juniper
dina 28 indigo
chen 19 amber
| 18.14
| gus 19 indigo
jules 22 amber
chen 1 harbor
dina 24 harbor
dina 1 indigo
lina 19 indigo
alice 20 birch
lina 9 fable
| 14.38
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003717-p1 | Print the average of the second column, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | hana 22 ember
eli 1 harbor
dina 26 amber
bruno 11 grove
ivan 20 juniper
dina 28 indigo
chen 19 amber
| 18.14
| gus 19 indigo
jules 22 amber
chen 1 harbor
dina 24 harbor
dina 1 indigo
lina 19 indigo
alice 20 birch
lina 9 fable
| 14.38
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003717 | qwen/qwen3.7-plus |
awkweave-0003718 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber gus 9
juniper lina 28
indigo alice 19
amber jules 12
harbor chen 23
amber kim 10
indigo dina 7
harbor bruno 11
birch jules 11
harbor jules 6
| 6
| ember lina 19
grove alice 8
harbor alice 5
indigo ivan 9
delta hana 12
cobalt kim 13
delta alice 10
juniper ivan 29
juniper jules 5
indigo chen 23
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003718-p1 | Identify and output the minimum number found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber gus 9
juniper lina 28
indigo alice 19
amber jules 12
harbor chen 23
amber kim 10
indigo dina 7
harbor bruno 11
birch jules 11
harbor jules 6
| 6
| ember lina 19
grove alice 8
harbor alice 5
indigo ivan 9
delta hana 12
cobalt kim 13
delta alice 10
juniper ivan 29
juniper jules 5
indigo chen 23
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003718 | qwen/qwen3.7-plus |
awkweave-0003719 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | grove 12 eli
birch 9 hana
grove 27 gus
birch 23 jules
cobalt 28 lina
indigo 8 jules
| 28
| grove 9 hana
cobalt 27 lina
grove 20 ivan
cobalt 27 gus
harbor 20 jules
delta 20 farah
amber 15 gus
ember 19 chen
grove 11 lina
birch 18 alice
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0003719-p1 | Locate and display the maximum numeric value within the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | grove 12 eli
birch 9 hana
grove 27 gus
birch 23 jules
cobalt 28 lina
indigo 8 jules
| 28
| grove 9 hana
cobalt 27 lina
grove 20 ivan
cobalt 27 gus
harbor 20 jules
delta 20 farah
amber 15 gus
ember 19 chen
grove 11 lina
birch 18 alice
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0003719 | qwen/qwen3.7-plus |
awkweave-0003720 | Count all input records and print the total. | END{print NR} | kim 2
hana 82
kim 15
alice 76
chen 4
eli 50
dina 86
ivan 13
eli 19
| 9
| lina 82
dina 67
lina 4
alice 50
ivan 28
gus 35
eli 28
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.