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-0056833 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | gus pending 104
ivan paused 49
kim failed 55
dina failed 34
gus paused 96
jules paused 52
lina active 53
ivan failed 60
eli active 9
| 1
| ivan ready 6
alice active 17
kim paused 96
bruno ready 98
hana failed 5
jules pending 113
alice paused 5
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056833-p1 | Count the number of records with 'pending' in the second column; output 0 if none exist. | $2 == "pending"{n++}END{print n+0} | gus pending 104
ivan paused 49
kim failed 55
dina failed 34
gus paused 96
jules paused 52
lina active 53
ivan failed 60
eli active 9
| 1
| ivan ready 6
alice active 17
kim paused 96
bruno ready 98
hana failed 5
jules pending 113
alice paused 5
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056833 | qwen/qwen3.7-plus |
awkweave-0056834 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | hana 22 harbor
farah 14 indigo
farah 24 birch
kim 12 juniper
kim 1 ember
eli 11 ember
chen 3 indigo
chen 28 fable
hana 9 amber
| 124
| lina 1 fable
jules 6 birch
kim 13 cobalt
gus 15 amber
hana 29 indigo
bruno 19 birch
jules 18 juniper
dina 2 cobalt
jules 10 harbor
| 113
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056834-p1 | Compute and display the total sum of integer values in the second column. | {s+=$2}END{print s+0} | hana 22 harbor
farah 14 indigo
farah 24 birch
kim 12 juniper
kim 1 ember
eli 11 ember
chen 3 indigo
chen 28 fable
hana 9 amber
| 124
| lina 1 fable
jules 6 birch
kim 13 cobalt
gus 15 amber
hana 29 indigo
bruno 19 birch
jules 18 juniper
dina 2 cobalt
jules 10 harbor
| 113
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056834 | qwen/qwen3.7-plus |
awkweave-0056835 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno amber 12
kim amber 22
chen fable 2
gus indigo 16
hana juniper 19
hana delta 1
jules ember 13
chen birch 30
ivan ember 4
| 13.22
| kim birch 17
ivan ember 10
bruno fable 3
eli indigo 10
chen delta 22
lina cobalt 6
gus fable 13
eli juniper 18
farah grove 20
| 13.22
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056835-p1 | Calculate and print the average of the third column, rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno amber 12
kim amber 22
chen fable 2
gus indigo 16
hana juniper 19
hana delta 1
jules ember 13
chen birch 30
ivan ember 4
| 13.22
| kim birch 17
ivan ember 10
bruno fable 3
eli indigo 10
chen delta 22
lina cobalt 6
gus fable 13
eli juniper 18
farah grove 20
| 13.22
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056835 | qwen/qwen3.7-plus |
awkweave-0056836 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ivan delta 29
ivan grove 22
chen harbor 27
gus cobalt 26
hana harbor 29
chen cobalt 27
eli ember 1
ivan delta 6
ivan amber 18
| 1
| eli indigo 9
hana juniper 29
chen ember 13
lina delta 2
bruno juniper 5
eli ember 4
jules delta 21
ivan cobalt 17
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056836-p1 | Output the minimum number found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ivan delta 29
ivan grove 22
chen harbor 27
gus cobalt 26
hana harbor 29
chen cobalt 27
eli ember 1
ivan delta 6
ivan amber 18
| 1
| eli indigo 9
hana juniper 29
chen ember 13
lina delta 2
bruno juniper 5
eli ember 4
jules delta 21
ivan cobalt 17
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056836 | qwen/qwen3.7-plus |
awkweave-0056837 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 20 eli fable
6 dina cobalt
9 alice grove
10 farah birch
3 kim indigo
14 hana delta
12 chen harbor
7 gus delta
3 eli grove
| 20
| 20 kim indigo
20 kim ember
15 chen grove
21 farah birch
19 kim grove
6 chen cobalt
24 chen indigo
| 24
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056837-p1 | Output the maximum number found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 20 eli fable
6 dina cobalt
9 alice grove
10 farah birch
3 kim indigo
14 hana delta
12 chen harbor
7 gus delta
3 eli grove
| 20
| 20 kim indigo
20 kim ember
15 chen grove
21 farah birch
19 kim grove
6 chen cobalt
24 chen indigo
| 24
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056837 | qwen/qwen3.7-plus |
awkweave-0056838 | Count all input records and print the total. | END{print NR} | chen 112
kim 117
eli 55
bruno 59
kim 98
hana 63
hana 69
gus 107
| 8
| ivan 24
farah 29
farah 60
farah 76
chen 117
ivan 71
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056838-p1 | Calculate and display the total number of input records. | END{print NR} | chen 112
kim 117
eli 55
bruno 59
kim 98
hana 63
hana 69
gus 107
| 8
| ivan 24
farah 29
farah 60
farah 76
chen 117
ivan 71
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056838 | qwen/qwen3.7-plus |
awkweave-0056839 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules grove 24
gus grove 117
dina grove 116
hana grove 100
farah grove 63
gus ember 81
dina grove 116
gus cobalt 2
ivan delta 42
jules birch 98
| jules grove 24
gus grove 117
dina grove 116
hana grove 100
farah grove 63
gus ember 81
gus cobalt 2
ivan delta 42
jules birch 98
| eli harbor 16
lina fable 91
ivan fable 26
hana birch 46
dina amber 61
eli harbor 16
bruno fable 40
kim juniper 99
kim fable 22
| eli harbor 16
lina fable 91
ivan fable 26
hana birch 46
dina amber 61
bruno fable 40
kim juniper 99
kim fable 22
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056839-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | jules grove 24
gus grove 117
dina grove 116
hana grove 100
farah grove 63
gus ember 81
dina grove 116
gus cobalt 2
ivan delta 42
jules birch 98
| jules grove 24
gus grove 117
dina grove 116
hana grove 100
farah grove 63
gus ember 81
gus cobalt 2
ivan delta 42
jules birch 98
| eli harbor 16
lina fable 91
ivan fable 26
hana birch 46
dina amber 61
eli harbor 16
bruno fable 40
kim juniper 99
kim fable 22
| eli harbor 16
lina fable 91
ivan fable 26
hana birch 46
dina amber 61
bruno fable 40
kim juniper 99
kim fable 22
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056839 | qwen/qwen3.7-plus |
awkweave-0056840 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | ivan delta 19
kim harbor 9
alice juniper 99
hana birch 87
farah ember 0
kim birch 111
lina fable 18
| ivan delta 19
kim harbor 9
alice juniper 99
hana birch 87
farah ember 0
kim birch 111
lina fable 18
| dina ember 76
farah fable 19
eli juniper 2
chen amber 37
chen ember 52
gus cobalt 26
| dina ember 76
farah fable 19
eli juniper 2
chen amber 37
chen ember 52
gus cobalt 26
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056840-p1 | Retain only the initial row for every unique value in column 3, keeping the original order. | !seen[$3]++ | ivan delta 19
kim harbor 9
alice juniper 99
hana birch 87
farah ember 0
kim birch 111
lina fable 18
| ivan delta 19
kim harbor 9
alice juniper 99
hana birch 87
farah ember 0
kim birch 111
lina fable 18
| dina ember 76
farah fable 19
eli juniper 2
chen amber 37
chen ember 52
gus cobalt 26
| dina ember 76
farah fable 19
eli juniper 2
chen amber 37
chen ember 52
gus cobalt 26
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056840 | qwen/qwen3.7-plus |
awkweave-0056841 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 28 birch
eli 24 delta
gus 11 juniper
farah 11 cobalt
eli 19 fable
ivan 11 ember
gus 14 cobalt
gus 5 juniper
jules 9 birch
jules 26 cobalt
| gus 28
eli 52
gus 63
farah 74
eli 93
ivan 104
gus 118
gus 123
jules 132
jules 158
| dina 24 harbor
gus 10 harbor
jules 11 ember
farah 10 juniper
bruno 25 grove
lina 19 fable
| dina 24
gus 34
jules 45
farah 55
bruno 80
lina 99
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056841-p1 | For each entry, output column 1 alongside the cumulative total of column 2, using a space as the delimiter. | {s+=$2;print $1,s} | gus 28 birch
eli 24 delta
gus 11 juniper
farah 11 cobalt
eli 19 fable
ivan 11 ember
gus 14 cobalt
gus 5 juniper
jules 9 birch
jules 26 cobalt
| gus 28
eli 52
gus 63
farah 74
eli 93
ivan 104
gus 118
gus 123
jules 132
jules 158
| dina 24 harbor
gus 10 harbor
jules 11 ember
farah 10 juniper
bruno 25 grove
lina 19 fable
| dina 24
gus 34
jules 45
farah 55
bruno 80
lina 99
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056841 | qwen/qwen3.7-plus |
awkweave-0056842 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 24 26 cobalt
bruno 29 27 juniper
jules 5 10 birch
kim 28 29 juniper
jules 29 4 cobalt
hana 4 16 cobalt
alice 2 7 delta
| jules 50
bruno 56
jules 15
kim 57
jules 33
hana 20
alice 9
| gus 3 8 ember
hana 19 17 harbor
chen 15 22 indigo
farah 28 24 indigo
eli 6 8 indigo
alice 7 19 grove
farah 14 12 birch
eli 16 2 grove
bruno 4 24 indigo
kim 12 28 juniper
| gus 11
hana 36
chen 37
farah 52
eli 14
alice 26
farah 26
eli 18
bruno 28
kim 40
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056842-p1 | Display the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | jules 24 26 cobalt
bruno 29 27 juniper
jules 5 10 birch
kim 28 29 juniper
jules 29 4 cobalt
hana 4 16 cobalt
alice 2 7 delta
| jules 50
bruno 56
jules 15
kim 57
jules 33
hana 20
alice 9
| gus 3 8 ember
hana 19 17 harbor
chen 15 22 indigo
farah 28 24 indigo
eli 6 8 indigo
alice 7 19 grove
farah 14 12 birch
eli 16 2 grove
bruno 4 24 indigo
kim 12 28 juniper
| gus 11
hana 36
chen 37
farah 52
eli 14
alice 26
farah 26
eli 18
bruno 28
kim 40
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056842 | qwen/qwen3.7-plus |
awkweave-0056843 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | bruno 26
hana 11
hana 3
bruno 15
ivan 6
kim 6
| bruno pass
hana fail
hana fail
bruno fail
ivan fail
kim fail
| hana 10
alice 13
lina 13
ivan 11
lina 26
farah 16
ivan 2
chen 30
farah 7
jules 29
| hana fail
alice fail
lina fail
ivan fail
lina pass
farah fail
ivan fail
chen pass
farah fail
jules pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056843-p1 | Print the first column and output 'pass' if the second column is 25 or greater; otherwise, output 'fail'. | {print $1,($2>=25?"pass":"fail")} | bruno 26
hana 11
hana 3
bruno 15
ivan 6
kim 6
| bruno pass
hana fail
hana fail
bruno fail
ivan fail
kim fail
| hana 10
alice 13
lina 13
ivan 11
lina 26
farah 16
ivan 2
chen 30
farah 7
jules 29
| hana fail
alice fail
lina fail
ivan fail
lina pass
farah fail
ivan fail
chen pass
farah fail
jules pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056843 | qwen/qwen3.7-plus |
awkweave-0056844 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | jules amber 111
jules cobalt 7
gus harbor 119
hana delta 6
chen delta 102
hana amber 89
alice grove 56
alice birch 91
eli fable 85
jules birch 23
| JULES
JULES
GUS
HANA
CHEN
HANA
ALICE
ALICE
ELI
JULES
| dina juniper 0
chen indigo 69
ivan indigo 34
lina juniper 66
hana ember 81
farah birch 61
ivan cobalt 58
| DINA
CHEN
IVAN
LINA
HANA
FARAH
IVAN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056844-p1 | Transform the first column to uppercase letters and print just that column. | {print toupper($1)} | jules amber 111
jules cobalt 7
gus harbor 119
hana delta 6
chen delta 102
hana amber 89
alice grove 56
alice birch 91
eli fable 85
jules birch 23
| JULES
JULES
GUS
HANA
CHEN
HANA
ALICE
ALICE
ELI
JULES
| dina juniper 0
chen indigo 69
ivan indigo 34
lina juniper 66
hana ember 81
farah birch 61
ivan cobalt 58
| DINA
CHEN
IVAN
LINA
HANA
FARAH
IVAN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056844 | qwen/qwen3.7-plus |
awkweave-0056845 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | cobalt 81
cobalt 57
fable 116
delta 19
indigo 55
juniper 33
birch 104
indigo 4
fable 27
birch 53
| balt
balt
ble
lta
digo
nipe
rch
digo
ble
rch
| grove 95
grove 88
ember 52
ember 8
grove 82
juniper 113
amber 94
delta 60
| ove
ove
ber
ber
ove
nipe
ber
lta
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056845-p1 | Extract and print a 4-character substring from column 1, beginning at the third character. | {print substr($1,3,4)} | cobalt 81
cobalt 57
fable 116
delta 19
indigo 55
juniper 33
birch 104
indigo 4
fable 27
birch 53
| balt
balt
ble
lta
digo
nipe
rch
digo
ble
rch
| grove 95
grove 88
ember 52
ember 8
grove 82
juniper 113
amber 94
delta 60
| ove
ove
ber
ber
ove
nipe
ber
lta
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056845 | qwen/qwen3.7-plus |
awkweave-0056846 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_indigo 49
ember_grove 79
juniper_indigo 42
fable_grove 75
grove_cobalt 42
juniper_cobalt 25
grove_grove 106
| ember indigo
ember grove
juniper indigo
fable grove
grove cobalt
juniper cobalt
grove grove
| cobalt_amber 95
amber_fable 112
fable_grove 17
ember_ember 84
ember_grove 104
delta_delta 40
harbor_juniper 91
juniper_juniper 70
birch_fable 47
delta_harbor 7
| cobalt amber
amber fable
fable grove
ember ember
ember grove
delta delta
harbor juniper
juniper juniper
birch fable
delta harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056846-p1 | Substitute all underscores in column 1 with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | ember_indigo 49
ember_grove 79
juniper_indigo 42
fable_grove 75
grove_cobalt 42
juniper_cobalt 25
grove_grove 106
| ember indigo
ember grove
juniper indigo
fable grove
grove cobalt
juniper cobalt
grove grove
| cobalt_amber 95
amber_fable 112
fable_grove 17
ember_ember 84
ember_grove 104
delta_delta 40
harbor_juniper 91
juniper_juniper 70
birch_fable 47
delta_harbor 7
| cobalt amber
amber fable
fable grove
ember ember
ember grove
delta delta
harbor juniper
juniper juniper
birch fable
delta harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056846 | qwen/qwen3.7-plus |
awkweave-0056847 | 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)} | bruno ember 95 closed
farah harbor 83 closed
bruno birch 59 active
hana harbor 40 paused
alice amber 91 ready
chen juniper 113 active
| closed 95 ember bruno
closed 83 harbor farah
active 59 birch bruno
paused 40 harbor hana
ready 91 amber alice
active 113 juniper chen
| chen indigo 89 pending
bruno harbor 114 paused
dina cobalt 21 ready
hana amber 69 closed
farah juniper 109 ready
lina birch 46 paused
alice ember 62 paused
jules juniper 86 active
bruno delta 61 closed
| pending 89 indigo chen
paused 114 harbor bruno
ready 21 cobalt dina
closed 69 amber hana
ready 109 juniper farah
paused 46 birch lina
paused 62 ember alice
active 86 juniper jules
closed 61 delta bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056847-p1 | Reverse the sequence of fields in each line and print the result. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno ember 95 closed
farah harbor 83 closed
bruno birch 59 active
hana harbor 40 paused
alice amber 91 ready
chen juniper 113 active
| closed 95 ember bruno
closed 83 harbor farah
active 59 birch bruno
paused 40 harbor hana
ready 91 amber alice
active 113 juniper chen
| chen indigo 89 pending
bruno harbor 114 paused
dina cobalt 21 ready
hana amber 69 closed
farah juniper 109 ready
lina birch 46 paused
alice ember 62 paused
jules juniper 86 active
bruno delta 61 closed
| pending 89 indigo chen
paused 114 harbor bruno
ready 21 cobalt dina
closed 69 amber hana
ready 109 juniper farah
paused 46 birch lina
paused 62 ember alice
active 86 juniper jules
closed 61 delta bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056847 | qwen/qwen3.7-plus |
awkweave-0056848 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno harbor 14 pending
lina juniper 46 paused
eli juniper 94 ready
jules delta 64 active
ivan indigo 37 closed
alice harbor 19 ready
| 4
4
4
4
4
4
| kim juniper 27 closed
gus grove 75 paused
chen harbor 97 closed
hana fable 90 pending
jules grove 1 paused
alice birch 41 closed
eli grove 8 failed
dina amber 54 closed
chen delta 4 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056848-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno harbor 14 pending
lina juniper 46 paused
eli juniper 94 ready
jules delta 64 active
ivan indigo 37 closed
alice harbor 19 ready
| 4
4
4
4
4
4
| kim juniper 27 closed
gus grove 75 paused
chen harbor 97 closed
hana fable 90 pending
jules grove 1 paused
alice birch 41 closed
eli grove 8 failed
dina amber 54 closed
chen delta 4 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056848 | qwen/qwen3.7-plus |
awkweave-0056849 | 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]]} | lina alpha 88
jules alpha 23
kim delta 18
eli beta 52
bruno beta 55
bruno gamma 25
dina alpha 8
eli gamma 48
| alpha 3
delta 1
beta 2
gamma 2
| bruno gamma 8
gus delta 24
hana alpha 117
jules alpha 40
lina beta 119
alice beta 120
| gamma 1
delta 1
alpha 2
beta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056849-p1 | Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order of their first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | lina alpha 88
jules alpha 23
kim delta 18
eli beta 52
bruno beta 55
bruno gamma 25
dina alpha 8
eli gamma 48
| alpha 3
delta 1
beta 2
gamma 2
| bruno gamma 8
gus delta 24
hana alpha 117
jules alpha 40
lina beta 119
alice beta 120
| gamma 1
delta 1
alpha 2
beta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056849 | qwen/qwen3.7-plus |
awkweave-0056850 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | farah gamma 25
kim beta 28
hana beta 7
jules delta 22
alice gamma 24
bruno delta 3
| gamma 49
beta 35
delta 25
| dina beta 28
kim alpha 30
dina gamma 2
farah alpha 29
chen gamma 12
gus gamma 19
chen alpha 18
| beta 28
alpha 77
gamma 33
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056850-p1 | Calculate the sum of values in the third column grouped by the categories in the second column, outputting the results in the order the groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | farah gamma 25
kim beta 28
hana beta 7
jules delta 22
alice gamma 24
bruno delta 3
| gamma 49
beta 35
delta 25
| dina beta 28
kim alpha 30
dina gamma 2
farah alpha 29
chen gamma 12
gus gamma 19
chen alpha 18
| beta 28
alpha 77
gamma 33
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056850 | qwen/qwen3.7-plus |
awkweave-0056851 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta amber 120
gamma amber 30
gamma indigo 36
gamma indigo 40
alpha fable 65
beta indigo 20
delta birch 61
gamma ember 95
beta cobalt 25
| delta 2
gamma 4
beta 2
| alpha birch 23
delta cobalt 108
alpha juniper 115
gamma grove 51
beta delta 48
beta grove 76
| alpha 2
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056851-p1 | List each value from the first column that appears more than once, along with its frequency, sorted by the order of first occurrence. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta amber 120
gamma amber 30
gamma indigo 36
gamma indigo 40
alpha fable 65
beta indigo 20
delta birch 61
gamma ember 95
beta cobalt 25
| delta 2
gamma 4
beta 2
| alpha birch 23
delta cobalt 108
alpha juniper 115
gamma grove 51
beta delta 48
beta grove 76
| alpha 2
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056851 | qwen/qwen3.7-plus |
awkweave-0056852 | 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 note region state
r001 bruno 30 closed
r002 eli 4 active
r003 kim 9 paused
r004 chen 2 pending
r005 jules 22 paused
r006 bruno 12 failed
| 30
4
9
2
22
12
| display_name note region state
r001 jules 29 failed
r002 eli 16 pending
r003 jules 17 closed
r004 dina 28 closed
r005 lina 10 closed
r006 kim 23 closed
r007 ivan 6 closed
r008 bruno 10 failed
r009 alice 2 active
r010 lina 15 pending
| 29
16
17
28
10
23
6
10
2
15
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056852-p1 | Skip the header row and output the values from the region column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | display_name note region state
r001 bruno 30 closed
r002 eli 4 active
r003 kim 9 paused
r004 chen 2 pending
r005 jules 22 paused
r006 bruno 12 failed
| 30
4
9
2
22
12
| display_name note region state
r001 jules 29 failed
r002 eli 16 pending
r003 jules 17 closed
r004 dina 28 closed
r005 lina 10 closed
r006 kim 23 closed
r007 ivan 6 closed
r008 bruno 10 failed
r009 alice 2 active
r010 lina 15 pending
| 29
16
17
28
10
23
6
10
2
15
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056852 | qwen/qwen3.7-plus |
awkweave-0056853 | The first row is a header. Print display_name for data rows whose score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 alice 26 pending
r002 gus 21 failed
r003 hana 6 active
r004 gus 16 active
r005 chen 10 active
r006 dina 2 ready
r007 gus 25 closed
r008 eli 30 active
r009 gus 28 pending
| alice
gus
gus
gus
eli
gus
| record_id display_name score state
r001 gus 21 ready
r002 bruno 19 paused
r003 chen 18 paused
r004 chen 14 failed
r005 bruno 12 ready
r006 gus 12 closed
r007 hana 18 failed
| gus
bruno
chen
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056853-p1 | Ignoring the header row, print the display_name field for any record where the score is strictly greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 alice 26 pending
r002 gus 21 failed
r003 hana 6 active
r004 gus 16 active
r005 chen 10 active
r006 dina 2 ready
r007 gus 25 closed
r008 eli 30 active
r009 gus 28 pending
| alice
gus
gus
gus
eli
gus
| record_id display_name score state
r001 gus 21 ready
r002 bruno 19 paused
r003 chen 18 paused
r004 chen 14 failed
r005 bruno 12 ready
r006 gus 12 closed
r007 hana 18 failed
| gus
bruno
chen
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056853 | qwen/qwen3.7-plus |
awkweave-0056854 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 8 active
jules 27 failed
gus 6 paused
gus 6 paused
ivan 9 paused
eli 21 pending
farah 22 active
dina 7 failed
hana 21 pending
dina 21 paused
| 8
27
6
6
9
21
22
7
21
21
| hana 5 paused
jules 28 failed
eli 23 failed
farah 2 pending
ivan 2 failed
chen 16 active
lina 7 failed
| 5
28
23
2
2
16
7
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056854-p1 | Given tab-separated input, extract and print the second field from each record. | BEGIN{FS=OFS="\t"}{print $2} | gus 8 active
jules 27 failed
gus 6 paused
gus 6 paused
ivan 9 paused
eli 21 pending
farah 22 active
dina 7 failed
hana 21 pending
dina 21 paused
| 8
27
6
6
9
21
22
7
21
21
| hana 5 paused
jules 28 failed
eli 23 failed
farah 2 pending
ivan 2 failed
chen 16 active
lina 7 failed
| 5
28
23
2
2
16
7
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056854 | qwen/qwen3.7-plus |
awkweave-0056855 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | eli,22,active
eli,12,paused
bruno,10,paused
gus,16,failed
kim,4,active
ivan,20,active
gus,24,closed
lina,1,closed
gus,1,pending
| eli
eli
bruno
gus
ivan
gus
| chen,17,failed
kim,12,closed
kim,11,pending
gus,28,failed
lina,10,paused
kim,29,failed
bruno,27,pending
farah,30,pending
dina,23,pending
| chen
kim
kim
gus
lina
kim
bruno
farah
dina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056855-p1 | For simple comma-separated input without quoted commas, print the first field if the second field is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | eli,22,active
eli,12,paused
bruno,10,paused
gus,16,failed
kim,4,active
ivan,20,active
gus,24,closed
lina,1,closed
gus,1,pending
| eli
eli
bruno
gus
ivan
gus
| chen,17,failed
kim,12,closed
kim,11,pending
gus,28,failed
lina,10,paused
kim,29,failed
bruno,27,pending
farah,30,pending
dina,23,pending
| chen
kim
kim
gus
lina
kim
bruno
farah
dina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056855 | qwen/qwen3.7-plus |
awkweave-0056856 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice amber 33
alice cobalt 39
bruno cobalt 48
hana birch 28
gus cobalt 15
ivan delta 76
chen birch 12
chen amber 120
| alice amber 33
alice cobalt 39
bruno cobalt 48
hana birch 28
gus cobalt 15
ivan delta 76
chen birch 12
chen amber 120
| gus fable 21
bruno grove 69
farah fable 120
dina ember 62
lina cobalt 31
kim cobalt 95
gus harbor 51
gus cobalt 9
alice birch 65
hana juniper 50
| gus fable 21
bruno grove 69
farah fable 120
dina ember 62
lina cobalt 31
kim cobalt 95
gus harbor 51
gus cobalt 9
alice birch 65
hana juniper 50
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056856-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | alice amber 33
alice cobalt 39
bruno cobalt 48
hana birch 28
gus cobalt 15
ivan delta 76
chen birch 12
chen amber 120
| alice amber 33
alice cobalt 39
bruno cobalt 48
hana birch 28
gus cobalt 15
ivan delta 76
chen birch 12
chen amber 120
| gus fable 21
bruno grove 69
farah fable 120
dina ember 62
lina cobalt 31
kim cobalt 95
gus harbor 51
gus cobalt 9
alice birch 65
hana juniper 50
| gus fable 21
bruno grove 69
farah fable 120
dina ember 62
lina cobalt 31
kim cobalt 95
gus harbor 51
gus cobalt 9
alice birch 65
hana juniper 50
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056856 | qwen/qwen3.7-plus |
awkweave-0056857 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 76 active
ivan birch 114 failed
hana cobalt 24 paused
hana indigo 71 failed
alice grove 27 ready
chen indigo 67 pending
lina harbor 110 paused
| chen indigo 67 pending
| kim juniper 101 ready
ivan ember 63 ready
eli delta 66 failed
alice delta 57 failed
hana juniper 33 paused
bruno grove 88 ready
farah indigo 25 failed
ivan amber 23 paused
| hana juniper 33 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056857-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 76 active
ivan birch 114 failed
hana cobalt 24 paused
hana indigo 71 failed
alice grove 27 ready
chen indigo 67 pending
lina harbor 110 paused
| chen indigo 67 pending
| kim juniper 101 ready
ivan ember 63 ready
eli delta 66 failed
alice delta 57 failed
hana juniper 33 paused
bruno grove 88 ready
farah indigo 25 failed
ivan amber 23 paused
| hana juniper 33 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056857 | qwen/qwen3.7-plus |
awkweave-0056858 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | lina 83
hana 16
lina 55
alice 14
kim 100
chen 94
hana 81
| hana 16
alice 14
chen 94
| eli 104
dina 75
dina 19
ivan 105
farah 94
jules 13
| dina 75
ivan 105
jules 13
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056858-p1 | Print every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | lina 83
hana 16
lina 55
alice 14
kim 100
chen 94
hana 81
| hana 16
alice 14
chen 94
| eli 104
dina 75
dina 19
ivan 105
farah 94
jules 13
| dina 75
ivan 105
jules 13
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056858 | qwen/qwen3.7-plus |
awkweave-0056859 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 21
beta indigo 45
gamma harbor 47
beta juniper 79
gamma amber 82
gamma juniper 44
| 3
| gamma harbor 102
alpha delta 1
alpha ember 90
gamma indigo 26
delta indigo 66
alpha juniper 16
alpha fable 39
alpha indigo 19
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056859-p1 | Determine the number of unique values in the first column and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 21
beta indigo 45
gamma harbor 47
beta juniper 79
gamma amber 82
gamma juniper 44
| 3
| gamma harbor 102
alpha delta 1
alpha ember 90
gamma indigo 26
delta indigo 66
alpha juniper 16
alpha fable 39
alpha indigo 19
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056859 | qwen/qwen3.7-plus |
awkweave-0056860 | 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} | gus 24 0
dina 12 27
dina 14 13
jules 9 26
dina 15 7
farah 23 10
ivan 3 5
| dina 0.44
dina 1.08
jules 0.35
dina 2.14
farah 2.30
ivan 0.60
| chen 3 0
jules 6 30
kim 7 28
hana 9 5
jules 6 3
lina 30 2
gus 19 16
lina 9 6
ivan 25 25
eli 5 3
| jules 0.20
kim 0.25
hana 1.80
jules 2.00
lina 15.00
gus 1.19
lina 1.50
ivan 1.00
eli 1.67
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056860-p1 | For every row, output the first and second columns alongside the result of dividing the second column by the third, formatted to two decimal places, while omitting any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 24 0
dina 12 27
dina 14 13
jules 9 26
dina 15 7
farah 23 10
ivan 3 5
| dina 0.44
dina 1.08
jules 0.35
dina 2.14
farah 2.30
ivan 0.60
| chen 3 0
jules 6 30
kim 7 28
hana 9 5
jules 6 3
lina 30 2
gus 19 16
lina 9 6
ivan 25 25
eli 5 3
| jules 0.20
kim 0.25
hana 1.80
jules 2.00
lina 15.00
gus 1.19
lina 1.50
ivan 1.00
eli 1.67
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056860 | qwen/qwen3.7-plus |
awkweave-0056861 | 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]} | bruno fable 20
chen indigo 9
hana harbor 8
bruno juniper 4
jules fable 12
farah ember 1
kim cobalt 19
dina juniper 21
| dina juniper 21
bruno fable 20
kim cobalt 19
| lina cobalt 12
jules indigo 19
farah ember 2
kim indigo 12
dina harbor 11
kim ember 27
dina grove 6
hana birch 5
dina delta 22
| kim ember 27
dina delta 22
jules indigo 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056861-p1 | Display the top three full records based on the highest numeric values in the third column, sorted in descending order, maintaining the original input sequence for any tied values. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno fable 20
chen indigo 9
hana harbor 8
bruno juniper 4
jules fable 12
farah ember 1
kim cobalt 19
dina juniper 21
| dina juniper 21
bruno fable 20
kim cobalt 19
| lina cobalt 12
jules indigo 19
farah ember 2
kim indigo 12
dina harbor 11
kim ember 27
dina grove 6
hana birch 5
dina delta 22
| kim ember 27
dina delta 22
jules indigo 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056861 | qwen/qwen3.7-plus |
awkweave-0056862 | Select the 4th and 1st fields in that order. | {print $4, $1} | closed fable farah birch
closed cobalt eli ember
paused ember ivan cobalt
closed delta farah ember
pending grove bruno cobalt
pending juniper eli ember
pending delta jules delta
| birch closed
ember closed
cobalt paused
ember closed
cobalt pending
ember pending
delta pending
| closed amber jules birch
failed amber bruno ember
pending birch kim grove
closed indigo chen harbor
failed amber jules birch
ready ember lina harbor
failed delta bruno harbor
closed birch lina cobalt
| birch closed
ember failed
grove pending
harbor closed
birch failed
harbor ready
harbor failed
cobalt closed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056862-p1 | Extract and display the fourth field followed by the first field, preserving this specific order. | {print $4, $1} | closed fable farah birch
closed cobalt eli ember
paused ember ivan cobalt
closed delta farah ember
pending grove bruno cobalt
pending juniper eli ember
pending delta jules delta
| birch closed
ember closed
cobalt paused
ember closed
cobalt pending
ember pending
delta pending
| closed amber jules birch
failed amber bruno ember
pending birch kim grove
closed indigo chen harbor
failed amber jules birch
ready ember lina harbor
failed delta bruno harbor
closed birch lina cobalt
| birch closed
ember failed
grove pending
harbor closed
birch failed
harbor ready
harbor failed
cobalt closed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056862 | qwen/qwen3.7-plus |
awkweave-0056863 | Print the last field of every input line. | {print $NF} | delta 85 paused alice harbor eli
cobalt 79 pending kim birch ivan
juniper 9 failed farah harbor kim
fable 84 active alice harbor gus
cobalt 47 paused gus delta dina
amber 115 failed dina harbor dina
cobalt 67 paused alice grove lina
ember 7 pending lina harbor kim
grove 37 closed chen delta chen
| eli
ivan
kim
gus
dina
dina
lina
kim
chen
| amber 119 failed chen amber hana
harbor 64 failed lina birch farah
fable 102 ready bruno harbor alice
fable 76 paused bruno birch hana
delta 94 failed alice indigo chen
ember 5 active hana grove gus
| hana
farah
alice
hana
chen
gus
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056863-p1 | Output the final field from each line of the input. | {print $NF} | delta 85 paused alice harbor eli
cobalt 79 pending kim birch ivan
juniper 9 failed farah harbor kim
fable 84 active alice harbor gus
cobalt 47 paused gus delta dina
amber 115 failed dina harbor dina
cobalt 67 paused alice grove lina
ember 7 pending lina harbor kim
grove 37 closed chen delta chen
| eli
ivan
kim
gus
dina
dina
lina
kim
chen
| amber 119 failed chen amber hana
harbor 64 failed lina birch farah
fable 102 ready bruno harbor alice
fable 76 paused bruno birch hana
delta 94 failed alice indigo chen
ember 5 active hana grove gus
| hana
farah
alice
hana
chen
gus
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056863 | qwen/qwen3.7-plus |
awkweave-0056864 | Print the complete records where column 3 is at least 69. | $3 >= 69 | cobalt active 7 ready
juniper pending 18 paused
grove pending 40 active
ember failed 92 ready
juniper closed 53 failed
grove active 17 active
| ember failed 92 ready
| harbor failed 65 paused
cobalt pending 29 active
birch active 75 closed
harbor paused 89 pending
fable closed 22 pending
amber closed 65 closed
grove ready 102 ready
| birch active 75 closed
harbor paused 89 pending
grove ready 102 ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056864-p1 | Print the entire records for which the value in the third column is greater than or equal to 69. | $3 >= 69 | cobalt active 7 ready
juniper pending 18 paused
grove pending 40 active
ember failed 92 ready
juniper closed 53 failed
grove active 17 active
| ember failed 92 ready
| harbor failed 65 paused
cobalt pending 29 active
birch active 75 closed
harbor paused 89 pending
fable closed 22 pending
amber closed 65 closed
grove ready 102 ready
| birch active 75 closed
harbor paused 89 pending
grove ready 102 ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056864 | qwen/qwen3.7-plus |
awkweave-0056865 | Show whole lines whose 3rd field is between 10 and 22, inclusive. | $3 >= 10 && $3 <= 22 | chen lina 17 eli
kim alice 22 alice
bruno hana 27 bruno
chen dina 5 lina
alice kim 21 eli
eli lina 4 gus
farah gus 6 jules
| chen lina 17 eli
kim alice 22 alice
alice kim 21 eli
| eli eli 22 farah
ivan chen 15 bruno
chen jules 8 dina
hana jules 26 lina
chen kim 26 eli
lina jules 5 eli
lina farah 29 kim
bruno farah 12 kim
| eli eli 22 farah
ivan chen 15 bruno
bruno farah 12 kim
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056865-p1 | Display complete lines where the third field falls within the inclusive range of 10 to 22. | $3 >= 10 && $3 <= 22 | chen lina 17 eli
kim alice 22 alice
bruno hana 27 bruno
chen dina 5 lina
alice kim 21 eli
eli lina 4 gus
farah gus 6 jules
| chen lina 17 eli
kim alice 22 alice
alice kim 21 eli
| eli eli 22 farah
ivan chen 15 bruno
chen jules 8 dina
hana jules 26 lina
chen kim 26 eli
lina jules 5 eli
lina farah 29 kim
bruno farah 12 kim
| eli eli 22 farah
ivan chen 15 bruno
bruno farah 12 kim
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056865 | qwen/qwen3.7-plus |
awkweave-0056866 | Print column 1 only for rows where column 3 is exactly ready. | $3 == "ready"{print $1} | jules grove failed 117
farah cobalt ready 85
jules birch active 61
lina grove paused 40
bruno birch paused 67
chen ember ready 51
farah ember ready 82
jules harbor active 35
hana ember closed 79
| farah
chen
farah
| chen delta active 4
hana delta pending 91
eli grove paused 39
hana grove paused 34
bruno birch failed 65
lina indigo failed 74
dina delta ready 79
| dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056866-p1 | Output only the first column for rows where the third column contains the exact text 'ready'. | $3 == "ready"{print $1} | jules grove failed 117
farah cobalt ready 85
jules birch active 61
lina grove paused 40
bruno birch paused 67
chen ember ready 51
farah ember ready 82
jules harbor active 35
hana ember closed 79
| farah
chen
farah
| chen delta active 4
hana delta pending 91
eli grove paused 39
hana grove paused 34
bruno birch failed 65
lina indigo failed 74
dina delta ready 79
| dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056866 | qwen/qwen3.7-plus |
awkweave-0056867 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR 27 ember
DEBUG 114 birch
INFO 102 juniper
WARN 97 harbor
INFO 30 harbor
INFO 11 grove
| ERROR 27 ember
| INFO 35 cobalt
WARN 74 fable
WARN 60 harbor
ERROR 115 harbor
WARN 103 ember
ERROR 119 indigo
| ERROR 115 harbor
ERROR 119 indigo
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056867-p1 | Print all fields from any line where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | ERROR 27 ember
DEBUG 114 birch
INFO 102 juniper
WARN 97 harbor
INFO 30 harbor
INFO 11 grove
| ERROR 27 ember
| INFO 35 cobalt
WARN 74 fable
WARN 60 harbor
ERROR 115 harbor
WARN 103 ember
ERROR 119 indigo
| ERROR 115 harbor
ERROR 119 indigo
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056867 | qwen/qwen3.7-plus |
awkweave-0056868 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | delta 7 closed
delta 59 closed
fable 18 active
amber 21 paused
ember 38 active
grove 115 closed
cobalt 61 closed
cobalt 74 ready
grove 45 closed
grove 999 active
| delta 7 closed
delta 59 closed
fable 18 active
amber 21 paused
ember 38 active
cobalt 61 closed
cobalt 74 ready
| amber 98 ready
cobalt 23 failed
delta 12 pending
grove 52 closed
cobalt 117 paused
birch 48 paused
delta 63 closed
grove 999 active
| amber 98 ready
cobalt 23 failed
delta 12 pending
cobalt 117 paused
birch 48 paused
delta 63 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056868-p1 | Output every line except those that contain the exact substring 'grove'. | $0 !~ /grove/ | delta 7 closed
delta 59 closed
fable 18 active
amber 21 paused
ember 38 active
grove 115 closed
cobalt 61 closed
cobalt 74 ready
grove 45 closed
grove 999 active
| delta 7 closed
delta 59 closed
fable 18 active
amber 21 paused
ember 38 active
cobalt 61 closed
cobalt 74 ready
| amber 98 ready
cobalt 23 failed
delta 12 pending
grove 52 closed
cobalt 117 paused
birch 48 paused
delta 63 closed
grove 999 active
| amber 98 ready
cobalt 23 failed
delta 12 pending
cobalt 117 paused
birch 48 paused
delta 63 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056868 | qwen/qwen3.7-plus |
awkweave-0056869 | Print lines 4 through 6, including both endpoints. | NR >= 4 && NR <= 6 | gus juniper 17
bruno cobalt 12
dina grove 21
dina delta 97
lina amber 60
kim delta 98
dina grove 96
eli cobalt 57
| dina delta 97
lina amber 60
kim delta 98
| eli birch 18
eli ember 2
kim juniper 6
eli harbor 92
jules indigo 87
hana juniper 67
| eli harbor 92
jules indigo 87
hana juniper 67
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056869-p1 | Print lines 4 through 6, inclusive of both the starting and ending lines. | NR >= 4 && NR <= 6 | gus juniper 17
bruno cobalt 12
dina grove 21
dina delta 97
lina amber 60
kim delta 98
dina grove 96
eli cobalt 57
| dina delta 97
lina amber 60
kim delta 98
| eli birch 18
eli ember 2
kim juniper 6
eli harbor 92
jules indigo 87
hana juniper 67
| eli harbor 92
jules indigo 87
hana juniper 67
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056869 | qwen/qwen3.7-plus |
awkweave-0056870 | Output only the first 4 records. | NR <= 4 | dina 52 birch
alice 8 indigo
kim 2 fable
kim 116 cobalt
ivan 54 birch
lina 42 harbor
| dina 52 birch
alice 8 indigo
kim 2 fable
kim 116 cobalt
| ivan 112 ember
bruno 106 fable
hana 92 juniper
farah 12 amber
lina 57 delta
kim 38 birch
alice 46 grove
chen 0 delta
bruno 85 indigo
kim 102 harbor
| ivan 112 ember
bruno 106 fable
hana 92 juniper
farah 12 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056870-p1 | Output only the first four records from the input. | NR <= 4 | dina 52 birch
alice 8 indigo
kim 2 fable
kim 116 cobalt
ivan 54 birch
lina 42 harbor
| dina 52 birch
alice 8 indigo
kim 2 fable
kim 116 cobalt
| ivan 112 ember
bruno 106 fable
hana 92 juniper
farah 12 amber
lina 57 delta
kim 38 birch
alice 46 grove
chen 0 delta
bruno 85 indigo
kim 102 harbor
| ivan 112 ember
bruno 106 fable
hana 92 juniper
farah 12 amber
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056870 | qwen/qwen3.7-plus |
awkweave-0056871 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 71 indigo
farah 117 grove
kim 83 harbor
ivan 108 ember
chen 10 fable
alice 31 juniper
ivan 39 harbor
gus 38 fable
alice 52 juniper
| farah 117 grove
kim 83 harbor
ivan 108 ember
chen 10 fable
alice 31 juniper
ivan 39 harbor
gus 38 fable
alice 52 juniper
| eli 49 indigo
gus 77 delta
jules 5 birch
alice 44 juniper
gus 78 ember
alice 36 indigo
jules 60 indigo
ivan 3 delta
gus 68 delta
| gus 77 delta
jules 5 birch
alice 44 juniper
gus 78 ember
alice 36 indigo
jules 60 indigo
ivan 3 delta
gus 68 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056871-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | ivan 71 indigo
farah 117 grove
kim 83 harbor
ivan 108 ember
chen 10 fable
alice 31 juniper
ivan 39 harbor
gus 38 fable
alice 52 juniper
| farah 117 grove
kim 83 harbor
ivan 108 ember
chen 10 fable
alice 31 juniper
ivan 39 harbor
gus 38 fable
alice 52 juniper
| eli 49 indigo
gus 77 delta
jules 5 birch
alice 44 juniper
gus 78 ember
alice 36 indigo
jules 60 indigo
ivan 3 delta
gus 68 delta
| gus 77 delta
jules 5 birch
alice 44 juniper
gus 78 ember
alice 36 indigo
jules 60 indigo
ivan 3 delta
gus 68 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056871 | qwen/qwen3.7-plus |
awkweave-0056872 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | hana ready 7
dina active 112
kim ready 72
jules closed 79
chen pending 92
dina pending 53
gus failed 0
alice pending 75
kim paused 49
| 1
| eli pending 5
eli active 26
gus closed 5
eli pending 13
eli ready 3
eli pending 45
dina pending 49
alice failed 53
alice closed 101
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056872-p1 | Count the number of rows where the second column contains 'active', outputting 0 if no matches are found. | $2 == "active"{n++}END{print n+0} | hana ready 7
dina active 112
kim ready 72
jules closed 79
chen pending 92
dina pending 53
gus failed 0
alice pending 75
kim paused 49
| 1
| eli pending 5
eli active 26
gus closed 5
eli pending 13
eli ready 3
eli pending 45
dina pending 49
alice failed 53
alice closed 101
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056872 | qwen/qwen3.7-plus |
awkweave-0056873 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 25 gus fable
4 lina indigo
2 dina harbor
1 farah ember
22 dina indigo
14 bruno birch
27 dina delta
28 ivan cobalt
19 kim birch
| 142
| 15 dina birch
23 alice indigo
1 farah juniper
26 bruno delta
1 dina ember
11 gus juniper
12 hana juniper
5 ivan juniper
19 chen birch
29 chen ember
| 142
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056873-p1 | Compute and display the total sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 25 gus fable
4 lina indigo
2 dina harbor
1 farah ember
22 dina indigo
14 bruno birch
27 dina delta
28 ivan cobalt
19 kim birch
| 142
| 15 dina birch
23 alice indigo
1 farah juniper
26 bruno delta
1 dina ember
11 gus juniper
12 hana juniper
5 ivan juniper
19 chen birch
29 chen ember
| 142
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056873 | qwen/qwen3.7-plus |
awkweave-0056874 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana birch 10
dina fable 11
lina harbor 21
hana juniper 9
eli delta 10
lina amber 23
chen juniper 19
kim delta 3
| 13.25
| lina ember 1
alice harbor 13
dina delta 7
chen indigo 20
hana harbor 28
hana amber 13
farah grove 1
farah juniper 24
jules ember 19
| 14.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056874-p1 | Output the average of the values in the third column, formatted to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana birch 10
dina fable 11
lina harbor 21
hana juniper 9
eli delta 10
lina amber 23
chen juniper 19
kim delta 3
| 13.25
| lina ember 1
alice harbor 13
dina delta 7
chen indigo 20
hana harbor 28
hana amber 13
farah grove 1
farah juniper 24
jules ember 19
| 14.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056874 | qwen/qwen3.7-plus |
awkweave-0056875 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 15 ember
jules 27 birch
farah 19 grove
bruno 16 cobalt
bruno 5 delta
kim 12 amber
jules 22 ember
ivan 10 fable
ivan 21 grove
| 5
| gus 5 fable
hana 26 juniper
dina 14 birch
eli 10 birch
eli 22 indigo
gus 20 juniper
jules 4 birch
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056875-p1 | Identify and print the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 15 ember
jules 27 birch
farah 19 grove
bruno 16 cobalt
bruno 5 delta
kim 12 amber
jules 22 ember
ivan 10 fable
ivan 21 grove
| 5
| gus 5 fable
hana 26 juniper
dina 14 birch
eli 10 birch
eli 22 indigo
gus 20 juniper
jules 4 birch
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056875 | qwen/qwen3.7-plus |
awkweave-0056876 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | jules birch 4
jules juniper 10
ivan birch 16
dina amber 27
hana ember 11
alice amber 4
bruno fable 6
| 27
| hana juniper 5
jules cobalt 23
kim amber 4
ivan amber 6
eli birch 22
hana fable 22
dina indigo 2
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056876-p1 | Identify and print the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | jules birch 4
jules juniper 10
ivan birch 16
dina amber 27
hana ember 11
alice amber 4
bruno fable 6
| 27
| hana juniper 5
jules cobalt 23
kim amber 4
ivan amber 6
eli birch 22
hana fable 22
dina indigo 2
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056876 | qwen/qwen3.7-plus |
awkweave-0056877 | Count all input records and print the total. | END{print NR} | gus 24
kim 2
dina 98
alice 64
gus 109
hana 53
eli 17
| 7
| farah 75
farah 60
jules 67
lina 54
lina 8
farah 83
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056877-p1 | Count the total number of input records and print the result. | END{print NR} | gus 24
kim 2
dina 98
alice 64
gus 109
hana 53
eli 17
| 7
| farah 75
farah 60
jules 67
lina 54
lina 8
farah 83
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056877 | qwen/qwen3.7-plus |
awkweave-0056878 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah birch 34
kim cobalt 55
farah juniper 66
alice indigo 115
bruno birch 28
ivan ember 57
jules indigo 33
bruno birch 28
bruno delta 112
eli delta 91
eli cobalt 78
| farah birch 34
kim cobalt 55
farah juniper 66
alice indigo 115
bruno birch 28
ivan ember 57
jules indigo 33
bruno delta 112
eli delta 91
eli cobalt 78
| lina fable 49
gus birch 34
alice ember 5
lina indigo 42
lina ember 17
lina ember 17
kim birch 25
lina cobalt 116
| lina fable 49
gus birch 34
alice ember 5
lina indigo 42
lina ember 17
kim birch 25
lina cobalt 116
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056878-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping only the first instance of each. | !seen[$0]++ | farah birch 34
kim cobalt 55
farah juniper 66
alice indigo 115
bruno birch 28
ivan ember 57
jules indigo 33
bruno birch 28
bruno delta 112
eli delta 91
eli cobalt 78
| farah birch 34
kim cobalt 55
farah juniper 66
alice indigo 115
bruno birch 28
ivan ember 57
jules indigo 33
bruno delta 112
eli delta 91
eli cobalt 78
| lina fable 49
gus birch 34
alice ember 5
lina indigo 42
lina ember 17
lina ember 17
kim birch 25
lina cobalt 116
| lina fable 49
gus birch 34
alice ember 5
lina indigo 42
lina ember 17
kim birch 25
lina cobalt 116
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056878 | qwen/qwen3.7-plus |
awkweave-0056879 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | jules cobalt 34
dina birch 117
gus cobalt 105
gus amber 82
farah indigo 8
farah birch 36
ivan grove 75
farah amber 13
| jules cobalt 34
dina birch 117
gus cobalt 105
farah indigo 8
ivan grove 75
| dina indigo 58
jules cobalt 30
lina ember 4
eli delta 34
eli grove 103
gus grove 1
lina birch 50
| dina indigo 58
jules cobalt 30
lina ember 4
eli delta 34
gus grove 1
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056879-p1 | Retain only the first occurrence for each unique value in the first column, preserving the original input sequence. | !seen[$1]++ | jules cobalt 34
dina birch 117
gus cobalt 105
gus amber 82
farah indigo 8
farah birch 36
ivan grove 75
farah amber 13
| jules cobalt 34
dina birch 117
gus cobalt 105
farah indigo 8
ivan grove 75
| dina indigo 58
jules cobalt 30
lina ember 4
eli delta 34
eli grove 103
gus grove 1
lina birch 50
| dina indigo 58
jules cobalt 30
lina ember 4
eli delta 34
gus grove 1
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056879 | qwen/qwen3.7-plus |
awkweave-0056880 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 3 birch
ivan 16 juniper
farah 18 amber
bruno 5 cobalt
farah 11 grove
ivan 23 delta
eli 14 cobalt
bruno 15 birch
ivan 27 juniper
hana 21 juniper
| farah 3
ivan 19
farah 37
bruno 42
farah 53
ivan 76
eli 90
bruno 105
ivan 132
hana 153
| alice 26 grove
kim 11 delta
kim 13 harbor
hana 27 cobalt
jules 4 indigo
eli 13 harbor
farah 29 grove
bruno 2 grove
farah 21 juniper
| alice 26
kim 37
kim 50
hana 77
jules 81
eli 94
farah 123
bruno 125
farah 146
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056880-p1 | For each line, output the first column followed by the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | farah 3 birch
ivan 16 juniper
farah 18 amber
bruno 5 cobalt
farah 11 grove
ivan 23 delta
eli 14 cobalt
bruno 15 birch
ivan 27 juniper
hana 21 juniper
| farah 3
ivan 19
farah 37
bruno 42
farah 53
ivan 76
eli 90
bruno 105
ivan 132
hana 153
| alice 26 grove
kim 11 delta
kim 13 harbor
hana 27 cobalt
jules 4 indigo
eli 13 harbor
farah 29 grove
bruno 2 grove
farah 21 juniper
| alice 26
kim 37
kim 50
hana 77
jules 81
eli 94
farah 123
bruno 125
farah 146
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056880 | qwen/qwen3.7-plus |
awkweave-0056881 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 25 21 birch
hana 7 7 juniper
jules 30 10 amber
hana 19 27 birch
gus 11 2 amber
chen 13 6 indigo
| hana 46
hana 14
jules 40
hana 46
gus 13
chen 19
| lina 13 21 delta
alice 6 26 indigo
farah 16 5 indigo
bruno 3 27 indigo
dina 12 17 harbor
kim 23 27 harbor
dina 14 24 birch
| lina 34
alice 32
farah 21
bruno 30
dina 29
kim 50
dina 38
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056881-p1 | Print the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | hana 25 21 birch
hana 7 7 juniper
jules 30 10 amber
hana 19 27 birch
gus 11 2 amber
chen 13 6 indigo
| hana 46
hana 14
jules 40
hana 46
gus 13
chen 19
| lina 13 21 delta
alice 6 26 indigo
farah 16 5 indigo
bruno 3 27 indigo
dina 12 17 harbor
kim 23 27 harbor
dina 14 24 birch
| lina 34
alice 32
farah 21
bruno 30
dina 29
kim 50
dina 38
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056881 | qwen/qwen3.7-plus |
awkweave-0056882 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | alice 25
jules 27
chen 4
lina 10
hana 14
alice 3
farah 27
kim 21
gus 24
| alice fail
jules pass
chen fail
lina fail
hana fail
alice fail
farah pass
kim fail
gus fail
| chen 30
bruno 4
farah 12
alice 13
alice 30
jules 29
alice 13
bruno 7
| chen pass
bruno fail
farah fail
alice fail
alice pass
jules pass
alice fail
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056882-p1 | Print the first column along with 'pass' if the second column is 27 or greater, otherwise print 'fail'. | {print $1,($2>=27?"pass":"fail")} | alice 25
jules 27
chen 4
lina 10
hana 14
alice 3
farah 27
kim 21
gus 24
| alice fail
jules pass
chen fail
lina fail
hana fail
alice fail
farah pass
kim fail
gus fail
| chen 30
bruno 4
farah 12
alice 13
alice 30
jules 29
alice 13
bruno 7
| chen pass
bruno fail
farah fail
alice fail
alice pass
jules pass
alice fail
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056882 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.