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-0055273 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | farah failed 69
dina closed 77
gus failed 58
jules active 55
kim ready 107
chen closed 119
| 0
| jules pending 75
eli active 87
lina pending 22
bruno paused 10
dina paused 44
farah failed 14
eli paused 41
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055273-p1 | Determine the number of entries where the second column contains 'paused', outputting 0 if no such entries exist. | $2 == "paused"{n++}END{print n+0} | farah failed 69
dina closed 77
gus failed 58
jules active 55
kim ready 107
chen closed 119
| 0
| jules pending 75
eli active 87
lina pending 22
bruno paused 10
dina paused 44
farah failed 14
eli paused 41
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055273 | qwen/qwen3.7-plus |
awkweave-0055274 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | delta 14 chen
amber 28 gus
ember 27 eli
juniper 20 dina
grove 16 jules
fable 3 lina
juniper 30 eli
| 138
| ember 16 dina
delta 7 jules
cobalt 19 jules
ember 7 chen
grove 15 ivan
cobalt 10 hana
| 74
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055274-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | delta 14 chen
amber 28 gus
ember 27 eli
juniper 20 dina
grove 16 jules
fable 3 lina
juniper 30 eli
| 138
| ember 16 dina
delta 7 jules
cobalt 19 jules
ember 7 chen
grove 15 ivan
cobalt 10 hana
| 74
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055274 | qwen/qwen3.7-plus |
awkweave-0055275 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 8 kim birch
4 bruno harbor
25 chen amber
21 chen grove
23 eli ember
5 hana grove
18 lina fable
23 kim cobalt
27 gus ember
16 jules amber
| 17.00
| 21 farah grove
16 chen juniper
20 farah delta
24 chen fable
15 ivan amber
30 hana birch
5 dina ember
27 jules ember
7 alice cobalt
18 hana amber
| 18.30
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055275-p1 | Output the average of the values in the first column, formatted to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 8 kim birch
4 bruno harbor
25 chen amber
21 chen grove
23 eli ember
5 hana grove
18 lina fable
23 kim cobalt
27 gus ember
16 jules amber
| 17.00
| 21 farah grove
16 chen juniper
20 farah delta
24 chen fable
15 ivan amber
30 hana birch
5 dina ember
27 jules ember
7 alice cobalt
18 hana amber
| 18.30
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055275 | qwen/qwen3.7-plus |
awkweave-0055276 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | juniper 10 bruno
cobalt 25 alice
cobalt 29 lina
amber 29 dina
delta 29 hana
delta 4 kim
juniper 25 farah
delta 21 jules
amber 7 gus
| 4
| juniper 18 lina
juniper 9 kim
juniper 15 dina
indigo 11 hana
grove 7 eli
amber 7 lina
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055276-p1 | Identify and display the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | juniper 10 bruno
cobalt 25 alice
cobalt 29 lina
amber 29 dina
delta 29 hana
delta 4 kim
juniper 25 farah
delta 21 jules
amber 7 gus
| 4
| juniper 18 lina
juniper 9 kim
juniper 15 dina
indigo 11 hana
grove 7 eli
amber 7 lina
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055276 | qwen/qwen3.7-plus |
awkweave-0055277 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta lina 26
harbor ivan 5
cobalt ivan 18
amber ivan 6
amber gus 19
grove dina 14
amber alice 25
cobalt eli 22
| 26
| amber lina 10
amber gus 10
birch hana 1
amber hana 6
fable alice 21
birch kim 21
ember jules 20
| 21
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055277-p1 | Identify and display the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta lina 26
harbor ivan 5
cobalt ivan 18
amber ivan 6
amber gus 19
grove dina 14
amber alice 25
cobalt eli 22
| 26
| amber lina 10
amber gus 10
birch hana 1
amber hana 6
fable alice 21
birch kim 21
ember jules 20
| 21
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055277 | qwen/qwen3.7-plus |
awkweave-0055278 | Count all input records and print the total. | END{print NR} | hana 1
alice 37
ivan 7
hana 49
eli 112
eli 27
eli 93
| 7
| alice 104
eli 71
bruno 110
eli 83
farah 114
dina 22
gus 75
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055278-p1 | Count the total number of input records and print this count. | END{print NR} | hana 1
alice 37
ivan 7
hana 49
eli 112
eli 27
eli 93
| 7
| alice 104
eli 71
bruno 110
eli 83
farah 114
dina 22
gus 75
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055278 | qwen/qwen3.7-plus |
awkweave-0055279 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina ember 15
chen fable 1
farah delta 117
dina amber 4
chen fable 1
lina amber 92
hana grove 120
hana harbor 6
bruno harbor 93
| lina ember 15
chen fable 1
farah delta 117
dina amber 4
lina amber 92
hana grove 120
hana harbor 6
bruno harbor 93
| ivan fable 93
alice grove 87
jules fable 111
chen cobalt 68
hana indigo 63
alice ember 113
chen cobalt 68
bruno ember 2
eli juniper 60
| ivan fable 93
alice grove 87
jules fable 111
chen cobalt 68
hana indigo 63
alice ember 113
bruno ember 2
eli juniper 60
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055279-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | lina ember 15
chen fable 1
farah delta 117
dina amber 4
chen fable 1
lina amber 92
hana grove 120
hana harbor 6
bruno harbor 93
| lina ember 15
chen fable 1
farah delta 117
dina amber 4
lina amber 92
hana grove 120
hana harbor 6
bruno harbor 93
| ivan fable 93
alice grove 87
jules fable 111
chen cobalt 68
hana indigo 63
alice ember 113
chen cobalt 68
bruno ember 2
eli juniper 60
| ivan fable 93
alice grove 87
jules fable 111
chen cobalt 68
hana indigo 63
alice ember 113
bruno ember 2
eli juniper 60
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055279 | qwen/qwen3.7-plus |
awkweave-0055280 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | gus cobalt 114
farah delta 51
gus ember 19
farah indigo 105
lina ember 25
dina fable 55
jules birch 27
| gus cobalt 114
farah delta 51
gus ember 19
farah indigo 105
dina fable 55
jules birch 27
| hana cobalt 4
ivan cobalt 54
farah fable 81
alice ember 16
ivan indigo 73
ivan cobalt 74
| hana cobalt 4
farah fable 81
alice ember 16
ivan indigo 73
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055280-p1 | Retain only the first occurrence for each unique value in the second column, preserving the original sequence. | !seen[$2]++ | gus cobalt 114
farah delta 51
gus ember 19
farah indigo 105
lina ember 25
dina fable 55
jules birch 27
| gus cobalt 114
farah delta 51
gus ember 19
farah indigo 105
dina fable 55
jules birch 27
| hana cobalt 4
ivan cobalt 54
farah fable 81
alice ember 16
ivan indigo 73
ivan cobalt 74
| hana cobalt 4
farah fable 81
alice ember 16
ivan indigo 73
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055280 | qwen/qwen3.7-plus |
awkweave-0055281 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 18 delta
alice 23 delta
jules 26 grove
gus 27 amber
hana 9 cobalt
dina 25 juniper
chen 6 juniper
| alice 18
alice 41
jules 67
gus 94
hana 103
dina 128
chen 134
| ivan 23 cobalt
eli 9 cobalt
jules 17 birch
alice 21 fable
bruno 8 birch
ivan 13 juniper
bruno 1 grove
jules 24 cobalt
jules 10 harbor
| ivan 23
eli 32
jules 49
alice 70
bruno 78
ivan 91
bruno 92
jules 116
jules 126
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055281-p1 | For every record, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | alice 18 delta
alice 23 delta
jules 26 grove
gus 27 amber
hana 9 cobalt
dina 25 juniper
chen 6 juniper
| alice 18
alice 41
jules 67
gus 94
hana 103
dina 128
chen 134
| ivan 23 cobalt
eli 9 cobalt
jules 17 birch
alice 21 fable
bruno 8 birch
ivan 13 juniper
bruno 1 grove
jules 24 cobalt
jules 10 harbor
| ivan 23
eli 32
jules 49
alice 70
bruno 78
ivan 91
bruno 92
jules 116
jules 126
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055281 | qwen/qwen3.7-plus |
awkweave-0055282 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 13 10 delta
dina 8 22 birch
hana 11 6 ember
hana 30 18 amber
ivan 28 15 cobalt
dina 24 30 cobalt
| jules 23
dina 30
hana 17
hana 48
ivan 43
dina 54
| eli 10 25 indigo
alice 30 14 birch
hana 24 14 juniper
hana 13 13 birch
lina 15 8 harbor
eli 23 21 indigo
hana 4 25 birch
dina 25 14 ember
chen 13 28 harbor
| eli 35
alice 44
hana 38
hana 26
lina 23
eli 44
hana 29
dina 39
chen 41
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055282-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | jules 13 10 delta
dina 8 22 birch
hana 11 6 ember
hana 30 18 amber
ivan 28 15 cobalt
dina 24 30 cobalt
| jules 23
dina 30
hana 17
hana 48
ivan 43
dina 54
| eli 10 25 indigo
alice 30 14 birch
hana 24 14 juniper
hana 13 13 birch
lina 15 8 harbor
eli 23 21 indigo
hana 4 25 birch
dina 25 14 ember
chen 13 28 harbor
| eli 35
alice 44
hana 38
hana 26
lina 23
eli 44
hana 29
dina 39
chen 41
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055282 | qwen/qwen3.7-plus |
awkweave-0055283 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | farah 14
bruno 8
eli 5
chen 20
chen 3
lina 20
eli 27
dina 24
kim 7
ivan 24
| farah fail
bruno fail
eli fail
chen fail
chen fail
lina fail
eli pass
dina pass
kim fail
ivan pass
| ivan 7
farah 21
jules 12
bruno 5
hana 3
alice 9
eli 30
dina 6
farah 12
| ivan fail
farah fail
jules fail
bruno fail
hana fail
alice fail
eli pass
dina fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055283-p1 | Output the first column along with 'pass' if the second column is 24 or greater, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | farah 14
bruno 8
eli 5
chen 20
chen 3
lina 20
eli 27
dina 24
kim 7
ivan 24
| farah fail
bruno fail
eli fail
chen fail
chen fail
lina fail
eli pass
dina pass
kim fail
ivan pass
| ivan 7
farah 21
jules 12
bruno 5
hana 3
alice 9
eli 30
dina 6
farah 12
| ivan fail
farah fail
jules fail
bruno fail
hana fail
alice fail
eli pass
dina fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055283 | qwen/qwen3.7-plus |
awkweave-0055284 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah harbor 1
dina indigo 12
bruno harbor 113
gus ember 97
gus birch 105
chen indigo 96
| FARAH
DINA
BRUNO
GUS
GUS
CHEN
| lina grove 30
gus birch 59
eli birch 35
jules indigo 41
farah fable 66
chen amber 25
| LINA
GUS
ELI
JULES
FARAH
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055284-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | farah harbor 1
dina indigo 12
bruno harbor 113
gus ember 97
gus birch 105
chen indigo 96
| FARAH
DINA
BRUNO
GUS
GUS
CHEN
| lina grove 30
gus birch 59
eli birch 35
jules indigo 41
farah fable 66
chen amber 25
| LINA
GUS
ELI
JULES
FARAH
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055284 | qwen/qwen3.7-plus |
awkweave-0055285 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | amber 64
juniper 78
birch 67
birch 99
amber 112
cobalt 46
harbor 30
ember 31
indigo 69
birch 97
| be
ni
rc
rc
be
ba
rb
be
di
rc
| delta 94
grove 115
juniper 80
harbor 38
indigo 72
harbor 63
cobalt 43
amber 88
| lt
ov
ni
rb
di
rb
ba
be
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055285-p1 | Extract and print a 2-character substring from column 1, beginning at the third character. | {print substr($1,3,2)} | amber 64
juniper 78
birch 67
birch 99
amber 112
cobalt 46
harbor 30
ember 31
indigo 69
birch 97
| be
ni
rc
rc
be
ba
rb
be
di
rc
| delta 94
grove 115
juniper 80
harbor 38
indigo 72
harbor 63
cobalt 43
amber 88
| lt
ov
ni
rb
di
rb
ba
be
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055285 | qwen/qwen3.7-plus |
awkweave-0055286 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_cobalt 91
juniper_cobalt 46
delta_fable 100
birch_juniper 72
fable_birch 51
ember_ember 93
cobalt_juniper 116
| harbor cobalt
juniper cobalt
delta fable
birch juniper
fable birch
ember ember
cobalt juniper
| grove_indigo 18
fable_ember 105
harbor_delta 54
birch_ember 51
cobalt_juniper 48
amber_ember 67
delta_harbor 116
| grove indigo
fable ember
harbor delta
birch ember
cobalt juniper
amber ember
delta harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055286-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | harbor_cobalt 91
juniper_cobalt 46
delta_fable 100
birch_juniper 72
fable_birch 51
ember_ember 93
cobalt_juniper 116
| harbor cobalt
juniper cobalt
delta fable
birch juniper
fable birch
ember ember
cobalt juniper
| grove_indigo 18
fable_ember 105
harbor_delta 54
birch_ember 51
cobalt_juniper 48
amber_ember 67
delta_harbor 116
| grove indigo
fable ember
harbor delta
birch ember
cobalt juniper
amber ember
delta harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055286 | qwen/qwen3.7-plus |
awkweave-0055287 | 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)} | ivan cobalt 25 failed
gus amber 40 pending
dina grove 85 failed
ivan juniper 21 ready
ivan cobalt 3 paused
alice cobalt 51 failed
chen grove 6 closed
farah fable 75 failed
ivan grove 115 pending
hana fable 78 pending
| failed 25 cobalt ivan
pending 40 amber gus
failed 85 grove dina
ready 21 juniper ivan
paused 3 cobalt ivan
failed 51 cobalt alice
closed 6 grove chen
failed 75 fable farah
pending 115 grove ivan
pending 78 fable hana
| alice indigo 62 paused
farah delta 75 active
gus grove 25 failed
gus birch 115 failed
dina grove 15 ready
lina harbor 49 paused
hana amber 34 paused
| paused 62 indigo alice
active 75 delta farah
failed 25 grove gus
failed 115 birch gus
ready 15 grove dina
paused 49 harbor lina
paused 34 amber hana
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055287-p1 | Output all fields for each line after reversing their original order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | ivan cobalt 25 failed
gus amber 40 pending
dina grove 85 failed
ivan juniper 21 ready
ivan cobalt 3 paused
alice cobalt 51 failed
chen grove 6 closed
farah fable 75 failed
ivan grove 115 pending
hana fable 78 pending
| failed 25 cobalt ivan
pending 40 amber gus
failed 85 grove dina
ready 21 juniper ivan
paused 3 cobalt ivan
failed 51 cobalt alice
closed 6 grove chen
failed 75 fable farah
pending 115 grove ivan
pending 78 fable hana
| alice indigo 62 paused
farah delta 75 active
gus grove 25 failed
gus birch 115 failed
dina grove 15 ready
lina harbor 49 paused
hana amber 34 paused
| paused 62 indigo alice
active 75 delta farah
failed 25 grove gus
failed 115 birch gus
ready 15 grove dina
paused 49 harbor lina
paused 34 amber hana
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055287 | qwen/qwen3.7-plus |
awkweave-0055288 | Print the number of whitespace-separated fields on each line. | {print NF} | kim delta 86 paused
alice delta 29 closed
dina ember 1 pending
kim grove 101 pending
ivan amber 8 pending
lina grove 78 ready
farah amber 25 pending
bruno birch 8 pending
| 4
4
4
4
4
4
4
4
| gus amber 19 ready
kim amber 111 ready
alice fable 110 paused
jules juniper 58 active
dina indigo 86 active
ivan fable 53 closed
bruno juniper 97 closed
chen fable 90 active
alice grove 31 pending
hana birch 53 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055288-p1 | Display the count of whitespace-delimited fields present on every line. | {print NF} | kim delta 86 paused
alice delta 29 closed
dina ember 1 pending
kim grove 101 pending
ivan amber 8 pending
lina grove 78 ready
farah amber 25 pending
bruno birch 8 pending
| 4
4
4
4
4
4
4
4
| gus amber 19 ready
kim amber 111 ready
alice fable 110 paused
jules juniper 58 active
dina indigo 86 active
ivan fable 53 closed
bruno juniper 97 closed
chen fable 90 active
alice grove 31 pending
hana birch 53 pending
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055288 | qwen/qwen3.7-plus |
awkweave-0055289 | 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]]} | ivan delta 71
dina gamma 29
ivan alpha 21
bruno gamma 70
hana gamma 98
jules beta 116
hana gamma 83
eli beta 58
| delta 1
gamma 4
alpha 1
beta 2
| lina gamma 109
bruno delta 76
ivan delta 118
bruno alpha 65
alice delta 73
gus alpha 26
kim alpha 110
| gamma 1
delta 3
alpha 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055289-p1 | Tally the occurrences of each unique value in column 2, then print each value alongside its count in the order they first appeared. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | ivan delta 71
dina gamma 29
ivan alpha 21
bruno gamma 70
hana gamma 98
jules beta 116
hana gamma 83
eli beta 58
| delta 1
gamma 4
alpha 1
beta 2
| lina gamma 109
bruno delta 76
ivan delta 118
bruno alpha 65
alice delta 73
gus alpha 26
kim alpha 110
| gamma 1
delta 3
alpha 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055289 | qwen/qwen3.7-plus |
awkweave-0055300 | 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} | hana 25 0
kim 18 5
kim 19 22
dina 20 4
hana 30 26
eli 28 5
farah 5 23
dina 1 29
ivan 20 27
| kim 3.60
kim 0.86
dina 5.00
hana 1.15
eli 5.60
farah 0.22
dina 0.03
ivan 0.74
| eli 9 0
alice 25 22
kim 15 29
ivan 10 20
lina 12 19
farah 19 11
| alice 1.14
kim 0.52
ivan 0.50
lina 0.63
farah 1.73
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055300-p1 | For every row where column 3 is non-zero, output column 1 and the result of dividing column 2 by column 3, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | hana 25 0
kim 18 5
kim 19 22
dina 20 4
hana 30 26
eli 28 5
farah 5 23
dina 1 29
ivan 20 27
| kim 3.60
kim 0.86
dina 5.00
hana 1.15
eli 5.60
farah 0.22
dina 0.03
ivan 0.74
| eli 9 0
alice 25 22
kim 15 29
ivan 10 20
lina 12 19
farah 19 11
| alice 1.14
kim 0.52
ivan 0.50
lina 0.63
farah 1.73
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055300 | qwen/qwen3.7-plus |
awkweave-0055301 | 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]} | hana indigo 4
alice fable 4
lina juniper 9
eli amber 2
jules grove 21
gus delta 3
chen harbor 3
| jules grove 21
lina juniper 9
hana indigo 4
| ivan birch 20
bruno harbor 21
alice grove 2
dina amber 2
alice ember 2
eli ember 21
ivan indigo 8
ivan ember 3
jules harbor 25
| jules harbor 25
bruno harbor 21
eli ember 21
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055301-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | hana indigo 4
alice fable 4
lina juniper 9
eli amber 2
jules grove 21
gus delta 3
chen harbor 3
| jules grove 21
lina juniper 9
hana indigo 4
| ivan birch 20
bruno harbor 21
alice grove 2
dina amber 2
alice ember 2
eli ember 21
ivan indigo 8
ivan ember 3
jules harbor 25
| jules harbor 25
bruno harbor 21
eli ember 21
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055301 | qwen/qwen3.7-plus |
awkweave-0055302 | Select the 3rd and 1st fields in that order. | {print $3, $1} | bruno delta chen active ivan
eli ember farah failed dina
hana harbor ivan failed bruno
bruno amber dina ready chen
bruno birch chen pending hana
gus fable lina failed alice
ivan cobalt dina failed jules
chen harbor kim failed bruno
ivan ember gus active chen
| chen bruno
farah eli
ivan hana
dina bruno
chen bruno
lina gus
dina ivan
kim chen
gus ivan
| dina fable kim closed bruno
alice cobalt farah closed bruno
farah cobalt kim ready bruno
farah indigo gus ready lina
hana birch alice failed hana
ivan indigo gus ready jules
ivan amber chen closed dina
eli juniper chen closed bruno
kim grove gus closed farah
dina amber hana closed lina
| kim dina
farah alice
kim farah
gus farah
alice hana
gus ivan
chen ivan
chen eli
gus kim
hana dina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055302-p1 | Output the third field followed by the first field. | {print $3, $1} | bruno delta chen active ivan
eli ember farah failed dina
hana harbor ivan failed bruno
bruno amber dina ready chen
bruno birch chen pending hana
gus fable lina failed alice
ivan cobalt dina failed jules
chen harbor kim failed bruno
ivan ember gus active chen
| chen bruno
farah eli
ivan hana
dina bruno
chen bruno
lina gus
dina ivan
kim chen
gus ivan
| dina fable kim closed bruno
alice cobalt farah closed bruno
farah cobalt kim ready bruno
farah indigo gus ready lina
hana birch alice failed hana
ivan indigo gus ready jules
ivan amber chen closed dina
eli juniper chen closed bruno
kim grove gus closed farah
dina amber hana closed lina
| kim dina
farah alice
kim farah
gus farah
alice hana
gus ivan
chen ivan
chen eli
gus kim
hana dina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055302 | qwen/qwen3.7-plus |
awkweave-0055303 | Print the last field of every input line. | {print $NF} | kim ready harbor
farah pending delta
ivan active ember
ivan active birch
chen ready fable
kim active amber
ivan pending juniper
hana ready amber
| harbor
delta
ember
birch
fable
amber
juniper
amber
| kim paused ember
ivan closed cobalt
bruno ready grove
hana paused delta
chen pending ember
dina ready indigo
hana pending amber
| ember
cobalt
grove
delta
ember
indigo
amber
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055303-p1 | Print the final field from each input line. | {print $NF} | kim ready harbor
farah pending delta
ivan active ember
ivan active birch
chen ready fable
kim active amber
ivan pending juniper
hana ready amber
| harbor
delta
ember
birch
fable
amber
juniper
amber
| kim paused ember
ivan closed cobalt
bruno ready grove
hana paused delta
chen pending ember
dina ready indigo
hana pending amber
| ember
cobalt
grove
delta
ember
indigo
amber
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055303 | qwen/qwen3.7-plus |
awkweave-0055304 | Print the complete records where column 3 is less than 53. | $3 < 53 | gus pending 30 ember
farah ready 8 delta
dina active 23 delta
chen pending 70 delta
gus active 85 amber
lina paused 21 amber
| gus pending 30 ember
farah ready 8 delta
dina active 23 delta
lina paused 21 amber
| alice paused 27 harbor
eli active 59 indigo
chen active 87 birch
jules closed 88 ember
dina active 103 ember
alice paused 112 amber
| alice paused 27 harbor
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055304-p1 | Output entire records where the value in column 3 is strictly less than 53. | $3 < 53 | gus pending 30 ember
farah ready 8 delta
dina active 23 delta
chen pending 70 delta
gus active 85 amber
lina paused 21 amber
| gus pending 30 ember
farah ready 8 delta
dina active 23 delta
lina paused 21 amber
| alice paused 27 harbor
eli active 59 indigo
chen active 87 birch
jules closed 88 ember
dina active 103 ember
alice paused 112 amber
| alice paused 27 harbor
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055304 | qwen/qwen3.7-plus |
awkweave-0055305 | Show whole lines whose 3rd field is between 8 and 25, inclusive. | $3 >= 8 && $3 <= 25 | failed harbor 11 pending
paused indigo 14 paused
closed fable 5 closed
failed delta 24 ready
closed grove 28 active
failed juniper 8 paused
failed ember 2 active
closed fable 23 ready
failed indigo 2 ready
| failed harbor 11 pending
paused indigo 14 paused
failed delta 24 ready
failed juniper 8 paused
closed fable 23 ready
| failed indigo 17 active
pending harbor 3 failed
pending fable 26 failed
paused birch 26 active
paused harbor 2 ready
pending ember 16 failed
| failed indigo 17 active
pending ember 16 failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055305-p1 | Display full lines where the third field falls within the inclusive range of 8 to 25. | $3 >= 8 && $3 <= 25 | failed harbor 11 pending
paused indigo 14 paused
closed fable 5 closed
failed delta 24 ready
closed grove 28 active
failed juniper 8 paused
failed ember 2 active
closed fable 23 ready
failed indigo 2 ready
| failed harbor 11 pending
paused indigo 14 paused
failed delta 24 ready
failed juniper 8 paused
closed fable 23 ready
| failed indigo 17 active
pending harbor 3 failed
pending fable 26 failed
paused birch 26 active
paused harbor 2 ready
pending ember 16 failed
| failed indigo 17 active
pending ember 16 failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055305 | qwen/qwen3.7-plus |
awkweave-0055306 | Print column 1 only for rows where column 3 is exactly ready. | $3 == "ready"{print $1} | chen grove failed 54
lina harbor active 62
hana birch paused 102
kim fable failed 104
hana amber ready 30
ivan delta active 57
farah fable ready 32
dina fable ready 1
| hana
farah
dina
| gus amber active 72
hana ember ready 26
dina delta pending 60
ivan birch active 4
eli grove paused 54
dina indigo ready 83
jules indigo closed 64
eli juniper closed 10
| hana
dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055306-p1 | Output the first column exclusively for rows where the third column matches 'ready' exactly. | $3 == "ready"{print $1} | chen grove failed 54
lina harbor active 62
hana birch paused 102
kim fable failed 104
hana amber ready 30
ivan delta active 57
farah fable ready 32
dina fable ready 1
| hana
farah
dina
| gus amber active 72
hana ember ready 26
dina delta pending 60
ivan birch active 4
eli grove paused 54
dina indigo ready 83
jules indigo closed 64
eli juniper closed 10
| hana
dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055306 | qwen/qwen3.7-plus |
awkweave-0055307 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | amber ERROR 46
amber WARN 74
birch ERROR 17
indigo INFO 19
cobalt INFO 108
amber INFO 46
amber ERROR 84
fable ERROR 94
| amber WARN 74
| indigo ERROR 112
birch ERROR 34
delta INFO 56
amber INFO 4
amber INFO 111
indigo DEBUG 117
amber INFO 23
grove INFO 118
delta ERROR 73
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0055307-p1 | Display all fields from lines where the second field starts with 'WARN'. | $2 ~ /^WARN/ | amber ERROR 46
amber WARN 74
birch ERROR 17
indigo INFO 19
cobalt INFO 108
amber INFO 46
amber ERROR 84
fable ERROR 94
| amber WARN 74
| indigo ERROR 112
birch ERROR 34
delta INFO 56
amber INFO 4
amber INFO 111
indigo DEBUG 117
amber INFO 23
grove INFO 118
delta ERROR 73
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055307 | qwen/qwen3.7-plus | |
awkweave-0055308 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | birch 75 paused
ember 83 active
fable 52 ready
juniper 82 ready
indigo 59 failed
fable 67 failed
indigo 110 ready
birch 77 paused
delta 72 closed
fable 999 active
| birch 75 paused
ember 83 active
juniper 82 ready
indigo 59 failed
indigo 110 ready
birch 77 paused
delta 72 closed
| amber 87 active
grove 42 ready
indigo 0 ready
harbor 19 failed
cobalt 97 paused
indigo 22 paused
fable 49 pending
birch 60 pending
fable 999 active
| amber 87 active
grove 42 ready
indigo 0 ready
harbor 19 failed
cobalt 97 paused
indigo 22 paused
birch 60 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055308-p1 | Print every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | birch 75 paused
ember 83 active
fable 52 ready
juniper 82 ready
indigo 59 failed
fable 67 failed
indigo 110 ready
birch 77 paused
delta 72 closed
fable 999 active
| birch 75 paused
ember 83 active
juniper 82 ready
indigo 59 failed
indigo 110 ready
birch 77 paused
delta 72 closed
| amber 87 active
grove 42 ready
indigo 0 ready
harbor 19 failed
cobalt 97 paused
indigo 22 paused
fable 49 pending
birch 60 pending
fable 999 active
| amber 87 active
grove 42 ready
indigo 0 ready
harbor 19 failed
cobalt 97 paused
indigo 22 paused
birch 60 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055308 | qwen/qwen3.7-plus |
awkweave-0055309 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | kim amber 21
hana birch 26
eli harbor 69
chen harbor 120
kim harbor 91
bruno harbor 36
lina indigo 2
| eli harbor 69
chen harbor 120
kim harbor 91
| bruno indigo 7
bruno delta 59
kim birch 87
jules indigo 97
chen fable 80
bruno birch 81
gus birch 92
| kim birch 87
jules indigo 97
chen fable 80
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055309-p1 | Output lines 3 to 5, inclusive of both ends. | NR >= 3 && NR <= 5 | kim amber 21
hana birch 26
eli harbor 69
chen harbor 120
kim harbor 91
bruno harbor 36
lina indigo 2
| eli harbor 69
chen harbor 120
kim harbor 91
| bruno indigo 7
bruno delta 59
kim birch 87
jules indigo 97
chen fable 80
bruno birch 81
gus birch 92
| kim birch 87
jules indigo 97
chen fable 80
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055309 | qwen/qwen3.7-plus |
awkweave-0055310 | Output only the first 3 records. | NR <= 3 | bruno 99 indigo
bruno 72 birch
farah 75 amber
hana 11 delta
hana 1 amber
eli 14 juniper
dina 66 cobalt
dina 63 cobalt
jules 71 cobalt
| bruno 99 indigo
bruno 72 birch
farah 75 amber
| lina 36 amber
bruno 90 harbor
dina 62 indigo
farah 116 birch
dina 62 fable
chen 119 cobalt
chen 3 juniper
jules 99 cobalt
ivan 97 cobalt
| lina 36 amber
bruno 90 harbor
dina 62 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055310-p1 | Print only the initial 3 records. | NR <= 3 | bruno 99 indigo
bruno 72 birch
farah 75 amber
hana 11 delta
hana 1 amber
eli 14 juniper
dina 66 cobalt
dina 63 cobalt
jules 71 cobalt
| bruno 99 indigo
bruno 72 birch
farah 75 amber
| lina 36 amber
bruno 90 harbor
dina 62 indigo
farah 116 birch
dina 62 fable
chen 119 cobalt
chen 3 juniper
jules 99 cobalt
ivan 97 cobalt
| lina 36 amber
bruno 90 harbor
dina 62 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055310 | qwen/qwen3.7-plus |
awkweave-0055311 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 113 harbor
dina 66 ember
hana 44 harbor
lina 103 cobalt
alice 34 cobalt
alice 34 juniper
ivan 93 grove
| dina 66 ember
hana 44 harbor
lina 103 cobalt
alice 34 cobalt
alice 34 juniper
ivan 93 grove
| jules 105 ember
eli 56 ember
hana 84 amber
kim 98 ember
lina 14 fable
eli 116 ember
dina 90 delta
eli 38 grove
kim 115 fable
eli 113 ember
| eli 56 ember
hana 84 amber
kim 98 ember
lina 14 fable
eli 116 ember
dina 90 delta
eli 38 grove
kim 115 fable
eli 113 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055311-p1 | Omit the first line and output all subsequent lines as they are. | NR > 1 | farah 113 harbor
dina 66 ember
hana 44 harbor
lina 103 cobalt
alice 34 cobalt
alice 34 juniper
ivan 93 grove
| dina 66 ember
hana 44 harbor
lina 103 cobalt
alice 34 cobalt
alice 34 juniper
ivan 93 grove
| jules 105 ember
eli 56 ember
hana 84 amber
kim 98 ember
lina 14 fable
eli 116 ember
dina 90 delta
eli 38 grove
kim 115 fable
eli 113 ember
| eli 56 ember
hana 84 amber
kim 98 ember
lina 14 fable
eli 116 ember
dina 90 delta
eli 38 grove
kim 115 fable
eli 113 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055311 | qwen/qwen3.7-plus |
awkweave-0055312 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | kim active 76
gus failed 111
eli active 73
ivan pending 53
hana closed 11
gus ready 74
dina closed 120
bruno failed 97
eli failed 8
| 1
| gus ready 28
lina closed 95
gus ready 3
hana paused 14
farah ready 57
hana failed 66
kim failed 91
chen failed 16
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055312-p1 | Count the number of records with 'ready' in the second column; output 0 if the count is zero. | $2 == "ready"{n++}END{print n+0} | kim active 76
gus failed 111
eli active 73
ivan pending 53
hana closed 11
gus ready 74
dina closed 120
bruno failed 97
eli failed 8
| 1
| gus ready 28
lina closed 95
gus ready 3
hana paused 14
farah ready 57
hana failed 66
kim failed 91
chen failed 16
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055312 | qwen/qwen3.7-plus |
awkweave-0055313 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor gus 17
ember bruno 23
cobalt hana 21
delta eli 24
indigo hana 2
cobalt farah 3
| 90
| amber lina 26
cobalt hana 22
indigo alice 8
cobalt jules 10
ember farah 16
indigo kim 28
harbor dina 13
| 123
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055313-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | harbor gus 17
ember bruno 23
cobalt hana 21
delta eli 24
indigo hana 2
cobalt farah 3
| 90
| amber lina 26
cobalt hana 22
indigo alice 8
cobalt jules 10
ember farah 16
indigo kim 28
harbor dina 13
| 123
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055313 | qwen/qwen3.7-plus |
awkweave-0055314 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | fable jules 27
fable gus 20
fable jules 26
delta dina 29
cobalt farah 12
indigo eli 22
| 22.67
| harbor chen 18
amber lina 26
indigo ivan 25
indigo ivan 1
delta lina 11
juniper hana 21
| 17.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055314-p1 | Calculate the average of the third column and print it rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | fable jules 27
fable gus 20
fable jules 26
delta dina 29
cobalt farah 12
indigo eli 22
| 22.67
| harbor chen 18
amber lina 26
indigo ivan 25
indigo ivan 1
delta lina 11
juniper hana 21
| 17.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055314 | qwen/qwen3.7-plus |
awkweave-0055315 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | dina ember 21
eli juniper 8
eli fable 12
farah amber 2
lina indigo 26
alice delta 12
farah harbor 19
farah amber 19
chen delta 13
| 2
| dina ember 18
eli delta 11
alice cobalt 11
gus fable 17
jules harbor 21
chen fable 21
gus indigo 4
kim harbor 9
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055315-p1 | Identify and print the minimum numeric value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | dina ember 21
eli juniper 8
eli fable 12
farah amber 2
lina indigo 26
alice delta 12
farah harbor 19
farah amber 19
chen delta 13
| 2
| dina ember 18
eli delta 11
alice cobalt 11
gus fable 17
jules harbor 21
chen fable 21
gus indigo 4
kim harbor 9
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055315 | qwen/qwen3.7-plus |
awkweave-0055316 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | juniper gus 27
juniper alice 12
cobalt hana 9
cobalt lina 24
delta jules 10
fable farah 22
cobalt gus 11
delta jules 25
| 27
| cobalt lina 26
cobalt chen 3
indigo gus 16
grove gus 17
fable kim 22
fable eli 12
juniper hana 27
grove bruno 6
ember kim 5
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055316-p1 | Identify and print the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | juniper gus 27
juniper alice 12
cobalt hana 9
cobalt lina 24
delta jules 10
fable farah 22
cobalt gus 11
delta jules 25
| 27
| cobalt lina 26
cobalt chen 3
indigo gus 16
grove gus 17
fable kim 22
fable eli 12
juniper hana 27
grove bruno 6
ember kim 5
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055316 | qwen/qwen3.7-plus |
awkweave-0055317 | Count all input records and print the total. | END{print NR} | eli 64
dina 23
jules 86
alice 65
ivan 8
dina 20
gus 97
jules 73
| 8
| eli 38
hana 21
alice 6
chen 36
eli 10
ivan 34
kim 110
kim 59
kim 40
kim 97
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055317-p1 | Count the total number of input records and print the result. | END{print NR} | eli 64
dina 23
jules 86
alice 65
ivan 8
dina 20
gus 97
jules 73
| 8
| eli 38
hana 21
alice 6
chen 36
eli 10
ivan 34
kim 110
kim 59
kim 40
kim 97
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055317 | qwen/qwen3.7-plus |
awkweave-0055318 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus harbor 58
alice amber 63
bruno birch 37
eli cobalt 34
lina birch 111
bruno ember 80
gus delta 105
bruno birch 37
gus delta 60
chen ember 64
hana cobalt 99
| gus harbor 58
alice amber 63
bruno birch 37
eli cobalt 34
lina birch 111
bruno ember 80
gus delta 105
gus delta 60
chen ember 64
hana cobalt 99
| kim amber 45
farah juniper 17
farah juniper 17
gus birch 113
kim fable 4
hana harbor 91
bruno birch 47
| kim amber 45
farah juniper 17
gus birch 113
kim fable 4
hana harbor 91
bruno birch 47
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055318-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | gus harbor 58
alice amber 63
bruno birch 37
eli cobalt 34
lina birch 111
bruno ember 80
gus delta 105
bruno birch 37
gus delta 60
chen ember 64
hana cobalt 99
| gus harbor 58
alice amber 63
bruno birch 37
eli cobalt 34
lina birch 111
bruno ember 80
gus delta 105
gus delta 60
chen ember 64
hana cobalt 99
| kim amber 45
farah juniper 17
farah juniper 17
gus birch 113
kim fable 4
hana harbor 91
bruno birch 47
| kim amber 45
farah juniper 17
gus birch 113
kim fable 4
hana harbor 91
bruno birch 47
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055318 | qwen/qwen3.7-plus |
awkweave-0055319 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | farah indigo 74
kim amber 85
dina grove 60
hana indigo 118
chen ember 35
eli ember 117
| farah indigo 74
kim amber 85
dina grove 60
hana indigo 118
chen ember 35
eli ember 117
| bruno fable 108
farah fable 60
jules amber 2
ivan cobalt 46
gus grove 55
bruno grove 67
hana grove 62
| bruno fable 108
farah fable 60
jules amber 2
ivan cobalt 46
gus grove 55
bruno grove 67
hana grove 62
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055319-p1 | Retain only the initial line for every unique value found in the third column, ensuring the input order is preserved. | !seen[$3]++ | farah indigo 74
kim amber 85
dina grove 60
hana indigo 118
chen ember 35
eli ember 117
| farah indigo 74
kim amber 85
dina grove 60
hana indigo 118
chen ember 35
eli ember 117
| bruno fable 108
farah fable 60
jules amber 2
ivan cobalt 46
gus grove 55
bruno grove 67
hana grove 62
| bruno fable 108
farah fable 60
jules amber 2
ivan cobalt 46
gus grove 55
bruno grove 67
hana grove 62
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055319 | qwen/qwen3.7-plus |
awkweave-0055320 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 29 juniper
jules 6 cobalt
dina 13 juniper
hana 24 indigo
bruno 9 amber
farah 4 birch
dina 23 harbor
farah 17 birch
| dina 29
jules 35
dina 48
hana 72
bruno 81
farah 85
dina 108
farah 125
| jules 9 grove
ivan 15 cobalt
gus 23 delta
alice 19 fable
hana 28 fable
chen 26 juniper
| jules 9
ivan 24
gus 47
alice 66
hana 94
chen 120
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055320-p1 | Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | dina 29 juniper
jules 6 cobalt
dina 13 juniper
hana 24 indigo
bruno 9 amber
farah 4 birch
dina 23 harbor
farah 17 birch
| dina 29
jules 35
dina 48
hana 72
bruno 81
farah 85
dina 108
farah 125
| jules 9 grove
ivan 15 cobalt
gus 23 delta
alice 19 fable
hana 28 fable
chen 26 juniper
| jules 9
ivan 24
gus 47
alice 66
hana 94
chen 120
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055320 | qwen/qwen3.7-plus |
awkweave-0055321 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 29 22 birch
kim 9 10 delta
farah 14 23 indigo
jules 1 9 fable
ivan 1 5 amber
gus 16 6 indigo
hana 12 23 indigo
alice 1 22 indigo
gus 30 9 fable
hana 29 10 indigo
| hana 51
kim 19
farah 37
jules 10
ivan 6
gus 22
hana 35
alice 23
gus 39
hana 39
| kim 26 18 juniper
lina 27 3 delta
eli 10 21 grove
alice 5 25 delta
hana 26 28 indigo
chen 15 24 grove
ivan 15 11 cobalt
| kim 44
lina 30
eli 31
alice 30
hana 54
chen 39
ivan 26
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055321-p1 | For each row, display the first field followed by the combined total of the second and third fields. | {print $1,$2+$3} | hana 29 22 birch
kim 9 10 delta
farah 14 23 indigo
jules 1 9 fable
ivan 1 5 amber
gus 16 6 indigo
hana 12 23 indigo
alice 1 22 indigo
gus 30 9 fable
hana 29 10 indigo
| hana 51
kim 19
farah 37
jules 10
ivan 6
gus 22
hana 35
alice 23
gus 39
hana 39
| kim 26 18 juniper
lina 27 3 delta
eli 10 21 grove
alice 5 25 delta
hana 26 28 indigo
chen 15 24 grove
ivan 15 11 cobalt
| kim 44
lina 30
eli 31
alice 30
hana 54
chen 39
ivan 26
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055321 | qwen/qwen3.7-plus |
awkweave-0055322 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | ivan 20
kim 14
lina 11
ivan 29
gus 18
alice 26
jules 13
jules 3
| ivan fail
kim fail
lina fail
ivan pass
gus fail
alice fail
jules fail
jules fail
| eli 3
gus 29
dina 15
alice 19
dina 6
alice 19
eli 20
eli 8
hana 25
lina 17
| eli fail
gus pass
dina fail
alice fail
dina fail
alice fail
eli fail
eli fail
hana fail
lina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055322-p1 | Output the first column and label it 'pass' if the second column is 27 or greater; otherwise, label it 'fail'. | {print $1,($2>=27?"pass":"fail")} | ivan 20
kim 14
lina 11
ivan 29
gus 18
alice 26
jules 13
jules 3
| ivan fail
kim fail
lina fail
ivan pass
gus fail
alice fail
jules fail
jules fail
| eli 3
gus 29
dina 15
alice 19
dina 6
alice 19
eli 20
eli 8
hana 25
lina 17
| eli fail
gus pass
dina fail
alice fail
dina fail
alice fail
eli fail
eli fail
hana fail
lina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055322 | qwen/qwen3.7-plus |
awkweave-0055323 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | alice juniper 84
bruno harbor 65
gus indigo 29
eli grove 62
jules juniper 61
gus juniper 51
lina grove 118
| ALICE
BRUNO
GUS
ELI
JULES
GUS
LINA
| ivan delta 44
gus delta 89
ivan ember 78
alice birch 22
jules indigo 44
hana ember 113
gus delta 49
kim grove 117
lina fable 50
| IVAN
GUS
IVAN
ALICE
JULES
HANA
GUS
KIM
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055323-p1 | Transform the first column to uppercase letters and output only that modified column. | {print toupper($1)} | alice juniper 84
bruno harbor 65
gus indigo 29
eli grove 62
jules juniper 61
gus juniper 51
lina grove 118
| ALICE
BRUNO
GUS
ELI
JULES
GUS
LINA
| ivan delta 44
gus delta 89
ivan ember 78
alice birch 22
jules indigo 44
hana ember 113
gus delta 49
kim grove 117
lina fable 50
| IVAN
GUS
IVAN
ALICE
JULES
HANA
GUS
KIM
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055323 | qwen/qwen3.7-plus |
awkweave-0055324 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | juniper 45
amber 93
juniper 21
amber 51
indigo 104
amber 32
amber 44
amber 113
| jun
amb
jun
amb
ind
amb
amb
amb
| fable 61
fable 73
cobalt 90
grove 16
indigo 87
ember 51
ember 111
amber 107
| fab
fab
cob
gro
ind
emb
emb
amb
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055324-p1 | Extract and print the first three characters from the first column, starting at position 1. | {print substr($1,1,3)} | juniper 45
amber 93
juniper 21
amber 51
indigo 104
amber 32
amber 44
amber 113
| jun
amb
jun
amb
ind
amb
amb
amb
| fable 61
fable 73
cobalt 90
grove 16
indigo 87
ember 51
ember 111
amber 107
| fab
fab
cob
gro
ind
emb
emb
amb
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055324 | qwen/qwen3.7-plus |
awkweave-0055325 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_ember 48
fable_delta 117
ember_ember 67
harbor_grove 68
cobalt_grove 83
delta_harbor 77
amber_ember 11
cobalt_indigo 34
| indigo ember
fable delta
ember ember
harbor grove
cobalt grove
delta harbor
amber ember
cobalt indigo
| delta_amber 71
juniper_grove 57
amber_ember 63
birch_amber 119
delta_juniper 28
delta_cobalt 43
grove_fable 50
birch_fable 46
| delta amber
juniper grove
amber ember
birch amber
delta juniper
delta cobalt
grove fable
birch fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055325-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_ember 48
fable_delta 117
ember_ember 67
harbor_grove 68
cobalt_grove 83
delta_harbor 77
amber_ember 11
cobalt_indigo 34
| indigo ember
fable delta
ember ember
harbor grove
cobalt grove
delta harbor
amber ember
cobalt indigo
| delta_amber 71
juniper_grove 57
amber_ember 63
birch_amber 119
delta_juniper 28
delta_cobalt 43
grove_fable 50
birch_fable 46
| delta amber
juniper grove
amber ember
birch amber
delta juniper
delta cobalt
grove fable
birch fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055325 | qwen/qwen3.7-plus |
awkweave-0055326 | 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)} | gus ember 100 pending
lina amber 2 closed
lina indigo 22 failed
gus ember 106 ready
dina indigo 28 pending
eli amber 69 closed
| pending 100 ember gus
closed 2 amber lina
failed 22 indigo lina
ready 106 ember gus
pending 28 indigo dina
closed 69 amber eli
| gus delta 93 ready
jules amber 119 active
gus delta 37 failed
lina harbor 114 failed
chen cobalt 98 closed
farah juniper 57 paused
eli harbor 11 pending
lina amber 27 active
hana indigo 61 ready
alice amber 22 pending
| ready 93 delta gus
active 119 amber jules
failed 37 delta gus
failed 114 harbor lina
closed 98 cobalt chen
paused 57 juniper farah
pending 11 harbor eli
active 27 amber lina
ready 61 indigo hana
pending 22 amber alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055326-p1 | Invert the sequence of fields for every line and print all fields in this reversed order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus ember 100 pending
lina amber 2 closed
lina indigo 22 failed
gus ember 106 ready
dina indigo 28 pending
eli amber 69 closed
| pending 100 ember gus
closed 2 amber lina
failed 22 indigo lina
ready 106 ember gus
pending 28 indigo dina
closed 69 amber eli
| gus delta 93 ready
jules amber 119 active
gus delta 37 failed
lina harbor 114 failed
chen cobalt 98 closed
farah juniper 57 paused
eli harbor 11 pending
lina amber 27 active
hana indigo 61 ready
alice amber 22 pending
| ready 93 delta gus
active 119 amber jules
failed 37 delta gus
failed 114 harbor lina
closed 98 cobalt chen
paused 57 juniper farah
pending 11 harbor eli
active 27 amber lina
ready 61 indigo hana
pending 22 amber alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055326 | qwen/qwen3.7-plus |
awkweave-0055327 | Print the number of whitespace-separated fields on each line. | {print NF} | jules indigo 114 failed
dina juniper 12 failed
alice harbor 28 active
gus fable 57 failed
chen amber 23 pending
lina delta 1 ready
ivan indigo 31 paused
alice fable 49 paused
jules harbor 15 paused
| 4
4
4
4
4
4
4
4
4
| kim amber 58 ready
bruno grove 65 active
lina juniper 3 closed
alice delta 87 ready
farah grove 33 active
ivan amber 11 active
dina juniper 57 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055327-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | jules indigo 114 failed
dina juniper 12 failed
alice harbor 28 active
gus fable 57 failed
chen amber 23 pending
lina delta 1 ready
ivan indigo 31 paused
alice fable 49 paused
jules harbor 15 paused
| 4
4
4
4
4
4
4
4
4
| kim amber 58 ready
bruno grove 65 active
lina juniper 3 closed
alice delta 87 ready
farah grove 33 active
ivan amber 11 active
dina juniper 57 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055327 | qwen/qwen3.7-plus |
awkweave-0055328 | 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]]} | alice gamma 48
farah beta 107
chen alpha 103
hana delta 9
alice delta 108
jules beta 96
farah beta 89
jules alpha 41
lina gamma 8
| gamma 2
beta 3
alpha 2
delta 2
| lina gamma 80
eli beta 14
alice alpha 42
alice delta 14
lina gamma 30
lina beta 13
lina gamma 114
alice beta 70
lina delta 70
| gamma 3
beta 3
alpha 1
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055328-p1 | Tally the number of records for each unique value in the second column, printing the 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]]} | alice gamma 48
farah beta 107
chen alpha 103
hana delta 9
alice delta 108
jules beta 96
farah beta 89
jules alpha 41
lina gamma 8
| gamma 2
beta 3
alpha 2
delta 2
| lina gamma 80
eli beta 14
alice alpha 42
alice delta 14
lina gamma 30
lina beta 13
lina gamma 114
alice beta 70
lina delta 70
| gamma 3
beta 3
alpha 1
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055328 | qwen/qwen3.7-plus |
awkweave-0055329 | 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]]} | hana alpha 29
ivan gamma 27
alice alpha 7
kim delta 21
alice beta 12
gus gamma 29
gus delta 2
alice beta 19
| alpha 36
gamma 56
delta 23
beta 31
| lina beta 14
gus gamma 4
dina gamma 16
kim delta 10
eli alpha 16
farah gamma 2
alice alpha 29
| beta 14
gamma 22
delta 10
alpha 45
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055329-p1 | Calculate the sum of the third column for each group defined by the second column, outputting the results in the order of the group's 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]]} | hana alpha 29
ivan gamma 27
alice alpha 7
kim delta 21
alice beta 12
gus gamma 29
gus delta 2
alice beta 19
| alpha 36
gamma 56
delta 23
beta 31
| lina beta 14
gus gamma 4
dina gamma 16
kim delta 10
eli alpha 16
farah gamma 2
alice alpha 29
| beta 14
gamma 22
delta 10
alpha 45
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055329 | qwen/qwen3.7-plus |
awkweave-0055330 | 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 ember 15
alpha delta 68
beta delta 22
gamma cobalt 82
gamma ember 51
gamma grove 50
beta cobalt 68
beta ember 55
gamma cobalt 73
| beta 4
gamma 4
| alpha amber 40
delta amber 26
delta harbor 6
gamma delta 94
gamma cobalt 49
beta amber 50
alpha grove 37
| alpha 2
delta 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055330-p1 | List each unique value from the first column alongside its frequency count, ordered by when they first appear. | {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 ember 15
alpha delta 68
beta delta 22
gamma cobalt 82
gamma ember 51
gamma grove 50
beta cobalt 68
beta ember 55
gamma cobalt 73
| beta 4
gamma 4
| alpha amber 40
delta amber 26
delta harbor 6
gamma delta 94
gamma cobalt 49
beta amber 50
alpha grove 37
| alpha 2
delta 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055330 | qwen/qwen3.7-plus |
awkweave-0055331 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | display_name score record_id note
r001 eli 9 active
r002 chen 5 closed
r003 gus 1 failed
r004 ivan 23 active
r005 kim 12 pending
r006 ivan 13 active
r007 kim 7 failed
r008 eli 29 ready
r009 dina 2 active
| eli
chen
gus
ivan
kim
ivan
kim
eli
dina
| display_name score record_id note
r001 hana 20 paused
r002 alice 7 ready
r003 hana 8 active
r004 hana 19 active
r005 farah 2 active
r006 dina 23 active
r007 ivan 20 paused
r008 gus 11 ready
| hana
alice
hana
hana
farah
dina
ivan
gus
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055331-p1 | Treat the initial line as a header and output the values from the score column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | display_name score record_id note
r001 eli 9 active
r002 chen 5 closed
r003 gus 1 failed
r004 ivan 23 active
r005 kim 12 pending
r006 ivan 13 active
r007 kim 7 failed
r008 eli 29 ready
r009 dina 2 active
| eli
chen
gus
ivan
kim
ivan
kim
eli
dina
| display_name score record_id note
r001 hana 20 paused
r002 alice 7 ready
r003 hana 8 active
r004 hana 19 active
r005 farah 2 active
r006 dina 23 active
r007 ivan 20 paused
r008 gus 11 ready
| hana
alice
hana
hana
farah
dina
ivan
gus
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055331 | qwen/qwen3.7-plus |
awkweave-0055332 | The first row is a header. Print display_name for data rows whose score is greater than 9. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]} | record_id display_name score state
r001 alice 2 paused
r002 kim 12 failed
r003 lina 6 active
r004 farah 17 closed
r005 hana 12 failed
r006 hana 17 active
r007 chen 1 closed
r008 alice 8 paused
| kim
farah
hana
hana
| record_id display_name score state
r001 farah 27 pending
r002 gus 4 active
r003 bruno 30 active
r004 dina 3 active
r005 lina 8 paused
r006 eli 30 ready
r007 jules 10 failed
r008 bruno 7 pending
r009 lina 10 failed
r010 kim 10 failed
| farah
bruno
eli
jules
lina
kim
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0055332-p1 | Ignoring the header row, display the display_name field for any record where the score is strictly greater than 9. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]} | record_id display_name score state
r001 alice 2 paused
r002 kim 12 failed
r003 lina 6 active
r004 farah 17 closed
r005 hana 12 failed
r006 hana 17 active
r007 chen 1 closed
r008 alice 8 paused
| kim
farah
hana
hana
| record_id display_name score state
r001 farah 27 pending
r002 gus 4 active
r003 bruno 30 active
r004 dina 3 active
r005 lina 8 paused
r006 eli 30 ready
r007 jules 10 failed
r008 bruno 7 pending
r009 lina 10 failed
r010 kim 10 failed
| farah
bruno
eli
jules
lina
kim
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0055332 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.