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-0043222 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | hana closed 93
dina pending 96
dina pending 32
lina failed 44
chen ready 29
chen failed 84
lina paused 25
alice pending 84
gus closed 7
| 2
| eli closed 46
eli ready 106
gus ready 9
bruno failed 60
jules paused 35
kim closed 83
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043222-p1 | Count the number of records with failed in the second column; output 0 if the count is zero. | $2 == "failed"{n++}END{print n+0} | hana closed 93
dina pending 96
dina pending 32
lina failed 44
chen ready 29
chen failed 84
lina paused 25
alice pending 84
gus closed 7
| 2
| eli closed 46
eli ready 106
gus ready 9
bruno failed 60
jules paused 35
kim closed 83
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043222 | qwen/qwen3.7-plus |
awkweave-0043223 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | grove bruno 4
delta kim 6
grove dina 9
ember lina 24
juniper eli 28
harbor lina 9
delta bruno 28
| 108
| grove farah 9
delta dina 2
cobalt dina 29
amber farah 27
cobalt gus 27
amber gus 16
fable eli 3
delta dina 3
| 116
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043223-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | grove bruno 4
delta kim 6
grove dina 9
ember lina 24
juniper eli 28
harbor lina 9
delta bruno 28
| 108
| grove farah 9
delta dina 2
cobalt dina 29
amber farah 27
cobalt gus 27
amber gus 16
fable eli 3
delta dina 3
| 116
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043223 | qwen/qwen3.7-plus |
awkweave-0043224 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ember alice 18
birch hana 11
indigo bruno 2
cobalt jules 4
harbor dina 3
birch farah 23
amber farah 3
juniper lina 20
| 10.50
| indigo gus 2
birch eli 28
juniper jules 15
cobalt jules 23
amber ivan 17
ember eli 9
amber ivan 10
birch farah 28
cobalt jules 6
amber bruno 29
| 16.70
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043224-p1 | Output the average of the values in the third column, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | ember alice 18
birch hana 11
indigo bruno 2
cobalt jules 4
harbor dina 3
birch farah 23
amber farah 3
juniper lina 20
| 10.50
| indigo gus 2
birch eli 28
juniper jules 15
cobalt jules 23
amber ivan 17
ember eli 9
amber ivan 10
birch farah 28
cobalt jules 6
amber bruno 29
| 16.70
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043224 | qwen/qwen3.7-plus |
awkweave-0043225 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 24 birch
gus 16 indigo
hana 30 cobalt
lina 9 delta
eli 3 fable
lina 10 delta
ivan 17 birch
hana 13 amber
hana 19 indigo
chen 14 fable
| 3
| farah 11 amber
ivan 30 delta
alice 13 birch
farah 19 birch
jules 22 cobalt
jules 14 birch
alice 25 indigo
chen 25 grove
| 11
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043225-p1 | Identify and display the minimum number found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | bruno 24 birch
gus 16 indigo
hana 30 cobalt
lina 9 delta
eli 3 fable
lina 10 delta
ivan 17 birch
hana 13 amber
hana 19 indigo
chen 14 fable
| 3
| farah 11 amber
ivan 30 delta
alice 13 birch
farah 19 birch
jules 22 cobalt
jules 14 birch
alice 25 indigo
chen 25 grove
| 11
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043225 | qwen/qwen3.7-plus |
awkweave-0043226 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | delta 8 bruno
ember 3 dina
fable 3 chen
juniper 28 lina
ember 8 hana
ember 24 gus
birch 27 eli
delta 10 lina
| 28
| fable 19 chen
ember 21 chen
amber 2 ivan
amber 17 hana
grove 20 hana
indigo 3 alice
delta 15 ivan
| 21
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043226-p1 | Identify and display the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | delta 8 bruno
ember 3 dina
fable 3 chen
juniper 28 lina
ember 8 hana
ember 24 gus
birch 27 eli
delta 10 lina
| 28
| fable 19 chen
ember 21 chen
amber 2 ivan
amber 17 hana
grove 20 hana
indigo 3 alice
delta 15 ivan
| 21
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043226 | qwen/qwen3.7-plus |
awkweave-0043227 | Count all input records and print the total. | END{print NR} | farah 91
lina 100
ivan 17
jules 74
jules 62
bruno 18
ivan 8
| 7
| kim 0
bruno 73
ivan 104
bruno 18
hana 98
gus 101
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043227-p1 | Calculate and output the total count of input records. | END{print NR} | farah 91
lina 100
ivan 17
jules 74
jules 62
bruno 18
ivan 8
| 7
| kim 0
bruno 73
ivan 104
bruno 18
hana 98
gus 101
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043227 | qwen/qwen3.7-plus |
awkweave-0043228 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina fable 43
eli fable 115
hana fable 50
jules delta 113
eli delta 23
lina birch 3
eli fable 115
bruno cobalt 32
eli delta 81
| lina fable 43
eli fable 115
hana fable 50
jules delta 113
eli delta 23
lina birch 3
bruno cobalt 32
eli delta 81
| eli cobalt 76
dina indigo 25
chen indigo 30
dina indigo 84
alice indigo 74
alice juniper 92
alice juniper 92
chen amber 34
ivan juniper 31
bruno birch 51
gus indigo 12
| eli cobalt 76
dina indigo 25
chen indigo 30
dina indigo 84
alice indigo 74
alice juniper 92
chen amber 34
ivan juniper 31
bruno birch 51
gus indigo 12
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043228-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | lina fable 43
eli fable 115
hana fable 50
jules delta 113
eli delta 23
lina birch 3
eli fable 115
bruno cobalt 32
eli delta 81
| lina fable 43
eli fable 115
hana fable 50
jules delta 113
eli delta 23
lina birch 3
bruno cobalt 32
eli delta 81
| eli cobalt 76
dina indigo 25
chen indigo 30
dina indigo 84
alice indigo 74
alice juniper 92
alice juniper 92
chen amber 34
ivan juniper 31
bruno birch 51
gus indigo 12
| eli cobalt 76
dina indigo 25
chen indigo 30
dina indigo 84
alice indigo 74
alice juniper 92
chen amber 34
ivan juniper 31
bruno birch 51
gus indigo 12
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043228 | qwen/qwen3.7-plus |
awkweave-0043229 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah harbor 92
bruno birch 50
jules juniper 39
lina indigo 18
farah grove 32
eli delta 7
dina cobalt 83
dina indigo 13
dina grove 39
| farah harbor 92
bruno birch 50
jules juniper 39
lina indigo 18
eli delta 7
dina cobalt 83
| farah grove 21
farah fable 110
eli harbor 40
jules ember 56
chen harbor 114
ivan fable 1
| farah grove 21
eli harbor 40
jules ember 56
chen harbor 114
ivan fable 1
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043229-p1 | Retain only the initial line for every unique value in the first column, keeping the original order. | !seen[$1]++ | farah harbor 92
bruno birch 50
jules juniper 39
lina indigo 18
farah grove 32
eli delta 7
dina cobalt 83
dina indigo 13
dina grove 39
| farah harbor 92
bruno birch 50
jules juniper 39
lina indigo 18
eli delta 7
dina cobalt 83
| farah grove 21
farah fable 110
eli harbor 40
jules ember 56
chen harbor 114
ivan fable 1
| farah grove 21
eli harbor 40
jules ember 56
chen harbor 114
ivan fable 1
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043229 | qwen/qwen3.7-plus |
awkweave-0043230 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 28 amber
gus 9 delta
alice 16 amber
dina 22 fable
lina 7 indigo
dina 25 cobalt
jules 9 harbor
jules 9 grove
| lina 28
gus 37
alice 53
dina 75
lina 82
dina 107
jules 116
jules 125
| chen 14 juniper
lina 24 grove
kim 1 indigo
chen 24 birch
hana 21 juniper
chen 16 grove
gus 20 amber
dina 20 amber
farah 27 fable
| chen 14
lina 38
kim 39
chen 63
hana 84
chen 100
gus 120
dina 140
farah 167
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043230-p1 | For each entry, output the first column and the cumulative total of the second column, separated by a space. | {s+=$2;print $1,s} | lina 28 amber
gus 9 delta
alice 16 amber
dina 22 fable
lina 7 indigo
dina 25 cobalt
jules 9 harbor
jules 9 grove
| lina 28
gus 37
alice 53
dina 75
lina 82
dina 107
jules 116
jules 125
| chen 14 juniper
lina 24 grove
kim 1 indigo
chen 24 birch
hana 21 juniper
chen 16 grove
gus 20 amber
dina 20 amber
farah 27 fable
| chen 14
lina 38
kim 39
chen 63
hana 84
chen 100
gus 120
dina 140
farah 167
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043230 | qwen/qwen3.7-plus |
awkweave-0043231 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | alice 21 15 ember
eli 5 6 delta
alice 26 5 harbor
jules 13 30 indigo
eli 2 29 grove
bruno 5 30 amber
| alice 36
eli 11
alice 31
jules 43
eli 31
bruno 35
| gus 28 7 birch
eli 27 13 delta
gus 20 21 delta
chen 29 19 harbor
lina 21 25 cobalt
chen 23 30 harbor
alice 29 12 harbor
hana 2 24 grove
| gus 35
eli 40
gus 41
chen 48
lina 46
chen 53
alice 41
hana 26
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043231-p1 | Display the first field followed by the sum of the second and third fields for each row. | {print $1,$2+$3} | alice 21 15 ember
eli 5 6 delta
alice 26 5 harbor
jules 13 30 indigo
eli 2 29 grove
bruno 5 30 amber
| alice 36
eli 11
alice 31
jules 43
eli 31
bruno 35
| gus 28 7 birch
eli 27 13 delta
gus 20 21 delta
chen 29 19 harbor
lina 21 25 cobalt
chen 23 30 harbor
alice 29 12 harbor
hana 2 24 grove
| gus 35
eli 40
gus 41
chen 48
lina 46
chen 53
alice 41
hana 26
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043231 | qwen/qwen3.7-plus |
awkweave-0043232 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | eli 1
chen 27
eli 28
dina 7
gus 20
eli 5
eli 15
ivan 20
| eli fail
chen pass
eli pass
dina fail
gus fail
eli fail
eli fail
ivan fail
| ivan 16
bruno 6
gus 18
hana 25
ivan 8
farah 22
alice 30
gus 29
jules 6
| ivan fail
bruno fail
gus fail
hana pass
ivan fail
farah fail
alice pass
gus pass
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043232-p1 | Print the first column along with 'pass' if the second column is 24 or greater, otherwise print 'fail'. | {print $1,($2>=24?"pass":"fail")} | eli 1
chen 27
eli 28
dina 7
gus 20
eli 5
eli 15
ivan 20
| eli fail
chen pass
eli pass
dina fail
gus fail
eli fail
eli fail
ivan fail
| ivan 16
bruno 6
gus 18
hana 25
ivan 8
farah 22
alice 30
gus 29
jules 6
| ivan fail
bruno fail
gus fail
hana pass
ivan fail
farah fail
alice pass
gus pass
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043232 | qwen/qwen3.7-plus |
awkweave-0043233 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | lina juniper 105
kim birch 89
bruno fable 117
dina ember 88
bruno cobalt 74
bruno grove 68
ivan indigo 98
gus birch 52
| JUNIPER
BIRCH
FABLE
EMBER
COBALT
GROVE
INDIGO
BIRCH
| hana fable 82
hana juniper 73
hana juniper 101
gus juniper 92
chen birch 41
lina cobalt 34
farah grove 106
ivan amber 51
| FABLE
JUNIPER
JUNIPER
JUNIPER
BIRCH
COBALT
GROVE
AMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043233-p1 | Transform the second column to uppercase and output only that column. | {print toupper($2)} | lina juniper 105
kim birch 89
bruno fable 117
dina ember 88
bruno cobalt 74
bruno grove 68
ivan indigo 98
gus birch 52
| JUNIPER
BIRCH
FABLE
EMBER
COBALT
GROVE
INDIGO
BIRCH
| hana fable 82
hana juniper 73
hana juniper 101
gus juniper 92
chen birch 41
lina cobalt 34
farah grove 106
ivan amber 51
| FABLE
JUNIPER
JUNIPER
JUNIPER
BIRCH
COBALT
GROVE
AMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043233 | qwen/qwen3.7-plus |
awkweave-0043234 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | ember 16
birch 30
indigo 118
cobalt 109
fable 60
amber 38
juniper 53
fable 40
grove 55
| emb
bir
ind
cob
fab
amb
jun
fab
gro
| harbor 25
ember 72
indigo 67
indigo 43
ember 66
harbor 66
delta 86
| har
emb
ind
ind
emb
har
del
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043234-p1 | Extract and print the first 3 characters from the first column. | {print substr($1,1,3)} | ember 16
birch 30
indigo 118
cobalt 109
fable 60
amber 38
juniper 53
fable 40
grove 55
| emb
bir
ind
cob
fab
amb
jun
fab
gro
| harbor 25
ember 72
indigo 67
indigo 43
ember 66
harbor 66
delta 86
| har
emb
ind
ind
emb
har
del
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043234 | qwen/qwen3.7-plus |
awkweave-0043235 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_grove 16
ember_fable 8
ember_amber 65
indigo_harbor 75
grove_amber 23
cobalt_delta 100
cobalt_birch 36
| birch grove
ember fable
ember amber
indigo harbor
grove amber
cobalt delta
cobalt birch
| juniper_harbor 96
indigo_birch 94
fable_fable 37
grove_ember 10
grove_grove 52
indigo_birch 66
harbor_birch 66
birch_juniper 41
juniper_cobalt 106
| juniper harbor
indigo birch
fable fable
grove ember
grove grove
indigo birch
harbor birch
birch juniper
juniper cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043235-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | birch_grove 16
ember_fable 8
ember_amber 65
indigo_harbor 75
grove_amber 23
cobalt_delta 100
cobalt_birch 36
| birch grove
ember fable
ember amber
indigo harbor
grove amber
cobalt delta
cobalt birch
| juniper_harbor 96
indigo_birch 94
fable_fable 37
grove_ember 10
grove_grove 52
indigo_birch 66
harbor_birch 66
birch_juniper 41
juniper_cobalt 106
| juniper harbor
indigo birch
fable fable
grove ember
grove grove
indigo birch
harbor birch
birch juniper
juniper cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043235 | qwen/qwen3.7-plus |
awkweave-0043236 | 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)} | chen grove 27 closed
kim ember 24 failed
dina juniper 4 pending
eli delta 2 ready
chen delta 90 active
chen birch 64 closed
gus harbor 117 failed
| closed 27 grove chen
failed 24 ember kim
pending 4 juniper dina
ready 2 delta eli
active 90 delta chen
closed 64 birch chen
failed 117 harbor gus
| gus delta 52 closed
alice birch 79 ready
ivan ember 11 pending
lina grove 5 ready
alice fable 59 paused
ivan ember 93 ready
farah indigo 49 active
alice amber 94 failed
dina juniper 57 failed
jules grove 7 active
| closed 52 delta gus
ready 79 birch alice
pending 11 ember ivan
ready 5 grove lina
paused 59 fable alice
ready 93 ember ivan
active 49 indigo farah
failed 94 amber alice
failed 57 juniper dina
active 7 grove jules
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043236-p1 | Reverse the field sequence on each line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen grove 27 closed
kim ember 24 failed
dina juniper 4 pending
eli delta 2 ready
chen delta 90 active
chen birch 64 closed
gus harbor 117 failed
| closed 27 grove chen
failed 24 ember kim
pending 4 juniper dina
ready 2 delta eli
active 90 delta chen
closed 64 birch chen
failed 117 harbor gus
| gus delta 52 closed
alice birch 79 ready
ivan ember 11 pending
lina grove 5 ready
alice fable 59 paused
ivan ember 93 ready
farah indigo 49 active
alice amber 94 failed
dina juniper 57 failed
jules grove 7 active
| closed 52 delta gus
ready 79 birch alice
pending 11 ember ivan
ready 5 grove lina
paused 59 fable alice
ready 93 ember ivan
active 49 indigo farah
failed 94 amber alice
failed 57 juniper dina
active 7 grove jules
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043236 | qwen/qwen3.7-plus |
awkweave-0043237 | Print the number of whitespace-separated fields on each line. | {print NF} | hana harbor 98 closed
gus amber 117 ready
jules cobalt 13 failed
bruno amber 49 closed
eli cobalt 79 failed
chen juniper 61 paused
farah fable 49 failed
farah harbor 50 paused
jules birch 26 pending
| 4
4
4
4
4
4
4
4
4
| hana birch 94 pending
kim juniper 108 failed
farah indigo 0 paused
bruno juniper 51 failed
eli cobalt 49 failed
alice grove 109 pending
chen fable 20 closed
bruno birch 61 failed
gus harbor 19 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043237-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | hana harbor 98 closed
gus amber 117 ready
jules cobalt 13 failed
bruno amber 49 closed
eli cobalt 79 failed
chen juniper 61 paused
farah fable 49 failed
farah harbor 50 paused
jules birch 26 pending
| 4
4
4
4
4
4
4
4
4
| hana birch 94 pending
kim juniper 108 failed
farah indigo 0 paused
bruno juniper 51 failed
eli cobalt 49 failed
alice grove 109 pending
chen fable 20 closed
bruno birch 61 failed
gus harbor 19 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043237 | qwen/qwen3.7-plus |
awkweave-0043238 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus gamma 37
eli beta 53
chen beta 69
jules beta 31
gus gamma 30
gus delta 58
kim beta 27
| gamma 2
beta 4
delta 1
| jules alpha 10
hana alpha 50
eli beta 101
bruno gamma 8
jules gamma 7
jules delta 105
eli beta 96
ivan alpha 15
bruno beta 73
eli alpha 96
| alpha 4
beta 3
gamma 2
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043238-p1 | Tally records by the value in column 2, then print each 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]]} | gus gamma 37
eli beta 53
chen beta 69
jules beta 31
gus gamma 30
gus delta 58
kim beta 27
| gamma 2
beta 4
delta 1
| jules alpha 10
hana alpha 50
eli beta 101
bruno gamma 8
jules gamma 7
jules delta 105
eli beta 96
ivan alpha 15
bruno beta 73
eli alpha 96
| alpha 4
beta 3
gamma 2
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043238 | qwen/qwen3.7-plus |
awkweave-0043239 | 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]]} | jules beta 5
ivan delta 10
gus gamma 24
eli gamma 5
farah delta 10
gus gamma 26
| beta 5
delta 20
gamma 55
| jules gamma 14
ivan alpha 6
kim beta 2
dina gamma 12
kim delta 9
gus delta 24
dina gamma 9
alice beta 22
| gamma 35
alpha 6
beta 24
delta 33
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043239-p1 | 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]]} | jules beta 5
ivan delta 10
gus gamma 24
eli gamma 5
farah delta 10
gus gamma 26
| beta 5
delta 20
gamma 55
| jules gamma 14
ivan alpha 6
kim beta 2
dina gamma 12
kim delta 9
gus delta 24
dina gamma 9
alice beta 22
| gamma 35
alpha 6
beta 24
delta 33
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0043239 | qwen/qwen3.7-plus |
awkweave-0043240 | 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 cobalt 74
delta amber 90
delta amber 55
alpha juniper 10
alpha delta 86
alpha fable 108
| delta 3
alpha 3
| beta harbor 55
delta harbor 51
alpha ember 51
delta indigo 63
beta indigo 45
beta delta 75
beta juniper 97
| beta 4
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043240-p1 | List each duplicate value from column 1 with its frequency, sorted 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 cobalt 74
delta amber 90
delta amber 55
alpha juniper 10
alpha delta 86
alpha fable 108
| delta 3
alpha 3
| beta harbor 55
delta harbor 51
alpha ember 51
delta indigo 63
beta indigo 45
beta delta 75
beta juniper 97
| beta 4
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043240 | qwen/qwen3.7-plus |
awkweave-0043241 | 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"]} | record_id region note display_name
r001 gus 10 failed
r002 hana 7 pending
r003 chen 24 closed
r004 kim 10 closed
r005 bruno 23 pending
r006 alice 13 failed
r007 bruno 25 pending
r008 alice 6 closed
| failed
pending
closed
closed
pending
failed
pending
closed
| record_id region note display_name
r001 hana 17 closed
r002 dina 19 failed
r003 eli 6 pending
r004 eli 7 active
r005 alice 1 active
r006 farah 26 paused
r007 lina 8 ready
| closed
failed
pending
active
active
paused
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043241-p1 | Skip the header row and output the display_name column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | record_id region note display_name
r001 gus 10 failed
r002 hana 7 pending
r003 chen 24 closed
r004 kim 10 closed
r005 bruno 23 pending
r006 alice 13 failed
r007 bruno 25 pending
r008 alice 6 closed
| failed
pending
closed
closed
pending
failed
pending
closed
| record_id region note display_name
r001 hana 17 closed
r002 dina 19 failed
r003 eli 6 pending
r004 eli 7 active
r005 alice 1 active
r006 farah 26 paused
r007 lina 8 ready
| closed
failed
pending
active
active
paused
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043241 | qwen/qwen3.7-plus |
awkweave-0043242 | The first row is a header. Print display_name for data rows whose score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 farah 20 ready
r002 hana 4 paused
r003 kim 25 active
r004 alice 29 paused
r005 hana 19 paused
r006 hana 19 ready
r007 bruno 18 paused
r008 alice 1 active
| farah
kim
alice
hana
hana
bruno
| record_id display_name score state
r001 gus 4 active
r002 eli 5 ready
r003 lina 3 pending
r004 hana 16 ready
r005 bruno 11 active
r006 chen 16 paused
r007 kim 25 ready
r008 alice 12 closed
| hana
chen
kim
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043242-p1 | Ignoring the header, print the display_name for any data row where the score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 farah 20 ready
r002 hana 4 paused
r003 kim 25 active
r004 alice 29 paused
r005 hana 19 paused
r006 hana 19 ready
r007 bruno 18 paused
r008 alice 1 active
| farah
kim
alice
hana
hana
bruno
| record_id display_name score state
r001 gus 4 active
r002 eli 5 ready
r003 lina 3 pending
r004 hana 16 ready
r005 bruno 11 active
r006 chen 16 paused
r007 kim 25 ready
r008 alice 12 closed
| hana
chen
kim
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043242 | qwen/qwen3.7-plus |
awkweave-0043243 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | jules 21 paused
alice 4 ready
bruno 28 ready
bruno 2 pending
hana 23 pending
hana 11 paused
| jules
alice
bruno
bruno
hana
hana
| eli 17 ready
lina 2 pending
bruno 15 failed
bruno 13 active
farah 13 pending
bruno 3 active
eli 14 paused
ivan 29 failed
chen 27 closed
alice 19 failed
| eli
lina
bruno
bruno
farah
bruno
eli
ivan
chen
alice
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043243-p1 | Given tab-separated input, extract and print the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | jules 21 paused
alice 4 ready
bruno 28 ready
bruno 2 pending
hana 23 pending
hana 11 paused
| jules
alice
bruno
bruno
hana
hana
| eli 17 ready
lina 2 pending
bruno 15 failed
bruno 13 active
farah 13 pending
bruno 3 active
eli 14 paused
ivan 29 failed
chen 27 closed
alice 19 failed
| eli
lina
bruno
bruno
farah
bruno
eli
ivan
chen
alice
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043243 | qwen/qwen3.7-plus |
awkweave-0043244 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,3,active
farah,2,ready
kim,3,paused
kim,6,ready
ivan,18,ready
ivan,30,active
ivan,4,paused
kim,1,pending
| ivan
ivan
| alice,10,active
ivan,23,active
farah,15,pending
gus,22,closed
jules,4,failed
jules,8,failed
hana,13,paused
| ivan
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043244-p1 | For simple comma-separated input without quoted commas, print the first column only if the second column value is greater than 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,3,active
farah,2,ready
kim,3,paused
kim,6,ready
ivan,18,ready
ivan,30,active
ivan,4,paused
kim,1,pending
| ivan
ivan
| alice,10,active
ivan,23,active
farah,15,pending
gus,22,closed
jules,4,failed
jules,8,failed
hana,13,paused
| ivan
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043244 | qwen/qwen3.7-plus |
awkweave-0043245 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules fable 70
eli birch 13
jules grove 45
gus amber 3
farah cobalt 93
jules birch 43
kim fable 100
gus amber 57
alice fable 25
| jules fable 70
eli birch 13
jules grove 45
gus amber 3
farah cobalt 93
jules birch 43
kim fable 100
gus amber 57
alice fable 25
| lina juniper 5
dina juniper 83
dina grove 101
lina amber 16
alice cobalt 107
kim ember 44
alice delta 112
bruno birch 116
| lina juniper 5
dina juniper 83
dina grove 101
lina amber 16
alice cobalt 107
kim ember 44
alice delta 112
bruno birch 116
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043245-p1 | Remove leading and trailing whitespace, and replace internal whitespace sequences with a single space. | {$1=$1;print} | jules fable 70
eli birch 13
jules grove 45
gus amber 3
farah cobalt 93
jules birch 43
kim fable 100
gus amber 57
alice fable 25
| jules fable 70
eli birch 13
jules grove 45
gus amber 3
farah cobalt 93
jules birch 43
kim fable 100
gus amber 57
alice fable 25
| lina juniper 5
dina juniper 83
dina grove 101
lina amber 16
alice cobalt 107
kim ember 44
alice delta 112
bruno birch 116
| lina juniper 5
dina juniper 83
dina grove 101
lina amber 16
alice cobalt 107
kim ember 44
alice delta 112
bruno birch 116
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043245 | qwen/qwen3.7-plus |
awkweave-0043246 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice grove 82 ready
gus birch 110 failed
gus indigo 105 pending
bruno cobalt 51 failed
farah birch 31 active
ivan ember 48 closed
kim grove 10 pending
hana harbor 92 failed
farah cobalt 78 active
| gus indigo 105 pending
| eli cobalt 113 failed
lina delta 119 pending
kim birch 106 failed
ivan fable 20 failed
bruno birch 69 pending
kim ember 30 closed
gus harbor 60 pending
| lina delta 119 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043246-p1 | Identify and print the longest line from the input; if there is a tie in length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice grove 82 ready
gus birch 110 failed
gus indigo 105 pending
bruno cobalt 51 failed
farah birch 31 active
ivan ember 48 closed
kim grove 10 pending
hana harbor 92 failed
farah cobalt 78 active
| gus indigo 105 pending
| eli cobalt 113 failed
lina delta 119 pending
kim birch 106 failed
ivan fable 20 failed
bruno birch 69 pending
kim ember 30 closed
gus harbor 60 pending
| lina delta 119 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043246 | qwen/qwen3.7-plus |
awkweave-0043247 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | gus 24
farah 72
jules 108
ivan 68
kim 11
chen 8
bruno 97
jules 34
eli 115
| farah 72
chen 8
| gus 93
dina 51
farah 88
kim 35
bruno 3
jules 32
farah 61
| dina 51
jules 32
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043247-p1 | Output every 4th line beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | gus 24
farah 72
jules 108
ivan 68
kim 11
chen 8
bruno 97
jules 34
eli 115
| farah 72
chen 8
| gus 93
dina 51
farah 88
kim 35
bruno 3
jules 32
farah 61
| dina 51
jules 32
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043247 | qwen/qwen3.7-plus |
awkweave-0043248 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 8
alpha harbor 95
gamma birch 80
gamma indigo 6
alpha harbor 61
alpha delta 28
| 2
| gamma harbor 42
alpha indigo 49
beta amber 30
delta cobalt 6
delta delta 6
beta birch 49
gamma harbor 32
gamma juniper 74
beta birch 116
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043248-p1 | Count the unique entries in the first column and output just that number. | {if(!seen[$1]++)n++}END{print n+0} | gamma indigo 8
alpha harbor 95
gamma birch 80
gamma indigo 6
alpha harbor 61
alpha delta 28
| 2
| gamma harbor 42
alpha indigo 49
beta amber 30
delta cobalt 6
delta delta 6
beta birch 49
gamma harbor 32
gamma juniper 74
beta birch 116
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043248 | qwen/qwen3.7-plus |
awkweave-0043249 | 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} | bruno 1 0
chen 3 12
kim 17 21
gus 24 27
kim 30 10
chen 2 2
dina 13 21
eli 5 24
bruno 11 22
ivan 11 3
| chen 0.25
kim 0.81
gus 0.89
kim 3.00
chen 1.00
dina 0.62
eli 0.21
bruno 0.50
ivan 3.67
| eli 25 0
eli 14 30
bruno 25 19
chen 5 18
lina 29 25
jules 17 22
kim 7 16
ivan 15 18
jules 11 28
jules 22 5
| eli 0.47
bruno 1.32
chen 0.28
lina 1.16
jules 0.77
kim 0.44
ivan 0.83
jules 0.39
jules 4.40
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043249-p1 | For every row, display the first and second columns alongside the result of dividing the second by the third, rounded to two decimal places; omit any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | bruno 1 0
chen 3 12
kim 17 21
gus 24 27
kim 30 10
chen 2 2
dina 13 21
eli 5 24
bruno 11 22
ivan 11 3
| chen 0.25
kim 0.81
gus 0.89
kim 3.00
chen 1.00
dina 0.62
eli 0.21
bruno 0.50
ivan 3.67
| eli 25 0
eli 14 30
bruno 25 19
chen 5 18
lina 29 25
jules 17 22
kim 7 16
ivan 15 18
jules 11 28
jules 22 5
| eli 0.47
bruno 1.32
chen 0.28
lina 1.16
jules 0.77
kim 0.44
ivan 0.83
jules 0.39
jules 4.40
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043249 | qwen/qwen3.7-plus |
awkweave-0043250 | 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 juniper 11
jules juniper 19
hana juniper 3
jules ember 15
dina ember 27
bruno cobalt 9
chen harbor 24
alice harbor 27
ivan juniper 26
gus ember 28
| gus ember 28
dina ember 27
alice harbor 27
| bruno amber 3
hana grove 15
lina amber 25
kim amber 23
eli cobalt 28
lina delta 28
bruno cobalt 18
| eli cobalt 28
lina delta 28
lina amber 25
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043250-p1 | Output the top three full records based on the highest numeric values in the third column, sorted in descending order, keeping the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno juniper 11
jules juniper 19
hana juniper 3
jules ember 15
dina ember 27
bruno cobalt 9
chen harbor 24
alice harbor 27
ivan juniper 26
gus ember 28
| gus ember 28
dina ember 27
alice harbor 27
| bruno amber 3
hana grove 15
lina amber 25
kim amber 23
eli cobalt 28
lina delta 28
bruno cobalt 18
| eli cobalt 28
lina delta 28
lina amber 25
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043250 | qwen/qwen3.7-plus |
awkweave-0043251 | Print column 4 followed by column 1 for every record. | {print $4, $1} | 107 bruno paused 54
26 jules ready 8
77 lina ready 78
49 alice ready 2
11 ivan active 78
30 gus active 111
84 farah paused 70
3 ivan closed 111
| 54 107
8 26
78 77
2 49
78 11
111 30
70 84
111 3
| 2 jules closed 77
113 gus active 22
51 jules pending 100
95 gus ready 59
55 ivan active 118
101 bruno pending 4
69 chen active 34
| 77 2
22 113
100 51
59 95
118 55
4 101
34 69
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043251-p1 | Display the fourth column followed by the first column for each entry. | {print $4, $1} | 107 bruno paused 54
26 jules ready 8
77 lina ready 78
49 alice ready 2
11 ivan active 78
30 gus active 111
84 farah paused 70
3 ivan closed 111
| 54 107
8 26
78 77
2 49
78 11
111 30
70 84
111 3
| 2 jules closed 77
113 gus active 22
51 jules pending 100
95 gus ready 59
55 ivan active 118
101 bruno pending 4
69 chen active 34
| 77 2
22 113
100 51
59 95
118 55
4 101
34 69
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043251 | qwen/qwen3.7-plus |
awkweave-0043252 | Print the last field of every input line. | {print $NF} | lina jules bruno delta 63
hana kim jules juniper 60
hana gus eli cobalt 103
chen farah dina grove 107
bruno eli farah indigo 35
chen farah eli birch 85
hana gus chen cobalt 4
alice chen lina ember 87
ivan chen lina ember 44
| 63
60
103
107
35
85
4
87
44
| ivan jules gus grove 43
bruno jules eli ember 50
dina dina alice cobalt 95
ivan kim alice cobalt 53
farah lina dina indigo 74
ivan farah lina ember 100
chen dina hana harbor 47
bruno farah ivan fable 113
gus kim dina ember 114
| 43
50
95
53
74
100
47
113
114
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043252-p1 | Output the final field from every line of input. | {print $NF} | lina jules bruno delta 63
hana kim jules juniper 60
hana gus eli cobalt 103
chen farah dina grove 107
bruno eli farah indigo 35
chen farah eli birch 85
hana gus chen cobalt 4
alice chen lina ember 87
ivan chen lina ember 44
| 63
60
103
107
35
85
4
87
44
| ivan jules gus grove 43
bruno jules eli ember 50
dina dina alice cobalt 95
ivan kim alice cobalt 53
farah lina dina indigo 74
ivan farah lina ember 100
chen dina hana harbor 47
bruno farah ivan fable 113
gus kim dina ember 114
| 43
50
95
53
74
100
47
113
114
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043252 | qwen/qwen3.7-plus |
awkweave-0043253 | Print the complete records where column 1 is at most 21. | $1 <= 21 | 112 juniper ember
11 amber fable
45 delta grove
99 cobalt delta
43 delta grove
53 amber grove
| 11 amber fable
| 42 delta fable
97 birch juniper
115 juniper birch
109 harbor harbor
105 grove birch
62 indigo grove
94 birch juniper
48 delta fable
19 delta indigo
| 19 delta indigo
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043253-p1 | Print the full records where the value in the first column is less than or equal to 21. | $1 <= 21 | 112 juniper ember
11 amber fable
45 delta grove
99 cobalt delta
43 delta grove
53 amber grove
| 11 amber fable
| 42 delta fable
97 birch juniper
115 juniper birch
109 harbor harbor
105 grove birch
62 indigo grove
94 birch juniper
48 delta fable
19 delta indigo
| 19 delta indigo
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043253 | qwen/qwen3.7-plus |
awkweave-0043254 | Show whole lines whose 1st field is between 3 and 22, inclusive. | $1 >= 3 && $1 <= 22 | 10 ivan ivan failed
12 eli lina closed
20 alice bruno pending
6 alice ivan closed
26 alice bruno ready
4 eli hana paused
13 kim dina pending
| 10 ivan ivan failed
12 eli lina closed
20 alice bruno pending
6 alice ivan closed
4 eli hana paused
13 kim dina pending
| 25 dina kim ready
5 jules chen closed
26 farah kim active
1 dina jules closed
15 chen alice ready
24 chen dina ready
30 gus farah paused
17 chen eli closed
| 5 jules chen closed
15 chen alice ready
17 chen eli closed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043254-p1 | Display entire lines where the first field falls within the range of 3 to 22, inclusive. | $1 >= 3 && $1 <= 22 | 10 ivan ivan failed
12 eli lina closed
20 alice bruno pending
6 alice ivan closed
26 alice bruno ready
4 eli hana paused
13 kim dina pending
| 10 ivan ivan failed
12 eli lina closed
20 alice bruno pending
6 alice ivan closed
4 eli hana paused
13 kim dina pending
| 25 dina kim ready
5 jules chen closed
26 farah kim active
1 dina jules closed
15 chen alice ready
24 chen dina ready
30 gus farah paused
17 chen eli closed
| 5 jules chen closed
15 chen alice ready
17 chen eli closed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043254 | qwen/qwen3.7-plus |
awkweave-0043255 | Print column 1 only for rows where column 3 is exactly failed. | $3 == "failed"{print $1} | jules cobalt ready 29
kim indigo paused 33
lina fable ready 92
jules ember failed 8
hana grove failed 112
chen harbor paused 94
jules delta pending 89
chen delta closed 58
| jules
hana
| alice cobalt active 103
jules ember closed 118
farah indigo active 116
alice ember pending 4
ivan fable active 51
lina fable closed 57
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0043255-p1 | Output only the first column for rows where the third column contains exactly 'failed'. | $3 == "failed"{print $1} | jules cobalt ready 29
kim indigo paused 33
lina fable ready 92
jules ember failed 8
hana grove failed 112
chen harbor paused 94
jules delta pending 89
chen delta closed 58
| jules
hana
| alice cobalt active 103
jules ember closed 118
farah indigo active 116
alice ember pending 4
ivan fable active 51
lina fable closed 57
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043255 | qwen/qwen3.7-plus | |
awkweave-0043256 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | WARN fable 100
ERROR birch 68
INFO amber 75
INFO cobalt 12
INFO indigo 75
DEBUG fable 4
WARN cobalt 94
DEBUG harbor 104
DEBUG indigo 28
| INFO amber 75
INFO cobalt 12
INFO indigo 75
| WARN cobalt 35
DEBUG delta 3
DEBUG amber 101
WARN birch 63
WARN birch 26
WARN cobalt 78
WARN delta 9
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0043256-p1 | Print all fields from lines where the first field starts with 'INFO'. | $1 ~ /^INFO/ | WARN fable 100
ERROR birch 68
INFO amber 75
INFO cobalt 12
INFO indigo 75
DEBUG fable 4
WARN cobalt 94
DEBUG harbor 104
DEBUG indigo 28
| INFO amber 75
INFO cobalt 12
INFO indigo 75
| WARN cobalt 35
DEBUG delta 3
DEBUG amber 101
WARN birch 63
WARN birch 26
WARN cobalt 78
WARN delta 9
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043256 | qwen/qwen3.7-plus | |
awkweave-0043257 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | cobalt 12 closed
ember 79 failed
cobalt 71 pending
harbor 22 closed
ember 18 closed
harbor 98 failed
juniper 999 active
| cobalt 12 closed
ember 79 failed
cobalt 71 pending
harbor 22 closed
ember 18 closed
harbor 98 failed
| juniper 79 failed
grove 120 pending
grove 37 closed
delta 89 failed
birch 24 active
amber 10 closed
harbor 28 paused
harbor 98 paused
delta 98 closed
juniper 999 active
| grove 120 pending
grove 37 closed
delta 89 failed
birch 24 active
amber 10 closed
harbor 28 paused
harbor 98 paused
delta 98 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043257-p1 | Output every line except those that contain the exact string 'juniper'. | $0 !~ /juniper/ | cobalt 12 closed
ember 79 failed
cobalt 71 pending
harbor 22 closed
ember 18 closed
harbor 98 failed
juniper 999 active
| cobalt 12 closed
ember 79 failed
cobalt 71 pending
harbor 22 closed
ember 18 closed
harbor 98 failed
| juniper 79 failed
grove 120 pending
grove 37 closed
delta 89 failed
birch 24 active
amber 10 closed
harbor 28 paused
harbor 98 paused
delta 98 closed
juniper 999 active
| grove 120 pending
grove 37 closed
delta 89 failed
birch 24 active
amber 10 closed
harbor 28 paused
harbor 98 paused
delta 98 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043257 | qwen/qwen3.7-plus |
awkweave-0043258 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | gus fable 101
farah cobalt 27
lina amber 9
lina ember 5
eli delta 48
dina fable 38
eli delta 113
| lina ember 5
eli delta 48
dina fable 38
eli delta 113
| eli juniper 84
lina harbor 115
eli juniper 2
hana harbor 48
gus grove 85
eli indigo 111
jules ember 50
gus grove 88
bruno delta 92
| hana harbor 48
gus grove 85
eli indigo 111
jules ember 50
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043258-p1 | Print lines 4 through 7, inclusive. | NR >= 4 && NR <= 7 | gus fable 101
farah cobalt 27
lina amber 9
lina ember 5
eli delta 48
dina fable 38
eli delta 113
| lina ember 5
eli delta 48
dina fable 38
eli delta 113
| eli juniper 84
lina harbor 115
eli juniper 2
hana harbor 48
gus grove 85
eli indigo 111
jules ember 50
gus grove 88
bruno delta 92
| hana harbor 48
gus grove 85
eli indigo 111
jules ember 50
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043258 | qwen/qwen3.7-plus |
awkweave-0043259 | Output only the first 2 records. | NR <= 2 | bruno 108 juniper
jules 107 birch
jules 47 ember
bruno 68 ember
jules 108 ember
kim 115 birch
hana 15 fable
farah 50 cobalt
ivan 1 fable
bruno 55 ember
| bruno 108 juniper
jules 107 birch
| farah 112 cobalt
kim 54 cobalt
alice 110 juniper
kim 95 birch
lina 79 birch
hana 101 birch
ivan 53 fable
chen 27 harbor
ivan 35 delta
| farah 112 cobalt
kim 54 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043259-p1 | Output only the first 2 records. | NR <= 2 | bruno 108 juniper
jules 107 birch
jules 47 ember
bruno 68 ember
jules 108 ember
kim 115 birch
hana 15 fable
farah 50 cobalt
ivan 1 fable
bruno 55 ember
| bruno 108 juniper
jules 107 birch
| farah 112 cobalt
kim 54 cobalt
alice 110 juniper
kim 95 birch
lina 79 birch
hana 101 birch
ivan 53 fable
chen 27 harbor
ivan 35 delta
| farah 112 cobalt
kim 54 cobalt
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0043259 | qwen/qwen3.7-plus |
awkweave-0043260 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 16 fable
bruno 46 delta
lina 8 amber
farah 25 fable
bruno 100 birch
hana 119 fable
dina 16 juniper
gus 120 cobalt
dina 54 fable
bruno 33 amber
| bruno 46 delta
lina 8 amber
farah 25 fable
bruno 100 birch
hana 119 fable
dina 16 juniper
gus 120 cobalt
dina 54 fable
bruno 33 amber
| bruno 59 delta
dina 31 juniper
eli 28 juniper
kim 40 amber
lina 92 grove
ivan 53 birch
kim 28 indigo
chen 72 harbor
alice 42 birch
| dina 31 juniper
eli 28 juniper
kim 40 amber
lina 92 grove
ivan 53 birch
kim 28 indigo
chen 72 harbor
alice 42 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043260-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | farah 16 fable
bruno 46 delta
lina 8 amber
farah 25 fable
bruno 100 birch
hana 119 fable
dina 16 juniper
gus 120 cobalt
dina 54 fable
bruno 33 amber
| bruno 46 delta
lina 8 amber
farah 25 fable
bruno 100 birch
hana 119 fable
dina 16 juniper
gus 120 cobalt
dina 54 fable
bruno 33 amber
| bruno 59 delta
dina 31 juniper
eli 28 juniper
kim 40 amber
lina 92 grove
ivan 53 birch
kim 28 indigo
chen 72 harbor
alice 42 birch
| dina 31 juniper
eli 28 juniper
kim 40 amber
lina 92 grove
ivan 53 birch
kim 28 indigo
chen 72 harbor
alice 42 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043260 | qwen/qwen3.7-plus |
awkweave-0043261 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | alice closed 92
kim paused 58
bruno paused 69
kim pending 42
chen pending 16
kim closed 66
farah pending 46
hana ready 113
| 1
| farah active 43
eli ready 79
hana failed 58
dina ready 107
eli paused 55
gus pending 89
jules failed 108
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043261-p1 | Tally the entries where the second column contains 'ready', outputting 0 if no matches are found. | $2 == "ready"{n++}END{print n+0} | alice closed 92
kim paused 58
bruno paused 69
kim pending 42
chen pending 16
kim closed 66
farah pending 46
hana ready 113
| 1
| farah active 43
eli ready 79
hana failed 58
dina ready 107
eli paused 55
gus pending 89
jules failed 108
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043261 | qwen/qwen3.7-plus |
awkweave-0043262 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 26 juniper jules
27 harbor jules
24 harbor gus
12 delta alice
15 cobalt bruno
10 ember gus
| 114
| 29 juniper gus
30 cobalt alice
30 delta jules
18 ember alice
15 birch gus
17 cobalt dina
16 juniper lina
3 indigo bruno
29 ember hana
5 cobalt gus
| 192
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043262-p1 | Compute and display the total sum of integer values found in the first column. | {s+=$1}END{print s+0} | 26 juniper jules
27 harbor jules
24 harbor gus
12 delta alice
15 cobalt bruno
10 ember gus
| 114
| 29 juniper gus
30 cobalt alice
30 delta jules
18 ember alice
15 birch gus
17 cobalt dina
16 juniper lina
3 indigo bruno
29 ember hana
5 cobalt gus
| 192
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043262 | qwen/qwen3.7-plus |
awkweave-0043263 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 8 gus
amber 24 bruno
ember 4 farah
grove 28 hana
birch 2 lina
grove 30 gus
| 16.00
| juniper 4 hana
ember 7 kim
indigo 3 bruno
birch 13 kim
birch 27 ivan
indigo 9 kim
cobalt 2 farah
amber 19 chen
| 10.50
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043263-p1 | Output the average of the values in the second column, formatted to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | juniper 8 gus
amber 24 bruno
ember 4 farah
grove 28 hana
birch 2 lina
grove 30 gus
| 16.00
| juniper 4 hana
ember 7 kim
indigo 3 bruno
birch 13 kim
birch 27 ivan
indigo 9 kim
cobalt 2 farah
amber 19 chen
| 10.50
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043263 | qwen/qwen3.7-plus |
awkweave-0043264 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 4 jules amber
6 farah juniper
25 farah grove
23 farah ember
6 chen indigo
29 gus delta
25 gus indigo
| 4
| 25 dina indigo
29 eli harbor
5 gus ember
25 alice juniper
22 alice fable
14 alice ember
7 kim ember
15 alice delta
7 kim juniper
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043264-p1 | Identify and print the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 4 jules amber
6 farah juniper
25 farah grove
23 farah ember
6 chen indigo
29 gus delta
25 gus indigo
| 4
| 25 dina indigo
29 eli harbor
5 gus ember
25 alice juniper
22 alice fable
14 alice ember
7 kim ember
15 alice delta
7 kim juniper
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043264 | qwen/qwen3.7-plus |
awkweave-0043265 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 21 juniper
ivan 5 indigo
farah 24 indigo
lina 3 cobalt
dina 5 delta
dina 22 fable
kim 14 juniper
alice 17 indigo
| 24
| jules 11 juniper
jules 23 fable
gus 25 amber
dina 24 amber
gus 28 amber
gus 2 delta
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043265-p1 | Identify and print the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 21 juniper
ivan 5 indigo
farah 24 indigo
lina 3 cobalt
dina 5 delta
dina 22 fable
kim 14 juniper
alice 17 indigo
| 24
| jules 11 juniper
jules 23 fable
gus 25 amber
dina 24 amber
gus 28 amber
gus 2 delta
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043265 | qwen/qwen3.7-plus |
awkweave-0043266 | Count all input records and print the total. | END{print NR} | kim 27
ivan 45
hana 54
hana 48
kim 49
kim 18
alice 9
hana 70
jules 99
| 9
| eli 65
dina 15
ivan 117
eli 23
eli 106
chen 29
eli 62
bruno 17
kim 9
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043266-p1 | Count the total number of input records and display the result. | END{print NR} | kim 27
ivan 45
hana 54
hana 48
kim 49
kim 18
alice 9
hana 70
jules 99
| 9
| eli 65
dina 15
ivan 117
eli 23
eli 106
chen 29
eli 62
bruno 17
kim 9
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043266 | qwen/qwen3.7-plus |
awkweave-0043267 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah delta 62
farah birch 90
hana ember 21
chen fable 76
farah ember 33
hana delta 73
eli juniper 68
hana birch 93
eli amber 75
hana birch 93
| farah delta 62
farah birch 90
hana ember 21
chen fable 76
farah ember 33
hana delta 73
eli juniper 68
hana birch 93
eli amber 75
| farah grove 104
farah cobalt 69
chen harbor 90
gus amber 42
farah harbor 70
gus juniper 81
eli birch 44
farah harbor 70
lina harbor 4
kim cobalt 89
kim ember 113
| farah grove 104
farah cobalt 69
chen harbor 90
gus amber 42
farah harbor 70
gus juniper 81
eli birch 44
lina harbor 4
kim cobalt 89
kim ember 113
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043267-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | farah delta 62
farah birch 90
hana ember 21
chen fable 76
farah ember 33
hana delta 73
eli juniper 68
hana birch 93
eli amber 75
hana birch 93
| farah delta 62
farah birch 90
hana ember 21
chen fable 76
farah ember 33
hana delta 73
eli juniper 68
hana birch 93
eli amber 75
| farah grove 104
farah cobalt 69
chen harbor 90
gus amber 42
farah harbor 70
gus juniper 81
eli birch 44
farah harbor 70
lina harbor 4
kim cobalt 89
kim ember 113
| farah grove 104
farah cobalt 69
chen harbor 90
gus amber 42
farah harbor 70
gus juniper 81
eli birch 44
lina harbor 4
kim cobalt 89
kim ember 113
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043267 | qwen/qwen3.7-plus |
awkweave-0043268 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | lina birch 86
kim delta 1
lina juniper 94
eli juniper 82
lina amber 83
hana delta 22
hana amber 82
| lina birch 86
kim delta 1
lina juniper 94
lina amber 83
| jules harbor 107
dina harbor 84
bruno amber 109
hana amber 74
hana juniper 106
chen indigo 35
chen delta 17
| jules harbor 107
bruno amber 109
hana juniper 106
chen indigo 35
chen delta 17
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043268-p1 | Retain only the first occurrence for each unique value in the second column, preserving the original sequence. | !seen[$2]++ | lina birch 86
kim delta 1
lina juniper 94
eli juniper 82
lina amber 83
hana delta 22
hana amber 82
| lina birch 86
kim delta 1
lina juniper 94
lina amber 83
| jules harbor 107
dina harbor 84
bruno amber 109
hana amber 74
hana juniper 106
chen indigo 35
chen delta 17
| jules harbor 107
bruno amber 109
hana juniper 106
chen indigo 35
chen delta 17
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043268 | qwen/qwen3.7-plus |
awkweave-0043269 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 29 ember
farah 3 ember
lina 9 ember
kim 22 juniper
hana 22 cobalt
lina 12 harbor
lina 22 grove
| alice 29
farah 32
lina 41
kim 63
hana 85
lina 97
lina 119
| lina 26 indigo
dina 15 cobalt
chen 7 ember
kim 30 fable
lina 3 harbor
jules 14 grove
| lina 26
dina 41
chen 48
kim 78
lina 81
jules 95
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043269-p1 | For each entry, output the first column value alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | alice 29 ember
farah 3 ember
lina 9 ember
kim 22 juniper
hana 22 cobalt
lina 12 harbor
lina 22 grove
| alice 29
farah 32
lina 41
kim 63
hana 85
lina 97
lina 119
| lina 26 indigo
dina 15 cobalt
chen 7 ember
kim 30 fable
lina 3 harbor
jules 14 grove
| lina 26
dina 41
chen 48
kim 78
lina 81
jules 95
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043269 | qwen/qwen3.7-plus |
awkweave-0043270 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 27 18 indigo
dina 19 4 grove
lina 12 19 birch
ivan 27 15 cobalt
eli 27 3 indigo
kim 25 21 delta
farah 27 2 birch
kim 13 5 fable
eli 1 15 birch
| eli 45
dina 23
lina 31
ivan 42
eli 30
kim 46
farah 29
kim 18
eli 16
| alice 13 26 birch
dina 16 24 birch
jules 17 28 cobalt
gus 24 24 harbor
bruno 15 11 indigo
farah 20 6 juniper
ivan 18 1 grove
eli 4 24 amber
kim 5 19 cobalt
ivan 1 2 juniper
| alice 39
dina 40
jules 45
gus 48
bruno 26
farah 26
ivan 19
eli 28
kim 24
ivan 3
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043270-p1 | For every row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | eli 27 18 indigo
dina 19 4 grove
lina 12 19 birch
ivan 27 15 cobalt
eli 27 3 indigo
kim 25 21 delta
farah 27 2 birch
kim 13 5 fable
eli 1 15 birch
| eli 45
dina 23
lina 31
ivan 42
eli 30
kim 46
farah 29
kim 18
eli 16
| alice 13 26 birch
dina 16 24 birch
jules 17 28 cobalt
gus 24 24 harbor
bruno 15 11 indigo
farah 20 6 juniper
ivan 18 1 grove
eli 4 24 amber
kim 5 19 cobalt
ivan 1 2 juniper
| alice 39
dina 40
jules 45
gus 48
bruno 26
farah 26
ivan 19
eli 28
kim 24
ivan 3
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043270 | qwen/qwen3.7-plus |
awkweave-0043271 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | dina 9
kim 24
farah 28
lina 9
alice 1
kim 21
ivan 24
hana 2
bruno 30
bruno 15
| dina fail
kim pass
farah pass
lina fail
alice fail
kim fail
ivan pass
hana fail
bruno pass
bruno fail
| jules 5
eli 22
alice 9
gus 20
bruno 7
ivan 24
chen 10
ivan 27
bruno 6
| jules fail
eli fail
alice fail
gus fail
bruno fail
ivan pass
chen fail
ivan pass
bruno fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043271-p1 | Display the first column value and print 'pass' if the second column is 24 or greater; otherwise, print 'fail'. | {print $1,($2>=24?"pass":"fail")} | dina 9
kim 24
farah 28
lina 9
alice 1
kim 21
ivan 24
hana 2
bruno 30
bruno 15
| dina fail
kim pass
farah pass
lina fail
alice fail
kim fail
ivan pass
hana fail
bruno pass
bruno fail
| jules 5
eli 22
alice 9
gus 20
bruno 7
ivan 24
chen 10
ivan 27
bruno 6
| jules fail
eli fail
alice fail
gus fail
bruno fail
ivan pass
chen fail
ivan pass
bruno fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043271 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.