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-0036001-p1 | Output only the second column for rows where the first column is exactly 'failed'. | $1 == "failed"{print $2} | active gus 80 delta
closed gus 55 grove
paused gus 2 birch
failed dina 113 amber
paused dina 105 birch
failed hana 44 delta
active alice 83 grove
failed ivan 19 ember
closed farah 91 fable
| dina
hana
ivan
| pending hana 51 harbor
failed bruno 85 juniper
closed lina 27 grove
closed bruno 100 grove
failed alice 58 amber
ready kim 80 indigo
| bruno
alice
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036001 | qwen/qwen3.7-plus |
awkweave-0036002 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | 79 delta INFO
23 juniper INFO
119 cobalt ERROR
108 delta WARN
49 amber INFO
120 harbor ERROR
| 79 delta INFO
23 juniper INFO
49 amber INFO
| 88 indigo ERROR
6 delta WARN
23 harbor WARN
54 fable WARN
23 amber ERROR
15 cobalt WARN
106 birch DEBUG
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0036002-p1 | Print all fields from lines where the third field starts with 'INFO'. | $3 ~ /^INFO/ | 79 delta INFO
23 juniper INFO
119 cobalt ERROR
108 delta WARN
49 amber INFO
120 harbor ERROR
| 79 delta INFO
23 juniper INFO
49 amber INFO
| 88 indigo ERROR
6 delta WARN
23 harbor WARN
54 fable WARN
23 amber ERROR
15 cobalt WARN
106 birch DEBUG
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036002 | qwen/qwen3.7-plus | |
awkweave-0036003 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | fable 9 failed
birch 43 pending
juniper 39 ready
harbor 93 paused
fable 111 paused
delta 60 paused
birch 94 pending
grove 104 pending
indigo 999 active
| fable 9 failed
birch 43 pending
juniper 39 ready
harbor 93 paused
fable 111 paused
delta 60 paused
birch 94 pending
grove 104 pending
| birch 100 pending
amber 100 pending
amber 74 closed
amber 81 active
indigo 93 paused
fable 100 failed
grove 39 ready
fable 98 closed
grove 79 paused
indigo 999 active
| birch 100 pending
amber 100 pending
amber 74 closed
amber 81 active
fable 100 failed
grove 39 ready
fable 98 closed
grove 79 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036003-p1 | Print every line that does not contain the exact string 'indigo'. | $0 !~ /indigo/ | fable 9 failed
birch 43 pending
juniper 39 ready
harbor 93 paused
fable 111 paused
delta 60 paused
birch 94 pending
grove 104 pending
indigo 999 active
| fable 9 failed
birch 43 pending
juniper 39 ready
harbor 93 paused
fable 111 paused
delta 60 paused
birch 94 pending
grove 104 pending
| birch 100 pending
amber 100 pending
amber 74 closed
amber 81 active
indigo 93 paused
fable 100 failed
grove 39 ready
fable 98 closed
grove 79 paused
indigo 999 active
| birch 100 pending
amber 100 pending
amber 74 closed
amber 81 active
fable 100 failed
grove 39 ready
fable 98 closed
grove 79 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036003 | qwen/qwen3.7-plus |
awkweave-0036004 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | lina amber 35
gus juniper 113
lina birch 14
hana grove 10
lina indigo 13
dina cobalt 36
hana amber 38
gus grove 16
| lina birch 14
hana grove 10
lina indigo 13
dina cobalt 36
| chen juniper 26
eli cobalt 69
ivan birch 110
gus cobalt 63
hana fable 7
eli birch 25
eli juniper 63
jules indigo 72
gus delta 100
ivan harbor 7
| ivan birch 110
gus cobalt 63
hana fable 7
eli birch 25
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036004-p1 | Output lines 3 through 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | lina amber 35
gus juniper 113
lina birch 14
hana grove 10
lina indigo 13
dina cobalt 36
hana amber 38
gus grove 16
| lina birch 14
hana grove 10
lina indigo 13
dina cobalt 36
| chen juniper 26
eli cobalt 69
ivan birch 110
gus cobalt 63
hana fable 7
eli birch 25
eli juniper 63
jules indigo 72
gus delta 100
ivan harbor 7
| ivan birch 110
gus cobalt 63
hana fable 7
eli birch 25
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036004 | qwen/qwen3.7-plus |
awkweave-0036005 | Output only the first 2 records. | NR <= 2 | alice 101 fable
eli 71 delta
chen 67 ember
chen 62 ember
lina 50 ember
alice 6 delta
ivan 15 cobalt
lina 78 cobalt
bruno 7 harbor
| alice 101 fable
eli 71 delta
| bruno 65 amber
ivan 45 indigo
jules 79 juniper
jules 34 indigo
hana 71 grove
bruno 41 juniper
hana 116 birch
| bruno 65 amber
ivan 45 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036005-p1 | Display only the first two records. | NR <= 2 | alice 101 fable
eli 71 delta
chen 67 ember
chen 62 ember
lina 50 ember
alice 6 delta
ivan 15 cobalt
lina 78 cobalt
bruno 7 harbor
| alice 101 fable
eli 71 delta
| bruno 65 amber
ivan 45 indigo
jules 79 juniper
jules 34 indigo
hana 71 grove
bruno 41 juniper
hana 116 birch
| bruno 65 amber
ivan 45 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036005 | qwen/qwen3.7-plus |
awkweave-0036006 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 18 amber
farah 20 indigo
lina 77 cobalt
bruno 62 birch
ivan 96 cobalt
alice 42 grove
| farah 20 indigo
lina 77 cobalt
bruno 62 birch
ivan 96 cobalt
alice 42 grove
| bruno 118 indigo
kim 30 fable
eli 107 ember
dina 92 ember
jules 79 birch
alice 15 juniper
| kim 30 fable
eli 107 ember
dina 92 ember
jules 79 birch
alice 15 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036006-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | bruno 18 amber
farah 20 indigo
lina 77 cobalt
bruno 62 birch
ivan 96 cobalt
alice 42 grove
| farah 20 indigo
lina 77 cobalt
bruno 62 birch
ivan 96 cobalt
alice 42 grove
| bruno 118 indigo
kim 30 fable
eli 107 ember
dina 92 ember
jules 79 birch
alice 15 juniper
| kim 30 fable
eli 107 ember
dina 92 ember
jules 79 birch
alice 15 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036006 | qwen/qwen3.7-plus |
awkweave-0036007 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | bruno failed 41
gus ready 101
jules closed 68
eli ready 76
bruno failed 109
dina closed 16
hana ready 42
dina active 14
| 0
| chen failed 46
lina pending 64
dina closed 28
chen pending 10
farah paused 94
bruno paused 14
gus closed 41
gus failed 1
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036007-p1 | Count the number of records with 'paused' in the second column; output 0 if none are found. | $2 == "paused"{n++}END{print n+0} | bruno failed 41
gus ready 101
jules closed 68
eli ready 76
bruno failed 109
dina closed 16
hana ready 42
dina active 14
| 0
| chen failed 46
lina pending 64
dina closed 28
chen pending 10
farah paused 94
bruno paused 14
gus closed 41
gus failed 1
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036007 | qwen/qwen3.7-plus |
awkweave-0036008 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | grove eli 4
ember chen 21
fable lina 5
fable chen 14
birch eli 2
delta ivan 17
delta farah 10
ember bruno 30
| 103
| delta jules 17
cobalt gus 2
juniper farah 17
cobalt kim 19
amber alice 23
birch hana 16
juniper ivan 15
cobalt farah 18
| 127
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036008-p1 | Compute and print the sum of integer values in the third column. | {s+=$3}END{print s+0} | grove eli 4
ember chen 21
fable lina 5
fable chen 14
birch eli 2
delta ivan 17
delta farah 10
ember bruno 30
| 103
| delta jules 17
cobalt gus 2
juniper farah 17
cobalt kim 19
amber alice 23
birch hana 16
juniper ivan 15
cobalt farah 18
| 127
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036008 | qwen/qwen3.7-plus |
awkweave-0036009 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | kim grove 2
chen harbor 23
dina birch 22
farah juniper 18
alice cobalt 14
ivan ember 27
eli harbor 30
kim fable 25
lina juniper 17
gus indigo 17
| 19.50
| lina grove 12
lina grove 3
alice indigo 9
bruno birch 9
gus cobalt 10
lina indigo 9
| 8.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036009-p1 | Print the average of the values in column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | kim grove 2
chen harbor 23
dina birch 22
farah juniper 18
alice cobalt 14
ivan ember 27
eli harbor 30
kim fable 25
lina juniper 17
gus indigo 17
| 19.50
| lina grove 12
lina grove 3
alice indigo 9
bruno birch 9
gus cobalt 10
lina indigo 9
| 8.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036009 | qwen/qwen3.7-plus |
awkweave-0036010 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | gus 14 birch
hana 29 juniper
eli 23 delta
eli 3 cobalt
bruno 30 birch
bruno 8 juniper
hana 15 fable
bruno 29 birch
chen 21 delta
| 3
| kim 17 birch
dina 23 cobalt
chen 26 delta
lina 13 juniper
farah 22 indigo
kim 14 delta
ivan 27 fable
farah 6 fable
jules 13 cobalt
| 6
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036010-p1 | Identify and print the minimum numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | gus 14 birch
hana 29 juniper
eli 23 delta
eli 3 cobalt
bruno 30 birch
bruno 8 juniper
hana 15 fable
bruno 29 birch
chen 21 delta
| 3
| kim 17 birch
dina 23 cobalt
chen 26 delta
lina 13 juniper
farah 22 indigo
kim 14 delta
ivan 27 fable
farah 6 fable
jules 13 cobalt
| 6
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036010 | qwen/qwen3.7-plus |
awkweave-0036011 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | juniper 4 lina
delta 22 dina
harbor 22 bruno
indigo 19 kim
fable 11 kim
birch 26 gus
| 26
| indigo 14 eli
delta 1 hana
juniper 18 gus
indigo 10 jules
harbor 27 kim
ember 24 hana
juniper 5 alice
birch 9 gus
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036011-p1 | Identify and print the maximum numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | juniper 4 lina
delta 22 dina
harbor 22 bruno
indigo 19 kim
fable 11 kim
birch 26 gus
| 26
| indigo 14 eli
delta 1 hana
juniper 18 gus
indigo 10 jules
harbor 27 kim
ember 24 hana
juniper 5 alice
birch 9 gus
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036011 | qwen/qwen3.7-plus |
awkweave-0036012 | Count all input records and print the total. | END{print NR} | jules 27
lina 86
bruno 2
jules 16
jules 24
farah 95
chen 102
jules 114
eli 44
ivan 38
| 10
| bruno 113
eli 97
lina 80
lina 2
jules 20
hana 88
jules 118
bruno 3
farah 81
alice 31
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036012-p1 | Output the total count of all input records. | END{print NR} | jules 27
lina 86
bruno 2
jules 16
jules 24
farah 95
chen 102
jules 114
eli 44
ivan 38
| 10
| bruno 113
eli 97
lina 80
lina 2
jules 20
hana 88
jules 118
bruno 3
farah 81
alice 31
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036012 | qwen/qwen3.7-plus |
awkweave-0036013 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina indigo 104
lina indigo 104
eli grove 86
farah juniper 95
jules harbor 19
farah juniper 104
lina grove 2
chen juniper 40
eli juniper 109
| lina indigo 104
eli grove 86
farah juniper 95
jules harbor 19
farah juniper 104
lina grove 2
chen juniper 40
eli juniper 109
| hana cobalt 44
lina grove 46
alice cobalt 49
eli indigo 16
lina grove 96
eli indigo 54
lina grove 46
bruno grove 6
| hana cobalt 44
lina grove 46
alice cobalt 49
eli indigo 16
lina grove 96
eli indigo 54
bruno grove 6
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036013-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | lina indigo 104
lina indigo 104
eli grove 86
farah juniper 95
jules harbor 19
farah juniper 104
lina grove 2
chen juniper 40
eli juniper 109
| lina indigo 104
eli grove 86
farah juniper 95
jules harbor 19
farah juniper 104
lina grove 2
chen juniper 40
eli juniper 109
| hana cobalt 44
lina grove 46
alice cobalt 49
eli indigo 16
lina grove 96
eli indigo 54
lina grove 46
bruno grove 6
| hana cobalt 44
lina grove 46
alice cobalt 49
eli indigo 16
lina grove 96
eli indigo 54
bruno grove 6
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036013 | qwen/qwen3.7-plus |
awkweave-0036014 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina harbor 78
alice juniper 117
hana delta 116
kim juniper 40
dina amber 17
chen birch 113
| dina harbor 78
alice juniper 117
hana delta 116
kim juniper 40
chen birch 113
| ivan amber 104
bruno juniper 61
gus juniper 63
hana delta 68
gus delta 26
bruno delta 120
| ivan amber 104
bruno juniper 61
gus juniper 63
hana delta 68
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036014-p1 | Retain only the initial line for every unique value in column 1, keeping the input order intact. | !seen[$1]++ | dina harbor 78
alice juniper 117
hana delta 116
kim juniper 40
dina amber 17
chen birch 113
| dina harbor 78
alice juniper 117
hana delta 116
kim juniper 40
chen birch 113
| ivan amber 104
bruno juniper 61
gus juniper 63
hana delta 68
gus delta 26
bruno delta 120
| ivan amber 104
bruno juniper 61
gus juniper 63
hana delta 68
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036014 | qwen/qwen3.7-plus |
awkweave-0036015 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 5 delta
farah 7 amber
jules 3 harbor
hana 10 indigo
kim 7 harbor
kim 29 birch
hana 12 ember
dina 14 birch
| gus 5
farah 12
jules 15
hana 25
kim 32
kim 61
hana 73
dina 87
| alice 19 juniper
kim 29 birch
lina 22 grove
dina 8 amber
bruno 15 cobalt
jules 20 juniper
| alice 19
kim 48
lina 70
dina 78
bruno 93
jules 113
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036015-p1 | For each record, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 5 delta
farah 7 amber
jules 3 harbor
hana 10 indigo
kim 7 harbor
kim 29 birch
hana 12 ember
dina 14 birch
| gus 5
farah 12
jules 15
hana 25
kim 32
kim 61
hana 73
dina 87
| alice 19 juniper
kim 29 birch
lina 22 grove
dina 8 amber
bruno 15 cobalt
jules 20 juniper
| alice 19
kim 48
lina 70
dina 78
bruno 93
jules 113
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036015 | qwen/qwen3.7-plus |
awkweave-0036016 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 30 26 amber
kim 15 18 indigo
eli 28 27 grove
kim 4 7 indigo
alice 22 20 delta
hana 4 21 delta
lina 29 25 juniper
lina 12 7 delta
| chen 56
kim 33
eli 55
kim 11
alice 42
hana 25
lina 54
lina 19
| chen 16 15 birch
kim 8 26 grove
lina 12 4 indigo
hana 3 26 delta
hana 20 17 harbor
dina 22 7 indigo
chen 3 5 birch
dina 26 28 grove
ivan 9 20 harbor
kim 4 29 birch
| chen 31
kim 34
lina 16
hana 29
hana 37
dina 29
chen 8
dina 54
ivan 29
kim 33
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036016-p1 | Output field 1 followed by the sum of fields 2 and 3 for every row. | {print $1,$2+$3} | chen 30 26 amber
kim 15 18 indigo
eli 28 27 grove
kim 4 7 indigo
alice 22 20 delta
hana 4 21 delta
lina 29 25 juniper
lina 12 7 delta
| chen 56
kim 33
eli 55
kim 11
alice 42
hana 25
lina 54
lina 19
| chen 16 15 birch
kim 8 26 grove
lina 12 4 indigo
hana 3 26 delta
hana 20 17 harbor
dina 22 7 indigo
chen 3 5 birch
dina 26 28 grove
ivan 9 20 harbor
kim 4 29 birch
| chen 31
kim 34
lina 16
hana 29
hana 37
dina 29
chen 8
dina 54
ivan 29
kim 33
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036016 | qwen/qwen3.7-plus |
awkweave-0036017 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | kim 28
bruno 6
eli 24
bruno 29
bruno 30
jules 20
alice 14
| kim pass
bruno fail
eli fail
bruno pass
bruno pass
jules fail
alice fail
| farah 7
hana 18
jules 15
eli 17
alice 9
lina 15
jules 24
gus 22
| farah fail
hana fail
jules fail
eli fail
alice fail
lina fail
jules fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036017-p1 | Output column 1 and 'pass' if column 2 is 27 or greater; otherwise, output 'fail'. | {print $1,($2>=27?"pass":"fail")} | kim 28
bruno 6
eli 24
bruno 29
bruno 30
jules 20
alice 14
| kim pass
bruno fail
eli fail
bruno pass
bruno pass
jules fail
alice fail
| farah 7
hana 18
jules 15
eli 17
alice 9
lina 15
jules 24
gus 22
| farah fail
hana fail
jules fail
eli fail
alice fail
lina fail
jules fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036017 | qwen/qwen3.7-plus |
awkweave-0036018 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | lina birch 15
hana fable 51
gus indigo 116
jules delta 102
gus amber 54
gus grove 98
ivan amber 119
kim birch 56
alice amber 46
gus harbor 106
| BIRCH
FABLE
INDIGO
DELTA
AMBER
GROVE
AMBER
BIRCH
AMBER
HARBOR
| ivan cobalt 93
gus juniper 32
eli amber 119
jules delta 84
hana grove 115
eli birch 110
hana ember 35
eli juniper 109
kim ember 65
hana fable 37
| COBALT
JUNIPER
AMBER
DELTA
GROVE
BIRCH
EMBER
JUNIPER
EMBER
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036018-p1 | Transform column 2 to uppercase and display only that column. | {print toupper($2)} | lina birch 15
hana fable 51
gus indigo 116
jules delta 102
gus amber 54
gus grove 98
ivan amber 119
kim birch 56
alice amber 46
gus harbor 106
| BIRCH
FABLE
INDIGO
DELTA
AMBER
GROVE
AMBER
BIRCH
AMBER
HARBOR
| ivan cobalt 93
gus juniper 32
eli amber 119
jules delta 84
hana grove 115
eli birch 110
hana ember 35
eli juniper 109
kim ember 65
hana fable 37
| COBALT
JUNIPER
AMBER
DELTA
GROVE
BIRCH
EMBER
JUNIPER
EMBER
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036018 | qwen/qwen3.7-plus |
awkweave-0036019 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | indigo 28
indigo 12
delta 108
amber 8
ember 117
fable 96
| ndi
ndi
elt
mbe
mbe
abl
| cobalt 95
grove 21
ember 67
delta 40
indigo 60
fable 103
birch 85
| oba
rov
mbe
elt
ndi
abl
irc
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036019-p1 | Extract and print 3 characters from column 1, beginning at the second character. | {print substr($1,2,3)} | indigo 28
indigo 12
delta 108
amber 8
ember 117
fable 96
| ndi
ndi
elt
mbe
mbe
abl
| cobalt 95
grove 21
ember 67
delta 40
indigo 60
fable 103
birch 85
| oba
rov
mbe
elt
ndi
abl
irc
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036019 | qwen/qwen3.7-plus |
awkweave-0036020 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_fable 105
amber_indigo 50
indigo_juniper 32
fable_fable 13
birch_amber 52
amber_ember 17
fable_cobalt 23
delta_ember 26
indigo_cobalt 79
grove_cobalt 0
| indigo fable
amber indigo
indigo juniper
fable fable
birch amber
amber ember
fable cobalt
delta ember
indigo cobalt
grove cobalt
| ember_ember 105
grove_cobalt 106
birch_grove 59
birch_juniper 43
ember_ember 98
delta_amber 19
grove_birch 64
cobalt_birch 106
indigo_grove 59
juniper_juniper 8
| ember ember
grove cobalt
birch grove
birch juniper
ember ember
delta amber
grove birch
cobalt birch
indigo grove
juniper juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036020-p1 | Substitute all underscores in column 1 with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | indigo_fable 105
amber_indigo 50
indigo_juniper 32
fable_fable 13
birch_amber 52
amber_ember 17
fable_cobalt 23
delta_ember 26
indigo_cobalt 79
grove_cobalt 0
| indigo fable
amber indigo
indigo juniper
fable fable
birch amber
amber ember
fable cobalt
delta ember
indigo cobalt
grove cobalt
| ember_ember 105
grove_cobalt 106
birch_grove 59
birch_juniper 43
ember_ember 98
delta_amber 19
grove_birch 64
cobalt_birch 106
indigo_grove 59
juniper_juniper 8
| ember ember
grove cobalt
birch grove
birch juniper
ember ember
delta amber
grove birch
cobalt birch
indigo grove
juniper juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036020 | qwen/qwen3.7-plus |
awkweave-0036021 | 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 0 closed
gus fable 84 closed
lina birch 109 active
hana cobalt 18 closed
gus fable 58 active
lina grove 96 pending
bruno delta 120 pending
lina amber 65 pending
bruno juniper 17 closed
| closed 0 cobalt eli
closed 84 fable gus
active 109 birch lina
closed 18 cobalt hana
active 58 fable gus
pending 96 grove lina
pending 120 delta bruno
pending 65 amber lina
closed 17 juniper bruno
| ivan grove 42 active
chen juniper 115 failed
farah birch 77 closed
hana birch 41 active
ivan ember 58 ready
chen delta 79 active
bruno indigo 25 failed
alice juniper 31 failed
jules cobalt 100 ready
ivan harbor 29 active
| active 42 grove ivan
failed 115 juniper chen
closed 77 birch farah
active 41 birch hana
ready 58 ember ivan
active 79 delta chen
failed 25 indigo bruno
failed 31 juniper alice
ready 100 cobalt jules
active 29 harbor ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036021-p1 | Reverse the field order on each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli cobalt 0 closed
gus fable 84 closed
lina birch 109 active
hana cobalt 18 closed
gus fable 58 active
lina grove 96 pending
bruno delta 120 pending
lina amber 65 pending
bruno juniper 17 closed
| closed 0 cobalt eli
closed 84 fable gus
active 109 birch lina
closed 18 cobalt hana
active 58 fable gus
pending 96 grove lina
pending 120 delta bruno
pending 65 amber lina
closed 17 juniper bruno
| ivan grove 42 active
chen juniper 115 failed
farah birch 77 closed
hana birch 41 active
ivan ember 58 ready
chen delta 79 active
bruno indigo 25 failed
alice juniper 31 failed
jules cobalt 100 ready
ivan harbor 29 active
| active 42 grove ivan
failed 115 juniper chen
closed 77 birch farah
active 41 birch hana
ready 58 ember ivan
active 79 delta chen
failed 25 indigo bruno
failed 31 juniper alice
ready 100 cobalt jules
active 29 harbor ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036021 | qwen/qwen3.7-plus |
awkweave-0036022 | Print the number of whitespace-separated fields on each line. | {print NF} | dina fable 60 active
chen grove 79 ready
chen amber 20 failed
ivan fable 91 ready
lina indigo 38 ready
dina ember 64 active
dina fable 107 closed
| 4
4
4
4
4
4
4
| lina birch 34 pending
chen delta 1 pending
ivan cobalt 111 ready
eli grove 120 active
jules ember 62 active
eli ember 62 active
ivan amber 64 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036022-p1 | Print the count of whitespace-delimited fields for each line. | {print NF} | dina fable 60 active
chen grove 79 ready
chen amber 20 failed
ivan fable 91 ready
lina indigo 38 ready
dina ember 64 active
dina fable 107 closed
| 4
4
4
4
4
4
4
| lina birch 34 pending
chen delta 1 pending
ivan cobalt 111 ready
eli grove 120 active
jules ember 62 active
eli ember 62 active
ivan amber 64 failed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036022 | qwen/qwen3.7-plus |
awkweave-0036023 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana alpha 119
lina gamma 101
farah delta 35
kim gamma 64
alice delta 113
kim delta 59
chen delta 37
gus delta 112
hana gamma 7
jules beta 49
| alpha 1
gamma 3
delta 5
beta 1
| bruno gamma 80
hana beta 54
lina alpha 47
farah gamma 115
kim delta 62
lina delta 21
gus gamma 69
bruno alpha 27
lina gamma 114
| gamma 4
beta 1
alpha 2
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036023-p1 | Tally records for each unique value in column 2, printing the value and its count in the order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana alpha 119
lina gamma 101
farah delta 35
kim gamma 64
alice delta 113
kim delta 59
chen delta 37
gus delta 112
hana gamma 7
jules beta 49
| alpha 1
gamma 3
delta 5
beta 1
| bruno gamma 80
hana beta 54
lina alpha 47
farah gamma 115
kim delta 62
lina delta 21
gus gamma 69
bruno alpha 27
lina gamma 114
| gamma 4
beta 1
alpha 2
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036023 | qwen/qwen3.7-plus |
awkweave-0036024 | 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]]} | jules alpha 1
alice gamma 5
ivan beta 6
farah alpha 21
ivan beta 1
alice alpha 14
| alpha 36
gamma 5
beta 7
| bruno gamma 22
kim delta 6
eli delta 12
dina beta 9
alice beta 27
gus alpha 25
| gamma 22
delta 18
beta 36
alpha 25
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036024-p1 | Calculate the sum of values in column 3 for each unique category found in column 2, and output the results maintaining the order in which each category first appears. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | jules alpha 1
alice gamma 5
ivan beta 6
farah alpha 21
ivan beta 1
alice alpha 14
| alpha 36
gamma 5
beta 7
| bruno gamma 22
kim delta 6
eli delta 12
dina beta 9
alice beta 27
gus alpha 25
| gamma 22
delta 18
beta 36
alpha 25
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036024 | qwen/qwen3.7-plus |
awkweave-0036025 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta harbor 50
alpha fable 42
gamma juniper 42
beta delta 103
beta delta 77
beta ember 94
alpha grove 34
delta juniper 77
beta indigo 63
| beta 5
alpha 2
| alpha harbor 15
beta ember 87
delta harbor 48
beta cobalt 61
alpha fable 8
gamma delta 26
delta ember 42
| alpha 2
beta 2
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036025-p1 | Identify duplicate entries in column 1, count their occurrences, and list them alongside their counts in the order they first appear in the data. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta harbor 50
alpha fable 42
gamma juniper 42
beta delta 103
beta delta 77
beta ember 94
alpha grove 34
delta juniper 77
beta indigo 63
| beta 5
alpha 2
| alpha harbor 15
beta ember 87
delta harbor 48
beta cobalt 61
alpha fable 8
gamma delta 26
delta ember 42
| alpha 2
beta 2
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036025 | qwen/qwen3.7-plus |
awkweave-0036026 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id region score note
r001 hana 29 failed
r002 ivan 9 paused
r003 eli 17 ready
r004 gus 23 ready
r005 alice 17 failed
r006 lina 12 failed
r007 dina 17 active
r008 alice 2 pending
r009 gus 30 active
| 29
9
17
23
17
12
17
2
30
| record_id region score note
r001 gus 20 active
r002 dina 19 failed
r003 ivan 3 ready
r004 gus 6 pending
r005 farah 28 failed
r006 alice 28 ready
r007 alice 9 failed
r008 alice 9 pending
r009 eli 14 closed
| 20
19
3
6
28
28
9
9
14
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036026-p1 | Treat the initial line as a header row and output only the values from the score column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id region score note
r001 hana 29 failed
r002 ivan 9 paused
r003 eli 17 ready
r004 gus 23 ready
r005 alice 17 failed
r006 lina 12 failed
r007 dina 17 active
r008 alice 2 pending
r009 gus 30 active
| 29
9
17
23
17
12
17
2
30
| record_id region score note
r001 gus 20 active
r002 dina 19 failed
r003 ivan 3 ready
r004 gus 6 pending
r005 farah 28 failed
r006 alice 28 ready
r007 alice 9 failed
r008 alice 9 pending
r009 eli 14 closed
| 20
19
3
6
28
28
9
9
14
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036026 | qwen/qwen3.7-plus |
awkweave-0036027 | The first row is a header. Print display_name for data rows whose score is greater than 18. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]} | record_id display_name score state
r001 alice 30 pending
r002 ivan 1 paused
r003 jules 1 failed
r004 hana 7 failed
r005 chen 20 failed
r006 bruno 26 ready
r007 jules 22 closed
r008 dina 20 active
r009 chen 18 paused
r010 ivan 23 ready
| alice
chen
bruno
jules
dina
ivan
| record_id display_name score state
r001 ivan 10 active
r002 hana 14 ready
r003 hana 22 active
r004 jules 18 paused
r005 kim 25 paused
r006 jules 9 ready
r007 eli 20 active
r008 alice 15 closed
| hana
kim
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036027-p1 | Ignoring the header row, display the display_name field for every record where the score value is strictly greater than 18. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>18{print $h["display_name"]} | record_id display_name score state
r001 alice 30 pending
r002 ivan 1 paused
r003 jules 1 failed
r004 hana 7 failed
r005 chen 20 failed
r006 bruno 26 ready
r007 jules 22 closed
r008 dina 20 active
r009 chen 18 paused
r010 ivan 23 ready
| alice
chen
bruno
jules
dina
ivan
| record_id display_name score state
r001 ivan 10 active
r002 hana 14 ready
r003 hana 22 active
r004 jules 18 paused
r005 kim 25 paused
r006 jules 9 ready
r007 eli 20 active
r008 alice 15 closed
| hana
kim
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036027 | qwen/qwen3.7-plus |
awkweave-0036028 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | dina 5 ready
bruno 22 active
lina 4 active
ivan 9 failed
lina 24 active
dina 5 active
| 5
22
4
9
24
5
| lina 21 failed
alice 18 paused
chen 8 active
jules 9 ready
gus 16 failed
eli 26 failed
kim 18 ready
chen 30 failed
kim 27 ready
| 21
18
8
9
16
26
18
30
27
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036028-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | dina 5 ready
bruno 22 active
lina 4 active
ivan 9 failed
lina 24 active
dina 5 active
| 5
22
4
9
24
5
| lina 21 failed
alice 18 paused
chen 8 active
jules 9 ready
gus 16 failed
eli 26 failed
kim 18 ready
chen 30 failed
kim 27 ready
| 21
18
8
9
16
26
18
30
27
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0036028 | qwen/qwen3.7-plus |
awkweave-0036029 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8. | BEGIN{FS=OFS=","}$2>8{print $1} | lina,20,paused
ivan,19,active
dina,17,closed
jules,25,ready
chen,25,ready
jules,6,pending
chen,17,pending
lina,2,pending
jules,25,paused
| lina
ivan
dina
jules
chen
chen
jules
| gus,12,failed
gus,29,pending
kim,18,active
hana,3,paused
lina,15,paused
kim,11,pending
hana,10,ready
| gus
gus
kim
lina
kim
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036029-p1 | Given comma-separated values without quoted fields, output the first column only if the value in the second column is greater than 8. | BEGIN{FS=OFS=","}$2>8{print $1} | lina,20,paused
ivan,19,active
dina,17,closed
jules,25,ready
chen,25,ready
jules,6,pending
chen,17,pending
lina,2,pending
jules,25,paused
| lina
ivan
dina
jules
chen
chen
jules
| gus,12,failed
gus,29,pending
kim,18,active
hana,3,paused
lina,15,paused
kim,11,pending
hana,10,ready
| gus
gus
kim
lina
kim
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036029 | qwen/qwen3.7-plus |
awkweave-0036030 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice amber 40
ivan harbor 14
kim juniper 85
lina cobalt 14
farah amber 91
ivan fable 58
chen cobalt 76
| alice amber 40
ivan harbor 14
kim juniper 85
lina cobalt 14
farah amber 91
ivan fable 58
chen cobalt 76
| alice ember 8
farah delta 114
gus harbor 116
alice ember 54
eli juniper 30
alice fable 23
hana indigo 120
jules juniper 61
hana amber 90
chen harbor 15
| alice ember 8
farah delta 114
gus harbor 116
alice ember 54
eli juniper 30
alice fable 23
hana indigo 120
jules juniper 61
hana amber 90
chen harbor 15
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036030-p1 | Remove any leading or trailing whitespace from the text and replace sequences of internal whitespace characters with a single space. | {$1=$1;print} | alice amber 40
ivan harbor 14
kim juniper 85
lina cobalt 14
farah amber 91
ivan fable 58
chen cobalt 76
| alice amber 40
ivan harbor 14
kim juniper 85
lina cobalt 14
farah amber 91
ivan fable 58
chen cobalt 76
| alice ember 8
farah delta 114
gus harbor 116
alice ember 54
eli juniper 30
alice fable 23
hana indigo 120
jules juniper 61
hana amber 90
chen harbor 15
| alice ember 8
farah delta 114
gus harbor 116
alice ember 54
eli juniper 30
alice fable 23
hana indigo 120
jules juniper 61
hana amber 90
chen harbor 15
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036030 | qwen/qwen3.7-plus |
awkweave-0036031 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina ember 18 closed
alice harbor 115 active
alice harbor 93 active
gus cobalt 17 failed
alice cobalt 55 ready
alice amber 35 active
kim harbor 105 closed
| alice harbor 115 active
| gus fable 58 failed
bruno indigo 97 pending
bruno fable 69 ready
ivan amber 109 active
alice birch 100 ready
ivan amber 47 failed
dina amber 106 active
chen fable 61 pending
| bruno indigo 97 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036031-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina ember 18 closed
alice harbor 115 active
alice harbor 93 active
gus cobalt 17 failed
alice cobalt 55 ready
alice amber 35 active
kim harbor 105 closed
| alice harbor 115 active
| gus fable 58 failed
bruno indigo 97 pending
bruno fable 69 ready
ivan amber 109 active
alice birch 100 ready
ivan amber 47 failed
dina amber 106 active
chen fable 61 pending
| bruno indigo 97 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036031 | qwen/qwen3.7-plus |
awkweave-0036032 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | eli 37
jules 1
dina 120
dina 82
jules 44
chen 71
| jules 1
chen 71
| bruno 52
ivan 12
dina 56
lina 41
chen 85
gus 113
lina 96
| ivan 12
gus 113
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036032-p1 | Output every fourth line of the input, beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | eli 37
jules 1
dina 120
dina 82
jules 44
chen 71
| jules 1
chen 71
| bruno 52
ivan 12
dina 56
lina 41
chen 85
gus 113
lina 96
| ivan 12
gus 113
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036032 | qwen/qwen3.7-plus |
awkweave-0036033 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma delta 66
beta cobalt 18
beta amber 101
gamma delta 63
beta fable 80
delta cobalt 25
beta grove 0
| 3
| alpha amber 93
beta grove 71
alpha fable 29
beta ember 120
delta indigo 19
alpha birch 102
delta ember 118
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036033-p1 | Determine the number of unique values present in column 1 and print only this total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma delta 66
beta cobalt 18
beta amber 101
gamma delta 63
beta fable 80
delta cobalt 25
beta grove 0
| 3
| alpha amber 93
beta grove 71
alpha fable 29
beta ember 120
delta indigo 19
alpha birch 102
delta ember 118
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036033 | qwen/qwen3.7-plus |
awkweave-0036034 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 1 0
gus 25 3
jules 23 15
dina 10 13
hana 4 25
dina 7 26
lina 24 12
| gus 8.33
jules 1.53
dina 0.77
hana 0.16
dina 0.27
lina 2.00
| lina 9 0
gus 2 18
dina 14 4
farah 17 22
kim 5 21
chen 14 25
lina 14 29
lina 13 30
jules 19 26
| gus 0.11
dina 3.50
farah 0.77
kim 0.24
chen 0.56
lina 0.48
lina 0.43
jules 0.73
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036034-p1 | For each row where column 3 is not zero, print column 1 followed by the result of dividing column 2 by column 3, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 1 0
gus 25 3
jules 23 15
dina 10 13
hana 4 25
dina 7 26
lina 24 12
| gus 8.33
jules 1.53
dina 0.77
hana 0.16
dina 0.27
lina 2.00
| lina 9 0
gus 2 18
dina 14 4
farah 17 22
kim 5 21
chen 14 25
lina 14 29
lina 13 30
jules 19 26
| gus 0.11
dina 3.50
farah 0.77
kim 0.24
chen 0.56
lina 0.48
lina 0.43
jules 0.73
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036034 | qwen/qwen3.7-plus |
awkweave-0036035 | 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]} | chen cobalt 8
alice ember 7
chen fable 6
alice indigo 12
kim grove 24
jules juniper 19
eli birch 1
chen grove 8
eli amber 27
lina harbor 16
| eli amber 27
kim grove 24
jules juniper 19
| chen birch 19
gus ember 28
jules juniper 24
eli harbor 12
dina birch 8
farah fable 18
bruno juniper 10
| gus ember 28
jules juniper 24
chen birch 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036035-p1 | Select the top three records based on the highest numeric values in column 3, sorted in descending order; maintain the original input order for any tied values. | {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]} | chen cobalt 8
alice ember 7
chen fable 6
alice indigo 12
kim grove 24
jules juniper 19
eli birch 1
chen grove 8
eli amber 27
lina harbor 16
| eli amber 27
kim grove 24
jules juniper 19
| chen birch 19
gus ember 28
jules juniper 24
eli harbor 12
dina birch 8
farah fable 18
bruno juniper 10
| gus ember 28
jules juniper 24
chen birch 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036035 | qwen/qwen3.7-plus |
awkweave-0036036 | For each line, output fields 6 and 5, in that order. | {print $6, $5} | ready fable lina jules grove closed
ready grove bruno farah indigo failed
active cobalt alice alice ember active
paused harbor eli lina grove closed
paused ember ivan lina delta paused
ready delta hana hana harbor failed
failed fable farah gus delta paused
closed harbor farah dina amber closed
pending ember bruno kim c... | closed grove
failed indigo
active ember
closed grove
paused delta
failed harbor
paused delta
closed amber
active cobalt
failed fable
| paused ember alice ivan ember paused
ready birch ivan jules harbor active
pending indigo alice eli juniper closed
pending indigo bruno ivan indigo paused
failed harbor eli chen delta active
active indigo jules kim amber active
ready cobalt chen lina birch pending
active juniper farah gus indigo active
failed juniper iv... | paused ember
active harbor
closed juniper
paused indigo
active delta
active amber
pending birch
active indigo
failed delta
pending ember
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036036-p1 | For every line, display the sixth field followed by the fifth field. | {print $6, $5} | ready fable lina jules grove closed
ready grove bruno farah indigo failed
active cobalt alice alice ember active
paused harbor eli lina grove closed
paused ember ivan lina delta paused
ready delta hana hana harbor failed
failed fable farah gus delta paused
closed harbor farah dina amber closed
pending ember bruno kim c... | closed grove
failed indigo
active ember
closed grove
paused delta
failed harbor
paused delta
closed amber
active cobalt
failed fable
| paused ember alice ivan ember paused
ready birch ivan jules harbor active
pending indigo alice eli juniper closed
pending indigo bruno ivan indigo paused
failed harbor eli chen delta active
active indigo jules kim amber active
ready cobalt chen lina birch pending
active juniper farah gus indigo active
failed juniper iv... | paused ember
active harbor
closed juniper
paused indigo
active delta
active amber
pending birch
active indigo
failed delta
pending ember
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036036 | qwen/qwen3.7-plus |
awkweave-0036037 | Print the last field of every input line. | {print $NF} | 88 active fable pending closed
12 failed amber active paused
21 paused grove paused closed
96 pending birch ready pending
66 pending amber pending active
111 closed delta active pending
94 failed harbor failed pending
108 failed delta active ready
55 paused fable ready pending
48 ready cobalt paused ready
| closed
paused
closed
pending
active
pending
pending
ready
pending
ready
| 4 active indigo active active
84 pending indigo ready active
24 active fable closed paused
62 failed fable paused ready
73 ready indigo failed ready
48 failed birch closed closed
| active
active
paused
ready
ready
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036037-p1 | Output the final field from each input line. | {print $NF} | 88 active fable pending closed
12 failed amber active paused
21 paused grove paused closed
96 pending birch ready pending
66 pending amber pending active
111 closed delta active pending
94 failed harbor failed pending
108 failed delta active ready
55 paused fable ready pending
48 ready cobalt paused ready
| closed
paused
closed
pending
active
pending
pending
ready
pending
ready
| 4 active indigo active active
84 pending indigo ready active
24 active fable closed paused
62 failed fable paused ready
73 ready indigo failed ready
48 failed birch closed closed
| active
active
paused
ready
ready
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036037 | qwen/qwen3.7-plus |
awkweave-0036038 | Print the complete records where column 1 is at most 28. | $1 <= 28 | 42 farah grove
64 bruno delta
110 lina grove
79 jules harbor
102 lina harbor
59 chen cobalt
15 dina grove
43 gus indigo
106 farah harbor
98 lina harbor
| 15 dina grove
| 44 farah indigo
67 eli ember
3 jules indigo
27 farah ember
90 alice birch
22 gus birch
2 lina harbor
80 farah birch
93 ivan ember
30 eli birch
| 3 jules indigo
27 farah ember
22 gus birch
2 lina harbor
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036038-p1 | Display full records where the value in the first column is less than or equal to 28. | $1 <= 28 | 42 farah grove
64 bruno delta
110 lina grove
79 jules harbor
102 lina harbor
59 chen cobalt
15 dina grove
43 gus indigo
106 farah harbor
98 lina harbor
| 15 dina grove
| 44 farah indigo
67 eli ember
3 jules indigo
27 farah ember
90 alice birch
22 gus birch
2 lina harbor
80 farah birch
93 ivan ember
30 eli birch
| 3 jules indigo
27 farah ember
22 gus birch
2 lina harbor
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036038 | qwen/qwen3.7-plus |
awkweave-0036039 | Show whole lines whose 1st field is between 4 and 21, inclusive. | $1 >= 4 && $1 <= 21 | 26 amber ember harbor
1 birch fable birch
25 grove fable fable
25 indigo ember grove
7 grove birch delta
15 juniper cobalt harbor
8 juniper indigo amber
29 harbor birch amber
23 harbor grove cobalt
6 indigo birch harbor
| 7 grove birch delta
15 juniper cobalt harbor
8 juniper indigo amber
6 indigo birch harbor
| 17 cobalt amber amber
5 ember ember delta
1 fable harbor amber
17 amber delta harbor
7 amber indigo indigo
17 grove grove indigo
7 delta grove fable
4 juniper birch delta
24 ember juniper ember
| 17 cobalt amber amber
5 ember ember delta
17 amber delta harbor
7 amber indigo indigo
17 grove grove indigo
7 delta grove fable
4 juniper birch delta
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036039-p1 | Show entire lines where the first field falls within the range of 4 to 21, inclusive. | $1 >= 4 && $1 <= 21 | 26 amber ember harbor
1 birch fable birch
25 grove fable fable
25 indigo ember grove
7 grove birch delta
15 juniper cobalt harbor
8 juniper indigo amber
29 harbor birch amber
23 harbor grove cobalt
6 indigo birch harbor
| 7 grove birch delta
15 juniper cobalt harbor
8 juniper indigo amber
6 indigo birch harbor
| 17 cobalt amber amber
5 ember ember delta
1 fable harbor amber
17 amber delta harbor
7 amber indigo indigo
17 grove grove indigo
7 delta grove fable
4 juniper birch delta
24 ember juniper ember
| 17 cobalt amber amber
5 ember ember delta
17 amber delta harbor
7 amber indigo indigo
17 grove grove indigo
7 delta grove fable
4 juniper birch delta
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036039 | qwen/qwen3.7-plus |
awkweave-0036040 | Print column 2 only for rows where column 1 is exactly active. | $1 == "active"{print $2} | paused gus 77 ember
ready farah 83 grove
paused dina 108 delta
closed farah 42 cobalt
active ivan 79 delta
pending kim 28 amber
active alice 41 juniper
active hana 11 birch
paused dina 45 grove
| ivan
alice
hana
| ready alice 114 harbor
closed hana 98 delta
paused lina 99 delta
closed farah 13 delta
failed gus 53 ember
closed farah 64 grove
ready eli 48 grove
active lina 77 harbor
pending dina 93 juniper
| lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036040-p1 | Output only the second column for rows where the first column is exactly 'active'. | $1 == "active"{print $2} | paused gus 77 ember
ready farah 83 grove
paused dina 108 delta
closed farah 42 cobalt
active ivan 79 delta
pending kim 28 amber
active alice 41 juniper
active hana 11 birch
paused dina 45 grove
| ivan
alice
hana
| ready alice 114 harbor
closed hana 98 delta
paused lina 99 delta
closed farah 13 delta
failed gus 53 ember
closed farah 64 grove
ready eli 48 grove
active lina 77 harbor
pending dina 93 juniper
| lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036040 | qwen/qwen3.7-plus |
awkweave-0036041 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | cobalt DEBUG 85
harbor WARN 59
indigo ERROR 85
delta ERROR 68
harbor DEBUG 47
grove ERROR 92
cobalt DEBUG 29
delta WARN 41
grove ERROR 61
delta INFO 117
| delta INFO 117
| grove INFO 87
amber DEBUG 99
juniper ERROR 75
ember ERROR 61
fable DEBUG 39
cobalt ERROR 9
harbor INFO 52
ember WARN 16
harbor ERROR 86
| grove INFO 87
harbor INFO 52
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036041-p1 | Print all fields from lines where the second field starts with 'INFO'. | $2 ~ /^INFO/ | cobalt DEBUG 85
harbor WARN 59
indigo ERROR 85
delta ERROR 68
harbor DEBUG 47
grove ERROR 92
cobalt DEBUG 29
delta WARN 41
grove ERROR 61
delta INFO 117
| delta INFO 117
| grove INFO 87
amber DEBUG 99
juniper ERROR 75
ember ERROR 61
fable DEBUG 39
cobalt ERROR 9
harbor INFO 52
ember WARN 16
harbor ERROR 86
| grove INFO 87
harbor INFO 52
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036041 | qwen/qwen3.7-plus |
awkweave-0036042 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | ember 29 failed
indigo 58 pending
grove 91 failed
harbor 42 failed
cobalt 16 paused
delta 85 active
delta 20 ready
grove 100 active
harbor 999 active
| ember 29 failed
indigo 58 pending
grove 91 failed
cobalt 16 paused
delta 85 active
delta 20 ready
grove 100 active
| indigo 120 pending
harbor 83 failed
ember 101 active
ember 73 failed
cobalt 5 closed
fable 84 failed
harbor 56 closed
delta 17 pending
delta 106 paused
harbor 97 paused
harbor 999 active
| indigo 120 pending
ember 101 active
ember 73 failed
cobalt 5 closed
fable 84 failed
delta 17 pending
delta 106 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036042-p1 | Output every line that does not contain the exact string 'harbor'. | $0 !~ /harbor/ | ember 29 failed
indigo 58 pending
grove 91 failed
harbor 42 failed
cobalt 16 paused
delta 85 active
delta 20 ready
grove 100 active
harbor 999 active
| ember 29 failed
indigo 58 pending
grove 91 failed
cobalt 16 paused
delta 85 active
delta 20 ready
grove 100 active
| indigo 120 pending
harbor 83 failed
ember 101 active
ember 73 failed
cobalt 5 closed
fable 84 failed
harbor 56 closed
delta 17 pending
delta 106 paused
harbor 97 paused
harbor 999 active
| indigo 120 pending
ember 101 active
ember 73 failed
cobalt 5 closed
fable 84 failed
delta 17 pending
delta 106 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036042 | qwen/qwen3.7-plus |
awkweave-0036043 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | chen grove 0
kim ember 109
hana amber 99
dina indigo 62
alice ember 100
hana birch 35
ivan juniper 25
kim amber 47
eli cobalt 98
| kim ember 109
hana amber 99
| kim delta 120
farah delta 13
ivan indigo 58
gus ember 0
ivan harbor 108
eli ember 87
gus grove 111
hana delta 68
farah harbor 18
hana amber 51
| farah delta 13
ivan indigo 58
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036043-p1 | Display lines 2 through 3, inclusive. | NR >= 2 && NR <= 3 | chen grove 0
kim ember 109
hana amber 99
dina indigo 62
alice ember 100
hana birch 35
ivan juniper 25
kim amber 47
eli cobalt 98
| kim ember 109
hana amber 99
| kim delta 120
farah delta 13
ivan indigo 58
gus ember 0
ivan harbor 108
eli ember 87
gus grove 111
hana delta 68
farah harbor 18
hana amber 51
| farah delta 13
ivan indigo 58
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036043 | qwen/qwen3.7-plus |
awkweave-0036044 | Output only the first 3 records. | NR <= 3 | alice 62 harbor
alice 33 indigo
gus 87 cobalt
gus 11 amber
eli 57 amber
lina 8 amber
eli 61 indigo
kim 27 amber
| alice 62 harbor
alice 33 indigo
gus 87 cobalt
| alice 54 juniper
alice 47 grove
gus 114 amber
chen 14 grove
lina 3 delta
gus 91 grove
| alice 54 juniper
alice 47 grove
gus 114 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036044-p1 | Output only the first 3 records. | NR <= 3 | alice 62 harbor
alice 33 indigo
gus 87 cobalt
gus 11 amber
eli 57 amber
lina 8 amber
eli 61 indigo
kim 27 amber
| alice 62 harbor
alice 33 indigo
gus 87 cobalt
| alice 54 juniper
alice 47 grove
gus 114 amber
chen 14 grove
lina 3 delta
gus 91 grove
| alice 54 juniper
alice 47 grove
gus 114 amber
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0036044 | qwen/qwen3.7-plus |
awkweave-0036045 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 113 indigo
hana 74 birch
hana 108 indigo
chen 64 fable
dina 108 ember
lina 77 ember
farah 71 cobalt
alice 67 grove
jules 25 birch
ivan 78 delta
| hana 74 birch
hana 108 indigo
chen 64 fable
dina 108 ember
lina 77 ember
farah 71 cobalt
alice 67 grove
jules 25 birch
ivan 78 delta
| lina 0 cobalt
eli 20 harbor
kim 21 indigo
farah 34 ember
ivan 11 indigo
farah 67 birch
| eli 20 harbor
kim 21 indigo
farah 34 ember
ivan 11 indigo
farah 67 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036045-p1 | Ignore the first line and print all subsequent lines as they are. | NR > 1 | hana 113 indigo
hana 74 birch
hana 108 indigo
chen 64 fable
dina 108 ember
lina 77 ember
farah 71 cobalt
alice 67 grove
jules 25 birch
ivan 78 delta
| hana 74 birch
hana 108 indigo
chen 64 fable
dina 108 ember
lina 77 ember
farah 71 cobalt
alice 67 grove
jules 25 birch
ivan 78 delta
| lina 0 cobalt
eli 20 harbor
kim 21 indigo
farah 34 ember
ivan 11 indigo
farah 67 birch
| eli 20 harbor
kim 21 indigo
farah 34 ember
ivan 11 indigo
farah 67 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036045 | qwen/qwen3.7-plus |
awkweave-0036046 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | hana active 70
bruno paused 29
lina paused 107
gus closed 80
jules ready 20
dina closed 78
lina ready 102
kim pending 22
| 0
| kim pending 69
bruno pending 64
hana pending 60
chen closed 84
dina paused 89
kim paused 39
dina active 11
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036046-p1 | Count the number of records where the second column is 'failed', printing 0 if none exist. | $2 == "failed"{n++}END{print n+0} | hana active 70
bruno paused 29
lina paused 107
gus closed 80
jules ready 20
dina closed 78
lina ready 102
kim pending 22
| 0
| kim pending 69
bruno pending 64
hana pending 60
chen closed 84
dina paused 89
kim paused 39
dina active 11
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036046 | qwen/qwen3.7-plus |
awkweave-0036047 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | alice juniper 22
alice harbor 15
gus fable 24
farah birch 30
eli fable 16
kim delta 11
| 118
| ivan fable 5
eli grove 1
eli amber 11
gus fable 8
alice delta 30
gus harbor 19
farah birch 30
kim indigo 6
hana juniper 18
chen delta 8
| 136
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036047-p1 | Compute and print the sum of all integer values in the third column. | {s+=$3}END{print s+0} | alice juniper 22
alice harbor 15
gus fable 24
farah birch 30
eli fable 16
kim delta 11
| 118
| ivan fable 5
eli grove 1
eli amber 11
gus fable 8
alice delta 30
gus harbor 19
farah birch 30
kim indigo 6
hana juniper 18
chen delta 8
| 136
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036047 | qwen/qwen3.7-plus |
awkweave-0036048 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | lina ember 23
hana delta 28
chen indigo 14
chen cobalt 1
kim grove 9
lina amber 26
kim ember 29
dina ember 24
gus amber 23
eli cobalt 4
| 18.10
| ivan grove 3
alice harbor 3
dina indigo 15
lina harbor 11
alice ember 16
lina cobalt 1
eli juniper 20
ivan delta 30
dina delta 7
gus delta 15
| 12.10
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036048-p1 | Output the average of the values in the third column, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | lina ember 23
hana delta 28
chen indigo 14
chen cobalt 1
kim grove 9
lina amber 26
kim ember 29
dina ember 24
gus amber 23
eli cobalt 4
| 18.10
| ivan grove 3
alice harbor 3
dina indigo 15
lina harbor 11
alice ember 16
lina cobalt 1
eli juniper 20
ivan delta 30
dina delta 7
gus delta 15
| 12.10
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036048 | qwen/qwen3.7-plus |
awkweave-0036049 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 14 hana harbor
9 farah harbor
30 eli birch
4 gus fable
19 chen fable
29 dina birch
3 farah amber
4 ivan juniper
| 3
| 17 hana amber
12 dina indigo
23 kim ember
14 farah fable
6 bruno grove
21 gus cobalt
9 bruno indigo
5 bruno delta
15 jules birch
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036049-p1 | Identify and display the minimum number found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 14 hana harbor
9 farah harbor
30 eli birch
4 gus fable
19 chen fable
29 dina birch
3 farah amber
4 ivan juniper
| 3
| 17 hana amber
12 dina indigo
23 kim ember
14 farah fable
6 bruno grove
21 gus cobalt
9 bruno indigo
5 bruno delta
15 jules birch
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036049 | qwen/qwen3.7-plus |
awkweave-0036050 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo jules 28
cobalt gus 18
cobalt bruno 30
juniper eli 7
amber alice 23
ember farah 13
harbor gus 23
grove eli 16
juniper gus 6
| 30
| indigo hana 12
grove lina 3
amber eli 25
juniper farah 8
cobalt ivan 10
grove gus 24
cobalt gus 21
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0036050-p1 | Identify and display the maximum number found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo jules 28
cobalt gus 18
cobalt bruno 30
juniper eli 7
amber alice 23
ember farah 13
harbor gus 23
grove eli 16
juniper gus 6
| 30
| indigo hana 12
grove lina 3
amber eli 25
juniper farah 8
cobalt ivan 10
grove gus 24
cobalt gus 21
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0036050 | qwen/qwen3.7-plus |
awkweave-0036051 | Count all input records and print the total. | END{print NR} | alice 117
gus 57
jules 14
dina 79
chen 55
dina 106
| 6
| lina 58
chen 43
dina 28
jules 38
eli 97
dina 5
eli 44
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.