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-0017660-p1 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18. | BEGIN{FS=OFS=","}$2>18{print $1} | hana,13,pending
farah,22,paused
eli,10,failed
chen,22,paused
kim,28,pending
farah,18,pending
jules,29,active
| farah
chen
kim
jules
| chen,5,failed
gus,8,pending
dina,3,pending
alice,29,pending
hana,27,pending
jules,5,paused
dina,3,closed
ivan,13,active
| alice
hana
| csv_filter | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0017660 | qwen/qwen3.7-plus |
awkweave-0017661 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice fable 2
farah ember 53
gus indigo 115
gus amber 32
ivan juniper 92
jules amber 102
chen harbor 119
jules harbor 46
| alice fable 2
farah ember 53
gus indigo 115
gus amber 32
ivan juniper 92
jules amber 102
chen harbor 119
jules harbor 46
| alice ember 32
alice indigo 26
kim harbor 41
hana cobalt 58
kim cobalt 58
jules amber 52
gus grove 40
| alice ember 32
alice indigo 26
kim harbor 41
hana cobalt 58
kim cobalt 58
jules amber 52
gus grove 40
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017661-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | alice fable 2
farah ember 53
gus indigo 115
gus amber 32
ivan juniper 92
jules amber 102
chen harbor 119
jules harbor 46
| alice fable 2
farah ember 53
gus indigo 115
gus amber 32
ivan juniper 92
jules amber 102
chen harbor 119
jules harbor 46
| alice ember 32
alice indigo 26
kim harbor 41
hana cobalt 58
kim cobalt 58
jules amber 52
gus grove 40
| alice ember 32
alice indigo 26
kim harbor 41
hana cobalt 58
kim cobalt 58
jules amber 52
gus grove 40
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017661 | qwen/qwen3.7-plus |
awkweave-0017662 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina birch 15 failed
chen indigo 61 closed
jules amber 46 closed
dina delta 47 active
dina indigo 110 pending
chen ember 27 ready
alice ember 82 pending
| dina indigo 110 pending
| kim delta 84 ready
bruno amber 102 pending
kim harbor 116 active
farah grove 20 closed
bruno fable 108 closed
ivan ember 48 paused
| bruno amber 102 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017662-p1 | Identify and display the longest line from the input, selecting the first one encountered if multiple lines share the maximum length. | {if(length($0)>length(best))best=$0}END{print best} | lina birch 15 failed
chen indigo 61 closed
jules amber 46 closed
dina delta 47 active
dina indigo 110 pending
chen ember 27 ready
alice ember 82 pending
| dina indigo 110 pending
| kim delta 84 ready
bruno amber 102 pending
kim harbor 116 active
farah grove 20 closed
bruno fable 108 closed
ivan ember 48 paused
| bruno amber 102 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017662 | qwen/qwen3.7-plus |
awkweave-0017663 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | chen 81
alice 71
alice 116
eli 111
chen 28
jules 75
bruno 91
| alice 71
eli 111
jules 75
| farah 65
bruno 76
kim 49
alice 73
gus 3
eli 77
| bruno 76
alice 73
eli 77
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017663-p1 | Display every even-numbered line, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | chen 81
alice 71
alice 116
eli 111
chen 28
jules 75
bruno 91
| alice 71
eli 111
jules 75
| farah 65
bruno 76
kim 49
alice 73
gus 3
eli 77
| bruno 76
alice 73
eli 77
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017663 | qwen/qwen3.7-plus |
awkweave-0017664 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma delta 91
alpha ember 38
beta ember 0
gamma amber 8
beta cobalt 117
alpha birch 105
delta harbor 67
delta ember 36
| 6
| delta juniper 119
delta indigo 5
beta harbor 60
delta grove 107
delta juniper 28
beta delta 18
alpha amber 75
delta delta 87
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017664-p1 | Calculate and output only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | gamma delta 91
alpha ember 38
beta ember 0
gamma amber 8
beta cobalt 117
alpha birch 105
delta harbor 67
delta ember 36
| 6
| delta juniper 119
delta indigo 5
beta harbor 60
delta grove 107
delta juniper 28
beta delta 18
alpha amber 75
delta delta 87
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017664 | qwen/qwen3.7-plus |
awkweave-0017665 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 4 0
dina 22 21
hana 28 26
alice 28 2
bruno 27 11
bruno 15 1
gus 11 20
hana 21 9
chen 2 9
gus 20 4
| dina 1.05
hana 1.08
alice 14.00
bruno 2.45
bruno 15.00
gus 0.55
hana 2.33
chen 0.22
gus 5.00
| kim 23 0
ivan 5 23
alice 3 22
ivan 30 14
hana 22 7
eli 6 29
alice 17 21
farah 4 2
jules 3 17
eli 20 15
| ivan 0.22
alice 0.14
ivan 2.14
hana 3.14
eli 0.21
alice 0.81
farah 2.00
jules 0.18
eli 1.33
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017665-p1 | For each row where the third column is non-zero, print the first column followed by the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 4 0
dina 22 21
hana 28 26
alice 28 2
bruno 27 11
bruno 15 1
gus 11 20
hana 21 9
chen 2 9
gus 20 4
| dina 1.05
hana 1.08
alice 14.00
bruno 2.45
bruno 15.00
gus 0.55
hana 2.33
chen 0.22
gus 5.00
| kim 23 0
ivan 5 23
alice 3 22
ivan 30 14
hana 22 7
eli 6 29
alice 17 21
farah 4 2
jules 3 17
eli 20 15
| ivan 0.22
alice 0.14
ivan 2.14
hana 3.14
eli 0.21
alice 0.81
farah 2.00
jules 0.18
eli 1.33
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017665 | qwen/qwen3.7-plus |
awkweave-0017666 | 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]} | jules birch 7
chen ember 20
alice juniper 10
eli fable 6
jules harbor 3
bruno indigo 5
lina amber 9
ivan amber 12
| chen ember 20
ivan amber 12
alice juniper 10
| eli grove 24
jules delta 11
dina juniper 4
kim birch 22
ivan cobalt 24
alice delta 13
eli indigo 30
kim amber 3
jules delta 17
| eli indigo 30
eli grove 24
ivan cobalt 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017666-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules birch 7
chen ember 20
alice juniper 10
eli fable 6
jules harbor 3
bruno indigo 5
lina amber 9
ivan amber 12
| chen ember 20
ivan amber 12
alice juniper 10
| eli grove 24
jules delta 11
dina juniper 4
kim birch 22
ivan cobalt 24
alice delta 13
eli indigo 30
kim amber 3
jules delta 17
| eli indigo 30
eli grove 24
ivan cobalt 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017666 | qwen/qwen3.7-plus |
awkweave-0017667 | For each line, output fields 4 and 1, in that order. | {print $4, $1} | lina ready harbor 45
alice pending indigo 48
jules ready harbor 23
farah ready grove 45
lina paused birch 74
eli active ember 50
ivan closed grove 63
jules paused birch 67
| 45 lina
48 alice
23 jules
45 farah
74 lina
50 eli
63 ivan
67 jules
| bruno failed indigo 18
farah active juniper 110
bruno paused harbor 66
dina ready amber 9
dina ready juniper 63
gus ready grove 99
bruno paused juniper 2
alice ready grove 59
kim pending birch 60
| 18 bruno
110 farah
66 bruno
9 dina
63 dina
99 gus
2 bruno
59 alice
60 kim
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017667-p1 | For every line, print the fourth field followed by the first field. | {print $4, $1} | lina ready harbor 45
alice pending indigo 48
jules ready harbor 23
farah ready grove 45
lina paused birch 74
eli active ember 50
ivan closed grove 63
jules paused birch 67
| 45 lina
48 alice
23 jules
45 farah
74 lina
50 eli
63 ivan
67 jules
| bruno failed indigo 18
farah active juniper 110
bruno paused harbor 66
dina ready amber 9
dina ready juniper 63
gus ready grove 99
bruno paused juniper 2
alice ready grove 59
kim pending birch 60
| 18 bruno
110 farah
66 bruno
9 dina
63 dina
99 gus
2 bruno
59 alice
60 kim
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017667 | qwen/qwen3.7-plus |
awkweave-0017668 | Print the last field of every input line. | {print $NF} | fable fable closed fable ivan
delta birch pending cobalt chen
cobalt grove failed juniper dina
birch juniper pending juniper farah
ember fable failed fable jules
birch fable ready cobalt alice
| ivan
chen
dina
farah
jules
alice
| grove delta active indigo kim
delta fable pending ember alice
birch cobalt ready birch alice
delta grove active indigo jules
cobalt indigo paused indigo ivan
amber cobalt paused juniper lina
birch fable active birch dina
grove harbor paused fable hana
juniper harbor failed delta ivan
fable juniper closed amber chen
| kim
alice
alice
jules
ivan
lina
dina
hana
ivan
chen
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017668-p1 | Output the final field from each line of input. | {print $NF} | fable fable closed fable ivan
delta birch pending cobalt chen
cobalt grove failed juniper dina
birch juniper pending juniper farah
ember fable failed fable jules
birch fable ready cobalt alice
| ivan
chen
dina
farah
jules
alice
| grove delta active indigo kim
delta fable pending ember alice
birch cobalt ready birch alice
delta grove active indigo jules
cobalt indigo paused indigo ivan
amber cobalt paused juniper lina
birch fable active birch dina
grove harbor paused fable hana
juniper harbor failed delta ivan
fable juniper closed amber chen
| kim
alice
alice
jules
ivan
lina
dina
hana
ivan
chen
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017668 | qwen/qwen3.7-plus |
awkweave-0017669 | Print the complete records where column 2 is less than 34. | $2 < 34 | ready 37 hana closed birch
ready 44 alice ready cobalt
failed 110 bruno active amber
paused 101 ivan closed cobalt
ready 29 bruno paused delta
failed 48 chen pending fable
| ready 29 bruno paused delta
| closed 83 eli pending juniper
pending 38 lina failed harbor
closed 57 lina closed amber
active 44 farah closed amber
ready 79 jules failed ember
paused 108 ivan pending cobalt
failed 89 eli pending grove
active 13 ivan failed delta
ready 118 hana pending juniper
| active 13 ivan failed delta
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017669-p1 | Print entire records where the value in the second column is strictly less than 34. | $2 < 34 | ready 37 hana closed birch
ready 44 alice ready cobalt
failed 110 bruno active amber
paused 101 ivan closed cobalt
ready 29 bruno paused delta
failed 48 chen pending fable
| ready 29 bruno paused delta
| closed 83 eli pending juniper
pending 38 lina failed harbor
closed 57 lina closed amber
active 44 farah closed amber
ready 79 jules failed ember
paused 108 ivan pending cobalt
failed 89 eli pending grove
active 13 ivan failed delta
ready 118 hana pending juniper
| active 13 ivan failed delta
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017669 | qwen/qwen3.7-plus |
awkweave-0017670 | Show whole lines whose 2nd field is between 7 and 28, inclusive. | $2 >= 7 && $2 <= 28 | pending 23 failed harbor
active 3 failed delta
active 25 ready amber
closed 1 pending grove
pending 23 ready harbor
failed 30 failed fable
paused 27 pending harbor
active 29 ready grove
paused 19 pending juniper
| pending 23 failed harbor
active 25 ready amber
pending 23 ready harbor
paused 27 pending harbor
paused 19 pending juniper
| failed 20 paused juniper
pending 20 pending juniper
failed 14 failed harbor
active 16 failed fable
active 2 ready grove
ready 5 failed delta
paused 19 closed delta
pending 26 pending delta
| failed 20 paused juniper
pending 20 pending juniper
failed 14 failed harbor
active 16 failed fable
paused 19 closed delta
pending 26 pending delta
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017670-p1 | Display full lines where the second field falls within the inclusive range of 7 to 28. | $2 >= 7 && $2 <= 28 | pending 23 failed harbor
active 3 failed delta
active 25 ready amber
closed 1 pending grove
pending 23 ready harbor
failed 30 failed fable
paused 27 pending harbor
active 29 ready grove
paused 19 pending juniper
| pending 23 failed harbor
active 25 ready amber
pending 23 ready harbor
paused 27 pending harbor
paused 19 pending juniper
| failed 20 paused juniper
pending 20 pending juniper
failed 14 failed harbor
active 16 failed fable
active 2 ready grove
ready 5 failed delta
paused 19 closed delta
pending 26 pending delta
| failed 20 paused juniper
pending 20 pending juniper
failed 14 failed harbor
active 16 failed fable
paused 19 closed delta
pending 26 pending delta
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017670 | qwen/qwen3.7-plus |
awkweave-0017671 | Print column 3 only for rows where column 1 is exactly ready. | $1 == "ready"{print $3} | failed delta alice 49
ready amber ivan 68
paused ember bruno 80
closed ember jules 108
active ember eli 105
failed ember hana 72
failed juniper eli 96
closed juniper dina 105
| ivan
| closed fable alice 113
active fable dina 40
paused delta lina 0
failed birch farah 106
active grove lina 20
pending amber eli 37
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0017671-p1 | Output the third column only for rows where the first column matches the exact string 'ready'. | $1 == "ready"{print $3} | failed delta alice 49
ready amber ivan 68
paused ember bruno 80
closed ember jules 108
active ember eli 105
failed ember hana 72
failed juniper eli 96
closed juniper dina 105
| ivan
| closed fable alice 113
active fable dina 40
paused delta lina 0
failed birch farah 106
active grove lina 20
pending amber eli 37
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017671 | qwen/qwen3.7-plus | |
awkweave-0017672 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR 53 delta
DEBUG 59 ember
WARN 107 birch
ERROR 50 indigo
WARN 50 indigo
ERROR 24 grove
| WARN 107 birch
WARN 50 indigo
| INFO 117 cobalt
INFO 19 cobalt
DEBUG 67 birch
ERROR 1 amber
ERROR 98 birch
DEBUG 39 delta
INFO 59 ember
ERROR 40 harbor
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0017672-p1 | Output all fields for lines where the first field starts with WARN. | $1 ~ /^WARN/ | ERROR 53 delta
DEBUG 59 ember
WARN 107 birch
ERROR 50 indigo
WARN 50 indigo
ERROR 24 grove
| WARN 107 birch
WARN 50 indigo
| INFO 117 cobalt
INFO 19 cobalt
DEBUG 67 birch
ERROR 1 amber
ERROR 98 birch
DEBUG 39 delta
INFO 59 ember
ERROR 40 harbor
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017672 | qwen/qwen3.7-plus | |
awkweave-0017673 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | juniper 7 failed
indigo 115 failed
ember 99 paused
amber 7 active
juniper 76 pending
grove 30 closed
birch 15 active
harbor 83 active
delta 36 ready
ember 999 active
| juniper 7 failed
indigo 115 failed
amber 7 active
juniper 76 pending
grove 30 closed
birch 15 active
harbor 83 active
delta 36 ready
| delta 120 ready
birch 18 failed
harbor 32 closed
amber 74 pending
indigo 38 pending
indigo 66 pending
juniper 65 active
ember 999 active
| delta 120 ready
birch 18 failed
harbor 32 closed
amber 74 pending
indigo 38 pending
indigo 66 pending
juniper 65 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017673-p1 | Display every line that does not contain the exact string ember. | $0 !~ /ember/ | juniper 7 failed
indigo 115 failed
ember 99 paused
amber 7 active
juniper 76 pending
grove 30 closed
birch 15 active
harbor 83 active
delta 36 ready
ember 999 active
| juniper 7 failed
indigo 115 failed
amber 7 active
juniper 76 pending
grove 30 closed
birch 15 active
harbor 83 active
delta 36 ready
| delta 120 ready
birch 18 failed
harbor 32 closed
amber 74 pending
indigo 38 pending
indigo 66 pending
juniper 65 active
ember 999 active
| delta 120 ready
birch 18 failed
harbor 32 closed
amber 74 pending
indigo 38 pending
indigo 66 pending
juniper 65 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017673 | qwen/qwen3.7-plus |
awkweave-0017674 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | ivan amber 47
hana amber 99
jules indigo 66
chen amber 38
chen fable 22
dina harbor 9
farah amber 107
| chen amber 38
chen fable 22
| dina harbor 98
eli ember 32
gus fable 2
farah ember 55
dina delta 64
farah cobalt 92
alice amber 11
chen harbor 119
| farah ember 55
dina delta 64
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017674-p1 | Print lines 4 to 5, inclusive. | NR >= 4 && NR <= 5 | ivan amber 47
hana amber 99
jules indigo 66
chen amber 38
chen fable 22
dina harbor 9
farah amber 107
| chen amber 38
chen fable 22
| dina harbor 98
eli ember 32
gus fable 2
farah ember 55
dina delta 64
farah cobalt 92
alice amber 11
chen harbor 119
| farah ember 55
dina delta 64
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017674 | qwen/qwen3.7-plus |
awkweave-0017675 | Output only the first 5 records. | NR <= 5 | kim 112 birch
lina 56 indigo
gus 105 grove
hana 94 cobalt
ivan 35 ember
alice 104 birch
| kim 112 birch
lina 56 indigo
gus 105 grove
hana 94 cobalt
ivan 35 ember
| hana 82 fable
gus 13 delta
farah 107 indigo
bruno 60 ember
jules 4 delta
lina 36 delta
eli 98 grove
lina 102 grove
gus 10 cobalt
eli 35 juniper
| hana 82 fable
gus 13 delta
farah 107 indigo
bruno 60 ember
jules 4 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017675-p1 | Show only the initial 5 records. | NR <= 5 | kim 112 birch
lina 56 indigo
gus 105 grove
hana 94 cobalt
ivan 35 ember
alice 104 birch
| kim 112 birch
lina 56 indigo
gus 105 grove
hana 94 cobalt
ivan 35 ember
| hana 82 fable
gus 13 delta
farah 107 indigo
bruno 60 ember
jules 4 delta
lina 36 delta
eli 98 grove
lina 102 grove
gus 10 cobalt
eli 35 juniper
| hana 82 fable
gus 13 delta
farah 107 indigo
bruno 60 ember
jules 4 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017675 | qwen/qwen3.7-plus |
awkweave-0017676 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 15 juniper
ivan 101 harbor
farah 2 fable
bruno 101 ember
chen 28 amber
jules 69 indigo
lina 77 juniper
kim 74 cobalt
hana 21 amber
lina 13 juniper
| ivan 101 harbor
farah 2 fable
bruno 101 ember
chen 28 amber
jules 69 indigo
lina 77 juniper
kim 74 cobalt
hana 21 amber
lina 13 juniper
| eli 4 juniper
bruno 16 indigo
jules 74 fable
hana 47 grove
eli 68 delta
ivan 3 harbor
eli 57 amber
bruno 110 amber
farah 95 fable
| bruno 16 indigo
jules 74 fable
hana 47 grove
eli 68 delta
ivan 3 harbor
eli 57 amber
bruno 110 amber
farah 95 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017676-p1 | Omit the first line and output the rest as-is. | NR > 1 | alice 15 juniper
ivan 101 harbor
farah 2 fable
bruno 101 ember
chen 28 amber
jules 69 indigo
lina 77 juniper
kim 74 cobalt
hana 21 amber
lina 13 juniper
| ivan 101 harbor
farah 2 fable
bruno 101 ember
chen 28 amber
jules 69 indigo
lina 77 juniper
kim 74 cobalt
hana 21 amber
lina 13 juniper
| eli 4 juniper
bruno 16 indigo
jules 74 fable
hana 47 grove
eli 68 delta
ivan 3 harbor
eli 57 amber
bruno 110 amber
farah 95 fable
| bruno 16 indigo
jules 74 fable
hana 47 grove
eli 68 delta
ivan 3 harbor
eli 57 amber
bruno 110 amber
farah 95 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017676 | qwen/qwen3.7-plus |
awkweave-0017677 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | alice active 5
ivan paused 92
jules paused 88
chen failed 22
dina closed 78
eli ready 6
| 1
| alice closed 53
eli paused 109
eli paused 21
kim pending 116
alice ready 115
ivan ready 101
alice ready 14
bruno failed 16
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017677-p1 | Count records with 'failed' in column 2; output 0 if none exist. | $2 == "failed"{n++}END{print n+0} | alice active 5
ivan paused 92
jules paused 88
chen failed 22
dina closed 78
eli ready 6
| 1
| alice closed 53
eli paused 109
eli paused 21
kim pending 116
alice ready 115
ivan ready 101
alice ready 14
bruno failed 16
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017677 | qwen/qwen3.7-plus |
awkweave-0017678 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | indigo 2 farah
amber 1 jules
harbor 28 ivan
amber 21 farah
harbor 12 bruno
harbor 19 bruno
harbor 30 hana
ember 18 hana
grove 10 kim
| 141
| delta 27 alice
amber 9 chen
fable 13 lina
cobalt 17 jules
fable 22 alice
indigo 4 eli
| 92
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017678-p1 | Compute and display the sum of integer values in column 2. | {s+=$2}END{print s+0} | indigo 2 farah
amber 1 jules
harbor 28 ivan
amber 21 farah
harbor 12 bruno
harbor 19 bruno
harbor 30 hana
ember 18 hana
grove 10 kim
| 141
| delta 27 alice
amber 9 chen
fable 13 lina
cobalt 17 jules
fable 22 alice
indigo 4 eli
| 92
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017678 | qwen/qwen3.7-plus |
awkweave-0017679 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 18 farah cobalt
8 jules indigo
16 gus delta
29 gus fable
24 bruno ember
19 kim juniper
24 eli harbor
23 farah grove
| 20.12
| 14 eli indigo
8 bruno harbor
5 kim fable
18 farah juniper
15 gus grove
28 eli ember
23 eli birch
9 farah ember
13 lina ember
| 14.78
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017679-p1 | Print the average of column 1, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 18 farah cobalt
8 jules indigo
16 gus delta
29 gus fable
24 bruno ember
19 kim juniper
24 eli harbor
23 farah grove
| 20.12
| 14 eli indigo
8 bruno harbor
5 kim fable
18 farah juniper
15 gus grove
28 eli ember
23 eli birch
9 farah ember
13 lina ember
| 14.78
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017679 | qwen/qwen3.7-plus |
awkweave-0017680 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember eli 12
amber farah 10
grove lina 9
juniper lina 27
ember chen 30
cobalt lina 7
| 7
| grove gus 4
ember hana 5
amber jules 27
ember ivan 28
delta eli 22
delta ivan 9
ember eli 25
delta kim 4
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017680-p1 | Identify and print the minimum numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember eli 12
amber farah 10
grove lina 9
juniper lina 27
ember chen 30
cobalt lina 7
| 7
| grove gus 4
ember hana 5
amber jules 27
ember ivan 28
delta eli 22
delta ivan 9
ember eli 25
delta kim 4
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017680 | qwen/qwen3.7-plus |
awkweave-0017681 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch chen 24
harbor bruno 22
amber alice 25
amber hana 21
juniper farah 13
grove hana 26
harbor alice 28
ember eli 2
juniper hana 11
| 28
| indigo dina 3
amber bruno 19
ember lina 24
delta farah 1
birch gus 25
birch gus 30
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017681-p1 | Identify and print the maximum numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch chen 24
harbor bruno 22
amber alice 25
amber hana 21
juniper farah 13
grove hana 26
harbor alice 28
ember eli 2
juniper hana 11
| 28
| indigo dina 3
amber bruno 19
ember lina 24
delta farah 1
birch gus 25
birch gus 30
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017681 | qwen/qwen3.7-plus |
awkweave-0017682 | Count all input records and print the total. | END{print NR} | lina 98
chen 36
jules 88
alice 100
hana 38
lina 21
hana 115
jules 22
| 8
| lina 109
eli 96
ivan 86
lina 98
lina 37
bruno 76
hana 5
ivan 57
ivan 8
jules 114
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017682-p1 | Count and print the total number of input records. | END{print NR} | lina 98
chen 36
jules 88
alice 100
hana 38
lina 21
hana 115
jules 22
| 8
| lina 109
eli 96
ivan 86
lina 98
lina 37
bruno 76
hana 5
ivan 57
ivan 8
jules 114
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017682 | qwen/qwen3.7-plus |
awkweave-0017683 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana harbor 54
alice indigo 105
lina indigo 58
chen grove 61
ivan indigo 80
ivan fable 120
chen grove 61
| hana harbor 54
alice indigo 105
lina indigo 58
chen grove 61
ivan indigo 80
ivan fable 120
| jules grove 110
alice juniper 65
hana birch 109
hana juniper 14
hana birch 109
ivan amber 99
ivan fable 46
chen delta 111
lina delta 26
| jules grove 110
alice juniper 65
hana birch 109
hana juniper 14
ivan amber 99
ivan fable 46
chen delta 111
lina delta 26
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017683-p1 | Eliminate exact duplicate lines while keeping the first occurrence and original order. | !seen[$0]++ | hana harbor 54
alice indigo 105
lina indigo 58
chen grove 61
ivan indigo 80
ivan fable 120
chen grove 61
| hana harbor 54
alice indigo 105
lina indigo 58
chen grove 61
ivan indigo 80
ivan fable 120
| jules grove 110
alice juniper 65
hana birch 109
hana juniper 14
hana birch 109
ivan amber 99
ivan fable 46
chen delta 111
lina delta 26
| jules grove 110
alice juniper 65
hana birch 109
hana juniper 14
ivan amber 99
ivan fable 46
chen delta 111
lina delta 26
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017683 | qwen/qwen3.7-plus |
awkweave-0017684 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | gus ember 59
gus ember 71
kim fable 73
chen delta 119
dina amber 53
farah harbor 25
chen harbor 2
hana amber 45
| gus ember 59
gus ember 71
kim fable 73
chen delta 119
dina amber 53
farah harbor 25
chen harbor 2
hana amber 45
| farah cobalt 1
gus juniper 89
gus juniper 85
lina harbor 19
lina cobalt 46
lina amber 116
dina ember 109
ivan amber 20
hana birch 70
hana cobalt 7
| farah cobalt 1
gus juniper 89
gus juniper 85
lina harbor 19
lina cobalt 46
lina amber 116
dina ember 109
ivan amber 20
hana birch 70
hana cobalt 7
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017684-p1 | Retain only the first occurrence of each unique value in column 3, maintaining the original input order. | !seen[$3]++ | gus ember 59
gus ember 71
kim fable 73
chen delta 119
dina amber 53
farah harbor 25
chen harbor 2
hana amber 45
| gus ember 59
gus ember 71
kim fable 73
chen delta 119
dina amber 53
farah harbor 25
chen harbor 2
hana amber 45
| farah cobalt 1
gus juniper 89
gus juniper 85
lina harbor 19
lina cobalt 46
lina amber 116
dina ember 109
ivan amber 20
hana birch 70
hana cobalt 7
| farah cobalt 1
gus juniper 89
gus juniper 85
lina harbor 19
lina cobalt 46
lina amber 116
dina ember 109
ivan amber 20
hana birch 70
hana cobalt 7
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017684 | qwen/qwen3.7-plus |
awkweave-0017685 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 9 delta
jules 7 indigo
kim 27 juniper
hana 17 indigo
ivan 29 amber
eli 27 amber
kim 9 delta
hana 20 delta
chen 3 fable
| dina 9
jules 16
kim 43
hana 60
ivan 89
eli 116
kim 125
hana 145
chen 148
| eli 13 birch
dina 14 delta
eli 24 amber
farah 13 delta
lina 26 grove
chen 7 ember
eli 6 cobalt
alice 27 indigo
farah 4 ember
| eli 13
dina 27
eli 51
farah 64
lina 90
chen 97
eli 103
alice 130
farah 134
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017685-p1 | Output column 1 and the cumulative sum of column 2 for each record, separated by a space. | {s+=$2;print $1,s} | dina 9 delta
jules 7 indigo
kim 27 juniper
hana 17 indigo
ivan 29 amber
eli 27 amber
kim 9 delta
hana 20 delta
chen 3 fable
| dina 9
jules 16
kim 43
hana 60
ivan 89
eli 116
kim 125
hana 145
chen 148
| eli 13 birch
dina 14 delta
eli 24 amber
farah 13 delta
lina 26 grove
chen 7 ember
eli 6 cobalt
alice 27 indigo
farah 4 ember
| eli 13
dina 27
eli 51
farah 64
lina 90
chen 97
eli 103
alice 130
farah 134
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017685 | qwen/qwen3.7-plus |
awkweave-0017686 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 3 20 indigo
farah 29 21 indigo
lina 5 24 fable
jules 21 19 indigo
ivan 2 26 amber
chen 30 2 grove
dina 5 25 ember
| farah 23
farah 50
lina 29
jules 40
ivan 28
chen 32
dina 30
| bruno 15 24 birch
gus 6 30 fable
ivan 15 17 delta
eli 29 7 harbor
bruno 14 5 indigo
eli 13 21 juniper
bruno 14 13 grove
chen 26 8 harbor
lina 1 26 cobalt
kim 8 5 indigo
| bruno 39
gus 36
ivan 32
eli 36
bruno 19
eli 34
bruno 27
chen 34
lina 27
kim 13
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017686-p1 | For every row, display field 1 followed by the total of fields 2 and 3. | {print $1,$2+$3} | farah 3 20 indigo
farah 29 21 indigo
lina 5 24 fable
jules 21 19 indigo
ivan 2 26 amber
chen 30 2 grove
dina 5 25 ember
| farah 23
farah 50
lina 29
jules 40
ivan 28
chen 32
dina 30
| bruno 15 24 birch
gus 6 30 fable
ivan 15 17 delta
eli 29 7 harbor
bruno 14 5 indigo
eli 13 21 juniper
bruno 14 13 grove
chen 26 8 harbor
lina 1 26 cobalt
kim 8 5 indigo
| bruno 39
gus 36
ivan 32
eli 36
bruno 19
eli 34
bruno 27
chen 34
lina 27
kim 13
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017686 | qwen/qwen3.7-plus |
awkweave-0017687 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | dina 14
chen 26
chen 27
eli 17
gus 8
chen 5
| dina fail
chen pass
chen pass
eli fail
gus fail
chen fail
| chen 13
dina 17
jules 15
hana 1
jules 22
ivan 28
farah 30
farah 18
lina 10
dina 4
| chen fail
dina fail
jules fail
hana fail
jules pass
ivan pass
farah pass
farah fail
lina fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017687-p1 | Output column 1 along with 'pass' if column 2 is 21 or greater; otherwise, output 'fail'. | {print $1,($2>=21?"pass":"fail")} | dina 14
chen 26
chen 27
eli 17
gus 8
chen 5
| dina fail
chen pass
chen pass
eli fail
gus fail
chen fail
| chen 13
dina 17
jules 15
hana 1
jules 22
ivan 28
farah 30
farah 18
lina 10
dina 4
| chen fail
dina fail
jules fail
hana fail
jules pass
ivan pass
farah pass
farah fail
lina fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017687 | qwen/qwen3.7-plus |
awkweave-0017688 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | dina ember 116
kim delta 67
gus birch 112
gus juniper 3
gus delta 79
dina grove 19
chen delta 14
dina delta 33
farah delta 40
| EMBER
DELTA
BIRCH
JUNIPER
DELTA
GROVE
DELTA
DELTA
DELTA
| kim birch 94
alice cobalt 79
jules indigo 13
bruno harbor 48
alice amber 31
bruno fable 98
| BIRCH
COBALT
INDIGO
HARBOR
AMBER
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017688-p1 | Transform column 2 to uppercase and output only that column. | {print toupper($2)} | dina ember 116
kim delta 67
gus birch 112
gus juniper 3
gus delta 79
dina grove 19
chen delta 14
dina delta 33
farah delta 40
| EMBER
DELTA
BIRCH
JUNIPER
DELTA
GROVE
DELTA
DELTA
DELTA
| kim birch 94
alice cobalt 79
jules indigo 13
bruno harbor 48
alice amber 31
bruno fable 98
| BIRCH
COBALT
INDIGO
HARBOR
AMBER
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017688 | qwen/qwen3.7-plus |
awkweave-0017689 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | indigo 60
harbor 28
indigo 120
cobalt 61
indigo 106
amber 104
cobalt 119
| di
rb
di
ba
di
be
ba
| ember 11
amber 80
indigo 7
amber 30
amber 108
cobalt 111
juniper 59
| be
be
di
be
be
ba
ni
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017689-p1 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | indigo 60
harbor 28
indigo 120
cobalt 61
indigo 106
amber 104
cobalt 119
| di
rb
di
ba
di
be
ba
| ember 11
amber 80
indigo 7
amber 30
amber 108
cobalt 111
juniper 59
| be
be
di
be
be
ba
ni
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0017689 | qwen/qwen3.7-plus |
awkweave-0017700 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan amber 37
hana cobalt 33
ivan juniper 89
dina grove 68
dina ember 49
dina amber 9
| ivan amber 37
hana cobalt 33
ivan juniper 89
dina grove 68
dina ember 49
dina amber 9
| gus fable 117
gus fable 115
kim ember 47
chen grove 28
hana birch 107
alice birch 22
lina fable 87
gus birch 67
chen fable 53
| gus fable 117
gus fable 115
kim ember 47
chen grove 28
hana birch 107
alice birch 22
lina fable 87
gus birch 67
chen fable 53
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017700-p1 | Remove leading and trailing whitespace and replace internal sequences of whitespace with single spaces. | {$1=$1;print} | ivan amber 37
hana cobalt 33
ivan juniper 89
dina grove 68
dina ember 49
dina amber 9
| ivan amber 37
hana cobalt 33
ivan juniper 89
dina grove 68
dina ember 49
dina amber 9
| gus fable 117
gus fable 115
kim ember 47
chen grove 28
hana birch 107
alice birch 22
lina fable 87
gus birch 67
chen fable 53
| gus fable 117
gus fable 115
kim ember 47
chen grove 28
hana birch 107
alice birch 22
lina fable 87
gus birch 67
chen fable 53
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017700 | qwen/qwen3.7-plus |
awkweave-0017701 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | chen cobalt 23 active
dina indigo 90 closed
kim grove 44 pending
eli amber 31 ready
farah grove 69 active
alice grove 92 active
alice fable 4 ready
farah amber 109 paused
bruno indigo 113 closed
jules delta 0 failed
| bruno indigo 113 closed
| farah amber 76 failed
ivan delta 106 closed
jules harbor 15 paused
dina harbor 74 failed
eli harbor 104 closed
kim indigo 120 ready
bruno grove 103 closed
dina fable 7 failed
| jules harbor 15 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017701-p1 | Identify and print the longest line from the input; in case of a tie, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | chen cobalt 23 active
dina indigo 90 closed
kim grove 44 pending
eli amber 31 ready
farah grove 69 active
alice grove 92 active
alice fable 4 ready
farah amber 109 paused
bruno indigo 113 closed
jules delta 0 failed
| bruno indigo 113 closed
| farah amber 76 failed
ivan delta 106 closed
jules harbor 15 paused
dina harbor 74 failed
eli harbor 104 closed
kim indigo 120 ready
bruno grove 103 closed
dina fable 7 failed
| jules harbor 15 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017701 | qwen/qwen3.7-plus |
awkweave-0017702 | Print every 4th line starting at line 3 (then line 7, and so on). | NR%4==3 | kim 39
chen 85
bruno 100
ivan 63
jules 108
kim 13
| bruno 100
| gus 19
farah 36
dina 49
jules 20
eli 73
kim 101
| dina 49
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017702-p1 | Print lines 3, 7, 11, and so on (every 4th line starting from line 3). | NR%4==3 | kim 39
chen 85
bruno 100
ivan 63
jules 108
kim 13
| bruno 100
| gus 19
farah 36
dina 49
jules 20
eli 73
kim 101
| dina 49
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017702 | qwen/qwen3.7-plus |
awkweave-0017703 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta indigo 19
delta delta 113
delta birch 113
delta grove 110
beta birch 8
beta amber 62
alpha juniper 73
alpha fable 54
gamma grove 114
delta fable 70
| 4
| alpha juniper 91
delta harbor 79
delta delta 58
delta grove 2
alpha amber 59
delta birch 10
beta birch 93
gamma grove 100
gamma fable 19
gamma delta 109
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017703-p1 | Calculate the number of unique values in column 1 and output only that count. | {if(!seen[$1]++)n++}END{print n+0} | beta indigo 19
delta delta 113
delta birch 113
delta grove 110
beta birch 8
beta amber 62
alpha juniper 73
alpha fable 54
gamma grove 114
delta fable 70
| 4
| alpha juniper 91
delta harbor 79
delta delta 58
delta grove 2
alpha amber 59
delta birch 10
beta birch 93
gamma grove 100
gamma fable 19
gamma delta 109
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017703 | qwen/qwen3.7-plus |
awkweave-0017704 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 17 0
jules 18 20
gus 18 27
eli 10 10
chen 25 5
dina 1 10
chen 24 18
chen 5 12
lina 17 15
| jules 0.90
gus 0.67
eli 1.00
chen 5.00
dina 0.10
chen 1.33
chen 0.42
lina 1.13
| ivan 19 0
dina 28 2
kim 15 10
dina 3 10
chen 23 28
gus 14 1
lina 3 5
gus 30 12
ivan 15 1
| dina 14.00
kim 1.50
dina 0.30
chen 0.82
gus 14.00
lina 0.60
gus 2.50
ivan 15.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017704-p1 | For each row where column 3 is non-zero, print column 1 and the result of column 2 divided by column 3, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 17 0
jules 18 20
gus 18 27
eli 10 10
chen 25 5
dina 1 10
chen 24 18
chen 5 12
lina 17 15
| jules 0.90
gus 0.67
eli 1.00
chen 5.00
dina 0.10
chen 1.33
chen 0.42
lina 1.13
| ivan 19 0
dina 28 2
kim 15 10
dina 3 10
chen 23 28
gus 14 1
lina 3 5
gus 30 12
ivan 15 1
| dina 14.00
kim 1.50
dina 0.30
chen 0.82
gus 14.00
lina 0.60
gus 2.50
ivan 15.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017704 | qwen/qwen3.7-plus |
awkweave-0017705 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus amber 17
lina grove 22
lina cobalt 17
farah ember 14
chen ember 2
ivan ember 9
eli harbor 20
dina juniper 12
kim grove 10
| lina grove 22
eli harbor 20
gus amber 17
| ivan fable 4
gus harbor 1
chen amber 12
jules amber 27
bruno amber 28
jules cobalt 11
eli amber 8
| bruno amber 28
jules amber 27
chen amber 12
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017705-p1 | Output the three records with the highest numeric values in column 3, sorted in descending order; preserve 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]} | gus amber 17
lina grove 22
lina cobalt 17
farah ember 14
chen ember 2
ivan ember 9
eli harbor 20
dina juniper 12
kim grove 10
| lina grove 22
eli harbor 20
gus amber 17
| ivan fable 4
gus harbor 1
chen amber 12
jules amber 27
bruno amber 28
jules cobalt 11
eli amber 8
| bruno amber 28
jules amber 27
chen amber 12
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017705 | qwen/qwen3.7-plus |
awkweave-0017706 | Print column 4 followed by column 2 for every record. | {print $4, $2} | ready hana bruno dina
paused lina alice lina
failed alice jules jules
paused hana hana gus
active chen hana dina
active chen jules dina
paused kim eli alice
pending ivan kim dina
failed ivan ivan lina
failed lina lina ivan
| dina hana
lina lina
jules alice
gus hana
dina chen
dina chen
alice kim
dina ivan
lina ivan
ivan lina
| ready hana hana hana
pending kim lina kim
paused dina dina jules
pending gus ivan dina
pending farah jules chen
ready dina gus dina
| hana hana
kim kim
jules dina
dina gus
chen farah
dina dina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017706-p1 | Output the fourth column then the second column for each record. | {print $4, $2} | ready hana bruno dina
paused lina alice lina
failed alice jules jules
paused hana hana gus
active chen hana dina
active chen jules dina
paused kim eli alice
pending ivan kim dina
failed ivan ivan lina
failed lina lina ivan
| dina hana
lina lina
jules alice
gus hana
dina chen
dina chen
alice kim
dina ivan
lina ivan
ivan lina
| ready hana hana hana
pending kim lina kim
paused dina dina jules
pending gus ivan dina
pending farah jules chen
ready dina gus dina
| hana hana
kim kim
jules dina
dina gus
chen farah
dina dina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017706 | qwen/qwen3.7-plus |
awkweave-0017707 | Print the last field of every input line. | {print $NF} | pending failed failed birch
failed closed ready juniper
paused ready closed harbor
closed closed active indigo
ready closed closed birch
closed paused closed delta
| birch
juniper
harbor
indigo
birch
delta
| ready active paused delta
failed failed failed ember
pending closed paused amber
pending paused pending amber
paused paused closed birch
ready failed paused grove
closed pending closed amber
failed pending active birch
closed closed pending grove
| delta
ember
amber
amber
birch
grove
amber
birch
grove
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017707-p1 | Display the final field from every input line. | {print $NF} | pending failed failed birch
failed closed ready juniper
paused ready closed harbor
closed closed active indigo
ready closed closed birch
closed paused closed delta
| birch
juniper
harbor
indigo
birch
delta
| ready active paused delta
failed failed failed ember
pending closed paused amber
pending paused pending amber
paused paused closed birch
ready failed paused grove
closed pending closed amber
failed pending active birch
closed closed pending grove
| delta
ember
amber
amber
birch
grove
amber
birch
grove
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017707 | qwen/qwen3.7-plus |
awkweave-0017708 | Print the complete records where column 2 is greater than 65. | $2 > 65 | closed 21 farah
ready 61 lina
pending 103 alice
active 75 chen
pending 51 jules
ready 67 kim
failed 48 gus
| pending 103 alice
active 75 chen
ready 67 kim
| failed 10 eli
active 26 jules
paused 21 bruno
closed 112 eli
failed 114 bruno
paused 75 bruno
active 74 chen
active 100 farah
ready 9 farah
failed 120 lina
| closed 112 eli
failed 114 bruno
paused 75 bruno
active 74 chen
active 100 farah
failed 120 lina
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017708-p1 | Print full records where the value in the second column exceeds 65. | $2 > 65 | closed 21 farah
ready 61 lina
pending 103 alice
active 75 chen
pending 51 jules
ready 67 kim
failed 48 gus
| pending 103 alice
active 75 chen
ready 67 kim
| failed 10 eli
active 26 jules
paused 21 bruno
closed 112 eli
failed 114 bruno
paused 75 bruno
active 74 chen
active 100 farah
ready 9 farah
failed 120 lina
| closed 112 eli
failed 114 bruno
paused 75 bruno
active 74 chen
active 100 farah
failed 120 lina
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017708 | qwen/qwen3.7-plus |
awkweave-0017709 | Show whole lines whose 3rd field is between 9 and 29, inclusive. | $3 >= 9 && $3 <= 29 | active indigo 27 fable
pending amber 8 harbor
closed ember 10 fable
active ember 3 indigo
failed birch 22 amber
closed harbor 10 cobalt
paused cobalt 3 birch
| active indigo 27 fable
closed ember 10 fable
failed birch 22 amber
closed harbor 10 cobalt
| pending amber 18 indigo
ready birch 8 ember
ready delta 21 cobalt
paused amber 4 birch
ready amber 9 delta
failed birch 24 ember
closed grove 17 indigo
closed grove 7 delta
| pending amber 18 indigo
ready delta 21 cobalt
ready amber 9 delta
failed birch 24 ember
closed grove 17 indigo
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017709-p1 | Show entire lines where the third field falls within the range 9 to 29, inclusive. | $3 >= 9 && $3 <= 29 | active indigo 27 fable
pending amber 8 harbor
closed ember 10 fable
active ember 3 indigo
failed birch 22 amber
closed harbor 10 cobalt
paused cobalt 3 birch
| active indigo 27 fable
closed ember 10 fable
failed birch 22 amber
closed harbor 10 cobalt
| pending amber 18 indigo
ready birch 8 ember
ready delta 21 cobalt
paused amber 4 birch
ready amber 9 delta
failed birch 24 ember
closed grove 17 indigo
closed grove 7 delta
| pending amber 18 indigo
ready delta 21 cobalt
ready amber 9 delta
failed birch 24 ember
closed grove 17 indigo
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017709 | qwen/qwen3.7-plus |
awkweave-0017710 | Print column 1 only for rows where column 3 is exactly failed. | $3 == "failed"{print $1} | jules birch ready 3
farah ember closed 59
kim indigo failed 44
kim harbor paused 73
hana ember active 74
ivan fable paused 26
hana grove active 86
eli birch ready 11
farah indigo active 114
| kim
| ivan harbor pending 56
hana grove ready 116
eli ember paused 16
eli indigo paused 57
farah fable failed 99
hana grove active 43
kim amber closed 12
chen fable paused 79
jules indigo failed 32
| farah
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017710-p1 | Output only the first column for rows where the third column is exactly failed. | $3 == "failed"{print $1} | jules birch ready 3
farah ember closed 59
kim indigo failed 44
kim harbor paused 73
hana ember active 74
ivan fable paused 26
hana grove active 86
eli birch ready 11
farah indigo active 114
| kim
| ivan harbor pending 56
hana grove ready 116
eli ember paused 16
eli indigo paused 57
farah fable failed 99
hana grove active 43
kim amber closed 12
chen fable paused 79
jules indigo failed 32
| farah
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017710 | qwen/qwen3.7-plus |
awkweave-0017711 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | 101 harbor DEBUG
35 amber DEBUG
35 delta DEBUG
58 delta WARN
80 birch DEBUG
107 grove DEBUG
41 cobalt DEBUG
69 indigo WARN
80 grove ERROR
| 80 grove ERROR
| 74 cobalt WARN
35 amber ERROR
92 indigo ERROR
59 harbor INFO
72 birch INFO
103 ember WARN
| 35 amber ERROR
92 indigo ERROR
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017711-p1 | Print all fields from lines where the third field starts with ERROR. | $3 ~ /^ERROR/ | 101 harbor DEBUG
35 amber DEBUG
35 delta DEBUG
58 delta WARN
80 birch DEBUG
107 grove DEBUG
41 cobalt DEBUG
69 indigo WARN
80 grove ERROR
| 80 grove ERROR
| 74 cobalt WARN
35 amber ERROR
92 indigo ERROR
59 harbor INFO
72 birch INFO
103 ember WARN
| 35 amber ERROR
92 indigo ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017711 | qwen/qwen3.7-plus |
awkweave-0017712 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | cobalt 52 ready
delta 12 closed
delta 78 paused
ember 59 pending
fable 111 failed
grove 90 closed
cobalt 49 paused
juniper 999 active
| cobalt 52 ready
delta 12 closed
delta 78 paused
ember 59 pending
fable 111 failed
grove 90 closed
cobalt 49 paused
| cobalt 39 paused
delta 29 active
birch 68 active
juniper 81 failed
ember 38 paused
grove 41 pending
juniper 109 ready
fable 81 active
fable 91 closed
juniper 999 active
| cobalt 39 paused
delta 29 active
birch 68 active
ember 38 paused
grove 41 pending
fable 81 active
fable 91 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017712-p1 | Print every line that does not contain the exact string juniper. | $0 !~ /juniper/ | cobalt 52 ready
delta 12 closed
delta 78 paused
ember 59 pending
fable 111 failed
grove 90 closed
cobalt 49 paused
juniper 999 active
| cobalt 52 ready
delta 12 closed
delta 78 paused
ember 59 pending
fable 111 failed
grove 90 closed
cobalt 49 paused
| cobalt 39 paused
delta 29 active
birch 68 active
juniper 81 failed
ember 38 paused
grove 41 pending
juniper 109 ready
fable 81 active
fable 91 closed
juniper 999 active
| cobalt 39 paused
delta 29 active
birch 68 active
ember 38 paused
grove 41 pending
fable 81 active
fable 91 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017712 | qwen/qwen3.7-plus |
awkweave-0017713 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | bruno birch 109
kim delta 107
hana amber 66
chen delta 79
farah amber 29
ivan birch 94
farah ember 96
lina fable 94
ivan juniper 117
| hana amber 66
chen delta 79
farah amber 29
ivan birch 94
| kim grove 7
kim harbor 101
lina cobalt 120
farah amber 76
gus indigo 119
dina delta 93
farah fable 53
jules cobalt 15
| lina cobalt 120
farah amber 76
gus indigo 119
dina delta 93
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017713-p1 | Output lines 3 through 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | bruno birch 109
kim delta 107
hana amber 66
chen delta 79
farah amber 29
ivan birch 94
farah ember 96
lina fable 94
ivan juniper 117
| hana amber 66
chen delta 79
farah amber 29
ivan birch 94
| kim grove 7
kim harbor 101
lina cobalt 120
farah amber 76
gus indigo 119
dina delta 93
farah fable 53
jules cobalt 15
| lina cobalt 120
farah amber 76
gus indigo 119
dina delta 93
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017713 | qwen/qwen3.7-plus |
awkweave-0017714 | Output only the first 3 records. | NR <= 3 | bruno 85 ember
farah 53 juniper
alice 66 birch
jules 100 grove
lina 89 delta
chen 51 cobalt
| bruno 85 ember
farah 53 juniper
alice 66 birch
| chen 76 delta
farah 81 indigo
alice 112 ember
chen 54 juniper
farah 18 delta
hana 37 juniper
jules 55 grove
| chen 76 delta
farah 81 indigo
alice 112 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017714-p1 | Display only the first 3 records. | NR <= 3 | bruno 85 ember
farah 53 juniper
alice 66 birch
jules 100 grove
lina 89 delta
chen 51 cobalt
| bruno 85 ember
farah 53 juniper
alice 66 birch
| chen 76 delta
farah 81 indigo
alice 112 ember
chen 54 juniper
farah 18 delta
hana 37 juniper
jules 55 grove
| chen 76 delta
farah 81 indigo
alice 112 ember
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017714 | qwen/qwen3.7-plus |
awkweave-0017715 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 21 fable
chen 67 fable
ivan 45 juniper
farah 41 harbor
gus 52 birch
eli 81 fable
gus 7 grove
chen 28 fable
farah 29 birch
| chen 67 fable
ivan 45 juniper
farah 41 harbor
gus 52 birch
eli 81 fable
gus 7 grove
chen 28 fable
farah 29 birch
| jules 1 ember
dina 77 juniper
alice 55 delta
farah 99 harbor
chen 26 indigo
hana 92 ember
bruno 52 ember
farah 42 fable
gus 43 amber
| dina 77 juniper
alice 55 delta
farah 99 harbor
chen 26 indigo
hana 92 ember
bruno 52 ember
farah 42 fable
gus 43 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017715-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | gus 21 fable
chen 67 fable
ivan 45 juniper
farah 41 harbor
gus 52 birch
eli 81 fable
gus 7 grove
chen 28 fable
farah 29 birch
| chen 67 fable
ivan 45 juniper
farah 41 harbor
gus 52 birch
eli 81 fable
gus 7 grove
chen 28 fable
farah 29 birch
| jules 1 ember
dina 77 juniper
alice 55 delta
farah 99 harbor
chen 26 indigo
hana 92 ember
bruno 52 ember
farah 42 fable
gus 43 amber
| dina 77 juniper
alice 55 delta
farah 99 harbor
chen 26 indigo
hana 92 ember
bruno 52 ember
farah 42 fable
gus 43 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017715 | qwen/qwen3.7-plus |
awkweave-0017716 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | alice ready 29
alice closed 12
gus paused 61
lina failed 33
eli ready 0
hana pending 114
chen active 72
bruno ready 3
| 1
| gus active 85
eli paused 91
hana active 80
alice paused 20
gus active 24
chen ready 105
alice paused 89
chen pending 21
chen failed 3
alice pending 4
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017716-p1 | Count the number of records with closed in the second column, printing 0 if none exist. | $2 == "closed"{n++}END{print n+0} | alice ready 29
alice closed 12
gus paused 61
lina failed 33
eli ready 0
hana pending 114
chen active 72
bruno ready 3
| 1
| gus active 85
eli paused 91
hana active 80
alice paused 20
gus active 24
chen ready 105
alice paused 89
chen pending 21
chen failed 3
alice pending 4
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017716 | qwen/qwen3.7-plus |
awkweave-0017717 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | fable alice 30
amber chen 30
indigo bruno 22
juniper jules 2
harbor gus 13
ember dina 24
| 121
| juniper jules 26
fable kim 7
harbor kim 9
cobalt kim 10
cobalt eli 2
ember alice 8
cobalt eli 2
indigo hana 15
fable gus 11
indigo bruno 16
| 106
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017717-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | fable alice 30
amber chen 30
indigo bruno 22
juniper jules 2
harbor gus 13
ember dina 24
| 121
| juniper jules 26
fable kim 7
harbor kim 9
cobalt kim 10
cobalt eli 2
ember alice 8
cobalt eli 2
indigo hana 15
fable gus 11
indigo bruno 16
| 106
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017717 | qwen/qwen3.7-plus |
awkweave-0017718 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 delta ivan
23 delta alice
11 harbor eli
2 fable jules
20 grove chen
2 ember jules
| 10.50
| 1 delta dina
18 juniper lina
17 delta ivan
27 indigo gus
22 birch gus
2 harbor jules
4 cobalt kim
6 delta chen
| 12.12
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017718-p1 | Output the average of the values in column 1, formatted to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 delta ivan
23 delta alice
11 harbor eli
2 fable jules
20 grove chen
2 ember jules
| 10.50
| 1 delta dina
18 juniper lina
17 delta ivan
27 indigo gus
22 birch gus
2 harbor jules
4 cobalt kim
6 delta chen
| 12.12
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017718 | qwen/qwen3.7-plus |
awkweave-0017719 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 9 cobalt eli
27 harbor hana
24 delta hana
21 amber farah
23 amber bruno
4 harbor dina
11 harbor dina
1 indigo hana
| 1
| 3 amber dina
15 juniper gus
24 birch ivan
15 fable farah
26 delta chen
6 harbor lina
6 ember hana
28 indigo kim
16 ember alice
12 grove jules
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0017719-p1 | Identify and display the minimum number found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 9 cobalt eli
27 harbor hana
24 delta hana
21 amber farah
23 amber bruno
4 harbor dina
11 harbor dina
1 indigo hana
| 1
| 3 amber dina
15 juniper gus
24 birch ivan
15 fable farah
26 delta chen
6 harbor lina
6 ember hana
28 indigo kim
16 ember alice
12 grove jules
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0017719 | qwen/qwen3.7-plus |
awkweave-0017720 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | fable 20 kim
fable 13 lina
fable 16 kim
cobalt 12 bruno
delta 26 hana
birch 12 chen
grove 14 lina
| 26
| indigo 14 eli
ember 19 chen
cobalt 19 farah
juniper 3 hana
fable 5 ivan
harbor 27 bruno
juniper 22 gus
amber 28 gus
grove 22 lina
birch 29 ivan
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.