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-0018610-p1 | Print lines 2 through 5, inclusive of both the start and end lines. | NR >= 2 && NR <= 5 | hana juniper 56
kim harbor 108
eli grove 12
farah ember 107
lina amber 18
alice ember 119
lina fable 22
bruno juniper 9
dina ember 67
chen birch 82
| kim harbor 108
eli grove 12
farah ember 107
lina amber 18
| chen indigo 37
eli cobalt 6
dina cobalt 0
gus delta 42
chen indigo 51
ivan juniper 15
bruno birch 57
kim grove 85
lina fable 4
| eli cobalt 6
dina cobalt 0
gus delta 42
chen indigo 51
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018610 | qwen/qwen3.7-plus |
awkweave-0018611 | Output only the first 3 records. | NR <= 3 | alice 24 harbor
chen 27 juniper
eli 119 birch
alice 35 amber
lina 38 birch
bruno 81 cobalt
dina 119 juniper
chen 3 amber
eli 53 juniper
| alice 24 harbor
chen 27 juniper
eli 119 birch
| farah 94 fable
chen 96 cobalt
jules 38 fable
gus 17 birch
chen 3 indigo
eli 19 harbor
eli 89 ember
jules 73 harbor
jules 54 juniper
| farah 94 fable
chen 96 cobalt
jules 38 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018611-p1 | Output only the first 3 records. | NR <= 3 | alice 24 harbor
chen 27 juniper
eli 119 birch
alice 35 amber
lina 38 birch
bruno 81 cobalt
dina 119 juniper
chen 3 amber
eli 53 juniper
| alice 24 harbor
chen 27 juniper
eli 119 birch
| farah 94 fable
chen 96 cobalt
jules 38 fable
gus 17 birch
chen 3 indigo
eli 19 harbor
eli 89 ember
jules 73 harbor
jules 54 juniper
| farah 94 fable
chen 96 cobalt
jules 38 fable
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0018611 | qwen/qwen3.7-plus |
awkweave-0018612 | Skip the first line and print every remaining line unchanged. | NR > 1 | lina 22 harbor
hana 93 birch
bruno 27 cobalt
dina 112 ember
bruno 103 birch
bruno 53 birch
| hana 93 birch
bruno 27 cobalt
dina 112 ember
bruno 103 birch
bruno 53 birch
| alice 45 birch
dina 96 amber
jules 34 birch
jules 28 harbor
alice 6 ember
dina 82 juniper
| dina 96 amber
jules 34 birch
jules 28 harbor
alice 6 ember
dina 82 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018612-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | lina 22 harbor
hana 93 birch
bruno 27 cobalt
dina 112 ember
bruno 103 birch
bruno 53 birch
| hana 93 birch
bruno 27 cobalt
dina 112 ember
bruno 103 birch
bruno 53 birch
| alice 45 birch
dina 96 amber
jules 34 birch
jules 28 harbor
alice 6 ember
dina 82 juniper
| dina 96 amber
jules 34 birch
jules 28 harbor
alice 6 ember
dina 82 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018612 | qwen/qwen3.7-plus |
awkweave-0018613 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | alice paused 54
dina pending 86
ivan pending 101
gus failed 58
farah failed 97
ivan failed 105
alice failed 91
jules paused 107
| 0
| farah closed 115
bruno ready 93
alice pending 91
dina active 15
ivan closed 114
ivan pending 31
eli failed 116
chen pending 18
ivan pending 96
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018613-p1 | Tally the entries marked 'closed' in the second column; output 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | alice paused 54
dina pending 86
ivan pending 101
gus failed 58
farah failed 97
ivan failed 105
alice failed 91
jules paused 107
| 0
| farah closed 115
bruno ready 93
alice pending 91
dina active 15
ivan closed 114
ivan pending 31
eli failed 116
chen pending 18
ivan pending 96
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018613 | qwen/qwen3.7-plus |
awkweave-0018614 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | alice 2 amber
hana 10 grove
gus 15 indigo
dina 29 birch
chen 4 indigo
farah 30 ember
kim 5 delta
kim 13 indigo
eli 27 fable
| 135
| gus 29 delta
farah 27 cobalt
bruno 5 birch
alice 10 cobalt
bruno 14 delta
ivan 9 delta
lina 25 cobalt
chen 19 amber
jules 16 fable
eli 2 birch
| 156
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018614-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | alice 2 amber
hana 10 grove
gus 15 indigo
dina 29 birch
chen 4 indigo
farah 30 ember
kim 5 delta
kim 13 indigo
eli 27 fable
| 135
| gus 29 delta
farah 27 cobalt
bruno 5 birch
alice 10 cobalt
bruno 14 delta
ivan 9 delta
lina 25 cobalt
chen 19 amber
jules 16 fable
eli 2 birch
| 156
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018614 | qwen/qwen3.7-plus |
awkweave-0018615 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 3 chen birch
22 kim harbor
8 gus amber
7 bruno juniper
30 ivan grove
22 jules delta
| 15.33
| 30 hana ember
22 lina delta
12 hana fable
20 farah ember
17 bruno indigo
5 eli amber
| 17.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018615-p1 | Output the average of the first column, formatted to precisely two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 3 chen birch
22 kim harbor
8 gus amber
7 bruno juniper
30 ivan grove
22 jules delta
| 15.33
| 30 hana ember
22 lina delta
12 hana fable
20 farah ember
17 bruno indigo
5 eli amber
| 17.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018615 | qwen/qwen3.7-plus |
awkweave-0018616 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember farah 19
fable dina 23
cobalt dina 1
indigo chen 8
fable kim 9
birch lina 20
| 1
| juniper alice 11
indigo farah 27
grove jules 15
delta farah 21
harbor kim 9
fable alice 4
amber kim 30
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018616-p1 | Identify and print the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember farah 19
fable dina 23
cobalt dina 1
indigo chen 8
fable kim 9
birch lina 20
| 1
| juniper alice 11
indigo farah 27
grove jules 15
delta farah 21
harbor kim 9
fable alice 4
amber kim 30
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018616 | qwen/qwen3.7-plus |
awkweave-0018617 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 5 alice
juniper 11 eli
harbor 27 lina
cobalt 29 lina
harbor 29 eli
juniper 23 lina
| 29
| cobalt 13 alice
ember 5 jules
grove 26 eli
indigo 9 alice
harbor 9 hana
juniper 7 eli
fable 10 farah
ember 11 kim
ember 16 alice
delta 16 hana
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018617-p1 | Identify and print the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 5 alice
juniper 11 eli
harbor 27 lina
cobalt 29 lina
harbor 29 eli
juniper 23 lina
| 29
| cobalt 13 alice
ember 5 jules
grove 26 eli
indigo 9 alice
harbor 9 hana
juniper 7 eli
fable 10 farah
ember 11 kim
ember 16 alice
delta 16 hana
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018617 | qwen/qwen3.7-plus |
awkweave-0018618 | Count all input records and print the total. | END{print NR} | chen 11
chen 114
alice 29
lina 76
alice 88
bruno 106
gus 101
alice 80
| 8
| lina 100
bruno 2
hana 58
bruno 98
lina 91
dina 10
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018618-p1 | Count the total number of input records and print the result. | END{print NR} | chen 11
chen 114
alice 29
lina 76
alice 88
bruno 106
gus 101
alice 80
| 8
| lina 100
bruno 2
hana 58
bruno 98
lina 91
dina 10
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018618 | qwen/qwen3.7-plus |
awkweave-0018619 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen delta 33
bruno amber 88
bruno amber 88
lina harbor 60
ivan delta 65
eli juniper 31
ivan delta 67
chen juniper 102
ivan delta 22
| chen delta 33
bruno amber 88
lina harbor 60
ivan delta 65
eli juniper 31
ivan delta 67
chen juniper 102
ivan delta 22
| kim grove 72
farah birch 5
lina birch 89
jules delta 22
chen amber 62
chen amber 62
dina ember 60
eli delta 98
jules birch 38
farah birch 62
dina juniper 118
| kim grove 72
farah birch 5
lina birch 89
jules delta 22
chen amber 62
dina ember 60
eli delta 98
jules birch 38
farah birch 62
dina juniper 118
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018619-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance. | !seen[$0]++ | chen delta 33
bruno amber 88
bruno amber 88
lina harbor 60
ivan delta 65
eli juniper 31
ivan delta 67
chen juniper 102
ivan delta 22
| chen delta 33
bruno amber 88
lina harbor 60
ivan delta 65
eli juniper 31
ivan delta 67
chen juniper 102
ivan delta 22
| kim grove 72
farah birch 5
lina birch 89
jules delta 22
chen amber 62
chen amber 62
dina ember 60
eli delta 98
jules birch 38
farah birch 62
dina juniper 118
| kim grove 72
farah birch 5
lina birch 89
jules delta 22
chen amber 62
dina ember 60
eli delta 98
jules birch 38
farah birch 62
dina juniper 118
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018619 | qwen/qwen3.7-plus |
awkweave-0018620 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | chen ember 56
jules delta 103
hana birch 47
farah indigo 28
lina grove 61
ivan amber 3
| chen ember 56
jules delta 103
hana birch 47
farah indigo 28
lina grove 61
ivan amber 3
| alice cobalt 9
alice fable 31
eli amber 12
lina indigo 112
kim amber 41
ivan juniper 77
bruno grove 77
jules juniper 51
alice amber 84
jules birch 13
| alice cobalt 9
eli amber 12
lina indigo 112
kim amber 41
ivan juniper 77
bruno grove 77
jules juniper 51
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018620-p1 | Retain only the first occurrence for each unique value in the first column, preserving the original input order. | !seen[$1]++ | chen ember 56
jules delta 103
hana birch 47
farah indigo 28
lina grove 61
ivan amber 3
| chen ember 56
jules delta 103
hana birch 47
farah indigo 28
lina grove 61
ivan amber 3
| alice cobalt 9
alice fable 31
eli amber 12
lina indigo 112
kim amber 41
ivan juniper 77
bruno grove 77
jules juniper 51
alice amber 84
jules birch 13
| alice cobalt 9
eli amber 12
lina indigo 112
kim amber 41
ivan juniper 77
bruno grove 77
jules juniper 51
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018620 | qwen/qwen3.7-plus |
awkweave-0018621 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 8 amber
ivan 3 ember
bruno 7 ember
eli 7 delta
eli 9 grove
chen 4 fable
kim 28 cobalt
alice 21 delta
hana 10 cobalt
| farah 8
ivan 11
bruno 18
eli 25
eli 34
chen 38
kim 66
alice 87
hana 97
| bruno 14 delta
dina 25 birch
chen 13 indigo
eli 14 grove
hana 17 ember
dina 12 harbor
| bruno 14
dina 39
chen 52
eli 66
hana 83
dina 95
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018621-p1 | For every record, output the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | farah 8 amber
ivan 3 ember
bruno 7 ember
eli 7 delta
eli 9 grove
chen 4 fable
kim 28 cobalt
alice 21 delta
hana 10 cobalt
| farah 8
ivan 11
bruno 18
eli 25
eli 34
chen 38
kim 66
alice 87
hana 97
| bruno 14 delta
dina 25 birch
chen 13 indigo
eli 14 grove
hana 17 ember
dina 12 harbor
| bruno 14
dina 39
chen 52
eli 66
hana 83
dina 95
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018621 | qwen/qwen3.7-plus |
awkweave-0018622 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | alice 4 9 indigo
kim 5 18 ember
jules 26 9 juniper
chen 22 28 ember
jules 12 12 cobalt
jules 29 9 indigo
| alice 13
kim 23
jules 35
chen 50
jules 24
jules 38
| bruno 2 6 delta
jules 3 27 delta
gus 12 30 ember
gus 12 19 indigo
jules 19 5 grove
eli 25 22 delta
| bruno 8
jules 30
gus 42
gus 31
jules 24
eli 47
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018622-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | alice 4 9 indigo
kim 5 18 ember
jules 26 9 juniper
chen 22 28 ember
jules 12 12 cobalt
jules 29 9 indigo
| alice 13
kim 23
jules 35
chen 50
jules 24
jules 38
| bruno 2 6 delta
jules 3 27 delta
gus 12 30 ember
gus 12 19 indigo
jules 19 5 grove
eli 25 22 delta
| bruno 8
jules 30
gus 42
gus 31
jules 24
eli 47
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018622 | qwen/qwen3.7-plus |
awkweave-0018623 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | kim 10
jules 28
lina 19
farah 16
bruno 20
dina 13
alice 1
chen 27
gus 18
gus 21
| kim fail
jules pass
lina fail
farah fail
bruno fail
dina fail
alice fail
chen pass
gus fail
gus fail
| ivan 28
chen 1
ivan 16
jules 6
hana 20
gus 24
farah 9
dina 1
chen 20
jules 29
| ivan pass
chen fail
ivan fail
jules fail
hana fail
gus fail
farah fail
dina fail
chen fail
jules pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018623-p1 | Print the first column and output 'pass' if the second column is 25 or greater; otherwise, output 'fail'. | {print $1,($2>=25?"pass":"fail")} | kim 10
jules 28
lina 19
farah 16
bruno 20
dina 13
alice 1
chen 27
gus 18
gus 21
| kim fail
jules pass
lina fail
farah fail
bruno fail
dina fail
alice fail
chen pass
gus fail
gus fail
| ivan 28
chen 1
ivan 16
jules 6
hana 20
gus 24
farah 9
dina 1
chen 20
jules 29
| ivan pass
chen fail
ivan fail
jules fail
hana fail
gus fail
farah fail
dina fail
chen fail
jules pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018623 | qwen/qwen3.7-plus |
awkweave-0018624 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen cobalt 35
dina amber 45
eli harbor 3
jules cobalt 102
chen juniper 96
eli amber 27
lina cobalt 95
dina ember 52
| COBALT
AMBER
HARBOR
COBALT
JUNIPER
AMBER
COBALT
EMBER
| hana delta 61
hana delta 114
bruno fable 82
ivan ember 38
alice grove 96
lina ember 23
alice cobalt 65
jules birch 65
| DELTA
DELTA
FABLE
EMBER
GROVE
EMBER
COBALT
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018624-p1 | Output column 2 after converting its contents to uppercase. | {print toupper($2)} | chen cobalt 35
dina amber 45
eli harbor 3
jules cobalt 102
chen juniper 96
eli amber 27
lina cobalt 95
dina ember 52
| COBALT
AMBER
HARBOR
COBALT
JUNIPER
AMBER
COBALT
EMBER
| hana delta 61
hana delta 114
bruno fable 82
ivan ember 38
alice grove 96
lina ember 23
alice cobalt 65
jules birch 65
| DELTA
DELTA
FABLE
EMBER
GROVE
EMBER
COBALT
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018624 | qwen/qwen3.7-plus |
awkweave-0018625 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | harbor 56
grove 103
delta 52
delta 4
birch 35
ember 57
fable 74
birch 38
delta 104
| rbo
ove
lta
lta
rch
ber
ble
rch
lta
| delta 52
amber 1
harbor 20
birch 101
ember 69
juniper 42
| lta
ber
rbo
rch
ber
nip
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018625-p1 | Extract and print a 3-character substring from column 1, beginning at the third character. | {print substr($1,3,3)} | harbor 56
grove 103
delta 52
delta 4
birch 35
ember 57
fable 74
birch 38
delta 104
| rbo
ove
lta
lta
rch
ber
ble
rch
lta
| delta 52
amber 1
harbor 20
birch 101
ember 69
juniper 42
| lta
ber
rbo
rch
ber
nip
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018625 | qwen/qwen3.7-plus |
awkweave-0018626 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_delta 94
delta_birch 13
juniper_cobalt 98
cobalt_birch 86
birch_fable 24
juniper_delta 88
indigo_harbor 0
ember_harbor 29
| ember delta
delta birch
juniper cobalt
cobalt birch
birch fable
juniper delta
indigo harbor
ember harbor
| delta_ember 31
amber_harbor 113
cobalt_juniper 25
birch_juniper 80
amber_birch 68
harbor_ember 31
birch_ember 80
| delta ember
amber harbor
cobalt juniper
birch juniper
amber birch
harbor ember
birch ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018626-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | ember_delta 94
delta_birch 13
juniper_cobalt 98
cobalt_birch 86
birch_fable 24
juniper_delta 88
indigo_harbor 0
ember_harbor 29
| ember delta
delta birch
juniper cobalt
cobalt birch
birch fable
juniper delta
indigo harbor
ember harbor
| delta_ember 31
amber_harbor 113
cobalt_juniper 25
birch_juniper 80
amber_birch 68
harbor_ember 31
birch_ember 80
| delta ember
amber harbor
cobalt juniper
birch juniper
amber birch
harbor ember
birch ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018626 | qwen/qwen3.7-plus |
awkweave-0018627 | 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)} | farah delta 100 closed
eli amber 35 ready
alice fable 10 active
farah harbor 119 pending
dina ember 91 pending
ivan fable 67 pending
| closed 100 delta farah
ready 35 amber eli
active 10 fable alice
pending 119 harbor farah
pending 91 ember dina
pending 67 fable ivan
| kim ember 35 paused
kim delta 28 failed
lina fable 69 paused
lina ember 110 paused
chen grove 114 ready
chen amber 120 ready
| paused 35 ember kim
failed 28 delta kim
paused 69 fable lina
paused 110 ember lina
ready 114 grove chen
ready 120 amber chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018627-p1 | Reverse the sequence of fields on each line and display all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | farah delta 100 closed
eli amber 35 ready
alice fable 10 active
farah harbor 119 pending
dina ember 91 pending
ivan fable 67 pending
| closed 100 delta farah
ready 35 amber eli
active 10 fable alice
pending 119 harbor farah
pending 91 ember dina
pending 67 fable ivan
| kim ember 35 paused
kim delta 28 failed
lina fable 69 paused
lina ember 110 paused
chen grove 114 ready
chen amber 120 ready
| paused 35 ember kim
failed 28 delta kim
paused 69 fable lina
paused 110 ember lina
ready 114 grove chen
ready 120 amber chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018627 | qwen/qwen3.7-plus |
awkweave-0018628 | Print the number of whitespace-separated fields on each line. | {print NF} | farah cobalt 25 pending
bruno grove 8 ready
gus grove 85 failed
chen birch 15 failed
bruno delta 78 ready
jules fable 41 active
gus cobalt 26 ready
farah grove 37 closed
| 4
4
4
4
4
4
4
4
| chen grove 83 active
bruno harbor 35 ready
dina harbor 113 active
jules amber 105 paused
hana birch 30 active
kim delta 42 closed
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018628-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | farah cobalt 25 pending
bruno grove 8 ready
gus grove 85 failed
chen birch 15 failed
bruno delta 78 ready
jules fable 41 active
gus cobalt 26 ready
farah grove 37 closed
| 4
4
4
4
4
4
4
4
| chen grove 83 active
bruno harbor 35 ready
dina harbor 113 active
jules amber 105 paused
hana birch 30 active
kim delta 42 closed
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018628 | qwen/qwen3.7-plus |
awkweave-0018629 | 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]]} | kim delta 42
dina delta 86
dina delta 20
gus gamma 15
alice alpha 48
jules beta 22
kim alpha 26
| delta 3
gamma 1
alpha 2
beta 1
| dina delta 14
kim alpha 55
eli delta 14
farah beta 103
kim alpha 12
jules alpha 35
| delta 2
alpha 3
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018629-p1 | Tally the occurrences of each value in column 2, then list each unique value alongside 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]]} | kim delta 42
dina delta 86
dina delta 20
gus gamma 15
alice alpha 48
jules beta 22
kim alpha 26
| delta 3
gamma 1
alpha 2
beta 1
| dina delta 14
kim alpha 55
eli delta 14
farah beta 103
kim alpha 12
jules alpha 35
| delta 2
alpha 3
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018629 | qwen/qwen3.7-plus |
awkweave-0018630 | 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]]} | hana delta 3
alice gamma 28
lina gamma 2
jules delta 28
eli beta 29
alice alpha 26
dina alpha 22
bruno gamma 1
lina gamma 5
| delta 31
gamma 36
beta 29
alpha 48
| alice delta 22
kim alpha 24
dina alpha 3
farah beta 30
bruno delta 9
gus delta 17
bruno alpha 16
ivan alpha 6
| delta 48
alpha 49
beta 30
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018630-p1 | Calculate the sum of column 3 grouped by the categories in column 2, presenting the 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]]} | hana delta 3
alice gamma 28
lina gamma 2
jules delta 28
eli beta 29
alice alpha 26
dina alpha 22
bruno gamma 1
lina gamma 5
| delta 31
gamma 36
beta 29
alpha 48
| alice delta 22
kim alpha 24
dina alpha 3
farah beta 30
bruno delta 9
gus delta 17
bruno alpha 16
ivan alpha 6
| delta 48
alpha 49
beta 30
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018630 | qwen/qwen3.7-plus |
awkweave-0018631 | 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 ember 76
beta harbor 28
alpha harbor 119
alpha grove 102
alpha harbor 93
delta ember 82
gamma ember 102
gamma harbor 67
| beta 2
alpha 3
gamma 2
| beta fable 87
alpha fable 78
alpha harbor 22
alpha amber 33
delta harbor 55
beta delta 108
delta birch 49
| beta 2
alpha 3
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018631-p1 | List each duplicate value from column 1 along with its frequency, ordered by when the value first appears. | {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 ember 76
beta harbor 28
alpha harbor 119
alpha grove 102
alpha harbor 93
delta ember 82
gamma ember 102
gamma harbor 67
| beta 2
alpha 3
gamma 2
| beta fable 87
alpha fable 78
alpha harbor 22
alpha amber 33
delta harbor 55
beta delta 108
delta birch 49
| beta 2
alpha 3
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018631 | qwen/qwen3.7-plus |
awkweave-0018632 | 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"]} | region record_id state display_name
r001 ivan 11 failed
r002 farah 24 pending
r003 dina 17 ready
r004 bruno 2 ready
r005 eli 6 closed
r006 alice 10 active
r007 alice 11 failed
| failed
pending
ready
ready
closed
active
failed
| region record_id state display_name
r001 farah 19 failed
r002 dina 1 paused
r003 gus 19 failed
r004 lina 12 closed
r005 dina 13 active
r006 ivan 25 pending
r007 chen 15 closed
r008 bruno 11 active
r009 ivan 1 ready
| failed
paused
failed
closed
active
pending
closed
active
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018632-p1 | Treating the first line as a header, output the values from the display_name column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | region record_id state display_name
r001 ivan 11 failed
r002 farah 24 pending
r003 dina 17 ready
r004 bruno 2 ready
r005 eli 6 closed
r006 alice 10 active
r007 alice 11 failed
| failed
pending
ready
ready
closed
active
failed
| region record_id state display_name
r001 farah 19 failed
r002 dina 1 paused
r003 gus 19 failed
r004 lina 12 closed
r005 dina 13 active
r006 ivan 25 pending
r007 chen 15 closed
r008 bruno 11 active
r009 ivan 1 ready
| failed
paused
failed
closed
active
pending
closed
active
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018632 | qwen/qwen3.7-plus |
awkweave-0018633 | The first row is a header. Print display_name for data rows whose score is greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 bruno 8 failed
r002 hana 20 failed
r003 hana 13 paused
r004 alice 18 failed
r005 kim 10 active
r006 ivan 20 pending
| hana
hana
alice
ivan
| record_id display_name score state
r001 bruno 15 failed
r002 alice 14 active
r003 alice 8 ready
r004 dina 30 closed
r005 gus 29 paused
r006 chen 7 pending
r007 eli 19 paused
r008 jules 1 closed
| bruno
alice
dina
gus
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018633-p1 | With the first line as a header, print the display_name column for data rows where the score is strictly greater than 12. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]} | record_id display_name score state
r001 bruno 8 failed
r002 hana 20 failed
r003 hana 13 paused
r004 alice 18 failed
r005 kim 10 active
r006 ivan 20 pending
| hana
hana
alice
ivan
| record_id display_name score state
r001 bruno 15 failed
r002 alice 14 active
r003 alice 8 ready
r004 dina 30 closed
r005 gus 29 paused
r006 chen 7 pending
r007 eli 19 paused
r008 jules 1 closed
| bruno
alice
dina
gus
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018633 | qwen/qwen3.7-plus |
awkweave-0018634 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | hana 16 pending
dina 15 ready
dina 29 ready
lina 29 failed
hana 14 closed
eli 1 failed
gus 6 ready
jules 9 paused
| 16
15
29
29
14
1
6
9
| eli 15 closed
ivan 8 pending
gus 7 ready
farah 7 pending
kim 21 failed
dina 30 active
farah 1 closed
| 15
8
7
7
21
30
1
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018634-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | hana 16 pending
dina 15 ready
dina 29 ready
lina 29 failed
hana 14 closed
eli 1 failed
gus 6 ready
jules 9 paused
| 16
15
29
29
14
1
6
9
| eli 15 closed
ivan 8 pending
gus 7 ready
farah 7 pending
kim 21 failed
dina 30 active
farah 1 closed
| 15
8
7
7
21
30
1
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018634 | qwen/qwen3.7-plus |
awkweave-0018635 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 12. | BEGIN{FS=OFS=","}$2>12{print $1} | chen,13,pending
farah,30,pending
dina,12,pending
hana,26,paused
kim,12,closed
hana,1,active
chen,18,ready
ivan,17,closed
gus,21,paused
| chen
farah
hana
chen
ivan
gus
| bruno,20,ready
jules,17,failed
eli,8,closed
hana,29,failed
hana,8,pending
chen,26,ready
jules,1,ready
| bruno
jules
hana
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018635-p1 | For simple comma-separated input without quoted commas, print the first column if the value in the second column is greater than 12. | BEGIN{FS=OFS=","}$2>12{print $1} | chen,13,pending
farah,30,pending
dina,12,pending
hana,26,paused
kim,12,closed
hana,1,active
chen,18,ready
ivan,17,closed
gus,21,paused
| chen
farah
hana
chen
ivan
gus
| bruno,20,ready
jules,17,failed
eli,8,closed
hana,29,failed
hana,8,pending
chen,26,ready
jules,1,ready
| bruno
jules
hana
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018635 | qwen/qwen3.7-plus |
awkweave-0018636 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice ember 37
gus harbor 13
farah fable 32
eli ember 76
eli amber 98
kim fable 118
ivan fable 81
jules birch 43
alice ember 110
gus harbor 66
| alice ember 37
gus harbor 13
farah fable 32
eli ember 76
eli amber 98
kim fable 118
ivan fable 81
jules birch 43
alice ember 110
gus harbor 66
| lina juniper 22
eli grove 50
ivan delta 55
kim indigo 29
ivan cobalt 66
chen ember 8
farah amber 6
jules harbor 102
jules delta 15
| lina juniper 22
eli grove 50
ivan delta 55
kim indigo 29
ivan cobalt 66
chen ember 8
farah amber 6
jules harbor 102
jules delta 15
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018636-p1 | Strip leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | alice ember 37
gus harbor 13
farah fable 32
eli ember 76
eli amber 98
kim fable 118
ivan fable 81
jules birch 43
alice ember 110
gus harbor 66
| alice ember 37
gus harbor 13
farah fable 32
eli ember 76
eli amber 98
kim fable 118
ivan fable 81
jules birch 43
alice ember 110
gus harbor 66
| lina juniper 22
eli grove 50
ivan delta 55
kim indigo 29
ivan cobalt 66
chen ember 8
farah amber 6
jules harbor 102
jules delta 15
| lina juniper 22
eli grove 50
ivan delta 55
kim indigo 29
ivan cobalt 66
chen ember 8
farah amber 6
jules harbor 102
jules delta 15
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018636 | qwen/qwen3.7-plus |
awkweave-0018637 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah ember 95 active
farah amber 28 ready
alice grove 36 ready
alice grove 39 ready
eli harbor 23 closed
lina harbor 66 paused
bruno indigo 18 active
jules juniper 95 paused
gus juniper 19 paused
gus birch 63 active
| jules juniper 95 paused
| alice cobalt 5 failed
hana harbor 57 paused
jules amber 115 ready
farah birch 93 closed
jules cobalt 81 paused
chen juniper 97 failed
farah ember 41 pending
kim delta 84 failed
gus birch 100 failed
dina amber 106 closed
| jules cobalt 81 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018637-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | farah ember 95 active
farah amber 28 ready
alice grove 36 ready
alice grove 39 ready
eli harbor 23 closed
lina harbor 66 paused
bruno indigo 18 active
jules juniper 95 paused
gus juniper 19 paused
gus birch 63 active
| jules juniper 95 paused
| alice cobalt 5 failed
hana harbor 57 paused
jules amber 115 ready
farah birch 93 closed
jules cobalt 81 paused
chen juniper 97 failed
farah ember 41 pending
kim delta 84 failed
gus birch 100 failed
dina amber 106 closed
| jules cobalt 81 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018637 | qwen/qwen3.7-plus |
awkweave-0018638 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | bruno 46
kim 15
ivan 35
bruno 33
gus 120
farah 16
bruno 13
bruno 44
chen 40
farah 12
| kim 15
farah 16
farah 12
| bruno 96
dina 66
lina 65
chen 80
jules 11
gus 15
dina 117
eli 32
| dina 66
gus 15
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018638-p1 | Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | bruno 46
kim 15
ivan 35
bruno 33
gus 120
farah 16
bruno 13
bruno 44
chen 40
farah 12
| kim 15
farah 16
farah 12
| bruno 96
dina 66
lina 65
chen 80
jules 11
gus 15
dina 117
eli 32
| dina 66
gus 15
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018638 | qwen/qwen3.7-plus |
awkweave-0018639 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha harbor 41
gamma indigo 89
alpha juniper 38
gamma fable 55
alpha cobalt 98
delta fable 109
beta indigo 60
delta grove 8
alpha ember 9
alpha ember 53
| 7
| delta ember 49
alpha amber 20
beta grove 72
beta amber 107
delta delta 62
alpha grove 33
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018639-p1 | Calculate the number of unique values found in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | alpha harbor 41
gamma indigo 89
alpha juniper 38
gamma fable 55
alpha cobalt 98
delta fable 109
beta indigo 60
delta grove 8
alpha ember 9
alpha ember 53
| 7
| delta ember 49
alpha amber 20
beta grove 72
beta amber 107
delta delta 62
alpha grove 33
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018639 | qwen/qwen3.7-plus |
awkweave-0018640 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 11 0
gus 20 13
kim 14 22
gus 9 4
dina 20 30
farah 1 29
hana 23 2
bruno 13 10
gus 8 28
lina 8 9
| gus 1.54
kim 0.64
gus 2.25
dina 0.67
farah 0.03
hana 11.50
bruno 1.30
gus 0.29
lina 0.89
| ivan 17 0
gus 23 4
gus 20 3
hana 30 18
eli 12 8
kim 27 4
hana 12 5
chen 20 19
ivan 22 21
bruno 29 28
| gus 5.75
gus 6.67
hana 1.67
eli 1.50
kim 6.75
hana 2.40
chen 1.05
ivan 1.05
bruno 1.04
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018640-p1 | For each row, output the first column and the result of dividing the second column by the third column, formatted to two decimal places; omit any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 11 0
gus 20 13
kim 14 22
gus 9 4
dina 20 30
farah 1 29
hana 23 2
bruno 13 10
gus 8 28
lina 8 9
| gus 1.54
kim 0.64
gus 2.25
dina 0.67
farah 0.03
hana 11.50
bruno 1.30
gus 0.29
lina 0.89
| ivan 17 0
gus 23 4
gus 20 3
hana 30 18
eli 12 8
kim 27 4
hana 12 5
chen 20 19
ivan 22 21
bruno 29 28
| gus 5.75
gus 6.67
hana 1.67
eli 1.50
kim 6.75
hana 2.40
chen 1.05
ivan 1.05
bruno 1.04
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018640 | qwen/qwen3.7-plus |
awkweave-0018641 | 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]} | bruno harbor 24
lina juniper 1
dina delta 4
ivan harbor 20
gus harbor 5
lina fable 26
lina amber 10
chen amber 27
ivan juniper 29
| ivan juniper 29
chen amber 27
lina fable 26
| bruno delta 2
ivan juniper 17
lina grove 22
lina delta 30
ivan birch 1
alice birch 25
kim cobalt 6
gus birch 9
hana cobalt 4
ivan amber 25
| lina delta 30
alice birch 25
ivan amber 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018641-p1 | Display the three full records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno harbor 24
lina juniper 1
dina delta 4
ivan harbor 20
gus harbor 5
lina fable 26
lina amber 10
chen amber 27
ivan juniper 29
| ivan juniper 29
chen amber 27
lina fable 26
| bruno delta 2
ivan juniper 17
lina grove 22
lina delta 30
ivan birch 1
alice birch 25
kim cobalt 6
gus birch 9
hana cobalt 4
ivan amber 25
| lina delta 30
alice birch 25
ivan amber 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018641 | qwen/qwen3.7-plus |
awkweave-0018642 | Print column 4 followed by column 3 for every record. | {print $4, $3} | 12 1 juniper 62
67 3 cobalt 37
39 103 indigo 72
53 88 indigo 114
92 27 juniper 82
69 81 cobalt 28
102 79 juniper 35
60 111 birch 93
85 23 indigo 113
| 62 juniper
37 cobalt
72 indigo
114 indigo
82 juniper
28 cobalt
35 juniper
93 birch
113 indigo
| 62 60 juniper 64
29 49 delta 41
96 91 harbor 67
20 92 fable 45
11 20 harbor 40
54 98 fable 69
| 64 juniper
41 delta
67 harbor
45 fable
40 harbor
69 fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018642-p1 | Output column 4 followed by column 3 for every record in the input. | {print $4, $3} | 12 1 juniper 62
67 3 cobalt 37
39 103 indigo 72
53 88 indigo 114
92 27 juniper 82
69 81 cobalt 28
102 79 juniper 35
60 111 birch 93
85 23 indigo 113
| 62 juniper
37 cobalt
72 indigo
114 indigo
82 juniper
28 cobalt
35 juniper
93 birch
113 indigo
| 62 60 juniper 64
29 49 delta 41
96 91 harbor 67
20 92 fable 45
11 20 harbor 40
54 98 fable 69
| 64 juniper
41 delta
67 harbor
45 fable
40 harbor
69 fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018642 | qwen/qwen3.7-plus |
awkweave-0018643 | Print the last field of every input line. | {print $NF} | active 68 indigo harbor
paused 37 amber indigo
paused 43 cobalt birch
ready 43 juniper indigo
paused 63 harbor cobalt
closed 16 juniper juniper
ready 0 cobalt delta
pending 107 harbor harbor
pending 113 indigo grove
| harbor
indigo
birch
indigo
cobalt
juniper
delta
harbor
grove
| active 61 indigo fable
pending 82 cobalt juniper
paused 22 grove fable
closed 59 ember juniper
pending 3 ember ember
failed 24 indigo harbor
ready 58 indigo grove
| fable
juniper
fable
juniper
ember
harbor
grove
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018643-p1 | Print the final field from each input line. | {print $NF} | active 68 indigo harbor
paused 37 amber indigo
paused 43 cobalt birch
ready 43 juniper indigo
paused 63 harbor cobalt
closed 16 juniper juniper
ready 0 cobalt delta
pending 107 harbor harbor
pending 113 indigo grove
| harbor
indigo
birch
indigo
cobalt
juniper
delta
harbor
grove
| active 61 indigo fable
pending 82 cobalt juniper
paused 22 grove fable
closed 59 ember juniper
pending 3 ember ember
failed 24 indigo harbor
ready 58 indigo grove
| fable
juniper
fable
juniper
ember
harbor
grove
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018643 | qwen/qwen3.7-plus |
awkweave-0018644 | Print the complete records where column 1 is greater than 46. | $1 > 46 | 118 juniper pending
91 juniper closed
2 juniper failed
52 birch pending
44 juniper failed
96 harbor ready
| 118 juniper pending
91 juniper closed
52 birch pending
96 harbor ready
| 62 ember pending
63 harbor active
79 cobalt paused
95 ember active
110 cobalt ready
25 harbor closed
12 harbor ready
18 amber failed
94 cobalt pending
13 birch pending
| 62 ember pending
63 harbor active
79 cobalt paused
95 ember active
110 cobalt ready
94 cobalt pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018644-p1 | Output the full records for which the value in column 1 exceeds 46. | $1 > 46 | 118 juniper pending
91 juniper closed
2 juniper failed
52 birch pending
44 juniper failed
96 harbor ready
| 118 juniper pending
91 juniper closed
52 birch pending
96 harbor ready
| 62 ember pending
63 harbor active
79 cobalt paused
95 ember active
110 cobalt ready
25 harbor closed
12 harbor ready
18 amber failed
94 cobalt pending
13 birch pending
| 62 ember pending
63 harbor active
79 cobalt paused
95 ember active
110 cobalt ready
94 cobalt pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018644 | qwen/qwen3.7-plus |
awkweave-0018645 | Show whole lines whose 3rd field is between 12 and 23, inclusive. | $3 >= 12 && $3 <= 23 | paused cobalt 19 ivan
active fable 16 chen
ready grove 28 ivan
failed cobalt 19 lina
ready juniper 15 jules
failed amber 3 eli
closed birch 2 kim
| paused cobalt 19 ivan
active fable 16 chen
failed cobalt 19 lina
ready juniper 15 jules
| failed birch 23 alice
closed delta 19 ivan
pending fable 29 ivan
ready grove 29 chen
pending indigo 5 dina
paused amber 21 gus
| failed birch 23 alice
closed delta 19 ivan
paused amber 21 gus
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018645-p1 | Display entire lines where the third field falls within the inclusive range of 12 to 23. | $3 >= 12 && $3 <= 23 | paused cobalt 19 ivan
active fable 16 chen
ready grove 28 ivan
failed cobalt 19 lina
ready juniper 15 jules
failed amber 3 eli
closed birch 2 kim
| paused cobalt 19 ivan
active fable 16 chen
failed cobalt 19 lina
ready juniper 15 jules
| failed birch 23 alice
closed delta 19 ivan
pending fable 29 ivan
ready grove 29 chen
pending indigo 5 dina
paused amber 21 gus
| failed birch 23 alice
closed delta 19 ivan
paused amber 21 gus
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018645 | qwen/qwen3.7-plus |
awkweave-0018646 | Print column 4 only for rows where column 3 is exactly pending. | $3 == "pending"{print $4} | 54 ember active lina
80 juniper paused ivan
96 juniper paused gus
58 cobalt paused jules
64 delta failed jules
18 harbor active dina
83 fable paused alice
90 ember pending gus
| gus
| 108 amber active jules
58 fable paused farah
8 delta closed farah
42 ember active lina
107 juniper closed gus
2 delta ready hana
7 amber paused eli
25 cobalt active dina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0018646-p1 | Print only the fourth column for rows where the third column contains the exact value 'pending'. | $3 == "pending"{print $4} | 54 ember active lina
80 juniper paused ivan
96 juniper paused gus
58 cobalt paused jules
64 delta failed jules
18 harbor active dina
83 fable paused alice
90 ember pending gus
| gus
| 108 amber active jules
58 fable paused farah
8 delta closed farah
42 ember active lina
107 juniper closed gus
2 delta ready hana
7 amber paused eli
25 cobalt active dina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018646 | qwen/qwen3.7-plus | |
awkweave-0018647 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | amber DEBUG 51
delta ERROR 80
grove WARN 100
delta WARN 90
ember WARN 8
grove WARN 60
harbor INFO 85
| delta ERROR 80
| fable DEBUG 74
delta DEBUG 47
birch INFO 27
delta INFO 98
delta WARN 61
ember DEBUG 13
grove WARN 108
grove ERROR 37
ember DEBUG 36
| grove ERROR 37
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018647-p1 | Output all fields from lines where the second field starts with the string 'ERROR'. | $2 ~ /^ERROR/ | amber DEBUG 51
delta ERROR 80
grove WARN 100
delta WARN 90
ember WARN 8
grove WARN 60
harbor INFO 85
| delta ERROR 80
| fable DEBUG 74
delta DEBUG 47
birch INFO 27
delta INFO 98
delta WARN 61
ember DEBUG 13
grove WARN 108
grove ERROR 37
ember DEBUG 36
| grove ERROR 37
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018647 | qwen/qwen3.7-plus |
awkweave-0018648 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | birch 30 ready
grove 81 closed
cobalt 94 failed
harbor 48 failed
juniper 91 ready
fable 75 active
amber 89 ready
ember 113 active
cobalt 3 pending
amber 999 active
| birch 30 ready
grove 81 closed
cobalt 94 failed
harbor 48 failed
juniper 91 ready
fable 75 active
ember 113 active
cobalt 3 pending
| juniper 44 paused
juniper 20 pending
juniper 80 ready
cobalt 52 paused
harbor 7 ready
grove 96 active
amber 999 active
| juniper 44 paused
juniper 20 pending
juniper 80 ready
cobalt 52 paused
harbor 7 ready
grove 96 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018648-p1 | Display all lines that do not contain the exact string amber. | $0 !~ /amber/ | birch 30 ready
grove 81 closed
cobalt 94 failed
harbor 48 failed
juniper 91 ready
fable 75 active
amber 89 ready
ember 113 active
cobalt 3 pending
amber 999 active
| birch 30 ready
grove 81 closed
cobalt 94 failed
harbor 48 failed
juniper 91 ready
fable 75 active
ember 113 active
cobalt 3 pending
| juniper 44 paused
juniper 20 pending
juniper 80 ready
cobalt 52 paused
harbor 7 ready
grove 96 active
amber 999 active
| juniper 44 paused
juniper 20 pending
juniper 80 ready
cobalt 52 paused
harbor 7 ready
grove 96 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018648 | qwen/qwen3.7-plus |
awkweave-0018649 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | bruno juniper 29
bruno juniper 56
lina amber 39
ivan ember 80
farah cobalt 86
farah amber 56
hana indigo 90
farah cobalt 117
eli indigo 79
ivan harbor 86
| lina amber 39
ivan ember 80
farah cobalt 86
farah amber 56
| farah delta 113
lina ember 78
gus ember 120
farah indigo 85
dina juniper 79
eli delta 25
| gus ember 120
farah indigo 85
dina juniper 79
eli delta 25
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018649-p1 | Output lines 3 to 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | bruno juniper 29
bruno juniper 56
lina amber 39
ivan ember 80
farah cobalt 86
farah amber 56
hana indigo 90
farah cobalt 117
eli indigo 79
ivan harbor 86
| lina amber 39
ivan ember 80
farah cobalt 86
farah amber 56
| farah delta 113
lina ember 78
gus ember 120
farah indigo 85
dina juniper 79
eli delta 25
| gus ember 120
farah indigo 85
dina juniper 79
eli delta 25
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018649 | qwen/qwen3.7-plus |
awkweave-0018650 | Output only the first 2 records. | NR <= 2 | farah 113 birch
dina 120 ember
eli 34 amber
bruno 54 birch
lina 34 ember
gus 103 birch
alice 80 grove
| farah 113 birch
dina 120 ember
| bruno 39 ember
chen 21 fable
kim 1 cobalt
jules 85 amber
farah 88 grove
farah 29 ember
ivan 43 juniper
| bruno 39 ember
chen 21 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018650-p1 | Show only the initial 2 records. | NR <= 2 | farah 113 birch
dina 120 ember
eli 34 amber
bruno 54 birch
lina 34 ember
gus 103 birch
alice 80 grove
| farah 113 birch
dina 120 ember
| bruno 39 ember
chen 21 fable
kim 1 cobalt
jules 85 amber
farah 88 grove
farah 29 ember
ivan 43 juniper
| bruno 39 ember
chen 21 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018650 | qwen/qwen3.7-plus |
awkweave-0018651 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 43 fable
alice 63 grove
eli 59 amber
farah 11 ember
lina 77 fable
eli 71 birch
gus 42 cobalt
jules 76 cobalt
chen 52 indigo
| alice 63 grove
eli 59 amber
farah 11 ember
lina 77 fable
eli 71 birch
gus 42 cobalt
jules 76 cobalt
chen 52 indigo
| eli 66 amber
alice 119 harbor
eli 103 fable
lina 58 birch
jules 118 delta
gus 29 cobalt
| alice 119 harbor
eli 103 fable
lina 58 birch
jules 118 delta
gus 29 cobalt
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018651-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | gus 43 fable
alice 63 grove
eli 59 amber
farah 11 ember
lina 77 fable
eli 71 birch
gus 42 cobalt
jules 76 cobalt
chen 52 indigo
| alice 63 grove
eli 59 amber
farah 11 ember
lina 77 fable
eli 71 birch
gus 42 cobalt
jules 76 cobalt
chen 52 indigo
| eli 66 amber
alice 119 harbor
eli 103 fable
lina 58 birch
jules 118 delta
gus 29 cobalt
| alice 119 harbor
eli 103 fable
lina 58 birch
jules 118 delta
gus 29 cobalt
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018651 | qwen/qwen3.7-plus |
awkweave-0018652 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | hana pending 89
ivan closed 72
chen closed 39
gus paused 66
jules closed 16
eli closed 86
hana failed 10
chen ready 81
| 4
| jules paused 119
chen active 44
farah closed 80
alice failed 11
eli active 3
eli paused 4
jules active 85
farah paused 44
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018652-p1 | Determine the number of records where column 2 is 'closed', outputting 0 if no such records exist. | $2 == "closed"{n++}END{print n+0} | hana pending 89
ivan closed 72
chen closed 39
gus paused 66
jules closed 16
eli closed 86
hana failed 10
chen ready 81
| 4
| jules paused 119
chen active 44
farah closed 80
alice failed 11
eli active 3
eli paused 4
jules active 85
farah paused 44
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018652 | qwen/qwen3.7-plus |
awkweave-0018653 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | gus 4 delta
bruno 21 amber
eli 2 birch
gus 14 grove
chen 6 harbor
gus 30 amber
dina 17 harbor
eli 30 amber
| 124
| ivan 6 juniper
lina 2 harbor
farah 5 birch
ivan 3 juniper
alice 23 fable
lina 8 indigo
hana 30 juniper
| 77
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018653-p1 | Compute and display the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | gus 4 delta
bruno 21 amber
eli 2 birch
gus 14 grove
chen 6 harbor
gus 30 amber
dina 17 harbor
eli 30 amber
| 124
| ivan 6 juniper
lina 2 harbor
farah 5 birch
ivan 3 juniper
alice 23 fable
lina 8 indigo
hana 30 juniper
| 77
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018653 | qwen/qwen3.7-plus |
awkweave-0018654 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 ivan grove
22 chen cobalt
19 kim grove
17 dina cobalt
21 farah birch
9 chen grove
26 chen harbor
5 bruno grove
| 15.50
| 5 lina birch
23 alice birch
11 bruno delta
25 bruno amber
7 chen delta
10 dina cobalt
5 alice fable
8 farah amber
27 jules fable
25 kim amber
| 14.60
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018654-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 5 ivan grove
22 chen cobalt
19 kim grove
17 dina cobalt
21 farah birch
9 chen grove
26 chen harbor
5 bruno grove
| 15.50
| 5 lina birch
23 alice birch
11 bruno delta
25 bruno amber
7 chen delta
10 dina cobalt
5 alice fable
8 farah amber
27 jules fable
25 kim amber
| 14.60
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018654 | qwen/qwen3.7-plus |
awkweave-0018655 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 25 birch
bruno 17 cobalt
alice 25 birch
ivan 23 amber
gus 18 grove
lina 28 grove
eli 28 birch
hana 12 harbor
jules 13 grove
| 12
| farah 1 birch
dina 11 juniper
ivan 27 cobalt
dina 23 delta
hana 5 cobalt
gus 29 birch
lina 7 harbor
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018655-p1 | Identify and output the minimum numeric value present in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | hana 25 birch
bruno 17 cobalt
alice 25 birch
ivan 23 amber
gus 18 grove
lina 28 grove
eli 28 birch
hana 12 harbor
jules 13 grove
| 12
| farah 1 birch
dina 11 juniper
ivan 27 cobalt
dina 23 delta
hana 5 cobalt
gus 29 birch
lina 7 harbor
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018655 | qwen/qwen3.7-plus |
awkweave-0018656 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 11 delta dina
21 grove farah
10 cobalt alice
18 juniper dina
15 juniper dina
26 cobalt farah
| 26
| 29 cobalt farah
20 harbor kim
10 amber kim
26 grove jules
7 fable lina
28 juniper chen
10 amber kim
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018656-p1 | Identify and output the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 11 delta dina
21 grove farah
10 cobalt alice
18 juniper dina
15 juniper dina
26 cobalt farah
| 26
| 29 cobalt farah
20 harbor kim
10 amber kim
26 grove jules
7 fable lina
28 juniper chen
10 amber kim
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018656 | qwen/qwen3.7-plus |
awkweave-0018657 | Count all input records and print the total. | END{print NR} | chen 58
gus 65
chen 9
farah 20
eli 16
kim 106
| 6
| dina 81
eli 82
bruno 91
farah 13
eli 10
lina 76
chen 67
chen 85
hana 91
hana 71
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018657-p1 | Count the total number of input records and print the result. | END{print NR} | chen 58
gus 65
chen 9
farah 20
eli 16
kim 106
| 6
| dina 81
eli 82
bruno 91
farah 13
eli 10
lina 76
chen 67
chen 85
hana 91
hana 71
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018657 | qwen/qwen3.7-plus |
awkweave-0018658 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus fable 73
eli ember 88
gus harbor 90
hana grove 32
bruno ember 104
farah delta 113
chen grove 74
chen grove 74
farah grove 52
farah ember 21
dina cobalt 48
| gus fable 73
eli ember 88
gus harbor 90
hana grove 32
bruno ember 104
farah delta 113
chen grove 74
farah grove 52
farah ember 21
dina cobalt 48
| eli cobalt 28
alice grove 82
alice juniper 47
alice juniper 47
bruno indigo 97
eli ember 71
gus juniper 41
bruno cobalt 22
alice fable 54
| eli cobalt 28
alice grove 82
alice juniper 47
bruno indigo 97
eli ember 71
gus juniper 41
bruno cobalt 22
alice fable 54
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018658-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | gus fable 73
eli ember 88
gus harbor 90
hana grove 32
bruno ember 104
farah delta 113
chen grove 74
chen grove 74
farah grove 52
farah ember 21
dina cobalt 48
| gus fable 73
eli ember 88
gus harbor 90
hana grove 32
bruno ember 104
farah delta 113
chen grove 74
farah grove 52
farah ember 21
dina cobalt 48
| eli cobalt 28
alice grove 82
alice juniper 47
alice juniper 47
bruno indigo 97
eli ember 71
gus juniper 41
bruno cobalt 22
alice fable 54
| eli cobalt 28
alice grove 82
alice juniper 47
bruno indigo 97
eli ember 71
gus juniper 41
bruno cobalt 22
alice fable 54
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018658 | qwen/qwen3.7-plus |
awkweave-0018659 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | lina indigo 36
bruno juniper 25
bruno grove 114
alice harbor 66
ivan harbor 110
bruno juniper 59
alice amber 94
alice harbor 107
bruno fable 56
jules cobalt 85
| lina indigo 36
bruno juniper 25
bruno grove 114
alice harbor 66
alice amber 94
bruno fable 56
jules cobalt 85
| farah harbor 25
dina harbor 68
alice delta 30
alice grove 84
kim indigo 91
chen indigo 44
jules harbor 3
farah amber 60
dina fable 48
ivan ember 71
| farah harbor 25
alice delta 30
alice grove 84
kim indigo 91
farah amber 60
dina fable 48
ivan ember 71
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0018659-p1 | Retain only the first occurrence of each unique value in column 2, preserving the original input order. | !seen[$2]++ | lina indigo 36
bruno juniper 25
bruno grove 114
alice harbor 66
ivan harbor 110
bruno juniper 59
alice amber 94
alice harbor 107
bruno fable 56
jules cobalt 85
| lina indigo 36
bruno juniper 25
bruno grove 114
alice harbor 66
alice amber 94
bruno fable 56
jules cobalt 85
| farah harbor 25
dina harbor 68
alice delta 30
alice grove 84
kim indigo 91
chen indigo 44
jules harbor 3
farah amber 60
dina fable 48
ivan ember 71
| farah harbor 25
alice delta 30
alice grove 84
kim indigo 91
farah amber 60
dina fable 48
ivan ember 71
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0018659 | qwen/qwen3.7-plus |
awkweave-0018660 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | gus 7 ember
chen 12 amber
gus 19 grove
dina 4 juniper
lina 25 ember
gus 22 cobalt
bruno 17 indigo
chen 2 indigo
gus 22 grove
hana 10 ember
| gus 7
chen 19
gus 38
dina 42
lina 67
gus 89
bruno 106
chen 108
gus 130
hana 140
| bruno 1 juniper
farah 1 harbor
farah 23 grove
eli 11 ember
gus 13 fable
jules 29 grove
chen 19 birch
eli 13 juniper
| bruno 1
farah 2
farah 25
eli 36
gus 49
jules 78
chen 97
eli 110
| 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.