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-0051052-p1 | Display the final field from every line in the input. | {print $NF} | active failed hana 85
failed active hana 85
paused pending bruno 109
active ready lina 25
closed paused bruno 1
active ready dina 108
closed pending kim 35
closed active lina 80
active pending kim 4
| 85
85
109
25
1
108
35
80
4
| closed paused dina 10
paused paused ivan 74
active ready alice 116
pending closed lina 107
paused active alice 95
pending paused alice 85
active ready alice 64
active failed jules 56
active paused alice 109
pending failed ivan 78
| 10
74
116
107
95
85
64
56
109
78
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051052 | qwen/qwen3.7-plus |
awkweave-0051053 | Print the complete records where column 3 is greater than 43. | $3 > 43 | gus closed 9 pending juniper
bruno active 32 paused delta
farah ready 81 paused fable
lina pending 26 ready cobalt
eli failed 75 active grove
kim active 35 pending grove
bruno pending 51 pending cobalt
bruno failed 58 closed amber
| farah ready 81 paused fable
eli failed 75 active grove
bruno pending 51 pending cobalt
bruno failed 58 closed amber
| ivan ready 15 closed harbor
jules closed 100 failed indigo
hana paused 7 pending cobalt
bruno closed 85 ready ember
gus active 52 closed cobalt
kim failed 68 pending harbor
bruno closed 8 closed indigo
kim failed 115 failed birch
| jules closed 100 failed indigo
bruno closed 85 ready ember
gus active 52 closed cobalt
kim failed 68 pending harbor
kim failed 115 failed birch
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051053-p1 | Output the full records for which the value in column 3 exceeds 43. | $3 > 43 | gus closed 9 pending juniper
bruno active 32 paused delta
farah ready 81 paused fable
lina pending 26 ready cobalt
eli failed 75 active grove
kim active 35 pending grove
bruno pending 51 pending cobalt
bruno failed 58 closed amber
| farah ready 81 paused fable
eli failed 75 active grove
bruno pending 51 pending cobalt
bruno failed 58 closed amber
| ivan ready 15 closed harbor
jules closed 100 failed indigo
hana paused 7 pending cobalt
bruno closed 85 ready ember
gus active 52 closed cobalt
kim failed 68 pending harbor
bruno closed 8 closed indigo
kim failed 115 failed birch
| jules closed 100 failed indigo
bruno closed 85 ready ember
gus active 52 closed cobalt
kim failed 68 pending harbor
kim failed 115 failed birch
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051053 | qwen/qwen3.7-plus |
awkweave-0051054 | Show whole lines whose 1st field is between 11 and 25, inclusive. | $1 >= 11 && $1 <= 25 | 26 chen pending delta
25 lina paused cobalt
13 dina active delta
7 jules active fable
8 kim active cobalt
14 farah paused harbor
| 25 lina paused cobalt
13 dina active delta
14 farah paused harbor
| 10 farah ready cobalt
18 farah failed ember
23 bruno paused cobalt
17 farah active fable
18 gus closed birch
25 eli paused cobalt
| 18 farah failed ember
23 bruno paused cobalt
17 farah active fable
18 gus closed birch
25 eli paused cobalt
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051054-p1 | Display entire lines where the first field falls within the inclusive range of 11 to 25. | $1 >= 11 && $1 <= 25 | 26 chen pending delta
25 lina paused cobalt
13 dina active delta
7 jules active fable
8 kim active cobalt
14 farah paused harbor
| 25 lina paused cobalt
13 dina active delta
14 farah paused harbor
| 10 farah ready cobalt
18 farah failed ember
23 bruno paused cobalt
17 farah active fable
18 gus closed birch
25 eli paused cobalt
| 18 farah failed ember
23 bruno paused cobalt
17 farah active fable
18 gus closed birch
25 eli paused cobalt
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051054 | qwen/qwen3.7-plus |
awkweave-0051055 | Print column 3 only for rows where column 4 is exactly ready. | $4 == "ready"{print $3} | harbor 83 jules closed
grove 91 jules paused
birch 30 lina active
cobalt 67 eli ready
ember 79 lina ready
amber 23 ivan paused
cobalt 84 farah closed
ember 118 alice ready
amber 78 bruno active
amber 107 gus ready
| eli
lina
alice
gus
| indigo 117 lina closed
birch 65 hana closed
delta 114 farah pending
ember 69 alice pending
cobalt 6 gus closed
delta 44 gus closed
birch 84 ivan failed
grove 103 kim paused
birch 2 chen paused
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0051055-p1 | Output only the third column for rows where the fourth column matches the string 'ready' exactly. | $4 == "ready"{print $3} | harbor 83 jules closed
grove 91 jules paused
birch 30 lina active
cobalt 67 eli ready
ember 79 lina ready
amber 23 ivan paused
cobalt 84 farah closed
ember 118 alice ready
amber 78 bruno active
amber 107 gus ready
| eli
lina
alice
gus
| indigo 117 lina closed
birch 65 hana closed
delta 114 farah pending
ember 69 alice pending
cobalt 6 gus closed
delta 44 gus closed
birch 84 ivan failed
grove 103 kim paused
birch 2 chen paused
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051055 | qwen/qwen3.7-plus | |
awkweave-0051056 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | ERROR 41 amber
WARN 53 amber
DEBUG 37 grove
DEBUG 78 indigo
DEBUG 15 amber
WARN 113 juniper
WARN 41 fable
INFO 0 fable
INFO 40 juniper
DEBUG 34 delta
| INFO 0 fable
INFO 40 juniper
| DEBUG 89 harbor
WARN 61 ember
DEBUG 85 ember
ERROR 52 harbor
INFO 37 cobalt
DEBUG 8 birch
DEBUG 70 birch
| INFO 37 cobalt
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051056-p1 | Print all fields from lines where the first field starts with the prefix 'INFO'. | $1 ~ /^INFO/ | ERROR 41 amber
WARN 53 amber
DEBUG 37 grove
DEBUG 78 indigo
DEBUG 15 amber
WARN 113 juniper
WARN 41 fable
INFO 0 fable
INFO 40 juniper
DEBUG 34 delta
| INFO 0 fable
INFO 40 juniper
| DEBUG 89 harbor
WARN 61 ember
DEBUG 85 ember
ERROR 52 harbor
INFO 37 cobalt
DEBUG 8 birch
DEBUG 70 birch
| INFO 37 cobalt
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051056 | qwen/qwen3.7-plus |
awkweave-0051057 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | birch 69 active
amber 54 closed
grove 105 ready
fable 38 closed
birch 1 failed
delta 37 pending
cobalt 83 closed
fable 999 active
| birch 69 active
amber 54 closed
grove 105 ready
birch 1 failed
delta 37 pending
cobalt 83 closed
| juniper 86 ready
ember 8 pending
delta 27 paused
fable 104 failed
grove 83 paused
juniper 72 failed
birch 34 paused
juniper 12 paused
harbor 9 failed
fable 3 ready
fable 999 active
| juniper 86 ready
ember 8 pending
delta 27 paused
grove 83 paused
juniper 72 failed
birch 34 paused
juniper 12 paused
harbor 9 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051057-p1 | Output every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | birch 69 active
amber 54 closed
grove 105 ready
fable 38 closed
birch 1 failed
delta 37 pending
cobalt 83 closed
fable 999 active
| birch 69 active
amber 54 closed
grove 105 ready
birch 1 failed
delta 37 pending
cobalt 83 closed
| juniper 86 ready
ember 8 pending
delta 27 paused
fable 104 failed
grove 83 paused
juniper 72 failed
birch 34 paused
juniper 12 paused
harbor 9 failed
fable 3 ready
fable 999 active
| juniper 86 ready
ember 8 pending
delta 27 paused
grove 83 paused
juniper 72 failed
birch 34 paused
juniper 12 paused
harbor 9 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051057 | qwen/qwen3.7-plus |
awkweave-0051058 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | ivan ember 9
jules grove 32
hana indigo 10
hana delta 118
gus ember 25
jules amber 37
farah amber 2
gus grove 65
gus indigo 59
| jules grove 32
hana indigo 10
| hana fable 27
lina delta 35
lina grove 80
farah fable 108
jules delta 26
dina cobalt 9
alice birch 54
jules harbor 49
dina amber 54
| lina delta 35
lina grove 80
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051058-p1 | Print lines 2 through 3, inclusive. | NR >= 2 && NR <= 3 | ivan ember 9
jules grove 32
hana indigo 10
hana delta 118
gus ember 25
jules amber 37
farah amber 2
gus grove 65
gus indigo 59
| jules grove 32
hana indigo 10
| hana fable 27
lina delta 35
lina grove 80
farah fable 108
jules delta 26
dina cobalt 9
alice birch 54
jules harbor 49
dina amber 54
| lina delta 35
lina grove 80
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051058 | qwen/qwen3.7-plus |
awkweave-0051059 | Output only the first 5 records. | NR <= 5 | dina 84 ember
gus 14 harbor
lina 20 harbor
ivan 12 indigo
bruno 85 juniper
chen 63 ember
chen 40 amber
gus 90 juniper
kim 64 amber
| dina 84 ember
gus 14 harbor
lina 20 harbor
ivan 12 indigo
bruno 85 juniper
| kim 94 delta
chen 40 birch
bruno 45 grove
gus 61 harbor
kim 103 birch
eli 80 ember
farah 36 harbor
lina 86 harbor
farah 41 juniper
bruno 108 fable
| kim 94 delta
chen 40 birch
bruno 45 grove
gus 61 harbor
kim 103 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051059-p1 | Output only the first 5 records. | NR <= 5 | dina 84 ember
gus 14 harbor
lina 20 harbor
ivan 12 indigo
bruno 85 juniper
chen 63 ember
chen 40 amber
gus 90 juniper
kim 64 amber
| dina 84 ember
gus 14 harbor
lina 20 harbor
ivan 12 indigo
bruno 85 juniper
| kim 94 delta
chen 40 birch
bruno 45 grove
gus 61 harbor
kim 103 birch
eli 80 ember
farah 36 harbor
lina 86 harbor
farah 41 juniper
bruno 108 fable
| kim 94 delta
chen 40 birch
bruno 45 grove
gus 61 harbor
kim 103 birch
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0051059 | qwen/qwen3.7-plus |
awkweave-0051060 | Skip the first line and print every remaining line unchanged. | NR > 1 | dina 96 ember
lina 68 cobalt
chen 91 amber
jules 19 juniper
dina 94 grove
hana 120 juniper
alice 21 delta
bruno 26 juniper
hana 0 birch
| lina 68 cobalt
chen 91 amber
jules 19 juniper
dina 94 grove
hana 120 juniper
alice 21 delta
bruno 26 juniper
hana 0 birch
| jules 112 indigo
hana 43 birch
eli 31 juniper
alice 15 grove
eli 18 harbor
bruno 52 ember
ivan 45 indigo
lina 67 birch
| hana 43 birch
eli 31 juniper
alice 15 grove
eli 18 harbor
bruno 52 ember
ivan 45 indigo
lina 67 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051060-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | dina 96 ember
lina 68 cobalt
chen 91 amber
jules 19 juniper
dina 94 grove
hana 120 juniper
alice 21 delta
bruno 26 juniper
hana 0 birch
| lina 68 cobalt
chen 91 amber
jules 19 juniper
dina 94 grove
hana 120 juniper
alice 21 delta
bruno 26 juniper
hana 0 birch
| jules 112 indigo
hana 43 birch
eli 31 juniper
alice 15 grove
eli 18 harbor
bruno 52 ember
ivan 45 indigo
lina 67 birch
| hana 43 birch
eli 31 juniper
alice 15 grove
eli 18 harbor
bruno 52 ember
ivan 45 indigo
lina 67 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051060 | qwen/qwen3.7-plus |
awkweave-0051061 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | jules paused 96
kim closed 107
hana active 18
chen failed 46
ivan ready 78
dina pending 6
| 1
| gus paused 93
eli closed 68
jules paused 31
gus failed 87
bruno failed 13
farah failed 44
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051061-p1 | Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero. | $2 == "failed"{n++}END{print n+0} | jules paused 96
kim closed 107
hana active 18
chen failed 46
ivan ready 78
dina pending 6
| 1
| gus paused 93
eli closed 68
jules paused 31
gus failed 87
bruno failed 13
farah failed 44
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051061 | qwen/qwen3.7-plus |
awkweave-0051062 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 28 juniper dina
14 birch ivan
3 indigo bruno
16 juniper dina
10 cobalt alice
22 harbor kim
| 93
| 6 birch gus
16 ember lina
13 fable bruno
11 ember dina
4 amber farah
23 cobalt ivan
5 grove hana
17 amber jules
30 amber kim
| 125
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051062-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 28 juniper dina
14 birch ivan
3 indigo bruno
16 juniper dina
10 cobalt alice
22 harbor kim
| 93
| 6 birch gus
16 ember lina
13 fable bruno
11 ember dina
4 amber farah
23 cobalt ivan
5 grove hana
17 amber jules
30 amber kim
| 125
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051062 | qwen/qwen3.7-plus |
awkweave-0051063 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | cobalt gus 12
indigo gus 27
cobalt chen 20
delta jules 20
juniper eli 24
delta bruno 3
harbor kim 8
fable bruno 16
| 16.25
| harbor ivan 20
ember kim 23
juniper eli 22
fable chen 8
indigo kim 21
cobalt eli 9
| 17.17
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051063-p1 | Output the average of the values in the third column, formatted to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | cobalt gus 12
indigo gus 27
cobalt chen 20
delta jules 20
juniper eli 24
delta bruno 3
harbor kim 8
fable bruno 16
| 16.25
| harbor ivan 20
ember kim 23
juniper eli 22
fable chen 8
indigo kim 21
cobalt eli 9
| 17.17
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051063 | qwen/qwen3.7-plus |
awkweave-0051064 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 jules fable
17 jules amber
1 kim juniper
11 jules birch
26 kim juniper
21 kim indigo
11 jules fable
29 alice ember
| 1
| 6 dina grove
26 eli cobalt
27 bruno birch
27 farah cobalt
10 lina fable
7 gus delta
6 eli juniper
1 ivan delta
18 ivan juniper
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051064-p1 | Identify and display the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 jules fable
17 jules amber
1 kim juniper
11 jules birch
26 kim juniper
21 kim indigo
11 jules fable
29 alice ember
| 1
| 6 dina grove
26 eli cobalt
27 bruno birch
27 farah cobalt
10 lina fable
7 gus delta
6 eli juniper
1 ivan delta
18 ivan juniper
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051064 | qwen/qwen3.7-plus |
awkweave-0051065 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | gus delta 11
kim grove 15
gus amber 15
dina birch 18
lina indigo 7
dina grove 16
chen harbor 6
| 18
| gus amber 13
ivan birch 27
eli harbor 13
ivan fable 7
jules juniper 3
alice indigo 26
chen juniper 2
ivan cobalt 1
alice birch 18
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051065-p1 | Identify and display the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | gus delta 11
kim grove 15
gus amber 15
dina birch 18
lina indigo 7
dina grove 16
chen harbor 6
| 18
| gus amber 13
ivan birch 27
eli harbor 13
ivan fable 7
jules juniper 3
alice indigo 26
chen juniper 2
ivan cobalt 1
alice birch 18
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051065 | qwen/qwen3.7-plus |
awkweave-0051066 | Count all input records and print the total. | END{print NR} | farah 22
eli 108
bruno 79
lina 53
kim 95
alice 23
alice 120
| 7
| lina 120
alice 65
jules 106
farah 40
hana 61
eli 3
bruno 96
dina 66
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051066-p1 | Count the total number of input records and print this figure. | END{print NR} | farah 22
eli 108
bruno 79
lina 53
kim 95
alice 23
alice 120
| 7
| lina 120
alice 65
jules 106
farah 40
hana 61
eli 3
bruno 96
dina 66
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051066 | qwen/qwen3.7-plus |
awkweave-0051067 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus grove 74
bruno amber 118
eli delta 32
bruno delta 68
ivan grove 30
ivan amber 35
ivan fable 84
jules juniper 94
chen ember 93
gus grove 74
lina cobalt 104
| gus grove 74
bruno amber 118
eli delta 32
bruno delta 68
ivan grove 30
ivan amber 35
ivan fable 84
jules juniper 94
chen ember 93
lina cobalt 104
| farah indigo 119
ivan juniper 10
dina ember 59
chen delta 4
kim harbor 15
alice ember 68
kim harbor 15
ivan ember 83
gus amber 97
| farah indigo 119
ivan juniper 10
dina ember 59
chen delta 4
kim harbor 15
alice ember 68
ivan ember 83
gus amber 97
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051067-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | gus grove 74
bruno amber 118
eli delta 32
bruno delta 68
ivan grove 30
ivan amber 35
ivan fable 84
jules juniper 94
chen ember 93
gus grove 74
lina cobalt 104
| gus grove 74
bruno amber 118
eli delta 32
bruno delta 68
ivan grove 30
ivan amber 35
ivan fable 84
jules juniper 94
chen ember 93
lina cobalt 104
| farah indigo 119
ivan juniper 10
dina ember 59
chen delta 4
kim harbor 15
alice ember 68
kim harbor 15
ivan ember 83
gus amber 97
| farah indigo 119
ivan juniper 10
dina ember 59
chen delta 4
kim harbor 15
alice ember 68
ivan ember 83
gus amber 97
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051067 | qwen/qwen3.7-plus |
awkweave-0051068 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | jules cobalt 118
ivan harbor 49
jules grove 101
jules indigo 13
gus delta 2
ivan cobalt 50
farah indigo 2
jules juniper 21
farah delta 23
| jules cobalt 118
ivan harbor 49
gus delta 2
farah indigo 2
| lina cobalt 85
chen grove 107
bruno juniper 107
gus delta 60
gus birch 20
lina juniper 112
farah fable 13
jules birch 53
| lina cobalt 85
chen grove 107
bruno juniper 107
gus delta 60
farah fable 13
jules birch 53
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051068-p1 | Retain only the first occurrence for every unique value in the first column, preserving the original input order. | !seen[$1]++ | jules cobalt 118
ivan harbor 49
jules grove 101
jules indigo 13
gus delta 2
ivan cobalt 50
farah indigo 2
jules juniper 21
farah delta 23
| jules cobalt 118
ivan harbor 49
gus delta 2
farah indigo 2
| lina cobalt 85
chen grove 107
bruno juniper 107
gus delta 60
gus birch 20
lina juniper 112
farah fable 13
jules birch 53
| lina cobalt 85
chen grove 107
bruno juniper 107
gus delta 60
farah fable 13
jules birch 53
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051068 | qwen/qwen3.7-plus |
awkweave-0051069 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 20 ember
jules 22 harbor
chen 5 harbor
alice 3 birch
jules 3 indigo
farah 9 delta
eli 30 indigo
bruno 1 grove
kim 27 ember
| alice 20
jules 42
chen 47
alice 50
jules 53
farah 62
eli 92
bruno 93
kim 120
| kim 5 grove
alice 6 fable
jules 16 juniper
dina 13 cobalt
jules 30 indigo
dina 12 fable
| kim 5
alice 11
jules 27
dina 40
jules 70
dina 82
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051069-p1 | For each entry, output the value from the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | alice 20 ember
jules 22 harbor
chen 5 harbor
alice 3 birch
jules 3 indigo
farah 9 delta
eli 30 indigo
bruno 1 grove
kim 27 ember
| alice 20
jules 42
chen 47
alice 50
jules 53
farah 62
eli 92
bruno 93
kim 120
| kim 5 grove
alice 6 fable
jules 16 juniper
dina 13 cobalt
jules 30 indigo
dina 12 fable
| kim 5
alice 11
jules 27
dina 40
jules 70
dina 82
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051069 | qwen/qwen3.7-plus |
awkweave-0051070 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 14 9 harbor
dina 17 8 fable
ivan 21 13 indigo
eli 1 7 ember
alice 12 2 delta
chen 19 4 ember
| gus 23
dina 25
ivan 34
eli 8
alice 14
chen 23
| bruno 28 7 cobalt
jules 22 22 indigo
gus 9 29 ember
hana 23 7 delta
ivan 7 21 harbor
alice 29 27 ember
jules 2 21 cobalt
| bruno 35
jules 44
gus 38
hana 30
ivan 28
alice 56
jules 23
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051070-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | gus 14 9 harbor
dina 17 8 fable
ivan 21 13 indigo
eli 1 7 ember
alice 12 2 delta
chen 19 4 ember
| gus 23
dina 25
ivan 34
eli 8
alice 14
chen 23
| bruno 28 7 cobalt
jules 22 22 indigo
gus 9 29 ember
hana 23 7 delta
ivan 7 21 harbor
alice 29 27 ember
jules 2 21 cobalt
| bruno 35
jules 44
gus 38
hana 30
ivan 28
alice 56
jules 23
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051070 | qwen/qwen3.7-plus |
awkweave-0051071 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | chen 13
kim 21
eli 22
dina 4
kim 1
dina 29
eli 25
farah 19
dina 8
| chen fail
kim fail
eli fail
dina fail
kim fail
dina pass
eli pass
farah fail
dina fail
| jules 3
gus 5
jules 8
eli 18
bruno 8
ivan 28
eli 5
| jules fail
gus fail
jules fail
eli fail
bruno fail
ivan pass
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051071-p1 | Output the first column value followed by 'pass' if the second column is 25 or greater, otherwise output 'fail'. | {print $1,($2>=25?"pass":"fail")} | chen 13
kim 21
eli 22
dina 4
kim 1
dina 29
eli 25
farah 19
dina 8
| chen fail
kim fail
eli fail
dina fail
kim fail
dina pass
eli pass
farah fail
dina fail
| jules 3
gus 5
jules 8
eli 18
bruno 8
ivan 28
eli 5
| jules fail
gus fail
jules fail
eli fail
bruno fail
ivan pass
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051071 | qwen/qwen3.7-plus |
awkweave-0051072 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | farah harbor 8
kim birch 0
dina juniper 89
lina delta 21
hana ember 81
dina fable 78
chen juniper 72
chen birch 20
chen fable 109
hana amber 37
| HARBOR
BIRCH
JUNIPER
DELTA
EMBER
FABLE
JUNIPER
BIRCH
FABLE
AMBER
| alice grove 42
lina grove 50
lina cobalt 77
chen fable 60
alice cobalt 54
gus cobalt 27
eli harbor 28
| GROVE
GROVE
COBALT
FABLE
COBALT
COBALT
HARBOR
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051072-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | farah harbor 8
kim birch 0
dina juniper 89
lina delta 21
hana ember 81
dina fable 78
chen juniper 72
chen birch 20
chen fable 109
hana amber 37
| HARBOR
BIRCH
JUNIPER
DELTA
EMBER
FABLE
JUNIPER
BIRCH
FABLE
AMBER
| alice grove 42
lina grove 50
lina cobalt 77
chen fable 60
alice cobalt 54
gus cobalt 27
eli harbor 28
| GROVE
GROVE
COBALT
FABLE
COBALT
COBALT
HARBOR
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051072 | qwen/qwen3.7-plus |
awkweave-0051073 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | delta 114
grove 95
harbor 10
juniper 75
harbor 39
harbor 90
juniper 52
amber 63
delta 107
| lt
ov
rb
ni
rb
rb
ni
be
lt
| fable 53
fable 24
ember 48
amber 60
harbor 36
fable 71
juniper 18
harbor 1
fable 29
| bl
bl
be
be
rb
bl
ni
rb
bl
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051073-p1 | Extract and print a 2-character substring from column 1, starting at the third character. | {print substr($1,3,2)} | delta 114
grove 95
harbor 10
juniper 75
harbor 39
harbor 90
juniper 52
amber 63
delta 107
| lt
ov
rb
ni
rb
rb
ni
be
lt
| fable 53
fable 24
ember 48
amber 60
harbor 36
fable 71
juniper 18
harbor 1
fable 29
| bl
bl
be
be
rb
bl
ni
rb
bl
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051073 | qwen/qwen3.7-plus |
awkweave-0051074 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | delta_harbor 39
birch_amber 55
indigo_delta 7
amber_fable 36
ember_cobalt 109
fable_amber 7
birch_cobalt 27
| delta harbor
birch amber
indigo delta
amber fable
ember cobalt
fable amber
birch cobalt
| birch_birch 72
indigo_ember 68
delta_indigo 40
amber_juniper 109
amber_juniper 57
delta_cobalt 38
| birch birch
indigo ember
delta indigo
amber juniper
amber juniper
delta cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051074-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | delta_harbor 39
birch_amber 55
indigo_delta 7
amber_fable 36
ember_cobalt 109
fable_amber 7
birch_cobalt 27
| delta harbor
birch amber
indigo delta
amber fable
ember cobalt
fable amber
birch cobalt
| birch_birch 72
indigo_ember 68
delta_indigo 40
amber_juniper 109
amber_juniper 57
delta_cobalt 38
| birch birch
indigo ember
delta indigo
amber juniper
amber juniper
delta cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051074 | qwen/qwen3.7-plus |
awkweave-0051075 | 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)} | farah harbor 20 closed
eli fable 47 failed
hana grove 62 closed
ivan indigo 118 ready
lina indigo 74 paused
eli juniper 8 failed
| closed 20 harbor farah
failed 47 fable eli
closed 62 grove hana
ready 118 indigo ivan
paused 74 indigo lina
failed 8 juniper eli
| gus ember 91 active
kim ember 81 ready
chen birch 87 pending
hana birch 49 paused
gus amber 40 active
jules delta 97 active
lina grove 66 ready
| active 91 ember gus
ready 81 ember kim
pending 87 birch chen
paused 49 birch hana
active 40 amber gus
active 97 delta jules
ready 66 grove lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051075-p1 | Reverse the sequence of fields on each line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah harbor 20 closed
eli fable 47 failed
hana grove 62 closed
ivan indigo 118 ready
lina indigo 74 paused
eli juniper 8 failed
| closed 20 harbor farah
failed 47 fable eli
closed 62 grove hana
ready 118 indigo ivan
paused 74 indigo lina
failed 8 juniper eli
| gus ember 91 active
kim ember 81 ready
chen birch 87 pending
hana birch 49 paused
gus amber 40 active
jules delta 97 active
lina grove 66 ready
| active 91 ember gus
ready 81 ember kim
pending 87 birch chen
paused 49 birch hana
active 40 amber gus
active 97 delta jules
ready 66 grove lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051075 | qwen/qwen3.7-plus |
awkweave-0051076 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno ember 43 failed
ivan indigo 56 failed
chen delta 39 paused
eli juniper 94 paused
ivan ember 9 active
hana harbor 100 pending
jules fable 71 active
alice birch 28 active
gus amber 10 pending
| 4
4
4
4
4
4
4
4
4
| gus birch 10 active
eli fable 83 active
hana harbor 96 paused
jules ember 70 ready
jules delta 39 paused
ivan grove 108 paused
kim delta 5 paused
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051076-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | bruno ember 43 failed
ivan indigo 56 failed
chen delta 39 paused
eli juniper 94 paused
ivan ember 9 active
hana harbor 100 pending
jules fable 71 active
alice birch 28 active
gus amber 10 pending
| 4
4
4
4
4
4
4
4
4
| gus birch 10 active
eli fable 83 active
hana harbor 96 paused
jules ember 70 ready
jules delta 39 paused
ivan grove 108 paused
kim delta 5 paused
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051076 | qwen/qwen3.7-plus |
awkweave-0051077 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | lina delta 119
kim beta 68
ivan alpha 38
kim gamma 4
dina gamma 114
hana alpha 75
| delta 1
beta 1
alpha 2
gamma 2
| jules beta 5
jules alpha 112
chen gamma 28
lina beta 78
bruno alpha 71
hana beta 70
lina beta 105
| beta 4
alpha 2
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051077-p1 | Tally the occurrences of each value in column 2, then print each value alongside its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | lina delta 119
kim beta 68
ivan alpha 38
kim gamma 4
dina gamma 114
hana alpha 75
| delta 1
beta 1
alpha 2
gamma 2
| jules beta 5
jules alpha 112
chen gamma 28
lina beta 78
bruno alpha 71
hana beta 70
lina beta 105
| beta 4
alpha 2
gamma 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051077 | qwen/qwen3.7-plus |
awkweave-0051078 | 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]]} | chen delta 14
eli beta 3
gus delta 10
chen beta 20
ivan alpha 28
jules delta 23
eli gamma 2
gus delta 17
dina delta 24
| delta 88
beta 23
alpha 28
gamma 2
| jules alpha 24
gus beta 11
lina alpha 12
alice alpha 17
kim alpha 12
farah alpha 10
| alpha 75
beta 11
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051078-p1 | Calculate the sum of column 3 for each distinct category in column 2, displaying the results grouped by 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]]} | chen delta 14
eli beta 3
gus delta 10
chen beta 20
ivan alpha 28
jules delta 23
eli gamma 2
gus delta 17
dina delta 24
| delta 88
beta 23
alpha 28
gamma 2
| jules alpha 24
gus beta 11
lina alpha 12
alice alpha 17
kim alpha 12
farah alpha 10
| alpha 75
beta 11
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051078 | qwen/qwen3.7-plus |
awkweave-0051079 | 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]]} | alpha grove 114
gamma grove 48
beta fable 119
delta grove 98
beta grove 63
gamma ember 91
alpha grove 25
beta fable 23
alpha grove 36
| alpha 3
gamma 2
beta 3
| gamma birch 12
beta birch 97
delta ember 21
alpha amber 36
gamma cobalt 48
delta harbor 36
gamma birch 57
alpha amber 90
delta harbor 87
| gamma 3
delta 3
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051079-p1 | List each duplicate value from column 1 along with its frequency, ordered by 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]]} | alpha grove 114
gamma grove 48
beta fable 119
delta grove 98
beta grove 63
gamma ember 91
alpha grove 25
beta fable 23
alpha grove 36
| alpha 3
gamma 2
beta 3
| gamma birch 12
beta birch 97
delta ember 21
alpha amber 36
gamma cobalt 48
delta harbor 36
gamma birch 57
alpha amber 90
delta harbor 87
| gamma 3
delta 3
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051079 | qwen/qwen3.7-plus |
awkweave-0051080 | 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"]} | record_id note display_name score
r001 farah 8 pending
r002 lina 6 paused
r003 bruno 18 pending
r004 gus 29 active
r005 alice 28 paused
r006 eli 28 pending
r007 bruno 2 failed
r008 bruno 23 closed
| 8
6
18
29
28
28
2
23
| record_id note display_name score
r001 kim 13 paused
r002 eli 20 paused
r003 lina 24 paused
r004 ivan 8 paused
r005 ivan 4 active
r006 eli 3 active
| 13
20
24
8
4
3
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051080-p1 | Treating the first row as a header, output the 'display_name' column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | record_id note display_name score
r001 farah 8 pending
r002 lina 6 paused
r003 bruno 18 pending
r004 gus 29 active
r005 alice 28 paused
r006 eli 28 pending
r007 bruno 2 failed
r008 bruno 23 closed
| 8
6
18
29
28
28
2
23
| record_id note display_name score
r001 kim 13 paused
r002 eli 20 paused
r003 lina 24 paused
r004 ivan 8 paused
r005 ivan 4 active
r006 eli 3 active
| 13
20
24
8
4
3
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051080 | qwen/qwen3.7-plus |
awkweave-0051081 | The first row is a header. Print display_name for data rows whose score is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 lina 21 failed
r002 eli 2 active
r003 ivan 9 failed
r004 bruno 23 paused
r005 gus 13 failed
r006 hana 5 failed
r007 ivan 19 ready
r008 lina 1 active
r009 gus 19 ready
r010 ivan 28 ready
| lina
bruno
ivan
gus
ivan
| record_id display_name score state
r001 ivan 3 paused
r002 alice 8 pending
r003 jules 24 pending
r004 dina 28 active
r005 bruno 17 pending
r006 bruno 1 paused
| jules
dina
bruno
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051081-p1 | With the first row as a header, print the 'display_name' for data rows where the 'score' is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 lina 21 failed
r002 eli 2 active
r003 ivan 9 failed
r004 bruno 23 paused
r005 gus 13 failed
r006 hana 5 failed
r007 ivan 19 ready
r008 lina 1 active
r009 gus 19 ready
r010 ivan 28 ready
| lina
bruno
ivan
gus
ivan
| record_id display_name score state
r001 ivan 3 paused
r002 alice 8 pending
r003 jules 24 pending
r004 dina 28 active
r005 bruno 17 pending
r006 bruno 1 paused
| jules
dina
bruno
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051081 | qwen/qwen3.7-plus |
awkweave-0051082 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | chen 13 ready
jules 2 pending
lina 15 closed
chen 19 closed
lina 4 closed
bruno 27 closed
eli 11 active
bruno 3 closed
lina 1 ready
lina 6 pending
| 13
2
15
19
4
27
11
3
1
6
| ivan 3 active
gus 15 closed
kim 7 closed
chen 15 closed
lina 22 paused
lina 19 failed
chen 4 pending
| 3
15
7
15
22
19
4
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051082-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | chen 13 ready
jules 2 pending
lina 15 closed
chen 19 closed
lina 4 closed
bruno 27 closed
eli 11 active
bruno 3 closed
lina 1 ready
lina 6 pending
| 13
2
15
19
4
27
11
3
1
6
| ivan 3 active
gus 15 closed
kim 7 closed
chen 15 closed
lina 22 paused
lina 19 failed
chen 4 pending
| 3
15
7
15
22
19
4
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051082 | qwen/qwen3.7-plus |
awkweave-0051083 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13. | BEGIN{FS=OFS=","}$2>13{print $1} | bruno,23,paused
lina,12,failed
alice,7,pending
chen,28,failed
bruno,23,closed
dina,2,ready
gus,25,closed
ivan,4,failed
farah,23,active
hana,1,ready
| bruno
chen
bruno
gus
farah
| jules,14,closed
bruno,13,paused
eli,10,failed
bruno,12,closed
dina,18,active
farah,8,paused
| jules
dina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051083-p1 | For simple comma-separated input without quoted commas, print the first column whenever the second column value is greater than 13. | BEGIN{FS=OFS=","}$2>13{print $1} | bruno,23,paused
lina,12,failed
alice,7,pending
chen,28,failed
bruno,23,closed
dina,2,ready
gus,25,closed
ivan,4,failed
farah,23,active
hana,1,ready
| bruno
chen
bruno
gus
farah
| jules,14,closed
bruno,13,paused
eli,10,failed
bruno,12,closed
dina,18,active
farah,8,paused
| jules
dina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051083 | qwen/qwen3.7-plus |
awkweave-0051084 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | farah indigo 68
dina amber 13
gus fable 89
chen ember 17
kim grove 26
alice ember 94
hana fable 72
eli amber 98
bruno juniper 81
| farah indigo 68
dina amber 13
gus fable 89
chen ember 17
kim grove 26
alice ember 94
hana fable 72
eli amber 98
bruno juniper 81
| lina ember 16
farah grove 17
dina indigo 40
dina harbor 39
bruno birch 69
hana ember 32
| lina ember 16
farah grove 17
dina indigo 40
dina harbor 39
bruno birch 69
hana ember 32
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051084-p1 | Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | farah indigo 68
dina amber 13
gus fable 89
chen ember 17
kim grove 26
alice ember 94
hana fable 72
eli amber 98
bruno juniper 81
| farah indigo 68
dina amber 13
gus fable 89
chen ember 17
kim grove 26
alice ember 94
hana fable 72
eli amber 98
bruno juniper 81
| lina ember 16
farah grove 17
dina indigo 40
dina harbor 39
bruno birch 69
hana ember 32
| lina ember 16
farah grove 17
dina indigo 40
dina harbor 39
bruno birch 69
hana ember 32
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051084 | qwen/qwen3.7-plus |
awkweave-0051085 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | ivan delta 33 ready
alice delta 62 active
ivan indigo 18 paused
lina fable 46 failed
eli amber 99 failed
farah cobalt 6 closed
| alice delta 62 active
| alice ember 109 ready
farah grove 23 failed
kim amber 35 active
farah cobalt 111 closed
eli amber 10 failed
ivan ember 107 paused
chen indigo 115 failed
| farah cobalt 111 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051085-p1 | Identify and output the longest line from 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} | ivan delta 33 ready
alice delta 62 active
ivan indigo 18 paused
lina fable 46 failed
eli amber 99 failed
farah cobalt 6 closed
| alice delta 62 active
| alice ember 109 ready
farah grove 23 failed
kim amber 35 active
farah cobalt 111 closed
eli amber 10 failed
ivan ember 107 paused
chen indigo 115 failed
| farah cobalt 111 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051085 | qwen/qwen3.7-plus |
awkweave-0051086 | Print every 4th line starting at line 3 (then line 7, and so on). | NR%4==3 | jules 24
dina 0
kim 2
jules 19
gus 41
bruno 62
kim 44
chen 14
| kim 2
kim 44
| dina 91
farah 76
lina 64
hana 66
alice 25
bruno 33
kim 101
jules 37
gus 117
| lina 64
kim 101
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051086-p1 | Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.). | NR%4==3 | jules 24
dina 0
kim 2
jules 19
gus 41
bruno 62
kim 44
chen 14
| kim 2
kim 44
| dina 91
farah 76
lina 64
hana 66
alice 25
bruno 33
kim 101
jules 37
gus 117
| lina 64
kim 101
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051086 | qwen/qwen3.7-plus |
awkweave-0051087 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 70
delta grove 94
alpha grove 101
gamma amber 118
alpha cobalt 38
alpha cobalt 66
gamma amber 10
| 4
| beta harbor 34
alpha amber 106
gamma cobalt 68
alpha juniper 59
delta delta 85
delta delta 69
gamma cobalt 114
alpha ember 44
alpha grove 45
alpha indigo 78
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051087-p1 | Determine the number of unique values in the first column and display only that count. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 70
delta grove 94
alpha grove 101
gamma amber 118
alpha cobalt 38
alpha cobalt 66
gamma amber 10
| 4
| beta harbor 34
alpha amber 106
gamma cobalt 68
alpha juniper 59
delta delta 85
delta delta 69
gamma cobalt 114
alpha ember 44
alpha grove 45
alpha indigo 78
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051087 | qwen/qwen3.7-plus |
awkweave-0051088 | 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} | lina 3 0
dina 11 15
kim 13 21
jules 16 24
eli 22 17
eli 14 27
| dina 0.73
kim 0.62
jules 0.67
eli 1.29
eli 0.52
| alice 18 0
eli 19 25
eli 23 27
alice 5 2
lina 25 26
kim 25 13
gus 10 22
ivan 2 1
lina 26 22
bruno 27 2
| eli 0.76
eli 0.85
alice 2.50
lina 0.96
kim 1.92
gus 0.45
ivan 2.00
lina 1.18
bruno 13.50
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051088-p1 | For each row, output the value in column 1 followed by the result of dividing column 2 by column 3, formatted to two decimal places; omit any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 3 0
dina 11 15
kim 13 21
jules 16 24
eli 22 17
eli 14 27
| dina 0.73
kim 0.62
jules 0.67
eli 1.29
eli 0.52
| alice 18 0
eli 19 25
eli 23 27
alice 5 2
lina 25 26
kim 25 13
gus 10 22
ivan 2 1
lina 26 22
bruno 27 2
| eli 0.76
eli 0.85
alice 2.50
lina 0.96
kim 1.92
gus 0.45
ivan 2.00
lina 1.18
bruno 13.50
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051088 | qwen/qwen3.7-plus |
awkweave-0051089 | 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]} | lina delta 25
ivan fable 21
dina indigo 4
gus harbor 7
lina harbor 14
gus birch 2
jules indigo 2
alice grove 8
hana ember 14
| lina delta 25
ivan fable 21
lina harbor 14
| eli juniper 6
bruno cobalt 8
lina amber 15
alice ember 2
farah delta 7
alice amber 26
eli cobalt 9
hana delta 14
| alice amber 26
lina amber 15
hana delta 14
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051089-p1 | Display the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | lina delta 25
ivan fable 21
dina indigo 4
gus harbor 7
lina harbor 14
gus birch 2
jules indigo 2
alice grove 8
hana ember 14
| lina delta 25
ivan fable 21
lina harbor 14
| eli juniper 6
bruno cobalt 8
lina amber 15
alice ember 2
farah delta 7
alice amber 26
eli cobalt 9
hana delta 14
| alice amber 26
lina amber 15
hana delta 14
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051089 | qwen/qwen3.7-plus |
awkweave-0051100 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | chen closed 104
jules failed 1
bruno active 23
kim pending 114
hana failed 61
dina pending 8
farah ready 63
hana failed 115
| 1
| kim failed 33
farah ready 10
hana paused 60
farah ready 112
kim pending 58
gus failed 32
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051100-p1 | Count the number of records where column 2 contains the value 'closed', and print 0 if no such records exist. | $2 == "closed"{n++}END{print n+0} | chen closed 104
jules failed 1
bruno active 23
kim pending 114
hana failed 61
dina pending 8
farah ready 63
hana failed 115
| 1
| kim failed 33
farah ready 10
hana paused 60
farah ready 112
kim pending 58
gus failed 32
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051100 | qwen/qwen3.7-plus |
awkweave-0051101 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | lina delta 2
eli ember 20
chen ember 25
chen grove 16
eli grove 15
kim ember 22
farah cobalt 19
dina cobalt 25
farah indigo 26
| 170
| alice ember 6
eli juniper 26
ivan delta 20
kim birch 12
hana delta 14
bruno ember 26
| 104
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051101-p1 | Compute and display the sum of all integer values found in column 3. | {s+=$3}END{print s+0} | lina delta 2
eli ember 20
chen ember 25
chen grove 16
eli grove 15
kim ember 22
farah cobalt 19
dina cobalt 25
farah indigo 26
| 170
| alice ember 6
eli juniper 26
ivan delta 20
kim birch 12
hana delta 14
bruno ember 26
| 104
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051101 | qwen/qwen3.7-plus |
awkweave-0051102 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 11 amber
lina 18 amber
hana 9 indigo
farah 25 cobalt
lina 27 amber
gus 12 amber
jules 19 harbor
lina 8 harbor
jules 10 harbor
| 15.44
| alice 3 amber
lina 18 grove
dina 28 indigo
farah 3 ember
alice 30 delta
chen 19 birch
chen 1 amber
bruno 4 fable
jules 1 cobalt
| 11.89
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051102-p1 | Calculate the arithmetic mean of the values in column 2 and print the result rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 11 amber
lina 18 amber
hana 9 indigo
farah 25 cobalt
lina 27 amber
gus 12 amber
jules 19 harbor
lina 8 harbor
jules 10 harbor
| 15.44
| alice 3 amber
lina 18 grove
dina 28 indigo
farah 3 ember
alice 30 delta
chen 19 birch
chen 1 amber
bruno 4 fable
jules 1 cobalt
| 11.89
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051102 | qwen/qwen3.7-plus |
awkweave-0051103 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 alice indigo
16 dina grove
3 kim ember
29 jules grove
29 hana fable
11 chen amber
17 hana cobalt
13 farah indigo
| 3
| 1 lina juniper
7 gus indigo
27 lina amber
3 lina harbor
3 dina grove
9 kim amber
27 lina fable
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051103-p1 | Identify and print the minimum numeric value present in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 alice indigo
16 dina grove
3 kim ember
29 jules grove
29 hana fable
11 chen amber
17 hana cobalt
13 farah indigo
| 3
| 1 lina juniper
7 gus indigo
27 lina amber
3 lina harbor
3 dina grove
9 kim amber
27 lina fable
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051103 | qwen/qwen3.7-plus |
awkweave-0051104 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 16 alice cobalt
3 hana ember
29 gus delta
8 alice grove
16 kim cobalt
6 chen indigo
21 ivan amber
12 jules harbor
15 eli amber
19 alice delta
| 29
| 6 eli amber
21 bruno delta
19 kim amber
7 chen birch
12 jules amber
10 dina grove
13 dina harbor
23 dina cobalt
15 lina cobalt
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051104-p1 | Identify and print the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 16 alice cobalt
3 hana ember
29 gus delta
8 alice grove
16 kim cobalt
6 chen indigo
21 ivan amber
12 jules harbor
15 eli amber
19 alice delta
| 29
| 6 eli amber
21 bruno delta
19 kim amber
7 chen birch
12 jules amber
10 dina grove
13 dina harbor
23 dina cobalt
15 lina cobalt
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051104 | qwen/qwen3.7-plus |
awkweave-0051105 | Count all input records and print the total. | END{print NR} | kim 21
kim 23
farah 80
eli 20
bruno 109
gus 27
jules 42
dina 10
eli 40
| 9
| bruno 96
bruno 23
dina 101
jules 26
jules 94
chen 11
eli 73
jules 88
gus 9
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051105-p1 | Count the total number of input records and print the result. | END{print NR} | kim 21
kim 23
farah 80
eli 20
bruno 109
gus 27
jules 42
dina 10
eli 40
| 9
| bruno 96
bruno 23
dina 101
jules 26
jules 94
chen 11
eli 73
jules 88
gus 9
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051105 | qwen/qwen3.7-plus |
awkweave-0051106 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan ember 45
bruno delta 40
lina amber 107
hana harbor 19
chen fable 71
hana harbor 19
kim delta 50
ivan fable 54
| ivan ember 45
bruno delta 40
lina amber 107
hana harbor 19
chen fable 71
kim delta 50
ivan fable 54
| lina cobalt 108
farah amber 1
farah juniper 91
farah cobalt 45
farah cobalt 45
ivan indigo 62
lina fable 76
| lina cobalt 108
farah amber 1
farah juniper 91
farah cobalt 45
ivan indigo 62
lina fable 76
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051106-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each line. | !seen[$0]++ | ivan ember 45
bruno delta 40
lina amber 107
hana harbor 19
chen fable 71
hana harbor 19
kim delta 50
ivan fable 54
| ivan ember 45
bruno delta 40
lina amber 107
hana harbor 19
chen fable 71
kim delta 50
ivan fable 54
| lina cobalt 108
farah amber 1
farah juniper 91
farah cobalt 45
farah cobalt 45
ivan indigo 62
lina fable 76
| lina cobalt 108
farah amber 1
farah juniper 91
farah cobalt 45
ivan indigo 62
lina fable 76
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051106 | qwen/qwen3.7-plus |
awkweave-0051107 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | bruno ember 67
kim indigo 51
dina fable 65
lina grove 1
gus delta 89
hana birch 90
ivan birch 53
| bruno ember 67
kim indigo 51
dina fable 65
lina grove 1
gus delta 89
hana birch 90
ivan birch 53
| eli birch 37
kim grove 59
lina grove 50
dina fable 117
bruno amber 81
chen indigo 66
ivan delta 76
gus juniper 104
alice indigo 116
| eli birch 37
kim grove 59
lina grove 50
dina fable 117
bruno amber 81
chen indigo 66
ivan delta 76
gus juniper 104
alice indigo 116
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051107-p1 | Retain only the initial line for every unique value found in the first column, ensuring the input order is preserved. | !seen[$1]++ | bruno ember 67
kim indigo 51
dina fable 65
lina grove 1
gus delta 89
hana birch 90
ivan birch 53
| bruno ember 67
kim indigo 51
dina fable 65
lina grove 1
gus delta 89
hana birch 90
ivan birch 53
| eli birch 37
kim grove 59
lina grove 50
dina fable 117
bruno amber 81
chen indigo 66
ivan delta 76
gus juniper 104
alice indigo 116
| eli birch 37
kim grove 59
lina grove 50
dina fable 117
bruno amber 81
chen indigo 66
ivan delta 76
gus juniper 104
alice indigo 116
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051107 | qwen/qwen3.7-plus |
awkweave-0051108 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 13 amber
bruno 25 birch
lina 27 ember
bruno 23 indigo
lina 1 harbor
eli 27 delta
| hana 13
bruno 38
lina 65
bruno 88
lina 89
eli 116
| lina 1 amber
bruno 12 birch
eli 8 cobalt
eli 11 juniper
eli 26 fable
chen 22 indigo
alice 12 birch
| lina 1
bruno 13
eli 21
eli 32
eli 58
chen 80
alice 92
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051108-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} | hana 13 amber
bruno 25 birch
lina 27 ember
bruno 23 indigo
lina 1 harbor
eli 27 delta
| hana 13
bruno 38
lina 65
bruno 88
lina 89
eli 116
| lina 1 amber
bruno 12 birch
eli 8 cobalt
eli 11 juniper
eli 26 fable
chen 22 indigo
alice 12 birch
| lina 1
bruno 13
eli 21
eli 32
eli 58
chen 80
alice 92
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051108 | qwen/qwen3.7-plus |
awkweave-0051109 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 30 29 juniper
farah 11 16 cobalt
kim 30 24 ember
bruno 27 9 ember
jules 27 21 ember
dina 12 5 juniper
gus 6 22 birch
hana 7 21 delta
alice 28 14 harbor
farah 1 26 amber
| bruno 59
farah 27
kim 54
bruno 36
jules 48
dina 17
gus 28
hana 28
alice 42
farah 27
| alice 10 15 fable
gus 14 4 indigo
ivan 14 12 juniper
alice 19 15 indigo
farah 24 5 birch
jules 4 10 delta
jules 12 14 indigo
farah 9 1 delta
| alice 25
gus 18
ivan 26
alice 34
farah 29
jules 14
jules 26
farah 10
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051109-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | bruno 30 29 juniper
farah 11 16 cobalt
kim 30 24 ember
bruno 27 9 ember
jules 27 21 ember
dina 12 5 juniper
gus 6 22 birch
hana 7 21 delta
alice 28 14 harbor
farah 1 26 amber
| bruno 59
farah 27
kim 54
bruno 36
jules 48
dina 17
gus 28
hana 28
alice 42
farah 27
| alice 10 15 fable
gus 14 4 indigo
ivan 14 12 juniper
alice 19 15 indigo
farah 24 5 birch
jules 4 10 delta
jules 12 14 indigo
farah 9 1 delta
| alice 25
gus 18
ivan 26
alice 34
farah 29
jules 14
jules 26
farah 10
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051109 | qwen/qwen3.7-plus |
awkweave-0051110 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | chen 10
bruno 13
jules 30
dina 3
jules 22
kim 24
gus 23
chen 4
| chen fail
bruno fail
jules pass
dina fail
jules pass
kim pass
gus pass
chen fail
| hana 20
alice 10
ivan 2
kim 21
ivan 26
eli 8
ivan 27
kim 2
| hana fail
alice fail
ivan fail
kim pass
ivan pass
eli fail
ivan pass
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051110-p1 | Output the first column and label it 'pass' if the second column is 21 or greater; otherwise, label it 'fail'. | {print $1,($2>=21?"pass":"fail")} | chen 10
bruno 13
jules 30
dina 3
jules 22
kim 24
gus 23
chen 4
| chen fail
bruno fail
jules pass
dina fail
jules pass
kim pass
gus pass
chen fail
| hana 20
alice 10
ivan 2
kim 21
ivan 26
eli 8
ivan 27
kim 2
| hana fail
alice fail
ivan fail
kim pass
ivan pass
eli fail
ivan pass
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051110 | qwen/qwen3.7-plus |
awkweave-0051111 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen grove 97
dina ember 33
alice indigo 89
chen birch 76
chen indigo 23
hana birch 18
jules delta 79
| GROVE
EMBER
INDIGO
BIRCH
INDIGO
BIRCH
DELTA
| gus grove 29
eli delta 108
gus fable 118
dina harbor 68
jules birch 6
chen cobalt 68
bruno harbor 7
dina ember 47
| GROVE
DELTA
FABLE
HARBOR
BIRCH
COBALT
HARBOR
EMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0051111-p1 | Transform the second column to uppercase and output only that modified column. | {print toupper($2)} | chen grove 97
dina ember 33
alice indigo 89
chen birch 76
chen indigo 23
hana birch 18
jules delta 79
| GROVE
EMBER
INDIGO
BIRCH
INDIGO
BIRCH
DELTA
| gus grove 29
eli delta 108
gus fable 118
dina harbor 68
jules birch 6
chen cobalt 68
bruno harbor 7
dina ember 47
| GROVE
DELTA
FABLE
HARBOR
BIRCH
COBALT
HARBOR
EMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0051111 | qwen/qwen3.7-plus |
awkweave-0051112 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | delta 2
amber 21
ember 5
indigo 32
indigo 4
delta 98
amber 77
| del
amb
emb
ind
ind
del
amb
| grove 111
indigo 87
amber 43
grove 116
fable 73
cobalt 74
| gro
ind
amb
gro
fab
cob
| substring | 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.