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-0019000-p1 | Display lines 2 to 5, inclusive. | NR >= 2 && NR <= 5 | chen amber 31
hana birch 116
chen grove 52
hana grove 0
gus amber 37
dina birch 47
| hana birch 116
chen grove 52
hana grove 0
gus amber 37
| ivan amber 5
eli amber 78
ivan delta 55
jules harbor 18
hana ember 50
jules fable 97
alice grove 60
eli fable 17
eli birch 0
alice grove 27
| eli amber 78
ivan delta 55
jules harbor 18
hana ember 50
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019000 | qwen/qwen3.7-plus |
awkweave-0019001 | Output only the first 2 records. | NR <= 2 | kim 69 fable
farah 61 indigo
gus 106 amber
hana 31 amber
farah 72 birch
farah 18 birch
| kim 69 fable
farah 61 indigo
| lina 13 amber
ivan 68 grove
ivan 52 juniper
gus 97 cobalt
farah 96 ember
alice 13 indigo
| lina 13 amber
ivan 68 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019001-p1 | Output just the initial 2 records. | NR <= 2 | kim 69 fable
farah 61 indigo
gus 106 amber
hana 31 amber
farah 72 birch
farah 18 birch
| kim 69 fable
farah 61 indigo
| lina 13 amber
ivan 68 grove
ivan 52 juniper
gus 97 cobalt
farah 96 ember
alice 13 indigo
| lina 13 amber
ivan 68 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019001 | qwen/qwen3.7-plus |
awkweave-0019002 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 42 juniper
lina 67 birch
hana 86 grove
chen 76 amber
dina 86 grove
jules 77 grove
hana 57 birch
| lina 67 birch
hana 86 grove
chen 76 amber
dina 86 grove
jules 77 grove
hana 57 birch
| hana 47 harbor
farah 34 harbor
dina 15 juniper
ivan 43 juniper
alice 55 harbor
lina 100 fable
| farah 34 harbor
dina 15 juniper
ivan 43 juniper
alice 55 harbor
lina 100 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019002-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | jules 42 juniper
lina 67 birch
hana 86 grove
chen 76 amber
dina 86 grove
jules 77 grove
hana 57 birch
| lina 67 birch
hana 86 grove
chen 76 amber
dina 86 grove
jules 77 grove
hana 57 birch
| hana 47 harbor
farah 34 harbor
dina 15 juniper
ivan 43 juniper
alice 55 harbor
lina 100 fable
| farah 34 harbor
dina 15 juniper
ivan 43 juniper
alice 55 harbor
lina 100 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019002 | qwen/qwen3.7-plus |
awkweave-0019003 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | dina ready 99
gus closed 7
ivan failed 30
hana closed 67
eli closed 26
farah active 36
gus pending 39
| 3
| lina active 29
kim active 119
jules active 103
ivan active 2
kim failed 107
hana active 28
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019003-p1 | Tally the records where column 2 is 'closed', printing 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | dina ready 99
gus closed 7
ivan failed 30
hana closed 67
eli closed 26
farah active 36
gus pending 39
| 3
| lina active 29
kim active 119
jules active 103
ivan active 2
kim failed 107
hana active 28
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019003 | qwen/qwen3.7-plus |
awkweave-0019004 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 28 indigo kim
10 grove farah
30 amber jules
21 ember kim
28 amber eli
19 birch dina
10 indigo kim
28 harbor kim
21 birch gus
14 fable jules
| 209
| 16 fable hana
9 grove bruno
23 harbor dina
8 grove eli
10 birch bruno
10 juniper bruno
18 ember jules
| 94
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019004-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 28 indigo kim
10 grove farah
30 amber jules
21 ember kim
28 amber eli
19 birch dina
10 indigo kim
28 harbor kim
21 birch gus
14 fable jules
| 209
| 16 fable hana
9 grove bruno
23 harbor dina
8 grove eli
10 birch bruno
10 juniper bruno
18 ember jules
| 94
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019004 | qwen/qwen3.7-plus |
awkweave-0019005 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli cobalt 21
kim birch 29
dina delta 6
ivan fable 30
ivan delta 5
dina birch 22
bruno cobalt 30
| 20.43
| bruno ember 15
chen cobalt 10
eli amber 20
hana fable 18
gus indigo 2
bruno amber 3
| 11.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019005-p1 | Print the average of column 3, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli cobalt 21
kim birch 29
dina delta 6
ivan fable 30
ivan delta 5
dina birch 22
bruno cobalt 30
| 20.43
| bruno ember 15
chen cobalt 10
eli amber 20
hana fable 18
gus indigo 2
bruno amber 3
| 11.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019005 | qwen/qwen3.7-plus |
awkweave-0019006 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 indigo farah
6 juniper hana
20 grove farah
24 fable bruno
4 juniper hana
5 ember ivan
17 ember kim
14 delta kim
11 harbor kim
| 4
| 14 juniper alice
9 amber hana
28 amber chen
27 fable gus
24 ember eli
30 amber eli
26 amber gus
8 juniper ivan
23 amber lina
10 birch chen
| 8
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019006-p1 | Identify and output the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 indigo farah
6 juniper hana
20 grove farah
24 fable bruno
4 juniper hana
5 ember ivan
17 ember kim
14 delta kim
11 harbor kim
| 4
| 14 juniper alice
9 amber hana
28 amber chen
27 fable gus
24 ember eli
30 amber eli
26 amber gus
8 juniper ivan
23 amber lina
10 birch chen
| 8
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019006 | qwen/qwen3.7-plus |
awkweave-0019007 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove dina 9
amber gus 2
birch dina 12
ember chen 3
fable kim 2
indigo eli 8
indigo farah 18
| 18
| amber lina 28
grove kim 29
juniper hana 15
harbor dina 6
indigo hana 19
birch jules 9
harbor dina 6
juniper ivan 2
juniper lina 21
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019007-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove dina 9
amber gus 2
birch dina 12
ember chen 3
fable kim 2
indigo eli 8
indigo farah 18
| 18
| amber lina 28
grove kim 29
juniper hana 15
harbor dina 6
indigo hana 19
birch jules 9
harbor dina 6
juniper ivan 2
juniper lina 21
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019007 | qwen/qwen3.7-plus |
awkweave-0019008 | Count all input records and print the total. | END{print NR} | kim 115
ivan 57
ivan 3
ivan 15
jules 57
lina 117
hana 87
| 7
| gus 29
alice 82
gus 13
gus 81
eli 115
dina 61
dina 30
ivan 43
jules 18
dina 55
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019008-p1 | Count the total number of input records and print the result. | END{print NR} | kim 115
ivan 57
ivan 3
ivan 15
jules 57
lina 117
hana 87
| 7
| gus 29
alice 82
gus 13
gus 81
eli 115
dina 61
dina 30
ivan 43
jules 18
dina 55
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019008 | qwen/qwen3.7-plus |
awkweave-0019009 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen indigo 110
chen grove 89
gus indigo 107
chen fable 50
chen amber 119
lina delta 63
gus indigo 107
alice ember 60
lina cobalt 38
eli ember 120
jules delta 29
| chen indigo 110
chen grove 89
gus indigo 107
chen fable 50
chen amber 119
lina delta 63
alice ember 60
lina cobalt 38
eli ember 120
jules delta 29
| bruno fable 55
chen amber 117
kim grove 3
bruno juniper 45
bruno fable 55
ivan delta 45
dina birch 79
kim delta 10
| bruno fable 55
chen amber 117
kim grove 3
bruno juniper 45
ivan delta 45
dina birch 79
kim delta 10
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019009-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | chen indigo 110
chen grove 89
gus indigo 107
chen fable 50
chen amber 119
lina delta 63
gus indigo 107
alice ember 60
lina cobalt 38
eli ember 120
jules delta 29
| chen indigo 110
chen grove 89
gus indigo 107
chen fable 50
chen amber 119
lina delta 63
alice ember 60
lina cobalt 38
eli ember 120
jules delta 29
| bruno fable 55
chen amber 117
kim grove 3
bruno juniper 45
bruno fable 55
ivan delta 45
dina birch 79
kim delta 10
| bruno fable 55
chen amber 117
kim grove 3
bruno juniper 45
ivan delta 45
dina birch 79
kim delta 10
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019009 | qwen/qwen3.7-plus |
awkweave-0019010 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim juniper 91
farah indigo 32
farah delta 50
alice juniper 93
kim cobalt 104
alice grove 117
dina juniper 25
ivan harbor 94
farah delta 8
farah ember 102
| kim juniper 91
farah indigo 32
farah delta 50
kim cobalt 104
alice grove 117
ivan harbor 94
farah ember 102
| gus cobalt 35
jules fable 7
jules harbor 34
gus amber 55
alice delta 108
ivan juniper 3
| gus cobalt 35
jules fable 7
jules harbor 34
gus amber 55
alice delta 108
ivan juniper 3
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019010-p1 | Retain only the first occurrence for each unique value in column 2, keeping the original order. | !seen[$2]++ | kim juniper 91
farah indigo 32
farah delta 50
alice juniper 93
kim cobalt 104
alice grove 117
dina juniper 25
ivan harbor 94
farah delta 8
farah ember 102
| kim juniper 91
farah indigo 32
farah delta 50
kim cobalt 104
alice grove 117
ivan harbor 94
farah ember 102
| gus cobalt 35
jules fable 7
jules harbor 34
gus amber 55
alice delta 108
ivan juniper 3
| gus cobalt 35
jules fable 7
jules harbor 34
gus amber 55
alice delta 108
ivan juniper 3
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019010 | qwen/qwen3.7-plus |
awkweave-0019011 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 21 ember
dina 27 grove
jules 24 juniper
chen 9 harbor
lina 28 juniper
chen 11 ember
alice 29 grove
| chen 21
dina 48
jules 72
chen 81
lina 109
chen 120
alice 149
| alice 6 indigo
ivan 16 cobalt
chen 15 fable
kim 14 amber
jules 16 fable
kim 15 delta
farah 7 harbor
lina 6 indigo
hana 19 amber
jules 2 ember
| alice 6
ivan 22
chen 37
kim 51
jules 67
kim 82
farah 89
lina 95
hana 114
jules 116
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019011-p1 | For every record, output column 1 followed by the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 21 ember
dina 27 grove
jules 24 juniper
chen 9 harbor
lina 28 juniper
chen 11 ember
alice 29 grove
| chen 21
dina 48
jules 72
chen 81
lina 109
chen 120
alice 149
| alice 6 indigo
ivan 16 cobalt
chen 15 fable
kim 14 amber
jules 16 fable
kim 15 delta
farah 7 harbor
lina 6 indigo
hana 19 amber
jules 2 ember
| alice 6
ivan 22
chen 37
kim 51
jules 67
kim 82
farah 89
lina 95
hana 114
jules 116
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019011 | qwen/qwen3.7-plus |
awkweave-0019012 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 13 3 amber
ivan 10 29 harbor
dina 6 26 birch
chen 26 13 harbor
farah 27 22 harbor
kim 19 19 ember
eli 30 6 ember
farah 29 24 indigo
| eli 16
ivan 39
dina 32
chen 39
farah 49
kim 38
eli 36
farah 53
| eli 15 15 birch
kim 23 18 fable
chen 30 1 amber
dina 21 18 fable
hana 3 7 indigo
dina 27 27 juniper
kim 10 12 juniper
chen 9 7 grove
ivan 21 15 fable
chen 29 13 juniper
| eli 30
kim 41
chen 31
dina 39
hana 10
dina 54
kim 22
chen 16
ivan 36
chen 42
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019012-p1 | For each line, output the first field followed by the total of the second and third fields. | {print $1,$2+$3} | eli 13 3 amber
ivan 10 29 harbor
dina 6 26 birch
chen 26 13 harbor
farah 27 22 harbor
kim 19 19 ember
eli 30 6 ember
farah 29 24 indigo
| eli 16
ivan 39
dina 32
chen 39
farah 49
kim 38
eli 36
farah 53
| eli 15 15 birch
kim 23 18 fable
chen 30 1 amber
dina 21 18 fable
hana 3 7 indigo
dina 27 27 juniper
kim 10 12 juniper
chen 9 7 grove
ivan 21 15 fable
chen 29 13 juniper
| eli 30
kim 41
chen 31
dina 39
hana 10
dina 54
kim 22
chen 16
ivan 36
chen 42
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019012 | qwen/qwen3.7-plus |
awkweave-0019013 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | chen 21
hana 22
gus 13
kim 13
lina 12
kim 6
chen 9
hana 2
farah 7
| chen fail
hana fail
gus fail
kim fail
lina fail
kim fail
chen fail
hana fail
farah fail
| alice 13
lina 29
lina 9
alice 12
bruno 22
ivan 27
| alice fail
lina pass
lina fail
alice fail
bruno fail
ivan pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019013-p1 | Output the first column; if the second column is 25 or higher, print 'pass', otherwise print 'fail'. | {print $1,($2>=25?"pass":"fail")} | chen 21
hana 22
gus 13
kim 13
lina 12
kim 6
chen 9
hana 2
farah 7
| chen fail
hana fail
gus fail
kim fail
lina fail
kim fail
chen fail
hana fail
farah fail
| alice 13
lina 29
lina 9
alice 12
bruno 22
ivan 27
| alice fail
lina pass
lina fail
alice fail
bruno fail
ivan pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019013 | qwen/qwen3.7-plus |
awkweave-0019014 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | eli cobalt 71
dina delta 57
alice fable 70
jules delta 113
chen delta 91
gus juniper 21
dina harbor 52
ivan birch 112
| COBALT
DELTA
FABLE
DELTA
DELTA
JUNIPER
HARBOR
BIRCH
| bruno cobalt 87
alice delta 102
farah harbor 32
lina birch 6
alice cobalt 31
hana fable 65
hana grove 36
jules indigo 10
| COBALT
DELTA
HARBOR
BIRCH
COBALT
FABLE
GROVE
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019014-p1 | Transform the second column to uppercase and display only that column. | {print toupper($2)} | eli cobalt 71
dina delta 57
alice fable 70
jules delta 113
chen delta 91
gus juniper 21
dina harbor 52
ivan birch 112
| COBALT
DELTA
FABLE
DELTA
DELTA
JUNIPER
HARBOR
BIRCH
| bruno cobalt 87
alice delta 102
farah harbor 32
lina birch 6
alice cobalt 31
hana fable 65
hana grove 36
jules indigo 10
| COBALT
DELTA
HARBOR
BIRCH
COBALT
FABLE
GROVE
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019014 | qwen/qwen3.7-plus |
awkweave-0019015 | From column 1, print 4 characters starting at character 1. | {print substr($1,1,4)} | grove 57
harbor 112
cobalt 99
delta 7
fable 44
harbor 118
amber 89
| grov
harb
coba
delt
fabl
harb
ambe
| grove 76
delta 24
ember 105
amber 34
harbor 19
harbor 106
cobalt 88
grove 39
amber 57
juniper 52
| grov
delt
embe
ambe
harb
harb
coba
grov
ambe
juni
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019015-p1 | Extract and print the first 4 characters from the first column. | {print substr($1,1,4)} | grove 57
harbor 112
cobalt 99
delta 7
fable 44
harbor 118
amber 89
| grov
harb
coba
delt
fabl
harb
ambe
| grove 76
delta 24
ember 105
amber 34
harbor 19
harbor 106
cobalt 88
grove 39
amber 57
juniper 52
| grov
delt
embe
ambe
harb
harb
coba
grov
ambe
juni
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019015 | qwen/qwen3.7-plus |
awkweave-0019016 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_juniper 30
fable_delta 119
grove_harbor 104
amber_amber 39
harbor_harbor 68
cobalt_amber 40
amber_ember 54
cobalt_cobalt 71
| juniper juniper
fable delta
grove harbor
amber amber
harbor harbor
cobalt amber
amber ember
cobalt cobalt
| juniper_ember 109
juniper_cobalt 89
birch_birch 118
amber_juniper 110
birch_ember 61
grove_fable 55
fable_ember 64
amber_indigo 74
juniper_indigo 22
ember_indigo 29
| juniper ember
juniper cobalt
birch birch
amber juniper
birch ember
grove fable
fable ember
amber indigo
juniper indigo
ember indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019016-p1 | Substitute all underscores with spaces in the first column and output the modified values. | {gsub(/_/," ",$1);print $1} | juniper_juniper 30
fable_delta 119
grove_harbor 104
amber_amber 39
harbor_harbor 68
cobalt_amber 40
amber_ember 54
cobalt_cobalt 71
| juniper juniper
fable delta
grove harbor
amber amber
harbor harbor
cobalt amber
amber ember
cobalt cobalt
| juniper_ember 109
juniper_cobalt 89
birch_birch 118
amber_juniper 110
birch_ember 61
grove_fable 55
fable_ember 64
amber_indigo 74
juniper_indigo 22
ember_indigo 29
| juniper ember
juniper cobalt
birch birch
amber juniper
birch ember
grove fable
fable ember
amber indigo
juniper indigo
ember indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019016 | qwen/qwen3.7-plus |
awkweave-0019017 | 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)} | jules indigo 115 pending
chen juniper 103 ready
chen grove 106 failed
bruno cobalt 0 active
dina indigo 41 closed
hana harbor 58 ready
chen grove 120 paused
| pending 115 indigo jules
ready 103 juniper chen
failed 106 grove chen
active 0 cobalt bruno
closed 41 indigo dina
ready 58 harbor hana
paused 120 grove chen
| lina cobalt 95 closed
eli juniper 75 failed
farah grove 106 active
lina delta 120 ready
bruno indigo 107 closed
lina fable 44 ready
chen delta 44 active
farah birch 4 failed
ivan amber 11 paused
alice grove 38 closed
| closed 95 cobalt lina
failed 75 juniper eli
active 106 grove farah
ready 120 delta lina
closed 107 indigo bruno
ready 44 fable lina
active 44 delta chen
failed 4 birch farah
paused 11 amber ivan
closed 38 grove alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019017-p1 | Reverse the sequence of fields for every line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules indigo 115 pending
chen juniper 103 ready
chen grove 106 failed
bruno cobalt 0 active
dina indigo 41 closed
hana harbor 58 ready
chen grove 120 paused
| pending 115 indigo jules
ready 103 juniper chen
failed 106 grove chen
active 0 cobalt bruno
closed 41 indigo dina
ready 58 harbor hana
paused 120 grove chen
| lina cobalt 95 closed
eli juniper 75 failed
farah grove 106 active
lina delta 120 ready
bruno indigo 107 closed
lina fable 44 ready
chen delta 44 active
farah birch 4 failed
ivan amber 11 paused
alice grove 38 closed
| closed 95 cobalt lina
failed 75 juniper eli
active 106 grove farah
ready 120 delta lina
closed 107 indigo bruno
ready 44 fable lina
active 44 delta chen
failed 4 birch farah
paused 11 amber ivan
closed 38 grove alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019017 | qwen/qwen3.7-plus |
awkweave-0019018 | Print the number of whitespace-separated fields on each line. | {print NF} | lina harbor 18 active
farah indigo 41 ready
eli cobalt 31 ready
hana amber 104 pending
kim cobalt 51 failed
kim juniper 117 paused
ivan cobalt 71 ready
| 4
4
4
4
4
4
4
| eli delta 30 closed
kim ember 35 failed
farah birch 16 ready
dina delta 10 failed
farah harbor 84 pending
chen birch 26 paused
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019018-p1 | Display the count of whitespace-delimited fields for each line. | {print NF} | lina harbor 18 active
farah indigo 41 ready
eli cobalt 31 ready
hana amber 104 pending
kim cobalt 51 failed
kim juniper 117 paused
ivan cobalt 71 ready
| 4
4
4
4
4
4
4
| eli delta 30 closed
kim ember 35 failed
farah birch 16 ready
dina delta 10 failed
farah harbor 84 pending
chen birch 26 paused
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019018 | qwen/qwen3.7-plus |
awkweave-0019019 | 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]]} | hana alpha 29
hana gamma 65
lina beta 107
hana beta 96
hana beta 46
lina alpha 47
jules gamma 61
jules alpha 63
| alpha 3
gamma 2
beta 3
| chen gamma 14
gus gamma 22
farah delta 108
gus alpha 73
farah gamma 9
kim beta 73
| gamma 3
delta 1
alpha 1
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019019-p1 | Tally the number of records for each unique value in the second column, printing each value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana alpha 29
hana gamma 65
lina beta 107
hana beta 96
hana beta 46
lina alpha 47
jules gamma 61
jules alpha 63
| alpha 3
gamma 2
beta 3
| chen gamma 14
gus gamma 22
farah delta 108
gus alpha 73
farah gamma 9
kim beta 73
| gamma 3
delta 1
alpha 1
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019019 | qwen/qwen3.7-plus |
awkweave-0019020 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | farah beta 25
chen gamma 5
farah beta 21
gus delta 10
ivan gamma 28
bruno alpha 20
kim delta 23
| beta 46
gamma 33
delta 33
alpha 20
| hana gamma 10
jules alpha 22
eli alpha 10
hana alpha 19
farah gamma 15
lina beta 13
| gamma 25
alpha 51
beta 13
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019020-p1 | Calculate the sum of the third column for each group defined by the second column, outputting results in the order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | farah beta 25
chen gamma 5
farah beta 21
gus delta 10
ivan gamma 28
bruno alpha 20
kim delta 23
| beta 46
gamma 33
delta 33
alpha 20
| hana gamma 10
jules alpha 22
eli alpha 10
hana alpha 19
farah gamma 15
lina beta 13
| gamma 25
alpha 51
beta 13
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019020 | qwen/qwen3.7-plus |
awkweave-0019021 | 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]]} | delta amber 104
beta fable 18
alpha delta 57
delta juniper 83
delta delta 12
gamma harbor 83
alpha birch 31
delta ember 55
| delta 4
alpha 2
| delta grove 26
alpha birch 73
beta juniper 105
delta harbor 7
alpha ember 38
alpha fable 42
| delta 2
alpha 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019021-p1 | List each duplicate value from the first column along with its frequency, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta amber 104
beta fable 18
alpha delta 57
delta juniper 83
delta delta 12
gamma harbor 83
alpha birch 31
delta ember 55
| delta 4
alpha 2
| delta grove 26
alpha birch 73
beta juniper 105
delta harbor 7
alpha ember 38
alpha fable 42
| delta 2
alpha 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019021 | qwen/qwen3.7-plus |
awkweave-0019022 | The first row is a header. Print the state column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | score region state display_name
r001 kim 11 paused
r002 eli 22 pending
r003 bruno 21 pending
r004 ivan 15 paused
r005 dina 24 ready
r006 alice 2 closed
r007 lina 16 pending
| 11
22
21
15
24
2
16
| score region state display_name
r001 alice 6 active
r002 bruno 30 ready
r003 gus 4 pending
r004 chen 29 failed
r005 eli 7 closed
r006 lina 22 closed
| 6
30
4
29
7
22
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019022-p1 | Skip the header row and print the 'state' column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | score region state display_name
r001 kim 11 paused
r002 eli 22 pending
r003 bruno 21 pending
r004 ivan 15 paused
r005 dina 24 ready
r006 alice 2 closed
r007 lina 16 pending
| 11
22
21
15
24
2
16
| score region state display_name
r001 alice 6 active
r002 bruno 30 ready
r003 gus 4 pending
r004 chen 29 failed
r005 eli 7 closed
r006 lina 22 closed
| 6
30
4
29
7
22
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019022 | qwen/qwen3.7-plus |
awkweave-0019023 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 ivan 5 paused
r002 hana 2 failed
r003 farah 12 paused
r004 farah 21 pending
r005 bruno 25 closed
r006 dina 12 pending
r007 jules 25 closed
r008 farah 22 closed
r009 lina 12 closed
r010 gus 7 active
| farah
bruno
jules
farah
| record_id display_name score state
r001 jules 8 paused
r002 dina 10 pending
r003 alice 21 closed
r004 jules 28 failed
r005 hana 18 active
r006 hana 18 closed
r007 alice 26 active
r008 eli 17 pending
r009 eli 14 ready
r010 lina 14 pending
| alice
jules
hana
hana
alice
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019023-p1 | Ignoring the header, print the 'display_name' for rows where the 'score' exceeds 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 ivan 5 paused
r002 hana 2 failed
r003 farah 12 paused
r004 farah 21 pending
r005 bruno 25 closed
r006 dina 12 pending
r007 jules 25 closed
r008 farah 22 closed
r009 lina 12 closed
r010 gus 7 active
| farah
bruno
jules
farah
| record_id display_name score state
r001 jules 8 paused
r002 dina 10 pending
r003 alice 21 closed
r004 jules 28 failed
r005 hana 18 active
r006 hana 18 closed
r007 alice 26 active
r008 eli 17 pending
r009 eli 14 ready
r010 lina 14 pending
| alice
jules
hana
hana
alice
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019023 | qwen/qwen3.7-plus |
awkweave-0019024 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 14 pending
alice 24 paused
lina 1 ready
eli 6 pending
lina 22 failed
eli 2 paused
lina 16 pending
chen 3 paused
bruno 10 pending
| pending
paused
ready
pending
failed
paused
pending
paused
pending
| jules 18 failed
jules 3 closed
dina 8 pending
dina 30 failed
lina 3 paused
alice 6 closed
| failed
closed
pending
failed
paused
closed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019024-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 14 pending
alice 24 paused
lina 1 ready
eli 6 pending
lina 22 failed
eli 2 paused
lina 16 pending
chen 3 paused
bruno 10 pending
| pending
paused
ready
pending
failed
paused
pending
paused
pending
| jules 18 failed
jules 3 closed
dina 8 pending
dina 30 failed
lina 3 paused
alice 6 closed
| failed
closed
pending
failed
paused
closed
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0019024 | qwen/qwen3.7-plus |
awkweave-0019025 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20. | BEGIN{FS=OFS=","}$2>20{print $1} | kim,25,failed
jules,1,ready
alice,14,closed
kim,27,closed
jules,27,failed
alice,28,active
| kim
kim
jules
alice
| alice,20,active
bruno,4,failed
hana,4,failed
ivan,25,failed
gus,1,ready
kim,8,failed
farah,8,paused
kim,26,paused
| ivan
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019025-p1 | Output the first column of comma-separated rows where the second column is greater than 20. | BEGIN{FS=OFS=","}$2>20{print $1} | kim,25,failed
jules,1,ready
alice,14,closed
kim,27,closed
jules,27,failed
alice,28,active
| kim
kim
jules
alice
| alice,20,active
bruno,4,failed
hana,4,failed
ivan,25,failed
gus,1,ready
kim,8,failed
farah,8,paused
kim,26,paused
| ivan
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019025 | qwen/qwen3.7-plus |
awkweave-0019026 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno fable 119
eli grove 59
gus juniper 109
eli cobalt 62
kim juniper 69
farah indigo 80
lina juniper 82
| bruno fable 119
eli grove 59
gus juniper 109
eli cobalt 62
kim juniper 69
farah indigo 80
lina juniper 82
| hana juniper 10
dina fable 9
jules amber 60
hana fable 102
hana delta 22
hana amber 43
lina juniper 104
farah birch 95
gus indigo 102
| hana juniper 10
dina fable 9
jules amber 60
hana fable 102
hana delta 22
hana amber 43
lina juniper 104
farah birch 95
gus indigo 102
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019026-p1 | Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space. | {$1=$1;print} | bruno fable 119
eli grove 59
gus juniper 109
eli cobalt 62
kim juniper 69
farah indigo 80
lina juniper 82
| bruno fable 119
eli grove 59
gus juniper 109
eli cobalt 62
kim juniper 69
farah indigo 80
lina juniper 82
| hana juniper 10
dina fable 9
jules amber 60
hana fable 102
hana delta 22
hana amber 43
lina juniper 104
farah birch 95
gus indigo 102
| hana juniper 10
dina fable 9
jules amber 60
hana fable 102
hana delta 22
hana amber 43
lina juniper 104
farah birch 95
gus indigo 102
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019026 | qwen/qwen3.7-plus |
awkweave-0019027 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina fable 65 active
chen ember 72 failed
alice indigo 4 paused
alice delta 87 failed
dina ember 71 closed
dina indigo 58 pending
kim birch 118 failed
gus indigo 118 pending
farah juniper 112 failed
| farah juniper 112 failed
| gus juniper 73 active
eli indigo 1 paused
ivan fable 37 pending
gus indigo 41 active
dina cobalt 108 closed
eli birch 7 ready
kim birch 72 ready
gus grove 44 active
| dina cobalt 108 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019027-p1 | Identify and print the longest line, selecting the first one in case of a tie. | {if(length($0)>length(best))best=$0}END{print best} | lina fable 65 active
chen ember 72 failed
alice indigo 4 paused
alice delta 87 failed
dina ember 71 closed
dina indigo 58 pending
kim birch 118 failed
gus indigo 118 pending
farah juniper 112 failed
| farah juniper 112 failed
| gus juniper 73 active
eli indigo 1 paused
ivan fable 37 pending
gus indigo 41 active
dina cobalt 108 closed
eli birch 7 ready
kim birch 72 ready
gus grove 44 active
| dina cobalt 108 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019027 | qwen/qwen3.7-plus |
awkweave-0019028 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | lina 39
lina 113
kim 107
jules 6
bruno 65
ivan 16
bruno 60
dina 54
| lina 39
kim 107
bruno 65
bruno 60
| chen 77
farah 101
hana 44
hana 61
jules 10
farah 1
hana 13
| chen 77
hana 44
jules 10
hana 13
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019028-p1 | Print lines 1, 3, 5, and so on (every second line starting from the first). | NR%2==1 | lina 39
lina 113
kim 107
jules 6
bruno 65
ivan 16
bruno 60
dina 54
| lina 39
kim 107
bruno 65
bruno 60
| chen 77
farah 101
hana 44
hana 61
jules 10
farah 1
hana 13
| chen 77
hana 44
jules 10
hana 13
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019028 | qwen/qwen3.7-plus |
awkweave-0019029 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma indigo 26
gamma grove 90
delta amber 41
delta birch 62
beta cobalt 77
delta amber 78
alpha juniper 10
delta birch 0
| 6
| delta harbor 116
alpha delta 13
alpha delta 103
beta ember 84
gamma indigo 115
delta juniper 3
gamma grove 97
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019029-p1 | Calculate and output the number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | gamma indigo 26
gamma grove 90
delta amber 41
delta birch 62
beta cobalt 77
delta amber 78
alpha juniper 10
delta birch 0
| 6
| delta harbor 116
alpha delta 13
alpha delta 103
beta ember 84
gamma indigo 115
delta juniper 3
gamma grove 97
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019029 | qwen/qwen3.7-plus |
awkweave-0019030 | 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} | lina 16 0
alice 29 20
farah 4 15
bruno 4 20
alice 15 8
eli 29 2
bruno 18 26
gus 6 4
| alice 1.45
farah 0.27
bruno 0.20
alice 1.88
eli 14.50
bruno 0.69
gus 1.50
| farah 14 0
eli 21 7
alice 19 20
eli 3 1
dina 4 28
alice 18 16
lina 5 20
jules 10 11
eli 1 25
| eli 3.00
alice 0.95
eli 3.00
dina 0.14
alice 1.12
lina 0.25
jules 0.91
eli 0.04
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019030-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | lina 16 0
alice 29 20
farah 4 15
bruno 4 20
alice 15 8
eli 29 2
bruno 18 26
gus 6 4
| alice 1.45
farah 0.27
bruno 0.20
alice 1.88
eli 14.50
bruno 0.69
gus 1.50
| farah 14 0
eli 21 7
alice 19 20
eli 3 1
dina 4 28
alice 18 16
lina 5 20
jules 10 11
eli 1 25
| eli 3.00
alice 0.95
eli 3.00
dina 0.14
alice 1.12
lina 0.25
jules 0.91
eli 0.04
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019030 | qwen/qwen3.7-plus |
awkweave-0019031 | 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]} | alice amber 1
gus juniper 10
hana cobalt 13
kim birch 17
jules amber 23
farah indigo 10
eli juniper 11
dina ember 16
chen fable 30
| chen fable 30
jules amber 23
kim birch 17
| dina juniper 2
gus indigo 7
kim ember 20
chen indigo 29
eli birch 9
ivan juniper 8
| chen indigo 29
kim ember 20
eli birch 9
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019031-p1 | Display the top three records with the highest numeric values in column 3, sorted in descending order, maintaining 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]} | alice amber 1
gus juniper 10
hana cobalt 13
kim birch 17
jules amber 23
farah indigo 10
eli juniper 11
dina ember 16
chen fable 30
| chen fable 30
jules amber 23
kim birch 17
| dina juniper 2
gus indigo 7
kim ember 20
chen indigo 29
eli birch 9
ivan juniper 8
| chen indigo 29
kim ember 20
eli birch 9
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019031 | qwen/qwen3.7-plus |
awkweave-0019032 | For each line, output fields 5 and 2, in that order. | {print $5, $2} | bruno 50 42 118 107
kim 32 59 115 26
alice 35 68 17 3
gus 46 120 57 35
gus 85 114 96 114
alice 37 57 20 55
hana 109 54 35 42
jules 23 11 24 116
| 107 50
26 32
3 35
35 46
114 85
55 37
42 109
116 23
| jules 91 57 39 20
lina 39 86 62 0
ivan 34 39 78 38
bruno 94 2 75 55
gus 28 116 59 40
gus 78 23 95 29
eli 43 78 108 30
| 20 91
0 39
38 34
55 94
40 28
29 78
30 43
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019032-p1 | Output fields 5 and 2 from each line, preserving that specific order. | {print $5, $2} | bruno 50 42 118 107
kim 32 59 115 26
alice 35 68 17 3
gus 46 120 57 35
gus 85 114 96 114
alice 37 57 20 55
hana 109 54 35 42
jules 23 11 24 116
| 107 50
26 32
3 35
35 46
114 85
55 37
42 109
116 23
| jules 91 57 39 20
lina 39 86 62 0
ivan 34 39 78 38
bruno 94 2 75 55
gus 28 116 59 40
gus 78 23 95 29
eli 43 78 108 30
| 20 91
0 39
38 34
55 94
40 28
29 78
30 43
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019032 | qwen/qwen3.7-plus |
awkweave-0019033 | Print the last field of every input line. | {print $NF} | 48 chen active gus failed pending amber
36 farah paused chen pending closed harbor
6 bruno paused gus failed failed cobalt
24 kim pending eli pending failed delta
120 eli active lina ready ready birch
16 lina pending bruno pending paused juniper
| amber
harbor
cobalt
delta
birch
juniper
| 59 lina pending gus closed pending grove
84 farah paused kim pending active indigo
18 kim ready alice failed failed fable
118 hana closed jules active paused grove
0 kim paused alice pending closed grove
89 lina paused dina ready ready juniper
| grove
indigo
fable
grove
grove
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019033-p1 | Print the final field of every line. | {print $NF} | 48 chen active gus failed pending amber
36 farah paused chen pending closed harbor
6 bruno paused gus failed failed cobalt
24 kim pending eli pending failed delta
120 eli active lina ready ready birch
16 lina pending bruno pending paused juniper
| amber
harbor
cobalt
delta
birch
juniper
| 59 lina pending gus closed pending grove
84 farah paused kim pending active indigo
18 kim ready alice failed failed fable
118 hana closed jules active paused grove
0 kim paused alice pending closed grove
89 lina paused dina ready ready juniper
| grove
indigo
fable
grove
grove
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019033 | qwen/qwen3.7-plus |
awkweave-0019034 | Print the complete records where column 1 is less than 26. | $1 < 26 | 67 ember farah
92 birch hana
53 juniper kim
32 grove kim
63 fable alice
82 ember gus
69 ember farah
76 ember bruno
45 delta chen
1 grove dina
| 1 grove dina
| 40 birch kim
48 ember gus
98 indigo lina
61 cobalt gus
16 indigo dina
12 ember bruno
99 fable gus
119 harbor lina
| 16 indigo dina
12 ember bruno
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019034-p1 | Output full records where the value in the first column is less than 26. | $1 < 26 | 67 ember farah
92 birch hana
53 juniper kim
32 grove kim
63 fable alice
82 ember gus
69 ember farah
76 ember bruno
45 delta chen
1 grove dina
| 1 grove dina
| 40 birch kim
48 ember gus
98 indigo lina
61 cobalt gus
16 indigo dina
12 ember bruno
99 fable gus
119 harbor lina
| 16 indigo dina
12 ember bruno
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019034 | qwen/qwen3.7-plus |
awkweave-0019035 | Show whole lines whose 1st field is between 10 and 25, inclusive. | $1 >= 10 && $1 <= 25 | 18 failed fable ember
26 ready delta grove
8 pending fable fable
11 active birch juniper
7 paused cobalt cobalt
28 closed cobalt ember
29 ready indigo cobalt
2 active indigo ember
12 ready ember indigo
3 closed amber ember
| 18 failed fable ember
11 active birch juniper
12 ready ember indigo
| 18 ready cobalt ember
11 active cobalt delta
3 ready juniper ember
3 paused cobalt fable
18 failed grove juniper
21 pending cobalt delta
21 pending fable ember
30 ready grove cobalt
| 18 ready cobalt ember
11 active cobalt delta
18 failed grove juniper
21 pending cobalt delta
21 pending fable ember
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019035-p1 | Print entire lines where the first field falls within the inclusive range of 10 to 25. | $1 >= 10 && $1 <= 25 | 18 failed fable ember
26 ready delta grove
8 pending fable fable
11 active birch juniper
7 paused cobalt cobalt
28 closed cobalt ember
29 ready indigo cobalt
2 active indigo ember
12 ready ember indigo
3 closed amber ember
| 18 failed fable ember
11 active birch juniper
12 ready ember indigo
| 18 ready cobalt ember
11 active cobalt delta
3 ready juniper ember
3 paused cobalt fable
18 failed grove juniper
21 pending cobalt delta
21 pending fable ember
30 ready grove cobalt
| 18 ready cobalt ember
11 active cobalt delta
18 failed grove juniper
21 pending cobalt delta
21 pending fable ember
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019035 | qwen/qwen3.7-plus |
awkweave-0019036 | Print column 4 only for rows where column 2 is exactly active. | $2 == "active"{print $4} | indigo ready 118 chen
fable active 32 jules
cobalt closed 25 chen
harbor ready 81 alice
ember active 111 alice
delta failed 55 farah
delta ready 83 alice
grove paused 80 farah
amber pending 55 kim
delta failed 27 dina
| jules
alice
| harbor active 93 lina
harbor failed 107 kim
fable closed 80 ivan
amber pending 32 jules
juniper closed 87 gus
fable active 32 jules
amber ready 40 eli
ember failed 37 farah
birch ready 33 dina
| lina
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019036-p1 | Output the fourth column for rows where the second column equals active. | $2 == "active"{print $4} | indigo ready 118 chen
fable active 32 jules
cobalt closed 25 chen
harbor ready 81 alice
ember active 111 alice
delta failed 55 farah
delta ready 83 alice
grove paused 80 farah
amber pending 55 kim
delta failed 27 dina
| jules
alice
| harbor active 93 lina
harbor failed 107 kim
fable closed 80 ivan
amber pending 32 jules
juniper closed 87 gus
fable active 32 jules
amber ready 40 eli
ember failed 37 farah
birch ready 33 dina
| lina
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019036 | qwen/qwen3.7-plus |
awkweave-0019037 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | 20 WARN indigo
40 WARN delta
74 DEBUG grove
81 WARN amber
59 ERROR fable
39 INFO amber
24 INFO harbor
| 39 INFO amber
24 INFO harbor
| 84 INFO fable
112 ERROR ember
119 ERROR grove
45 INFO grove
31 WARN cobalt
75 ERROR harbor
64 ERROR indigo
| 84 INFO fable
45 INFO grove
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019037-p1 | Display all fields from lines whose second field starts with INFO. | $2 ~ /^INFO/ | 20 WARN indigo
40 WARN delta
74 DEBUG grove
81 WARN amber
59 ERROR fable
39 INFO amber
24 INFO harbor
| 39 INFO amber
24 INFO harbor
| 84 INFO fable
112 ERROR ember
119 ERROR grove
45 INFO grove
31 WARN cobalt
75 ERROR harbor
64 ERROR indigo
| 84 INFO fable
45 INFO grove
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019037 | qwen/qwen3.7-plus |
awkweave-0019038 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | amber 21 failed
fable 26 closed
ember 47 ready
grove 97 pending
cobalt 91 ready
grove 70 pending
juniper 999 active
| amber 21 failed
fable 26 closed
ember 47 ready
grove 97 pending
cobalt 91 ready
grove 70 pending
| fable 99 failed
ember 107 paused
harbor 105 closed
cobalt 54 pending
ember 2 ready
grove 75 failed
harbor 17 active
cobalt 27 closed
indigo 31 failed
indigo 22 ready
juniper 999 active
| fable 99 failed
ember 107 paused
harbor 105 closed
cobalt 54 pending
ember 2 ready
grove 75 failed
harbor 17 active
cobalt 27 closed
indigo 31 failed
indigo 22 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019038-p1 | Print every line that does not contain the exact string juniper. | $0 !~ /juniper/ | amber 21 failed
fable 26 closed
ember 47 ready
grove 97 pending
cobalt 91 ready
grove 70 pending
juniper 999 active
| amber 21 failed
fable 26 closed
ember 47 ready
grove 97 pending
cobalt 91 ready
grove 70 pending
| fable 99 failed
ember 107 paused
harbor 105 closed
cobalt 54 pending
ember 2 ready
grove 75 failed
harbor 17 active
cobalt 27 closed
indigo 31 failed
indigo 22 ready
juniper 999 active
| fable 99 failed
ember 107 paused
harbor 105 closed
cobalt 54 pending
ember 2 ready
grove 75 failed
harbor 17 active
cobalt 27 closed
indigo 31 failed
indigo 22 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019038 | qwen/qwen3.7-plus |
awkweave-0019039 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | ivan delta 83
jules birch 112
chen cobalt 7
jules indigo 23
eli birch 75
kim juniper 110
hana indigo 3
| jules birch 112
chen cobalt 7
jules indigo 23
eli birch 75
| alice birch 16
ivan fable 110
alice cobalt 79
eli juniper 67
ivan birch 66
lina fable 30
kim amber 83
| ivan fable 110
alice cobalt 79
eli juniper 67
ivan birch 66
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019039-p1 | Show lines 2 to 5, inclusive. | NR >= 2 && NR <= 5 | ivan delta 83
jules birch 112
chen cobalt 7
jules indigo 23
eli birch 75
kim juniper 110
hana indigo 3
| jules birch 112
chen cobalt 7
jules indigo 23
eli birch 75
| alice birch 16
ivan fable 110
alice cobalt 79
eli juniper 67
ivan birch 66
lina fable 30
kim amber 83
| ivan fable 110
alice cobalt 79
eli juniper 67
ivan birch 66
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019039 | qwen/qwen3.7-plus |
awkweave-0019040 | Output only the first 3 records. | NR <= 3 | ivan 30 harbor
alice 78 grove
farah 26 juniper
hana 116 amber
kim 33 ember
eli 96 juniper
chen 82 indigo
kim 27 ember
farah 11 indigo
| ivan 30 harbor
alice 78 grove
farah 26 juniper
| kim 44 juniper
jules 28 juniper
kim 42 harbor
eli 103 fable
hana 54 cobalt
hana 50 cobalt
gus 6 juniper
bruno 108 ember
eli 40 cobalt
hana 96 cobalt
| kim 44 juniper
jules 28 juniper
kim 42 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019040-p1 | Output only the first 3 records. | NR <= 3 | ivan 30 harbor
alice 78 grove
farah 26 juniper
hana 116 amber
kim 33 ember
eli 96 juniper
chen 82 indigo
kim 27 ember
farah 11 indigo
| ivan 30 harbor
alice 78 grove
farah 26 juniper
| kim 44 juniper
jules 28 juniper
kim 42 harbor
eli 103 fable
hana 54 cobalt
hana 50 cobalt
gus 6 juniper
bruno 108 ember
eli 40 cobalt
hana 96 cobalt
| kim 44 juniper
jules 28 juniper
kim 42 harbor
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0019040 | qwen/qwen3.7-plus |
awkweave-0019041 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 91 delta
farah 8 fable
chen 78 cobalt
alice 87 fable
farah 46 indigo
gus 62 cobalt
| farah 8 fable
chen 78 cobalt
alice 87 fable
farah 46 indigo
gus 62 cobalt
| eli 69 indigo
jules 14 harbor
hana 110 harbor
bruno 54 delta
jules 55 grove
hana 30 amber
| jules 14 harbor
hana 110 harbor
bruno 54 delta
jules 55 grove
hana 30 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019041-p1 | Omit the first line and print the rest as-is. | NR > 1 | kim 91 delta
farah 8 fable
chen 78 cobalt
alice 87 fable
farah 46 indigo
gus 62 cobalt
| farah 8 fable
chen 78 cobalt
alice 87 fable
farah 46 indigo
gus 62 cobalt
| eli 69 indigo
jules 14 harbor
hana 110 harbor
bruno 54 delta
jules 55 grove
hana 30 amber
| jules 14 harbor
hana 110 harbor
bruno 54 delta
jules 55 grove
hana 30 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019041 | qwen/qwen3.7-plus |
awkweave-0019042 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | hana pending 48
chen closed 88
eli paused 98
lina pending 18
kim ready 120
gus ready 76
chen paused 99
bruno closed 55
lina closed 91
chen ready 50
| 2
| gus pending 27
dina ready 57
bruno paused 47
eli pending 58
kim pending 67
dina pending 77
chen paused 64
| 4
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019042-p1 | Count records with pending in column 2; output 0 if none exist. | $2 == "pending"{n++}END{print n+0} | hana pending 48
chen closed 88
eli paused 98
lina pending 18
kim ready 120
gus ready 76
chen paused 99
bruno closed 55
lina closed 91
chen ready 50
| 2
| gus pending 27
dina ready 57
bruno paused 47
eli pending 58
kim pending 67
dina pending 77
chen paused 64
| 4
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019042 | qwen/qwen3.7-plus |
awkweave-0019043 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | jules 24 juniper
hana 23 harbor
gus 10 fable
chen 21 cobalt
farah 26 amber
gus 19 delta
| 123
| kim 14 juniper
bruno 13 harbor
chen 2 cobalt
chen 3 fable
gus 24 indigo
hana 19 ember
| 75
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019043-p1 | Compute and display the sum of integer values in column 2. | {s+=$2}END{print s+0} | jules 24 juniper
hana 23 harbor
gus 10 fable
chen 21 cobalt
farah 26 amber
gus 19 delta
| 123
| kim 14 juniper
bruno 13 harbor
chen 2 cobalt
chen 3 fable
gus 24 indigo
hana 19 ember
| 75
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019043 | qwen/qwen3.7-plus |
awkweave-0019044 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 19 grove ivan
24 juniper lina
27 fable gus
14 birch chen
11 delta jules
10 grove alice
24 grove ivan
8 delta chen
2 harbor dina
| 15.44
| 22 ember jules
22 harbor hana
20 amber jules
28 indigo kim
4 juniper hana
8 cobalt eli
| 17.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019044-p1 | Print the average of column 1, rounded to 2 decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 19 grove ivan
24 juniper lina
27 fable gus
14 birch chen
11 delta jules
10 grove alice
24 grove ivan
8 delta chen
2 harbor dina
| 15.44
| 22 ember jules
22 harbor hana
20 amber jules
28 indigo kim
4 juniper hana
8 cobalt eli
| 17.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019044 | qwen/qwen3.7-plus |
awkweave-0019045 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 harbor alice
1 indigo jules
6 harbor lina
14 delta kim
15 cobalt dina
11 ember bruno
14 ember hana
| 1
| 1 grove jules
2 indigo dina
19 ember dina
10 delta chen
9 amber lina
28 harbor chen
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019045-p1 | Identify and print the minimum numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 harbor alice
1 indigo jules
6 harbor lina
14 delta kim
15 cobalt dina
11 ember bruno
14 ember hana
| 1
| 1 grove jules
2 indigo dina
19 ember dina
10 delta chen
9 amber lina
28 harbor chen
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019045 | qwen/qwen3.7-plus |
awkweave-0019046 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 4 fable farah
20 grove lina
16 juniper dina
23 ember hana
17 indigo farah
4 indigo gus
| 23
| 2 fable bruno
11 amber kim
19 birch chen
16 amber ivan
6 birch ivan
28 ember ivan
18 delta hana
30 ember bruno
28 juniper jules
14 ember farah
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019046-p1 | Identify and print the maximum numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 4 fable farah
20 grove lina
16 juniper dina
23 ember hana
17 indigo farah
4 indigo gus
| 23
| 2 fable bruno
11 amber kim
19 birch chen
16 amber ivan
6 birch ivan
28 ember ivan
18 delta hana
30 ember bruno
28 juniper jules
14 ember farah
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019046 | qwen/qwen3.7-plus |
awkweave-0019047 | Count all input records and print the total. | END{print NR} | farah 109
eli 100
hana 104
chen 76
alice 3
gus 59
hana 64
hana 54
ivan 30
bruno 96
| 10
| ivan 82
lina 84
alice 12
bruno 74
lina 67
jules 116
kim 84
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019047-p1 | Count the total number of input records and print the result. | END{print NR} | farah 109
eli 100
hana 104
chen 76
alice 3
gus 59
hana 64
hana 54
ivan 30
bruno 96
| 10
| ivan 82
lina 84
alice 12
bruno 74
lina 67
jules 116
kim 84
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019047 | qwen/qwen3.7-plus |
awkweave-0019048 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana birch 73
chen fable 103
eli birch 49
chen fable 103
ivan juniper 5
eli amber 114
ivan ember 93
ivan cobalt 52
| hana birch 73
chen fable 103
eli birch 49
ivan juniper 5
eli amber 114
ivan ember 93
ivan cobalt 52
| kim birch 40
bruno grove 24
hana cobalt 46
hana cobalt 46
hana grove 45
jules amber 61
dina juniper 17
alice fable 57
hana ember 55
dina grove 112
| kim birch 40
bruno grove 24
hana cobalt 46
hana grove 45
jules amber 61
dina juniper 17
alice fable 57
hana ember 55
dina grove 112
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019048-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping only the first instance of each. | !seen[$0]++ | hana birch 73
chen fable 103
eli birch 49
chen fable 103
ivan juniper 5
eli amber 114
ivan ember 93
ivan cobalt 52
| hana birch 73
chen fable 103
eli birch 49
ivan juniper 5
eli amber 114
ivan ember 93
ivan cobalt 52
| kim birch 40
bruno grove 24
hana cobalt 46
hana cobalt 46
hana grove 45
jules amber 61
dina juniper 17
alice fable 57
hana ember 55
dina grove 112
| kim birch 40
bruno grove 24
hana cobalt 46
hana grove 45
jules amber 61
dina juniper 17
alice fable 57
hana ember 55
dina grove 112
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019048 | qwen/qwen3.7-plus |
awkweave-0019049 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | eli cobalt 115
dina amber 115
hana ember 43
kim harbor 15
dina fable 2
bruno ember 118
kim ember 90
alice indigo 71
eli amber 80
eli juniper 64
| eli cobalt 115
dina amber 115
hana ember 43
kim harbor 15
dina fable 2
alice indigo 71
eli juniper 64
| bruno birch 56
alice harbor 50
farah amber 119
alice cobalt 54
farah delta 11
hana grove 65
lina cobalt 91
kim delta 30
lina fable 98
| bruno birch 56
alice harbor 50
farah amber 119
alice cobalt 54
farah delta 11
hana grove 65
lina fable 98
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0019049-p1 | Retain only the initial line for every unique value found in the second column, ensuring the original input order is preserved. | !seen[$2]++ | eli cobalt 115
dina amber 115
hana ember 43
kim harbor 15
dina fable 2
bruno ember 118
kim ember 90
alice indigo 71
eli amber 80
eli juniper 64
| eli cobalt 115
dina amber 115
hana ember 43
kim harbor 15
dina fable 2
alice indigo 71
eli juniper 64
| bruno birch 56
alice harbor 50
farah amber 119
alice cobalt 54
farah delta 11
hana grove 65
lina cobalt 91
kim delta 30
lina fable 98
| bruno birch 56
alice harbor 50
farah amber 119
alice cobalt 54
farah delta 11
hana grove 65
lina fable 98
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0019049 | qwen/qwen3.7-plus |
awkweave-0019050 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 9 juniper
alice 20 fable
eli 11 grove
dina 3 grove
hana 26 cobalt
kim 3 juniper
kim 2 amber
| gus 9
alice 29
eli 40
dina 43
hana 69
kim 72
kim 74
| eli 11 grove
gus 11 indigo
lina 19 grove
lina 28 amber
chen 11 indigo
alice 19 grove
hana 25 delta
| eli 11
gus 22
lina 41
lina 69
chen 80
alice 99
hana 124
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.