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-0040051-p1 | For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 17 0
kim 21 21
bruno 27 23
chen 8 6
bruno 8 21
lina 27 29
eli 1 22
chen 5 5
| kim 1.00
bruno 1.17
chen 1.33
bruno 0.38
lina 0.93
eli 0.05
chen 1.00
| dina 1 0
alice 16 20
lina 10 30
eli 8 19
kim 1 12
dina 21 10
bruno 4 30
kim 28 18
| alice 0.80
lina 0.33
eli 0.42
kim 0.08
dina 2.10
bruno 0.13
kim 1.56
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040051 | qwen/qwen3.7-plus |
awkweave-0040052 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | eli juniper 9
gus juniper 26
eli amber 14
bruno birch 20
lina amber 24
farah cobalt 8
chen indigo 5
| gus juniper 26
lina amber 24
bruno birch 20
| gus ember 14
chen ember 4
ivan birch 26
chen cobalt 20
chen grove 25
bruno harbor 16
ivan cobalt 13
alice amber 6
eli amber 14
hana grove 28
| hana grove 28
ivan birch 26
chen grove 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040052-p1 | Display the top three records with the highest numeric values in column 3, sorted in descending order, while maintaining the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | eli juniper 9
gus juniper 26
eli amber 14
bruno birch 20
lina amber 24
farah cobalt 8
chen indigo 5
| gus juniper 26
lina amber 24
bruno birch 20
| gus ember 14
chen ember 4
ivan birch 26
chen cobalt 20
chen grove 25
bruno harbor 16
ivan cobalt 13
alice amber 6
eli amber 14
hana grove 28
| hana grove 28
ivan birch 26
chen grove 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040052 | qwen/qwen3.7-plus |
awkweave-0040053 | For each line, output fields 5 and 1, in that order. | {print $5, $1} | kim ready ready alice lina harbor
bruno active closed kim bruno birch
hana ready paused ivan dina grove
hana ready active kim alice harbor
bruno pending failed hana gus indigo
alice paused failed bruno jules ember
| lina kim
bruno bruno
dina hana
alice hana
gus bruno
jules alice
| farah failed closed bruno dina fable
gus paused active lina dina fable
alice ready paused gus chen fable
lina pending closed gus hana cobalt
gus failed pending chen jules cobalt
farah paused pending alice farah birch
eli closed closed farah farah delta
chen ready closed eli lina birch
chen ready closed alice alice harb... | dina farah
dina gus
chen alice
hana lina
jules gus
farah farah
farah eli
lina chen
alice chen
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040053-p1 | Output the fifth field followed by the first field for every line. | {print $5, $1} | kim ready ready alice lina harbor
bruno active closed kim bruno birch
hana ready paused ivan dina grove
hana ready active kim alice harbor
bruno pending failed hana gus indigo
alice paused failed bruno jules ember
| lina kim
bruno bruno
dina hana
alice hana
gus bruno
jules alice
| farah failed closed bruno dina fable
gus paused active lina dina fable
alice ready paused gus chen fable
lina pending closed gus hana cobalt
gus failed pending chen jules cobalt
farah paused pending alice farah birch
eli closed closed farah farah delta
chen ready closed eli lina birch
chen ready closed alice alice harb... | dina farah
dina gus
chen alice
hana lina
jules gus
farah farah
farah eli
lina chen
alice chen
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040053 | qwen/qwen3.7-plus |
awkweave-0040054 | Print the last field of every input line. | {print $NF} | paused 98 gus delta bruno amber juniper
closed 6 eli juniper alice amber indigo
failed 102 bruno amber kim grove cobalt
paused 110 chen indigo jules harbor fable
closed 55 kim delta eli juniper grove
ready 107 ivan juniper eli juniper harbor
pending 53 gus amber farah birch grove
| juniper
indigo
cobalt
fable
grove
harbor
grove
| active 31 kim amber alice indigo fable
closed 43 alice grove kim birch amber
failed 100 alice harbor alice ember grove
ready 42 bruno birch kim juniper ember
pending 47 dina birch chen harbor grove
active 12 kim juniper ivan harbor amber
paused 30 ivan harbor jules fable amber
| fable
amber
grove
ember
grove
amber
amber
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040054-p1 | Print the final field from each line of input. | {print $NF} | paused 98 gus delta bruno amber juniper
closed 6 eli juniper alice amber indigo
failed 102 bruno amber kim grove cobalt
paused 110 chen indigo jules harbor fable
closed 55 kim delta eli juniper grove
ready 107 ivan juniper eli juniper harbor
pending 53 gus amber farah birch grove
| juniper
indigo
cobalt
fable
grove
harbor
grove
| active 31 kim amber alice indigo fable
closed 43 alice grove kim birch amber
failed 100 alice harbor alice ember grove
ready 42 bruno birch kim juniper ember
pending 47 dina birch chen harbor grove
active 12 kim juniper ivan harbor amber
paused 30 ivan harbor jules fable amber
| fable
amber
grove
ember
grove
amber
amber
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040054 | qwen/qwen3.7-plus |
awkweave-0040055 | Print the complete records where column 4 is at most 76. | $4 <= 76 | kim eli failed 86 pending
jules hana failed 96 paused
dina alice paused 119 active
gus dina closed 23 failed
kim lina paused 104 ready
alice jules failed 77 ready
bruno farah active 70 failed
lina dina paused 34 pending
bruno eli pending 62 active
| gus dina closed 23 failed
bruno farah active 70 failed
lina dina paused 34 pending
bruno eli pending 62 active
| ivan hana closed 90 paused
bruno lina closed 5 pending
ivan dina failed 103 closed
hana alice ready 90 pending
kim dina pending 55 ready
chen chen paused 25 pending
farah lina paused 12 failed
chen alice paused 58 paused
| bruno lina closed 5 pending
kim dina pending 55 ready
chen chen paused 25 pending
farah lina paused 12 failed
chen alice paused 58 paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040055-p1 | Output full records where the value in the fourth column is less than or equal to 76. | $4 <= 76 | kim eli failed 86 pending
jules hana failed 96 paused
dina alice paused 119 active
gus dina closed 23 failed
kim lina paused 104 ready
alice jules failed 77 ready
bruno farah active 70 failed
lina dina paused 34 pending
bruno eli pending 62 active
| gus dina closed 23 failed
bruno farah active 70 failed
lina dina paused 34 pending
bruno eli pending 62 active
| ivan hana closed 90 paused
bruno lina closed 5 pending
ivan dina failed 103 closed
hana alice ready 90 pending
kim dina pending 55 ready
chen chen paused 25 pending
farah lina paused 12 failed
chen alice paused 58 paused
| bruno lina closed 5 pending
kim dina pending 55 ready
chen chen paused 25 pending
farah lina paused 12 failed
chen alice paused 58 paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040055 | qwen/qwen3.7-plus |
awkweave-0040056 | Show whole lines whose 2nd field is between 7 and 29, inclusive. | $2 >= 7 && $2 <= 29 | grove 6 ivan dina
delta 28 dina jules
delta 24 kim jules
delta 18 ivan ivan
grove 7 ivan lina
juniper 13 bruno kim
| delta 28 dina jules
delta 24 kim jules
delta 18 ivan ivan
grove 7 ivan lina
juniper 13 bruno kim
| juniper 1 jules ivan
delta 2 jules gus
grove 19 farah jules
indigo 17 dina jules
grove 5 jules jules
ember 8 eli lina
amber 5 dina hana
harbor 16 jules chen
| grove 19 farah jules
indigo 17 dina jules
ember 8 eli lina
harbor 16 jules chen
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040056-p1 | Display entire lines where the second field falls within the inclusive range of 7 to 29. | $2 >= 7 && $2 <= 29 | grove 6 ivan dina
delta 28 dina jules
delta 24 kim jules
delta 18 ivan ivan
grove 7 ivan lina
juniper 13 bruno kim
| delta 28 dina jules
delta 24 kim jules
delta 18 ivan ivan
grove 7 ivan lina
juniper 13 bruno kim
| juniper 1 jules ivan
delta 2 jules gus
grove 19 farah jules
indigo 17 dina jules
grove 5 jules jules
ember 8 eli lina
amber 5 dina hana
harbor 16 jules chen
| grove 19 farah jules
indigo 17 dina jules
ember 8 eli lina
harbor 16 jules chen
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040056 | qwen/qwen3.7-plus |
awkweave-0040057 | Print column 2 only for rows where column 4 is exactly pending. | $4 == "pending"{print $2} | grove kim 13 pending
grove bruno 66 ready
cobalt chen 0 pending
juniper hana 5 failed
ember alice 40 closed
amber gus 20 pending
amber kim 19 active
| kim
chen
gus
| fable chen 118 failed
delta kim 82 paused
indigo kim 20 active
ember farah 45 active
fable kim 24 closed
ember hana 102 active
indigo ivan 92 closed
grove eli 34 ready
amber alice 37 closed
ember kim 33 ready
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0040057-p1 | Print only the second column for rows where the fourth column contains the exact string 'pending'. | $4 == "pending"{print $2} | grove kim 13 pending
grove bruno 66 ready
cobalt chen 0 pending
juniper hana 5 failed
ember alice 40 closed
amber gus 20 pending
amber kim 19 active
| kim
chen
gus
| fable chen 118 failed
delta kim 82 paused
indigo kim 20 active
ember farah 45 active
fable kim 24 closed
ember hana 102 active
indigo ivan 92 closed
grove eli 34 ready
amber alice 37 closed
ember kim 33 ready
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040057 | qwen/qwen3.7-plus | |
awkweave-0040058 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | WARN 83 fable
WARN 72 amber
ERROR 28 birch
INFO 100 cobalt
DEBUG 4 ember
DEBUG 4 harbor
INFO 51 fable
INFO 82 harbor
| INFO 100 cobalt
INFO 51 fable
INFO 82 harbor
| ERROR 62 cobalt
ERROR 80 birch
ERROR 97 indigo
DEBUG 63 cobalt
WARN 10 delta
ERROR 1 amber
INFO 42 ember
| INFO 42 ember
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040058-p1 | Print all fields from lines where the first field starts with the prefix 'INFO'. | $1 ~ /^INFO/ | WARN 83 fable
WARN 72 amber
ERROR 28 birch
INFO 100 cobalt
DEBUG 4 ember
DEBUG 4 harbor
INFO 51 fable
INFO 82 harbor
| INFO 100 cobalt
INFO 51 fable
INFO 82 harbor
| ERROR 62 cobalt
ERROR 80 birch
ERROR 97 indigo
DEBUG 63 cobalt
WARN 10 delta
ERROR 1 amber
INFO 42 ember
| INFO 42 ember
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040058 | qwen/qwen3.7-plus |
awkweave-0040059 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | cobalt 75 closed
fable 60 paused
fable 32 closed
birch 80 failed
ember 98 ready
harbor 18 ready
cobalt 74 paused
juniper 99 ready
birch 54 ready
indigo 999 active
| cobalt 75 closed
fable 60 paused
fable 32 closed
birch 80 failed
ember 98 ready
harbor 18 ready
cobalt 74 paused
juniper 99 ready
birch 54 ready
| ember 83 failed
cobalt 49 ready
delta 65 pending
ember 68 paused
juniper 91 pending
cobalt 99 ready
indigo 999 active
| ember 83 failed
cobalt 49 ready
delta 65 pending
ember 68 paused
juniper 91 pending
cobalt 99 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040059-p1 | Output every line that does not contain the exact string 'indigo'. | $0 !~ /indigo/ | cobalt 75 closed
fable 60 paused
fable 32 closed
birch 80 failed
ember 98 ready
harbor 18 ready
cobalt 74 paused
juniper 99 ready
birch 54 ready
indigo 999 active
| cobalt 75 closed
fable 60 paused
fable 32 closed
birch 80 failed
ember 98 ready
harbor 18 ready
cobalt 74 paused
juniper 99 ready
birch 54 ready
| ember 83 failed
cobalt 49 ready
delta 65 pending
ember 68 paused
juniper 91 pending
cobalt 99 ready
indigo 999 active
| ember 83 failed
cobalt 49 ready
delta 65 pending
ember 68 paused
juniper 91 pending
cobalt 99 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040059 | qwen/qwen3.7-plus |
awkweave-0040060 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | eli indigo 79
jules cobalt 45
chen delta 90
dina birch 25
jules delta 0
kim fable 26
alice cobalt 21
| chen delta 90
dina birch 25
| ivan amber 66
dina birch 70
chen harbor 2
gus grove 15
gus juniper 62
kim fable 55
dina ember 39
hana indigo 38
chen birch 7
gus indigo 62
| chen harbor 2
gus grove 15
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040060-p1 | Display lines 3 to 4, inclusive of both endpoints. | NR >= 3 && NR <= 4 | eli indigo 79
jules cobalt 45
chen delta 90
dina birch 25
jules delta 0
kim fable 26
alice cobalt 21
| chen delta 90
dina birch 25
| ivan amber 66
dina birch 70
chen harbor 2
gus grove 15
gus juniper 62
kim fable 55
dina ember 39
hana indigo 38
chen birch 7
gus indigo 62
| chen harbor 2
gus grove 15
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040060 | qwen/qwen3.7-plus |
awkweave-0040061 | Output only the first 2 records. | NR <= 2 | bruno 52 ember
jules 40 fable
dina 49 juniper
hana 72 grove
farah 77 grove
farah 109 birch
farah 2 amber
eli 48 amber
| bruno 52 ember
jules 40 fable
| hana 3 indigo
alice 112 delta
lina 49 fable
ivan 27 birch
kim 107 delta
hana 51 delta
dina 35 juniper
bruno 21 fable
gus 23 amber
| hana 3 indigo
alice 112 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040061-p1 | Output just the initial 2 records. | NR <= 2 | bruno 52 ember
jules 40 fable
dina 49 juniper
hana 72 grove
farah 77 grove
farah 109 birch
farah 2 amber
eli 48 amber
| bruno 52 ember
jules 40 fable
| hana 3 indigo
alice 112 delta
lina 49 fable
ivan 27 birch
kim 107 delta
hana 51 delta
dina 35 juniper
bruno 21 fable
gus 23 amber
| hana 3 indigo
alice 112 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040061 | qwen/qwen3.7-plus |
awkweave-0040062 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 36 delta
chen 34 harbor
eli 23 harbor
eli 102 grove
kim 59 harbor
jules 77 birch
bruno 4 juniper
hana 120 juniper
chen 34 ember
| chen 34 harbor
eli 23 harbor
eli 102 grove
kim 59 harbor
jules 77 birch
bruno 4 juniper
hana 120 juniper
chen 34 ember
| hana 25 harbor
lina 86 fable
eli 76 fable
ivan 33 indigo
gus 82 indigo
kim 12 grove
ivan 120 delta
gus 74 delta
bruno 45 grove
eli 67 juniper
| lina 86 fable
eli 76 fable
ivan 33 indigo
gus 82 indigo
kim 12 grove
ivan 120 delta
gus 74 delta
bruno 45 grove
eli 67 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040062-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | gus 36 delta
chen 34 harbor
eli 23 harbor
eli 102 grove
kim 59 harbor
jules 77 birch
bruno 4 juniper
hana 120 juniper
chen 34 ember
| chen 34 harbor
eli 23 harbor
eli 102 grove
kim 59 harbor
jules 77 birch
bruno 4 juniper
hana 120 juniper
chen 34 ember
| hana 25 harbor
lina 86 fable
eli 76 fable
ivan 33 indigo
gus 82 indigo
kim 12 grove
ivan 120 delta
gus 74 delta
bruno 45 grove
eli 67 juniper
| lina 86 fable
eli 76 fable
ivan 33 indigo
gus 82 indigo
kim 12 grove
ivan 120 delta
gus 74 delta
bruno 45 grove
eli 67 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040062 | qwen/qwen3.7-plus |
awkweave-0040063 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | bruno paused 86
eli failed 60
alice ready 3
hana failed 84
gus ready 55
gus pending 16
farah paused 92
hana failed 8
| 2
| bruno closed 45
lina closed 65
farah failed 89
hana active 32
lina active 118
dina ready 18
ivan closed 112
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040063-p1 | Count the number of records where column 2 is 'paused', printing 0 if none match. | $2 == "paused"{n++}END{print n+0} | bruno paused 86
eli failed 60
alice ready 3
hana failed 84
gus ready 55
gus pending 16
farah paused 92
hana failed 8
| 2
| bruno closed 45
lina closed 65
farah failed 89
hana active 32
lina active 118
dina ready 18
ivan closed 112
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040063 | qwen/qwen3.7-plus |
awkweave-0040064 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | chen 2 delta
dina 9 fable
farah 10 delta
dina 2 indigo
alice 7 indigo
jules 19 cobalt
chen 3 birch
| 52
| chen 21 ember
alice 8 grove
hana 1 harbor
hana 3 juniper
ivan 15 delta
lina 14 amber
alice 29 birch
gus 9 indigo
dina 21 delta
dina 2 grove
| 123
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040064-p1 | Compute and display the total sum of integer values in column 2. | {s+=$2}END{print s+0} | chen 2 delta
dina 9 fable
farah 10 delta
dina 2 indigo
alice 7 indigo
jules 19 cobalt
chen 3 birch
| 52
| chen 21 ember
alice 8 grove
hana 1 harbor
hana 3 juniper
ivan 15 delta
lina 14 amber
alice 29 birch
gus 9 indigo
dina 21 delta
dina 2 grove
| 123
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040064 | qwen/qwen3.7-plus |
awkweave-0040065 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | grove lina 14
ember ivan 15
juniper ivan 4
birch eli 22
birch dina 7
delta jules 11
| 12.17
| indigo farah 30
delta eli 25
birch chen 11
cobalt eli 16
amber farah 2
grove bruno 7
harbor bruno 11
birch ivan 4
| 13.25
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040065-p1 | Print the average of column 3, rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | grove lina 14
ember ivan 15
juniper ivan 4
birch eli 22
birch dina 7
delta jules 11
| 12.17
| indigo farah 30
delta eli 25
birch chen 11
cobalt eli 16
amber farah 2
grove bruno 7
harbor bruno 11
birch ivan 4
| 13.25
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040065 | qwen/qwen3.7-plus |
awkweave-0040066 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt farah 17
fable lina 4
ember eli 20
juniper alice 4
cobalt dina 11
cobalt jules 13
grove bruno 26
cobalt farah 23
amber lina 18
| 4
| birch dina 23
birch eli 16
grove bruno 17
ember farah 13
birch farah 20
harbor ivan 18
| 13
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040066-p1 | Identify and output the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt farah 17
fable lina 4
ember eli 20
juniper alice 4
cobalt dina 11
cobalt jules 13
grove bruno 26
cobalt farah 23
amber lina 18
| 4
| birch dina 23
birch eli 16
grove bruno 17
ember farah 13
birch farah 20
harbor ivan 18
| 13
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040066 | qwen/qwen3.7-plus |
awkweave-0040067 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | indigo 30 hana
juniper 25 farah
harbor 28 chen
grove 14 gus
cobalt 5 alice
indigo 23 kim
birch 4 ivan
amber 14 bruno
grove 9 alice
amber 3 dina
| 30
| amber 1 hana
grove 25 gus
cobalt 1 dina
harbor 22 kim
juniper 20 eli
cobalt 29 eli
delta 14 lina
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040067-p1 | Identify and output the maximum numeric value found in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | indigo 30 hana
juniper 25 farah
harbor 28 chen
grove 14 gus
cobalt 5 alice
indigo 23 kim
birch 4 ivan
amber 14 bruno
grove 9 alice
amber 3 dina
| 30
| amber 1 hana
grove 25 gus
cobalt 1 dina
harbor 22 kim
juniper 20 eli
cobalt 29 eli
delta 14 lina
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040067 | qwen/qwen3.7-plus |
awkweave-0040068 | Count all input records and print the total. | END{print NR} | ivan 53
eli 82
hana 117
jules 52
eli 50
chen 66
eli 107
gus 96
bruno 28
| 9
| kim 72
kim 52
hana 38
ivan 62
gus 23
hana 1
alice 42
gus 42
hana 36
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040068-p1 | Count the total number of input records and print the result. | END{print NR} | ivan 53
eli 82
hana 117
jules 52
eli 50
chen 66
eli 107
gus 96
bruno 28
| 9
| kim 72
kim 52
hana 38
ivan 62
gus 23
hana 1
alice 42
gus 42
hana 36
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040068 | qwen/qwen3.7-plus |
awkweave-0040069 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim cobalt 36
bruno fable 26
hana fable 86
lina grove 114
chen fable 49
farah amber 116
chen harbor 79
chen harbor 79
| kim cobalt 36
bruno fable 26
hana fable 86
lina grove 114
chen fable 49
farah amber 116
chen harbor 79
| bruno ember 81
ivan juniper 103
gus grove 79
ivan juniper 103
bruno birch 43
bruno ember 117
dina birch 42
| bruno ember 81
ivan juniper 103
gus grove 79
bruno birch 43
bruno ember 117
dina birch 42
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040069-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining original order. | !seen[$0]++ | kim cobalt 36
bruno fable 26
hana fable 86
lina grove 114
chen fable 49
farah amber 116
chen harbor 79
chen harbor 79
| kim cobalt 36
bruno fable 26
hana fable 86
lina grove 114
chen fable 49
farah amber 116
chen harbor 79
| bruno ember 81
ivan juniper 103
gus grove 79
ivan juniper 103
bruno birch 43
bruno ember 117
dina birch 42
| bruno ember 81
ivan juniper 103
gus grove 79
bruno birch 43
bruno ember 117
dina birch 42
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040069 | qwen/qwen3.7-plus |
awkweave-0040070 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim harbor 74
dina birch 113
chen cobalt 36
hana ember 88
lina indigo 94
farah grove 76
gus indigo 117
chen delta 57
| kim harbor 74
dina birch 113
chen cobalt 36
hana ember 88
lina indigo 94
farah grove 76
chen delta 57
| gus delta 115
farah juniper 75
ivan amber 33
chen indigo 99
dina ember 117
ivan grove 12
gus fable 65
jules birch 88
alice cobalt 118
eli birch 13
| gus delta 115
farah juniper 75
ivan amber 33
chen indigo 99
dina ember 117
ivan grove 12
gus fable 65
jules birch 88
alice cobalt 118
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040070-p1 | Retain only the first line for each unique value in column 2, preserving the input sequence. | !seen[$2]++ | kim harbor 74
dina birch 113
chen cobalt 36
hana ember 88
lina indigo 94
farah grove 76
gus indigo 117
chen delta 57
| kim harbor 74
dina birch 113
chen cobalt 36
hana ember 88
lina indigo 94
farah grove 76
chen delta 57
| gus delta 115
farah juniper 75
ivan amber 33
chen indigo 99
dina ember 117
ivan grove 12
gus fable 65
jules birch 88
alice cobalt 118
eli birch 13
| gus delta 115
farah juniper 75
ivan amber 33
chen indigo 99
dina ember 117
ivan grove 12
gus fable 65
jules birch 88
alice cobalt 118
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040070 | qwen/qwen3.7-plus |
awkweave-0040071 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 16 delta
lina 22 harbor
kim 1 amber
jules 11 indigo
bruno 23 amber
kim 30 fable
bruno 17 fable
| alice 16
lina 38
kim 39
jules 50
bruno 73
kim 103
bruno 120
| alice 21 amber
hana 4 juniper
kim 10 cobalt
hana 12 delta
alice 25 indigo
alice 23 amber
kim 22 amber
| alice 21
hana 25
kim 35
hana 47
alice 72
alice 95
kim 117
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040071-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 16 delta
lina 22 harbor
kim 1 amber
jules 11 indigo
bruno 23 amber
kim 30 fable
bruno 17 fable
| alice 16
lina 38
kim 39
jules 50
bruno 73
kim 103
bruno 120
| alice 21 amber
hana 4 juniper
kim 10 cobalt
hana 12 delta
alice 25 indigo
alice 23 amber
kim 22 amber
| alice 21
hana 25
kim 35
hana 47
alice 72
alice 95
kim 117
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040071 | qwen/qwen3.7-plus |
awkweave-0040072 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | alice 6 21 fable
gus 17 24 cobalt
eli 14 1 harbor
bruno 21 28 birch
gus 24 16 birch
eli 26 21 fable
kim 9 16 birch
hana 13 10 harbor
farah 10 3 juniper
| alice 27
gus 41
eli 15
bruno 49
gus 40
eli 47
kim 25
hana 23
farah 13
| bruno 7 16 delta
bruno 19 13 amber
lina 16 30 grove
farah 15 12 amber
eli 3 11 fable
farah 16 12 harbor
farah 22 10 juniper
| bruno 23
bruno 32
lina 46
farah 27
eli 14
farah 28
farah 32
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040072-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | alice 6 21 fable
gus 17 24 cobalt
eli 14 1 harbor
bruno 21 28 birch
gus 24 16 birch
eli 26 21 fable
kim 9 16 birch
hana 13 10 harbor
farah 10 3 juniper
| alice 27
gus 41
eli 15
bruno 49
gus 40
eli 47
kim 25
hana 23
farah 13
| bruno 7 16 delta
bruno 19 13 amber
lina 16 30 grove
farah 15 12 amber
eli 3 11 fable
farah 16 12 harbor
farah 22 10 juniper
| bruno 23
bruno 32
lina 46
farah 27
eli 14
farah 28
farah 32
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040072 | qwen/qwen3.7-plus |
awkweave-0040073 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | ivan 30
gus 14
alice 26
alice 9
gus 26
jules 26
bruno 16
farah 14
bruno 23
| ivan pass
gus fail
alice pass
alice fail
gus pass
jules pass
bruno fail
farah fail
bruno fail
| hana 4
chen 24
hana 2
ivan 7
farah 5
lina 22
hana 30
farah 10
| hana fail
chen fail
hana fail
ivan fail
farah fail
lina fail
hana pass
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040073-p1 | Output the first column; if the second column is 25 or more, print 'pass', otherwise print 'fail'. | {print $1,($2>=25?"pass":"fail")} | ivan 30
gus 14
alice 26
alice 9
gus 26
jules 26
bruno 16
farah 14
bruno 23
| ivan pass
gus fail
alice pass
alice fail
gus pass
jules pass
bruno fail
farah fail
bruno fail
| hana 4
chen 24
hana 2
ivan 7
farah 5
lina 22
hana 30
farah 10
| hana fail
chen fail
hana fail
ivan fail
farah fail
lina fail
hana pass
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040073 | qwen/qwen3.7-plus |
awkweave-0040074 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | bruno harbor 14
dina fable 101
bruno grove 1
farah amber 77
lina amber 106
jules cobalt 99
gus amber 79
gus cobalt 30
chen birch 113
ivan delta 22
| BRUNO
DINA
BRUNO
FARAH
LINA
JULES
GUS
GUS
CHEN
IVAN
| alice delta 13
hana indigo 110
gus amber 119
bruno delta 13
alice fable 106
ivan harbor 6
dina fable 16
ivan ember 14
jules fable 11
| ALICE
HANA
GUS
BRUNO
ALICE
IVAN
DINA
IVAN
JULES
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040074-p1 | Transform the first column to uppercase and display only that column. | {print toupper($1)} | bruno harbor 14
dina fable 101
bruno grove 1
farah amber 77
lina amber 106
jules cobalt 99
gus amber 79
gus cobalt 30
chen birch 113
ivan delta 22
| BRUNO
DINA
BRUNO
FARAH
LINA
JULES
GUS
GUS
CHEN
IVAN
| alice delta 13
hana indigo 110
gus amber 119
bruno delta 13
alice fable 106
ivan harbor 6
dina fable 16
ivan ember 14
jules fable 11
| ALICE
HANA
GUS
BRUNO
ALICE
IVAN
DINA
IVAN
JULES
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040074 | qwen/qwen3.7-plus |
awkweave-0040075 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | birch 44
juniper 52
harbor 69
birch 13
cobalt 68
fable 33
amber 39
grove 66
| rc
ni
rb
rc
ba
bl
be
ov
| juniper 113
grove 94
indigo 62
indigo 43
ember 32
ember 104
harbor 40
indigo 110
harbor 117
delta 72
| ni
ov
di
di
be
be
rb
di
rb
lt
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040075-p1 | Extract and print a 2-character substring from the first column, starting at the third character. | {print substr($1,3,2)} | birch 44
juniper 52
harbor 69
birch 13
cobalt 68
fable 33
amber 39
grove 66
| rc
ni
rb
rc
ba
bl
be
ov
| juniper 113
grove 94
indigo 62
indigo 43
ember 32
ember 104
harbor 40
indigo 110
harbor 117
delta 72
| ni
ov
di
di
be
be
rb
di
rb
lt
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040075 | qwen/qwen3.7-plus |
awkweave-0040076 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_harbor 11
delta_birch 28
grove_amber 82
cobalt_indigo 107
cobalt_delta 40
cobalt_fable 50
delta_amber 112
| grove harbor
delta birch
grove amber
cobalt indigo
cobalt delta
cobalt fable
delta amber
| delta_juniper 35
amber_amber 19
amber_birch 98
grove_ember 98
grove_indigo 98
juniper_harbor 11
| delta juniper
amber amber
amber birch
grove ember
grove indigo
juniper harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040076-p1 | Replace all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | grove_harbor 11
delta_birch 28
grove_amber 82
cobalt_indigo 107
cobalt_delta 40
cobalt_fable 50
delta_amber 112
| grove harbor
delta birch
grove amber
cobalt indigo
cobalt delta
cobalt fable
delta amber
| delta_juniper 35
amber_amber 19
amber_birch 98
grove_ember 98
grove_indigo 98
juniper_harbor 11
| delta juniper
amber amber
amber birch
grove ember
grove indigo
juniper harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040076 | qwen/qwen3.7-plus |
awkweave-0040077 | 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)} | bruno harbor 31 active
lina juniper 117 paused
dina ember 28 ready
kim amber 41 failed
lina delta 54 closed
gus fable 59 pending
farah fable 53 closed
alice fable 97 pending
hana fable 108 failed
| active 31 harbor bruno
paused 117 juniper lina
ready 28 ember dina
failed 41 amber kim
closed 54 delta lina
pending 59 fable gus
closed 53 fable farah
pending 97 fable alice
failed 108 fable hana
| kim indigo 18 failed
farah amber 11 ready
alice amber 111 ready
chen indigo 36 active
jules amber 67 failed
farah delta 6 paused
dina delta 69 paused
| failed 18 indigo kim
ready 11 amber farah
ready 111 amber alice
active 36 indigo chen
failed 67 amber jules
paused 6 delta farah
paused 69 delta dina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040077-p1 | Reverse the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno harbor 31 active
lina juniper 117 paused
dina ember 28 ready
kim amber 41 failed
lina delta 54 closed
gus fable 59 pending
farah fable 53 closed
alice fable 97 pending
hana fable 108 failed
| active 31 harbor bruno
paused 117 juniper lina
ready 28 ember dina
failed 41 amber kim
closed 54 delta lina
pending 59 fable gus
closed 53 fable farah
pending 97 fable alice
failed 108 fable hana
| kim indigo 18 failed
farah amber 11 ready
alice amber 111 ready
chen indigo 36 active
jules amber 67 failed
farah delta 6 paused
dina delta 69 paused
| failed 18 indigo kim
ready 11 amber farah
ready 111 amber alice
active 36 indigo chen
failed 67 amber jules
paused 6 delta farah
paused 69 delta dina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040077 | qwen/qwen3.7-plus |
awkweave-0040078 | Print the number of whitespace-separated fields on each line. | {print NF} | alice juniper 79 active
jules juniper 61 ready
lina ember 99 paused
eli ember 55 failed
chen indigo 112 active
kim harbor 9 pending
gus birch 24 closed
| 4
4
4
4
4
4
4
| hana amber 67 pending
chen grove 49 closed
lina amber 69 failed
lina harbor 110 pending
kim grove 44 paused
gus delta 60 closed
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040078-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | alice juniper 79 active
jules juniper 61 ready
lina ember 99 paused
eli ember 55 failed
chen indigo 112 active
kim harbor 9 pending
gus birch 24 closed
| 4
4
4
4
4
4
4
| hana amber 67 pending
chen grove 49 closed
lina amber 69 failed
lina harbor 110 pending
kim grove 44 paused
gus delta 60 closed
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040078 | qwen/qwen3.7-plus |
awkweave-0040079 | 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]]} | gus gamma 26
gus gamma 19
chen beta 66
jules alpha 34
alice alpha 102
eli beta 23
ivan gamma 90
farah delta 62
gus delta 42
lina delta 91
| gamma 3
beta 2
alpha 2
delta 3
| gus gamma 115
alice alpha 117
gus alpha 27
ivan delta 88
lina gamma 32
farah beta 43
kim delta 79
| gamma 2
alpha 2
delta 2
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040079-p1 | Tally records for each unique value in the second column. Output each value and its total count, ordered by first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus gamma 26
gus gamma 19
chen beta 66
jules alpha 34
alice alpha 102
eli beta 23
ivan gamma 90
farah delta 62
gus delta 42
lina delta 91
| gamma 3
beta 2
alpha 2
delta 3
| gus gamma 115
alice alpha 117
gus alpha 27
ivan delta 88
lina gamma 32
farah beta 43
kim delta 79
| gamma 2
alpha 2
delta 2
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040079 | qwen/qwen3.7-plus |
awkweave-0040080 | 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]]} | chen delta 19
dina delta 5
bruno gamma 3
lina gamma 5
gus beta 3
dina delta 14
ivan beta 11
| delta 38
gamma 8
beta 14
| jules alpha 8
farah beta 3
farah alpha 15
lina beta 30
alice beta 7
bruno delta 14
farah beta 30
hana gamma 11
jules gamma 15
| alpha 23
beta 70
delta 14
gamma 26
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040080-p1 | Calculate the sum of the third column for each group defined by the second column, printing results 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]]} | chen delta 19
dina delta 5
bruno gamma 3
lina gamma 5
gus beta 3
dina delta 14
ivan beta 11
| delta 38
gamma 8
beta 14
| jules alpha 8
farah beta 3
farah alpha 15
lina beta 30
alice beta 7
bruno delta 14
farah beta 30
hana gamma 11
jules gamma 15
| alpha 23
beta 70
delta 14
gamma 26
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040080 | qwen/qwen3.7-plus |
awkweave-0040081 | 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]]} | delta juniper 72
beta fable 105
delta indigo 45
gamma ember 89
beta fable 12
delta birch 65
gamma grove 64
beta juniper 107
| delta 3
beta 3
gamma 2
| gamma grove 75
gamma ember 45
alpha indigo 78
delta fable 108
beta amber 60
gamma indigo 80
delta birch 102
alpha delta 78
gamma ember 59
alpha indigo 95
| gamma 4
alpha 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040081-p1 | List each duplicate value from the first column along with its occurrence count, sorted by 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]]} | delta juniper 72
beta fable 105
delta indigo 45
gamma ember 89
beta fable 12
delta birch 65
gamma grove 64
beta juniper 107
| delta 3
beta 3
gamma 2
| gamma grove 75
gamma ember 45
alpha indigo 78
delta fable 108
beta amber 60
gamma indigo 80
delta birch 102
alpha delta 78
gamma ember 59
alpha indigo 95
| gamma 4
alpha 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040081 | qwen/qwen3.7-plus |
awkweave-0040082 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region state display_name
r001 jules 25 active
r002 kim 7 active
r003 jules 20 pending
r004 kim 7 active
r005 gus 27 paused
r006 alice 9 paused
r007 eli 21 ready
| jules
kim
jules
kim
gus
alice
eli
| note region state display_name
r001 eli 30 pending
r002 lina 11 closed
r003 ivan 14 paused
r004 hana 23 ready
r005 eli 5 ready
r006 lina 30 failed
r007 alice 30 active
r008 ivan 29 active
| eli
lina
ivan
hana
eli
lina
alice
ivan
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040082-p1 | Skip the header row and print the 'region' column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note region state display_name
r001 jules 25 active
r002 kim 7 active
r003 jules 20 pending
r004 kim 7 active
r005 gus 27 paused
r006 alice 9 paused
r007 eli 21 ready
| jules
kim
jules
kim
gus
alice
eli
| note region state display_name
r001 eli 30 pending
r002 lina 11 closed
r003 ivan 14 paused
r004 hana 23 ready
r005 eli 5 ready
r006 lina 30 failed
r007 alice 30 active
r008 ivan 29 active
| eli
lina
ivan
hana
eli
lina
alice
ivan
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040082 | qwen/qwen3.7-plus |
awkweave-0040083 | The first row is a header. Print display_name for data rows whose score is greater than 17. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]} | record_id display_name score state
r001 kim 6 closed
r002 kim 17 pending
r003 eli 11 failed
r004 kim 14 active
r005 chen 26 failed
r006 kim 22 ready
r007 hana 22 pending
r008 alice 3 active
r009 chen 1 failed
| chen
kim
hana
| record_id display_name score state
r001 eli 9 ready
r002 dina 22 active
r003 gus 6 active
r004 jules 8 ready
r005 jules 30 ready
r006 farah 20 closed
r007 gus 18 ready
r008 eli 21 closed
r009 chen 10 failed
| dina
jules
farah
gus
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040083-p1 | Ignoring the header, print the 'display_name' column for rows where the 'score' exceeds 17. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>17{print $h["display_name"]} | record_id display_name score state
r001 kim 6 closed
r002 kim 17 pending
r003 eli 11 failed
r004 kim 14 active
r005 chen 26 failed
r006 kim 22 ready
r007 hana 22 pending
r008 alice 3 active
r009 chen 1 failed
| chen
kim
hana
| record_id display_name score state
r001 eli 9 ready
r002 dina 22 active
r003 gus 6 active
r004 jules 8 ready
r005 jules 30 ready
r006 farah 20 closed
r007 gus 18 ready
r008 eli 21 closed
r009 chen 10 failed
| dina
jules
farah
gus
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040083 | qwen/qwen3.7-plus |
awkweave-0040084 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | jules 27 failed
gus 13 pending
eli 28 ready
eli 19 failed
lina 9 ready
jules 25 active
| 27
13
28
19
9
25
| bruno 20 closed
bruno 29 pending
gus 29 pending
eli 28 pending
eli 15 active
dina 10 active
jules 11 closed
dina 25 closed
| 20
29
29
28
15
10
11
25
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040084-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | jules 27 failed
gus 13 pending
eli 28 ready
eli 19 failed
lina 9 ready
jules 25 active
| 27
13
28
19
9
25
| bruno 20 closed
bruno 29 pending
gus 29 pending
eli 28 pending
eli 15 active
dina 10 active
jules 11 closed
dina 25 closed
| 20
29
29
28
15
10
11
25
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0040084 | qwen/qwen3.7-plus |
awkweave-0040085 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | lina,27,pending
hana,23,failed
bruno,14,ready
gus,18,ready
lina,3,active
farah,8,closed
lina,16,active
farah,2,closed
dina,13,active
dina,11,paused
| lina
hana
bruno
gus
lina
dina
| lina,29,closed
dina,26,failed
dina,17,active
bruno,6,closed
chen,9,pending
lina,16,active
farah,3,paused
ivan,5,paused
| lina
dina
dina
lina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040085-p1 | For simple CSV input without quoted commas, output the first field whenever the second field is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | lina,27,pending
hana,23,failed
bruno,14,ready
gus,18,ready
lina,3,active
farah,8,closed
lina,16,active
farah,2,closed
dina,13,active
dina,11,paused
| lina
hana
bruno
gus
lina
dina
| lina,29,closed
dina,26,failed
dina,17,active
bruno,6,closed
chen,9,pending
lina,16,active
farah,3,paused
ivan,5,paused
| lina
dina
dina
lina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040085 | qwen/qwen3.7-plus |
awkweave-0040086 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli delta 93
farah delta 91
alice delta 95
dina ember 93
dina birch 98
hana harbor 109
| eli delta 93
farah delta 91
alice delta 95
dina ember 93
dina birch 98
hana harbor 109
| chen indigo 52
alice grove 61
bruno cobalt 67
ivan grove 94
lina amber 114
dina cobalt 14
gus birch 36
lina indigo 27
| chen indigo 52
alice grove 61
bruno cobalt 67
ivan grove 94
lina amber 114
dina cobalt 14
gus birch 36
lina indigo 27
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040086-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | eli delta 93
farah delta 91
alice delta 95
dina ember 93
dina birch 98
hana harbor 109
| eli delta 93
farah delta 91
alice delta 95
dina ember 93
dina birch 98
hana harbor 109
| chen indigo 52
alice grove 61
bruno cobalt 67
ivan grove 94
lina amber 114
dina cobalt 14
gus birch 36
lina indigo 27
| chen indigo 52
alice grove 61
bruno cobalt 67
ivan grove 94
lina amber 114
dina cobalt 14
gus birch 36
lina indigo 27
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040086 | qwen/qwen3.7-plus |
awkweave-0040087 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | jules delta 76 pending
bruno ember 28 paused
hana cobalt 72 paused
dina amber 86 paused
farah harbor 108 paused
chen juniper 19 failed
alice fable 2 pending
| farah harbor 108 paused
| farah grove 87 paused
hana birch 85 active
bruno indigo 105 ready
dina birch 116 closed
farah harbor 101 active
jules juniper 120 failed
kim juniper 51 active
| jules juniper 120 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040087-p1 | Identify and print the longest line from the input; in case of a tie in length, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | jules delta 76 pending
bruno ember 28 paused
hana cobalt 72 paused
dina amber 86 paused
farah harbor 108 paused
chen juniper 19 failed
alice fable 2 pending
| farah harbor 108 paused
| farah grove 87 paused
hana birch 85 active
bruno indigo 105 ready
dina birch 116 closed
farah harbor 101 active
jules juniper 120 failed
kim juniper 51 active
| jules juniper 120 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040087 | qwen/qwen3.7-plus |
awkweave-0040088 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | ivan 37
kim 42
hana 9
lina 40
kim 29
hana 14
| ivan 37
lina 40
| bruno 77
lina 100
farah 99
gus 56
bruno 36
dina 105
bruno 33
hana 14
chen 36
| bruno 77
gus 56
bruno 33
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040088-p1 | Output every third line beginning with the first line (i.e., lines 1, 4, 7, etc.). | NR%3==1 | ivan 37
kim 42
hana 9
lina 40
kim 29
hana 14
| ivan 37
lina 40
| bruno 77
lina 100
farah 99
gus 56
bruno 36
dina 105
bruno 33
hana 14
chen 36
| bruno 77
gus 56
bruno 33
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040088 | qwen/qwen3.7-plus |
awkweave-0040089 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma amber 117
gamma juniper 120
alpha birch 25
beta birch 76
gamma ember 103
alpha grove 43
alpha fable 71
alpha cobalt 113
| 3
| gamma ember 34
gamma fable 46
gamma ember 43
gamma indigo 106
gamma harbor 1
beta birch 100
beta cobalt 30
| 2
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040089-p1 | Determine the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma amber 117
gamma juniper 120
alpha birch 25
beta birch 76
gamma ember 103
alpha grove 43
alpha fable 71
alpha cobalt 113
| 3
| gamma ember 34
gamma fable 46
gamma ember 43
gamma indigo 106
gamma harbor 1
beta birch 100
beta cobalt 30
| 2
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040089 | qwen/qwen3.7-plus |
awkweave-0040100 | Output only the first 3 records. | NR <= 3 | lina 79 fable
dina 45 delta
hana 70 indigo
lina 81 ember
kim 33 harbor
bruno 106 cobalt
eli 62 amber
| lina 79 fable
dina 45 delta
hana 70 indigo
| chen 81 birch
kim 91 grove
kim 79 grove
alice 11 cobalt
eli 38 delta
lina 21 grove
jules 105 birch
lina 75 amber
chen 65 delta
| chen 81 birch
kim 91 grove
kim 79 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040100-p1 | Restrict the output to the initial three records only. | NR <= 3 | lina 79 fable
dina 45 delta
hana 70 indigo
lina 81 ember
kim 33 harbor
bruno 106 cobalt
eli 62 amber
| lina 79 fable
dina 45 delta
hana 70 indigo
| chen 81 birch
kim 91 grove
kim 79 grove
alice 11 cobalt
eli 38 delta
lina 21 grove
jules 105 birch
lina 75 amber
chen 65 delta
| chen 81 birch
kim 91 grove
kim 79 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040100 | qwen/qwen3.7-plus |
awkweave-0040101 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 50 amber
farah 115 ember
eli 117 amber
jules 45 juniper
farah 110 indigo
bruno 118 amber
| farah 115 ember
eli 117 amber
jules 45 juniper
farah 110 indigo
bruno 118 amber
| eli 99 juniper
jules 80 harbor
hana 29 grove
jules 103 harbor
dina 99 cobalt
gus 8 juniper
ivan 96 fable
lina 48 delta
chen 46 cobalt
kim 24 grove
| jules 80 harbor
hana 29 grove
jules 103 harbor
dina 99 cobalt
gus 8 juniper
ivan 96 fable
lina 48 delta
chen 46 cobalt
kim 24 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040101-p1 | Omit the header line and print all subsequent lines exactly as they appear. | NR > 1 | ivan 50 amber
farah 115 ember
eli 117 amber
jules 45 juniper
farah 110 indigo
bruno 118 amber
| farah 115 ember
eli 117 amber
jules 45 juniper
farah 110 indigo
bruno 118 amber
| eli 99 juniper
jules 80 harbor
hana 29 grove
jules 103 harbor
dina 99 cobalt
gus 8 juniper
ivan 96 fable
lina 48 delta
chen 46 cobalt
kim 24 grove
| jules 80 harbor
hana 29 grove
jules 103 harbor
dina 99 cobalt
gus 8 juniper
ivan 96 fable
lina 48 delta
chen 46 cobalt
kim 24 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040101 | qwen/qwen3.7-plus |
awkweave-0040102 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | gus active 82
lina pending 66
kim paused 85
farah ready 72
kim closed 57
lina failed 49
farah active 115
| 1
| chen paused 99
farah ready 68
bruno closed 32
chen failed 59
eli paused 113
ivan ready 7
chen failed 44
lina pending 81
dina ready 113
lina ready 108
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040102-p1 | Count the number of records where the second column contains 'paused', printing 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | gus active 82
lina pending 66
kim paused 85
farah ready 72
kim closed 57
lina failed 49
farah active 115
| 1
| chen paused 99
farah ready 68
bruno closed 32
chen failed 59
eli paused 113
ivan ready 7
chen failed 44
lina pending 81
dina ready 113
lina ready 108
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040102 | qwen/qwen3.7-plus |
awkweave-0040103 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 13 harbor kim
18 indigo lina
8 amber chen
24 grove jules
1 amber kim
13 ember farah
9 cobalt kim
| 86
| 20 indigo alice
27 ember hana
27 ember ivan
7 delta bruno
2 juniper dina
3 juniper lina
26 ember chen
6 harbor bruno
30 harbor chen
| 148
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040103-p1 | Compute and display the total sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 13 harbor kim
18 indigo lina
8 amber chen
24 grove jules
1 amber kim
13 ember farah
9 cobalt kim
| 86
| 20 indigo alice
27 ember hana
27 ember ivan
7 delta bruno
2 juniper dina
3 juniper lina
26 ember chen
6 harbor bruno
30 harbor chen
| 148
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040103 | qwen/qwen3.7-plus |
awkweave-0040104 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | hana 23 fable
dina 16 juniper
eli 9 harbor
bruno 29 amber
dina 11 fable
lina 8 ember
| 16.00
| alice 16 ember
jules 28 harbor
kim 13 grove
hana 13 birch
chen 11 delta
farah 20 fable
| 16.83
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040104-p1 | Calculate the average of the values in the second column and format the result to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | hana 23 fable
dina 16 juniper
eli 9 harbor
bruno 29 amber
dina 11 fable
lina 8 ember
| 16.00
| alice 16 ember
jules 28 harbor
kim 13 grove
hana 13 birch
chen 11 delta
farah 20 fable
| 16.83
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040104 | qwen/qwen3.7-plus |
awkweave-0040105 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 fable kim
3 delta alice
15 indigo chen
27 harbor jules
27 indigo dina
24 delta dina
9 fable alice
9 birch hana
13 ember alice
3 grove jules
| 3
| 4 delta jules
24 harbor bruno
15 grove lina
9 amber kim
1 amber alice
22 cobalt chen
30 indigo dina
29 birch jules
14 grove jules
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040105-p1 | Locate and print the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 fable kim
3 delta alice
15 indigo chen
27 harbor jules
27 indigo dina
24 delta dina
9 fable alice
9 birch hana
13 ember alice
3 grove jules
| 3
| 4 delta jules
24 harbor bruno
15 grove lina
9 amber kim
1 amber alice
22 cobalt chen
30 indigo dina
29 birch jules
14 grove jules
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040105 | qwen/qwen3.7-plus |
awkweave-0040106 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice delta 9
dina harbor 24
dina ember 20
bruno amber 4
jules juniper 22
chen amber 8
jules amber 18
ivan juniper 2
kim fable 11
chen ember 4
| 24
| jules delta 19
ivan harbor 4
dina fable 25
bruno ember 9
farah amber 15
bruno delta 29
eli grove 14
gus delta 1
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040106-p1 | Identify and output the maximum number found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice delta 9
dina harbor 24
dina ember 20
bruno amber 4
jules juniper 22
chen amber 8
jules amber 18
ivan juniper 2
kim fable 11
chen ember 4
| 24
| jules delta 19
ivan harbor 4
dina fable 25
bruno ember 9
farah amber 15
bruno delta 29
eli grove 14
gus delta 1
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040106 | qwen/qwen3.7-plus |
awkweave-0040107 | Count all input records and print the total. | END{print NR} | gus 54
dina 61
alice 1
eli 50
farah 74
jules 37
dina 29
ivan 18
| 8
| eli 23
hana 78
farah 67
hana 49
ivan 69
alice 29
lina 89
farah 42
chen 48
jules 58
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040107-p1 | Calculate the total number of input records and display the count. | END{print NR} | gus 54
dina 61
alice 1
eli 50
farah 74
jules 37
dina 29
ivan 18
| 8
| eli 23
hana 78
farah 67
hana 49
ivan 69
alice 29
lina 89
farah 42
chen 48
jules 58
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040107 | qwen/qwen3.7-plus |
awkweave-0040108 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan cobalt 82
chen birch 106
hana cobalt 69
hana amber 48
lina cobalt 120
chen birch 106
jules cobalt 56
| ivan cobalt 82
chen birch 106
hana cobalt 69
hana amber 48
lina cobalt 120
jules cobalt 56
| ivan ember 103
eli amber 32
bruno cobalt 105
ivan indigo 46
kim amber 90
gus birch 85
eli amber 32
| ivan ember 103
eli amber 32
bruno cobalt 105
ivan indigo 46
kim amber 90
gus birch 85
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040108-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | ivan cobalt 82
chen birch 106
hana cobalt 69
hana amber 48
lina cobalt 120
chen birch 106
jules cobalt 56
| ivan cobalt 82
chen birch 106
hana cobalt 69
hana amber 48
lina cobalt 120
jules cobalt 56
| ivan ember 103
eli amber 32
bruno cobalt 105
ivan indigo 46
kim amber 90
gus birch 85
eli amber 32
| ivan ember 103
eli amber 32
bruno cobalt 105
ivan indigo 46
kim amber 90
gus birch 85
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040108 | qwen/qwen3.7-plus |
awkweave-0040109 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | ivan ember 89
farah delta 48
bruno juniper 88
hana indigo 15
bruno juniper 74
farah ember 80
| ivan ember 89
farah delta 48
bruno juniper 88
hana indigo 15
| kim cobalt 108
dina fable 25
chen indigo 116
lina harbor 112
jules grove 11
eli birch 38
| kim cobalt 108
dina fable 25
chen indigo 116
lina harbor 112
jules grove 11
eli birch 38
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040109-p1 | Retain only the initial line for every unique value in the second column, keeping the original input order. | !seen[$2]++ | ivan ember 89
farah delta 48
bruno juniper 88
hana indigo 15
bruno juniper 74
farah ember 80
| ivan ember 89
farah delta 48
bruno juniper 88
hana indigo 15
| kim cobalt 108
dina fable 25
chen indigo 116
lina harbor 112
jules grove 11
eli birch 38
| kim cobalt 108
dina fable 25
chen indigo 116
lina harbor 112
jules grove 11
eli birch 38
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040109 | qwen/qwen3.7-plus |
awkweave-0040110 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 28 amber
bruno 9 delta
jules 14 cobalt
bruno 22 ember
eli 29 amber
kim 4 grove
| hana 28
bruno 37
jules 51
bruno 73
eli 102
kim 106
| farah 3 indigo
eli 2 harbor
gus 23 fable
farah 5 amber
alice 24 amber
alice 11 harbor
ivan 2 ember
ivan 14 fable
kim 15 fable
eli 28 birch
| farah 3
eli 5
gus 28
farah 33
alice 57
alice 68
ivan 70
ivan 84
kim 99
eli 127
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0040110-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} | hana 28 amber
bruno 9 delta
jules 14 cobalt
bruno 22 ember
eli 29 amber
kim 4 grove
| hana 28
bruno 37
jules 51
bruno 73
eli 102
kim 106
| farah 3 indigo
eli 2 harbor
gus 23 fable
farah 5 amber
alice 24 amber
alice 11 harbor
ivan 2 ember
ivan 14 fable
kim 15 fable
eli 28 birch
| farah 3
eli 5
gus 28
farah 33
alice 57
alice 68
ivan 70
ivan 84
kim 99
eli 127
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0040110 | qwen/qwen3.7-plus |
awkweave-0040111 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 3 2 cobalt
kim 27 29 cobalt
gus 12 6 grove
farah 13 13 delta
bruno 28 19 juniper
chen 8 5 delta
farah 28 29 ember
| gus 5
kim 56
gus 18
farah 26
bruno 47
chen 13
farah 57
| eli 21 19 ember
jules 15 17 indigo
farah 27 5 fable
kim 6 22 birch
dina 21 9 amber
eli 22 28 grove
eli 13 6 grove
lina 3 2 ember
eli 21 7 cobalt
| eli 40
jules 32
farah 32
kim 28
dina 30
eli 50
eli 19
lina 5
eli 28
| computed_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.