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-0001880 | Output only the first 3 records. | NR <= 3 | lina 82 grove
farah 31 juniper
eli 71 indigo
eli 21 delta
dina 51 indigo
farah 71 indigo
hana 58 birch
| lina 82 grove
farah 31 juniper
eli 71 indigo
| lina 57 birch
farah 16 indigo
kim 45 indigo
jules 43 grove
eli 69 ember
jules 58 birch
gus 25 fable
chen 58 harbor
jules 92 fable
chen 33 harbor
| lina 57 birch
farah 16 indigo
kim 45 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001880-p1 | Output only the first 3 records. | NR <= 3 | lina 82 grove
farah 31 juniper
eli 71 indigo
eli 21 delta
dina 51 indigo
farah 71 indigo
hana 58 birch
| lina 82 grove
farah 31 juniper
eli 71 indigo
| lina 57 birch
farah 16 indigo
kim 45 indigo
jules 43 grove
eli 69 ember
jules 58 birch
gus 25 fable
chen 58 harbor
jules 92 fable
chen 33 harbor
| lina 57 birch
farah 16 indigo
kim 45 indigo
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001880 | qwen/qwen3.7-plus |
awkweave-0001881 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 52 cobalt
ivan 5 fable
chen 32 harbor
ivan 19 indigo
jules 15 harbor
bruno 49 fable
hana 63 cobalt
| ivan 5 fable
chen 32 harbor
ivan 19 indigo
jules 15 harbor
bruno 49 fable
hana 63 cobalt
| bruno 72 indigo
hana 70 cobalt
gus 63 indigo
hana 19 fable
dina 30 juniper
chen 78 grove
| hana 70 cobalt
gus 63 indigo
hana 19 fable
dina 30 juniper
chen 78 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001881-p1 | Skip the first line and print all remaining lines without modification. | NR > 1 | jules 52 cobalt
ivan 5 fable
chen 32 harbor
ivan 19 indigo
jules 15 harbor
bruno 49 fable
hana 63 cobalt
| ivan 5 fable
chen 32 harbor
ivan 19 indigo
jules 15 harbor
bruno 49 fable
hana 63 cobalt
| bruno 72 indigo
hana 70 cobalt
gus 63 indigo
hana 19 fable
dina 30 juniper
chen 78 grove
| hana 70 cobalt
gus 63 indigo
hana 19 fable
dina 30 juniper
chen 78 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001881 | qwen/qwen3.7-plus |
awkweave-0001882 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | farah closed 108
lina failed 83
farah failed 71
hana paused 117
eli closed 27
ivan ready 67
gus failed 31
alice closed 42
| 3
| jules ready 51
kim ready 109
farah closed 47
hana failed 45
jules paused 42
ivan paused 11
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001882-p1 | Count the number of records where column 2 is failed, printing 0 if none exist. | $2 == "failed"{n++}END{print n+0} | farah closed 108
lina failed 83
farah failed 71
hana paused 117
eli closed 27
ivan ready 67
gus failed 31
alice closed 42
| 3
| jules ready 51
kim ready 109
farah closed 47
hana failed 45
jules paused 42
ivan paused 11
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001882 | qwen/qwen3.7-plus |
awkweave-0001883 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | cobalt 8 hana
fable 21 jules
delta 6 chen
fable 16 gus
amber 26 dina
cobalt 14 kim
grove 27 hana
amber 16 dina
birch 10 alice
cobalt 2 chen
| 146
| birch 21 hana
cobalt 14 alice
amber 16 farah
amber 11 chen
amber 13 gus
birch 21 chen
| 96
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001883-p1 | Compute and print the sum of integer values found in column 2. | {s+=$2}END{print s+0} | cobalt 8 hana
fable 21 jules
delta 6 chen
fable 16 gus
amber 26 dina
cobalt 14 kim
grove 27 hana
amber 16 dina
birch 10 alice
cobalt 2 chen
| 146
| birch 21 hana
cobalt 14 alice
amber 16 farah
amber 11 chen
amber 13 gus
birch 21 chen
| 96
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001883 | qwen/qwen3.7-plus |
awkweave-0001884 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta alice 4
grove jules 2
harbor dina 20
delta kim 27
cobalt lina 5
harbor alice 6
juniper kim 5
| 9.86
| harbor eli 8
harbor alice 2
birch gus 29
ember jules 1
ember ivan 23
birch kim 12
indigo kim 22
grove ivan 15
amber lina 20
fable gus 8
| 14.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001884-p1 | Compute the average of the values in column 3 and output the result rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta alice 4
grove jules 2
harbor dina 20
delta kim 27
cobalt lina 5
harbor alice 6
juniper kim 5
| 9.86
| harbor eli 8
harbor alice 2
birch gus 29
ember jules 1
ember ivan 23
birch kim 12
indigo kim 22
grove ivan 15
amber lina 20
fable gus 8
| 14.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001884 | qwen/qwen3.7-plus |
awkweave-0001885 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | alice cobalt 12
chen fable 9
chen ember 5
alice amber 11
alice cobalt 27
eli delta 7
lina ember 4
farah fable 28
lina delta 26
jules harbor 17
| 4
| gus cobalt 18
chen cobalt 6
kim birch 2
eli grove 14
ivan grove 17
alice cobalt 6
farah ember 18
lina amber 23
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001885-p1 | Identify and display the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | alice cobalt 12
chen fable 9
chen ember 5
alice amber 11
alice cobalt 27
eli delta 7
lina ember 4
farah fable 28
lina delta 26
jules harbor 17
| 4
| gus cobalt 18
chen cobalt 6
kim birch 2
eli grove 14
ivan grove 17
alice cobalt 6
farah ember 18
lina amber 23
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001885 | qwen/qwen3.7-plus |
awkweave-0001886 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice amber 13
ivan delta 17
alice indigo 7
lina ember 3
hana indigo 24
farah cobalt 30
bruno fable 23
eli grove 16
dina amber 26
jules grove 9
| 30
| chen harbor 5
farah delta 13
dina grove 18
eli ember 28
chen fable 25
eli amber 2
ivan ember 21
bruno amber 1
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001886-p1 | Identify and display the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice amber 13
ivan delta 17
alice indigo 7
lina ember 3
hana indigo 24
farah cobalt 30
bruno fable 23
eli grove 16
dina amber 26
jules grove 9
| 30
| chen harbor 5
farah delta 13
dina grove 18
eli ember 28
chen fable 25
eli amber 2
ivan ember 21
bruno amber 1
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001886 | qwen/qwen3.7-plus |
awkweave-0001887 | Count all input records and print the total. | END{print NR} | hana 32
ivan 105
gus 81
chen 34
farah 93
dina 25
kim 93
chen 26
ivan 101
| 9
| kim 64
alice 90
chen 29
hana 39
lina 31
kim 29
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001887-p1 | Count the total number of input records and print the final count. | END{print NR} | hana 32
ivan 105
gus 81
chen 34
farah 93
dina 25
kim 93
chen 26
ivan 101
| 9
| kim 64
alice 90
chen 29
hana 39
lina 31
kim 29
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001887 | qwen/qwen3.7-plus |
awkweave-0001888 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules birch 40
jules birch 74
chen ember 102
eli juniper 40
ivan grove 102
farah amber 1
eli juniper 40
gus fable 15
alice amber 75
kim fable 60
dina amber 94
| jules birch 40
jules birch 74
chen ember 102
eli juniper 40
ivan grove 102
farah amber 1
gus fable 15
alice amber 75
kim fable 60
dina amber 94
| gus amber 20
lina amber 64
bruno delta 20
kim juniper 68
gus delta 72
lina amber 64
chen indigo 7
| gus amber 20
lina amber 64
bruno delta 20
kim juniper 68
gus delta 72
chen indigo 7
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001888-p1 | Eliminate duplicate lines while maintaining the original order and keeping only the first instance of each line. | !seen[$0]++ | jules birch 40
jules birch 74
chen ember 102
eli juniper 40
ivan grove 102
farah amber 1
eli juniper 40
gus fable 15
alice amber 75
kim fable 60
dina amber 94
| jules birch 40
jules birch 74
chen ember 102
eli juniper 40
ivan grove 102
farah amber 1
gus fable 15
alice amber 75
kim fable 60
dina amber 94
| gus amber 20
lina amber 64
bruno delta 20
kim juniper 68
gus delta 72
lina amber 64
chen indigo 7
| gus amber 20
lina amber 64
bruno delta 20
kim juniper 68
gus delta 72
chen indigo 7
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001888 | qwen/qwen3.7-plus |
awkweave-0001889 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | alice fable 2
kim harbor 50
ivan cobalt 2
chen harbor 113
farah harbor 51
dina amber 40
| alice fable 2
kim harbor 50
ivan cobalt 2
chen harbor 113
farah harbor 51
dina amber 40
| eli juniper 31
farah amber 93
chen birch 52
kim delta 45
gus delta 92
jules harbor 67
ivan grove 116
alice indigo 50
gus grove 84
| eli juniper 31
farah amber 93
chen birch 52
kim delta 45
gus delta 92
jules harbor 67
ivan grove 116
alice indigo 50
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001889-p1 | Retain only the first occurrence of each unique value in column 1, preserving the original input sequence. | !seen[$1]++ | alice fable 2
kim harbor 50
ivan cobalt 2
chen harbor 113
farah harbor 51
dina amber 40
| alice fable 2
kim harbor 50
ivan cobalt 2
chen harbor 113
farah harbor 51
dina amber 40
| eli juniper 31
farah amber 93
chen birch 52
kim delta 45
gus delta 92
jules harbor 67
ivan grove 116
alice indigo 50
gus grove 84
| eli juniper 31
farah amber 93
chen birch 52
kim delta 45
gus delta 92
jules harbor 67
ivan grove 116
alice indigo 50
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001889 | qwen/qwen3.7-plus |
awkweave-0001900 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma grove 98
alpha ember 35
beta indigo 77
alpha amber 48
gamma harbor 17
alpha cobalt 113
beta ember 88
| gamma 2
alpha 3
beta 2
| gamma delta 107
alpha cobalt 107
delta grove 10
beta grove 62
beta amber 91
gamma birch 105
beta grove 77
beta harbor 116
beta harbor 108
beta birch 6
| gamma 2
beta 6
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001900-p1 | List each 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]]} | gamma grove 98
alpha ember 35
beta indigo 77
alpha amber 48
gamma harbor 17
alpha cobalt 113
beta ember 88
| gamma 2
alpha 3
beta 2
| gamma delta 107
alpha cobalt 107
delta grove 10
beta grove 62
beta amber 91
gamma birch 105
beta grove 77
beta harbor 116
beta harbor 108
beta birch 6
| gamma 2
beta 6
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001900 | qwen/qwen3.7-plus |
awkweave-0001901 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | region score record_id note
r001 dina 29 failed
r002 chen 9 active
r003 gus 21 closed
r004 gus 4 paused
r005 jules 30 pending
r006 jules 10 pending
r007 hana 4 active
r008 bruno 29 pending
r009 ivan 14 active
r010 ivan 27 paused
| failed
active
closed
paused
pending
pending
active
pending
active
paused
| region score record_id note
r001 jules 11 pending
r002 chen 24 failed
r003 bruno 25 active
r004 gus 3 paused
r005 jules 21 closed
r006 gus 24 closed
r007 dina 29 pending
r008 eli 24 closed
r009 jules 16 pending
r010 kim 29 failed
| pending
failed
active
paused
closed
closed
pending
closed
pending
failed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001901-p1 | Skip the header row and output the contents of the note column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | region score record_id note
r001 dina 29 failed
r002 chen 9 active
r003 gus 21 closed
r004 gus 4 paused
r005 jules 30 pending
r006 jules 10 pending
r007 hana 4 active
r008 bruno 29 pending
r009 ivan 14 active
r010 ivan 27 paused
| failed
active
closed
paused
pending
pending
active
pending
active
paused
| region score record_id note
r001 jules 11 pending
r002 chen 24 failed
r003 bruno 25 active
r004 gus 3 paused
r005 jules 21 closed
r006 gus 24 closed
r007 dina 29 pending
r008 eli 24 closed
r009 jules 16 pending
r010 kim 29 failed
| pending
failed
active
paused
closed
closed
pending
closed
pending
failed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001901 | qwen/qwen3.7-plus |
awkweave-0001902 | The first row is a header. Print display_name for data rows whose score is greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 farah 27 closed
r002 kim 1 paused
r003 hana 12 ready
r004 jules 11 pending
r005 bruno 1 paused
r006 bruno 28 paused
| farah
bruno
| record_id display_name score state
r001 hana 2 failed
r002 dina 4 active
r003 jules 1 closed
r004 hana 30 paused
r005 ivan 7 ready
r006 alice 4 pending
r007 kim 12 ready
| hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001902-p1 | Ignoring the header row, output the display_name field for records where the score is strictly greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 farah 27 closed
r002 kim 1 paused
r003 hana 12 ready
r004 jules 11 pending
r005 bruno 1 paused
r006 bruno 28 paused
| farah
bruno
| record_id display_name score state
r001 hana 2 failed
r002 dina 4 active
r003 jules 1 closed
r004 hana 30 paused
r005 ivan 7 ready
r006 alice 4 pending
r007 kim 12 ready
| hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001902 | qwen/qwen3.7-plus |
awkweave-0001903 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 8 ready
dina 11 pending
chen 24 pending
chen 6 active
dina 1 failed
hana 9 paused
| 8
11
24
6
1
9
| ivan 6 active
hana 11 ready
lina 12 ready
ivan 3 ready
bruno 13 active
kim 1 failed
farah 12 failed
gus 14 failed
| 6
11
12
3
13
1
12
14
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001903-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 8 ready
dina 11 pending
chen 24 pending
chen 6 active
dina 1 failed
hana 9 paused
| 8
11
24
6
1
9
| ivan 6 active
hana 11 ready
lina 12 ready
ivan 3 ready
bruno 13 active
kim 1 failed
farah 12 failed
gus 14 failed
| 6
11
12
3
13
1
12
14
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001903 | qwen/qwen3.7-plus |
awkweave-0001904 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | jules,20,closed
dina,9,closed
lina,5,ready
farah,3,ready
lina,28,failed
ivan,12,failed
eli,1,ready
| jules
lina
ivan
| lina,16,closed
alice,11,active
ivan,5,pending
bruno,17,pending
hana,26,ready
farah,22,paused
eli,17,ready
jules,1,active
hana,22,paused
hana,12,failed
| lina
alice
bruno
hana
farah
eli
hana
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001904-p1 | For simple comma-separated input without quoted fields, print the first column if the value in the second column is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | jules,20,closed
dina,9,closed
lina,5,ready
farah,3,ready
lina,28,failed
ivan,12,failed
eli,1,ready
| jules
lina
ivan
| lina,16,closed
alice,11,active
ivan,5,pending
bruno,17,pending
hana,26,ready
farah,22,paused
eli,17,ready
jules,1,active
hana,22,paused
hana,12,failed
| lina
alice
bruno
hana
farah
eli
hana
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001904 | qwen/qwen3.7-plus |
awkweave-0001905 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | gus grove 11
alice harbor 65
jules ember 50
lina amber 26
gus delta 29
alice indigo 18
hana birch 27
gus fable 57
eli fable 3
eli grove 80
| gus grove 11
alice harbor 65
jules ember 50
lina amber 26
gus delta 29
alice indigo 18
hana birch 27
gus fable 57
eli fable 3
eli grove 80
| ivan birch 104
kim birch 51
lina juniper 118
lina birch 116
alice cobalt 14
jules delta 50
eli birch 101
| ivan birch 104
kim birch 51
lina juniper 118
lina birch 116
alice cobalt 14
jules delta 50
eli birch 101
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001905-p1 | Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | gus grove 11
alice harbor 65
jules ember 50
lina amber 26
gus delta 29
alice indigo 18
hana birch 27
gus fable 57
eli fable 3
eli grove 80
| gus grove 11
alice harbor 65
jules ember 50
lina amber 26
gus delta 29
alice indigo 18
hana birch 27
gus fable 57
eli fable 3
eli grove 80
| ivan birch 104
kim birch 51
lina juniper 118
lina birch 116
alice cobalt 14
jules delta 50
eli birch 101
| ivan birch 104
kim birch 51
lina juniper 118
lina birch 116
alice cobalt 14
jules delta 50
eli birch 101
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001905 | qwen/qwen3.7-plus |
awkweave-0001906 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | jules amber 66 ready
ivan grove 16 closed
hana amber 19 paused
farah delta 68 failed
eli ember 80 active
dina ember 87 failed
eli cobalt 44 failed
ivan juniper 91 failed
| ivan juniper 91 failed
| alice harbor 33 paused
dina indigo 11 ready
alice birch 63 active
hana harbor 58 closed
jules grove 58 paused
lina juniper 116 pending
| lina juniper 116 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001906-p1 | Output the longest line from the input, selecting the first one encountered if there is a tie in length. | {if(length($0)>length(best))best=$0}END{print best} | jules amber 66 ready
ivan grove 16 closed
hana amber 19 paused
farah delta 68 failed
eli ember 80 active
dina ember 87 failed
eli cobalt 44 failed
ivan juniper 91 failed
| ivan juniper 91 failed
| alice harbor 33 paused
dina indigo 11 ready
alice birch 63 active
hana harbor 58 closed
jules grove 58 paused
lina juniper 116 pending
| lina juniper 116 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001906 | qwen/qwen3.7-plus |
awkweave-0001907 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | eli 111
kim 73
gus 40
lina 17
dina 31
farah 120
lina 0
chen 50
kim 14
| eli 111
gus 40
dina 31
lina 0
kim 14
| jules 107
jules 87
chen 86
hana 6
bruno 87
jules 75
farah 69
| jules 107
chen 86
bruno 87
farah 69
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001907-p1 | Display lines 1, 3, 5, and so on, effectively printing every second line starting from the first. | NR%2==1 | eli 111
kim 73
gus 40
lina 17
dina 31
farah 120
lina 0
chen 50
kim 14
| eli 111
gus 40
dina 31
lina 0
kim 14
| jules 107
jules 87
chen 86
hana 6
bruno 87
jules 75
farah 69
| jules 107
chen 86
bruno 87
farah 69
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001907 | qwen/qwen3.7-plus |
awkweave-0001908 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 54
delta grove 113
alpha harbor 100
delta juniper 35
beta harbor 86
alpha grove 3
| 3
| alpha indigo 58
gamma delta 26
beta cobalt 93
alpha ember 96
beta juniper 24
delta grove 70
delta juniper 48
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001908-p1 | Calculate and output only the total number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 54
delta grove 113
alpha harbor 100
delta juniper 35
beta harbor 86
alpha grove 3
| 3
| alpha indigo 58
gamma delta 26
beta cobalt 93
alpha ember 96
beta juniper 24
delta grove 70
delta juniper 48
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001908 | qwen/qwen3.7-plus |
awkweave-0001909 | 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} | eli 15 0
jules 21 18
hana 2 4
bruno 1 10
kim 20 12
dina 27 27
jules 10 27
| jules 1.17
hana 0.50
bruno 0.10
kim 1.67
dina 1.00
jules 0.37
| bruno 30 0
eli 1 23
gus 11 14
lina 28 10
ivan 30 21
gus 13 8
alice 2 1
dina 8 18
| eli 0.04
gus 0.79
lina 2.80
ivan 1.43
gus 1.62
alice 2.00
dina 0.44
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001909-p1 | For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | eli 15 0
jules 21 18
hana 2 4
bruno 1 10
kim 20 12
dina 27 27
jules 10 27
| jules 1.17
hana 0.50
bruno 0.10
kim 1.67
dina 1.00
jules 0.37
| bruno 30 0
eli 1 23
gus 11 14
lina 28 10
ivan 30 21
gus 13 8
alice 2 1
dina 8 18
| eli 0.04
gus 0.79
lina 2.80
ivan 1.43
gus 1.62
alice 2.00
dina 0.44
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001909 | qwen/qwen3.7-plus |
awkweave-0001910 | 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]} | farah amber 17
bruno indigo 6
jules grove 9
jules cobalt 5
gus birch 23
hana indigo 25
jules amber 5
| hana indigo 25
gus birch 23
farah amber 17
| lina grove 14
bruno grove 15
kim indigo 14
bruno delta 28
kim juniper 28
kim ember 29
dina juniper 5
ivan birch 7
| kim ember 29
bruno delta 28
kim juniper 28
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001910-p1 | Output the three records with the highest numeric values in column 3 in descending order; if values are tied, maintain their original input sequence. | {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]} | farah amber 17
bruno indigo 6
jules grove 9
jules cobalt 5
gus birch 23
hana indigo 25
jules amber 5
| hana indigo 25
gus birch 23
farah amber 17
| lina grove 14
bruno grove 15
kim indigo 14
bruno delta 28
kim juniper 28
kim ember 29
dina juniper 5
ivan birch 7
| kim ember 29
bruno delta 28
kim juniper 28
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001910 | qwen/qwen3.7-plus |
awkweave-0001911 | Select the 3rd and 2nd fields in that order. | {print $3, $2} | chen 39 paused harbor
hana 43 ready harbor
dina 12 active fable
kim 53 ready fable
alice 119 active fable
ivan 31 failed cobalt
| paused 39
ready 43
active 12
ready 53
active 119
failed 31
| hana 104 ready cobalt
gus 78 closed harbor
chen 47 pending delta
lina 12 failed delta
ivan 15 failed ember
ivan 87 active ember
eli 1 failed amber
| ready 104
closed 78
pending 47
failed 12
failed 15
active 87
failed 1
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001911-p1 | Extract and print the third field followed by the second field for each record. | {print $3, $2} | chen 39 paused harbor
hana 43 ready harbor
dina 12 active fable
kim 53 ready fable
alice 119 active fable
ivan 31 failed cobalt
| paused 39
ready 43
active 12
ready 53
active 119
failed 31
| hana 104 ready cobalt
gus 78 closed harbor
chen 47 pending delta
lina 12 failed delta
ivan 15 failed ember
ivan 87 active ember
eli 1 failed amber
| ready 104
closed 78
pending 47
failed 12
failed 15
active 87
failed 1
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001911 | qwen/qwen3.7-plus |
awkweave-0001912 | Print the last field of every input line. | {print $NF} | grove ivan ivan ready paused active
harbor bruno bruno ready active ready
ember alice bruno active active closed
cobalt farah jules ready pending closed
ember dina bruno pending ready closed
amber lina lina closed closed ready
indigo lina hana failed active closed
grove dina ivan paused ready active
| active
ready
closed
closed
closed
ready
closed
active
| amber eli hana active active paused
cobalt ivan eli ready failed ready
juniper alice gus ready pending ready
ember kim jules active pending ready
birch lina bruno active paused ready
indigo bruno gus closed active failed
indigo hana ivan paused ready failed
cobalt dina jules pending failed ready
| paused
ready
ready
ready
ready
failed
failed
ready
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001912-p1 | Output the final field from every line in the input. | {print $NF} | grove ivan ivan ready paused active
harbor bruno bruno ready active ready
ember alice bruno active active closed
cobalt farah jules ready pending closed
ember dina bruno pending ready closed
amber lina lina closed closed ready
indigo lina hana failed active closed
grove dina ivan paused ready active
| active
ready
closed
closed
closed
ready
closed
active
| amber eli hana active active paused
cobalt ivan eli ready failed ready
juniper alice gus ready pending ready
ember kim jules active pending ready
birch lina bruno active paused ready
indigo bruno gus closed active failed
indigo hana ivan paused ready failed
cobalt dina jules pending failed ready
| paused
ready
ready
ready
ready
failed
failed
ready
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001912 | qwen/qwen3.7-plus |
awkweave-0001913 | Print the complete records where column 2 is at most 53. | $2 <= 53 | harbor 53 birch closed
grove 48 fable active
fable 70 delta closed
indigo 60 birch paused
indigo 22 cobalt closed
amber 88 ember active
juniper 0 ember active
amber 110 indigo closed
harbor 48 grove ready
cobalt 74 amber failed
| harbor 53 birch closed
grove 48 fable active
indigo 22 cobalt closed
juniper 0 ember active
harbor 48 grove ready
| fable 98 grove active
cobalt 118 delta paused
birch 82 harbor closed
ember 117 harbor failed
grove 10 grove ready
cobalt 97 cobalt failed
| grove 10 grove ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001913-p1 | Print all records where the value in the second column is less than or equal to 53. | $2 <= 53 | harbor 53 birch closed
grove 48 fable active
fable 70 delta closed
indigo 60 birch paused
indigo 22 cobalt closed
amber 88 ember active
juniper 0 ember active
amber 110 indigo closed
harbor 48 grove ready
cobalt 74 amber failed
| harbor 53 birch closed
grove 48 fable active
indigo 22 cobalt closed
juniper 0 ember active
harbor 48 grove ready
| fable 98 grove active
cobalt 118 delta paused
birch 82 harbor closed
ember 117 harbor failed
grove 10 grove ready
cobalt 97 cobalt failed
| grove 10 grove ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001913 | qwen/qwen3.7-plus |
awkweave-0001914 | Show whole lines whose 1st field is between 8 and 24, inclusive. | $1 >= 8 && $1 <= 24 | 11 fable ready harbor
1 grove paused ember
3 ember closed juniper
29 birch paused grove
26 cobalt pending delta
28 delta ready grove
9 delta paused indigo
23 amber pending amber
| 11 fable ready harbor
9 delta paused indigo
23 amber pending amber
| 27 fable closed cobalt
28 cobalt ready ember
9 harbor pending juniper
22 fable ready grove
16 ember active fable
28 birch paused ember
24 fable failed juniper
| 9 harbor pending juniper
22 fable ready grove
16 ember active fable
24 fable failed juniper
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001914-p1 | Display entire lines where the first field falls within the inclusive range of 8 to 24. | $1 >= 8 && $1 <= 24 | 11 fable ready harbor
1 grove paused ember
3 ember closed juniper
29 birch paused grove
26 cobalt pending delta
28 delta ready grove
9 delta paused indigo
23 amber pending amber
| 11 fable ready harbor
9 delta paused indigo
23 amber pending amber
| 27 fable closed cobalt
28 cobalt ready ember
9 harbor pending juniper
22 fable ready grove
16 ember active fable
28 birch paused ember
24 fable failed juniper
| 9 harbor pending juniper
22 fable ready grove
16 ember active fable
24 fable failed juniper
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001914 | qwen/qwen3.7-plus |
awkweave-0001915 | Print column 4 only for rows where column 3 is exactly ready. | $3 == "ready"{print $4} | 112 delta failed eli
68 juniper closed dina
68 ember active ivan
68 ember ready hana
81 indigo pending hana
39 amber paused kim
105 juniper failed kim
| hana
| 73 ember paused farah
15 ember closed kim
25 grove pending bruno
1 birch active gus
83 amber active eli
118 fable closed gus
20 amber active jules
28 indigo failed hana
99 indigo active hana
57 harbor closed eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0001915-p1 | Output only the fourth column for rows where the third column contains exactly the text 'ready'. | $3 == "ready"{print $4} | 112 delta failed eli
68 juniper closed dina
68 ember active ivan
68 ember ready hana
81 indigo pending hana
39 amber paused kim
105 juniper failed kim
| hana
| 73 ember paused farah
15 ember closed kim
25 grove pending bruno
1 birch active gus
83 amber active eli
118 fable closed gus
20 amber active jules
28 indigo failed hana
99 indigo active hana
57 harbor closed eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001915 | qwen/qwen3.7-plus | |
awkweave-0001916 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | juniper 14 WARN
amber 60 INFO
fable 5 WARN
harbor 38 DEBUG
amber 110 WARN
amber 98 WARN
harbor 48 INFO
ember 94 ERROR
cobalt 58 WARN
| amber 60 INFO
harbor 48 INFO
| indigo 10 WARN
birch 37 ERROR
juniper 58 WARN
birch 5 WARN
fable 39 INFO
birch 2 WARN
harbor 85 INFO
fable 87 INFO
amber 99 WARN
harbor 93 WARN
| fable 39 INFO
harbor 85 INFO
fable 87 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001916-p1 | Print all fields from any line where the third field starts with the string 'INFO'. | $3 ~ /^INFO/ | juniper 14 WARN
amber 60 INFO
fable 5 WARN
harbor 38 DEBUG
amber 110 WARN
amber 98 WARN
harbor 48 INFO
ember 94 ERROR
cobalt 58 WARN
| amber 60 INFO
harbor 48 INFO
| indigo 10 WARN
birch 37 ERROR
juniper 58 WARN
birch 5 WARN
fable 39 INFO
birch 2 WARN
harbor 85 INFO
fable 87 INFO
amber 99 WARN
harbor 93 WARN
| fable 39 INFO
harbor 85 INFO
fable 87 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001916 | qwen/qwen3.7-plus |
awkweave-0001917 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | harbor 12 failed
delta 3 failed
fable 103 ready
birch 100 closed
harbor 6 active
harbor 16 ready
grove 999 active
| harbor 12 failed
delta 3 failed
fable 103 ready
birch 100 closed
harbor 6 active
harbor 16 ready
| ember 23 paused
delta 46 ready
fable 76 paused
grove 85 active
amber 57 pending
juniper 91 failed
ember 105 ready
fable 103 closed
cobalt 120 pending
birch 116 ready
grove 999 active
| ember 23 paused
delta 46 ready
fable 76 paused
amber 57 pending
juniper 91 failed
ember 105 ready
fable 103 closed
cobalt 120 pending
birch 116 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001917-p1 | Output every line that does not contain the exact substring 'grove'. | $0 !~ /grove/ | harbor 12 failed
delta 3 failed
fable 103 ready
birch 100 closed
harbor 6 active
harbor 16 ready
grove 999 active
| harbor 12 failed
delta 3 failed
fable 103 ready
birch 100 closed
harbor 6 active
harbor 16 ready
| ember 23 paused
delta 46 ready
fable 76 paused
grove 85 active
amber 57 pending
juniper 91 failed
ember 105 ready
fable 103 closed
cobalt 120 pending
birch 116 ready
grove 999 active
| ember 23 paused
delta 46 ready
fable 76 paused
amber 57 pending
juniper 91 failed
ember 105 ready
fable 103 closed
cobalt 120 pending
birch 116 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001917 | qwen/qwen3.7-plus |
awkweave-0001918 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | eli cobalt 66
bruno delta 102
jules grove 103
eli amber 20
farah harbor 34
ivan juniper 66
farah amber 27
farah juniper 10
dina delta 2
| bruno delta 102
jules grove 103
| jules fable 66
eli indigo 101
bruno harbor 90
jules grove 80
jules juniper 85
dina delta 61
| eli indigo 101
bruno harbor 90
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001918-p1 | Display lines 2 to 3, inclusive. | NR >= 2 && NR <= 3 | eli cobalt 66
bruno delta 102
jules grove 103
eli amber 20
farah harbor 34
ivan juniper 66
farah amber 27
farah juniper 10
dina delta 2
| bruno delta 102
jules grove 103
| jules fable 66
eli indigo 101
bruno harbor 90
jules grove 80
jules juniper 85
dina delta 61
| eli indigo 101
bruno harbor 90
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001918 | qwen/qwen3.7-plus |
awkweave-0001919 | Output only the first 3 records. | NR <= 3 | dina 60 indigo
eli 84 juniper
ivan 114 indigo
dina 90 ember
ivan 23 harbor
hana 111 ember
farah 31 grove
gus 58 birch
dina 94 ember
kim 92 indigo
| dina 60 indigo
eli 84 juniper
ivan 114 indigo
| gus 36 amber
ivan 33 juniper
kim 32 fable
ivan 60 juniper
chen 43 ember
bruno 48 harbor
dina 88 indigo
ivan 94 juniper
alice 40 birch
lina 24 amber
| gus 36 amber
ivan 33 juniper
kim 32 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001919-p1 | Output just the initial 3 records. | NR <= 3 | dina 60 indigo
eli 84 juniper
ivan 114 indigo
dina 90 ember
ivan 23 harbor
hana 111 ember
farah 31 grove
gus 58 birch
dina 94 ember
kim 92 indigo
| dina 60 indigo
eli 84 juniper
ivan 114 indigo
| gus 36 amber
ivan 33 juniper
kim 32 fable
ivan 60 juniper
chen 43 ember
bruno 48 harbor
dina 88 indigo
ivan 94 juniper
alice 40 birch
lina 24 amber
| gus 36 amber
ivan 33 juniper
kim 32 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001919 | qwen/qwen3.7-plus |
awkweave-0001920 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 7 amber
eli 52 juniper
farah 99 amber
gus 120 birch
eli 104 harbor
farah 109 birch
chen 89 grove
bruno 35 birch
alice 34 ember
| eli 52 juniper
farah 99 amber
gus 120 birch
eli 104 harbor
farah 109 birch
chen 89 grove
bruno 35 birch
alice 34 ember
| dina 21 harbor
alice 101 birch
dina 70 amber
gus 96 amber
alice 40 ember
eli 51 fable
alice 39 amber
eli 103 delta
| alice 101 birch
dina 70 amber
gus 96 amber
alice 40 ember
eli 51 fable
alice 39 amber
eli 103 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001920-p1 | Omit the first line and output all subsequent lines as they are. | NR > 1 | ivan 7 amber
eli 52 juniper
farah 99 amber
gus 120 birch
eli 104 harbor
farah 109 birch
chen 89 grove
bruno 35 birch
alice 34 ember
| eli 52 juniper
farah 99 amber
gus 120 birch
eli 104 harbor
farah 109 birch
chen 89 grove
bruno 35 birch
alice 34 ember
| dina 21 harbor
alice 101 birch
dina 70 amber
gus 96 amber
alice 40 ember
eli 51 fable
alice 39 amber
eli 103 delta
| alice 101 birch
dina 70 amber
gus 96 amber
alice 40 ember
eli 51 fable
alice 39 amber
eli 103 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001920 | qwen/qwen3.7-plus |
awkweave-0001921 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | ivan pending 30
chen paused 90
dina active 83
jules active 36
alice failed 29
jules closed 91
gus closed 103
kim ready 106
lina failed 44
| 1
| alice paused 15
bruno active 70
lina active 93
dina active 0
bruno pending 110
hana closed 116
kim active 10
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001921-p1 | Count records where column 2 is 'paused'; output 0 if the count is zero. | $2 == "paused"{n++}END{print n+0} | ivan pending 30
chen paused 90
dina active 83
jules active 36
alice failed 29
jules closed 91
gus closed 103
kim ready 106
lina failed 44
| 1
| alice paused 15
bruno active 70
lina active 93
dina active 0
bruno pending 110
hana closed 116
kim active 10
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001921 | qwen/qwen3.7-plus |
awkweave-0001922 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 10 delta chen
24 amber chen
11 delta dina
21 juniper hana
15 indigo dina
20 indigo jules
| 101
| 25 grove ivan
24 grove jules
16 delta farah
26 amber kim
27 delta alice
29 ember chen
22 delta ivan
| 169
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001922-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 10 delta chen
24 amber chen
11 delta dina
21 juniper hana
15 indigo dina
20 indigo jules
| 101
| 25 grove ivan
24 grove jules
16 delta farah
26 amber kim
27 delta alice
29 ember chen
22 delta ivan
| 169
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001922 | qwen/qwen3.7-plus |
awkweave-0001923 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo jules 2
amber kim 10
indigo hana 1
delta kim 6
cobalt alice 7
cobalt gus 26
amber jules 10
| 8.86
| amber alice 25
birch jules 10
fable dina 10
cobalt bruno 14
fable alice 22
grove hana 7
juniper dina 20
fable lina 18
ember farah 21
delta chen 14
| 16.10
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001923-p1 | Print the average of column 3, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo jules 2
amber kim 10
indigo hana 1
delta kim 6
cobalt alice 7
cobalt gus 26
amber jules 10
| 8.86
| amber alice 25
birch jules 10
fable dina 10
cobalt bruno 14
fable alice 22
grove hana 7
juniper dina 20
fable lina 18
ember farah 21
delta chen 14
| 16.10
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001923 | qwen/qwen3.7-plus |
awkweave-0001924 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 10 jules
delta 19 alice
ember 8 kim
amber 11 jules
fable 30 kim
amber 17 farah
delta 26 chen
birch 25 gus
| 8
| juniper 26 chen
ember 26 hana
cobalt 28 hana
ember 27 chen
amber 10 gus
amber 15 chen
cobalt 18 chen
grove 11 alice
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001924-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 10 jules
delta 19 alice
ember 8 kim
amber 11 jules
fable 30 kim
amber 17 farah
delta 26 chen
birch 25 gus
| 8
| juniper 26 chen
ember 26 hana
cobalt 28 hana
ember 27 chen
amber 10 gus
amber 15 chen
cobalt 18 chen
grove 11 alice
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001924 | qwen/qwen3.7-plus |
awkweave-0001925 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 cobalt bruno
21 harbor eli
26 amber eli
29 fable hana
4 delta hana
28 amber ivan
8 indigo hana
| 29
| 18 fable ivan
4 juniper bruno
9 fable kim
28 birch eli
3 amber hana
20 ember dina
9 delta hana
23 amber dina
11 indigo farah
23 indigo kim
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001925-p1 | Identify and output the maximum numeric value found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 cobalt bruno
21 harbor eli
26 amber eli
29 fable hana
4 delta hana
28 amber ivan
8 indigo hana
| 29
| 18 fable ivan
4 juniper bruno
9 fable kim
28 birch eli
3 amber hana
20 ember dina
9 delta hana
23 amber dina
11 indigo farah
23 indigo kim
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001925 | qwen/qwen3.7-plus |
awkweave-0001926 | Count all input records and print the total. | END{print NR} | hana 8
ivan 82
jules 55
chen 95
alice 68
lina 83
| 6
| jules 103
hana 3
chen 101
chen 51
farah 10
gus 7
farah 23
alice 120
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001926-p1 | Count the total number of input records and print the result. | END{print NR} | hana 8
ivan 82
jules 55
chen 95
alice 68
lina 83
| 6
| jules 103
hana 3
chen 101
chen 51
farah 10
gus 7
farah 23
alice 120
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001926 | qwen/qwen3.7-plus |
awkweave-0001927 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina delta 37
lina fable 24
gus delta 17
chen cobalt 42
jules birch 42
chen cobalt 42
jules grove 81
alice fable 79
eli harbor 22
lina harbor 29
ivan cobalt 104
| lina delta 37
lina fable 24
gus delta 17
chen cobalt 42
jules birch 42
jules grove 81
alice fable 79
eli harbor 22
lina harbor 29
ivan cobalt 104
| ivan fable 33
alice indigo 112
gus ember 95
jules harbor 115
lina cobalt 61
ivan harbor 71
hana harbor 5
gus indigo 88
lina cobalt 61
chen birch 59
| ivan fable 33
alice indigo 112
gus ember 95
jules harbor 115
lina cobalt 61
ivan harbor 71
hana harbor 5
gus indigo 88
chen birch 59
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001927-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | lina delta 37
lina fable 24
gus delta 17
chen cobalt 42
jules birch 42
chen cobalt 42
jules grove 81
alice fable 79
eli harbor 22
lina harbor 29
ivan cobalt 104
| lina delta 37
lina fable 24
gus delta 17
chen cobalt 42
jules birch 42
jules grove 81
alice fable 79
eli harbor 22
lina harbor 29
ivan cobalt 104
| ivan fable 33
alice indigo 112
gus ember 95
jules harbor 115
lina cobalt 61
ivan harbor 71
hana harbor 5
gus indigo 88
lina cobalt 61
chen birch 59
| ivan fable 33
alice indigo 112
gus ember 95
jules harbor 115
lina cobalt 61
ivan harbor 71
hana harbor 5
gus indigo 88
chen birch 59
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001927 | qwen/qwen3.7-plus |
awkweave-0001928 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | bruno ember 6
dina ember 53
alice harbor 32
dina harbor 64
lina juniper 35
jules juniper 26
hana birch 66
jules juniper 19
| bruno ember 6
dina ember 53
alice harbor 32
lina juniper 35
jules juniper 26
hana birch 66
| dina delta 115
lina cobalt 2
chen grove 116
ivan delta 99
bruno fable 114
chen ember 22
kim cobalt 77
gus birch 47
eli indigo 95
| dina delta 115
lina cobalt 2
chen grove 116
ivan delta 99
bruno fable 114
kim cobalt 77
gus birch 47
eli indigo 95
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001928-p1 | Retain only the first occurrence for each unique value in column 1, keeping the input order. | !seen[$1]++ | bruno ember 6
dina ember 53
alice harbor 32
dina harbor 64
lina juniper 35
jules juniper 26
hana birch 66
jules juniper 19
| bruno ember 6
dina ember 53
alice harbor 32
lina juniper 35
jules juniper 26
hana birch 66
| dina delta 115
lina cobalt 2
chen grove 116
ivan delta 99
bruno fable 114
chen ember 22
kim cobalt 77
gus birch 47
eli indigo 95
| dina delta 115
lina cobalt 2
chen grove 116
ivan delta 99
bruno fable 114
kim cobalt 77
gus birch 47
eli indigo 95
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001928 | qwen/qwen3.7-plus |
awkweave-0001929 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 27 birch
gus 24 grove
dina 12 amber
kim 20 cobalt
dina 15 ember
dina 13 juniper
gus 21 harbor
alice 12 indigo
gus 3 cobalt
| alice 27
gus 51
dina 63
kim 83
dina 98
dina 111
gus 132
alice 144
gus 147
| jules 19 harbor
jules 9 harbor
alice 16 birch
bruno 20 harbor
farah 5 harbor
jules 7 indigo
bruno 2 grove
chen 14 grove
farah 16 amber
alice 20 delta
| jules 19
jules 28
alice 44
bruno 64
farah 69
jules 76
bruno 78
chen 92
farah 108
alice 128
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001929-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 27 birch
gus 24 grove
dina 12 amber
kim 20 cobalt
dina 15 ember
dina 13 juniper
gus 21 harbor
alice 12 indigo
gus 3 cobalt
| alice 27
gus 51
dina 63
kim 83
dina 98
dina 111
gus 132
alice 144
gus 147
| jules 19 harbor
jules 9 harbor
alice 16 birch
bruno 20 harbor
farah 5 harbor
jules 7 indigo
bruno 2 grove
chen 14 grove
farah 16 amber
alice 20 delta
| jules 19
jules 28
alice 44
bruno 64
farah 69
jules 76
bruno 78
chen 92
farah 108
alice 128
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001929 | qwen/qwen3.7-plus |
awkweave-0001930 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | ivan 20 21 ember
eli 16 23 delta
chen 26 1 delta
gus 7 1 ember
chen 26 12 harbor
lina 26 14 delta
hana 27 6 indigo
lina 8 9 ember
| ivan 41
eli 39
chen 27
gus 8
chen 38
lina 40
hana 33
lina 17
| hana 25 8 amber
dina 13 22 grove
dina 7 3 harbor
hana 25 14 juniper
kim 2 14 ember
alice 11 3 grove
dina 25 20 delta
| hana 33
dina 35
dina 10
hana 39
kim 16
alice 14
dina 45
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001930-p1 | Output field 1 and the total of fields 2 and 3 for each row. | {print $1,$2+$3} | ivan 20 21 ember
eli 16 23 delta
chen 26 1 delta
gus 7 1 ember
chen 26 12 harbor
lina 26 14 delta
hana 27 6 indigo
lina 8 9 ember
| ivan 41
eli 39
chen 27
gus 8
chen 38
lina 40
hana 33
lina 17
| hana 25 8 amber
dina 13 22 grove
dina 7 3 harbor
hana 25 14 juniper
kim 2 14 ember
alice 11 3 grove
dina 25 20 delta
| hana 33
dina 35
dina 10
hana 39
kim 16
alice 14
dina 45
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001930 | qwen/qwen3.7-plus |
awkweave-0001931 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | gus 24
gus 2
bruno 21
gus 16
eli 23
ivan 10
dina 27
chen 6
| gus pass
gus fail
bruno pass
gus fail
eli pass
ivan fail
dina pass
chen fail
| chen 17
ivan 21
bruno 30
lina 15
jules 4
ivan 1
hana 30
| chen fail
ivan pass
bruno pass
lina fail
jules fail
ivan fail
hana pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001931-p1 | Display column 1; if column 2 is 21 or higher, output 'pass', else output 'fail'. | {print $1,($2>=21?"pass":"fail")} | gus 24
gus 2
bruno 21
gus 16
eli 23
ivan 10
dina 27
chen 6
| gus pass
gus fail
bruno pass
gus fail
eli pass
ivan fail
dina pass
chen fail
| chen 17
ivan 21
bruno 30
lina 15
jules 4
ivan 1
hana 30
| chen fail
ivan pass
bruno pass
lina fail
jules fail
ivan fail
hana pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001931 | qwen/qwen3.7-plus |
awkweave-0001932 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | lina harbor 92
kim juniper 16
jules delta 75
gus fable 28
hana juniper 75
jules cobalt 87
hana cobalt 91
| LINA
KIM
JULES
GUS
HANA
JULES
HANA
| ivan birch 34
jules indigo 16
chen fable 38
jules harbor 56
alice delta 28
bruno birch 27
farah indigo 0
bruno grove 71
farah indigo 90
| IVAN
JULES
CHEN
JULES
ALICE
BRUNO
FARAH
BRUNO
FARAH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001932-p1 | Transform column 1 to uppercase and output only that column. | {print toupper($1)} | lina harbor 92
kim juniper 16
jules delta 75
gus fable 28
hana juniper 75
jules cobalt 87
hana cobalt 91
| LINA
KIM
JULES
GUS
HANA
JULES
HANA
| ivan birch 34
jules indigo 16
chen fable 38
jules harbor 56
alice delta 28
bruno birch 27
farah indigo 0
bruno grove 71
farah indigo 90
| IVAN
JULES
CHEN
JULES
ALICE
BRUNO
FARAH
BRUNO
FARAH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001932 | qwen/qwen3.7-plus |
awkweave-0001933 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | fable 77
indigo 20
juniper 19
delta 18
cobalt 89
indigo 108
delta 86
delta 18
harbor 6
cobalt 97
| fa
in
ju
de
co
in
de
de
ha
co
| juniper 120
harbor 54
grove 34
birch 118
juniper 115
fable 19
grove 89
indigo 59
| ju
ha
gr
bi
ju
fa
gr
in
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001933-p1 | Extract and print the first 2 characters from column 1. | {print substr($1,1,2)} | fable 77
indigo 20
juniper 19
delta 18
cobalt 89
indigo 108
delta 86
delta 18
harbor 6
cobalt 97
| fa
in
ju
de
co
in
de
de
ha
co
| juniper 120
harbor 54
grove 34
birch 118
juniper 115
fable 19
grove 89
indigo 59
| ju
ha
gr
bi
ju
fa
gr
in
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001933 | qwen/qwen3.7-plus |
awkweave-0001934 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_birch 116
harbor_birch 54
delta_amber 85
fable_indigo 115
ember_cobalt 61
ember_delta 104
fable_fable 81
delta_indigo 38
| ember birch
harbor birch
delta amber
fable indigo
ember cobalt
ember delta
fable fable
delta indigo
| fable_juniper 112
harbor_amber 22
amber_fable 56
fable_birch 39
indigo_indigo 3
birch_fable 64
| fable juniper
harbor amber
amber fable
fable birch
indigo indigo
birch fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001934-p1 | Substitute all underscores in column 1 with spaces and print the result. | {gsub(/_/," ",$1);print $1} | ember_birch 116
harbor_birch 54
delta_amber 85
fable_indigo 115
ember_cobalt 61
ember_delta 104
fable_fable 81
delta_indigo 38
| ember birch
harbor birch
delta amber
fable indigo
ember cobalt
ember delta
fable fable
delta indigo
| fable_juniper 112
harbor_amber 22
amber_fable 56
fable_birch 39
indigo_indigo 3
birch_fable 64
| fable juniper
harbor amber
amber fable
fable birch
indigo indigo
birch fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001934 | qwen/qwen3.7-plus |
awkweave-0001935 | 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)} | eli juniper 48 failed
dina grove 72 paused
dina grove 115 pending
kim harbor 66 active
gus delta 88 paused
kim grove 101 paused
chen fable 120 failed
gus indigo 118 paused
hana delta 99 paused
| failed 48 juniper eli
paused 72 grove dina
pending 115 grove dina
active 66 harbor kim
paused 88 delta gus
paused 101 grove kim
failed 120 fable chen
paused 118 indigo gus
paused 99 delta hana
| ivan amber 26 ready
chen ember 77 paused
chen juniper 60 active
eli ember 108 active
ivan indigo 58 pending
chen juniper 87 active
dina amber 89 paused
bruno ember 85 ready
eli indigo 60 paused
| ready 26 amber ivan
paused 77 ember chen
active 60 juniper chen
active 108 ember eli
pending 58 indigo ivan
active 87 juniper chen
paused 89 amber dina
ready 85 ember bruno
paused 60 indigo eli
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001935-p1 | Reverse the sequence of fields on each line and print them all. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli juniper 48 failed
dina grove 72 paused
dina grove 115 pending
kim harbor 66 active
gus delta 88 paused
kim grove 101 paused
chen fable 120 failed
gus indigo 118 paused
hana delta 99 paused
| failed 48 juniper eli
paused 72 grove dina
pending 115 grove dina
active 66 harbor kim
paused 88 delta gus
paused 101 grove kim
failed 120 fable chen
paused 118 indigo gus
paused 99 delta hana
| ivan amber 26 ready
chen ember 77 paused
chen juniper 60 active
eli ember 108 active
ivan indigo 58 pending
chen juniper 87 active
dina amber 89 paused
bruno ember 85 ready
eli indigo 60 paused
| ready 26 amber ivan
paused 77 ember chen
active 60 juniper chen
active 108 ember eli
pending 58 indigo ivan
active 87 juniper chen
paused 89 amber dina
ready 85 ember bruno
paused 60 indigo eli
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001935 | qwen/qwen3.7-plus |
awkweave-0001936 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno fable 120 paused
kim indigo 81 closed
lina delta 102 ready
eli cobalt 119 pending
lina indigo 110 closed
ivan fable 80 pending
| 4
4
4
4
4
4
| hana fable 100 closed
jules grove 17 failed
eli cobalt 66 ready
ivan indigo 20 closed
kim grove 23 closed
chen delta 113 active
ivan cobalt 28 paused
eli fable 65 pending
kim indigo 4 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001936-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno fable 120 paused
kim indigo 81 closed
lina delta 102 ready
eli cobalt 119 pending
lina indigo 110 closed
ivan fable 80 pending
| 4
4
4
4
4
4
| hana fable 100 closed
jules grove 17 failed
eli cobalt 66 ready
ivan indigo 20 closed
kim grove 23 closed
chen delta 113 active
ivan cobalt 28 paused
eli fable 65 pending
kim indigo 4 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001936 | qwen/qwen3.7-plus |
awkweave-0001937 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno delta 112
lina alpha 100
gus beta 29
eli gamma 76
jules beta 16
jules gamma 103
| delta 1
alpha 1
beta 2
gamma 2
| ivan delta 43
gus beta 94
bruno delta 119
lina delta 91
lina beta 104
lina delta 77
lina beta 79
alice gamma 15
| delta 4
beta 3
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001937-p1 | Tally records by column 2 values and print each value with its count, ordered by first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno delta 112
lina alpha 100
gus beta 29
eli gamma 76
jules beta 16
jules gamma 103
| delta 1
alpha 1
beta 2
gamma 2
| ivan delta 43
gus beta 94
bruno delta 119
lina delta 91
lina beta 104
lina delta 77
lina beta 79
alice gamma 15
| delta 4
beta 3
gamma 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001937 | qwen/qwen3.7-plus |
awkweave-0001938 | 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]]} | eli alpha 30
ivan gamma 4
ivan delta 14
hana alpha 7
jules delta 22
ivan delta 12
alice beta 24
| alpha 37
gamma 4
delta 48
beta 24
| jules delta 8
alice alpha 28
farah alpha 17
gus delta 12
bruno delta 21
lina gamma 6
lina beta 12
| delta 41
alpha 45
gamma 6
beta 12
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001938-p1 | Calculate the sum of column 3 for each group in column 2, printing results in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | eli alpha 30
ivan gamma 4
ivan delta 14
hana alpha 7
jules delta 22
ivan delta 12
alice beta 24
| alpha 37
gamma 4
delta 48
beta 24
| jules delta 8
alice alpha 28
farah alpha 17
gus delta 12
bruno delta 21
lina gamma 6
lina beta 12
| delta 41
alpha 45
gamma 6
beta 12
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001938 | qwen/qwen3.7-plus |
awkweave-0001939 | 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 birch 49
beta juniper 65
alpha indigo 10
alpha delta 10
delta harbor 90
gamma fable 10
| beta 2
alpha 2
| gamma delta 94
beta birch 72
alpha harbor 42
gamma indigo 91
gamma amber 91
gamma fable 59
gamma indigo 8
| gamma 5
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001939-p1 | List duplicate values from column 1 along with their occurrence counts, sorted by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta birch 49
beta juniper 65
alpha indigo 10
alpha delta 10
delta harbor 90
gamma fable 10
| beta 2
alpha 2
| gamma delta 94
beta birch 72
alpha harbor 42
gamma indigo 91
gamma amber 91
gamma fable 59
gamma indigo 8
| gamma 5
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001939 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.