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-0056163 | Show whole lines whose 3rd field is between 5 and 19, inclusive. | $3 >= 5 && $3 <= 19 | eli eli 12 cobalt
farah dina 25 harbor
ivan dina 26 birch
ivan alice 30 indigo
hana kim 9 cobalt
kim lina 21 harbor
alice gus 29 amber
alice farah 7 birch
| eli eli 12 cobalt
hana kim 9 cobalt
alice farah 7 birch
| chen eli 12 ember
ivan dina 22 delta
farah farah 15 fable
eli jules 19 ember
dina ivan 4 harbor
ivan eli 5 harbor
kim ivan 3 harbor
| chen eli 12 ember
farah farah 15 fable
eli jules 19 ember
ivan eli 5 harbor
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056163-p1 | Display complete lines where the third field has a value between 5 and 19, inclusive. | $3 >= 5 && $3 <= 19 | eli eli 12 cobalt
farah dina 25 harbor
ivan dina 26 birch
ivan alice 30 indigo
hana kim 9 cobalt
kim lina 21 harbor
alice gus 29 amber
alice farah 7 birch
| eli eli 12 cobalt
hana kim 9 cobalt
alice farah 7 birch
| chen eli 12 ember
ivan dina 22 delta
farah farah 15 fable
eli jules 19 ember
dina ivan 4 harbor
ivan eli 5 harbor
kim ivan 3 harbor
| chen eli 12 ember
farah farah 15 fable
eli jules 19 ember
ivan eli 5 harbor
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056163 | qwen/qwen3.7-plus |
awkweave-0056164 | Print column 3 only for rows where column 2 is exactly failed. | $2 == "failed"{print $3} | amber active jules 43
grove pending kim 92
fable active hana 7
harbor ready eli 46
amber failed dina 67
grove active dina 95
amber closed ivan 116
birch active chen 44
juniper pending hana 65
| dina
| grove active lina 86
ember failed ivan 36
birch active farah 10
cobalt failed farah 83
delta pending farah 82
harbor active bruno 105
| ivan
farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056164-p1 | Output only the third column for rows where the second column contains exactly the word failed. | $2 == "failed"{print $3} | amber active jules 43
grove pending kim 92
fable active hana 7
harbor ready eli 46
amber failed dina 67
grove active dina 95
amber closed ivan 116
birch active chen 44
juniper pending hana 65
| dina
| grove active lina 86
ember failed ivan 36
birch active farah 10
cobalt failed farah 83
delta pending farah 82
harbor active bruno 105
| ivan
farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056164 | qwen/qwen3.7-plus |
awkweave-0056165 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | 2 delta DEBUG
81 fable INFO
96 juniper ERROR
40 grove ERROR
56 juniper INFO
92 juniper DEBUG
53 cobalt DEBUG
3 grove WARN
| 96 juniper ERROR
40 grove ERROR
| 35 amber WARN
6 indigo WARN
111 indigo ERROR
44 cobalt WARN
105 juniper INFO
118 juniper ERROR
11 indigo ERROR
119 cobalt INFO
9 ember INFO
5 fable WARN
| 111 indigo ERROR
118 juniper ERROR
11 indigo ERROR
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056165-p1 | Print all fields from any line where the third field starts with the string ERROR. | $3 ~ /^ERROR/ | 2 delta DEBUG
81 fable INFO
96 juniper ERROR
40 grove ERROR
56 juniper INFO
92 juniper DEBUG
53 cobalt DEBUG
3 grove WARN
| 96 juniper ERROR
40 grove ERROR
| 35 amber WARN
6 indigo WARN
111 indigo ERROR
44 cobalt WARN
105 juniper INFO
118 juniper ERROR
11 indigo ERROR
119 cobalt INFO
9 ember INFO
5 fable WARN
| 111 indigo ERROR
118 juniper ERROR
11 indigo ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056165 | qwen/qwen3.7-plus |
awkweave-0056166 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | indigo 111 closed
amber 87 failed
amber 98 failed
grove 119 paused
juniper 59 active
delta 65 active
amber 35 paused
amber 999 active
| indigo 111 closed
grove 119 paused
juniper 59 active
delta 65 active
| fable 95 failed
harbor 47 closed
harbor 96 pending
harbor 39 active
ember 68 failed
grove 19 paused
amber 999 active
| fable 95 failed
harbor 47 closed
harbor 96 pending
harbor 39 active
ember 68 failed
grove 19 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056166-p1 | Display all lines that do not contain the exact string amber. | $0 !~ /amber/ | indigo 111 closed
amber 87 failed
amber 98 failed
grove 119 paused
juniper 59 active
delta 65 active
amber 35 paused
amber 999 active
| indigo 111 closed
grove 119 paused
juniper 59 active
delta 65 active
| fable 95 failed
harbor 47 closed
harbor 96 pending
harbor 39 active
ember 68 failed
grove 19 paused
amber 999 active
| fable 95 failed
harbor 47 closed
harbor 96 pending
harbor 39 active
ember 68 failed
grove 19 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056166 | qwen/qwen3.7-plus |
awkweave-0056167 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | bruno juniper 6
alice juniper 46
jules ember 32
lina indigo 13
eli indigo 67
dina harbor 112
dina amber 42
ivan ember 70
kim indigo 60
farah juniper 94
| jules ember 32
lina indigo 13
eli indigo 67
| chen birch 11
ivan amber 113
lina juniper 10
jules birch 95
eli juniper 28
ivan indigo 17
bruno fable 106
chen indigo 16
| lina juniper 10
jules birch 95
eli juniper 28
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056167-p1 | Output lines 3 to 5, inclusive of both ends. | NR >= 3 && NR <= 5 | bruno juniper 6
alice juniper 46
jules ember 32
lina indigo 13
eli indigo 67
dina harbor 112
dina amber 42
ivan ember 70
kim indigo 60
farah juniper 94
| jules ember 32
lina indigo 13
eli indigo 67
| chen birch 11
ivan amber 113
lina juniper 10
jules birch 95
eli juniper 28
ivan indigo 17
bruno fable 106
chen indigo 16
| lina juniper 10
jules birch 95
eli juniper 28
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056167 | qwen/qwen3.7-plus |
awkweave-0056168 | Output only the first 4 records. | NR <= 4 | ivan 13 cobalt
jules 39 birch
jules 21 fable
eli 27 grove
kim 38 juniper
lina 114 harbor
chen 110 delta
farah 83 grove
| ivan 13 cobalt
jules 39 birch
jules 21 fable
eli 27 grove
| kim 111 amber
lina 76 grove
kim 53 grove
farah 40 ember
chen 100 delta
lina 109 fable
kim 91 harbor
chen 44 indigo
farah 33 indigo
hana 103 harbor
| kim 111 amber
lina 76 grove
kim 53 grove
farah 40 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056168-p1 | Show only the initial 4 records. | NR <= 4 | ivan 13 cobalt
jules 39 birch
jules 21 fable
eli 27 grove
kim 38 juniper
lina 114 harbor
chen 110 delta
farah 83 grove
| ivan 13 cobalt
jules 39 birch
jules 21 fable
eli 27 grove
| kim 111 amber
lina 76 grove
kim 53 grove
farah 40 ember
chen 100 delta
lina 109 fable
kim 91 harbor
chen 44 indigo
farah 33 indigo
hana 103 harbor
| kim 111 amber
lina 76 grove
kim 53 grove
farah 40 ember
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056168 | qwen/qwen3.7-plus |
awkweave-0056169 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 97 juniper
lina 86 delta
eli 16 birch
hana 55 delta
gus 21 amber
eli 29 indigo
bruno 64 delta
| lina 86 delta
eli 16 birch
hana 55 delta
gus 21 amber
eli 29 indigo
bruno 64 delta
| kim 13 delta
chen 87 amber
alice 88 birch
gus 79 harbor
hana 61 indigo
chen 69 harbor
| chen 87 amber
alice 88 birch
gus 79 harbor
hana 61 indigo
chen 69 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056169-p1 | Omit the first line and print the rest as they are. | NR > 1 | hana 97 juniper
lina 86 delta
eli 16 birch
hana 55 delta
gus 21 amber
eli 29 indigo
bruno 64 delta
| lina 86 delta
eli 16 birch
hana 55 delta
gus 21 amber
eli 29 indigo
bruno 64 delta
| kim 13 delta
chen 87 amber
alice 88 birch
gus 79 harbor
hana 61 indigo
chen 69 harbor
| chen 87 amber
alice 88 birch
gus 79 harbor
hana 61 indigo
chen 69 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056169 | qwen/qwen3.7-plus |
awkweave-0056170 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | farah ready 2
jules closed 86
hana failed 50
lina active 53
lina failed 84
jules paused 10
gus paused 92
alice pending 18
dina active 6
| 1
| alice paused 3
dina paused 78
gus closed 39
hana ready 108
alice paused 112
bruno paused 109
eli pending 72
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056170-p1 | Count records where column 2 is ready; output 0 if the count is zero. | $2 == "ready"{n++}END{print n+0} | farah ready 2
jules closed 86
hana failed 50
lina active 53
lina failed 84
jules paused 10
gus paused 92
alice pending 18
dina active 6
| 1
| alice paused 3
dina paused 78
gus closed 39
hana ready 108
alice paused 112
bruno paused 109
eli pending 72
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056170 | qwen/qwen3.7-plus |
awkweave-0056171 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 8 hana delta
18 eli indigo
28 bruno birch
28 chen grove
17 ivan amber
9 lina cobalt
| 108
| 19 gus ember
29 chen grove
12 gus delta
23 dina delta
7 kim harbor
9 bruno amber
5 ivan harbor
| 104
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056171-p1 | Compute and display the total sum of integers in column 1. | {s+=$1}END{print s+0} | 8 hana delta
18 eli indigo
28 bruno birch
28 chen grove
17 ivan amber
9 lina cobalt
| 108
| 19 gus ember
29 chen grove
12 gus delta
23 dina delta
7 kim harbor
9 bruno amber
5 ivan harbor
| 104
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056171 | qwen/qwen3.7-plus |
awkweave-0056172 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 30 ember chen
17 cobalt jules
11 indigo dina
7 delta hana
30 delta lina
21 cobalt alice
27 birch hana
2 ember farah
18 amber gus
| 18.11
| 10 juniper alice
22 amber gus
21 cobalt alice
3 indigo farah
30 amber eli
8 delta gus
7 amber jules
| 14.43
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056172-p1 | Print the average of column 1, formatted to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 30 ember chen
17 cobalt jules
11 indigo dina
7 delta hana
30 delta lina
21 cobalt alice
27 birch hana
2 ember farah
18 amber gus
| 18.11
| 10 juniper alice
22 amber gus
21 cobalt alice
3 indigo farah
30 amber eli
8 delta gus
7 amber jules
| 14.43
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056172 | qwen/qwen3.7-plus |
awkweave-0056173 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 24 lina grove
16 hana indigo
20 farah amber
15 kim ember
26 dina harbor
30 jules indigo
| 15
| 30 jules birch
20 bruno delta
18 jules fable
24 alice grove
13 alice fable
14 dina juniper
23 bruno juniper
17 farah birch
28 ivan juniper
19 dina cobalt
| 13
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056173-p1 | Identify and output the minimum numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 24 lina grove
16 hana indigo
20 farah amber
15 kim ember
26 dina harbor
30 jules indigo
| 15
| 30 jules birch
20 bruno delta
18 jules fable
24 alice grove
13 alice fable
14 dina juniper
23 bruno juniper
17 farah birch
28 ivan juniper
19 dina cobalt
| 13
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056173 | qwen/qwen3.7-plus |
awkweave-0056174 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 1 indigo
gus 22 birch
kim 2 cobalt
lina 29 birch
dina 11 amber
eli 30 fable
eli 7 amber
eli 10 indigo
| 30
| bruno 13 amber
bruno 17 grove
dina 2 cobalt
dina 2 ember
farah 3 fable
bruno 14 fable
| 17
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056174-p1 | Identify and output the maximum numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 1 indigo
gus 22 birch
kim 2 cobalt
lina 29 birch
dina 11 amber
eli 30 fable
eli 7 amber
eli 10 indigo
| 30
| bruno 13 amber
bruno 17 grove
dina 2 cobalt
dina 2 ember
farah 3 fable
bruno 14 fable
| 17
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056174 | qwen/qwen3.7-plus |
awkweave-0056175 | Count all input records and print the total. | END{print NR} | kim 112
eli 85
gus 54
hana 97
hana 46
bruno 84
| 6
| eli 48
lina 73
alice 48
bruno 98
chen 111
dina 71
gus 111
alice 79
bruno 43
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056175-p1 | Count the total number of input records and print the result. | END{print NR} | kim 112
eli 85
gus 54
hana 97
hana 46
bruno 84
| 6
| eli 48
lina 73
alice 48
bruno 98
chen 111
dina 71
gus 111
alice 79
bruno 43
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056175 | qwen/qwen3.7-plus |
awkweave-0056176 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina ember 115
chen fable 107
gus ember 100
eli fable 99
hana indigo 73
hana birch 1
bruno delta 58
hana ember 86
chen fable 107
alice indigo 117
| lina ember 115
chen fable 107
gus ember 100
eli fable 99
hana indigo 73
hana birch 1
bruno delta 58
hana ember 86
alice indigo 117
| ivan cobalt 116
hana grove 46
bruno grove 92
hana grove 46
hana amber 61
chen harbor 55
alice juniper 38
eli cobalt 115
lina harbor 68
| ivan cobalt 116
hana grove 46
bruno grove 92
hana amber 61
chen harbor 55
alice juniper 38
eli cobalt 115
lina harbor 68
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056176-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | lina ember 115
chen fable 107
gus ember 100
eli fable 99
hana indigo 73
hana birch 1
bruno delta 58
hana ember 86
chen fable 107
alice indigo 117
| lina ember 115
chen fable 107
gus ember 100
eli fable 99
hana indigo 73
hana birch 1
bruno delta 58
hana ember 86
alice indigo 117
| ivan cobalt 116
hana grove 46
bruno grove 92
hana grove 46
hana amber 61
chen harbor 55
alice juniper 38
eli cobalt 115
lina harbor 68
| ivan cobalt 116
hana grove 46
bruno grove 92
hana amber 61
chen harbor 55
alice juniper 38
eli cobalt 115
lina harbor 68
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056176 | qwen/qwen3.7-plus |
awkweave-0056177 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | eli cobalt 50
hana indigo 0
hana delta 92
bruno amber 85
gus birch 109
hana ember 65
ivan harbor 1
hana harbor 12
| eli cobalt 50
hana indigo 0
bruno amber 85
gus birch 109
ivan harbor 1
| chen cobalt 25
jules indigo 62
lina birch 82
gus birch 61
gus ember 63
jules fable 50
kim fable 55
| chen cobalt 25
jules indigo 62
lina birch 82
gus birch 61
kim fable 55
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056177-p1 | Retain only the first line for each unique value in column 1, preserving the input sequence. | !seen[$1]++ | eli cobalt 50
hana indigo 0
hana delta 92
bruno amber 85
gus birch 109
hana ember 65
ivan harbor 1
hana harbor 12
| eli cobalt 50
hana indigo 0
bruno amber 85
gus birch 109
ivan harbor 1
| chen cobalt 25
jules indigo 62
lina birch 82
gus birch 61
gus ember 63
jules fable 50
kim fable 55
| chen cobalt 25
jules indigo 62
lina birch 82
gus birch 61
kim fable 55
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056177 | qwen/qwen3.7-plus |
awkweave-0056178 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 10 birch
chen 8 juniper
chen 24 fable
dina 30 cobalt
kim 15 harbor
jules 7 delta
farah 1 cobalt
| jules 10
chen 18
chen 42
dina 72
kim 87
jules 94
farah 95
| ivan 6 birch
gus 8 birch
chen 3 amber
hana 28 amber
dina 5 grove
ivan 26 delta
ivan 29 birch
| ivan 6
gus 14
chen 17
hana 45
dina 50
ivan 76
ivan 105
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056178-p1 | Output the first column and the cumulative total of the second column for every record, separated by a space. | {s+=$2;print $1,s} | jules 10 birch
chen 8 juniper
chen 24 fable
dina 30 cobalt
kim 15 harbor
jules 7 delta
farah 1 cobalt
| jules 10
chen 18
chen 42
dina 72
kim 87
jules 94
farah 95
| ivan 6 birch
gus 8 birch
chen 3 amber
hana 28 amber
dina 5 grove
ivan 26 delta
ivan 29 birch
| ivan 6
gus 14
chen 17
hana 45
dina 50
ivan 76
ivan 105
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056178 | qwen/qwen3.7-plus |
awkweave-0056179 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 3 26 amber
bruno 25 8 grove
hana 27 23 delta
lina 28 23 delta
eli 3 11 indigo
jules 13 25 ember
kim 1 17 delta
farah 26 21 ember
chen 17 17 birch
| bruno 29
bruno 33
hana 50
lina 51
eli 14
jules 38
kim 18
farah 47
chen 34
| ivan 5 11 birch
alice 17 10 grove
ivan 2 28 juniper
ivan 25 13 juniper
bruno 9 2 fable
ivan 23 1 harbor
hana 19 12 delta
ivan 13 5 harbor
| ivan 16
alice 27
ivan 30
ivan 38
bruno 11
ivan 24
hana 31
ivan 18
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056179-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | bruno 3 26 amber
bruno 25 8 grove
hana 27 23 delta
lina 28 23 delta
eli 3 11 indigo
jules 13 25 ember
kim 1 17 delta
farah 26 21 ember
chen 17 17 birch
| bruno 29
bruno 33
hana 50
lina 51
eli 14
jules 38
kim 18
farah 47
chen 34
| ivan 5 11 birch
alice 17 10 grove
ivan 2 28 juniper
ivan 25 13 juniper
bruno 9 2 fable
ivan 23 1 harbor
hana 19 12 delta
ivan 13 5 harbor
| ivan 16
alice 27
ivan 30
ivan 38
bruno 11
ivan 24
hana 31
ivan 18
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056179 | qwen/qwen3.7-plus |
awkweave-0056180 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | gus 11
chen 26
alice 22
chen 16
chen 8
eli 2
hana 2
bruno 21
bruno 18
ivan 2
| gus fail
chen pass
alice fail
chen fail
chen fail
eli fail
hana fail
bruno fail
bruno fail
ivan fail
| jules 7
kim 16
eli 24
bruno 28
chen 1
dina 27
hana 29
| jules fail
kim fail
eli pass
bruno pass
chen fail
dina pass
hana pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056180-p1 | Display the first column; if the second column is 24 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | gus 11
chen 26
alice 22
chen 16
chen 8
eli 2
hana 2
bruno 21
bruno 18
ivan 2
| gus fail
chen pass
alice fail
chen fail
chen fail
eli fail
hana fail
bruno fail
bruno fail
ivan fail
| jules 7
kim 16
eli 24
bruno 28
chen 1
dina 27
hana 29
| jules fail
kim fail
eli pass
bruno pass
chen fail
dina pass
hana pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056180 | qwen/qwen3.7-plus |
awkweave-0056181 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | bruno ember 80
ivan ember 40
chen indigo 78
chen grove 85
jules harbor 52
eli delta 45
| EMBER
EMBER
INDIGO
GROVE
HARBOR
DELTA
| ivan fable 82
kim delta 5
eli harbor 97
eli amber 27
hana fable 74
eli juniper 112
hana fable 113
| FABLE
DELTA
HARBOR
AMBER
FABLE
JUNIPER
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056181-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | bruno ember 80
ivan ember 40
chen indigo 78
chen grove 85
jules harbor 52
eli delta 45
| EMBER
EMBER
INDIGO
GROVE
HARBOR
DELTA
| ivan fable 82
kim delta 5
eli harbor 97
eli amber 27
hana fable 74
eli juniper 112
hana fable 113
| FABLE
DELTA
HARBOR
AMBER
FABLE
JUNIPER
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056181 | qwen/qwen3.7-plus |
awkweave-0056182 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | delta 19
cobalt 119
indigo 44
ember 58
delta 25
fable 84
cobalt 57
ember 38
cobalt 59
| lt
ba
di
be
lt
bl
ba
be
ba
| ember 70
amber 64
harbor 46
amber 54
birch 59
amber 7
| be
be
rb
be
rc
be
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056182-p1 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | delta 19
cobalt 119
indigo 44
ember 58
delta 25
fable 84
cobalt 57
ember 38
cobalt 59
| lt
ba
di
be
lt
bl
ba
be
ba
| ember 70
amber 64
harbor 46
amber 54
birch 59
amber 7
| be
be
rb
be
rc
be
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0056182 | qwen/qwen3.7-plus |
awkweave-0056183 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_fable 13
birch_birch 78
cobalt_delta 76
juniper_delta 19
amber_fable 114
grove_harbor 46
ember_amber 27
| amber fable
birch birch
cobalt delta
juniper delta
amber fable
grove harbor
ember amber
| indigo_amber 120
indigo_juniper 100
indigo_grove 27
juniper_cobalt 71
fable_birch 51
juniper_birch 87
fable_juniper 19
juniper_juniper 4
harbor_juniper 95
ember_cobalt 88
| indigo amber
indigo juniper
indigo grove
juniper cobalt
fable birch
juniper birch
fable juniper
juniper juniper
harbor juniper
ember cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056183-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | amber_fable 13
birch_birch 78
cobalt_delta 76
juniper_delta 19
amber_fable 114
grove_harbor 46
ember_amber 27
| amber fable
birch birch
cobalt delta
juniper delta
amber fable
grove harbor
ember amber
| indigo_amber 120
indigo_juniper 100
indigo_grove 27
juniper_cobalt 71
fable_birch 51
juniper_birch 87
fable_juniper 19
juniper_juniper 4
harbor_juniper 95
ember_cobalt 88
| indigo amber
indigo juniper
indigo grove
juniper cobalt
fable birch
juniper birch
fable juniper
juniper juniper
harbor juniper
ember cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056183 | qwen/qwen3.7-plus |
awkweave-0056184 | 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)} | chen grove 19 ready
alice juniper 111 active
farah grove 10 failed
bruno fable 17 failed
dina harbor 33 paused
hana harbor 78 active
| ready 19 grove chen
active 111 juniper alice
failed 10 grove farah
failed 17 fable bruno
paused 33 harbor dina
active 78 harbor hana
| kim grove 71 failed
chen juniper 69 failed
jules cobalt 48 ready
bruno delta 108 failed
alice harbor 19 active
dina indigo 84 pending
gus grove 1 failed
farah harbor 47 active
chen amber 114 ready
farah juniper 19 ready
| failed 71 grove kim
failed 69 juniper chen
ready 48 cobalt jules
failed 108 delta bruno
active 19 harbor alice
pending 84 indigo dina
failed 1 grove gus
active 47 harbor farah
ready 114 amber chen
ready 19 juniper farah
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056184-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)} | chen grove 19 ready
alice juniper 111 active
farah grove 10 failed
bruno fable 17 failed
dina harbor 33 paused
hana harbor 78 active
| ready 19 grove chen
active 111 juniper alice
failed 10 grove farah
failed 17 fable bruno
paused 33 harbor dina
active 78 harbor hana
| kim grove 71 failed
chen juniper 69 failed
jules cobalt 48 ready
bruno delta 108 failed
alice harbor 19 active
dina indigo 84 pending
gus grove 1 failed
farah harbor 47 active
chen amber 114 ready
farah juniper 19 ready
| failed 71 grove kim
failed 69 juniper chen
ready 48 cobalt jules
failed 108 delta bruno
active 19 harbor alice
pending 84 indigo dina
failed 1 grove gus
active 47 harbor farah
ready 114 amber chen
ready 19 juniper farah
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056184 | qwen/qwen3.7-plus |
awkweave-0056185 | Print the number of whitespace-separated fields on each line. | {print NF} | chen cobalt 113 pending
kim birch 107 active
dina grove 65 ready
ivan ember 109 paused
gus amber 53 active
eli birch 10 active
eli harbor 74 paused
alice juniper 48 pending
gus birch 76 pending
| 4
4
4
4
4
4
4
4
4
| hana birch 95 pending
hana indigo 65 active
jules cobalt 48 pending
ivan harbor 84 failed
bruno delta 12 failed
ivan fable 48 ready
alice harbor 66 active
dina amber 95 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056185-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | chen cobalt 113 pending
kim birch 107 active
dina grove 65 ready
ivan ember 109 paused
gus amber 53 active
eli birch 10 active
eli harbor 74 paused
alice juniper 48 pending
gus birch 76 pending
| 4
4
4
4
4
4
4
4
4
| hana birch 95 pending
hana indigo 65 active
jules cobalt 48 pending
ivan harbor 84 failed
bruno delta 12 failed
ivan fable 48 ready
alice harbor 66 active
dina amber 95 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056185 | qwen/qwen3.7-plus |
awkweave-0056186 | 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]]} | eli delta 112
gus beta 4
chen alpha 69
farah gamma 113
gus beta 62
ivan delta 10
lina beta 17
kim alpha 12
| delta 2
beta 3
alpha 2
gamma 1
| jules alpha 85
lina alpha 52
ivan beta 64
gus alpha 22
alice delta 110
alice alpha 4
gus delta 54
| alpha 4
beta 1
delta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056186-p1 | Tally the number of records for each unique value in the second column. Output each value and its count, maintaining 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]]} | eli delta 112
gus beta 4
chen alpha 69
farah gamma 113
gus beta 62
ivan delta 10
lina beta 17
kim alpha 12
| delta 2
beta 3
alpha 2
gamma 1
| jules alpha 85
lina alpha 52
ivan beta 64
gus alpha 22
alice delta 110
alice alpha 4
gus delta 54
| alpha 4
beta 1
delta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056186 | qwen/qwen3.7-plus |
awkweave-0056187 | 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]]} | farah beta 16
hana delta 11
farah alpha 14
alice gamma 3
chen gamma 16
hana gamma 10
bruno delta 21
gus beta 27
| beta 43
delta 32
alpha 14
gamma 29
| dina alpha 23
farah gamma 21
gus alpha 2
kim delta 4
gus delta 30
jules gamma 28
| alpha 25
gamma 49
delta 34
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056187-p1 | Calculate the sum of the third column for each group defined by the second column, printing the results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | farah beta 16
hana delta 11
farah alpha 14
alice gamma 3
chen gamma 16
hana gamma 10
bruno delta 21
gus beta 27
| beta 43
delta 32
alpha 14
gamma 29
| dina alpha 23
farah gamma 21
gus alpha 2
kim delta 4
gus delta 30
jules gamma 28
| alpha 25
gamma 49
delta 34
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056187 | qwen/qwen3.7-plus |
awkweave-0056188 | 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 birch 52
alpha ember 40
beta ember 22
alpha indigo 83
delta juniper 4
gamma fable 23
alpha ember 20
beta amber 69
gamma juniper 0
| beta 3
alpha 3
gamma 2
| alpha indigo 116
gamma cobalt 50
delta juniper 14
alpha harbor 86
gamma grove 72
beta birch 58
| alpha 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056188-p1 | List each duplicate value from the first column 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]]} | beta birch 52
alpha ember 40
beta ember 22
alpha indigo 83
delta juniper 4
gamma fable 23
alpha ember 20
beta amber 69
gamma juniper 0
| beta 3
alpha 3
gamma 2
| alpha indigo 116
gamma cobalt 50
delta juniper 14
alpha harbor 86
gamma grove 72
beta birch 58
| alpha 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056188 | qwen/qwen3.7-plus |
awkweave-0056189 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | score note record_id state
r001 chen 22 pending
r002 alice 16 active
r003 eli 10 failed
r004 gus 16 failed
r005 eli 26 pending
r006 ivan 14 paused
r007 chen 6 active
| 22
16
10
16
26
14
6
| score note record_id state
r001 chen 5 closed
r002 lina 2 ready
r003 jules 23 closed
r004 hana 9 active
r005 gus 14 failed
r006 lina 26 ready
| 5
2
23
9
14
26
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056189-p1 | Skip the header row and print the 'record_id' column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | score note record_id state
r001 chen 22 pending
r002 alice 16 active
r003 eli 10 failed
r004 gus 16 failed
r005 eli 26 pending
r006 ivan 14 paused
r007 chen 6 active
| 22
16
10
16
26
14
6
| score note record_id state
r001 chen 5 closed
r002 lina 2 ready
r003 jules 23 closed
r004 hana 9 active
r005 gus 14 failed
r006 lina 26 ready
| 5
2
23
9
14
26
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056189 | qwen/qwen3.7-plus |
awkweave-0056200 | Print the last field of every input line. | {print $NF} | grove 81 hana pending
birch 50 chen pending
delta 35 farah active
ember 33 kim failed
birch 17 chen ready
grove 117 alice paused
fable 45 kim ready
| pending
pending
active
failed
ready
paused
ready
| delta 45 bruno ready
grove 9 gus active
birch 7 eli ready
grove 14 ivan paused
ember 107 dina failed
fable 119 gus failed
cobalt 79 bruno closed
| ready
active
ready
paused
failed
failed
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056200-p1 | Output the final field from each line of input. | {print $NF} | grove 81 hana pending
birch 50 chen pending
delta 35 farah active
ember 33 kim failed
birch 17 chen ready
grove 117 alice paused
fable 45 kim ready
| pending
pending
active
failed
ready
paused
ready
| delta 45 bruno ready
grove 9 gus active
birch 7 eli ready
grove 14 ivan paused
ember 107 dina failed
fable 119 gus failed
cobalt 79 bruno closed
| ready
active
ready
paused
failed
failed
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056200 | qwen/qwen3.7-plus |
awkweave-0056201 | Print the complete records where column 3 is less than 30. | $3 < 30 | lina cobalt 115 amber closed
lina fable 13 juniper failed
alice delta 12 harbor pending
lina delta 81 birch paused
ivan delta 26 cobalt active
dina amber 36 amber active
| lina fable 13 juniper failed
alice delta 12 harbor pending
ivan delta 26 cobalt active
| eli grove 28 harbor failed
chen grove 32 cobalt failed
farah harbor 22 harbor paused
eli grove 75 indigo closed
dina birch 45 birch pending
hana juniper 112 ember closed
| eli grove 28 harbor failed
farah harbor 22 harbor paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056201-p1 | Display full records where the third column has a value strictly less than 30. | $3 < 30 | lina cobalt 115 amber closed
lina fable 13 juniper failed
alice delta 12 harbor pending
lina delta 81 birch paused
ivan delta 26 cobalt active
dina amber 36 amber active
| lina fable 13 juniper failed
alice delta 12 harbor pending
ivan delta 26 cobalt active
| eli grove 28 harbor failed
chen grove 32 cobalt failed
farah harbor 22 harbor paused
eli grove 75 indigo closed
dina birch 45 birch pending
hana juniper 112 ember closed
| eli grove 28 harbor failed
farah harbor 22 harbor paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056201 | qwen/qwen3.7-plus |
awkweave-0056202 | Show whole lines whose 2nd field is between 4 and 18, inclusive. | $2 >= 4 && $2 <= 18 | fable 18 dina ember
cobalt 24 chen cobalt
amber 3 jules delta
ember 24 hana birch
grove 20 kim juniper
fable 30 farah indigo
juniper 12 kim ember
| fable 18 dina ember
juniper 12 kim ember
| grove 18 bruno fable
birch 4 gus ember
amber 1 gus fable
cobalt 15 lina delta
birch 21 eli harbor
amber 25 jules cobalt
amber 11 jules cobalt
fable 9 hana fable
fable 19 eli birch
harbor 12 kim amber
| grove 18 bruno fable
birch 4 gus ember
cobalt 15 lina delta
amber 11 jules cobalt
fable 9 hana fable
harbor 12 kim amber
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056202-p1 | Show entire lines where the second field falls within the range of 4 to 18, inclusive. | $2 >= 4 && $2 <= 18 | fable 18 dina ember
cobalt 24 chen cobalt
amber 3 jules delta
ember 24 hana birch
grove 20 kim juniper
fable 30 farah indigo
juniper 12 kim ember
| fable 18 dina ember
juniper 12 kim ember
| grove 18 bruno fable
birch 4 gus ember
amber 1 gus fable
cobalt 15 lina delta
birch 21 eli harbor
amber 25 jules cobalt
amber 11 jules cobalt
fable 9 hana fable
fable 19 eli birch
harbor 12 kim amber
| grove 18 bruno fable
birch 4 gus ember
cobalt 15 lina delta
amber 11 jules cobalt
fable 9 hana fable
harbor 12 kim amber
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056202 | qwen/qwen3.7-plus |
awkweave-0056203 | Print column 4 only for rows where column 2 is exactly failed. | $2 == "failed"{print $4} | 64 failed fable alice
65 active indigo chen
89 failed harbor jules
62 failed cobalt farah
66 pending harbor ivan
62 active ember dina
108 failed delta eli
15 active ember farah
| alice
jules
farah
eli
| 42 pending birch kim
91 active delta alice
68 pending ember ivan
117 pending birch kim
89 closed delta eli
15 pending birch kim
94 pending harbor farah
77 paused fable hana
74 active grove jules
113 ready amber bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0056203-p1 | Extract and print only the fourth column for rows where the second column is exactly 'failed'. | $2 == "failed"{print $4} | 64 failed fable alice
65 active indigo chen
89 failed harbor jules
62 failed cobalt farah
66 pending harbor ivan
62 active ember dina
108 failed delta eli
15 active ember farah
| alice
jules
farah
eli
| 42 pending birch kim
91 active delta alice
68 pending ember ivan
117 pending birch kim
89 closed delta eli
15 pending birch kim
94 pending harbor farah
77 paused fable hana
74 active grove jules
113 ready amber bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056203 | qwen/qwen3.7-plus | |
awkweave-0056204 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | DEBUG 8 ember
DEBUG 80 cobalt
DEBUG 87 delta
ERROR 15 harbor
INFO 62 birch
WARN 28 harbor
DEBUG 112 indigo
INFO 49 delta
ERROR 17 grove
| ERROR 15 harbor
ERROR 17 grove
| DEBUG 24 indigo
ERROR 71 cobalt
WARN 12 amber
INFO 45 fable
INFO 39 cobalt
INFO 29 juniper
ERROR 77 ember
| ERROR 71 cobalt
ERROR 77 ember
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056204-p1 | Print all fields from lines where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | DEBUG 8 ember
DEBUG 80 cobalt
DEBUG 87 delta
ERROR 15 harbor
INFO 62 birch
WARN 28 harbor
DEBUG 112 indigo
INFO 49 delta
ERROR 17 grove
| ERROR 15 harbor
ERROR 17 grove
| DEBUG 24 indigo
ERROR 71 cobalt
WARN 12 amber
INFO 45 fable
INFO 39 cobalt
INFO 29 juniper
ERROR 77 ember
| ERROR 71 cobalt
ERROR 77 ember
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056204 | qwen/qwen3.7-plus |
awkweave-0056205 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | harbor 115 paused
birch 4 closed
juniper 60 active
delta 15 ready
cobalt 91 pending
birch 76 closed
grove 75 pending
ember 78 failed
juniper 999 active
| harbor 115 paused
birch 4 closed
delta 15 ready
cobalt 91 pending
birch 76 closed
grove 75 pending
ember 78 failed
| delta 77 paused
grove 116 active
birch 89 ready
ember 22 closed
harbor 118 failed
harbor 115 closed
grove 29 active
juniper 5 pending
juniper 1 ready
juniper 999 active
| delta 77 paused
grove 116 active
birch 89 ready
ember 22 closed
harbor 118 failed
harbor 115 closed
grove 29 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056205-p1 | Output every line that does not contain the exact substring 'juniper'. | $0 !~ /juniper/ | harbor 115 paused
birch 4 closed
juniper 60 active
delta 15 ready
cobalt 91 pending
birch 76 closed
grove 75 pending
ember 78 failed
juniper 999 active
| harbor 115 paused
birch 4 closed
delta 15 ready
cobalt 91 pending
birch 76 closed
grove 75 pending
ember 78 failed
| delta 77 paused
grove 116 active
birch 89 ready
ember 22 closed
harbor 118 failed
harbor 115 closed
grove 29 active
juniper 5 pending
juniper 1 ready
juniper 999 active
| delta 77 paused
grove 116 active
birch 89 ready
ember 22 closed
harbor 118 failed
harbor 115 closed
grove 29 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056205 | qwen/qwen3.7-plus |
awkweave-0056206 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | gus cobalt 82
ivan amber 30
lina fable 51
eli indigo 33
eli ember 57
dina amber 26
chen birch 66
| ivan amber 30
lina fable 51
eli indigo 33
eli ember 57
| alice juniper 105
chen delta 67
gus delta 7
ivan delta 115
kim fable 83
ivan harbor 10
| chen delta 67
gus delta 7
ivan delta 115
kim fable 83
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056206-p1 | Print lines numbered 2 through 5, including both the start and end lines. | NR >= 2 && NR <= 5 | gus cobalt 82
ivan amber 30
lina fable 51
eli indigo 33
eli ember 57
dina amber 26
chen birch 66
| ivan amber 30
lina fable 51
eli indigo 33
eli ember 57
| alice juniper 105
chen delta 67
gus delta 7
ivan delta 115
kim fable 83
ivan harbor 10
| chen delta 67
gus delta 7
ivan delta 115
kim fable 83
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056206 | qwen/qwen3.7-plus |
awkweave-0056207 | Output only the first 5 records. | NR <= 5 | dina 55 fable
jules 110 fable
kim 4 indigo
kim 64 birch
hana 91 indigo
alice 48 juniper
eli 63 grove
| dina 55 fable
jules 110 fable
kim 4 indigo
kim 64 birch
hana 91 indigo
| farah 55 harbor
bruno 25 indigo
ivan 14 cobalt
jules 54 cobalt
dina 26 amber
jules 65 amber
| farah 55 harbor
bruno 25 indigo
ivan 14 cobalt
jules 54 cobalt
dina 26 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056207-p1 | Output only the first five records from the input. | NR <= 5 | dina 55 fable
jules 110 fable
kim 4 indigo
kim 64 birch
hana 91 indigo
alice 48 juniper
eli 63 grove
| dina 55 fable
jules 110 fable
kim 4 indigo
kim 64 birch
hana 91 indigo
| farah 55 harbor
bruno 25 indigo
ivan 14 cobalt
jules 54 cobalt
dina 26 amber
jules 65 amber
| farah 55 harbor
bruno 25 indigo
ivan 14 cobalt
jules 54 cobalt
dina 26 amber
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056207 | qwen/qwen3.7-plus |
awkweave-0056208 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 1 delta
lina 95 birch
gus 111 cobalt
chen 101 amber
farah 95 delta
lina 116 amber
| lina 95 birch
gus 111 cobalt
chen 101 amber
farah 95 delta
lina 116 amber
| lina 118 amber
ivan 24 delta
jules 102 delta
lina 7 delta
hana 0 amber
gus 39 amber
jules 50 fable
dina 27 birch
| ivan 24 delta
jules 102 delta
lina 7 delta
hana 0 amber
gus 39 amber
jules 50 fable
dina 27 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056208-p1 | Ignore the first line and print all subsequent lines without modification. | NR > 1 | alice 1 delta
lina 95 birch
gus 111 cobalt
chen 101 amber
farah 95 delta
lina 116 amber
| lina 95 birch
gus 111 cobalt
chen 101 amber
farah 95 delta
lina 116 amber
| lina 118 amber
ivan 24 delta
jules 102 delta
lina 7 delta
hana 0 amber
gus 39 amber
jules 50 fable
dina 27 birch
| ivan 24 delta
jules 102 delta
lina 7 delta
hana 0 amber
gus 39 amber
jules 50 fable
dina 27 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056208 | qwen/qwen3.7-plus |
awkweave-0056209 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | bruno ready 74
dina active 0
hana ready 70
gus ready 112
hana pending 90
gus pending 43
ivan active 9
bruno ready 72
| 0
| alice pending 78
eli active 61
ivan ready 36
eli closed 119
alice paused 1
farah active 58
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056209-p1 | Count the number of records where the second column is 'paused'; output 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | bruno ready 74
dina active 0
hana ready 70
gus ready 112
hana pending 90
gus pending 43
ivan active 9
bruno ready 72
| 0
| alice pending 78
eli active 61
ivan ready 36
eli closed 119
alice paused 1
farah active 58
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056209 | qwen/qwen3.7-plus |
awkweave-0056210 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 30 cobalt kim
17 ember chen
5 birch eli
12 indigo ivan
27 delta eli
25 harbor eli
6 grove hana
12 juniper ivan
| 134
| 25 indigo lina
29 fable lina
24 birch eli
28 fable hana
21 cobalt farah
8 ember kim
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056210-p1 | Compute and display the sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 30 cobalt kim
17 ember chen
5 birch eli
12 indigo ivan
27 delta eli
25 harbor eli
6 grove hana
12 juniper ivan
| 134
| 25 indigo lina
29 fable lina
24 birch eli
28 fable hana
21 cobalt farah
8 ember kim
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056210 | qwen/qwen3.7-plus |
awkweave-0056211 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta bruno 28
grove kim 25
amber ivan 27
birch lina 18
amber hana 1
grove eli 1
cobalt eli 23
amber gus 2
fable kim 6
fable chen 6
| 13.70
| cobalt dina 16
grove kim 11
ember eli 10
ember kim 21
harbor gus 11
birch ivan 7
grove jules 22
amber dina 25
indigo lina 23
| 16.22
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056211-p1 | Calculate the average of the values in the third column and print it rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta bruno 28
grove kim 25
amber ivan 27
birch lina 18
amber hana 1
grove eli 1
cobalt eli 23
amber gus 2
fable kim 6
fable chen 6
| 13.70
| cobalt dina 16
grove kim 11
ember eli 10
ember kim 21
harbor gus 11
birch ivan 7
grove jules 22
amber dina 25
indigo lina 23
| 16.22
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056211 | qwen/qwen3.7-plus |
awkweave-0056212 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen grove 27
bruno ember 23
dina grove 26
eli harbor 4
dina grove 27
bruno juniper 13
gus fable 12
| 4
| hana birch 15
alice cobalt 14
lina grove 13
chen indigo 7
kim harbor 26
eli cobalt 13
hana harbor 24
kim birch 2
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056212-p1 | Identify and output the minimum number found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen grove 27
bruno ember 23
dina grove 26
eli harbor 4
dina grove 27
bruno juniper 13
gus fable 12
| 4
| hana birch 15
alice cobalt 14
lina grove 13
chen indigo 7
kim harbor 26
eli cobalt 13
hana harbor 24
kim birch 2
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056212 | qwen/qwen3.7-plus |
awkweave-0056213 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | gus 1 harbor
kim 21 harbor
jules 27 juniper
farah 28 grove
kim 26 cobalt
eli 3 birch
| 28
| ivan 6 birch
bruno 14 cobalt
dina 16 cobalt
chen 7 harbor
kim 8 birch
chen 2 ember
dina 6 amber
chen 4 amber
dina 12 juniper
hana 28 cobalt
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056213-p1 | Locate and display the maximum numeric value within the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | gus 1 harbor
kim 21 harbor
jules 27 juniper
farah 28 grove
kim 26 cobalt
eli 3 birch
| 28
| ivan 6 birch
bruno 14 cobalt
dina 16 cobalt
chen 7 harbor
kim 8 birch
chen 2 ember
dina 6 amber
chen 4 amber
dina 12 juniper
hana 28 cobalt
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056213 | qwen/qwen3.7-plus |
awkweave-0056214 | Count all input records and print the total. | END{print NR} | farah 68
bruno 17
bruno 79
lina 23
alice 113
gus 54
farah 48
eli 33
| 8
| eli 31
alice 11
lina 69
chen 30
eli 97
kim 88
eli 7
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056214-p1 | Calculate the total number of input records and output the count. | END{print NR} | farah 68
bruno 17
bruno 79
lina 23
alice 113
gus 54
farah 48
eli 33
| 8
| eli 31
alice 11
lina 69
chen 30
eli 97
kim 88
eli 7
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056214 | qwen/qwen3.7-plus |
awkweave-0056215 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice indigo 119
chen harbor 108
bruno cobalt 93
dina delta 51
gus cobalt 95
chen indigo 110
chen harbor 108
eli harbor 90
farah harbor 51
chen cobalt 31
alice delta 105
| alice indigo 119
chen harbor 108
bruno cobalt 93
dina delta 51
gus cobalt 95
chen indigo 110
eli harbor 90
farah harbor 51
chen cobalt 31
alice delta 105
| hana ember 59
hana fable 48
eli birch 40
lina juniper 110
chen amber 25
chen amber 25
alice delta 15
gus delta 114
ivan ember 113
| hana ember 59
hana fable 48
eli birch 40
lina juniper 110
chen amber 25
alice delta 15
gus delta 114
ivan ember 113
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056215-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | alice indigo 119
chen harbor 108
bruno cobalt 93
dina delta 51
gus cobalt 95
chen indigo 110
chen harbor 108
eli harbor 90
farah harbor 51
chen cobalt 31
alice delta 105
| alice indigo 119
chen harbor 108
bruno cobalt 93
dina delta 51
gus cobalt 95
chen indigo 110
eli harbor 90
farah harbor 51
chen cobalt 31
alice delta 105
| hana ember 59
hana fable 48
eli birch 40
lina juniper 110
chen amber 25
chen amber 25
alice delta 15
gus delta 114
ivan ember 113
| hana ember 59
hana fable 48
eli birch 40
lina juniper 110
chen amber 25
alice delta 15
gus delta 114
ivan ember 113
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056215 | qwen/qwen3.7-plus |
awkweave-0056216 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | lina juniper 110
chen amber 88
eli indigo 33
eli ember 25
kim amber 48
kim fable 116
jules amber 40
bruno indigo 5
| lina juniper 110
chen amber 88
eli indigo 33
eli ember 25
kim fable 116
| alice indigo 1
eli grove 110
lina amber 25
bruno cobalt 79
farah grove 109
lina harbor 42
| alice indigo 1
eli grove 110
lina amber 25
bruno cobalt 79
lina harbor 42
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056216-p1 | Retain only the initial line for every unique value in the second column while preserving the input order. | !seen[$2]++ | lina juniper 110
chen amber 88
eli indigo 33
eli ember 25
kim amber 48
kim fable 116
jules amber 40
bruno indigo 5
| lina juniper 110
chen amber 88
eli indigo 33
eli ember 25
kim fable 116
| alice indigo 1
eli grove 110
lina amber 25
bruno cobalt 79
farah grove 109
lina harbor 42
| alice indigo 1
eli grove 110
lina amber 25
bruno cobalt 79
lina harbor 42
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056216 | qwen/qwen3.7-plus |
awkweave-0056217 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 5 fable
alice 5 fable
kim 18 birch
hana 2 birch
hana 11 harbor
eli 1 ember
bruno 4 grove
chen 12 harbor
chen 22 indigo
| jules 5
alice 10
kim 28
hana 30
hana 41
eli 42
bruno 46
chen 58
chen 80
| eli 20 fable
ivan 23 juniper
chen 18 harbor
hana 30 indigo
chen 2 indigo
lina 15 birch
hana 11 amber
eli 20 birch
chen 28 juniper
bruno 21 juniper
| eli 20
ivan 43
chen 61
hana 91
chen 93
lina 108
hana 119
eli 139
chen 167
bruno 188
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056217-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | jules 5 fable
alice 5 fable
kim 18 birch
hana 2 birch
hana 11 harbor
eli 1 ember
bruno 4 grove
chen 12 harbor
chen 22 indigo
| jules 5
alice 10
kim 28
hana 30
hana 41
eli 42
bruno 46
chen 58
chen 80
| eli 20 fable
ivan 23 juniper
chen 18 harbor
hana 30 indigo
chen 2 indigo
lina 15 birch
hana 11 amber
eli 20 birch
chen 28 juniper
bruno 21 juniper
| eli 20
ivan 43
chen 61
hana 91
chen 93
lina 108
hana 119
eli 139
chen 167
bruno 188
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056217 | qwen/qwen3.7-plus |
awkweave-0056218 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 30 17 juniper
farah 25 13 indigo
bruno 7 27 indigo
ivan 14 9 fable
gus 23 7 amber
dina 27 26 indigo
| bruno 47
farah 38
bruno 34
ivan 23
gus 30
dina 53
| jules 7 28 cobalt
hana 30 21 cobalt
kim 27 29 ember
chen 16 25 harbor
lina 1 8 amber
chen 5 1 birch
jules 15 17 ember
| jules 35
hana 51
kim 56
chen 41
lina 9
chen 6
jules 32
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056218-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | bruno 30 17 juniper
farah 25 13 indigo
bruno 7 27 indigo
ivan 14 9 fable
gus 23 7 amber
dina 27 26 indigo
| bruno 47
farah 38
bruno 34
ivan 23
gus 30
dina 53
| jules 7 28 cobalt
hana 30 21 cobalt
kim 27 29 ember
chen 16 25 harbor
lina 1 8 amber
chen 5 1 birch
jules 15 17 ember
| jules 35
hana 51
kim 56
chen 41
lina 9
chen 6
jules 32
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056218 | qwen/qwen3.7-plus |
awkweave-0056219 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | jules 12
eli 27
chen 13
eli 19
eli 11
dina 19
kim 15
alice 12
| jules fail
eli pass
chen fail
eli fail
eli fail
dina fail
kim fail
alice fail
| lina 17
kim 21
alice 24
alice 30
hana 4
chen 8
| lina fail
kim fail
alice pass
alice pass
hana fail
chen fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056219-p1 | Output the first column along with 'pass' if the second column is 22 or greater, otherwise output 'fail'. | {print $1,($2>=22?"pass":"fail")} | jules 12
eli 27
chen 13
eli 19
eli 11
dina 19
kim 15
alice 12
| jules fail
eli pass
chen fail
eli fail
eli fail
dina fail
kim fail
alice fail
| lina 17
kim 21
alice 24
alice 30
hana 4
chen 8
| lina fail
kim fail
alice pass
alice pass
hana fail
chen fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056219 | qwen/qwen3.7-plus |
awkweave-0056220 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | hana grove 87
ivan indigo 42
kim delta 118
ivan juniper 17
lina indigo 28
alice harbor 20
farah delta 42
| HANA
IVAN
KIM
IVAN
LINA
ALICE
FARAH
| ivan fable 70
gus ember 110
farah cobalt 38
eli harbor 87
jules juniper 102
eli indigo 67
bruno fable 97
chen cobalt 53
| IVAN
GUS
FARAH
ELI
JULES
ELI
BRUNO
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056220-p1 | Transform the first column to uppercase and print only that modified column. | {print toupper($1)} | hana grove 87
ivan indigo 42
kim delta 118
ivan juniper 17
lina indigo 28
alice harbor 20
farah delta 42
| HANA
IVAN
KIM
IVAN
LINA
ALICE
FARAH
| ivan fable 70
gus ember 110
farah cobalt 38
eli harbor 87
jules juniper 102
eli indigo 67
bruno fable 97
chen cobalt 53
| IVAN
GUS
FARAH
ELI
JULES
ELI
BRUNO
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056220 | qwen/qwen3.7-plus |
awkweave-0056221 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | grove 65
cobalt 118
cobalt 9
grove 17
grove 67
cobalt 61
harbor 94
grove 69
harbor 71
| rove
obal
obal
rove
rove
obal
arbo
rove
arbo
| amber 119
fable 95
juniper 28
cobalt 65
harbor 86
grove 33
grove 50
fable 21
grove 2
| mber
able
unip
obal
arbo
rove
rove
able
rove
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056221-p1 | Extract and print a substring of 4 characters from the first column, starting at the second character. | {print substr($1,2,4)} | grove 65
cobalt 118
cobalt 9
grove 17
grove 67
cobalt 61
harbor 94
grove 69
harbor 71
| rove
obal
obal
rove
rove
obal
arbo
rove
arbo
| amber 119
fable 95
juniper 28
cobalt 65
harbor 86
grove 33
grove 50
fable 21
grove 2
| mber
able
unip
obal
arbo
rove
rove
able
rove
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056221 | qwen/qwen3.7-plus |
awkweave-0056222 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_cobalt 38
indigo_indigo 72
amber_fable 32
ember_cobalt 116
indigo_amber 76
ember_amber 38
delta_delta 56
delta_cobalt 70
fable_birch 43
| amber cobalt
indigo indigo
amber fable
ember cobalt
indigo amber
ember amber
delta delta
delta cobalt
fable birch
| delta_juniper 90
grove_fable 79
juniper_harbor 116
harbor_indigo 75
fable_indigo 87
birch_delta 42
delta_delta 83
amber_amber 40
fable_grove 24
ember_harbor 50
| delta juniper
grove fable
juniper harbor
harbor indigo
fable indigo
birch delta
delta delta
amber amber
fable grove
ember harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0056222-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | amber_cobalt 38
indigo_indigo 72
amber_fable 32
ember_cobalt 116
indigo_amber 76
ember_amber 38
delta_delta 56
delta_cobalt 70
fable_birch 43
| amber cobalt
indigo indigo
amber fable
ember cobalt
indigo amber
ember amber
delta delta
delta cobalt
fable birch
| delta_juniper 90
grove_fable 79
juniper_harbor 116
harbor_indigo 75
fable_indigo 87
birch_delta 42
delta_delta 83
amber_amber 40
fable_grove 24
ember_harbor 50
| delta juniper
grove fable
juniper harbor
harbor indigo
fable indigo
birch delta
delta delta
amber amber
fable grove
ember harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0056222 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.