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-0019270-p1 | Output only column 2 for rows where column 3 contains the exact value 'pending'. | $3 == "pending"{print $2} | 40 gus paused juniper
47 gus ready grove
98 hana active juniper
79 eli failed ember
83 gus closed harbor
16 gus ready indigo
61 jules active harbor
34 hana paused birch
51 gus pending fable
| gus
| 93 chen pending delta
46 alice pending fable
19 ivan closed cobalt
6 bruno closed harbor
111 ivan paused birch
4 chen pending amber
93 hana paused ember
107 bruno failed juniper
21 ivan failed cobalt
| chen
alice
chen
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019270 | qwen/qwen3.7-plus |
awkweave-0019271 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 7 fable ERROR
55 juniper INFO
19 grove ERROR
81 grove INFO
65 birch DEBUG
64 fable WARN
32 harbor INFO
60 birch ERROR
102 birch WARN
96 amber ERROR
| 64 fable WARN
102 birch WARN
| 118 ember INFO
22 harbor DEBUG
119 juniper ERROR
39 amber DEBUG
86 indigo DEBUG
91 ember INFO
30 ember WARN
17 fable DEBUG
31 cobalt ERROR
| 30 ember WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019271-p1 | Print all fields from lines where the third field starts with the string 'WARN'. | $3 ~ /^WARN/ | 7 fable ERROR
55 juniper INFO
19 grove ERROR
81 grove INFO
65 birch DEBUG
64 fable WARN
32 harbor INFO
60 birch ERROR
102 birch WARN
96 amber ERROR
| 64 fable WARN
102 birch WARN
| 118 ember INFO
22 harbor DEBUG
119 juniper ERROR
39 amber DEBUG
86 indigo DEBUG
91 ember INFO
30 ember WARN
17 fable DEBUG
31 cobalt ERROR
| 30 ember WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019271 | qwen/qwen3.7-plus |
awkweave-0019272 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | juniper 103 ready
birch 58 active
delta 86 failed
cobalt 16 pending
delta 108 active
juniper 67 closed
juniper 29 pending
harbor 11 failed
grove 999 active
| juniper 103 ready
birch 58 active
delta 86 failed
cobalt 16 pending
delta 108 active
juniper 67 closed
juniper 29 pending
harbor 11 failed
| grove 9 active
juniper 105 closed
indigo 5 ready
ember 7 pending
grove 102 failed
cobalt 34 failed
cobalt 63 active
indigo 73 active
grove 999 active
| juniper 105 closed
indigo 5 ready
ember 7 pending
cobalt 34 failed
cobalt 63 active
indigo 73 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019272-p1 | Output all lines that do not contain the exact string grove. | $0 !~ /grove/ | juniper 103 ready
birch 58 active
delta 86 failed
cobalt 16 pending
delta 108 active
juniper 67 closed
juniper 29 pending
harbor 11 failed
grove 999 active
| juniper 103 ready
birch 58 active
delta 86 failed
cobalt 16 pending
delta 108 active
juniper 67 closed
juniper 29 pending
harbor 11 failed
| grove 9 active
juniper 105 closed
indigo 5 ready
ember 7 pending
grove 102 failed
cobalt 34 failed
cobalt 63 active
indigo 73 active
grove 999 active
| juniper 105 closed
indigo 5 ready
ember 7 pending
cobalt 34 failed
cobalt 63 active
indigo 73 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019272 | qwen/qwen3.7-plus |
awkweave-0019273 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | eli indigo 9
jules birch 39
hana delta 61
farah amber 54
chen delta 37
jules birch 21
lina birch 4
ivan juniper 20
| hana delta 61
farah amber 54
chen delta 37
| farah birch 61
hana fable 24
gus cobalt 69
hana ember 20
ivan amber 46
ivan juniper 100
hana harbor 103
gus birch 108
chen cobalt 15
| gus cobalt 69
hana ember 20
ivan amber 46
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019273-p1 | Display lines 3 to 5, inclusive of both ends. | NR >= 3 && NR <= 5 | eli indigo 9
jules birch 39
hana delta 61
farah amber 54
chen delta 37
jules birch 21
lina birch 4
ivan juniper 20
| hana delta 61
farah amber 54
chen delta 37
| farah birch 61
hana fable 24
gus cobalt 69
hana ember 20
ivan amber 46
ivan juniper 100
hana harbor 103
gus birch 108
chen cobalt 15
| gus cobalt 69
hana ember 20
ivan amber 46
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019273 | qwen/qwen3.7-plus |
awkweave-0019274 | Output only the first 3 records. | NR <= 3 | ivan 3 amber
hana 23 ember
chen 111 cobalt
ivan 10 grove
ivan 58 ember
bruno 31 indigo
| ivan 3 amber
hana 23 ember
chen 111 cobalt
| jules 73 harbor
dina 28 cobalt
jules 17 harbor
farah 86 ember
jules 110 birch
jules 11 delta
farah 60 delta
ivan 118 grove
| jules 73 harbor
dina 28 cobalt
jules 17 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019274-p1 | Show only the initial 3 records. | NR <= 3 | ivan 3 amber
hana 23 ember
chen 111 cobalt
ivan 10 grove
ivan 58 ember
bruno 31 indigo
| ivan 3 amber
hana 23 ember
chen 111 cobalt
| jules 73 harbor
dina 28 cobalt
jules 17 harbor
farah 86 ember
jules 110 birch
jules 11 delta
farah 60 delta
ivan 118 grove
| jules 73 harbor
dina 28 cobalt
jules 17 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019274 | qwen/qwen3.7-plus |
awkweave-0019275 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 48 cobalt
hana 63 cobalt
dina 100 amber
chen 3 amber
chen 40 birch
bruno 0 amber
farah 59 indigo
alice 117 fable
alice 60 ember
| hana 63 cobalt
dina 100 amber
chen 3 amber
chen 40 birch
bruno 0 amber
farah 59 indigo
alice 117 fable
alice 60 ember
| gus 71 juniper
kim 97 juniper
bruno 89 amber
farah 54 ember
ivan 4 amber
alice 98 harbor
chen 90 harbor
| kim 97 juniper
bruno 89 amber
farah 54 ember
ivan 4 amber
alice 98 harbor
chen 90 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019275-p1 | Omit the first line and output the rest as they are. | NR > 1 | chen 48 cobalt
hana 63 cobalt
dina 100 amber
chen 3 amber
chen 40 birch
bruno 0 amber
farah 59 indigo
alice 117 fable
alice 60 ember
| hana 63 cobalt
dina 100 amber
chen 3 amber
chen 40 birch
bruno 0 amber
farah 59 indigo
alice 117 fable
alice 60 ember
| gus 71 juniper
kim 97 juniper
bruno 89 amber
farah 54 ember
ivan 4 amber
alice 98 harbor
chen 90 harbor
| kim 97 juniper
bruno 89 amber
farah 54 ember
ivan 4 amber
alice 98 harbor
chen 90 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019275 | qwen/qwen3.7-plus |
awkweave-0019276 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | hana pending 74
kim active 36
chen active 118
jules active 32
hana active 61
jules closed 42
| 0
| eli ready 36
bruno pending 78
lina pending 3
ivan paused 40
bruno closed 69
kim active 88
eli ready 58
alice failed 51
alice ready 92
farah closed 3
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019276-p1 | Count records where column 2 is paused; output 0 if none match. | $2 == "paused"{n++}END{print n+0} | hana pending 74
kim active 36
chen active 118
jules active 32
hana active 61
jules closed 42
| 0
| eli ready 36
bruno pending 78
lina pending 3
ivan paused 40
bruno closed 69
kim active 88
eli ready 58
alice failed 51
alice ready 92
farah closed 3
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019276 | qwen/qwen3.7-plus |
awkweave-0019277 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | indigo alice 1
birch chen 25
birch chen 26
grove gus 22
ember lina 12
ember ivan 10
grove kim 7
delta ivan 7
cobalt ivan 1
| 111
| indigo chen 17
cobalt alice 15
delta gus 25
indigo jules 17
ember gus 1
indigo alice 5
ember farah 27
delta ivan 12
ember dina 18
grove lina 25
| 162
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019277-p1 | Compute and display the total sum of integers in column 3. | {s+=$3}END{print s+0} | indigo alice 1
birch chen 25
birch chen 26
grove gus 22
ember lina 12
ember ivan 10
grove kim 7
delta ivan 7
cobalt ivan 1
| 111
| indigo chen 17
cobalt alice 15
delta gus 25
indigo jules 17
ember gus 1
indigo alice 5
ember farah 27
delta ivan 12
ember dina 18
grove lina 25
| 162
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019277 | qwen/qwen3.7-plus |
awkweave-0019278 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 28 birch farah
18 amber farah
5 juniper hana
14 indigo eli
4 ember chen
24 cobalt ivan
8 ember bruno
17 harbor eli
5 harbor bruno
30 cobalt kim
| 15.30
| 5 grove ivan
12 grove eli
21 harbor eli
15 fable lina
5 amber alice
21 grove gus
4 juniper alice
29 juniper ivan
1 fable dina
1 juniper gus
| 11.40
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019278-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 28 birch farah
18 amber farah
5 juniper hana
14 indigo eli
4 ember chen
24 cobalt ivan
8 ember bruno
17 harbor eli
5 harbor bruno
30 cobalt kim
| 15.30
| 5 grove ivan
12 grove eli
21 harbor eli
15 fable lina
5 amber alice
21 grove gus
4 juniper alice
29 juniper ivan
1 fable dina
1 juniper gus
| 11.40
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019278 | qwen/qwen3.7-plus |
awkweave-0019279 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim amber 15
chen amber 19
ivan harbor 27
gus juniper 6
dina harbor 27
chen amber 17
| 6
| hana indigo 2
bruno amber 5
farah ember 19
lina juniper 5
lina ember 7
hana birch 13
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019279-p1 | Identify and output the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | kim amber 15
chen amber 19
ivan harbor 27
gus juniper 6
dina harbor 27
chen amber 17
| 6
| hana indigo 2
bruno amber 5
farah ember 19
lina juniper 5
lina ember 7
hana birch 13
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019279 | qwen/qwen3.7-plus |
awkweave-0019280 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice cobalt 5
kim ember 27
lina juniper 23
farah harbor 24
alice ember 17
alice delta 12
chen delta 9
| 27
| ivan cobalt 18
hana ember 15
bruno grove 21
hana birch 10
hana grove 23
lina delta 10
gus juniper 13
bruno ember 26
jules grove 1
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019280-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice cobalt 5
kim ember 27
lina juniper 23
farah harbor 24
alice ember 17
alice delta 12
chen delta 9
| 27
| ivan cobalt 18
hana ember 15
bruno grove 21
hana birch 10
hana grove 23
lina delta 10
gus juniper 13
bruno ember 26
jules grove 1
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019280 | qwen/qwen3.7-plus |
awkweave-0019281 | Count all input records and print the total. | END{print NR} | eli 2
hana 33
kim 3
alice 42
hana 116
alice 19
gus 33
| 7
| eli 106
hana 105
bruno 30
farah 4
jules 89
ivan 15
chen 12
alice 74
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019281-p1 | Count the total number of input records and print the result. | END{print NR} | eli 2
hana 33
kim 3
alice 42
hana 116
alice 19
gus 33
| 7
| eli 106
hana 105
bruno 30
farah 4
jules 89
ivan 15
chen 12
alice 74
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019281 | qwen/qwen3.7-plus |
awkweave-0019282 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina grove 73
alice fable 84
alice ember 24
lina delta 43
hana birch 7
jules amber 30
alice ember 24
farah birch 78
| lina grove 73
alice fable 84
alice ember 24
lina delta 43
hana birch 7
jules amber 30
farah birch 78
| ivan fable 19
kim amber 75
jules juniper 65
lina delta 95
dina indigo 118
kim amber 75
farah ember 104
| ivan fable 19
kim amber 75
jules juniper 65
lina delta 95
dina indigo 118
farah ember 104
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019282-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | lina grove 73
alice fable 84
alice ember 24
lina delta 43
hana birch 7
jules amber 30
alice ember 24
farah birch 78
| lina grove 73
alice fable 84
alice ember 24
lina delta 43
hana birch 7
jules amber 30
farah birch 78
| ivan fable 19
kim amber 75
jules juniper 65
lina delta 95
dina indigo 118
kim amber 75
farah ember 104
| ivan fable 19
kim amber 75
jules juniper 65
lina delta 95
dina indigo 118
farah ember 104
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019282 | qwen/qwen3.7-plus |
awkweave-0019283 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | ivan fable 49
jules ember 72
chen indigo 77
jules ember 1
kim cobalt 84
bruno amber 43
| ivan fable 49
jules ember 72
chen indigo 77
kim cobalt 84
bruno amber 43
| gus delta 24
farah amber 75
ivan fable 116
jules grove 67
farah birch 83
alice cobalt 81
ivan grove 13
kim cobalt 57
jules birch 1
chen ember 15
| gus delta 24
farah amber 75
ivan fable 116
jules grove 67
alice cobalt 81
kim cobalt 57
chen ember 15
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019283-p1 | Retain only the first line for each unique value in column 1, preserving the input sequence. | !seen[$1]++ | ivan fable 49
jules ember 72
chen indigo 77
jules ember 1
kim cobalt 84
bruno amber 43
| ivan fable 49
jules ember 72
chen indigo 77
kim cobalt 84
bruno amber 43
| gus delta 24
farah amber 75
ivan fable 116
jules grove 67
farah birch 83
alice cobalt 81
ivan grove 13
kim cobalt 57
jules birch 1
chen ember 15
| gus delta 24
farah amber 75
ivan fable 116
jules grove 67
alice cobalt 81
kim cobalt 57
chen ember 15
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019283 | qwen/qwen3.7-plus |
awkweave-0019284 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 2 grove
kim 5 amber
jules 12 indigo
alice 21 grove
dina 5 cobalt
farah 17 indigo
gus 23 fable
alice 21 amber
gus 8 juniper
| chen 2
kim 7
jules 19
alice 40
dina 45
farah 62
gus 85
alice 106
gus 114
| alice 20 juniper
gus 2 harbor
ivan 10 ember
eli 25 delta
alice 10 indigo
dina 11 delta
chen 10 cobalt
dina 30 harbor
alice 16 delta
| alice 20
gus 22
ivan 32
eli 57
alice 67
dina 78
chen 88
dina 118
alice 134
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019284-p1 | Output the first column and the cumulative total of the second column for each record, separated by a space. | {s+=$2;print $1,s} | chen 2 grove
kim 5 amber
jules 12 indigo
alice 21 grove
dina 5 cobalt
farah 17 indigo
gus 23 fable
alice 21 amber
gus 8 juniper
| chen 2
kim 7
jules 19
alice 40
dina 45
farah 62
gus 85
alice 106
gus 114
| alice 20 juniper
gus 2 harbor
ivan 10 ember
eli 25 delta
alice 10 indigo
dina 11 delta
chen 10 cobalt
dina 30 harbor
alice 16 delta
| alice 20
gus 22
ivan 32
eli 57
alice 67
dina 78
chen 88
dina 118
alice 134
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019284 | qwen/qwen3.7-plus |
awkweave-0019285 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 21 19 ember
dina 18 19 grove
gus 14 3 fable
hana 4 5 harbor
eli 25 19 birch
ivan 7 24 harbor
farah 17 17 grove
gus 2 15 cobalt
dina 3 14 birch
| lina 40
dina 37
gus 17
hana 9
eli 44
ivan 31
farah 34
gus 17
dina 17
| hana 15 22 juniper
dina 8 8 birch
kim 21 10 delta
hana 23 2 delta
hana 16 1 birch
jules 10 26 fable
kim 28 28 grove
| hana 37
dina 16
kim 31
hana 25
hana 17
jules 36
kim 56
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019285-p1 | For every row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | lina 21 19 ember
dina 18 19 grove
gus 14 3 fable
hana 4 5 harbor
eli 25 19 birch
ivan 7 24 harbor
farah 17 17 grove
gus 2 15 cobalt
dina 3 14 birch
| lina 40
dina 37
gus 17
hana 9
eli 44
ivan 31
farah 34
gus 17
dina 17
| hana 15 22 juniper
dina 8 8 birch
kim 21 10 delta
hana 23 2 delta
hana 16 1 birch
jules 10 26 fable
kim 28 28 grove
| hana 37
dina 16
kim 31
hana 25
hana 17
jules 36
kim 56
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019285 | qwen/qwen3.7-plus |
awkweave-0019286 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | eli 19
chen 18
chen 26
bruno 27
hana 5
dina 7
alice 18
bruno 25
| eli fail
chen fail
chen pass
bruno pass
hana fail
dina fail
alice fail
bruno pass
| chen 28
hana 2
eli 6
dina 23
lina 20
lina 3
chen 6
hana 14
gus 8
gus 15
| chen pass
hana fail
eli fail
dina fail
lina fail
lina fail
chen fail
hana fail
gus fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019286-p1 | Print the first column; output 'pass' if the second column is 24 or greater, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | eli 19
chen 18
chen 26
bruno 27
hana 5
dina 7
alice 18
bruno 25
| eli fail
chen fail
chen pass
bruno pass
hana fail
dina fail
alice fail
bruno pass
| chen 28
hana 2
eli 6
dina 23
lina 20
lina 3
chen 6
hana 14
gus 8
gus 15
| chen pass
hana fail
eli fail
dina fail
lina fail
lina fail
chen fail
hana fail
gus fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019286 | qwen/qwen3.7-plus |
awkweave-0019287 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | ivan fable 45
jules delta 92
kim fable 51
gus grove 8
farah birch 117
farah amber 117
ivan fable 77
chen cobalt 101
| IVAN
JULES
KIM
GUS
FARAH
FARAH
IVAN
CHEN
| lina ember 70
jules delta 90
hana delta 9
ivan juniper 101
bruno cobalt 46
farah fable 19
hana juniper 83
dina indigo 26
hana delta 100
eli grove 21
| LINA
JULES
HANA
IVAN
BRUNO
FARAH
HANA
DINA
HANA
ELI
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019287-p1 | Transform the first column to uppercase and print only that column. | {print toupper($1)} | ivan fable 45
jules delta 92
kim fable 51
gus grove 8
farah birch 117
farah amber 117
ivan fable 77
chen cobalt 101
| IVAN
JULES
KIM
GUS
FARAH
FARAH
IVAN
CHEN
| lina ember 70
jules delta 90
hana delta 9
ivan juniper 101
bruno cobalt 46
farah fable 19
hana juniper 83
dina indigo 26
hana delta 100
eli grove 21
| LINA
JULES
HANA
IVAN
BRUNO
FARAH
HANA
DINA
HANA
ELI
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019287 | qwen/qwen3.7-plus |
awkweave-0019288 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | grove 58
ember 69
harbor 110
cobalt 2
delta 41
cobalt 118
amber 18
| grov
embe
harb
coba
delt
coba
ambe
| indigo 73
cobalt 31
grove 118
grove 20
grove 30
juniper 84
| indi
coba
grov
grov
grov
juni
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019288-p1 | Extract and print the first 4 characters from the first column, starting at position 1. | {print substr($1,1,4)} | grove 58
ember 69
harbor 110
cobalt 2
delta 41
cobalt 118
amber 18
| grov
embe
harb
coba
delt
coba
ambe
| indigo 73
cobalt 31
grove 118
grove 20
grove 30
juniper 84
| indi
coba
grov
grov
grov
juni
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019288 | qwen/qwen3.7-plus |
awkweave-0019289 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_indigo 34
juniper_delta 93
indigo_delta 29
harbor_juniper 12
ember_juniper 8
birch_amber 14
| birch indigo
juniper delta
indigo delta
harbor juniper
ember juniper
birch amber
| amber_fable 27
juniper_birch 0
indigo_indigo 2
harbor_ember 4
birch_indigo 25
delta_harbor 109
birch_indigo 120
| amber fable
juniper birch
indigo indigo
harbor ember
birch indigo
delta harbor
birch indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019289-p1 | Replace all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | birch_indigo 34
juniper_delta 93
indigo_delta 29
harbor_juniper 12
ember_juniper 8
birch_amber 14
| birch indigo
juniper delta
indigo delta
harbor juniper
ember juniper
birch amber
| amber_fable 27
juniper_birch 0
indigo_indigo 2
harbor_ember 4
birch_indigo 25
delta_harbor 109
birch_indigo 120
| amber fable
juniper birch
indigo indigo
harbor ember
birch indigo
delta harbor
birch indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019289 | qwen/qwen3.7-plus |
awkweave-0019300 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah harbor 4 active
lina birch 89 paused
dina juniper 3 active
farah harbor 72 active
dina fable 75 active
eli grove 97 closed
dina amber 95 failed
| farah harbor 72 active
| lina fable 16 closed
jules fable 45 paused
bruno harbor 8 ready
kim ember 72 closed
ivan grove 13 closed
eli harbor 90 failed
kim indigo 39 ready
jules amber 46 active
alice indigo 34 pending
| alice indigo 34 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019300-p1 | Identify and print the longest input line, retaining the earliest one in case of a tie. | {if(length($0)>length(best))best=$0}END{print best} | farah harbor 4 active
lina birch 89 paused
dina juniper 3 active
farah harbor 72 active
dina fable 75 active
eli grove 97 closed
dina amber 95 failed
| farah harbor 72 active
| lina fable 16 closed
jules fable 45 paused
bruno harbor 8 ready
kim ember 72 closed
ivan grove 13 closed
eli harbor 90 failed
kim indigo 39 ready
jules amber 46 active
alice indigo 34 pending
| alice indigo 34 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019300 | qwen/qwen3.7-plus |
awkweave-0019301 | Print every 4th line starting at line 1 (then line 5, and so on). | NR%4==1 | lina 55
hana 1
hana 25
jules 108
lina 113
eli 48
farah 9
hana 43
bruno 95
| lina 55
lina 113
bruno 95
| farah 22
jules 77
bruno 10
bruno 56
alice 70
ivan 52
farah 112
gus 15
jules 83
gus 110
| farah 22
alice 70
jules 83
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019301-p1 | Print lines 1, 5, and every subsequent 4th line thereafter. | NR%4==1 | lina 55
hana 1
hana 25
jules 108
lina 113
eli 48
farah 9
hana 43
bruno 95
| lina 55
lina 113
bruno 95
| farah 22
jules 77
bruno 10
bruno 56
alice 70
ivan 52
farah 112
gus 15
jules 83
gus 110
| farah 22
alice 70
jules 83
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019301 | qwen/qwen3.7-plus |
awkweave-0019302 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma ember 53
alpha cobalt 97
gamma cobalt 31
gamma delta 118
delta delta 117
alpha indigo 108
beta grove 88
gamma delta 49
beta indigo 23
| 4
| gamma cobalt 18
alpha indigo 72
alpha amber 77
beta birch 84
beta ember 11
beta fable 9
delta grove 102
beta grove 52
alpha grove 15
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019302-p1 | Count the number of unique values in the first column and print only that count. | {if(!seen[$1]++)n++}END{print n+0} | gamma ember 53
alpha cobalt 97
gamma cobalt 31
gamma delta 118
delta delta 117
alpha indigo 108
beta grove 88
gamma delta 49
beta indigo 23
| 4
| gamma cobalt 18
alpha indigo 72
alpha amber 77
beta birch 84
beta ember 11
beta fable 9
delta grove 102
beta grove 52
alpha grove 15
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019302 | qwen/qwen3.7-plus |
awkweave-0019303 | 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} | chen 21 0
chen 18 7
kim 29 15
gus 1 19
bruno 3 13
eli 17 8
bruno 25 20
lina 13 13
alice 8 17
| chen 2.57
kim 1.93
gus 0.05
bruno 0.23
eli 2.12
bruno 1.25
lina 1.00
alice 0.47
| kim 14 0
bruno 6 9
alice 7 23
kim 25 12
eli 26 24
gus 23 16
jules 30 22
chen 17 10
alice 27 8
hana 19 3
| bruno 0.67
alice 0.30
kim 2.08
eli 1.08
gus 1.44
jules 1.36
chen 1.70
alice 3.38
hana 6.33
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019303-p1 | For each row, print the first column and the result of dividing the second column by the third column to two decimal places, skipping rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 21 0
chen 18 7
kim 29 15
gus 1 19
bruno 3 13
eli 17 8
bruno 25 20
lina 13 13
alice 8 17
| chen 2.57
kim 1.93
gus 0.05
bruno 0.23
eli 2.12
bruno 1.25
lina 1.00
alice 0.47
| kim 14 0
bruno 6 9
alice 7 23
kim 25 12
eli 26 24
gus 23 16
jules 30 22
chen 17 10
alice 27 8
hana 19 3
| bruno 0.67
alice 0.30
kim 2.08
eli 1.08
gus 1.44
jules 1.36
chen 1.70
alice 3.38
hana 6.33
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019303 | qwen/qwen3.7-plus |
awkweave-0019304 | 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 juniper 19
eli cobalt 29
jules delta 12
alice grove 21
hana ember 25
dina delta 22
ivan indigo 23
farah amber 12
| eli cobalt 29
hana ember 25
ivan indigo 23
| farah grove 15
hana indigo 17
kim fable 17
alice fable 12
lina amber 4
hana indigo 28
lina ember 7
jules amber 12
ivan harbor 10
| hana indigo 28
hana indigo 17
kim fable 17
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019304-p1 | Print the top three records with the highest numeric values in the third column, sorted in descending order, preserving 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 juniper 19
eli cobalt 29
jules delta 12
alice grove 21
hana ember 25
dina delta 22
ivan indigo 23
farah amber 12
| eli cobalt 29
hana ember 25
ivan indigo 23
| farah grove 15
hana indigo 17
kim fable 17
alice fable 12
lina amber 4
hana indigo 28
lina ember 7
jules amber 12
ivan harbor 10
| hana indigo 28
hana indigo 17
kim fable 17
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019304 | qwen/qwen3.7-plus |
awkweave-0019305 | For each line, output fields 4 and 1, in that order. | {print $4, $1} | jules harbor gus pending alice hana
dina birch jules ready kim bruno
alice cobalt jules closed farah alice
gus juniper ivan ready jules bruno
gus delta kim pending chen hana
alice juniper dina closed dina eli
| pending jules
ready dina
closed alice
ready gus
pending gus
closed alice
| farah delta lina pending lina chen
dina indigo chen paused jules kim
lina birch lina ready gus hana
dina ember alice pending hana ivan
kim juniper jules closed gus eli
chen birch farah closed bruno jules
lina amber ivan closed kim lina
| pending farah
paused dina
ready lina
pending dina
closed kim
closed chen
closed lina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019305-p1 | For each line, output the fourth field followed by the first field. | {print $4, $1} | jules harbor gus pending alice hana
dina birch jules ready kim bruno
alice cobalt jules closed farah alice
gus juniper ivan ready jules bruno
gus delta kim pending chen hana
alice juniper dina closed dina eli
| pending jules
ready dina
closed alice
ready gus
pending gus
closed alice
| farah delta lina pending lina chen
dina indigo chen paused jules kim
lina birch lina ready gus hana
dina ember alice pending hana ivan
kim juniper jules closed gus eli
chen birch farah closed bruno jules
lina amber ivan closed kim lina
| pending farah
paused dina
ready lina
pending dina
closed kim
closed chen
closed lina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019305 | qwen/qwen3.7-plus |
awkweave-0019306 | Print the last field of every input line. | {print $NF} | 59 ember ready
31 fable pending
52 grove closed
111 fable active
43 juniper closed
43 ember active
88 grove failed
97 grove failed
22 delta ready
| ready
pending
closed
active
closed
active
failed
failed
ready
| 51 indigo pending
28 indigo paused
70 indigo pending
12 ember failed
4 indigo ready
73 indigo active
69 ember pending
106 fable failed
69 juniper pending
111 amber failed
| pending
paused
pending
failed
ready
active
pending
failed
pending
failed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019306-p1 | Output the final field from each line of input. | {print $NF} | 59 ember ready
31 fable pending
52 grove closed
111 fable active
43 juniper closed
43 ember active
88 grove failed
97 grove failed
22 delta ready
| ready
pending
closed
active
closed
active
failed
failed
ready
| 51 indigo pending
28 indigo paused
70 indigo pending
12 ember failed
4 indigo ready
73 indigo active
69 ember pending
106 fable failed
69 juniper pending
111 amber failed
| pending
paused
pending
failed
ready
active
pending
failed
pending
failed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019306 | qwen/qwen3.7-plus |
awkweave-0019307 | Print the complete records where column 1 is less than 50. | $1 < 50 | 46 ready harbor
59 closed cobalt
12 pending indigo
86 active harbor
23 closed delta
18 active birch
| 46 ready harbor
12 pending indigo
23 closed delta
18 active birch
| 118 failed grove
0 paused grove
59 failed amber
90 pending ember
14 pending harbor
5 pending fable
42 pending grove
69 active ember
99 failed indigo
16 active ember
| 0 paused grove
14 pending harbor
5 pending fable
42 pending grove
16 active ember
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019307-p1 | Display full records where the value in the first column is under 50. | $1 < 50 | 46 ready harbor
59 closed cobalt
12 pending indigo
86 active harbor
23 closed delta
18 active birch
| 46 ready harbor
12 pending indigo
23 closed delta
18 active birch
| 118 failed grove
0 paused grove
59 failed amber
90 pending ember
14 pending harbor
5 pending fable
42 pending grove
69 active ember
99 failed indigo
16 active ember
| 0 paused grove
14 pending harbor
5 pending fable
42 pending grove
16 active ember
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019307 | qwen/qwen3.7-plus |
awkweave-0019308 | Show whole lines whose 2nd field is between 12 and 29, inclusive. | $2 >= 12 && $2 <= 29 | harbor 11 failed grove
grove 30 failed juniper
delta 18 paused delta
amber 2 failed birch
amber 28 closed grove
birch 27 failed grove
fable 25 ready indigo
indigo 21 active grove
grove 22 failed cobalt
| delta 18 paused delta
amber 28 closed grove
birch 27 failed grove
fable 25 ready indigo
indigo 21 active grove
grove 22 failed cobalt
| cobalt 7 failed delta
indigo 30 ready juniper
fable 23 active grove
birch 5 ready cobalt
birch 9 active fable
fable 10 ready cobalt
harbor 9 closed grove
delta 22 ready amber
| fable 23 active grove
delta 22 ready amber
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019308-p1 | Show entire lines where the second field falls within the inclusive range of 12 to 29. | $2 >= 12 && $2 <= 29 | harbor 11 failed grove
grove 30 failed juniper
delta 18 paused delta
amber 2 failed birch
amber 28 closed grove
birch 27 failed grove
fable 25 ready indigo
indigo 21 active grove
grove 22 failed cobalt
| delta 18 paused delta
amber 28 closed grove
birch 27 failed grove
fable 25 ready indigo
indigo 21 active grove
grove 22 failed cobalt
| cobalt 7 failed delta
indigo 30 ready juniper
fable 23 active grove
birch 5 ready cobalt
birch 9 active fable
fable 10 ready cobalt
harbor 9 closed grove
delta 22 ready amber
| fable 23 active grove
delta 22 ready amber
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019308 | qwen/qwen3.7-plus |
awkweave-0019309 | Print column 2 only for rows where column 4 is exactly pending. | $4 == "pending"{print $2} | 7 bruno grove active
65 hana harbor pending
111 bruno juniper closed
58 hana fable failed
19 lina fable active
112 kim birch active
| hana
| 87 kim grove paused
62 hana birch active
117 farah birch paused
41 dina delta closed
16 lina harbor ready
79 jules cobalt ready
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0019309-p1 | Print only the second column for rows where the fourth column equals pending. | $4 == "pending"{print $2} | 7 bruno grove active
65 hana harbor pending
111 bruno juniper closed
58 hana fable failed
19 lina fable active
112 kim birch active
| hana
| 87 kim grove paused
62 hana birch active
117 farah birch paused
41 dina delta closed
16 lina harbor ready
79 jules cobalt ready
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019309 | qwen/qwen3.7-plus | |
awkweave-0019310 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 27 WARN ember
78 ERROR delta
14 DEBUG birch
68 ERROR amber
112 WARN juniper
50 DEBUG grove
61 DEBUG birch
111 INFO delta
6 INFO ember
107 INFO birch
| 78 ERROR delta
68 ERROR amber
| 53 WARN indigo
48 DEBUG amber
0 INFO birch
84 ERROR grove
58 WARN indigo
69 INFO birch
61 WARN grove
| 84 ERROR grove
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019310-p1 | Output all fields from lines where the second field starts with ERROR. | $2 ~ /^ERROR/ | 27 WARN ember
78 ERROR delta
14 DEBUG birch
68 ERROR amber
112 WARN juniper
50 DEBUG grove
61 DEBUG birch
111 INFO delta
6 INFO ember
107 INFO birch
| 78 ERROR delta
68 ERROR amber
| 53 WARN indigo
48 DEBUG amber
0 INFO birch
84 ERROR grove
58 WARN indigo
69 INFO birch
61 WARN grove
| 84 ERROR grove
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019310 | qwen/qwen3.7-plus |
awkweave-0019311 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | ember 90 pending
juniper 87 failed
juniper 0 closed
juniper 21 failed
amber 5 active
cobalt 57 pending
grove 36 paused
juniper 65 active
juniper 999 active
| ember 90 pending
amber 5 active
cobalt 57 pending
grove 36 paused
| birch 6 paused
amber 75 paused
juniper 116 paused
amber 68 failed
indigo 112 ready
harbor 91 closed
indigo 92 active
fable 34 paused
amber 23 failed
juniper 999 active
| birch 6 paused
amber 75 paused
amber 68 failed
indigo 112 ready
harbor 91 closed
indigo 92 active
fable 34 paused
amber 23 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019311-p1 | Print every line that does not contain the exact string juniper. | $0 !~ /juniper/ | ember 90 pending
juniper 87 failed
juniper 0 closed
juniper 21 failed
amber 5 active
cobalt 57 pending
grove 36 paused
juniper 65 active
juniper 999 active
| ember 90 pending
amber 5 active
cobalt 57 pending
grove 36 paused
| birch 6 paused
amber 75 paused
juniper 116 paused
amber 68 failed
indigo 112 ready
harbor 91 closed
indigo 92 active
fable 34 paused
amber 23 failed
juniper 999 active
| birch 6 paused
amber 75 paused
amber 68 failed
indigo 112 ready
harbor 91 closed
indigo 92 active
fable 34 paused
amber 23 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019311 | qwen/qwen3.7-plus |
awkweave-0019312 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | gus fable 70
lina birch 27
hana harbor 85
jules indigo 107
jules ember 20
eli harbor 28
chen indigo 52
dina indigo 93
kim cobalt 89
dina juniper 66
| hana harbor 85
jules indigo 107
jules ember 20
| gus delta 20
bruno cobalt 71
gus cobalt 28
farah ember 23
lina juniper 114
dina indigo 56
alice delta 52
ivan juniper 26
hana juniper 112
chen indigo 12
| gus cobalt 28
farah ember 23
lina juniper 114
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019312-p1 | Output lines 3 to 5, inclusive of both ends. | NR >= 3 && NR <= 5 | gus fable 70
lina birch 27
hana harbor 85
jules indigo 107
jules ember 20
eli harbor 28
chen indigo 52
dina indigo 93
kim cobalt 89
dina juniper 66
| hana harbor 85
jules indigo 107
jules ember 20
| gus delta 20
bruno cobalt 71
gus cobalt 28
farah ember 23
lina juniper 114
dina indigo 56
alice delta 52
ivan juniper 26
hana juniper 112
chen indigo 12
| gus cobalt 28
farah ember 23
lina juniper 114
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019312 | qwen/qwen3.7-plus |
awkweave-0019313 | Output only the first 4 records. | NR <= 4 | dina 61 ember
chen 114 delta
dina 58 delta
farah 34 birch
alice 83 juniper
bruno 10 cobalt
eli 23 birch
ivan 71 birch
kim 3 birch
bruno 44 fable
| dina 61 ember
chen 114 delta
dina 58 delta
farah 34 birch
| alice 27 delta
farah 26 cobalt
chen 67 fable
hana 101 birch
ivan 89 ember
kim 54 cobalt
alice 42 ember
| alice 27 delta
farah 26 cobalt
chen 67 fable
hana 101 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019313-p1 | Display only the initial 4 records. | NR <= 4 | dina 61 ember
chen 114 delta
dina 58 delta
farah 34 birch
alice 83 juniper
bruno 10 cobalt
eli 23 birch
ivan 71 birch
kim 3 birch
bruno 44 fable
| dina 61 ember
chen 114 delta
dina 58 delta
farah 34 birch
| alice 27 delta
farah 26 cobalt
chen 67 fable
hana 101 birch
ivan 89 ember
kim 54 cobalt
alice 42 ember
| alice 27 delta
farah 26 cobalt
chen 67 fable
hana 101 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019313 | qwen/qwen3.7-plus |
awkweave-0019314 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 104 indigo
kim 75 juniper
jules 84 grove
kim 66 fable
hana 97 birch
chen 68 harbor
eli 108 amber
hana 18 juniper
bruno 52 cobalt
| kim 75 juniper
jules 84 grove
kim 66 fable
hana 97 birch
chen 68 harbor
eli 108 amber
hana 18 juniper
bruno 52 cobalt
| jules 114 harbor
chen 50 juniper
dina 35 delta
chen 66 grove
bruno 78 ember
eli 4 indigo
eli 71 indigo
jules 13 delta
gus 71 harbor
| chen 50 juniper
dina 35 delta
chen 66 grove
bruno 78 ember
eli 4 indigo
eli 71 indigo
jules 13 delta
gus 71 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019314-p1 | Ignore the first line and print all subsequent lines as they are. | NR > 1 | chen 104 indigo
kim 75 juniper
jules 84 grove
kim 66 fable
hana 97 birch
chen 68 harbor
eli 108 amber
hana 18 juniper
bruno 52 cobalt
| kim 75 juniper
jules 84 grove
kim 66 fable
hana 97 birch
chen 68 harbor
eli 108 amber
hana 18 juniper
bruno 52 cobalt
| jules 114 harbor
chen 50 juniper
dina 35 delta
chen 66 grove
bruno 78 ember
eli 4 indigo
eli 71 indigo
jules 13 delta
gus 71 harbor
| chen 50 juniper
dina 35 delta
chen 66 grove
bruno 78 ember
eli 4 indigo
eli 71 indigo
jules 13 delta
gus 71 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019314 | qwen/qwen3.7-plus |
awkweave-0019315 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | jules closed 85
jules pending 88
hana active 20
farah failed 41
kim pending 66
dina ready 52
dina active 95
eli ready 6
alice pending 76
| 3
| hana ready 108
kim paused 86
jules failed 75
lina pending 62
lina closed 67
dina pending 4
hana closed 77
bruno failed 68
gus pending 32
dina paused 49
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019315-p1 | Count the number of records with pending in the second column, outputting 0 if none exist. | $2 == "pending"{n++}END{print n+0} | jules closed 85
jules pending 88
hana active 20
farah failed 41
kim pending 66
dina ready 52
dina active 95
eli ready 6
alice pending 76
| 3
| hana ready 108
kim paused 86
jules failed 75
lina pending 62
lina closed 67
dina pending 4
hana closed 77
bruno failed 68
gus pending 32
dina paused 49
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019315 | qwen/qwen3.7-plus |
awkweave-0019316 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 5 chen juniper
6 farah ember
12 eli cobalt
12 gus birch
18 jules indigo
4 kim harbor
15 gus harbor
29 eli ember
16 jules birch
10 alice birch
| 127
| 24 farah amber
17 kim delta
16 dina ember
6 chen delta
2 bruno juniper
25 lina juniper
11 ivan grove
29 ivan ember
30 dina fable
25 farah juniper
| 185
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019316-p1 | Compute and display the total sum of integer values in the first column. | {s+=$1}END{print s+0} | 5 chen juniper
6 farah ember
12 eli cobalt
12 gus birch
18 jules indigo
4 kim harbor
15 gus harbor
29 eli ember
16 jules birch
10 alice birch
| 127
| 24 farah amber
17 kim delta
16 dina ember
6 chen delta
2 bruno juniper
25 lina juniper
11 ivan grove
29 ivan ember
30 dina fable
25 farah juniper
| 185
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019316 | qwen/qwen3.7-plus |
awkweave-0019317 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 7 hana
harbor 22 hana
fable 5 hana
juniper 9 jules
birch 19 lina
cobalt 2 chen
grove 10 gus
delta 24 alice
cobalt 14 lina
| 12.44
| amber 1 bruno
delta 19 hana
fable 30 dina
juniper 18 ivan
indigo 8 chen
indigo 5 jules
indigo 6 gus
indigo 20 farah
| 13.38
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019317-p1 | Print the average of the second column, rounded to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 7 hana
harbor 22 hana
fable 5 hana
juniper 9 jules
birch 19 lina
cobalt 2 chen
grove 10 gus
delta 24 alice
cobalt 14 lina
| 12.44
| amber 1 bruno
delta 19 hana
fable 30 dina
juniper 18 ivan
indigo 8 chen
indigo 5 jules
indigo 6 gus
indigo 20 farah
| 13.38
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019317 | qwen/qwen3.7-plus |
awkweave-0019318 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | farah 15 fable
hana 13 birch
eli 12 birch
farah 29 indigo
kim 12 amber
bruno 14 amber
ivan 10 indigo
gus 13 amber
| 10
| alice 3 grove
hana 1 amber
dina 7 fable
chen 17 harbor
eli 6 harbor
chen 20 indigo
dina 16 ember
chen 9 grove
gus 15 indigo
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019318-p1 | Identify and output the minimum number found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | farah 15 fable
hana 13 birch
eli 12 birch
farah 29 indigo
kim 12 amber
bruno 14 amber
ivan 10 indigo
gus 13 amber
| 10
| alice 3 grove
hana 1 amber
dina 7 fable
chen 17 harbor
eli 6 harbor
chen 20 indigo
dina 16 ember
chen 9 grove
gus 15 indigo
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019318 | qwen/qwen3.7-plus |
awkweave-0019319 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 20 gus
juniper 18 bruno
juniper 28 eli
amber 28 ivan
indigo 11 kim
cobalt 21 ivan
| 28
| fable 21 alice
cobalt 7 gus
harbor 30 farah
cobalt 29 hana
grove 10 alice
amber 7 eli
amber 5 lina
harbor 23 hana
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019319-p1 | Locate and display the maximum numeric value within column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 20 gus
juniper 18 bruno
juniper 28 eli
amber 28 ivan
indigo 11 kim
cobalt 21 ivan
| 28
| fable 21 alice
cobalt 7 gus
harbor 30 farah
cobalt 29 hana
grove 10 alice
amber 7 eli
amber 5 lina
harbor 23 hana
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019319 | qwen/qwen3.7-plus |
awkweave-0019320 | Count all input records and print the total. | END{print NR} | ivan 84
hana 21
ivan 31
bruno 38
kim 45
kim 28
lina 108
hana 30
dina 51
kim 115
| 10
| alice 43
farah 68
ivan 116
dina 49
lina 78
alice 53
kim 113
ivan 0
kim 60
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019320-p1 | Calculate the total number of input records and print the count. | END{print NR} | ivan 84
hana 21
ivan 31
bruno 38
kim 45
kim 28
lina 108
hana 30
dina 51
kim 115
| 10
| alice 43
farah 68
ivan 116
dina 49
lina 78
alice 53
kim 113
ivan 0
kim 60
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019320 | qwen/qwen3.7-plus |
awkweave-0019321 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules delta 5
farah fable 70
dina juniper 6
jules birch 73
jules cobalt 27
jules ember 66
eli fable 110
jules delta 5
ivan ember 112
bruno fable 116
| jules delta 5
farah fable 70
dina juniper 6
jules birch 73
jules cobalt 27
jules ember 66
eli fable 110
ivan ember 112
bruno fable 116
| jules delta 10
gus amber 19
bruno ember 74
ivan delta 93
jules delta 10
bruno cobalt 6
bruno delta 15
alice delta 67
eli delta 110
lina grove 93
| jules delta 10
gus amber 19
bruno ember 74
ivan delta 93
bruno cobalt 6
bruno delta 15
alice delta 67
eli delta 110
lina grove 93
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019321-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | jules delta 5
farah fable 70
dina juniper 6
jules birch 73
jules cobalt 27
jules ember 66
eli fable 110
jules delta 5
ivan ember 112
bruno fable 116
| jules delta 5
farah fable 70
dina juniper 6
jules birch 73
jules cobalt 27
jules ember 66
eli fable 110
ivan ember 112
bruno fable 116
| jules delta 10
gus amber 19
bruno ember 74
ivan delta 93
jules delta 10
bruno cobalt 6
bruno delta 15
alice delta 67
eli delta 110
lina grove 93
| jules delta 10
gus amber 19
bruno ember 74
ivan delta 93
bruno cobalt 6
bruno delta 15
alice delta 67
eli delta 110
lina grove 93
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019321 | qwen/qwen3.7-plus |
awkweave-0019322 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | chen indigo 94
kim fable 118
lina cobalt 102
jules ember 116
hana ember 82
hana birch 41
| chen indigo 94
kim fable 118
lina cobalt 102
jules ember 116
hana ember 82
| jules cobalt 108
alice fable 91
hana fable 39
kim amber 77
lina cobalt 68
alice cobalt 98
bruno birch 44
| jules cobalt 108
alice fable 91
hana fable 39
kim amber 77
lina cobalt 68
bruno birch 44
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019322-p1 | Retain only the initial line for every unique value in the first column while preserving the input order. | !seen[$1]++ | chen indigo 94
kim fable 118
lina cobalt 102
jules ember 116
hana ember 82
hana birch 41
| chen indigo 94
kim fable 118
lina cobalt 102
jules ember 116
hana ember 82
| jules cobalt 108
alice fable 91
hana fable 39
kim amber 77
lina cobalt 68
alice cobalt 98
bruno birch 44
| jules cobalt 108
alice fable 91
hana fable 39
kim amber 77
lina cobalt 68
bruno birch 44
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019322 | qwen/qwen3.7-plus |
awkweave-0019323 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 15 indigo
farah 3 birch
kim 21 delta
dina 19 cobalt
farah 29 cobalt
eli 22 fable
dina 19 juniper
dina 14 birch
farah 25 birch
bruno 3 grove
| hana 15
farah 18
kim 39
dina 58
farah 87
eli 109
dina 128
dina 142
farah 167
bruno 170
| jules 16 indigo
jules 24 juniper
bruno 3 delta
chen 13 grove
alice 18 delta
farah 23 indigo
lina 10 harbor
bruno 21 delta
| jules 16
jules 40
bruno 43
chen 56
alice 74
farah 97
lina 107
bruno 128
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019323-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | hana 15 indigo
farah 3 birch
kim 21 delta
dina 19 cobalt
farah 29 cobalt
eli 22 fable
dina 19 juniper
dina 14 birch
farah 25 birch
bruno 3 grove
| hana 15
farah 18
kim 39
dina 58
farah 87
eli 109
dina 128
dina 142
farah 167
bruno 170
| jules 16 indigo
jules 24 juniper
bruno 3 delta
chen 13 grove
alice 18 delta
farah 23 indigo
lina 10 harbor
bruno 21 delta
| jules 16
jules 40
bruno 43
chen 56
alice 74
farah 97
lina 107
bruno 128
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019323 | qwen/qwen3.7-plus |
awkweave-0019324 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 12 1 indigo
gus 5 7 juniper
jules 11 29 grove
kim 16 15 fable
alice 25 17 amber
chen 8 22 grove
farah 30 24 juniper
gus 3 25 juniper
| eli 13
gus 12
jules 40
kim 31
alice 42
chen 30
farah 54
gus 28
| jules 1 18 birch
hana 20 25 delta
bruno 21 27 amber
kim 6 26 cobalt
kim 26 24 ember
eli 20 24 amber
farah 2 8 cobalt
| jules 19
hana 45
bruno 48
kim 32
kim 50
eli 44
farah 10
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019324-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | eli 12 1 indigo
gus 5 7 juniper
jules 11 29 grove
kim 16 15 fable
alice 25 17 amber
chen 8 22 grove
farah 30 24 juniper
gus 3 25 juniper
| eli 13
gus 12
jules 40
kim 31
alice 42
chen 30
farah 54
gus 28
| jules 1 18 birch
hana 20 25 delta
bruno 21 27 amber
kim 6 26 cobalt
kim 26 24 ember
eli 20 24 amber
farah 2 8 cobalt
| jules 19
hana 45
bruno 48
kim 32
kim 50
eli 44
farah 10
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019324 | qwen/qwen3.7-plus |
awkweave-0019325 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | alice 26
eli 21
gus 27
kim 3
ivan 9
chen 19
| alice pass
eli fail
gus pass
kim fail
ivan fail
chen fail
| eli 6
hana 15
kim 25
lina 29
kim 3
kim 30
| eli fail
hana fail
kim fail
lina pass
kim fail
kim pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019325-p1 | Output the first column along with 'pass' if the second column is 26 or greater, otherwise output 'fail'. | {print $1,($2>=26?"pass":"fail")} | alice 26
eli 21
gus 27
kim 3
ivan 9
chen 19
| alice pass
eli fail
gus pass
kim fail
ivan fail
chen fail
| eli 6
hana 15
kim 25
lina 29
kim 3
kim 30
| eli fail
hana fail
kim fail
lina pass
kim fail
kim pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019325 | qwen/qwen3.7-plus |
awkweave-0019326 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | ivan amber 42
hana birch 36
hana birch 31
alice ember 20
lina indigo 105
kim harbor 70
farah indigo 44
dina indigo 52
| AMBER
BIRCH
BIRCH
EMBER
INDIGO
HARBOR
INDIGO
INDIGO
| chen ember 7
hana harbor 26
hana grove 18
jules indigo 65
eli harbor 45
farah cobalt 94
eli fable 56
jules juniper 103
eli grove 31
| EMBER
HARBOR
GROVE
INDIGO
HARBOR
COBALT
FABLE
JUNIPER
GROVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019326-p1 | Transform the second column to uppercase letters and print only that modified column. | {print toupper($2)} | ivan amber 42
hana birch 36
hana birch 31
alice ember 20
lina indigo 105
kim harbor 70
farah indigo 44
dina indigo 52
| AMBER
BIRCH
BIRCH
EMBER
INDIGO
HARBOR
INDIGO
INDIGO
| chen ember 7
hana harbor 26
hana grove 18
jules indigo 65
eli harbor 45
farah cobalt 94
eli fable 56
jules juniper 103
eli grove 31
| EMBER
HARBOR
GROVE
INDIGO
HARBOR
COBALT
FABLE
JUNIPER
GROVE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019326 | qwen/qwen3.7-plus |
awkweave-0019327 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | indigo 110
fable 79
juniper 59
fable 85
indigo 42
delta 24
indigo 60
| digo
ble
nipe
ble
digo
lta
digo
| grove 3
ember 118
grove 66
juniper 47
grove 9
grove 71
harbor 86
indigo 11
| ove
ber
ove
nipe
ove
ove
rbor
digo
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019327-p1 | Extract and print a 4-character substring from the first column, starting at the third character. | {print substr($1,3,4)} | indigo 110
fable 79
juniper 59
fable 85
indigo 42
delta 24
indigo 60
| digo
ble
nipe
ble
digo
lta
digo
| grove 3
ember 118
grove 66
juniper 47
grove 9
grove 71
harbor 86
indigo 11
| ove
ber
ove
nipe
ove
ove
rbor
digo
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019327 | qwen/qwen3.7-plus |
awkweave-0019328 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_birch 29
harbor_harbor 91
ember_ember 19
delta_grove 22
birch_delta 83
indigo_fable 94
amber_fable 1
cobalt_amber 72
ember_ember 52
grove_amber 74
| amber birch
harbor harbor
ember ember
delta grove
birch delta
indigo fable
amber fable
cobalt amber
ember ember
grove amber
| amber_juniper 50
amber_birch 38
cobalt_ember 62
amber_birch 28
ember_amber 80
indigo_ember 117
grove_fable 50
indigo_juniper 114
cobalt_amber 116
amber_juniper 58
| amber juniper
amber birch
cobalt ember
amber birch
ember amber
indigo ember
grove fable
indigo juniper
cobalt amber
amber juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019328-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | amber_birch 29
harbor_harbor 91
ember_ember 19
delta_grove 22
birch_delta 83
indigo_fable 94
amber_fable 1
cobalt_amber 72
ember_ember 52
grove_amber 74
| amber birch
harbor harbor
ember ember
delta grove
birch delta
indigo fable
amber fable
cobalt amber
ember ember
grove amber
| amber_juniper 50
amber_birch 38
cobalt_ember 62
amber_birch 28
ember_amber 80
indigo_ember 117
grove_fable 50
indigo_juniper 114
cobalt_amber 116
amber_juniper 58
| amber juniper
amber birch
cobalt ember
amber birch
ember amber
indigo ember
grove fable
indigo juniper
cobalt amber
amber juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019328 | qwen/qwen3.7-plus |
awkweave-0019329 | 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)} | lina harbor 70 pending
bruno grove 114 active
lina ember 5 active
ivan fable 113 paused
chen delta 40 paused
kim birch 119 active
lina delta 60 failed
eli fable 92 paused
| pending 70 harbor lina
active 114 grove bruno
active 5 ember lina
paused 113 fable ivan
paused 40 delta chen
active 119 birch kim
failed 60 delta lina
paused 92 fable eli
| lina birch 33 active
ivan juniper 73 paused
chen juniper 30 closed
dina juniper 112 failed
ivan birch 120 closed
lina amber 102 failed
chen birch 107 pending
gus ember 37 paused
| active 33 birch lina
paused 73 juniper ivan
closed 30 juniper chen
failed 112 juniper dina
closed 120 birch ivan
failed 102 amber lina
pending 107 birch chen
paused 37 ember gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019329-p1 | Reverse the sequence of fields on each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | lina harbor 70 pending
bruno grove 114 active
lina ember 5 active
ivan fable 113 paused
chen delta 40 paused
kim birch 119 active
lina delta 60 failed
eli fable 92 paused
| pending 70 harbor lina
active 114 grove bruno
active 5 ember lina
paused 113 fable ivan
paused 40 delta chen
active 119 birch kim
failed 60 delta lina
paused 92 fable eli
| lina birch 33 active
ivan juniper 73 paused
chen juniper 30 closed
dina juniper 112 failed
ivan birch 120 closed
lina amber 102 failed
chen birch 107 pending
gus ember 37 paused
| active 33 birch lina
paused 73 juniper ivan
closed 30 juniper chen
failed 112 juniper dina
closed 120 birch ivan
failed 102 amber lina
pending 107 birch chen
paused 37 ember gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019329 | qwen/qwen3.7-plus |
awkweave-0019330 | Print the number of whitespace-separated fields on each line. | {print NF} | alice grove 42 active
ivan fable 40 paused
lina cobalt 109 failed
farah indigo 35 closed
lina ember 15 closed
bruno cobalt 113 pending
farah birch 114 pending
hana amber 15 pending
alice grove 112 paused
| 4
4
4
4
4
4
4
4
4
| farah grove 80 ready
alice indigo 8 closed
farah indigo 32 active
chen amber 75 paused
hana indigo 52 ready
lina indigo 115 active
jules ember 25 pending
jules cobalt 83 closed
gus juniper 5 failed
| 4
4
4
4
4
4
4
4
4
| field_count | 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.