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-0005270-p1 | Print all fields from any line where the second field starts with the prefix 'ERROR'. | $2 ~ /^ERROR/ | indigo WARN 8
birch DEBUG 58
juniper ERROR 24
grove DEBUG 69
grove DEBUG 112
juniper ERROR 59
juniper DEBUG 112
cobalt INFO 18
amber DEBUG 1
| juniper ERROR 24
juniper ERROR 59
| grove DEBUG 83
grove WARN 3
ember DEBUG 94
amber ERROR 109
fable ERROR 53
indigo INFO 74
fable DEBUG 70
| amber ERROR 109
fable ERROR 53
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005270 | qwen/qwen3.7-plus |
awkweave-0005271 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | grove 28 active
harbor 68 pending
indigo 84 active
grove 100 closed
birch 10 closed
fable 53 failed
fable 0 failed
grove 999 active
| harbor 68 pending
indigo 84 active
birch 10 closed
fable 53 failed
fable 0 failed
| fable 15 ready
fable 107 active
ember 25 paused
fable 31 pending
amber 7 closed
grove 95 failed
fable 41 pending
fable 92 pending
birch 44 ready
harbor 73 closed
grove 999 active
| fable 15 ready
fable 107 active
ember 25 paused
fable 31 pending
amber 7 closed
fable 41 pending
fable 92 pending
birch 44 ready
harbor 73 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005271-p1 | Output every line from the input that does not contain the exact substring 'grove'. | $0 !~ /grove/ | grove 28 active
harbor 68 pending
indigo 84 active
grove 100 closed
birch 10 closed
fable 53 failed
fable 0 failed
grove 999 active
| harbor 68 pending
indigo 84 active
birch 10 closed
fable 53 failed
fable 0 failed
| fable 15 ready
fable 107 active
ember 25 paused
fable 31 pending
amber 7 closed
grove 95 failed
fable 41 pending
fable 92 pending
birch 44 ready
harbor 73 closed
grove 999 active
| fable 15 ready
fable 107 active
ember 25 paused
fable 31 pending
amber 7 closed
fable 41 pending
fable 92 pending
birch 44 ready
harbor 73 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005271 | qwen/qwen3.7-plus |
awkweave-0005272 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | bruno delta 79
kim amber 1
gus juniper 83
kim cobalt 64
chen juniper 114
dina delta 106
chen ember 26
kim indigo 13
jules juniper 79
| kim amber 1
gus juniper 83
kim cobalt 64
chen juniper 114
| farah ember 91
kim indigo 99
ivan juniper 50
ivan ember 30
gus cobalt 62
farah fable 39
ivan harbor 43
kim harbor 30
bruno delta 82
alice grove 118
| kim indigo 99
ivan juniper 50
ivan ember 30
gus cobalt 62
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005272-p1 | Display lines 2 to 5, inclusive of both the start and end lines. | NR >= 2 && NR <= 5 | bruno delta 79
kim amber 1
gus juniper 83
kim cobalt 64
chen juniper 114
dina delta 106
chen ember 26
kim indigo 13
jules juniper 79
| kim amber 1
gus juniper 83
kim cobalt 64
chen juniper 114
| farah ember 91
kim indigo 99
ivan juniper 50
ivan ember 30
gus cobalt 62
farah fable 39
ivan harbor 43
kim harbor 30
bruno delta 82
alice grove 118
| kim indigo 99
ivan juniper 50
ivan ember 30
gus cobalt 62
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005272 | qwen/qwen3.7-plus |
awkweave-0005273 | Output only the first 3 records. | NR <= 3 | dina 24 fable
alice 81 amber
dina 68 ember
alice 116 fable
gus 113 birch
dina 6 grove
alice 37 cobalt
hana 97 harbor
| dina 24 fable
alice 81 amber
dina 68 ember
| farah 57 birch
hana 24 juniper
dina 6 birch
kim 115 delta
chen 14 cobalt
hana 120 delta
kim 114 juniper
| farah 57 birch
hana 24 juniper
dina 6 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005273-p1 | Output just the initial 3 records. | NR <= 3 | dina 24 fable
alice 81 amber
dina 68 ember
alice 116 fable
gus 113 birch
dina 6 grove
alice 37 cobalt
hana 97 harbor
| dina 24 fable
alice 81 amber
dina 68 ember
| farah 57 birch
hana 24 juniper
dina 6 birch
kim 115 delta
chen 14 cobalt
hana 120 delta
kim 114 juniper
| farah 57 birch
hana 24 juniper
dina 6 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005273 | qwen/qwen3.7-plus |
awkweave-0005274 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 109 delta
lina 35 grove
alice 50 birch
kim 7 amber
lina 5 harbor
eli 23 harbor
alice 89 indigo
eli 36 grove
| lina 35 grove
alice 50 birch
kim 7 amber
lina 5 harbor
eli 23 harbor
alice 89 indigo
eli 36 grove
| kim 14 harbor
lina 3 indigo
farah 1 indigo
eli 26 indigo
farah 16 grove
ivan 5 harbor
alice 89 indigo
ivan 104 ember
eli 24 fable
| lina 3 indigo
farah 1 indigo
eli 26 indigo
farah 16 grove
ivan 5 harbor
alice 89 indigo
ivan 104 ember
eli 24 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005274-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | lina 109 delta
lina 35 grove
alice 50 birch
kim 7 amber
lina 5 harbor
eli 23 harbor
alice 89 indigo
eli 36 grove
| lina 35 grove
alice 50 birch
kim 7 amber
lina 5 harbor
eli 23 harbor
alice 89 indigo
eli 36 grove
| kim 14 harbor
lina 3 indigo
farah 1 indigo
eli 26 indigo
farah 16 grove
ivan 5 harbor
alice 89 indigo
ivan 104 ember
eli 24 fable
| lina 3 indigo
farah 1 indigo
eli 26 indigo
farah 16 grove
ivan 5 harbor
alice 89 indigo
ivan 104 ember
eli 24 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005274 | qwen/qwen3.7-plus |
awkweave-0005275 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | eli active 106
dina paused 43
ivan active 28
chen failed 115
alice active 56
gus pending 32
eli active 26
farah pending 109
farah pending 87
| 3
| hana failed 15
lina paused 30
bruno paused 96
dina active 2
hana ready 110
ivan closed 47
hana paused 63
alice paused 114
eli paused 13
jules pending 14
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005275-p1 | Count the number of records where column 2 contains 'pending', printing 0 if no matches are found. | $2 == "pending"{n++}END{print n+0} | eli active 106
dina paused 43
ivan active 28
chen failed 115
alice active 56
gus pending 32
eli active 26
farah pending 109
farah pending 87
| 3
| hana failed 15
lina paused 30
bruno paused 96
dina active 2
hana ready 110
ivan closed 47
hana paused 63
alice paused 114
eli paused 13
jules pending 14
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005275 | qwen/qwen3.7-plus |
awkweave-0005276 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 28 alice amber
9 jules indigo
3 ivan birch
2 jules indigo
27 bruno cobalt
14 dina delta
| 83
| 18 dina cobalt
21 lina ember
25 kim ember
17 dina birch
2 jules amber
19 chen juniper
17 jules amber
12 lina birch
| 131
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005276-p1 | Compute and output the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 28 alice amber
9 jules indigo
3 ivan birch
2 jules indigo
27 bruno cobalt
14 dina delta
| 83
| 18 dina cobalt
21 lina ember
25 kim ember
17 dina birch
2 jules amber
19 chen juniper
17 jules amber
12 lina birch
| 131
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005276 | qwen/qwen3.7-plus |
awkweave-0005277 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | lina 10 delta
lina 5 indigo
alice 13 delta
dina 9 birch
alice 2 harbor
chen 28 cobalt
chen 2 grove
| 9.86
| dina 24 indigo
gus 15 indigo
eli 21 ember
lina 2 ember
farah 25 cobalt
hana 8 ember
hana 9 delta
farah 4 delta
hana 8 delta
ivan 23 delta
| 13.90
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005277-p1 | Print the average of column 2, formatted to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | lina 10 delta
lina 5 indigo
alice 13 delta
dina 9 birch
alice 2 harbor
chen 28 cobalt
chen 2 grove
| 9.86
| dina 24 indigo
gus 15 indigo
eli 21 ember
lina 2 ember
farah 25 cobalt
hana 8 ember
hana 9 delta
farah 4 delta
hana 8 delta
ivan 23 delta
| 13.90
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005277 | qwen/qwen3.7-plus |
awkweave-0005278 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 19 juniper
kim 4 indigo
gus 7 indigo
alice 19 indigo
ivan 23 indigo
eli 23 fable
ivan 17 fable
kim 12 delta
| 4
| farah 5 harbor
kim 29 cobalt
dina 22 birch
jules 11 ember
chen 20 birch
gus 10 cobalt
kim 10 indigo
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005278-p1 | Identify and display the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 19 juniper
kim 4 indigo
gus 7 indigo
alice 19 indigo
ivan 23 indigo
eli 23 fable
ivan 17 fable
kim 12 delta
| 4
| farah 5 harbor
kim 29 cobalt
dina 22 birch
jules 11 ember
chen 20 birch
gus 10 cobalt
kim 10 indigo
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005278 | qwen/qwen3.7-plus |
awkweave-0005279 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | delta 20 lina
juniper 18 bruno
grove 3 jules
amber 3 eli
fable 23 bruno
birch 20 farah
| 23
| cobalt 4 hana
grove 6 jules
cobalt 27 alice
fable 20 hana
harbor 9 eli
delta 17 ivan
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005279-p1 | Identify and display the maximum numeric value found in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | delta 20 lina
juniper 18 bruno
grove 3 jules
amber 3 eli
fable 23 bruno
birch 20 farah
| 23
| cobalt 4 hana
grove 6 jules
cobalt 27 alice
fable 20 hana
harbor 9 eli
delta 17 ivan
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005279 | qwen/qwen3.7-plus |
awkweave-0005280 | Count all input records and print the total. | END{print NR} | jules 51
jules 87
dina 23
lina 63
jules 65
eli 93
jules 90
lina 114
| 8
| eli 8
lina 81
chen 56
farah 34
chen 55
chen 67
chen 115
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005280-p1 | Count the total number of input records and print the result. | END{print NR} | jules 51
jules 87
dina 23
lina 63
jules 65
eli 93
jules 90
lina 114
| 8
| eli 8
lina 81
chen 56
farah 34
chen 55
chen 67
chen 115
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005280 | qwen/qwen3.7-plus |
awkweave-0005281 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus ember 73
alice amber 29
eli grove 5
ivan indigo 17
gus juniper 107
alice fable 13
jules fable 2
alice fable 13
gus cobalt 60
| gus ember 73
alice amber 29
eli grove 5
ivan indigo 17
gus juniper 107
alice fable 13
jules fable 2
gus cobalt 60
| bruno delta 36
kim birch 60
chen harbor 34
dina indigo 3
eli juniper 35
chen indigo 64
dina birch 108
farah indigo 60
ivan delta 91
dina birch 108
alice harbor 2
| bruno delta 36
kim birch 60
chen harbor 34
dina indigo 3
eli juniper 35
chen indigo 64
dina birch 108
farah indigo 60
ivan delta 91
alice harbor 2
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005281-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | gus ember 73
alice amber 29
eli grove 5
ivan indigo 17
gus juniper 107
alice fable 13
jules fable 2
alice fable 13
gus cobalt 60
| gus ember 73
alice amber 29
eli grove 5
ivan indigo 17
gus juniper 107
alice fable 13
jules fable 2
gus cobalt 60
| bruno delta 36
kim birch 60
chen harbor 34
dina indigo 3
eli juniper 35
chen indigo 64
dina birch 108
farah indigo 60
ivan delta 91
dina birch 108
alice harbor 2
| bruno delta 36
kim birch 60
chen harbor 34
dina indigo 3
eli juniper 35
chen indigo 64
dina birch 108
farah indigo 60
ivan delta 91
alice harbor 2
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005281 | qwen/qwen3.7-plus |
awkweave-0005282 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah grove 40
kim harbor 2
kim harbor 74
eli grove 32
dina delta 83
dina indigo 77
gus harbor 22
alice harbor 12
alice delta 83
| farah grove 40
kim harbor 2
eli grove 32
dina delta 83
gus harbor 22
alice harbor 12
| bruno delta 99
jules harbor 72
chen fable 72
lina delta 9
lina birch 24
dina harbor 9
jules fable 109
hana indigo 38
bruno grove 118
| bruno delta 99
jules harbor 72
chen fable 72
lina delta 9
dina harbor 9
hana indigo 38
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005282-p1 | Retain only the first occurrence for each unique value in column 1, preserving the input order. | !seen[$1]++ | farah grove 40
kim harbor 2
kim harbor 74
eli grove 32
dina delta 83
dina indigo 77
gus harbor 22
alice harbor 12
alice delta 83
| farah grove 40
kim harbor 2
eli grove 32
dina delta 83
gus harbor 22
alice harbor 12
| bruno delta 99
jules harbor 72
chen fable 72
lina delta 9
lina birch 24
dina harbor 9
jules fable 109
hana indigo 38
bruno grove 118
| bruno delta 99
jules harbor 72
chen fable 72
lina delta 9
dina harbor 9
hana indigo 38
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005282 | qwen/qwen3.7-plus |
awkweave-0005283 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 22 fable
gus 30 fable
ivan 10 fable
alice 29 fable
lina 19 ember
gus 20 birch
alice 19 fable
chen 16 fable
gus 21 grove
alice 10 cobalt
| bruno 22
gus 52
ivan 62
alice 91
lina 110
gus 130
alice 149
chen 165
gus 186
alice 196
| lina 2 indigo
chen 9 birch
kim 23 amber
kim 19 amber
farah 20 birch
chen 28 amber
gus 11 birch
ivan 7 ember
eli 8 juniper
bruno 20 indigo
| lina 2
chen 11
kim 34
kim 53
farah 73
chen 101
gus 112
ivan 119
eli 127
bruno 147
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005283-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 22 fable
gus 30 fable
ivan 10 fable
alice 29 fable
lina 19 ember
gus 20 birch
alice 19 fable
chen 16 fable
gus 21 grove
alice 10 cobalt
| bruno 22
gus 52
ivan 62
alice 91
lina 110
gus 130
alice 149
chen 165
gus 186
alice 196
| lina 2 indigo
chen 9 birch
kim 23 amber
kim 19 amber
farah 20 birch
chen 28 amber
gus 11 birch
ivan 7 ember
eli 8 juniper
bruno 20 indigo
| lina 2
chen 11
kim 34
kim 53
farah 73
chen 101
gus 112
ivan 119
eli 127
bruno 147
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005283 | qwen/qwen3.7-plus |
awkweave-0005284 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 5 18 juniper
gus 11 21 indigo
dina 23 1 birch
ivan 6 22 harbor
lina 27 24 juniper
lina 12 19 juniper
| chen 23
gus 32
dina 24
ivan 28
lina 51
lina 31
| kim 9 6 fable
jules 6 19 cobalt
dina 23 10 harbor
gus 15 27 birch
farah 13 10 fable
bruno 16 14 delta
eli 10 9 fable
eli 15 9 fable
gus 14 29 fable
hana 24 27 amber
| kim 15
jules 25
dina 33
gus 42
farah 23
bruno 30
eli 19
eli 24
gus 43
hana 51
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005284-p1 | Output the first field and the sum of the second and third fields for each row. | {print $1,$2+$3} | chen 5 18 juniper
gus 11 21 indigo
dina 23 1 birch
ivan 6 22 harbor
lina 27 24 juniper
lina 12 19 juniper
| chen 23
gus 32
dina 24
ivan 28
lina 51
lina 31
| kim 9 6 fable
jules 6 19 cobalt
dina 23 10 harbor
gus 15 27 birch
farah 13 10 fable
bruno 16 14 delta
eli 10 9 fable
eli 15 9 fable
gus 14 29 fable
hana 24 27 amber
| kim 15
jules 25
dina 33
gus 42
farah 23
bruno 30
eli 19
eli 24
gus 43
hana 51
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005284 | qwen/qwen3.7-plus |
awkweave-0005285 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | eli 24
alice 25
bruno 19
farah 20
ivan 7
hana 16
hana 6
| eli pass
alice pass
bruno fail
farah fail
ivan fail
hana fail
hana fail
| farah 9
hana 4
alice 1
eli 11
gus 2
chen 4
jules 25
lina 7
bruno 15
| farah fail
hana fail
alice fail
eli fail
gus fail
chen fail
jules pass
lina fail
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005285-p1 | Display the first column; output 'pass' if the second column is 24 or greater, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | eli 24
alice 25
bruno 19
farah 20
ivan 7
hana 16
hana 6
| eli pass
alice pass
bruno fail
farah fail
ivan fail
hana fail
hana fail
| farah 9
hana 4
alice 1
eli 11
gus 2
chen 4
jules 25
lina 7
bruno 15
| farah fail
hana fail
alice fail
eli fail
gus fail
chen fail
jules pass
lina fail
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005285 | qwen/qwen3.7-plus |
awkweave-0005286 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | dina indigo 41
lina birch 32
lina amber 119
gus birch 13
dina ember 87
hana ember 6
ivan amber 119
farah grove 45
gus ember 44
hana birch 118
| DINA
LINA
LINA
GUS
DINA
HANA
IVAN
FARAH
GUS
HANA
| dina harbor 86
jules juniper 14
eli ember 36
gus indigo 31
alice amber 60
lina amber 52
alice indigo 77
| DINA
JULES
ELI
GUS
ALICE
LINA
ALICE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005286-p1 | Transform the first column to uppercase and display only that column. | {print toupper($1)} | dina indigo 41
lina birch 32
lina amber 119
gus birch 13
dina ember 87
hana ember 6
ivan amber 119
farah grove 45
gus ember 44
hana birch 118
| DINA
LINA
LINA
GUS
DINA
HANA
IVAN
FARAH
GUS
HANA
| dina harbor 86
jules juniper 14
eli ember 36
gus indigo 31
alice amber 60
lina amber 52
alice indigo 77
| DINA
JULES
ELI
GUS
ALICE
LINA
ALICE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005286 | qwen/qwen3.7-plus |
awkweave-0005287 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | grove 83
harbor 15
fable 118
birch 110
indigo 71
cobalt 111
harbor 21
| ro
ar
ab
ir
nd
ob
ar
| fable 46
amber 55
indigo 14
grove 62
grove 87
grove 9
| ab
mb
nd
ro
ro
ro
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005287-p1 | Extract and print a substring of length 2 from the first column, starting at the second character. | {print substr($1,2,2)} | grove 83
harbor 15
fable 118
birch 110
indigo 71
cobalt 111
harbor 21
| ro
ar
ab
ir
nd
ob
ar
| fable 46
amber 55
indigo 14
grove 62
grove 87
grove 9
| ab
mb
nd
ro
ro
ro
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005287 | qwen/qwen3.7-plus |
awkweave-0005288 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_grove 24
amber_juniper 17
fable_amber 119
grove_harbor 118
birch_fable 13
delta_harbor 103
| amber grove
amber juniper
fable amber
grove harbor
birch fable
delta harbor
| harbor_harbor 46
indigo_amber 9
ember_delta 82
indigo_ember 79
juniper_indigo 58
cobalt_juniper 34
amber_indigo 31
| harbor harbor
indigo amber
ember delta
indigo ember
juniper indigo
cobalt juniper
amber indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005288-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | amber_grove 24
amber_juniper 17
fable_amber 119
grove_harbor 118
birch_fable 13
delta_harbor 103
| amber grove
amber juniper
fable amber
grove harbor
birch fable
delta harbor
| harbor_harbor 46
indigo_amber 9
ember_delta 82
indigo_ember 79
juniper_indigo 58
cobalt_juniper 34
amber_indigo 31
| harbor harbor
indigo amber
ember delta
indigo ember
juniper indigo
cobalt juniper
amber indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005288 | qwen/qwen3.7-plus |
awkweave-0005289 | 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)} | gus birch 18 active
gus fable 72 failed
dina cobalt 115 paused
alice delta 107 active
ivan grove 1 failed
chen amber 120 active
farah harbor 24 active
ivan amber 13 paused
eli amber 19 paused
| active 18 birch gus
failed 72 fable gus
paused 115 cobalt dina
active 107 delta alice
failed 1 grove ivan
active 120 amber chen
active 24 harbor farah
paused 13 amber ivan
paused 19 amber eli
| chen ember 30 paused
kim delta 110 ready
ivan harbor 100 paused
hana delta 90 ready
farah delta 120 failed
lina fable 23 closed
| paused 30 ember chen
ready 110 delta kim
paused 100 harbor ivan
ready 90 delta hana
failed 120 delta farah
closed 23 fable lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005289-p1 | Reverse the sequence of fields in each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus birch 18 active
gus fable 72 failed
dina cobalt 115 paused
alice delta 107 active
ivan grove 1 failed
chen amber 120 active
farah harbor 24 active
ivan amber 13 paused
eli amber 19 paused
| active 18 birch gus
failed 72 fable gus
paused 115 cobalt dina
active 107 delta alice
failed 1 grove ivan
active 120 amber chen
active 24 harbor farah
paused 13 amber ivan
paused 19 amber eli
| chen ember 30 paused
kim delta 110 ready
ivan harbor 100 paused
hana delta 90 ready
farah delta 120 failed
lina fable 23 closed
| paused 30 ember chen
ready 110 delta kim
paused 100 harbor ivan
ready 90 delta hana
failed 120 delta farah
closed 23 fable lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005289 | qwen/qwen3.7-plus |
awkweave-0005300 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | lina 51
alice 104
gus 95
lina 93
hana 6
dina 97
farah 2
lina 19
| gus 95
dina 97
| eli 12
kim 58
eli 100
dina 7
chen 41
farah 44
kim 3
| eli 100
farah 44
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005300-p1 | Output every third line beginning with line 3 (i.e., lines 3, 6, etc.). | NR%3==0 | lina 51
alice 104
gus 95
lina 93
hana 6
dina 97
farah 2
lina 19
| gus 95
dina 97
| eli 12
kim 58
eli 100
dina 7
chen 41
farah 44
kim 3
| eli 100
farah 44
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005300 | qwen/qwen3.7-plus |
awkweave-0005301 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta ember 50
beta ember 71
gamma juniper 86
beta juniper 33
delta amber 115
gamma indigo 107
delta amber 83
gamma cobalt 66
beta delta 33
| 3
| delta grove 58
beta indigo 0
alpha grove 95
gamma birch 100
gamma harbor 9
delta harbor 67
beta delta 62
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005301-p1 | Calculate and print the number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | delta ember 50
beta ember 71
gamma juniper 86
beta juniper 33
delta amber 115
gamma indigo 107
delta amber 83
gamma cobalt 66
beta delta 33
| 3
| delta grove 58
beta indigo 0
alpha grove 95
gamma birch 100
gamma harbor 9
delta harbor 67
beta delta 62
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005301 | qwen/qwen3.7-plus |
awkweave-0005302 | 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} | eli 23 0
kim 19 24
alice 14 25
hana 16 9
hana 16 7
farah 8 23
| kim 0.79
alice 0.56
hana 1.78
hana 2.29
farah 0.35
| alice 14 0
hana 8 14
hana 16 21
kim 9 15
lina 27 4
hana 11 25
eli 3 4
jules 3 8
kim 7 30
| hana 0.57
hana 0.76
kim 0.60
lina 6.75
hana 0.44
eli 0.75
jules 0.38
kim 0.23
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005302-p1 | For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | eli 23 0
kim 19 24
alice 14 25
hana 16 9
hana 16 7
farah 8 23
| kim 0.79
alice 0.56
hana 1.78
hana 2.29
farah 0.35
| alice 14 0
hana 8 14
hana 16 21
kim 9 15
lina 27 4
hana 11 25
eli 3 4
jules 3 8
kim 7 30
| hana 0.57
hana 0.76
kim 0.60
lina 6.75
hana 0.44
eli 0.75
jules 0.38
kim 0.23
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005302 | qwen/qwen3.7-plus |
awkweave-0005303 | 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]} | alice fable 7
farah cobalt 21
jules birch 3
ivan cobalt 8
eli indigo 12
jules harbor 2
lina grove 2
eli fable 6
chen harbor 29
| chen harbor 29
farah cobalt 21
eli indigo 12
| chen amber 30
jules fable 28
bruno harbor 17
gus indigo 21
jules grove 26
chen indigo 6
ivan indigo 12
jules fable 9
hana delta 27
| chen amber 30
jules fable 28
hana delta 27
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005303-p1 | Display the three records with the highest numeric values in the third column, 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]} | alice fable 7
farah cobalt 21
jules birch 3
ivan cobalt 8
eli indigo 12
jules harbor 2
lina grove 2
eli fable 6
chen harbor 29
| chen harbor 29
farah cobalt 21
eli indigo 12
| chen amber 30
jules fable 28
bruno harbor 17
gus indigo 21
jules grove 26
chen indigo 6
ivan indigo 12
jules fable 9
hana delta 27
| chen amber 30
jules fable 28
hana delta 27
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005303 | qwen/qwen3.7-plus |
awkweave-0005304 | Select the 3rd and 2nd fields in that order. | {print $3, $2} | 116 dina ready lina
94 bruno paused bruno
19 dina ready ivan
12 chen paused chen
72 dina failed jules
98 farah closed dina
64 kim active farah
22 ivan ready ivan
17 farah closed dina
88 bruno closed kim
| ready dina
paused bruno
ready dina
paused chen
failed dina
closed farah
active kim
ready ivan
closed farah
closed bruno
| 119 hana pending jules
68 chen paused eli
4 lina failed kim
28 bruno active lina
87 kim closed ivan
76 lina active dina
30 jules pending alice
98 lina pending eli
| pending hana
paused chen
failed lina
active bruno
closed kim
active lina
pending jules
pending lina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005304-p1 | Output the third field followed by the second field. | {print $3, $2} | 116 dina ready lina
94 bruno paused bruno
19 dina ready ivan
12 chen paused chen
72 dina failed jules
98 farah closed dina
64 kim active farah
22 ivan ready ivan
17 farah closed dina
88 bruno closed kim
| ready dina
paused bruno
ready dina
paused chen
failed dina
closed farah
active kim
ready ivan
closed farah
closed bruno
| 119 hana pending jules
68 chen paused eli
4 lina failed kim
28 bruno active lina
87 kim closed ivan
76 lina active dina
30 jules pending alice
98 lina pending eli
| pending hana
paused chen
failed lina
active bruno
closed kim
active lina
pending jules
pending lina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005304 | qwen/qwen3.7-plus |
awkweave-0005305 | Print the last field of every input line. | {print $NF} | 91 ivan ready gus 32 ember
120 chen active jules 45 grove
22 alice failed eli 84 amber
62 hana active gus 21 harbor
116 kim closed jules 35 amber
80 gus pending chen 60 amber
| ember
grove
amber
harbor
amber
amber
| 4 hana active bruno 106 birch
77 kim paused alice 61 harbor
42 chen pending alice 10 harbor
56 gus pending gus 43 amber
69 ivan failed eli 15 delta
48 eli ready gus 104 grove
33 farah closed bruno 61 indigo
81 farah active jules 41 delta
33 alice failed kim 67 fable
77 gus failed kim 49 harbor
| birch
harbor
harbor
amber
delta
grove
indigo
delta
fable
harbor
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005305-p1 | Print the final field from every input line. | {print $NF} | 91 ivan ready gus 32 ember
120 chen active jules 45 grove
22 alice failed eli 84 amber
62 hana active gus 21 harbor
116 kim closed jules 35 amber
80 gus pending chen 60 amber
| ember
grove
amber
harbor
amber
amber
| 4 hana active bruno 106 birch
77 kim paused alice 61 harbor
42 chen pending alice 10 harbor
56 gus pending gus 43 amber
69 ivan failed eli 15 delta
48 eli ready gus 104 grove
33 farah closed bruno 61 indigo
81 farah active jules 41 delta
33 alice failed kim 67 fable
77 gus failed kim 49 harbor
| birch
harbor
harbor
amber
delta
grove
indigo
delta
fable
harbor
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005305 | qwen/qwen3.7-plus |
awkweave-0005306 | Print the complete records where column 4 is less than 27. | $4 < 27 | hana paused ivan 97 ivan
hana paused ivan 70 kim
farah pending chen 91 hana
eli ready farah 78 gus
chen paused lina 25 lina
kim active chen 7 hana
| chen paused lina 25 lina
kim active chen 7 hana
| hana closed alice 25 jules
farah pending farah 71 alice
gus paused gus 64 alice
lina ready chen 59 jules
alice active chen 110 gus
jules closed lina 39 alice
dina ready hana 35 eli
lina failed farah 41 kim
ivan closed gus 111 bruno
| hana closed alice 25 jules
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005306-p1 | Display full records where the value in the fourth column is strictly less than 27. | $4 < 27 | hana paused ivan 97 ivan
hana paused ivan 70 kim
farah pending chen 91 hana
eli ready farah 78 gus
chen paused lina 25 lina
kim active chen 7 hana
| chen paused lina 25 lina
kim active chen 7 hana
| hana closed alice 25 jules
farah pending farah 71 alice
gus paused gus 64 alice
lina ready chen 59 jules
alice active chen 110 gus
jules closed lina 39 alice
dina ready hana 35 eli
lina failed farah 41 kim
ivan closed gus 111 bruno
| hana closed alice 25 jules
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005306 | qwen/qwen3.7-plus |
awkweave-0005307 | Show whole lines whose 2nd field is between 9 and 27, inclusive. | $2 >= 9 && $2 <= 27 | kim 24 harbor pending
lina 26 birch closed
bruno 2 juniper failed
lina 17 juniper ready
hana 19 ember pending
alice 21 juniper ready
farah 16 birch ready
jules 19 ember ready
jules 15 cobalt pending
| kim 24 harbor pending
lina 26 birch closed
lina 17 juniper ready
hana 19 ember pending
alice 21 juniper ready
farah 16 birch ready
jules 19 ember ready
jules 15 cobalt pending
| eli 1 juniper paused
eli 25 fable paused
alice 4 juniper paused
bruno 22 birch ready
bruno 4 fable closed
eli 8 delta paused
kim 12 cobalt closed
ivan 30 fable paused
chen 17 birch active
eli 12 birch paused
| eli 25 fable paused
bruno 22 birch ready
kim 12 cobalt closed
chen 17 birch active
eli 12 birch paused
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005307-p1 | Output entire lines where the second field falls within the inclusive range of 9 to 27. | $2 >= 9 && $2 <= 27 | kim 24 harbor pending
lina 26 birch closed
bruno 2 juniper failed
lina 17 juniper ready
hana 19 ember pending
alice 21 juniper ready
farah 16 birch ready
jules 19 ember ready
jules 15 cobalt pending
| kim 24 harbor pending
lina 26 birch closed
lina 17 juniper ready
hana 19 ember pending
alice 21 juniper ready
farah 16 birch ready
jules 19 ember ready
jules 15 cobalt pending
| eli 1 juniper paused
eli 25 fable paused
alice 4 juniper paused
bruno 22 birch ready
bruno 4 fable closed
eli 8 delta paused
kim 12 cobalt closed
ivan 30 fable paused
chen 17 birch active
eli 12 birch paused
| eli 25 fable paused
bruno 22 birch ready
kim 12 cobalt closed
chen 17 birch active
eli 12 birch paused
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005307 | qwen/qwen3.7-plus |
awkweave-0005308 | Print column 2 only for rows where column 1 is exactly pending. | $1 == "pending"{print $2} | active kim fable 62
pending eli harbor 112
failed alice grove 97
failed jules fable 0
pending gus birch 51
closed gus delta 87
ready hana fable 73
| eli
gus
| failed hana amber 28
pending farah amber 21
active kim birch 21
ready jules amber 8
active eli ember 94
ready eli birch 70
closed lina harbor 20
| farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005308-p1 | Extract and print only the second column for rows where the first column matches 'pending' exactly. | $1 == "pending"{print $2} | active kim fable 62
pending eli harbor 112
failed alice grove 97
failed jules fable 0
pending gus birch 51
closed gus delta 87
ready hana fable 73
| eli
gus
| failed hana amber 28
pending farah amber 21
active kim birch 21
ready jules amber 8
active eli ember 94
ready eli birch 70
closed lina harbor 20
| farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005308 | qwen/qwen3.7-plus |
awkweave-0005309 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | 2 WARN birch
67 ERROR amber
90 INFO indigo
39 DEBUG birch
17 INFO harbor
110 INFO juniper
110 WARN birch
60 WARN fable
118 INFO birch
112 DEBUG fable
| 2 WARN birch
110 WARN birch
60 WARN fable
| 83 WARN fable
15 DEBUG fable
51 DEBUG birch
96 WARN amber
17 DEBUG cobalt
6 ERROR harbor
107 ERROR grove
| 83 WARN fable
96 WARN amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005309-p1 | Print all fields from any line where the second field starts with the prefix 'WARN'. | $2 ~ /^WARN/ | 2 WARN birch
67 ERROR amber
90 INFO indigo
39 DEBUG birch
17 INFO harbor
110 INFO juniper
110 WARN birch
60 WARN fable
118 INFO birch
112 DEBUG fable
| 2 WARN birch
110 WARN birch
60 WARN fable
| 83 WARN fable
15 DEBUG fable
51 DEBUG birch
96 WARN amber
17 DEBUG cobalt
6 ERROR harbor
107 ERROR grove
| 83 WARN fable
96 WARN amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005309 | qwen/qwen3.7-plus |
awkweave-0005310 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | delta 28 ready
indigo 115 failed
harbor 111 ready
amber 95 pending
harbor 107 paused
ember 51 failed
grove 999 active
| delta 28 ready
indigo 115 failed
harbor 111 ready
amber 95 pending
harbor 107 paused
ember 51 failed
| cobalt 76 paused
harbor 65 ready
fable 33 pending
grove 0 active
juniper 2 paused
fable 25 active
grove 37 failed
grove 999 active
| cobalt 76 paused
harbor 65 ready
fable 33 pending
juniper 2 paused
fable 25 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005310-p1 | Output every line that does not contain the exact string 'grove'. | $0 !~ /grove/ | delta 28 ready
indigo 115 failed
harbor 111 ready
amber 95 pending
harbor 107 paused
ember 51 failed
grove 999 active
| delta 28 ready
indigo 115 failed
harbor 111 ready
amber 95 pending
harbor 107 paused
ember 51 failed
| cobalt 76 paused
harbor 65 ready
fable 33 pending
grove 0 active
juniper 2 paused
fable 25 active
grove 37 failed
grove 999 active
| cobalt 76 paused
harbor 65 ready
fable 33 pending
juniper 2 paused
fable 25 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005310 | qwen/qwen3.7-plus |
awkweave-0005311 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | eli ember 35
gus birch 53
jules amber 39
ivan amber 35
hana cobalt 39
ivan harbor 86
alice delta 17
farah ember 61
gus delta 97
lina ember 105
| jules amber 39
ivan amber 35
| gus amber 5
kim harbor 21
lina harbor 60
farah cobalt 114
jules cobalt 35
lina indigo 36
| lina harbor 60
farah cobalt 114
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005311-p1 | Print lines 3 and 4, ensuring both are included. | NR >= 3 && NR <= 4 | eli ember 35
gus birch 53
jules amber 39
ivan amber 35
hana cobalt 39
ivan harbor 86
alice delta 17
farah ember 61
gus delta 97
lina ember 105
| jules amber 39
ivan amber 35
| gus amber 5
kim harbor 21
lina harbor 60
farah cobalt 114
jules cobalt 35
lina indigo 36
| lina harbor 60
farah cobalt 114
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005311 | qwen/qwen3.7-plus |
awkweave-0005312 | Output only the first 3 records. | NR <= 3 | eli 96 indigo
ivan 119 harbor
bruno 82 amber
dina 40 indigo
gus 37 amber
alice 101 amber
bruno 118 juniper
jules 93 delta
lina 80 ember
lina 96 delta
| eli 96 indigo
ivan 119 harbor
bruno 82 amber
| ivan 103 indigo
gus 49 juniper
hana 100 delta
jules 24 cobalt
ivan 107 ember
hana 33 ember
chen 98 birch
alice 84 harbor
bruno 15 amber
ivan 73 delta
| ivan 103 indigo
gus 49 juniper
hana 100 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005312-p1 | Restrict output to the first three records only. | NR <= 3 | eli 96 indigo
ivan 119 harbor
bruno 82 amber
dina 40 indigo
gus 37 amber
alice 101 amber
bruno 118 juniper
jules 93 delta
lina 80 ember
lina 96 delta
| eli 96 indigo
ivan 119 harbor
bruno 82 amber
| ivan 103 indigo
gus 49 juniper
hana 100 delta
jules 24 cobalt
ivan 107 ember
hana 33 ember
chen 98 birch
alice 84 harbor
bruno 15 amber
ivan 73 delta
| ivan 103 indigo
gus 49 juniper
hana 100 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005312 | qwen/qwen3.7-plus |
awkweave-0005313 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 96 birch
hana 90 birch
hana 26 indigo
farah 25 fable
dina 1 cobalt
dina 49 indigo
hana 98 juniper
chen 88 grove
farah 83 fable
| hana 90 birch
hana 26 indigo
farah 25 fable
dina 1 cobalt
dina 49 indigo
hana 98 juniper
chen 88 grove
farah 83 fable
| eli 67 delta
dina 24 birch
hana 74 ember
hana 101 indigo
bruno 17 fable
jules 103 harbor
dina 117 delta
hana 48 harbor
alice 54 birch
| dina 24 birch
hana 74 ember
hana 101 indigo
bruno 17 fable
jules 103 harbor
dina 117 delta
hana 48 harbor
alice 54 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005313-p1 | Ignore the initial line and print all subsequent lines without modification. | NR > 1 | alice 96 birch
hana 90 birch
hana 26 indigo
farah 25 fable
dina 1 cobalt
dina 49 indigo
hana 98 juniper
chen 88 grove
farah 83 fable
| hana 90 birch
hana 26 indigo
farah 25 fable
dina 1 cobalt
dina 49 indigo
hana 98 juniper
chen 88 grove
farah 83 fable
| eli 67 delta
dina 24 birch
hana 74 ember
hana 101 indigo
bruno 17 fable
jules 103 harbor
dina 117 delta
hana 48 harbor
alice 54 birch
| dina 24 birch
hana 74 ember
hana 101 indigo
bruno 17 fable
jules 103 harbor
dina 117 delta
hana 48 harbor
alice 54 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005313 | qwen/qwen3.7-plus |
awkweave-0005314 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | jules pending 118
dina active 55
chen ready 113
lina paused 3
alice paused 30
dina active 34
farah active 0
bruno pending 34
alice closed 35
dina failed 44
| 1
| gus failed 27
dina paused 63
chen pending 27
jules paused 15
gus paused 110
jules ready 115
dina failed 115
dina closed 60
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005314-p1 | Count the number of records where the second column is 'closed', outputting 0 if no matches are found. | $2 == "closed"{n++}END{print n+0} | jules pending 118
dina active 55
chen ready 113
lina paused 3
alice paused 30
dina active 34
farah active 0
bruno pending 34
alice closed 35
dina failed 44
| 1
| gus failed 27
dina paused 63
chen pending 27
jules paused 15
gus paused 110
jules ready 115
dina failed 115
dina closed 60
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005314 | qwen/qwen3.7-plus |
awkweave-0005315 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 14 cobalt jules
20 birch ivan
2 amber gus
12 grove hana
29 grove jules
16 indigo lina
13 grove eli
10 delta hana
| 116
| 27 delta hana
21 delta alice
9 cobalt jules
21 birch bruno
21 cobalt bruno
4 indigo bruno
7 amber jules
7 fable lina
| 117
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005315-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 14 cobalt jules
20 birch ivan
2 amber gus
12 grove hana
29 grove jules
16 indigo lina
13 grove eli
10 delta hana
| 116
| 27 delta hana
21 delta alice
9 cobalt jules
21 birch bruno
21 cobalt bruno
4 indigo bruno
7 amber jules
7 fable lina
| 117
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005315 | qwen/qwen3.7-plus |
awkweave-0005316 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan indigo 17
lina birch 6
gus harbor 14
gus grove 16
chen delta 20
hana harbor 27
gus amber 10
| 15.71
| gus harbor 5
bruno ember 27
dina juniper 14
jules delta 18
ivan cobalt 10
gus indigo 5
alice amber 12
farah juniper 2
| 11.62
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005316-p1 | Calculate the average of the third column and format the result to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ivan indigo 17
lina birch 6
gus harbor 14
gus grove 16
chen delta 20
hana harbor 27
gus amber 10
| 15.71
| gus harbor 5
bruno ember 27
dina juniper 14
jules delta 18
ivan cobalt 10
gus indigo 5
alice amber 12
farah juniper 2
| 11.62
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005316 | qwen/qwen3.7-plus |
awkweave-0005317 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | fable bruno 6
indigo kim 18
grove jules 1
juniper jules 1
indigo bruno 6
grove ivan 18
juniper kim 8
grove jules 18
| 1
| birch farah 29
amber alice 1
grove hana 10
birch eli 20
amber eli 6
birch jules 10
ember jules 4
birch gus 17
birch ivan 1
cobalt alice 22
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005317-p1 | Identify and print the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | fable bruno 6
indigo kim 18
grove jules 1
juniper jules 1
indigo bruno 6
grove ivan 18
juniper kim 8
grove jules 18
| 1
| birch farah 29
amber alice 1
grove hana 10
birch eli 20
amber eli 6
birch jules 10
ember jules 4
birch gus 17
birch ivan 1
cobalt alice 22
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005317 | qwen/qwen3.7-plus |
awkweave-0005318 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 15 kim grove
3 ivan fable
26 eli ember
21 bruno cobalt
6 dina ember
23 gus birch
| 26
| 13 dina fable
8 farah cobalt
6 kim amber
21 gus birch
19 kim amber
14 chen ember
| 21
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005318-p1 | Identify and output the maximum number found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 15 kim grove
3 ivan fable
26 eli ember
21 bruno cobalt
6 dina ember
23 gus birch
| 26
| 13 dina fable
8 farah cobalt
6 kim amber
21 gus birch
19 kim amber
14 chen ember
| 21
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005318 | qwen/qwen3.7-plus |
awkweave-0005319 | Count all input records and print the total. | END{print NR} | gus 91
dina 103
gus 8
alice 49
eli 83
gus 1
eli 72
lina 112
| 8
| dina 25
lina 115
dina 106
gus 34
ivan 100
hana 94
hana 56
eli 103
lina 93
farah 80
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005319-p1 | Calculate the total number of input records and display the count. | END{print NR} | gus 91
dina 103
gus 8
alice 49
eli 83
gus 1
eli 72
lina 112
| 8
| dina 25
lina 115
dina 106
gus 34
ivan 100
hana 94
hana 56
eli 103
lina 93
farah 80
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005319 | qwen/qwen3.7-plus |
awkweave-0005320 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina harbor 56
dina delta 82
farah indigo 4
kim harbor 107
farah ember 113
farah indigo 4
dina ember 72
| lina harbor 56
dina delta 82
farah indigo 4
kim harbor 107
farah ember 113
dina ember 72
| ivan cobalt 85
ivan amber 44
bruno birch 112
ivan birch 48
eli grove 45
lina amber 81
alice birch 107
bruno birch 112
jules ember 37
| ivan cobalt 85
ivan amber 44
bruno birch 112
ivan birch 48
eli grove 45
lina amber 81
alice birch 107
jules ember 37
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005320-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | lina harbor 56
dina delta 82
farah indigo 4
kim harbor 107
farah ember 113
farah indigo 4
dina ember 72
| lina harbor 56
dina delta 82
farah indigo 4
kim harbor 107
farah ember 113
dina ember 72
| ivan cobalt 85
ivan amber 44
bruno birch 112
ivan birch 48
eli grove 45
lina amber 81
alice birch 107
bruno birch 112
jules ember 37
| ivan cobalt 85
ivan amber 44
bruno birch 112
ivan birch 48
eli grove 45
lina amber 81
alice birch 107
jules ember 37
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005320 | qwen/qwen3.7-plus |
awkweave-0005321 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | kim birch 22
gus ember 61
kim fable 7
chen delta 44
jules ember 66
ivan juniper 65
| kim birch 22
gus ember 61
kim fable 7
chen delta 44
jules ember 66
ivan juniper 65
| kim grove 61
lina cobalt 84
kim grove 108
chen cobalt 24
chen harbor 95
dina ember 66
dina harbor 71
ivan amber 80
| kim grove 61
lina cobalt 84
kim grove 108
chen cobalt 24
chen harbor 95
dina ember 66
dina harbor 71
ivan amber 80
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005321-p1 | Retain only the initial line for every unique value in the third column, keeping the input order intact. | !seen[$3]++ | kim birch 22
gus ember 61
kim fable 7
chen delta 44
jules ember 66
ivan juniper 65
| kim birch 22
gus ember 61
kim fable 7
chen delta 44
jules ember 66
ivan juniper 65
| kim grove 61
lina cobalt 84
kim grove 108
chen cobalt 24
chen harbor 95
dina ember 66
dina harbor 71
ivan amber 80
| kim grove 61
lina cobalt 84
kim grove 108
chen cobalt 24
chen harbor 95
dina ember 66
dina harbor 71
ivan amber 80
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005321 | qwen/qwen3.7-plus |
awkweave-0005322 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | eli 17 grove
hana 20 grove
hana 19 indigo
gus 29 cobalt
hana 22 delta
gus 24 delta
jules 19 harbor
| eli 17
hana 37
hana 56
gus 85
hana 107
gus 131
jules 150
| farah 30 amber
lina 25 juniper
alice 7 amber
kim 13 grove
hana 7 cobalt
jules 30 amber
chen 13 grove
bruno 24 indigo
gus 8 amber
| farah 30
lina 55
alice 62
kim 75
hana 82
jules 112
chen 125
bruno 149
gus 157
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005322-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | eli 17 grove
hana 20 grove
hana 19 indigo
gus 29 cobalt
hana 22 delta
gus 24 delta
jules 19 harbor
| eli 17
hana 37
hana 56
gus 85
hana 107
gus 131
jules 150
| farah 30 amber
lina 25 juniper
alice 7 amber
kim 13 grove
hana 7 cobalt
jules 30 amber
chen 13 grove
bruno 24 indigo
gus 8 amber
| farah 30
lina 55
alice 62
kim 75
hana 82
jules 112
chen 125
bruno 149
gus 157
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005322 | qwen/qwen3.7-plus |
awkweave-0005323 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 7 18 juniper
lina 10 17 harbor
bruno 27 28 grove
bruno 24 8 birch
eli 10 16 juniper
ivan 8 7 delta
jules 12 17 amber
ivan 30 5 indigo
chen 27 20 cobalt
| lina 25
lina 27
bruno 55
bruno 32
eli 26
ivan 15
jules 29
ivan 35
chen 47
| dina 10 13 harbor
chen 2 3 fable
chen 6 29 cobalt
gus 27 27 juniper
jules 27 11 amber
gus 20 10 cobalt
eli 6 22 delta
lina 8 15 juniper
| dina 23
chen 5
chen 35
gus 54
jules 38
gus 30
eli 28
lina 23
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005323-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | lina 7 18 juniper
lina 10 17 harbor
bruno 27 28 grove
bruno 24 8 birch
eli 10 16 juniper
ivan 8 7 delta
jules 12 17 amber
ivan 30 5 indigo
chen 27 20 cobalt
| lina 25
lina 27
bruno 55
bruno 32
eli 26
ivan 15
jules 29
ivan 35
chen 47
| dina 10 13 harbor
chen 2 3 fable
chen 6 29 cobalt
gus 27 27 juniper
jules 27 11 amber
gus 20 10 cobalt
eli 6 22 delta
lina 8 15 juniper
| dina 23
chen 5
chen 35
gus 54
jules 38
gus 30
eli 28
lina 23
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005323 | qwen/qwen3.7-plus |
awkweave-0005324 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | gus 5
lina 4
farah 10
dina 25
chen 6
farah 9
| gus fail
lina fail
farah fail
dina pass
chen fail
farah fail
| lina 7
bruno 8
gus 14
kim 26
lina 15
hana 7
kim 13
| lina fail
bruno fail
gus fail
kim pass
lina fail
hana fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005324-p1 | Output the first column along with 'pass' if the second column is 21 or greater, otherwise output 'fail'. | {print $1,($2>=21?"pass":"fail")} | gus 5
lina 4
farah 10
dina 25
chen 6
farah 9
| gus fail
lina fail
farah fail
dina pass
chen fail
farah fail
| lina 7
bruno 8
gus 14
kim 26
lina 15
hana 7
kim 13
| lina fail
bruno fail
gus fail
kim pass
lina fail
hana fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005324 | qwen/qwen3.7-plus |
awkweave-0005325 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | bruno indigo 6
chen ember 41
ivan juniper 3
eli birch 93
hana juniper 50
alice juniper 73
| INDIGO
EMBER
JUNIPER
BIRCH
JUNIPER
JUNIPER
| lina cobalt 5
bruno grove 66
bruno indigo 96
eli cobalt 75
ivan ember 68
chen grove 40
dina grove 18
chen amber 58
| COBALT
GROVE
INDIGO
COBALT
EMBER
GROVE
GROVE
AMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005325-p1 | Transform the second column to uppercase letters and print only that column. | {print toupper($2)} | bruno indigo 6
chen ember 41
ivan juniper 3
eli birch 93
hana juniper 50
alice juniper 73
| INDIGO
EMBER
JUNIPER
BIRCH
JUNIPER
JUNIPER
| lina cobalt 5
bruno grove 66
bruno indigo 96
eli cobalt 75
ivan ember 68
chen grove 40
dina grove 18
chen amber 58
| COBALT
GROVE
INDIGO
COBALT
EMBER
GROVE
GROVE
AMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005325 | qwen/qwen3.7-plus |
awkweave-0005326 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | indigo 105
fable 33
ember 46
grove 6
indigo 2
harbor 56
indigo 21
| di
bl
be
ov
di
rb
di
| juniper 54
indigo 109
grove 65
delta 14
grove 69
harbor 79
indigo 43
| ni
di
ov
lt
ov
rb
di
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005326-p1 | Extract and print two characters from the first column, beginning at the third character position. | {print substr($1,3,2)} | indigo 105
fable 33
ember 46
grove 6
indigo 2
harbor 56
indigo 21
| di
bl
be
ov
di
rb
di
| juniper 54
indigo 109
grove 65
delta 14
grove 69
harbor 79
indigo 43
| ni
di
ov
lt
ov
rb
di
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005326 | qwen/qwen3.7-plus |
awkweave-0005327 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | delta_ember 76
juniper_grove 96
birch_harbor 72
ember_grove 5
harbor_fable 29
fable_birch 21
indigo_grove 32
grove_fable 13
amber_birch 16
ember_indigo 12
| delta ember
juniper grove
birch harbor
ember grove
harbor fable
fable birch
indigo grove
grove fable
amber birch
ember indigo
| cobalt_delta 9
cobalt_amber 32
birch_delta 2
harbor_ember 21
indigo_cobalt 110
fable_cobalt 32
harbor_cobalt 9
harbor_cobalt 96
delta_juniper 32
| cobalt delta
cobalt amber
birch delta
harbor ember
indigo cobalt
fable cobalt
harbor cobalt
harbor cobalt
delta juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005327-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | delta_ember 76
juniper_grove 96
birch_harbor 72
ember_grove 5
harbor_fable 29
fable_birch 21
indigo_grove 32
grove_fable 13
amber_birch 16
ember_indigo 12
| delta ember
juniper grove
birch harbor
ember grove
harbor fable
fable birch
indigo grove
grove fable
amber birch
ember indigo
| cobalt_delta 9
cobalt_amber 32
birch_delta 2
harbor_ember 21
indigo_cobalt 110
fable_cobalt 32
harbor_cobalt 9
harbor_cobalt 96
delta_juniper 32
| cobalt delta
cobalt amber
birch delta
harbor ember
indigo cobalt
fable cobalt
harbor cobalt
harbor cobalt
delta juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005327 | qwen/qwen3.7-plus |
awkweave-0005328 | 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 indigo 40 ready
bruno juniper 96 failed
hana ember 18 active
gus harbor 65 failed
chen ember 96 ready
bruno amber 0 active
gus juniper 100 ready
| ready 40 indigo bruno
failed 96 juniper bruno
active 18 ember hana
failed 65 harbor gus
ready 96 ember chen
active 0 amber bruno
ready 100 juniper gus
| ivan fable 79 closed
alice cobalt 61 ready
bruno birch 37 active
jules amber 70 ready
eli fable 0 closed
jules grove 60 active
chen indigo 30 failed
jules delta 98 failed
bruno grove 30 active
| closed 79 fable ivan
ready 61 cobalt alice
active 37 birch bruno
ready 70 amber jules
closed 0 fable eli
active 60 grove jules
failed 30 indigo chen
failed 98 delta jules
active 30 grove bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005328-p1 | Invert the sequence of fields on each line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno indigo 40 ready
bruno juniper 96 failed
hana ember 18 active
gus harbor 65 failed
chen ember 96 ready
bruno amber 0 active
gus juniper 100 ready
| ready 40 indigo bruno
failed 96 juniper bruno
active 18 ember hana
failed 65 harbor gus
ready 96 ember chen
active 0 amber bruno
ready 100 juniper gus
| ivan fable 79 closed
alice cobalt 61 ready
bruno birch 37 active
jules amber 70 ready
eli fable 0 closed
jules grove 60 active
chen indigo 30 failed
jules delta 98 failed
bruno grove 30 active
| closed 79 fable ivan
ready 61 cobalt alice
active 37 birch bruno
ready 70 amber jules
closed 0 fable eli
active 60 grove jules
failed 30 indigo chen
failed 98 delta jules
active 30 grove bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005328 | qwen/qwen3.7-plus |
awkweave-0005329 | Print the number of whitespace-separated fields on each line. | {print NF} | dina birch 53 pending
kim indigo 87 pending
kim grove 39 paused
lina fable 109 closed
hana amber 91 ready
gus harbor 42 pending
bruno birch 26 pending
dina fable 85 failed
kim amber 100 failed
| 4
4
4
4
4
4
4
4
4
| hana ember 64 paused
jules juniper 62 pending
hana juniper 9 pending
lina juniper 44 ready
farah ember 114 ready
lina indigo 91 paused
bruno indigo 96 closed
jules grove 6 pending
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005329-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | dina birch 53 pending
kim indigo 87 pending
kim grove 39 paused
lina fable 109 closed
hana amber 91 ready
gus harbor 42 pending
bruno birch 26 pending
dina fable 85 failed
kim amber 100 failed
| 4
4
4
4
4
4
4
4
4
| hana ember 64 paused
jules juniper 62 pending
hana juniper 9 pending
lina juniper 44 ready
farah ember 114 ready
lina indigo 91 paused
bruno indigo 96 closed
jules grove 6 pending
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005329 | qwen/qwen3.7-plus |
awkweave-0005330 | 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 alpha 57
hana delta 102
lina beta 63
lina beta 112
lina alpha 97
bruno gamma 29
dina gamma 14
farah delta 116
ivan gamma 97
| alpha 2
delta 2
beta 2
gamma 3
| jules alpha 36
hana alpha 91
farah alpha 116
eli beta 107
eli beta 10
gus delta 91
ivan delta 56
eli gamma 112
lina alpha 17
chen alpha 15
| alpha 5
beta 2
delta 2
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.