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-0015220-p1 | Count the number of records containing 'active' in the second column, outputting 0 if no matches are found. | $2 == "active"{n++}END{print n+0} | eli pending 119
hana ready 103
eli paused 48
bruno ready 40
farah paused 8
alice closed 38
ivan paused 59
hana closed 38
gus pending 40
jules paused 17
| 0
| ivan ready 111
farah closed 89
lina active 92
chen ready 34
alice closed 12
eli active 68
kim active 94
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015220 | qwen/qwen3.7-plus |
awkweave-0015221 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | amber 23 lina
harbor 7 alice
harbor 25 farah
cobalt 6 gus
harbor 6 bruno
birch 3 ivan
delta 13 ivan
fable 18 chen
| 101
| amber 27 farah
birch 11 eli
harbor 23 eli
fable 18 chen
ember 18 jules
amber 18 farah
amber 12 bruno
| 127
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015221-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | amber 23 lina
harbor 7 alice
harbor 25 farah
cobalt 6 gus
harbor 6 bruno
birch 3 ivan
delta 13 ivan
fable 18 chen
| 101
| amber 27 farah
birch 11 eli
harbor 23 eli
fable 18 chen
ember 18 jules
amber 18 farah
amber 12 bruno
| 127
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015221 | qwen/qwen3.7-plus |
awkweave-0015222 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | indigo 14 chen
cobalt 6 lina
fable 7 bruno
harbor 21 gus
fable 24 hana
grove 23 kim
amber 26 ivan
| 17.29
| ember 11 ivan
ember 29 gus
delta 7 kim
harbor 3 hana
cobalt 22 gus
indigo 14 chen
fable 27 chen
birch 3 lina
cobalt 17 gus
grove 14 bruno
| 14.70
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015222-p1 | Calculate the average of the values in the second column and print it rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | indigo 14 chen
cobalt 6 lina
fable 7 bruno
harbor 21 gus
fable 24 hana
grove 23 kim
amber 26 ivan
| 17.29
| ember 11 ivan
ember 29 gus
delta 7 kim
harbor 3 hana
cobalt 22 gus
indigo 14 chen
fable 27 chen
birch 3 lina
cobalt 17 gus
grove 14 bruno
| 14.70
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015222 | qwen/qwen3.7-plus |
awkweave-0015223 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt dina 7
birch jules 6
grove ivan 7
cobalt bruno 4
amber ivan 8
fable eli 25
delta jules 23
| 4
| grove ivan 26
grove lina 12
fable chen 24
ember gus 7
harbor chen 17
amber chen 14
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015223-p1 | Identify and output the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt dina 7
birch jules 6
grove ivan 7
cobalt bruno 4
amber ivan 8
fable eli 25
delta jules 23
| 4
| grove ivan 26
grove lina 12
fable chen 24
ember gus 7
harbor chen 17
amber chen 14
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015223 | qwen/qwen3.7-plus |
awkweave-0015224 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta chen 20
indigo alice 5
cobalt hana 23
juniper alice 29
juniper chen 27
cobalt farah 4
harbor farah 2
| 29
| grove jules 14
juniper alice 17
cobalt hana 23
indigo gus 8
birch dina 14
delta farah 14
| 23
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015224-p1 | Identify and output the maximum number found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | delta chen 20
indigo alice 5
cobalt hana 23
juniper alice 29
juniper chen 27
cobalt farah 4
harbor farah 2
| 29
| grove jules 14
juniper alice 17
cobalt hana 23
indigo gus 8
birch dina 14
delta farah 14
| 23
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015224 | qwen/qwen3.7-plus |
awkweave-0015225 | Count all input records and print the total. | END{print NR} | kim 118
hana 101
dina 13
dina 97
dina 31
alice 97
gus 31
alice 99
| 8
| gus 11
kim 98
bruno 107
kim 49
lina 78
gus 2
bruno 113
ivan 83
jules 9
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015225-p1 | Calculate the total number of input records and display the count. | END{print NR} | kim 118
hana 101
dina 13
dina 97
dina 31
alice 97
gus 31
alice 99
| 8
| gus 11
kim 98
bruno 107
kim 49
lina 78
gus 2
bruno 113
ivan 83
jules 9
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015225 | qwen/qwen3.7-plus |
awkweave-0015226 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim fable 8
lina fable 86
kim fable 8
hana delta 92
bruno indigo 116
lina amber 2
chen cobalt 109
jules amber 6
gus juniper 69
eli grove 10
chen harbor 24
| kim fable 8
lina fable 86
hana delta 92
bruno indigo 116
lina amber 2
chen cobalt 109
jules amber 6
gus juniper 69
eli grove 10
chen harbor 24
| chen cobalt 34
alice cobalt 98
kim indigo 56
bruno indigo 44
chen cobalt 34
ivan birch 5
bruno amber 38
farah indigo 33
| chen cobalt 34
alice cobalt 98
kim indigo 56
bruno indigo 44
ivan birch 5
bruno amber 38
farah indigo 33
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015226-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | kim fable 8
lina fable 86
kim fable 8
hana delta 92
bruno indigo 116
lina amber 2
chen cobalt 109
jules amber 6
gus juniper 69
eli grove 10
chen harbor 24
| kim fable 8
lina fable 86
hana delta 92
bruno indigo 116
lina amber 2
chen cobalt 109
jules amber 6
gus juniper 69
eli grove 10
chen harbor 24
| chen cobalt 34
alice cobalt 98
kim indigo 56
bruno indigo 44
chen cobalt 34
ivan birch 5
bruno amber 38
farah indigo 33
| chen cobalt 34
alice cobalt 98
kim indigo 56
bruno indigo 44
ivan birch 5
bruno amber 38
farah indigo 33
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015226 | qwen/qwen3.7-plus |
awkweave-0015227 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim grove 2
gus grove 18
kim fable 6
lina ember 33
gus birch 4
gus grove 20
| kim grove 2
gus grove 18
lina ember 33
| chen ember 84
alice amber 97
farah fable 49
hana cobalt 39
hana cobalt 116
farah harbor 78
farah amber 29
bruno delta 0
| chen ember 84
alice amber 97
farah fable 49
hana cobalt 39
bruno delta 0
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015227-p1 | Retain only the initial line for every unique value in the first column, keeping the input order intact. | !seen[$1]++ | kim grove 2
gus grove 18
kim fable 6
lina ember 33
gus birch 4
gus grove 20
| kim grove 2
gus grove 18
lina ember 33
| chen ember 84
alice amber 97
farah fable 49
hana cobalt 39
hana cobalt 116
farah harbor 78
farah amber 29
bruno delta 0
| chen ember 84
alice amber 97
farah fable 49
hana cobalt 39
bruno delta 0
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015227 | qwen/qwen3.7-plus |
awkweave-0015228 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 2 harbor
farah 20 ember
kim 12 ember
gus 9 harbor
chen 1 indigo
kim 27 delta
| chen 2
farah 22
kim 34
gus 43
chen 44
kim 71
| farah 15 juniper
dina 26 cobalt
hana 29 harbor
eli 23 ember
farah 19 indigo
lina 16 birch
| farah 15
dina 41
hana 70
eli 93
farah 112
lina 128
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015228-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | chen 2 harbor
farah 20 ember
kim 12 ember
gus 9 harbor
chen 1 indigo
kim 27 delta
| chen 2
farah 22
kim 34
gus 43
chen 44
kim 71
| farah 15 juniper
dina 26 cobalt
hana 29 harbor
eli 23 ember
farah 19 indigo
lina 16 birch
| farah 15
dina 41
hana 70
eli 93
farah 112
lina 128
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015228 | qwen/qwen3.7-plus |
awkweave-0015229 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 12 13 cobalt
bruno 12 23 juniper
bruno 30 21 juniper
lina 8 9 juniper
gus 1 1 harbor
ivan 12 30 birch
lina 26 16 harbor
hana 17 30 harbor
gus 1 28 fable
chen 24 7 grove
| lina 25
bruno 35
bruno 51
lina 17
gus 2
ivan 42
lina 42
hana 47
gus 29
chen 31
| alice 13 21 juniper
eli 27 30 birch
dina 2 11 delta
hana 2 22 ember
ivan 26 11 cobalt
ivan 14 7 indigo
| alice 34
eli 57
dina 13
hana 24
ivan 37
ivan 21
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015229-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | lina 12 13 cobalt
bruno 12 23 juniper
bruno 30 21 juniper
lina 8 9 juniper
gus 1 1 harbor
ivan 12 30 birch
lina 26 16 harbor
hana 17 30 harbor
gus 1 28 fable
chen 24 7 grove
| lina 25
bruno 35
bruno 51
lina 17
gus 2
ivan 42
lina 42
hana 47
gus 29
chen 31
| alice 13 21 juniper
eli 27 30 birch
dina 2 11 delta
hana 2 22 ember
ivan 26 11 cobalt
ivan 14 7 indigo
| alice 34
eli 57
dina 13
hana 24
ivan 37
ivan 21
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015229 | qwen/qwen3.7-plus |
awkweave-0015230 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | alice 10
farah 12
eli 26
kim 3
gus 17
jules 23
kim 15
| alice fail
farah fail
eli pass
kim fail
gus fail
jules fail
kim fail
| bruno 15
dina 25
gus 10
kim 24
ivan 4
gus 8
bruno 7
dina 20
gus 24
lina 11
| bruno fail
dina fail
gus fail
kim fail
ivan fail
gus fail
bruno fail
dina fail
gus fail
lina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015230-p1 | Output the first column with 'pass' if the second column is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | alice 10
farah 12
eli 26
kim 3
gus 17
jules 23
kim 15
| alice fail
farah fail
eli pass
kim fail
gus fail
jules fail
kim fail
| bruno 15
dina 25
gus 10
kim 24
ivan 4
gus 8
bruno 7
dina 20
gus 24
lina 11
| bruno fail
dina fail
gus fail
kim fail
ivan fail
gus fail
bruno fail
dina fail
gus fail
lina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015230 | qwen/qwen3.7-plus |
awkweave-0015231 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | bruno fable 108
lina birch 104
hana delta 54
dina grove 52
kim ember 15
eli juniper 102
| BRUNO
LINA
HANA
DINA
KIM
ELI
| eli delta 54
farah ember 78
bruno amber 80
jules harbor 21
jules harbor 102
bruno ember 107
kim amber 24
| ELI
FARAH
BRUNO
JULES
JULES
BRUNO
KIM
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015231-p1 | Transform the first column to uppercase and print only that column. | {print toupper($1)} | bruno fable 108
lina birch 104
hana delta 54
dina grove 52
kim ember 15
eli juniper 102
| BRUNO
LINA
HANA
DINA
KIM
ELI
| eli delta 54
farah ember 78
bruno amber 80
jules harbor 21
jules harbor 102
bruno ember 107
kim amber 24
| ELI
FARAH
BRUNO
JULES
JULES
BRUNO
KIM
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015231 | qwen/qwen3.7-plus |
awkweave-0015232 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | delta 64
amber 59
cobalt 14
cobalt 4
fable 88
indigo 89
fable 96
| lta
ber
bal
bal
ble
dig
ble
| ember 111
harbor 37
fable 86
juniper 58
fable 18
delta 94
| ber
rbo
ble
nip
ble
lta
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015232-p1 | Extract and print a substring of length 3 from the first column, starting at the third character. | {print substr($1,3,3)} | delta 64
amber 59
cobalt 14
cobalt 4
fable 88
indigo 89
fable 96
| lta
ber
bal
bal
ble
dig
ble
| ember 111
harbor 37
fable 86
juniper 58
fable 18
delta 94
| ber
rbo
ble
nip
ble
lta
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015232 | qwen/qwen3.7-plus |
awkweave-0015233 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_delta 86
delta_delta 14
delta_ember 17
indigo_birch 95
cobalt_grove 114
birch_harbor 96
amber_indigo 118
delta_grove 70
fable_harbor 119
| grove delta
delta delta
delta ember
indigo birch
cobalt grove
birch harbor
amber indigo
delta grove
fable harbor
| birch_birch 102
delta_juniper 13
fable_birch 34
ember_grove 77
fable_amber 26
juniper_fable 79
cobalt_harbor 98
| birch birch
delta juniper
fable birch
ember grove
fable amber
juniper fable
cobalt harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015233-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | grove_delta 86
delta_delta 14
delta_ember 17
indigo_birch 95
cobalt_grove 114
birch_harbor 96
amber_indigo 118
delta_grove 70
fable_harbor 119
| grove delta
delta delta
delta ember
indigo birch
cobalt grove
birch harbor
amber indigo
delta grove
fable harbor
| birch_birch 102
delta_juniper 13
fable_birch 34
ember_grove 77
fable_amber 26
juniper_fable 79
cobalt_harbor 98
| birch birch
delta juniper
fable birch
ember grove
fable amber
juniper fable
cobalt harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015233 | qwen/qwen3.7-plus |
awkweave-0015234 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 46 ready
eli juniper 26 closed
hana fable 92 ready
hana harbor 66 pending
jules indigo 38 active
jules ember 91 pending
ivan cobalt 31 closed
alice indigo 108 active
chen delta 12 paused
eli ember 0 ready
| ready 46 amber jules
closed 26 juniper eli
ready 92 fable hana
pending 66 harbor hana
active 38 indigo jules
pending 91 ember jules
closed 31 cobalt ivan
active 108 indigo alice
paused 12 delta chen
ready 0 ember eli
| jules ember 90 active
jules birch 38 active
gus juniper 24 ready
eli grove 112 pending
bruno harbor 26 closed
chen harbor 29 failed
jules cobalt 12 paused
chen amber 9 pending
jules harbor 96 failed
chen delta 77 ready
| active 90 ember jules
active 38 birch jules
ready 24 juniper gus
pending 112 grove eli
closed 26 harbor bruno
failed 29 harbor chen
paused 12 cobalt jules
pending 9 amber chen
failed 96 harbor jules
ready 77 delta chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015234-p1 | Reverse the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 46 ready
eli juniper 26 closed
hana fable 92 ready
hana harbor 66 pending
jules indigo 38 active
jules ember 91 pending
ivan cobalt 31 closed
alice indigo 108 active
chen delta 12 paused
eli ember 0 ready
| ready 46 amber jules
closed 26 juniper eli
ready 92 fable hana
pending 66 harbor hana
active 38 indigo jules
pending 91 ember jules
closed 31 cobalt ivan
active 108 indigo alice
paused 12 delta chen
ready 0 ember eli
| jules ember 90 active
jules birch 38 active
gus juniper 24 ready
eli grove 112 pending
bruno harbor 26 closed
chen harbor 29 failed
jules cobalt 12 paused
chen amber 9 pending
jules harbor 96 failed
chen delta 77 ready
| active 90 ember jules
active 38 birch jules
ready 24 juniper gus
pending 112 grove eli
closed 26 harbor bruno
failed 29 harbor chen
paused 12 cobalt jules
pending 9 amber chen
failed 96 harbor jules
ready 77 delta chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015234 | qwen/qwen3.7-plus |
awkweave-0015235 | Print the number of whitespace-separated fields on each line. | {print NF} | farah amber 21 paused
eli cobalt 101 paused
eli grove 48 failed
ivan indigo 115 failed
eli juniper 100 paused
kim birch 105 closed
kim delta 72 ready
| 4
4
4
4
4
4
4
| farah juniper 33 active
farah juniper 38 paused
farah delta 12 failed
farah ember 4 ready
kim harbor 67 failed
hana grove 38 ready
chen amber 66 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015235-p1 | Display the count of whitespace-delimited fields for each line. | {print NF} | farah amber 21 paused
eli cobalt 101 paused
eli grove 48 failed
ivan indigo 115 failed
eli juniper 100 paused
kim birch 105 closed
kim delta 72 ready
| 4
4
4
4
4
4
4
| farah juniper 33 active
farah juniper 38 paused
farah delta 12 failed
farah ember 4 ready
kim harbor 67 failed
hana grove 38 ready
chen amber 66 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015235 | qwen/qwen3.7-plus |
awkweave-0015236 | 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 gamma 93
bruno delta 67
kim delta 50
dina alpha 106
dina alpha 38
dina beta 54
farah delta 45
lina beta 78
eli gamma 93
| gamma 2
delta 3
alpha 2
beta 2
| chen gamma 92
lina beta 88
alice delta 111
jules beta 61
alice beta 29
lina beta 96
farah gamma 86
jules beta 82
ivan alpha 85
| gamma 2
beta 5
delta 1
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015236-p1 | Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which 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 gamma 93
bruno delta 67
kim delta 50
dina alpha 106
dina alpha 38
dina beta 54
farah delta 45
lina beta 78
eli gamma 93
| gamma 2
delta 3
alpha 2
beta 2
| chen gamma 92
lina beta 88
alice delta 111
jules beta 61
alice beta 29
lina beta 96
farah gamma 86
jules beta 82
ivan alpha 85
| gamma 2
beta 5
delta 1
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015236 | qwen/qwen3.7-plus |
awkweave-0015237 | 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]]} | alice alpha 19
lina beta 22
ivan gamma 25
jules beta 9
eli alpha 24
jules beta 14
eli beta 14
dina beta 10
jules gamma 7
| alpha 43
beta 69
gamma 32
| jules alpha 20
eli alpha 29
bruno alpha 21
jules alpha 26
lina gamma 16
lina gamma 1
chen alpha 22
alice gamma 9
hana delta 12
kim gamma 28
| alpha 118
gamma 54
delta 12
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015237-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]]} | alice alpha 19
lina beta 22
ivan gamma 25
jules beta 9
eli alpha 24
jules beta 14
eli beta 14
dina beta 10
jules gamma 7
| alpha 43
beta 69
gamma 32
| jules alpha 20
eli alpha 29
bruno alpha 21
jules alpha 26
lina gamma 16
lina gamma 1
chen alpha 22
alice gamma 9
hana delta 12
kim gamma 28
| alpha 118
gamma 54
delta 12
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0015237 | qwen/qwen3.7-plus |
awkweave-0015238 | 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]]} | alpha delta 79
gamma fable 40
delta ember 70
gamma cobalt 67
alpha fable 80
delta birch 9
delta grove 24
| alpha 2
gamma 2
delta 3
| beta cobalt 85
delta indigo 84
beta birch 60
beta grove 29
alpha delta 61
alpha fable 106
beta birch 45
delta indigo 3
delta fable 51
| beta 4
delta 3
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015238-p1 | Identify values in column 1 that appear more than once, then print each repeated value with its total occurrence count, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha delta 79
gamma fable 40
delta ember 70
gamma cobalt 67
alpha fable 80
delta birch 9
delta grove 24
| alpha 2
gamma 2
delta 3
| beta cobalt 85
delta indigo 84
beta birch 60
beta grove 29
alpha delta 61
alpha fable 106
beta birch 45
delta indigo 3
delta fable 51
| beta 4
delta 3
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015238 | qwen/qwen3.7-plus |
awkweave-0015239 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id region display_name score
r001 hana 4 paused
r002 dina 28 active
r003 chen 20 paused
r004 gus 6 pending
r005 dina 10 pending
r006 jules 10 failed
r007 bruno 3 active
r008 bruno 6 closed
r009 chen 13 active
r010 hana 19 paused
| paused
active
paused
pending
pending
failed
active
closed
active
paused
| record_id region display_name score
r001 dina 9 ready
r002 alice 30 paused
r003 farah 8 failed
r004 alice 16 closed
r005 ivan 19 pending
r006 bruno 22 failed
r007 gus 8 pending
r008 lina 15 failed
| ready
paused
failed
closed
pending
failed
pending
failed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015239-p1 | Ignore the header row and output the contents of the score column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id region display_name score
r001 hana 4 paused
r002 dina 28 active
r003 chen 20 paused
r004 gus 6 pending
r005 dina 10 pending
r006 jules 10 failed
r007 bruno 3 active
r008 bruno 6 closed
r009 chen 13 active
r010 hana 19 paused
| paused
active
paused
pending
pending
failed
active
closed
active
paused
| record_id region display_name score
r001 dina 9 ready
r002 alice 30 paused
r003 farah 8 failed
r004 alice 16 closed
r005 ivan 19 pending
r006 bruno 22 failed
r007 gus 8 pending
r008 lina 15 failed
| ready
paused
failed
closed
pending
failed
pending
failed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015239 | qwen/qwen3.7-plus |
awkweave-0015240 | 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 dina 17 paused
r002 chen 12 failed
r003 jules 4 closed
r004 farah 8 paused
r005 kim 29 ready
r006 kim 18 ready
r007 eli 19 failed
| dina
kim
kim
eli
| record_id display_name score state
r001 eli 5 active
r002 bruno 6 pending
r003 gus 24 closed
r004 gus 20 closed
r005 alice 14 failed
r006 farah 17 ready
r007 alice 30 active
| gus
gus
alice
farah
alice
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015240-p1 | Skip the header row, then print the display_name field for any data row where the score exceeds 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 dina 17 paused
r002 chen 12 failed
r003 jules 4 closed
r004 farah 8 paused
r005 kim 29 ready
r006 kim 18 ready
r007 eli 19 failed
| dina
kim
kim
eli
| record_id display_name score state
r001 eli 5 active
r002 bruno 6 pending
r003 gus 24 closed
r004 gus 20 closed
r005 alice 14 failed
r006 farah 17 ready
r007 alice 30 active
| gus
gus
alice
farah
alice
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015240 | qwen/qwen3.7-plus |
awkweave-0015241 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 13 active
chen 23 active
farah 4 paused
ivan 17 pending
gus 2 active
ivan 9 active
lina 23 failed
| chen
chen
farah
ivan
gus
ivan
lina
| dina 2 paused
farah 17 pending
alice 10 closed
bruno 29 closed
lina 14 closed
ivan 26 active
dina 14 failed
kim 12 active
gus 17 ready
hana 16 active
| dina
farah
alice
bruno
lina
ivan
dina
kim
gus
hana
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015241-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 13 active
chen 23 active
farah 4 paused
ivan 17 pending
gus 2 active
ivan 9 active
lina 23 failed
| chen
chen
farah
ivan
gus
ivan
lina
| dina 2 paused
farah 17 pending
alice 10 closed
bruno 29 closed
lina 14 closed
ivan 26 active
dina 14 failed
kim 12 active
gus 17 ready
hana 16 active
| dina
farah
alice
bruno
lina
ivan
dina
kim
gus
hana
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0015241 | qwen/qwen3.7-plus |
awkweave-0015242 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20. | BEGIN{FS=OFS=","}$2>20{print $1} | chen,17,pending
gus,10,active
kim,26,paused
gus,29,active
kim,30,pending
chen,21,failed
dina,13,closed
farah,11,pending
chen,10,active
kim,7,failed
| kim
gus
kim
chen
| ivan,18,active
eli,4,ready
alice,10,ready
eli,27,paused
gus,25,pending
ivan,1,pending
alice,15,ready
gus,17,pending
bruno,2,failed
ivan,16,active
| eli
gus
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015242-p1 | Process the comma-separated input (assuming no quoted commas) and print the first column only if the second column's value is greater than 20. | BEGIN{FS=OFS=","}$2>20{print $1} | chen,17,pending
gus,10,active
kim,26,paused
gus,29,active
kim,30,pending
chen,21,failed
dina,13,closed
farah,11,pending
chen,10,active
kim,7,failed
| kim
gus
kim
chen
| ivan,18,active
eli,4,ready
alice,10,ready
eli,27,paused
gus,25,pending
ivan,1,pending
alice,15,ready
gus,17,pending
bruno,2,failed
ivan,16,active
| eli
gus
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015242 | qwen/qwen3.7-plus |
awkweave-0015243 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice grove 80
ivan indigo 65
chen delta 8
hana indigo 43
eli fable 84
ivan fable 1
chen grove 58
chen harbor 25
eli indigo 76
lina birch 52
| alice grove 80
ivan indigo 65
chen delta 8
hana indigo 43
eli fable 84
ivan fable 1
chen grove 58
chen harbor 25
eli indigo 76
lina birch 52
| lina delta 99
gus amber 35
ivan juniper 73
jules harbor 22
bruno indigo 36
gus juniper 106
hana juniper 80
jules amber 79
eli fable 78
gus juniper 86
| lina delta 99
gus amber 35
ivan juniper 73
jules harbor 22
bruno indigo 36
gus juniper 106
hana juniper 80
jules amber 79
eli fable 78
gus juniper 86
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015243-p1 | Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | alice grove 80
ivan indigo 65
chen delta 8
hana indigo 43
eli fable 84
ivan fable 1
chen grove 58
chen harbor 25
eli indigo 76
lina birch 52
| alice grove 80
ivan indigo 65
chen delta 8
hana indigo 43
eli fable 84
ivan fable 1
chen grove 58
chen harbor 25
eli indigo 76
lina birch 52
| lina delta 99
gus amber 35
ivan juniper 73
jules harbor 22
bruno indigo 36
gus juniper 106
hana juniper 80
jules amber 79
eli fable 78
gus juniper 86
| lina delta 99
gus amber 35
ivan juniper 73
jules harbor 22
bruno indigo 36
gus juniper 106
hana juniper 80
jules amber 79
eli fable 78
gus juniper 86
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015243 | qwen/qwen3.7-plus |
awkweave-0015244 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice amber 21 paused
dina birch 66 active
gus ember 83 paused
bruno harbor 35 closed
jules grove 86 paused
gus fable 28 pending
gus amber 49 closed
lina indigo 90 ready
chen amber 50 ready
chen fable 60 ready
| bruno harbor 35 closed
| hana ember 50 active
hana delta 62 active
chen grove 29 active
hana indigo 17 paused
kim grove 14 active
eli delta 38 paused
alice amber 1 pending
gus birch 103 closed
eli amber 58 pending
alice fable 5 pending
| hana indigo 17 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015244-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice amber 21 paused
dina birch 66 active
gus ember 83 paused
bruno harbor 35 closed
jules grove 86 paused
gus fable 28 pending
gus amber 49 closed
lina indigo 90 ready
chen amber 50 ready
chen fable 60 ready
| bruno harbor 35 closed
| hana ember 50 active
hana delta 62 active
chen grove 29 active
hana indigo 17 paused
kim grove 14 active
eli delta 38 paused
alice amber 1 pending
gus birch 103 closed
eli amber 58 pending
alice fable 5 pending
| hana indigo 17 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015244 | qwen/qwen3.7-plus |
awkweave-0015245 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | ivan 11
chen 44
hana 57
hana 102
lina 10
chen 39
alice 106
gus 77
| hana 57
chen 39
| eli 17
ivan 33
chen 55
eli 96
gus 112
eli 107
ivan 23
| chen 55
eli 107
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015245-p1 | Print every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | ivan 11
chen 44
hana 57
hana 102
lina 10
chen 39
alice 106
gus 77
| hana 57
chen 39
| eli 17
ivan 33
chen 55
eli 96
gus 112
eli 107
ivan 23
| chen 55
eli 107
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015245 | qwen/qwen3.7-plus |
awkweave-0015246 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta delta 92
beta ember 16
gamma harbor 68
gamma birch 17
beta birch 37
beta fable 99
| 5
| alpha harbor 9
beta indigo 59
beta grove 29
delta grove 58
delta delta 34
alpha fable 18
alpha fable 25
beta amber 22
alpha amber 94
delta juniper 0
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015246-p1 | Determine the number of unique values present in column 2 and output only this total count. | {if(!seen[$2]++)n++}END{print n+0} | delta delta 92
beta ember 16
gamma harbor 68
gamma birch 17
beta birch 37
beta fable 99
| 5
| alpha harbor 9
beta indigo 59
beta grove 29
delta grove 58
delta delta 34
alpha fable 18
alpha fable 25
beta amber 22
alpha amber 94
delta juniper 0
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015246 | qwen/qwen3.7-plus |
awkweave-0015247 | 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 29 0
dina 1 29
ivan 5 19
gus 13 12
ivan 8 25
alice 1 28
chen 16 11
| dina 0.03
ivan 0.26
gus 1.08
ivan 0.32
alice 0.04
chen 1.45
| ivan 17 0
kim 15 14
hana 8 13
alice 9 10
hana 6 20
kim 17 15
hana 7 2
alice 15 22
lina 26 13
farah 23 11
| kim 1.07
hana 0.62
alice 0.90
hana 0.30
kim 1.13
hana 3.50
alice 0.68
lina 2.00
farah 2.09
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015247-p1 | For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, excluding any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 29 0
dina 1 29
ivan 5 19
gus 13 12
ivan 8 25
alice 1 28
chen 16 11
| dina 0.03
ivan 0.26
gus 1.08
ivan 0.32
alice 0.04
chen 1.45
| ivan 17 0
kim 15 14
hana 8 13
alice 9 10
hana 6 20
kim 17 15
hana 7 2
alice 15 22
lina 26 13
farah 23 11
| kim 1.07
hana 0.62
alice 0.90
hana 0.30
kim 1.13
hana 3.50
alice 0.68
lina 2.00
farah 2.09
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015247 | qwen/qwen3.7-plus |
awkweave-0015248 | 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]} | ivan fable 13
farah fable 15
kim ember 1
farah ember 17
kim birch 3
alice harbor 24
jules indigo 30
chen grove 23
| jules indigo 30
alice harbor 24
chen grove 23
| bruno amber 18
alice harbor 5
ivan delta 7
alice amber 26
bruno grove 4
lina amber 14
dina amber 22
jules harbor 25
| alice amber 26
jules harbor 25
dina amber 22
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015248-p1 | Output the top three full records based on the highest values in the third column, sorted in descending order, while maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | ivan fable 13
farah fable 15
kim ember 1
farah ember 17
kim birch 3
alice harbor 24
jules indigo 30
chen grove 23
| jules indigo 30
alice harbor 24
chen grove 23
| bruno amber 18
alice harbor 5
ivan delta 7
alice amber 26
bruno grove 4
lina amber 14
dina amber 22
jules harbor 25
| alice amber 26
jules harbor 25
dina amber 22
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015248 | qwen/qwen3.7-plus |
awkweave-0015249 | Print column 3 followed by column 1 for every record. | {print $3, $1} | 78 birch failed closed active indigo
51 harbor failed ready ready ember
111 amber ready failed ready juniper
0 indigo ready active active harbor
36 ember failed active active harbor
77 delta failed failed failed juniper
4 amber paused paused ready grove
98 juniper failed paused pending fable
107 ember paused ready pend... | failed 78
failed 51
ready 111
ready 0
failed 36
failed 77
paused 4
failed 98
paused 107
| 51 delta paused active active cobalt
33 indigo active active ready birch
7 grove failed pending ready delta
23 cobalt closed pending paused delta
62 ember pending closed closed birch
9 indigo active pending pending ember
51 amber paused closed failed fable
22 grove closed closed paused ember
| paused 51
active 33
failed 7
closed 23
pending 62
active 9
paused 51
closed 22
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015249-p1 | For each record, display the value from column 3 followed by the value from column 1. | {print $3, $1} | 78 birch failed closed active indigo
51 harbor failed ready ready ember
111 amber ready failed ready juniper
0 indigo ready active active harbor
36 ember failed active active harbor
77 delta failed failed failed juniper
4 amber paused paused ready grove
98 juniper failed paused pending fable
107 ember paused ready pend... | failed 78
failed 51
ready 111
ready 0
failed 36
failed 77
paused 4
failed 98
paused 107
| 51 delta paused active active cobalt
33 indigo active active ready birch
7 grove failed pending ready delta
23 cobalt closed pending paused delta
62 ember pending closed closed birch
9 indigo active pending pending ember
51 amber paused closed failed fable
22 grove closed closed paused ember
| paused 51
active 33
failed 7
closed 23
pending 62
active 9
paused 51
closed 22
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015249 | qwen/qwen3.7-plus |
awkweave-0015250 | Print the last field of every input line. | {print $NF} | paused bruno 45 107 gus 75
pending chen 34 101 ivan 74
active jules 1 20 hana 4
paused dina 96 62 ivan 114
pending alice 64 111 kim 5
ready bruno 107 38 chen 37
| 75
74
4
114
5
37
| pending hana 103 56 jules 56
active jules 61 2 eli 1
pending gus 49 63 jules 53
pending kim 14 70 chen 1
failed jules 31 10 bruno 53
pending dina 23 103 hana 14
closed hana 113 59 alice 109
closed dina 83 66 lina 40
| 56
1
53
1
53
14
109
40
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015250-p1 | Display the final field of every line in the input. | {print $NF} | paused bruno 45 107 gus 75
pending chen 34 101 ivan 74
active jules 1 20 hana 4
paused dina 96 62 ivan 114
pending alice 64 111 kim 5
ready bruno 107 38 chen 37
| 75
74
4
114
5
37
| pending hana 103 56 jules 56
active jules 61 2 eli 1
pending gus 49 63 jules 53
pending kim 14 70 chen 1
failed jules 31 10 bruno 53
pending dina 23 103 hana 14
closed hana 113 59 alice 109
closed dina 83 66 lina 40
| 56
1
53
1
53
14
109
40
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015250 | qwen/qwen3.7-plus |
awkweave-0015251 | Print the complete records where column 1 is at least 53. | $1 >= 53 | 117 cobalt juniper ready
13 birch ember closed
49 harbor harbor active
17 indigo cobalt active
82 juniper fable ready
33 harbor juniper paused
8 grove juniper failed
54 harbor indigo active
| 117 cobalt juniper ready
82 juniper fable ready
54 harbor indigo active
| 79 birch amber failed
47 amber delta ready
91 grove harbor ready
35 grove fable closed
42 indigo ember failed
13 harbor amber failed
| 79 birch amber failed
91 grove harbor ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015251-p1 | Output the entire records where the value in the first column is greater than or equal to 53. | $1 >= 53 | 117 cobalt juniper ready
13 birch ember closed
49 harbor harbor active
17 indigo cobalt active
82 juniper fable ready
33 harbor juniper paused
8 grove juniper failed
54 harbor indigo active
| 117 cobalt juniper ready
82 juniper fable ready
54 harbor indigo active
| 79 birch amber failed
47 amber delta ready
91 grove harbor ready
35 grove fable closed
42 indigo ember failed
13 harbor amber failed
| 79 birch amber failed
91 grove harbor ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015251 | qwen/qwen3.7-plus |
awkweave-0015252 | Show whole lines whose 1st field is between 9 and 20, inclusive. | $1 >= 9 && $1 <= 20 | 21 kim paused kim
18 ivan failed gus
1 bruno failed eli
13 eli failed dina
30 bruno pending eli
2 eli pending dina
| 18 ivan failed gus
13 eli failed dina
| 23 alice active hana
4 farah closed chen
7 jules closed chen
4 lina ready gus
2 bruno closed jules
15 ivan ready gus
| 15 ivan ready gus
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015252-p1 | Show complete lines where the first field falls within the inclusive range of 9 to 20. | $1 >= 9 && $1 <= 20 | 21 kim paused kim
18 ivan failed gus
1 bruno failed eli
13 eli failed dina
30 bruno pending eli
2 eli pending dina
| 18 ivan failed gus
13 eli failed dina
| 23 alice active hana
4 farah closed chen
7 jules closed chen
4 lina ready gus
2 bruno closed jules
15 ivan ready gus
| 15 ivan ready gus
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015252 | qwen/qwen3.7-plus |
awkweave-0015253 | Print column 4 only for rows where column 3 is exactly closed. | $3 == "closed"{print $4} | grove 82 pending kim
grove 74 paused chen
cobalt 64 closed dina
birch 22 pending kim
cobalt 86 failed ivan
amber 74 closed eli
| dina
eli
| fable 4 closed lina
birch 57 paused jules
indigo 54 failed bruno
cobalt 102 closed farah
birch 103 ready alice
fable 37 active dina
ember 10 pending bruno
harbor 97 pending eli
cobalt 91 failed bruno
| lina
farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015253-p1 | Print only the fourth column for rows where the third column contains exactly the text 'closed'. | $3 == "closed"{print $4} | grove 82 pending kim
grove 74 paused chen
cobalt 64 closed dina
birch 22 pending kim
cobalt 86 failed ivan
amber 74 closed eli
| dina
eli
| fable 4 closed lina
birch 57 paused jules
indigo 54 failed bruno
cobalt 102 closed farah
birch 103 ready alice
fable 37 active dina
ember 10 pending bruno
harbor 97 pending eli
cobalt 91 failed bruno
| lina
farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015253 | qwen/qwen3.7-plus |
awkweave-0015254 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR cobalt 93
ERROR indigo 75
DEBUG indigo 89
INFO juniper 102
DEBUG ember 99
DEBUG ember 101
WARN amber 110
DEBUG harbor 69
WARN delta 34
WARN amber 92
| ERROR cobalt 93
ERROR indigo 75
| ERROR harbor 75
ERROR cobalt 66
ERROR cobalt 117
ERROR juniper 5
WARN juniper 15
ERROR harbor 44
WARN cobalt 10
INFO delta 33
INFO indigo 33
INFO cobalt 117
| ERROR harbor 75
ERROR cobalt 66
ERROR cobalt 117
ERROR juniper 5
ERROR harbor 44
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015254-p1 | Output all fields from lines where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | ERROR cobalt 93
ERROR indigo 75
DEBUG indigo 89
INFO juniper 102
DEBUG ember 99
DEBUG ember 101
WARN amber 110
DEBUG harbor 69
WARN delta 34
WARN amber 92
| ERROR cobalt 93
ERROR indigo 75
| ERROR harbor 75
ERROR cobalt 66
ERROR cobalt 117
ERROR juniper 5
WARN juniper 15
ERROR harbor 44
WARN cobalt 10
INFO delta 33
INFO indigo 33
INFO cobalt 117
| ERROR harbor 75
ERROR cobalt 66
ERROR cobalt 117
ERROR juniper 5
ERROR harbor 44
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015254 | qwen/qwen3.7-plus |
awkweave-0015255 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | ember 7 paused
cobalt 66 ready
juniper 50 failed
grove 102 pending
juniper 97 ready
ember 93 paused
fable 103 closed
birch 42 failed
fable 999 active
| ember 7 paused
cobalt 66 ready
juniper 50 failed
grove 102 pending
juniper 97 ready
ember 93 paused
birch 42 failed
| juniper 67 ready
harbor 13 pending
juniper 86 active
cobalt 7 pending
birch 14 pending
grove 108 ready
cobalt 33 paused
delta 111 failed
indigo 31 ready
fable 999 active
| juniper 67 ready
harbor 13 pending
juniper 86 active
cobalt 7 pending
birch 14 pending
grove 108 ready
cobalt 33 paused
delta 111 failed
indigo 31 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015255-p1 | Print every line that does not contain the exact substring 'fable'. | $0 !~ /fable/ | ember 7 paused
cobalt 66 ready
juniper 50 failed
grove 102 pending
juniper 97 ready
ember 93 paused
fable 103 closed
birch 42 failed
fable 999 active
| ember 7 paused
cobalt 66 ready
juniper 50 failed
grove 102 pending
juniper 97 ready
ember 93 paused
birch 42 failed
| juniper 67 ready
harbor 13 pending
juniper 86 active
cobalt 7 pending
birch 14 pending
grove 108 ready
cobalt 33 paused
delta 111 failed
indigo 31 ready
fable 999 active
| juniper 67 ready
harbor 13 pending
juniper 86 active
cobalt 7 pending
birch 14 pending
grove 108 ready
cobalt 33 paused
delta 111 failed
indigo 31 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015255 | qwen/qwen3.7-plus |
awkweave-0015256 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | hana delta 30
dina harbor 65
gus cobalt 11
hana birch 63
kim cobalt 18
alice juniper 103
chen indigo 34
hana grove 40
| hana birch 63
kim cobalt 18
alice juniper 103
chen indigo 34
| kim harbor 116
farah grove 86
jules indigo 61
chen juniper 85
farah indigo 82
dina birch 69
gus grove 84
gus juniper 33
farah cobalt 27
bruno juniper 31
| chen juniper 85
farah indigo 82
dina birch 69
gus grove 84
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015256-p1 | Output lines 4 through 7, inclusive of both the start and end lines. | NR >= 4 && NR <= 7 | hana delta 30
dina harbor 65
gus cobalt 11
hana birch 63
kim cobalt 18
alice juniper 103
chen indigo 34
hana grove 40
| hana birch 63
kim cobalt 18
alice juniper 103
chen indigo 34
| kim harbor 116
farah grove 86
jules indigo 61
chen juniper 85
farah indigo 82
dina birch 69
gus grove 84
gus juniper 33
farah cobalt 27
bruno juniper 31
| chen juniper 85
farah indigo 82
dina birch 69
gus grove 84
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015256 | qwen/qwen3.7-plus |
awkweave-0015257 | Output only the first 3 records. | NR <= 3 | jules 98 fable
jules 21 cobalt
bruno 39 indigo
alice 29 grove
lina 73 ember
lina 110 ember
| jules 98 fable
jules 21 cobalt
bruno 39 indigo
| kim 48 amber
farah 23 cobalt
ivan 25 harbor
jules 21 fable
lina 44 indigo
hana 119 grove
ivan 73 indigo
dina 51 delta
| kim 48 amber
farah 23 cobalt
ivan 25 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015257-p1 | Display only the first 3 records from the input. | NR <= 3 | jules 98 fable
jules 21 cobalt
bruno 39 indigo
alice 29 grove
lina 73 ember
lina 110 ember
| jules 98 fable
jules 21 cobalt
bruno 39 indigo
| kim 48 amber
farah 23 cobalt
ivan 25 harbor
jules 21 fable
lina 44 indigo
hana 119 grove
ivan 73 indigo
dina 51 delta
| kim 48 amber
farah 23 cobalt
ivan 25 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015257 | qwen/qwen3.7-plus |
awkweave-0015258 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 28 cobalt
gus 76 amber
bruno 113 amber
hana 48 amber
hana 12 cobalt
ivan 54 ember
| gus 76 amber
bruno 113 amber
hana 48 amber
hana 12 cobalt
ivan 54 ember
| eli 103 amber
gus 98 fable
hana 5 cobalt
jules 23 ember
hana 45 juniper
eli 34 cobalt
jules 6 harbor
bruno 24 harbor
eli 8 indigo
chen 73 indigo
| gus 98 fable
hana 5 cobalt
jules 23 ember
hana 45 juniper
eli 34 cobalt
jules 6 harbor
bruno 24 harbor
eli 8 indigo
chen 73 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015258-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | farah 28 cobalt
gus 76 amber
bruno 113 amber
hana 48 amber
hana 12 cobalt
ivan 54 ember
| gus 76 amber
bruno 113 amber
hana 48 amber
hana 12 cobalt
ivan 54 ember
| eli 103 amber
gus 98 fable
hana 5 cobalt
jules 23 ember
hana 45 juniper
eli 34 cobalt
jules 6 harbor
bruno 24 harbor
eli 8 indigo
chen 73 indigo
| gus 98 fable
hana 5 cobalt
jules 23 ember
hana 45 juniper
eli 34 cobalt
jules 6 harbor
bruno 24 harbor
eli 8 indigo
chen 73 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015258 | qwen/qwen3.7-plus |
awkweave-0015259 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | farah closed 85
farah paused 57
lina pending 8
dina ready 77
jules active 75
ivan closed 87
lina active 112
bruno pending 86
bruno paused 43
hana closed 89
| 2
| gus paused 62
chen ready 34
ivan paused 5
bruno pending 109
farah paused 116
dina failed 27
dina active 7
farah paused 42
farah failed 1
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015259-p1 | Count the number of records where the second column is 'pending', and output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | farah closed 85
farah paused 57
lina pending 8
dina ready 77
jules active 75
ivan closed 87
lina active 112
bruno pending 86
bruno paused 43
hana closed 89
| 2
| gus paused 62
chen ready 34
ivan paused 5
bruno pending 109
farah paused 116
dina failed 27
dina active 7
farah paused 42
farah failed 1
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015259 | qwen/qwen3.7-plus |
awkweave-0015260 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 23 bruno ember
19 ivan birch
19 jules juniper
14 alice fable
13 hana birch
5 hana harbor
21 kim delta
27 hana ember
14 ivan harbor
| 155
| 29 chen grove
3 dina harbor
4 jules birch
14 bruno harbor
27 dina birch
29 alice birch
20 gus ember
19 chen indigo
| 145
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015260-p1 | Compute the total of all integer values in the first column and display the result. | {s+=$1}END{print s+0} | 23 bruno ember
19 ivan birch
19 jules juniper
14 alice fable
13 hana birch
5 hana harbor
21 kim delta
27 hana ember
14 ivan harbor
| 155
| 29 chen grove
3 dina harbor
4 jules birch
14 bruno harbor
27 dina birch
29 alice birch
20 gus ember
19 chen indigo
| 145
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015260 | qwen/qwen3.7-plus |
awkweave-0015261 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | delta dina 7
fable kim 27
ember hana 10
fable gus 14
cobalt ivan 11
ember chen 9
amber gus 29
| 15.29
| delta chen 3
cobalt bruno 14
ember lina 16
juniper farah 23
juniper kim 12
delta kim 12
| 13.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015261-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} | delta dina 7
fable kim 27
ember hana 10
fable gus 14
cobalt ivan 11
ember chen 9
amber gus 29
| 15.29
| delta chen 3
cobalt bruno 14
ember lina 16
juniper farah 23
juniper kim 12
delta kim 12
| 13.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015261 | qwen/qwen3.7-plus |
awkweave-0015262 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt dina 1
birch kim 27
grove bruno 30
juniper lina 28
juniper gus 10
amber chen 8
cobalt chen 19
| 1
| ember gus 4
juniper lina 4
amber bruno 6
delta ivan 15
birch gus 17
grove jules 10
grove gus 7
grove gus 30
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015262-p1 | Identify and display the minimum numerical value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt dina 1
birch kim 27
grove bruno 30
juniper lina 28
juniper gus 10
amber chen 8
cobalt chen 19
| 1
| ember gus 4
juniper lina 4
amber bruno 6
delta ivan 15
birch gus 17
grove jules 10
grove gus 7
grove gus 30
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015262 | qwen/qwen3.7-plus |
awkweave-0015263 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | harbor farah 9
grove lina 22
fable ivan 23
birch dina 25
amber farah 28
juniper eli 13
| 28
| cobalt farah 8
cobalt alice 24
birch eli 21
fable alice 19
amber kim 11
delta jules 23
indigo ivan 21
birch eli 17
indigo gus 9
| 24
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015263-p1 | Identify and display the maximum numerical value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | harbor farah 9
grove lina 22
fable ivan 23
birch dina 25
amber farah 28
juniper eli 13
| 28
| cobalt farah 8
cobalt alice 24
birch eli 21
fable alice 19
amber kim 11
delta jules 23
indigo ivan 21
birch eli 17
indigo gus 9
| 24
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015263 | qwen/qwen3.7-plus |
awkweave-0015264 | Count all input records and print the total. | END{print NR} | lina 120
hana 57
jules 72
bruno 77
farah 43
gus 118
gus 10
gus 33
eli 4
bruno 23
| 10
| alice 88
gus 31
eli 80
gus 61
alice 119
dina 38
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015264-p1 | Count the total number of input lines and print the final count. | END{print NR} | lina 120
hana 57
jules 72
bruno 77
farah 43
gus 118
gus 10
gus 33
eli 4
bruno 23
| 10
| alice 88
gus 31
eli 80
gus 61
alice 119
dina 38
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015264 | qwen/qwen3.7-plus |
awkweave-0015265 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana fable 82
chen cobalt 0
kim grove 11
chen ember 89
chen ember 89
ivan harbor 86
jules cobalt 61
| hana fable 82
chen cobalt 0
kim grove 11
chen ember 89
ivan harbor 86
jules cobalt 61
| alice amber 22
bruno amber 8
hana grove 109
dina juniper 93
jules amber 32
ivan birch 43
bruno amber 8
| alice amber 22
bruno amber 8
hana grove 109
dina juniper 93
jules amber 32
ivan birch 43
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015265-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | hana fable 82
chen cobalt 0
kim grove 11
chen ember 89
chen ember 89
ivan harbor 86
jules cobalt 61
| hana fable 82
chen cobalt 0
kim grove 11
chen ember 89
ivan harbor 86
jules cobalt 61
| alice amber 22
bruno amber 8
hana grove 109
dina juniper 93
jules amber 32
ivan birch 43
bruno amber 8
| alice amber 22
bruno amber 8
hana grove 109
dina juniper 93
jules amber 32
ivan birch 43
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015265 | qwen/qwen3.7-plus |
awkweave-0015266 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | chen delta 65
dina juniper 50
farah harbor 67
kim ember 77
ivan cobalt 116
lina amber 101
bruno juniper 53
hana delta 99
gus cobalt 52
| chen delta 65
dina juniper 50
farah harbor 67
kim ember 77
ivan cobalt 116
lina amber 101
bruno juniper 53
hana delta 99
gus cobalt 52
| lina ember 107
gus juniper 11
farah grove 66
chen fable 79
lina amber 118
lina fable 102
chen ember 32
| lina ember 107
gus juniper 11
farah grove 66
chen fable 79
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015266-p1 | Retain only the initial occurrence for every unique value in the first column, keeping the original order. | !seen[$1]++ | chen delta 65
dina juniper 50
farah harbor 67
kim ember 77
ivan cobalt 116
lina amber 101
bruno juniper 53
hana delta 99
gus cobalt 52
| chen delta 65
dina juniper 50
farah harbor 67
kim ember 77
ivan cobalt 116
lina amber 101
bruno juniper 53
hana delta 99
gus cobalt 52
| lina ember 107
gus juniper 11
farah grove 66
chen fable 79
lina amber 118
lina fable 102
chen ember 32
| lina ember 107
gus juniper 11
farah grove 66
chen fable 79
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015266 | qwen/qwen3.7-plus |
awkweave-0015267 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 5 cobalt
chen 29 indigo
chen 10 fable
chen 15 juniper
gus 10 amber
gus 17 grove
bruno 9 fable
| ivan 5
chen 34
chen 44
chen 59
gus 69
gus 86
bruno 95
| chen 9 birch
chen 26 fable
ivan 20 harbor
chen 9 fable
farah 15 birch
hana 13 harbor
kim 9 fable
alice 29 fable
farah 20 grove
dina 15 juniper
| chen 9
chen 35
ivan 55
chen 64
farah 79
hana 92
kim 101
alice 130
farah 150
dina 165
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015267-p1 | For each line, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | ivan 5 cobalt
chen 29 indigo
chen 10 fable
chen 15 juniper
gus 10 amber
gus 17 grove
bruno 9 fable
| ivan 5
chen 34
chen 44
chen 59
gus 69
gus 86
bruno 95
| chen 9 birch
chen 26 fable
ivan 20 harbor
chen 9 fable
farah 15 birch
hana 13 harbor
kim 9 fable
alice 29 fable
farah 20 grove
dina 15 juniper
| chen 9
chen 35
ivan 55
chen 64
farah 79
hana 92
kim 101
alice 130
farah 150
dina 165
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015267 | qwen/qwen3.7-plus |
awkweave-0015268 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 15 13 ember
ivan 1 17 fable
dina 17 24 cobalt
ivan 23 7 cobalt
hana 12 4 fable
chen 24 27 birch
hana 17 5 delta
farah 28 24 birch
| eli 28
ivan 18
dina 41
ivan 30
hana 16
chen 51
hana 22
farah 52
| ivan 13 9 fable
jules 22 9 ember
lina 2 20 ember
alice 23 25 ember
farah 12 3 fable
gus 20 19 delta
hana 10 9 ember
alice 21 13 harbor
| ivan 22
jules 31
lina 22
alice 48
farah 15
gus 39
hana 19
alice 34
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015268-p1 | Display the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | eli 15 13 ember
ivan 1 17 fable
dina 17 24 cobalt
ivan 23 7 cobalt
hana 12 4 fable
chen 24 27 birch
hana 17 5 delta
farah 28 24 birch
| eli 28
ivan 18
dina 41
ivan 30
hana 16
chen 51
hana 22
farah 52
| ivan 13 9 fable
jules 22 9 ember
lina 2 20 ember
alice 23 25 ember
farah 12 3 fable
gus 20 19 delta
hana 10 9 ember
alice 21 13 harbor
| ivan 22
jules 31
lina 22
alice 48
farah 15
gus 39
hana 19
alice 34
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015268 | qwen/qwen3.7-plus |
awkweave-0015269 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | ivan 15
ivan 25
bruno 2
kim 19
dina 16
kim 26
alice 21
chen 13
jules 27
eli 6
| ivan fail
ivan pass
bruno fail
kim fail
dina fail
kim pass
alice fail
chen fail
jules pass
eli fail
| kim 10
jules 25
dina 11
ivan 19
gus 3
dina 3
dina 12
| kim fail
jules pass
dina fail
ivan fail
gus fail
dina fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0015269-p1 | Print the first column along with 'pass' if the second column is 25 or greater, otherwise print 'fail'. | {print $1,($2>=25?"pass":"fail")} | ivan 15
ivan 25
bruno 2
kim 19
dina 16
kim 26
alice 21
chen 13
jules 27
eli 6
| ivan fail
ivan pass
bruno fail
kim fail
dina fail
kim pass
alice fail
chen fail
jules pass
eli fail
| kim 10
jules 25
dina 11
ivan 19
gus 3
dina 3
dina 12
| kim fail
jules pass
dina fail
ivan fail
gus fail
dina fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0015269 | qwen/qwen3.7-plus |
awkweave-0015270 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | eli grove 109
eli ember 72
gus cobalt 29
dina fable 18
kim birch 38
alice grove 87
| GROVE
EMBER
COBALT
FABLE
BIRCH
GROVE
| bruno cobalt 120
farah ember 27
alice cobalt 92
chen harbor 31
farah delta 27
dina grove 24
alice juniper 5
jules amber 32
eli amber 43
lina grove 69
| COBALT
EMBER
COBALT
HARBOR
DELTA
GROVE
JUNIPER
AMBER
AMBER
GROVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.