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-0039441-p1 | Print the average of column 3, formatted to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | chen delta 1
jules juniper 23
alice harbor 15
ivan juniper 25
gus amber 15
alice amber 4
bruno harbor 1
ivan harbor 21
alice amber 22
| 14.11
| alice juniper 24
kim delta 29
alice delta 24
hana amber 28
kim harbor 10
hana fable 22
dina amber 13
farah juniper 23
kim delta 5
| 19.78
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039441 | qwen/qwen3.7-plus |
awkweave-0039442 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim juniper 16
jules birch 17
kim indigo 13
kim grove 12
alice indigo 3
eli indigo 25
kim fable 3
lina ember 10
lina ember 20
chen cobalt 26
| 3
| lina delta 16
dina delta 17
eli amber 6
hana amber 7
gus harbor 27
farah harbor 3
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039442-p1 | Identify and output the minimum numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim juniper 16
jules birch 17
kim indigo 13
kim grove 12
alice indigo 3
eli indigo 25
kim fable 3
lina ember 10
lina ember 20
chen cobalt 26
| 3
| lina delta 16
dina delta 17
eli amber 6
hana amber 7
gus harbor 27
farah harbor 3
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039442 | qwen/qwen3.7-plus |
awkweave-0039443 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | alice 22 juniper
alice 25 amber
dina 28 juniper
hana 12 cobalt
eli 6 birch
hana 13 cobalt
chen 2 fable
ivan 1 grove
| 28
| hana 20 amber
gus 3 amber
lina 29 ember
eli 20 fable
gus 18 fable
hana 14 harbor
chen 9 birch
jules 9 delta
alice 12 birch
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039443-p1 | Identify and output the maximum numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | alice 22 juniper
alice 25 amber
dina 28 juniper
hana 12 cobalt
eli 6 birch
hana 13 cobalt
chen 2 fable
ivan 1 grove
| 28
| hana 20 amber
gus 3 amber
lina 29 ember
eli 20 fable
gus 18 fable
hana 14 harbor
chen 9 birch
jules 9 delta
alice 12 birch
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039443 | qwen/qwen3.7-plus |
awkweave-0039444 | Count all input records and print the total. | END{print NR} | bruno 110
gus 74
dina 104
dina 70
gus 14
ivan 88
jules 83
| 7
| eli 48
jules 10
gus 65
chen 87
dina 95
ivan 118
gus 24
jules 60
ivan 47
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039444-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 110
gus 74
dina 104
dina 70
gus 14
ivan 88
jules 83
| 7
| eli 48
jules 10
gus 65
chen 87
dina 95
ivan 118
gus 24
jules 60
ivan 47
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039444 | qwen/qwen3.7-plus |
awkweave-0039445 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah fable 26
farah fable 26
gus ember 31
chen juniper 6
lina delta 41
kim indigo 42
jules juniper 53
farah harbor 77
hana delta 4
farah harbor 91
farah birch 10
| farah fable 26
gus ember 31
chen juniper 6
lina delta 41
kim indigo 42
jules juniper 53
farah harbor 77
hana delta 4
farah harbor 91
farah birch 10
| ivan juniper 48
hana cobalt 50
ivan delta 42
jules juniper 37
lina delta 48
gus cobalt 17
kim ember 86
eli ember 21
dina amber 11
gus cobalt 17
bruno cobalt 33
| ivan juniper 48
hana cobalt 50
ivan delta 42
jules juniper 37
lina delta 48
gus cobalt 17
kim ember 86
eli ember 21
dina amber 11
bruno cobalt 33
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039445-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | farah fable 26
farah fable 26
gus ember 31
chen juniper 6
lina delta 41
kim indigo 42
jules juniper 53
farah harbor 77
hana delta 4
farah harbor 91
farah birch 10
| farah fable 26
gus ember 31
chen juniper 6
lina delta 41
kim indigo 42
jules juniper 53
farah harbor 77
hana delta 4
farah harbor 91
farah birch 10
| ivan juniper 48
hana cobalt 50
ivan delta 42
jules juniper 37
lina delta 48
gus cobalt 17
kim ember 86
eli ember 21
dina amber 11
gus cobalt 17
bruno cobalt 33
| ivan juniper 48
hana cobalt 50
ivan delta 42
jules juniper 37
lina delta 48
gus cobalt 17
kim ember 86
eli ember 21
dina amber 11
bruno cobalt 33
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039445 | qwen/qwen3.7-plus |
awkweave-0039446 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina delta 64
chen cobalt 84
eli fable 19
gus juniper 114
farah birch 78
eli indigo 30
| dina delta 64
chen cobalt 84
eli fable 19
gus juniper 114
farah birch 78
| farah birch 42
hana indigo 40
alice harbor 44
gus birch 66
chen cobalt 64
farah fable 79
| farah birch 42
hana indigo 40
alice harbor 44
gus birch 66
chen cobalt 64
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039446-p1 | Retain only the first occurrence for each unique value in column 1, preserving the input order. | !seen[$1]++ | dina delta 64
chen cobalt 84
eli fable 19
gus juniper 114
farah birch 78
eli indigo 30
| dina delta 64
chen cobalt 84
eli fable 19
gus juniper 114
farah birch 78
| farah birch 42
hana indigo 40
alice harbor 44
gus birch 66
chen cobalt 64
farah fable 79
| farah birch 42
hana indigo 40
alice harbor 44
gus birch 66
chen cobalt 64
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039446 | qwen/qwen3.7-plus |
awkweave-0039447 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 28 cobalt
dina 5 delta
lina 21 birch
chen 5 birch
bruno 6 cobalt
ivan 16 juniper
alice 22 harbor
kim 14 grove
| gus 28
dina 33
lina 54
chen 59
bruno 65
ivan 81
alice 103
kim 117
| hana 5 cobalt
hana 4 grove
gus 15 delta
bruno 23 grove
alice 12 cobalt
farah 23 cobalt
alice 8 grove
| hana 5
hana 9
gus 24
bruno 47
alice 59
farah 82
alice 90
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039447-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 28 cobalt
dina 5 delta
lina 21 birch
chen 5 birch
bruno 6 cobalt
ivan 16 juniper
alice 22 harbor
kim 14 grove
| gus 28
dina 33
lina 54
chen 59
bruno 65
ivan 81
alice 103
kim 117
| hana 5 cobalt
hana 4 grove
gus 15 delta
bruno 23 grove
alice 12 cobalt
farah 23 cobalt
alice 8 grove
| hana 5
hana 9
gus 24
bruno 47
alice 59
farah 82
alice 90
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039447 | qwen/qwen3.7-plus |
awkweave-0039448 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 6 4 indigo
kim 17 21 grove
farah 6 3 birch
ivan 2 17 amber
chen 13 23 juniper
hana 6 2 fable
gus 3 7 delta
dina 13 17 grove
hana 13 12 cobalt
lina 25 4 birch
| gus 10
kim 38
farah 9
ivan 19
chen 36
hana 8
gus 10
dina 30
hana 25
lina 29
| farah 5 22 birch
chen 15 7 indigo
kim 8 4 amber
alice 21 18 ember
farah 6 2 ember
alice 23 20 juniper
| farah 27
chen 22
kim 12
alice 39
farah 8
alice 43
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039448-p1 | For each row, output the first field followed by the total of the second and third fields. | {print $1,$2+$3} | gus 6 4 indigo
kim 17 21 grove
farah 6 3 birch
ivan 2 17 amber
chen 13 23 juniper
hana 6 2 fable
gus 3 7 delta
dina 13 17 grove
hana 13 12 cobalt
lina 25 4 birch
| gus 10
kim 38
farah 9
ivan 19
chen 36
hana 8
gus 10
dina 30
hana 25
lina 29
| farah 5 22 birch
chen 15 7 indigo
kim 8 4 amber
alice 21 18 ember
farah 6 2 ember
alice 23 20 juniper
| farah 27
chen 22
kim 12
alice 39
farah 8
alice 43
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039448 | qwen/qwen3.7-plus |
awkweave-0039449 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | ivan 20
chen 8
hana 7
eli 5
hana 1
bruno 27
eli 7
| ivan fail
chen fail
hana fail
eli fail
hana fail
bruno pass
eli fail
| eli 2
bruno 6
ivan 1
chen 7
gus 7
dina 9
dina 11
| eli fail
bruno fail
ivan fail
chen fail
gus fail
dina fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039449-p1 | Output the first column; if the second column is 21 or higher, output 'pass', otherwise output 'fail'. | {print $1,($2>=21?"pass":"fail")} | ivan 20
chen 8
hana 7
eli 5
hana 1
bruno 27
eli 7
| ivan fail
chen fail
hana fail
eli fail
hana fail
bruno pass
eli fail
| eli 2
bruno 6
ivan 1
chen 7
gus 7
dina 9
dina 11
| eli fail
bruno fail
ivan fail
chen fail
gus fail
dina fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039449 | qwen/qwen3.7-plus |
awkweave-0039450 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | alice fable 53
kim indigo 110
dina grove 52
bruno juniper 73
ivan ember 70
dina cobalt 41
alice grove 12
bruno birch 23
kim fable 7
| ALICE
KIM
DINA
BRUNO
IVAN
DINA
ALICE
BRUNO
KIM
| gus grove 105
hana birch 10
alice harbor 54
farah birch 53
ivan juniper 44
dina ember 101
| GUS
HANA
ALICE
FARAH
IVAN
DINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039450-p1 | Transform the first column to uppercase and display only that column. | {print toupper($1)} | alice fable 53
kim indigo 110
dina grove 52
bruno juniper 73
ivan ember 70
dina cobalt 41
alice grove 12
bruno birch 23
kim fable 7
| ALICE
KIM
DINA
BRUNO
IVAN
DINA
ALICE
BRUNO
KIM
| gus grove 105
hana birch 10
alice harbor 54
farah birch 53
ivan juniper 44
dina ember 101
| GUS
HANA
ALICE
FARAH
IVAN
DINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039450 | qwen/qwen3.7-plus |
awkweave-0039451 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | harbor 24
cobalt 17
harbor 10
fable 2
indigo 6
harbor 22
birch 36
indigo 24
| rbo
bal
rbo
ble
dig
rbo
rch
dig
| grove 75
amber 26
juniper 80
ember 101
cobalt 55
ember 29
harbor 20
fable 1
juniper 91
ember 29
| ove
ber
nip
ber
bal
ber
rbo
ble
nip
ber
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039451-p1 | Extract and print a 3-character substring from the first column, starting at the third character. | {print substr($1,3,3)} | harbor 24
cobalt 17
harbor 10
fable 2
indigo 6
harbor 22
birch 36
indigo 24
| rbo
bal
rbo
ble
dig
rbo
rch
dig
| grove 75
amber 26
juniper 80
ember 101
cobalt 55
ember 29
harbor 20
fable 1
juniper 91
ember 29
| ove
ber
nip
ber
bal
ber
rbo
ble
nip
ber
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039451 | qwen/qwen3.7-plus |
awkweave-0039452 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_grove 0
harbor_harbor 23
delta_birch 51
harbor_birch 30
fable_fable 112
delta_indigo 20
amber_amber 76
| indigo grove
harbor harbor
delta birch
harbor birch
fable fable
delta indigo
amber amber
| ember_harbor 29
ember_fable 29
grove_delta 20
juniper_birch 75
amber_cobalt 77
cobalt_fable 21
fable_birch 75
juniper_delta 70
delta_birch 81
| ember harbor
ember fable
grove delta
juniper birch
amber cobalt
cobalt fable
fable birch
juniper delta
delta birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039452-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_grove 0
harbor_harbor 23
delta_birch 51
harbor_birch 30
fable_fable 112
delta_indigo 20
amber_amber 76
| indigo grove
harbor harbor
delta birch
harbor birch
fable fable
delta indigo
amber amber
| ember_harbor 29
ember_fable 29
grove_delta 20
juniper_birch 75
amber_cobalt 77
cobalt_fable 21
fable_birch 75
juniper_delta 70
delta_birch 81
| ember harbor
ember fable
grove delta
juniper birch
amber cobalt
cobalt fable
fable birch
juniper delta
delta birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039452 | qwen/qwen3.7-plus |
awkweave-0039453 | 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)} | alice grove 40 active
lina fable 113 active
eli fable 119 ready
kim grove 10 pending
alice delta 64 ready
bruno delta 108 paused
dina amber 49 ready
| active 40 grove alice
active 113 fable lina
ready 119 fable eli
pending 10 grove kim
ready 64 delta alice
paused 108 delta bruno
ready 49 amber dina
| farah ember 3 closed
jules fable 34 paused
chen harbor 64 pending
lina fable 91 active
alice grove 3 active
dina juniper 16 pending
kim grove 52 failed
alice ember 70 ready
chen birch 27 pending
alice ember 35 active
| closed 3 ember farah
paused 34 fable jules
pending 64 harbor chen
active 91 fable lina
active 3 grove alice
pending 16 juniper dina
failed 52 grove kim
ready 70 ember alice
pending 27 birch chen
active 35 ember alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039453-p1 | Reverse the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice grove 40 active
lina fable 113 active
eli fable 119 ready
kim grove 10 pending
alice delta 64 ready
bruno delta 108 paused
dina amber 49 ready
| active 40 grove alice
active 113 fable lina
ready 119 fable eli
pending 10 grove kim
ready 64 delta alice
paused 108 delta bruno
ready 49 amber dina
| farah ember 3 closed
jules fable 34 paused
chen harbor 64 pending
lina fable 91 active
alice grove 3 active
dina juniper 16 pending
kim grove 52 failed
alice ember 70 ready
chen birch 27 pending
alice ember 35 active
| closed 3 ember farah
paused 34 fable jules
pending 64 harbor chen
active 91 fable lina
active 3 grove alice
pending 16 juniper dina
failed 52 grove kim
ready 70 ember alice
pending 27 birch chen
active 35 ember alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039453 | qwen/qwen3.7-plus |
awkweave-0039454 | Print the number of whitespace-separated fields on each line. | {print NF} | eli fable 72 paused
bruno grove 35 ready
gus ember 45 paused
eli grove 29 active
dina harbor 25 closed
gus delta 76 active
| 4
4
4
4
4
4
| alice fable 82 failed
eli juniper 114 failed
hana cobalt 49 paused
dina grove 35 closed
gus cobalt 95 pending
farah fable 118 closed
eli amber 67 active
lina birch 50 closed
alice delta 15 pending
jules fable 79 ready
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039454-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | eli fable 72 paused
bruno grove 35 ready
gus ember 45 paused
eli grove 29 active
dina harbor 25 closed
gus delta 76 active
| 4
4
4
4
4
4
| alice fable 82 failed
eli juniper 114 failed
hana cobalt 49 paused
dina grove 35 closed
gus cobalt 95 pending
farah fable 118 closed
eli amber 67 active
lina birch 50 closed
alice delta 15 pending
jules fable 79 ready
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039454 | qwen/qwen3.7-plus |
awkweave-0039455 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus alpha 95
kim beta 7
farah alpha 20
jules gamma 29
hana gamma 23
farah gamma 38
kim delta 82
| alpha 2
beta 1
gamma 3
delta 1
| hana alpha 10
gus delta 41
gus gamma 93
jules alpha 76
chen beta 88
kim delta 111
jules beta 57
lina beta 53
jules beta 10
dina alpha 79
| alpha 3
delta 2
gamma 1
beta 4
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039455-p1 | Tally the number of records for each unique value in the second column, printing each value and its count in the order 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]]} | gus alpha 95
kim beta 7
farah alpha 20
jules gamma 29
hana gamma 23
farah gamma 38
kim delta 82
| alpha 2
beta 1
gamma 3
delta 1
| hana alpha 10
gus delta 41
gus gamma 93
jules alpha 76
chen beta 88
kim delta 111
jules beta 57
lina beta 53
jules beta 10
dina alpha 79
| alpha 3
delta 2
gamma 1
beta 4
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039455 | qwen/qwen3.7-plus |
awkweave-0039456 | 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]]} | lina beta 18
chen delta 8
lina gamma 8
kim alpha 16
farah delta 18
bruno beta 11
| beta 29
delta 26
gamma 8
alpha 16
| bruno gamma 22
chen gamma 11
farah delta 2
eli gamma 14
eli delta 12
kim beta 1
gus beta 22
bruno delta 6
| gamma 47
delta 20
beta 23
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039456-p1 | Calculate the sum of the third column for each group defined by the second column, displaying results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | lina beta 18
chen delta 8
lina gamma 8
kim alpha 16
farah delta 18
bruno beta 11
| beta 29
delta 26
gamma 8
alpha 16
| bruno gamma 22
chen gamma 11
farah delta 2
eli gamma 14
eli delta 12
kim beta 1
gus beta 22
bruno delta 6
| gamma 47
delta 20
beta 23
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039456 | qwen/qwen3.7-plus |
awkweave-0039457 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma ember 29
alpha grove 95
gamma delta 49
beta delta 16
delta cobalt 99
beta cobalt 3
delta birch 103
delta birch 80
delta harbor 86
| gamma 2
beta 2
delta 4
| beta juniper 3
delta fable 116
gamma amber 112
delta cobalt 119
gamma fable 92
alpha cobalt 5
gamma indigo 38
| delta 2
gamma 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039457-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]]} | gamma ember 29
alpha grove 95
gamma delta 49
beta delta 16
delta cobalt 99
beta cobalt 3
delta birch 103
delta birch 80
delta harbor 86
| gamma 2
beta 2
delta 4
| beta juniper 3
delta fable 116
gamma amber 112
delta cobalt 119
gamma fable 92
alpha cobalt 5
gamma indigo 38
| delta 2
gamma 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039457 | qwen/qwen3.7-plus |
awkweave-0039458 | 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"]} | display_name score region state
r001 bruno 15 failed
r002 dina 3 paused
r003 alice 8 closed
r004 jules 9 paused
r005 eli 16 failed
r006 kim 22 ready
r007 eli 11 active
r008 ivan 22 failed
r009 ivan 10 failed
r010 eli 12 ready
| 15
3
8
9
16
22
11
22
10
12
| display_name score region state
r001 ivan 26 ready
r002 eli 30 ready
r003 ivan 9 pending
r004 eli 28 pending
r005 lina 11 pending
r006 eli 18 ready
| 26
30
9
28
11
18
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039458-p1 | Treating the first row as a header, output the region column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | display_name score region state
r001 bruno 15 failed
r002 dina 3 paused
r003 alice 8 closed
r004 jules 9 paused
r005 eli 16 failed
r006 kim 22 ready
r007 eli 11 active
r008 ivan 22 failed
r009 ivan 10 failed
r010 eli 12 ready
| 15
3
8
9
16
22
11
22
10
12
| display_name score region state
r001 ivan 26 ready
r002 eli 30 ready
r003 ivan 9 pending
r004 eli 28 pending
r005 lina 11 pending
r006 eli 18 ready
| 26
30
9
28
11
18
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039458 | qwen/qwen3.7-plus |
awkweave-0039459 | 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 26 closed
r002 kim 23 failed
r003 kim 28 paused
r004 ivan 1 active
r005 ivan 28 active
r006 farah 11 active
r007 lina 22 failed
r008 dina 12 pending
| farah
kim
kim
ivan
lina
| record_id display_name score state
r001 alice 26 active
r002 chen 20 failed
r003 jules 5 closed
r004 eli 7 paused
r005 farah 12 closed
r006 dina 23 closed
r007 ivan 3 pending
r008 hana 6 paused
r009 hana 24 paused
| alice
chen
dina
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039459-p1 | With the first row as a header, print the display_name for data rows where the score exceeds 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 26 closed
r002 kim 23 failed
r003 kim 28 paused
r004 ivan 1 active
r005 ivan 28 active
r006 farah 11 active
r007 lina 22 failed
r008 dina 12 pending
| farah
kim
kim
ivan
lina
| record_id display_name score state
r001 alice 26 active
r002 chen 20 failed
r003 jules 5 closed
r004 eli 7 paused
r005 farah 12 closed
r006 dina 23 closed
r007 ivan 3 pending
r008 hana 6 paused
r009 hana 24 paused
| alice
chen
dina
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039459 | qwen/qwen3.7-plus |
awkweave-0039460 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 26 ready
lina 4 active
gus 13 paused
hana 16 ready
bruno 6 paused
chen 6 closed
| 26
4
13
16
6
6
| lina 8 active
eli 2 closed
gus 27 ready
lina 7 ready
lina 4 active
hana 14 pending
dina 10 failed
hana 17 pending
kim 25 failed
bruno 30 failed
| 8
2
27
7
4
14
10
17
25
30
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039460-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 26 ready
lina 4 active
gus 13 paused
hana 16 ready
bruno 6 paused
chen 6 closed
| 26
4
13
16
6
6
| lina 8 active
eli 2 closed
gus 27 ready
lina 7 ready
lina 4 active
hana 14 pending
dina 10 failed
hana 17 pending
kim 25 failed
bruno 30 failed
| 8
2
27
7
4
14
10
17
25
30
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0039460 | qwen/qwen3.7-plus |
awkweave-0039461 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,16,paused
jules,12,failed
ivan,15,ready
kim,4,paused
farah,11,active
dina,12,pending
chen,16,pending
bruno,14,failed
| ivan
chen
| dina,6,failed
kim,15,pending
chen,13,paused
lina,23,closed
bruno,10,pending
alice,22,paused
eli,19,active
chen,6,active
eli,3,failed
| lina
alice
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039461-p1 | Output the first field of comma-separated records where the second field is greater than 15, assuming no quoted commas. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,16,paused
jules,12,failed
ivan,15,ready
kim,4,paused
farah,11,active
dina,12,pending
chen,16,pending
bruno,14,failed
| ivan
chen
| dina,6,failed
kim,15,pending
chen,13,paused
lina,23,closed
bruno,10,pending
alice,22,paused
eli,19,active
chen,6,active
eli,3,failed
| lina
alice
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039461 | qwen/qwen3.7-plus |
awkweave-0039462 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan delta 91
kim harbor 73
lina fable 104
eli juniper 12
ivan amber 102
hana amber 51
jules indigo 94
dina indigo 55
bruno ember 99
| ivan delta 91
kim harbor 73
lina fable 104
eli juniper 12
ivan amber 102
hana amber 51
jules indigo 94
dina indigo 55
bruno ember 99
| farah harbor 19
bruno amber 88
dina amber 58
jules grove 43
dina grove 84
hana amber 110
farah ember 59
chen juniper 66
ivan grove 97
jules amber 26
| farah harbor 19
bruno amber 88
dina amber 58
jules grove 43
dina grove 84
hana amber 110
farah ember 59
chen juniper 66
ivan grove 97
jules amber 26
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039462-p1 | Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan delta 91
kim harbor 73
lina fable 104
eli juniper 12
ivan amber 102
hana amber 51
jules indigo 94
dina indigo 55
bruno ember 99
| ivan delta 91
kim harbor 73
lina fable 104
eli juniper 12
ivan amber 102
hana amber 51
jules indigo 94
dina indigo 55
bruno ember 99
| farah harbor 19
bruno amber 88
dina amber 58
jules grove 43
dina grove 84
hana amber 110
farah ember 59
chen juniper 66
ivan grove 97
jules amber 26
| farah harbor 19
bruno amber 88
dina amber 58
jules grove 43
dina grove 84
hana amber 110
farah ember 59
chen juniper 66
ivan grove 97
jules amber 26
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039462 | qwen/qwen3.7-plus |
awkweave-0039463 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana amber 16 pending
eli cobalt 60 pending
gus delta 95 paused
alice cobalt 1 pending
lina amber 5 closed
chen juniper 110 active
lina fable 20 active
dina grove 31 failed
| chen juniper 110 active
| alice amber 59 failed
ivan ember 69 pending
bruno grove 9 failed
eli amber 65 ready
jules delta 85 active
ivan juniper 32 pending
| ivan juniper 32 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039463-p1 | Identify and print the longest line from the input, selecting the first one encountered in case of a tie. | {if(length($0)>length(best))best=$0}END{print best} | hana amber 16 pending
eli cobalt 60 pending
gus delta 95 paused
alice cobalt 1 pending
lina amber 5 closed
chen juniper 110 active
lina fable 20 active
dina grove 31 failed
| chen juniper 110 active
| alice amber 59 failed
ivan ember 69 pending
bruno grove 9 failed
eli amber 65 ready
jules delta 85 active
ivan juniper 32 pending
| ivan juniper 32 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039463 | qwen/qwen3.7-plus |
awkweave-0039464 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | alice 39
dina 78
chen 53
farah 52
jules 68
hana 103
bruno 49
| chen 53
hana 103
| eli 91
ivan 39
dina 101
farah 13
gus 89
jules 41
hana 94
ivan 34
| dina 101
jules 41
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039464-p1 | Print every third line beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | alice 39
dina 78
chen 53
farah 52
jules 68
hana 103
bruno 49
| chen 53
hana 103
| eli 91
ivan 39
dina 101
farah 13
gus 89
jules 41
hana 94
ivan 34
| dina 101
jules 41
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039464 | qwen/qwen3.7-plus |
awkweave-0039465 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha harbor 6
beta fable 34
delta ember 99
delta ember 24
alpha juniper 116
gamma juniper 62
beta amber 75
alpha juniper 10
delta amber 8
| 4
| beta fable 62
gamma fable 108
delta grove 67
beta grove 58
alpha juniper 97
delta indigo 18
delta delta 22
alpha delta 89
gamma cobalt 21
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039465-p1 | Calculate and output only the total number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | alpha harbor 6
beta fable 34
delta ember 99
delta ember 24
alpha juniper 116
gamma juniper 62
beta amber 75
alpha juniper 10
delta amber 8
| 4
| beta fable 62
gamma fable 108
delta grove 67
beta grove 58
alpha juniper 97
delta indigo 18
delta delta 22
alpha delta 89
gamma cobalt 21
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039465 | qwen/qwen3.7-plus |
awkweave-0039466 | 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} | alice 23 0
kim 11 20
lina 22 25
jules 18 1
lina 2 3
farah 26 17
| kim 0.55
lina 0.88
jules 18.00
lina 0.67
farah 1.53
| jules 18 0
kim 9 6
bruno 26 26
lina 29 27
farah 19 22
bruno 21 14
alice 6 18
chen 21 10
chen 28 6
bruno 4 30
| kim 1.50
bruno 1.00
lina 1.07
farah 0.86
bruno 1.50
alice 0.33
chen 2.10
chen 4.67
bruno 0.13
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039466-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 23 0
kim 11 20
lina 22 25
jules 18 1
lina 2 3
farah 26 17
| kim 0.55
lina 0.88
jules 18.00
lina 0.67
farah 1.53
| jules 18 0
kim 9 6
bruno 26 26
lina 29 27
farah 19 22
bruno 21 14
alice 6 18
chen 21 10
chen 28 6
bruno 4 30
| kim 1.50
bruno 1.00
lina 1.07
farah 0.86
bruno 1.50
alice 0.33
chen 2.10
chen 4.67
bruno 0.13
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039466 | qwen/qwen3.7-plus |
awkweave-0039467 | 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]} | chen juniper 14
farah indigo 3
hana delta 21
eli delta 10
bruno ember 6
eli birch 11
jules cobalt 25
eli delta 6
| jules cobalt 25
hana delta 21
chen juniper 14
| gus delta 12
farah fable 27
kim cobalt 16
alice harbor 25
lina juniper 18
alice fable 11
jules amber 20
bruno delta 9
| farah fable 27
alice harbor 25
jules amber 20
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039467-p1 | Display the top three records with the highest numeric values in column 3, sorted in descending order, maintaining original 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]} | chen juniper 14
farah indigo 3
hana delta 21
eli delta 10
bruno ember 6
eli birch 11
jules cobalt 25
eli delta 6
| jules cobalt 25
hana delta 21
chen juniper 14
| gus delta 12
farah fable 27
kim cobalt 16
alice harbor 25
lina juniper 18
alice fable 11
jules amber 20
bruno delta 9
| farah fable 27
alice harbor 25
jules amber 20
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039467 | qwen/qwen3.7-plus |
awkweave-0039468 | For each line, output fields 6 and 1, in that order. | {print $6, $1} | closed 25 ready 67 81 failed
paused 65 pending 90 26 closed
paused 2 active 79 10 ready
closed 93 failed 82 86 pending
failed 59 failed 105 9 active
paused 5 pending 95 97 paused
pending 72 closed 49 110 pending
active 115 closed 114 21 ready
| failed closed
closed paused
ready paused
pending closed
active failed
paused paused
pending pending
ready active
| paused 102 ready 106 100 closed
closed 56 failed 52 16 active
ready 85 paused 25 112 paused
paused 14 paused 115 84 ready
pending 52 active 76 41 paused
failed 68 closed 63 48 active
| closed paused
active closed
paused ready
ready paused
paused pending
active failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039468-p1 | Output fields 6 and 1 for each line, preserving that specific order. | {print $6, $1} | closed 25 ready 67 81 failed
paused 65 pending 90 26 closed
paused 2 active 79 10 ready
closed 93 failed 82 86 pending
failed 59 failed 105 9 active
paused 5 pending 95 97 paused
pending 72 closed 49 110 pending
active 115 closed 114 21 ready
| failed closed
closed paused
ready paused
pending closed
active failed
paused paused
pending pending
ready active
| paused 102 ready 106 100 closed
closed 56 failed 52 16 active
ready 85 paused 25 112 paused
paused 14 paused 115 84 ready
pending 52 active 76 41 paused
failed 68 closed 63 48 active
| closed paused
active closed
paused ready
ready paused
paused pending
active failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039468 | qwen/qwen3.7-plus |
awkweave-0039469 | Print the last field of every input line. | {print $NF} | 85 grove jules pending
79 fable hana closed
21 delta kim failed
54 fable farah ready
41 amber gus active
40 harbor lina paused
91 grove chen paused
| pending
closed
failed
ready
active
paused
paused
| 12 amber lina paused
69 ember lina ready
106 cobalt chen pending
75 harbor lina active
29 ember lina failed
96 harbor chen ready
78 amber dina closed
| paused
ready
pending
active
failed
ready
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039469-p1 | Print the final field from every line of input. | {print $NF} | 85 grove jules pending
79 fable hana closed
21 delta kim failed
54 fable farah ready
41 amber gus active
40 harbor lina paused
91 grove chen paused
| pending
closed
failed
ready
active
paused
paused
| 12 amber lina paused
69 ember lina ready
106 cobalt chen pending
75 harbor lina active
29 ember lina failed
96 harbor chen ready
78 amber dina closed
| paused
ready
pending
active
failed
ready
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039469 | qwen/qwen3.7-plus |
awkweave-0039470 | Print the complete records where column 2 is less than 55. | $2 < 55 | kim 109 hana delta
chen 76 bruno cobalt
jules 49 dina ember
gus 84 bruno ember
farah 55 alice ember
bruno 74 eli ember
| jules 49 dina ember
| kim 109 kim cobalt
farah 117 hana juniper
hana 105 bruno indigo
hana 77 hana ember
hana 110 hana cobalt
chen 59 alice ember
dina 59 lina fable
ivan 31 bruno indigo
dina 6 chen indigo
| ivan 31 bruno indigo
dina 6 chen indigo
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039470-p1 | Output full records where the value in the second column is strictly less than 55. | $2 < 55 | kim 109 hana delta
chen 76 bruno cobalt
jules 49 dina ember
gus 84 bruno ember
farah 55 alice ember
bruno 74 eli ember
| jules 49 dina ember
| kim 109 kim cobalt
farah 117 hana juniper
hana 105 bruno indigo
hana 77 hana ember
hana 110 hana cobalt
chen 59 alice ember
dina 59 lina fable
ivan 31 bruno indigo
dina 6 chen indigo
| ivan 31 bruno indigo
dina 6 chen indigo
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039470 | qwen/qwen3.7-plus |
awkweave-0039471 | Show whole lines whose 3rd field is between 11 and 23, inclusive. | $3 >= 11 && $3 <= 23 | farah failed 26 failed
lina paused 26 closed
gus failed 24 paused
hana paused 5 failed
kim closed 24 paused
bruno ready 19 failed
jules failed 12 closed
kim active 9 ready
| bruno ready 19 failed
jules failed 12 closed
| bruno active 17 active
bruno pending 23 closed
farah failed 28 active
jules ready 22 paused
alice ready 15 ready
alice closed 7 ready
hana pending 9 failed
gus closed 13 failed
bruno active 21 paused
| bruno active 17 active
bruno pending 23 closed
jules ready 22 paused
alice ready 15 ready
gus closed 13 failed
bruno active 21 paused
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039471-p1 | Display entire lines where the third field falls within the inclusive range of 11 to 23. | $3 >= 11 && $3 <= 23 | farah failed 26 failed
lina paused 26 closed
gus failed 24 paused
hana paused 5 failed
kim closed 24 paused
bruno ready 19 failed
jules failed 12 closed
kim active 9 ready
| bruno ready 19 failed
jules failed 12 closed
| bruno active 17 active
bruno pending 23 closed
farah failed 28 active
jules ready 22 paused
alice ready 15 ready
alice closed 7 ready
hana pending 9 failed
gus closed 13 failed
bruno active 21 paused
| bruno active 17 active
bruno pending 23 closed
jules ready 22 paused
alice ready 15 ready
gus closed 13 failed
bruno active 21 paused
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039471 | qwen/qwen3.7-plus |
awkweave-0039472 | Print column 2 only for rows where column 1 is exactly failed. | $1 == "failed"{print $2} | pending dina ember 112
active chen fable 2
failed eli cobalt 53
ready bruno amber 45
paused bruno fable 47
failed kim grove 103
pending farah juniper 78
closed ivan cobalt 5
| eli
kim
| closed farah ember 59
active alice ember 111
paused lina cobalt 18
pending alice juniper 26
paused kim juniper 98
active ivan indigo 27
active eli cobalt 50
active gus amber 49
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0039472-p1 | Output the second column exclusively for rows where the first column matches 'failed' exactly. | $1 == "failed"{print $2} | pending dina ember 112
active chen fable 2
failed eli cobalt 53
ready bruno amber 45
paused bruno fable 47
failed kim grove 103
pending farah juniper 78
closed ivan cobalt 5
| eli
kim
| closed farah ember 59
active alice ember 111
paused lina cobalt 18
pending alice juniper 26
paused kim juniper 98
active ivan indigo 27
active eli cobalt 50
active gus amber 49
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039472 | qwen/qwen3.7-plus | |
awkweave-0039473 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | DEBUG 60 grove
WARN 58 harbor
WARN 66 grove
ERROR 42 amber
ERROR 49 indigo
DEBUG 63 grove
ERROR 80 ember
INFO 62 harbor
WARN 71 grove
ERROR 49 amber
| ERROR 42 amber
ERROR 49 indigo
ERROR 80 ember
ERROR 49 amber
| INFO 16 ember
INFO 23 juniper
WARN 21 ember
WARN 70 fable
INFO 74 birch
WARN 73 cobalt
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0039473-p1 | Display all fields from lines whose first field starts with 'ERROR'. | $1 ~ /^ERROR/ | DEBUG 60 grove
WARN 58 harbor
WARN 66 grove
ERROR 42 amber
ERROR 49 indigo
DEBUG 63 grove
ERROR 80 ember
INFO 62 harbor
WARN 71 grove
ERROR 49 amber
| ERROR 42 amber
ERROR 49 indigo
ERROR 80 ember
ERROR 49 amber
| INFO 16 ember
INFO 23 juniper
WARN 21 ember
WARN 70 fable
INFO 74 birch
WARN 73 cobalt
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039473 | qwen/qwen3.7-plus | |
awkweave-0039474 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | juniper 87 closed
cobalt 31 active
delta 107 failed
harbor 118 failed
ember 1 pending
fable 90 failed
amber 116 failed
grove 999 active
| juniper 87 closed
cobalt 31 active
delta 107 failed
harbor 118 failed
ember 1 pending
fable 90 failed
amber 116 failed
| birch 8 ready
indigo 64 ready
amber 14 failed
harbor 2 ready
juniper 24 pending
indigo 91 pending
ember 35 closed
grove 999 active
| birch 8 ready
indigo 64 ready
amber 14 failed
harbor 2 ready
juniper 24 pending
indigo 91 pending
ember 35 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039474-p1 | Print every line that does not contain the exact string 'grove'. | $0 !~ /grove/ | juniper 87 closed
cobalt 31 active
delta 107 failed
harbor 118 failed
ember 1 pending
fable 90 failed
amber 116 failed
grove 999 active
| juniper 87 closed
cobalt 31 active
delta 107 failed
harbor 118 failed
ember 1 pending
fable 90 failed
amber 116 failed
| birch 8 ready
indigo 64 ready
amber 14 failed
harbor 2 ready
juniper 24 pending
indigo 91 pending
ember 35 closed
grove 999 active
| birch 8 ready
indigo 64 ready
amber 14 failed
harbor 2 ready
juniper 24 pending
indigo 91 pending
ember 35 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039474 | qwen/qwen3.7-plus |
awkweave-0039475 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | eli grove 48
alice juniper 24
dina fable 120
ivan delta 34
farah delta 87
alice delta 61
hana indigo 19
| dina fable 120
ivan delta 34
farah delta 87
alice delta 61
| hana cobalt 27
dina ember 113
gus harbor 78
hana amber 26
hana ember 111
chen grove 90
hana amber 37
chen juniper 36
dina grove 72
| gus harbor 78
hana amber 26
hana ember 111
chen grove 90
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039475-p1 | Output lines 3 to 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | eli grove 48
alice juniper 24
dina fable 120
ivan delta 34
farah delta 87
alice delta 61
hana indigo 19
| dina fable 120
ivan delta 34
farah delta 87
alice delta 61
| hana cobalt 27
dina ember 113
gus harbor 78
hana amber 26
hana ember 111
chen grove 90
hana amber 37
chen juniper 36
dina grove 72
| gus harbor 78
hana amber 26
hana ember 111
chen grove 90
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039475 | qwen/qwen3.7-plus |
awkweave-0039476 | Output only the first 2 records. | NR <= 2 | ivan 79 indigo
farah 65 delta
hana 113 grove
eli 77 birch
bruno 83 cobalt
gus 83 fable
| ivan 79 indigo
farah 65 delta
| alice 0 juniper
jules 77 fable
chen 100 amber
chen 116 grove
eli 100 delta
jules 11 amber
ivan 40 amber
bruno 72 birch
chen 94 juniper
hana 57 grove
| alice 0 juniper
jules 77 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039476-p1 | Display only the initial two records. | NR <= 2 | ivan 79 indigo
farah 65 delta
hana 113 grove
eli 77 birch
bruno 83 cobalt
gus 83 fable
| ivan 79 indigo
farah 65 delta
| alice 0 juniper
jules 77 fable
chen 100 amber
chen 116 grove
eli 100 delta
jules 11 amber
ivan 40 amber
bruno 72 birch
chen 94 juniper
hana 57 grove
| alice 0 juniper
jules 77 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039476 | qwen/qwen3.7-plus |
awkweave-0039477 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 64 cobalt
eli 37 amber
hana 104 amber
bruno 100 ember
farah 27 amber
bruno 88 grove
chen 84 amber
| eli 37 amber
hana 104 amber
bruno 100 ember
farah 27 amber
bruno 88 grove
chen 84 amber
| jules 22 delta
jules 67 ember
kim 101 fable
hana 84 delta
lina 107 cobalt
alice 64 grove
| jules 67 ember
kim 101 fable
hana 84 delta
lina 107 cobalt
alice 64 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039477-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | lina 64 cobalt
eli 37 amber
hana 104 amber
bruno 100 ember
farah 27 amber
bruno 88 grove
chen 84 amber
| eli 37 amber
hana 104 amber
bruno 100 ember
farah 27 amber
bruno 88 grove
chen 84 amber
| jules 22 delta
jules 67 ember
kim 101 fable
hana 84 delta
lina 107 cobalt
alice 64 grove
| jules 67 ember
kim 101 fable
hana 84 delta
lina 107 cobalt
alice 64 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039477 | qwen/qwen3.7-plus |
awkweave-0039478 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | gus active 11
dina closed 25
eli paused 76
jules failed 13
gus failed 21
farah paused 75
| 0
| farah closed 88
chen paused 16
gus failed 91
ivan paused 60
lina closed 88
jules closed 29
gus paused 40
hana paused 96
dina ready 120
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039478-p1 | Count the number of records with 'pending' in the second column, outputting 0 if none exist. | $2 == "pending"{n++}END{print n+0} | gus active 11
dina closed 25
eli paused 76
jules failed 13
gus failed 21
farah paused 75
| 0
| farah closed 88
chen paused 16
gus failed 91
ivan paused 60
lina closed 88
jules closed 29
gus paused 40
hana paused 96
dina ready 120
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039478 | qwen/qwen3.7-plus |
awkweave-0039479 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | grove 22 farah
ember 28 alice
cobalt 17 dina
harbor 17 chen
indigo 24 eli
fable 3 hana
fable 24 farah
| 135
| cobalt 3 gus
harbor 29 farah
ember 11 kim
amber 15 chen
harbor 28 lina
amber 3 hana
| 89
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039479-p1 | Compute and display the total sum of integer values in the second column. | {s+=$2}END{print s+0} | grove 22 farah
ember 28 alice
cobalt 17 dina
harbor 17 chen
indigo 24 eli
fable 3 hana
fable 24 farah
| 135
| cobalt 3 gus
harbor 29 farah
ember 11 kim
amber 15 chen
harbor 28 lina
amber 3 hana
| 89
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039479 | qwen/qwen3.7-plus |
awkweave-0039480 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana cobalt 22
dina birch 9
alice ember 29
lina cobalt 8
bruno cobalt 22
lina indigo 30
eli harbor 5
gus cobalt 14
| 17.38
| kim indigo 30
kim harbor 28
dina juniper 5
gus amber 13
dina indigo 15
kim cobalt 22
bruno grove 24
| 19.57
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039480-p1 | Calculate the average of the third column and format the result to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana cobalt 22
dina birch 9
alice ember 29
lina cobalt 8
bruno cobalt 22
lina indigo 30
eli harbor 5
gus cobalt 14
| 17.38
| kim indigo 30
kim harbor 28
dina juniper 5
gus amber 13
dina indigo 15
kim cobalt 22
bruno grove 24
| 19.57
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039480 | qwen/qwen3.7-plus |
awkweave-0039481 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ember 29 alice
harbor 19 hana
amber 28 gus
ember 19 dina
delta 3 dina
juniper 19 bruno
| 3
| birch 19 eli
birch 28 hana
birch 22 gus
juniper 26 gus
indigo 28 chen
harbor 20 kim
harbor 4 gus
indigo 27 chen
harbor 5 kim
delta 21 kim
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039481-p1 | Identify and output the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ember 29 alice
harbor 19 hana
amber 28 gus
ember 19 dina
delta 3 dina
juniper 19 bruno
| 3
| birch 19 eli
birch 28 hana
birch 22 gus
juniper 26 gus
indigo 28 chen
harbor 20 kim
harbor 4 gus
indigo 27 chen
harbor 5 kim
delta 21 kim
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039481 | qwen/qwen3.7-plus |
awkweave-0039482 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | ivan ember 3
alice fable 23
gus harbor 22
jules birch 19
dina juniper 29
chen birch 12
| 29
| farah juniper 11
jules indigo 28
ivan amber 22
jules indigo 17
hana harbor 16
alice fable 25
farah fable 11
kim birch 5
alice amber 21
lina juniper 2
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039482-p1 | Identify and output the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | ivan ember 3
alice fable 23
gus harbor 22
jules birch 19
dina juniper 29
chen birch 12
| 29
| farah juniper 11
jules indigo 28
ivan amber 22
jules indigo 17
hana harbor 16
alice fable 25
farah fable 11
kim birch 5
alice amber 21
lina juniper 2
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039482 | qwen/qwen3.7-plus |
awkweave-0039483 | Count all input records and print the total. | END{print NR} | gus 9
dina 72
lina 66
alice 30
dina 5
kim 43
gus 95
| 7
| farah 4
alice 77
jules 35
lina 40
chen 69
bruno 62
jules 90
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039483-p1 | Count the total number of input records and print the result. | END{print NR} | gus 9
dina 72
lina 66
alice 30
dina 5
kim 43
gus 95
| 7
| farah 4
alice 77
jules 35
lina 40
chen 69
bruno 62
jules 90
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039483 | qwen/qwen3.7-plus |
awkweave-0039484 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah amber 74
jules grove 4
gus juniper 106
jules grove 4
chen delta 39
eli juniper 98
alice birch 33
dina delta 112
| farah amber 74
jules grove 4
gus juniper 106
chen delta 39
eli juniper 98
alice birch 33
dina delta 112
| farah fable 42
farah fable 42
ivan cobalt 119
bruno juniper 13
bruno delta 56
hana harbor 6
eli harbor 80
bruno fable 99
| farah fable 42
ivan cobalt 119
bruno juniper 13
bruno delta 56
hana harbor 6
eli harbor 80
bruno fable 99
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039484-p1 | Deduplicate the input by removing exact duplicate lines, keeping the first occurrence and maintaining the original order. | !seen[$0]++ | farah amber 74
jules grove 4
gus juniper 106
jules grove 4
chen delta 39
eli juniper 98
alice birch 33
dina delta 112
| farah amber 74
jules grove 4
gus juniper 106
chen delta 39
eli juniper 98
alice birch 33
dina delta 112
| farah fable 42
farah fable 42
ivan cobalt 119
bruno juniper 13
bruno delta 56
hana harbor 6
eli harbor 80
bruno fable 99
| farah fable 42
ivan cobalt 119
bruno juniper 13
bruno delta 56
hana harbor 6
eli harbor 80
bruno fable 99
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039484 | qwen/qwen3.7-plus |
awkweave-0039485 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | lina grove 8
dina amber 68
dina delta 119
jules delta 6
chen amber 21
jules cobalt 52
alice grove 85
| lina grove 8
dina amber 68
jules delta 6
chen amber 21
alice grove 85
| kim birch 71
kim cobalt 73
chen birch 116
eli grove 46
hana grove 23
gus cobalt 109
eli grove 17
ivan grove 3
hana indigo 43
chen fable 82
| kim birch 71
chen birch 116
eli grove 46
hana grove 23
gus cobalt 109
ivan grove 3
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039485-p1 | Retain only the first line for each unique value in column 1, preserving the input order. | !seen[$1]++ | lina grove 8
dina amber 68
dina delta 119
jules delta 6
chen amber 21
jules cobalt 52
alice grove 85
| lina grove 8
dina amber 68
jules delta 6
chen amber 21
alice grove 85
| kim birch 71
kim cobalt 73
chen birch 116
eli grove 46
hana grove 23
gus cobalt 109
eli grove 17
ivan grove 3
hana indigo 43
chen fable 82
| kim birch 71
chen birch 116
eli grove 46
hana grove 23
gus cobalt 109
ivan grove 3
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039485 | qwen/qwen3.7-plus |
awkweave-0039486 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 21 amber
gus 7 delta
gus 16 juniper
gus 25 indigo
hana 16 juniper
gus 9 birch
lina 14 indigo
| hana 21
gus 28
gus 44
gus 69
hana 85
gus 94
lina 108
| dina 6 indigo
ivan 13 amber
bruno 4 harbor
dina 1 amber
dina 18 indigo
gus 17 birch
| dina 6
ivan 19
bruno 23
dina 24
dina 42
gus 59
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039486-p1 | Output column 1 alongside the cumulative sum of column 2 for each record, separated by a space. | {s+=$2;print $1,s} | hana 21 amber
gus 7 delta
gus 16 juniper
gus 25 indigo
hana 16 juniper
gus 9 birch
lina 14 indigo
| hana 21
gus 28
gus 44
gus 69
hana 85
gus 94
lina 108
| dina 6 indigo
ivan 13 amber
bruno 4 harbor
dina 1 amber
dina 18 indigo
gus 17 birch
| dina 6
ivan 19
bruno 23
dina 24
dina 42
gus 59
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039486 | qwen/qwen3.7-plus |
awkweave-0039487 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 8 22 indigo
lina 12 15 grove
chen 20 2 cobalt
lina 29 19 harbor
jules 3 21 fable
ivan 20 8 grove
lina 8 10 delta
farah 12 26 indigo
| jules 30
lina 27
chen 22
lina 48
jules 24
ivan 28
lina 18
farah 38
| hana 17 4 grove
jules 24 13 fable
gus 30 30 cobalt
kim 13 8 indigo
jules 10 24 fable
farah 30 6 amber
| hana 21
jules 37
gus 60
kim 21
jules 34
farah 36
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039487-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 8 22 indigo
lina 12 15 grove
chen 20 2 cobalt
lina 29 19 harbor
jules 3 21 fable
ivan 20 8 grove
lina 8 10 delta
farah 12 26 indigo
| jules 30
lina 27
chen 22
lina 48
jules 24
ivan 28
lina 18
farah 38
| hana 17 4 grove
jules 24 13 fable
gus 30 30 cobalt
kim 13 8 indigo
jules 10 24 fable
farah 30 6 amber
| hana 21
jules 37
gus 60
kim 21
jules 34
farah 36
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039487 | qwen/qwen3.7-plus |
awkweave-0039488 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | gus 2
hana 12
farah 10
eli 10
hana 14
hana 8
dina 11
kim 8
jules 11
| gus fail
hana fail
farah fail
eli fail
hana fail
hana fail
dina fail
kim fail
jules fail
| chen 1
lina 6
gus 17
chen 25
lina 11
alice 28
bruno 20
| chen fail
lina fail
gus fail
chen pass
lina fail
alice pass
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039488-p1 | Print column 1 and output 'pass' if column 2 is 21 or greater; otherwise, output 'fail'. | {print $1,($2>=21?"pass":"fail")} | gus 2
hana 12
farah 10
eli 10
hana 14
hana 8
dina 11
kim 8
jules 11
| gus fail
hana fail
farah fail
eli fail
hana fail
hana fail
dina fail
kim fail
jules fail
| chen 1
lina 6
gus 17
chen 25
lina 11
alice 28
bruno 20
| chen fail
lina fail
gus fail
chen pass
lina fail
alice pass
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039488 | qwen/qwen3.7-plus |
awkweave-0039489 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | bruno amber 41
kim amber 85
eli indigo 64
kim fable 11
jules grove 39
bruno harbor 26
alice grove 113
dina ember 20
dina birch 68
| BRUNO
KIM
ELI
KIM
JULES
BRUNO
ALICE
DINA
DINA
| ivan juniper 10
hana harbor 13
ivan grove 70
dina indigo 92
gus ember 10
chen birch 35
| IVAN
HANA
IVAN
DINA
GUS
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039489-p1 | Transform column 1 to uppercase and print only that column. | {print toupper($1)} | bruno amber 41
kim amber 85
eli indigo 64
kim fable 11
jules grove 39
bruno harbor 26
alice grove 113
dina ember 20
dina birch 68
| BRUNO
KIM
ELI
KIM
JULES
BRUNO
ALICE
DINA
DINA
| ivan juniper 10
hana harbor 13
ivan grove 70
dina indigo 92
gus ember 10
chen birch 35
| IVAN
HANA
IVAN
DINA
GUS
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039489 | qwen/qwen3.7-plus |
awkweave-0039500 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20. | BEGIN{FS=OFS=","}$2>20{print $1} | farah,8,pending
ivan,23,paused
eli,5,paused
bruno,11,ready
alice,25,failed
kim,22,ready
| ivan
alice
kim
| eli,6,failed
hana,24,closed
bruno,16,active
eli,28,failed
kim,22,pending
ivan,8,pending
farah,14,paused
| hana
eli
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0039500-p1 | Given simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 20. | BEGIN{FS=OFS=","}$2>20{print $1} | farah,8,pending
ivan,23,paused
eli,5,paused
bruno,11,ready
alice,25,failed
kim,22,ready
| ivan
alice
kim
| eli,6,failed
hana,24,closed
bruno,16,active
eli,28,failed
kim,22,pending
ivan,8,pending
farah,14,paused
| hana
eli
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0039500 | qwen/qwen3.7-plus |
awkweave-0039501 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen indigo 104
dina delta 116
alice grove 118
hana harbor 104
kim ember 98
bruno harbor 110
| chen indigo 104
dina delta 116
alice grove 118
hana harbor 104
kim ember 98
bruno harbor 110
| alice harbor 0
bruno delta 55
alice fable 70
kim indigo 72
eli ember 86
hana indigo 69
alice juniper 10
chen fable 1
| alice harbor 0
bruno delta 55
alice fable 70
kim indigo 72
eli ember 86
hana indigo 69
alice juniper 10
chen fable 1
| normalize_whitespace | 2 | 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.