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-0053163 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | indigo 80 active
birch 111 closed
amber 72 closed
amber 26 active
delta 46 paused
grove 77 ready
delta 65 ready
harbor 12 active
fable 35 pending
juniper 999 active
| indigo 80 active
birch 111 closed
amber 72 closed
amber 26 active
delta 46 paused
grove 77 ready
delta 65 ready
harbor 12 active
fable 35 pending
| grove 114 closed
harbor 106 pending
cobalt 41 failed
ember 85 paused
juniper 71 paused
ember 107 ready
juniper 999 active
| grove 114 closed
harbor 106 pending
cobalt 41 failed
ember 85 paused
ember 107 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053163-p1 | Print every line that does not contain the exact text juniper. | $0 !~ /juniper/ | indigo 80 active
birch 111 closed
amber 72 closed
amber 26 active
delta 46 paused
grove 77 ready
delta 65 ready
harbor 12 active
fable 35 pending
juniper 999 active
| indigo 80 active
birch 111 closed
amber 72 closed
amber 26 active
delta 46 paused
grove 77 ready
delta 65 ready
harbor 12 active
fable 35 pending
| grove 114 closed
harbor 106 pending
cobalt 41 failed
ember 85 paused
juniper 71 paused
ember 107 ready
juniper 999 active
| grove 114 closed
harbor 106 pending
cobalt 41 failed
ember 85 paused
ember 107 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053163 | qwen/qwen3.7-plus |
awkweave-0053164 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | farah delta 7
jules harbor 90
chen juniper 17
chen grove 67
bruno grove 83
jules grove 112
bruno cobalt 6
eli fable 98
eli birch 97
gus cobalt 23
| chen juniper 17
chen grove 67
bruno grove 83
jules grove 112
| chen cobalt 72
lina delta 72
jules cobalt 100
kim harbor 32
jules harbor 97
farah fable 112
gus indigo 105
jules delta 37
ivan indigo 82
| jules cobalt 100
kim harbor 32
jules harbor 97
farah fable 112
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053164-p1 | Output lines 3 through 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | farah delta 7
jules harbor 90
chen juniper 17
chen grove 67
bruno grove 83
jules grove 112
bruno cobalt 6
eli fable 98
eli birch 97
gus cobalt 23
| chen juniper 17
chen grove 67
bruno grove 83
jules grove 112
| chen cobalt 72
lina delta 72
jules cobalt 100
kim harbor 32
jules harbor 97
farah fable 112
gus indigo 105
jules delta 37
ivan indigo 82
| jules cobalt 100
kim harbor 32
jules harbor 97
farah fable 112
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053164 | qwen/qwen3.7-plus |
awkweave-0053165 | Output only the first 5 records. | NR <= 5 | bruno 111 delta
ivan 57 amber
chen 8 amber
kim 33 harbor
eli 105 delta
ivan 81 ember
jules 45 ember
gus 6 ember
lina 79 delta
dina 117 fable
| bruno 111 delta
ivan 57 amber
chen 8 amber
kim 33 harbor
eli 105 delta
| chen 23 ember
jules 50 juniper
eli 74 ember
alice 46 delta
gus 5 grove
jules 64 grove
| chen 23 ember
jules 50 juniper
eli 74 ember
alice 46 delta
gus 5 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053165-p1 | Display only the first 5 records. | NR <= 5 | bruno 111 delta
ivan 57 amber
chen 8 amber
kim 33 harbor
eli 105 delta
ivan 81 ember
jules 45 ember
gus 6 ember
lina 79 delta
dina 117 fable
| bruno 111 delta
ivan 57 amber
chen 8 amber
kim 33 harbor
eli 105 delta
| chen 23 ember
jules 50 juniper
eli 74 ember
alice 46 delta
gus 5 grove
jules 64 grove
| chen 23 ember
jules 50 juniper
eli 74 ember
alice 46 delta
gus 5 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053165 | qwen/qwen3.7-plus |
awkweave-0053166 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 104 juniper
lina 3 ember
ivan 104 birch
alice 21 ember
jules 45 grove
ivan 40 delta
eli 3 grove
| lina 3 ember
ivan 104 birch
alice 21 ember
jules 45 grove
ivan 40 delta
eli 3 grove
| eli 40 ember
jules 90 amber
kim 23 juniper
jules 33 amber
jules 37 delta
ivan 3 delta
gus 107 juniper
| jules 90 amber
kim 23 juniper
jules 33 amber
jules 37 delta
ivan 3 delta
gus 107 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053166-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | chen 104 juniper
lina 3 ember
ivan 104 birch
alice 21 ember
jules 45 grove
ivan 40 delta
eli 3 grove
| lina 3 ember
ivan 104 birch
alice 21 ember
jules 45 grove
ivan 40 delta
eli 3 grove
| eli 40 ember
jules 90 amber
kim 23 juniper
jules 33 amber
jules 37 delta
ivan 3 delta
gus 107 juniper
| jules 90 amber
kim 23 juniper
jules 33 amber
jules 37 delta
ivan 3 delta
gus 107 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053166 | qwen/qwen3.7-plus |
awkweave-0053167 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | ivan pending 61
gus ready 99
ivan ready 107
ivan closed 84
farah pending 1
farah ready 16
chen paused 40
jules pending 22
farah closed 53
ivan ready 111
| 4
| hana closed 80
lina closed 78
dina closed 113
alice active 93
bruno failed 73
hana closed 26
jules failed 114
hana active 47
gus closed 66
bruno pending 25
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053167-p1 | Determine the number of entries where the second column contains 'ready', outputting 0 if no such entries exist. | $2 == "ready"{n++}END{print n+0} | ivan pending 61
gus ready 99
ivan ready 107
ivan closed 84
farah pending 1
farah ready 16
chen paused 40
jules pending 22
farah closed 53
ivan ready 111
| 4
| hana closed 80
lina closed 78
dina closed 113
alice active 93
bruno failed 73
hana closed 26
jules failed 114
hana active 47
gus closed 66
bruno pending 25
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053167 | qwen/qwen3.7-plus |
awkweave-0053168 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | grove eli 13
grove farah 26
delta lina 1
fable jules 6
ember chen 17
birch bruno 29
juniper jules 14
| 106
| cobalt bruno 26
harbor chen 5
indigo dina 19
harbor alice 17
cobalt chen 14
indigo gus 6
| 87
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053168-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | grove eli 13
grove farah 26
delta lina 1
fable jules 6
ember chen 17
birch bruno 29
juniper jules 14
| 106
| cobalt bruno 26
harbor chen 5
indigo dina 19
harbor alice 17
cobalt chen 14
indigo gus 6
| 87
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053168 | qwen/qwen3.7-plus |
awkweave-0053169 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 8 jules
harbor 8 jules
birch 14 ivan
cobalt 29 gus
ember 5 eli
cobalt 28 gus
cobalt 28 hana
grove 9 dina
| 16.12
| grove 20 jules
harbor 4 chen
indigo 4 chen
delta 30 chen
cobalt 22 gus
amber 1 bruno
indigo 13 hana
indigo 28 ivan
amber 21 lina
| 15.89
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053169-p1 | Output the average of the values in the second column, formatted to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 8 jules
harbor 8 jules
birch 14 ivan
cobalt 29 gus
ember 5 eli
cobalt 28 gus
cobalt 28 hana
grove 9 dina
| 16.12
| grove 20 jules
harbor 4 chen
indigo 4 chen
delta 30 chen
cobalt 22 gus
amber 1 bruno
indigo 13 hana
indigo 28 ivan
amber 21 lina
| 15.89
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053169 | qwen/qwen3.7-plus |
awkweave-0053170 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 dina amber
30 eli delta
26 alice harbor
20 eli amber
6 farah ember
11 farah fable
17 alice amber
26 dina delta
26 alice juniper
| 6
| 4 ivan birch
17 kim ember
7 lina indigo
9 bruno ember
14 eli fable
4 alice ember
16 gus juniper
25 gus delta
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053170-p1 | Identify and display the minimum numerical value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 15 dina amber
30 eli delta
26 alice harbor
20 eli amber
6 farah ember
11 farah fable
17 alice amber
26 dina delta
26 alice juniper
| 6
| 4 ivan birch
17 kim ember
7 lina indigo
9 bruno ember
14 eli fable
4 alice ember
16 gus juniper
25 gus delta
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053170 | qwen/qwen3.7-plus |
awkweave-0053171 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 9 indigo
hana 20 delta
farah 27 birch
alice 15 amber
dina 18 grove
eli 21 indigo
lina 25 harbor
farah 21 fable
kim 27 ember
| 27
| chen 7 juniper
farah 13 ember
jules 25 indigo
eli 20 delta
bruno 9 juniper
dina 8 cobalt
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053171-p1 | Identify and display the maximum numerical value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 9 indigo
hana 20 delta
farah 27 birch
alice 15 amber
dina 18 grove
eli 21 indigo
lina 25 harbor
farah 21 fable
kim 27 ember
| 27
| chen 7 juniper
farah 13 ember
jules 25 indigo
eli 20 delta
bruno 9 juniper
dina 8 cobalt
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053171 | qwen/qwen3.7-plus |
awkweave-0053172 | Count all input records and print the total. | END{print NR} | bruno 69
hana 27
lina 72
bruno 84
ivan 99
dina 95
| 6
| jules 114
alice 64
lina 16
alice 102
lina 35
dina 64
alice 92
jules 31
hana 73
gus 114
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053172-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 69
hana 27
lina 72
bruno 84
ivan 99
dina 95
| 6
| jules 114
alice 64
lina 16
alice 102
lina 35
dina 64
alice 92
jules 31
hana 73
gus 114
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053172 | qwen/qwen3.7-plus |
awkweave-0053173 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana fable 88
gus cobalt 84
alice birch 76
bruno juniper 113
alice ember 86
ivan indigo 120
alice ember 86
eli juniper 22
lina delta 113
| hana fable 88
gus cobalt 84
alice birch 76
bruno juniper 113
alice ember 86
ivan indigo 120
eli juniper 22
lina delta 113
| eli ember 106
hana birch 107
jules ember 45
hana ember 66
eli amber 17
eli ember 106
alice fable 76
hana amber 92
| eli ember 106
hana birch 107
jules ember 45
hana ember 66
eli amber 17
alice fable 76
hana amber 92
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053173-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | hana fable 88
gus cobalt 84
alice birch 76
bruno juniper 113
alice ember 86
ivan indigo 120
alice ember 86
eli juniper 22
lina delta 113
| hana fable 88
gus cobalt 84
alice birch 76
bruno juniper 113
alice ember 86
ivan indigo 120
eli juniper 22
lina delta 113
| eli ember 106
hana birch 107
jules ember 45
hana ember 66
eli amber 17
eli ember 106
alice fable 76
hana amber 92
| eli ember 106
hana birch 107
jules ember 45
hana ember 66
eli amber 17
alice fable 76
hana amber 92
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053173 | qwen/qwen3.7-plus |
awkweave-0053174 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim fable 31
lina indigo 84
chen ember 47
alice birch 7
eli ember 97
hana indigo 72
chen grove 73
| kim fable 31
lina indigo 84
chen ember 47
alice birch 7
chen grove 73
| gus cobalt 44
lina ember 46
lina amber 41
ivan grove 30
farah ember 23
gus amber 1
hana ember 96
| gus cobalt 44
lina ember 46
lina amber 41
ivan grove 30
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053174-p1 | Retain only the first occurrence for every unique value in the second column, preserving the original input order. | !seen[$2]++ | kim fable 31
lina indigo 84
chen ember 47
alice birch 7
eli ember 97
hana indigo 72
chen grove 73
| kim fable 31
lina indigo 84
chen ember 47
alice birch 7
chen grove 73
| gus cobalt 44
lina ember 46
lina amber 41
ivan grove 30
farah ember 23
gus amber 1
hana ember 96
| gus cobalt 44
lina ember 46
lina amber 41
ivan grove 30
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053174 | qwen/qwen3.7-plus |
awkweave-0053175 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 4 grove
hana 6 delta
bruno 3 indigo
farah 20 indigo
lina 5 delta
chen 7 cobalt
eli 14 fable
chen 11 birch
| farah 4
hana 10
bruno 13
farah 33
lina 38
chen 45
eli 59
chen 70
| hana 14 indigo
bruno 7 harbor
ivan 22 juniper
ivan 10 fable
dina 17 delta
lina 11 ember
jules 9 cobalt
| hana 14
bruno 21
ivan 43
ivan 53
dina 70
lina 81
jules 90
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053175-p1 | For each entry, output the first column value alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | farah 4 grove
hana 6 delta
bruno 3 indigo
farah 20 indigo
lina 5 delta
chen 7 cobalt
eli 14 fable
chen 11 birch
| farah 4
hana 10
bruno 13
farah 33
lina 38
chen 45
eli 59
chen 70
| hana 14 indigo
bruno 7 harbor
ivan 22 juniper
ivan 10 fable
dina 17 delta
lina 11 ember
jules 9 cobalt
| hana 14
bruno 21
ivan 43
ivan 53
dina 70
lina 81
jules 90
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053175 | qwen/qwen3.7-plus |
awkweave-0053176 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 1 3 fable
ivan 18 16 delta
gus 18 27 cobalt
bruno 11 5 juniper
ivan 9 24 birch
lina 27 13 delta
| farah 4
ivan 34
gus 45
bruno 16
ivan 33
lina 40
| alice 18 18 indigo
alice 2 3 ember
farah 22 3 cobalt
farah 15 30 birch
hana 12 13 birch
hana 24 3 ember
lina 7 30 birch
eli 12 7 amber
| alice 36
alice 5
farah 25
farah 45
hana 25
hana 27
lina 37
eli 19
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053176-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | farah 1 3 fable
ivan 18 16 delta
gus 18 27 cobalt
bruno 11 5 juniper
ivan 9 24 birch
lina 27 13 delta
| farah 4
ivan 34
gus 45
bruno 16
ivan 33
lina 40
| alice 18 18 indigo
alice 2 3 ember
farah 22 3 cobalt
farah 15 30 birch
hana 12 13 birch
hana 24 3 ember
lina 7 30 birch
eli 12 7 amber
| alice 36
alice 5
farah 25
farah 45
hana 25
hana 27
lina 37
eli 19
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053176 | qwen/qwen3.7-plus |
awkweave-0053177 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | gus 29
ivan 28
dina 28
hana 21
dina 16
bruno 28
farah 17
alice 24
farah 13
| gus pass
ivan pass
dina pass
hana fail
dina fail
bruno pass
farah fail
alice fail
farah fail
| ivan 9
ivan 8
chen 26
alice 29
hana 18
gus 23
| ivan fail
ivan fail
chen fail
alice pass
hana fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053177-p1 | Output the first column value followed by 'pass' if the second column is 27 or greater; otherwise, output 'fail'. | {print $1,($2>=27?"pass":"fail")} | gus 29
ivan 28
dina 28
hana 21
dina 16
bruno 28
farah 17
alice 24
farah 13
| gus pass
ivan pass
dina pass
hana fail
dina fail
bruno pass
farah fail
alice fail
farah fail
| ivan 9
ivan 8
chen 26
alice 29
hana 18
gus 23
| ivan fail
ivan fail
chen fail
alice pass
hana fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053177 | qwen/qwen3.7-plus |
awkweave-0053178 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | kim birch 23
eli delta 14
dina ember 90
bruno amber 20
hana fable 77
ivan grove 120
kim indigo 65
eli harbor 85
| KIM
ELI
DINA
BRUNO
HANA
IVAN
KIM
ELI
| eli fable 42
kim harbor 16
bruno grove 6
kim birch 91
lina harbor 77
lina grove 42
| ELI
KIM
BRUNO
KIM
LINA
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053178-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | kim birch 23
eli delta 14
dina ember 90
bruno amber 20
hana fable 77
ivan grove 120
kim indigo 65
eli harbor 85
| KIM
ELI
DINA
BRUNO
HANA
IVAN
KIM
ELI
| eli fable 42
kim harbor 16
bruno grove 6
kim birch 91
lina harbor 77
lina grove 42
| ELI
KIM
BRUNO
KIM
LINA
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053178 | qwen/qwen3.7-plus |
awkweave-0053179 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | birch 74
fable 91
grove 57
cobalt 82
fable 20
indigo 81
grove 91
fable 73
| birc
fabl
grov
coba
fabl
indi
grov
fabl
| fable 53
fable 56
fable 57
birch 43
juniper 100
fable 117
harbor 19
juniper 59
| fabl
fabl
fabl
birc
juni
fabl
harb
juni
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053179-p1 | Extract and print the first 4 characters from column 1. | {print substr($1,1,4)} | birch 74
fable 91
grove 57
cobalt 82
fable 20
indigo 81
grove 91
fable 73
| birc
fabl
grov
coba
fabl
indi
grov
fabl
| fable 53
fable 56
fable 57
birch 43
juniper 100
fable 117
harbor 19
juniper 59
| fabl
fabl
fabl
birc
juni
fabl
harb
juni
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053179 | qwen/qwen3.7-plus |
awkweave-0053180 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_fable 69
ember_delta 53
birch_juniper 99
harbor_amber 90
ember_indigo 15
delta_delta 66
harbor_cobalt 3
fable_amber 30
amber_birch 72
amber_delta 78
| juniper fable
ember delta
birch juniper
harbor amber
ember indigo
delta delta
harbor cobalt
fable amber
amber birch
amber delta
| ember_indigo 78
delta_fable 108
cobalt_juniper 40
cobalt_fable 43
cobalt_juniper 4
harbor_cobalt 28
ember_indigo 54
| ember indigo
delta fable
cobalt juniper
cobalt fable
cobalt juniper
harbor cobalt
ember indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053180-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | juniper_fable 69
ember_delta 53
birch_juniper 99
harbor_amber 90
ember_indigo 15
delta_delta 66
harbor_cobalt 3
fable_amber 30
amber_birch 72
amber_delta 78
| juniper fable
ember delta
birch juniper
harbor amber
ember indigo
delta delta
harbor cobalt
fable amber
amber birch
amber delta
| ember_indigo 78
delta_fable 108
cobalt_juniper 40
cobalt_fable 43
cobalt_juniper 4
harbor_cobalt 28
ember_indigo 54
| ember indigo
delta fable
cobalt juniper
cobalt fable
cobalt juniper
harbor cobalt
ember indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053180 | qwen/qwen3.7-plus |
awkweave-0053181 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno amber 83 pending
lina cobalt 110 pending
farah indigo 1 paused
gus grove 34 active
eli delta 33 paused
ivan juniper 12 pending
farah fable 25 paused
alice fable 13 ready
| pending 83 amber bruno
pending 110 cobalt lina
paused 1 indigo farah
active 34 grove gus
paused 33 delta eli
pending 12 juniper ivan
paused 25 fable farah
ready 13 fable alice
| hana grove 80 pending
eli fable 74 failed
ivan amber 20 pending
lina delta 120 failed
gus indigo 43 ready
alice fable 64 failed
lina birch 103 failed
hana delta 44 closed
bruno grove 74 pending
| pending 80 grove hana
failed 74 fable eli
pending 20 amber ivan
failed 120 delta lina
ready 43 indigo gus
failed 64 fable alice
failed 103 birch lina
closed 44 delta hana
pending 74 grove bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053181-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)} | bruno amber 83 pending
lina cobalt 110 pending
farah indigo 1 paused
gus grove 34 active
eli delta 33 paused
ivan juniper 12 pending
farah fable 25 paused
alice fable 13 ready
| pending 83 amber bruno
pending 110 cobalt lina
paused 1 indigo farah
active 34 grove gus
paused 33 delta eli
pending 12 juniper ivan
paused 25 fable farah
ready 13 fable alice
| hana grove 80 pending
eli fable 74 failed
ivan amber 20 pending
lina delta 120 failed
gus indigo 43 ready
alice fable 64 failed
lina birch 103 failed
hana delta 44 closed
bruno grove 74 pending
| pending 80 grove hana
failed 74 fable eli
pending 20 amber ivan
failed 120 delta lina
ready 43 indigo gus
failed 64 fable alice
failed 103 birch lina
closed 44 delta hana
pending 74 grove bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053181 | qwen/qwen3.7-plus |
awkweave-0053182 | Print the number of whitespace-separated fields on each line. | {print NF} | gus birch 76 active
hana ember 1 failed
alice grove 66 active
bruno grove 95 paused
eli harbor 79 active
farah ember 75 closed
farah delta 74 failed
ivan cobalt 11 active
chen birch 97 pending
gus harbor 20 pending
| 4
4
4
4
4
4
4
4
4
4
| chen amber 86 paused
hana cobalt 44 pending
kim delta 100 active
lina indigo 25 closed
kim harbor 113 active
eli fable 105 failed
kim cobalt 86 failed
bruno cobalt 88 pending
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053182-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | gus birch 76 active
hana ember 1 failed
alice grove 66 active
bruno grove 95 paused
eli harbor 79 active
farah ember 75 closed
farah delta 74 failed
ivan cobalt 11 active
chen birch 97 pending
gus harbor 20 pending
| 4
4
4
4
4
4
4
4
4
4
| chen amber 86 paused
hana cobalt 44 pending
kim delta 100 active
lina indigo 25 closed
kim harbor 113 active
eli fable 105 failed
kim cobalt 86 failed
bruno cobalt 88 pending
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053182 | qwen/qwen3.7-plus |
awkweave-0053183 | 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]]} | ivan alpha 102
lina alpha 116
chen beta 96
eli gamma 83
hana delta 60
gus alpha 103
| alpha 3
beta 1
gamma 1
delta 1
| kim gamma 62
lina alpha 111
ivan delta 62
kim delta 87
kim beta 8
ivan gamma 47
alice gamma 90
dina gamma 113
ivan alpha 23
| gamma 4
alpha 2
delta 2
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053183-p1 | Tally the records for each unique value in column 2, printing the value and 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]]} | ivan alpha 102
lina alpha 116
chen beta 96
eli gamma 83
hana delta 60
gus alpha 103
| alpha 3
beta 1
gamma 1
delta 1
| kim gamma 62
lina alpha 111
ivan delta 62
kim delta 87
kim beta 8
ivan gamma 47
alice gamma 90
dina gamma 113
ivan alpha 23
| gamma 4
alpha 2
delta 2
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053183 | qwen/qwen3.7-plus |
awkweave-0053184 | 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 alpha 9
eli gamma 7
lina beta 26
alice alpha 5
ivan delta 24
ivan delta 2
hana gamma 9
eli beta 25
| alpha 14
gamma 16
beta 51
delta 26
| ivan delta 10
ivan gamma 27
dina alpha 11
bruno gamma 29
kim alpha 14
chen alpha 11
alice delta 7
| delta 17
gamma 56
alpha 36
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053184-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying results in the 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 alpha 9
eli gamma 7
lina beta 26
alice alpha 5
ivan delta 24
ivan delta 2
hana gamma 9
eli beta 25
| alpha 14
gamma 16
beta 51
delta 26
| ivan delta 10
ivan gamma 27
dina alpha 11
bruno gamma 29
kim alpha 14
chen alpha 11
alice delta 7
| delta 17
gamma 56
alpha 36
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053184 | qwen/qwen3.7-plus |
awkweave-0053185 | 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 birch 38
gamma cobalt 16
gamma birch 13
delta fable 10
delta ember 4
delta birch 70
delta harbor 105
alpha cobalt 31
delta delta 79
alpha harbor 118
| gamma 3
delta 5
alpha 2
| gamma birch 92
delta delta 13
alpha birch 92
gamma delta 70
gamma birch 59
beta birch 31
| gamma 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053185-p1 | List each duplicate value from column 1 along with its occurrence count, 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]]} | gamma birch 38
gamma cobalt 16
gamma birch 13
delta fable 10
delta ember 4
delta birch 70
delta harbor 105
alpha cobalt 31
delta delta 79
alpha harbor 118
| gamma 3
delta 5
alpha 2
| gamma birch 92
delta delta 13
alpha birch 92
gamma delta 70
gamma birch 59
beta birch 31
| gamma 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053185 | qwen/qwen3.7-plus |
awkweave-0053186 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score note region record_id
r001 alice 3 closed
r002 hana 7 ready
r003 kim 6 closed
r004 gus 6 closed
r005 hana 20 paused
r006 hana 3 pending
r007 ivan 21 closed
| alice
hana
kim
gus
hana
hana
ivan
| score note region record_id
r001 gus 27 failed
r002 alice 15 pending
r003 lina 11 ready
r004 lina 29 failed
r005 eli 1 active
r006 kim 1 paused
r007 hana 20 active
r008 chen 29 pending
r009 dina 29 failed
r010 hana 28 active
| gus
alice
lina
lina
eli
kim
hana
chen
dina
hana
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053186-p1 | Skip the header row and print the contents of the note column for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score note region record_id
r001 alice 3 closed
r002 hana 7 ready
r003 kim 6 closed
r004 gus 6 closed
r005 hana 20 paused
r006 hana 3 pending
r007 ivan 21 closed
| alice
hana
kim
gus
hana
hana
ivan
| score note region record_id
r001 gus 27 failed
r002 alice 15 pending
r003 lina 11 ready
r004 lina 29 failed
r005 eli 1 active
r006 kim 1 paused
r007 hana 20 active
r008 chen 29 pending
r009 dina 29 failed
r010 hana 28 active
| gus
alice
lina
lina
eli
kim
hana
chen
dina
hana
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053186 | qwen/qwen3.7-plus |
awkweave-0053187 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 farah 21 paused
r002 eli 4 active
r003 chen 21 closed
r004 alice 3 failed
r005 alice 15 closed
r006 hana 1 ready
r007 jules 26 active
| farah
chen
alice
jules
| record_id display_name score state
r001 alice 22 ready
r002 alice 21 pending
r003 chen 3 closed
r004 alice 25 pending
r005 chen 10 paused
r006 farah 8 active
r007 chen 23 active
r008 kim 16 paused
r009 lina 20 ready
| alice
alice
alice
chen
kim
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053187-p1 | Ignoring the header, print the display_name column for rows where the score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 farah 21 paused
r002 eli 4 active
r003 chen 21 closed
r004 alice 3 failed
r005 alice 15 closed
r006 hana 1 ready
r007 jules 26 active
| farah
chen
alice
jules
| record_id display_name score state
r001 alice 22 ready
r002 alice 21 pending
r003 chen 3 closed
r004 alice 25 pending
r005 chen 10 paused
r006 farah 8 active
r007 chen 23 active
r008 kim 16 paused
r009 lina 20 ready
| alice
alice
alice
chen
kim
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053187 | qwen/qwen3.7-plus |
awkweave-0053188 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | jules 22 active
ivan 6 pending
eli 18 active
hana 23 pending
bruno 8 pending
ivan 2 closed
dina 15 closed
hana 9 failed
| jules
ivan
eli
hana
bruno
ivan
dina
hana
| farah 11 closed
jules 26 active
bruno 10 ready
dina 3 closed
chen 3 pending
gus 1 paused
| farah
jules
bruno
dina
chen
gus
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053188-p1 | Given tab-separated input, output the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | jules 22 active
ivan 6 pending
eli 18 active
hana 23 pending
bruno 8 pending
ivan 2 closed
dina 15 closed
hana 9 failed
| jules
ivan
eli
hana
bruno
ivan
dina
hana
| farah 11 closed
jules 26 active
bruno 10 ready
dina 3 closed
chen 3 pending
gus 1 paused
| farah
jules
bruno
dina
chen
gus
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053188 | qwen/qwen3.7-plus |
awkweave-0053189 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,12,paused
ivan,26,ready
dina,10,failed
eli,22,failed
hana,23,closed
dina,9,active
hana,4,paused
| ivan
eli
hana
| gus,9,closed
lina,18,paused
alice,1,paused
ivan,28,closed
chen,26,paused
alice,2,paused
chen,21,closed
gus,16,active
alice,3,closed
| lina
ivan
chen
chen
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053189-p1 | For simple comma-separated input without quoted commas, print column 1 if column 2 is greater than 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,12,paused
ivan,26,ready
dina,10,failed
eli,22,failed
hana,23,closed
dina,9,active
hana,4,paused
| ivan
eli
hana
| gus,9,closed
lina,18,paused
alice,1,paused
ivan,28,closed
chen,26,paused
alice,2,paused
chen,21,closed
gus,16,active
alice,3,closed
| lina
ivan
chen
chen
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053189 | qwen/qwen3.7-plus |
awkweave-0053200 | Print column 4 only for rows where column 2 is exactly failed. | $2 == "failed"{print $4} | cobalt active 86 jules
grove active 112 lina
amber ready 45 eli
cobalt failed 42 dina
harbor ready 71 alice
grove pending 1 farah
juniper failed 55 jules
fable pending 94 kim
juniper pending 105 bruno
| dina
jules
| fable ready 91 farah
birch pending 61 chen
indigo failed 19 eli
fable closed 88 kim
delta ready 71 bruno
cobalt paused 0 hana
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053200-p1 | Extract and display the fourth column solely for rows where the second column matches 'failed' exactly. | $2 == "failed"{print $4} | cobalt active 86 jules
grove active 112 lina
amber ready 45 eli
cobalt failed 42 dina
harbor ready 71 alice
grove pending 1 farah
juniper failed 55 jules
fable pending 94 kim
juniper pending 105 bruno
| dina
jules
| fable ready 91 farah
birch pending 61 chen
indigo failed 19 eli
fable closed 88 kim
delta ready 71 bruno
cobalt paused 0 hana
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053200 | qwen/qwen3.7-plus |
awkweave-0053201 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | amber INFO 96
amber WARN 68
harbor DEBUG 42
juniper WARN 74
birch INFO 73
indigo INFO 18
cobalt INFO 67
| amber INFO 96
birch INFO 73
indigo INFO 18
cobalt INFO 67
| amber DEBUG 99
birch INFO 5
juniper WARN 15
amber DEBUG 87
cobalt ERROR 5
harbor WARN 34
| birch INFO 5
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053201-p1 | Output every field from lines where the second field starts with the string 'INFO'. | $2 ~ /^INFO/ | amber INFO 96
amber WARN 68
harbor DEBUG 42
juniper WARN 74
birch INFO 73
indigo INFO 18
cobalt INFO 67
| amber INFO 96
birch INFO 73
indigo INFO 18
cobalt INFO 67
| amber DEBUG 99
birch INFO 5
juniper WARN 15
amber DEBUG 87
cobalt ERROR 5
harbor WARN 34
| birch INFO 5
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053201 | qwen/qwen3.7-plus |
awkweave-0053202 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | indigo 78 paused
cobalt 104 active
juniper 13 pending
grove 2 active
fable 89 failed
cobalt 46 failed
ember 999 active
| indigo 78 paused
cobalt 104 active
juniper 13 pending
grove 2 active
fable 89 failed
cobalt 46 failed
| indigo 44 pending
ember 54 ready
juniper 113 failed
ember 3 ready
cobalt 66 failed
delta 56 ready
fable 30 paused
cobalt 107 closed
juniper 70 active
ember 999 active
| indigo 44 pending
juniper 113 failed
cobalt 66 failed
delta 56 ready
fable 30 paused
cobalt 107 closed
juniper 70 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053202-p1 | Display all lines that do not contain the exact substring 'ember'. | $0 !~ /ember/ | indigo 78 paused
cobalt 104 active
juniper 13 pending
grove 2 active
fable 89 failed
cobalt 46 failed
ember 999 active
| indigo 78 paused
cobalt 104 active
juniper 13 pending
grove 2 active
fable 89 failed
cobalt 46 failed
| indigo 44 pending
ember 54 ready
juniper 113 failed
ember 3 ready
cobalt 66 failed
delta 56 ready
fable 30 paused
cobalt 107 closed
juniper 70 active
ember 999 active
| indigo 44 pending
juniper 113 failed
cobalt 66 failed
delta 56 ready
fable 30 paused
cobalt 107 closed
juniper 70 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053202 | qwen/qwen3.7-plus |
awkweave-0053203 | Print lines 4 through 6, including both endpoints. | NR >= 4 && NR <= 6 | kim grove 23
dina amber 63
ivan fable 8
chen fable 82
chen birch 120
eli ember 37
jules grove 98
alice amber 90
hana harbor 78
| chen fable 82
chen birch 120
eli ember 37
| alice grove 49
chen birch 104
farah delta 42
jules amber 116
gus juniper 89
eli juniper 97
dina delta 1
| jules amber 116
gus juniper 89
eli juniper 97
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053203-p1 | Print lines 4 to 6, inclusive of both the start and end lines. | NR >= 4 && NR <= 6 | kim grove 23
dina amber 63
ivan fable 8
chen fable 82
chen birch 120
eli ember 37
jules grove 98
alice amber 90
hana harbor 78
| chen fable 82
chen birch 120
eli ember 37
| alice grove 49
chen birch 104
farah delta 42
jules amber 116
gus juniper 89
eli juniper 97
dina delta 1
| jules amber 116
gus juniper 89
eli juniper 97
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053203 | qwen/qwen3.7-plus |
awkweave-0053204 | Output only the first 5 records. | NR <= 5 | hana 34 harbor
jules 94 indigo
alice 55 harbor
ivan 87 delta
hana 65 cobalt
jules 98 amber
kim 95 indigo
| hana 34 harbor
jules 94 indigo
alice 55 harbor
ivan 87 delta
hana 65 cobalt
| kim 54 delta
lina 54 cobalt
alice 117 fable
bruno 112 fable
gus 59 fable
dina 103 cobalt
lina 40 ember
| kim 54 delta
lina 54 cobalt
alice 117 fable
bruno 112 fable
gus 59 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053204-p1 | Restrict the output to the initial 5 records only. | NR <= 5 | hana 34 harbor
jules 94 indigo
alice 55 harbor
ivan 87 delta
hana 65 cobalt
jules 98 amber
kim 95 indigo
| hana 34 harbor
jules 94 indigo
alice 55 harbor
ivan 87 delta
hana 65 cobalt
| kim 54 delta
lina 54 cobalt
alice 117 fable
bruno 112 fable
gus 59 fable
dina 103 cobalt
lina 40 ember
| kim 54 delta
lina 54 cobalt
alice 117 fable
bruno 112 fable
gus 59 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053204 | qwen/qwen3.7-plus |
awkweave-0053205 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 30 ember
kim 67 juniper
kim 1 delta
alice 68 fable
dina 23 delta
lina 120 birch
| kim 67 juniper
kim 1 delta
alice 68 fable
dina 23 delta
lina 120 birch
| alice 2 amber
alice 68 harbor
kim 91 juniper
hana 40 grove
alice 117 harbor
kim 103 delta
chen 97 indigo
farah 112 indigo
| alice 68 harbor
kim 91 juniper
hana 40 grove
alice 117 harbor
kim 103 delta
chen 97 indigo
farah 112 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053205-p1 | Omit the header line and print all subsequent lines without modification. | NR > 1 | bruno 30 ember
kim 67 juniper
kim 1 delta
alice 68 fable
dina 23 delta
lina 120 birch
| kim 67 juniper
kim 1 delta
alice 68 fable
dina 23 delta
lina 120 birch
| alice 2 amber
alice 68 harbor
kim 91 juniper
hana 40 grove
alice 117 harbor
kim 103 delta
chen 97 indigo
farah 112 indigo
| alice 68 harbor
kim 91 juniper
hana 40 grove
alice 117 harbor
kim 103 delta
chen 97 indigo
farah 112 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053205 | qwen/qwen3.7-plus |
awkweave-0053206 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | alice paused 60
kim active 47
jules pending 81
dina pending 105
farah failed 14
jules failed 8
chen paused 91
| 2
| jules ready 78
farah closed 100
eli pending 24
dina ready 90
hana pending 103
eli ready 13
farah paused 23
chen failed 1
bruno pending 78
bruno ready 41
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053206-p1 | Tally the number of records with 'pending' in the second column; output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | alice paused 60
kim active 47
jules pending 81
dina pending 105
farah failed 14
jules failed 8
chen paused 91
| 2
| jules ready 78
farah closed 100
eli pending 24
dina ready 90
hana pending 103
eli ready 13
farah paused 23
chen failed 1
bruno pending 78
bruno ready 41
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053206 | qwen/qwen3.7-plus |
awkweave-0053207 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 6 ember alice
9 fable lina
1 grove alice
21 indigo kim
6 cobalt hana
12 birch chen
18 ember farah
21 cobalt lina
| 94
| 18 delta bruno
25 fable hana
4 cobalt bruno
17 birch lina
22 cobalt bruno
27 harbor ivan
23 harbor dina
7 grove dina
14 juniper hana
| 157
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053207-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 6 ember alice
9 fable lina
1 grove alice
21 indigo kim
6 cobalt hana
12 birch chen
18 ember farah
21 cobalt lina
| 94
| 18 delta bruno
25 fable hana
4 cobalt bruno
17 birch lina
22 cobalt bruno
27 harbor ivan
23 harbor dina
7 grove dina
14 juniper hana
| 157
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053207 | qwen/qwen3.7-plus |
awkweave-0053208 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | birch 8 farah
cobalt 19 bruno
indigo 11 hana
birch 5 farah
amber 18 bruno
cobalt 13 gus
grove 20 kim
harbor 30 jules
indigo 6 bruno
| 14.44
| birch 28 chen
indigo 4 bruno
ember 24 hana
grove 3 bruno
grove 30 eli
indigo 25 farah
| 19.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053208-p1 | Calculate the average of the values in the second column and format the result to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | birch 8 farah
cobalt 19 bruno
indigo 11 hana
birch 5 farah
amber 18 bruno
cobalt 13 gus
grove 20 kim
harbor 30 jules
indigo 6 bruno
| 14.44
| birch 28 chen
indigo 4 bruno
ember 24 hana
grove 3 bruno
grove 30 eli
indigo 25 farah
| 19.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053208 | qwen/qwen3.7-plus |
awkweave-0053209 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | dina 28 amber
gus 30 grove
bruno 17 amber
eli 3 ember
jules 5 indigo
jules 25 ember
farah 1 delta
bruno 2 ember
jules 26 fable
lina 13 delta
| 1
| bruno 28 juniper
hana 30 grove
ivan 25 birch
lina 20 fable
bruno 20 birch
ivan 20 grove
| 20
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053209-p1 | Identify and output the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | dina 28 amber
gus 30 grove
bruno 17 amber
eli 3 ember
jules 5 indigo
jules 25 ember
farah 1 delta
bruno 2 ember
jules 26 fable
lina 13 delta
| 1
| bruno 28 juniper
hana 30 grove
ivan 25 birch
lina 20 fable
bruno 20 birch
ivan 20 grove
| 20
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053209 | qwen/qwen3.7-plus |
awkweave-0053210 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 26 juniper
lina 29 amber
hana 27 fable
farah 18 juniper
kim 10 juniper
jules 4 cobalt
gus 14 fable
| 29
| chen 20 birch
farah 3 cobalt
hana 17 fable
bruno 10 birch
ivan 24 harbor
kim 13 juniper
| 24
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053210-p1 | Identify and output the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 26 juniper
lina 29 amber
hana 27 fable
farah 18 juniper
kim 10 juniper
jules 4 cobalt
gus 14 fable
| 29
| chen 20 birch
farah 3 cobalt
hana 17 fable
bruno 10 birch
ivan 24 harbor
kim 13 juniper
| 24
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053210 | qwen/qwen3.7-plus |
awkweave-0053211 | Count all input records and print the total. | END{print NR} | farah 45
farah 117
jules 87
kim 41
farah 53
gus 52
| 6
| eli 114
gus 112
ivan 9
gus 94
hana 35
kim 90
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053211-p1 | Count the total number of input records and print the final count. | END{print NR} | farah 45
farah 117
jules 87
kim 41
farah 53
gus 52
| 6
| eli 114
gus 112
ivan 9
gus 94
hana 35
kim 90
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053211 | qwen/qwen3.7-plus |
awkweave-0053212 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim harbor 86
kim grove 27
eli grove 6
kim juniper 69
dina birch 62
gus fable 31
kim harbor 86
alice harbor 64
| kim harbor 86
kim grove 27
eli grove 6
kim juniper 69
dina birch 62
gus fable 31
alice harbor 64
| bruno juniper 24
hana ember 71
ivan ember 49
hana ember 71
lina harbor 3
lina grove 29
hana amber 87
lina fable 83
| bruno juniper 24
hana ember 71
ivan ember 49
lina harbor 3
lina grove 29
hana amber 87
lina fable 83
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053212-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each line. | !seen[$0]++ | kim harbor 86
kim grove 27
eli grove 6
kim juniper 69
dina birch 62
gus fable 31
kim harbor 86
alice harbor 64
| kim harbor 86
kim grove 27
eli grove 6
kim juniper 69
dina birch 62
gus fable 31
alice harbor 64
| bruno juniper 24
hana ember 71
ivan ember 49
hana ember 71
lina harbor 3
lina grove 29
hana amber 87
lina fable 83
| bruno juniper 24
hana ember 71
ivan ember 49
lina harbor 3
lina grove 29
hana amber 87
lina fable 83
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053212 | qwen/qwen3.7-plus |
awkweave-0053213 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah amber 82
bruno fable 34
farah cobalt 27
gus harbor 24
hana indigo 62
gus grove 83
bruno delta 20
lina juniper 18
hana harbor 32
| farah amber 82
bruno fable 34
gus harbor 24
hana indigo 62
lina juniper 18
| chen harbor 113
ivan birch 99
gus indigo 60
chen fable 39
gus grove 70
ivan fable 60
gus juniper 70
hana juniper 33
kim cobalt 92
kim harbor 84
| chen harbor 113
ivan birch 99
gus indigo 60
hana juniper 33
kim cobalt 92
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053213-p1 | Retain only the initial line for every unique value found in the first column, ensuring the original input order is preserved. | !seen[$1]++ | farah amber 82
bruno fable 34
farah cobalt 27
gus harbor 24
hana indigo 62
gus grove 83
bruno delta 20
lina juniper 18
hana harbor 32
| farah amber 82
bruno fable 34
gus harbor 24
hana indigo 62
lina juniper 18
| chen harbor 113
ivan birch 99
gus indigo 60
chen fable 39
gus grove 70
ivan fable 60
gus juniper 70
hana juniper 33
kim cobalt 92
kim harbor 84
| chen harbor 113
ivan birch 99
gus indigo 60
hana juniper 33
kim cobalt 92
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053213 | qwen/qwen3.7-plus |
awkweave-0053214 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 30 cobalt
lina 27 indigo
eli 21 amber
eli 10 juniper
farah 30 cobalt
jules 2 juniper
gus 30 juniper
alice 22 cobalt
| chen 30
lina 57
eli 78
eli 88
farah 118
jules 120
gus 150
alice 172
| bruno 25 indigo
jules 6 juniper
bruno 27 birch
gus 3 grove
hana 12 delta
hana 24 birch
jules 27 amber
farah 17 juniper
| bruno 25
jules 31
bruno 58
gus 61
hana 73
hana 97
jules 124
farah 141
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053214-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} | chen 30 cobalt
lina 27 indigo
eli 21 amber
eli 10 juniper
farah 30 cobalt
jules 2 juniper
gus 30 juniper
alice 22 cobalt
| chen 30
lina 57
eli 78
eli 88
farah 118
jules 120
gus 150
alice 172
| bruno 25 indigo
jules 6 juniper
bruno 27 birch
gus 3 grove
hana 12 delta
hana 24 birch
jules 27 amber
farah 17 juniper
| bruno 25
jules 31
bruno 58
gus 61
hana 73
hana 97
jules 124
farah 141
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053214 | qwen/qwen3.7-plus |
awkweave-0053215 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | alice 23 27 indigo
eli 20 15 fable
farah 3 24 birch
bruno 5 4 grove
jules 20 22 birch
gus 14 3 juniper
lina 17 27 cobalt
eli 14 1 grove
| alice 50
eli 35
farah 27
bruno 9
jules 42
gus 17
lina 44
eli 15
| farah 19 29 grove
kim 30 5 birch
lina 28 18 fable
kim 13 10 delta
alice 12 3 cobalt
dina 28 16 cobalt
| farah 48
kim 35
lina 46
kim 23
alice 15
dina 44
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053215-p1 | For each row, display the first field followed by the result of adding the second and third fields together. | {print $1,$2+$3} | alice 23 27 indigo
eli 20 15 fable
farah 3 24 birch
bruno 5 4 grove
jules 20 22 birch
gus 14 3 juniper
lina 17 27 cobalt
eli 14 1 grove
| alice 50
eli 35
farah 27
bruno 9
jules 42
gus 17
lina 44
eli 15
| farah 19 29 grove
kim 30 5 birch
lina 28 18 fable
kim 13 10 delta
alice 12 3 cobalt
dina 28 16 cobalt
| farah 48
kim 35
lina 46
kim 23
alice 15
dina 44
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053215 | qwen/qwen3.7-plus |
awkweave-0053216 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | eli 15
kim 10
bruno 5
eli 10
jules 26
alice 6
| eli fail
kim fail
bruno fail
eli fail
jules pass
alice fail
| gus 17
chen 16
alice 2
jules 5
alice 21
hana 7
alice 19
hana 3
farah 23
| gus fail
chen fail
alice fail
jules fail
alice fail
hana fail
alice fail
hana fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053216-p1 | Output the first column; if the second column is 26 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=26?"pass":"fail")} | eli 15
kim 10
bruno 5
eli 10
jules 26
alice 6
| eli fail
kim fail
bruno fail
eli fail
jules pass
alice fail
| gus 17
chen 16
alice 2
jules 5
alice 21
hana 7
alice 19
hana 3
farah 23
| gus fail
chen fail
alice fail
jules fail
alice fail
hana fail
alice fail
hana fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053216 | qwen/qwen3.7-plus |
awkweave-0053217 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | chen indigo 67
jules amber 9
bruno indigo 76
farah ember 17
dina ember 60
bruno indigo 54
| CHEN
JULES
BRUNO
FARAH
DINA
BRUNO
| gus delta 28
alice juniper 96
hana ember 88
kim indigo 29
lina juniper 39
lina juniper 66
gus harbor 4
lina cobalt 72
| GUS
ALICE
HANA
KIM
LINA
LINA
GUS
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053217-p1 | Transform the first column to uppercase and output only that modified column. | {print toupper($1)} | chen indigo 67
jules amber 9
bruno indigo 76
farah ember 17
dina ember 60
bruno indigo 54
| CHEN
JULES
BRUNO
FARAH
DINA
BRUNO
| gus delta 28
alice juniper 96
hana ember 88
kim indigo 29
lina juniper 39
lina juniper 66
gus harbor 4
lina cobalt 72
| GUS
ALICE
HANA
KIM
LINA
LINA
GUS
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053217 | qwen/qwen3.7-plus |
awkweave-0053218 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | fable 13
juniper 44
ember 110
amber 62
birch 37
birch 59
juniper 3
| fab
jun
emb
amb
bir
bir
jun
| ember 25
cobalt 91
fable 35
delta 74
cobalt 61
amber 63
indigo 65
birch 18
| emb
cob
fab
del
cob
amb
ind
bir
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053218-p1 | Extract and print the first three characters from the first column, starting at position 1. | {print substr($1,1,3)} | fable 13
juniper 44
ember 110
amber 62
birch 37
birch 59
juniper 3
| fab
jun
emb
amb
bir
bir
jun
| ember 25
cobalt 91
fable 35
delta 74
cobalt 61
amber 63
indigo 65
birch 18
| emb
cob
fab
del
cob
amb
ind
bir
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053218 | qwen/qwen3.7-plus |
awkweave-0053219 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_delta 56
cobalt_indigo 56
cobalt_juniper 82
delta_harbor 113
cobalt_birch 29
birch_grove 7
harbor_indigo 22
| birch delta
cobalt indigo
cobalt juniper
delta harbor
cobalt birch
birch grove
harbor indigo
| amber_cobalt 24
harbor_indigo 49
amber_ember 44
harbor_indigo 114
juniper_juniper 23
fable_harbor 4
amber_juniper 95
harbor_juniper 39
fable_birch 80
grove_harbor 88
| amber cobalt
harbor indigo
amber ember
harbor indigo
juniper juniper
fable harbor
amber juniper
harbor juniper
fable birch
grove harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053219-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_delta 56
cobalt_indigo 56
cobalt_juniper 82
delta_harbor 113
cobalt_birch 29
birch_grove 7
harbor_indigo 22
| birch delta
cobalt indigo
cobalt juniper
delta harbor
cobalt birch
birch grove
harbor indigo
| amber_cobalt 24
harbor_indigo 49
amber_ember 44
harbor_indigo 114
juniper_juniper 23
fable_harbor 4
amber_juniper 95
harbor_juniper 39
fable_birch 80
grove_harbor 88
| amber cobalt
harbor indigo
amber ember
harbor indigo
juniper juniper
fable harbor
amber juniper
harbor juniper
fable birch
grove harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053219 | qwen/qwen3.7-plus |
awkweave-0053220 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli cobalt 17 pending
chen grove 31 paused
jules ember 25 failed
alice ember 40 active
lina juniper 118 failed
jules grove 17 paused
eli delta 101 ready
bruno ember 47 failed
| pending 17 cobalt eli
paused 31 grove chen
failed 25 ember jules
active 40 ember alice
failed 118 juniper lina
paused 17 grove jules
ready 101 delta eli
failed 47 ember bruno
| bruno indigo 78 active
gus delta 92 closed
eli cobalt 22 active
lina harbor 1 active
bruno juniper 61 closed
ivan fable 25 failed
dina cobalt 116 active
kim indigo 85 ready
| active 78 indigo bruno
closed 92 delta gus
active 22 cobalt eli
active 1 harbor lina
closed 61 juniper bruno
failed 25 fable ivan
active 116 cobalt dina
ready 85 indigo kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053220-p1 | Reverse the sequence of fields for every line and print all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli cobalt 17 pending
chen grove 31 paused
jules ember 25 failed
alice ember 40 active
lina juniper 118 failed
jules grove 17 paused
eli delta 101 ready
bruno ember 47 failed
| pending 17 cobalt eli
paused 31 grove chen
failed 25 ember jules
active 40 ember alice
failed 118 juniper lina
paused 17 grove jules
ready 101 delta eli
failed 47 ember bruno
| bruno indigo 78 active
gus delta 92 closed
eli cobalt 22 active
lina harbor 1 active
bruno juniper 61 closed
ivan fable 25 failed
dina cobalt 116 active
kim indigo 85 ready
| active 78 indigo bruno
closed 92 delta gus
active 22 cobalt eli
active 1 harbor lina
closed 61 juniper bruno
failed 25 fable ivan
active 116 cobalt dina
ready 85 indigo kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053220 | qwen/qwen3.7-plus |
awkweave-0053221 | Print the number of whitespace-separated fields on each line. | {print NF} | gus birch 11 active
dina birch 103 failed
kim indigo 32 closed
bruno delta 56 paused
ivan birch 15 ready
chen harbor 60 active
alice ember 80 active
hana ember 86 closed
| 4
4
4
4
4
4
4
4
| kim juniper 34 ready
eli grove 40 active
dina amber 39 pending
bruno birch 95 pending
ivan grove 45 ready
gus juniper 42 paused
bruno birch 110 active
farah harbor 99 active
bruno ember 51 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053221-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | gus birch 11 active
dina birch 103 failed
kim indigo 32 closed
bruno delta 56 paused
ivan birch 15 ready
chen harbor 60 active
alice ember 80 active
hana ember 86 closed
| 4
4
4
4
4
4
4
4
| kim juniper 34 ready
eli grove 40 active
dina amber 39 pending
bruno birch 95 pending
ivan grove 45 ready
gus juniper 42 paused
bruno birch 110 active
farah harbor 99 active
bruno ember 51 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053221 | qwen/qwen3.7-plus |
awkweave-0053222 | 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]]} | kim delta 43
ivan alpha 43
bruno gamma 49
gus alpha 46
kim alpha 104
ivan delta 27
jules delta 24
gus gamma 2
ivan gamma 49
| delta 3
alpha 3
gamma 3
| alice alpha 80
hana gamma 32
dina delta 109
farah beta 76
jules gamma 3
dina delta 14
alice delta 4
lina delta 104
hana beta 102
bruno beta 99
| alpha 1
gamma 2
delta 4
beta 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0053222-p1 | Tally the number of records for each unique value in the second column, printing the value and 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]]} | kim delta 43
ivan alpha 43
bruno gamma 49
gus alpha 46
kim alpha 104
ivan delta 27
jules delta 24
gus gamma 2
ivan gamma 49
| delta 3
alpha 3
gamma 3
| alice alpha 80
hana gamma 32
dina delta 109
farah beta 76
jules gamma 3
dina delta 14
alice delta 4
lina delta 104
hana beta 102
bruno beta 99
| alpha 1
gamma 2
delta 4
beta 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0053222 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.