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-0035111-p1 | Compute and display the sum of integer values in column 2. | {s+=$2}END{print s+0} | ember 12 eli
indigo 27 lina
juniper 23 lina
indigo 10 hana
birch 19 dina
indigo 25 eli
ember 28 lina
| 144
| ember 15 eli
delta 30 eli
grove 9 lina
amber 6 hana
harbor 3 eli
cobalt 22 kim
ember 14 eli
grove 29 chen
| 128
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035111 | qwen/qwen3.7-plus |
awkweave-0035112 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 23 cobalt
dina 2 fable
dina 16 harbor
alice 9 harbor
alice 26 grove
kim 8 grove
jules 10 birch
chen 6 delta
kim 6 ember
lina 5 grove
| 11.10
| lina 19 fable
alice 6 juniper
chen 12 fable
eli 7 cobalt
chen 17 delta
farah 23 ember
eli 7 birch
dina 17 grove
dina 1 cobalt
kim 12 harbor
| 12.10
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035112-p1 | Print the average of column 2, rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 23 cobalt
dina 2 fable
dina 16 harbor
alice 9 harbor
alice 26 grove
kim 8 grove
jules 10 birch
chen 6 delta
kim 6 ember
lina 5 grove
| 11.10
| lina 19 fable
alice 6 juniper
chen 12 fable
eli 7 cobalt
chen 17 delta
farah 23 ember
eli 7 birch
dina 17 grove
dina 1 cobalt
kim 12 harbor
| 12.10
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035112 | qwen/qwen3.7-plus |
awkweave-0035113 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 1 harbor
bruno 15 birch
bruno 23 harbor
bruno 3 grove
ivan 19 indigo
lina 3 ember
jules 11 indigo
farah 29 harbor
chen 22 cobalt
lina 16 indigo
| 1
| chen 17 birch
chen 22 ember
farah 15 fable
bruno 7 amber
bruno 13 delta
dina 3 amber
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035113-p1 | Identify and output the minimum numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 1 harbor
bruno 15 birch
bruno 23 harbor
bruno 3 grove
ivan 19 indigo
lina 3 ember
jules 11 indigo
farah 29 harbor
chen 22 cobalt
lina 16 indigo
| 1
| chen 17 birch
chen 22 ember
farah 15 fable
bruno 7 amber
bruno 13 delta
dina 3 amber
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035113 | qwen/qwen3.7-plus |
awkweave-0035114 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 12 cobalt
lina 30 delta
bruno 14 grove
hana 13 ember
kim 22 indigo
jules 15 fable
lina 7 fable
dina 27 birch
| 30
| kim 22 fable
jules 15 amber
gus 15 birch
alice 16 indigo
ivan 8 fable
chen 4 amber
| 22
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035114-p1 | Identify and output the maximum numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | dina 12 cobalt
lina 30 delta
bruno 14 grove
hana 13 ember
kim 22 indigo
jules 15 fable
lina 7 fable
dina 27 birch
| 30
| kim 22 fable
jules 15 amber
gus 15 birch
alice 16 indigo
ivan 8 fable
chen 4 amber
| 22
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035114 | qwen/qwen3.7-plus |
awkweave-0035115 | Count all input records and print the total. | END{print NR} | bruno 68
eli 104
farah 59
dina 39
jules 80
ivan 87
kim 37
| 7
| alice 18
farah 1
eli 109
dina 22
lina 17
hana 100
jules 75
ivan 55
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035115-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 68
eli 104
farah 59
dina 39
jules 80
ivan 87
kim 37
| 7
| alice 18
farah 1
eli 109
dina 22
lina 17
hana 100
jules 75
ivan 55
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035115 | qwen/qwen3.7-plus |
awkweave-0035116 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus cobalt 107
jules delta 84
gus juniper 50
bruno juniper 32
gus delta 114
jules delta 84
eli delta 82
| gus cobalt 107
jules delta 84
gus juniper 50
bruno juniper 32
gus delta 114
eli delta 82
| kim harbor 109
lina juniper 43
hana harbor 104
hana indigo 71
gus birch 74
alice juniper 71
lina cobalt 96
farah grove 67
bruno harbor 94
bruno harbor 94
| kim harbor 109
lina juniper 43
hana harbor 104
hana indigo 71
gus birch 74
alice juniper 71
lina cobalt 96
farah grove 67
bruno harbor 94
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035116-p1 | Eliminate exact duplicate lines while keeping the first instance and original sequence. | !seen[$0]++ | gus cobalt 107
jules delta 84
gus juniper 50
bruno juniper 32
gus delta 114
jules delta 84
eli delta 82
| gus cobalt 107
jules delta 84
gus juniper 50
bruno juniper 32
gus delta 114
eli delta 82
| kim harbor 109
lina juniper 43
hana harbor 104
hana indigo 71
gus birch 74
alice juniper 71
lina cobalt 96
farah grove 67
bruno harbor 94
bruno harbor 94
| kim harbor 109
lina juniper 43
hana harbor 104
hana indigo 71
gus birch 74
alice juniper 71
lina cobalt 96
farah grove 67
bruno harbor 94
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035116 | qwen/qwen3.7-plus |
awkweave-0035117 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | eli fable 84
alice indigo 107
bruno birch 107
dina birch 19
jules delta 84
eli cobalt 33
farah ember 120
jules ember 91
gus amber 60
| eli fable 84
alice indigo 107
dina birch 19
eli cobalt 33
farah ember 120
jules ember 91
gus amber 60
| jules amber 12
gus fable 69
alice indigo 17
ivan indigo 83
lina grove 65
hana amber 11
gus harbor 3
jules delta 105
| jules amber 12
gus fable 69
alice indigo 17
ivan indigo 83
lina grove 65
hana amber 11
gus harbor 3
jules delta 105
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035117-p1 | Retain only the first line for each unique value in column 3, maintaining input order. | !seen[$3]++ | eli fable 84
alice indigo 107
bruno birch 107
dina birch 19
jules delta 84
eli cobalt 33
farah ember 120
jules ember 91
gus amber 60
| eli fable 84
alice indigo 107
dina birch 19
eli cobalt 33
farah ember 120
jules ember 91
gus amber 60
| jules amber 12
gus fable 69
alice indigo 17
ivan indigo 83
lina grove 65
hana amber 11
gus harbor 3
jules delta 105
| jules amber 12
gus fable 69
alice indigo 17
ivan indigo 83
lina grove 65
hana amber 11
gus harbor 3
jules delta 105
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035117 | qwen/qwen3.7-plus |
awkweave-0035118 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 13 indigo
alice 18 ember
chen 23 ember
dina 10 delta
jules 12 grove
lina 4 indigo
lina 18 delta
alice 10 amber
jules 13 indigo
| farah 13
alice 31
chen 54
dina 64
jules 76
lina 80
lina 98
alice 108
jules 121
| kim 13 cobalt
dina 2 grove
chen 8 amber
alice 6 amber
bruno 16 birch
kim 26 grove
farah 8 cobalt
| kim 13
dina 15
chen 23
alice 29
bruno 45
kim 71
farah 79
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035118-p1 | Output the first column and the cumulative total of the second column for each record, separated by a space. | {s+=$2;print $1,s} | farah 13 indigo
alice 18 ember
chen 23 ember
dina 10 delta
jules 12 grove
lina 4 indigo
lina 18 delta
alice 10 amber
jules 13 indigo
| farah 13
alice 31
chen 54
dina 64
jules 76
lina 80
lina 98
alice 108
jules 121
| kim 13 cobalt
dina 2 grove
chen 8 amber
alice 6 amber
bruno 16 birch
kim 26 grove
farah 8 cobalt
| kim 13
dina 15
chen 23
alice 29
bruno 45
kim 71
farah 79
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035118 | qwen/qwen3.7-plus |
awkweave-0035119 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 8 20 cobalt
jules 14 11 fable
gus 17 30 indigo
ivan 3 7 amber
alice 1 13 ember
eli 15 5 indigo
ivan 23 19 juniper
ivan 12 28 indigo
| dina 28
jules 25
gus 47
ivan 10
alice 14
eli 20
ivan 42
ivan 40
| hana 21 29 grove
dina 30 13 amber
alice 24 14 ember
farah 19 26 fable
farah 6 28 juniper
farah 29 14 juniper
| hana 50
dina 43
alice 38
farah 45
farah 34
farah 43
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035119-p1 | For every line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | dina 8 20 cobalt
jules 14 11 fable
gus 17 30 indigo
ivan 3 7 amber
alice 1 13 ember
eli 15 5 indigo
ivan 23 19 juniper
ivan 12 28 indigo
| dina 28
jules 25
gus 47
ivan 10
alice 14
eli 20
ivan 42
ivan 40
| hana 21 29 grove
dina 30 13 amber
alice 24 14 ember
farah 19 26 fable
farah 6 28 juniper
farah 29 14 juniper
| hana 50
dina 43
alice 38
farah 45
farah 34
farah 43
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035119 | qwen/qwen3.7-plus |
awkweave-0035120 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | lina 27
bruno 4
chen 3
jules 9
bruno 3
chen 26
jules 18
hana 9
| lina pass
bruno fail
chen fail
jules fail
bruno fail
chen fail
jules fail
hana fail
| lina 11
dina 28
dina 29
bruno 28
dina 14
eli 20
| lina fail
dina pass
dina pass
bruno pass
dina fail
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035120-p1 | Show the value in column 1; if column 2 is 27 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=27?"pass":"fail")} | lina 27
bruno 4
chen 3
jules 9
bruno 3
chen 26
jules 18
hana 9
| lina pass
bruno fail
chen fail
jules fail
bruno fail
chen fail
jules fail
hana fail
| lina 11
dina 28
dina 29
bruno 28
dina 14
eli 20
| lina fail
dina pass
dina pass
bruno pass
dina fail
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035120 | qwen/qwen3.7-plus |
awkweave-0035121 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | ivan grove 17
chen indigo 112
farah indigo 72
alice harbor 26
bruno cobalt 58
eli delta 18
ivan delta 91
chen juniper 120
lina juniper 75
| GROVE
INDIGO
INDIGO
HARBOR
COBALT
DELTA
DELTA
JUNIPER
JUNIPER
| eli delta 52
eli harbor 48
lina delta 22
alice birch 19
lina cobalt 62
gus fable 94
jules fable 113
farah indigo 65
kim ember 87
eli cobalt 16
| DELTA
HARBOR
DELTA
BIRCH
COBALT
FABLE
FABLE
INDIGO
EMBER
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035121-p1 | Transform the second column to uppercase and output only that modified column. | {print toupper($2)} | ivan grove 17
chen indigo 112
farah indigo 72
alice harbor 26
bruno cobalt 58
eli delta 18
ivan delta 91
chen juniper 120
lina juniper 75
| GROVE
INDIGO
INDIGO
HARBOR
COBALT
DELTA
DELTA
JUNIPER
JUNIPER
| eli delta 52
eli harbor 48
lina delta 22
alice birch 19
lina cobalt 62
gus fable 94
jules fable 113
farah indigo 65
kim ember 87
eli cobalt 16
| DELTA
HARBOR
DELTA
BIRCH
COBALT
FABLE
FABLE
INDIGO
EMBER
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035121 | qwen/qwen3.7-plus |
awkweave-0035122 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | delta 27
indigo 66
amber 27
amber 90
cobalt 95
amber 58
fable 105
grove 49
harbor 83
| lta
dig
ber
ber
bal
ber
ble
ove
rbo
| indigo 100
indigo 93
fable 68
harbor 102
indigo 28
harbor 29
birch 60
amber 57
birch 38
| dig
dig
ble
rbo
dig
rbo
rch
ber
rch
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035122-p1 | Extract and print a 3-character substring from column 1, beginning at the third character. | {print substr($1,3,3)} | delta 27
indigo 66
amber 27
amber 90
cobalt 95
amber 58
fable 105
grove 49
harbor 83
| lta
dig
ber
ber
bal
ber
ble
ove
rbo
| indigo 100
indigo 93
fable 68
harbor 102
indigo 28
harbor 29
birch 60
amber 57
birch 38
| dig
dig
ble
rbo
dig
rbo
rch
ber
rch
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035122 | qwen/qwen3.7-plus |
awkweave-0035123 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_indigo 79
grove_harbor 46
cobalt_cobalt 2
fable_fable 83
indigo_indigo 5
grove_delta 1
indigo_amber 35
| grove indigo
grove harbor
cobalt cobalt
fable fable
indigo indigo
grove delta
indigo amber
| cobalt_fable 66
ember_ember 65
juniper_cobalt 108
juniper_ember 30
indigo_delta 26
delta_birch 81
| cobalt fable
ember ember
juniper cobalt
juniper ember
indigo delta
delta birch
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035123-p1 | Substitute all underscores in column 1 with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | grove_indigo 79
grove_harbor 46
cobalt_cobalt 2
fable_fable 83
indigo_indigo 5
grove_delta 1
indigo_amber 35
| grove indigo
grove harbor
cobalt cobalt
fable fable
indigo indigo
grove delta
indigo amber
| cobalt_fable 66
ember_ember 65
juniper_cobalt 108
juniper_ember 30
indigo_delta 26
delta_birch 81
| cobalt fable
ember ember
juniper cobalt
juniper ember
indigo delta
delta birch
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035123 | qwen/qwen3.7-plus |
awkweave-0035124 | 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)} | alice fable 83 closed
dina juniper 93 failed
jules ember 93 pending
dina indigo 81 active
kim cobalt 27 failed
gus fable 95 active
| closed 83 fable alice
failed 93 juniper dina
pending 93 ember jules
active 81 indigo dina
failed 27 cobalt kim
active 95 fable gus
| jules delta 88 failed
dina birch 29 failed
hana cobalt 86 pending
gus delta 85 pending
alice harbor 60 pending
ivan delta 22 failed
| failed 88 delta jules
failed 29 birch dina
pending 86 cobalt hana
pending 85 delta gus
pending 60 harbor alice
failed 22 delta ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035124-p1 | Reverse the sequence of fields in each line and output all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice fable 83 closed
dina juniper 93 failed
jules ember 93 pending
dina indigo 81 active
kim cobalt 27 failed
gus fable 95 active
| closed 83 fable alice
failed 93 juniper dina
pending 93 ember jules
active 81 indigo dina
failed 27 cobalt kim
active 95 fable gus
| jules delta 88 failed
dina birch 29 failed
hana cobalt 86 pending
gus delta 85 pending
alice harbor 60 pending
ivan delta 22 failed
| failed 88 delta jules
failed 29 birch dina
pending 86 cobalt hana
pending 85 delta gus
pending 60 harbor alice
failed 22 delta ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035124 | qwen/qwen3.7-plus |
awkweave-0035125 | Print the number of whitespace-separated fields on each line. | {print NF} | dina ember 119 paused
bruno harbor 46 failed
eli birch 103 paused
ivan amber 105 closed
jules indigo 87 active
gus amber 22 active
| 4
4
4
4
4
4
| kim birch 113 closed
eli ember 35 ready
chen ember 90 ready
eli harbor 103 pending
eli grove 95 paused
eli birch 26 active
gus fable 9 paused
dina grove 65 failed
dina ember 53 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035125-p1 | Display the count of whitespace-delimited fields present in each line. | {print NF} | dina ember 119 paused
bruno harbor 46 failed
eli birch 103 paused
ivan amber 105 closed
jules indigo 87 active
gus amber 22 active
| 4
4
4
4
4
4
| kim birch 113 closed
eli ember 35 ready
chen ember 90 ready
eli harbor 103 pending
eli grove 95 paused
eli birch 26 active
gus fable 9 paused
dina grove 65 failed
dina ember 53 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035125 | qwen/qwen3.7-plus |
awkweave-0035126 | 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 35
ivan gamma 110
hana gamma 33
chen delta 57
alice beta 64
farah beta 17
eli gamma 55
lina alpha 1
| gamma 4
delta 1
beta 2
alpha 1
| alice delta 63
farah beta 59
eli beta 44
alice gamma 4
farah gamma 66
eli alpha 100
farah gamma 17
kim beta 4
| delta 1
beta 3
gamma 3
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035126-p1 | Tally the occurrences of each unique value in column 2 and print the value alongside its count, maintaining the 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 35
ivan gamma 110
hana gamma 33
chen delta 57
alice beta 64
farah beta 17
eli gamma 55
lina alpha 1
| gamma 4
delta 1
beta 2
alpha 1
| alice delta 63
farah beta 59
eli beta 44
alice gamma 4
farah gamma 66
eli alpha 100
farah gamma 17
kim beta 4
| delta 1
beta 3
gamma 3
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035126 | qwen/qwen3.7-plus |
awkweave-0035127 | 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]]} | eli delta 22
eli gamma 28
lina alpha 12
ivan gamma 2
lina gamma 26
chen delta 18
dina gamma 22
alice delta 6
| delta 46
gamma 78
alpha 12
| dina alpha 17
kim alpha 4
bruno gamma 28
dina beta 1
jules beta 29
hana beta 6
hana alpha 11
kim delta 28
| alpha 32
gamma 28
beta 36
delta 28
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035127-p1 | Calculate the sum of column 3 for each distinct category in column 2, listing the results in the order the categories first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | eli delta 22
eli gamma 28
lina alpha 12
ivan gamma 2
lina gamma 26
chen delta 18
dina gamma 22
alice delta 6
| delta 46
gamma 78
alpha 12
| dina alpha 17
kim alpha 4
bruno gamma 28
dina beta 1
jules beta 29
hana beta 6
hana alpha 11
kim delta 28
| alpha 32
gamma 28
beta 36
delta 28
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035127 | qwen/qwen3.7-plus |
awkweave-0035128 | 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 grove 84
delta amber 44
delta ember 84
alpha grove 67
alpha grove 85
gamma birch 67
delta ember 30
alpha delta 101
beta fable 28
| delta 4
alpha 3
| delta harbor 26
beta amber 40
beta delta 20
gamma cobalt 67
alpha grove 68
beta juniper 110
gamma amber 3
| beta 3
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035128-p1 | List each duplicate value found in column 1 along with its frequency, ordered by when they first appeared. | {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 grove 84
delta amber 44
delta ember 84
alpha grove 67
alpha grove 85
gamma birch 67
delta ember 30
alpha delta 101
beta fable 28
| delta 4
alpha 3
| delta harbor 26
beta amber 40
beta delta 20
gamma cobalt 67
alpha grove 68
beta juniper 110
gamma amber 3
| beta 3
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035128 | qwen/qwen3.7-plus |
awkweave-0035129 | 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 score display_name
r001 dina 15 pending
r002 chen 24 closed
r003 lina 17 closed
r004 bruno 14 ready
r005 gus 20 active
r006 kim 30 failed
| pending
closed
closed
ready
active
failed
| record_id region score display_name
r001 jules 4 failed
r002 bruno 10 closed
r003 jules 1 failed
r004 jules 25 paused
r005 gus 13 ready
r006 jules 7 paused
r007 ivan 6 ready
| failed
closed
failed
paused
ready
paused
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035129-p1 | Skip the header row and print the contents of the display_name column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | record_id region score display_name
r001 dina 15 pending
r002 chen 24 closed
r003 lina 17 closed
r004 bruno 14 ready
r005 gus 20 active
r006 kim 30 failed
| pending
closed
closed
ready
active
failed
| record_id region score display_name
r001 jules 4 failed
r002 bruno 10 closed
r003 jules 1 failed
r004 jules 25 paused
r005 gus 13 ready
r006 jules 7 paused
r007 ivan 6 ready
| failed
closed
failed
paused
ready
paused
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035129 | qwen/qwen3.7-plus |
awkweave-0035130 | The first row is a header. Print display_name for data rows whose score is greater than 10. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]} | record_id display_name score state
r001 alice 26 closed
r002 eli 25 pending
r003 kim 15 closed
r004 hana 20 ready
r005 dina 15 failed
r006 lina 16 ready
r007 farah 3 closed
r008 eli 8 closed
| alice
eli
kim
hana
dina
lina
| record_id display_name score state
r001 hana 17 failed
r002 dina 1 pending
r003 gus 8 closed
r004 farah 27 active
r005 chen 12 active
r006 lina 27 failed
r007 ivan 18 closed
r008 eli 25 active
r009 lina 28 pending
| hana
farah
chen
lina
ivan
eli
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035130-p1 | Skip the header row and output the display_name field for any data record where the score exceeds 10. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>10{print $h["display_name"]} | record_id display_name score state
r001 alice 26 closed
r002 eli 25 pending
r003 kim 15 closed
r004 hana 20 ready
r005 dina 15 failed
r006 lina 16 ready
r007 farah 3 closed
r008 eli 8 closed
| alice
eli
kim
hana
dina
lina
| record_id display_name score state
r001 hana 17 failed
r002 dina 1 pending
r003 gus 8 closed
r004 farah 27 active
r005 chen 12 active
r006 lina 27 failed
r007 ivan 18 closed
r008 eli 25 active
r009 lina 28 pending
| hana
farah
chen
lina
ivan
eli
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035130 | qwen/qwen3.7-plus |
awkweave-0035131 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | hana 17 paused
lina 26 active
bruno 25 closed
gus 17 active
alice 26 active
farah 5 paused
gus 15 pending
| paused
active
closed
active
active
paused
pending
| bruno 13 closed
alice 11 paused
lina 21 active
dina 28 failed
ivan 21 ready
eli 21 failed
eli 11 paused
jules 16 ready
bruno 20 active
dina 16 active
| closed
paused
active
failed
ready
failed
paused
ready
active
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035131-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | hana 17 paused
lina 26 active
bruno 25 closed
gus 17 active
alice 26 active
farah 5 paused
gus 15 pending
| paused
active
closed
active
active
paused
pending
| bruno 13 closed
alice 11 paused
lina 21 active
dina 28 failed
ivan 21 ready
eli 21 failed
eli 11 paused
jules 16 ready
bruno 20 active
dina 16 active
| closed
paused
active
failed
ready
failed
paused
ready
active
active
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0035131 | qwen/qwen3.7-plus |
awkweave-0035132 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 16. | BEGIN{FS=OFS=","}$2>16{print $1} | gus,28,ready
hana,8,closed
dina,19,failed
hana,7,pending
ivan,18,active
kim,20,active
lina,27,paused
lina,8,active
eli,21,pending
| gus
dina
ivan
kim
lina
eli
| chen,5,failed
eli,13,paused
alice,6,ready
alice,21,pending
kim,7,active
eli,3,active
dina,10,ready
farah,18,ready
| alice
farah
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035132-p1 | Process simple comma-separated values without quoted commas; output the first column only if the second column is greater than 16. | BEGIN{FS=OFS=","}$2>16{print $1} | gus,28,ready
hana,8,closed
dina,19,failed
hana,7,pending
ivan,18,active
kim,20,active
lina,27,paused
lina,8,active
eli,21,pending
| gus
dina
ivan
kim
lina
eli
| chen,5,failed
eli,13,paused
alice,6,ready
alice,21,pending
kim,7,active
eli,3,active
dina,10,ready
farah,18,ready
| alice
farah
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035132 | qwen/qwen3.7-plus |
awkweave-0035133 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli harbor 63
farah grove 42
kim ember 48
bruno amber 25
kim cobalt 86
farah ember 7
hana delta 6
jules birch 20
alice harbor 46
ivan juniper 95
| eli harbor 63
farah grove 42
kim ember 48
bruno amber 25
kim cobalt 86
farah ember 7
hana delta 6
jules birch 20
alice harbor 46
ivan juniper 95
| farah harbor 88
dina ember 63
eli birch 94
bruno harbor 20
gus fable 11
alice juniper 36
dina ember 23
eli birch 98
| farah harbor 88
dina ember 63
eli birch 94
bruno harbor 20
gus fable 11
alice juniper 36
dina ember 23
eli birch 98
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035133-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | eli harbor 63
farah grove 42
kim ember 48
bruno amber 25
kim cobalt 86
farah ember 7
hana delta 6
jules birch 20
alice harbor 46
ivan juniper 95
| eli harbor 63
farah grove 42
kim ember 48
bruno amber 25
kim cobalt 86
farah ember 7
hana delta 6
jules birch 20
alice harbor 46
ivan juniper 95
| farah harbor 88
dina ember 63
eli birch 94
bruno harbor 20
gus fable 11
alice juniper 36
dina ember 23
eli birch 98
| farah harbor 88
dina ember 63
eli birch 94
bruno harbor 20
gus fable 11
alice juniper 36
dina ember 23
eli birch 98
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035133 | qwen/qwen3.7-plus |
awkweave-0035134 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | gus harbor 117 paused
alice juniper 100 closed
gus fable 97 paused
gus birch 108 active
gus harbor 85 closed
hana indigo 66 failed
kim indigo 35 closed
chen juniper 26 closed
farah indigo 12 closed
hana cobalt 109 ready
| alice juniper 100 closed
| dina harbor 78 ready
alice cobalt 49 ready
kim birch 113 paused
lina delta 58 paused
lina cobalt 115 pending
hana fable 64 active
kim delta 97 failed
jules juniper 33 failed
gus harbor 18 active
| lina cobalt 115 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035134-p1 | Identify and output the longest line from the input; in case of a tie in length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | gus harbor 117 paused
alice juniper 100 closed
gus fable 97 paused
gus birch 108 active
gus harbor 85 closed
hana indigo 66 failed
kim indigo 35 closed
chen juniper 26 closed
farah indigo 12 closed
hana cobalt 109 ready
| alice juniper 100 closed
| dina harbor 78 ready
alice cobalt 49 ready
kim birch 113 paused
lina delta 58 paused
lina cobalt 115 pending
hana fable 64 active
kim delta 97 failed
jules juniper 33 failed
gus harbor 18 active
| lina cobalt 115 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035134 | qwen/qwen3.7-plus |
awkweave-0035135 | Print every 4th line starting at line 4 (then line 8, and so on). | NR%4==0 | ivan 58
farah 57
lina 82
dina 95
dina 45
chen 88
gus 101
gus 99
| dina 95
gus 99
| dina 4
bruno 30
dina 3
farah 77
dina 59
dina 56
jules 71
| farah 77
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035135-p1 | Output every fourth line of the input, beginning with line 4 (i.e., lines 4, 8, 12, etc.). | NR%4==0 | ivan 58
farah 57
lina 82
dina 95
dina 45
chen 88
gus 101
gus 99
| dina 95
gus 99
| dina 4
bruno 30
dina 3
farah 77
dina 59
dina 56
jules 71
| farah 77
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035135 | qwen/qwen3.7-plus |
awkweave-0035136 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta birch 70
gamma amber 117
delta ember 1
beta amber 63
alpha delta 75
gamma amber 113
alpha harbor 1
alpha birch 8
beta grove 5
| 4
| alpha harbor 12
gamma fable 61
delta indigo 11
gamma ember 20
beta indigo 117
delta amber 114
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035136-p1 | Calculate the number of unique values found in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta birch 70
gamma amber 117
delta ember 1
beta amber 63
alpha delta 75
gamma amber 113
alpha harbor 1
alpha birch 8
beta grove 5
| 4
| alpha harbor 12
gamma fable 61
delta indigo 11
gamma ember 20
beta indigo 117
delta amber 114
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035136 | qwen/qwen3.7-plus |
awkweave-0035137 | 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 10 0
hana 18 11
ivan 15 6
jules 16 1
lina 25 26
alice 19 21
jules 27 24
| hana 1.64
ivan 2.50
jules 16.00
lina 0.96
alice 0.90
jules 1.12
| farah 2 0
dina 2 2
hana 14 7
ivan 2 17
kim 21 10
lina 15 14
eli 22 16
hana 10 4
dina 6 3
kim 3 18
| dina 1.00
hana 2.00
ivan 0.12
kim 2.10
lina 1.07
eli 1.38
hana 2.50
dina 2.00
kim 0.17
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035137-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, ignoring rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 10 0
hana 18 11
ivan 15 6
jules 16 1
lina 25 26
alice 19 21
jules 27 24
| hana 1.64
ivan 2.50
jules 16.00
lina 0.96
alice 0.90
jules 1.12
| farah 2 0
dina 2 2
hana 14 7
ivan 2 17
kim 21 10
lina 15 14
eli 22 16
hana 10 4
dina 6 3
kim 3 18
| dina 1.00
hana 2.00
ivan 0.12
kim 2.10
lina 1.07
eli 1.38
hana 2.50
dina 2.00
kim 0.17
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035137 | qwen/qwen3.7-plus |
awkweave-0035138 | 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]} | dina grove 5
farah juniper 29
lina juniper 21
dina delta 11
ivan juniper 30
chen grove 1
gus ember 12
ivan delta 28
| ivan juniper 30
farah juniper 29
ivan delta 28
| farah indigo 1
hana ember 1
gus fable 25
lina grove 23
alice cobalt 20
gus harbor 23
jules harbor 21
jules ember 14
chen cobalt 28
hana cobalt 22
| chen cobalt 28
gus fable 25
lina grove 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035138-p1 | Retrieve the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | dina grove 5
farah juniper 29
lina juniper 21
dina delta 11
ivan juniper 30
chen grove 1
gus ember 12
ivan delta 28
| ivan juniper 30
farah juniper 29
ivan delta 28
| farah indigo 1
hana ember 1
gus fable 25
lina grove 23
alice cobalt 20
gus harbor 23
jules harbor 21
jules ember 14
chen cobalt 28
hana cobalt 22
| chen cobalt 28
gus fable 25
lina grove 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035138 | qwen/qwen3.7-plus |
awkweave-0035139 | Select the 5th and 2nd fields in that order. | {print $5, $2} | gus kim active delta 115
eli kim ready harbor 18
gus dina ready harbor 79
ivan dina active ember 107
jules gus paused juniper 15
jules dina pending cobalt 61
| 115 kim
18 kim
79 dina
107 dina
15 gus
61 dina
| farah hana pending juniper 50
lina alice pending cobalt 11
lina bruno closed grove 87
ivan eli pending birch 57
bruno jules failed fable 6
bruno eli paused delta 71
gus gus paused harbor 34
alice farah closed fable 112
gus jules closed harbor 104
| 50 hana
11 alice
87 bruno
57 eli
6 jules
71 eli
34 gus
112 farah
104 jules
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035139-p1 | Extract and print the fifth field followed by the second field, preserving this specific order. | {print $5, $2} | gus kim active delta 115
eli kim ready harbor 18
gus dina ready harbor 79
ivan dina active ember 107
jules gus paused juniper 15
jules dina pending cobalt 61
| 115 kim
18 kim
79 dina
107 dina
15 gus
61 dina
| farah hana pending juniper 50
lina alice pending cobalt 11
lina bruno closed grove 87
ivan eli pending birch 57
bruno jules failed fable 6
bruno eli paused delta 71
gus gus paused harbor 34
alice farah closed fable 112
gus jules closed harbor 104
| 50 hana
11 alice
87 bruno
57 eli
6 jules
71 eli
34 gus
112 farah
104 jules
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035139 | qwen/qwen3.7-plus |
awkweave-0035140 | Print the last field of every input line. | {print $NF} | ember delta ember ivan eli juniper paused
birch delta indigo alice chen birch ready
fable grove grove dina chen ember pending
amber ember harbor alice gus fable pending
cobalt birch harbor hana dina grove pending
ember harbor amber gus gus grove pending
harbor amber fable farah gus indigo failed
fable juniper juniper e... | paused
ready
pending
pending
pending
pending
failed
paused
ready
active
| amber harbor cobalt hana farah ember failed
ember birch juniper gus eli harbor closed
delta amber fable jules bruno birch closed
fable fable delta lina alice delta pending
delta harbor birch lina kim amber active
ember indigo fable eli dina harbor active
harbor birch fable gus chen juniper paused
grove cobalt grove lin... | failed
closed
closed
pending
active
active
paused
ready
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035140-p1 | Print the final field from every line of the input. | {print $NF} | ember delta ember ivan eli juniper paused
birch delta indigo alice chen birch ready
fable grove grove dina chen ember pending
amber ember harbor alice gus fable pending
cobalt birch harbor hana dina grove pending
ember harbor amber gus gus grove pending
harbor amber fable farah gus indigo failed
fable juniper juniper e... | paused
ready
pending
pending
pending
pending
failed
paused
ready
active
| amber harbor cobalt hana farah ember failed
ember birch juniper gus eli harbor closed
delta amber fable jules bruno birch closed
fable fable delta lina alice delta pending
delta harbor birch lina kim amber active
ember indigo fable eli dina harbor active
harbor birch fable gus chen juniper paused
grove cobalt grove lin... | failed
closed
closed
pending
active
active
paused
ready
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035140 | qwen/qwen3.7-plus |
awkweave-0035141 | Print the complete records where column 4 is less than 47. | $4 < 47 | eli juniper hana 17 failed
kim fable bruno 83 paused
kim fable ivan 75 pending
alice fable jules 4 paused
jules indigo gus 14 closed
dina birch chen 31 ready
| eli juniper hana 17 failed
alice fable jules 4 paused
jules indigo gus 14 closed
dina birch chen 31 ready
| farah harbor hana 91 ready
chen fable ivan 116 active
gus grove kim 80 active
bruno ember chen 10 failed
chen ember alice 65 failed
kim amber chen 21 closed
| bruno ember chen 10 failed
kim amber chen 21 closed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035141-p1 | Output full records where the value in the fourth column is strictly less than 47. | $4 < 47 | eli juniper hana 17 failed
kim fable bruno 83 paused
kim fable ivan 75 pending
alice fable jules 4 paused
jules indigo gus 14 closed
dina birch chen 31 ready
| eli juniper hana 17 failed
alice fable jules 4 paused
jules indigo gus 14 closed
dina birch chen 31 ready
| farah harbor hana 91 ready
chen fable ivan 116 active
gus grove kim 80 active
bruno ember chen 10 failed
chen ember alice 65 failed
kim amber chen 21 closed
| bruno ember chen 10 failed
kim amber chen 21 closed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035141 | qwen/qwen3.7-plus |
awkweave-0035142 | Show whole lines whose 2nd field is between 3 and 29, inclusive. | $2 >= 3 && $2 <= 29 | jules 19 ember cobalt
gus 7 juniper indigo
alice 28 amber juniper
eli 12 fable birch
dina 7 ember indigo
eli 13 ember grove
ivan 12 harbor birch
| jules 19 ember cobalt
gus 7 juniper indigo
alice 28 amber juniper
eli 12 fable birch
dina 7 ember indigo
eli 13 ember grove
ivan 12 harbor birch
| gus 11 harbor fable
jules 4 fable harbor
jules 11 birch birch
eli 29 indigo amber
bruno 7 juniper fable
alice 5 birch amber
ivan 8 harbor ember
bruno 9 indigo indigo
| gus 11 harbor fable
jules 4 fable harbor
jules 11 birch birch
eli 29 indigo amber
bruno 7 juniper fable
alice 5 birch amber
ivan 8 harbor ember
bruno 9 indigo indigo
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035142-p1 | Display entire lines where the second field falls within the inclusive range of 3 to 29. | $2 >= 3 && $2 <= 29 | jules 19 ember cobalt
gus 7 juniper indigo
alice 28 amber juniper
eli 12 fable birch
dina 7 ember indigo
eli 13 ember grove
ivan 12 harbor birch
| jules 19 ember cobalt
gus 7 juniper indigo
alice 28 amber juniper
eli 12 fable birch
dina 7 ember indigo
eli 13 ember grove
ivan 12 harbor birch
| gus 11 harbor fable
jules 4 fable harbor
jules 11 birch birch
eli 29 indigo amber
bruno 7 juniper fable
alice 5 birch amber
ivan 8 harbor ember
bruno 9 indigo indigo
| gus 11 harbor fable
jules 4 fable harbor
jules 11 birch birch
eli 29 indigo amber
bruno 7 juniper fable
alice 5 birch amber
ivan 8 harbor ember
bruno 9 indigo indigo
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035142 | qwen/qwen3.7-plus |
awkweave-0035143 | Print column 3 only for rows where column 1 is exactly ready. | $1 == "ready"{print $3} | pending 114 farah indigo
pending 95 bruno cobalt
ready 111 jules juniper
closed 11 jules amber
ready 0 alice ember
failed 47 ivan fable
failed 15 hana fable
| jules
alice
| ready 25 eli amber
pending 92 dina cobalt
ready 119 kim ember
active 111 chen indigo
failed 40 lina delta
paused 116 chen juniper
active 42 hana indigo
closed 77 jules grove
| eli
kim
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035143-p1 | Output only the third column for rows where the first column is exactly 'ready'. | $1 == "ready"{print $3} | pending 114 farah indigo
pending 95 bruno cobalt
ready 111 jules juniper
closed 11 jules amber
ready 0 alice ember
failed 47 ivan fable
failed 15 hana fable
| jules
alice
| ready 25 eli amber
pending 92 dina cobalt
ready 119 kim ember
active 111 chen indigo
failed 40 lina delta
paused 116 chen juniper
active 42 hana indigo
closed 77 jules grove
| eli
kim
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035143 | qwen/qwen3.7-plus |
awkweave-0035144 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | grove 25 ERROR
indigo 116 ERROR
birch 80 DEBUG
birch 43 DEBUG
delta 76 ERROR
juniper 111 INFO
grove 88 INFO
delta 31 ERROR
cobalt 49 ERROR
| juniper 111 INFO
grove 88 INFO
| birch 71 WARN
harbor 18 DEBUG
juniper 42 ERROR
cobalt 91 WARN
grove 80 WARN
delta 38 INFO
birch 82 DEBUG
| delta 38 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035144-p1 | Print all fields from lines where the third field starts with 'INFO'. | $3 ~ /^INFO/ | grove 25 ERROR
indigo 116 ERROR
birch 80 DEBUG
birch 43 DEBUG
delta 76 ERROR
juniper 111 INFO
grove 88 INFO
delta 31 ERROR
cobalt 49 ERROR
| juniper 111 INFO
grove 88 INFO
| birch 71 WARN
harbor 18 DEBUG
juniper 42 ERROR
cobalt 91 WARN
grove 80 WARN
delta 38 INFO
birch 82 DEBUG
| delta 38 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035144 | qwen/qwen3.7-plus |
awkweave-0035145 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | juniper 5 closed
birch 45 pending
juniper 83 closed
ember 114 active
ember 41 paused
grove 20 ready
birch 17 closed
harbor 999 active
| juniper 5 closed
birch 45 pending
juniper 83 closed
ember 114 active
ember 41 paused
grove 20 ready
birch 17 closed
| indigo 76 pending
indigo 72 paused
grove 0 closed
indigo 66 closed
ember 63 pending
indigo 24 pending
grove 13 paused
harbor 999 active
| indigo 76 pending
indigo 72 paused
grove 0 closed
indigo 66 closed
ember 63 pending
indigo 24 pending
grove 13 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035145-p1 | Output every line that does not contain the exact string 'harbor'. | $0 !~ /harbor/ | juniper 5 closed
birch 45 pending
juniper 83 closed
ember 114 active
ember 41 paused
grove 20 ready
birch 17 closed
harbor 999 active
| juniper 5 closed
birch 45 pending
juniper 83 closed
ember 114 active
ember 41 paused
grove 20 ready
birch 17 closed
| indigo 76 pending
indigo 72 paused
grove 0 closed
indigo 66 closed
ember 63 pending
indigo 24 pending
grove 13 paused
harbor 999 active
| indigo 76 pending
indigo 72 paused
grove 0 closed
indigo 66 closed
ember 63 pending
indigo 24 pending
grove 13 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035145 | qwen/qwen3.7-plus |
awkweave-0035146 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | farah indigo 115
bruno amber 105
eli delta 26
farah delta 36
eli harbor 73
hana cobalt 12
kim indigo 89
alice harbor 45
| farah delta 36
eli harbor 73
| alice amber 73
farah fable 2
hana cobalt 42
jules delta 109
kim grove 75
lina grove 42
jules harbor 103
chen indigo 65
gus ember 85
chen ember 7
| jules delta 109
kim grove 75
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035146-p1 | Display lines 4 through 5, inclusive of both endpoints. | NR >= 4 && NR <= 5 | farah indigo 115
bruno amber 105
eli delta 26
farah delta 36
eli harbor 73
hana cobalt 12
kim indigo 89
alice harbor 45
| farah delta 36
eli harbor 73
| alice amber 73
farah fable 2
hana cobalt 42
jules delta 109
kim grove 75
lina grove 42
jules harbor 103
chen indigo 65
gus ember 85
chen ember 7
| jules delta 109
kim grove 75
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035146 | qwen/qwen3.7-plus |
awkweave-0035147 | Output only the first 5 records. | NR <= 5 | gus 112 ember
dina 33 juniper
hana 117 juniper
jules 11 grove
ivan 46 ember
lina 10 ember
| gus 112 ember
dina 33 juniper
hana 117 juniper
jules 11 grove
ivan 46 ember
| eli 96 ember
alice 13 birch
eli 4 harbor
farah 112 juniper
lina 51 cobalt
alice 0 grove
alice 87 birch
ivan 15 delta
hana 13 cobalt
| eli 96 ember
alice 13 birch
eli 4 harbor
farah 112 juniper
lina 51 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035147-p1 | Output only the first 5 records. | NR <= 5 | gus 112 ember
dina 33 juniper
hana 117 juniper
jules 11 grove
ivan 46 ember
lina 10 ember
| gus 112 ember
dina 33 juniper
hana 117 juniper
jules 11 grove
ivan 46 ember
| eli 96 ember
alice 13 birch
eli 4 harbor
farah 112 juniper
lina 51 cobalt
alice 0 grove
alice 87 birch
ivan 15 delta
hana 13 cobalt
| eli 96 ember
alice 13 birch
eli 4 harbor
farah 112 juniper
lina 51 cobalt
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0035147 | qwen/qwen3.7-plus |
awkweave-0035148 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 43 fable
chen 26 amber
bruno 117 juniper
dina 118 amber
farah 52 ember
kim 40 grove
alice 24 grove
| chen 26 amber
bruno 117 juniper
dina 118 amber
farah 52 ember
kim 40 grove
alice 24 grove
| alice 2 fable
hana 49 birch
chen 14 indigo
bruno 77 birch
chen 16 amber
eli 74 indigo
ivan 109 harbor
eli 32 juniper
alice 89 indigo
jules 110 indigo
| hana 49 birch
chen 14 indigo
bruno 77 birch
chen 16 amber
eli 74 indigo
ivan 109 harbor
eli 32 juniper
alice 89 indigo
jules 110 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035148-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | bruno 43 fable
chen 26 amber
bruno 117 juniper
dina 118 amber
farah 52 ember
kim 40 grove
alice 24 grove
| chen 26 amber
bruno 117 juniper
dina 118 amber
farah 52 ember
kim 40 grove
alice 24 grove
| alice 2 fable
hana 49 birch
chen 14 indigo
bruno 77 birch
chen 16 amber
eli 74 indigo
ivan 109 harbor
eli 32 juniper
alice 89 indigo
jules 110 indigo
| hana 49 birch
chen 14 indigo
bruno 77 birch
chen 16 amber
eli 74 indigo
ivan 109 harbor
eli 32 juniper
alice 89 indigo
jules 110 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035148 | qwen/qwen3.7-plus |
awkweave-0035149 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | alice pending 100
jules failed 86
ivan failed 84
kim pending 15
eli pending 75
eli closed 54
hana active 79
gus ready 98
alice active 108
gus paused 14
| 2
| jules failed 108
lina pending 30
alice pending 116
ivan closed 13
chen closed 110
gus paused 88
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035149-p1 | Count the number of records with 'active' in the second column; output 0 if none exist. | $2 == "active"{n++}END{print n+0} | alice pending 100
jules failed 86
ivan failed 84
kim pending 15
eli pending 75
eli closed 54
hana active 79
gus ready 98
alice active 108
gus paused 14
| 2
| jules failed 108
lina pending 30
alice pending 116
ivan closed 13
chen closed 110
gus paused 88
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035149 | qwen/qwen3.7-plus |
awkweave-0035150 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | gus fable 16
farah birch 19
gus delta 14
alice birch 30
lina harbor 25
farah harbor 20
| 124
| farah grove 21
lina ember 22
ivan harbor 15
hana grove 14
lina birch 17
hana juniper 2
lina birch 16
dina delta 24
farah amber 17
hana grove 17
| 165
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035150-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | gus fable 16
farah birch 19
gus delta 14
alice birch 30
lina harbor 25
farah harbor 20
| 124
| farah grove 21
lina ember 22
ivan harbor 15
hana grove 14
lina birch 17
hana juniper 2
lina birch 16
dina delta 24
farah amber 17
hana grove 17
| 165
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035150 | qwen/qwen3.7-plus |
awkweave-0035151 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | delta 28 gus
grove 26 dina
ember 13 eli
amber 22 ivan
harbor 11 lina
cobalt 29 farah
ember 12 gus
cobalt 25 kim
| 20.75
| ember 23 bruno
amber 25 kim
fable 5 bruno
juniper 19 gus
ember 14 hana
juniper 9 hana
juniper 2 gus
indigo 19 hana
cobalt 12 lina
| 14.22
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035151-p1 | Calculate and print the average of the second column, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | delta 28 gus
grove 26 dina
ember 13 eli
amber 22 ivan
harbor 11 lina
cobalt 29 farah
ember 12 gus
cobalt 25 kim
| 20.75
| ember 23 bruno
amber 25 kim
fable 5 bruno
juniper 19 gus
ember 14 hana
juniper 9 hana
juniper 2 gus
indigo 19 hana
cobalt 12 lina
| 14.22
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035151 | qwen/qwen3.7-plus |
awkweave-0035152 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember gus 2
indigo eli 21
delta farah 21
indigo hana 14
harbor ivan 11
indigo lina 30
birch kim 21
fable gus 14
delta chen 12
cobalt dina 10
| 2
| birch bruno 21
harbor eli 4
delta jules 12
ember gus 9
birch kim 2
juniper farah 3
harbor alice 14
indigo farah 9
indigo bruno 2
juniper lina 10
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035152-p1 | Identify and print the minimum numeric value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember gus 2
indigo eli 21
delta farah 21
indigo hana 14
harbor ivan 11
indigo lina 30
birch kim 21
fable gus 14
delta chen 12
cobalt dina 10
| 2
| birch bruno 21
harbor eli 4
delta jules 12
ember gus 9
birch kim 2
juniper farah 3
harbor alice 14
indigo farah 9
indigo bruno 2
juniper lina 10
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035152 | qwen/qwen3.7-plus |
awkweave-0035153 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | jules ember 26
dina ember 30
alice harbor 15
ivan cobalt 27
alice harbor 15
alice delta 4
farah juniper 23
jules indigo 19
| 30
| kim grove 21
bruno amber 28
chen birch 4
hana birch 25
kim ember 15
hana juniper 13
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035153-p1 | Identify and print the maximum numeric value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | jules ember 26
dina ember 30
alice harbor 15
ivan cobalt 27
alice harbor 15
alice delta 4
farah juniper 23
jules indigo 19
| 30
| kim grove 21
bruno amber 28
chen birch 4
hana birch 25
kim ember 15
hana juniper 13
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035153 | qwen/qwen3.7-plus |
awkweave-0035154 | Count all input records and print the total. | END{print NR} | kim 57
alice 64
eli 93
ivan 93
hana 56
farah 104
lina 40
eli 112
| 8
| jules 30
chen 37
gus 35
ivan 12
hana 103
lina 22
chen 12
lina 20
chen 27
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035154-p1 | Output the total count of all input records. | END{print NR} | kim 57
alice 64
eli 93
ivan 93
hana 56
farah 104
lina 40
eli 112
| 8
| jules 30
chen 37
gus 35
ivan 12
hana 103
lina 22
chen 12
lina 20
chen 27
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035154 | qwen/qwen3.7-plus |
awkweave-0035155 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli fable 93
hana birch 56
dina harbor 49
kim fable 22
alice grove 41
hana delta 41
hana ember 116
eli birch 118
dina harbor 49
| eli fable 93
hana birch 56
dina harbor 49
kim fable 22
alice grove 41
hana delta 41
hana ember 116
eli birch 118
| lina cobalt 26
dina birch 14
gus harbor 92
lina cobalt 10
farah cobalt 35
chen birch 58
gus harbor 92
| lina cobalt 26
dina birch 14
gus harbor 92
lina cobalt 10
farah cobalt 35
chen birch 58
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035155-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | eli fable 93
hana birch 56
dina harbor 49
kim fable 22
alice grove 41
hana delta 41
hana ember 116
eli birch 118
dina harbor 49
| eli fable 93
hana birch 56
dina harbor 49
kim fable 22
alice grove 41
hana delta 41
hana ember 116
eli birch 118
| lina cobalt 26
dina birch 14
gus harbor 92
lina cobalt 10
farah cobalt 35
chen birch 58
gus harbor 92
| lina cobalt 26
dina birch 14
gus harbor 92
lina cobalt 10
farah cobalt 35
chen birch 58
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035155 | qwen/qwen3.7-plus |
awkweave-0035156 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | dina amber 69
jules cobalt 75
gus harbor 60
eli grove 102
gus fable 119
jules birch 35
ivan fable 72
kim delta 90
hana delta 94
farah cobalt 77
| dina amber 69
jules cobalt 75
gus harbor 60
eli grove 102
ivan fable 72
kim delta 90
hana delta 94
farah cobalt 77
| jules fable 58
chen grove 109
kim ember 19
chen grove 81
chen harbor 63
chen ember 31
dina juniper 75
| jules fable 58
chen grove 109
kim ember 19
dina juniper 75
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035156-p1 | Retain only the initial line for every unique value found in column 1, ensuring the original input order is preserved. | !seen[$1]++ | dina amber 69
jules cobalt 75
gus harbor 60
eli grove 102
gus fable 119
jules birch 35
ivan fable 72
kim delta 90
hana delta 94
farah cobalt 77
| dina amber 69
jules cobalt 75
gus harbor 60
eli grove 102
ivan fable 72
kim delta 90
hana delta 94
farah cobalt 77
| jules fable 58
chen grove 109
kim ember 19
chen grove 81
chen harbor 63
chen ember 31
dina juniper 75
| jules fable 58
chen grove 109
kim ember 19
dina juniper 75
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035156 | qwen/qwen3.7-plus |
awkweave-0035157 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | hana 12 fable
bruno 4 birch
alice 13 indigo
alice 16 delta
chen 8 delta
jules 11 birch
jules 8 ember
| hana 12
bruno 16
alice 29
alice 45
chen 53
jules 64
jules 72
| bruno 20 fable
gus 16 juniper
ivan 6 ember
chen 14 birch
ivan 26 delta
kim 22 harbor
lina 15 ember
| bruno 20
gus 36
ivan 42
chen 56
ivan 82
kim 104
lina 119
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035157-p1 | For each entry, output column 1 alongside the cumulative sum of column 2, using a space as the delimiter. | {s+=$2;print $1,s} | hana 12 fable
bruno 4 birch
alice 13 indigo
alice 16 delta
chen 8 delta
jules 11 birch
jules 8 ember
| hana 12
bruno 16
alice 29
alice 45
chen 53
jules 64
jules 72
| bruno 20 fable
gus 16 juniper
ivan 6 ember
chen 14 birch
ivan 26 delta
kim 22 harbor
lina 15 ember
| bruno 20
gus 36
ivan 42
chen 56
ivan 82
kim 104
lina 119
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035157 | qwen/qwen3.7-plus |
awkweave-0035158 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 8 13 harbor
hana 23 20 indigo
hana 20 26 fable
alice 7 26 grove
bruno 14 24 indigo
eli 18 8 amber
dina 26 18 juniper
chen 29 2 cobalt
eli 3 13 fable
| gus 21
hana 43
hana 46
alice 33
bruno 38
eli 26
dina 44
chen 31
eli 16
| eli 20 4 grove
lina 17 15 cobalt
bruno 30 7 harbor
bruno 13 18 ember
eli 6 27 indigo
alice 15 13 birch
farah 20 3 amber
chen 16 10 grove
hana 27 13 indigo
| eli 24
lina 32
bruno 37
bruno 31
eli 33
alice 28
farah 23
chen 26
hana 40
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035158-p1 | Display field 1 followed by the aggregate of fields 2 and 3 for every row. | {print $1,$2+$3} | gus 8 13 harbor
hana 23 20 indigo
hana 20 26 fable
alice 7 26 grove
bruno 14 24 indigo
eli 18 8 amber
dina 26 18 juniper
chen 29 2 cobalt
eli 3 13 fable
| gus 21
hana 43
hana 46
alice 33
bruno 38
eli 26
dina 44
chen 31
eli 16
| eli 20 4 grove
lina 17 15 cobalt
bruno 30 7 harbor
bruno 13 18 ember
eli 6 27 indigo
alice 15 13 birch
farah 20 3 amber
chen 16 10 grove
hana 27 13 indigo
| eli 24
lina 32
bruno 37
bruno 31
eli 33
alice 28
farah 23
chen 26
hana 40
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035158 | qwen/qwen3.7-plus |
awkweave-0035159 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | jules 21
chen 13
farah 18
bruno 16
lina 9
eli 14
chen 22
dina 19
farah 3
jules 21
| jules fail
chen fail
farah fail
bruno fail
lina fail
eli fail
chen fail
dina fail
farah fail
jules fail
| jules 5
bruno 4
dina 26
hana 18
hana 16
ivan 9
| jules fail
bruno fail
dina pass
hana fail
hana fail
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035159-p1 | Output column 1 along with 'pass' if column 2 is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | jules 21
chen 13
farah 18
bruno 16
lina 9
eli 14
chen 22
dina 19
farah 3
jules 21
| jules fail
chen fail
farah fail
bruno fail
lina fail
eli fail
chen fail
dina fail
farah fail
jules fail
| jules 5
bruno 4
dina 26
hana 18
hana 16
ivan 9
| jules fail
bruno fail
dina pass
hana fail
hana fail
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035159 | qwen/qwen3.7-plus |
awkweave-0035160 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | kim juniper 26
bruno juniper 47
hana amber 101
chen amber 108
alice delta 15
ivan birch 61
chen harbor 20
chen indigo 46
alice harbor 35
| JUNIPER
JUNIPER
AMBER
AMBER
DELTA
BIRCH
HARBOR
INDIGO
HARBOR
| lina delta 78
dina ember 12
jules grove 80
chen delta 71
farah indigo 4
kim birch 59
| DELTA
EMBER
GROVE
DELTA
INDIGO
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035160-p1 | Transform column 2 to uppercase letters and display only this modified column. | {print toupper($2)} | kim juniper 26
bruno juniper 47
hana amber 101
chen amber 108
alice delta 15
ivan birch 61
chen harbor 20
chen indigo 46
alice harbor 35
| JUNIPER
JUNIPER
AMBER
AMBER
DELTA
BIRCH
HARBOR
INDIGO
HARBOR
| lina delta 78
dina ember 12
jules grove 80
chen delta 71
farah indigo 4
kim birch 59
| DELTA
EMBER
GROVE
DELTA
INDIGO
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035160 | qwen/qwen3.7-plus |
awkweave-0035161 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | ember 71
grove 18
delta 84
indigo 66
birch 3
juniper 106
amber 51
juniper 11
| em
gr
de
in
bi
ju
am
ju
| amber 57
cobalt 25
cobalt 87
cobalt 9
ember 55
grove 10
ember 33
| am
co
co
co
em
gr
em
| substring | 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.