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-0014830-p1 | Count the number of records with 'closed' in the second column; output 0 if none exist. | $2 == "closed"{n++}END{print n+0} | jules ready 83
alice closed 83
alice paused 27
eli failed 76
dina closed 13
eli paused 87
chen pending 105
hana failed 90
ivan pending 102
| 2
| jules active 78
jules ready 11
jules failed 57
alice paused 69
dina closed 120
alice failed 74
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014830 | qwen/qwen3.7-plus |
awkweave-0014831 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | indigo 5 eli
indigo 16 lina
indigo 6 chen
harbor 20 bruno
birch 25 alice
cobalt 1 gus
cobalt 5 jules
cobalt 1 hana
| 79
| ember 17 dina
ember 12 hana
indigo 1 dina
amber 2 hana
harbor 18 chen
amber 13 jules
amber 5 jules
cobalt 13 jules
| 81
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014831-p1 | Compute and display the sum of integer values in the second column. | {s+=$2}END{print s+0} | indigo 5 eli
indigo 16 lina
indigo 6 chen
harbor 20 bruno
birch 25 alice
cobalt 1 gus
cobalt 5 jules
cobalt 1 hana
| 79
| ember 17 dina
ember 12 hana
indigo 1 dina
amber 2 hana
harbor 18 chen
amber 13 jules
amber 5 jules
cobalt 13 jules
| 81
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014831 | qwen/qwen3.7-plus |
awkweave-0014832 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli juniper 7
dina fable 30
gus fable 16
hana amber 19
dina amber 30
alice birch 19
| 20.17
| dina amber 13
bruno delta 23
ivan birch 27
alice fable 5
eli fable 22
hana fable 19
lina juniper 9
| 16.86
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014832-p1 | Print the average of the third column, rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli juniper 7
dina fable 30
gus fable 16
hana amber 19
dina amber 30
alice birch 19
| 20.17
| dina amber 13
bruno delta 23
ivan birch 27
alice fable 5
eli fable 22
hana fable 19
lina juniper 9
| 16.86
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014832 | qwen/qwen3.7-plus |
awkweave-0014833 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | lina grove 19
chen amber 13
jules amber 21
alice birch 6
kim indigo 3
dina delta 29
dina ember 20
alice indigo 25
ivan birch 18
alice ember 8
| 3
| chen indigo 19
gus indigo 4
alice harbor 17
eli harbor 9
eli fable 24
chen indigo 10
kim ember 23
lina delta 18
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014833-p1 | Identify and output the minimum numeric value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | lina grove 19
chen amber 13
jules amber 21
alice birch 6
kim indigo 3
dina delta 29
dina ember 20
alice indigo 25
ivan birch 18
alice ember 8
| 3
| chen indigo 19
gus indigo 4
alice harbor 17
eli harbor 9
eli fable 24
chen indigo 10
kim ember 23
lina delta 18
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014833 | qwen/qwen3.7-plus |
awkweave-0014834 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 26 amber jules
2 fable bruno
13 birch ivan
26 cobalt kim
25 amber bruno
1 fable jules
16 fable kim
1 grove alice
7 birch hana
30 grove lina
| 30
| 22 cobalt bruno
20 juniper lina
11 fable lina
2 ember gus
27 ember bruno
30 juniper alice
3 indigo chen
9 cobalt dina
12 grove dina
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014834-p1 | Identify and output the maximum numeric value found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 26 amber jules
2 fable bruno
13 birch ivan
26 cobalt kim
25 amber bruno
1 fable jules
16 fable kim
1 grove alice
7 birch hana
30 grove lina
| 30
| 22 cobalt bruno
20 juniper lina
11 fable lina
2 ember gus
27 ember bruno
30 juniper alice
3 indigo chen
9 cobalt dina
12 grove dina
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014834 | qwen/qwen3.7-plus |
awkweave-0014835 | Count all input records and print the total. | END{print NR} | farah 87
hana 61
chen 5
bruno 65
kim 31
dina 64
ivan 70
dina 50
jules 29
| 9
| lina 84
ivan 17
eli 105
ivan 60
alice 33
bruno 63
dina 81
ivan 25
alice 36
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014835-p1 | Count the total number of input records and print the result. | END{print NR} | farah 87
hana 61
chen 5
bruno 65
kim 31
dina 64
ivan 70
dina 50
jules 29
| 9
| lina 84
ivan 17
eli 105
ivan 60
alice 33
bruno 63
dina 81
ivan 25
alice 36
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014835 | qwen/qwen3.7-plus |
awkweave-0014836 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen indigo 106
gus grove 84
hana grove 75
hana grove 75
chen juniper 34
chen amber 72
jules birch 60
| chen indigo 106
gus grove 84
hana grove 75
chen juniper 34
chen amber 72
jules birch 60
| dina harbor 113
farah delta 54
kim delta 113
dina juniper 101
kim delta 113
dina fable 60
ivan ember 81
| dina harbor 113
farah delta 54
kim delta 113
dina juniper 101
dina fable 60
ivan ember 81
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014836-p1 | Deduplicate lines by keeping the first instance of each unique line while maintaining the original sequence. | !seen[$0]++ | chen indigo 106
gus grove 84
hana grove 75
hana grove 75
chen juniper 34
chen amber 72
jules birch 60
| chen indigo 106
gus grove 84
hana grove 75
chen juniper 34
chen amber 72
jules birch 60
| dina harbor 113
farah delta 54
kim delta 113
dina juniper 101
kim delta 113
dina fable 60
ivan ember 81
| dina harbor 113
farah delta 54
kim delta 113
dina juniper 101
dina fable 60
ivan ember 81
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014836 | qwen/qwen3.7-plus |
awkweave-0014837 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | jules amber 26
bruno indigo 109
ivan grove 87
kim grove 76
ivan juniper 47
bruno harbor 0
lina birch 73
lina cobalt 13
eli amber 54
| jules amber 26
bruno indigo 109
ivan grove 87
kim grove 76
ivan juniper 47
bruno harbor 0
lina birch 73
lina cobalt 13
eli amber 54
| dina indigo 6
ivan cobalt 10
eli birch 117
jules amber 26
kim grove 29
jules juniper 36
chen grove 118
dina harbor 72
hana grove 111
| dina indigo 6
ivan cobalt 10
eli birch 117
jules amber 26
kim grove 29
jules juniper 36
chen grove 118
dina harbor 72
hana grove 111
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014837-p1 | Retain only the initial row for every unique value found in the third column, ensuring the input order is preserved. | !seen[$3]++ | jules amber 26
bruno indigo 109
ivan grove 87
kim grove 76
ivan juniper 47
bruno harbor 0
lina birch 73
lina cobalt 13
eli amber 54
| jules amber 26
bruno indigo 109
ivan grove 87
kim grove 76
ivan juniper 47
bruno harbor 0
lina birch 73
lina cobalt 13
eli amber 54
| dina indigo 6
ivan cobalt 10
eli birch 117
jules amber 26
kim grove 29
jules juniper 36
chen grove 118
dina harbor 72
hana grove 111
| dina indigo 6
ivan cobalt 10
eli birch 117
jules amber 26
kim grove 29
jules juniper 36
chen grove 118
dina harbor 72
hana grove 111
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014837 | qwen/qwen3.7-plus |
awkweave-0014838 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 10 fable
hana 18 ember
kim 24 juniper
eli 2 amber
farah 27 fable
dina 21 ember
| farah 10
hana 28
kim 52
eli 54
farah 81
dina 102
| jules 13 harbor
gus 25 harbor
chen 20 birch
kim 26 amber
chen 18 ember
jules 8 cobalt
lina 13 cobalt
eli 5 birch
farah 14 amber
eli 26 fable
| jules 13
gus 38
chen 58
kim 84
chen 102
jules 110
lina 123
eli 128
farah 142
eli 168
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014838-p1 | Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | farah 10 fable
hana 18 ember
kim 24 juniper
eli 2 amber
farah 27 fable
dina 21 ember
| farah 10
hana 28
kim 52
eli 54
farah 81
dina 102
| jules 13 harbor
gus 25 harbor
chen 20 birch
kim 26 amber
chen 18 ember
jules 8 cobalt
lina 13 cobalt
eli 5 birch
farah 14 amber
eli 26 fable
| jules 13
gus 38
chen 58
kim 84
chen 102
jules 110
lina 123
eli 128
farah 142
eli 168
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014838 | qwen/qwen3.7-plus |
awkweave-0014839 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 12 29 ember
eli 3 24 harbor
bruno 5 15 ember
farah 19 7 juniper
gus 28 6 cobalt
gus 6 11 cobalt
jules 30 1 fable
| gus 41
eli 27
bruno 20
farah 26
gus 34
gus 17
jules 31
| lina 6 28 birch
farah 25 20 delta
chen 5 2 indigo
kim 22 23 cobalt
alice 15 27 birch
ivan 13 29 amber
kim 16 11 indigo
alice 13 20 cobalt
hana 4 15 cobalt
| lina 34
farah 45
chen 7
kim 45
alice 42
ivan 42
kim 27
alice 33
hana 19
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014839-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 12 29 ember
eli 3 24 harbor
bruno 5 15 ember
farah 19 7 juniper
gus 28 6 cobalt
gus 6 11 cobalt
jules 30 1 fable
| gus 41
eli 27
bruno 20
farah 26
gus 34
gus 17
jules 31
| lina 6 28 birch
farah 25 20 delta
chen 5 2 indigo
kim 22 23 cobalt
alice 15 27 birch
ivan 13 29 amber
kim 16 11 indigo
alice 13 20 cobalt
hana 4 15 cobalt
| lina 34
farah 45
chen 7
kim 45
alice 42
ivan 42
kim 27
alice 33
hana 19
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014839 | qwen/qwen3.7-plus |
awkweave-0014840 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | kim 21
alice 27
gus 1
jules 17
lina 12
gus 8
farah 29
farah 28
jules 18
alice 6
| kim fail
alice pass
gus fail
jules fail
lina fail
gus fail
farah pass
farah pass
jules fail
alice fail
| ivan 28
lina 16
eli 30
gus 3
eli 5
kim 2
chen 12
chen 1
| ivan pass
lina fail
eli pass
gus fail
eli fail
kim fail
chen fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014840-p1 | Output the value from column 1 and print 'pass' if column 2 is 26 or greater; otherwise, print 'fail'. | {print $1,($2>=26?"pass":"fail")} | kim 21
alice 27
gus 1
jules 17
lina 12
gus 8
farah 29
farah 28
jules 18
alice 6
| kim fail
alice pass
gus fail
jules fail
lina fail
gus fail
farah pass
farah pass
jules fail
alice fail
| ivan 28
lina 16
eli 30
gus 3
eli 5
kim 2
chen 12
chen 1
| ivan pass
lina fail
eli pass
gus fail
eli fail
kim fail
chen fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014840 | qwen/qwen3.7-plus |
awkweave-0014841 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | jules amber 120
eli indigo 88
kim birch 26
gus grove 44
kim amber 108
chen juniper 88
bruno birch 45
hana delta 6
| AMBER
INDIGO
BIRCH
GROVE
AMBER
JUNIPER
BIRCH
DELTA
| kim indigo 34
dina ember 70
dina amber 55
jules fable 67
dina grove 77
kim harbor 27
lina delta 25
| INDIGO
EMBER
AMBER
FABLE
GROVE
HARBOR
DELTA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014841-p1 | Transform the second column to uppercase and output only that modified column. | {print toupper($2)} | jules amber 120
eli indigo 88
kim birch 26
gus grove 44
kim amber 108
chen juniper 88
bruno birch 45
hana delta 6
| AMBER
INDIGO
BIRCH
GROVE
AMBER
JUNIPER
BIRCH
DELTA
| kim indigo 34
dina ember 70
dina amber 55
jules fable 67
dina grove 77
kim harbor 27
lina delta 25
| INDIGO
EMBER
AMBER
FABLE
GROVE
HARBOR
DELTA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014841 | qwen/qwen3.7-plus |
awkweave-0014842 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | juniper 87
amber 109
harbor 34
juniper 88
juniper 38
amber 69
fable 11
| ju
am
ha
ju
ju
am
fa
| fable 26
ember 70
delta 64
delta 74
ember 77
amber 70
indigo 29
indigo 15
amber 45
grove 11
| fa
em
de
de
em
am
in
in
am
gr
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014842-p1 | Extract and print the first two characters from column 1, starting at position 1. | {print substr($1,1,2)} | juniper 87
amber 109
harbor 34
juniper 88
juniper 38
amber 69
fable 11
| ju
am
ha
ju
ju
am
fa
| fable 26
ember 70
delta 64
delta 74
ember 77
amber 70
indigo 29
indigo 15
amber 45
grove 11
| fa
em
de
de
em
am
in
in
am
gr
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014842 | qwen/qwen3.7-plus |
awkweave-0014843 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_juniper 48
birch_cobalt 94
birch_juniper 29
juniper_juniper 54
cobalt_harbor 36
cobalt_harbor 99
| juniper juniper
birch cobalt
birch juniper
juniper juniper
cobalt harbor
cobalt harbor
| juniper_amber 60
birch_ember 72
indigo_delta 62
ember_cobalt 84
amber_grove 22
grove_cobalt 102
harbor_fable 3
amber_juniper 86
grove_cobalt 18
| juniper amber
birch ember
indigo delta
ember cobalt
amber grove
grove cobalt
harbor fable
amber juniper
grove cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014843-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | juniper_juniper 48
birch_cobalt 94
birch_juniper 29
juniper_juniper 54
cobalt_harbor 36
cobalt_harbor 99
| juniper juniper
birch cobalt
birch juniper
juniper juniper
cobalt harbor
cobalt harbor
| juniper_amber 60
birch_ember 72
indigo_delta 62
ember_cobalt 84
amber_grove 22
grove_cobalt 102
harbor_fable 3
amber_juniper 86
grove_cobalt 18
| juniper amber
birch ember
indigo delta
ember cobalt
amber grove
grove cobalt
harbor fable
amber juniper
grove cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014843 | qwen/qwen3.7-plus |
awkweave-0014844 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli amber 51 pending
bruno ember 0 failed
gus delta 45 closed
lina ember 39 failed
lina grove 6 closed
bruno harbor 27 pending
ivan indigo 82 paused
lina amber 58 active
| pending 51 amber eli
failed 0 ember bruno
closed 45 delta gus
failed 39 ember lina
closed 6 grove lina
pending 27 harbor bruno
paused 82 indigo ivan
active 58 amber lina
| gus fable 92 closed
farah ember 71 active
lina juniper 79 closed
gus ember 91 pending
lina grove 93 active
alice grove 36 active
| closed 92 fable gus
active 71 ember farah
closed 79 juniper lina
pending 91 ember gus
active 93 grove lina
active 36 grove alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014844-p1 | Reverse the sequence of fields for each line and print all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli amber 51 pending
bruno ember 0 failed
gus delta 45 closed
lina ember 39 failed
lina grove 6 closed
bruno harbor 27 pending
ivan indigo 82 paused
lina amber 58 active
| pending 51 amber eli
failed 0 ember bruno
closed 45 delta gus
failed 39 ember lina
closed 6 grove lina
pending 27 harbor bruno
paused 82 indigo ivan
active 58 amber lina
| gus fable 92 closed
farah ember 71 active
lina juniper 79 closed
gus ember 91 pending
lina grove 93 active
alice grove 36 active
| closed 92 fable gus
active 71 ember farah
closed 79 juniper lina
pending 91 ember gus
active 93 grove lina
active 36 grove alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014844 | qwen/qwen3.7-plus |
awkweave-0014845 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno delta 84 ready
bruno cobalt 102 pending
kim indigo 12 closed
bruno cobalt 37 closed
gus amber 39 failed
ivan fable 23 ready
bruno ember 102 pending
eli cobalt 66 active
farah indigo 111 failed
| 4
4
4
4
4
4
4
4
4
| lina juniper 49 ready
dina ember 7 active
lina cobalt 19 ready
hana indigo 3 ready
eli grove 82 failed
dina delta 107 paused
ivan grove 13 paused
alice fable 95 closed
ivan cobalt 9 closed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014845-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | bruno delta 84 ready
bruno cobalt 102 pending
kim indigo 12 closed
bruno cobalt 37 closed
gus amber 39 failed
ivan fable 23 ready
bruno ember 102 pending
eli cobalt 66 active
farah indigo 111 failed
| 4
4
4
4
4
4
4
4
4
| lina juniper 49 ready
dina ember 7 active
lina cobalt 19 ready
hana indigo 3 ready
eli grove 82 failed
dina delta 107 paused
ivan grove 13 paused
alice fable 95 closed
ivan cobalt 9 closed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014845 | qwen/qwen3.7-plus |
awkweave-0014846 | 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 75
farah beta 19
chen delta 109
lina alpha 18
farah alpha 1
kim alpha 44
| gamma 1
beta 1
delta 1
alpha 3
| jules gamma 83
gus delta 86
bruno beta 87
jules delta 25
bruno delta 64
farah gamma 87
jules gamma 107
lina beta 113
gus alpha 85
| gamma 3
delta 3
beta 2
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014846-p1 | Tally the number of records for each distinct value in column 2, printing each value and its corresponding count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana gamma 75
farah beta 19
chen delta 109
lina alpha 18
farah alpha 1
kim alpha 44
| gamma 1
beta 1
delta 1
alpha 3
| jules gamma 83
gus delta 86
bruno beta 87
jules delta 25
bruno delta 64
farah gamma 87
jules gamma 107
lina beta 113
gus alpha 85
| gamma 3
delta 3
beta 2
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014846 | qwen/qwen3.7-plus |
awkweave-0014847 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | eli delta 12
kim alpha 19
chen alpha 19
gus alpha 16
bruno delta 15
hana alpha 12
bruno alpha 20
| delta 27
alpha 86
| gus beta 25
jules delta 2
farah beta 11
jules alpha 26
jules gamma 2
farah alpha 3
hana beta 27
alice delta 23
| beta 63
delta 25
alpha 29
gamma 2
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014847-p1 | Calculate the sum of column 3 grouped by the categories in column 2, and output the results in the order of the category's first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | eli delta 12
kim alpha 19
chen alpha 19
gus alpha 16
bruno delta 15
hana alpha 12
bruno alpha 20
| delta 27
alpha 86
| gus beta 25
jules delta 2
farah beta 11
jules alpha 26
jules gamma 2
farah alpha 3
hana beta 27
alice delta 23
| beta 63
delta 25
alpha 29
gamma 2
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014847 | qwen/qwen3.7-plus |
awkweave-0014848 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta fable 37
alpha amber 92
gamma grove 92
beta fable 101
alpha fable 102
alpha grove 83
delta amber 66
delta grove 111
| beta 2
alpha 3
delta 2
| delta cobalt 44
gamma grove 96
gamma birch 72
alpha cobalt 0
beta juniper 34
beta birch 85
beta birch 87
beta grove 93
delta harbor 31
| delta 2
gamma 2
beta 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014848-p1 | List each unique value from the first column along with its frequency, ordered by when it first appears. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta fable 37
alpha amber 92
gamma grove 92
beta fable 101
alpha fable 102
alpha grove 83
delta amber 66
delta grove 111
| beta 2
alpha 3
delta 2
| delta cobalt 44
gamma grove 96
gamma birch 72
alpha cobalt 0
beta juniper 34
beta birch 85
beta birch 87
beta grove 93
delta harbor 31
| delta 2
gamma 2
beta 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014848 | qwen/qwen3.7-plus |
awkweave-0014849 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note display_name record_id state
r001 bruno 2 failed
r002 lina 9 failed
r003 gus 6 paused
r004 gus 21 paused
r005 jules 3 active
r006 farah 27 closed
r007 alice 5 paused
r008 hana 14 pending
r009 eli 18 ready
r010 dina 10 ready
| bruno
lina
gus
gus
jules
farah
alice
hana
eli
dina
| note display_name record_id state
r001 eli 6 pending
r002 dina 11 active
r003 eli 10 pending
r004 jules 1 pending
r005 gus 27 closed
r006 gus 29 closed
r007 lina 8 ready
r008 alice 22 closed
r009 chen 1 paused
r010 bruno 28 closed
| eli
dina
eli
jules
gus
gus
lina
alice
chen
bruno
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014849-p1 | Treat the initial row as a header and output the 'display_name' field for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note display_name record_id state
r001 bruno 2 failed
r002 lina 9 failed
r003 gus 6 paused
r004 gus 21 paused
r005 jules 3 active
r006 farah 27 closed
r007 alice 5 paused
r008 hana 14 pending
r009 eli 18 ready
r010 dina 10 ready
| bruno
lina
gus
gus
jules
farah
alice
hana
eli
dina
| note display_name record_id state
r001 eli 6 pending
r002 dina 11 active
r003 eli 10 pending
r004 jules 1 pending
r005 gus 27 closed
r006 gus 29 closed
r007 lina 8 ready
r008 alice 22 closed
r009 chen 1 paused
r010 bruno 28 closed
| eli
dina
eli
jules
gus
gus
lina
alice
chen
bruno
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014849 | qwen/qwen3.7-plus |
awkweave-0014850 | The first row is a header. Print display_name for data rows whose score is greater than 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 alice 21 active
r002 lina 22 pending
r003 lina 13 paused
r004 gus 11 failed
r005 chen 5 pending
r006 gus 24 paused
r007 ivan 25 closed
r008 ivan 21 paused
| ivan
| record_id display_name score state
r001 dina 7 ready
r002 hana 17 ready
r003 hana 28 failed
r004 hana 4 active
r005 kim 5 active
r006 bruno 15 paused
r007 kim 15 ready
r008 eli 13 paused
r009 dina 24 paused
| hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014850-p1 | Considering the first line as a header, output the 'display_name' for any data row where the 'score' is strictly greater than 24. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>24{print $h["display_name"]} | record_id display_name score state
r001 alice 21 active
r002 lina 22 pending
r003 lina 13 paused
r004 gus 11 failed
r005 chen 5 pending
r006 gus 24 paused
r007 ivan 25 closed
r008 ivan 21 paused
| ivan
| record_id display_name score state
r001 dina 7 ready
r002 hana 17 ready
r003 hana 28 failed
r004 hana 4 active
r005 kim 5 active
r006 bruno 15 paused
r007 kim 15 ready
r008 eli 13 paused
r009 dina 24 paused
| hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014850 | qwen/qwen3.7-plus |
awkweave-0014851 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | gus 1 pending
lina 21 pending
jules 1 paused
ivan 24 pending
eli 21 closed
chen 5 paused
ivan 6 closed
ivan 14 closed
| gus
lina
jules
ivan
eli
chen
ivan
ivan
| kim 30 paused
gus 15 pending
hana 1 closed
chen 21 active
eli 16 active
jules 8 pending
alice 30 pending
| kim
gus
hana
chen
eli
jules
alice
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014851-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | gus 1 pending
lina 21 pending
jules 1 paused
ivan 24 pending
eli 21 closed
chen 5 paused
ivan 6 closed
ivan 14 closed
| gus
lina
jules
ivan
eli
chen
ivan
ivan
| kim 30 paused
gus 15 pending
hana 1 closed
chen 21 active
eli 16 active
jules 8 pending
alice 30 pending
| kim
gus
hana
chen
eli
jules
alice
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0014851 | qwen/qwen3.7-plus |
awkweave-0014852 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | chen,2,pending
bruno,11,failed
farah,12,ready
hana,30,pending
jules,12,failed
alice,10,failed
ivan,25,failed
gus,21,pending
hana,27,ready
| hana
ivan
gus
hana
| alice,27,closed
jules,14,active
lina,3,failed
farah,26,paused
kim,19,ready
eli,17,ready
chen,19,failed
hana,2,ready
| alice
farah
kim
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014852-p1 | For simple CSV input without quoted commas, print the first column only if the second column's value is greater than 17. | BEGIN{FS=OFS=","}$2>17{print $1} | chen,2,pending
bruno,11,failed
farah,12,ready
hana,30,pending
jules,12,failed
alice,10,failed
ivan,25,failed
gus,21,pending
hana,27,ready
| hana
ivan
gus
hana
| alice,27,closed
jules,14,active
lina,3,failed
farah,26,paused
kim,19,ready
eli,17,ready
chen,19,failed
hana,2,ready
| alice
farah
kim
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014852 | qwen/qwen3.7-plus |
awkweave-0014853 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno juniper 11
hana delta 67
hana birch 80
ivan fable 36
bruno ember 29
jules harbor 16
gus cobalt 4
kim delta 91
lina grove 5
hana juniper 48
| bruno juniper 11
hana delta 67
hana birch 80
ivan fable 36
bruno ember 29
jules harbor 16
gus cobalt 4
kim delta 91
lina grove 5
hana juniper 48
| chen ember 3
bruno birch 17
alice grove 53
gus cobalt 6
dina delta 107
bruno cobalt 88
hana ember 0
farah amber 95
alice ember 83
hana harbor 108
| chen ember 3
bruno birch 17
alice grove 53
gus cobalt 6
dina delta 107
bruno cobalt 88
hana ember 0
farah amber 95
alice ember 83
hana harbor 108
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014853-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | bruno juniper 11
hana delta 67
hana birch 80
ivan fable 36
bruno ember 29
jules harbor 16
gus cobalt 4
kim delta 91
lina grove 5
hana juniper 48
| bruno juniper 11
hana delta 67
hana birch 80
ivan fable 36
bruno ember 29
jules harbor 16
gus cobalt 4
kim delta 91
lina grove 5
hana juniper 48
| chen ember 3
bruno birch 17
alice grove 53
gus cobalt 6
dina delta 107
bruno cobalt 88
hana ember 0
farah amber 95
alice ember 83
hana harbor 108
| chen ember 3
bruno birch 17
alice grove 53
gus cobalt 6
dina delta 107
bruno cobalt 88
hana ember 0
farah amber 95
alice ember 83
hana harbor 108
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014853 | qwen/qwen3.7-plus |
awkweave-0014854 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana harbor 69 failed
alice delta 91 paused
farah fable 65 ready
bruno grove 78 failed
bruno birch 105 paused
kim birch 33 closed
| bruno birch 105 paused
| bruno amber 14 pending
lina harbor 67 pending
lina birch 73 ready
lina juniper 59 closed
jules grove 108 closed
lina ember 117 closed
farah amber 14 active
bruno delta 105 ready
bruno cobalt 113 pending
| bruno cobalt 113 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014854-p1 | Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | hana harbor 69 failed
alice delta 91 paused
farah fable 65 ready
bruno grove 78 failed
bruno birch 105 paused
kim birch 33 closed
| bruno birch 105 paused
| bruno amber 14 pending
lina harbor 67 pending
lina birch 73 ready
lina juniper 59 closed
jules grove 108 closed
lina ember 117 closed
farah amber 14 active
bruno delta 105 ready
bruno cobalt 113 pending
| bruno cobalt 113 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014854 | qwen/qwen3.7-plus |
awkweave-0014855 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | farah 107
alice 16
jules 28
gus 33
dina 100
ivan 2
ivan 89
ivan 90
gus 15
| alice 16
dina 100
ivan 90
| dina 75
eli 40
farah 58
gus 52
alice 60
alice 26
| eli 40
alice 60
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014855-p1 | Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.). | NR%3==2 | farah 107
alice 16
jules 28
gus 33
dina 100
ivan 2
ivan 89
ivan 90
gus 15
| alice 16
dina 100
ivan 90
| dina 75
eli 40
farah 58
gus 52
alice 60
alice 26
| eli 40
alice 60
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014855 | qwen/qwen3.7-plus |
awkweave-0014856 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta grove 55
beta grove 95
gamma indigo 118
beta amber 47
delta ember 97
beta fable 45
alpha cobalt 44
alpha indigo 89
| 6
| beta grove 97
alpha cobalt 97
gamma ember 45
gamma grove 114
gamma amber 16
beta delta 3
beta harbor 90
alpha harbor 100
gamma juniper 39
delta harbor 109
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014856-p1 | Calculate the number of unique entries in the second column and print just that total count. | {if(!seen[$2]++)n++}END{print n+0} | delta grove 55
beta grove 95
gamma indigo 118
beta amber 47
delta ember 97
beta fable 45
alpha cobalt 44
alpha indigo 89
| 6
| beta grove 97
alpha cobalt 97
gamma ember 45
gamma grove 114
gamma amber 16
beta delta 3
beta harbor 90
alpha harbor 100
gamma juniper 39
delta harbor 109
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014856 | qwen/qwen3.7-plus |
awkweave-0014857 | 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 29 0
eli 23 29
lina 3 12
gus 5 1
farah 6 19
bruno 6 13
| eli 0.79
lina 0.25
gus 5.00
farah 0.32
bruno 0.46
| farah 20 0
dina 27 5
chen 1 20
lina 22 13
hana 20 28
chen 5 29
| dina 5.40
chen 0.05
lina 1.69
hana 0.71
chen 0.17
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014857-p1 | For each row, output the first column and the result of dividing the second column by the third (formatted to two decimal places), ignoring rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | gus 29 0
eli 23 29
lina 3 12
gus 5 1
farah 6 19
bruno 6 13
| eli 0.79
lina 0.25
gus 5.00
farah 0.32
bruno 0.46
| farah 20 0
dina 27 5
chen 1 20
lina 22 13
hana 20 28
chen 5 29
| dina 5.40
chen 0.05
lina 1.69
hana 0.71
chen 0.17
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014857 | qwen/qwen3.7-plus |
awkweave-0014858 | 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]} | jules grove 19
dina ember 22
bruno ember 17
dina delta 19
ivan grove 11
dina harbor 22
| dina ember 22
dina harbor 22
jules grove 19
| eli fable 18
ivan birch 3
bruno delta 18
bruno grove 22
hana harbor 7
farah delta 29
alice ember 13
chen amber 4
chen indigo 25
| farah delta 29
chen indigo 25
bruno grove 22
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014858-p1 | Display the top three records based on 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]} | jules grove 19
dina ember 22
bruno ember 17
dina delta 19
ivan grove 11
dina harbor 22
| dina ember 22
dina harbor 22
jules grove 19
| eli fable 18
ivan birch 3
bruno delta 18
bruno grove 22
hana harbor 7
farah delta 29
alice ember 13
chen amber 4
chen indigo 25
| farah delta 29
chen indigo 25
bruno grove 22
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014858 | qwen/qwen3.7-plus |
awkweave-0014859 | Print column 4 followed by column 3 for every record. | {print $4, $3} | indigo 99 grove 29 closed
fable 23 amber 0 active
harbor 90 cobalt 77 ready
amber 116 grove 114 pending
amber 111 ember 70 pending
cobalt 50 harbor 115 paused
ember 108 cobalt 26 closed
| 29 grove
0 amber
77 cobalt
114 grove
70 ember
115 harbor
26 cobalt
| harbor 5 amber 110 failed
amber 28 ember 6 paused
birch 18 indigo 111 failed
harbor 68 harbor 4 failed
birch 9 juniper 4 failed
delta 94 birch 94 ready
grove 4 delta 27 paused
| 110 amber
6 ember
111 indigo
4 harbor
4 juniper
94 birch
27 delta
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014859-p1 | For every record, print the fourth column followed by the third column. | {print $4, $3} | indigo 99 grove 29 closed
fable 23 amber 0 active
harbor 90 cobalt 77 ready
amber 116 grove 114 pending
amber 111 ember 70 pending
cobalt 50 harbor 115 paused
ember 108 cobalt 26 closed
| 29 grove
0 amber
77 cobalt
114 grove
70 ember
115 harbor
26 cobalt
| harbor 5 amber 110 failed
amber 28 ember 6 paused
birch 18 indigo 111 failed
harbor 68 harbor 4 failed
birch 9 juniper 4 failed
delta 94 birch 94 ready
grove 4 delta 27 paused
| 110 amber
6 ember
111 indigo
4 harbor
4 juniper
94 birch
27 delta
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014859 | qwen/qwen3.7-plus |
awkweave-0014860 | Print the last field of every input line. | {print $NF} | ready gus eli farah
closed kim eli eli
paused dina ivan gus
paused gus eli dina
paused kim bruno kim
ready lina bruno farah
paused ivan eli eli
ready lina bruno kim
| farah
eli
gus
dina
kim
farah
eli
kim
| pending farah chen jules
ready dina lina farah
paused lina lina farah
paused chen jules gus
paused ivan ivan hana
ready ivan eli bruno
closed dina ivan farah
pending kim kim eli
| jules
farah
farah
gus
hana
bruno
farah
eli
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014860-p1 | Output the final field from each input line. | {print $NF} | ready gus eli farah
closed kim eli eli
paused dina ivan gus
paused gus eli dina
paused kim bruno kim
ready lina bruno farah
paused ivan eli eli
ready lina bruno kim
| farah
eli
gus
dina
kim
farah
eli
kim
| pending farah chen jules
ready dina lina farah
paused lina lina farah
paused chen jules gus
paused ivan ivan hana
ready ivan eli bruno
closed dina ivan farah
pending kim kim eli
| jules
farah
farah
gus
hana
bruno
farah
eli
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014860 | qwen/qwen3.7-plus |
awkweave-0014861 | Print the complete records where column 2 is at least 44. | $2 >= 44 | lina 19 pending ready
farah 107 active paused
farah 96 paused closed
chen 36 ready paused
eli 9 paused ready
gus 109 pending ready
lina 10 ready closed
| farah 107 active paused
farah 96 paused closed
gus 109 pending ready
| kim 64 ready paused
lina 9 failed paused
hana 118 active closed
kim 45 ready active
eli 101 failed pending
jules 94 pending active
kim 17 closed pending
chen 100 ready paused
farah 55 pending ready
| kim 64 ready paused
hana 118 active closed
kim 45 ready active
eli 101 failed pending
jules 94 pending active
chen 100 ready paused
farah 55 pending ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014861-p1 | Display full records where the value in the second column is greater than or equal to 44. | $2 >= 44 | lina 19 pending ready
farah 107 active paused
farah 96 paused closed
chen 36 ready paused
eli 9 paused ready
gus 109 pending ready
lina 10 ready closed
| farah 107 active paused
farah 96 paused closed
gus 109 pending ready
| kim 64 ready paused
lina 9 failed paused
hana 118 active closed
kim 45 ready active
eli 101 failed pending
jules 94 pending active
kim 17 closed pending
chen 100 ready paused
farah 55 pending ready
| kim 64 ready paused
hana 118 active closed
kim 45 ready active
eli 101 failed pending
jules 94 pending active
chen 100 ready paused
farah 55 pending ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014861 | qwen/qwen3.7-plus |
awkweave-0014862 | Show whole lines whose 3rd field is between 10 and 29, inclusive. | $3 >= 10 && $3 <= 29 | pending failed 19 fable
ready ready 22 cobalt
ready closed 23 birch
paused closed 6 birch
active pending 9 fable
pending paused 29 delta
closed pending 3 birch
ready closed 2 harbor
| pending failed 19 fable
ready ready 22 cobalt
ready closed 23 birch
pending paused 29 delta
| paused failed 20 fable
paused paused 9 ember
closed active 26 harbor
failed active 25 ember
failed active 4 cobalt
ready pending 8 amber
| paused failed 20 fable
closed active 26 harbor
failed active 25 ember
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014862-p1 | Show entire lines where the third field falls within the inclusive range of 10 to 29. | $3 >= 10 && $3 <= 29 | pending failed 19 fable
ready ready 22 cobalt
ready closed 23 birch
paused closed 6 birch
active pending 9 fable
pending paused 29 delta
closed pending 3 birch
ready closed 2 harbor
| pending failed 19 fable
ready ready 22 cobalt
ready closed 23 birch
pending paused 29 delta
| paused failed 20 fable
paused paused 9 ember
closed active 26 harbor
failed active 25 ember
failed active 4 cobalt
ready pending 8 amber
| paused failed 20 fable
closed active 26 harbor
failed active 25 ember
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014862 | qwen/qwen3.7-plus |
awkweave-0014863 | Print column 4 only for rows where column 1 is exactly paused. | $1 == "paused"{print $4} | failed 67 grove lina
failed 95 indigo alice
closed 9 delta kim
paused 97 grove dina
pending 41 amber farah
active 4 birch dina
| dina
| pending 78 ember bruno
ready 72 harbor ivan
ready 10 juniper bruno
failed 53 juniper chen
failed 14 delta dina
failed 42 grove hana
active 71 birch ivan
failed 33 cobalt alice
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0014863-p1 | Print only the fourth column for rows where the first column matches 'paused' exactly. | $1 == "paused"{print $4} | failed 67 grove lina
failed 95 indigo alice
closed 9 delta kim
paused 97 grove dina
pending 41 amber farah
active 4 birch dina
| dina
| pending 78 ember bruno
ready 72 harbor ivan
ready 10 juniper bruno
failed 53 juniper chen
failed 14 delta dina
failed 42 grove hana
active 71 birch ivan
failed 33 cobalt alice
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014863 | qwen/qwen3.7-plus | |
awkweave-0014864 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | ERROR 107 harbor
WARN 48 birch
WARN 42 grove
DEBUG 14 juniper
ERROR 107 harbor
ERROR 98 indigo
WARN 94 birch
WARN 50 harbor
DEBUG 79 grove
INFO 1 fable
| INFO 1 fable
| WARN 108 juniper
WARN 9 ember
DEBUG 6 grove
INFO 57 harbor
DEBUG 85 harbor
INFO 28 amber
ERROR 7 fable
ERROR 72 indigo
DEBUG 105 juniper
| INFO 57 harbor
INFO 28 amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014864-p1 | Output all fields from lines where the first field starts with 'INFO'. | $1 ~ /^INFO/ | ERROR 107 harbor
WARN 48 birch
WARN 42 grove
DEBUG 14 juniper
ERROR 107 harbor
ERROR 98 indigo
WARN 94 birch
WARN 50 harbor
DEBUG 79 grove
INFO 1 fable
| INFO 1 fable
| WARN 108 juniper
WARN 9 ember
DEBUG 6 grove
INFO 57 harbor
DEBUG 85 harbor
INFO 28 amber
ERROR 7 fable
ERROR 72 indigo
DEBUG 105 juniper
| INFO 57 harbor
INFO 28 amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014864 | qwen/qwen3.7-plus |
awkweave-0014865 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | grove 90 failed
harbor 47 failed
cobalt 68 failed
harbor 46 paused
fable 110 failed
cobalt 47 ready
fable 999 active
| grove 90 failed
harbor 47 failed
cobalt 68 failed
harbor 46 paused
cobalt 47 ready
| juniper 55 ready
delta 29 paused
harbor 103 ready
birch 75 closed
ember 106 failed
delta 1 closed
harbor 1 ready
indigo 101 failed
fable 999 active
| juniper 55 ready
delta 29 paused
harbor 103 ready
birch 75 closed
ember 106 failed
delta 1 closed
harbor 1 ready
indigo 101 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014865-p1 | Print every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | grove 90 failed
harbor 47 failed
cobalt 68 failed
harbor 46 paused
fable 110 failed
cobalt 47 ready
fable 999 active
| grove 90 failed
harbor 47 failed
cobalt 68 failed
harbor 46 paused
cobalt 47 ready
| juniper 55 ready
delta 29 paused
harbor 103 ready
birch 75 closed
ember 106 failed
delta 1 closed
harbor 1 ready
indigo 101 failed
fable 999 active
| juniper 55 ready
delta 29 paused
harbor 103 ready
birch 75 closed
ember 106 failed
delta 1 closed
harbor 1 ready
indigo 101 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014865 | qwen/qwen3.7-plus |
awkweave-0014866 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | bruno grove 2
chen ember 57
gus harbor 38
farah grove 23
farah birch 26
lina indigo 118
dina grove 52
jules fable 10
alice fable 13
alice harbor 61
| chen ember 57
gus harbor 38
farah grove 23
| ivan amber 51
dina birch 112
lina amber 69
lina harbor 9
ivan ember 90
lina birch 76
| dina birch 112
lina amber 69
lina harbor 9
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014866-p1 | Output lines 2 through 4, inclusive of both endpoints. | NR >= 2 && NR <= 4 | bruno grove 2
chen ember 57
gus harbor 38
farah grove 23
farah birch 26
lina indigo 118
dina grove 52
jules fable 10
alice fable 13
alice harbor 61
| chen ember 57
gus harbor 38
farah grove 23
| ivan amber 51
dina birch 112
lina amber 69
lina harbor 9
ivan ember 90
lina birch 76
| dina birch 112
lina amber 69
lina harbor 9
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014866 | qwen/qwen3.7-plus |
awkweave-0014867 | Output only the first 2 records. | NR <= 2 | chen 31 delta
dina 110 indigo
hana 25 amber
eli 66 ember
eli 4 ember
ivan 89 delta
| chen 31 delta
dina 110 indigo
| lina 91 grove
chen 89 birch
gus 16 ember
farah 53 fable
lina 16 birch
eli 92 amber
| lina 91 grove
chen 89 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014867-p1 | Display only the first 2 records. | NR <= 2 | chen 31 delta
dina 110 indigo
hana 25 amber
eli 66 ember
eli 4 ember
ivan 89 delta
| chen 31 delta
dina 110 indigo
| lina 91 grove
chen 89 birch
gus 16 ember
farah 53 fable
lina 16 birch
eli 92 amber
| lina 91 grove
chen 89 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014867 | qwen/qwen3.7-plus |
awkweave-0014868 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 44 harbor
farah 55 harbor
chen 71 juniper
farah 76 fable
gus 50 ember
chen 112 cobalt
eli 75 ember
chen 44 fable
bruno 95 delta
gus 117 ember
| farah 55 harbor
chen 71 juniper
farah 76 fable
gus 50 ember
chen 112 cobalt
eli 75 ember
chen 44 fable
bruno 95 delta
gus 117 ember
| kim 84 fable
chen 101 delta
gus 74 grove
farah 20 grove
ivan 29 fable
hana 89 grove
farah 54 ember
ivan 14 indigo
lina 29 ember
| chen 101 delta
gus 74 grove
farah 20 grove
ivan 29 fable
hana 89 grove
farah 54 ember
ivan 14 indigo
lina 29 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014868-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | ivan 44 harbor
farah 55 harbor
chen 71 juniper
farah 76 fable
gus 50 ember
chen 112 cobalt
eli 75 ember
chen 44 fable
bruno 95 delta
gus 117 ember
| farah 55 harbor
chen 71 juniper
farah 76 fable
gus 50 ember
chen 112 cobalt
eli 75 ember
chen 44 fable
bruno 95 delta
gus 117 ember
| kim 84 fable
chen 101 delta
gus 74 grove
farah 20 grove
ivan 29 fable
hana 89 grove
farah 54 ember
ivan 14 indigo
lina 29 ember
| chen 101 delta
gus 74 grove
farah 20 grove
ivan 29 fable
hana 89 grove
farah 54 ember
ivan 14 indigo
lina 29 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014868 | qwen/qwen3.7-plus |
awkweave-0014869 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | eli active 114
eli failed 20
gus active 15
dina paused 48
kim failed 2
alice paused 46
jules pending 85
hana closed 84
ivan pending 95
alice failed 54
| 3
| chen paused 83
kim closed 87
ivan failed 0
ivan ready 0
farah failed 84
lina active 43
bruno paused 94
lina pending 4
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014869-p1 | Count the number of records with 'failed' in the second column; output 0 if the count is zero. | $2 == "failed"{n++}END{print n+0} | eli active 114
eli failed 20
gus active 15
dina paused 48
kim failed 2
alice paused 46
jules pending 85
hana closed 84
ivan pending 95
alice failed 54
| 3
| chen paused 83
kim closed 87
ivan failed 0
ivan ready 0
farah failed 84
lina active 43
bruno paused 94
lina pending 4
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014869 | qwen/qwen3.7-plus |
awkweave-0014870 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 30 grove gus
16 indigo ivan
18 ember hana
21 ember jules
6 indigo kim
21 harbor gus
30 amber eli
8 fable dina
10 amber alice
5 ember hana
| 165
| 7 ember farah
4 amber farah
18 ember dina
9 fable lina
1 fable alice
17 birch farah
13 delta jules
22 birch kim
20 harbor farah
2 cobalt bruno
| 113
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014870-p1 | Compute and print the total sum of integer values in the first column. | {s+=$1}END{print s+0} | 30 grove gus
16 indigo ivan
18 ember hana
21 ember jules
6 indigo kim
21 harbor gus
30 amber eli
8 fable dina
10 amber alice
5 ember hana
| 165
| 7 ember farah
4 amber farah
18 ember dina
9 fable lina
1 fable alice
17 birch farah
13 delta jules
22 birch kim
20 harbor farah
2 cobalt bruno
| 113
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014870 | qwen/qwen3.7-plus |
awkweave-0014871 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | lina grove 29
eli fable 5
farah indigo 26
farah cobalt 2
dina amber 13
alice ember 11
alice indigo 6
ivan delta 19
chen delta 23
jules delta 13
| 14.70
| farah cobalt 18
bruno cobalt 15
kim fable 23
chen birch 19
jules indigo 14
eli cobalt 29
jules amber 24
kim ember 11
| 19.12
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014871-p1 | Calculate the average of the third column and print it rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | lina grove 29
eli fable 5
farah indigo 26
farah cobalt 2
dina amber 13
alice ember 11
alice indigo 6
ivan delta 19
chen delta 23
jules delta 13
| 14.70
| farah cobalt 18
bruno cobalt 15
kim fable 23
chen birch 19
jules indigo 14
eli cobalt 29
jules amber 24
kim ember 11
| 19.12
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014871 | qwen/qwen3.7-plus |
awkweave-0014872 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | delta 22 chen
harbor 23 bruno
birch 14 kim
cobalt 1 farah
ember 24 dina
birch 20 chen
delta 9 alice
fable 9 gus
| 1
| harbor 26 eli
indigo 4 jules
fable 1 dina
grove 7 chen
grove 3 dina
birch 8 bruno
fable 27 bruno
fable 15 kim
ember 29 kim
fable 7 ivan
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014872-p1 | Identify and output the minimum number found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | delta 22 chen
harbor 23 bruno
birch 14 kim
cobalt 1 farah
ember 24 dina
birch 20 chen
delta 9 alice
fable 9 gus
| 1
| harbor 26 eli
indigo 4 jules
fable 1 dina
grove 7 chen
grove 3 dina
birch 8 bruno
fable 27 bruno
fable 15 kim
ember 29 kim
fable 7 ivan
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014872 | qwen/qwen3.7-plus |
awkweave-0014873 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 29 grove jules
22 cobalt hana
7 amber alice
28 ember hana
15 indigo kim
29 fable hana
23 indigo lina
7 ember kim
| 29
| 3 birch ivan
16 amber alice
1 birch farah
27 juniper alice
17 fable lina
24 delta lina
8 harbor lina
23 ember alice
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014873-p1 | Locate and display the maximum numeric value within the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 29 grove jules
22 cobalt hana
7 amber alice
28 ember hana
15 indigo kim
29 fable hana
23 indigo lina
7 ember kim
| 29
| 3 birch ivan
16 amber alice
1 birch farah
27 juniper alice
17 fable lina
24 delta lina
8 harbor lina
23 ember alice
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014873 | qwen/qwen3.7-plus |
awkweave-0014874 | Count all input records and print the total. | END{print NR} | farah 108
ivan 36
lina 2
dina 61
farah 51
dina 45
jules 116
| 7
| ivan 91
jules 37
jules 76
hana 8
jules 61
ivan 9
jules 92
alice 58
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014874-p1 | Calculate the total number of input records and print the count. | END{print NR} | farah 108
ivan 36
lina 2
dina 61
farah 51
dina 45
jules 116
| 7
| ivan 91
jules 37
jules 76
hana 8
jules 61
ivan 9
jules 92
alice 58
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014874 | qwen/qwen3.7-plus |
awkweave-0014875 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan cobalt 89
chen cobalt 32
ivan indigo 6
chen cobalt 32
kim grove 32
dina grove 106
dina delta 105
| ivan cobalt 89
chen cobalt 32
ivan indigo 6
kim grove 32
dina grove 106
dina delta 105
| chen fable 41
hana grove 89
alice birch 108
alice indigo 18
ivan cobalt 71
alice birch 108
lina grove 112
lina juniper 26
kim amber 64
| chen fable 41
hana grove 89
alice birch 108
alice indigo 18
ivan cobalt 71
lina grove 112
lina juniper 26
kim amber 64
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014875-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | ivan cobalt 89
chen cobalt 32
ivan indigo 6
chen cobalt 32
kim grove 32
dina grove 106
dina delta 105
| ivan cobalt 89
chen cobalt 32
ivan indigo 6
kim grove 32
dina grove 106
dina delta 105
| chen fable 41
hana grove 89
alice birch 108
alice indigo 18
ivan cobalt 71
alice birch 108
lina grove 112
lina juniper 26
kim amber 64
| chen fable 41
hana grove 89
alice birch 108
alice indigo 18
ivan cobalt 71
lina grove 112
lina juniper 26
kim amber 64
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014875 | qwen/qwen3.7-plus |
awkweave-0014876 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | hana grove 91
bruno delta 103
eli cobalt 38
jules cobalt 42
lina ember 83
eli cobalt 85
ivan delta 1
| hana grove 91
bruno delta 103
eli cobalt 38
jules cobalt 42
lina ember 83
eli cobalt 85
ivan delta 1
| alice cobalt 41
chen birch 53
kim grove 18
bruno indigo 93
eli juniper 74
bruno juniper 79
farah delta 82
ivan grove 58
dina amber 33
kim birch 79
| alice cobalt 41
chen birch 53
kim grove 18
bruno indigo 93
eli juniper 74
bruno juniper 79
farah delta 82
ivan grove 58
dina amber 33
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014876-p1 | Retain only the initial line for every unique value in the third column, keeping the original order intact. | !seen[$3]++ | hana grove 91
bruno delta 103
eli cobalt 38
jules cobalt 42
lina ember 83
eli cobalt 85
ivan delta 1
| hana grove 91
bruno delta 103
eli cobalt 38
jules cobalt 42
lina ember 83
eli cobalt 85
ivan delta 1
| alice cobalt 41
chen birch 53
kim grove 18
bruno indigo 93
eli juniper 74
bruno juniper 79
farah delta 82
ivan grove 58
dina amber 33
kim birch 79
| alice cobalt 41
chen birch 53
kim grove 18
bruno indigo 93
eli juniper 74
bruno juniper 79
farah delta 82
ivan grove 58
dina amber 33
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014876 | qwen/qwen3.7-plus |
awkweave-0014877 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 19 ember
gus 6 grove
lina 10 juniper
ivan 3 birch
ivan 7 delta
jules 3 ember
lina 21 harbor
lina 20 amber
chen 21 birch
kim 29 harbor
| lina 19
gus 25
lina 35
ivan 38
ivan 45
jules 48
lina 69
lina 89
chen 110
kim 139
| jules 6 indigo
bruno 9 juniper
farah 4 cobalt
lina 9 juniper
dina 29 delta
ivan 10 indigo
bruno 17 indigo
dina 15 ember
farah 28 juniper
| jules 6
bruno 15
farah 19
lina 28
dina 57
ivan 67
bruno 84
dina 99
farah 127
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014877-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | lina 19 ember
gus 6 grove
lina 10 juniper
ivan 3 birch
ivan 7 delta
jules 3 ember
lina 21 harbor
lina 20 amber
chen 21 birch
kim 29 harbor
| lina 19
gus 25
lina 35
ivan 38
ivan 45
jules 48
lina 69
lina 89
chen 110
kim 139
| jules 6 indigo
bruno 9 juniper
farah 4 cobalt
lina 9 juniper
dina 29 delta
ivan 10 indigo
bruno 17 indigo
dina 15 ember
farah 28 juniper
| jules 6
bruno 15
farah 19
lina 28
dina 57
ivan 67
bruno 84
dina 99
farah 127
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014877 | qwen/qwen3.7-plus |
awkweave-0014878 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 1 10 ember
gus 2 22 amber
bruno 4 27 grove
gus 19 28 cobalt
gus 17 12 amber
chen 11 15 fable
| farah 11
gus 24
bruno 31
gus 47
gus 29
chen 26
| bruno 8 28 fable
gus 6 29 amber
alice 2 12 indigo
dina 28 2 juniper
ivan 28 12 indigo
lina 9 3 cobalt
eli 14 20 indigo
| bruno 36
gus 35
alice 14
dina 30
ivan 40
lina 12
eli 34
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014878-p1 | For each row, display the first field followed by the combined total of the second and third fields. | {print $1,$2+$3} | farah 1 10 ember
gus 2 22 amber
bruno 4 27 grove
gus 19 28 cobalt
gus 17 12 amber
chen 11 15 fable
| farah 11
gus 24
bruno 31
gus 47
gus 29
chen 26
| bruno 8 28 fable
gus 6 29 amber
alice 2 12 indigo
dina 28 2 juniper
ivan 28 12 indigo
lina 9 3 cobalt
eli 14 20 indigo
| bruno 36
gus 35
alice 14
dina 30
ivan 40
lina 12
eli 34
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014878 | qwen/qwen3.7-plus |
awkweave-0014879 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | kim 3
bruno 6
gus 4
alice 19
dina 7
kim 23
kim 20
chen 17
| kim fail
bruno fail
gus fail
alice fail
dina fail
kim pass
kim fail
chen fail
| kim 28
kim 2
bruno 4
lina 4
hana 14
chen 3
chen 7
chen 18
| kim pass
kim fail
bruno fail
lina fail
hana fail
chen fail
chen fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0014879-p1 | Output the first column with 'pass' if the second column is 23 or greater, otherwise output 'fail'. | {print $1,($2>=23?"pass":"fail")} | kim 3
bruno 6
gus 4
alice 19
dina 7
kim 23
kim 20
chen 17
| kim fail
bruno fail
gus fail
alice fail
dina fail
kim pass
kim fail
chen fail
| kim 28
kim 2
bruno 4
lina 4
hana 14
chen 3
chen 7
chen 18
| kim pass
kim fail
bruno fail
lina fail
hana fail
chen fail
chen fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0014879 | qwen/qwen3.7-plus |
awkweave-0014880 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | ivan cobalt 103
alice fable 14
lina fable 77
jules birch 57
dina indigo 88
lina birch 90
hana delta 16
| COBALT
FABLE
FABLE
BIRCH
INDIGO
BIRCH
DELTA
| ivan harbor 114
eli juniper 5
hana indigo 66
hana harbor 23
ivan harbor 21
hana fable 76
eli cobalt 87
| HARBOR
JUNIPER
INDIGO
HARBOR
HARBOR
FABLE
COBALT
| uppercase | 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.