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-0010110-p1 | Ignore the header line and print the rest of the lines as they are. | NR > 1 | lina 6 delta
gus 74 indigo
alice 56 birch
lina 32 fable
jules 1 amber
bruno 103 juniper
farah 23 amber
lina 87 birch
jules 103 ember
| gus 74 indigo
alice 56 birch
lina 32 fable
jules 1 amber
bruno 103 juniper
farah 23 amber
lina 87 birch
jules 103 ember
| chen 0 cobalt
gus 101 birch
alice 26 juniper
gus 99 birch
hana 44 cobalt
ivan 88 harbor
dina 112 ember
| gus 101 birch
alice 26 juniper
gus 99 birch
hana 44 cobalt
ivan 88 harbor
dina 112 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010110 | qwen/qwen3.7-plus |
awkweave-0010111 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | dina ready 100
eli closed 104
chen closed 120
farah closed 24
gus paused 42
eli paused 46
farah ready 75
| 2
| ivan closed 51
gus active 15
bruno ready 13
gus closed 77
jules closed 85
ivan ready 118
chen failed 108
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010111-p1 | Count records with 'ready' in the second column; output 0 if the count is zero. | $2 == "ready"{n++}END{print n+0} | dina ready 100
eli closed 104
chen closed 120
farah closed 24
gus paused 42
eli paused 46
farah ready 75
| 2
| ivan closed 51
gus active 15
bruno ready 13
gus closed 77
jules closed 85
ivan ready 118
chen failed 108
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010111 | qwen/qwen3.7-plus |
awkweave-0010112 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | lina 12 harbor
bruno 30 fable
jules 19 harbor
hana 11 grove
ivan 23 indigo
chen 17 juniper
| 112
| bruno 3 delta
ivan 9 juniper
alice 12 indigo
gus 16 amber
lina 18 grove
eli 29 delta
eli 3 juniper
farah 26 fable
| 116
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010112-p1 | Compute and display the total sum of integer values in the second column. | {s+=$2}END{print s+0} | lina 12 harbor
bruno 30 fable
jules 19 harbor
hana 11 grove
ivan 23 indigo
chen 17 juniper
| 112
| bruno 3 delta
ivan 9 juniper
alice 12 indigo
gus 16 amber
lina 18 grove
eli 29 delta
eli 3 juniper
farah 26 fable
| 116
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010112 | qwen/qwen3.7-plus |
awkweave-0010113 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan grove 5
eli juniper 12
farah amber 16
alice birch 15
alice fable 21
ivan indigo 11
| 13.33
| kim harbor 30
jules delta 18
kim birch 20
alice amber 10
lina amber 16
eli grove 19
dina grove 11
lina ember 12
| 17.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010113-p1 | Calculate the average of the third column and format it to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan grove 5
eli juniper 12
farah amber 16
alice birch 15
alice fable 21
ivan indigo 11
| 13.33
| kim harbor 30
jules delta 18
kim birch 20
alice amber 10
lina amber 16
eli grove 19
dina grove 11
lina ember 12
| 17.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010113 | qwen/qwen3.7-plus |
awkweave-0010114 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | indigo 27 hana
ember 28 farah
fable 3 gus
juniper 1 alice
grove 18 gus
indigo 19 eli
fable 6 hana
fable 13 alice
| 1
| indigo 15 kim
cobalt 6 bruno
indigo 8 eli
juniper 16 kim
ember 22 kim
ember 6 kim
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010114-p1 | Identify and output the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | indigo 27 hana
ember 28 farah
fable 3 gus
juniper 1 alice
grove 18 gus
indigo 19 eli
fable 6 hana
fable 13 alice
| 1
| indigo 15 kim
cobalt 6 bruno
indigo 8 eli
juniper 16 kim
ember 22 kim
ember 6 kim
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010114 | qwen/qwen3.7-plus |
awkweave-0010115 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | gus ember 4
alice juniper 13
lina ember 9
farah birch 1
alice grove 29
chen amber 24
chen amber 28
kim indigo 6
| 29
| chen cobalt 9
dina juniper 16
kim indigo 27
ivan harbor 28
dina delta 14
eli indigo 18
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010115-p1 | Identify and output the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | gus ember 4
alice juniper 13
lina ember 9
farah birch 1
alice grove 29
chen amber 24
chen amber 28
kim indigo 6
| 29
| chen cobalt 9
dina juniper 16
kim indigo 27
ivan harbor 28
dina delta 14
eli indigo 18
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010115 | qwen/qwen3.7-plus |
awkweave-0010116 | Count all input records and print the total. | END{print NR} | kim 77
farah 85
jules 84
eli 101
lina 61
gus 25
dina 118
dina 95
alice 75
| 9
| jules 67
gus 75
gus 9
jules 108
bruno 66
farah 39
gus 55
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010116-p1 | Count the total number of input records and print the result. | END{print NR} | kim 77
farah 85
jules 84
eli 101
lina 61
gus 25
dina 118
dina 95
alice 75
| 9
| jules 67
gus 75
gus 9
jules 108
bruno 66
farah 39
gus 55
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010116 | qwen/qwen3.7-plus |
awkweave-0010117 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina harbor 23
jules fable 114
bruno fable 4
dina amber 13
lina ember 80
gus cobalt 33
jules fable 114
farah delta 107
ivan delta 107
| dina harbor 23
jules fable 114
bruno fable 4
dina amber 13
lina ember 80
gus cobalt 33
farah delta 107
ivan delta 107
| alice amber 13
chen juniper 95
farah amber 103
dina ember 6
dina indigo 71
hana fable 97
dina cobalt 114
hana fable 97
kim grove 12
ivan grove 60
| alice amber 13
chen juniper 95
farah amber 103
dina ember 6
dina indigo 71
hana fable 97
dina cobalt 114
kim grove 12
ivan grove 60
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010117-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | dina harbor 23
jules fable 114
bruno fable 4
dina amber 13
lina ember 80
gus cobalt 33
jules fable 114
farah delta 107
ivan delta 107
| dina harbor 23
jules fable 114
bruno fable 4
dina amber 13
lina ember 80
gus cobalt 33
farah delta 107
ivan delta 107
| alice amber 13
chen juniper 95
farah amber 103
dina ember 6
dina indigo 71
hana fable 97
dina cobalt 114
hana fable 97
kim grove 12
ivan grove 60
| alice amber 13
chen juniper 95
farah amber 103
dina ember 6
dina indigo 71
hana fable 97
dina cobalt 114
kim grove 12
ivan grove 60
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010117 | qwen/qwen3.7-plus |
awkweave-0010118 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim ember 87
chen amber 89
lina harbor 78
dina birch 51
chen grove 108
kim juniper 113
dina ember 117
farah ember 41
bruno juniper 46
dina ember 98
| kim ember 87
chen amber 89
lina harbor 78
dina birch 51
farah ember 41
bruno juniper 46
| gus grove 92
lina ember 29
gus ember 85
chen cobalt 110
farah ember 85
alice juniper 1
alice fable 44
hana birch 108
hana amber 119
bruno ember 111
| gus grove 92
lina ember 29
chen cobalt 110
farah ember 85
alice juniper 1
hana birch 108
bruno ember 111
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010118-p1 | Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence. | !seen[$1]++ | kim ember 87
chen amber 89
lina harbor 78
dina birch 51
chen grove 108
kim juniper 113
dina ember 117
farah ember 41
bruno juniper 46
dina ember 98
| kim ember 87
chen amber 89
lina harbor 78
dina birch 51
farah ember 41
bruno juniper 46
| gus grove 92
lina ember 29
gus ember 85
chen cobalt 110
farah ember 85
alice juniper 1
alice fable 44
hana birch 108
hana amber 119
bruno ember 111
| gus grove 92
lina ember 29
chen cobalt 110
farah ember 85
alice juniper 1
hana birch 108
bruno ember 111
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010118 | qwen/qwen3.7-plus |
awkweave-0010119 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 10 harbor
dina 23 harbor
dina 19 juniper
chen 7 juniper
farah 2 grove
kim 7 juniper
jules 19 ember
chen 25 amber
| hana 10
dina 33
dina 52
chen 59
farah 61
kim 68
jules 87
chen 112
| farah 13 juniper
gus 27 grove
lina 29 harbor
hana 17 harbor
ivan 18 ember
dina 3 indigo
| farah 13
gus 40
lina 69
hana 86
ivan 104
dina 107
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010119-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | hana 10 harbor
dina 23 harbor
dina 19 juniper
chen 7 juniper
farah 2 grove
kim 7 juniper
jules 19 ember
chen 25 amber
| hana 10
dina 33
dina 52
chen 59
farah 61
kim 68
jules 87
chen 112
| farah 13 juniper
gus 27 grove
lina 29 harbor
hana 17 harbor
ivan 18 ember
dina 3 indigo
| farah 13
gus 40
lina 69
hana 86
ivan 104
dina 107
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010119 | qwen/qwen3.7-plus |
awkweave-0010120 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 20 14 birch
farah 2 8 juniper
gus 3 23 amber
bruno 24 14 juniper
eli 22 10 juniper
kim 5 13 juniper
chen 16 9 birch
alice 27 15 amber
| lina 34
farah 10
gus 26
bruno 38
eli 32
kim 18
chen 25
alice 42
| dina 11 19 delta
hana 15 2 grove
ivan 15 27 grove
eli 10 28 birch
farah 5 7 harbor
bruno 30 27 amber
alice 9 1 juniper
bruno 30 18 amber
gus 23 13 indigo
chen 26 29 birch
| dina 30
hana 17
ivan 42
eli 38
farah 12
bruno 57
alice 10
bruno 48
gus 36
chen 55
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010120-p1 | For each row, display field 1 followed by the combined total of fields 2 and 3. | {print $1,$2+$3} | lina 20 14 birch
farah 2 8 juniper
gus 3 23 amber
bruno 24 14 juniper
eli 22 10 juniper
kim 5 13 juniper
chen 16 9 birch
alice 27 15 amber
| lina 34
farah 10
gus 26
bruno 38
eli 32
kim 18
chen 25
alice 42
| dina 11 19 delta
hana 15 2 grove
ivan 15 27 grove
eli 10 28 birch
farah 5 7 harbor
bruno 30 27 amber
alice 9 1 juniper
bruno 30 18 amber
gus 23 13 indigo
chen 26 29 birch
| dina 30
hana 17
ivan 42
eli 38
farah 12
bruno 57
alice 10
bruno 48
gus 36
chen 55
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010120 | qwen/qwen3.7-plus |
awkweave-0010121 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | farah 7
farah 5
kim 7
gus 4
eli 8
lina 17
kim 20
ivan 2
| farah fail
farah fail
kim fail
gus fail
eli fail
lina fail
kim fail
ivan fail
| chen 9
ivan 27
chen 17
bruno 9
farah 24
chen 29
eli 15
ivan 30
eli 20
jules 21
| chen fail
ivan pass
chen fail
bruno fail
farah fail
chen pass
eli fail
ivan pass
eli fail
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010121-p1 | Output column 1 with the label 'pass' if column 2 is 25 or greater; otherwise, output it with 'fail'. | {print $1,($2>=25?"pass":"fail")} | farah 7
farah 5
kim 7
gus 4
eli 8
lina 17
kim 20
ivan 2
| farah fail
farah fail
kim fail
gus fail
eli fail
lina fail
kim fail
ivan fail
| chen 9
ivan 27
chen 17
bruno 9
farah 24
chen 29
eli 15
ivan 30
eli 20
jules 21
| chen fail
ivan pass
chen fail
bruno fail
farah fail
chen pass
eli fail
ivan pass
eli fail
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010121 | qwen/qwen3.7-plus |
awkweave-0010122 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen cobalt 83
bruno amber 68
hana harbor 88
kim birch 56
farah harbor 41
dina delta 108
chen harbor 14
chen amber 70
| COBALT
AMBER
HARBOR
BIRCH
HARBOR
DELTA
HARBOR
AMBER
| alice juniper 114
hana delta 104
ivan amber 54
hana fable 116
eli amber 40
hana grove 103
eli juniper 23
| JUNIPER
DELTA
AMBER
FABLE
AMBER
GROVE
JUNIPER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010122-p1 | Transform column 2 to uppercase letters and output exclusively that column. | {print toupper($2)} | chen cobalt 83
bruno amber 68
hana harbor 88
kim birch 56
farah harbor 41
dina delta 108
chen harbor 14
chen amber 70
| COBALT
AMBER
HARBOR
BIRCH
HARBOR
DELTA
HARBOR
AMBER
| alice juniper 114
hana delta 104
ivan amber 54
hana fable 116
eli amber 40
hana grove 103
eli juniper 23
| JUNIPER
DELTA
AMBER
FABLE
AMBER
GROVE
JUNIPER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010122 | qwen/qwen3.7-plus |
awkweave-0010123 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | juniper 75
delta 79
harbor 2
ember 60
delta 66
amber 5
ember 25
| ju
de
ha
em
de
am
em
| harbor 80
amber 53
ember 31
fable 59
ember 58
fable 72
| ha
am
em
fa
em
fa
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010123-p1 | Extract and print the first 2 characters from column 1. | {print substr($1,1,2)} | juniper 75
delta 79
harbor 2
ember 60
delta 66
amber 5
ember 25
| ju
de
ha
em
de
am
em
| harbor 80
amber 53
ember 31
fable 59
ember 58
fable 72
| ha
am
em
fa
em
fa
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010123 | qwen/qwen3.7-plus |
awkweave-0010124 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_ember 41
fable_amber 40
delta_fable 64
delta_indigo 11
cobalt_grove 33
fable_delta 10
indigo_delta 105
amber_juniper 109
ember_fable 25
| birch ember
fable amber
delta fable
delta indigo
cobalt grove
fable delta
indigo delta
amber juniper
ember fable
| ember_delta 62
juniper_delta 93
amber_cobalt 67
cobalt_ember 93
cobalt_amber 77
fable_amber 16
cobalt_grove 58
harbor_fable 49
delta_indigo 71
| ember delta
juniper delta
amber cobalt
cobalt ember
cobalt amber
fable amber
cobalt grove
harbor fable
delta indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010124-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_ember 41
fable_amber 40
delta_fable 64
delta_indigo 11
cobalt_grove 33
fable_delta 10
indigo_delta 105
amber_juniper 109
ember_fable 25
| birch ember
fable amber
delta fable
delta indigo
cobalt grove
fable delta
indigo delta
amber juniper
ember fable
| ember_delta 62
juniper_delta 93
amber_cobalt 67
cobalt_ember 93
cobalt_amber 77
fable_amber 16
cobalt_grove 58
harbor_fable 49
delta_indigo 71
| ember delta
juniper delta
amber cobalt
cobalt ember
cobalt amber
fable amber
cobalt grove
harbor fable
delta indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010124 | qwen/qwen3.7-plus |
awkweave-0010125 | 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)} | dina ember 35 paused
chen delta 45 ready
farah delta 49 failed
jules fable 5 failed
gus delta 69 paused
chen indigo 37 failed
eli birch 111 ready
eli delta 64 pending
| paused 35 ember dina
ready 45 delta chen
failed 49 delta farah
failed 5 fable jules
paused 69 delta gus
failed 37 indigo chen
ready 111 birch eli
pending 64 delta eli
| ivan amber 78 active
eli birch 32 closed
gus grove 31 pending
chen fable 37 ready
farah grove 47 paused
ivan harbor 50 closed
gus amber 95 paused
eli indigo 88 closed
| active 78 amber ivan
closed 32 birch eli
pending 31 grove gus
ready 37 fable chen
paused 47 grove farah
closed 50 harbor ivan
paused 95 amber gus
closed 88 indigo eli
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010125-p1 | Invert the sequence of fields for every line and print the complete set of fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | dina ember 35 paused
chen delta 45 ready
farah delta 49 failed
jules fable 5 failed
gus delta 69 paused
chen indigo 37 failed
eli birch 111 ready
eli delta 64 pending
| paused 35 ember dina
ready 45 delta chen
failed 49 delta farah
failed 5 fable jules
paused 69 delta gus
failed 37 indigo chen
ready 111 birch eli
pending 64 delta eli
| ivan amber 78 active
eli birch 32 closed
gus grove 31 pending
chen fable 37 ready
farah grove 47 paused
ivan harbor 50 closed
gus amber 95 paused
eli indigo 88 closed
| active 78 amber ivan
closed 32 birch eli
pending 31 grove gus
ready 37 fable chen
paused 47 grove farah
closed 50 harbor ivan
paused 95 amber gus
closed 88 indigo eli
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010125 | qwen/qwen3.7-plus |
awkweave-0010126 | Print the number of whitespace-separated fields on each line. | {print NF} | alice ember 42 paused
farah grove 116 active
eli ember 58 pending
farah delta 45 pending
chen amber 42 ready
lina birch 58 ready
gus cobalt 65 failed
jules juniper 118 failed
eli juniper 98 ready
| 4
4
4
4
4
4
4
4
4
| ivan juniper 3 failed
lina ember 109 failed
hana amber 51 failed
hana delta 18 ready
gus cobalt 13 pending
farah fable 96 closed
lina cobalt 95 pending
ivan fable 28 closed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010126-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | alice ember 42 paused
farah grove 116 active
eli ember 58 pending
farah delta 45 pending
chen amber 42 ready
lina birch 58 ready
gus cobalt 65 failed
jules juniper 118 failed
eli juniper 98 ready
| 4
4
4
4
4
4
4
4
4
| ivan juniper 3 failed
lina ember 109 failed
hana amber 51 failed
hana delta 18 ready
gus cobalt 13 pending
farah fable 96 closed
lina cobalt 95 pending
ivan fable 28 closed
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010126 | qwen/qwen3.7-plus |
awkweave-0010127 | 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]]} | jules gamma 23
jules beta 70
dina alpha 52
hana beta 84
lina gamma 41
kim alpha 43
jules delta 14
| gamma 2
beta 2
alpha 2
delta 1
| hana beta 68
alice gamma 34
lina alpha 30
hana delta 104
lina alpha 22
lina beta 100
lina alpha 31
eli delta 83
| beta 2
gamma 1
alpha 3
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010127-p1 | Tally the number of records for each distinct value in column 2, listing each value and its frequency 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]]} | jules gamma 23
jules beta 70
dina alpha 52
hana beta 84
lina gamma 41
kim alpha 43
jules delta 14
| gamma 2
beta 2
alpha 2
delta 1
| hana beta 68
alice gamma 34
lina alpha 30
hana delta 104
lina alpha 22
lina beta 100
lina alpha 31
eli delta 83
| beta 2
gamma 1
alpha 3
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010127 | qwen/qwen3.7-plus |
awkweave-0010128 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | lina gamma 1
ivan beta 13
alice alpha 25
dina beta 20
jules beta 23
farah gamma 22
| gamma 23
beta 56
alpha 25
| chen alpha 27
ivan alpha 6
lina gamma 7
jules alpha 22
bruno gamma 17
bruno beta 5
jules delta 24
dina beta 23
| alpha 55
gamma 24
beta 28
delta 24
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010128-p1 | Calculate the sum of column 3 for each group defined by column 2, displaying the results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | lina gamma 1
ivan beta 13
alice alpha 25
dina beta 20
jules beta 23
farah gamma 22
| gamma 23
beta 56
alpha 25
| chen alpha 27
ivan alpha 6
lina gamma 7
jules alpha 22
bruno gamma 17
bruno beta 5
jules delta 24
dina beta 23
| alpha 55
gamma 24
beta 28
delta 24
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010128 | qwen/qwen3.7-plus |
awkweave-0010129 | 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 0
gamma cobalt 95
gamma grove 79
beta cobalt 67
beta amber 50
alpha delta 79
| gamma 3
beta 2
| alpha grove 65
delta harbor 94
gamma harbor 51
alpha ember 78
alpha cobalt 109
alpha grove 64
| alpha 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010129-p1 | List each duplicate value from column 1 along with its frequency, ordered by their first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma harbor 0
gamma cobalt 95
gamma grove 79
beta cobalt 67
beta amber 50
alpha delta 79
| gamma 3
beta 2
| alpha grove 65
delta harbor 94
gamma harbor 51
alpha ember 78
alpha cobalt 109
alpha grove 64
| alpha 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010129 | qwen/qwen3.7-plus |
awkweave-0010130 | 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 region state note
r001 bruno 14 active
r002 jules 22 paused
r003 dina 18 pending
r004 bruno 11 active
r005 eli 25 ready
r006 hana 10 paused
r007 eli 26 active
r008 kim 14 failed
r009 hana 8 active
r010 farah 30 ready
| bruno
jules
dina
bruno
eli
hana
eli
kim
hana
farah
| score region state note
r001 gus 25 pending
r002 lina 26 paused
r003 jules 23 pending
r004 ivan 7 active
r005 ivan 20 paused
r006 gus 8 active
r007 hana 10 active
r008 lina 24 closed
r009 jules 8 active
r010 ivan 21 pending
| gus
lina
jules
ivan
ivan
gus
hana
lina
jules
ivan
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010130-p1 | Skip the header row and output the 'region' field for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | score region state note
r001 bruno 14 active
r002 jules 22 paused
r003 dina 18 pending
r004 bruno 11 active
r005 eli 25 ready
r006 hana 10 paused
r007 eli 26 active
r008 kim 14 failed
r009 hana 8 active
r010 farah 30 ready
| bruno
jules
dina
bruno
eli
hana
eli
kim
hana
farah
| score region state note
r001 gus 25 pending
r002 lina 26 paused
r003 jules 23 pending
r004 ivan 7 active
r005 ivan 20 paused
r006 gus 8 active
r007 hana 10 active
r008 lina 24 closed
r009 jules 8 active
r010 ivan 21 pending
| gus
lina
jules
ivan
ivan
gus
hana
lina
jules
ivan
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010130 | qwen/qwen3.7-plus |
awkweave-0010131 | The first row is a header. Print display_name for data rows whose score is greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 ivan 10 paused
r002 ivan 3 active
r003 farah 5 paused
r004 alice 30 paused
r005 alice 27 ready
r006 farah 26 ready
r007 bruno 13 pending
| alice
alice
farah
| record_id display_name score state
r001 eli 30 paused
r002 alice 21 failed
r003 dina 4 paused
r004 eli 18 closed
r005 kim 1 active
r006 ivan 11 ready
r007 ivan 7 failed
| eli
alice
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010131-p1 | Ignoring the header, print the 'display_name' for any row where the 'score' is strictly greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 ivan 10 paused
r002 ivan 3 active
r003 farah 5 paused
r004 alice 30 paused
r005 alice 27 ready
r006 farah 26 ready
r007 bruno 13 pending
| alice
alice
farah
| record_id display_name score state
r001 eli 30 paused
r002 alice 21 failed
r003 dina 4 paused
r004 eli 18 closed
r005 kim 1 active
r006 ivan 11 ready
r007 ivan 7 failed
| eli
alice
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010131 | qwen/qwen3.7-plus |
awkweave-0010132 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 28 closed
kim 2 active
ivan 18 ready
hana 30 ready
eli 19 active
ivan 4 paused
| 28
2
18
30
19
4
| hana 12 failed
lina 16 active
alice 21 active
eli 13 paused
gus 22 closed
eli 16 closed
chen 6 paused
ivan 13 pending
| 12
16
21
13
22
16
6
13
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010132-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 28 closed
kim 2 active
ivan 18 ready
hana 30 ready
eli 19 active
ivan 4 paused
| 28
2
18
30
19
4
| hana 12 failed
lina 16 active
alice 21 active
eli 13 paused
gus 22 closed
eli 16 closed
chen 6 paused
ivan 13 pending
| 12
16
21
13
22
16
6
13
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0010132 | qwen/qwen3.7-plus |
awkweave-0010133 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | lina,4,paused
farah,23,closed
eli,16,paused
ivan,4,failed
lina,19,ready
kim,7,paused
kim,11,ready
farah,8,active
| farah
eli
lina
| hana,16,active
farah,15,closed
chen,2,pending
hana,9,closed
farah,19,ready
kim,23,ready
eli,28,active
gus,2,ready
| hana
farah
farah
kim
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010133-p1 | For simple CSV data without quoted commas, output the first column if the second column's value is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | lina,4,paused
farah,23,closed
eli,16,paused
ivan,4,failed
lina,19,ready
kim,7,paused
kim,11,ready
farah,8,active
| farah
eli
lina
| hana,16,active
farah,15,closed
chen,2,pending
hana,9,closed
farah,19,ready
kim,23,ready
eli,28,active
gus,2,ready
| hana
farah
farah
kim
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010133 | qwen/qwen3.7-plus |
awkweave-0010134 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules harbor 44
dina indigo 1
ivan harbor 17
ivan indigo 95
ivan juniper 22
kim grove 46
farah grove 73
jules indigo 47
farah amber 12
jules amber 55
| jules harbor 44
dina indigo 1
ivan harbor 17
ivan indigo 95
ivan juniper 22
kim grove 46
farah grove 73
jules indigo 47
farah amber 12
jules amber 55
| kim juniper 84
hana harbor 106
kim delta 42
kim grove 110
bruno juniper 34
eli harbor 20
| kim juniper 84
hana harbor 106
kim delta 42
kim grove 110
bruno juniper 34
eli harbor 20
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010134-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | jules harbor 44
dina indigo 1
ivan harbor 17
ivan indigo 95
ivan juniper 22
kim grove 46
farah grove 73
jules indigo 47
farah amber 12
jules amber 55
| jules harbor 44
dina indigo 1
ivan harbor 17
ivan indigo 95
ivan juniper 22
kim grove 46
farah grove 73
jules indigo 47
farah amber 12
jules amber 55
| kim juniper 84
hana harbor 106
kim delta 42
kim grove 110
bruno juniper 34
eli harbor 20
| kim juniper 84
hana harbor 106
kim delta 42
kim grove 110
bruno juniper 34
eli harbor 20
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010134 | qwen/qwen3.7-plus |
awkweave-0010135 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana indigo 93 ready
bruno grove 32 closed
kim harbor 9 active
farah ember 49 closed
bruno harbor 74 pending
lina cobalt 111 failed
lina cobalt 13 paused
bruno indigo 48 pending
| bruno harbor 74 pending
| eli amber 42 active
hana indigo 91 closed
bruno ember 23 closed
alice amber 48 paused
bruno juniper 118 active
farah harbor 118 failed
bruno fable 11 closed
| bruno juniper 118 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010135-p1 | Output the longest line from the input; in case of a tie in length, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | hana indigo 93 ready
bruno grove 32 closed
kim harbor 9 active
farah ember 49 closed
bruno harbor 74 pending
lina cobalt 111 failed
lina cobalt 13 paused
bruno indigo 48 pending
| bruno harbor 74 pending
| eli amber 42 active
hana indigo 91 closed
bruno ember 23 closed
alice amber 48 paused
bruno juniper 118 active
farah harbor 118 failed
bruno fable 11 closed
| bruno juniper 118 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010135 | qwen/qwen3.7-plus |
awkweave-0010136 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | jules 99
kim 102
hana 99
chen 26
gus 120
jules 59
| jules 99
hana 99
gus 120
| hana 73
hana 111
hana 54
chen 114
lina 108
gus 92
kim 54
lina 63
kim 97
| hana 73
hana 54
lina 108
kim 54
kim 97
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010136-p1 | Print lines 1, 3, 5, and so on (every second line starting from the first). | NR%2==1 | jules 99
kim 102
hana 99
chen 26
gus 120
jules 59
| jules 99
hana 99
gus 120
| hana 73
hana 111
hana 54
chen 114
lina 108
gus 92
kim 54
lina 63
kim 97
| hana 73
hana 54
lina 108
kim 54
kim 97
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010136 | qwen/qwen3.7-plus |
awkweave-0010137 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta harbor 24
alpha juniper 84
delta harbor 6
delta juniper 68
beta fable 59
gamma ember 71
| 4
| beta amber 4
gamma delta 74
gamma juniper 113
beta indigo 97
alpha delta 55
beta grove 77
gamma cobalt 113
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010137-p1 | Calculate the number of unique values in the second column and output only that total count. | {if(!seen[$2]++)n++}END{print n+0} | beta harbor 24
alpha juniper 84
delta harbor 6
delta juniper 68
beta fable 59
gamma ember 71
| 4
| beta amber 4
gamma delta 74
gamma juniper 113
beta indigo 97
alpha delta 55
beta grove 77
gamma cobalt 113
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010137 | qwen/qwen3.7-plus |
awkweave-0010138 | 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} | dina 19 0
hana 13 16
farah 19 12
eli 7 3
gus 27 19
dina 3 4
hana 26 21
dina 30 4
bruno 11 26
| hana 0.81
farah 1.58
eli 2.33
gus 1.42
dina 0.75
hana 1.24
dina 7.50
bruno 0.42
| farah 12 0
gus 28 23
dina 29 26
alice 20 29
hana 22 8
kim 28 2
jules 26 30
dina 12 12
kim 12 2
lina 5 9
| gus 1.22
dina 1.12
alice 0.69
hana 2.75
kim 14.00
jules 0.87
dina 1.00
kim 6.00
lina 0.56
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010138-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 19 0
hana 13 16
farah 19 12
eli 7 3
gus 27 19
dina 3 4
hana 26 21
dina 30 4
bruno 11 26
| hana 0.81
farah 1.58
eli 2.33
gus 1.42
dina 0.75
hana 1.24
dina 7.50
bruno 0.42
| farah 12 0
gus 28 23
dina 29 26
alice 20 29
hana 22 8
kim 28 2
jules 26 30
dina 12 12
kim 12 2
lina 5 9
| gus 1.22
dina 1.12
alice 0.69
hana 2.75
kim 14.00
jules 0.87
dina 1.00
kim 6.00
lina 0.56
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010138 | qwen/qwen3.7-plus |
awkweave-0010139 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | hana grove 7
ivan grove 7
chen grove 15
alice amber 7
lina fable 23
bruno delta 19
farah grove 19
| lina fable 23
bruno delta 19
farah grove 19
| jules ember 27
eli juniper 27
chen birch 18
dina grove 21
alice cobalt 16
eli grove 20
gus cobalt 9
alice delta 8
lina cobalt 4
ivan fable 17
| jules ember 27
eli juniper 27
dina grove 21
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010139-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain original input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | hana grove 7
ivan grove 7
chen grove 15
alice amber 7
lina fable 23
bruno delta 19
farah grove 19
| lina fable 23
bruno delta 19
farah grove 19
| jules ember 27
eli juniper 27
chen birch 18
dina grove 21
alice cobalt 16
eli grove 20
gus cobalt 9
alice delta 8
lina cobalt 4
ivan fable 17
| jules ember 27
eli juniper 27
dina grove 21
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010139 | qwen/qwen3.7-plus |
awkweave-0010140 | Print column 5 followed by column 3 for every record. | {print $5, $3} | cobalt 54 89 amber 14
ember 117 19 indigo 116
amber 104 110 cobalt 75
juniper 106 14 fable 87
juniper 29 104 cobalt 119
cobalt 67 39 ember 31
| 14 89
116 19
75 110
87 14
119 104
31 39
| birch 47 111 indigo 19
harbor 78 17 amber 74
harbor 84 26 fable 101
ember 47 57 fable 85
grove 70 78 grove 102
grove 33 92 ember 83
| 19 111
74 17
101 26
85 57
102 78
83 92
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010140-p1 | For every record, print the fifth column followed by the third column. | {print $5, $3} | cobalt 54 89 amber 14
ember 117 19 indigo 116
amber 104 110 cobalt 75
juniper 106 14 fable 87
juniper 29 104 cobalt 119
cobalt 67 39 ember 31
| 14 89
116 19
75 110
87 14
119 104
31 39
| birch 47 111 indigo 19
harbor 78 17 amber 74
harbor 84 26 fable 101
ember 47 57 fable 85
grove 70 78 grove 102
grove 33 92 ember 83
| 19 111
74 17
101 26
85 57
102 78
83 92
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010140 | qwen/qwen3.7-plus |
awkweave-0010141 | Print the last field of every input line. | {print $NF} | failed grove ready bruno juniper
failed birch paused chen cobalt
active ember closed chen juniper
failed amber ready eli grove
closed birch active eli delta
ready harbor paused hana ember
closed harbor pending ivan ember
active harbor active bruno fable
failed ember paused chen fable
ready juniper failed bruno amber
| juniper
cobalt
juniper
grove
delta
ember
ember
fable
fable
amber
| pending fable ready bruno delta
closed fable failed ivan delta
paused harbor active lina delta
closed cobalt ready hana grove
pending birch pending farah ember
pending juniper ready hana fable
| delta
delta
delta
grove
ember
fable
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010141-p1 | Extract and print the final field from each line of input. | {print $NF} | failed grove ready bruno juniper
failed birch paused chen cobalt
active ember closed chen juniper
failed amber ready eli grove
closed birch active eli delta
ready harbor paused hana ember
closed harbor pending ivan ember
active harbor active bruno fable
failed ember paused chen fable
ready juniper failed bruno amber
| juniper
cobalt
juniper
grove
delta
ember
ember
fable
fable
amber
| pending fable ready bruno delta
closed fable failed ivan delta
paused harbor active lina delta
closed cobalt ready hana grove
pending birch pending farah ember
pending juniper ready hana fable
| delta
delta
delta
grove
ember
fable
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010141 | qwen/qwen3.7-plus |
awkweave-0010142 | Print the complete records where column 2 is greater than 64. | $2 > 64 | pending 94 pending
active 62 failed
pending 23 closed
closed 76 active
failed 120 ready
closed 111 closed
ready 31 pending
pending 8 failed
pending 39 closed
active 82 pending
| pending 94 pending
closed 76 active
failed 120 ready
closed 111 closed
active 82 pending
| ready 30 closed
pending 45 ready
failed 39 paused
ready 56 active
paused 94 paused
pending 57 paused
failed 2 pending
| paused 94 paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010142-p1 | Output full rows where the value in the second column exceeds 64. | $2 > 64 | pending 94 pending
active 62 failed
pending 23 closed
closed 76 active
failed 120 ready
closed 111 closed
ready 31 pending
pending 8 failed
pending 39 closed
active 82 pending
| pending 94 pending
closed 76 active
failed 120 ready
closed 111 closed
active 82 pending
| ready 30 closed
pending 45 ready
failed 39 paused
ready 56 active
paused 94 paused
pending 57 paused
failed 2 pending
| paused 94 paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010142 | qwen/qwen3.7-plus |
awkweave-0010143 | Show whole lines whose 3rd field is between 12 and 26, inclusive. | $3 >= 12 && $3 <= 26 | paused ember 15 harbor
pending ember 2 cobalt
active amber 20 harbor
pending cobalt 29 indigo
pending harbor 13 amber
paused harbor 1 juniper
ready cobalt 30 amber
failed delta 29 delta
| paused ember 15 harbor
active amber 20 harbor
pending harbor 13 amber
| closed birch 2 juniper
ready harbor 17 indigo
pending indigo 2 grove
pending juniper 26 fable
paused indigo 19 fable
failed harbor 12 birch
ready grove 29 indigo
| ready harbor 17 indigo
pending juniper 26 fable
paused indigo 19 fable
failed harbor 12 birch
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010143-p1 | Display entire lines where the third field falls within the inclusive range of 12 to 26. | $3 >= 12 && $3 <= 26 | paused ember 15 harbor
pending ember 2 cobalt
active amber 20 harbor
pending cobalt 29 indigo
pending harbor 13 amber
paused harbor 1 juniper
ready cobalt 30 amber
failed delta 29 delta
| paused ember 15 harbor
active amber 20 harbor
pending harbor 13 amber
| closed birch 2 juniper
ready harbor 17 indigo
pending indigo 2 grove
pending juniper 26 fable
paused indigo 19 fable
failed harbor 12 birch
ready grove 29 indigo
| ready harbor 17 indigo
pending juniper 26 fable
paused indigo 19 fable
failed harbor 12 birch
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010143 | qwen/qwen3.7-plus |
awkweave-0010144 | Print column 3 only for rows where column 2 is exactly active. | $2 == "active"{print $3} | indigo ready ivan 93
birch active eli 107
harbor failed bruno 27
amber failed ivan 98
ember closed dina 65
fable ready chen 57
birch failed chen 103
ember ready gus 31
amber paused ivan 57
delta paused hana 8
| eli
| juniper active lina 54
fable ready dina 15
grove active ivan 76
delta closed kim 87
harbor failed bruno 52
harbor ready farah 27
birch closed chen 93
fable ready dina 91
juniper ready kim 39
| lina
ivan
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010144-p1 | Print only the third column for entries where the second column is strictly equal to active. | $2 == "active"{print $3} | indigo ready ivan 93
birch active eli 107
harbor failed bruno 27
amber failed ivan 98
ember closed dina 65
fable ready chen 57
birch failed chen 103
ember ready gus 31
amber paused ivan 57
delta paused hana 8
| eli
| juniper active lina 54
fable ready dina 15
grove active ivan 76
delta closed kim 87
harbor failed bruno 52
harbor ready farah 27
birch closed chen 93
fable ready dina 91
juniper ready kim 39
| lina
ivan
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010144 | qwen/qwen3.7-plus |
awkweave-0010145 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 24 ERROR birch
6 INFO birch
72 INFO birch
95 DEBUG ember
68 INFO fable
24 ERROR fable
32 ERROR juniper
103 WARN delta
27 DEBUG ember
| 24 ERROR birch
24 ERROR fable
32 ERROR juniper
| 113 ERROR birch
38 WARN birch
93 WARN grove
104 INFO fable
8 ERROR indigo
51 WARN harbor
98 INFO delta
| 113 ERROR birch
8 ERROR indigo
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010145-p1 | Output all fields from rows where the second field starts with the string ERROR. | $2 ~ /^ERROR/ | 24 ERROR birch
6 INFO birch
72 INFO birch
95 DEBUG ember
68 INFO fable
24 ERROR fable
32 ERROR juniper
103 WARN delta
27 DEBUG ember
| 24 ERROR birch
24 ERROR fable
32 ERROR juniper
| 113 ERROR birch
38 WARN birch
93 WARN grove
104 INFO fable
8 ERROR indigo
51 WARN harbor
98 INFO delta
| 113 ERROR birch
8 ERROR indigo
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010145 | qwen/qwen3.7-plus |
awkweave-0010146 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | indigo 33 failed
indigo 78 active
amber 20 ready
ember 65 failed
juniper 73 failed
birch 7 failed
grove 72 failed
grove 27 closed
birch 2 pending
grove 99 active
harbor 999 active
| indigo 33 failed
indigo 78 active
amber 20 ready
ember 65 failed
juniper 73 failed
birch 7 failed
grove 72 failed
grove 27 closed
birch 2 pending
grove 99 active
| harbor 108 ready
juniper 11 closed
delta 37 pending
amber 56 ready
birch 13 pending
indigo 67 failed
ember 52 ready
harbor 999 active
| juniper 11 closed
delta 37 pending
amber 56 ready
birch 13 pending
indigo 67 failed
ember 52 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010146-p1 | Print every line that does not contain the exact substring harbor. | $0 !~ /harbor/ | indigo 33 failed
indigo 78 active
amber 20 ready
ember 65 failed
juniper 73 failed
birch 7 failed
grove 72 failed
grove 27 closed
birch 2 pending
grove 99 active
harbor 999 active
| indigo 33 failed
indigo 78 active
amber 20 ready
ember 65 failed
juniper 73 failed
birch 7 failed
grove 72 failed
grove 27 closed
birch 2 pending
grove 99 active
| harbor 108 ready
juniper 11 closed
delta 37 pending
amber 56 ready
birch 13 pending
indigo 67 failed
ember 52 ready
harbor 999 active
| juniper 11 closed
delta 37 pending
amber 56 ready
birch 13 pending
indigo 67 failed
ember 52 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010146 | qwen/qwen3.7-plus |
awkweave-0010147 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | eli indigo 13
ivan birch 24
jules harbor 114
chen amber 97
chen grove 119
alice amber 23
eli birch 70
ivan birch 55
| ivan birch 24
jules harbor 114
chen amber 97
| farah birch 64
gus harbor 92
farah birch 94
alice ember 50
bruno indigo 20
dina juniper 49
| gus harbor 92
farah birch 94
alice ember 50
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010147-p1 | Output lines 2 through 4, inclusive of both the start and end lines. | NR >= 2 && NR <= 4 | eli indigo 13
ivan birch 24
jules harbor 114
chen amber 97
chen grove 119
alice amber 23
eli birch 70
ivan birch 55
| ivan birch 24
jules harbor 114
chen amber 97
| farah birch 64
gus harbor 92
farah birch 94
alice ember 50
bruno indigo 20
dina juniper 49
| gus harbor 92
farah birch 94
alice ember 50
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010147 | qwen/qwen3.7-plus |
awkweave-0010148 | Output only the first 2 records. | NR <= 2 | lina 84 indigo
bruno 87 harbor
farah 27 grove
chen 61 indigo
gus 104 amber
gus 7 indigo
bruno 114 fable
chen 100 ember
farah 27 grove
chen 77 delta
| lina 84 indigo
bruno 87 harbor
| kim 93 delta
ivan 88 grove
alice 112 harbor
chen 85 fable
hana 96 delta
bruno 29 delta
ivan 1 amber
eli 66 birch
lina 43 juniper
| kim 93 delta
ivan 88 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010148-p1 | Display only the first two records. | NR <= 2 | lina 84 indigo
bruno 87 harbor
farah 27 grove
chen 61 indigo
gus 104 amber
gus 7 indigo
bruno 114 fable
chen 100 ember
farah 27 grove
chen 77 delta
| lina 84 indigo
bruno 87 harbor
| kim 93 delta
ivan 88 grove
alice 112 harbor
chen 85 fable
hana 96 delta
bruno 29 delta
ivan 1 amber
eli 66 birch
lina 43 juniper
| kim 93 delta
ivan 88 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010148 | qwen/qwen3.7-plus |
awkweave-0010149 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 88 fable
jules 102 juniper
alice 65 fable
gus 115 grove
hana 99 delta
alice 78 fable
| jules 102 juniper
alice 65 fable
gus 115 grove
hana 99 delta
alice 78 fable
| jules 21 birch
gus 51 amber
gus 8 delta
jules 76 indigo
farah 105 birch
farah 3 cobalt
jules 84 harbor
dina 67 juniper
alice 67 ember
farah 70 juniper
| gus 51 amber
gus 8 delta
jules 76 indigo
farah 105 birch
farah 3 cobalt
jules 84 harbor
dina 67 juniper
alice 67 ember
farah 70 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010149-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | chen 88 fable
jules 102 juniper
alice 65 fable
gus 115 grove
hana 99 delta
alice 78 fable
| jules 102 juniper
alice 65 fable
gus 115 grove
hana 99 delta
alice 78 fable
| jules 21 birch
gus 51 amber
gus 8 delta
jules 76 indigo
farah 105 birch
farah 3 cobalt
jules 84 harbor
dina 67 juniper
alice 67 ember
farah 70 juniper
| gus 51 amber
gus 8 delta
jules 76 indigo
farah 105 birch
farah 3 cobalt
jules 84 harbor
dina 67 juniper
alice 67 ember
farah 70 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010149 | qwen/qwen3.7-plus |
awkweave-0010150 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | eli failed 101
alice active 5
dina paused 40
kim ready 30
dina paused 105
dina active 30
farah active 64
| 0
| lina paused 22
alice closed 82
bruno active 8
hana closed 111
jules failed 80
jules active 92
alice failed 90
hana active 87
alice active 7
chen active 23
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010150-p1 | Count the number of records where column 2 contains pending; output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | eli failed 101
alice active 5
dina paused 40
kim ready 30
dina paused 105
dina active 30
farah active 64
| 0
| lina paused 22
alice closed 82
bruno active 8
hana closed 111
jules failed 80
jules active 92
alice failed 90
hana active 87
alice active 7
chen active 23
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010150 | qwen/qwen3.7-plus |
awkweave-0010151 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | cobalt eli 15
grove farah 9
grove kim 19
delta bruno 6
fable lina 11
ember bruno 2
juniper alice 17
cobalt chen 23
indigo gus 27
| 129
| amber jules 18
grove farah 17
amber ivan 11
amber lina 2
amber gus 12
indigo lina 14
grove farah 23
delta kim 8
juniper gus 30
indigo alice 30
| 165
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010151-p1 | Compute and display the total sum of integer values found in column 3. | {s+=$3}END{print s+0} | cobalt eli 15
grove farah 9
grove kim 19
delta bruno 6
fable lina 11
ember bruno 2
juniper alice 17
cobalt chen 23
indigo gus 27
| 129
| amber jules 18
grove farah 17
amber ivan 11
amber lina 2
amber gus 12
indigo lina 14
grove farah 23
delta kim 8
juniper gus 30
indigo alice 30
| 165
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010151 | qwen/qwen3.7-plus |
awkweave-0010152 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | dina cobalt 28
gus juniper 10
jules ember 30
farah delta 24
ivan amber 26
kim birch 13
gus harbor 9
jules cobalt 13
lina grove 6
| 17.67
| hana birch 24
dina birch 17
chen delta 16
eli ember 8
kim cobalt 28
eli amber 8
| 16.83
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010152-p1 | Calculate the average of values in column 3 and print the result rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | dina cobalt 28
gus juniper 10
jules ember 30
farah delta 24
ivan amber 26
kim birch 13
gus harbor 9
jules cobalt 13
lina grove 6
| 17.67
| hana birch 24
dina birch 17
chen delta 16
eli ember 8
kim cobalt 28
eli amber 8
| 16.83
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010152 | qwen/qwen3.7-plus |
awkweave-0010153 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | harbor 28 eli
birch 24 dina
ember 10 hana
fable 24 alice
delta 24 alice
ember 5 dina
grove 26 kim
delta 8 bruno
delta 30 hana
juniper 27 chen
| 5
| harbor 19 lina
harbor 11 farah
indigo 12 kim
harbor 7 jules
ember 22 farah
ember 15 kim
birch 7 gus
harbor 23 hana
fable 9 bruno
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010153-p1 | Identify and output the minimum numeric value present in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | harbor 28 eli
birch 24 dina
ember 10 hana
fable 24 alice
delta 24 alice
ember 5 dina
grove 26 kim
delta 8 bruno
delta 30 hana
juniper 27 chen
| 5
| harbor 19 lina
harbor 11 farah
indigo 12 kim
harbor 7 jules
ember 22 farah
ember 15 kim
birch 7 gus
harbor 23 hana
fable 9 bruno
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010153 | qwen/qwen3.7-plus |
awkweave-0010154 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | eli 23 cobalt
hana 6 birch
dina 12 harbor
alice 20 grove
kim 7 indigo
lina 3 juniper
farah 2 cobalt
| 23
| lina 2 indigo
dina 16 cobalt
hana 16 delta
gus 30 amber
jules 23 ember
kim 24 indigo
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010154-p1 | Identify and output the maximum numerical value found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | eli 23 cobalt
hana 6 birch
dina 12 harbor
alice 20 grove
kim 7 indigo
lina 3 juniper
farah 2 cobalt
| 23
| lina 2 indigo
dina 16 cobalt
hana 16 delta
gus 30 amber
jules 23 ember
kim 24 indigo
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010154 | qwen/qwen3.7-plus |
awkweave-0010155 | Count all input records and print the total. | END{print NR} | bruno 95
jules 83
chen 83
gus 56
bruno 97
hana 74
dina 51
| 7
| hana 66
jules 58
lina 89
jules 58
jules 94
gus 41
lina 34
chen 32
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010155-p1 | Calculate the total number of input records and display the count. | END{print NR} | bruno 95
jules 83
chen 83
gus 56
bruno 97
hana 74
dina 51
| 7
| hana 66
jules 58
lina 89
jules 58
jules 94
gus 41
lina 34
chen 32
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010155 | qwen/qwen3.7-plus |
awkweave-0010156 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules harbor 18
bruno fable 64
kim amber 17
kim amber 17
lina delta 70
bruno juniper 63
farah ember 29
alice indigo 5
ivan cobalt 74
jules delta 60
| jules harbor 18
bruno fable 64
kim amber 17
lina delta 70
bruno juniper 63
farah ember 29
alice indigo 5
ivan cobalt 74
jules delta 60
| gus juniper 83
ivan fable 35
dina juniper 16
gus cobalt 115
kim fable 48
jules indigo 119
kim indigo 45
gus fable 0
farah harbor 48
gus cobalt 115
jules grove 45
| gus juniper 83
ivan fable 35
dina juniper 16
gus cobalt 115
kim fable 48
jules indigo 119
kim indigo 45
gus fable 0
farah harbor 48
jules grove 45
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010156-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | jules harbor 18
bruno fable 64
kim amber 17
kim amber 17
lina delta 70
bruno juniper 63
farah ember 29
alice indigo 5
ivan cobalt 74
jules delta 60
| jules harbor 18
bruno fable 64
kim amber 17
lina delta 70
bruno juniper 63
farah ember 29
alice indigo 5
ivan cobalt 74
jules delta 60
| gus juniper 83
ivan fable 35
dina juniper 16
gus cobalt 115
kim fable 48
jules indigo 119
kim indigo 45
gus fable 0
farah harbor 48
gus cobalt 115
jules grove 45
| gus juniper 83
ivan fable 35
dina juniper 16
gus cobalt 115
kim fable 48
jules indigo 119
kim indigo 45
gus fable 0
farah harbor 48
jules grove 45
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010156 | qwen/qwen3.7-plus |
awkweave-0010157 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | ivan indigo 14
dina harbor 70
dina delta 32
eli ember 71
chen grove 32
bruno ember 80
chen amber 59
jules harbor 35
bruno juniper 23
gus birch 16
| ivan indigo 14
dina harbor 70
dina delta 32
eli ember 71
bruno ember 80
chen amber 59
jules harbor 35
bruno juniper 23
gus birch 16
| eli harbor 16
ivan ember 48
kim harbor 27
jules fable 48
lina ember 38
kim amber 76
dina ember 93
jules delta 111
| eli harbor 16
ivan ember 48
kim harbor 27
lina ember 38
kim amber 76
dina ember 93
jules delta 111
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010157-p1 | Retain only the initial line for every unique value in the third column, keeping the input order intact. | !seen[$3]++ | ivan indigo 14
dina harbor 70
dina delta 32
eli ember 71
chen grove 32
bruno ember 80
chen amber 59
jules harbor 35
bruno juniper 23
gus birch 16
| ivan indigo 14
dina harbor 70
dina delta 32
eli ember 71
bruno ember 80
chen amber 59
jules harbor 35
bruno juniper 23
gus birch 16
| eli harbor 16
ivan ember 48
kim harbor 27
jules fable 48
lina ember 38
kim amber 76
dina ember 93
jules delta 111
| eli harbor 16
ivan ember 48
kim harbor 27
lina ember 38
kim amber 76
dina ember 93
jules delta 111
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010157 | qwen/qwen3.7-plus |
awkweave-0010158 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 20 indigo
gus 20 delta
hana 22 birch
jules 9 fable
bruno 8 amber
bruno 7 delta
bruno 2 fable
eli 1 cobalt
chen 19 cobalt
farah 2 cobalt
| hana 20
gus 40
hana 62
jules 71
bruno 79
bruno 86
bruno 88
eli 89
chen 108
farah 110
| chen 21 ember
dina 24 ember
farah 15 birch
farah 26 cobalt
lina 7 amber
eli 11 birch
farah 24 harbor
hana 12 juniper
farah 6 harbor
farah 9 ember
| chen 21
dina 45
farah 60
farah 86
lina 93
eli 104
farah 128
hana 140
farah 146
farah 155
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010158-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | hana 20 indigo
gus 20 delta
hana 22 birch
jules 9 fable
bruno 8 amber
bruno 7 delta
bruno 2 fable
eli 1 cobalt
chen 19 cobalt
farah 2 cobalt
| hana 20
gus 40
hana 62
jules 71
bruno 79
bruno 86
bruno 88
eli 89
chen 108
farah 110
| chen 21 ember
dina 24 ember
farah 15 birch
farah 26 cobalt
lina 7 amber
eli 11 birch
farah 24 harbor
hana 12 juniper
farah 6 harbor
farah 9 ember
| chen 21
dina 45
farah 60
farah 86
lina 93
eli 104
farah 128
hana 140
farah 146
farah 155
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010158 | qwen/qwen3.7-plus |
awkweave-0010159 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 19 10 delta
jules 16 29 indigo
alice 25 30 birch
bruno 5 4 cobalt
eli 17 16 fable
hana 28 8 indigo
bruno 26 20 grove
| bruno 29
jules 45
alice 55
bruno 9
eli 33
hana 36
bruno 46
| eli 18 13 cobalt
ivan 15 10 delta
chen 30 13 birch
farah 4 2 ember
alice 7 28 amber
chen 8 5 juniper
lina 18 30 harbor
alice 6 15 indigo
ivan 26 30 juniper
| eli 31
ivan 25
chen 43
farah 6
alice 35
chen 13
lina 48
alice 21
ivan 56
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0010159-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | bruno 19 10 delta
jules 16 29 indigo
alice 25 30 birch
bruno 5 4 cobalt
eli 17 16 fable
hana 28 8 indigo
bruno 26 20 grove
| bruno 29
jules 45
alice 55
bruno 9
eli 33
hana 36
bruno 46
| eli 18 13 cobalt
ivan 15 10 delta
chen 30 13 birch
farah 4 2 ember
alice 7 28 amber
chen 8 5 juniper
lina 18 30 harbor
alice 6 15 indigo
ivan 26 30 juniper
| eli 31
ivan 25
chen 43
farah 6
alice 35
chen 13
lina 48
alice 21
ivan 56
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0010159 | qwen/qwen3.7-plus |
awkweave-0010160 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | dina 28
chen 13
jules 30
kim 13
eli 5
bruno 27
chen 23
dina 23
farah 10
| dina pass
chen fail
jules pass
kim fail
eli fail
bruno pass
chen fail
dina fail
farah fail
| eli 12
gus 9
dina 11
alice 5
hana 21
eli 9
hana 11
| eli fail
gus fail
dina fail
alice fail
hana fail
eli fail
hana fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.