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-0037051-p1 | Print the final field from each input line. | {print $NF} | pending failed 19
paused active 39
paused pending 3
pending ready 120
failed ready 111
pending paused 72
active failed 112
ready pending 93
ready closed 45
active paused 119
| 19
39
3
120
111
72
112
93
45
119
| active failed 24
pending pending 107
active failed 62
failed closed 102
paused failed 16
pending closed 24
| 24
107
62
102
16
24
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037051 | qwen/qwen3.7-plus |
awkweave-0037052 | Print the complete records where column 3 is at most 75. | $3 <= 75 | indigo paused 64 closed grove
juniper closed 93 pending harbor
harbor active 72 failed delta
cobalt failed 120 closed grove
cobalt paused 65 pending juniper
fable closed 67 ready birch
amber ready 18 failed fable
| indigo paused 64 closed grove
harbor active 72 failed delta
cobalt paused 65 pending juniper
fable closed 67 ready birch
amber ready 18 failed fable
| grove pending 103 closed cobalt
amber active 77 ready delta
delta failed 94 ready delta
juniper pending 18 closed ember
fable failed 28 failed amber
juniper ready 59 ready fable
amber failed 8 pending birch
harbor pending 60 paused amber
amber active 67 ready cobalt
ember pending 120 active indigo
| juniper pending 18 closed ember
fable failed 28 failed amber
juniper ready 59 ready fable
amber failed 8 pending birch
harbor pending 60 paused amber
amber active 67 ready cobalt
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037052-p1 | Output the complete records where the value in column 3 is less than or equal to 75. | $3 <= 75 | indigo paused 64 closed grove
juniper closed 93 pending harbor
harbor active 72 failed delta
cobalt failed 120 closed grove
cobalt paused 65 pending juniper
fable closed 67 ready birch
amber ready 18 failed fable
| indigo paused 64 closed grove
harbor active 72 failed delta
cobalt paused 65 pending juniper
fable closed 67 ready birch
amber ready 18 failed fable
| grove pending 103 closed cobalt
amber active 77 ready delta
delta failed 94 ready delta
juniper pending 18 closed ember
fable failed 28 failed amber
juniper ready 59 ready fable
amber failed 8 pending birch
harbor pending 60 paused amber
amber active 67 ready cobalt
ember pending 120 active indigo
| juniper pending 18 closed ember
fable failed 28 failed amber
juniper ready 59 ready fable
amber failed 8 pending birch
harbor pending 60 paused amber
amber active 67 ready cobalt
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037052 | qwen/qwen3.7-plus |
awkweave-0037053 | Show whole lines whose 1st field is between 5 and 18, inclusive. | $1 >= 5 && $1 <= 18 | 13 lina amber ready
5 alice birch closed
13 bruno grove ready
8 farah amber active
8 kim birch ready
25 hana harbor ready
16 gus indigo failed
11 lina amber failed
3 kim indigo failed
3 dina ember failed
| 13 lina amber ready
5 alice birch closed
13 bruno grove ready
8 farah amber active
8 kim birch ready
16 gus indigo failed
11 lina amber failed
| 27 ivan delta failed
8 jules harbor failed
30 farah birch closed
6 eli fable active
26 gus harbor paused
24 alice cobalt paused
25 ivan ember active
| 8 jules harbor failed
6 eli fable active
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037053-p1 | Display entire lines where the first field falls within the inclusive range of 5 to 18. | $1 >= 5 && $1 <= 18 | 13 lina amber ready
5 alice birch closed
13 bruno grove ready
8 farah amber active
8 kim birch ready
25 hana harbor ready
16 gus indigo failed
11 lina amber failed
3 kim indigo failed
3 dina ember failed
| 13 lina amber ready
5 alice birch closed
13 bruno grove ready
8 farah amber active
8 kim birch ready
16 gus indigo failed
11 lina amber failed
| 27 ivan delta failed
8 jules harbor failed
30 farah birch closed
6 eli fable active
26 gus harbor paused
24 alice cobalt paused
25 ivan ember active
| 8 jules harbor failed
6 eli fable active
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037053 | qwen/qwen3.7-plus |
awkweave-0037054 | Print column 1 only for rows where column 4 is exactly closed. | $4 == "closed"{print $1} | gus birch 118 paused
farah fable 52 paused
jules grove 52 paused
bruno delta 48 failed
eli fable 89 active
kim amber 69 paused
eli amber 116 pending
bruno harbor 88 closed
| bruno
| alice birch 64 closed
dina juniper 85 closed
bruno amber 77 active
bruno cobalt 10 failed
chen fable 22 pending
hana ember 25 paused
ivan indigo 65 failed
gus indigo 87 pending
chen harbor 38 paused
hana birch 69 ready
| alice
dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037054-p1 | Output only column 1 for rows where column 4 is exactly 'closed'. | $4 == "closed"{print $1} | gus birch 118 paused
farah fable 52 paused
jules grove 52 paused
bruno delta 48 failed
eli fable 89 active
kim amber 69 paused
eli amber 116 pending
bruno harbor 88 closed
| bruno
| alice birch 64 closed
dina juniper 85 closed
bruno amber 77 active
bruno cobalt 10 failed
chen fable 22 pending
hana ember 25 paused
ivan indigo 65 failed
gus indigo 87 pending
chen harbor 38 paused
hana birch 69 ready
| alice
dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037054 | qwen/qwen3.7-plus |
awkweave-0037055 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | WARN 7 delta
ERROR 59 ember
DEBUG 117 delta
ERROR 96 juniper
DEBUG 119 delta
INFO 85 amber
DEBUG 46 indigo
INFO 41 fable
| INFO 85 amber
INFO 41 fable
| WARN 31 indigo
DEBUG 77 grove
INFO 14 amber
ERROR 106 indigo
WARN 67 grove
ERROR 41 cobalt
DEBUG 6 ember
ERROR 107 amber
| INFO 14 amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037055-p1 | Print all fields from lines where the first field starts with 'INFO'. | $1 ~ /^INFO/ | WARN 7 delta
ERROR 59 ember
DEBUG 117 delta
ERROR 96 juniper
DEBUG 119 delta
INFO 85 amber
DEBUG 46 indigo
INFO 41 fable
| INFO 85 amber
INFO 41 fable
| WARN 31 indigo
DEBUG 77 grove
INFO 14 amber
ERROR 106 indigo
WARN 67 grove
ERROR 41 cobalt
DEBUG 6 ember
ERROR 107 amber
| INFO 14 amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037055 | qwen/qwen3.7-plus |
awkweave-0037056 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | delta 78 pending
indigo 37 closed
cobalt 99 failed
ember 33 paused
cobalt 14 paused
ember 61 ready
juniper 999 active
| delta 78 pending
indigo 37 closed
cobalt 99 failed
ember 33 paused
cobalt 14 paused
ember 61 ready
| birch 74 paused
harbor 72 closed
grove 114 pending
cobalt 88 active
cobalt 68 active
harbor 56 failed
birch 53 closed
amber 81 active
juniper 999 active
| birch 74 paused
harbor 72 closed
grove 114 pending
cobalt 88 active
cobalt 68 active
harbor 56 failed
birch 53 closed
amber 81 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037056-p1 | Print every line that does not contain the exact string 'juniper'. | $0 !~ /juniper/ | delta 78 pending
indigo 37 closed
cobalt 99 failed
ember 33 paused
cobalt 14 paused
ember 61 ready
juniper 999 active
| delta 78 pending
indigo 37 closed
cobalt 99 failed
ember 33 paused
cobalt 14 paused
ember 61 ready
| birch 74 paused
harbor 72 closed
grove 114 pending
cobalt 88 active
cobalt 68 active
harbor 56 failed
birch 53 closed
amber 81 active
juniper 999 active
| birch 74 paused
harbor 72 closed
grove 114 pending
cobalt 88 active
cobalt 68 active
harbor 56 failed
birch 53 closed
amber 81 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037056 | qwen/qwen3.7-plus |
awkweave-0037057 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | gus ember 42
kim birch 89
eli indigo 56
farah delta 15
farah juniper 57
gus delta 34
jules juniper 27
dina delta 55
bruno birch 18
| eli indigo 56
farah delta 15
farah juniper 57
| ivan grove 102
eli juniper 28
lina grove 85
ivan amber 66
lina cobalt 60
bruno delta 117
dina fable 87
farah cobalt 53
| lina grove 85
ivan amber 66
lina cobalt 60
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037057-p1 | Output lines 3 through 5, inclusive. | NR >= 3 && NR <= 5 | gus ember 42
kim birch 89
eli indigo 56
farah delta 15
farah juniper 57
gus delta 34
jules juniper 27
dina delta 55
bruno birch 18
| eli indigo 56
farah delta 15
farah juniper 57
| ivan grove 102
eli juniper 28
lina grove 85
ivan amber 66
lina cobalt 60
bruno delta 117
dina fable 87
farah cobalt 53
| lina grove 85
ivan amber 66
lina cobalt 60
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037057 | qwen/qwen3.7-plus |
awkweave-0037058 | Output only the first 5 records. | NR <= 5 | jules 87 ember
hana 34 delta
hana 9 indigo
alice 44 grove
ivan 74 indigo
jules 69 grove
ivan 81 delta
| jules 87 ember
hana 34 delta
hana 9 indigo
alice 44 grove
ivan 74 indigo
| alice 113 juniper
chen 86 ember
gus 56 ember
eli 16 juniper
hana 53 ember
dina 5 delta
| alice 113 juniper
chen 86 ember
gus 56 ember
eli 16 juniper
hana 53 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037058-p1 | Output only the first 5 records. | NR <= 5 | jules 87 ember
hana 34 delta
hana 9 indigo
alice 44 grove
ivan 74 indigo
jules 69 grove
ivan 81 delta
| jules 87 ember
hana 34 delta
hana 9 indigo
alice 44 grove
ivan 74 indigo
| alice 113 juniper
chen 86 ember
gus 56 ember
eli 16 juniper
hana 53 ember
dina 5 delta
| alice 113 juniper
chen 86 ember
gus 56 ember
eli 16 juniper
hana 53 ember
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0037058 | qwen/qwen3.7-plus |
awkweave-0037059 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 108 delta
bruno 77 delta
farah 84 grove
chen 73 cobalt
hana 39 fable
ivan 78 harbor
| bruno 77 delta
farah 84 grove
chen 73 cobalt
hana 39 fable
ivan 78 harbor
| jules 29 birch
jules 14 harbor
bruno 23 grove
eli 77 amber
kim 41 amber
bruno 86 harbor
| jules 14 harbor
bruno 23 grove
eli 77 amber
kim 41 amber
bruno 86 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037059-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | farah 108 delta
bruno 77 delta
farah 84 grove
chen 73 cobalt
hana 39 fable
ivan 78 harbor
| bruno 77 delta
farah 84 grove
chen 73 cobalt
hana 39 fable
ivan 78 harbor
| jules 29 birch
jules 14 harbor
bruno 23 grove
eli 77 amber
kim 41 amber
bruno 86 harbor
| jules 14 harbor
bruno 23 grove
eli 77 amber
kim 41 amber
bruno 86 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037059 | qwen/qwen3.7-plus |
awkweave-0037060 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | gus paused 108
ivan closed 29
farah failed 80
jules paused 10
gus pending 100
dina paused 117
chen ready 60
kim failed 48
lina closed 21
bruno closed 76
| 3
| dina failed 51
jules pending 23
alice failed 48
bruno failed 2
hana pending 34
dina paused 57
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037060-p1 | Determine the number of entries in column 2 that are marked as 'closed', outputting 0 if no such entries exist. | $2 == "closed"{n++}END{print n+0} | gus paused 108
ivan closed 29
farah failed 80
jules paused 10
gus pending 100
dina paused 117
chen ready 60
kim failed 48
lina closed 21
bruno closed 76
| 3
| dina failed 51
jules pending 23
alice failed 48
bruno failed 2
hana pending 34
dina paused 57
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037060 | qwen/qwen3.7-plus |
awkweave-0037061 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | gus 13 harbor
lina 20 harbor
lina 3 ember
ivan 6 harbor
alice 15 delta
hana 14 cobalt
ivan 23 grove
kim 6 harbor
| 100
| hana 20 indigo
bruno 6 grove
alice 19 ember
dina 30 birch
alice 16 indigo
ivan 4 grove
jules 28 grove
alice 29 amber
kim 27 cobalt
lina 23 juniper
| 202
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037061-p1 | Compute the total sum of all integer values found in column 2 and display the result. | {s+=$2}END{print s+0} | gus 13 harbor
lina 20 harbor
lina 3 ember
ivan 6 harbor
alice 15 delta
hana 14 cobalt
ivan 23 grove
kim 6 harbor
| 100
| hana 20 indigo
bruno 6 grove
alice 19 ember
dina 30 birch
alice 16 indigo
ivan 4 grove
jules 28 grove
alice 29 amber
kim 27 cobalt
lina 23 juniper
| 202
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037061 | qwen/qwen3.7-plus |
awkweave-0037062 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 12 chen indigo
2 lina juniper
22 gus fable
6 eli amber
21 bruno amber
18 alice delta
15 gus juniper
| 13.71
| 6 jules fable
1 hana cobalt
12 gus harbor
16 farah harbor
27 kim fable
29 farah juniper
9 hana cobalt
4 hana amber
| 13.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037062-p1 | Output the average of the values in column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 12 chen indigo
2 lina juniper
22 gus fable
6 eli amber
21 bruno amber
18 alice delta
15 gus juniper
| 13.71
| 6 jules fable
1 hana cobalt
12 gus harbor
16 farah harbor
27 kim fable
29 farah juniper
9 hana cobalt
4 hana amber
| 13.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037062 | qwen/qwen3.7-plus |
awkweave-0037063 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber ivan 4
indigo alice 11
cobalt hana 20
fable bruno 12
fable farah 7
cobalt jules 20
indigo lina 27
indigo alice 17
grove dina 25
delta hana 28
| 4
| indigo gus 1
ember ivan 19
grove ivan 2
fable gus 30
indigo kim 25
grove farah 27
juniper farah 30
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037063-p1 | Identify and display the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber ivan 4
indigo alice 11
cobalt hana 20
fable bruno 12
fable farah 7
cobalt jules 20
indigo lina 27
indigo alice 17
grove dina 25
delta hana 28
| 4
| indigo gus 1
ember ivan 19
grove ivan 2
fable gus 30
indigo kim 25
grove farah 27
juniper farah 30
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037063 | qwen/qwen3.7-plus |
awkweave-0037064 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | hana 21 grove
alice 16 indigo
farah 20 indigo
bruno 20 amber
dina 21 juniper
ivan 30 ember
| 30
| chen 12 cobalt
farah 19 juniper
alice 27 birch
chen 28 amber
alice 8 fable
gus 7 grove
jules 7 harbor
hana 1 birch
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037064-p1 | Identify and display the maximum numeric value present in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | hana 21 grove
alice 16 indigo
farah 20 indigo
bruno 20 amber
dina 21 juniper
ivan 30 ember
| 30
| chen 12 cobalt
farah 19 juniper
alice 27 birch
chen 28 amber
alice 8 fable
gus 7 grove
jules 7 harbor
hana 1 birch
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037064 | qwen/qwen3.7-plus |
awkweave-0037065 | Count all input records and print the total. | END{print NR} | chen 30
jules 119
hana 77
jules 79
lina 64
gus 37
lina 118
ivan 37
lina 101
gus 11
| 10
| jules 3
chen 66
ivan 54
gus 19
lina 25
gus 46
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037065-p1 | Count the total number of input lines and print this count. | END{print NR} | chen 30
jules 119
hana 77
jules 79
lina 64
gus 37
lina 118
ivan 37
lina 101
gus 11
| 10
| jules 3
chen 66
ivan 54
gus 19
lina 25
gus 46
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037065 | qwen/qwen3.7-plus |
awkweave-0037066 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim amber 44
bruno ember 11
chen indigo 44
gus harbor 100
lina grove 11
kim ember 119
chen indigo 44
| kim amber 44
bruno ember 11
chen indigo 44
gus harbor 100
lina grove 11
kim ember 119
| farah amber 84
jules grove 25
eli cobalt 41
lina delta 7
jules cobalt 84
lina indigo 100
jules grove 25
bruno delta 38
| farah amber 84
jules grove 25
eli cobalt 41
lina delta 7
jules cobalt 84
lina indigo 100
bruno delta 38
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037066-p1 | Eliminate duplicate lines by keeping only the first instance of each unique line, maintaining the original sequence. | !seen[$0]++ | kim amber 44
bruno ember 11
chen indigo 44
gus harbor 100
lina grove 11
kim ember 119
chen indigo 44
| kim amber 44
bruno ember 11
chen indigo 44
gus harbor 100
lina grove 11
kim ember 119
| farah amber 84
jules grove 25
eli cobalt 41
lina delta 7
jules cobalt 84
lina indigo 100
jules grove 25
bruno delta 38
| farah amber 84
jules grove 25
eli cobalt 41
lina delta 7
jules cobalt 84
lina indigo 100
bruno delta 38
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037066 | qwen/qwen3.7-plus |
awkweave-0037067 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | farah harbor 69
bruno delta 107
hana fable 2
lina grove 72
chen delta 39
farah grove 94
ivan ember 16
ivan grove 115
jules harbor 89
lina indigo 120
| farah harbor 69
bruno delta 107
hana fable 2
lina grove 72
ivan ember 16
lina indigo 120
| eli grove 84
farah amber 0
jules grove 32
bruno birch 95
alice harbor 93
kim fable 9
| eli grove 84
farah amber 0
bruno birch 95
alice harbor 93
kim fable 9
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037067-p1 | Retain only the first occurrence of each unique value in column 2, ensuring the original input order is preserved. | !seen[$2]++ | farah harbor 69
bruno delta 107
hana fable 2
lina grove 72
chen delta 39
farah grove 94
ivan ember 16
ivan grove 115
jules harbor 89
lina indigo 120
| farah harbor 69
bruno delta 107
hana fable 2
lina grove 72
ivan ember 16
lina indigo 120
| eli grove 84
farah amber 0
jules grove 32
bruno birch 95
alice harbor 93
kim fable 9
| eli grove 84
farah amber 0
bruno birch 95
alice harbor 93
kim fable 9
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037067 | qwen/qwen3.7-plus |
awkweave-0037068 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 15 grove
kim 12 harbor
ivan 18 grove
ivan 6 harbor
chen 13 indigo
gus 24 birch
jules 11 ember
chen 5 amber
hana 23 delta
chen 16 fable
| jules 15
kim 27
ivan 45
ivan 51
chen 64
gus 88
jules 99
chen 104
hana 127
chen 143
| ivan 19 harbor
bruno 13 indigo
hana 6 amber
alice 25 ember
farah 23 ember
jules 21 amber
dina 17 cobalt
kim 22 fable
chen 30 indigo
| ivan 19
bruno 32
hana 38
alice 63
farah 86
jules 107
dina 124
kim 146
chen 176
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037068-p1 | For every record, output column 1 alongside the cumulative sum of column 2 up to that row, separated by a space. | {s+=$2;print $1,s} | jules 15 grove
kim 12 harbor
ivan 18 grove
ivan 6 harbor
chen 13 indigo
gus 24 birch
jules 11 ember
chen 5 amber
hana 23 delta
chen 16 fable
| jules 15
kim 27
ivan 45
ivan 51
chen 64
gus 88
jules 99
chen 104
hana 127
chen 143
| ivan 19 harbor
bruno 13 indigo
hana 6 amber
alice 25 ember
farah 23 ember
jules 21 amber
dina 17 cobalt
kim 22 fable
chen 30 indigo
| ivan 19
bruno 32
hana 38
alice 63
farah 86
jules 107
dina 124
kim 146
chen 176
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037068 | qwen/qwen3.7-plus |
awkweave-0037069 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 13 4 harbor
chen 16 4 cobalt
jules 2 16 fable
ivan 12 25 juniper
ivan 2 22 fable
kim 8 19 harbor
| kim 17
chen 20
jules 18
ivan 37
ivan 24
kim 27
| jules 1 16 birch
lina 14 25 ember
hana 12 12 amber
hana 15 13 harbor
dina 7 12 harbor
ivan 17 22 cobalt
| jules 17
lina 39
hana 24
hana 28
dina 19
ivan 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037069-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 13 4 harbor
chen 16 4 cobalt
jules 2 16 fable
ivan 12 25 juniper
ivan 2 22 fable
kim 8 19 harbor
| kim 17
chen 20
jules 18
ivan 37
ivan 24
kim 27
| jules 1 16 birch
lina 14 25 ember
hana 12 12 amber
hana 15 13 harbor
dina 7 12 harbor
ivan 17 22 cobalt
| jules 17
lina 39
hana 24
hana 28
dina 19
ivan 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037069 | qwen/qwen3.7-plus |
awkweave-0037070 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | alice 19
ivan 16
bruno 18
bruno 5
farah 9
ivan 28
chen 26
bruno 18
| alice fail
ivan fail
bruno fail
bruno fail
farah fail
ivan pass
chen pass
bruno fail
| chen 13
dina 28
ivan 4
jules 11
jules 14
hana 4
alice 7
chen 15
lina 23
| chen fail
dina pass
ivan fail
jules fail
jules fail
hana fail
alice fail
chen fail
lina pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037070-p1 | Print the value from column 1 followed by 'pass' if column 2 is greater than or equal to 21; otherwise, print 'fail'. | {print $1,($2>=21?"pass":"fail")} | alice 19
ivan 16
bruno 18
bruno 5
farah 9
ivan 28
chen 26
bruno 18
| alice fail
ivan fail
bruno fail
bruno fail
farah fail
ivan pass
chen pass
bruno fail
| chen 13
dina 28
ivan 4
jules 11
jules 14
hana 4
alice 7
chen 15
lina 23
| chen fail
dina pass
ivan fail
jules fail
jules fail
hana fail
alice fail
chen fail
lina pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037070 | qwen/qwen3.7-plus |
awkweave-0037071 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | chen harbor 64
bruno grove 52
jules ember 18
ivan delta 14
dina ember 58
alice juniper 15
| CHEN
BRUNO
JULES
IVAN
DINA
ALICE
| lina indigo 7
jules ember 56
bruno cobalt 88
hana fable 34
gus indigo 88
jules fable 50
ivan cobalt 109
| LINA
JULES
BRUNO
HANA
GUS
JULES
IVAN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037071-p1 | Transform the text in column 1 to uppercase and output only this modified column. | {print toupper($1)} | chen harbor 64
bruno grove 52
jules ember 18
ivan delta 14
dina ember 58
alice juniper 15
| CHEN
BRUNO
JULES
IVAN
DINA
ALICE
| lina indigo 7
jules ember 56
bruno cobalt 88
hana fable 34
gus indigo 88
jules fable 50
ivan cobalt 109
| LINA
JULES
BRUNO
HANA
GUS
JULES
IVAN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037071 | qwen/qwen3.7-plus |
awkweave-0037072 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | birch 66
harbor 7
birch 3
indigo 28
delta 89
ember 35
juniper 31
harbor 102
ember 76
| rc
rb
rc
di
lt
be
ni
rb
be
| indigo 50
fable 64
delta 42
ember 33
fable 26
cobalt 93
indigo 9
| di
bl
lt
be
bl
ba
di
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037072-p1 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | birch 66
harbor 7
birch 3
indigo 28
delta 89
ember 35
juniper 31
harbor 102
ember 76
| rc
rb
rc
di
lt
be
ni
rb
be
| indigo 50
fable 64
delta 42
ember 33
fable 26
cobalt 93
indigo 9
| di
bl
lt
be
bl
ba
di
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0037072 | qwen/qwen3.7-plus |
awkweave-0037073 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | cobalt_delta 114
indigo_grove 37
grove_delta 83
amber_delta 115
cobalt_grove 109
ember_cobalt 89
| cobalt delta
indigo grove
grove delta
amber delta
cobalt grove
ember cobalt
| birch_grove 68
birch_delta 94
harbor_harbor 101
cobalt_cobalt 23
cobalt_harbor 56
birch_delta 20
birch_delta 96
harbor_grove 81
cobalt_ember 21
fable_fable 81
| birch grove
birch delta
harbor harbor
cobalt cobalt
cobalt harbor
birch delta
birch delta
harbor grove
cobalt ember
fable fable
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037073-p1 | Substitute all underscores with spaces in column 1 and output the modified values. | {gsub(/_/," ",$1);print $1} | cobalt_delta 114
indigo_grove 37
grove_delta 83
amber_delta 115
cobalt_grove 109
ember_cobalt 89
| cobalt delta
indigo grove
grove delta
amber delta
cobalt grove
ember cobalt
| birch_grove 68
birch_delta 94
harbor_harbor 101
cobalt_cobalt 23
cobalt_harbor 56
birch_delta 20
birch_delta 96
harbor_grove 81
cobalt_ember 21
fable_fable 81
| birch grove
birch delta
harbor harbor
cobalt cobalt
cobalt harbor
birch delta
birch delta
harbor grove
cobalt ember
fable fable
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037073 | qwen/qwen3.7-plus |
awkweave-0037074 | 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)} | alice amber 86 pending
chen amber 110 closed
lina juniper 46 active
bruno harbor 74 ready
bruno cobalt 46 pending
eli indigo 103 failed
chen delta 87 active
chen ember 55 pending
| pending 86 amber alice
closed 110 amber chen
active 46 juniper lina
ready 74 harbor bruno
pending 46 cobalt bruno
failed 103 indigo eli
active 87 delta chen
pending 55 ember chen
| alice harbor 6 paused
dina indigo 63 pending
ivan birch 88 ready
bruno amber 105 active
jules juniper 43 pending
chen juniper 77 active
gus indigo 94 pending
kim ember 119 pending
| paused 6 harbor alice
pending 63 indigo dina
ready 88 birch ivan
active 105 amber bruno
pending 43 juniper jules
active 77 juniper chen
pending 94 indigo gus
pending 119 ember kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037074-p1 | Reverse the sequence of fields on each line and display all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice amber 86 pending
chen amber 110 closed
lina juniper 46 active
bruno harbor 74 ready
bruno cobalt 46 pending
eli indigo 103 failed
chen delta 87 active
chen ember 55 pending
| pending 86 amber alice
closed 110 amber chen
active 46 juniper lina
ready 74 harbor bruno
pending 46 cobalt bruno
failed 103 indigo eli
active 87 delta chen
pending 55 ember chen
| alice harbor 6 paused
dina indigo 63 pending
ivan birch 88 ready
bruno amber 105 active
jules juniper 43 pending
chen juniper 77 active
gus indigo 94 pending
kim ember 119 pending
| paused 6 harbor alice
pending 63 indigo dina
ready 88 birch ivan
active 105 amber bruno
pending 43 juniper jules
active 77 juniper chen
pending 94 indigo gus
pending 119 ember kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037074 | qwen/qwen3.7-plus |
awkweave-0037075 | Print the number of whitespace-separated fields on each line. | {print NF} | gus ember 19 closed
kim birch 97 paused
jules amber 41 active
bruno indigo 8 closed
bruno fable 90 failed
dina delta 70 ready
alice birch 60 pending
gus juniper 8 pending
| 4
4
4
4
4
4
4
4
| kim ember 82 pending
jules indigo 28 closed
hana delta 113 closed
chen birch 108 ready
jules grove 29 pending
gus birch 68 failed
bruno indigo 37 active
jules ember 29 ready
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037075-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | gus ember 19 closed
kim birch 97 paused
jules amber 41 active
bruno indigo 8 closed
bruno fable 90 failed
dina delta 70 ready
alice birch 60 pending
gus juniper 8 pending
| 4
4
4
4
4
4
4
4
| kim ember 82 pending
jules indigo 28 closed
hana delta 113 closed
chen birch 108 ready
jules grove 29 pending
gus birch 68 failed
bruno indigo 37 active
jules ember 29 ready
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037075 | qwen/qwen3.7-plus |
awkweave-0037076 | 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]]} | gus beta 114
bruno beta 95
eli delta 34
alice alpha 116
hana gamma 35
dina beta 1
chen beta 84
jules beta 59
chen delta 114
chen delta 73
| beta 5
delta 3
alpha 1
gamma 1
| jules alpha 106
hana alpha 13
bruno beta 11
jules alpha 63
kim delta 82
farah beta 93
| alpha 3
beta 2
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037076-p1 | Tally the occurrences of each unique value in column 2. Output each value alongside 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]]} | gus beta 114
bruno beta 95
eli delta 34
alice alpha 116
hana gamma 35
dina beta 1
chen beta 84
jules beta 59
chen delta 114
chen delta 73
| beta 5
delta 3
alpha 1
gamma 1
| jules alpha 106
hana alpha 13
bruno beta 11
jules alpha 63
kim delta 82
farah beta 93
| alpha 3
beta 2
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037076 | qwen/qwen3.7-plus |
awkweave-0037077 | 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]]} | bruno delta 27
gus delta 1
farah beta 30
lina delta 28
gus delta 13
bruno alpha 21
hana gamma 21
farah delta 13
alice gamma 25
| delta 82
beta 30
alpha 21
gamma 46
| bruno delta 3
chen delta 11
kim alpha 22
dina delta 6
eli gamma 26
bruno gamma 7
hana alpha 4
dina gamma 8
alice gamma 9
| delta 20
alpha 26
gamma 50
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037077-p1 | Calculate the sum of column 3 grouped by the categories in column 2. Display 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]]} | bruno delta 27
gus delta 1
farah beta 30
lina delta 28
gus delta 13
bruno alpha 21
hana gamma 21
farah delta 13
alice gamma 25
| delta 82
beta 30
alpha 21
gamma 46
| bruno delta 3
chen delta 11
kim alpha 22
dina delta 6
eli gamma 26
bruno gamma 7
hana alpha 4
dina gamma 8
alice gamma 9
| delta 20
alpha 26
gamma 50
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037077 | qwen/qwen3.7-plus |
awkweave-0037078 | 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]]} | gamma delta 71
beta fable 8
delta harbor 63
beta cobalt 100
beta birch 76
alpha amber 30
alpha harbor 54
alpha indigo 83
| beta 3
alpha 3
| alpha indigo 12
gamma indigo 91
gamma fable 0
beta indigo 107
beta delta 12
gamma delta 32
| gamma 3
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037078-p1 | Identify duplicate values in column 1 and print each one with its frequency, ordered by first occurrence. | {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]]} | gamma delta 71
beta fable 8
delta harbor 63
beta cobalt 100
beta birch 76
alpha amber 30
alpha harbor 54
alpha indigo 83
| beta 3
alpha 3
| alpha indigo 12
gamma indigo 91
gamma fable 0
beta indigo 107
beta delta 12
gamma delta 32
| gamma 3
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037078 | qwen/qwen3.7-plus |
awkweave-0037079 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | score state display_name record_id
r001 lina 15 closed
r002 kim 18 active
r003 gus 29 ready
r004 kim 1 pending
r005 farah 27 pending
r006 alice 3 pending
| 15
18
29
1
27
3
| score state display_name record_id
r001 hana 28 active
r002 lina 2 closed
r003 alice 1 failed
r004 farah 8 ready
r005 jules 17 pending
r006 jules 18 ready
r007 alice 8 active
| 28
2
1
8
17
18
8
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037079-p1 | Treating the first row as a header, output the values from the display_name column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | score state display_name record_id
r001 lina 15 closed
r002 kim 18 active
r003 gus 29 ready
r004 kim 1 pending
r005 farah 27 pending
r006 alice 3 pending
| 15
18
29
1
27
3
| score state display_name record_id
r001 hana 28 active
r002 lina 2 closed
r003 alice 1 failed
r004 farah 8 ready
r005 jules 17 pending
r006 jules 18 ready
r007 alice 8 active
| 28
2
1
8
17
18
8
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037079 | qwen/qwen3.7-plus |
awkweave-0037080 | The first row is a header. Print display_name for data rows whose score is greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 lina 19 paused
r002 dina 13 failed
r003 lina 27 ready
r004 gus 5 ready
r005 bruno 30 failed
r006 bruno 3 closed
r007 lina 7 ready
r008 kim 6 pending
| lina
lina
bruno
| record_id display_name score state
r001 eli 15 failed
r002 dina 4 failed
r003 lina 17 closed
r004 ivan 26 paused
r005 jules 3 paused
r006 alice 17 active
| lina
ivan
alice
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037080-p1 | With the first row as a header, output the display_name column for data rows where the score is strictly greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 lina 19 paused
r002 dina 13 failed
r003 lina 27 ready
r004 gus 5 ready
r005 bruno 30 failed
r006 bruno 3 closed
r007 lina 7 ready
r008 kim 6 pending
| lina
lina
bruno
| record_id display_name score state
r001 eli 15 failed
r002 dina 4 failed
r003 lina 17 closed
r004 ivan 26 paused
r005 jules 3 paused
r006 alice 17 active
| lina
ivan
alice
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037080 | qwen/qwen3.7-plus |
awkweave-0037081 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 6 pending
alice 3 paused
lina 2 failed
kim 21 paused
farah 15 active
ivan 14 ready
| pending
paused
failed
paused
active
ready
| chen 30 failed
gus 11 pending
jules 8 pending
lina 6 pending
farah 5 failed
bruno 1 paused
| failed
pending
pending
pending
failed
paused
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037081-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 6 pending
alice 3 paused
lina 2 failed
kim 21 paused
farah 15 active
ivan 14 ready
| pending
paused
failed
paused
active
ready
| chen 30 failed
gus 11 pending
jules 8 pending
lina 6 pending
farah 5 failed
bruno 1 paused
| failed
pending
pending
pending
failed
paused
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037081 | qwen/qwen3.7-plus |
awkweave-0037082 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | bruno,14,closed
chen,18,ready
kim,25,paused
kim,22,active
lina,5,pending
kim,4,closed
| bruno
chen
kim
kim
| chen,23,pending
kim,23,active
kim,27,closed
farah,4,ready
dina,30,paused
alice,28,ready
chen,29,failed
jules,11,closed
| chen
kim
kim
dina
alice
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037082-p1 | For simple comma-separated input without quoted commas, print column 1 only if the value in column 2 is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | bruno,14,closed
chen,18,ready
kim,25,paused
kim,22,active
lina,5,pending
kim,4,closed
| bruno
chen
kim
kim
| chen,23,pending
kim,23,active
kim,27,closed
farah,4,ready
dina,30,paused
alice,28,ready
chen,29,failed
jules,11,closed
| chen
kim
kim
dina
alice
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037082 | qwen/qwen3.7-plus |
awkweave-0037083 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | dina juniper 64
kim delta 98
hana juniper 1
hana juniper 14
jules cobalt 77
hana amber 30
| dina juniper 64
kim delta 98
hana juniper 1
hana juniper 14
jules cobalt 77
hana amber 30
| ivan fable 48
jules indigo 23
lina ember 83
hana birch 60
bruno indigo 21
bruno cobalt 87
eli cobalt 45
| ivan fable 48
jules indigo 23
lina ember 83
hana birch 60
bruno indigo 21
bruno cobalt 87
eli cobalt 45
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037083-p1 | Remove leading and trailing whitespace, and replace any internal sequences of whitespace with a single space. | {$1=$1;print} | dina juniper 64
kim delta 98
hana juniper 1
hana juniper 14
jules cobalt 77
hana amber 30
| dina juniper 64
kim delta 98
hana juniper 1
hana juniper 14
jules cobalt 77
hana amber 30
| ivan fable 48
jules indigo 23
lina ember 83
hana birch 60
bruno indigo 21
bruno cobalt 87
eli cobalt 45
| ivan fable 48
jules indigo 23
lina ember 83
hana birch 60
bruno indigo 21
bruno cobalt 87
eli cobalt 45
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037083 | qwen/qwen3.7-plus |
awkweave-0037084 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana indigo 17 paused
kim amber 112 pending
bruno juniper 116 failed
chen grove 81 active
eli fable 90 ready
alice birch 48 active
gus birch 15 active
kim amber 18 paused
lina indigo 35 failed
| bruno juniper 116 failed
| jules amber 12 paused
chen indigo 110 paused
alice indigo 114 closed
lina ember 107 paused
lina indigo 100 failed
kim juniper 95 ready
| alice indigo 114 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037084-p1 | Output the longest line from the input, selecting the first one encountered if there is a tie in length. | {if(length($0)>length(best))best=$0}END{print best} | hana indigo 17 paused
kim amber 112 pending
bruno juniper 116 failed
chen grove 81 active
eli fable 90 ready
alice birch 48 active
gus birch 15 active
kim amber 18 paused
lina indigo 35 failed
| bruno juniper 116 failed
| jules amber 12 paused
chen indigo 110 paused
alice indigo 114 closed
lina ember 107 paused
lina indigo 100 failed
kim juniper 95 ready
| alice indigo 114 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037084 | qwen/qwen3.7-plus |
awkweave-0037085 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | kim 71
kim 7
dina 109
bruno 8
ivan 49
jules 74
farah 45
lina 43
ivan 86
| dina 109
jules 74
ivan 86
| alice 96
ivan 98
dina 38
farah 58
gus 15
ivan 56
lina 79
kim 61
| dina 38
ivan 56
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037085-p1 | Display every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | kim 71
kim 7
dina 109
bruno 8
ivan 49
jules 74
farah 45
lina 43
ivan 86
| dina 109
jules 74
ivan 86
| alice 96
ivan 98
dina 38
farah 58
gus 15
ivan 56
lina 79
kim 61
| dina 38
ivan 56
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037085 | qwen/qwen3.7-plus |
awkweave-0037086 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 19
gamma ember 75
gamma fable 101
alpha fable 23
beta juniper 16
beta ember 81
| 4
| beta amber 4
beta juniper 52
gamma fable 67
gamma grove 118
beta amber 0
alpha juniper 107
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037086-p1 | Determine the number of unique values present in the second column and output only that count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 19
gamma ember 75
gamma fable 101
alpha fable 23
beta juniper 16
beta ember 81
| 4
| beta amber 4
beta juniper 52
gamma fable 67
gamma grove 118
beta amber 0
alpha juniper 107
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037086 | qwen/qwen3.7-plus |
awkweave-0037087 | 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} | ivan 17 0
chen 3 19
dina 12 14
lina 28 30
gus 21 4
jules 23 5
alice 10 19
bruno 4 7
dina 6 9
hana 25 9
| chen 0.16
dina 0.86
lina 0.93
gus 5.25
jules 4.60
alice 0.53
bruno 0.57
dina 0.67
hana 2.78
| alice 10 0
chen 6 6
bruno 29 9
lina 23 16
ivan 29 21
kim 30 19
farah 26 8
bruno 15 14
| chen 1.00
bruno 3.22
lina 1.44
ivan 1.38
kim 1.58
farah 3.25
bruno 1.07
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037087-p1 | For each row where the third column is not zero, output the first column and the result of dividing the second column by the third column, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 17 0
chen 3 19
dina 12 14
lina 28 30
gus 21 4
jules 23 5
alice 10 19
bruno 4 7
dina 6 9
hana 25 9
| chen 0.16
dina 0.86
lina 0.93
gus 5.25
jules 4.60
alice 0.53
bruno 0.57
dina 0.67
hana 2.78
| alice 10 0
chen 6 6
bruno 29 9
lina 23 16
ivan 29 21
kim 30 19
farah 26 8
bruno 15 14
| chen 1.00
bruno 3.22
lina 1.44
ivan 1.38
kim 1.58
farah 3.25
bruno 1.07
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037087 | qwen/qwen3.7-plus |
awkweave-0037088 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus cobalt 2
kim harbor 21
alice grove 3
lina birch 30
lina birch 17
ivan juniper 8
lina indigo 29
chen delta 3
| lina birch 30
lina indigo 29
kim harbor 21
| gus grove 2
bruno birch 27
alice ember 25
bruno indigo 19
jules harbor 15
dina harbor 30
jules grove 29
alice ember 19
| dina harbor 30
jules grove 29
bruno birch 27
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037088-p1 | Output the three records with the highest numeric values in the third column, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus cobalt 2
kim harbor 21
alice grove 3
lina birch 30
lina birch 17
ivan juniper 8
lina indigo 29
chen delta 3
| lina birch 30
lina indigo 29
kim harbor 21
| gus grove 2
bruno birch 27
alice ember 25
bruno indigo 19
jules harbor 15
dina harbor 30
jules grove 29
alice ember 19
| dina harbor 30
jules grove 29
bruno birch 27
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037088 | qwen/qwen3.7-plus |
awkweave-0037089 | Print column 4 followed by column 2 for every record. | {print $4, $2} | birch 98 indigo amber
cobalt 19 harbor harbor
indigo 20 delta ember
birch 56 juniper harbor
birch 97 juniper amber
amber 1 birch ember
indigo 83 grove grove
| amber 98
harbor 19
ember 20
harbor 56
amber 97
ember 1
grove 83
| delta 91 fable cobalt
juniper 52 harbor indigo
juniper 103 indigo delta
harbor 105 cobalt harbor
indigo 108 cobalt delta
juniper 21 fable juniper
amber 39 cobalt amber
juniper 11 cobalt birch
| cobalt 91
indigo 52
delta 103
harbor 105
delta 108
juniper 21
amber 39
birch 11
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037089-p1 | For every record, output the value from the fourth column followed by the value from the second column. | {print $4, $2} | birch 98 indigo amber
cobalt 19 harbor harbor
indigo 20 delta ember
birch 56 juniper harbor
birch 97 juniper amber
amber 1 birch ember
indigo 83 grove grove
| amber 98
harbor 19
ember 20
harbor 56
amber 97
ember 1
grove 83
| delta 91 fable cobalt
juniper 52 harbor indigo
juniper 103 indigo delta
harbor 105 cobalt harbor
indigo 108 cobalt delta
juniper 21 fable juniper
amber 39 cobalt amber
juniper 11 cobalt birch
| cobalt 91
indigo 52
delta 103
harbor 105
delta 108
juniper 21
amber 39
birch 11
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037089 | qwen/qwen3.7-plus |
awkweave-0037100 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 24 delta bruno
22 fable gus
23 harbor gus
6 fable chen
26 amber bruno
14 grove dina
19 cobalt farah
30 birch alice
| 164
| 17 delta ivan
13 indigo hana
19 grove kim
10 indigo bruno
25 cobalt bruno
18 fable dina
26 cobalt jules
5 birch bruno
30 birch ivan
16 juniper bruno
| 179
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037100-p1 | Compute the sum of all integer values in the first column and print the result. | {s+=$1}END{print s+0} | 24 delta bruno
22 fable gus
23 harbor gus
6 fable chen
26 amber bruno
14 grove dina
19 cobalt farah
30 birch alice
| 164
| 17 delta ivan
13 indigo hana
19 grove kim
10 indigo bruno
25 cobalt bruno
18 fable dina
26 cobalt jules
5 birch bruno
30 birch ivan
16 juniper bruno
| 179
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037100 | qwen/qwen3.7-plus |
awkweave-0037101 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper dina 11
grove ivan 1
cobalt gus 14
birch alice 25
ember jules 13
indigo lina 4
ember ivan 16
delta hana 24
harbor lina 17
| 13.89
| harbor dina 22
grove chen 28
juniper dina 11
grove hana 15
delta eli 12
fable alice 30
amber chen 11
amber dina 2
amber chen 18
delta ivan 28
| 17.70
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037101-p1 | Calculate the arithmetic mean 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} | juniper dina 11
grove ivan 1
cobalt gus 14
birch alice 25
ember jules 13
indigo lina 4
ember ivan 16
delta hana 24
harbor lina 17
| 13.89
| harbor dina 22
grove chen 28
juniper dina 11
grove hana 15
delta eli 12
fable alice 30
amber chen 11
amber dina 2
amber chen 18
delta ivan 28
| 17.70
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037101 | qwen/qwen3.7-plus |
awkweave-0037102 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 harbor hana
17 cobalt eli
26 cobalt gus
16 juniper gus
7 birch alice
15 grove lina
18 cobalt hana
19 amber chen
30 delta hana
7 grove farah
| 7
| 11 cobalt hana
10 amber eli
21 juniper jules
14 fable lina
3 grove eli
18 harbor ivan
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037102-p1 | Identify and print the minimum numeric value found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 13 harbor hana
17 cobalt eli
26 cobalt gus
16 juniper gus
7 birch alice
15 grove lina
18 cobalt hana
19 amber chen
30 delta hana
7 grove farah
| 7
| 11 cobalt hana
10 amber eli
21 juniper jules
14 fable lina
3 grove eli
18 harbor ivan
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037102 | qwen/qwen3.7-plus |
awkweave-0037103 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ivan 16 birch
kim 7 cobalt
jules 6 ember
alice 22 fable
bruno 23 cobalt
eli 23 delta
farah 2 fable
farah 5 juniper
dina 5 birch
| 23
| gus 25 grove
ivan 25 juniper
eli 21 indigo
farah 11 grove
kim 23 ember
alice 22 grove
bruno 20 fable
gus 4 grove
jules 6 amber
alice 30 delta
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037103-p1 | Identify and print the maximum numeric value found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ivan 16 birch
kim 7 cobalt
jules 6 ember
alice 22 fable
bruno 23 cobalt
eli 23 delta
farah 2 fable
farah 5 juniper
dina 5 birch
| 23
| gus 25 grove
ivan 25 juniper
eli 21 indigo
farah 11 grove
kim 23 ember
alice 22 grove
bruno 20 fable
gus 4 grove
jules 6 amber
alice 30 delta
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037103 | qwen/qwen3.7-plus |
awkweave-0037104 | Count all input records and print the total. | END{print NR} | lina 86
chen 50
gus 34
lina 107
alice 13
ivan 91
| 6
| farah 90
gus 27
kim 55
chen 83
jules 69
chen 58
gus 115
ivan 108
ivan 39
kim 49
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037104-p1 | Count the total number of input records and print this total. | END{print NR} | lina 86
chen 50
gus 34
lina 107
alice 13
ivan 91
| 6
| farah 90
gus 27
kim 55
chen 83
jules 69
chen 58
gus 115
ivan 108
ivan 39
kim 49
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037104 | qwen/qwen3.7-plus |
awkweave-0037105 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | bruno delta 81
hana grove 84
gus harbor 22
bruno delta 81
alice delta 40
dina amber 115
bruno grove 20
bruno amber 99
| bruno delta 81
hana grove 84
gus harbor 22
alice delta 40
dina amber 115
bruno grove 20
bruno amber 99
| chen juniper 82
gus grove 78
kim juniper 46
gus fable 64
ivan indigo 18
lina juniper 99
farah delta 71
lina juniper 99
hana harbor 118
kim juniper 15
| chen juniper 82
gus grove 78
kim juniper 46
gus fable 64
ivan indigo 18
lina juniper 99
farah delta 71
hana harbor 118
kim juniper 15
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037105-p1 | Eliminate exact duplicate lines from the input, keeping only the first occurrence of each line and preserving the original order. | !seen[$0]++ | bruno delta 81
hana grove 84
gus harbor 22
bruno delta 81
alice delta 40
dina amber 115
bruno grove 20
bruno amber 99
| bruno delta 81
hana grove 84
gus harbor 22
alice delta 40
dina amber 115
bruno grove 20
bruno amber 99
| chen juniper 82
gus grove 78
kim juniper 46
gus fable 64
ivan indigo 18
lina juniper 99
farah delta 71
lina juniper 99
hana harbor 118
kim juniper 15
| chen juniper 82
gus grove 78
kim juniper 46
gus fable 64
ivan indigo 18
lina juniper 99
farah delta 71
hana harbor 118
kim juniper 15
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037105 | qwen/qwen3.7-plus |
awkweave-0037106 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | ivan grove 20
farah harbor 115
hana fable 25
dina delta 21
jules grove 21
dina amber 58
eli birch 77
| ivan grove 20
farah harbor 115
hana fable 25
dina delta 21
dina amber 58
eli birch 77
| hana indigo 43
bruno ember 10
jules harbor 75
alice ember 78
hana fable 51
dina amber 72
alice grove 76
dina fable 34
chen grove 17
| hana indigo 43
bruno ember 10
jules harbor 75
hana fable 51
dina amber 72
alice grove 76
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037106-p1 | Retain only the initial occurrence of each unique entry in column 2, maintaining the original sequence. | !seen[$2]++ | ivan grove 20
farah harbor 115
hana fable 25
dina delta 21
jules grove 21
dina amber 58
eli birch 77
| ivan grove 20
farah harbor 115
hana fable 25
dina delta 21
dina amber 58
eli birch 77
| hana indigo 43
bruno ember 10
jules harbor 75
alice ember 78
hana fable 51
dina amber 72
alice grove 76
dina fable 34
chen grove 17
| hana indigo 43
bruno ember 10
jules harbor 75
hana fable 51
dina amber 72
alice grove 76
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037106 | qwen/qwen3.7-plus |
awkweave-0037107 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 28 cobalt
lina 5 ember
eli 1 grove
chen 2 ember
alice 7 birch
farah 1 harbor
chen 9 ember
eli 29 grove
hana 2 grove
| hana 28
lina 33
eli 34
chen 36
alice 43
farah 44
chen 53
eli 82
hana 84
| dina 3 delta
dina 1 indigo
ivan 22 grove
ivan 8 delta
bruno 28 cobalt
farah 9 delta
| dina 3
dina 4
ivan 26
ivan 34
bruno 62
farah 71
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037107-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | hana 28 cobalt
lina 5 ember
eli 1 grove
chen 2 ember
alice 7 birch
farah 1 harbor
chen 9 ember
eli 29 grove
hana 2 grove
| hana 28
lina 33
eli 34
chen 36
alice 43
farah 44
chen 53
eli 82
hana 84
| dina 3 delta
dina 1 indigo
ivan 22 grove
ivan 8 delta
bruno 28 cobalt
farah 9 delta
| dina 3
dina 4
ivan 26
ivan 34
bruno 62
farah 71
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037107 | qwen/qwen3.7-plus |
awkweave-0037108 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 26 6 grove
alice 13 6 fable
jules 18 9 harbor
chen 12 24 birch
bruno 24 26 harbor
bruno 22 14 fable
kim 21 22 cobalt
dina 19 11 birch
eli 3 30 delta
eli 7 20 amber
| hana 32
alice 19
jules 27
chen 36
bruno 50
bruno 36
kim 43
dina 30
eli 33
eli 27
| gus 24 30 ember
eli 9 30 fable
gus 5 23 indigo
kim 4 22 indigo
lina 2 13 ember
dina 12 20 birch
lina 15 10 ember
jules 30 20 cobalt
jules 17 12 fable
ivan 7 15 amber
| gus 54
eli 39
gus 28
kim 26
lina 15
dina 32
lina 25
jules 50
jules 29
ivan 22
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037108-p1 | For each row, display field 1 followed by the combined total of fields 2 and 3. | {print $1,$2+$3} | hana 26 6 grove
alice 13 6 fable
jules 18 9 harbor
chen 12 24 birch
bruno 24 26 harbor
bruno 22 14 fable
kim 21 22 cobalt
dina 19 11 birch
eli 3 30 delta
eli 7 20 amber
| hana 32
alice 19
jules 27
chen 36
bruno 50
bruno 36
kim 43
dina 30
eli 33
eli 27
| gus 24 30 ember
eli 9 30 fable
gus 5 23 indigo
kim 4 22 indigo
lina 2 13 ember
dina 12 20 birch
lina 15 10 ember
jules 30 20 cobalt
jules 17 12 fable
ivan 7 15 amber
| gus 54
eli 39
gus 28
kim 26
lina 15
dina 32
lina 25
jules 50
jules 29
ivan 22
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037108 | qwen/qwen3.7-plus |
awkweave-0037109 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | ivan 4
eli 30
lina 8
dina 28
hana 10
farah 2
chen 15
jules 11
lina 23
| ivan fail
eli pass
lina fail
dina pass
hana fail
farah fail
chen fail
jules fail
lina fail
| eli 21
hana 21
farah 3
kim 8
farah 16
dina 16
dina 13
ivan 10
farah 1
| eli fail
hana fail
farah fail
kim fail
farah fail
dina fail
dina fail
ivan fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037109-p1 | Output column 1 paired with 'pass' if column 2 is 24 or greater; otherwise, output 'fail'. | {print $1,($2>=24?"pass":"fail")} | ivan 4
eli 30
lina 8
dina 28
hana 10
farah 2
chen 15
jules 11
lina 23
| ivan fail
eli pass
lina fail
dina pass
hana fail
farah fail
chen fail
jules fail
lina fail
| eli 21
hana 21
farah 3
kim 8
farah 16
dina 16
dina 13
ivan 10
farah 1
| eli fail
hana fail
farah fail
kim fail
farah fail
dina fail
dina fail
ivan fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037109 | qwen/qwen3.7-plus |
awkweave-0037110 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | dina grove 83
kim amber 21
chen harbor 17
lina cobalt 51
gus delta 92
eli cobalt 82
alice delta 95
chen harbor 45
alice indigo 103
| GROVE
AMBER
HARBOR
COBALT
DELTA
COBALT
DELTA
HARBOR
INDIGO
| hana harbor 108
jules grove 37
eli birch 1
kim cobalt 117
kim delta 31
farah delta 83
ivan amber 68
chen cobalt 70
| HARBOR
GROVE
BIRCH
COBALT
DELTA
DELTA
AMBER
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0037110-p1 | Transform column 2 to uppercase letters and output exclusively that column. | {print toupper($2)} | dina grove 83
kim amber 21
chen harbor 17
lina cobalt 51
gus delta 92
eli cobalt 82
alice delta 95
chen harbor 45
alice indigo 103
| GROVE
AMBER
HARBOR
COBALT
DELTA
COBALT
DELTA
HARBOR
INDIGO
| hana harbor 108
jules grove 37
eli birch 1
kim cobalt 117
kim delta 31
farah delta 83
ivan amber 68
chen cobalt 70
| HARBOR
GROVE
BIRCH
COBALT
DELTA
DELTA
AMBER
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0037110 | qwen/qwen3.7-plus |
awkweave-0037111 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | harbor 15
amber 5
grove 45
cobalt 108
ember 84
delta 54
| ar
mb
ro
ob
mb
el
| delta 64
birch 110
fable 59
birch 101
amber 48
grove 10
| el
ir
ab
ir
mb
ro
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.