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-0023661-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 3
eli gamma 19
bruno beta 16
eli gamma 28
chen gamma 23
eli beta 8
bruno delta 16
jules beta 15
kim delta 1
kim gamma 11
| alpha 3
gamma 81
beta 39
delta 17
| ivan gamma 19
dina delta 21
bruno beta 20
lina gamma 12
ivan alpha 11
ivan beta 12
farah delta 3
lina beta 23
| gamma 31
delta 24
beta 55
alpha 11
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0023661 | qwen/qwen3.7-plus |
awkweave-0023662 | 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 delta 103
beta harbor 95
alpha harbor 97
alpha delta 114
gamma harbor 36
delta indigo 71
beta ember 84
gamma ember 43
gamma fable 111
| delta 2
beta 2
alpha 2
gamma 3
| beta ember 104
delta delta 40
alpha harbor 63
gamma delta 40
alpha harbor 22
gamma grove 48
| alpha 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023662-p1 | Identify duplicate entries in column 1 and output each repeated value with its total frequency, sorted by the order of first occurrence. | {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 delta 103
beta harbor 95
alpha harbor 97
alpha delta 114
gamma harbor 36
delta indigo 71
beta ember 84
gamma ember 43
gamma fable 111
| delta 2
beta 2
alpha 2
gamma 3
| beta ember 104
delta delta 40
alpha harbor 63
gamma delta 40
alpha harbor 22
gamma grove 48
| alpha 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023662 | qwen/qwen3.7-plus |
awkweave-0023663 | 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"]} | region display_name record_id state
r001 gus 21 paused
r002 hana 9 closed
r003 hana 22 active
r004 hana 7 failed
r005 ivan 30 ready
r006 bruno 3 active
| gus
hana
hana
hana
ivan
bruno
| region display_name record_id state
r001 gus 20 pending
r002 lina 26 active
r003 kim 29 closed
r004 farah 8 paused
r005 hana 29 ready
r006 alice 1 failed
| gus
lina
kim
farah
hana
alice
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023663-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"]} | region display_name record_id state
r001 gus 21 paused
r002 hana 9 closed
r003 hana 22 active
r004 hana 7 failed
r005 ivan 30 ready
r006 bruno 3 active
| gus
hana
hana
hana
ivan
bruno
| region display_name record_id state
r001 gus 20 pending
r002 lina 26 active
r003 kim 29 closed
r004 farah 8 paused
r005 hana 29 ready
r006 alice 1 failed
| gus
lina
kim
farah
hana
alice
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023663 | qwen/qwen3.7-plus |
awkweave-0023664 | 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 alice 11 paused
r002 alice 29 active
r003 gus 3 closed
r004 kim 11 active
r005 lina 25 active
r006 jules 6 failed
| alice
lina
| record_id display_name score state
r001 gus 23 ready
r002 kim 8 paused
r003 lina 8 active
r004 alice 26 ready
r005 dina 22 ready
r006 farah 16 pending
| gus
alice
dina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023664-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 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 alice 11 paused
r002 alice 29 active
r003 gus 3 closed
r004 kim 11 active
r005 lina 25 active
r006 jules 6 failed
| alice
lina
| record_id display_name score state
r001 gus 23 ready
r002 kim 8 paused
r003 lina 8 active
r004 alice 26 ready
r005 dina 22 ready
r006 farah 16 pending
| gus
alice
dina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023664 | qwen/qwen3.7-plus |
awkweave-0023665 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | ivan 4 failed
ivan 11 closed
hana 30 closed
dina 14 active
eli 2 pending
dina 15 active
chen 23 active
eli 6 active
jules 14 pending
| 4
11
30
14
2
15
23
6
14
| chen 26 pending
bruno 8 failed
alice 16 ready
chen 8 paused
dina 3 ready
chen 4 ready
chen 5 active
hana 16 failed
| 26
8
16
8
3
4
5
16
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023665-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | ivan 4 failed
ivan 11 closed
hana 30 closed
dina 14 active
eli 2 pending
dina 15 active
chen 23 active
eli 6 active
jules 14 pending
| 4
11
30
14
2
15
23
6
14
| chen 26 pending
bruno 8 failed
alice 16 ready
chen 8 paused
dina 3 ready
chen 4 ready
chen 5 active
hana 16 failed
| 26
8
16
8
3
4
5
16
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0023665 | qwen/qwen3.7-plus |
awkweave-0023666 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 19. | BEGIN{FS=OFS=","}$2>19{print $1} | hana,4,ready
bruno,19,closed
jules,29,paused
jules,26,failed
chen,19,failed
eli,1,pending
| jules
jules
| lina,23,failed
alice,21,pending
eli,2,ready
lina,1,ready
farah,2,paused
farah,19,ready
| lina
alice
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023666-p1 | For simple comma-separated input without quoted fields, print the first column only if the value in the second column is greater than 19. | BEGIN{FS=OFS=","}$2>19{print $1} | hana,4,ready
bruno,19,closed
jules,29,paused
jules,26,failed
chen,19,failed
eli,1,pending
| jules
jules
| lina,23,failed
alice,21,pending
eli,2,ready
lina,1,ready
farah,2,paused
farah,19,ready
| lina
alice
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023666 | qwen/qwen3.7-plus |
awkweave-0023667 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno delta 74
hana cobalt 77
alice amber 49
lina birch 113
ivan juniper 95
lina grove 109
eli indigo 47
farah cobalt 99
hana birch 96
ivan harbor 54
| bruno delta 74
hana cobalt 77
alice amber 49
lina birch 113
ivan juniper 95
lina grove 109
eli indigo 47
farah cobalt 99
hana birch 96
ivan harbor 54
| ivan cobalt 66
ivan harbor 55
ivan amber 54
jules delta 65
hana amber 102
bruno harbor 15
alice grove 100
lina ember 53
| ivan cobalt 66
ivan harbor 55
ivan amber 54
jules delta 65
hana amber 102
bruno harbor 15
alice grove 100
lina ember 53
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023667-p1 | Remove leading and trailing whitespace from the text and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | bruno delta 74
hana cobalt 77
alice amber 49
lina birch 113
ivan juniper 95
lina grove 109
eli indigo 47
farah cobalt 99
hana birch 96
ivan harbor 54
| bruno delta 74
hana cobalt 77
alice amber 49
lina birch 113
ivan juniper 95
lina grove 109
eli indigo 47
farah cobalt 99
hana birch 96
ivan harbor 54
| ivan cobalt 66
ivan harbor 55
ivan amber 54
jules delta 65
hana amber 102
bruno harbor 15
alice grove 100
lina ember 53
| ivan cobalt 66
ivan harbor 55
ivan amber 54
jules delta 65
hana amber 102
bruno harbor 15
alice grove 100
lina ember 53
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023667 | qwen/qwen3.7-plus |
awkweave-0023668 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno fable 23 pending
eli delta 81 failed
chen ember 67 paused
alice ember 23 closed
kim birch 90 active
kim indigo 40 closed
| bruno fable 23 pending
| jules fable 106 pending
alice amber 110 active
alice fable 117 pending
alice juniper 48 ready
lina harbor 96 ready
dina cobalt 119 closed
| jules fable 106 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023668-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno fable 23 pending
eli delta 81 failed
chen ember 67 paused
alice ember 23 closed
kim birch 90 active
kim indigo 40 closed
| bruno fable 23 pending
| jules fable 106 pending
alice amber 110 active
alice fable 117 pending
alice juniper 48 ready
lina harbor 96 ready
dina cobalt 119 closed
| jules fable 106 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023668 | qwen/qwen3.7-plus |
awkweave-0023669 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | bruno 109
alice 100
gus 86
eli 46
lina 22
lina 39
farah 0
kim 119
dina 80
lina 4
| bruno 109
gus 86
lina 22
farah 0
dina 80
| ivan 97
farah 72
chen 111
eli 22
kim 83
jules 65
eli 58
| ivan 97
chen 111
kim 83
eli 58
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023669-p1 | Print lines 1, 3, 5, and so on, effectively outputting every second line starting from the first. | NR%2==1 | bruno 109
alice 100
gus 86
eli 46
lina 22
lina 39
farah 0
kim 119
dina 80
lina 4
| bruno 109
gus 86
lina 22
farah 0
dina 80
| ivan 97
farah 72
chen 111
eli 22
kim 83
jules 65
eli 58
| ivan 97
chen 111
kim 83
eli 58
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023669 | qwen/qwen3.7-plus |
awkweave-0023670 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma grove 28
beta delta 59
gamma ember 78
gamma amber 46
beta ember 70
alpha fable 64
delta delta 42
beta grove 100
gamma amber 0
gamma ember 109
| 4
| delta indigo 70
gamma birch 55
alpha delta 79
alpha delta 18
gamma harbor 117
gamma grove 7
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023670-p1 | Determine the number of unique values present in column 1 and output only this total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma grove 28
beta delta 59
gamma ember 78
gamma amber 46
beta ember 70
alpha fable 64
delta delta 42
beta grove 100
gamma amber 0
gamma ember 109
| 4
| delta indigo 70
gamma birch 55
alpha delta 79
alpha delta 18
gamma harbor 117
gamma grove 7
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023670 | qwen/qwen3.7-plus |
awkweave-0023671 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 27 0
chen 24 15
kim 1 5
kim 18 28
alice 30 15
farah 1 25
bruno 22 8
bruno 20 1
dina 17 27
hana 22 3
| chen 1.60
kim 0.20
kim 0.64
alice 2.00
farah 0.04
bruno 2.75
bruno 20.00
dina 0.63
hana 7.33
| bruno 21 0
farah 1 26
kim 19 4
alice 16 10
alice 23 25
hana 16 18
dina 12 27
lina 5 21
chen 9 8
ivan 14 19
| farah 0.04
kim 4.75
alice 1.60
alice 0.92
hana 0.89
dina 0.44
lina 0.24
chen 1.12
ivan 0.74
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023671-p1 | For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 27 0
chen 24 15
kim 1 5
kim 18 28
alice 30 15
farah 1 25
bruno 22 8
bruno 20 1
dina 17 27
hana 22 3
| chen 1.60
kim 0.20
kim 0.64
alice 2.00
farah 0.04
bruno 2.75
bruno 20.00
dina 0.63
hana 7.33
| bruno 21 0
farah 1 26
kim 19 4
alice 16 10
alice 23 25
hana 16 18
dina 12 27
lina 5 21
chen 9 8
ivan 14 19
| farah 0.04
kim 4.75
alice 1.60
alice 0.92
hana 0.89
dina 0.44
lina 0.24
chen 1.12
ivan 0.74
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023671 | qwen/qwen3.7-plus |
awkweave-0023672 | 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]} | dina ember 5
kim juniper 15
bruno juniper 8
bruno harbor 10
hana amber 27
kim ember 28
| kim ember 28
hana amber 27
kim juniper 15
| bruno amber 24
bruno ember 22
eli indigo 23
eli juniper 24
hana amber 26
bruno ember 27
hana harbor 8
jules juniper 11
jules delta 7
| bruno ember 27
hana amber 26
bruno amber 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023672-p1 | Display the top three full records based on the highest 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]} | dina ember 5
kim juniper 15
bruno juniper 8
bruno harbor 10
hana amber 27
kim ember 28
| kim ember 28
hana amber 27
kim juniper 15
| bruno amber 24
bruno ember 22
eli indigo 23
eli juniper 24
hana amber 26
bruno ember 27
hana harbor 8
jules juniper 11
jules delta 7
| bruno ember 27
hana amber 26
bruno amber 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023672 | qwen/qwen3.7-plus |
awkweave-0023673 | Select the 5th and 2nd fields in that order. | {print $5, $2} | closed bruno 115 ember failed
active lina 55 birch paused
failed jules 75 ember paused
active farah 38 juniper ready
closed kim 46 birch closed
paused bruno 37 birch pending
failed bruno 39 harbor ready
closed farah 90 ember failed
| failed bruno
paused lina
paused jules
ready farah
closed kim
pending bruno
ready bruno
failed farah
| pending alice 45 fable closed
ready ivan 77 amber ready
pending kim 32 ember active
paused dina 107 juniper paused
failed eli 107 cobalt active
paused chen 102 amber failed
pending ivan 117 indigo failed
pending ivan 70 cobalt ready
active eli 116 fable active
| closed alice
ready ivan
active kim
paused dina
active eli
failed chen
failed ivan
ready ivan
active eli
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023673-p1 | Extract and output the fifth field followed by the second field, preserving this specific order. | {print $5, $2} | closed bruno 115 ember failed
active lina 55 birch paused
failed jules 75 ember paused
active farah 38 juniper ready
closed kim 46 birch closed
paused bruno 37 birch pending
failed bruno 39 harbor ready
closed farah 90 ember failed
| failed bruno
paused lina
paused jules
ready farah
closed kim
pending bruno
ready bruno
failed farah
| pending alice 45 fable closed
ready ivan 77 amber ready
pending kim 32 ember active
paused dina 107 juniper paused
failed eli 107 cobalt active
paused chen 102 amber failed
pending ivan 117 indigo failed
pending ivan 70 cobalt ready
active eli 116 fable active
| closed alice
ready ivan
active kim
paused dina
active eli
failed chen
failed ivan
ready ivan
active eli
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023673 | qwen/qwen3.7-plus |
awkweave-0023674 | Print the last field of every input line. | {print $NF} | pending jules cobalt
closed farah delta
pending jules delta
active bruno cobalt
pending farah juniper
ready kim juniper
ready gus fable
| cobalt
delta
delta
cobalt
juniper
juniper
fable
| paused farah ember
ready bruno indigo
paused bruno fable
closed kim delta
closed ivan harbor
pending jules delta
| ember
indigo
fable
delta
harbor
delta
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023674-p1 | Output the final field from each line of the input. | {print $NF} | pending jules cobalt
closed farah delta
pending jules delta
active bruno cobalt
pending farah juniper
ready kim juniper
ready gus fable
| cobalt
delta
delta
cobalt
juniper
juniper
fable
| paused farah ember
ready bruno indigo
paused bruno fable
closed kim delta
closed ivan harbor
pending jules delta
| ember
indigo
fable
delta
harbor
delta
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023674 | qwen/qwen3.7-plus |
awkweave-0023675 | Print the complete records where column 2 is greater than 63. | $2 > 63 | failed 15 closed closed
paused 47 failed failed
ready 54 pending failed
pending 36 failed failed
active 5 paused ready
active 85 pending active
paused 66 active ready
| active 85 pending active
paused 66 active ready
| closed 45 ready ready
closed 20 closed pending
ready 67 active failed
closed 69 ready paused
failed 67 paused paused
pending 114 closed pending
paused 113 ready pending
| ready 67 active failed
closed 69 ready paused
failed 67 paused paused
pending 114 closed pending
paused 113 ready pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023675-p1 | Print entire records where the value in the second column exceeds 63. | $2 > 63 | failed 15 closed closed
paused 47 failed failed
ready 54 pending failed
pending 36 failed failed
active 5 paused ready
active 85 pending active
paused 66 active ready
| active 85 pending active
paused 66 active ready
| closed 45 ready ready
closed 20 closed pending
ready 67 active failed
closed 69 ready paused
failed 67 paused paused
pending 114 closed pending
paused 113 ready pending
| ready 67 active failed
closed 69 ready paused
failed 67 paused paused
pending 114 closed pending
paused 113 ready pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023675 | qwen/qwen3.7-plus |
awkweave-0023676 | Show whole lines whose 1st field is between 12 and 23, inclusive. | $1 >= 12 && $1 <= 23 | 25 kim bruno amber
12 lina chen juniper
14 hana farah grove
20 kim bruno harbor
30 alice jules harbor
1 bruno eli juniper
2 ivan hana birch
11 ivan jules amber
5 ivan gus cobalt
20 dina hana birch
| 12 lina chen juniper
14 hana farah grove
20 kim bruno harbor
20 dina hana birch
| 1 bruno ivan amber
10 gus kim ember
28 bruno bruno amber
1 eli bruno ember
3 kim chen birch
16 dina ivan juniper
18 alice bruno delta
4 hana lina amber
| 16 dina ivan juniper
18 alice bruno delta
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023676-p1 | Display complete lines where the first field falls within the inclusive range of 12 to 23. | $1 >= 12 && $1 <= 23 | 25 kim bruno amber
12 lina chen juniper
14 hana farah grove
20 kim bruno harbor
30 alice jules harbor
1 bruno eli juniper
2 ivan hana birch
11 ivan jules amber
5 ivan gus cobalt
20 dina hana birch
| 12 lina chen juniper
14 hana farah grove
20 kim bruno harbor
20 dina hana birch
| 1 bruno ivan amber
10 gus kim ember
28 bruno bruno amber
1 eli bruno ember
3 kim chen birch
16 dina ivan juniper
18 alice bruno delta
4 hana lina amber
| 16 dina ivan juniper
18 alice bruno delta
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023676 | qwen/qwen3.7-plus |
awkweave-0023677 | Print column 1 only for rows where column 2 is exactly ready. | $2 == "ready"{print $1} | eli ready juniper 18
chen paused birch 0
kim active birch 29
farah ready amber 42
gus failed cobalt 52
alice pending cobalt 115
gus ready cobalt 86
chen ready harbor 17
gus active harbor 82
| eli
farah
gus
chen
| jules paused indigo 50
bruno closed indigo 1
chen ready fable 49
dina paused birch 38
gus ready ember 91
dina failed indigo 98
gus closed amber 90
gus ready birch 46
bruno active cobalt 51
kim closed harbor 74
| chen
gus
gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023677-p1 | Output only the first column for rows where the second column contains exactly the value ready. | $2 == "ready"{print $1} | eli ready juniper 18
chen paused birch 0
kim active birch 29
farah ready amber 42
gus failed cobalt 52
alice pending cobalt 115
gus ready cobalt 86
chen ready harbor 17
gus active harbor 82
| eli
farah
gus
chen
| jules paused indigo 50
bruno closed indigo 1
chen ready fable 49
dina paused birch 38
gus ready ember 91
dina failed indigo 98
gus closed amber 90
gus ready birch 46
bruno active cobalt 51
kim closed harbor 74
| chen
gus
gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023677 | qwen/qwen3.7-plus |
awkweave-0023678 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 2 cobalt DEBUG
8 delta INFO
39 grove INFO
18 indigo WARN
82 juniper INFO
54 cobalt DEBUG
| 18 indigo WARN
| 101 indigo DEBUG
59 juniper DEBUG
10 birch ERROR
38 delta ERROR
30 grove WARN
90 amber INFO
96 fable DEBUG
54 ember WARN
85 birch WARN
3 juniper WARN
| 30 grove WARN
54 ember WARN
85 birch WARN
3 juniper WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023678-p1 | Print all fields from lines where the third field starts with the string WARN. | $3 ~ /^WARN/ | 2 cobalt DEBUG
8 delta INFO
39 grove INFO
18 indigo WARN
82 juniper INFO
54 cobalt DEBUG
| 18 indigo WARN
| 101 indigo DEBUG
59 juniper DEBUG
10 birch ERROR
38 delta ERROR
30 grove WARN
90 amber INFO
96 fable DEBUG
54 ember WARN
85 birch WARN
3 juniper WARN
| 30 grove WARN
54 ember WARN
85 birch WARN
3 juniper WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023678 | qwen/qwen3.7-plus |
awkweave-0023679 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | grove 84 closed
juniper 73 failed
grove 72 closed
fable 113 pending
birch 49 paused
delta 13 paused
amber 106 failed
indigo 34 failed
indigo 999 active
| grove 84 closed
juniper 73 failed
grove 72 closed
fable 113 pending
birch 49 paused
delta 13 paused
amber 106 failed
| fable 36 failed
delta 36 pending
delta 39 closed
birch 63 active
grove 115 failed
indigo 67 ready
indigo 40 paused
indigo 999 active
| fable 36 failed
delta 36 pending
delta 39 closed
birch 63 active
grove 115 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023679-p1 | Output every line that does not contain the exact string indigo. | $0 !~ /indigo/ | grove 84 closed
juniper 73 failed
grove 72 closed
fable 113 pending
birch 49 paused
delta 13 paused
amber 106 failed
indigo 34 failed
indigo 999 active
| grove 84 closed
juniper 73 failed
grove 72 closed
fable 113 pending
birch 49 paused
delta 13 paused
amber 106 failed
| fable 36 failed
delta 36 pending
delta 39 closed
birch 63 active
grove 115 failed
indigo 67 ready
indigo 40 paused
indigo 999 active
| fable 36 failed
delta 36 pending
delta 39 closed
birch 63 active
grove 115 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023679 | qwen/qwen3.7-plus |
awkweave-0023680 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | dina grove 117
dina indigo 91
gus amber 47
farah harbor 116
lina ember 92
bruno amber 45
jules ember 113
bruno birch 19
| gus amber 47
farah harbor 116
lina ember 92
| chen cobalt 78
hana delta 18
eli amber 109
alice fable 101
jules ember 50
jules harbor 74
| eli amber 109
alice fable 101
jules ember 50
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023680-p1 | Print lines 3 through 5, inclusive of both the start and end lines. | NR >= 3 && NR <= 5 | dina grove 117
dina indigo 91
gus amber 47
farah harbor 116
lina ember 92
bruno amber 45
jules ember 113
bruno birch 19
| gus amber 47
farah harbor 116
lina ember 92
| chen cobalt 78
hana delta 18
eli amber 109
alice fable 101
jules ember 50
jules harbor 74
| eli amber 109
alice fable 101
jules ember 50
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023680 | qwen/qwen3.7-plus |
awkweave-0023681 | Output only the first 2 records. | NR <= 2 | dina 94 amber
bruno 61 amber
eli 29 indigo
chen 105 amber
dina 12 amber
gus 81 harbor
kim 96 fable
farah 15 cobalt
ivan 51 birch
| dina 94 amber
bruno 61 amber
| bruno 0 amber
alice 110 harbor
bruno 39 fable
jules 55 ember
chen 69 indigo
kim 36 birch
lina 106 harbor
jules 94 fable
lina 62 amber
| bruno 0 amber
alice 110 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023681-p1 | Output only the first two records. | NR <= 2 | dina 94 amber
bruno 61 amber
eli 29 indigo
chen 105 amber
dina 12 amber
gus 81 harbor
kim 96 fable
farah 15 cobalt
ivan 51 birch
| dina 94 amber
bruno 61 amber
| bruno 0 amber
alice 110 harbor
bruno 39 fable
jules 55 ember
chen 69 indigo
kim 36 birch
lina 106 harbor
jules 94 fable
lina 62 amber
| bruno 0 amber
alice 110 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023681 | qwen/qwen3.7-plus |
awkweave-0023682 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 25 grove
dina 99 amber
alice 27 cobalt
lina 58 juniper
jules 62 juniper
chen 78 delta
bruno 105 ember
hana 72 harbor
| dina 99 amber
alice 27 cobalt
lina 58 juniper
jules 62 juniper
chen 78 delta
bruno 105 ember
hana 72 harbor
| hana 50 juniper
jules 4 birch
gus 84 grove
eli 114 indigo
hana 101 indigo
kim 16 indigo
farah 57 indigo
gus 84 birch
chen 45 birch
ivan 23 delta
| jules 4 birch
gus 84 grove
eli 114 indigo
hana 101 indigo
kim 16 indigo
farah 57 indigo
gus 84 birch
chen 45 birch
ivan 23 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023682-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | hana 25 grove
dina 99 amber
alice 27 cobalt
lina 58 juniper
jules 62 juniper
chen 78 delta
bruno 105 ember
hana 72 harbor
| dina 99 amber
alice 27 cobalt
lina 58 juniper
jules 62 juniper
chen 78 delta
bruno 105 ember
hana 72 harbor
| hana 50 juniper
jules 4 birch
gus 84 grove
eli 114 indigo
hana 101 indigo
kim 16 indigo
farah 57 indigo
gus 84 birch
chen 45 birch
ivan 23 delta
| jules 4 birch
gus 84 grove
eli 114 indigo
hana 101 indigo
kim 16 indigo
farah 57 indigo
gus 84 birch
chen 45 birch
ivan 23 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023682 | qwen/qwen3.7-plus |
awkweave-0023683 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | dina active 98
gus pending 59
gus ready 13
hana pending 22
chen failed 21
alice pending 117
alice failed 5
lina pending 103
ivan closed 74
farah closed 113
| 1
| lina pending 20
alice active 10
bruno pending 2
bruno ready 28
lina failed 96
lina failed 68
eli ready 49
dina paused 42
eli closed 64
bruno pending 56
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023683-p1 | Count the number of records where the second column is ready, and print 0 if no such records exist. | $2 == "ready"{n++}END{print n+0} | dina active 98
gus pending 59
gus ready 13
hana pending 22
chen failed 21
alice pending 117
alice failed 5
lina pending 103
ivan closed 74
farah closed 113
| 1
| lina pending 20
alice active 10
bruno pending 2
bruno ready 28
lina failed 96
lina failed 68
eli ready 49
dina paused 42
eli closed 64
bruno pending 56
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023683 | qwen/qwen3.7-plus |
awkweave-0023684 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor hana 5
birch jules 9
juniper lina 24
grove lina 19
amber kim 28
harbor chen 9
juniper gus 14
| 108
| cobalt bruno 24
juniper hana 24
ember alice 18
indigo chen 19
cobalt lina 27
birch dina 16
birch farah 7
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023684-p1 | Compute the total of all integer values found in the third column and output the result. | {s+=$3}END{print s+0} | harbor hana 5
birch jules 9
juniper lina 24
grove lina 19
amber kim 28
harbor chen 9
juniper gus 14
| 108
| cobalt bruno 24
juniper hana 24
ember alice 18
indigo chen 19
cobalt lina 27
birch dina 16
birch farah 7
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023684 | qwen/qwen3.7-plus |
awkweave-0023685 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | chen 12 grove
hana 6 amber
jules 28 amber
alice 16 indigo
alice 8 harbor
dina 29 delta
dina 11 indigo
gus 2 ember
| 14.00
| alice 3 birch
hana 12 juniper
alice 20 juniper
gus 8 grove
alice 1 amber
hana 1 grove
gus 28 grove
| 10.43
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023685-p1 | Output the average of the values in the second column, formatted to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | chen 12 grove
hana 6 amber
jules 28 amber
alice 16 indigo
alice 8 harbor
dina 29 delta
dina 11 indigo
gus 2 ember
| 14.00
| alice 3 birch
hana 12 juniper
alice 20 juniper
gus 8 grove
alice 1 amber
hana 1 grove
gus 28 grove
| 10.43
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023685 | qwen/qwen3.7-plus |
awkweave-0023686 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim fable 23
jules fable 27
gus cobalt 8
chen harbor 29
dina birch 4
farah ember 24
ivan juniper 13
dina ember 4
| 4
| gus ember 7
eli grove 19
chen grove 17
dina fable 21
gus birch 12
lina delta 26
dina fable 20
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023686-p1 | Identify and display the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim fable 23
jules fable 27
gus cobalt 8
chen harbor 29
dina birch 4
farah ember 24
ivan juniper 13
dina ember 4
| 4
| gus ember 7
eli grove 19
chen grove 17
dina fable 21
gus birch 12
lina delta 26
dina fable 20
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023686 | qwen/qwen3.7-plus |
awkweave-0023687 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch lina 20
birch bruno 22
birch lina 29
cobalt lina 12
amber chen 22
juniper gus 30
harbor jules 14
harbor chen 24
| 30
| harbor hana 23
indigo chen 12
juniper dina 9
grove alice 23
harbor gus 12
grove lina 18
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023687-p1 | Identify and display the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch lina 20
birch bruno 22
birch lina 29
cobalt lina 12
amber chen 22
juniper gus 30
harbor jules 14
harbor chen 24
| 30
| harbor hana 23
indigo chen 12
juniper dina 9
grove alice 23
harbor gus 12
grove lina 18
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023687 | qwen/qwen3.7-plus |
awkweave-0023688 | Count all input records and print the total. | END{print NR} | ivan 39
jules 105
ivan 35
dina 31
chen 90
alice 0
alice 43
| 7
| jules 83
gus 89
eli 28
dina 98
ivan 23
ivan 38
hana 21
eli 120
lina 28
lina 2
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023688-p1 | Count the total number of input lines and print this count. | END{print NR} | ivan 39
jules 105
ivan 35
dina 31
chen 90
alice 0
alice 43
| 7
| jules 83
gus 89
eli 28
dina 98
ivan 23
ivan 38
hana 21
eli 120
lina 28
lina 2
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023688 | qwen/qwen3.7-plus |
awkweave-0023689 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana delta 43
kim harbor 101
chen indigo 16
chen indigo 16
alice fable 80
dina delta 4
alice indigo 108
ivan grove 53
| hana delta 43
kim harbor 101
chen indigo 16
alice fable 80
dina delta 4
alice indigo 108
ivan grove 53
| chen fable 12
ivan amber 3
gus fable 26
gus fable 26
bruno juniper 98
jules fable 91
bruno juniper 30
hana delta 94
| chen fable 12
ivan amber 3
gus fable 26
bruno juniper 98
jules fable 91
bruno juniper 30
hana delta 94
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023689-p1 | Eliminate duplicate lines by keeping only the first instance of each, while maintaining the original sequence. | !seen[$0]++ | hana delta 43
kim harbor 101
chen indigo 16
chen indigo 16
alice fable 80
dina delta 4
alice indigo 108
ivan grove 53
| hana delta 43
kim harbor 101
chen indigo 16
alice fable 80
dina delta 4
alice indigo 108
ivan grove 53
| chen fable 12
ivan amber 3
gus fable 26
gus fable 26
bruno juniper 98
jules fable 91
bruno juniper 30
hana delta 94
| chen fable 12
ivan amber 3
gus fable 26
bruno juniper 98
jules fable 91
bruno juniper 30
hana delta 94
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023689 | qwen/qwen3.7-plus |
awkweave-0023700 | 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]]} | alice gamma 10
dina alpha 3
dina alpha 22
eli beta 6
lina beta 10
kim alpha 14
ivan beta 6
alice alpha 3
hana beta 27
dina gamma 25
| gamma 35
alpha 42
beta 49
| eli gamma 3
jules delta 10
alice delta 5
kim alpha 8
farah alpha 29
farah alpha 14
jules delta 26
farah beta 26
| gamma 3
delta 41
alpha 51
beta 26
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023700-p1 | Calculate the sum of column 3 for each unique value in column 2, listing the results in the order the groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | alice gamma 10
dina alpha 3
dina alpha 22
eli beta 6
lina beta 10
kim alpha 14
ivan beta 6
alice alpha 3
hana beta 27
dina gamma 25
| gamma 35
alpha 42
beta 49
| eli gamma 3
jules delta 10
alice delta 5
kim alpha 8
farah alpha 29
farah alpha 14
jules delta 26
farah beta 26
| gamma 3
delta 41
alpha 51
beta 26
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023700 | qwen/qwen3.7-plus |
awkweave-0023701 | 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]]} | alpha grove 28
beta cobalt 62
gamma harbor 37
beta birch 3
alpha delta 102
beta juniper 46
beta grove 84
delta indigo 50
alpha delta 89
| alpha 3
beta 4
| gamma ember 19
delta amber 42
gamma ember 19
alpha birch 89
alpha fable 31
alpha grove 104
| gamma 2
alpha 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023701-p1 | List every value from column 1 that appears more than once, along with its frequency, ordered 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]]} | alpha grove 28
beta cobalt 62
gamma harbor 37
beta birch 3
alpha delta 102
beta juniper 46
beta grove 84
delta indigo 50
alpha delta 89
| alpha 3
beta 4
| gamma ember 19
delta amber 42
gamma ember 19
alpha birch 89
alpha fable 31
alpha grove 104
| gamma 2
alpha 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023701 | qwen/qwen3.7-plus |
awkweave-0023702 | The first row is a header. Print the state column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | record_id score state region
r001 jules 10 failed
r002 ivan 24 active
r003 kim 18 ready
r004 chen 15 paused
r005 lina 14 active
r006 dina 23 ready
| 10
24
18
15
14
23
| record_id score state region
r001 eli 18 active
r002 hana 6 active
r003 eli 19 active
r004 lina 21 failed
r005 kim 4 closed
r006 kim 26 failed
r007 hana 13 failed
r008 farah 23 paused
| 18
6
19
21
4
26
13
23
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023702-p1 | Treating the first line as a header, output the values from the state column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | record_id score state region
r001 jules 10 failed
r002 ivan 24 active
r003 kim 18 ready
r004 chen 15 paused
r005 lina 14 active
r006 dina 23 ready
| 10
24
18
15
14
23
| record_id score state region
r001 eli 18 active
r002 hana 6 active
r003 eli 19 active
r004 lina 21 failed
r005 kim 4 closed
r006 kim 26 failed
r007 hana 13 failed
r008 farah 23 paused
| 18
6
19
21
4
26
13
23
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023702 | qwen/qwen3.7-plus |
awkweave-0023703 | The first row is a header. Print display_name for data rows whose score is greater than 20. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]} | record_id display_name score state
r001 ivan 23 paused
r002 eli 20 closed
r003 eli 24 failed
r004 farah 29 failed
r005 alice 10 paused
r006 bruno 26 pending
r007 gus 3 paused
r008 ivan 26 pending
| ivan
eli
farah
bruno
ivan
| record_id display_name score state
r001 lina 30 failed
r002 jules 25 pending
r003 chen 9 failed
r004 hana 25 closed
r005 lina 12 failed
r006 alice 19 paused
r007 gus 28 active
r008 farah 13 failed
| lina
jules
hana
gus
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023703-p1 | With the first line as a header, print the display_name field for any data row where the score is strictly greater than 20. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>20{print $h["display_name"]} | record_id display_name score state
r001 ivan 23 paused
r002 eli 20 closed
r003 eli 24 failed
r004 farah 29 failed
r005 alice 10 paused
r006 bruno 26 pending
r007 gus 3 paused
r008 ivan 26 pending
| ivan
eli
farah
bruno
ivan
| record_id display_name score state
r001 lina 30 failed
r002 jules 25 pending
r003 chen 9 failed
r004 hana 25 closed
r005 lina 12 failed
r006 alice 19 paused
r007 gus 28 active
r008 farah 13 failed
| lina
jules
hana
gus
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023703 | qwen/qwen3.7-plus |
awkweave-0023704 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 23 paused
farah 19 failed
jules 22 ready
bruno 6 closed
lina 5 active
lina 4 closed
alice 26 failed
| hana
farah
jules
bruno
lina
lina
alice
| ivan 1 closed
alice 30 pending
farah 19 closed
farah 4 active
gus 29 active
kim 8 failed
dina 20 closed
hana 17 closed
| ivan
alice
farah
farah
gus
kim
dina
hana
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023704-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 23 paused
farah 19 failed
jules 22 ready
bruno 6 closed
lina 5 active
lina 4 closed
alice 26 failed
| hana
farah
jules
bruno
lina
lina
alice
| ivan 1 closed
alice 30 pending
farah 19 closed
farah 4 active
gus 29 active
kim 8 failed
dina 20 closed
hana 17 closed
| ivan
alice
farah
farah
gus
kim
dina
hana
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0023704 | qwen/qwen3.7-plus |
awkweave-0023705 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 18. | BEGIN{FS=OFS=","}$2>18{print $1} | bruno,18,ready
dina,30,pending
farah,1,failed
gus,10,paused
ivan,5,closed
lina,3,closed
dina,12,closed
bruno,8,active
eli,17,pending
| dina
| ivan,15,active
kim,25,closed
jules,29,active
lina,4,failed
kim,26,paused
alice,10,ready
farah,27,ready
jules,26,closed
gus,26,pending
jules,25,pending
| kim
jules
kim
farah
jules
gus
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023705-p1 | For simple comma-separated input without quoted fields, print the first column whenever the value in the second column is greater than 18. | BEGIN{FS=OFS=","}$2>18{print $1} | bruno,18,ready
dina,30,pending
farah,1,failed
gus,10,paused
ivan,5,closed
lina,3,closed
dina,12,closed
bruno,8,active
eli,17,pending
| dina
| ivan,15,active
kim,25,closed
jules,29,active
lina,4,failed
kim,26,paused
alice,10,ready
farah,27,ready
jules,26,closed
gus,26,pending
jules,25,pending
| kim
jules
kim
farah
jules
gus
jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023705 | qwen/qwen3.7-plus |
awkweave-0023706 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen harbor 41
hana cobalt 61
ivan delta 46
lina fable 9
dina birch 113
lina ember 111
farah ember 14
gus ember 104
farah ember 56
| chen harbor 41
hana cobalt 61
ivan delta 46
lina fable 9
dina birch 113
lina ember 111
farah ember 14
gus ember 104
farah ember 56
| kim birch 38
ivan birch 5
jules amber 97
kim ember 120
jules indigo 92
dina amber 109
farah harbor 99
hana juniper 65
| kim birch 38
ivan birch 5
jules amber 97
kim ember 120
jules indigo 92
dina amber 109
farah harbor 99
hana juniper 65
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023706-p1 | Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | chen harbor 41
hana cobalt 61
ivan delta 46
lina fable 9
dina birch 113
lina ember 111
farah ember 14
gus ember 104
farah ember 56
| chen harbor 41
hana cobalt 61
ivan delta 46
lina fable 9
dina birch 113
lina ember 111
farah ember 14
gus ember 104
farah ember 56
| kim birch 38
ivan birch 5
jules amber 97
kim ember 120
jules indigo 92
dina amber 109
farah harbor 99
hana juniper 65
| kim birch 38
ivan birch 5
jules amber 97
kim ember 120
jules indigo 92
dina amber 109
farah harbor 99
hana juniper 65
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023706 | qwen/qwen3.7-plus |
awkweave-0023707 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | ivan indigo 79 closed
ivan birch 20 failed
kim juniper 39 failed
ivan ember 53 pending
lina amber 45 active
eli cobalt 117 ready
| ivan indigo 79 closed
| farah juniper 62 failed
hana juniper 107 ready
chen birch 10 closed
bruno fable 40 failed
kim cobalt 15 closed
bruno cobalt 27 closed
lina ember 100 active
bruno grove 84 active
| farah juniper 62 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023707-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | ivan indigo 79 closed
ivan birch 20 failed
kim juniper 39 failed
ivan ember 53 pending
lina amber 45 active
eli cobalt 117 ready
| ivan indigo 79 closed
| farah juniper 62 failed
hana juniper 107 ready
chen birch 10 closed
bruno fable 40 failed
kim cobalt 15 closed
bruno cobalt 27 closed
lina ember 100 active
bruno grove 84 active
| farah juniper 62 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023707 | qwen/qwen3.7-plus |
awkweave-0023708 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | jules 98
eli 29
chen 80
chen 25
kim 37
lina 81
eli 46
chen 61
farah 39
hana 72
| eli 29
kim 37
chen 61
| dina 65
dina 91
gus 54
hana 37
kim 108
farah 51
| dina 91
kim 108
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023708-p1 | Output every third line beginning with the second line (i.e., lines 2, 5, 8, etc.). | NR%3==2 | jules 98
eli 29
chen 80
chen 25
kim 37
lina 81
eli 46
chen 61
farah 39
hana 72
| eli 29
kim 37
chen 61
| dina 65
dina 91
gus 54
hana 37
kim 108
farah 51
| dina 91
kim 108
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023708 | qwen/qwen3.7-plus |
awkweave-0023709 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha delta 1
delta ember 53
gamma harbor 45
beta harbor 67
beta fable 65
gamma juniper 115
gamma amber 54
gamma cobalt 30
delta indigo 18
beta grove 13
| 9
| beta fable 90
alpha indigo 57
beta grove 16
delta birch 39
alpha amber 9
alpha ember 108
delta harbor 2
beta indigo 86
gamma birch 27
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023709-p1 | Calculate the number of unique values present in the second column and output only that total count. | {if(!seen[$2]++)n++}END{print n+0} | alpha delta 1
delta ember 53
gamma harbor 45
beta harbor 67
beta fable 65
gamma juniper 115
gamma amber 54
gamma cobalt 30
delta indigo 18
beta grove 13
| 9
| beta fable 90
alpha indigo 57
beta grove 16
delta birch 39
alpha amber 9
alpha ember 108
delta harbor 2
beta indigo 86
gamma birch 27
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023709 | qwen/qwen3.7-plus |
awkweave-0023710 | 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} | chen 15 0
kim 2 4
chen 3 18
lina 10 26
dina 21 7
eli 10 19
bruno 14 15
farah 4 8
dina 22 19
| kim 0.50
chen 0.17
lina 0.38
dina 3.00
eli 0.53
bruno 0.93
farah 0.50
dina 1.16
| chen 17 0
eli 9 27
hana 22 25
gus 28 25
jules 18 17
gus 21 27
| eli 0.33
hana 0.88
gus 1.12
jules 1.06
gus 0.78
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023710-p1 | For each row, output the value in column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 15 0
kim 2 4
chen 3 18
lina 10 26
dina 21 7
eli 10 19
bruno 14 15
farah 4 8
dina 22 19
| kim 0.50
chen 0.17
lina 0.38
dina 3.00
eli 0.53
bruno 0.93
farah 0.50
dina 1.16
| chen 17 0
eli 9 27
hana 22 25
gus 28 25
jules 18 17
gus 21 27
| eli 0.33
hana 0.88
gus 1.12
jules 1.06
gus 0.78
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023710 | qwen/qwen3.7-plus |
awkweave-0023711 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim indigo 21
dina juniper 4
gus juniper 9
kim delta 12
eli grove 28
farah birch 14
hana juniper 10
eli fable 20
alice indigo 24
farah grove 27
| eli grove 28
farah grove 27
alice indigo 24
| kim delta 23
jules grove 30
gus ember 30
lina ember 3
eli cobalt 9
eli juniper 26
kim delta 21
farah indigo 22
| jules grove 30
gus ember 30
eli juniper 26
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023711-p1 | Output the three full records with the largest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim indigo 21
dina juniper 4
gus juniper 9
kim delta 12
eli grove 28
farah birch 14
hana juniper 10
eli fable 20
alice indigo 24
farah grove 27
| eli grove 28
farah grove 27
alice indigo 24
| kim delta 23
jules grove 30
gus ember 30
lina ember 3
eli cobalt 9
eli juniper 26
kim delta 21
farah indigo 22
| jules grove 30
gus ember 30
eli juniper 26
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023711 | qwen/qwen3.7-plus |
awkweave-0023712 | Print column 6 followed by column 2 for every record. | {print $6, $2} | harbor harbor active eli harbor active
indigo birch pending kim indigo paused
grove juniper paused jules fable pending
delta cobalt paused ivan fable active
grove amber failed jules birch pending
delta indigo closed kim grove failed
| active harbor
paused birch
pending juniper
active cobalt
pending amber
failed indigo
| fable harbor pending chen grove active
amber juniper ready dina birch failed
birch birch pending chen indigo failed
grove ember paused eli ember active
amber juniper ready jules grove ready
cobalt fable ready kim cobalt ready
birch indigo pending eli cobalt ready
| active harbor
failed juniper
failed birch
active ember
ready juniper
ready fable
ready indigo
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023712-p1 | For every record, output the value from column 6 followed by the value from column 2. | {print $6, $2} | harbor harbor active eli harbor active
indigo birch pending kim indigo paused
grove juniper paused jules fable pending
delta cobalt paused ivan fable active
grove amber failed jules birch pending
delta indigo closed kim grove failed
| active harbor
paused birch
pending juniper
active cobalt
pending amber
failed indigo
| fable harbor pending chen grove active
amber juniper ready dina birch failed
birch birch pending chen indigo failed
grove ember paused eli ember active
amber juniper ready jules grove ready
cobalt fable ready kim cobalt ready
birch indigo pending eli cobalt ready
| active harbor
failed juniper
failed birch
active ember
ready juniper
ready fable
ready indigo
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023712 | qwen/qwen3.7-plus |
awkweave-0023713 | Print the last field of every input line. | {print $NF} | bruno 8 pending pending
hana 96 ready active
bruno 79 paused ready
farah 84 paused pending
hana 28 paused active
ivan 4 ready pending
alice 108 active failed
dina 8 active active
| pending
active
ready
pending
active
pending
failed
active
| eli 114 active ready
kim 53 closed failed
eli 111 active active
eli 90 paused closed
farah 12 ready pending
eli 0 ready active
gus 18 ready pending
eli 70 closed failed
dina 38 ready ready
kim 109 failed closed
| ready
failed
active
closed
pending
active
pending
failed
ready
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023713-p1 | Output the final field from each line of input. | {print $NF} | bruno 8 pending pending
hana 96 ready active
bruno 79 paused ready
farah 84 paused pending
hana 28 paused active
ivan 4 ready pending
alice 108 active failed
dina 8 active active
| pending
active
ready
pending
active
pending
failed
active
| eli 114 active ready
kim 53 closed failed
eli 111 active active
eli 90 paused closed
farah 12 ready pending
eli 0 ready active
gus 18 ready pending
eli 70 closed failed
dina 38 ready ready
kim 109 failed closed
| ready
failed
active
closed
pending
active
pending
failed
ready
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023713 | qwen/qwen3.7-plus |
awkweave-0023714 | Print the complete records where column 1 is at least 56. | $1 >= 56 | 108 juniper jules hana cobalt
9 indigo ivan lina fable
73 amber gus chen cobalt
111 delta chen lina juniper
63 indigo alice farah ember
33 cobalt gus ivan ember
11 cobalt jules farah fable
| 108 juniper jules hana cobalt
73 amber gus chen cobalt
111 delta chen lina juniper
63 indigo alice farah ember
| 91 grove eli chen ember
115 fable jules chen indigo
6 cobalt lina jules indigo
56 indigo ivan farah indigo
99 grove farah chen delta
86 amber kim bruno indigo
108 delta bruno gus birch
24 ember hana farah cobalt
44 fable ivan lina amber
| 91 grove eli chen ember
115 fable jules chen indigo
56 indigo ivan farah indigo
99 grove farah chen delta
86 amber kim bruno indigo
108 delta bruno gus birch
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023714-p1 | Output the full records for which the value in column 1 is greater than or equal to 56. | $1 >= 56 | 108 juniper jules hana cobalt
9 indigo ivan lina fable
73 amber gus chen cobalt
111 delta chen lina juniper
63 indigo alice farah ember
33 cobalt gus ivan ember
11 cobalt jules farah fable
| 108 juniper jules hana cobalt
73 amber gus chen cobalt
111 delta chen lina juniper
63 indigo alice farah ember
| 91 grove eli chen ember
115 fable jules chen indigo
6 cobalt lina jules indigo
56 indigo ivan farah indigo
99 grove farah chen delta
86 amber kim bruno indigo
108 delta bruno gus birch
24 ember hana farah cobalt
44 fable ivan lina amber
| 91 grove eli chen ember
115 fable jules chen indigo
56 indigo ivan farah indigo
99 grove farah chen delta
86 amber kim bruno indigo
108 delta bruno gus birch
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023714 | qwen/qwen3.7-plus |
awkweave-0023715 | Show whole lines whose 1st field is between 8 and 23, inclusive. | $1 >= 8 && $1 <= 23 | 2 birch lina jules
10 amber eli hana
17 harbor hana eli
27 harbor eli kim
2 juniper dina dina
2 ember gus alice
10 harbor eli ivan
30 delta gus gus
19 delta eli dina
26 ember gus chen
| 10 amber eli hana
17 harbor hana eli
10 harbor eli ivan
19 delta eli dina
| 14 delta hana chen
4 amber alice bruno
1 juniper alice eli
2 birch lina alice
13 ember kim eli
27 ember hana eli
15 delta gus lina
28 birch jules alice
11 amber farah dina
30 grove jules dina
| 14 delta hana chen
13 ember kim eli
15 delta gus lina
11 amber farah dina
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023715-p1 | Display entire lines where the first field falls within the inclusive range of 8 to 23. | $1 >= 8 && $1 <= 23 | 2 birch lina jules
10 amber eli hana
17 harbor hana eli
27 harbor eli kim
2 juniper dina dina
2 ember gus alice
10 harbor eli ivan
30 delta gus gus
19 delta eli dina
26 ember gus chen
| 10 amber eli hana
17 harbor hana eli
10 harbor eli ivan
19 delta eli dina
| 14 delta hana chen
4 amber alice bruno
1 juniper alice eli
2 birch lina alice
13 ember kim eli
27 ember hana eli
15 delta gus lina
28 birch jules alice
11 amber farah dina
30 grove jules dina
| 14 delta hana chen
13 ember kim eli
15 delta gus lina
11 amber farah dina
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023715 | qwen/qwen3.7-plus |
awkweave-0023716 | Print column 2 only for rows where column 3 is exactly pending. | $3 == "pending"{print $2} | 55 bruno pending juniper
70 hana ready indigo
98 alice failed grove
26 gus paused indigo
85 jules pending birch
76 chen paused fable
14 jules ready amber
59 kim active ember
| bruno
jules
| 102 kim ready fable
114 bruno paused juniper
87 alice active harbor
11 chen pending grove
72 lina ready birch
24 gus pending grove
73 gus ready birch
85 gus paused indigo
| chen
gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023716-p1 | Output only the second column for rows where the third column contains exactly the value 'pending'. | $3 == "pending"{print $2} | 55 bruno pending juniper
70 hana ready indigo
98 alice failed grove
26 gus paused indigo
85 jules pending birch
76 chen paused fable
14 jules ready amber
59 kim active ember
| bruno
jules
| 102 kim ready fable
114 bruno paused juniper
87 alice active harbor
11 chen pending grove
72 lina ready birch
24 gus pending grove
73 gus ready birch
85 gus paused indigo
| chen
gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023716 | qwen/qwen3.7-plus |
awkweave-0023717 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR indigo 5
DEBUG ember 5
ERROR cobalt 27
DEBUG birch 117
DEBUG ember 2
ERROR cobalt 52
WARN grove 46
DEBUG cobalt 5
| WARN grove 46
| INFO delta 91
DEBUG cobalt 70
ERROR grove 9
WARN delta 101
WARN ember 0
ERROR grove 1
ERROR fable 84
INFO cobalt 72
INFO amber 33
| WARN delta 101
WARN ember 0
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023717-p1 | Output all fields from any line where the first field starts with the string 'WARN'. | $1 ~ /^WARN/ | ERROR indigo 5
DEBUG ember 5
ERROR cobalt 27
DEBUG birch 117
DEBUG ember 2
ERROR cobalt 52
WARN grove 46
DEBUG cobalt 5
| WARN grove 46
| INFO delta 91
DEBUG cobalt 70
ERROR grove 9
WARN delta 101
WARN ember 0
ERROR grove 1
ERROR fable 84
INFO cobalt 72
INFO amber 33
| WARN delta 101
WARN ember 0
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023717 | qwen/qwen3.7-plus |
awkweave-0023718 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | harbor 27 pending
fable 30 closed
juniper 113 paused
indigo 101 failed
amber 8 failed
grove 85 pending
delta 78 pending
harbor 99 paused
juniper 82 ready
grove 9 paused
juniper 999 active
| harbor 27 pending
fable 30 closed
indigo 101 failed
amber 8 failed
grove 85 pending
delta 78 pending
harbor 99 paused
grove 9 paused
| ember 91 pending
birch 1 pending
fable 49 closed
ember 91 failed
fable 53 pending
birch 10 closed
juniper 999 active
| ember 91 pending
birch 1 pending
fable 49 closed
ember 91 failed
fable 53 pending
birch 10 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023718-p1 | Output all lines that do not contain the exact string juniper. | $0 !~ /juniper/ | harbor 27 pending
fable 30 closed
juniper 113 paused
indigo 101 failed
amber 8 failed
grove 85 pending
delta 78 pending
harbor 99 paused
juniper 82 ready
grove 9 paused
juniper 999 active
| harbor 27 pending
fable 30 closed
indigo 101 failed
amber 8 failed
grove 85 pending
delta 78 pending
harbor 99 paused
grove 9 paused
| ember 91 pending
birch 1 pending
fable 49 closed
ember 91 failed
fable 53 pending
birch 10 closed
juniper 999 active
| ember 91 pending
birch 1 pending
fable 49 closed
ember 91 failed
fable 53 pending
birch 10 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023718 | qwen/qwen3.7-plus |
awkweave-0023719 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | gus harbor 65
farah grove 49
alice birch 51
eli amber 82
alice birch 85
gus grove 6
| eli amber 82
alice birch 85
gus grove 6
| farah grove 30
farah grove 34
alice harbor 115
lina indigo 8
bruno birch 51
dina fable 21
eli amber 89
alice grove 39
| lina indigo 8
bruno birch 51
dina fable 21
eli amber 89
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023719-p1 | Display lines 4 to 7, inclusive of both endpoints. | NR >= 4 && NR <= 7 | gus harbor 65
farah grove 49
alice birch 51
eli amber 82
alice birch 85
gus grove 6
| eli amber 82
alice birch 85
gus grove 6
| farah grove 30
farah grove 34
alice harbor 115
lina indigo 8
bruno birch 51
dina fable 21
eli amber 89
alice grove 39
| lina indigo 8
bruno birch 51
dina fable 21
eli amber 89
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023719 | qwen/qwen3.7-plus |
awkweave-0023720 | Output only the first 2 records. | NR <= 2 | kim 40 harbor
gus 82 ember
chen 44 amber
lina 109 fable
lina 114 harbor
dina 75 ember
dina 40 delta
kim 18 birch
hana 24 birch
| kim 40 harbor
gus 82 ember
| ivan 116 juniper
kim 4 cobalt
jules 86 cobalt
jules 92 delta
eli 17 harbor
gus 98 fable
jules 12 ember
gus 101 cobalt
hana 14 juniper
| ivan 116 juniper
kim 4 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023720-p1 | Show only the initial 2 records. | NR <= 2 | kim 40 harbor
gus 82 ember
chen 44 amber
lina 109 fable
lina 114 harbor
dina 75 ember
dina 40 delta
kim 18 birch
hana 24 birch
| kim 40 harbor
gus 82 ember
| ivan 116 juniper
kim 4 cobalt
jules 86 cobalt
jules 92 delta
eli 17 harbor
gus 98 fable
jules 12 ember
gus 101 cobalt
hana 14 juniper
| ivan 116 juniper
kim 4 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023720 | qwen/qwen3.7-plus |
awkweave-0023721 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 108 birch
lina 47 harbor
chen 49 amber
ivan 94 fable
ivan 20 grove
bruno 86 ember
gus 88 birch
| lina 47 harbor
chen 49 amber
ivan 94 fable
ivan 20 grove
bruno 86 ember
gus 88 birch
| dina 107 fable
gus 34 grove
hana 85 birch
ivan 104 cobalt
eli 85 harbor
jules 91 juniper
farah 19 cobalt
bruno 112 indigo
lina 21 harbor
kim 37 ember
| gus 34 grove
hana 85 birch
ivan 104 cobalt
eli 85 harbor
jules 91 juniper
farah 19 cobalt
bruno 112 indigo
lina 21 harbor
kim 37 ember
| skip_header | 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.