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-0034831-p1 | Output only the second column for rows where the third column contains exactly the word paused. | $3 == "paused"{print $2} | harbor farah failed 4
amber ivan closed 62
harbor dina active 90
grove dina active 64
delta farah active 98
delta farah active 111
fable hana active 82
cobalt ivan closed 119
ember jules paused 108
| jules
| fable dina paused 44
harbor lina ready 54
fable dina active 87
grove farah closed 59
grove hana ready 44
amber alice closed 66
delta farah active 84
grove gus paused 55
| dina
gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034831 | qwen/qwen3.7-plus |
awkweave-0034832 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | amber 43 ERROR
cobalt 57 INFO
harbor 30 ERROR
indigo 69 DEBUG
ember 58 DEBUG
grove 61 ERROR
| cobalt 57 INFO
| amber 89 WARN
harbor 42 INFO
fable 55 ERROR
amber 114 DEBUG
birch 70 WARN
indigo 88 WARN
cobalt 19 DEBUG
delta 97 WARN
fable 19 DEBUG
| harbor 42 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034832-p1 | Print all fields from lines where the third field starts with INFO. | $3 ~ /^INFO/ | amber 43 ERROR
cobalt 57 INFO
harbor 30 ERROR
indigo 69 DEBUG
ember 58 DEBUG
grove 61 ERROR
| cobalt 57 INFO
| amber 89 WARN
harbor 42 INFO
fable 55 ERROR
amber 114 DEBUG
birch 70 WARN
indigo 88 WARN
cobalt 19 DEBUG
delta 97 WARN
fable 19 DEBUG
| harbor 42 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034832 | qwen/qwen3.7-plus |
awkweave-0034833 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | cobalt 97 active
juniper 33 paused
delta 54 closed
amber 17 failed
fable 39 pending
juniper 114 ready
amber 89 pending
ember 33 ready
cobalt 25 paused
indigo 999 active
| cobalt 97 active
juniper 33 paused
delta 54 closed
amber 17 failed
fable 39 pending
juniper 114 ready
amber 89 pending
ember 33 ready
cobalt 25 paused
| grove 11 failed
juniper 35 active
birch 103 paused
birch 112 pending
delta 66 active
amber 114 paused
grove 102 ready
grove 120 closed
indigo 0 active
indigo 999 active
| grove 11 failed
juniper 35 active
birch 103 paused
birch 112 pending
delta 66 active
amber 114 paused
grove 102 ready
grove 120 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034833-p1 | Output every line except those that contain the exact string indigo. | $0 !~ /indigo/ | cobalt 97 active
juniper 33 paused
delta 54 closed
amber 17 failed
fable 39 pending
juniper 114 ready
amber 89 pending
ember 33 ready
cobalt 25 paused
indigo 999 active
| cobalt 97 active
juniper 33 paused
delta 54 closed
amber 17 failed
fable 39 pending
juniper 114 ready
amber 89 pending
ember 33 ready
cobalt 25 paused
| grove 11 failed
juniper 35 active
birch 103 paused
birch 112 pending
delta 66 active
amber 114 paused
grove 102 ready
grove 120 closed
indigo 0 active
indigo 999 active
| grove 11 failed
juniper 35 active
birch 103 paused
birch 112 pending
delta 66 active
amber 114 paused
grove 102 ready
grove 120 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034833 | qwen/qwen3.7-plus |
awkweave-0034834 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | kim ember 104
kim fable 117
gus juniper 101
ivan juniper 96
farah harbor 90
jules harbor 61
gus grove 25
hana birch 114
| gus juniper 101
ivan juniper 96
| eli ember 21
gus fable 100
kim delta 66
farah juniper 48
jules birch 9
jules grove 24
gus harbor 0
eli cobalt 83
| kim delta 66
farah juniper 48
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034834-p1 | Print lines 3 and 4, inclusive. | NR >= 3 && NR <= 4 | kim ember 104
kim fable 117
gus juniper 101
ivan juniper 96
farah harbor 90
jules harbor 61
gus grove 25
hana birch 114
| gus juniper 101
ivan juniper 96
| eli ember 21
gus fable 100
kim delta 66
farah juniper 48
jules birch 9
jules grove 24
gus harbor 0
eli cobalt 83
| kim delta 66
farah juniper 48
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034834 | qwen/qwen3.7-plus |
awkweave-0034835 | Output only the first 2 records. | NR <= 2 | dina 39 grove
hana 92 indigo
jules 118 juniper
gus 50 amber
dina 17 delta
eli 74 birch
chen 111 juniper
ivan 67 fable
alice 3 amber
| dina 39 grove
hana 92 indigo
| lina 5 ember
lina 120 cobalt
kim 102 birch
lina 95 amber
lina 62 indigo
bruno 103 delta
lina 19 amber
alice 8 cobalt
| lina 5 ember
lina 120 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034835-p1 | Display only the first two records. | NR <= 2 | dina 39 grove
hana 92 indigo
jules 118 juniper
gus 50 amber
dina 17 delta
eli 74 birch
chen 111 juniper
ivan 67 fable
alice 3 amber
| dina 39 grove
hana 92 indigo
| lina 5 ember
lina 120 cobalt
kim 102 birch
lina 95 amber
lina 62 indigo
bruno 103 delta
lina 19 amber
alice 8 cobalt
| lina 5 ember
lina 120 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034835 | qwen/qwen3.7-plus |
awkweave-0034836 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 41 birch
ivan 49 fable
gus 74 harbor
eli 4 grove
eli 82 birch
lina 47 grove
| ivan 49 fable
gus 74 harbor
eli 4 grove
eli 82 birch
lina 47 grove
| eli 48 delta
farah 99 indigo
kim 29 ember
jules 99 grove
ivan 96 delta
chen 12 juniper
kim 93 grove
| farah 99 indigo
kim 29 ember
jules 99 grove
ivan 96 delta
chen 12 juniper
kim 93 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034836-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | lina 41 birch
ivan 49 fable
gus 74 harbor
eli 4 grove
eli 82 birch
lina 47 grove
| ivan 49 fable
gus 74 harbor
eli 4 grove
eli 82 birch
lina 47 grove
| eli 48 delta
farah 99 indigo
kim 29 ember
jules 99 grove
ivan 96 delta
chen 12 juniper
kim 93 grove
| farah 99 indigo
kim 29 ember
jules 99 grove
ivan 96 delta
chen 12 juniper
kim 93 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034836 | qwen/qwen3.7-plus |
awkweave-0034837 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | eli ready 13
hana closed 38
eli active 55
kim active 109
farah active 72
farah active 31
| 0
| gus closed 96
gus pending 28
jules paused 118
jules pending 53
gus pending 109
bruno paused 81
jules closed 72
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034837-p1 | Tally the number of entries marked as failed in the second column, outputting 0 if no such entries exist. | $2 == "failed"{n++}END{print n+0} | eli ready 13
hana closed 38
eli active 55
kim active 109
farah active 72
farah active 31
| 0
| gus closed 96
gus pending 28
jules paused 118
jules pending 53
gus pending 109
bruno paused 81
jules closed 72
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034837 | qwen/qwen3.7-plus |
awkweave-0034838 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | chen 30 ember
farah 6 juniper
gus 20 ember
bruno 14 indigo
jules 10 amber
lina 6 grove
| 86
| gus 26 indigo
farah 2 grove
jules 23 harbor
gus 15 amber
hana 19 fable
dina 9 harbor
dina 28 juniper
| 122
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034838-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | chen 30 ember
farah 6 juniper
gus 20 ember
bruno 14 indigo
jules 10 amber
lina 6 grove
| 86
| gus 26 indigo
farah 2 grove
jules 23 harbor
gus 15 amber
hana 19 fable
dina 9 harbor
dina 28 juniper
| 122
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034838 | qwen/qwen3.7-plus |
awkweave-0034839 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 20 hana
fable 13 eli
ember 21 lina
cobalt 11 chen
fable 10 chen
birch 7 alice
indigo 9 bruno
amber 15 gus
| 13.25
| ember 30 jules
indigo 28 bruno
indigo 30 chen
birch 18 lina
delta 10 ivan
indigo 9 bruno
juniper 19 dina
juniper 26 gus
| 21.25
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034839-p1 | Output the average of the values in the second column, formatted to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 20 hana
fable 13 eli
ember 21 lina
cobalt 11 chen
fable 10 chen
birch 7 alice
indigo 9 bruno
amber 15 gus
| 13.25
| ember 30 jules
indigo 28 bruno
indigo 30 chen
birch 18 lina
delta 10 ivan
indigo 9 bruno
juniper 19 dina
juniper 26 gus
| 21.25
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034839 | qwen/qwen3.7-plus |
awkweave-0034840 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | fable ivan 12
indigo alice 8
ember gus 16
fable hana 3
delta kim 16
ember chen 19
delta eli 22
birch kim 14
| 3
| indigo bruno 30
juniper gus 23
grove lina 29
harbor chen 16
indigo ivan 24
cobalt kim 4
cobalt ivan 28
harbor chen 6
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034840-p1 | Identify and display the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | fable ivan 12
indigo alice 8
ember gus 16
fable hana 3
delta kim 16
ember chen 19
delta eli 22
birch kim 14
| 3
| indigo bruno 30
juniper gus 23
grove lina 29
harbor chen 16
indigo ivan 24
cobalt kim 4
cobalt ivan 28
harbor chen 6
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034840 | qwen/qwen3.7-plus |
awkweave-0034841 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | ivan cobalt 13
lina indigo 14
bruno cobalt 23
bruno harbor 29
lina juniper 10
alice indigo 16
gus delta 25
chen amber 29
chen amber 17
| 29
| alice cobalt 22
chen cobalt 29
ivan harbor 5
gus delta 11
gus amber 4
farah ember 9
alice cobalt 15
kim ember 22
eli amber 21
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034841-p1 | Identify and display the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | ivan cobalt 13
lina indigo 14
bruno cobalt 23
bruno harbor 29
lina juniper 10
alice indigo 16
gus delta 25
chen amber 29
chen amber 17
| 29
| alice cobalt 22
chen cobalt 29
ivan harbor 5
gus delta 11
gus amber 4
farah ember 9
alice cobalt 15
kim ember 22
eli amber 21
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034841 | qwen/qwen3.7-plus |
awkweave-0034842 | Count all input records and print the total. | END{print NR} | farah 72
eli 0
chen 8
bruno 10
eli 36
gus 13
kim 78
dina 19
| 8
| gus 64
alice 58
lina 72
gus 118
chen 3
kim 49
gus 91
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034842-p1 | Count the total number of input records and print the result. | END{print NR} | farah 72
eli 0
chen 8
bruno 10
eli 36
gus 13
kim 78
dina 19
| 8
| gus 64
alice 58
lina 72
gus 118
chen 3
kim 49
gus 91
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034842 | qwen/qwen3.7-plus |
awkweave-0034843 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen grove 117
alice fable 4
alice fable 4
chen cobalt 77
farah juniper 23
gus amber 35
bruno grove 2
ivan amber 23
hana fable 96
farah birch 115
| chen grove 117
alice fable 4
chen cobalt 77
farah juniper 23
gus amber 35
bruno grove 2
ivan amber 23
hana fable 96
farah birch 115
| alice birch 31
jules birch 41
alice indigo 12
gus amber 79
dina juniper 61
alice indigo 12
hana ember 21
alice grove 108
chen amber 10
kim cobalt 4
| alice birch 31
jules birch 41
alice indigo 12
gus amber 79
dina juniper 61
hana ember 21
alice grove 108
chen amber 10
kim cobalt 4
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034843-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | chen grove 117
alice fable 4
alice fable 4
chen cobalt 77
farah juniper 23
gus amber 35
bruno grove 2
ivan amber 23
hana fable 96
farah birch 115
| chen grove 117
alice fable 4
chen cobalt 77
farah juniper 23
gus amber 35
bruno grove 2
ivan amber 23
hana fable 96
farah birch 115
| alice birch 31
jules birch 41
alice indigo 12
gus amber 79
dina juniper 61
alice indigo 12
hana ember 21
alice grove 108
chen amber 10
kim cobalt 4
| alice birch 31
jules birch 41
alice indigo 12
gus amber 79
dina juniper 61
hana ember 21
alice grove 108
chen amber 10
kim cobalt 4
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034843 | qwen/qwen3.7-plus |
awkweave-0034844 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | bruno ember 9
ivan indigo 34
kim birch 62
eli delta 2
alice grove 26
dina ember 66
lina amber 35
hana juniper 54
chen indigo 32
alice delta 6
| bruno ember 9
ivan indigo 34
kim birch 62
eli delta 2
alice grove 26
dina ember 66
lina amber 35
hana juniper 54
chen indigo 32
| farah cobalt 77
chen juniper 107
hana harbor 0
lina delta 54
ivan ember 33
bruno ember 115
gus indigo 86
alice harbor 21
kim indigo 31
| farah cobalt 77
chen juniper 107
hana harbor 0
lina delta 54
ivan ember 33
bruno ember 115
gus indigo 86
alice harbor 21
kim indigo 31
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034844-p1 | Retain only the first occurrence for every unique value in the first column, preserving the original sequence. | !seen[$1]++ | bruno ember 9
ivan indigo 34
kim birch 62
eli delta 2
alice grove 26
dina ember 66
lina amber 35
hana juniper 54
chen indigo 32
alice delta 6
| bruno ember 9
ivan indigo 34
kim birch 62
eli delta 2
alice grove 26
dina ember 66
lina amber 35
hana juniper 54
chen indigo 32
| farah cobalt 77
chen juniper 107
hana harbor 0
lina delta 54
ivan ember 33
bruno ember 115
gus indigo 86
alice harbor 21
kim indigo 31
| farah cobalt 77
chen juniper 107
hana harbor 0
lina delta 54
ivan ember 33
bruno ember 115
gus indigo 86
alice harbor 21
kim indigo 31
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034844 | qwen/qwen3.7-plus |
awkweave-0034845 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 7 fable
gus 17 delta
gus 20 harbor
alice 25 cobalt
kim 29 grove
lina 5 fable
lina 8 birch
| gus 7
gus 24
gus 44
alice 69
kim 98
lina 103
lina 111
| hana 20 juniper
lina 24 indigo
eli 27 grove
kim 8 fable
chen 14 harbor
eli 30 grove
kim 2 birch
lina 17 grove
hana 3 birch
gus 15 delta
| hana 20
lina 44
eli 71
kim 79
chen 93
eli 123
kim 125
lina 142
hana 145
gus 160
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034845-p1 | For each entry, output the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | gus 7 fable
gus 17 delta
gus 20 harbor
alice 25 cobalt
kim 29 grove
lina 5 fable
lina 8 birch
| gus 7
gus 24
gus 44
alice 69
kim 98
lina 103
lina 111
| hana 20 juniper
lina 24 indigo
eli 27 grove
kim 8 fable
chen 14 harbor
eli 30 grove
kim 2 birch
lina 17 grove
hana 3 birch
gus 15 delta
| hana 20
lina 44
eli 71
kim 79
chen 93
eli 123
kim 125
lina 142
hana 145
gus 160
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034845 | qwen/qwen3.7-plus |
awkweave-0034846 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 14 15 juniper
eli 25 6 indigo
kim 8 11 juniper
hana 11 11 ember
eli 3 13 birch
chen 27 23 cobalt
gus 8 13 harbor
dina 7 29 juniper
ivan 15 18 amber
kim 17 28 indigo
| kim 29
eli 31
kim 19
hana 22
eli 16
chen 50
gus 21
dina 36
ivan 33
kim 45
| lina 15 16 fable
ivan 12 2 delta
alice 30 19 delta
kim 7 24 cobalt
chen 6 22 amber
jules 5 26 juniper
farah 30 27 juniper
| lina 31
ivan 14
alice 49
kim 31
chen 28
jules 31
farah 57
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034846-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | kim 14 15 juniper
eli 25 6 indigo
kim 8 11 juniper
hana 11 11 ember
eli 3 13 birch
chen 27 23 cobalt
gus 8 13 harbor
dina 7 29 juniper
ivan 15 18 amber
kim 17 28 indigo
| kim 29
eli 31
kim 19
hana 22
eli 16
chen 50
gus 21
dina 36
ivan 33
kim 45
| lina 15 16 fable
ivan 12 2 delta
alice 30 19 delta
kim 7 24 cobalt
chen 6 22 amber
jules 5 26 juniper
farah 30 27 juniper
| lina 31
ivan 14
alice 49
kim 31
chen 28
jules 31
farah 57
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034846 | qwen/qwen3.7-plus |
awkweave-0034847 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | ivan 1
ivan 27
chen 1
eli 28
alice 22
bruno 8
| ivan fail
ivan pass
chen fail
eli pass
alice pass
bruno fail
| jules 26
eli 13
eli 11
dina 23
eli 4
eli 1
chen 1
hana 14
alice 20
hana 3
| jules pass
eli fail
eli fail
dina pass
eli fail
eli fail
chen fail
hana fail
alice fail
hana fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034847-p1 | Print the first column; append 'pass' if the second column is 22 or higher, otherwise append 'fail'. | {print $1,($2>=22?"pass":"fail")} | ivan 1
ivan 27
chen 1
eli 28
alice 22
bruno 8
| ivan fail
ivan pass
chen fail
eli pass
alice pass
bruno fail
| jules 26
eli 13
eli 11
dina 23
eli 4
eli 1
chen 1
hana 14
alice 20
hana 3
| jules pass
eli fail
eli fail
dina pass
eli fail
eli fail
chen fail
hana fail
alice fail
hana fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034847 | qwen/qwen3.7-plus |
awkweave-0034848 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | kim birch 38
dina fable 59
gus ember 37
ivan birch 49
ivan indigo 18
alice birch 75
alice harbor 51
| KIM
DINA
GUS
IVAN
IVAN
ALICE
ALICE
| bruno delta 8
gus ember 40
lina birch 60
dina ember 44
chen indigo 24
chen fable 113
| BRUNO
GUS
LINA
DINA
CHEN
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034848-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | kim birch 38
dina fable 59
gus ember 37
ivan birch 49
ivan indigo 18
alice birch 75
alice harbor 51
| KIM
DINA
GUS
IVAN
IVAN
ALICE
ALICE
| bruno delta 8
gus ember 40
lina birch 60
dina ember 44
chen indigo 24
chen fable 113
| BRUNO
GUS
LINA
DINA
CHEN
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034848 | qwen/qwen3.7-plus |
awkweave-0034849 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | ember 21
juniper 19
ember 116
birch 44
fable 52
juniper 64
fable 34
| mbe
uni
mbe
irc
abl
uni
abl
| amber 56
ember 87
grove 86
indigo 40
ember 114
harbor 109
grove 5
amber 7
fable 41
delta 90
| mbe
mbe
rov
ndi
mbe
arb
rov
mbe
abl
elt
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034849-p1 | Extract and print a 3-character substring from column 1, beginning at the second character. | {print substr($1,2,3)} | ember 21
juniper 19
ember 116
birch 44
fable 52
juniper 64
fable 34
| mbe
uni
mbe
irc
abl
uni
abl
| amber 56
ember 87
grove 86
indigo 40
ember 114
harbor 109
grove 5
amber 7
fable 41
delta 90
| mbe
mbe
rov
ndi
mbe
arb
rov
mbe
abl
elt
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034849 | qwen/qwen3.7-plus |
awkweave-0034850 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_fable 18
grove_birch 91
cobalt_delta 66
birch_delta 104
cobalt_ember 102
delta_delta 95
amber_indigo 92
| amber fable
grove birch
cobalt delta
birch delta
cobalt ember
delta delta
amber indigo
| amber_indigo 9
ember_fable 20
birch_indigo 99
grove_amber 44
fable_harbor 107
indigo_birch 10
cobalt_grove 39
amber_delta 115
ember_harbor 24
| amber indigo
ember fable
birch indigo
grove amber
fable harbor
indigo birch
cobalt grove
amber delta
ember harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034850-p1 | Substitute all underscores in column 1 with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | amber_fable 18
grove_birch 91
cobalt_delta 66
birch_delta 104
cobalt_ember 102
delta_delta 95
amber_indigo 92
| amber fable
grove birch
cobalt delta
birch delta
cobalt ember
delta delta
amber indigo
| amber_indigo 9
ember_fable 20
birch_indigo 99
grove_amber 44
fable_harbor 107
indigo_birch 10
cobalt_grove 39
amber_delta 115
ember_harbor 24
| amber indigo
ember fable
birch indigo
grove amber
fable harbor
indigo birch
cobalt grove
amber delta
ember harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034850 | qwen/qwen3.7-plus |
awkweave-0034851 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | dina fable 43 paused
bruno indigo 64 failed
jules juniper 7 ready
hana harbor 42 failed
alice fable 80 paused
kim harbor 98 active
farah amber 3 active
dina indigo 7 closed
jules indigo 50 active
kim indigo 112 pending
| paused 43 fable dina
failed 64 indigo bruno
ready 7 juniper jules
failed 42 harbor hana
paused 80 fable alice
active 98 harbor kim
active 3 amber farah
closed 7 indigo dina
active 50 indigo jules
pending 112 indigo kim
| eli grove 112 active
alice juniper 23 failed
gus cobalt 111 pending
eli amber 71 failed
gus cobalt 42 paused
ivan juniper 111 pending
lina ember 57 failed
| active 112 grove eli
failed 23 juniper alice
pending 111 cobalt gus
failed 71 amber eli
paused 42 cobalt gus
pending 111 juniper ivan
failed 57 ember lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034851-p1 | Reverse the sequence of fields on each line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | dina fable 43 paused
bruno indigo 64 failed
jules juniper 7 ready
hana harbor 42 failed
alice fable 80 paused
kim harbor 98 active
farah amber 3 active
dina indigo 7 closed
jules indigo 50 active
kim indigo 112 pending
| paused 43 fable dina
failed 64 indigo bruno
ready 7 juniper jules
failed 42 harbor hana
paused 80 fable alice
active 98 harbor kim
active 3 amber farah
closed 7 indigo dina
active 50 indigo jules
pending 112 indigo kim
| eli grove 112 active
alice juniper 23 failed
gus cobalt 111 pending
eli amber 71 failed
gus cobalt 42 paused
ivan juniper 111 pending
lina ember 57 failed
| active 112 grove eli
failed 23 juniper alice
pending 111 cobalt gus
failed 71 amber eli
paused 42 cobalt gus
pending 111 juniper ivan
failed 57 ember lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034851 | qwen/qwen3.7-plus |
awkweave-0034852 | Print the number of whitespace-separated fields on each line. | {print NF} | chen birch 49 failed
farah grove 82 failed
lina ember 15 failed
eli birch 43 failed
chen birch 116 closed
jules harbor 31 failed
| 4
4
4
4
4
4
| lina juniper 10 closed
alice harbor 7 failed
alice cobalt 85 pending
alice birch 27 closed
alice harbor 101 closed
hana ember 104 active
farah delta 45 active
kim amber 117 active
ivan indigo 107 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034852-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | chen birch 49 failed
farah grove 82 failed
lina ember 15 failed
eli birch 43 failed
chen birch 116 closed
jules harbor 31 failed
| 4
4
4
4
4
4
| lina juniper 10 closed
alice harbor 7 failed
alice cobalt 85 pending
alice birch 27 closed
alice harbor 101 closed
hana ember 104 active
farah delta 45 active
kim amber 117 active
ivan indigo 107 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034852 | qwen/qwen3.7-plus |
awkweave-0034853 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | lina alpha 32
chen alpha 83
lina alpha 39
bruno delta 107
hana beta 101
gus gamma 102
| alpha 3
delta 1
beta 1
gamma 1
| jules gamma 29
lina gamma 18
chen gamma 42
bruno delta 41
farah alpha 102
lina beta 31
| gamma 3
delta 1
alpha 1
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034853-p1 | Tally the records for each unique value in column 2, printing each value alongside its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | lina alpha 32
chen alpha 83
lina alpha 39
bruno delta 107
hana beta 101
gus gamma 102
| alpha 3
delta 1
beta 1
gamma 1
| jules gamma 29
lina gamma 18
chen gamma 42
bruno delta 41
farah alpha 102
lina beta 31
| gamma 3
delta 1
alpha 1
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034853 | qwen/qwen3.7-plus |
awkweave-0034854 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | chen alpha 20
farah alpha 4
jules delta 5
kim gamma 23
bruno beta 20
bruno gamma 15
kim delta 15
dina alpha 19
| alpha 43
delta 20
gamma 38
beta 20
| lina alpha 20
eli gamma 3
lina beta 26
kim alpha 28
farah gamma 17
ivan gamma 26
lina beta 6
| alpha 48
gamma 46
beta 32
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034854-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying the results in the order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | chen alpha 20
farah alpha 4
jules delta 5
kim gamma 23
bruno beta 20
bruno gamma 15
kim delta 15
dina alpha 19
| alpha 43
delta 20
gamma 38
beta 20
| lina alpha 20
eli gamma 3
lina beta 26
kim alpha 28
farah gamma 17
ivan gamma 26
lina beta 6
| alpha 48
gamma 46
beta 32
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034854 | qwen/qwen3.7-plus |
awkweave-0034855 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha indigo 92
delta indigo 45
alpha juniper 90
delta delta 119
beta harbor 32
alpha ember 102
beta cobalt 108
alpha amber 27
alpha juniper 49
delta cobalt 9
| alpha 5
delta 3
beta 2
| alpha fable 20
alpha ember 45
beta cobalt 103
gamma grove 96
beta delta 43
beta ember 9
alpha ember 4
| alpha 3
beta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034855-p1 | List each duplicate value from column 1 along with its occurrence count, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha indigo 92
delta indigo 45
alpha juniper 90
delta delta 119
beta harbor 32
alpha ember 102
beta cobalt 108
alpha amber 27
alpha juniper 49
delta cobalt 9
| alpha 5
delta 3
beta 2
| alpha fable 20
alpha ember 45
beta cobalt 103
gamma grove 96
beta delta 43
beta ember 9
alpha ember 4
| alpha 3
beta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034855 | qwen/qwen3.7-plus |
awkweave-0034856 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | state note region display_name
r001 ivan 24 closed
r002 alice 14 closed
r003 chen 24 pending
r004 hana 17 pending
r005 alice 21 ready
r006 gus 22 paused
r007 gus 7 failed
r008 farah 16 closed
r009 gus 9 failed
r010 alice 23 closed
| ivan
alice
chen
hana
alice
gus
gus
farah
gus
alice
| state note region display_name
r001 alice 7 closed
r002 alice 12 active
r003 chen 1 paused
r004 bruno 21 pending
r005 lina 29 active
r006 ivan 17 pending
r007 hana 13 active
r008 kim 6 closed
| alice
alice
chen
bruno
lina
ivan
hana
kim
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034856-p1 | Treating the first row as a header, output the note column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | state note region display_name
r001 ivan 24 closed
r002 alice 14 closed
r003 chen 24 pending
r004 hana 17 pending
r005 alice 21 ready
r006 gus 22 paused
r007 gus 7 failed
r008 farah 16 closed
r009 gus 9 failed
r010 alice 23 closed
| ivan
alice
chen
hana
alice
gus
gus
farah
gus
alice
| state note region display_name
r001 alice 7 closed
r002 alice 12 active
r003 chen 1 paused
r004 bruno 21 pending
r005 lina 29 active
r006 ivan 17 pending
r007 hana 13 active
r008 kim 6 closed
| alice
alice
chen
bruno
lina
ivan
hana
kim
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034856 | qwen/qwen3.7-plus |
awkweave-0034857 | The first row is a header. Print display_name for data rows whose score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 ivan 2 pending
r002 alice 23 ready
r003 eli 15 pending
r004 dina 11 pending
r005 hana 25 active
r006 hana 20 paused
r007 kim 23 ready
r008 lina 24 failed
| alice
hana
kim
lina
| record_id display_name score state
r001 eli 3 paused
r002 jules 1 closed
r003 jules 29 paused
r004 bruno 18 closed
r005 gus 13 ready
r006 kim 2 closed
r007 dina 1 pending
r008 jules 20 paused
r009 farah 18 failed
| jules
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034857-p1 | With the first row as a header, print the display_name for data rows where the score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 ivan 2 pending
r002 alice 23 ready
r003 eli 15 pending
r004 dina 11 pending
r005 hana 25 active
r006 hana 20 paused
r007 kim 23 ready
r008 lina 24 failed
| alice
hana
kim
lina
| record_id display_name score state
r001 eli 3 paused
r002 jules 1 closed
r003 jules 29 paused
r004 bruno 18 closed
r005 gus 13 ready
r006 kim 2 closed
r007 dina 1 pending
r008 jules 20 paused
r009 farah 18 failed
| jules
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034857 | qwen/qwen3.7-plus |
awkweave-0034858 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | ivan 27 paused
dina 15 closed
bruno 27 active
jules 21 failed
eli 6 ready
gus 15 active
farah 17 paused
lina 11 failed
| ivan
dina
bruno
jules
eli
gus
farah
lina
| chen 9 pending
kim 27 paused
alice 3 active
dina 9 paused
farah 9 active
hana 6 pending
lina 12 failed
kim 10 paused
bruno 1 paused
bruno 20 pending
| chen
kim
alice
dina
farah
hana
lina
kim
bruno
bruno
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034858-p1 | Given tab-separated input, extract and print the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | ivan 27 paused
dina 15 closed
bruno 27 active
jules 21 failed
eli 6 ready
gus 15 active
farah 17 paused
lina 11 failed
| ivan
dina
bruno
jules
eli
gus
farah
lina
| chen 9 pending
kim 27 paused
alice 3 active
dina 9 paused
farah 9 active
hana 6 pending
lina 12 failed
kim 10 paused
bruno 1 paused
bruno 20 pending
| chen
kim
alice
dina
farah
hana
lina
kim
bruno
bruno
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034858 | qwen/qwen3.7-plus |
awkweave-0034859 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | jules,8,pending
bruno,12,active
dina,6,active
ivan,9,ready
jules,25,closed
ivan,20,paused
eli,1,active
farah,30,closed
lina,3,closed
| jules
ivan
farah
| dina,9,closed
jules,13,failed
hana,12,active
dina,16,ready
kim,20,closed
farah,17,active
bruno,11,ready
| dina
kim
farah
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034859-p1 | For simple comma-separated data without quoted commas, print column 1 whenever column 2 is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | jules,8,pending
bruno,12,active
dina,6,active
ivan,9,ready
jules,25,closed
ivan,20,paused
eli,1,active
farah,30,closed
lina,3,closed
| jules
ivan
farah
| dina,9,closed
jules,13,failed
hana,12,active
dina,16,ready
kim,20,closed
farah,17,active
bruno,11,ready
| dina
kim
farah
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034859 | qwen/qwen3.7-plus |
awkweave-0034860 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | dina amber 22
hana ember 85
lina fable 38
alice harbor 80
eli harbor 15
farah grove 61
| dina amber 22
hana ember 85
lina fable 38
alice harbor 80
eli harbor 15
farah grove 61
| ivan fable 49
gus ember 43
lina ember 1
hana ember 112
kim amber 62
kim harbor 17
hana indigo 75
bruno harbor 59
| ivan fable 49
gus ember 43
lina ember 1
hana ember 112
kim amber 62
kim harbor 17
hana indigo 75
bruno harbor 59
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034860-p1 | Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | dina amber 22
hana ember 85
lina fable 38
alice harbor 80
eli harbor 15
farah grove 61
| dina amber 22
hana ember 85
lina fable 38
alice harbor 80
eli harbor 15
farah grove 61
| ivan fable 49
gus ember 43
lina ember 1
hana ember 112
kim amber 62
kim harbor 17
hana indigo 75
bruno harbor 59
| ivan fable 49
gus ember 43
lina ember 1
hana ember 112
kim amber 62
kim harbor 17
hana indigo 75
bruno harbor 59
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034860 | qwen/qwen3.7-plus |
awkweave-0034861 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 118 pending
gus birch 93 failed
lina juniper 45 paused
eli amber 57 paused
chen ember 61 ready
lina indigo 29 closed
| hana ember 118 pending
| eli harbor 47 ready
hana grove 111 pending
ivan amber 103 closed
hana indigo 32 paused
gus birch 83 ready
ivan indigo 120 active
dina fable 30 paused
| hana grove 111 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034861-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 118 pending
gus birch 93 failed
lina juniper 45 paused
eli amber 57 paused
chen ember 61 ready
lina indigo 29 closed
| hana ember 118 pending
| eli harbor 47 ready
hana grove 111 pending
ivan amber 103 closed
hana indigo 32 paused
gus birch 83 ready
ivan indigo 120 active
dina fable 30 paused
| hana grove 111 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034861 | qwen/qwen3.7-plus |
awkweave-0034862 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | dina 116
chen 65
hana 100
chen 104
ivan 98
bruno 29
lina 104
farah 52
ivan 108
hana 25
| hana 100
bruno 29
ivan 108
| gus 14
chen 104
chen 62
lina 2
gus 21
chen 35
| chen 62
chen 35
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034862-p1 | Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | dina 116
chen 65
hana 100
chen 104
ivan 98
bruno 29
lina 104
farah 52
ivan 108
hana 25
| hana 100
bruno 29
ivan 108
| gus 14
chen 104
chen 62
lina 2
gus 21
chen 35
| chen 62
chen 35
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034862 | qwen/qwen3.7-plus |
awkweave-0034863 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 6
gamma amber 103
gamma birch 114
gamma indigo 118
gamma grove 25
alpha birch 87
alpha indigo 83
alpha harbor 16
delta harbor 90
delta juniper 17
| 6
| gamma harbor 69
gamma cobalt 27
alpha cobalt 81
delta juniper 53
delta delta 49
beta amber 49
alpha fable 58
beta delta 81
alpha ember 38
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034863-p1 | Calculate the number of unique values present in the second column and display only that total count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 6
gamma amber 103
gamma birch 114
gamma indigo 118
gamma grove 25
alpha birch 87
alpha indigo 83
alpha harbor 16
delta harbor 90
delta juniper 17
| 6
| gamma harbor 69
gamma cobalt 27
alpha cobalt 81
delta juniper 53
delta delta 49
beta amber 49
alpha fable 58
beta delta 81
alpha ember 38
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034863 | qwen/qwen3.7-plus |
awkweave-0034864 | 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} | bruno 19 0
hana 19 23
alice 19 4
lina 6 25
alice 28 16
dina 14 11
| hana 0.83
alice 4.75
lina 0.24
alice 1.75
dina 1.27
| dina 7 0
gus 30 26
farah 14 21
chen 14 20
farah 8 26
kim 18 13
gus 18 30
gus 10 15
chen 28 21
chen 24 23
| gus 1.15
farah 0.67
chen 0.70
farah 0.31
kim 1.38
gus 0.60
gus 0.67
chen 1.33
chen 1.04
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034864-p1 | For each row where the third column is not zero, output the first column followed by the result of dividing the second column by the third column, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 19 0
hana 19 23
alice 19 4
lina 6 25
alice 28 16
dina 14 11
| hana 0.83
alice 4.75
lina 0.24
alice 1.75
dina 1.27
| dina 7 0
gus 30 26
farah 14 21
chen 14 20
farah 8 26
kim 18 13
gus 18 30
gus 10 15
chen 28 21
chen 24 23
| gus 1.15
farah 0.67
chen 0.70
farah 0.31
kim 1.38
gus 0.60
gus 0.67
chen 1.33
chen 1.04
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034864 | qwen/qwen3.7-plus |
awkweave-0034865 | 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]} | gus fable 6
dina cobalt 17
hana birch 27
chen delta 17
kim amber 11
eli delta 30
gus ember 8
| eli delta 30
hana birch 27
dina cobalt 17
| alice juniper 27
eli delta 11
dina cobalt 13
lina delta 30
chen harbor 24
bruno indigo 21
chen juniper 23
| lina delta 30
alice juniper 27
chen harbor 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034865-p1 | Display the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus fable 6
dina cobalt 17
hana birch 27
chen delta 17
kim amber 11
eli delta 30
gus ember 8
| eli delta 30
hana birch 27
dina cobalt 17
| alice juniper 27
eli delta 11
dina cobalt 13
lina delta 30
chen harbor 24
bruno indigo 21
chen juniper 23
| lina delta 30
alice juniper 27
chen harbor 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034865 | qwen/qwen3.7-plus |
awkweave-0034866 | Select the 6th and 1st fields in that order. | {print $6, $1} | delta pending paused 96 pending delta
delta pending ready 8 pending delta
fable paused ready 2 active harbor
delta pending ready 73 ready birch
fable failed pending 21 pending ember
amber paused ready 62 failed indigo
indigo ready closed 15 active grove
| delta delta
delta delta
harbor fable
birch delta
ember fable
indigo amber
grove indigo
| cobalt paused closed 48 ready delta
amber closed pending 58 paused fable
juniper pending paused 30 pending juniper
birch failed paused 18 ready delta
amber pending active 72 pending juniper
indigo failed failed 41 paused juniper
fable failed pending 5 closed cobalt
| delta cobalt
fable amber
juniper juniper
delta birch
juniper amber
juniper indigo
cobalt fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034866-p1 | Extract and print the 6th field followed by the 1st field for each record. | {print $6, $1} | delta pending paused 96 pending delta
delta pending ready 8 pending delta
fable paused ready 2 active harbor
delta pending ready 73 ready birch
fable failed pending 21 pending ember
amber paused ready 62 failed indigo
indigo ready closed 15 active grove
| delta delta
delta delta
harbor fable
birch delta
ember fable
indigo amber
grove indigo
| cobalt paused closed 48 ready delta
amber closed pending 58 paused fable
juniper pending paused 30 pending juniper
birch failed paused 18 ready delta
amber pending active 72 pending juniper
indigo failed failed 41 paused juniper
fable failed pending 5 closed cobalt
| delta cobalt
fable amber
juniper juniper
delta birch
juniper amber
juniper indigo
cobalt fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034866 | qwen/qwen3.7-plus |
awkweave-0034867 | Print the last field of every input line. | {print $NF} | 74 111 farah lina failed juniper
117 65 eli chen ready juniper
42 115 ivan lina pending delta
90 74 eli jules paused harbor
102 120 dina bruno paused indigo
20 83 kim ivan closed cobalt
71 69 jules kim ready grove
60 80 jules alice closed amber
114 57 hana alice active indigo
92 75 ivan chen pending cobalt
| juniper
juniper
delta
harbor
indigo
cobalt
grove
amber
indigo
cobalt
| 111 45 gus lina failed cobalt
33 115 dina alice pending delta
21 28 bruno gus failed harbor
13 77 chen gus ready ember
116 107 bruno hana ready indigo
75 14 lina hana active ember
| cobalt
delta
harbor
ember
indigo
ember
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034867-p1 | Output the final field from every line in the input. | {print $NF} | 74 111 farah lina failed juniper
117 65 eli chen ready juniper
42 115 ivan lina pending delta
90 74 eli jules paused harbor
102 120 dina bruno paused indigo
20 83 kim ivan closed cobalt
71 69 jules kim ready grove
60 80 jules alice closed amber
114 57 hana alice active indigo
92 75 ivan chen pending cobalt
| juniper
juniper
delta
harbor
indigo
cobalt
grove
amber
indigo
cobalt
| 111 45 gus lina failed cobalt
33 115 dina alice pending delta
21 28 bruno gus failed harbor
13 77 chen gus ready ember
116 107 bruno hana ready indigo
75 14 lina hana active ember
| cobalt
delta
harbor
ember
indigo
ember
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034867 | qwen/qwen3.7-plus |
awkweave-0034868 | Print the complete records where column 1 is greater than 79. | $1 > 79 | 28 closed paused
109 pending pending
10 active ready
27 failed closed
27 closed failed
108 paused active
81 closed ready
21 ready closed
11 pending paused
2 pending ready
| 109 pending pending
108 paused active
81 closed ready
| 67 failed ready
104 active ready
70 paused pending
87 ready paused
58 ready ready
18 active active
72 pending ready
29 paused ready
| 104 active ready
87 ready paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034868-p1 | Print the entire record for any row where the value in column 1 exceeds 79. | $1 > 79 | 28 closed paused
109 pending pending
10 active ready
27 failed closed
27 closed failed
108 paused active
81 closed ready
21 ready closed
11 pending paused
2 pending ready
| 109 pending pending
108 paused active
81 closed ready
| 67 failed ready
104 active ready
70 paused pending
87 ready paused
58 ready ready
18 active active
72 pending ready
29 paused ready
| 104 active ready
87 ready paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034868 | qwen/qwen3.7-plus |
awkweave-0034869 | Show whole lines whose 1st field is between 10 and 28, inclusive. | $1 >= 10 && $1 <= 28 | 15 ivan paused indigo
10 farah pending indigo
23 hana failed cobalt
25 gus paused harbor
18 jules failed grove
1 jules paused birch
24 hana pending delta
26 bruno active amber
| 15 ivan paused indigo
10 farah pending indigo
23 hana failed cobalt
25 gus paused harbor
18 jules failed grove
24 hana pending delta
26 bruno active amber
| 19 bruno closed juniper
29 farah paused harbor
1 kim ready amber
2 lina ready juniper
13 hana failed harbor
11 ivan active fable
27 lina failed ember
| 19 bruno closed juniper
13 hana failed harbor
11 ivan active fable
27 lina failed ember
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034869-p1 | Display complete lines where the first field has a value between 10 and 28, inclusive. | $1 >= 10 && $1 <= 28 | 15 ivan paused indigo
10 farah pending indigo
23 hana failed cobalt
25 gus paused harbor
18 jules failed grove
1 jules paused birch
24 hana pending delta
26 bruno active amber
| 15 ivan paused indigo
10 farah pending indigo
23 hana failed cobalt
25 gus paused harbor
18 jules failed grove
24 hana pending delta
26 bruno active amber
| 19 bruno closed juniper
29 farah paused harbor
1 kim ready amber
2 lina ready juniper
13 hana failed harbor
11 ivan active fable
27 lina failed ember
| 19 bruno closed juniper
13 hana failed harbor
11 ivan active fable
27 lina failed ember
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034869 | qwen/qwen3.7-plus |
awkweave-0034870 | Print column 2 only for rows where column 4 is exactly closed. | $4 == "closed"{print $2} | 71 jules delta closed
112 bruno amber closed
94 chen grove closed
92 ivan birch closed
15 jules indigo active
6 kim amber closed
103 dina grove paused
24 lina birch failed
83 farah indigo active
64 dina amber active
| jules
bruno
chen
ivan
kim
| 98 farah cobalt paused
14 eli ember failed
115 jules delta ready
102 bruno cobalt ready
80 chen delta active
15 dina ember closed
82 alice fable active
52 eli cobalt pending
| dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034870-p1 | Output only the second column for rows where the fourth column contains the exact value 'closed'. | $4 == "closed"{print $2} | 71 jules delta closed
112 bruno amber closed
94 chen grove closed
92 ivan birch closed
15 jules indigo active
6 kim amber closed
103 dina grove paused
24 lina birch failed
83 farah indigo active
64 dina amber active
| jules
bruno
chen
ivan
kim
| 98 farah cobalt paused
14 eli ember failed
115 jules delta ready
102 bruno cobalt ready
80 chen delta active
15 dina ember closed
82 alice fable active
52 eli cobalt pending
| dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034870 | qwen/qwen3.7-plus |
awkweave-0034871 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | amber 73 ERROR
amber 60 ERROR
amber 9 DEBUG
delta 107 INFO
juniper 72 DEBUG
indigo 109 ERROR
juniper 75 WARN
| amber 73 ERROR
amber 60 ERROR
indigo 109 ERROR
| fable 71 WARN
fable 23 WARN
fable 51 INFO
indigo 93 WARN
harbor 2 INFO
indigo 117 WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0034871-p1 | Print all fields from any line where the third field starts with the string 'ERROR'. | $3 ~ /^ERROR/ | amber 73 ERROR
amber 60 ERROR
amber 9 DEBUG
delta 107 INFO
juniper 72 DEBUG
indigo 109 ERROR
juniper 75 WARN
| amber 73 ERROR
amber 60 ERROR
indigo 109 ERROR
| fable 71 WARN
fable 23 WARN
fable 51 INFO
indigo 93 WARN
harbor 2 INFO
indigo 117 WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034871 | qwen/qwen3.7-plus | |
awkweave-0034872 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | ember 34 pending
indigo 21 paused
indigo 102 closed
harbor 112 pending
fable 11 paused
indigo 75 active
amber 96 closed
fable 65 active
ember 999 active
| indigo 21 paused
indigo 102 closed
harbor 112 pending
fable 11 paused
indigo 75 active
amber 96 closed
fable 65 active
| delta 20 failed
birch 10 failed
birch 111 active
harbor 25 ready
amber 63 active
ember 100 active
fable 84 closed
ember 999 active
| delta 20 failed
birch 10 failed
birch 111 active
harbor 25 ready
amber 63 active
fable 84 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034872-p1 | Display all lines that do not contain the exact string ember. | $0 !~ /ember/ | ember 34 pending
indigo 21 paused
indigo 102 closed
harbor 112 pending
fable 11 paused
indigo 75 active
amber 96 closed
fable 65 active
ember 999 active
| indigo 21 paused
indigo 102 closed
harbor 112 pending
fable 11 paused
indigo 75 active
amber 96 closed
fable 65 active
| delta 20 failed
birch 10 failed
birch 111 active
harbor 25 ready
amber 63 active
ember 100 active
fable 84 closed
ember 999 active
| delta 20 failed
birch 10 failed
birch 111 active
harbor 25 ready
amber 63 active
fable 84 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034872 | qwen/qwen3.7-plus |
awkweave-0034873 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | hana amber 73
chen birch 110
jules grove 32
farah grove 27
ivan delta 91
alice juniper 118
alice grove 102
| farah grove 27
ivan delta 91
| farah cobalt 107
lina birch 32
gus amber 94
eli birch 30
dina delta 5
eli grove 33
dina cobalt 22
| eli birch 30
dina delta 5
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034873-p1 | Output lines 4 to 5, inclusive of both line numbers. | NR >= 4 && NR <= 5 | hana amber 73
chen birch 110
jules grove 32
farah grove 27
ivan delta 91
alice juniper 118
alice grove 102
| farah grove 27
ivan delta 91
| farah cobalt 107
lina birch 32
gus amber 94
eli birch 30
dina delta 5
eli grove 33
dina cobalt 22
| eli birch 30
dina delta 5
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034873 | qwen/qwen3.7-plus |
awkweave-0034874 | Output only the first 5 records. | NR <= 5 | farah 2 harbor
gus 78 fable
ivan 28 juniper
ivan 34 juniper
hana 12 indigo
lina 89 indigo
chen 92 juniper
jules 63 fable
farah 4 harbor
| farah 2 harbor
gus 78 fable
ivan 28 juniper
ivan 34 juniper
hana 12 indigo
| ivan 73 juniper
bruno 64 grove
bruno 91 cobalt
farah 105 indigo
eli 93 harbor
lina 44 delta
| ivan 73 juniper
bruno 64 grove
bruno 91 cobalt
farah 105 indigo
eli 93 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034874-p1 | Show only the initial 5 records from the input. | NR <= 5 | farah 2 harbor
gus 78 fable
ivan 28 juniper
ivan 34 juniper
hana 12 indigo
lina 89 indigo
chen 92 juniper
jules 63 fable
farah 4 harbor
| farah 2 harbor
gus 78 fable
ivan 28 juniper
ivan 34 juniper
hana 12 indigo
| ivan 73 juniper
bruno 64 grove
bruno 91 cobalt
farah 105 indigo
eli 93 harbor
lina 44 delta
| ivan 73 juniper
bruno 64 grove
bruno 91 cobalt
farah 105 indigo
eli 93 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034874 | qwen/qwen3.7-plus |
awkweave-0034875 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 2 fable
chen 73 ember
eli 18 harbor
alice 88 indigo
lina 29 amber
ivan 79 amber
farah 70 harbor
jules 75 indigo
chen 61 grove
| chen 73 ember
eli 18 harbor
alice 88 indigo
lina 29 amber
ivan 79 amber
farah 70 harbor
jules 75 indigo
chen 61 grove
| gus 40 birch
ivan 14 ember
ivan 28 delta
eli 5 harbor
bruno 54 delta
gus 3 harbor
hana 50 grove
gus 120 cobalt
| ivan 14 ember
ivan 28 delta
eli 5 harbor
bruno 54 delta
gus 3 harbor
hana 50 grove
gus 120 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034875-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | gus 2 fable
chen 73 ember
eli 18 harbor
alice 88 indigo
lina 29 amber
ivan 79 amber
farah 70 harbor
jules 75 indigo
chen 61 grove
| chen 73 ember
eli 18 harbor
alice 88 indigo
lina 29 amber
ivan 79 amber
farah 70 harbor
jules 75 indigo
chen 61 grove
| gus 40 birch
ivan 14 ember
ivan 28 delta
eli 5 harbor
bruno 54 delta
gus 3 harbor
hana 50 grove
gus 120 cobalt
| ivan 14 ember
ivan 28 delta
eli 5 harbor
bruno 54 delta
gus 3 harbor
hana 50 grove
gus 120 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034875 | qwen/qwen3.7-plus |
awkweave-0034876 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | chen pending 44
eli paused 106
dina active 100
dina paused 25
bruno pending 105
eli ready 0
jules active 103
| 2
| dina failed 19
ivan closed 73
hana pending 91
jules active 101
alice failed 45
chen active 91
dina pending 57
lina active 55
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034876-p1 | Tally the number of records where column 2 is paused, printing 0 if the count is zero. | $2 == "paused"{n++}END{print n+0} | chen pending 44
eli paused 106
dina active 100
dina paused 25
bruno pending 105
eli ready 0
jules active 103
| 2
| dina failed 19
ivan closed 73
hana pending 91
jules active 101
alice failed 45
chen active 91
dina pending 57
lina active 55
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034876 | qwen/qwen3.7-plus |
awkweave-0034877 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | gus 28 amber
kim 27 juniper
hana 15 ember
gus 10 delta
dina 18 fable
eli 1 cobalt
chen 24 juniper
| 123
| alice 19 cobalt
kim 21 indigo
bruno 3 juniper
ivan 7 birch
dina 15 birch
ivan 14 fable
jules 27 delta
hana 28 harbor
gus 26 ember
chen 16 delta
| 176
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034877-p1 | Compute and display the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | gus 28 amber
kim 27 juniper
hana 15 ember
gus 10 delta
dina 18 fable
eli 1 cobalt
chen 24 juniper
| 123
| alice 19 cobalt
kim 21 indigo
bruno 3 juniper
ivan 7 birch
dina 15 birch
ivan 14 fable
jules 27 delta
hana 28 harbor
gus 26 ember
chen 16 delta
| 176
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034877 | qwen/qwen3.7-plus |
awkweave-0034878 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 10 alice
juniper 8 kim
birch 7 jules
delta 7 hana
birch 26 dina
fable 26 jules
grove 23 jules
juniper 23 dina
amber 24 jules
| 17.11
| indigo 29 lina
grove 13 alice
amber 5 ivan
indigo 18 alice
birch 9 bruno
grove 18 lina
| 15.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034878-p1 | Calculate the average of column 2 and format the result to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 10 alice
juniper 8 kim
birch 7 jules
delta 7 hana
birch 26 dina
fable 26 jules
grove 23 jules
juniper 23 dina
amber 24 jules
| 17.11
| indigo 29 lina
grove 13 alice
amber 5 ivan
indigo 18 alice
birch 9 bruno
grove 18 lina
| 15.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034878 | qwen/qwen3.7-plus |
awkweave-0034879 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | birch alice 6
grove alice 18
indigo bruno 17
amber gus 3
grove gus 14
juniper eli 29
harbor ivan 1
birch bruno 3
| 1
| ember lina 7
indigo gus 1
cobalt kim 21
ember farah 12
delta gus 10
grove farah 19
ember alice 13
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034879-p1 | Identify and output the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | birch alice 6
grove alice 18
indigo bruno 17
amber gus 3
grove gus 14
juniper eli 29
harbor ivan 1
birch bruno 3
| 1
| ember lina 7
indigo gus 1
cobalt kim 21
ember farah 12
delta gus 10
grove farah 19
ember alice 13
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034879 | qwen/qwen3.7-plus |
awkweave-0034880 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 17 gus
cobalt 19 hana
delta 11 jules
cobalt 5 gus
juniper 28 lina
harbor 29 jules
delta 12 bruno
amber 9 dina
| 29
| indigo 3 ivan
amber 12 dina
juniper 25 gus
grove 14 dina
grove 26 chen
delta 16 farah
amber 14 hana
ember 30 ivan
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0034880-p1 | Identify and output the maximum numeric value present in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 17 gus
cobalt 19 hana
delta 11 jules
cobalt 5 gus
juniper 28 lina
harbor 29 jules
delta 12 bruno
amber 9 dina
| 29
| indigo 3 ivan
amber 12 dina
juniper 25 gus
grove 14 dina
grove 26 chen
delta 16 farah
amber 14 hana
ember 30 ivan
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0034880 | qwen/qwen3.7-plus |
awkweave-0034881 | Count all input records and print the total. | END{print NR} | kim 14
eli 16
jules 92
dina 25
bruno 114
ivan 65
| 6
| chen 74
gus 35
lina 120
eli 31
chen 3
alice 102
alice 81
farah 64
dina 19
jules 51
| 10
| 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.