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-0038221-p1 | Print the final field from every line of input. | {print $NF} | grove active 117 kim active
fable ready 112 bruno closed
delta closed 81 hana failed
grove ready 83 eli paused
juniper paused 53 dina paused
indigo paused 71 eli ready
| active
closed
failed
paused
paused
ready
| ember ready 97 ivan failed
indigo paused 16 eli active
amber paused 110 dina failed
fable ready 108 chen failed
amber pending 84 gus failed
fable closed 17 eli failed
ember active 73 gus pending
cobalt paused 61 farah pending
fable closed 35 gus closed
delta pending 21 eli pending
| failed
active
failed
failed
failed
failed
pending
pending
closed
pending
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038221 | qwen/qwen3.7-plus |
awkweave-0038222 | Print the complete records where column 1 is less than 59. | $1 < 59 | 51 jules ready pending
37 ivan failed paused
4 jules ready active
84 dina paused active
58 gus pending failed
30 gus active paused
30 gus pending pending
63 jules failed paused
| 51 jules ready pending
37 ivan failed paused
4 jules ready active
58 gus pending failed
30 gus active paused
30 gus pending pending
| 61 ivan pending pending
56 dina paused ready
88 alice active pending
66 lina ready paused
77 jules active ready
3 farah ready paused
61 kim pending closed
83 chen failed closed
95 lina ready failed
| 56 dina paused ready
3 farah ready paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038222-p1 | Output entire records where the value in the first column is less than 59. | $1 < 59 | 51 jules ready pending
37 ivan failed paused
4 jules ready active
84 dina paused active
58 gus pending failed
30 gus active paused
30 gus pending pending
63 jules failed paused
| 51 jules ready pending
37 ivan failed paused
4 jules ready active
58 gus pending failed
30 gus active paused
30 gus pending pending
| 61 ivan pending pending
56 dina paused ready
88 alice active pending
66 lina ready paused
77 jules active ready
3 farah ready paused
61 kim pending closed
83 chen failed closed
95 lina ready failed
| 56 dina paused ready
3 farah ready paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038222 | qwen/qwen3.7-plus |
awkweave-0038223 | Show whole lines whose 1st field is between 4 and 20, inclusive. | $1 >= 4 && $1 <= 20 | 13 lina dina ivan
8 eli kim jules
24 dina jules eli
19 chen gus jules
25 jules bruno ivan
8 alice kim dina
27 hana alice alice
22 kim ivan eli
16 alice dina gus
| 13 lina dina ivan
8 eli kim jules
19 chen gus jules
8 alice kim dina
16 alice dina gus
| 9 chen bruno alice
2 chen ivan kim
17 alice kim ivan
2 lina chen lina
27 kim eli ivan
17 gus gus kim
| 9 chen bruno alice
17 alice kim ivan
17 gus gus kim
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038223-p1 | Display complete lines where the first field falls within the inclusive range of 4 to 20. | $1 >= 4 && $1 <= 20 | 13 lina dina ivan
8 eli kim jules
24 dina jules eli
19 chen gus jules
25 jules bruno ivan
8 alice kim dina
27 hana alice alice
22 kim ivan eli
16 alice dina gus
| 13 lina dina ivan
8 eli kim jules
19 chen gus jules
8 alice kim dina
16 alice dina gus
| 9 chen bruno alice
2 chen ivan kim
17 alice kim ivan
2 lina chen lina
27 kim eli ivan
17 gus gus kim
| 9 chen bruno alice
17 alice kim ivan
17 gus gus kim
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038223 | qwen/qwen3.7-plus |
awkweave-0038224 | Print column 2 only for rows where column 1 is exactly active. | $1 == "active"{print $2} | pending kim amber 3
paused chen indigo 110
active eli indigo 74
failed bruno fable 78
closed hana birch 13
paused lina birch 56
failed jules harbor 37
active gus fable 40
pending eli delta 31
| eli
gus
| ready gus amber 102
paused dina birch 58
closed kim ember 62
ready farah birch 25
ready jules fable 81
ready dina amber 10
paused lina delta 55
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0038224-p1 | Output the second column for rows where the first column matches 'active' exactly. | $1 == "active"{print $2} | pending kim amber 3
paused chen indigo 110
active eli indigo 74
failed bruno fable 78
closed hana birch 13
paused lina birch 56
failed jules harbor 37
active gus fable 40
pending eli delta 31
| eli
gus
| ready gus amber 102
paused dina birch 58
closed kim ember 62
ready farah birch 25
ready jules fable 81
ready dina amber 10
paused lina delta 55
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038224 | qwen/qwen3.7-plus | |
awkweave-0038225 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | WARN juniper 78
WARN birch 47
WARN harbor 22
ERROR juniper 89
WARN ember 82
DEBUG grove 29
INFO amber 50
| ERROR juniper 89
| WARN harbor 41
DEBUG cobalt 89
ERROR harbor 6
DEBUG juniper 83
DEBUG birch 81
DEBUG delta 36
DEBUG birch 79
ERROR ember 44
DEBUG birch 48
| ERROR harbor 6
ERROR ember 44
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038225-p1 | Display all fields from lines whose first field starts with 'ERROR'. | $1 ~ /^ERROR/ | WARN juniper 78
WARN birch 47
WARN harbor 22
ERROR juniper 89
WARN ember 82
DEBUG grove 29
INFO amber 50
| ERROR juniper 89
| WARN harbor 41
DEBUG cobalt 89
ERROR harbor 6
DEBUG juniper 83
DEBUG birch 81
DEBUG delta 36
DEBUG birch 79
ERROR ember 44
DEBUG birch 48
| ERROR harbor 6
ERROR ember 44
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038225 | qwen/qwen3.7-plus |
awkweave-0038226 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | ember 20 failed
cobalt 75 active
cobalt 72 paused
grove 53 closed
amber 72 active
juniper 48 ready
birch 88 closed
juniper 46 ready
cobalt 35 paused
cobalt 999 active
| ember 20 failed
grove 53 closed
amber 72 active
juniper 48 ready
birch 88 closed
juniper 46 ready
| amber 12 failed
cobalt 27 ready
grove 48 closed
amber 108 ready
grove 113 closed
juniper 10 pending
cobalt 999 active
| amber 12 failed
grove 48 closed
amber 108 ready
grove 113 closed
juniper 10 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038226-p1 | Print every line that does not contain the exact string 'cobalt'. | $0 !~ /cobalt/ | ember 20 failed
cobalt 75 active
cobalt 72 paused
grove 53 closed
amber 72 active
juniper 48 ready
birch 88 closed
juniper 46 ready
cobalt 35 paused
cobalt 999 active
| ember 20 failed
grove 53 closed
amber 72 active
juniper 48 ready
birch 88 closed
juniper 46 ready
| amber 12 failed
cobalt 27 ready
grove 48 closed
amber 108 ready
grove 113 closed
juniper 10 pending
cobalt 999 active
| amber 12 failed
grove 48 closed
amber 108 ready
grove 113 closed
juniper 10 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038226 | qwen/qwen3.7-plus |
awkweave-0038227 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | ivan amber 23
kim grove 97
lina grove 0
gus amber 61
hana harbor 53
ivan harbor 48
chen birch 113
| lina grove 0
gus amber 61
hana harbor 53
| lina harbor 31
alice fable 51
kim fable 33
hana ember 16
alice amber 35
hana ember 24
chen delta 29
jules fable 97
ivan cobalt 52
farah ember 32
| kim fable 33
hana ember 16
alice amber 35
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038227-p1 | Output lines 3 to 5, inclusive of both endpoints. | NR >= 3 && NR <= 5 | ivan amber 23
kim grove 97
lina grove 0
gus amber 61
hana harbor 53
ivan harbor 48
chen birch 113
| lina grove 0
gus amber 61
hana harbor 53
| lina harbor 31
alice fable 51
kim fable 33
hana ember 16
alice amber 35
hana ember 24
chen delta 29
jules fable 97
ivan cobalt 52
farah ember 32
| kim fable 33
hana ember 16
alice amber 35
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038227 | qwen/qwen3.7-plus |
awkweave-0038228 | Output only the first 4 records. | NR <= 4 | farah 18 grove
lina 14 juniper
alice 59 delta
dina 50 birch
jules 90 delta
eli 74 delta
| farah 18 grove
lina 14 juniper
alice 59 delta
dina 50 birch
| gus 107 indigo
dina 11 grove
kim 20 delta
lina 95 indigo
lina 92 fable
eli 36 amber
gus 52 indigo
kim 100 fable
lina 35 amber
farah 19 delta
| gus 107 indigo
dina 11 grove
kim 20 delta
lina 95 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038228-p1 | Display only the first 4 records. | NR <= 4 | farah 18 grove
lina 14 juniper
alice 59 delta
dina 50 birch
jules 90 delta
eli 74 delta
| farah 18 grove
lina 14 juniper
alice 59 delta
dina 50 birch
| gus 107 indigo
dina 11 grove
kim 20 delta
lina 95 indigo
lina 92 fable
eli 36 amber
gus 52 indigo
kim 100 fable
lina 35 amber
farah 19 delta
| gus 107 indigo
dina 11 grove
kim 20 delta
lina 95 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038228 | qwen/qwen3.7-plus |
awkweave-0038229 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 103 harbor
kim 60 harbor
ivan 103 grove
ivan 103 juniper
hana 4 birch
gus 41 birch
chen 43 delta
ivan 19 birch
chen 94 fable
| kim 60 harbor
ivan 103 grove
ivan 103 juniper
hana 4 birch
gus 41 birch
chen 43 delta
ivan 19 birch
chen 94 fable
| kim 82 juniper
kim 90 ember
bruno 4 delta
hana 108 indigo
kim 110 grove
lina 68 delta
chen 55 birch
alice 5 amber
| kim 90 ember
bruno 4 delta
hana 108 indigo
kim 110 grove
lina 68 delta
chen 55 birch
alice 5 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038229-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | gus 103 harbor
kim 60 harbor
ivan 103 grove
ivan 103 juniper
hana 4 birch
gus 41 birch
chen 43 delta
ivan 19 birch
chen 94 fable
| kim 60 harbor
ivan 103 grove
ivan 103 juniper
hana 4 birch
gus 41 birch
chen 43 delta
ivan 19 birch
chen 94 fable
| kim 82 juniper
kim 90 ember
bruno 4 delta
hana 108 indigo
kim 110 grove
lina 68 delta
chen 55 birch
alice 5 amber
| kim 90 ember
bruno 4 delta
hana 108 indigo
kim 110 grove
lina 68 delta
chen 55 birch
alice 5 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038229 | qwen/qwen3.7-plus |
awkweave-0038230 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | gus failed 68
dina ready 67
jules active 77
jules closed 41
lina ready 30
eli pending 60
alice failed 57
| 1
| farah closed 10
bruno active 92
ivan ready 99
ivan closed 83
farah failed 75
lina pending 106
bruno closed 11
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038230-p1 | Count records with 'pending' in the second column; output 0 if none exist. | $2 == "pending"{n++}END{print n+0} | gus failed 68
dina ready 67
jules active 77
jules closed 41
lina ready 30
eli pending 60
alice failed 57
| 1
| farah closed 10
bruno active 92
ivan ready 99
ivan closed 83
farah failed 75
lina pending 106
bruno closed 11
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038230 | qwen/qwen3.7-plus |
awkweave-0038231 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 20 gus cobalt
27 gus juniper
8 chen birch
30 eli indigo
4 chen ember
5 dina cobalt
20 bruno juniper
16 bruno ember
| 130
| 22 alice cobalt
29 eli delta
16 dina juniper
18 bruno birch
7 ivan fable
2 alice amber
19 chen cobalt
10 dina indigo
17 eli grove
14 lina harbor
| 154
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038231-p1 | Compute and display the sum of integer values in the first column. | {s+=$1}END{print s+0} | 20 gus cobalt
27 gus juniper
8 chen birch
30 eli indigo
4 chen ember
5 dina cobalt
20 bruno juniper
16 bruno ember
| 130
| 22 alice cobalt
29 eli delta
16 dina juniper
18 bruno birch
7 ivan fable
2 alice amber
19 chen cobalt
10 dina indigo
17 eli grove
14 lina harbor
| 154
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038231 | qwen/qwen3.7-plus |
awkweave-0038232 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 14 indigo lina
2 delta bruno
16 harbor alice
11 ember hana
27 grove bruno
12 harbor bruno
| 13.67
| 27 fable alice
14 indigo ivan
9 grove eli
3 birch bruno
18 birch ivan
15 amber chen
18 harbor ivan
24 amber bruno
19 fable eli
| 16.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038232-p1 | Calculate the average of the first column and print it rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 14 indigo lina
2 delta bruno
16 harbor alice
11 ember hana
27 grove bruno
12 harbor bruno
| 13.67
| 27 fable alice
14 indigo ivan
9 grove eli
3 birch bruno
18 birch ivan
15 amber chen
18 harbor ivan
24 amber bruno
19 fable eli
| 16.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038232 | qwen/qwen3.7-plus |
awkweave-0038233 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 13 indigo
bruno 6 delta
bruno 17 cobalt
gus 9 grove
kim 6 grove
alice 15 harbor
hana 20 fable
kim 14 amber
alice 27 birch
| 6
| lina 10 birch
eli 4 grove
kim 22 ember
gus 5 cobalt
eli 24 juniper
gus 4 ember
bruno 6 fable
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038233-p1 | Identify and print the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 13 indigo
bruno 6 delta
bruno 17 cobalt
gus 9 grove
kim 6 grove
alice 15 harbor
hana 20 fable
kim 14 amber
alice 27 birch
| 6
| lina 10 birch
eli 4 grove
kim 22 ember
gus 5 cobalt
eli 24 juniper
gus 4 ember
bruno 6 fable
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038233 | qwen/qwen3.7-plus |
awkweave-0038234 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | bruno ember 1
eli ember 22
jules cobalt 9
hana delta 4
hana amber 16
kim grove 4
| 22
| hana grove 7
dina grove 23
lina fable 30
gus juniper 12
jules cobalt 5
bruno ember 9
lina birch 1
gus indigo 10
hana delta 7
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038234-p1 | Identify and print the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | bruno ember 1
eli ember 22
jules cobalt 9
hana delta 4
hana amber 16
kim grove 4
| 22
| hana grove 7
dina grove 23
lina fable 30
gus juniper 12
jules cobalt 5
bruno ember 9
lina birch 1
gus indigo 10
hana delta 7
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038234 | qwen/qwen3.7-plus |
awkweave-0038235 | Count all input records and print the total. | END{print NR} | bruno 47
lina 16
ivan 47
gus 110
gus 107
bruno 63
kim 62
eli 58
eli 31
dina 15
| 10
| chen 101
hana 94
farah 109
gus 67
farah 18
kim 88
eli 69
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038235-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 47
lina 16
ivan 47
gus 110
gus 107
bruno 63
kim 62
eli 58
eli 31
dina 15
| 10
| chen 101
hana 94
farah 109
gus 67
farah 18
kim 88
eli 69
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038235 | qwen/qwen3.7-plus |
awkweave-0038236 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan indigo 49
kim cobalt 38
alice ember 29
jules ember 61
bruno delta 101
lina indigo 30
ivan indigo 49
dina juniper 41
eli amber 9
| ivan indigo 49
kim cobalt 38
alice ember 29
jules ember 61
bruno delta 101
lina indigo 30
dina juniper 41
eli amber 9
| dina indigo 115
kim cobalt 2
kim amber 6
dina indigo 33
ivan indigo 99
farah birch 51
bruno amber 45
farah birch 51
chen harbor 116
chen delta 2
farah birch 100
| dina indigo 115
kim cobalt 2
kim amber 6
dina indigo 33
ivan indigo 99
farah birch 51
bruno amber 45
chen harbor 116
chen delta 2
farah birch 100
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038236-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each line. | !seen[$0]++ | ivan indigo 49
kim cobalt 38
alice ember 29
jules ember 61
bruno delta 101
lina indigo 30
ivan indigo 49
dina juniper 41
eli amber 9
| ivan indigo 49
kim cobalt 38
alice ember 29
jules ember 61
bruno delta 101
lina indigo 30
dina juniper 41
eli amber 9
| dina indigo 115
kim cobalt 2
kim amber 6
dina indigo 33
ivan indigo 99
farah birch 51
bruno amber 45
farah birch 51
chen harbor 116
chen delta 2
farah birch 100
| dina indigo 115
kim cobalt 2
kim amber 6
dina indigo 33
ivan indigo 99
farah birch 51
bruno amber 45
chen harbor 116
chen delta 2
farah birch 100
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038236 | qwen/qwen3.7-plus |
awkweave-0038237 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah amber 103
alice delta 67
lina fable 95
chen ember 52
farah delta 118
bruno harbor 81
dina juniper 57
| farah amber 103
alice delta 67
lina fable 95
chen ember 52
bruno harbor 81
dina juniper 57
| chen delta 45
eli cobalt 117
alice fable 36
eli cobalt 100
lina harbor 66
chen harbor 63
gus birch 117
eli fable 99
| chen delta 45
eli cobalt 117
alice fable 36
lina harbor 66
gus birch 117
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038237-p1 | Retain only the initial line for every unique value found in the first column, ensuring the original input order is preserved. | !seen[$1]++ | farah amber 103
alice delta 67
lina fable 95
chen ember 52
farah delta 118
bruno harbor 81
dina juniper 57
| farah amber 103
alice delta 67
lina fable 95
chen ember 52
bruno harbor 81
dina juniper 57
| chen delta 45
eli cobalt 117
alice fable 36
eli cobalt 100
lina harbor 66
chen harbor 63
gus birch 117
eli fable 99
| chen delta 45
eli cobalt 117
alice fable 36
lina harbor 66
gus birch 117
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038237 | qwen/qwen3.7-plus |
awkweave-0038238 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 28 juniper
chen 17 juniper
jules 11 indigo
alice 28 indigo
hana 1 juniper
hana 9 fable
farah 13 harbor
| farah 28
chen 45
jules 56
alice 84
hana 85
hana 94
farah 107
| alice 21 cobalt
hana 28 indigo
hana 16 fable
dina 23 harbor
kim 20 cobalt
jules 15 birch
alice 26 ember
bruno 26 ember
bruno 26 juniper
| alice 21
hana 49
hana 65
dina 88
kim 108
jules 123
alice 149
bruno 175
bruno 201
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038238-p1 | Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | farah 28 juniper
chen 17 juniper
jules 11 indigo
alice 28 indigo
hana 1 juniper
hana 9 fable
farah 13 harbor
| farah 28
chen 45
jules 56
alice 84
hana 85
hana 94
farah 107
| alice 21 cobalt
hana 28 indigo
hana 16 fable
dina 23 harbor
kim 20 cobalt
jules 15 birch
alice 26 ember
bruno 26 ember
bruno 26 juniper
| alice 21
hana 49
hana 65
dina 88
kim 108
jules 123
alice 149
bruno 175
bruno 201
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038238 | qwen/qwen3.7-plus |
awkweave-0038239 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 26 13 ember
jules 28 21 ember
farah 21 18 birch
bruno 15 21 cobalt
farah 11 24 indigo
chen 18 22 delta
alice 29 16 amber
ivan 25 9 delta
jules 25 20 fable
chen 16 6 juniper
| kim 39
jules 49
farah 39
bruno 36
farah 35
chen 40
alice 45
ivan 34
jules 45
chen 22
| farah 18 7 fable
bruno 23 17 juniper
gus 10 10 juniper
hana 27 27 cobalt
hana 30 29 harbor
alice 8 3 delta
bruno 2 1 amber
| farah 25
bruno 40
gus 20
hana 54
hana 59
alice 11
bruno 3
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038239-p1 | For each row, display the first field followed by the combined total of the second and third fields. | {print $1,$2+$3} | kim 26 13 ember
jules 28 21 ember
farah 21 18 birch
bruno 15 21 cobalt
farah 11 24 indigo
chen 18 22 delta
alice 29 16 amber
ivan 25 9 delta
jules 25 20 fable
chen 16 6 juniper
| kim 39
jules 49
farah 39
bruno 36
farah 35
chen 40
alice 45
ivan 34
jules 45
chen 22
| farah 18 7 fable
bruno 23 17 juniper
gus 10 10 juniper
hana 27 27 cobalt
hana 30 29 harbor
alice 8 3 delta
bruno 2 1 amber
| farah 25
bruno 40
gus 20
hana 54
hana 59
alice 11
bruno 3
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038239 | qwen/qwen3.7-plus |
awkweave-0038240 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | hana 11
eli 27
eli 10
eli 22
jules 17
alice 17
jules 15
chen 6
jules 21
| hana fail
eli pass
eli fail
eli fail
jules fail
alice fail
jules fail
chen fail
jules fail
| eli 20
kim 26
farah 27
farah 7
jules 10
ivan 3
kim 24
| eli fail
kim fail
farah pass
farah fail
jules fail
ivan fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038240-p1 | Output the first column along with 'pass' if the second column is 27 or greater; otherwise, output 'fail'. | {print $1,($2>=27?"pass":"fail")} | hana 11
eli 27
eli 10
eli 22
jules 17
alice 17
jules 15
chen 6
jules 21
| hana fail
eli pass
eli fail
eli fail
jules fail
alice fail
jules fail
chen fail
jules fail
| eli 20
kim 26
farah 27
farah 7
jules 10
ivan 3
kim 24
| eli fail
kim fail
farah pass
farah fail
jules fail
ivan fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038240 | qwen/qwen3.7-plus |
awkweave-0038241 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | alice birch 51
chen amber 21
alice indigo 80
dina cobalt 15
alice juniper 88
eli harbor 53
kim birch 48
lina grove 30
| BIRCH
AMBER
INDIGO
COBALT
JUNIPER
HARBOR
BIRCH
GROVE
| gus grove 62
eli grove 11
gus ember 72
eli birch 111
ivan grove 101
ivan ember 55
chen amber 19
lina indigo 15
| GROVE
GROVE
EMBER
BIRCH
GROVE
EMBER
AMBER
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038241-p1 | Transform the second column to uppercase letters and display only that modified column. | {print toupper($2)} | alice birch 51
chen amber 21
alice indigo 80
dina cobalt 15
alice juniper 88
eli harbor 53
kim birch 48
lina grove 30
| BIRCH
AMBER
INDIGO
COBALT
JUNIPER
HARBOR
BIRCH
GROVE
| gus grove 62
eli grove 11
gus ember 72
eli birch 111
ivan grove 101
ivan ember 55
chen amber 19
lina indigo 15
| GROVE
GROVE
EMBER
BIRCH
GROVE
EMBER
AMBER
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038241 | qwen/qwen3.7-plus |
awkweave-0038242 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | birch 34
fable 35
delta 60
fable 6
ember 23
birch 24
juniper 57
grove 49
birch 65
| rch
ble
lta
ble
ber
rch
nipe
ove
rch
| cobalt 41
birch 3
indigo 65
cobalt 40
grove 111
birch 66
birch 47
indigo 22
| balt
rch
digo
balt
ove
rch
rch
digo
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038242-p1 | Extract and print a substring of length 4 from the first column, beginning at the third character. | {print substr($1,3,4)} | birch 34
fable 35
delta 60
fable 6
ember 23
birch 24
juniper 57
grove 49
birch 65
| rch
ble
lta
ble
ber
rch
nipe
ove
rch
| cobalt 41
birch 3
indigo 65
cobalt 40
grove 111
birch 66
birch 47
indigo 22
| balt
rch
digo
balt
ove
rch
rch
digo
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038242 | qwen/qwen3.7-plus |
awkweave-0038243 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_ember 61
amber_amber 54
birch_delta 93
delta_juniper 107
delta_delta 44
cobalt_harbor 14
| grove ember
amber amber
birch delta
delta juniper
delta delta
cobalt harbor
| ember_indigo 47
ember_delta 37
cobalt_indigo 99
delta_grove 34
fable_grove 112
amber_fable 86
| ember indigo
ember delta
cobalt indigo
delta grove
fable grove
amber fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038243-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | grove_ember 61
amber_amber 54
birch_delta 93
delta_juniper 107
delta_delta 44
cobalt_harbor 14
| grove ember
amber amber
birch delta
delta juniper
delta delta
cobalt harbor
| ember_indigo 47
ember_delta 37
cobalt_indigo 99
delta_grove 34
fable_grove 112
amber_fable 86
| ember indigo
ember delta
cobalt indigo
delta grove
fable grove
amber fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038243 | qwen/qwen3.7-plus |
awkweave-0038244 | 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)} | hana harbor 58 active
dina cobalt 35 active
jules harbor 33 pending
kim indigo 35 failed
chen cobalt 113 paused
farah harbor 107 closed
farah cobalt 24 pending
alice juniper 71 failed
| active 58 harbor hana
active 35 cobalt dina
pending 33 harbor jules
failed 35 indigo kim
paused 113 cobalt chen
closed 107 harbor farah
pending 24 cobalt farah
failed 71 juniper alice
| kim indigo 63 closed
gus grove 40 pending
bruno fable 38 active
farah juniper 34 ready
hana juniper 38 closed
chen delta 37 closed
dina harbor 92 ready
kim fable 49 active
| closed 63 indigo kim
pending 40 grove gus
active 38 fable bruno
ready 34 juniper farah
closed 38 juniper hana
closed 37 delta chen
ready 92 harbor dina
active 49 fable kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038244-p1 | Reverse the sequence of fields for every line and print the complete set of fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | hana harbor 58 active
dina cobalt 35 active
jules harbor 33 pending
kim indigo 35 failed
chen cobalt 113 paused
farah harbor 107 closed
farah cobalt 24 pending
alice juniper 71 failed
| active 58 harbor hana
active 35 cobalt dina
pending 33 harbor jules
failed 35 indigo kim
paused 113 cobalt chen
closed 107 harbor farah
pending 24 cobalt farah
failed 71 juniper alice
| kim indigo 63 closed
gus grove 40 pending
bruno fable 38 active
farah juniper 34 ready
hana juniper 38 closed
chen delta 37 closed
dina harbor 92 ready
kim fable 49 active
| closed 63 indigo kim
pending 40 grove gus
active 38 fable bruno
ready 34 juniper farah
closed 38 juniper hana
closed 37 delta chen
ready 92 harbor dina
active 49 fable kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038244 | qwen/qwen3.7-plus |
awkweave-0038245 | Print the number of whitespace-separated fields on each line. | {print NF} | dina grove 21 failed
ivan cobalt 40 failed
hana harbor 45 active
chen cobalt 41 closed
eli juniper 68 active
eli grove 38 ready
bruno indigo 51 active
eli ember 29 active
alice cobalt 39 paused
| 4
4
4
4
4
4
4
4
4
| eli ember 42 pending
hana ember 35 closed
lina grove 105 paused
kim grove 51 paused
chen fable 100 pending
lina harbor 24 active
hana juniper 43 pending
hana ember 51 paused
jules delta 61 pending
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038245-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | dina grove 21 failed
ivan cobalt 40 failed
hana harbor 45 active
chen cobalt 41 closed
eli juniper 68 active
eli grove 38 ready
bruno indigo 51 active
eli ember 29 active
alice cobalt 39 paused
| 4
4
4
4
4
4
4
4
4
| eli ember 42 pending
hana ember 35 closed
lina grove 105 paused
kim grove 51 paused
chen fable 100 pending
lina harbor 24 active
hana juniper 43 pending
hana ember 51 paused
jules delta 61 pending
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038245 | qwen/qwen3.7-plus |
awkweave-0038246 | 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]]} | farah alpha 25
kim alpha 53
alice alpha 2
farah delta 81
dina delta 41
alice beta 51
chen alpha 21
jules alpha 110
hana beta 111
| alpha 5
delta 2
beta 2
| hana beta 98
alice delta 117
farah delta 92
bruno beta 108
alice alpha 66
gus delta 98
farah beta 21
eli beta 0
| beta 4
delta 3
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038246-p1 | Tally the number of records for each distinct value in the second column, printing each value and its corresponding 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]]} | farah alpha 25
kim alpha 53
alice alpha 2
farah delta 81
dina delta 41
alice beta 51
chen alpha 21
jules alpha 110
hana beta 111
| alpha 5
delta 2
beta 2
| hana beta 98
alice delta 117
farah delta 92
bruno beta 108
alice alpha 66
gus delta 98
farah beta 21
eli beta 0
| beta 4
delta 3
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038246 | qwen/qwen3.7-plus |
awkweave-0038247 | 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 delta 23
dina beta 1
hana alpha 20
hana alpha 15
jules beta 24
bruno alpha 23
gus delta 13
hana delta 24
alice delta 13
lina delta 7
| delta 80
beta 25
alpha 58
| hana beta 30
farah beta 10
eli gamma 24
dina alpha 16
farah beta 8
farah alpha 21
gus delta 1
lina gamma 30
farah beta 2
lina gamma 21
| beta 50
gamma 75
alpha 37
delta 1
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038247-p1 | Calculate the sum of the third column for each group defined by the second column, displaying the results in the order of the groups' 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 delta 23
dina beta 1
hana alpha 20
hana alpha 15
jules beta 24
bruno alpha 23
gus delta 13
hana delta 24
alice delta 13
lina delta 7
| delta 80
beta 25
alpha 58
| hana beta 30
farah beta 10
eli gamma 24
dina alpha 16
farah beta 8
farah alpha 21
gus delta 1
lina gamma 30
farah beta 2
lina gamma 21
| beta 50
gamma 75
alpha 37
delta 1
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038247 | qwen/qwen3.7-plus |
awkweave-0038248 | 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 grove 17
beta juniper 34
beta delta 10
alpha delta 55
delta ember 109
beta cobalt 17
delta delta 13
| beta 4
delta 2
| gamma birch 23
delta delta 34
alpha birch 41
alpha birch 33
gamma ember 25
gamma birch 118
| gamma 3
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038248-p1 | List each unique value from the first column alongside its frequency count, maintaining the order in which they first appear. | {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 grove 17
beta juniper 34
beta delta 10
alpha delta 55
delta ember 109
beta cobalt 17
delta delta 13
| beta 4
delta 2
| gamma birch 23
delta delta 34
alpha birch 41
alpha birch 33
gamma ember 25
gamma birch 118
| gamma 3
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038248 | qwen/qwen3.7-plus |
awkweave-0038249 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note score record_id region
r001 farah 22 closed
r002 alice 19 paused
r003 dina 1 failed
r004 gus 20 closed
r005 hana 4 failed
r006 chen 21 failed
r007 gus 30 ready
r008 lina 12 closed
r009 dina 30 closed
| closed
paused
failed
closed
failed
failed
ready
closed
closed
| note score record_id region
r001 ivan 3 failed
r002 eli 8 ready
r003 gus 20 closed
r004 eli 15 closed
r005 hana 17 failed
r006 alice 16 paused
r007 hana 22 ready
r008 kim 4 active
| failed
ready
closed
closed
failed
paused
ready
active
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038249-p1 | Treat the initial row as a header and output the 'region' field for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note score record_id region
r001 farah 22 closed
r002 alice 19 paused
r003 dina 1 failed
r004 gus 20 closed
r005 hana 4 failed
r006 chen 21 failed
r007 gus 30 ready
r008 lina 12 closed
r009 dina 30 closed
| closed
paused
failed
closed
failed
failed
ready
closed
closed
| note score record_id region
r001 ivan 3 failed
r002 eli 8 ready
r003 gus 20 closed
r004 eli 15 closed
r005 hana 17 failed
r006 alice 16 paused
r007 hana 22 ready
r008 kim 4 active
| failed
ready
closed
closed
failed
paused
ready
active
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038249 | qwen/qwen3.7-plus |
awkweave-0038250 | The first row is a header. Print display_name for data rows whose score is greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 bruno 8 failed
r002 jules 4 ready
r003 bruno 21 closed
r004 jules 3 closed
r005 bruno 25 failed
r006 alice 8 failed
r007 alice 9 active
r008 ivan 7 paused
r009 gus 5 ready
| bruno
bruno
| record_id display_name score state
r001 hana 4 ready
r002 kim 16 ready
r003 farah 18 pending
r004 eli 27 pending
r005 farah 29 active
r006 hana 19 failed
| kim
farah
eli
farah
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038250-p1 | Ignoring the header row, display the 'display_name' field for records where the 'score' exceeds 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 bruno 8 failed
r002 jules 4 ready
r003 bruno 21 closed
r004 jules 3 closed
r005 bruno 25 failed
r006 alice 8 failed
r007 alice 9 active
r008 ivan 7 paused
r009 gus 5 ready
| bruno
bruno
| record_id display_name score state
r001 hana 4 ready
r002 kim 16 ready
r003 farah 18 pending
r004 eli 27 pending
r005 farah 29 active
r006 hana 19 failed
| kim
farah
eli
farah
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038250 | qwen/qwen3.7-plus |
awkweave-0038251 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | chen 8 pending
farah 1 ready
alice 22 pending
jules 20 ready
jules 14 active
alice 6 failed
| pending
ready
pending
ready
active
failed
| kim 6 paused
kim 1 ready
ivan 5 active
dina 25 failed
hana 25 pending
hana 29 paused
gus 12 active
kim 28 ready
| paused
ready
active
failed
pending
paused
active
ready
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038251-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | chen 8 pending
farah 1 ready
alice 22 pending
jules 20 ready
jules 14 active
alice 6 failed
| pending
ready
pending
ready
active
failed
| kim 6 paused
kim 1 ready
ivan 5 active
dina 25 failed
hana 25 pending
hana 29 paused
gus 12 active
kim 28 ready
| paused
ready
active
failed
pending
paused
active
ready
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0038251 | qwen/qwen3.7-plus |
awkweave-0038252 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 8. | BEGIN{FS=OFS=","}$2>8{print $1} | dina,17,failed
dina,15,failed
ivan,11,active
alice,3,failed
ivan,1,closed
lina,8,paused
hana,14,failed
chen,30,paused
| dina
dina
ivan
hana
chen
| lina,8,paused
chen,3,ready
ivan,30,paused
alice,5,pending
alice,19,paused
hana,5,paused
eli,9,pending
| ivan
alice
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038252-p1 | For simple CSV input without quoted commas, output the first column only if the second column's value is greater than 8. | BEGIN{FS=OFS=","}$2>8{print $1} | dina,17,failed
dina,15,failed
ivan,11,active
alice,3,failed
ivan,1,closed
lina,8,paused
hana,14,failed
chen,30,paused
| dina
dina
ivan
hana
chen
| lina,8,paused
chen,3,ready
ivan,30,paused
alice,5,pending
alice,19,paused
hana,5,paused
eli,9,pending
| ivan
alice
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038252 | qwen/qwen3.7-plus |
awkweave-0038253 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli cobalt 111
ivan birch 67
eli delta 1
kim indigo 18
chen fable 6
gus ember 90
| eli cobalt 111
ivan birch 67
eli delta 1
kim indigo 18
chen fable 6
gus ember 90
| lina amber 15
jules cobalt 117
eli indigo 12
jules ember 20
gus harbor 112
kim grove 92
dina fable 0
hana juniper 104
| lina amber 15
jules cobalt 117
eli indigo 12
jules ember 20
gus harbor 112
kim grove 92
dina fable 0
hana juniper 104
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038253-p1 | Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | eli cobalt 111
ivan birch 67
eli delta 1
kim indigo 18
chen fable 6
gus ember 90
| eli cobalt 111
ivan birch 67
eli delta 1
kim indigo 18
chen fable 6
gus ember 90
| lina amber 15
jules cobalt 117
eli indigo 12
jules ember 20
gus harbor 112
kim grove 92
dina fable 0
hana juniper 104
| lina amber 15
jules cobalt 117
eli indigo 12
jules ember 20
gus harbor 112
kim grove 92
dina fable 0
hana juniper 104
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038253 | qwen/qwen3.7-plus |
awkweave-0038254 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim amber 90 closed
kim fable 98 ready
lina ember 70 paused
lina indigo 52 closed
chen grove 97 ready
bruno grove 120 failed
ivan harbor 70 ready
| bruno grove 120 failed
| jules harbor 86 paused
farah juniper 103 closed
alice delta 14 pending
bruno delta 90 closed
alice indigo 107 pending
ivan amber 35 pending
lina birch 2 failed
chen amber 88 failed
jules amber 74 paused
kim indigo 108 active
| farah juniper 103 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038254-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | kim amber 90 closed
kim fable 98 ready
lina ember 70 paused
lina indigo 52 closed
chen grove 97 ready
bruno grove 120 failed
ivan harbor 70 ready
| bruno grove 120 failed
| jules harbor 86 paused
farah juniper 103 closed
alice delta 14 pending
bruno delta 90 closed
alice indigo 107 pending
ivan amber 35 pending
lina birch 2 failed
chen amber 88 failed
jules amber 74 paused
kim indigo 108 active
| farah juniper 103 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038254 | qwen/qwen3.7-plus |
awkweave-0038255 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | hana 29
chen 108
dina 12
chen 113
eli 118
gus 94
ivan 30
| hana 29
dina 12
eli 118
ivan 30
| gus 14
dina 19
dina 100
lina 89
hana 9
ivan 74
alice 31
farah 93
lina 19
ivan 45
| gus 14
dina 100
hana 9
alice 31
lina 19
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038255-p1 | Output every other line beginning with the first line (i.e., lines 1, 3, 5, etc.). | NR%2==1 | hana 29
chen 108
dina 12
chen 113
eli 118
gus 94
ivan 30
| hana 29
dina 12
eli 118
ivan 30
| gus 14
dina 19
dina 100
lina 89
hana 9
ivan 74
alice 31
farah 93
lina 19
ivan 45
| gus 14
dina 100
hana 9
alice 31
lina 19
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038255 | qwen/qwen3.7-plus |
awkweave-0038256 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 97
gamma indigo 117
alpha indigo 42
beta harbor 49
delta fable 19
alpha ember 81
beta juniper 12
alpha delta 73
| 4
| delta birch 106
delta indigo 9
delta amber 30
delta fable 79
delta ember 17
beta cobalt 66
| 2
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038256-p1 | Calculate the number of unique values present in the first column and print only this total count. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 97
gamma indigo 117
alpha indigo 42
beta harbor 49
delta fable 19
alpha ember 81
beta juniper 12
alpha delta 73
| 4
| delta birch 106
delta indigo 9
delta amber 30
delta fable 79
delta ember 17
beta cobalt 66
| 2
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038256 | qwen/qwen3.7-plus |
awkweave-0038257 | 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} | dina 1 0
eli 24 1
kim 13 9
gus 25 5
eli 27 7
alice 23 6
farah 28 21
eli 29 16
gus 2 25
| eli 24.00
kim 1.44
gus 5.00
eli 3.86
alice 3.83
farah 1.33
eli 1.81
gus 0.08
| eli 28 0
chen 10 21
kim 20 7
eli 9 23
alice 8 23
dina 14 2
| chen 0.48
kim 2.86
eli 0.39
alice 0.35
dina 7.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038257-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 1 0
eli 24 1
kim 13 9
gus 25 5
eli 27 7
alice 23 6
farah 28 21
eli 29 16
gus 2 25
| eli 24.00
kim 1.44
gus 5.00
eli 3.86
alice 3.83
farah 1.33
eli 1.81
gus 0.08
| eli 28 0
chen 10 21
kim 20 7
eli 9 23
alice 8 23
dina 14 2
| chen 0.48
kim 2.86
eli 0.39
alice 0.35
dina 7.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038257 | qwen/qwen3.7-plus |
awkweave-0038258 | 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]} | lina fable 26
bruno harbor 29
hana delta 2
ivan harbor 19
dina ember 22
lina harbor 22
eli harbor 10
farah cobalt 11
dina juniper 9
| bruno harbor 29
lina fable 26
dina ember 22
| chen birch 11
hana fable 28
jules harbor 16
lina amber 25
hana birch 8
bruno delta 23
bruno birch 27
eli birch 1
| hana fable 28
bruno birch 27
lina amber 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038258-p1 | Select the top three records with the highest numeric values in the third column, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | lina fable 26
bruno harbor 29
hana delta 2
ivan harbor 19
dina ember 22
lina harbor 22
eli harbor 10
farah cobalt 11
dina juniper 9
| bruno harbor 29
lina fable 26
dina ember 22
| chen birch 11
hana fable 28
jules harbor 16
lina amber 25
hana birch 8
bruno delta 23
bruno birch 27
eli birch 1
| hana fable 28
bruno birch 27
lina amber 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038258 | qwen/qwen3.7-plus |
awkweave-0038259 | For each line, output fields 4 and 2, in that order. | {print $4, $2} | active 83 hana 94
closed 79 dina 17
ready 115 lina 50
pending 26 kim 0
paused 45 bruno 84
pending 63 chen 7
active 0 dina 26
ready 117 gus 28
active 43 farah 10
| 94 83
17 79
50 115
0 26
84 45
7 63
26 0
28 117
10 43
| closed 60 ivan 19
paused 5 dina 25
failed 114 gus 105
closed 89 dina 34
pending 68 kim 54
active 53 gus 120
paused 4 lina 74
failed 39 bruno 0
| 19 60
25 5
105 114
34 89
54 68
120 53
74 4
0 39
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038259-p1 | For every line, print the fourth field followed by the second field. | {print $4, $2} | active 83 hana 94
closed 79 dina 17
ready 115 lina 50
pending 26 kim 0
paused 45 bruno 84
pending 63 chen 7
active 0 dina 26
ready 117 gus 28
active 43 farah 10
| 94 83
17 79
50 115
0 26
84 45
7 63
26 0
28 117
10 43
| closed 60 ivan 19
paused 5 dina 25
failed 114 gus 105
closed 89 dina 34
pending 68 kim 54
active 53 gus 120
paused 4 lina 74
failed 39 bruno 0
| 19 60
25 5
105 114
34 89
54 68
120 53
74 4
0 39
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038259 | qwen/qwen3.7-plus |
awkweave-0038260 | Print the last field of every input line. | {print $NF} | 9 harbor active 49 dina
119 fable pending 41 hana
27 cobalt failed 35 hana
3 indigo pending 31 alice
5 ember ready 43 gus
39 birch pending 93 ivan
64 juniper pending 84 lina
16 grove ready 73 eli
64 grove active 58 ivan
22 indigo closed 95 lina
| dina
hana
hana
alice
gus
ivan
lina
eli
ivan
lina
| 109 grove active 105 eli
74 indigo active 107 ivan
117 ember paused 98 dina
105 grove closed 31 lina
103 grove ready 92 kim
106 harbor closed 81 eli
102 birch closed 115 hana
106 amber closed 15 lina
4 fable ready 117 bruno
| eli
ivan
dina
lina
kim
eli
hana
lina
bruno
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038260-p1 | Output the final field from each line of input. | {print $NF} | 9 harbor active 49 dina
119 fable pending 41 hana
27 cobalt failed 35 hana
3 indigo pending 31 alice
5 ember ready 43 gus
39 birch pending 93 ivan
64 juniper pending 84 lina
16 grove ready 73 eli
64 grove active 58 ivan
22 indigo closed 95 lina
| dina
hana
hana
alice
gus
ivan
lina
eli
ivan
lina
| 109 grove active 105 eli
74 indigo active 107 ivan
117 ember paused 98 dina
105 grove closed 31 lina
103 grove ready 92 kim
106 harbor closed 81 eli
102 birch closed 115 hana
106 amber closed 15 lina
4 fable ready 117 bruno
| eli
ivan
dina
lina
kim
eli
hana
lina
bruno
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038260 | qwen/qwen3.7-plus |
awkweave-0038261 | Print the complete records where column 2 is at most 20. | $2 <= 20 | gus 109 harbor
gus 70 delta
chen 13 ember
lina 47 cobalt
eli 111 harbor
chen 81 amber
| chen 13 ember
| kim 53 fable
jules 114 ember
farah 37 fable
farah 67 birch
chen 107 cobalt
kim 57 ember
lina 106 indigo
chen 80 indigo
chen 105 delta
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0038261-p1 | Display full records where the value in the second column is less than or equal to 20. | $2 <= 20 | gus 109 harbor
gus 70 delta
chen 13 ember
lina 47 cobalt
eli 111 harbor
chen 81 amber
| chen 13 ember
| kim 53 fable
jules 114 ember
farah 37 fable
farah 67 birch
chen 107 cobalt
kim 57 ember
lina 106 indigo
chen 80 indigo
chen 105 delta
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038261 | qwen/qwen3.7-plus | |
awkweave-0038262 | Show whole lines whose 2nd field is between 4 and 24, inclusive. | $2 >= 4 && $2 <= 24 | paused 8 grove indigo
ready 8 juniper fable
active 16 harbor juniper
failed 21 juniper fable
active 7 harbor grove
paused 15 grove delta
ready 19 grove indigo
pending 9 fable delta
active 4 ember harbor
failed 3 delta grove
| paused 8 grove indigo
ready 8 juniper fable
active 16 harbor juniper
failed 21 juniper fable
active 7 harbor grove
paused 15 grove delta
ready 19 grove indigo
pending 9 fable delta
active 4 ember harbor
| paused 26 delta indigo
ready 24 grove harbor
closed 29 fable delta
ready 17 cobalt harbor
failed 1 grove grove
failed 19 ember ember
ready 6 delta delta
ready 12 juniper amber
| ready 24 grove harbor
ready 17 cobalt harbor
failed 19 ember ember
ready 6 delta delta
ready 12 juniper amber
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038262-p1 | Show entire lines where the second field falls within the inclusive range of 4 to 24. | $2 >= 4 && $2 <= 24 | paused 8 grove indigo
ready 8 juniper fable
active 16 harbor juniper
failed 21 juniper fable
active 7 harbor grove
paused 15 grove delta
ready 19 grove indigo
pending 9 fable delta
active 4 ember harbor
failed 3 delta grove
| paused 8 grove indigo
ready 8 juniper fable
active 16 harbor juniper
failed 21 juniper fable
active 7 harbor grove
paused 15 grove delta
ready 19 grove indigo
pending 9 fable delta
active 4 ember harbor
| paused 26 delta indigo
ready 24 grove harbor
closed 29 fable delta
ready 17 cobalt harbor
failed 1 grove grove
failed 19 ember ember
ready 6 delta delta
ready 12 juniper amber
| ready 24 grove harbor
ready 17 cobalt harbor
failed 19 ember ember
ready 6 delta delta
ready 12 juniper amber
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038262 | qwen/qwen3.7-plus |
awkweave-0038263 | Print column 2 only for rows where column 4 is exactly active. | $4 == "active"{print $2} | amber hana 86 failed
birch chen 45 failed
juniper jules 73 paused
birch eli 116 active
juniper hana 30 pending
fable hana 43 closed
indigo alice 22 closed
ember dina 20 ready
| eli
| amber lina 24 closed
juniper eli 10 pending
harbor alice 21 failed
grove hana 46 active
indigo farah 11 pending
juniper gus 70 pending
delta ivan 5 active
indigo alice 20 failed
delta dina 93 ready
| hana
ivan
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038263-p1 | Extract and print only the second column for rows where the fourth column matches 'active' exactly. | $4 == "active"{print $2} | amber hana 86 failed
birch chen 45 failed
juniper jules 73 paused
birch eli 116 active
juniper hana 30 pending
fable hana 43 closed
indigo alice 22 closed
ember dina 20 ready
| eli
| amber lina 24 closed
juniper eli 10 pending
harbor alice 21 failed
grove hana 46 active
indigo farah 11 pending
juniper gus 70 pending
delta ivan 5 active
indigo alice 20 failed
delta dina 93 ready
| hana
ivan
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038263 | qwen/qwen3.7-plus |
awkweave-0038264 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | DEBUG ember 27
ERROR ember 51
DEBUG amber 1
DEBUG fable 23
WARN indigo 109
WARN ember 102
INFO birch 22
ERROR juniper 100
| ERROR ember 51
ERROR juniper 100
| DEBUG amber 53
DEBUG juniper 30
INFO delta 1
INFO cobalt 61
INFO amber 23
INFO fable 46
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0038264-p1 | Print all fields from lines where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | DEBUG ember 27
ERROR ember 51
DEBUG amber 1
DEBUG fable 23
WARN indigo 109
WARN ember 102
INFO birch 22
ERROR juniper 100
| ERROR ember 51
ERROR juniper 100
| DEBUG amber 53
DEBUG juniper 30
INFO delta 1
INFO cobalt 61
INFO amber 23
INFO fable 46
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038264 | qwen/qwen3.7-plus | |
awkweave-0038265 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | amber 86 pending
cobalt 3 active
juniper 69 closed
cobalt 109 closed
amber 56 failed
cobalt 72 closed
indigo 1 active
grove 49 ready
grove 999 active
| amber 86 pending
cobalt 3 active
juniper 69 closed
cobalt 109 closed
amber 56 failed
cobalt 72 closed
indigo 1 active
| delta 22 ready
cobalt 53 failed
delta 42 ready
indigo 34 closed
delta 57 pending
juniper 87 closed
birch 8 pending
birch 64 active
grove 999 active
| delta 22 ready
cobalt 53 failed
delta 42 ready
indigo 34 closed
delta 57 pending
juniper 87 closed
birch 8 pending
birch 64 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038265-p1 | Output every line that does not contain the exact substring 'grove'. | $0 !~ /grove/ | amber 86 pending
cobalt 3 active
juniper 69 closed
cobalt 109 closed
amber 56 failed
cobalt 72 closed
indigo 1 active
grove 49 ready
grove 999 active
| amber 86 pending
cobalt 3 active
juniper 69 closed
cobalt 109 closed
amber 56 failed
cobalt 72 closed
indigo 1 active
| delta 22 ready
cobalt 53 failed
delta 42 ready
indigo 34 closed
delta 57 pending
juniper 87 closed
birch 8 pending
birch 64 active
grove 999 active
| delta 22 ready
cobalt 53 failed
delta 42 ready
indigo 34 closed
delta 57 pending
juniper 87 closed
birch 8 pending
birch 64 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038265 | qwen/qwen3.7-plus |
awkweave-0038266 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | dina amber 87
farah cobalt 31
hana cobalt 25
ivan grove 19
ivan juniper 51
chen juniper 31
hana ember 56
| hana cobalt 25
ivan grove 19
ivan juniper 51
chen juniper 31
| gus indigo 19
farah grove 30
dina juniper 35
gus juniper 48
kim harbor 81
ivan juniper 7
bruno cobalt 55
alice indigo 33
lina birch 35
| dina juniper 35
gus juniper 48
kim harbor 81
ivan juniper 7
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038266-p1 | Print lines numbered 3 through 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | dina amber 87
farah cobalt 31
hana cobalt 25
ivan grove 19
ivan juniper 51
chen juniper 31
hana ember 56
| hana cobalt 25
ivan grove 19
ivan juniper 51
chen juniper 31
| gus indigo 19
farah grove 30
dina juniper 35
gus juniper 48
kim harbor 81
ivan juniper 7
bruno cobalt 55
alice indigo 33
lina birch 35
| dina juniper 35
gus juniper 48
kim harbor 81
ivan juniper 7
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038266 | qwen/qwen3.7-plus |
awkweave-0038267 | Output only the first 3 records. | NR <= 3 | kim 81 juniper
eli 99 fable
jules 116 delta
alice 10 harbor
eli 72 birch
bruno 5 fable
kim 22 amber
dina 97 indigo
farah 117 harbor
| kim 81 juniper
eli 99 fable
jules 116 delta
| lina 79 fable
lina 7 fable
bruno 41 indigo
eli 23 delta
farah 112 delta
bruno 80 juniper
dina 1 fable
bruno 59 harbor
hana 45 fable
alice 66 birch
| lina 79 fable
lina 7 fable
bruno 41 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038267-p1 | Output only the first 3 records from the input. | NR <= 3 | kim 81 juniper
eli 99 fable
jules 116 delta
alice 10 harbor
eli 72 birch
bruno 5 fable
kim 22 amber
dina 97 indigo
farah 117 harbor
| kim 81 juniper
eli 99 fable
jules 116 delta
| lina 79 fable
lina 7 fable
bruno 41 indigo
eli 23 delta
farah 112 delta
bruno 80 juniper
dina 1 fable
bruno 59 harbor
hana 45 fable
alice 66 birch
| lina 79 fable
lina 7 fable
bruno 41 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038267 | qwen/qwen3.7-plus |
awkweave-0038268 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 113 ember
gus 93 fable
alice 109 fable
eli 99 ember
bruno 1 harbor
dina 88 delta
hana 71 birch
| gus 93 fable
alice 109 fable
eli 99 ember
bruno 1 harbor
dina 88 delta
hana 71 birch
| chen 52 grove
farah 55 birch
dina 48 cobalt
kim 44 amber
alice 3 amber
gus 110 ember
lina 40 harbor
bruno 32 grove
| farah 55 birch
dina 48 cobalt
kim 44 amber
alice 3 amber
gus 110 ember
lina 40 harbor
bruno 32 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038268-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | gus 113 ember
gus 93 fable
alice 109 fable
eli 99 ember
bruno 1 harbor
dina 88 delta
hana 71 birch
| gus 93 fable
alice 109 fable
eli 99 ember
bruno 1 harbor
dina 88 delta
hana 71 birch
| chen 52 grove
farah 55 birch
dina 48 cobalt
kim 44 amber
alice 3 amber
gus 110 ember
lina 40 harbor
bruno 32 grove
| farah 55 birch
dina 48 cobalt
kim 44 amber
alice 3 amber
gus 110 ember
lina 40 harbor
bruno 32 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038268 | qwen/qwen3.7-plus |
awkweave-0038269 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | eli active 47
gus failed 35
bruno ready 116
kim paused 116
kim failed 36
lina active 113
kim active 57
chen closed 93
chen closed 92
dina pending 13
| 3
| jules ready 34
eli paused 46
lina paused 86
farah active 24
ivan closed 108
lina ready 22
lina paused 37
alice failed 110
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038269-p1 | Count the number of records where the second column is 'active', and output 0 if no such records exist. | $2 == "active"{n++}END{print n+0} | eli active 47
gus failed 35
bruno ready 116
kim paused 116
kim failed 36
lina active 113
kim active 57
chen closed 93
chen closed 92
dina pending 13
| 3
| jules ready 34
eli paused 46
lina paused 86
farah active 24
ivan closed 108
lina ready 22
lina paused 37
alice failed 110
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038269 | qwen/qwen3.7-plus |
awkweave-0038270 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 22 juniper jules
20 grove chen
19 indigo farah
28 ember bruno
11 indigo bruno
16 ember alice
23 indigo lina
3 fable farah
7 cobalt dina
26 harbor farah
| 175
| 11 grove chen
8 cobalt bruno
7 delta eli
4 indigo kim
17 juniper bruno
10 ember alice
| 57
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0038270-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 22 juniper jules
20 grove chen
19 indigo farah
28 ember bruno
11 indigo bruno
16 ember alice
23 indigo lina
3 fable farah
7 cobalt dina
26 harbor farah
| 175
| 11 grove chen
8 cobalt bruno
7 delta eli
4 indigo kim
17 juniper bruno
10 ember alice
| 57
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0038270 | qwen/qwen3.7-plus |
awkweave-0038271 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | ember 6 eli
cobalt 29 hana
delta 17 lina
birch 17 chen
birch 26 jules
ember 19 gus
| 19.00
| grove 4 alice
delta 18 eli
delta 2 kim
amber 6 dina
grove 22 kim
birch 13 lina
amber 18 lina
| 11.86
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.