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-0041331-p1 | Ignoring the header, output the display_name for rows where the score exceeds 18. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]} | record_id display_name score state
r001 kim 9 failed
r002 kim 3 pending
r003 ivan 28 pending
r004 hana 1 pending
r005 dina 9 failed
r006 eli 16 pending
r007 kim 26 failed
r008 dina 5 pending
| ivan
kim
| record_id display_name score state
r001 jules 22 paused
r002 jules 21 paused
r003 eli 14 pending
r004 gus 24 active
r005 chen 18 pending
r006 ivan 15 pending
r007 bruno 11 paused
| jules
jules
gus
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041331 | qwen/qwen3.7-plus |
awkweave-0041332 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 13 active
chen 18 closed
kim 15 ready
alice 23 ready
bruno 25 closed
hana 18 closed
ivan 5 ready
jules 15 ready
gus 3 ready
| hana
chen
kim
alice
bruno
hana
ivan
jules
gus
| kim 1 ready
jules 5 ready
eli 11 failed
gus 21 closed
kim 13 paused
hana 26 pending
eli 21 failed
jules 5 paused
lina 30 failed
| kim
jules
eli
gus
kim
hana
eli
jules
lina
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041332-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 13 active
chen 18 closed
kim 15 ready
alice 23 ready
bruno 25 closed
hana 18 closed
ivan 5 ready
jules 15 ready
gus 3 ready
| hana
chen
kim
alice
bruno
hana
ivan
jules
gus
| kim 1 ready
jules 5 ready
eli 11 failed
gus 21 closed
kim 13 paused
hana 26 pending
eli 21 failed
jules 5 paused
lina 30 failed
| kim
jules
eli
gus
kim
hana
eli
jules
lina
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0041332 | qwen/qwen3.7-plus |
awkweave-0041333 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | farah,22,pending
eli,2,pending
eli,20,paused
hana,18,active
lina,27,paused
farah,28,failed
kim,28,ready
jules,17,failed
kim,2,failed
kim,3,closed
| farah
eli
hana
lina
farah
kim
jules
| hana,29,active
farah,2,failed
farah,25,closed
jules,15,paused
gus,29,pending
gus,3,pending
| hana
farah
jules
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041333-p1 | For simple CSV data without quoted commas, output the first column if the second column is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | farah,22,pending
eli,2,pending
eli,20,paused
hana,18,active
lina,27,paused
farah,28,failed
kim,28,ready
jules,17,failed
kim,2,failed
kim,3,closed
| farah
eli
hana
lina
farah
kim
jules
| hana,29,active
farah,2,failed
farah,25,closed
jules,15,paused
gus,29,pending
gus,3,pending
| hana
farah
jules
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041333 | qwen/qwen3.7-plus |
awkweave-0041334 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | lina grove 34
alice harbor 66
dina delta 76
gus cobalt 89
bruno fable 59
ivan ember 15
| lina grove 34
alice harbor 66
dina delta 76
gus cobalt 89
bruno fable 59
ivan ember 15
| chen juniper 19
lina birch 117
jules amber 19
lina harbor 26
lina indigo 15
eli amber 110
| chen juniper 19
lina birch 117
jules amber 19
lina harbor 26
lina indigo 15
eli amber 110
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041334-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | lina grove 34
alice harbor 66
dina delta 76
gus cobalt 89
bruno fable 59
ivan ember 15
| lina grove 34
alice harbor 66
dina delta 76
gus cobalt 89
bruno fable 59
ivan ember 15
| chen juniper 19
lina birch 117
jules amber 19
lina harbor 26
lina indigo 15
eli amber 110
| chen juniper 19
lina birch 117
jules amber 19
lina harbor 26
lina indigo 15
eli amber 110
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041334 | qwen/qwen3.7-plus |
awkweave-0041335 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina fable 65 closed
alice birch 37 ready
bruno amber 113 active
gus juniper 49 failed
hana juniper 10 active
farah cobalt 12 paused
ivan amber 55 ready
bruno amber 35 active
| bruno amber 113 active
| hana grove 120 paused
ivan fable 65 pending
chen cobalt 49 paused
bruno harbor 104 closed
hana amber 98 closed
alice harbor 24 ready
ivan harbor 78 failed
dina juniper 106 ready
dina ember 93 pending
kim birch 4 ready
| bruno harbor 104 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041335-p1 | 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} | lina fable 65 closed
alice birch 37 ready
bruno amber 113 active
gus juniper 49 failed
hana juniper 10 active
farah cobalt 12 paused
ivan amber 55 ready
bruno amber 35 active
| bruno amber 113 active
| hana grove 120 paused
ivan fable 65 pending
chen cobalt 49 paused
bruno harbor 104 closed
hana amber 98 closed
alice harbor 24 ready
ivan harbor 78 failed
dina juniper 106 ready
dina ember 93 pending
kim birch 4 ready
| bruno harbor 104 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041335 | qwen/qwen3.7-plus |
awkweave-0041336 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | dina 41
kim 81
kim 108
ivan 83
hana 94
hana 89
dina 88
kim 12
ivan 15
chen 55
| dina 41
kim 108
hana 94
dina 88
ivan 15
| bruno 90
alice 26
ivan 15
eli 51
hana 97
hana 33
ivan 44
| bruno 90
ivan 15
hana 97
ivan 44
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041336-p1 | Output every other line, beginning with the first line (i.e., lines 1, 3, 5, ...). | NR%2==1 | dina 41
kim 81
kim 108
ivan 83
hana 94
hana 89
dina 88
kim 12
ivan 15
chen 55
| dina 41
kim 108
hana 94
dina 88
ivan 15
| bruno 90
alice 26
ivan 15
eli 51
hana 97
hana 33
ivan 44
| bruno 90
ivan 15
hana 97
ivan 44
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041336 | qwen/qwen3.7-plus |
awkweave-0041337 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta juniper 120
gamma fable 115
alpha indigo 52
beta delta 114
alpha amber 74
gamma cobalt 109
| 4
| alpha indigo 76
gamma juniper 71
gamma indigo 104
gamma delta 96
delta delta 54
alpha fable 62
delta indigo 38
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041337-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta juniper 120
gamma fable 115
alpha indigo 52
beta delta 114
alpha amber 74
gamma cobalt 109
| 4
| alpha indigo 76
gamma juniper 71
gamma indigo 104
gamma delta 96
delta delta 54
alpha fable 62
delta indigo 38
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041337 | qwen/qwen3.7-plus |
awkweave-0041338 | 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 24 0
hana 25 10
dina 19 30
lina 2 26
eli 8 26
farah 6 3
eli 7 25
dina 20 21
gus 21 7
| hana 2.50
dina 0.63
lina 0.08
eli 0.31
farah 2.00
eli 0.28
dina 0.95
gus 3.00
| farah 23 0
dina 27 20
kim 26 21
farah 9 24
kim 14 17
jules 29 23
farah 15 13
| dina 1.35
kim 1.24
farah 0.38
kim 0.82
jules 1.26
farah 1.15
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041338-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 24 0
hana 25 10
dina 19 30
lina 2 26
eli 8 26
farah 6 3
eli 7 25
dina 20 21
gus 21 7
| hana 2.50
dina 0.63
lina 0.08
eli 0.31
farah 2.00
eli 0.28
dina 0.95
gus 3.00
| farah 23 0
dina 27 20
kim 26 21
farah 9 24
kim 14 17
jules 29 23
farah 15 13
| dina 1.35
kim 1.24
farah 0.38
kim 0.82
jules 1.26
farah 1.15
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041338 | qwen/qwen3.7-plus |
awkweave-0041339 | 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]} | alice grove 14
eli fable 4
ivan cobalt 14
dina harbor 28
kim grove 10
eli birch 8
| dina harbor 28
alice grove 14
ivan cobalt 14
| chen amber 14
gus fable 23
gus grove 1
lina indigo 15
jules fable 19
jules grove 30
| jules grove 30
gus fable 23
jules fable 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041339-p1 | Output 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]} | alice grove 14
eli fable 4
ivan cobalt 14
dina harbor 28
kim grove 10
eli birch 8
| dina harbor 28
alice grove 14
ivan cobalt 14
| chen amber 14
gus fable 23
gus grove 1
lina indigo 15
jules fable 19
jules grove 30
| jules grove 30
gus fable 23
jules fable 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041339 | qwen/qwen3.7-plus |
awkweave-0041340 | For each line, output fields 2 and 1, in that order. | {print $2, $1} | paused kim 59 fable
closed eli 84 birch
ready jules 105 amber
pending dina 56 fable
paused kim 44 cobalt
ready hana 9 birch
closed chen 112 harbor
pending bruno 86 juniper
| kim paused
eli closed
jules ready
dina pending
kim paused
hana ready
chen closed
bruno pending
| pending farah 1 cobalt
failed bruno 74 ember
pending ivan 40 juniper
paused kim 44 delta
active alice 15 ember
paused alice 98 birch
| farah pending
bruno failed
ivan pending
kim paused
alice active
alice paused
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041340-p1 | For each line, output the second field followed by the first field. | {print $2, $1} | paused kim 59 fable
closed eli 84 birch
ready jules 105 amber
pending dina 56 fable
paused kim 44 cobalt
ready hana 9 birch
closed chen 112 harbor
pending bruno 86 juniper
| kim paused
eli closed
jules ready
dina pending
kim paused
hana ready
chen closed
bruno pending
| pending farah 1 cobalt
failed bruno 74 ember
pending ivan 40 juniper
paused kim 44 delta
active alice 15 ember
paused alice 98 birch
| farah pending
bruno failed
ivan pending
kim paused
alice active
alice paused
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041340 | qwen/qwen3.7-plus |
awkweave-0041341 | Print the last field of every input line. | {print $NF} | active chen 71
pending kim 14
closed lina 75
paused chen 33
failed farah 112
paused jules 84
failed gus 84
ready hana 52
paused gus 78
ready kim 120
| 71
14
75
33
112
84
84
52
78
120
| ready gus 65
paused farah 68
paused dina 61
ready jules 115
ready lina 111
ready eli 85
pending gus 64
active bruno 47
paused alice 89
active kim 105
| 65
68
61
115
111
85
64
47
89
105
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041341-p1 | Output the final field from every line of input. | {print $NF} | active chen 71
pending kim 14
closed lina 75
paused chen 33
failed farah 112
paused jules 84
failed gus 84
ready hana 52
paused gus 78
ready kim 120
| 71
14
75
33
112
84
84
52
78
120
| ready gus 65
paused farah 68
paused dina 61
ready jules 115
ready lina 111
ready eli 85
pending gus 64
active bruno 47
paused alice 89
active kim 105
| 65
68
61
115
111
85
64
47
89
105
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041341 | qwen/qwen3.7-plus |
awkweave-0041342 | Print the complete records where column 2 is at most 58. | $2 <= 58 | chen 52 delta closed
lina 83 indigo paused
farah 66 birch pending
lina 110 delta closed
alice 15 ember paused
kim 91 birch ready
chen 10 birch paused
alice 17 indigo active
alice 53 delta ready
farah 44 ember failed
| chen 52 delta closed
alice 15 ember paused
chen 10 birch paused
alice 17 indigo active
alice 53 delta ready
farah 44 ember failed
| kim 113 harbor pending
dina 84 cobalt closed
jules 32 birch paused
dina 111 juniper paused
eli 101 delta ready
lina 108 fable closed
| jules 32 birch paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041342-p1 | Output full rows where the value in the second column is less than or equal to 58. | $2 <= 58 | chen 52 delta closed
lina 83 indigo paused
farah 66 birch pending
lina 110 delta closed
alice 15 ember paused
kim 91 birch ready
chen 10 birch paused
alice 17 indigo active
alice 53 delta ready
farah 44 ember failed
| chen 52 delta closed
alice 15 ember paused
chen 10 birch paused
alice 17 indigo active
alice 53 delta ready
farah 44 ember failed
| kim 113 harbor pending
dina 84 cobalt closed
jules 32 birch paused
dina 111 juniper paused
eli 101 delta ready
lina 108 fable closed
| jules 32 birch paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041342 | qwen/qwen3.7-plus |
awkweave-0041343 | Show whole lines whose 3rd field is between 10 and 18, inclusive. | $3 >= 10 && $3 <= 18 | juniper delta 26 active
grove amber 12 pending
amber ember 11 pending
birch grove 12 failed
grove harbor 11 pending
harbor grove 21 pending
amber harbor 2 active
amber juniper 12 pending
| grove amber 12 pending
amber ember 11 pending
birch grove 12 failed
grove harbor 11 pending
amber juniper 12 pending
| harbor harbor 2 closed
juniper amber 9 ready
ember grove 23 pending
fable fable 3 pending
cobalt birch 22 paused
indigo birch 13 ready
delta birch 25 closed
birch harbor 3 ready
| indigo birch 13 ready
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041343-p1 | Display entire lines where the third field falls within the inclusive range of 10 to 18. | $3 >= 10 && $3 <= 18 | juniper delta 26 active
grove amber 12 pending
amber ember 11 pending
birch grove 12 failed
grove harbor 11 pending
harbor grove 21 pending
amber harbor 2 active
amber juniper 12 pending
| grove amber 12 pending
amber ember 11 pending
birch grove 12 failed
grove harbor 11 pending
amber juniper 12 pending
| harbor harbor 2 closed
juniper amber 9 ready
ember grove 23 pending
fable fable 3 pending
cobalt birch 22 paused
indigo birch 13 ready
delta birch 25 closed
birch harbor 3 ready
| indigo birch 13 ready
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041343 | qwen/qwen3.7-plus |
awkweave-0041344 | Print column 2 only for rows where column 1 is exactly closed. | $1 == "closed"{print $2} | closed farah 92 juniper
active dina 22 harbor
closed eli 108 amber
paused farah 60 juniper
active farah 96 cobalt
pending gus 87 grove
| farah
eli
| closed gus 86 juniper
pending dina 43 birch
pending ivan 74 amber
closed gus 105 juniper
active farah 91 grove
closed dina 79 harbor
failed lina 15 cobalt
failed eli 18 indigo
failed bruno 17 birch
closed eli 90 amber
| gus
gus
dina
eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041344-p1 | Extract and print only the second column for entries where the first column matches 'closed' exactly. | $1 == "closed"{print $2} | closed farah 92 juniper
active dina 22 harbor
closed eli 108 amber
paused farah 60 juniper
active farah 96 cobalt
pending gus 87 grove
| farah
eli
| closed gus 86 juniper
pending dina 43 birch
pending ivan 74 amber
closed gus 105 juniper
active farah 91 grove
closed dina 79 harbor
failed lina 15 cobalt
failed eli 18 indigo
failed bruno 17 birch
closed eli 90 amber
| gus
gus
dina
eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041344 | qwen/qwen3.7-plus |
awkweave-0041345 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | fable DEBUG 72
birch ERROR 55
birch INFO 21
ember WARN 26
delta ERROR 105
ember ERROR 59
harbor ERROR 63
cobalt INFO 46
delta INFO 56
harbor ERROR 101
| birch INFO 21
cobalt INFO 46
delta INFO 56
| birch INFO 85
juniper INFO 75
harbor INFO 33
birch ERROR 19
juniper WARN 120
juniper WARN 43
amber ERROR 82
juniper DEBUG 58
harbor WARN 28
juniper ERROR 18
| birch INFO 85
juniper INFO 75
harbor INFO 33
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041345-p1 | Print all columns from rows where the second field starts with the string 'INFO'. | $2 ~ /^INFO/ | fable DEBUG 72
birch ERROR 55
birch INFO 21
ember WARN 26
delta ERROR 105
ember ERROR 59
harbor ERROR 63
cobalt INFO 46
delta INFO 56
harbor ERROR 101
| birch INFO 21
cobalt INFO 46
delta INFO 56
| birch INFO 85
juniper INFO 75
harbor INFO 33
birch ERROR 19
juniper WARN 120
juniper WARN 43
amber ERROR 82
juniper DEBUG 58
harbor WARN 28
juniper ERROR 18
| birch INFO 85
juniper INFO 75
harbor INFO 33
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041345 | qwen/qwen3.7-plus |
awkweave-0041346 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | ember 33 paused
grove 106 active
juniper 69 failed
ember 56 ready
birch 17 failed
juniper 46 ready
cobalt 999 active
| ember 33 paused
grove 106 active
juniper 69 failed
ember 56 ready
birch 17 failed
juniper 46 ready
| amber 62 paused
delta 14 pending
amber 101 active
delta 104 ready
cobalt 22 paused
indigo 74 ready
grove 90 active
ember 104 pending
cobalt 44 paused
cobalt 999 active
| amber 62 paused
delta 14 pending
amber 101 active
delta 104 ready
indigo 74 ready
grove 90 active
ember 104 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041346-p1 | Output every line that does not contain the exact substring 'cobalt'. | $0 !~ /cobalt/ | ember 33 paused
grove 106 active
juniper 69 failed
ember 56 ready
birch 17 failed
juniper 46 ready
cobalt 999 active
| ember 33 paused
grove 106 active
juniper 69 failed
ember 56 ready
birch 17 failed
juniper 46 ready
| amber 62 paused
delta 14 pending
amber 101 active
delta 104 ready
cobalt 22 paused
indigo 74 ready
grove 90 active
ember 104 pending
cobalt 44 paused
cobalt 999 active
| amber 62 paused
delta 14 pending
amber 101 active
delta 104 ready
indigo 74 ready
grove 90 active
ember 104 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041346 | qwen/qwen3.7-plus |
awkweave-0041347 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | kim amber 54
farah juniper 117
alice delta 56
bruno harbor 69
hana cobalt 88
bruno indigo 42
alice cobalt 15
dina grove 23
dina fable 88
| alice delta 56
bruno harbor 69
| dina fable 46
eli amber 44
gus grove 87
gus indigo 12
ivan ember 104
lina juniper 102
gus indigo 26
chen harbor 97
| gus grove 87
gus indigo 12
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041347-p1 | Print lines 3 to 4, inclusive of both line numbers. | NR >= 3 && NR <= 4 | kim amber 54
farah juniper 117
alice delta 56
bruno harbor 69
hana cobalt 88
bruno indigo 42
alice cobalt 15
dina grove 23
dina fable 88
| alice delta 56
bruno harbor 69
| dina fable 46
eli amber 44
gus grove 87
gus indigo 12
ivan ember 104
lina juniper 102
gus indigo 26
chen harbor 97
| gus grove 87
gus indigo 12
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041347 | qwen/qwen3.7-plus |
awkweave-0041348 | Output only the first 4 records. | NR <= 4 | gus 92 amber
dina 101 ember
eli 96 delta
gus 71 grove
jules 10 indigo
dina 16 indigo
chen 13 amber
gus 52 juniper
lina 105 harbor
| gus 92 amber
dina 101 ember
eli 96 delta
gus 71 grove
| chen 62 cobalt
gus 18 juniper
lina 54 delta
eli 95 juniper
farah 15 harbor
lina 106 fable
lina 94 juniper
chen 28 birch
| chen 62 cobalt
gus 18 juniper
lina 54 delta
eli 95 juniper
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041348-p1 | Display only the first 4 records from the input. | NR <= 4 | gus 92 amber
dina 101 ember
eli 96 delta
gus 71 grove
jules 10 indigo
dina 16 indigo
chen 13 amber
gus 52 juniper
lina 105 harbor
| gus 92 amber
dina 101 ember
eli 96 delta
gus 71 grove
| chen 62 cobalt
gus 18 juniper
lina 54 delta
eli 95 juniper
farah 15 harbor
lina 106 fable
lina 94 juniper
chen 28 birch
| chen 62 cobalt
gus 18 juniper
lina 54 delta
eli 95 juniper
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041348 | qwen/qwen3.7-plus |
awkweave-0041349 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 84 juniper
farah 17 amber
dina 3 fable
hana 62 cobalt
dina 118 ember
eli 105 harbor
jules 23 delta
| farah 17 amber
dina 3 fable
hana 62 cobalt
dina 118 ember
eli 105 harbor
jules 23 delta
| eli 21 fable
ivan 80 harbor
jules 1 juniper
ivan 115 juniper
chen 50 fable
chen 76 ember
chen 45 juniper
| ivan 80 harbor
jules 1 juniper
ivan 115 juniper
chen 50 fable
chen 76 ember
chen 45 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041349-p1 | Omit the header line and print all subsequent lines as they are. | NR > 1 | gus 84 juniper
farah 17 amber
dina 3 fable
hana 62 cobalt
dina 118 ember
eli 105 harbor
jules 23 delta
| farah 17 amber
dina 3 fable
hana 62 cobalt
dina 118 ember
eli 105 harbor
jules 23 delta
| eli 21 fable
ivan 80 harbor
jules 1 juniper
ivan 115 juniper
chen 50 fable
chen 76 ember
chen 45 juniper
| ivan 80 harbor
jules 1 juniper
ivan 115 juniper
chen 50 fable
chen 76 ember
chen 45 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041349 | qwen/qwen3.7-plus |
awkweave-0041350 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | chen failed 92
ivan active 6
alice closed 61
alice pending 91
kim paused 7
gus closed 19
ivan ready 89
alice closed 87
| 1
| hana active 99
ivan ready 34
chen paused 43
dina paused 13
kim paused 1
gus closed 65
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041350-p1 | Count the number of records where the second column is 'pending', outputting 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | chen failed 92
ivan active 6
alice closed 61
alice pending 91
kim paused 7
gus closed 19
ivan ready 89
alice closed 87
| 1
| hana active 99
ivan ready 34
chen paused 43
dina paused 13
kim paused 1
gus closed 65
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041350 | qwen/qwen3.7-plus |
awkweave-0041351 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | jules 17 grove
alice 13 amber
kim 23 amber
chen 3 delta
chen 19 indigo
alice 30 birch
kim 15 harbor
lina 25 ember
dina 1 ember
eli 24 harbor
| 170
| hana 7 cobalt
eli 9 amber
ivan 3 fable
gus 13 grove
ivan 21 juniper
kim 29 indigo
| 82
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041351-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | jules 17 grove
alice 13 amber
kim 23 amber
chen 3 delta
chen 19 indigo
alice 30 birch
kim 15 harbor
lina 25 ember
dina 1 ember
eli 24 harbor
| 170
| hana 7 cobalt
eli 9 amber
ivan 3 fable
gus 13 grove
ivan 21 juniper
kim 29 indigo
| 82
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041351 | qwen/qwen3.7-plus |
awkweave-0041352 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 1 gus indigo
26 chen amber
1 gus delta
4 hana fable
18 lina cobalt
30 chen indigo
| 13.33
| 17 chen harbor
25 gus juniper
24 eli birch
15 eli amber
25 eli juniper
17 kim grove
6 eli fable
| 18.43
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041352-p1 | Calculate the average of the values in the first column and format the result to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 1 gus indigo
26 chen amber
1 gus delta
4 hana fable
18 lina cobalt
30 chen indigo
| 13.33
| 17 chen harbor
25 gus juniper
24 eli birch
15 eli amber
25 eli juniper
17 kim grove
6 eli fable
| 18.43
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041352 | qwen/qwen3.7-plus |
awkweave-0041353 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 23 lina
indigo 13 bruno
harbor 13 eli
birch 14 alice
ember 17 ivan
birch 12 hana
amber 27 jules
| 12
| ember 12 gus
fable 19 gus
juniper 22 eli
fable 7 farah
amber 11 dina
amber 9 lina
ember 25 chen
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041353-p1 | Identify and print the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 23 lina
indigo 13 bruno
harbor 13 eli
birch 14 alice
ember 17 ivan
birch 12 hana
amber 27 jules
| 12
| ember 12 gus
fable 19 gus
juniper 22 eli
fable 7 farah
amber 11 dina
amber 9 lina
ember 25 chen
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041353 | qwen/qwen3.7-plus |
awkweave-0041354 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 28 indigo
chen 1 delta
hana 11 harbor
ivan 6 juniper
ivan 13 fable
eli 7 grove
gus 23 delta
| 28
| hana 5 cobalt
ivan 6 delta
alice 29 indigo
lina 11 ember
ivan 26 indigo
chen 21 indigo
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041354-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 28 indigo
chen 1 delta
hana 11 harbor
ivan 6 juniper
ivan 13 fable
eli 7 grove
gus 23 delta
| 28
| hana 5 cobalt
ivan 6 delta
alice 29 indigo
lina 11 ember
ivan 26 indigo
chen 21 indigo
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041354 | qwen/qwen3.7-plus |
awkweave-0041355 | Count all input records and print the total. | END{print NR} | ivan 26
eli 60
gus 62
jules 103
gus 79
gus 56
jules 63
chen 92
gus 4
| 9
| bruno 87
chen 118
dina 94
dina 47
farah 68
lina 34
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041355-p1 | Calculate and display the total count of all input records. | END{print NR} | ivan 26
eli 60
gus 62
jules 103
gus 79
gus 56
jules 63
chen 92
gus 4
| 9
| bruno 87
chen 118
dina 94
dina 47
farah 68
lina 34
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041355 | qwen/qwen3.7-plus |
awkweave-0041356 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim indigo 35
alice cobalt 81
farah indigo 14
dina ember 27
farah indigo 14
kim indigo 64
chen ember 79
| kim indigo 35
alice cobalt 81
farah indigo 14
dina ember 27
kim indigo 64
chen ember 79
| gus fable 3
jules delta 25
kim indigo 94
bruno birch 58
kim birch 70
kim juniper 87
jules delta 25
| gus fable 3
jules delta 25
kim indigo 94
bruno birch 58
kim birch 70
kim juniper 87
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041356-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | kim indigo 35
alice cobalt 81
farah indigo 14
dina ember 27
farah indigo 14
kim indigo 64
chen ember 79
| kim indigo 35
alice cobalt 81
farah indigo 14
dina ember 27
kim indigo 64
chen ember 79
| gus fable 3
jules delta 25
kim indigo 94
bruno birch 58
kim birch 70
kim juniper 87
jules delta 25
| gus fable 3
jules delta 25
kim indigo 94
bruno birch 58
kim birch 70
kim juniper 87
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041356 | qwen/qwen3.7-plus |
awkweave-0041357 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | bruno amber 61
farah grove 4
chen fable 111
dina indigo 40
jules ember 66
gus indigo 0
ivan amber 119
| bruno amber 61
farah grove 4
chen fable 111
dina indigo 40
jules ember 66
| farah cobalt 31
dina ember 54
dina harbor 20
hana harbor 22
bruno ember 44
chen birch 12
lina grove 101
alice indigo 45
hana delta 81
ivan delta 51
| farah cobalt 31
dina ember 54
dina harbor 20
chen birch 12
lina grove 101
alice indigo 45
hana delta 81
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041357-p1 | Retain only the initial line for every unique value in the second column, keeping the original order. | !seen[$2]++ | bruno amber 61
farah grove 4
chen fable 111
dina indigo 40
jules ember 66
gus indigo 0
ivan amber 119
| bruno amber 61
farah grove 4
chen fable 111
dina indigo 40
jules ember 66
| farah cobalt 31
dina ember 54
dina harbor 20
hana harbor 22
bruno ember 44
chen birch 12
lina grove 101
alice indigo 45
hana delta 81
ivan delta 51
| farah cobalt 31
dina ember 54
dina harbor 20
chen birch 12
lina grove 101
alice indigo 45
hana delta 81
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041357 | qwen/qwen3.7-plus |
awkweave-0041358 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 1 delta
lina 21 fable
dina 18 harbor
lina 4 cobalt
alice 29 birch
hana 21 indigo
| jules 1
lina 22
dina 40
lina 44
alice 73
hana 94
| gus 20 indigo
ivan 8 harbor
jules 21 cobalt
alice 13 birch
bruno 11 ember
chen 22 delta
dina 8 grove
alice 20 birch
| gus 20
ivan 28
jules 49
alice 62
bruno 73
chen 95
dina 103
alice 123
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041358-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | jules 1 delta
lina 21 fable
dina 18 harbor
lina 4 cobalt
alice 29 birch
hana 21 indigo
| jules 1
lina 22
dina 40
lina 44
alice 73
hana 94
| gus 20 indigo
ivan 8 harbor
jules 21 cobalt
alice 13 birch
bruno 11 ember
chen 22 delta
dina 8 grove
alice 20 birch
| gus 20
ivan 28
jules 49
alice 62
bruno 73
chen 95
dina 103
alice 123
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041358 | qwen/qwen3.7-plus |
awkweave-0041359 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 25 3 indigo
alice 7 11 indigo
kim 5 20 harbor
gus 30 20 indigo
hana 1 30 fable
eli 28 26 cobalt
chen 2 7 amber
bruno 24 20 grove
dina 13 13 ember
| gus 28
alice 18
kim 25
gus 50
hana 31
eli 54
chen 9
bruno 44
dina 26
| jules 1 26 fable
hana 24 19 fable
eli 20 9 delta
gus 10 30 fable
farah 10 3 harbor
farah 24 14 cobalt
hana 5 30 harbor
| jules 27
hana 43
eli 29
gus 40
farah 13
farah 38
hana 35
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041359-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 25 3 indigo
alice 7 11 indigo
kim 5 20 harbor
gus 30 20 indigo
hana 1 30 fable
eli 28 26 cobalt
chen 2 7 amber
bruno 24 20 grove
dina 13 13 ember
| gus 28
alice 18
kim 25
gus 50
hana 31
eli 54
chen 9
bruno 44
dina 26
| jules 1 26 fable
hana 24 19 fable
eli 20 9 delta
gus 10 30 fable
farah 10 3 harbor
farah 24 14 cobalt
hana 5 30 harbor
| jules 27
hana 43
eli 29
gus 40
farah 13
farah 38
hana 35
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041359 | qwen/qwen3.7-plus |
awkweave-0041360 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | farah 20
chen 5
ivan 12
eli 17
eli 13
gus 22
| farah fail
chen fail
ivan fail
eli fail
eli fail
gus fail
| lina 3
dina 14
gus 9
ivan 20
eli 20
hana 6
lina 15
alice 15
ivan 17
| lina fail
dina fail
gus fail
ivan fail
eli fail
hana fail
lina fail
alice fail
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041360-p1 | Output the first column and print 'pass' if the second column is 27 or greater; otherwise, print 'fail'. | {print $1,($2>=27?"pass":"fail")} | farah 20
chen 5
ivan 12
eli 17
eli 13
gus 22
| farah fail
chen fail
ivan fail
eli fail
eli fail
gus fail
| lina 3
dina 14
gus 9
ivan 20
eli 20
hana 6
lina 15
alice 15
ivan 17
| lina fail
dina fail
gus fail
ivan fail
eli fail
hana fail
lina fail
alice fail
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041360 | qwen/qwen3.7-plus |
awkweave-0041361 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | hana birch 31
hana juniper 83
alice juniper 40
farah harbor 0
farah harbor 97
eli amber 83
farah delta 90
| BIRCH
JUNIPER
JUNIPER
HARBOR
HARBOR
AMBER
DELTA
| hana juniper 59
hana cobalt 59
alice ember 76
chen fable 81
eli cobalt 8
eli grove 102
jules birch 78
alice cobalt 3
kim indigo 81
| JUNIPER
COBALT
EMBER
FABLE
COBALT
GROVE
BIRCH
COBALT
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041361-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | hana birch 31
hana juniper 83
alice juniper 40
farah harbor 0
farah harbor 97
eli amber 83
farah delta 90
| BIRCH
JUNIPER
JUNIPER
HARBOR
HARBOR
AMBER
DELTA
| hana juniper 59
hana cobalt 59
alice ember 76
chen fable 81
eli cobalt 8
eli grove 102
jules birch 78
alice cobalt 3
kim indigo 81
| JUNIPER
COBALT
EMBER
FABLE
COBALT
GROVE
BIRCH
COBALT
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041361 | qwen/qwen3.7-plus |
awkweave-0041362 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | harbor 14
delta 90
fable 84
fable 96
ember 21
juniper 113
indigo 97
indigo 105
indigo 2
| harb
delt
fabl
fabl
embe
juni
indi
indi
indi
| fable 44
harbor 18
amber 47
fable 79
ember 58
ember 60
grove 6
| fabl
harb
ambe
fabl
embe
embe
grov
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041362-p1 | Extract and print the first 4 characters from the first column. | {print substr($1,1,4)} | harbor 14
delta 90
fable 84
fable 96
ember 21
juniper 113
indigo 97
indigo 105
indigo 2
| harb
delt
fabl
fabl
embe
juni
indi
indi
indi
| fable 44
harbor 18
amber 47
fable 79
ember 58
ember 60
grove 6
| fabl
harb
ambe
fabl
embe
embe
grov
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041362 | qwen/qwen3.7-plus |
awkweave-0041363 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_amber 87
amber_birch 94
birch_cobalt 82
amber_grove 95
juniper_juniper 4
juniper_fable 0
| indigo amber
amber birch
birch cobalt
amber grove
juniper juniper
juniper fable
| harbor_fable 97
ember_grove 30
harbor_fable 115
juniper_amber 79
cobalt_indigo 31
delta_indigo 9
cobalt_delta 3
indigo_grove 114
juniper_delta 93
| harbor fable
ember grove
harbor fable
juniper amber
cobalt indigo
delta indigo
cobalt delta
indigo grove
juniper delta
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041363-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | indigo_amber 87
amber_birch 94
birch_cobalt 82
amber_grove 95
juniper_juniper 4
juniper_fable 0
| indigo amber
amber birch
birch cobalt
amber grove
juniper juniper
juniper fable
| harbor_fable 97
ember_grove 30
harbor_fable 115
juniper_amber 79
cobalt_indigo 31
delta_indigo 9
cobalt_delta 3
indigo_grove 114
juniper_delta 93
| harbor fable
ember grove
harbor fable
juniper amber
cobalt indigo
delta indigo
cobalt delta
indigo grove
juniper delta
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041363 | qwen/qwen3.7-plus |
awkweave-0041364 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus birch 108 pending
hana indigo 115 ready
chen cobalt 64 failed
kim fable 66 paused
gus delta 75 active
eli birch 84 closed
farah juniper 36 closed
eli amber 5 active
kim amber 56 active
gus cobalt 25 active
| pending 108 birch gus
ready 115 indigo hana
failed 64 cobalt chen
paused 66 fable kim
active 75 delta gus
closed 84 birch eli
closed 36 juniper farah
active 5 amber eli
active 56 amber kim
active 25 cobalt gus
| chen delta 50 failed
farah amber 118 paused
eli indigo 21 closed
bruno fable 10 pending
chen grove 17 failed
chen delta 68 ready
alice amber 83 ready
eli delta 30 pending
chen grove 52 pending
hana grove 69 active
| failed 50 delta chen
paused 118 amber farah
closed 21 indigo eli
pending 10 fable bruno
failed 17 grove chen
ready 68 delta chen
ready 83 amber alice
pending 30 delta eli
pending 52 grove chen
active 69 grove hana
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041364-p1 | Reverse the sequence of fields on each line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus birch 108 pending
hana indigo 115 ready
chen cobalt 64 failed
kim fable 66 paused
gus delta 75 active
eli birch 84 closed
farah juniper 36 closed
eli amber 5 active
kim amber 56 active
gus cobalt 25 active
| pending 108 birch gus
ready 115 indigo hana
failed 64 cobalt chen
paused 66 fable kim
active 75 delta gus
closed 84 birch eli
closed 36 juniper farah
active 5 amber eli
active 56 amber kim
active 25 cobalt gus
| chen delta 50 failed
farah amber 118 paused
eli indigo 21 closed
bruno fable 10 pending
chen grove 17 failed
chen delta 68 ready
alice amber 83 ready
eli delta 30 pending
chen grove 52 pending
hana grove 69 active
| failed 50 delta chen
paused 118 amber farah
closed 21 indigo eli
pending 10 fable bruno
failed 17 grove chen
ready 68 delta chen
ready 83 amber alice
pending 30 delta eli
pending 52 grove chen
active 69 grove hana
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041364 | qwen/qwen3.7-plus |
awkweave-0041365 | Print the number of whitespace-separated fields on each line. | {print NF} | lina grove 73 paused
eli fable 90 paused
chen amber 45 closed
eli fable 97 closed
gus juniper 5 ready
ivan cobalt 112 ready
hana amber 21 active
gus amber 56 active
lina fable 53 paused
jules birch 88 paused
| 4
4
4
4
4
4
4
4
4
4
| chen cobalt 86 paused
jules ember 103 pending
lina indigo 68 closed
alice indigo 21 closed
dina ember 57 failed
gus amber 80 closed
hana cobalt 62 failed
alice cobalt 71 ready
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041365-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | lina grove 73 paused
eli fable 90 paused
chen amber 45 closed
eli fable 97 closed
gus juniper 5 ready
ivan cobalt 112 ready
hana amber 21 active
gus amber 56 active
lina fable 53 paused
jules birch 88 paused
| 4
4
4
4
4
4
4
4
4
4
| chen cobalt 86 paused
jules ember 103 pending
lina indigo 68 closed
alice indigo 21 closed
dina ember 57 failed
gus amber 80 closed
hana cobalt 62 failed
alice cobalt 71 ready
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041365 | qwen/qwen3.7-plus |
awkweave-0041366 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno gamma 86
farah beta 8
jules gamma 23
chen gamma 47
lina delta 53
farah beta 29
| gamma 3
beta 2
delta 1
| chen beta 37
farah delta 51
lina gamma 94
ivan beta 19
jules gamma 90
bruno gamma 11
lina delta 39
dina delta 73
jules beta 82
| beta 3
delta 3
gamma 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041366-p1 | Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno gamma 86
farah beta 8
jules gamma 23
chen gamma 47
lina delta 53
farah beta 29
| gamma 3
beta 2
delta 1
| chen beta 37
farah delta 51
lina gamma 94
ivan beta 19
jules gamma 90
bruno gamma 11
lina delta 39
dina delta 73
jules beta 82
| beta 3
delta 3
gamma 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041366 | qwen/qwen3.7-plus |
awkweave-0041367 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | jules alpha 10
eli beta 1
bruno gamma 12
bruno gamma 3
jules gamma 29
alice gamma 3
hana gamma 22
| alpha 10
beta 1
gamma 69
| eli gamma 17
farah gamma 3
eli gamma 11
jules delta 19
farah alpha 21
bruno gamma 11
gus alpha 14
| gamma 42
delta 19
alpha 35
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041367-p1 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | jules alpha 10
eli beta 1
bruno gamma 12
bruno gamma 3
jules gamma 29
alice gamma 3
hana gamma 22
| alpha 10
beta 1
gamma 69
| eli gamma 17
farah gamma 3
eli gamma 11
jules delta 19
farah alpha 21
bruno gamma 11
gus alpha 14
| gamma 42
delta 19
alpha 35
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0041367 | qwen/qwen3.7-plus |
awkweave-0041368 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma ember 68
delta juniper 71
delta cobalt 70
beta amber 89
beta indigo 24
delta delta 92
| delta 3
beta 2
| alpha delta 40
delta fable 118
beta delta 70
delta fable 30
gamma birch 115
beta birch 30
gamma harbor 67
beta juniper 65
beta harbor 115
beta birch 99
| delta 2
beta 5
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041368-p1 | Identify duplicate entries in column 1 and output each repeated value with its total occurrence count, sorted by the order of first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma ember 68
delta juniper 71
delta cobalt 70
beta amber 89
beta indigo 24
delta delta 92
| delta 3
beta 2
| alpha delta 40
delta fable 118
beta delta 70
delta fable 30
gamma birch 115
beta birch 30
gamma harbor 67
beta juniper 65
beta harbor 115
beta birch 99
| delta 2
beta 5
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041368 | qwen/qwen3.7-plus |
awkweave-0041369 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note score state display_name
r001 bruno 28 closed
r002 eli 6 ready
r003 ivan 2 pending
r004 chen 12 paused
r005 alice 10 closed
r006 gus 14 closed
| closed
ready
pending
paused
closed
closed
| note score state display_name
r001 gus 6 ready
r002 ivan 9 failed
r003 lina 3 closed
r004 eli 12 failed
r005 lina 17 paused
r006 dina 14 pending
r007 chen 8 closed
r008 lina 20 ready
| ready
failed
closed
failed
paused
pending
closed
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041369-p1 | Treating the first line as a header, extract and print the values from the display_name column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note score state display_name
r001 bruno 28 closed
r002 eli 6 ready
r003 ivan 2 pending
r004 chen 12 paused
r005 alice 10 closed
r006 gus 14 closed
| closed
ready
pending
paused
closed
closed
| note score state display_name
r001 gus 6 ready
r002 ivan 9 failed
r003 lina 3 closed
r004 eli 12 failed
r005 lina 17 paused
r006 dina 14 pending
r007 chen 8 closed
r008 lina 20 ready
| ready
failed
closed
failed
paused
pending
closed
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041369 | qwen/qwen3.7-plus |
awkweave-0041370 | The first row is a header. Print display_name for data rows whose score is greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 gus 22 closed
r002 alice 29 paused
r003 alice 4 failed
r004 gus 20 failed
r005 hana 13 failed
r006 chen 27 paused
r007 eli 1 pending
r008 gus 18 ready
r009 hana 12 pending
r010 bruno 27 pending
| gus
alice
gus
chen
gus
bruno
| record_id display_name score state
r001 eli 22 closed
r002 dina 15 failed
r003 hana 4 failed
r004 bruno 9 closed
r005 gus 24 paused
r006 farah 23 pending
r007 dina 3 paused
| eli
gus
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041370-p1 | With the first row serving as a header, output the display_name field for any data row where the score value is strictly greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 gus 22 closed
r002 alice 29 paused
r003 alice 4 failed
r004 gus 20 failed
r005 hana 13 failed
r006 chen 27 paused
r007 eli 1 pending
r008 gus 18 ready
r009 hana 12 pending
r010 bruno 27 pending
| gus
alice
gus
chen
gus
bruno
| record_id display_name score state
r001 eli 22 closed
r002 dina 15 failed
r003 hana 4 failed
r004 bruno 9 closed
r005 gus 24 paused
r006 farah 23 pending
r007 dina 3 paused
| eli
gus
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041370 | qwen/qwen3.7-plus |
awkweave-0041371 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | lina 12 closed
farah 26 pending
eli 6 failed
ivan 19 failed
bruno 28 ready
dina 11 active
farah 24 ready
| closed
pending
failed
failed
ready
active
ready
| ivan 8 failed
alice 8 closed
dina 11 pending
alice 12 failed
lina 17 closed
alice 20 closed
alice 5 ready
gus 1 pending
hana 27 pending
| failed
closed
pending
failed
closed
closed
ready
pending
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041371-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | lina 12 closed
farah 26 pending
eli 6 failed
ivan 19 failed
bruno 28 ready
dina 11 active
farah 24 ready
| closed
pending
failed
failed
ready
active
ready
| ivan 8 failed
alice 8 closed
dina 11 pending
alice 12 failed
lina 17 closed
alice 20 closed
alice 5 ready
gus 1 pending
hana 27 pending
| failed
closed
pending
failed
closed
closed
ready
pending
pending
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041371 | qwen/qwen3.7-plus |
awkweave-0041372 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | lina,6,failed
dina,4,active
gus,15,pending
jules,28,active
kim,30,failed
bruno,20,paused
dina,9,pending
eli,18,pending
bruno,27,failed
lina,7,paused
| gus
jules
kim
bruno
eli
bruno
| kim,13,active
hana,13,failed
chen,24,failed
bruno,7,pending
jules,11,paused
jules,10,closed
lina,16,failed
chen,20,ready
| kim
hana
chen
jules
jules
lina
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041372-p1 | Process simple comma-separated data without quoted commas by printing the first column whenever the value in the second column is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | lina,6,failed
dina,4,active
gus,15,pending
jules,28,active
kim,30,failed
bruno,20,paused
dina,9,pending
eli,18,pending
bruno,27,failed
lina,7,paused
| gus
jules
kim
bruno
eli
bruno
| kim,13,active
hana,13,failed
chen,24,failed
bruno,7,pending
jules,11,paused
jules,10,closed
lina,16,failed
chen,20,ready
| kim
hana
chen
jules
jules
lina
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041372 | qwen/qwen3.7-plus |
awkweave-0041373 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan harbor 2
jules ember 45
alice birch 109
ivan fable 35
alice birch 107
dina indigo 72
bruno ember 62
alice juniper 109
dina fable 30
alice amber 9
| ivan harbor 2
jules ember 45
alice birch 109
ivan fable 35
alice birch 107
dina indigo 72
bruno ember 62
alice juniper 109
dina fable 30
alice amber 9
| chen fable 13
bruno juniper 34
kim birch 106
lina birch 100
kim birch 113
lina harbor 119
kim grove 48
| chen fable 13
bruno juniper 34
kim birch 106
lina birch 100
kim birch 113
lina harbor 119
kim grove 48
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041373-p1 | Remove leading and trailing whitespace from the text and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | ivan harbor 2
jules ember 45
alice birch 109
ivan fable 35
alice birch 107
dina indigo 72
bruno ember 62
alice juniper 109
dina fable 30
alice amber 9
| ivan harbor 2
jules ember 45
alice birch 109
ivan fable 35
alice birch 107
dina indigo 72
bruno ember 62
alice juniper 109
dina fable 30
alice amber 9
| chen fable 13
bruno juniper 34
kim birch 106
lina birch 100
kim birch 113
lina harbor 119
kim grove 48
| chen fable 13
bruno juniper 34
kim birch 106
lina birch 100
kim birch 113
lina harbor 119
kim grove 48
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041373 | qwen/qwen3.7-plus |
awkweave-0041374 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli juniper 72 closed
ivan harbor 27 pending
ivan ember 72 failed
kim delta 40 failed
lina birch 2 failed
chen harbor 61 failed
dina indigo 48 ready
eli delta 20 active
kim birch 43 active
| ivan harbor 27 pending
| ivan juniper 28 pending
chen birch 27 closed
bruno harbor 113 failed
ivan juniper 88 paused
alice indigo 78 active
farah delta 26 paused
dina birch 28 closed
ivan amber 74 failed
dina harbor 96 failed
| ivan juniper 28 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041374-p1 | Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli juniper 72 closed
ivan harbor 27 pending
ivan ember 72 failed
kim delta 40 failed
lina birch 2 failed
chen harbor 61 failed
dina indigo 48 ready
eli delta 20 active
kim birch 43 active
| ivan harbor 27 pending
| ivan juniper 28 pending
chen birch 27 closed
bruno harbor 113 failed
ivan juniper 88 paused
alice indigo 78 active
farah delta 26 paused
dina birch 28 closed
ivan amber 74 failed
dina harbor 96 failed
| ivan juniper 28 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041374 | qwen/qwen3.7-plus |
awkweave-0041375 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | gus 65
jules 50
eli 44
farah 81
farah 120
ivan 79
| farah 81
| bruno 3
eli 1
lina 26
dina 13
kim 99
kim 107
kim 80
farah 14
hana 79
jules 64
| dina 13
farah 14
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041375-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | gus 65
jules 50
eli 44
farah 81
farah 120
ivan 79
| farah 81
| bruno 3
eli 1
lina 26
dina 13
kim 99
kim 107
kim 80
farah 14
hana 79
jules 64
| dina 13
farah 14
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041375 | qwen/qwen3.7-plus |
awkweave-0041376 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta delta 17
beta grove 64
gamma harbor 70
gamma juniper 75
delta grove 40
alpha grove 21
alpha indigo 64
beta harbor 105
delta fable 19
| 4
| beta amber 92
alpha delta 55
beta grove 70
beta delta 83
beta delta 114
gamma amber 102
alpha harbor 108
beta amber 72
alpha indigo 18
gamma cobalt 113
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041376-p1 | Determine the number of unique values present in column 1 and print only this total count. | {if(!seen[$1]++)n++}END{print n+0} | beta delta 17
beta grove 64
gamma harbor 70
gamma juniper 75
delta grove 40
alpha grove 21
alpha indigo 64
beta harbor 105
delta fable 19
| 4
| beta amber 92
alpha delta 55
beta grove 70
beta delta 83
beta delta 114
gamma amber 102
alpha harbor 108
beta amber 72
alpha indigo 18
gamma cobalt 113
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041376 | qwen/qwen3.7-plus |
awkweave-0041377 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 18 0
hana 13 24
gus 24 24
kim 27 3
jules 4 17
dina 2 14
chen 20 7
ivan 27 1
| hana 0.54
gus 1.00
kim 9.00
jules 0.24
dina 0.14
chen 2.86
ivan 27.00
| farah 28 0
gus 29 6
farah 27 25
farah 21 22
lina 27 26
alice 26 12
ivan 23 18
eli 29 17
gus 10 24
farah 28 2
| gus 4.83
farah 1.08
farah 0.95
lina 1.04
alice 2.17
ivan 1.28
eli 1.71
gus 0.42
farah 14.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041377-p1 | For each row, compute column 1 plus column 2 divided by column 3, formatted to two decimal places, while skipping any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 18 0
hana 13 24
gus 24 24
kim 27 3
jules 4 17
dina 2 14
chen 20 7
ivan 27 1
| hana 0.54
gus 1.00
kim 9.00
jules 0.24
dina 0.14
chen 2.86
ivan 27.00
| farah 28 0
gus 29 6
farah 27 25
farah 21 22
lina 27 26
alice 26 12
ivan 23 18
eli 29 17
gus 10 24
farah 28 2
| gus 4.83
farah 1.08
farah 0.95
lina 1.04
alice 2.17
ivan 1.28
eli 1.71
gus 0.42
farah 14.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041377 | qwen/qwen3.7-plus |
awkweave-0041378 | 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]} | alice fable 5
gus indigo 24
bruno juniper 4
hana amber 22
ivan juniper 14
jules delta 20
gus grove 4
dina birch 10
| gus indigo 24
hana amber 22
jules delta 20
| lina harbor 14
kim juniper 9
farah delta 18
bruno harbor 7
hana harbor 16
lina cobalt 17
| farah delta 18
lina cobalt 17
hana harbor 16
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041378-p1 | Output the top three full records based on the highest numeric values in the third column, sorted in descending order, while maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | alice fable 5
gus indigo 24
bruno juniper 4
hana amber 22
ivan juniper 14
jules delta 20
gus grove 4
dina birch 10
| gus indigo 24
hana amber 22
jules delta 20
| lina harbor 14
kim juniper 9
farah delta 18
bruno harbor 7
hana harbor 16
lina cobalt 17
| farah delta 18
lina cobalt 17
hana harbor 16
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041378 | qwen/qwen3.7-plus |
awkweave-0041379 | Print column 3 followed by column 1 for every record. | {print $3, $1} | ready closed kim 58
paused active hana 44
active ready alice 78
failed active dina 6
failed ready jules 49
closed failed farah 111
failed ready lina 67
| kim ready
hana paused
alice active
dina failed
jules failed
farah closed
lina failed
| pending pending bruno 41
ready pending farah 0
pending pending eli 19
paused paused ivan 83
paused paused alice 91
ready failed kim 108
| bruno pending
farah ready
eli pending
ivan paused
alice paused
kim ready
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041379-p1 | For each record, display the value from column 3 followed by the value from column 1. | {print $3, $1} | ready closed kim 58
paused active hana 44
active ready alice 78
failed active dina 6
failed ready jules 49
closed failed farah 111
failed ready lina 67
| kim ready
hana paused
alice active
dina failed
jules failed
farah closed
lina failed
| pending pending bruno 41
ready pending farah 0
pending pending eli 19
paused paused ivan 83
paused paused alice 91
ready failed kim 108
| bruno pending
farah ready
eli pending
ivan paused
alice paused
kim ready
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041379 | qwen/qwen3.7-plus |
awkweave-0041380 | Print the last field of every input line. | {print $NF} | 72 ready fable birch
54 failed indigo fable
48 active grove harbor
5 active birch cobalt
24 active indigo indigo
35 ready harbor delta
| birch
fable
harbor
cobalt
indigo
delta
| 36 active cobalt indigo
107 pending grove cobalt
29 pending fable grove
62 pending cobalt indigo
100 pending harbor amber
44 pending juniper birch
44 ready amber ember
| indigo
cobalt
grove
indigo
amber
birch
ember
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0041380-p1 | Extract and print the final field from every line of input. | {print $NF} | 72 ready fable birch
54 failed indigo fable
48 active grove harbor
5 active birch cobalt
24 active indigo indigo
35 ready harbor delta
| birch
fable
harbor
cobalt
indigo
delta
| 36 active cobalt indigo
107 pending grove cobalt
29 pending fable grove
62 pending cobalt indigo
100 pending harbor amber
44 pending juniper birch
44 ready amber ember
| indigo
cobalt
grove
indigo
amber
birch
ember
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0041380 | qwen/qwen3.7-plus |
awkweave-0041381 | Print the complete records where column 2 is at most 33. | $2 <= 33 | hana 71 pending pending
lina 62 ready ready
jules 82 paused failed
lina 93 paused paused
dina 8 ready closed
dina 54 ready closed
ivan 80 active ready
chen 18 failed ready
| dina 8 ready closed
chen 18 failed ready
| hana 47 ready failed
farah 49 failed active
chen 79 closed failed
jules 7 failed pending
ivan 1 ready paused
farah 82 closed paused
chen 24 paused paused
lina 10 pending closed
alice 115 closed failed
gus 111 paused pending
| jules 7 failed pending
ivan 1 ready paused
chen 24 paused paused
lina 10 pending closed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.