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-0043332 | Show whole lines whose 1st field is between 7 and 27, inclusive. | $1 >= 7 && $1 <= 27 | 13 delta cobalt paused
9 cobalt harbor closed
27 birch cobalt closed
25 amber ember pending
7 amber cobalt ready
28 juniper amber ready
20 delta indigo failed
30 fable cobalt pending
7 birch grove paused
20 birch fable active
| 13 delta cobalt paused
9 cobalt harbor closed
27 birch cobalt closed
25 amber ember pending
7 amber cobalt ready
20 delta indigo failed
7 birch grove paused
20 birch fable active
| 26 juniper cobalt failed
13 juniper juniper ready
4 ember ember ready
22 birch cobalt active
29 fable harbor pending
3 birch ember active
16 juniper cobalt active
| 26 juniper cobalt failed
13 juniper juniper ready
22 birch cobalt active
16 juniper cobalt active
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043332-p1 | Show entire lines where the first field falls within the range 7 to 27, inclusive. | $1 >= 7 && $1 <= 27 | 13 delta cobalt paused
9 cobalt harbor closed
27 birch cobalt closed
25 amber ember pending
7 amber cobalt ready
28 juniper amber ready
20 delta indigo failed
30 fable cobalt pending
7 birch grove paused
20 birch fable active
| 13 delta cobalt paused
9 cobalt harbor closed
27 birch cobalt closed
25 amber ember pending
7 amber cobalt ready
20 delta indigo failed
7 birch grove paused
20 birch fable active
| 26 juniper cobalt failed
13 juniper juniper ready
4 ember ember ready
22 birch cobalt active
29 fable harbor pending
3 birch ember active
16 juniper cobalt active
| 26 juniper cobalt failed
13 juniper juniper ready
22 birch cobalt active
16 juniper cobalt active
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043332 | qwen/qwen3.7-plus |
awkweave-0043333 | Print column 4 only for rows where column 1 is exactly paused. | $1 == "paused"{print $4} | ready amber 79 ivan
failed amber 119 bruno
closed fable 28 alice
paused indigo 94 kim
active cobalt 59 eli
pending grove 101 farah
active fable 23 jules
ready juniper 14 bruno
failed grove 38 chen
active juniper 75 chen
| kim
| failed fable 30 kim
failed harbor 110 bruno
failed indigo 93 jules
paused amber 103 eli
active cobalt 56 eli
failed indigo 119 hana
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043333-p1 | Extract and print only the fourth column for rows where the first column equals paused. | $1 == "paused"{print $4} | ready amber 79 ivan
failed amber 119 bruno
closed fable 28 alice
paused indigo 94 kim
active cobalt 59 eli
pending grove 101 farah
active fable 23 jules
ready juniper 14 bruno
failed grove 38 chen
active juniper 75 chen
| kim
| failed fable 30 kim
failed harbor 110 bruno
failed indigo 93 jules
paused amber 103 eli
active cobalt 56 eli
failed indigo 119 hana
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043333 | qwen/qwen3.7-plus |
awkweave-0043334 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | WARN juniper 87
INFO ember 74
ERROR indigo 73
DEBUG juniper 77
ERROR grove 34
INFO birch 91
WARN cobalt 83
WARN fable 0
WARN cobalt 107
| ERROR indigo 73
ERROR grove 34
| INFO cobalt 8
INFO ember 71
DEBUG birch 52
INFO juniper 34
ERROR grove 116
INFO amber 64
WARN fable 37
INFO cobalt 34
INFO indigo 46
WARN juniper 105
| ERROR grove 116
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043334-p1 | Print all fields for any line where the first field starts with ERROR. | $1 ~ /^ERROR/ | WARN juniper 87
INFO ember 74
ERROR indigo 73
DEBUG juniper 77
ERROR grove 34
INFO birch 91
WARN cobalt 83
WARN fable 0
WARN cobalt 107
| ERROR indigo 73
ERROR grove 34
| INFO cobalt 8
INFO ember 71
DEBUG birch 52
INFO juniper 34
ERROR grove 116
INFO amber 64
WARN fable 37
INFO cobalt 34
INFO indigo 46
WARN juniper 105
| ERROR grove 116
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043334 | qwen/qwen3.7-plus |
awkweave-0043335 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | ember 120 paused
juniper 37 failed
cobalt 118 ready
amber 16 pending
indigo 44 active
amber 84 ready
indigo 76 closed
harbor 999 active
| ember 120 paused
juniper 37 failed
cobalt 118 ready
amber 16 pending
indigo 44 active
amber 84 ready
indigo 76 closed
| harbor 15 active
grove 118 ready
delta 104 active
indigo 8 paused
juniper 54 ready
indigo 9 failed
grove 36 closed
delta 11 pending
harbor 999 active
| grove 118 ready
delta 104 active
indigo 8 paused
juniper 54 ready
indigo 9 failed
grove 36 closed
delta 11 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043335-p1 | Output every line that does not contain the exact string harbor. | $0 !~ /harbor/ | ember 120 paused
juniper 37 failed
cobalt 118 ready
amber 16 pending
indigo 44 active
amber 84 ready
indigo 76 closed
harbor 999 active
| ember 120 paused
juniper 37 failed
cobalt 118 ready
amber 16 pending
indigo 44 active
amber 84 ready
indigo 76 closed
| harbor 15 active
grove 118 ready
delta 104 active
indigo 8 paused
juniper 54 ready
indigo 9 failed
grove 36 closed
delta 11 pending
harbor 999 active
| grove 118 ready
delta 104 active
indigo 8 paused
juniper 54 ready
indigo 9 failed
grove 36 closed
delta 11 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043335 | qwen/qwen3.7-plus |
awkweave-0043336 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | eli delta 69
kim fable 69
farah fable 61
alice cobalt 13
ivan cobalt 23
chen birch 41
| kim fable 69
farah fable 61
alice cobalt 13
ivan cobalt 23
| chen delta 56
dina delta 86
kim grove 1
hana ember 71
bruno grove 85
alice juniper 101
chen harbor 87
alice amber 30
lina delta 56
| dina delta 86
kim grove 1
hana ember 71
bruno grove 85
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043336-p1 | Print lines numbered 2 through 5, inclusive of both endpoints. | NR >= 2 && NR <= 5 | eli delta 69
kim fable 69
farah fable 61
alice cobalt 13
ivan cobalt 23
chen birch 41
| kim fable 69
farah fable 61
alice cobalt 13
ivan cobalt 23
| chen delta 56
dina delta 86
kim grove 1
hana ember 71
bruno grove 85
alice juniper 101
chen harbor 87
alice amber 30
lina delta 56
| dina delta 86
kim grove 1
hana ember 71
bruno grove 85
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043336 | qwen/qwen3.7-plus |
awkweave-0043337 | Output only the first 3 records. | NR <= 3 | alice 10 grove
eli 13 juniper
ivan 56 cobalt
kim 118 harbor
dina 39 delta
hana 84 fable
ivan 111 harbor
chen 79 grove
alice 52 juniper
| alice 10 grove
eli 13 juniper
ivan 56 cobalt
| jules 36 harbor
gus 58 harbor
dina 87 amber
alice 95 juniper
jules 75 cobalt
gus 115 cobalt
dina 19 ember
| jules 36 harbor
gus 58 harbor
dina 87 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043337-p1 | Output only the first three records. | NR <= 3 | alice 10 grove
eli 13 juniper
ivan 56 cobalt
kim 118 harbor
dina 39 delta
hana 84 fable
ivan 111 harbor
chen 79 grove
alice 52 juniper
| alice 10 grove
eli 13 juniper
ivan 56 cobalt
| jules 36 harbor
gus 58 harbor
dina 87 amber
alice 95 juniper
jules 75 cobalt
gus 115 cobalt
dina 19 ember
| jules 36 harbor
gus 58 harbor
dina 87 amber
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043337 | qwen/qwen3.7-plus |
awkweave-0043338 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 17 juniper
chen 13 ember
kim 112 fable
gus 43 juniper
hana 53 harbor
gus 106 delta
bruno 57 grove
lina 16 ember
lina 85 delta
| chen 13 ember
kim 112 fable
gus 43 juniper
hana 53 harbor
gus 106 delta
bruno 57 grove
lina 16 ember
lina 85 delta
| farah 82 grove
farah 93 harbor
ivan 95 juniper
hana 24 indigo
hana 85 birch
chen 61 grove
farah 91 grove
eli 7 ember
| farah 93 harbor
ivan 95 juniper
hana 24 indigo
hana 85 birch
chen 61 grove
farah 91 grove
eli 7 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043338-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | jules 17 juniper
chen 13 ember
kim 112 fable
gus 43 juniper
hana 53 harbor
gus 106 delta
bruno 57 grove
lina 16 ember
lina 85 delta
| chen 13 ember
kim 112 fable
gus 43 juniper
hana 53 harbor
gus 106 delta
bruno 57 grove
lina 16 ember
lina 85 delta
| farah 82 grove
farah 93 harbor
ivan 95 juniper
hana 24 indigo
hana 85 birch
chen 61 grove
farah 91 grove
eli 7 ember
| farah 93 harbor
ivan 95 juniper
hana 24 indigo
hana 85 birch
chen 61 grove
farah 91 grove
eli 7 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043338 | qwen/qwen3.7-plus |
awkweave-0043339 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | farah paused 25
ivan paused 49
ivan paused 75
alice active 47
alice active 79
dina paused 82
jules pending 11
hana active 99
eli ready 67
| 4
| dina ready 66
farah paused 71
hana failed 59
hana ready 18
dina failed 113
farah failed 103
bruno closed 107
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043339-p1 | Count the number of records where column 2 contains paused; output 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | farah paused 25
ivan paused 49
ivan paused 75
alice active 47
alice active 79
dina paused 82
jules pending 11
hana active 99
eli ready 67
| 4
| dina ready 66
farah paused 71
hana failed 59
hana ready 18
dina failed 113
farah failed 103
bruno closed 107
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043339 | qwen/qwen3.7-plus |
awkweave-0043340 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 1 cobalt dina
14 juniper lina
15 cobalt alice
13 harbor jules
27 birch hana
4 delta dina
10 birch lina
| 84
| 8 birch ivan
28 delta kim
23 ember hana
1 grove chen
4 harbor gus
5 delta bruno
6 harbor bruno
18 delta dina
2 fable ivan
10 harbor jules
| 105
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043340-p1 | Compute and display the sum of all integer values found in column 1. | {s+=$1}END{print s+0} | 1 cobalt dina
14 juniper lina
15 cobalt alice
13 harbor jules
27 birch hana
4 delta dina
10 birch lina
| 84
| 8 birch ivan
28 delta kim
23 ember hana
1 grove chen
4 harbor gus
5 delta bruno
6 harbor bruno
18 delta dina
2 fable ivan
10 harbor jules
| 105
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043340 | qwen/qwen3.7-plus |
awkweave-0043341 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana amber 8
lina birch 15
ivan ember 12
hana amber 17
lina delta 18
dina fable 16
| 14.33
| chen birch 24
bruno ember 7
alice indigo 15
dina juniper 7
farah cobalt 9
alice amber 27
ivan grove 16
bruno amber 17
| 15.25
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043341-p1 | Calculate the average of column 3 and print the result rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | hana amber 8
lina birch 15
ivan ember 12
hana amber 17
lina delta 18
dina fable 16
| 14.33
| chen birch 24
bruno ember 7
alice indigo 15
dina juniper 7
farah cobalt 9
alice amber 27
ivan grove 16
bruno amber 17
| 15.25
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043341 | qwen/qwen3.7-plus |
awkweave-0043342 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 28 harbor hana
28 fable dina
24 birch dina
12 harbor dina
16 juniper dina
24 grove bruno
19 ember farah
9 amber farah
9 birch dina
| 9
| 18 juniper kim
1 delta chen
24 birch eli
22 ember dina
21 indigo gus
3 grove bruno
21 fable chen
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043342-p1 | Output the minimum number found in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 28 harbor hana
28 fable dina
24 birch dina
12 harbor dina
16 juniper dina
24 grove bruno
19 ember farah
9 amber farah
9 birch dina
| 9
| 18 juniper kim
1 delta chen
24 birch eli
22 ember dina
21 indigo gus
3 grove bruno
21 fable chen
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043342 | qwen/qwen3.7-plus |
awkweave-0043343 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 2 bruno birch
10 jules amber
28 jules juniper
10 chen fable
22 hana ember
1 farah harbor
18 alice grove
| 28
| 18 chen delta
26 alice grove
14 hana grove
21 hana amber
10 hana fable
2 hana juniper
20 dina harbor
13 ivan amber
26 hana cobalt
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043343-p1 | Output the maximum number found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 2 bruno birch
10 jules amber
28 jules juniper
10 chen fable
22 hana ember
1 farah harbor
18 alice grove
| 28
| 18 chen delta
26 alice grove
14 hana grove
21 hana amber
10 hana fable
2 hana juniper
20 dina harbor
13 ivan amber
26 hana cobalt
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043343 | qwen/qwen3.7-plus |
awkweave-0043344 | Count all input records and print the total. | END{print NR} | chen 42
alice 80
eli 111
hana 46
eli 70
jules 50
kim 78
eli 77
ivan 70
farah 35
| 10
| hana 77
bruno 106
lina 101
bruno 17
eli 95
eli 13
alice 30
kim 93
gus 95
eli 74
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043344-p1 | Calculate and display the total number of input lines. | END{print NR} | chen 42
alice 80
eli 111
hana 46
eli 70
jules 50
kim 78
eli 77
ivan 70
farah 35
| 10
| hana 77
bruno 106
lina 101
bruno 17
eli 95
eli 13
alice 30
kim 93
gus 95
eli 74
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043344 | qwen/qwen3.7-plus |
awkweave-0043345 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina birch 62
lina ember 54
farah ember 28
bruno ember 11
farah delta 38
lina ember 54
jules fable 76
| dina birch 62
lina ember 54
farah ember 28
bruno ember 11
farah delta 38
jules fable 76
| farah cobalt 57
eli delta 24
farah cobalt 57
farah fable 14
hana indigo 112
bruno juniper 47
farah ember 67
lina indigo 47
| farah cobalt 57
eli delta 24
farah fable 14
hana indigo 112
bruno juniper 47
farah ember 67
lina indigo 47
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043345-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | dina birch 62
lina ember 54
farah ember 28
bruno ember 11
farah delta 38
lina ember 54
jules fable 76
| dina birch 62
lina ember 54
farah ember 28
bruno ember 11
farah delta 38
jules fable 76
| farah cobalt 57
eli delta 24
farah cobalt 57
farah fable 14
hana indigo 112
bruno juniper 47
farah ember 67
lina indigo 47
| farah cobalt 57
eli delta 24
farah fable 14
hana indigo 112
bruno juniper 47
farah ember 67
lina indigo 47
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043345 | qwen/qwen3.7-plus |
awkweave-0043346 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | jules delta 11
jules delta 98
farah delta 12
jules grove 110
gus delta 47
hana cobalt 107
ivan amber 82
chen indigo 94
lina fable 8
gus ember 111
| jules delta 11
farah delta 12
gus delta 47
hana cobalt 107
ivan amber 82
chen indigo 94
lina fable 8
| farah delta 52
farah juniper 109
gus delta 86
eli amber 36
chen ember 82
hana cobalt 43
| farah delta 52
gus delta 86
eli amber 36
chen ember 82
hana cobalt 43
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043346-p1 | Retain only the initial line for every unique value in the first column, keeping the original order. | !seen[$1]++ | jules delta 11
jules delta 98
farah delta 12
jules grove 110
gus delta 47
hana cobalt 107
ivan amber 82
chen indigo 94
lina fable 8
gus ember 111
| jules delta 11
farah delta 12
gus delta 47
hana cobalt 107
ivan amber 82
chen indigo 94
lina fable 8
| farah delta 52
farah juniper 109
gus delta 86
eli amber 36
chen ember 82
hana cobalt 43
| farah delta 52
gus delta 86
eli amber 36
chen ember 82
hana cobalt 43
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043346 | qwen/qwen3.7-plus |
awkweave-0043347 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | jules 22 birch
bruno 5 grove
bruno 8 ember
dina 21 harbor
eli 25 fable
bruno 5 fable
alice 24 indigo
farah 2 birch
| jules 22
bruno 27
bruno 35
dina 56
eli 81
bruno 86
alice 110
farah 112
| gus 3 fable
alice 27 cobalt
farah 5 fable
chen 21 indigo
jules 30 amber
chen 18 grove
lina 16 delta
bruno 18 amber
ivan 12 birch
| gus 3
alice 30
farah 35
chen 56
jules 86
chen 104
lina 120
bruno 138
ivan 150
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043347-p1 | For each entry, output the first column and the cumulative total of the second column, separated by a space. | {s+=$2;print $1,s} | jules 22 birch
bruno 5 grove
bruno 8 ember
dina 21 harbor
eli 25 fable
bruno 5 fable
alice 24 indigo
farah 2 birch
| jules 22
bruno 27
bruno 35
dina 56
eli 81
bruno 86
alice 110
farah 112
| gus 3 fable
alice 27 cobalt
farah 5 fable
chen 21 indigo
jules 30 amber
chen 18 grove
lina 16 delta
bruno 18 amber
ivan 12 birch
| gus 3
alice 30
farah 35
chen 56
jules 86
chen 104
lina 120
bruno 138
ivan 150
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043347 | qwen/qwen3.7-plus |
awkweave-0043348 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | ivan 30 9 amber
hana 26 8 birch
kim 15 19 delta
bruno 1 25 cobalt
alice 6 3 amber
bruno 10 18 harbor
alice 30 14 fable
dina 1 8 indigo
| ivan 39
hana 34
kim 34
bruno 26
alice 9
bruno 28
alice 44
dina 9
| lina 30 30 birch
gus 7 21 birch
ivan 6 24 fable
eli 11 26 juniper
ivan 1 5 delta
dina 23 22 ember
gus 11 29 cobalt
hana 1 13 amber
| lina 60
gus 28
ivan 30
eli 37
ivan 6
dina 45
gus 40
hana 14
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043348-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | ivan 30 9 amber
hana 26 8 birch
kim 15 19 delta
bruno 1 25 cobalt
alice 6 3 amber
bruno 10 18 harbor
alice 30 14 fable
dina 1 8 indigo
| ivan 39
hana 34
kim 34
bruno 26
alice 9
bruno 28
alice 44
dina 9
| lina 30 30 birch
gus 7 21 birch
ivan 6 24 fable
eli 11 26 juniper
ivan 1 5 delta
dina 23 22 ember
gus 11 29 cobalt
hana 1 13 amber
| lina 60
gus 28
ivan 30
eli 37
ivan 6
dina 45
gus 40
hana 14
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043348 | qwen/qwen3.7-plus |
awkweave-0043349 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | chen 26
kim 21
bruno 1
jules 28
hana 19
gus 9
alice 7
| chen pass
kim fail
bruno fail
jules pass
hana fail
gus fail
alice fail
| eli 7
jules 21
gus 26
bruno 21
hana 25
kim 11
eli 22
ivan 29
| eli fail
jules fail
gus pass
bruno fail
hana pass
kim fail
eli fail
ivan pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043349-p1 | Output the first column along with 'pass' if the second column is 24 or greater, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | chen 26
kim 21
bruno 1
jules 28
hana 19
gus 9
alice 7
| chen pass
kim fail
bruno fail
jules pass
hana fail
gus fail
alice fail
| eli 7
jules 21
gus 26
bruno 21
hana 25
kim 11
eli 22
ivan 29
| eli fail
jules fail
gus pass
bruno fail
hana pass
kim fail
eli fail
ivan pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043349 | qwen/qwen3.7-plus |
awkweave-0043350 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | hana indigo 67
alice amber 8
farah ember 120
dina juniper 78
kim juniper 0
eli grove 95
kim ember 43
hana grove 98
| INDIGO
AMBER
EMBER
JUNIPER
JUNIPER
GROVE
EMBER
GROVE
| chen juniper 113
hana amber 52
alice cobalt 100
ivan ember 96
ivan indigo 40
farah grove 85
chen amber 6
eli amber 37
| JUNIPER
AMBER
COBALT
EMBER
INDIGO
GROVE
AMBER
AMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043350-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | hana indigo 67
alice amber 8
farah ember 120
dina juniper 78
kim juniper 0
eli grove 95
kim ember 43
hana grove 98
| INDIGO
AMBER
EMBER
JUNIPER
JUNIPER
GROVE
EMBER
GROVE
| chen juniper 113
hana amber 52
alice cobalt 100
ivan ember 96
ivan indigo 40
farah grove 85
chen amber 6
eli amber 37
| JUNIPER
AMBER
COBALT
EMBER
INDIGO
GROVE
AMBER
AMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043350 | qwen/qwen3.7-plus |
awkweave-0043351 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | birch 7
ember 87
indigo 19
ember 59
juniper 29
ember 41
fable 35
juniper 13
| irc
mbe
ndi
mbe
uni
mbe
abl
uni
| fable 59
juniper 42
juniper 55
juniper 91
indigo 4
amber 103
ember 6
grove 5
| abl
uni
uni
uni
ndi
mbe
mbe
rov
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043351-p1 | Extract and print a 3-character substring from the first column, starting at the second character. | {print substr($1,2,3)} | birch 7
ember 87
indigo 19
ember 59
juniper 29
ember 41
fable 35
juniper 13
| irc
mbe
ndi
mbe
uni
mbe
abl
uni
| fable 59
juniper 42
juniper 55
juniper 91
indigo 4
amber 103
ember 6
grove 5
| abl
uni
uni
uni
ndi
mbe
mbe
rov
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043351 | qwen/qwen3.7-plus |
awkweave-0043352 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_harbor 90
grove_grove 109
ember_grove 103
fable_birch 98
harbor_cobalt 35
cobalt_cobalt 100
delta_amber 120
juniper_indigo 31
| birch harbor
grove grove
ember grove
fable birch
harbor cobalt
cobalt cobalt
delta amber
juniper indigo
| amber_delta 112
fable_birch 39
birch_ember 53
grove_juniper 15
fable_birch 103
ember_indigo 10
grove_birch 79
cobalt_indigo 60
| amber delta
fable birch
birch ember
grove juniper
fable birch
ember indigo
grove birch
cobalt indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043352-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | birch_harbor 90
grove_grove 109
ember_grove 103
fable_birch 98
harbor_cobalt 35
cobalt_cobalt 100
delta_amber 120
juniper_indigo 31
| birch harbor
grove grove
ember grove
fable birch
harbor cobalt
cobalt cobalt
delta amber
juniper indigo
| amber_delta 112
fable_birch 39
birch_ember 53
grove_juniper 15
fable_birch 103
ember_indigo 10
grove_birch 79
cobalt_indigo 60
| amber delta
fable birch
birch ember
grove juniper
fable birch
ember indigo
grove birch
cobalt indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043352 | qwen/qwen3.7-plus |
awkweave-0043353 | 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)} | ivan juniper 3 paused
alice delta 93 failed
ivan delta 30 active
lina harbor 23 closed
gus juniper 90 failed
chen amber 9 pending
chen harbor 104 paused
dina amber 63 closed
eli delta 79 pending
| paused 3 juniper ivan
failed 93 delta alice
active 30 delta ivan
closed 23 harbor lina
failed 90 juniper gus
pending 9 amber chen
paused 104 harbor chen
closed 63 amber dina
pending 79 delta eli
| hana indigo 2 paused
eli cobalt 71 ready
lina delta 62 closed
alice amber 18 pending
jules cobalt 118 active
farah fable 44 closed
hana delta 96 active
| paused 2 indigo hana
ready 71 cobalt eli
closed 62 delta lina
pending 18 amber alice
active 118 cobalt jules
closed 44 fable farah
active 96 delta hana
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043353-p1 | Reverse the field order for each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | ivan juniper 3 paused
alice delta 93 failed
ivan delta 30 active
lina harbor 23 closed
gus juniper 90 failed
chen amber 9 pending
chen harbor 104 paused
dina amber 63 closed
eli delta 79 pending
| paused 3 juniper ivan
failed 93 delta alice
active 30 delta ivan
closed 23 harbor lina
failed 90 juniper gus
pending 9 amber chen
paused 104 harbor chen
closed 63 amber dina
pending 79 delta eli
| hana indigo 2 paused
eli cobalt 71 ready
lina delta 62 closed
alice amber 18 pending
jules cobalt 118 active
farah fable 44 closed
hana delta 96 active
| paused 2 indigo hana
ready 71 cobalt eli
closed 62 delta lina
pending 18 amber alice
active 118 cobalt jules
closed 44 fable farah
active 96 delta hana
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043353 | qwen/qwen3.7-plus |
awkweave-0043354 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan birch 97 failed
dina fable 9 ready
farah fable 11 failed
dina grove 47 paused
dina juniper 113 failed
gus birch 68 closed
kim amber 111 active
| 4
4
4
4
4
4
4
| bruno delta 23 failed
farah indigo 48 paused
ivan amber 44 closed
ivan indigo 72 pending
eli cobalt 108 active
alice grove 101 closed
gus delta 61 pending
dina amber 116 active
chen amber 83 failed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043354-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | ivan birch 97 failed
dina fable 9 ready
farah fable 11 failed
dina grove 47 paused
dina juniper 113 failed
gus birch 68 closed
kim amber 111 active
| 4
4
4
4
4
4
4
| bruno delta 23 failed
farah indigo 48 paused
ivan amber 44 closed
ivan indigo 72 pending
eli cobalt 108 active
alice grove 101 closed
gus delta 61 pending
dina amber 116 active
chen amber 83 failed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043354 | qwen/qwen3.7-plus |
awkweave-0043355 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | farah gamma 104
lina beta 85
bruno delta 79
lina gamma 36
dina beta 99
kim alpha 17
bruno delta 112
hana beta 26
kim gamma 16
jules gamma 82
| gamma 4
beta 3
delta 2
alpha 1
| farah beta 113
alice delta 19
chen alpha 80
eli delta 75
alice delta 26
eli alpha 0
eli delta 64
kim gamma 118
lina alpha 19
alice beta 118
| beta 2
delta 4
alpha 3
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043355-p1 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | farah gamma 104
lina beta 85
bruno delta 79
lina gamma 36
dina beta 99
kim alpha 17
bruno delta 112
hana beta 26
kim gamma 16
jules gamma 82
| gamma 4
beta 3
delta 2
alpha 1
| farah beta 113
alice delta 19
chen alpha 80
eli delta 75
alice delta 26
eli alpha 0
eli delta 64
kim gamma 118
lina alpha 19
alice beta 118
| beta 2
delta 4
alpha 3
gamma 1
| count_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0043355 | qwen/qwen3.7-plus |
awkweave-0043356 | 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]]} | lina delta 4
lina beta 10
bruno delta 3
jules alpha 15
ivan gamma 10
chen beta 19
dina beta 16
kim alpha 29
farah gamma 6
| delta 7
beta 45
alpha 44
gamma 16
| kim delta 28
lina alpha 22
eli gamma 4
chen gamma 29
gus alpha 11
lina gamma 25
dina delta 1
| delta 29
alpha 33
gamma 58
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043356-p1 | Calculate the sum of the third column grouped by the second column's categories, listing 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]]} | lina delta 4
lina beta 10
bruno delta 3
jules alpha 15
ivan gamma 10
chen beta 19
dina beta 16
kim alpha 29
farah gamma 6
| delta 7
beta 45
alpha 44
gamma 16
| kim delta 28
lina alpha 22
eli gamma 4
chen gamma 29
gus alpha 11
lina gamma 25
dina delta 1
| delta 29
alpha 33
gamma 58
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043356 | qwen/qwen3.7-plus |
awkweave-0043357 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta cobalt 75
delta delta 36
alpha harbor 99
alpha indigo 11
beta amber 74
delta ember 51
| beta 2
delta 2
alpha 2
| delta delta 59
beta juniper 41
delta ember 65
alpha grove 42
alpha amber 42
alpha juniper 5
gamma ember 111
delta harbor 54
gamma amber 89
| delta 3
alpha 3
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043357-p1 | List each duplicate entry from the first column along with its frequency, sorted by the order of 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]]} | beta cobalt 75
delta delta 36
alpha harbor 99
alpha indigo 11
beta amber 74
delta ember 51
| beta 2
delta 2
alpha 2
| delta delta 59
beta juniper 41
delta ember 65
alpha grove 42
alpha amber 42
alpha juniper 5
gamma ember 111
delta harbor 54
gamma amber 89
| delta 3
alpha 3
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043357 | qwen/qwen3.7-plus |
awkweave-0043358 | 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"]} | state display_name score region
r001 eli 23 pending
r002 kim 5 pending
r003 alice 29 paused
r004 farah 21 pending
r005 bruno 7 closed
r006 dina 17 active
r007 farah 10 pending
| eli
kim
alice
farah
bruno
dina
farah
| state display_name score region
r001 eli 11 closed
r002 hana 28 failed
r003 dina 6 failed
r004 gus 8 ready
r005 alice 1 paused
r006 bruno 1 failed
r007 hana 7 failed
r008 bruno 13 paused
| eli
hana
dina
gus
alice
bruno
hana
bruno
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043358-p1 | Skip the header row and output the values from the display_name column for all remaining rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state display_name score region
r001 eli 23 pending
r002 kim 5 pending
r003 alice 29 paused
r004 farah 21 pending
r005 bruno 7 closed
r006 dina 17 active
r007 farah 10 pending
| eli
kim
alice
farah
bruno
dina
farah
| state display_name score region
r001 eli 11 closed
r002 hana 28 failed
r003 dina 6 failed
r004 gus 8 ready
r005 alice 1 paused
r006 bruno 1 failed
r007 hana 7 failed
r008 bruno 13 paused
| eli
hana
dina
gus
alice
bruno
hana
bruno
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043358 | qwen/qwen3.7-plus |
awkweave-0043359 | The first row is a header. Print display_name for data rows whose score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 farah 25 paused
r002 alice 30 paused
r003 dina 17 failed
r004 chen 6 ready
r005 ivan 7 paused
r006 gus 12 pending
| farah
alice
dina
| record_id display_name score state
r001 bruno 11 active
r002 farah 14 pending
r003 bruno 19 active
r004 lina 13 failed
r005 jules 18 closed
r006 bruno 12 pending
r007 hana 16 ready
r008 gus 15 pending
r009 lina 30 pending
| bruno
jules
hana
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043359-p1 | Ignoring the header, print the display_name field for any record where the score is strictly greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 farah 25 paused
r002 alice 30 paused
r003 dina 17 failed
r004 chen 6 ready
r005 ivan 7 paused
r006 gus 12 pending
| farah
alice
dina
| record_id display_name score state
r001 bruno 11 active
r002 farah 14 pending
r003 bruno 19 active
r004 lina 13 failed
r005 jules 18 closed
r006 bruno 12 pending
r007 hana 16 ready
r008 gus 15 pending
r009 lina 30 pending
| bruno
jules
hana
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043359 | qwen/qwen3.7-plus |
awkweave-0043360 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | farah 7 active
bruno 20 closed
farah 23 active
ivan 21 failed
alice 5 failed
gus 28 paused
ivan 8 closed
ivan 4 ready
| 7
20
23
21
5
28
8
4
| lina 13 paused
bruno 2 paused
hana 6 closed
hana 11 active
bruno 20 failed
chen 29 active
eli 17 ready
gus 13 failed
hana 10 ready
alice 11 failed
| 13
2
6
11
20
29
17
13
10
11
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043360-p1 | Extract and print the second field from each tab-separated record. | BEGIN{FS=OFS="\t"}{print $2} | farah 7 active
bruno 20 closed
farah 23 active
ivan 21 failed
alice 5 failed
gus 28 paused
ivan 8 closed
ivan 4 ready
| 7
20
23
21
5
28
8
4
| lina 13 paused
bruno 2 paused
hana 6 closed
hana 11 active
bruno 20 failed
chen 29 active
eli 17 ready
gus 13 failed
hana 10 ready
alice 11 failed
| 13
2
6
11
20
29
17
13
10
11
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043360 | qwen/qwen3.7-plus |
awkweave-0043361 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10. | BEGIN{FS=OFS=","}$2>10{print $1} | dina,25,ready
dina,9,closed
chen,30,pending
farah,6,active
bruno,25,paused
eli,9,paused
alice,4,paused
bruno,7,paused
hana,17,paused
| dina
chen
bruno
hana
| farah,28,pending
gus,6,active
eli,23,active
jules,1,pending
alice,10,paused
ivan,23,pending
dina,9,pending
ivan,17,failed
ivan,2,failed
kim,30,ready
| farah
eli
ivan
ivan
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043361-p1 | For simple CSV input without quoted commas, output the first column whenever the second column's value is greater than 10. | BEGIN{FS=OFS=","}$2>10{print $1} | dina,25,ready
dina,9,closed
chen,30,pending
farah,6,active
bruno,25,paused
eli,9,paused
alice,4,paused
bruno,7,paused
hana,17,paused
| dina
chen
bruno
hana
| farah,28,pending
gus,6,active
eli,23,active
jules,1,pending
alice,10,paused
ivan,23,pending
dina,9,pending
ivan,17,failed
ivan,2,failed
kim,30,ready
| farah
eli
ivan
ivan
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043361 | qwen/qwen3.7-plus |
awkweave-0043362 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan grove 11
eli harbor 74
jules amber 79
bruno ember 48
eli amber 92
lina birch 66
| ivan grove 11
eli harbor 74
jules amber 79
bruno ember 48
eli amber 92
lina birch 66
| hana harbor 4
lina cobalt 71
alice indigo 80
lina delta 7
alice amber 24
gus juniper 73
farah indigo 57
| hana harbor 4
lina cobalt 71
alice indigo 80
lina delta 7
alice amber 24
gus juniper 73
farah indigo 57
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043362-p1 | Remove leading and trailing spaces and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan grove 11
eli harbor 74
jules amber 79
bruno ember 48
eli amber 92
lina birch 66
| ivan grove 11
eli harbor 74
jules amber 79
bruno ember 48
eli amber 92
lina birch 66
| hana harbor 4
lina cobalt 71
alice indigo 80
lina delta 7
alice amber 24
gus juniper 73
farah indigo 57
| hana harbor 4
lina cobalt 71
alice indigo 80
lina delta 7
alice amber 24
gus juniper 73
farah indigo 57
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043362 | qwen/qwen3.7-plus |
awkweave-0043363 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina ember 1 paused
ivan indigo 47 paused
gus cobalt 38 paused
dina harbor 26 paused
kim amber 115 pending
kim grove 120 ready
| ivan indigo 47 paused
| lina harbor 98 active
hana amber 26 ready
lina amber 97 closed
eli birch 67 pending
jules juniper 16 pending
dina juniper 35 failed
hana delta 71 active
| jules juniper 16 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043363-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one. | {if(length($0)>length(best))best=$0}END{print best} | dina ember 1 paused
ivan indigo 47 paused
gus cobalt 38 paused
dina harbor 26 paused
kim amber 115 pending
kim grove 120 ready
| ivan indigo 47 paused
| lina harbor 98 active
hana amber 26 ready
lina amber 97 closed
eli birch 67 pending
jules juniper 16 pending
dina juniper 35 failed
hana delta 71 active
| jules juniper 16 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043363 | qwen/qwen3.7-plus |
awkweave-0043364 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | hana 19
alice 21
kim 101
chen 14
hana 99
ivan 98
| alice 21
chen 14
ivan 98
| kim 107
gus 103
ivan 83
dina 113
ivan 72
lina 115
jules 80
eli 70
| gus 103
dina 113
lina 115
eli 70
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043364-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | hana 19
alice 21
kim 101
chen 14
hana 99
ivan 98
| alice 21
chen 14
ivan 98
| kim 107
gus 103
ivan 83
dina 113
ivan 72
lina 115
jules 80
eli 70
| gus 103
dina 113
lina 115
eli 70
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043364 | qwen/qwen3.7-plus |
awkweave-0043365 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta grove 1
alpha fable 39
alpha cobalt 74
delta grove 13
alpha ember 15
beta delta 75
beta cobalt 34
delta cobalt 17
gamma indigo 100
| 6
| delta grove 101
delta fable 110
gamma juniper 8
beta delta 57
delta grove 60
beta juniper 116
gamma juniper 42
beta indigo 114
gamma fable 9
alpha indigo 105
| 5
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043365-p1 | Determine the number of unique values in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | delta grove 1
alpha fable 39
alpha cobalt 74
delta grove 13
alpha ember 15
beta delta 75
beta cobalt 34
delta cobalt 17
gamma indigo 100
| 6
| delta grove 101
delta fable 110
gamma juniper 8
beta delta 57
delta grove 60
beta juniper 116
gamma juniper 42
beta indigo 114
gamma fable 9
alpha indigo 105
| 5
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043365 | qwen/qwen3.7-plus |
awkweave-0043366 | 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} | eli 20 0
dina 24 10
jules 6 14
hana 13 5
kim 22 10
ivan 25 23
alice 6 15
| dina 2.40
jules 0.43
hana 2.60
kim 2.20
ivan 1.09
alice 0.40
| farah 18 0
chen 22 17
chen 28 30
lina 30 19
kim 29 28
ivan 11 29
hana 13 14
eli 28 6
jules 21 14
| chen 1.29
chen 0.93
lina 1.58
kim 1.04
ivan 0.38
hana 0.93
eli 4.67
jules 1.50
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043366-p1 | For each row, output the value of column 1 and the result of column 2 divided by column 3 formatted to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | eli 20 0
dina 24 10
jules 6 14
hana 13 5
kim 22 10
ivan 25 23
alice 6 15
| dina 2.40
jules 0.43
hana 2.60
kim 2.20
ivan 1.09
alice 0.40
| farah 18 0
chen 22 17
chen 28 30
lina 30 19
kim 29 28
ivan 11 29
hana 13 14
eli 28 6
jules 21 14
| chen 1.29
chen 0.93
lina 1.58
kim 1.04
ivan 0.38
hana 0.93
eli 4.67
jules 1.50
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043366 | qwen/qwen3.7-plus |
awkweave-0043367 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | lina grove 26
dina cobalt 20
alice juniper 24
lina birch 10
farah indigo 30
jules grove 1
alice ember 14
farah indigo 3
chen juniper 11
| farah indigo 30
lina grove 26
alice juniper 24
| lina harbor 24
dina amber 4
bruno amber 17
hana ember 21
hana fable 22
bruno ember 27
eli fable 10
lina cobalt 25
dina juniper 24
| bruno ember 27
lina cobalt 25
lina harbor 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043367-p1 | Display the three full records with the largest numeric values in column 3 in descending order, maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | lina grove 26
dina cobalt 20
alice juniper 24
lina birch 10
farah indigo 30
jules grove 1
alice ember 14
farah indigo 3
chen juniper 11
| farah indigo 30
lina grove 26
alice juniper 24
| lina harbor 24
dina amber 4
bruno amber 17
hana ember 21
hana fable 22
bruno ember 27
eli fable 10
lina cobalt 25
dina juniper 24
| bruno ember 27
lina cobalt 25
lina harbor 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043367 | qwen/qwen3.7-plus |
awkweave-0043368 | Select the 3rd and 1st fields in that order. | {print $3, $1} | birch 3 lina pending 22
delta 119 alice closed 46
grove 43 ivan failed 106
delta 55 dina pending 26
juniper 49 hana failed 80
indigo 69 kim failed 76
| lina birch
alice delta
ivan grove
dina delta
hana juniper
kim indigo
| juniper 11 gus failed 18
amber 70 kim active 7
fable 99 lina active 52
fable 83 kim ready 88
fable 71 dina closed 67
juniper 105 lina paused 35
amber 74 alice ready 23
harbor 64 eli closed 36
ember 114 hana active 26
| gus juniper
kim amber
lina fable
kim fable
dina fable
lina juniper
alice amber
eli harbor
hana ember
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043368-p1 | Extract and display the 3rd field followed by the 1st field. | {print $3, $1} | birch 3 lina pending 22
delta 119 alice closed 46
grove 43 ivan failed 106
delta 55 dina pending 26
juniper 49 hana failed 80
indigo 69 kim failed 76
| lina birch
alice delta
ivan grove
dina delta
hana juniper
kim indigo
| juniper 11 gus failed 18
amber 70 kim active 7
fable 99 lina active 52
fable 83 kim ready 88
fable 71 dina closed 67
juniper 105 lina paused 35
amber 74 alice ready 23
harbor 64 eli closed 36
ember 114 hana active 26
| gus juniper
kim amber
lina fable
kim fable
dina fable
lina juniper
alice amber
eli harbor
hana ember
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043368 | qwen/qwen3.7-plus |
awkweave-0043369 | Print the last field of every input line. | {print $NF} | farah hana kim
chen farah eli
bruno bruno dina
eli lina ivan
ivan lina eli
lina gus farah
eli farah chen
| kim
eli
dina
ivan
eli
farah
chen
| bruno chen lina
hana kim chen
lina jules alice
gus lina jules
hana lina alice
jules dina bruno
kim alice jules
| lina
chen
alice
jules
alice
bruno
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043369-p1 | Output the final field from every line of input. | {print $NF} | farah hana kim
chen farah eli
bruno bruno dina
eli lina ivan
ivan lina eli
lina gus farah
eli farah chen
| kim
eli
dina
ivan
eli
farah
chen
| bruno chen lina
hana kim chen
lina jules alice
gus lina jules
hana lina alice
jules dina bruno
kim alice jules
| lina
chen
alice
jules
alice
bruno
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043369 | qwen/qwen3.7-plus |
awkweave-0043370 | Print the complete records where column 2 is greater than 32. | $2 > 32 | closed 88 ready
active 38 closed
pending 14 pending
failed 98 active
failed 56 active
paused 7 closed
pending 11 paused
ready 37 pending
pending 94 ready
failed 23 failed
| closed 88 ready
active 38 closed
failed 98 active
failed 56 active
ready 37 pending
pending 94 ready
| closed 77 ready
closed 58 active
active 116 paused
ready 2 failed
active 58 paused
failed 68 ready
| closed 77 ready
closed 58 active
active 116 paused
active 58 paused
failed 68 ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043370-p1 | Print the entire records for which the value in column 2 exceeds 32. | $2 > 32 | closed 88 ready
active 38 closed
pending 14 pending
failed 98 active
failed 56 active
paused 7 closed
pending 11 paused
ready 37 pending
pending 94 ready
failed 23 failed
| closed 88 ready
active 38 closed
failed 98 active
failed 56 active
ready 37 pending
pending 94 ready
| closed 77 ready
closed 58 active
active 116 paused
ready 2 failed
active 58 paused
failed 68 ready
| closed 77 ready
closed 58 active
active 116 paused
active 58 paused
failed 68 ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043370 | qwen/qwen3.7-plus |
awkweave-0043371 | Show whole lines whose 1st field is between 11 and 29, inclusive. | $1 >= 11 && $1 <= 29 | 18 delta pending pending
19 ember paused paused
7 indigo ready pending
14 birch ready failed
9 grove paused ready
21 grove pending failed
4 birch closed failed
| 18 delta pending pending
19 ember paused paused
14 birch ready failed
21 grove pending failed
| 14 birch pending pending
25 delta closed failed
1 harbor failed ready
29 harbor failed ready
18 cobalt active pending
11 indigo closed pending
15 indigo failed paused
29 cobalt pending failed
16 juniper failed active
16 cobalt failed pending
| 14 birch pending pending
25 delta closed failed
29 harbor failed ready
18 cobalt active pending
11 indigo closed pending
15 indigo failed paused
29 cobalt pending failed
16 juniper failed active
16 cobalt failed pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043371-p1 | Display complete lines where the first field falls within the inclusive range of 11 to 29. | $1 >= 11 && $1 <= 29 | 18 delta pending pending
19 ember paused paused
7 indigo ready pending
14 birch ready failed
9 grove paused ready
21 grove pending failed
4 birch closed failed
| 18 delta pending pending
19 ember paused paused
14 birch ready failed
21 grove pending failed
| 14 birch pending pending
25 delta closed failed
1 harbor failed ready
29 harbor failed ready
18 cobalt active pending
11 indigo closed pending
15 indigo failed paused
29 cobalt pending failed
16 juniper failed active
16 cobalt failed pending
| 14 birch pending pending
25 delta closed failed
29 harbor failed ready
18 cobalt active pending
11 indigo closed pending
15 indigo failed paused
29 cobalt pending failed
16 juniper failed active
16 cobalt failed pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043371 | qwen/qwen3.7-plus |
awkweave-0043372 | Print column 4 only for rows where column 2 is exactly closed. | $2 == "closed"{print $4} | juniper failed 106 eli
delta ready 58 eli
grove active 95 hana
grove closed 27 chen
cobalt paused 103 chen
harbor pending 44 gus
delta paused 30 jules
| chen
| grove pending 70 jules
cobalt active 57 farah
ember active 13 ivan
delta active 78 hana
fable paused 33 lina
indigo pending 41 hana
juniper closed 106 lina
cobalt pending 44 gus
birch closed 0 eli
cobalt ready 61 farah
| lina
eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043372-p1 | Output only column 4 for rows where column 2 has the exact value 'closed'. | $2 == "closed"{print $4} | juniper failed 106 eli
delta ready 58 eli
grove active 95 hana
grove closed 27 chen
cobalt paused 103 chen
harbor pending 44 gus
delta paused 30 jules
| chen
| grove pending 70 jules
cobalt active 57 farah
ember active 13 ivan
delta active 78 hana
fable paused 33 lina
indigo pending 41 hana
juniper closed 106 lina
cobalt pending 44 gus
birch closed 0 eli
cobalt ready 61 farah
| lina
eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043372 | qwen/qwen3.7-plus |
awkweave-0043373 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 43 grove WARN
101 birch INFO
108 amber INFO
84 delta WARN
88 juniper ERROR
10 harbor WARN
59 juniper DEBUG
66 delta WARN
| 43 grove WARN
84 delta WARN
10 harbor WARN
66 delta WARN
| 114 birch INFO
98 amber WARN
30 cobalt DEBUG
71 cobalt INFO
17 grove WARN
9 amber DEBUG
120 birch INFO
92 cobalt INFO
82 delta INFO
115 delta DEBUG
| 98 amber WARN
17 grove WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043373-p1 | Print all fields from lines where the third field starts with the string 'WARN'. | $3 ~ /^WARN/ | 43 grove WARN
101 birch INFO
108 amber INFO
84 delta WARN
88 juniper ERROR
10 harbor WARN
59 juniper DEBUG
66 delta WARN
| 43 grove WARN
84 delta WARN
10 harbor WARN
66 delta WARN
| 114 birch INFO
98 amber WARN
30 cobalt DEBUG
71 cobalt INFO
17 grove WARN
9 amber DEBUG
120 birch INFO
92 cobalt INFO
82 delta INFO
115 delta DEBUG
| 98 amber WARN
17 grove WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043373 | qwen/qwen3.7-plus |
awkweave-0043374 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | ember 98 active
ember 66 paused
fable 117 active
amber 24 ready
grove 79 paused
ember 29 closed
indigo 999 active
| ember 98 active
ember 66 paused
fable 117 active
amber 24 ready
grove 79 paused
ember 29 closed
| juniper 4 paused
birch 46 paused
cobalt 59 failed
birch 18 closed
birch 69 ready
ember 65 closed
indigo 999 active
| juniper 4 paused
birch 46 paused
cobalt 59 failed
birch 18 closed
birch 69 ready
ember 65 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043374-p1 | Output every line that does not contain the exact string 'indigo'. | $0 !~ /indigo/ | ember 98 active
ember 66 paused
fable 117 active
amber 24 ready
grove 79 paused
ember 29 closed
indigo 999 active
| ember 98 active
ember 66 paused
fable 117 active
amber 24 ready
grove 79 paused
ember 29 closed
| juniper 4 paused
birch 46 paused
cobalt 59 failed
birch 18 closed
birch 69 ready
ember 65 closed
indigo 999 active
| juniper 4 paused
birch 46 paused
cobalt 59 failed
birch 18 closed
birch 69 ready
ember 65 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043374 | qwen/qwen3.7-plus |
awkweave-0043375 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | gus amber 104
lina cobalt 40
hana fable 85
gus grove 98
gus harbor 31
eli grove 115
ivan fable 115
lina birch 44
jules delta 25
lina delta 27
| lina cobalt 40
hana fable 85
gus grove 98
gus harbor 31
| bruno harbor 8
farah amber 62
gus harbor 56
gus birch 88
chen harbor 58
gus birch 9
farah grove 113
lina harbor 65
ivan grove 53
| farah amber 62
gus harbor 56
gus birch 88
chen harbor 58
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043375-p1 | Print lines 2 through 5, inclusive of both endpoints. | NR >= 2 && NR <= 5 | gus amber 104
lina cobalt 40
hana fable 85
gus grove 98
gus harbor 31
eli grove 115
ivan fable 115
lina birch 44
jules delta 25
lina delta 27
| lina cobalt 40
hana fable 85
gus grove 98
gus harbor 31
| bruno harbor 8
farah amber 62
gus harbor 56
gus birch 88
chen harbor 58
gus birch 9
farah grove 113
lina harbor 65
ivan grove 53
| farah amber 62
gus harbor 56
gus birch 88
chen harbor 58
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043375 | qwen/qwen3.7-plus |
awkweave-0043376 | Output only the first 5 records. | NR <= 5 | ivan 38 delta
eli 98 ember
jules 97 cobalt
lina 14 amber
dina 53 cobalt
jules 103 delta
jules 56 grove
hana 67 juniper
| ivan 38 delta
eli 98 ember
jules 97 cobalt
lina 14 amber
dina 53 cobalt
| alice 102 delta
chen 110 birch
chen 59 amber
hana 87 harbor
alice 117 amber
kim 37 harbor
| alice 102 delta
chen 110 birch
chen 59 amber
hana 87 harbor
alice 117 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043376-p1 | Output only the first 5 records. | NR <= 5 | ivan 38 delta
eli 98 ember
jules 97 cobalt
lina 14 amber
dina 53 cobalt
jules 103 delta
jules 56 grove
hana 67 juniper
| ivan 38 delta
eli 98 ember
jules 97 cobalt
lina 14 amber
dina 53 cobalt
| alice 102 delta
chen 110 birch
chen 59 amber
hana 87 harbor
alice 117 amber
kim 37 harbor
| alice 102 delta
chen 110 birch
chen 59 amber
hana 87 harbor
alice 117 amber
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0043376 | qwen/qwen3.7-plus |
awkweave-0043377 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 79 birch
alice 69 fable
dina 34 indigo
dina 89 ember
farah 97 juniper
farah 16 amber
bruno 52 cobalt
farah 112 ember
| alice 69 fable
dina 34 indigo
dina 89 ember
farah 97 juniper
farah 16 amber
bruno 52 cobalt
farah 112 ember
| kim 93 amber
ivan 47 indigo
bruno 22 fable
kim 40 delta
dina 98 delta
jules 90 fable
gus 118 amber
| ivan 47 indigo
bruno 22 fable
kim 40 delta
dina 98 delta
jules 90 fable
gus 118 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043377-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | alice 79 birch
alice 69 fable
dina 34 indigo
dina 89 ember
farah 97 juniper
farah 16 amber
bruno 52 cobalt
farah 112 ember
| alice 69 fable
dina 34 indigo
dina 89 ember
farah 97 juniper
farah 16 amber
bruno 52 cobalt
farah 112 ember
| kim 93 amber
ivan 47 indigo
bruno 22 fable
kim 40 delta
dina 98 delta
jules 90 fable
gus 118 amber
| ivan 47 indigo
bruno 22 fable
kim 40 delta
dina 98 delta
jules 90 fable
gus 118 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043377 | qwen/qwen3.7-plus |
awkweave-0043378 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | kim pending 0
hana pending 40
jules pending 91
farah active 47
hana active 94
jules failed 22
| 0
| chen failed 62
dina closed 72
farah paused 8
jules ready 59
gus pending 11
lina ready 80
kim paused 51
hana failed 85
lina pending 120
hana closed 10
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043378-p1 | Output the count of entries where the second column is 'ready', defaulting to 0 if no matches are found. | $2 == "ready"{n++}END{print n+0} | kim pending 0
hana pending 40
jules pending 91
farah active 47
hana active 94
jules failed 22
| 0
| chen failed 62
dina closed 72
farah paused 8
jules ready 59
gus pending 11
lina ready 80
kim paused 51
hana failed 85
lina pending 120
hana closed 10
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043378 | qwen/qwen3.7-plus |
awkweave-0043379 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 11 harbor hana
6 grove jules
22 indigo farah
2 fable hana
18 delta gus
13 juniper farah
| 72
| 24 harbor bruno
5 juniper jules
10 ember hana
13 cobalt dina
30 delta hana
10 harbor alice
8 juniper alice
22 ember bruno
27 juniper eli
12 indigo farah
| 161
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043379-p1 | Compute and display the total sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 11 harbor hana
6 grove jules
22 indigo farah
2 fable hana
18 delta gus
13 juniper farah
| 72
| 24 harbor bruno
5 juniper jules
10 ember hana
13 cobalt dina
30 delta hana
10 harbor alice
8 juniper alice
22 ember bruno
27 juniper eli
12 indigo farah
| 161
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043379 | qwen/qwen3.7-plus |
awkweave-0043380 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 28 chen harbor
4 lina indigo
13 kim delta
26 chen cobalt
19 eli amber
10 kim grove
23 eli birch
24 eli ember
13 hana delta
| 17.78
| 5 alice indigo
10 kim fable
23 ivan ember
2 ivan birch
28 ivan harbor
26 jules amber
| 15.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043380-p1 | Display the average of the values in column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 28 chen harbor
4 lina indigo
13 kim delta
26 chen cobalt
19 eli amber
10 kim grove
23 eli birch
24 eli ember
13 hana delta
| 17.78
| 5 alice indigo
10 kim fable
23 ivan ember
2 ivan birch
28 ivan harbor
26 jules amber
| 15.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043380 | qwen/qwen3.7-plus |
awkweave-0043381 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 7 dina
amber 22 dina
harbor 5 ivan
birch 27 chen
amber 5 alice
delta 26 alice
amber 8 ivan
indigo 20 hana
| 5
| fable 4 gus
juniper 5 hana
indigo 19 bruno
delta 25 lina
cobalt 10 farah
indigo 16 bruno
fable 28 dina
amber 27 eli
amber 2 jules
cobalt 29 eli
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043381-p1 | Identify and output the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 7 dina
amber 22 dina
harbor 5 ivan
birch 27 chen
amber 5 alice
delta 26 alice
amber 8 ivan
indigo 20 hana
| 5
| fable 4 gus
juniper 5 hana
indigo 19 bruno
delta 25 lina
cobalt 10 farah
indigo 16 bruno
fable 28 dina
amber 27 eli
amber 2 jules
cobalt 29 eli
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043381 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.