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-0008880-p1 | Calculate the sum of the third column grouped by the second column, displaying 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 beta 24
farah delta 19
chen delta 17
jules beta 16
alice alpha 3
chen beta 27
lina alpha 17
kim gamma 2
hana beta 6
lina beta 22
| beta 95
delta 36
alpha 20
gamma 2
| gus delta 21
gus beta 19
alice beta 6
chen gamma 13
jules delta 10
farah alpha 28
eli alpha 12
alice beta 11
| delta 31
beta 36
gamma 13
alpha 40
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008880 | qwen/qwen3.7-plus |
awkweave-0008881 | 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]]} | beta harbor 71
alpha harbor 28
gamma amber 89
alpha juniper 72
gamma birch 48
alpha juniper 91
alpha harbor 3
gamma delta 62
gamma cobalt 26
| alpha 4
gamma 4
| alpha juniper 8
beta grove 15
gamma fable 66
beta juniper 3
alpha juniper 120
gamma delta 70
gamma fable 77
alpha juniper 68
| alpha 3
beta 2
gamma 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008881-p1 | List each duplicate value from the first column along with its occurrence count, 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]]} | beta harbor 71
alpha harbor 28
gamma amber 89
alpha juniper 72
gamma birch 48
alpha juniper 91
alpha harbor 3
gamma delta 62
gamma cobalt 26
| alpha 4
gamma 4
| alpha juniper 8
beta grove 15
gamma fable 66
beta juniper 3
alpha juniper 120
gamma delta 70
gamma fable 77
alpha juniper 68
| alpha 3
beta 2
gamma 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008881 | qwen/qwen3.7-plus |
awkweave-0008882 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | score record_id note display_name
r001 bruno 30 paused
r002 jules 11 failed
r003 dina 13 ready
r004 kim 10 closed
r005 lina 2 active
r006 jules 27 active
| bruno
jules
dina
kim
lina
jules
| score record_id note display_name
r001 jules 3 paused
r002 chen 9 active
r003 dina 22 closed
r004 farah 29 paused
r005 eli 17 failed
r006 lina 21 paused
r007 hana 25 pending
r008 kim 10 paused
| jules
chen
dina
farah
eli
lina
hana
kim
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008882-p1 | Treating the first row as a header, print the record_id column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | score record_id note display_name
r001 bruno 30 paused
r002 jules 11 failed
r003 dina 13 ready
r004 kim 10 closed
r005 lina 2 active
r006 jules 27 active
| bruno
jules
dina
kim
lina
jules
| score record_id note display_name
r001 jules 3 paused
r002 chen 9 active
r003 dina 22 closed
r004 farah 29 paused
r005 eli 17 failed
r006 lina 21 paused
r007 hana 25 pending
r008 kim 10 paused
| jules
chen
dina
farah
eli
lina
hana
kim
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008882 | qwen/qwen3.7-plus |
awkweave-0008883 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 dina 18 ready
r002 kim 29 failed
r003 farah 4 ready
r004 ivan 6 active
r005 eli 2 active
r006 farah 21 closed
| dina
kim
farah
| record_id display_name score state
r001 jules 28 pending
r002 jules 20 pending
r003 farah 5 active
r004 kim 18 ready
r005 jules 27 active
r006 dina 24 failed
r007 kim 22 active
| jules
jules
kim
jules
dina
kim
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008883-p1 | With the first row as a header, print the display_name for data rows where the score exceeds 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 dina 18 ready
r002 kim 29 failed
r003 farah 4 ready
r004 ivan 6 active
r005 eli 2 active
r006 farah 21 closed
| dina
kim
farah
| record_id display_name score state
r001 jules 28 pending
r002 jules 20 pending
r003 farah 5 active
r004 kim 18 ready
r005 jules 27 active
r006 dina 24 failed
r007 kim 22 active
| jules
jules
kim
jules
dina
kim
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008883 | qwen/qwen3.7-plus |
awkweave-0008884 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 7 active
gus 28 ready
farah 13 failed
chen 24 failed
hana 8 active
eli 8 paused
ivan 30 pending
chen 8 pending
eli 17 failed
lina 7 pending
| 7
28
13
24
8
8
30
8
17
7
| dina 29 closed
lina 1 paused
eli 22 closed
ivan 17 active
bruno 30 failed
kim 15 failed
farah 14 closed
farah 22 pending
hana 2 ready
chen 5 paused
| 29
1
22
17
30
15
14
22
2
5
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008884-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 7 active
gus 28 ready
farah 13 failed
chen 24 failed
hana 8 active
eli 8 paused
ivan 30 pending
chen 8 pending
eli 17 failed
lina 7 pending
| 7
28
13
24
8
8
30
8
17
7
| dina 29 closed
lina 1 paused
eli 22 closed
ivan 17 active
bruno 30 failed
kim 15 failed
farah 14 closed
farah 22 pending
hana 2 ready
chen 5 paused
| 29
1
22
17
30
15
14
22
2
5
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0008884 | qwen/qwen3.7-plus |
awkweave-0008885 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23. | BEGIN{FS=OFS=","}$2>23{print $1} | jules,11,closed
hana,26,ready
farah,12,ready
farah,1,paused
bruno,30,ready
jules,24,closed
chen,5,failed
hana,17,pending
| hana
bruno
jules
| chen,26,pending
gus,1,pending
gus,24,paused
eli,10,paused
chen,25,ready
lina,12,pending
kim,27,closed
gus,18,closed
alice,12,closed
| chen
gus
chen
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008885-p1 | For simple CSV data without quoted commas, print the first column only if the second column is greater than 23. | BEGIN{FS=OFS=","}$2>23{print $1} | jules,11,closed
hana,26,ready
farah,12,ready
farah,1,paused
bruno,30,ready
jules,24,closed
chen,5,failed
hana,17,pending
| hana
bruno
jules
| chen,26,pending
gus,1,pending
gus,24,paused
eli,10,paused
chen,25,ready
lina,12,pending
kim,27,closed
gus,18,closed
alice,12,closed
| chen
gus
chen
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008885 | qwen/qwen3.7-plus |
awkweave-0008886 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen indigo 81
eli amber 41
lina amber 36
chen delta 56
dina birch 8
lina indigo 85
dina fable 87
jules harbor 47
dina ember 56
lina harbor 99
| chen indigo 81
eli amber 41
lina amber 36
chen delta 56
dina birch 8
lina indigo 85
dina fable 87
jules harbor 47
dina ember 56
lina harbor 99
| bruno indigo 47
farah birch 72
farah birch 52
lina indigo 100
chen delta 3
chen birch 57
| bruno indigo 47
farah birch 72
farah birch 52
lina indigo 100
chen delta 3
chen birch 57
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008886-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | chen indigo 81
eli amber 41
lina amber 36
chen delta 56
dina birch 8
lina indigo 85
dina fable 87
jules harbor 47
dina ember 56
lina harbor 99
| chen indigo 81
eli amber 41
lina amber 36
chen delta 56
dina birch 8
lina indigo 85
dina fable 87
jules harbor 47
dina ember 56
lina harbor 99
| bruno indigo 47
farah birch 72
farah birch 52
lina indigo 100
chen delta 3
chen birch 57
| bruno indigo 47
farah birch 72
farah birch 52
lina indigo 100
chen delta 3
chen birch 57
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008886 | qwen/qwen3.7-plus |
awkweave-0008887 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | gus harbor 113 paused
jules harbor 2 closed
bruno amber 110 closed
kim birch 7 closed
jules cobalt 29 paused
bruno juniper 21 active
bruno delta 43 active
gus birch 100 failed
| bruno juniper 21 active
| chen ember 37 paused
hana ember 35 ready
kim indigo 113 failed
kim harbor 41 closed
chen ember 51 pending
ivan ember 57 failed
dina delta 85 failed
dina grove 106 failed
| kim indigo 113 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008887-p1 | Identify and output the longest line in the input; in case of a tie, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | gus harbor 113 paused
jules harbor 2 closed
bruno amber 110 closed
kim birch 7 closed
jules cobalt 29 paused
bruno juniper 21 active
bruno delta 43 active
gus birch 100 failed
| bruno juniper 21 active
| chen ember 37 paused
hana ember 35 ready
kim indigo 113 failed
kim harbor 41 closed
chen ember 51 pending
ivan ember 57 failed
dina delta 85 failed
dina grove 106 failed
| kim indigo 113 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008887 | qwen/qwen3.7-plus |
awkweave-0008888 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | hana 76
hana 114
eli 86
farah 120
ivan 3
alice 96
alice 94
chen 47
| hana 114
farah 120
alice 96
chen 47
| hana 2
dina 102
kim 99
chen 73
hana 89
hana 64
dina 60
alice 10
| dina 102
chen 73
hana 64
alice 10
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008888-p1 | Output every second line, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | hana 76
hana 114
eli 86
farah 120
ivan 3
alice 96
alice 94
chen 47
| hana 114
farah 120
alice 96
chen 47
| hana 2
dina 102
kim 99
chen 73
hana 89
hana 64
dina 60
alice 10
| dina 102
chen 73
hana 64
alice 10
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008888 | qwen/qwen3.7-plus |
awkweave-0008889 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha grove 82
gamma cobalt 15
beta harbor 106
delta grove 31
alpha cobalt 35
delta grove 64
| 4
| beta fable 56
gamma juniper 70
beta fable 37
delta delta 120
delta cobalt 50
alpha delta 34
delta juniper 69
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008889-p1 | Determine the number of unique values in the first column and print just that count. | {if(!seen[$1]++)n++}END{print n+0} | alpha grove 82
gamma cobalt 15
beta harbor 106
delta grove 31
alpha cobalt 35
delta grove 64
| 4
| beta fable 56
gamma juniper 70
beta fable 37
delta delta 120
delta cobalt 50
alpha delta 34
delta juniper 69
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008889 | qwen/qwen3.7-plus |
awkweave-0008900 | Output only the first 2 records. | NR <= 2 | alice 105 indigo
chen 28 harbor
kim 24 birch
bruno 63 indigo
jules 98 grove
bruno 66 fable
bruno 27 cobalt
jules 53 indigo
| alice 105 indigo
chen 28 harbor
| dina 87 grove
chen 60 birch
ivan 7 fable
gus 37 grove
alice 92 indigo
lina 105 indigo
eli 38 harbor
dina 48 indigo
eli 82 delta
| dina 87 grove
chen 60 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008900-p1 | Display only the first two records from the input. | NR <= 2 | alice 105 indigo
chen 28 harbor
kim 24 birch
bruno 63 indigo
jules 98 grove
bruno 66 fable
bruno 27 cobalt
jules 53 indigo
| alice 105 indigo
chen 28 harbor
| dina 87 grove
chen 60 birch
ivan 7 fable
gus 37 grove
alice 92 indigo
lina 105 indigo
eli 38 harbor
dina 48 indigo
eli 82 delta
| dina 87 grove
chen 60 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008900 | qwen/qwen3.7-plus |
awkweave-0008901 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 78 fable
hana 2 indigo
bruno 24 ember
hana 99 juniper
farah 73 harbor
lina 61 juniper
alice 33 grove
bruno 75 delta
kim 77 grove
| hana 2 indigo
bruno 24 ember
hana 99 juniper
farah 73 harbor
lina 61 juniper
alice 33 grove
bruno 75 delta
kim 77 grove
| jules 62 juniper
farah 77 ember
gus 1 birch
dina 119 birch
alice 93 cobalt
ivan 3 birch
kim 110 indigo
hana 22 delta
alice 116 cobalt
| farah 77 ember
gus 1 birch
dina 119 birch
alice 93 cobalt
ivan 3 birch
kim 110 indigo
hana 22 delta
alice 116 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008901-p1 | Ignore the header line and print all subsequent lines exactly as they appear. | NR > 1 | ivan 78 fable
hana 2 indigo
bruno 24 ember
hana 99 juniper
farah 73 harbor
lina 61 juniper
alice 33 grove
bruno 75 delta
kim 77 grove
| hana 2 indigo
bruno 24 ember
hana 99 juniper
farah 73 harbor
lina 61 juniper
alice 33 grove
bruno 75 delta
kim 77 grove
| jules 62 juniper
farah 77 ember
gus 1 birch
dina 119 birch
alice 93 cobalt
ivan 3 birch
kim 110 indigo
hana 22 delta
alice 116 cobalt
| farah 77 ember
gus 1 birch
dina 119 birch
alice 93 cobalt
ivan 3 birch
kim 110 indigo
hana 22 delta
alice 116 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008901 | qwen/qwen3.7-plus |
awkweave-0008902 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | gus active 65
eli paused 15
farah ready 73
lina ready 95
farah closed 38
hana paused 110
| 1
| lina closed 81
farah pending 59
ivan pending 103
gus ready 118
jules pending 68
kim closed 66
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008902-p1 | Count the records where the second column contains 'closed', printing 0 if no such records exist. | $2 == "closed"{n++}END{print n+0} | gus active 65
eli paused 15
farah ready 73
lina ready 95
farah closed 38
hana paused 110
| 1
| lina closed 81
farah pending 59
ivan pending 103
gus ready 118
jules pending 68
kim closed 66
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008902 | qwen/qwen3.7-plus |
awkweave-0008903 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | ember hana 11
fable chen 3
birch chen 1
juniper jules 9
amber bruno 25
birch bruno 28
fable kim 8
harbor eli 4
harbor ivan 18
ember bruno 15
| 122
| indigo dina 18
ember chen 23
grove gus 17
delta kim 4
grove farah 16
ember eli 24
grove ivan 30
indigo gus 26
indigo farah 23
| 181
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008903-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | ember hana 11
fable chen 3
birch chen 1
juniper jules 9
amber bruno 25
birch bruno 28
fable kim 8
harbor eli 4
harbor ivan 18
ember bruno 15
| 122
| indigo dina 18
ember chen 23
grove gus 17
delta kim 4
grove farah 16
ember eli 24
grove ivan 30
indigo gus 26
indigo farah 23
| 181
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008903 | qwen/qwen3.7-plus |
awkweave-0008904 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 22 eli ember
7 gus ember
15 eli amber
6 ivan ember
25 alice fable
25 kim amber
17 farah grove
| 16.71
| 9 lina harbor
1 jules amber
10 kim ember
2 alice cobalt
21 gus birch
5 chen indigo
23 ivan birch
10 farah indigo
30 jules delta
| 12.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008904-p1 | Calculate the average of the values in the first column and print it rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 22 eli ember
7 gus ember
15 eli amber
6 ivan ember
25 alice fable
25 kim amber
17 farah grove
| 16.71
| 9 lina harbor
1 jules amber
10 kim ember
2 alice cobalt
21 gus birch
5 chen indigo
23 ivan birch
10 farah indigo
30 jules delta
| 12.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008904 | qwen/qwen3.7-plus |
awkweave-0008905 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 3 lina
birch 27 farah
grove 24 farah
birch 1 gus
amber 26 ivan
harbor 12 ivan
delta 16 chen
grove 19 eli
| 1
| ember 24 kim
grove 3 gus
amber 2 bruno
harbor 7 eli
birch 7 gus
ember 22 hana
cobalt 12 kim
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008905-p1 | Locate and print the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 3 lina
birch 27 farah
grove 24 farah
birch 1 gus
amber 26 ivan
harbor 12 ivan
delta 16 chen
grove 19 eli
| 1
| ember 24 kim
grove 3 gus
amber 2 bruno
harbor 7 eli
birch 7 gus
ember 22 hana
cobalt 12 kim
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008905 | qwen/qwen3.7-plus |
awkweave-0008906 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | gus 30 harbor
eli 4 harbor
gus 18 birch
jules 7 grove
bruno 5 juniper
dina 7 juniper
eli 6 cobalt
dina 4 birch
| 30
| eli 10 harbor
kim 3 delta
gus 2 fable
eli 3 ember
dina 6 fable
farah 10 birch
bruno 25 amber
ivan 4 delta
bruno 14 birch
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008906-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | gus 30 harbor
eli 4 harbor
gus 18 birch
jules 7 grove
bruno 5 juniper
dina 7 juniper
eli 6 cobalt
dina 4 birch
| 30
| eli 10 harbor
kim 3 delta
gus 2 fable
eli 3 ember
dina 6 fable
farah 10 birch
bruno 25 amber
ivan 4 delta
bruno 14 birch
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008906 | qwen/qwen3.7-plus |
awkweave-0008907 | Count all input records and print the total. | END{print NR} | farah 61
gus 54
ivan 82
eli 7
dina 42
dina 56
| 6
| kim 115
kim 75
chen 61
dina 45
gus 63
kim 48
eli 26
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008907-p1 | Calculate the total number of input records and display the count. | END{print NR} | farah 61
gus 54
ivan 82
eli 7
dina 42
dina 56
| 6
| kim 115
kim 75
chen 61
dina 45
gus 63
kim 48
eli 26
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008907 | qwen/qwen3.7-plus |
awkweave-0008908 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana juniper 109
bruno grove 84
chen ember 80
gus grove 44
gus indigo 29
hana juniper 109
ivan indigo 78
| hana juniper 109
bruno grove 84
chen ember 80
gus grove 44
gus indigo 29
ivan indigo 78
| bruno grove 36
eli harbor 94
bruno amber 24
gus delta 108
bruno grove 36
ivan grove 12
ivan cobalt 39
lina amber 19
lina delta 91
| bruno grove 36
eli harbor 94
bruno amber 24
gus delta 108
ivan grove 12
ivan cobalt 39
lina amber 19
lina delta 91
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008908-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | hana juniper 109
bruno grove 84
chen ember 80
gus grove 44
gus indigo 29
hana juniper 109
ivan indigo 78
| hana juniper 109
bruno grove 84
chen ember 80
gus grove 44
gus indigo 29
ivan indigo 78
| bruno grove 36
eli harbor 94
bruno amber 24
gus delta 108
bruno grove 36
ivan grove 12
ivan cobalt 39
lina amber 19
lina delta 91
| bruno grove 36
eli harbor 94
bruno amber 24
gus delta 108
ivan grove 12
ivan cobalt 39
lina amber 19
lina delta 91
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008908 | qwen/qwen3.7-plus |
awkweave-0008909 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | kim grove 98
alice cobalt 100
bruno delta 24
eli grove 93
chen grove 97
eli fable 80
lina grove 109
jules harbor 96
| kim grove 98
alice cobalt 100
bruno delta 24
eli grove 93
chen grove 97
eli fable 80
lina grove 109
jules harbor 96
| farah birch 105
ivan grove 14
lina amber 68
farah indigo 3
farah grove 42
hana grove 71
eli fable 36
kim fable 34
alice fable 95
alice ember 67
| farah birch 105
ivan grove 14
lina amber 68
farah indigo 3
farah grove 42
hana grove 71
eli fable 36
kim fable 34
alice fable 95
alice ember 67
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008909-p1 | Retain only the initial line for every unique value in the third column, keeping the original order. | !seen[$3]++ | kim grove 98
alice cobalt 100
bruno delta 24
eli grove 93
chen grove 97
eli fable 80
lina grove 109
jules harbor 96
| kim grove 98
alice cobalt 100
bruno delta 24
eli grove 93
chen grove 97
eli fable 80
lina grove 109
jules harbor 96
| farah birch 105
ivan grove 14
lina amber 68
farah indigo 3
farah grove 42
hana grove 71
eli fable 36
kim fable 34
alice fable 95
alice ember 67
| farah birch 105
ivan grove 14
lina amber 68
farah indigo 3
farah grove 42
hana grove 71
eli fable 36
kim fable 34
alice fable 95
alice ember 67
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008909 | qwen/qwen3.7-plus |
awkweave-0008910 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 13 harbor
gus 4 ember
ivan 5 harbor
kim 26 birch
bruno 23 grove
dina 12 fable
| bruno 13
gus 17
ivan 22
kim 48
bruno 71
dina 83
| ivan 4 amber
kim 10 birch
chen 3 ember
dina 17 juniper
jules 14 grove
dina 13 ember
chen 13 ember
| ivan 4
kim 14
chen 17
dina 34
jules 48
dina 61
chen 74
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008910-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} | bruno 13 harbor
gus 4 ember
ivan 5 harbor
kim 26 birch
bruno 23 grove
dina 12 fable
| bruno 13
gus 17
ivan 22
kim 48
bruno 71
dina 83
| ivan 4 amber
kim 10 birch
chen 3 ember
dina 17 juniper
jules 14 grove
dina 13 ember
chen 13 ember
| ivan 4
kim 14
chen 17
dina 34
jules 48
dina 61
chen 74
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008910 | qwen/qwen3.7-plus |
awkweave-0008911 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 17 26 amber
lina 27 1 ember
farah 10 6 juniper
bruno 26 12 amber
kim 7 11 indigo
eli 17 17 fable
hana 22 20 grove
dina 15 2 ember
| gus 43
lina 28
farah 16
bruno 38
kim 18
eli 34
hana 42
dina 17
| eli 25 19 grove
hana 19 2 grove
alice 29 5 indigo
ivan 20 17 birch
ivan 21 22 juniper
ivan 15 11 juniper
bruno 22 16 grove
bruno 11 20 juniper
| eli 44
hana 21
alice 34
ivan 37
ivan 43
ivan 26
bruno 38
bruno 31
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008911-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 17 26 amber
lina 27 1 ember
farah 10 6 juniper
bruno 26 12 amber
kim 7 11 indigo
eli 17 17 fable
hana 22 20 grove
dina 15 2 ember
| gus 43
lina 28
farah 16
bruno 38
kim 18
eli 34
hana 42
dina 17
| eli 25 19 grove
hana 19 2 grove
alice 29 5 indigo
ivan 20 17 birch
ivan 21 22 juniper
ivan 15 11 juniper
bruno 22 16 grove
bruno 11 20 juniper
| eli 44
hana 21
alice 34
ivan 37
ivan 43
ivan 26
bruno 38
bruno 31
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008911 | qwen/qwen3.7-plus |
awkweave-0008912 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | lina 14
chen 23
gus 12
ivan 15
bruno 4
chen 3
lina 21
| lina fail
chen pass
gus fail
ivan fail
bruno fail
chen fail
lina fail
| hana 25
dina 24
lina 16
lina 23
chen 10
jules 17
hana 27
bruno 24
alice 24
| hana pass
dina pass
lina fail
lina pass
chen fail
jules fail
hana pass
bruno pass
alice pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008912-p1 | Output the first column with 'pass' if the second column is 22 or greater, otherwise output 'fail'. | {print $1,($2>=22?"pass":"fail")} | lina 14
chen 23
gus 12
ivan 15
bruno 4
chen 3
lina 21
| lina fail
chen pass
gus fail
ivan fail
bruno fail
chen fail
lina fail
| hana 25
dina 24
lina 16
lina 23
chen 10
jules 17
hana 27
bruno 24
alice 24
| hana pass
dina pass
lina fail
lina pass
chen fail
jules fail
hana pass
bruno pass
alice pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008912 | qwen/qwen3.7-plus |
awkweave-0008913 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | dina cobalt 6
ivan fable 31
kim ember 85
dina cobalt 27
gus amber 28
ivan fable 12
ivan cobalt 16
| COBALT
FABLE
EMBER
COBALT
AMBER
FABLE
COBALT
| lina ember 24
lina grove 35
kim harbor 53
eli grove 10
eli grove 81
hana delta 118
bruno amber 46
farah grove 31
chen grove 3
eli fable 97
| EMBER
GROVE
HARBOR
GROVE
GROVE
DELTA
AMBER
GROVE
GROVE
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008913-p1 | Transform the second column to uppercase and print only that column. | {print toupper($2)} | dina cobalt 6
ivan fable 31
kim ember 85
dina cobalt 27
gus amber 28
ivan fable 12
ivan cobalt 16
| COBALT
FABLE
EMBER
COBALT
AMBER
FABLE
COBALT
| lina ember 24
lina grove 35
kim harbor 53
eli grove 10
eli grove 81
hana delta 118
bruno amber 46
farah grove 31
chen grove 3
eli fable 97
| EMBER
GROVE
HARBOR
GROVE
GROVE
DELTA
AMBER
GROVE
GROVE
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008913 | qwen/qwen3.7-plus |
awkweave-0008914 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | juniper 117
grove 98
cobalt 95
birch 3
indigo 89
harbor 46
juniper 69
| ju
gr
co
bi
in
ha
ju
| harbor 80
cobalt 57
harbor 18
indigo 42
cobalt 29
amber 97
juniper 29
| ha
co
ha
in
co
am
ju
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008914-p1 | Extract and print the first 2 characters from the first column. | {print substr($1,1,2)} | juniper 117
grove 98
cobalt 95
birch 3
indigo 89
harbor 46
juniper 69
| ju
gr
co
bi
in
ha
ju
| harbor 80
cobalt 57
harbor 18
indigo 42
cobalt 29
amber 97
juniper 29
| ha
co
ha
in
co
am
ju
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008914 | qwen/qwen3.7-plus |
awkweave-0008915 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | delta_delta 105
delta_grove 86
delta_ember 87
cobalt_delta 114
fable_harbor 9
cobalt_indigo 104
harbor_grove 6
cobalt_harbor 16
delta_delta 41
| delta delta
delta grove
delta ember
cobalt delta
fable harbor
cobalt indigo
harbor grove
cobalt harbor
delta delta
| amber_harbor 20
juniper_delta 20
amber_amber 89
cobalt_grove 78
indigo_delta 50
juniper_indigo 59
indigo_amber 104
ember_harbor 43
| amber harbor
juniper delta
amber amber
cobalt grove
indigo delta
juniper indigo
indigo amber
ember harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008915-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | delta_delta 105
delta_grove 86
delta_ember 87
cobalt_delta 114
fable_harbor 9
cobalt_indigo 104
harbor_grove 6
cobalt_harbor 16
delta_delta 41
| delta delta
delta grove
delta ember
cobalt delta
fable harbor
cobalt indigo
harbor grove
cobalt harbor
delta delta
| amber_harbor 20
juniper_delta 20
amber_amber 89
cobalt_grove 78
indigo_delta 50
juniper_indigo 59
indigo_amber 104
ember_harbor 43
| amber harbor
juniper delta
amber amber
cobalt grove
indigo delta
juniper indigo
indigo amber
ember harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008915 | qwen/qwen3.7-plus |
awkweave-0008916 | 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)} | hana ember 101 pending
bruno birch 55 ready
eli birch 7 paused
hana cobalt 101 failed
lina ember 78 failed
alice birch 72 closed
| pending 101 ember hana
ready 55 birch bruno
paused 7 birch eli
failed 101 cobalt hana
failed 78 ember lina
closed 72 birch alice
| farah ember 101 active
kim juniper 28 failed
gus birch 91 active
hana juniper 69 active
ivan indigo 72 ready
chen ember 94 ready
gus harbor 88 active
| active 101 ember farah
failed 28 juniper kim
active 91 birch gus
active 69 juniper hana
ready 72 indigo ivan
ready 94 ember chen
active 88 harbor gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008916-p1 | Reverse the sequence of fields on each line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | hana ember 101 pending
bruno birch 55 ready
eli birch 7 paused
hana cobalt 101 failed
lina ember 78 failed
alice birch 72 closed
| pending 101 ember hana
ready 55 birch bruno
paused 7 birch eli
failed 101 cobalt hana
failed 78 ember lina
closed 72 birch alice
| farah ember 101 active
kim juniper 28 failed
gus birch 91 active
hana juniper 69 active
ivan indigo 72 ready
chen ember 94 ready
gus harbor 88 active
| active 101 ember farah
failed 28 juniper kim
active 91 birch gus
active 69 juniper hana
ready 72 indigo ivan
ready 94 ember chen
active 88 harbor gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008916 | qwen/qwen3.7-plus |
awkweave-0008917 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno ember 32 failed
ivan birch 83 failed
hana delta 60 pending
alice juniper 49 active
alice delta 97 closed
dina grove 59 active
| 4
4
4
4
4
4
| jules fable 94 active
hana fable 115 failed
lina ember 18 pending
kim fable 4 pending
bruno birch 7 closed
ivan indigo 23 failed
ivan birch 30 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008917-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | bruno ember 32 failed
ivan birch 83 failed
hana delta 60 pending
alice juniper 49 active
alice delta 97 closed
dina grove 59 active
| 4
4
4
4
4
4
| jules fable 94 active
hana fable 115 failed
lina ember 18 pending
kim fable 4 pending
bruno birch 7 closed
ivan indigo 23 failed
ivan birch 30 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008917 | qwen/qwen3.7-plus |
awkweave-0008918 | 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]]} | jules alpha 70
dina gamma 20
bruno beta 20
kim beta 41
eli gamma 109
lina alpha 65
kim gamma 94
jules gamma 97
| alpha 2
gamma 4
beta 2
| chen delta 46
bruno gamma 0
gus gamma 71
lina delta 65
farah alpha 24
kim gamma 29
dina gamma 43
kim beta 98
chen delta 65
bruno beta 74
| delta 3
gamma 4
alpha 1
beta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008918-p1 | Tally the occurrences of each unique value in column 2, then output the value and its count sorted by the order in which they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | jules alpha 70
dina gamma 20
bruno beta 20
kim beta 41
eli gamma 109
lina alpha 65
kim gamma 94
jules gamma 97
| alpha 2
gamma 4
beta 2
| chen delta 46
bruno gamma 0
gus gamma 71
lina delta 65
farah alpha 24
kim gamma 29
dina gamma 43
kim beta 98
chen delta 65
bruno beta 74
| delta 3
gamma 4
alpha 1
beta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008918 | qwen/qwen3.7-plus |
awkweave-0008919 | 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]]} | farah gamma 19
bruno delta 27
hana beta 18
alice alpha 8
dina gamma 30
dina alpha 30
| gamma 49
delta 27
beta 18
alpha 38
| dina gamma 10
dina gamma 30
chen gamma 27
kim beta 29
jules delta 23
bruno delta 16
alice gamma 5
kim delta 17
| gamma 72
beta 29
delta 56
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008919-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]]} | farah gamma 19
bruno delta 27
hana beta 18
alice alpha 8
dina gamma 30
dina alpha 30
| gamma 49
delta 27
beta 18
alpha 38
| dina gamma 10
dina gamma 30
chen gamma 27
kim beta 29
jules delta 23
bruno delta 16
alice gamma 5
kim delta 17
| gamma 72
beta 29
delta 56
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0008919 | qwen/qwen3.7-plus |
awkweave-0008920 | 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 cobalt 44
delta amber 4
gamma ember 11
alpha fable 48
gamma fable 102
alpha birch 29
delta grove 76
| delta 3
gamma 2
alpha 2
| gamma amber 14
gamma grove 71
alpha cobalt 113
beta ember 24
alpha juniper 34
delta harbor 49
delta grove 41
beta ember 86
beta birch 115
| gamma 2
alpha 2
beta 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008920-p1 | Identify duplicate entries in column 1 and output each repeated value alongside its frequency, maintaining the sequence of their 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 cobalt 44
delta amber 4
gamma ember 11
alpha fable 48
gamma fable 102
alpha birch 29
delta grove 76
| delta 3
gamma 2
alpha 2
| gamma amber 14
gamma grove 71
alpha cobalt 113
beta ember 24
alpha juniper 34
delta harbor 49
delta grove 41
beta ember 86
beta birch 115
| gamma 2
alpha 2
beta 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008920 | qwen/qwen3.7-plus |
awkweave-0008921 | 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 record_id display_name region
r001 hana 8 paused
r002 alice 14 failed
r003 jules 19 pending
r004 hana 13 ready
r005 gus 25 closed
r006 lina 29 closed
r007 chen 22 ready
r008 eli 9 closed
r009 eli 7 closed
| paused
failed
pending
ready
closed
closed
ready
closed
closed
| note record_id display_name region
r001 chen 27 paused
r002 hana 25 failed
r003 lina 8 closed
r004 kim 19 failed
r005 dina 12 ready
r006 eli 23 paused
r007 farah 26 active
r008 jules 17 closed
r009 bruno 16 ready
| paused
failed
closed
failed
ready
paused
active
closed
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008921-p1 | Treating the first line as a header, extract and print the region column from all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note record_id display_name region
r001 hana 8 paused
r002 alice 14 failed
r003 jules 19 pending
r004 hana 13 ready
r005 gus 25 closed
r006 lina 29 closed
r007 chen 22 ready
r008 eli 9 closed
r009 eli 7 closed
| paused
failed
pending
ready
closed
closed
ready
closed
closed
| note record_id display_name region
r001 chen 27 paused
r002 hana 25 failed
r003 lina 8 closed
r004 kim 19 failed
r005 dina 12 ready
r006 eli 23 paused
r007 farah 26 active
r008 jules 17 closed
r009 bruno 16 ready
| paused
failed
closed
failed
ready
paused
active
closed
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008921 | qwen/qwen3.7-plus |
awkweave-0008922 | The first row is a header. Print display_name for data rows whose score is greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 chen 1 closed
r002 eli 20 failed
r003 gus 25 paused
r004 dina 25 ready
r005 lina 9 pending
r006 lina 24 active
| eli
gus
dina
lina
| record_id display_name score state
r001 jules 19 closed
r002 dina 9 pending
r003 farah 29 pending
r004 gus 16 ready
r005 lina 18 closed
r006 farah 2 paused
r007 chen 14 closed
r008 hana 12 ready
r009 lina 23 closed
| farah
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008922-p1 | With the first row serving as a header, output the display_name field for any data record where the score exceeds 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 chen 1 closed
r002 eli 20 failed
r003 gus 25 paused
r004 dina 25 ready
r005 lina 9 pending
r006 lina 24 active
| eli
gus
dina
lina
| record_id display_name score state
r001 jules 19 closed
r002 dina 9 pending
r003 farah 29 pending
r004 gus 16 ready
r005 lina 18 closed
r006 farah 2 paused
r007 chen 14 closed
r008 hana 12 ready
r009 lina 23 closed
| farah
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008922 | qwen/qwen3.7-plus |
awkweave-0008923 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | kim 7 failed
lina 26 closed
gus 10 failed
bruno 28 ready
dina 13 ready
ivan 1 paused
ivan 14 ready
| 7
26
10
28
13
1
14
| chen 29 active
dina 27 closed
gus 19 failed
gus 22 paused
dina 4 ready
farah 22 active
farah 28 pending
farah 29 closed
farah 14 pending
| 29
27
19
22
4
22
28
29
14
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008923-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | kim 7 failed
lina 26 closed
gus 10 failed
bruno 28 ready
dina 13 ready
ivan 1 paused
ivan 14 ready
| 7
26
10
28
13
1
14
| chen 29 active
dina 27 closed
gus 19 failed
gus 22 paused
dina 4 ready
farah 22 active
farah 28 pending
farah 29 closed
farah 14 pending
| 29
27
19
22
4
22
28
29
14
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0008923 | qwen/qwen3.7-plus |
awkweave-0008924 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22. | BEGIN{FS=OFS=","}$2>22{print $1} | jules,20,paused
ivan,23,failed
farah,29,ready
jules,15,paused
kim,1,pending
eli,26,pending
ivan,23,active
gus,15,closed
chen,5,ready
hana,28,failed
| ivan
farah
eli
ivan
hana
| kim,28,ready
lina,9,failed
chen,23,ready
lina,8,active
jules,14,active
lina,3,pending
dina,10,paused
dina,23,paused
hana,21,paused
| kim
chen
dina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008924-p1 | Process simple comma-separated values without quoted commas, printing the first column only when the second column is greater than 22. | BEGIN{FS=OFS=","}$2>22{print $1} | jules,20,paused
ivan,23,failed
farah,29,ready
jules,15,paused
kim,1,pending
eli,26,pending
ivan,23,active
gus,15,closed
chen,5,ready
hana,28,failed
| ivan
farah
eli
ivan
hana
| kim,28,ready
lina,9,failed
chen,23,ready
lina,8,active
jules,14,active
lina,3,pending
dina,10,paused
dina,23,paused
hana,21,paused
| kim
chen
dina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008924 | qwen/qwen3.7-plus |
awkweave-0008925 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | kim amber 51
ivan harbor 72
chen harbor 4
gus delta 30
jules juniper 69
alice birch 0
alice delta 106
lina birch 100
kim amber 69
| kim amber 51
ivan harbor 72
chen harbor 4
gus delta 30
jules juniper 69
alice birch 0
alice delta 106
lina birch 100
kim amber 69
| alice juniper 48
alice harbor 42
kim fable 5
alice cobalt 46
bruno cobalt 99
kim indigo 55
jules cobalt 91
lina fable 31
eli cobalt 99
| alice juniper 48
alice harbor 42
kim fable 5
alice cobalt 46
bruno cobalt 99
kim indigo 55
jules cobalt 91
lina fable 31
eli cobalt 99
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008925-p1 | Remove leading and trailing whitespace from the text and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | kim amber 51
ivan harbor 72
chen harbor 4
gus delta 30
jules juniper 69
alice birch 0
alice delta 106
lina birch 100
kim amber 69
| kim amber 51
ivan harbor 72
chen harbor 4
gus delta 30
jules juniper 69
alice birch 0
alice delta 106
lina birch 100
kim amber 69
| alice juniper 48
alice harbor 42
kim fable 5
alice cobalt 46
bruno cobalt 99
kim indigo 55
jules cobalt 91
lina fable 31
eli cobalt 99
| alice juniper 48
alice harbor 42
kim fable 5
alice cobalt 46
bruno cobalt 99
kim indigo 55
jules cobalt 91
lina fable 31
eli cobalt 99
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008925 | qwen/qwen3.7-plus |
awkweave-0008926 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli birch 76 active
chen fable 37 active
lina cobalt 62 ready
alice fable 96 paused
kim juniper 32 paused
hana delta 54 failed
| alice fable 96 paused
| dina juniper 11 failed
bruno juniper 44 failed
hana amber 53 ready
ivan fable 93 paused
ivan juniper 63 closed
ivan amber 47 active
eli cobalt 35 closed
alice indigo 0 paused
gus ember 39 pending
| bruno juniper 44 failed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008926-p1 | Identify and output the longest line from the input; in the event of a tie in length, select the line that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli birch 76 active
chen fable 37 active
lina cobalt 62 ready
alice fable 96 paused
kim juniper 32 paused
hana delta 54 failed
| alice fable 96 paused
| dina juniper 11 failed
bruno juniper 44 failed
hana amber 53 ready
ivan fable 93 paused
ivan juniper 63 closed
ivan amber 47 active
eli cobalt 35 closed
alice indigo 0 paused
gus ember 39 pending
| bruno juniper 44 failed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008926 | qwen/qwen3.7-plus |
awkweave-0008927 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | farah 94
jules 36
gus 22
gus 116
bruno 89
ivan 52
gus 29
farah 104
alice 7
bruno 109
| gus 116
farah 104
| hana 4
dina 70
alice 30
bruno 45
lina 117
chen 28
bruno 65
| bruno 45
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008927-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | farah 94
jules 36
gus 22
gus 116
bruno 89
ivan 52
gus 29
farah 104
alice 7
bruno 109
| gus 116
farah 104
| hana 4
dina 70
alice 30
bruno 45
lina 117
chen 28
bruno 65
| bruno 45
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008927 | qwen/qwen3.7-plus |
awkweave-0008928 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha delta 20
gamma indigo 16
alpha cobalt 43
alpha harbor 118
beta amber 111
beta indigo 110
delta cobalt 88
gamma juniper 99
beta birch 78
gamma indigo 65
| 4
| gamma juniper 82
delta ember 71
beta fable 86
gamma harbor 14
gamma delta 93
alpha amber 82
gamma delta 53
gamma indigo 100
beta indigo 93
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008928-p1 | Determine the number of unique values present in column 1 and print only this total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha delta 20
gamma indigo 16
alpha cobalt 43
alpha harbor 118
beta amber 111
beta indigo 110
delta cobalt 88
gamma juniper 99
beta birch 78
gamma indigo 65
| 4
| gamma juniper 82
delta ember 71
beta fable 86
gamma harbor 14
gamma delta 93
alpha amber 82
gamma delta 53
gamma indigo 100
beta indigo 93
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008928 | qwen/qwen3.7-plus |
awkweave-0008929 | 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} | jules 19 0
bruno 24 2
ivan 2 8
farah 25 16
hana 3 1
gus 27 5
bruno 27 13
dina 26 9
eli 11 25
| bruno 12.00
ivan 0.25
farah 1.56
hana 3.00
gus 5.40
bruno 2.08
dina 2.89
eli 0.44
| jules 25 0
kim 16 5
eli 14 28
alice 4 11
alice 28 21
dina 3 14
ivan 6 28
eli 29 30
ivan 11 18
| kim 3.20
eli 0.50
alice 0.36
alice 1.33
dina 0.21
ivan 0.21
eli 0.97
ivan 0.61
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008929-p1 | For each row, compute column 2 divided by column 3 formatted to two decimal places and print it alongside column 1, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 19 0
bruno 24 2
ivan 2 8
farah 25 16
hana 3 1
gus 27 5
bruno 27 13
dina 26 9
eli 11 25
| bruno 12.00
ivan 0.25
farah 1.56
hana 3.00
gus 5.40
bruno 2.08
dina 2.89
eli 0.44
| jules 25 0
kim 16 5
eli 14 28
alice 4 11
alice 28 21
dina 3 14
ivan 6 28
eli 29 30
ivan 11 18
| kim 3.20
eli 0.50
alice 0.36
alice 1.33
dina 0.21
ivan 0.21
eli 0.97
ivan 0.61
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008929 | qwen/qwen3.7-plus |
awkweave-0008930 | 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 amber 5
ivan amber 11
gus grove 27
jules fable 21
chen fable 8
dina delta 3
hana indigo 29
farah birch 1
alice grove 15
| hana indigo 29
gus grove 27
jules fable 21
| jules grove 10
ivan ember 22
chen harbor 1
hana harbor 9
chen birch 28
lina juniper 30
gus delta 13
lina amber 13
| lina juniper 30
chen birch 28
ivan ember 22
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008930-p1 | Display the top 3 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]} | eli amber 5
ivan amber 11
gus grove 27
jules fable 21
chen fable 8
dina delta 3
hana indigo 29
farah birch 1
alice grove 15
| hana indigo 29
gus grove 27
jules fable 21
| jules grove 10
ivan ember 22
chen harbor 1
hana harbor 9
chen birch 28
lina juniper 30
gus delta 13
lina amber 13
| lina juniper 30
chen birch 28
ivan ember 22
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008930 | qwen/qwen3.7-plus |
awkweave-0008931 | Select the 4th and 1st fields in that order. | {print $4, $1} | paused chen closed grove
failed bruno failed juniper
pending jules closed cobalt
paused ivan closed indigo
active hana active birch
ready kim failed juniper
paused ivan paused delta
active bruno paused amber
active alice paused birch
| grove paused
juniper failed
cobalt pending
indigo paused
birch active
juniper ready
delta paused
amber active
birch active
| pending dina ready cobalt
ready farah closed ember
pending gus ready delta
pending kim active indigo
failed gus ready amber
closed gus ready fable
| cobalt pending
ember ready
delta pending
indigo pending
amber failed
fable closed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008931-p1 | Extract and output the fourth field followed by the first field, preserving this specific order. | {print $4, $1} | paused chen closed grove
failed bruno failed juniper
pending jules closed cobalt
paused ivan closed indigo
active hana active birch
ready kim failed juniper
paused ivan paused delta
active bruno paused amber
active alice paused birch
| grove paused
juniper failed
cobalt pending
indigo paused
birch active
juniper ready
delta paused
amber active
birch active
| pending dina ready cobalt
ready farah closed ember
pending gus ready delta
pending kim active indigo
failed gus ready amber
closed gus ready fable
| cobalt pending
ember ready
delta pending
indigo pending
amber failed
fable closed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008931 | qwen/qwen3.7-plus |
awkweave-0008932 | Print the last field of every input line. | {print $NF} | failed ready fable 107
ready ready birch 91
paused paused fable 119
closed pending delta 59
closed closed birch 19
pending failed ember 104
failed ready harbor 13
active failed juniper 89
| 107
91
119
59
19
104
13
89
| paused pending birch 38
closed closed harbor 96
closed pending cobalt 110
paused paused indigo 61
active ready grove 64
failed active fable 11
closed active harbor 24
| 38
96
110
61
64
11
24
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008932-p1 | Output the final field from each line of the input. | {print $NF} | failed ready fable 107
ready ready birch 91
paused paused fable 119
closed pending delta 59
closed closed birch 19
pending failed ember 104
failed ready harbor 13
active failed juniper 89
| 107
91
119
59
19
104
13
89
| paused pending birch 38
closed closed harbor 96
closed pending cobalt 110
paused paused indigo 61
active ready grove 64
failed active fable 11
closed active harbor 24
| 38
96
110
61
64
11
24
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008932 | qwen/qwen3.7-plus |
awkweave-0008933 | Print the complete records where column 1 is at most 61. | $1 <= 61 | 8 cobalt closed chen failed
28 grove failed bruno pending
80 ember paused eli pending
115 fable paused eli pending
33 ember active bruno active
85 birch paused chen closed
62 amber closed alice ready
| 8 cobalt closed chen failed
28 grove failed bruno pending
33 ember active bruno active
| 67 indigo ready kim paused
97 cobalt pending eli closed
98 grove closed ivan closed
108 grove failed gus ready
40 grove failed farah ready
48 delta pending gus closed
48 delta active gus failed
4 birch closed jules failed
18 ember closed eli active
| 40 grove failed farah ready
48 delta pending gus closed
48 delta active gus failed
4 birch closed jules failed
18 ember closed eli active
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008933-p1 | Print all complete records where the value in the first column is less than or equal to 61. | $1 <= 61 | 8 cobalt closed chen failed
28 grove failed bruno pending
80 ember paused eli pending
115 fable paused eli pending
33 ember active bruno active
85 birch paused chen closed
62 amber closed alice ready
| 8 cobalt closed chen failed
28 grove failed bruno pending
33 ember active bruno active
| 67 indigo ready kim paused
97 cobalt pending eli closed
98 grove closed ivan closed
108 grove failed gus ready
40 grove failed farah ready
48 delta pending gus closed
48 delta active gus failed
4 birch closed jules failed
18 ember closed eli active
| 40 grove failed farah ready
48 delta pending gus closed
48 delta active gus failed
4 birch closed jules failed
18 ember closed eli active
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008933 | qwen/qwen3.7-plus |
awkweave-0008934 | Show whole lines whose 3rd field is between 7 and 23, inclusive. | $3 >= 7 && $3 <= 23 | farah failed 5 ember
farah ready 18 delta
chen pending 17 indigo
gus pending 23 birch
hana active 8 ember
bruno paused 10 grove
ivan failed 15 juniper
eli ready 10 cobalt
ivan failed 3 grove
| farah ready 18 delta
chen pending 17 indigo
gus pending 23 birch
hana active 8 ember
bruno paused 10 grove
ivan failed 15 juniper
eli ready 10 cobalt
| kim ready 3 birch
eli pending 6 grove
kim active 28 indigo
jules active 16 grove
dina pending 9 juniper
farah ready 6 delta
chen pending 3 indigo
farah failed 11 juniper
| jules active 16 grove
dina pending 9 juniper
farah failed 11 juniper
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008934-p1 | Display entire lines where the third field falls within the inclusive range of 7 to 23. | $3 >= 7 && $3 <= 23 | farah failed 5 ember
farah ready 18 delta
chen pending 17 indigo
gus pending 23 birch
hana active 8 ember
bruno paused 10 grove
ivan failed 15 juniper
eli ready 10 cobalt
ivan failed 3 grove
| farah ready 18 delta
chen pending 17 indigo
gus pending 23 birch
hana active 8 ember
bruno paused 10 grove
ivan failed 15 juniper
eli ready 10 cobalt
| kim ready 3 birch
eli pending 6 grove
kim active 28 indigo
jules active 16 grove
dina pending 9 juniper
farah ready 6 delta
chen pending 3 indigo
farah failed 11 juniper
| jules active 16 grove
dina pending 9 juniper
farah failed 11 juniper
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008934 | qwen/qwen3.7-plus |
awkweave-0008935 | Print column 4 only for rows where column 3 is exactly ready. | $3 == "ready"{print $4} | 10 birch failed chen
92 fable active kim
43 grove paused kim
100 grove ready hana
118 delta failed alice
51 amber failed jules
20 juniper pending bruno
17 amber paused chen
12 harbor closed farah
101 delta pending eli
| hana
| 95 amber failed alice
37 grove pending eli
14 fable active dina
80 harbor closed farah
77 amber pending alice
101 delta active gus
68 juniper active hana
69 delta closed gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0008935-p1 | Output only the fourth column for rows where the third column contains exactly the text 'ready'. | $3 == "ready"{print $4} | 10 birch failed chen
92 fable active kim
43 grove paused kim
100 grove ready hana
118 delta failed alice
51 amber failed jules
20 juniper pending bruno
17 amber paused chen
12 harbor closed farah
101 delta pending eli
| hana
| 95 amber failed alice
37 grove pending eli
14 fable active dina
80 harbor closed farah
77 amber pending alice
101 delta active gus
68 juniper active hana
69 delta closed gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008935 | qwen/qwen3.7-plus | |
awkweave-0008936 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | ember ERROR 43
birch DEBUG 99
fable INFO 24
fable WARN 58
ember DEBUG 103
ember WARN 13
indigo ERROR 17
| fable INFO 24
| delta DEBUG 56
delta WARN 113
juniper WARN 10
juniper INFO 120
harbor WARN 71
birch INFO 103
juniper ERROR 1
| juniper INFO 120
birch INFO 103
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008936-p1 | Print all fields from lines where the second field starts with the prefix 'INFO'. | $2 ~ /^INFO/ | ember ERROR 43
birch DEBUG 99
fable INFO 24
fable WARN 58
ember DEBUG 103
ember WARN 13
indigo ERROR 17
| fable INFO 24
| delta DEBUG 56
delta WARN 113
juniper WARN 10
juniper INFO 120
harbor WARN 71
birch INFO 103
juniper ERROR 1
| juniper INFO 120
birch INFO 103
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008936 | qwen/qwen3.7-plus |
awkweave-0008937 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | juniper 52 paused
birch 55 ready
fable 99 paused
birch 48 ready
ember 109 ready
indigo 118 pending
ember 32 active
fable 999 active
| juniper 52 paused
birch 55 ready
birch 48 ready
ember 109 ready
indigo 118 pending
ember 32 active
| ember 34 ready
indigo 37 active
harbor 108 pending
grove 88 paused
juniper 56 active
grove 53 failed
fable 999 active
| ember 34 ready
indigo 37 active
harbor 108 pending
grove 88 paused
juniper 56 active
grove 53 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008937-p1 | Print every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | juniper 52 paused
birch 55 ready
fable 99 paused
birch 48 ready
ember 109 ready
indigo 118 pending
ember 32 active
fable 999 active
| juniper 52 paused
birch 55 ready
birch 48 ready
ember 109 ready
indigo 118 pending
ember 32 active
| ember 34 ready
indigo 37 active
harbor 108 pending
grove 88 paused
juniper 56 active
grove 53 failed
fable 999 active
| ember 34 ready
indigo 37 active
harbor 108 pending
grove 88 paused
juniper 56 active
grove 53 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008937 | qwen/qwen3.7-plus |
awkweave-0008938 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | eli delta 47
ivan birch 49
eli indigo 26
lina indigo 92
alice birch 78
dina amber 31
lina delta 96
| ivan birch 49
eli indigo 26
| eli indigo 79
hana juniper 23
chen juniper 92
bruno harbor 24
farah juniper 104
hana birch 14
| hana juniper 23
chen juniper 92
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008938-p1 | Output lines 2 through 3, inclusive of both endpoints. | NR >= 2 && NR <= 3 | eli delta 47
ivan birch 49
eli indigo 26
lina indigo 92
alice birch 78
dina amber 31
lina delta 96
| ivan birch 49
eli indigo 26
| eli indigo 79
hana juniper 23
chen juniper 92
bruno harbor 24
farah juniper 104
hana birch 14
| hana juniper 23
chen juniper 92
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008938 | qwen/qwen3.7-plus |
awkweave-0008939 | Output only the first 2 records. | NR <= 2 | gus 22 birch
bruno 92 indigo
ivan 86 grove
hana 37 fable
farah 68 cobalt
ivan 61 ember
| gus 22 birch
bruno 92 indigo
| bruno 67 birch
bruno 89 fable
eli 118 delta
alice 112 harbor
chen 103 indigo
kim 1 grove
chen 39 juniper
| bruno 67 birch
bruno 89 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008939-p1 | Output only the first 2 records from the input. | NR <= 2 | gus 22 birch
bruno 92 indigo
ivan 86 grove
hana 37 fable
farah 68 cobalt
ivan 61 ember
| gus 22 birch
bruno 92 indigo
| bruno 67 birch
bruno 89 fable
eli 118 delta
alice 112 harbor
chen 103 indigo
kim 1 grove
chen 39 juniper
| bruno 67 birch
bruno 89 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008939 | qwen/qwen3.7-plus |
awkweave-0008940 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 41 harbor
alice 106 amber
bruno 87 delta
eli 20 fable
farah 102 grove
dina 99 birch
hana 20 ember
farah 116 harbor
| alice 106 amber
bruno 87 delta
eli 20 fable
farah 102 grove
dina 99 birch
hana 20 ember
farah 116 harbor
| hana 1 indigo
eli 91 ember
ivan 85 ember
eli 18 cobalt
alice 88 amber
dina 110 cobalt
hana 20 juniper
hana 62 birch
alice 46 indigo
eli 6 amber
| eli 91 ember
ivan 85 ember
eli 18 cobalt
alice 88 amber
dina 110 cobalt
hana 20 juniper
hana 62 birch
alice 46 indigo
eli 6 amber
| 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.