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-0014440-p1 | Tally the records where column 2 is closed; output 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | lina closed 0
gus paused 115
alice paused 40
ivan pending 42
jules failed 18
lina active 73
lina paused 50
chen failed 73
bruno active 24
chen active 119
| 1
| hana ready 4
dina ready 112
dina active 58
ivan pending 48
hana closed 48
chen ready 67
ivan ready 55
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014440 | qwen/qwen3.7-plus |
awkweave-0014441 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | grove 24 bruno
ember 16 dina
grove 24 kim
ember 21 gus
ember 22 hana
delta 8 bruno
cobalt 3 gus
harbor 16 bruno
delta 11 dina
| 145
| grove 29 bruno
harbor 30 chen
delta 2 farah
birch 11 farah
birch 28 eli
birch 19 alice
fable 15 chen
| 134
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014441-p1 | Compute and display the total sum of integer values in column 2. | {s+=$2}END{print s+0} | grove 24 bruno
ember 16 dina
grove 24 kim
ember 21 gus
ember 22 hana
delta 8 bruno
cobalt 3 gus
harbor 16 bruno
delta 11 dina
| 145
| grove 29 bruno
harbor 30 chen
delta 2 farah
birch 11 farah
birch 28 eli
birch 19 alice
fable 15 chen
| 134
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014441 | qwen/qwen3.7-plus |
awkweave-0014442 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 21 juniper lina
25 amber gus
14 amber hana
17 amber farah
1 amber gus
8 fable lina
30 grove alice
21 fable gus
28 birch ivan
12 amber jules
| 17.70
| 16 indigo gus
3 delta dina
13 indigo hana
26 harbor dina
27 ember chen
6 grove jules
10 fable alice
27 amber chen
22 grove farah
8 cobalt jules
| 15.80
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014442-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 21 juniper lina
25 amber gus
14 amber hana
17 amber farah
1 amber gus
8 fable lina
30 grove alice
21 fable gus
28 birch ivan
12 amber jules
| 17.70
| 16 indigo gus
3 delta dina
13 indigo hana
26 harbor dina
27 ember chen
6 grove jules
10 fable alice
27 amber chen
22 grove farah
8 cobalt jules
| 15.80
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014442 | qwen/qwen3.7-plus |
awkweave-0014443 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | fable 5 ivan
grove 28 farah
grove 26 eli
grove 4 farah
fable 11 alice
harbor 18 hana
ember 30 eli
| 4
| delta 1 kim
grove 6 dina
birch 26 hana
harbor 18 ivan
harbor 25 kim
indigo 24 hana
fable 26 jules
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014443-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | fable 5 ivan
grove 28 farah
grove 26 eli
grove 4 farah
fable 11 alice
harbor 18 hana
ember 30 eli
| 4
| delta 1 kim
grove 6 dina
birch 26 hana
harbor 18 ivan
harbor 25 kim
indigo 24 hana
fable 26 jules
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014443 | qwen/qwen3.7-plus |
awkweave-0014444 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | farah 9 fable
chen 10 delta
eli 11 juniper
alice 21 harbor
chen 26 birch
farah 26 ember
farah 8 cobalt
hana 9 ember
alice 15 ember
| 26
| lina 8 ember
eli 20 amber
gus 22 indigo
gus 25 cobalt
dina 11 cobalt
hana 25 grove
lina 22 grove
gus 5 harbor
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014444-p1 | Identify and output the maximum numeric value found in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | farah 9 fable
chen 10 delta
eli 11 juniper
alice 21 harbor
chen 26 birch
farah 26 ember
farah 8 cobalt
hana 9 ember
alice 15 ember
| 26
| lina 8 ember
eli 20 amber
gus 22 indigo
gus 25 cobalt
dina 11 cobalt
hana 25 grove
lina 22 grove
gus 5 harbor
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014444 | qwen/qwen3.7-plus |
awkweave-0014445 | Count all input records and print the total. | END{print NR} | chen 51
farah 20
kim 90
farah 43
bruno 85
eli 90
ivan 21
jules 38
| 8
| ivan 5
alice 9
hana 88
jules 34
bruno 87
hana 52
alice 69
kim 41
alice 33
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014445-p1 | Count the total number of input records and print the result. | END{print NR} | chen 51
farah 20
kim 90
farah 43
bruno 85
eli 90
ivan 21
jules 38
| 8
| ivan 5
alice 9
hana 88
jules 34
bruno 87
hana 52
alice 69
kim 41
alice 33
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014445 | qwen/qwen3.7-plus |
awkweave-0014446 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen harbor 55
lina juniper 56
eli delta 111
alice grove 102
dina grove 18
dina grove 18
lina grove 1
chen fable 2
| chen harbor 55
lina juniper 56
eli delta 111
alice grove 102
dina grove 18
lina grove 1
chen fable 2
| bruno cobalt 118
lina indigo 42
dina grove 59
hana birch 62
jules birch 114
gus fable 97
lina indigo 42
| bruno cobalt 118
lina indigo 42
dina grove 59
hana birch 62
jules birch 114
gus fable 97
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014446-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | chen harbor 55
lina juniper 56
eli delta 111
alice grove 102
dina grove 18
dina grove 18
lina grove 1
chen fable 2
| chen harbor 55
lina juniper 56
eli delta 111
alice grove 102
dina grove 18
lina grove 1
chen fable 2
| bruno cobalt 118
lina indigo 42
dina grove 59
hana birch 62
jules birch 114
gus fable 97
lina indigo 42
| bruno cobalt 118
lina indigo 42
dina grove 59
hana birch 62
jules birch 114
gus fable 97
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014446 | qwen/qwen3.7-plus |
awkweave-0014447 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | lina indigo 79
dina ember 63
bruno indigo 29
bruno cobalt 72
farah birch 60
alice cobalt 10
ivan harbor 26
bruno ember 32
| lina indigo 79
dina ember 63
bruno indigo 29
bruno cobalt 72
farah birch 60
alice cobalt 10
ivan harbor 26
bruno ember 32
| hana harbor 106
eli fable 16
kim birch 43
gus grove 79
jules amber 62
lina birch 113
| hana harbor 106
eli fable 16
kim birch 43
gus grove 79
jules amber 62
lina birch 113
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014447-p1 | Retain only the first occurrence for each unique value in column 3, keeping the original input order. | !seen[$3]++ | lina indigo 79
dina ember 63
bruno indigo 29
bruno cobalt 72
farah birch 60
alice cobalt 10
ivan harbor 26
bruno ember 32
| lina indigo 79
dina ember 63
bruno indigo 29
bruno cobalt 72
farah birch 60
alice cobalt 10
ivan harbor 26
bruno ember 32
| hana harbor 106
eli fable 16
kim birch 43
gus grove 79
jules amber 62
lina birch 113
| hana harbor 106
eli fable 16
kim birch 43
gus grove 79
jules amber 62
lina birch 113
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014447 | qwen/qwen3.7-plus |
awkweave-0014448 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 9 delta
gus 14 harbor
jules 5 delta
bruno 23 juniper
alice 5 birch
farah 16 harbor
dina 2 delta
| hana 9
gus 23
jules 28
bruno 51
alice 56
farah 72
dina 74
| farah 19 amber
ivan 5 ember
ivan 22 ember
lina 14 fable
ivan 8 harbor
eli 22 fable
dina 14 amber
| farah 19
ivan 24
ivan 46
lina 60
ivan 68
eli 90
dina 104
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014448-p1 | Output the first column and the cumulative total of the second column for every record, using a space as the delimiter. | {s+=$2;print $1,s} | hana 9 delta
gus 14 harbor
jules 5 delta
bruno 23 juniper
alice 5 birch
farah 16 harbor
dina 2 delta
| hana 9
gus 23
jules 28
bruno 51
alice 56
farah 72
dina 74
| farah 19 amber
ivan 5 ember
ivan 22 ember
lina 14 fable
ivan 8 harbor
eli 22 fable
dina 14 amber
| farah 19
ivan 24
ivan 46
lina 60
ivan 68
eli 90
dina 104
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014448 | qwen/qwen3.7-plus |
awkweave-0014449 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 9 7 amber
jules 5 1 ember
alice 19 16 ember
lina 1 15 delta
farah 26 30 cobalt
kim 22 11 indigo
hana 4 30 amber
dina 27 22 harbor
| chen 16
jules 6
alice 35
lina 16
farah 56
kim 33
hana 34
dina 49
| jules 11 29 delta
ivan 4 30 ember
chen 22 2 juniper
kim 24 16 ember
lina 20 2 birch
bruno 11 15 amber
jules 14 7 cobalt
chen 7 6 birch
hana 21 11 indigo
jules 11 10 cobalt
| jules 40
ivan 34
chen 24
kim 40
lina 22
bruno 26
jules 21
chen 13
hana 32
jules 21
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014449-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | chen 9 7 amber
jules 5 1 ember
alice 19 16 ember
lina 1 15 delta
farah 26 30 cobalt
kim 22 11 indigo
hana 4 30 amber
dina 27 22 harbor
| chen 16
jules 6
alice 35
lina 16
farah 56
kim 33
hana 34
dina 49
| jules 11 29 delta
ivan 4 30 ember
chen 22 2 juniper
kim 24 16 ember
lina 20 2 birch
bruno 11 15 amber
jules 14 7 cobalt
chen 7 6 birch
hana 21 11 indigo
jules 11 10 cobalt
| jules 40
ivan 34
chen 24
kim 40
lina 22
bruno 26
jules 21
chen 13
hana 32
jules 21
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014449 | qwen/qwen3.7-plus |
awkweave-0014450 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | jules 1
ivan 26
hana 17
bruno 17
farah 2
gus 27
hana 5
| jules fail
ivan pass
hana fail
bruno fail
farah fail
gus pass
hana fail
| eli 27
kim 9
chen 5
chen 6
ivan 30
hana 27
gus 1
gus 17
farah 10
| eli pass
kim fail
chen fail
chen fail
ivan pass
hana pass
gus fail
gus fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014450-p1 | Show the value in column 1; if column 2 is 26 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=26?"pass":"fail")} | jules 1
ivan 26
hana 17
bruno 17
farah 2
gus 27
hana 5
| jules fail
ivan pass
hana fail
bruno fail
farah fail
gus pass
hana fail
| eli 27
kim 9
chen 5
chen 6
ivan 30
hana 27
gus 1
gus 17
farah 10
| eli pass
kim fail
chen fail
chen fail
ivan pass
hana pass
gus fail
gus fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014450 | qwen/qwen3.7-plus |
awkweave-0014451 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | jules delta 88
jules grove 62
lina grove 34
jules amber 57
bruno birch 36
hana cobalt 106
kim cobalt 41
dina harbor 3
lina ember 66
kim harbor 9
| DELTA
GROVE
GROVE
AMBER
BIRCH
COBALT
COBALT
HARBOR
EMBER
HARBOR
| eli cobalt 48
alice indigo 70
gus grove 56
eli ember 25
farah juniper 63
gus amber 98
eli fable 32
kim delta 47
kim cobalt 16
gus cobalt 34
| COBALT
INDIGO
GROVE
EMBER
JUNIPER
AMBER
FABLE
DELTA
COBALT
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014451-p1 | Transform the content of column 2 to uppercase and print only that modified column. | {print toupper($2)} | jules delta 88
jules grove 62
lina grove 34
jules amber 57
bruno birch 36
hana cobalt 106
kim cobalt 41
dina harbor 3
lina ember 66
kim harbor 9
| DELTA
GROVE
GROVE
AMBER
BIRCH
COBALT
COBALT
HARBOR
EMBER
HARBOR
| eli cobalt 48
alice indigo 70
gus grove 56
eli ember 25
farah juniper 63
gus amber 98
eli fable 32
kim delta 47
kim cobalt 16
gus cobalt 34
| COBALT
INDIGO
GROVE
EMBER
JUNIPER
AMBER
FABLE
DELTA
COBALT
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014451 | qwen/qwen3.7-plus |
awkweave-0014452 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | amber 106
fable 1
birch 89
birch 114
amber 94
amber 49
grove 74
fable 81
juniper 64
| ber
ble
rch
rch
ber
ber
ove
ble
nipe
| birch 8
fable 108
amber 119
fable 25
harbor 80
harbor 39
| rch
ble
ber
ble
rbor
rbor
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014452-p1 | Extract and print a substring of length 4 from column 1, beginning at the third character. | {print substr($1,3,4)} | amber 106
fable 1
birch 89
birch 114
amber 94
amber 49
grove 74
fable 81
juniper 64
| ber
ble
rch
rch
ber
ber
ove
ble
nipe
| birch 8
fable 108
amber 119
fable 25
harbor 80
harbor 39
| rch
ble
ber
ble
rbor
rbor
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014452 | qwen/qwen3.7-plus |
awkweave-0014453 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_ember 17
birch_birch 73
juniper_amber 45
amber_ember 116
amber_birch 9
indigo_birch 110
cobalt_harbor 120
| amber ember
birch birch
juniper amber
amber ember
amber birch
indigo birch
cobalt harbor
| grove_indigo 75
cobalt_birch 77
grove_grove 91
grove_ember 37
harbor_indigo 27
amber_harbor 2
| grove indigo
cobalt birch
grove grove
grove ember
harbor indigo
amber harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014453-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | amber_ember 17
birch_birch 73
juniper_amber 45
amber_ember 116
amber_birch 9
indigo_birch 110
cobalt_harbor 120
| amber ember
birch birch
juniper amber
amber ember
amber birch
indigo birch
cobalt harbor
| grove_indigo 75
cobalt_birch 77
grove_grove 91
grove_ember 37
harbor_indigo 27
amber_harbor 2
| grove indigo
cobalt birch
grove grove
grove ember
harbor indigo
amber harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014453 | qwen/qwen3.7-plus |
awkweave-0014454 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice ember 83 failed
kim ember 72 failed
kim harbor 76 failed
eli fable 5 ready
jules cobalt 86 ready
bruno birch 42 failed
| failed 83 ember alice
failed 72 ember kim
failed 76 harbor kim
ready 5 fable eli
ready 86 cobalt jules
failed 42 birch bruno
| lina fable 34 paused
eli juniper 115 paused
dina indigo 9 ready
eli birch 102 pending
bruno amber 90 closed
jules birch 58 paused
hana grove 49 active
alice juniper 61 active
lina ember 64 ready
| paused 34 fable lina
paused 115 juniper eli
ready 9 indigo dina
pending 102 birch eli
closed 90 amber bruno
paused 58 birch jules
active 49 grove hana
active 61 juniper alice
ready 64 ember lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014454-p1 | Reverse the sequence of fields on each line and print the entire reordered line. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice ember 83 failed
kim ember 72 failed
kim harbor 76 failed
eli fable 5 ready
jules cobalt 86 ready
bruno birch 42 failed
| failed 83 ember alice
failed 72 ember kim
failed 76 harbor kim
ready 5 fable eli
ready 86 cobalt jules
failed 42 birch bruno
| lina fable 34 paused
eli juniper 115 paused
dina indigo 9 ready
eli birch 102 pending
bruno amber 90 closed
jules birch 58 paused
hana grove 49 active
alice juniper 61 active
lina ember 64 ready
| paused 34 fable lina
paused 115 juniper eli
ready 9 indigo dina
pending 102 birch eli
closed 90 amber bruno
paused 58 birch jules
active 49 grove hana
active 61 juniper alice
ready 64 ember lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014454 | qwen/qwen3.7-plus |
awkweave-0014455 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan ember 80 paused
dina delta 27 closed
lina amber 67 pending
ivan delta 29 active
farah delta 115 paused
hana harbor 74 closed
| 4
4
4
4
4
4
| lina juniper 38 closed
gus harbor 50 ready
ivan amber 66 paused
bruno fable 2 closed
farah harbor 108 pending
kim juniper 100 closed
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014455-p1 | Display the count of whitespace-delimited fields present in each line. | {print NF} | ivan ember 80 paused
dina delta 27 closed
lina amber 67 pending
ivan delta 29 active
farah delta 115 paused
hana harbor 74 closed
| 4
4
4
4
4
4
| lina juniper 38 closed
gus harbor 50 ready
ivan amber 66 paused
bruno fable 2 closed
farah harbor 108 pending
kim juniper 100 closed
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014455 | qwen/qwen3.7-plus |
awkweave-0014456 | 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]]} | hana gamma 5
gus gamma 54
dina delta 81
dina alpha 27
gus gamma 55
eli delta 120
| gamma 3
delta 2
alpha 1
| chen beta 84
farah gamma 111
eli delta 2
bruno alpha 84
alice alpha 44
farah delta 117
hana beta 79
| beta 2
gamma 1
delta 2
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014456-p1 | Tally the occurrences of each unique value in column 2 and print each value alongside its count, maintaining the 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]]} | hana gamma 5
gus gamma 54
dina delta 81
dina alpha 27
gus gamma 55
eli delta 120
| gamma 3
delta 2
alpha 1
| chen beta 84
farah gamma 111
eli delta 2
bruno alpha 84
alice alpha 44
farah delta 117
hana beta 79
| beta 2
gamma 1
delta 2
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014456 | qwen/qwen3.7-plus |
awkweave-0014457 | 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 gamma 11
kim alpha 27
hana alpha 22
bruno alpha 4
dina delta 2
hana beta 12
hana beta 11
gus alpha 23
eli alpha 16
| gamma 11
alpha 92
delta 2
beta 23
| gus beta 6
dina delta 21
kim delta 6
eli beta 14
farah gamma 16
gus beta 5
eli gamma 2
| beta 25
delta 27
gamma 18
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014457-p1 | Calculate the sum of column 3 grouped by the categories in column 2, listing 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]]} | hana gamma 11
kim alpha 27
hana alpha 22
bruno alpha 4
dina delta 2
hana beta 12
hana beta 11
gus alpha 23
eli alpha 16
| gamma 11
alpha 92
delta 2
beta 23
| gus beta 6
dina delta 21
kim delta 6
eli beta 14
farah gamma 16
gus beta 5
eli gamma 2
| beta 25
delta 27
gamma 18
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014457 | qwen/qwen3.7-plus |
awkweave-0014458 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma harbor 51
beta juniper 24
gamma cobalt 39
alpha birch 41
alpha cobalt 57
alpha ember 62
beta ember 38
delta birch 50
| gamma 2
beta 2
alpha 3
| alpha amber 8
gamma juniper 104
gamma fable 118
alpha delta 105
delta birch 68
beta ember 1
| alpha 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014458-p1 | List each duplicate value found in column 1 along with its frequency, ordered by when the value first appeared. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma harbor 51
beta juniper 24
gamma cobalt 39
alpha birch 41
alpha cobalt 57
alpha ember 62
beta ember 38
delta birch 50
| gamma 2
beta 2
alpha 3
| alpha amber 8
gamma juniper 104
gamma fable 118
alpha delta 105
delta birch 68
beta ember 1
| alpha 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014458 | qwen/qwen3.7-plus |
awkweave-0014459 | 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"]} | score state region note
r001 jules 29 ready
r002 kim 29 active
r003 lina 11 pending
r004 lina 20 ready
r005 kim 2 active
r006 hana 17 ready
r007 gus 30 active
| 29
29
11
20
2
17
30
| score state region note
r001 alice 14 paused
r002 gus 24 active
r003 hana 11 paused
r004 jules 13 paused
r005 alice 8 pending
r006 hana 18 active
r007 jules 29 closed
r008 alice 16 closed
| 14
24
11
13
8
18
29
16
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014459-p1 | Skip the header row and print the values from the region column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | score state region note
r001 jules 29 ready
r002 kim 29 active
r003 lina 11 pending
r004 lina 20 ready
r005 kim 2 active
r006 hana 17 ready
r007 gus 30 active
| 29
29
11
20
2
17
30
| score state region note
r001 alice 14 paused
r002 gus 24 active
r003 hana 11 paused
r004 jules 13 paused
r005 alice 8 pending
r006 hana 18 active
r007 jules 29 closed
r008 alice 16 closed
| 14
24
11
13
8
18
29
16
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014459 | qwen/qwen3.7-plus |
awkweave-0014460 | The first row is a header. Print display_name for data rows whose score is greater than 10. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]} | record_id display_name score state
r001 hana 1 pending
r002 jules 7 ready
r003 kim 25 failed
r004 gus 8 failed
r005 dina 18 pending
r006 eli 18 closed
| kim
dina
eli
| record_id display_name score state
r001 bruno 25 active
r002 hana 15 failed
r003 jules 8 pending
r004 hana 29 closed
r005 ivan 20 paused
r006 ivan 8 active
| bruno
hana
hana
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014460-p1 | Skip the header row and output the display_name field for all data rows where the score exceeds 10. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]} | record_id display_name score state
r001 hana 1 pending
r002 jules 7 ready
r003 kim 25 failed
r004 gus 8 failed
r005 dina 18 pending
r006 eli 18 closed
| kim
dina
eli
| record_id display_name score state
r001 bruno 25 active
r002 hana 15 failed
r003 jules 8 pending
r004 hana 29 closed
r005 ivan 20 paused
r006 ivan 8 active
| bruno
hana
hana
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014460 | qwen/qwen3.7-plus |
awkweave-0014461 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | chen 14 failed
gus 20 closed
hana 17 ready
alice 18 pending
gus 11 pending
jules 28 paused
kim 24 pending
| failed
closed
ready
pending
pending
paused
pending
| jules 15 paused
hana 26 active
lina 18 ready
lina 29 ready
chen 30 closed
dina 7 closed
lina 22 paused
farah 17 paused
hana 16 active
alice 22 active
| paused
active
ready
ready
closed
closed
paused
paused
active
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014461-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | chen 14 failed
gus 20 closed
hana 17 ready
alice 18 pending
gus 11 pending
jules 28 paused
kim 24 pending
| failed
closed
ready
pending
pending
paused
pending
| jules 15 paused
hana 26 active
lina 18 ready
lina 29 ready
chen 30 closed
dina 7 closed
lina 22 paused
farah 17 paused
hana 16 active
alice 22 active
| paused
active
ready
ready
closed
closed
paused
paused
active
active
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0014461 | qwen/qwen3.7-plus |
awkweave-0014462 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16. | BEGIN{FS=OFS=","}$2>16{print $1} | hana,16,paused
alice,16,pending
lina,15,pending
farah,11,paused
kim,29,ready
eli,16,closed
gus,10,active
hana,27,active
kim,15,pending
hana,27,ready
| kim
hana
hana
| kim,22,active
alice,6,paused
bruno,3,paused
chen,4,active
alice,9,paused
kim,27,paused
kim,16,paused
jules,6,ready
bruno,7,active
ivan,5,failed
| kim
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014462-p1 | For simple CSV input without quoted commas, output the first column whenever the second column is greater than 16. | BEGIN{FS=OFS=","}$2>16{print $1} | hana,16,paused
alice,16,pending
lina,15,pending
farah,11,paused
kim,29,ready
eli,16,closed
gus,10,active
hana,27,active
kim,15,pending
hana,27,ready
| kim
hana
hana
| kim,22,active
alice,6,paused
bruno,3,paused
chen,4,active
alice,9,paused
kim,27,paused
kim,16,paused
jules,6,ready
bruno,7,active
ivan,5,failed
| kim
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014462 | qwen/qwen3.7-plus |
awkweave-0014463 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan grove 90
kim delta 25
hana cobalt 51
lina ember 117
jules cobalt 36
hana juniper 38
gus indigo 68
| ivan grove 90
kim delta 25
hana cobalt 51
lina ember 117
jules cobalt 36
hana juniper 38
gus indigo 68
| ivan fable 13
jules grove 34
jules juniper 105
alice delta 30
eli ember 48
ivan harbor 119
dina grove 83
| ivan fable 13
jules grove 34
jules juniper 105
alice delta 30
eli ember 48
ivan harbor 119
dina grove 83
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014463-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan grove 90
kim delta 25
hana cobalt 51
lina ember 117
jules cobalt 36
hana juniper 38
gus indigo 68
| ivan grove 90
kim delta 25
hana cobalt 51
lina ember 117
jules cobalt 36
hana juniper 38
gus indigo 68
| ivan fable 13
jules grove 34
jules juniper 105
alice delta 30
eli ember 48
ivan harbor 119
dina grove 83
| ivan fable 13
jules grove 34
jules juniper 105
alice delta 30
eli ember 48
ivan harbor 119
dina grove 83
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014463 | qwen/qwen3.7-plus |
awkweave-0014464 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice indigo 81 active
kim harbor 56 active
alice grove 67 failed
alice amber 21 pending
kim harbor 22 ready
bruno birch 115 paused
| alice indigo 81 active
| eli ember 104 active
hana fable 92 ready
chen birch 5 failed
dina ember 87 paused
farah ember 33 ready
dina grove 40 paused
lina juniper 105 paused
kim harbor 107 pending
lina ember 0 active
| lina juniper 105 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014464-p1 | Identify and output the longest line in the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | alice indigo 81 active
kim harbor 56 active
alice grove 67 failed
alice amber 21 pending
kim harbor 22 ready
bruno birch 115 paused
| alice indigo 81 active
| eli ember 104 active
hana fable 92 ready
chen birch 5 failed
dina ember 87 paused
farah ember 33 ready
dina grove 40 paused
lina juniper 105 paused
kim harbor 107 pending
lina ember 0 active
| lina juniper 105 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014464 | qwen/qwen3.7-plus |
awkweave-0014465 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | eli 63
eli 93
jules 93
lina 63
alice 49
chen 41
hana 88
chen 37
lina 45
| eli 93
lina 63
chen 41
chen 37
| farah 24
eli 46
eli 57
farah 10
farah 26
kim 45
alice 89
gus 48
lina 8
| eli 46
farah 10
kim 45
gus 48
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014465-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | eli 63
eli 93
jules 93
lina 63
alice 49
chen 41
hana 88
chen 37
lina 45
| eli 93
lina 63
chen 41
chen 37
| farah 24
eli 46
eli 57
farah 10
farah 26
kim 45
alice 89
gus 48
lina 8
| eli 46
farah 10
kim 45
gus 48
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014465 | qwen/qwen3.7-plus |
awkweave-0014466 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta juniper 42
delta indigo 68
alpha indigo 36
alpha delta 113
beta harbor 94
delta birch 112
delta fable 9
| 3
| beta indigo 39
delta cobalt 61
alpha harbor 80
alpha juniper 100
beta juniper 111
delta amber 57
gamma delta 46
alpha fable 60
alpha fable 79
gamma ember 76
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014466-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta juniper 42
delta indigo 68
alpha indigo 36
alpha delta 113
beta harbor 94
delta birch 112
delta fable 9
| 3
| beta indigo 39
delta cobalt 61
alpha harbor 80
alpha juniper 100
beta juniper 111
delta amber 57
gamma delta 46
alpha fable 60
alpha fable 79
gamma ember 76
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014466 | qwen/qwen3.7-plus |
awkweave-0014467 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 4 0
chen 25 26
kim 27 18
bruno 3 23
gus 4 15
hana 4 28
bruno 1 2
kim 3 17
jules 11 26
| chen 0.96
kim 1.50
bruno 0.13
gus 0.27
hana 0.14
bruno 0.50
kim 0.18
jules 0.42
| dina 16 0
lina 21 1
lina 29 13
gus 12 30
kim 26 6
chen 6 7
| lina 21.00
lina 2.23
gus 0.40
kim 4.33
chen 0.86
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014467-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, omitting any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 4 0
chen 25 26
kim 27 18
bruno 3 23
gus 4 15
hana 4 28
bruno 1 2
kim 3 17
jules 11 26
| chen 0.96
kim 1.50
bruno 0.13
gus 0.27
hana 0.14
bruno 0.50
kim 0.18
jules 0.42
| dina 16 0
lina 21 1
lina 29 13
gus 12 30
kim 26 6
chen 6 7
| lina 21.00
lina 2.23
gus 0.40
kim 4.33
chen 0.86
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014467 | qwen/qwen3.7-plus |
awkweave-0014468 | 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]} | gus amber 11
farah fable 15
chen fable 18
lina amber 15
ivan juniper 5
gus amber 4
| chen fable 18
farah fable 15
lina amber 15
| dina delta 15
gus grove 6
gus harbor 17
ivan juniper 16
hana grove 29
lina ember 16
hana amber 1
eli grove 14
ivan grove 28
gus birch 14
| hana grove 29
ivan grove 28
gus harbor 17
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014468-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order 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]} | gus amber 11
farah fable 15
chen fable 18
lina amber 15
ivan juniper 5
gus amber 4
| chen fable 18
farah fable 15
lina amber 15
| dina delta 15
gus grove 6
gus harbor 17
ivan juniper 16
hana grove 29
lina ember 16
hana amber 1
eli grove 14
ivan grove 28
gus birch 14
| hana grove 29
ivan grove 28
gus harbor 17
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014468 | qwen/qwen3.7-plus |
awkweave-0014469 | Print column 2 followed by column 1 for every record. | {print $2, $1} | 65 58 59 paused
17 113 110 ready
35 89 34 paused
58 105 24 paused
28 91 65 failed
47 17 74 failed
44 27 36 paused
47 93 73 active
110 56 16 ready
19 75 35 closed
| 58 65
113 17
89 35
105 58
91 28
17 47
27 44
93 47
56 110
75 19
| 104 93 59 closed
6 101 47 pending
92 107 18 pending
89 16 52 pending
44 84 106 closed
88 105 9 closed
63 111 120 failed
2 37 94 pending
| 93 104
101 6
107 92
16 89
84 44
105 88
111 63
37 2
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014469-p1 | For every record, print the second column followed by the first column. | {print $2, $1} | 65 58 59 paused
17 113 110 ready
35 89 34 paused
58 105 24 paused
28 91 65 failed
47 17 74 failed
44 27 36 paused
47 93 73 active
110 56 16 ready
19 75 35 closed
| 58 65
113 17
89 35
105 58
91 28
17 47
27 44
93 47
56 110
75 19
| 104 93 59 closed
6 101 47 pending
92 107 18 pending
89 16 52 pending
44 84 106 closed
88 105 9 closed
63 111 120 failed
2 37 94 pending
| 93 104
101 6
107 92
16 89
84 44
105 88
111 63
37 2
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014469 | qwen/qwen3.7-plus |
awkweave-0014470 | Print the last field of every input line. | {print $NF} | 6 111 failed amber 119 jules grove
107 6 active birch 94 hana indigo
63 13 ready birch 2 ivan amber
114 24 active cobalt 22 hana ember
85 32 closed delta 52 dina grove
105 94 paused birch 72 dina indigo
| grove
indigo
amber
ember
grove
indigo
| 18 2 paused cobalt 44 lina fable
55 10 closed ember 65 bruno harbor
119 13 ready cobalt 81 hana harbor
59 79 failed cobalt 115 gus grove
116 47 failed harbor 41 ivan indigo
118 46 closed fable 90 chen juniper
37 9 paused cobalt 23 lina birch
67 62 ready indigo 13 bruno delta
| fable
harbor
harbor
grove
indigo
juniper
birch
delta
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014470-p1 | Extract and print the final field from each input line. | {print $NF} | 6 111 failed amber 119 jules grove
107 6 active birch 94 hana indigo
63 13 ready birch 2 ivan amber
114 24 active cobalt 22 hana ember
85 32 closed delta 52 dina grove
105 94 paused birch 72 dina indigo
| grove
indigo
amber
ember
grove
indigo
| 18 2 paused cobalt 44 lina fable
55 10 closed ember 65 bruno harbor
119 13 ready cobalt 81 hana harbor
59 79 failed cobalt 115 gus grove
116 47 failed harbor 41 ivan indigo
118 46 closed fable 90 chen juniper
37 9 paused cobalt 23 lina birch
67 62 ready indigo 13 bruno delta
| fable
harbor
harbor
grove
indigo
juniper
birch
delta
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014470 | qwen/qwen3.7-plus |
awkweave-0014471 | Print the complete records where column 2 is less than 43. | $2 < 43 | lina 18 ivan gus
bruno 111 jules bruno
kim 59 eli lina
kim 18 hana alice
lina 98 kim lina
alice 33 bruno farah
ivan 14 gus alice
jules 74 alice lina
| lina 18 ivan gus
kim 18 hana alice
alice 33 bruno farah
ivan 14 gus alice
| lina 21 alice gus
gus 28 bruno gus
gus 96 lina jules
lina 85 eli chen
alice 17 kim gus
hana 80 gus jules
dina 51 hana chen
jules 33 hana eli
bruno 23 jules gus
| lina 21 alice gus
gus 28 bruno gus
alice 17 kim gus
jules 33 hana eli
bruno 23 jules gus
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014471-p1 | Output the full records for which the value in the second column is less than 43. | $2 < 43 | lina 18 ivan gus
bruno 111 jules bruno
kim 59 eli lina
kim 18 hana alice
lina 98 kim lina
alice 33 bruno farah
ivan 14 gus alice
jules 74 alice lina
| lina 18 ivan gus
kim 18 hana alice
alice 33 bruno farah
ivan 14 gus alice
| lina 21 alice gus
gus 28 bruno gus
gus 96 lina jules
lina 85 eli chen
alice 17 kim gus
hana 80 gus jules
dina 51 hana chen
jules 33 hana eli
bruno 23 jules gus
| lina 21 alice gus
gus 28 bruno gus
alice 17 kim gus
jules 33 hana eli
bruno 23 jules gus
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014471 | qwen/qwen3.7-plus |
awkweave-0014472 | Show whole lines whose 2nd field is between 7 and 27, inclusive. | $2 >= 7 && $2 <= 27 | farah 6 ember indigo
chen 17 juniper delta
bruno 23 indigo fable
hana 14 harbor fable
lina 11 harbor grove
farah 12 cobalt cobalt
chen 17 juniper birch
chen 30 harbor grove
| chen 17 juniper delta
bruno 23 indigo fable
hana 14 harbor fable
lina 11 harbor grove
farah 12 cobalt cobalt
chen 17 juniper birch
| ivan 14 harbor fable
eli 6 juniper ember
gus 23 indigo delta
farah 27 cobalt ember
ivan 15 fable juniper
dina 28 delta cobalt
alice 30 delta amber
eli 12 indigo delta
| ivan 14 harbor fable
gus 23 indigo delta
farah 27 cobalt ember
ivan 15 fable juniper
eli 12 indigo delta
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014472-p1 | Display entire lines where the second field falls within the inclusive range of 7 to 27. | $2 >= 7 && $2 <= 27 | farah 6 ember indigo
chen 17 juniper delta
bruno 23 indigo fable
hana 14 harbor fable
lina 11 harbor grove
farah 12 cobalt cobalt
chen 17 juniper birch
chen 30 harbor grove
| chen 17 juniper delta
bruno 23 indigo fable
hana 14 harbor fable
lina 11 harbor grove
farah 12 cobalt cobalt
chen 17 juniper birch
| ivan 14 harbor fable
eli 6 juniper ember
gus 23 indigo delta
farah 27 cobalt ember
ivan 15 fable juniper
dina 28 delta cobalt
alice 30 delta amber
eli 12 indigo delta
| ivan 14 harbor fable
gus 23 indigo delta
farah 27 cobalt ember
ivan 15 fable juniper
eli 12 indigo delta
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014472 | qwen/qwen3.7-plus |
awkweave-0014473 | Print column 2 only for rows where column 1 is exactly active. | $1 == "active"{print $2} | closed lina 76 fable
active alice 63 harbor
ready dina 87 grove
failed lina 90 ember
closed chen 21 ember
paused kim 9 indigo
closed eli 28 fable
active eli 83 grove
| alice
eli
| active dina 8 ember
active gus 103 birch
paused chen 12 amber
active alice 97 birch
active chen 63 juniper
active alice 111 grove
pending gus 33 indigo
| dina
gus
alice
chen
alice
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014473-p1 | Output only the second column for rows where the first column matches 'active' exactly. | $1 == "active"{print $2} | closed lina 76 fable
active alice 63 harbor
ready dina 87 grove
failed lina 90 ember
closed chen 21 ember
paused kim 9 indigo
closed eli 28 fable
active eli 83 grove
| alice
eli
| active dina 8 ember
active gus 103 birch
paused chen 12 amber
active alice 97 birch
active chen 63 juniper
active alice 111 grove
pending gus 33 indigo
| dina
gus
alice
chen
alice
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014473 | qwen/qwen3.7-plus |
awkweave-0014474 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR 38 amber
ERROR 81 birch
ERROR 1 amber
WARN 3 ember
ERROR 90 indigo
WARN 94 juniper
DEBUG 47 ember
INFO 47 fable
WARN 77 ember
| ERROR 38 amber
ERROR 81 birch
ERROR 1 amber
ERROR 90 indigo
| ERROR 25 indigo
WARN 61 delta
INFO 80 birch
WARN 50 birch
DEBUG 53 fable
INFO 10 ember
WARN 8 cobalt
WARN 29 grove
| ERROR 25 indigo
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014474-p1 | Print all fields from lines where the first field starts with 'ERROR'. | $1 ~ /^ERROR/ | ERROR 38 amber
ERROR 81 birch
ERROR 1 amber
WARN 3 ember
ERROR 90 indigo
WARN 94 juniper
DEBUG 47 ember
INFO 47 fable
WARN 77 ember
| ERROR 38 amber
ERROR 81 birch
ERROR 1 amber
ERROR 90 indigo
| ERROR 25 indigo
WARN 61 delta
INFO 80 birch
WARN 50 birch
DEBUG 53 fable
INFO 10 ember
WARN 8 cobalt
WARN 29 grove
| ERROR 25 indigo
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014474 | qwen/qwen3.7-plus |
awkweave-0014475 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | indigo 99 failed
harbor 4 failed
cobalt 24 failed
amber 7 active
amber 44 closed
harbor 78 closed
fable 98 pending
grove 82 pending
grove 44 closed
delta 57 paused
indigo 999 active
| harbor 4 failed
cobalt 24 failed
amber 7 active
amber 44 closed
harbor 78 closed
fable 98 pending
grove 82 pending
grove 44 closed
delta 57 paused
| fable 108 paused
grove 2 paused
amber 0 closed
amber 67 closed
indigo 92 failed
delta 12 ready
cobalt 114 ready
indigo 999 active
| fable 108 paused
grove 2 paused
amber 0 closed
amber 67 closed
delta 12 ready
cobalt 114 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014475-p1 | Print every line that does not contain the exact string 'indigo'. | $0 !~ /indigo/ | indigo 99 failed
harbor 4 failed
cobalt 24 failed
amber 7 active
amber 44 closed
harbor 78 closed
fable 98 pending
grove 82 pending
grove 44 closed
delta 57 paused
indigo 999 active
| harbor 4 failed
cobalt 24 failed
amber 7 active
amber 44 closed
harbor 78 closed
fable 98 pending
grove 82 pending
grove 44 closed
delta 57 paused
| fable 108 paused
grove 2 paused
amber 0 closed
amber 67 closed
indigo 92 failed
delta 12 ready
cobalt 114 ready
indigo 999 active
| fable 108 paused
grove 2 paused
amber 0 closed
amber 67 closed
delta 12 ready
cobalt 114 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014475 | qwen/qwen3.7-plus |
awkweave-0014476 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | bruno fable 7
hana cobalt 107
chen cobalt 85
eli amber 93
hana harbor 2
hana cobalt 70
dina birch 63
eli amber 110
bruno juniper 86
| hana cobalt 107
chen cobalt 85
eli amber 93
hana harbor 2
| hana ember 52
eli ember 40
kim harbor 17
gus cobalt 23
ivan juniper 75
lina ember 81
bruno cobalt 103
hana ember 117
jules ember 88
| eli ember 40
kim harbor 17
gus cobalt 23
ivan juniper 75
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014476-p1 | Output lines 2 through 5, inclusive of both endpoints. | NR >= 2 && NR <= 5 | bruno fable 7
hana cobalt 107
chen cobalt 85
eli amber 93
hana harbor 2
hana cobalt 70
dina birch 63
eli amber 110
bruno juniper 86
| hana cobalt 107
chen cobalt 85
eli amber 93
hana harbor 2
| hana ember 52
eli ember 40
kim harbor 17
gus cobalt 23
ivan juniper 75
lina ember 81
bruno cobalt 103
hana ember 117
jules ember 88
| eli ember 40
kim harbor 17
gus cobalt 23
ivan juniper 75
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014476 | qwen/qwen3.7-plus |
awkweave-0014477 | Output only the first 5 records. | NR <= 5 | kim 70 amber
kim 27 indigo
chen 29 fable
bruno 28 cobalt
gus 46 juniper
kim 15 delta
jules 81 amber
kim 114 indigo
kim 26 juniper
dina 107 indigo
| kim 70 amber
kim 27 indigo
chen 29 fable
bruno 28 cobalt
gus 46 juniper
| gus 2 fable
bruno 72 juniper
jules 10 harbor
ivan 1 ember
ivan 66 fable
kim 35 ember
gus 7 fable
alice 120 juniper
ivan 96 ember
alice 99 delta
| gus 2 fable
bruno 72 juniper
jules 10 harbor
ivan 1 ember
ivan 66 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014477-p1 | Display only the first 5 records. | NR <= 5 | kim 70 amber
kim 27 indigo
chen 29 fable
bruno 28 cobalt
gus 46 juniper
kim 15 delta
jules 81 amber
kim 114 indigo
kim 26 juniper
dina 107 indigo
| kim 70 amber
kim 27 indigo
chen 29 fable
bruno 28 cobalt
gus 46 juniper
| gus 2 fable
bruno 72 juniper
jules 10 harbor
ivan 1 ember
ivan 66 fable
kim 35 ember
gus 7 fable
alice 120 juniper
ivan 96 ember
alice 99 delta
| gus 2 fable
bruno 72 juniper
jules 10 harbor
ivan 1 ember
ivan 66 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014477 | qwen/qwen3.7-plus |
awkweave-0014478 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 58 indigo
jules 75 juniper
gus 71 grove
ivan 20 cobalt
lina 80 cobalt
bruno 53 ember
ivan 116 cobalt
kim 22 fable
hana 116 amber
| jules 75 juniper
gus 71 grove
ivan 20 cobalt
lina 80 cobalt
bruno 53 ember
ivan 116 cobalt
kim 22 fable
hana 116 amber
| alice 40 fable
bruno 74 indigo
bruno 108 birch
hana 115 ember
eli 94 juniper
eli 69 cobalt
dina 33 juniper
| bruno 74 indigo
bruno 108 birch
hana 115 ember
eli 94 juniper
eli 69 cobalt
dina 33 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014478-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | gus 58 indigo
jules 75 juniper
gus 71 grove
ivan 20 cobalt
lina 80 cobalt
bruno 53 ember
ivan 116 cobalt
kim 22 fable
hana 116 amber
| jules 75 juniper
gus 71 grove
ivan 20 cobalt
lina 80 cobalt
bruno 53 ember
ivan 116 cobalt
kim 22 fable
hana 116 amber
| alice 40 fable
bruno 74 indigo
bruno 108 birch
hana 115 ember
eli 94 juniper
eli 69 cobalt
dina 33 juniper
| bruno 74 indigo
bruno 108 birch
hana 115 ember
eli 94 juniper
eli 69 cobalt
dina 33 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014478 | qwen/qwen3.7-plus |
awkweave-0014479 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | bruno closed 87
lina active 100
jules failed 47
jules pending 84
gus paused 66
kim failed 94
ivan failed 81
| 1
| jules paused 57
hana closed 39
hana closed 49
lina closed 63
kim failed 0
hana failed 78
lina active 80
ivan failed 101
farah paused 34
farah active 44
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014479-p1 | Count the number of records with 'paused' in the second column; output 0 if none exist. | $2 == "paused"{n++}END{print n+0} | bruno closed 87
lina active 100
jules failed 47
jules pending 84
gus paused 66
kim failed 94
ivan failed 81
| 1
| jules paused 57
hana closed 39
hana closed 49
lina closed 63
kim failed 0
hana failed 78
lina active 80
ivan failed 101
farah paused 34
farah active 44
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014479 | qwen/qwen3.7-plus |
awkweave-0014480 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | ember 3 lina
grove 20 eli
juniper 5 eli
harbor 15 hana
ember 23 chen
fable 8 ivan
ember 18 jules
harbor 9 jules
indigo 19 farah
| 120
| delta 25 ivan
birch 1 jules
juniper 11 dina
indigo 4 farah
birch 9 alice
juniper 23 lina
juniper 23 alice
fable 14 chen
fable 27 eli
harbor 5 alice
| 142
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014480-p1 | Compute and print the sum of integer values in the second column. | {s+=$2}END{print s+0} | ember 3 lina
grove 20 eli
juniper 5 eli
harbor 15 hana
ember 23 chen
fable 8 ivan
ember 18 jules
harbor 9 jules
indigo 19 farah
| 120
| delta 25 ivan
birch 1 jules
juniper 11 dina
indigo 4 farah
birch 9 alice
juniper 23 lina
juniper 23 alice
fable 14 chen
fable 27 eli
harbor 5 alice
| 142
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014480 | qwen/qwen3.7-plus |
awkweave-0014481 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 16 alice birch
24 lina delta
3 lina harbor
23 farah cobalt
17 jules cobalt
5 alice amber
| 14.67
| 20 hana amber
14 alice indigo
14 hana delta
28 dina ember
18 hana amber
11 eli juniper
19 lina amber
17 farah harbor
27 alice fable
6 ivan fable
| 17.40
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014481-p1 | Print the average of the first column, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 16 alice birch
24 lina delta
3 lina harbor
23 farah cobalt
17 jules cobalt
5 alice amber
| 14.67
| 20 hana amber
14 alice indigo
14 hana delta
28 dina ember
18 hana amber
11 eli juniper
19 lina amber
17 farah harbor
27 alice fable
6 ivan fable
| 17.40
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014481 | qwen/qwen3.7-plus |
awkweave-0014482 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 amber dina
30 delta ivan
1 indigo dina
30 fable lina
22 harbor bruno
29 cobalt eli
7 juniper chen
24 amber bruno
20 birch jules
| 1
| 3 grove ivan
21 delta alice
29 grove lina
28 fable jules
13 birch bruno
23 harbor lina
27 ember lina
4 indigo eli
7 grove farah
4 ember chen
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014482-p1 | Identify and print the minimum numeric value in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 amber dina
30 delta ivan
1 indigo dina
30 fable lina
22 harbor bruno
29 cobalt eli
7 juniper chen
24 amber bruno
20 birch jules
| 1
| 3 grove ivan
21 delta alice
29 grove lina
28 fable jules
13 birch bruno
23 harbor lina
27 ember lina
4 indigo eli
7 grove farah
4 ember chen
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014482 | qwen/qwen3.7-plus |
awkweave-0014483 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 22 hana birch
9 jules fable
16 dina juniper
5 gus birch
3 farah ember
26 bruno ember
14 jules delta
3 kim birch
12 ivan ember
10 hana indigo
| 26
| 22 ivan indigo
7 gus cobalt
21 lina birch
4 alice delta
11 bruno birch
16 gus birch
27 alice juniper
12 dina fable
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014483-p1 | Identify and print the maximum numeric value in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 22 hana birch
9 jules fable
16 dina juniper
5 gus birch
3 farah ember
26 bruno ember
14 jules delta
3 kim birch
12 ivan ember
10 hana indigo
| 26
| 22 ivan indigo
7 gus cobalt
21 lina birch
4 alice delta
11 bruno birch
16 gus birch
27 alice juniper
12 dina fable
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014483 | qwen/qwen3.7-plus |
awkweave-0014484 | Count all input records and print the total. | END{print NR} | alice 108
alice 104
alice 75
hana 105
kim 77
eli 34
dina 22
| 7
| kim 73
ivan 45
alice 63
farah 115
lina 12
farah 45
alice 35
ivan 106
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014484-p1 | Output the total number of input records. | END{print NR} | alice 108
alice 104
alice 75
hana 105
kim 77
eli 34
dina 22
| 7
| kim 73
ivan 45
alice 63
farah 115
lina 12
farah 45
alice 35
ivan 106
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014484 | qwen/qwen3.7-plus |
awkweave-0014485 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | bruno grove 20
lina cobalt 113
chen indigo 43
chen cobalt 120
lina ember 67
lina grove 105
eli birch 71
eli birch 71
dina ember 66
farah birch 40
jules amber 8
| bruno grove 20
lina cobalt 113
chen indigo 43
chen cobalt 120
lina ember 67
lina grove 105
eli birch 71
dina ember 66
farah birch 40
jules amber 8
| lina amber 67
alice juniper 86
alice grove 104
alice grove 104
ivan indigo 113
jules delta 86
farah birch 1
| lina amber 67
alice juniper 86
alice grove 104
ivan indigo 113
jules delta 86
farah birch 1
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014485-p1 | Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | bruno grove 20
lina cobalt 113
chen indigo 43
chen cobalt 120
lina ember 67
lina grove 105
eli birch 71
eli birch 71
dina ember 66
farah birch 40
jules amber 8
| bruno grove 20
lina cobalt 113
chen indigo 43
chen cobalt 120
lina ember 67
lina grove 105
eli birch 71
dina ember 66
farah birch 40
jules amber 8
| lina amber 67
alice juniper 86
alice grove 104
alice grove 104
ivan indigo 113
jules delta 86
farah birch 1
| lina amber 67
alice juniper 86
alice grove 104
ivan indigo 113
jules delta 86
farah birch 1
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014485 | qwen/qwen3.7-plus |
awkweave-0014486 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | bruno harbor 73
dina juniper 14
farah grove 78
kim amber 101
dina indigo 88
hana amber 75
| bruno harbor 73
dina juniper 14
farah grove 78
kim amber 101
dina indigo 88
| lina cobalt 78
kim fable 62
kim fable 55
dina indigo 18
lina indigo 78
kim ember 6
farah birch 114
| lina cobalt 78
kim fable 62
dina indigo 18
kim ember 6
farah birch 114
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014486-p1 | Retain only the initial row for every unique value in the second column, preserving the input order. | !seen[$2]++ | bruno harbor 73
dina juniper 14
farah grove 78
kim amber 101
dina indigo 88
hana amber 75
| bruno harbor 73
dina juniper 14
farah grove 78
kim amber 101
dina indigo 88
| lina cobalt 78
kim fable 62
kim fable 55
dina indigo 18
lina indigo 78
kim ember 6
farah birch 114
| lina cobalt 78
kim fable 62
dina indigo 18
kim ember 6
farah birch 114
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014486 | qwen/qwen3.7-plus |
awkweave-0014487 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 14 harbor
hana 11 harbor
eli 12 juniper
farah 12 birch
jules 8 cobalt
eli 8 fable
| gus 14
hana 25
eli 37
farah 49
jules 57
eli 65
| dina 27 birch
farah 6 cobalt
gus 7 juniper
farah 3 amber
bruno 26 harbor
hana 19 indigo
hana 9 cobalt
| dina 27
farah 33
gus 40
farah 43
bruno 69
hana 88
hana 97
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014487-p1 | For each entry, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | gus 14 harbor
hana 11 harbor
eli 12 juniper
farah 12 birch
jules 8 cobalt
eli 8 fable
| gus 14
hana 25
eli 37
farah 49
jules 57
eli 65
| dina 27 birch
farah 6 cobalt
gus 7 juniper
farah 3 amber
bruno 26 harbor
hana 19 indigo
hana 9 cobalt
| dina 27
farah 33
gus 40
farah 43
bruno 69
hana 88
hana 97
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014487 | qwen/qwen3.7-plus |
awkweave-0014488 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 18 18 delta
eli 22 19 juniper
lina 25 16 delta
eli 16 18 ember
chen 11 23 delta
farah 19 21 delta
eli 27 17 ember
bruno 20 12 ember
| eli 36
eli 41
lina 41
eli 34
chen 34
farah 40
eli 44
bruno 32
| farah 10 4 ember
bruno 13 21 delta
jules 26 29 amber
ivan 19 30 indigo
bruno 16 9 indigo
eli 10 17 fable
gus 18 1 harbor
lina 16 26 harbor
| farah 14
bruno 34
jules 55
ivan 49
bruno 25
eli 27
gus 19
lina 42
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014488-p1 | Output the first field followed by the sum of the second and third fields for each row. | {print $1,$2+$3} | eli 18 18 delta
eli 22 19 juniper
lina 25 16 delta
eli 16 18 ember
chen 11 23 delta
farah 19 21 delta
eli 27 17 ember
bruno 20 12 ember
| eli 36
eli 41
lina 41
eli 34
chen 34
farah 40
eli 44
bruno 32
| farah 10 4 ember
bruno 13 21 delta
jules 26 29 amber
ivan 19 30 indigo
bruno 16 9 indigo
eli 10 17 fable
gus 18 1 harbor
lina 16 26 harbor
| farah 14
bruno 34
jules 55
ivan 49
bruno 25
eli 27
gus 19
lina 42
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014488 | qwen/qwen3.7-plus |
awkweave-0014489 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | farah 15
ivan 24
hana 8
alice 1
dina 30
eli 3
gus 5
farah 12
dina 27
| farah fail
ivan fail
hana fail
alice fail
dina pass
eli fail
gus fail
farah fail
dina pass
| lina 12
bruno 17
farah 6
gus 10
kim 29
eli 22
farah 26
lina 27
| lina fail
bruno fail
farah fail
gus fail
kim pass
eli fail
farah pass
lina pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014489-p1 | Output the first column along with 'pass' if the second column is 25 or greater, otherwise output 'fail'. | {print $1,($2>=25?"pass":"fail")} | farah 15
ivan 24
hana 8
alice 1
dina 30
eli 3
gus 5
farah 12
dina 27
| farah fail
ivan fail
hana fail
alice fail
dina pass
eli fail
gus fail
farah fail
dina pass
| lina 12
bruno 17
farah 6
gus 10
kim 29
eli 22
farah 26
lina 27
| lina fail
bruno fail
farah fail
gus fail
kim pass
eli fail
farah pass
lina pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014489 | qwen/qwen3.7-plus |
awkweave-0014500 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | chen 30 paused
jules 21 active
gus 30 pending
dina 11 paused
bruno 21 paused
hana 17 closed
farah 27 paused
dina 2 closed
ivan 2 pending
farah 12 failed
| paused
active
pending
paused
paused
closed
paused
closed
pending
failed
| chen 4 pending
kim 14 closed
jules 22 ready
gus 30 ready
kim 4 closed
lina 11 paused
farah 11 failed
alice 5 failed
| pending
closed
ready
ready
closed
paused
failed
failed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.