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-0006720-p1 | Output the average of the first column, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 3 gus ember
20 eli amber
13 bruno juniper
13 jules indigo
14 farah delta
15 gus grove
17 bruno amber
16 lina cobalt
20 ivan indigo
| 14.56
| 7 hana fable
19 hana fable
26 chen birch
9 ivan ember
14 hana birch
9 farah grove
25 lina amber
| 15.57
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006720 | qwen/qwen3.7-plus |
awkweave-0006721 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 fable dina
14 harbor gus
5 ember dina
9 indigo kim
21 fable chen
3 birch bruno
16 amber jules
6 grove alice
12 fable alice
13 indigo ivan
| 1
| 22 fable kim
26 birch kim
6 amber gus
5 fable eli
18 fable ivan
12 fable chen
5 delta gus
1 fable bruno
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006721-p1 | Identify and print the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 fable dina
14 harbor gus
5 ember dina
9 indigo kim
21 fable chen
3 birch bruno
16 amber jules
6 grove alice
12 fable alice
13 indigo ivan
| 1
| 22 fable kim
26 birch kim
6 amber gus
5 fable eli
18 fable ivan
12 fable chen
5 delta gus
1 fable bruno
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006721 | qwen/qwen3.7-plus |
awkweave-0006722 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 16 gus
harbor 24 ivan
cobalt 27 chen
fable 1 farah
indigo 28 alice
harbor 15 chen
juniper 30 chen
fable 18 chen
fable 20 hana
| 30
| delta 1 farah
cobalt 10 farah
amber 7 ivan
juniper 6 kim
delta 22 farah
amber 6 chen
delta 9 alice
| 22
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006722-p1 | Identify and print the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 16 gus
harbor 24 ivan
cobalt 27 chen
fable 1 farah
indigo 28 alice
harbor 15 chen
juniper 30 chen
fable 18 chen
fable 20 hana
| 30
| delta 1 farah
cobalt 10 farah
amber 7 ivan
juniper 6 kim
delta 22 farah
amber 6 chen
delta 9 alice
| 22
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006722 | qwen/qwen3.7-plus |
awkweave-0006723 | Count all input records and print the total. | END{print NR} | farah 8
hana 24
kim 106
jules 112
dina 10
farah 5
alice 37
lina 14
chen 108
| 9
| lina 45
dina 76
alice 88
lina 62
farah 42
dina 64
farah 94
alice 120
eli 46
ivan 27
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006723-p1 | Count the total number of input records and display the result. | END{print NR} | farah 8
hana 24
kim 106
jules 112
dina 10
farah 5
alice 37
lina 14
chen 108
| 9
| lina 45
dina 76
alice 88
lina 62
farah 42
dina 64
farah 94
alice 120
eli 46
ivan 27
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006723 | qwen/qwen3.7-plus |
awkweave-0006724 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen fable 90
alice amber 79
bruno birch 45
bruno amber 42
bruno juniper 109
bruno birch 45
eli indigo 20
gus birch 108
alice indigo 66
| chen fable 90
alice amber 79
bruno birch 45
bruno amber 42
bruno juniper 109
eli indigo 20
gus birch 108
alice indigo 66
| dina fable 46
gus delta 93
ivan birch 105
farah indigo 116
gus cobalt 62
farah fable 42
lina juniper 55
hana cobalt 83
farah fable 42
bruno fable 23
| dina fable 46
gus delta 93
ivan birch 105
farah indigo 116
gus cobalt 62
farah fable 42
lina juniper 55
hana cobalt 83
bruno fable 23
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006724-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance. | !seen[$0]++ | chen fable 90
alice amber 79
bruno birch 45
bruno amber 42
bruno juniper 109
bruno birch 45
eli indigo 20
gus birch 108
alice indigo 66
| chen fable 90
alice amber 79
bruno birch 45
bruno amber 42
bruno juniper 109
eli indigo 20
gus birch 108
alice indigo 66
| dina fable 46
gus delta 93
ivan birch 105
farah indigo 116
gus cobalt 62
farah fable 42
lina juniper 55
hana cobalt 83
farah fable 42
bruno fable 23
| dina fable 46
gus delta 93
ivan birch 105
farah indigo 116
gus cobalt 62
farah fable 42
lina juniper 55
hana cobalt 83
bruno fable 23
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006724 | qwen/qwen3.7-plus |
awkweave-0006725 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | dina ember 51
ivan amber 25
eli fable 100
alice grove 2
dina amber 64
jules amber 21
| dina ember 51
ivan amber 25
eli fable 100
alice grove 2
dina amber 64
jules amber 21
| hana juniper 49
jules juniper 6
alice birch 117
eli indigo 49
jules fable 45
gus juniper 117
| hana juniper 49
jules juniper 6
alice birch 117
jules fable 45
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006725-p1 | Retain only the initial line for every unique value in the third column, preserving the original sequence. | !seen[$3]++ | dina ember 51
ivan amber 25
eli fable 100
alice grove 2
dina amber 64
jules amber 21
| dina ember 51
ivan amber 25
eli fable 100
alice grove 2
dina amber 64
jules amber 21
| hana juniper 49
jules juniper 6
alice birch 117
eli indigo 49
jules fable 45
gus juniper 117
| hana juniper 49
jules juniper 6
alice birch 117
jules fable 45
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006725 | qwen/qwen3.7-plus |
awkweave-0006726 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 6 grove
ivan 5 cobalt
ivan 10 grove
bruno 16 fable
ivan 6 harbor
bruno 12 indigo
alice 25 juniper
farah 13 delta
| chen 6
ivan 11
ivan 21
bruno 37
ivan 43
bruno 55
alice 80
farah 93
| kim 14 ember
chen 8 juniper
farah 4 grove
gus 24 delta
eli 16 harbor
chen 4 juniper
jules 8 delta
chen 14 indigo
| kim 14
chen 22
farah 26
gus 50
eli 66
chen 70
jules 78
chen 92
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006726-p1 | For each entry, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | chen 6 grove
ivan 5 cobalt
ivan 10 grove
bruno 16 fable
ivan 6 harbor
bruno 12 indigo
alice 25 juniper
farah 13 delta
| chen 6
ivan 11
ivan 21
bruno 37
ivan 43
bruno 55
alice 80
farah 93
| kim 14 ember
chen 8 juniper
farah 4 grove
gus 24 delta
eli 16 harbor
chen 4 juniper
jules 8 delta
chen 14 indigo
| kim 14
chen 22
farah 26
gus 50
eli 66
chen 70
jules 78
chen 92
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006726 | qwen/qwen3.7-plus |
awkweave-0006727 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | bruno 21 22 amber
lina 11 5 ember
kim 17 13 grove
alice 30 8 amber
alice 20 19 indigo
hana 3 23 cobalt
bruno 27 7 grove
kim 26 8 birch
| bruno 43
lina 16
kim 30
alice 38
alice 39
hana 26
bruno 34
kim 34
| hana 25 20 indigo
eli 3 8 indigo
hana 16 23 birch
alice 25 3 harbor
hana 24 11 amber
gus 4 16 cobalt
alice 1 11 delta
| hana 45
eli 11
hana 39
alice 28
hana 35
gus 20
alice 12
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006727-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | bruno 21 22 amber
lina 11 5 ember
kim 17 13 grove
alice 30 8 amber
alice 20 19 indigo
hana 3 23 cobalt
bruno 27 7 grove
kim 26 8 birch
| bruno 43
lina 16
kim 30
alice 38
alice 39
hana 26
bruno 34
kim 34
| hana 25 20 indigo
eli 3 8 indigo
hana 16 23 birch
alice 25 3 harbor
hana 24 11 amber
gus 4 16 cobalt
alice 1 11 delta
| hana 45
eli 11
hana 39
alice 28
hana 35
gus 20
alice 12
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006727 | qwen/qwen3.7-plus |
awkweave-0006728 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | bruno 19
hana 2
lina 10
hana 5
kim 16
dina 11
gus 30
| bruno fail
hana fail
lina fail
hana fail
kim fail
dina fail
gus pass
| dina 28
alice 5
gus 16
dina 22
hana 4
alice 22
| dina pass
alice fail
gus fail
dina pass
hana fail
alice pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006728-p1 | Display the first column along with 'pass' if the second column is 22 or higher, otherwise display 'fail'. | {print $1,($2>=22?"pass":"fail")} | bruno 19
hana 2
lina 10
hana 5
kim 16
dina 11
gus 30
| bruno fail
hana fail
lina fail
hana fail
kim fail
dina fail
gus pass
| dina 28
alice 5
gus 16
dina 22
hana 4
alice 22
| dina pass
alice fail
gus fail
dina pass
hana fail
alice pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006728 | qwen/qwen3.7-plus |
awkweave-0006729 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | lina ember 102
bruno indigo 107
bruno harbor 2
chen indigo 66
dina amber 115
jules cobalt 107
| LINA
BRUNO
BRUNO
CHEN
DINA
JULES
| lina birch 73
farah fable 23
gus juniper 65
jules cobalt 71
ivan fable 50
gus indigo 76
farah amber 60
ivan ember 77
chen amber 94
| LINA
FARAH
GUS
JULES
IVAN
GUS
FARAH
IVAN
CHEN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006729-p1 | Transform the first column to uppercase and output only that column. | {print toupper($1)} | lina ember 102
bruno indigo 107
bruno harbor 2
chen indigo 66
dina amber 115
jules cobalt 107
| LINA
BRUNO
BRUNO
CHEN
DINA
JULES
| lina birch 73
farah fable 23
gus juniper 65
jules cobalt 71
ivan fable 50
gus indigo 76
farah amber 60
ivan ember 77
chen amber 94
| LINA
FARAH
GUS
JULES
IVAN
GUS
FARAH
IVAN
CHEN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006729 | qwen/qwen3.7-plus |
awkweave-0006730 | From column 1, print 2 characters starting at character 1. | {print substr($1,1,2)} | delta 43
harbor 66
cobalt 111
cobalt 90
birch 107
ember 108
harbor 82
delta 66
ember 94
| de
ha
co
co
bi
em
ha
de
em
| grove 46
cobalt 13
indigo 36
juniper 23
indigo 78
ember 89
amber 118
| gr
co
in
ju
in
em
am
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006730-p1 | Extract and display the first 2 characters from the first column. | {print substr($1,1,2)} | delta 43
harbor 66
cobalt 111
cobalt 90
birch 107
ember 108
harbor 82
delta 66
ember 94
| de
ha
co
co
bi
em
ha
de
em
| grove 46
cobalt 13
indigo 36
juniper 23
indigo 78
ember 89
amber 118
| gr
co
in
ju
in
em
am
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006730 | qwen/qwen3.7-plus |
awkweave-0006731 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_harbor 28
delta_ember 23
ember_fable 118
ember_fable 75
delta_harbor 51
grove_amber 93
harbor_fable 48
birch_ember 50
amber_amber 8
| birch harbor
delta ember
ember fable
ember fable
delta harbor
grove amber
harbor fable
birch ember
amber amber
| harbor_harbor 27
birch_indigo 33
amber_delta 53
juniper_grove 113
cobalt_harbor 16
birch_indigo 26
juniper_fable 39
ember_delta 11
| harbor harbor
birch indigo
amber delta
juniper grove
cobalt harbor
birch indigo
juniper fable
ember delta
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006731-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_harbor 28
delta_ember 23
ember_fable 118
ember_fable 75
delta_harbor 51
grove_amber 93
harbor_fable 48
birch_ember 50
amber_amber 8
| birch harbor
delta ember
ember fable
ember fable
delta harbor
grove amber
harbor fable
birch ember
amber amber
| harbor_harbor 27
birch_indigo 33
amber_delta 53
juniper_grove 113
cobalt_harbor 16
birch_indigo 26
juniper_fable 39
ember_delta 11
| harbor harbor
birch indigo
amber delta
juniper grove
cobalt harbor
birch indigo
juniper fable
ember delta
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006731 | qwen/qwen3.7-plus |
awkweave-0006732 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen juniper 21 closed
jules harbor 118 pending
eli birch 69 paused
kim cobalt 95 closed
dina cobalt 41 paused
hana ember 33 paused
ivan juniper 92 failed
gus harbor 43 active
| closed 21 juniper chen
pending 118 harbor jules
paused 69 birch eli
closed 95 cobalt kim
paused 41 cobalt dina
paused 33 ember hana
failed 92 juniper ivan
active 43 harbor gus
| hana juniper 43 failed
gus birch 22 active
kim fable 6 active
alice ember 47 pending
lina birch 51 paused
alice juniper 73 closed
| failed 43 juniper hana
active 22 birch gus
active 6 fable kim
pending 47 ember alice
paused 51 birch lina
closed 73 juniper alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006732-p1 | Reverse the sequence of fields in each line and print every field. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen juniper 21 closed
jules harbor 118 pending
eli birch 69 paused
kim cobalt 95 closed
dina cobalt 41 paused
hana ember 33 paused
ivan juniper 92 failed
gus harbor 43 active
| closed 21 juniper chen
pending 118 harbor jules
paused 69 birch eli
closed 95 cobalt kim
paused 41 cobalt dina
paused 33 ember hana
failed 92 juniper ivan
active 43 harbor gus
| hana juniper 43 failed
gus birch 22 active
kim fable 6 active
alice ember 47 pending
lina birch 51 paused
alice juniper 73 closed
| failed 43 juniper hana
active 22 birch gus
active 6 fable kim
pending 47 ember alice
paused 51 birch lina
closed 73 juniper alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006732 | qwen/qwen3.7-plus |
awkweave-0006733 | Print the number of whitespace-separated fields on each line. | {print NF} | alice harbor 39 failed
kim grove 60 active
eli amber 45 active
farah indigo 51 active
jules delta 38 active
hana cobalt 64 pending
chen harbor 108 paused
dina fable 76 ready
farah harbor 90 closed
| 4
4
4
4
4
4
4
4
4
| eli indigo 35 failed
alice indigo 76 ready
dina harbor 48 ready
dina ember 59 closed
lina juniper 49 pending
chen indigo 44 failed
jules fable 45 failed
alice fable 54 failed
eli fable 73 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006733-p1 | Output the count of whitespace-delimited fields for each line. | {print NF} | alice harbor 39 failed
kim grove 60 active
eli amber 45 active
farah indigo 51 active
jules delta 38 active
hana cobalt 64 pending
chen harbor 108 paused
dina fable 76 ready
farah harbor 90 closed
| 4
4
4
4
4
4
4
4
4
| eli indigo 35 failed
alice indigo 76 ready
dina harbor 48 ready
dina ember 59 closed
lina juniper 49 pending
chen indigo 44 failed
jules fable 45 failed
alice fable 54 failed
eli fable 73 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006733 | qwen/qwen3.7-plus |
awkweave-0006734 | 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]]} | chen beta 88
hana gamma 48
dina alpha 12
bruno gamma 74
kim gamma 108
gus alpha 79
bruno alpha 63
eli gamma 69
alice delta 30
| beta 1
gamma 4
alpha 3
delta 1
| ivan gamma 71
farah beta 100
farah beta 66
kim gamma 77
chen gamma 42
ivan alpha 18
jules gamma 90
dina delta 68
hana beta 41
| gamma 4
beta 3
alpha 1
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006734-p1 | Tally the occurrences of each unique value in column 2, then list each value alongside its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | chen beta 88
hana gamma 48
dina alpha 12
bruno gamma 74
kim gamma 108
gus alpha 79
bruno alpha 63
eli gamma 69
alice delta 30
| beta 1
gamma 4
alpha 3
delta 1
| ivan gamma 71
farah beta 100
farah beta 66
kim gamma 77
chen gamma 42
ivan alpha 18
jules gamma 90
dina delta 68
hana beta 41
| gamma 4
beta 3
alpha 1
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006734 | qwen/qwen3.7-plus |
awkweave-0006735 | 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]]} | kim beta 14
dina gamma 23
chen beta 8
lina beta 27
farah gamma 26
farah beta 11
chen delta 15
jules alpha 11
| beta 60
gamma 49
delta 15
alpha 11
| lina alpha 19
eli delta 17
bruno beta 14
bruno delta 26
ivan gamma 27
bruno beta 23
alice gamma 15
| alpha 19
delta 43
beta 37
gamma 42
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006735-p1 | Calculate the sum of column 3 grouped by column 2 categories, displaying the results in the order of the category's 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]]} | kim beta 14
dina gamma 23
chen beta 8
lina beta 27
farah gamma 26
farah beta 11
chen delta 15
jules alpha 11
| beta 60
gamma 49
delta 15
alpha 11
| lina alpha 19
eli delta 17
bruno beta 14
bruno delta 26
ivan gamma 27
bruno beta 23
alice gamma 15
| alpha 19
delta 43
beta 37
gamma 42
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006735 | qwen/qwen3.7-plus |
awkweave-0006736 | 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]]} | gamma ember 95
alpha ember 81
beta ember 86
gamma cobalt 20
delta juniper 108
beta indigo 104
alpha harbor 98
| gamma 2
alpha 2
beta 2
| delta birch 68
delta harbor 14
beta ember 9
delta indigo 85
beta harbor 85
delta birch 8
gamma birch 18
alpha ember 98
delta birch 32
beta harbor 36
| delta 5
beta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006736-p1 | List each duplicate value from column 1 along with its frequency, sorted by the order of first occurrence. | {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]]} | gamma ember 95
alpha ember 81
beta ember 86
gamma cobalt 20
delta juniper 108
beta indigo 104
alpha harbor 98
| gamma 2
alpha 2
beta 2
| delta birch 68
delta harbor 14
beta ember 9
delta indigo 85
beta harbor 85
delta birch 8
gamma birch 18
alpha ember 98
delta birch 32
beta harbor 36
| delta 5
beta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006736 | qwen/qwen3.7-plus |
awkweave-0006737 | 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"]} | display_name record_id state score
r001 jules 27 active
r002 lina 29 closed
r003 chen 17 failed
r004 eli 21 paused
r005 gus 24 pending
r006 lina 26 active
r007 gus 19 ready
r008 jules 24 closed
| active
closed
failed
paused
pending
active
ready
closed
| display_name record_id state score
r001 kim 24 ready
r002 chen 8 pending
r003 eli 3 failed
r004 gus 13 pending
r005 hana 18 paused
r006 gus 11 active
r007 eli 11 active
r008 eli 11 active
r009 ivan 7 failed
| ready
pending
failed
pending
paused
active
active
active
failed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006737-p1 | Treating the first row as a header, output the values from the score column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | display_name record_id state score
r001 jules 27 active
r002 lina 29 closed
r003 chen 17 failed
r004 eli 21 paused
r005 gus 24 pending
r006 lina 26 active
r007 gus 19 ready
r008 jules 24 closed
| active
closed
failed
paused
pending
active
ready
closed
| display_name record_id state score
r001 kim 24 ready
r002 chen 8 pending
r003 eli 3 failed
r004 gus 13 pending
r005 hana 18 paused
r006 gus 11 active
r007 eli 11 active
r008 eli 11 active
r009 ivan 7 failed
| ready
pending
failed
pending
paused
active
active
active
failed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006737 | qwen/qwen3.7-plus |
awkweave-0006738 | The first row is a header. Print display_name for data rows whose score is greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 alice 28 pending
r002 kim 27 closed
r003 eli 5 failed
r004 bruno 16 active
r005 lina 10 paused
r006 kim 29 active
r007 lina 26 pending
r008 hana 10 pending
r009 farah 18 failed
r010 alice 14 pending
| alice
kim
kim
lina
farah
| record_id display_name score state
r001 bruno 16 pending
r002 lina 29 failed
r003 kim 28 active
r004 hana 3 ready
r005 gus 24 ready
r006 lina 21 active
r007 eli 7 paused
r008 jules 29 paused
r009 dina 11 closed
r010 kim 8 failed
| lina
kim
gus
lina
jules
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006738-p1 | Ignoring the header row, print the display_name field for records where the score is strictly greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 alice 28 pending
r002 kim 27 closed
r003 eli 5 failed
r004 bruno 16 active
r005 lina 10 paused
r006 kim 29 active
r007 lina 26 pending
r008 hana 10 pending
r009 farah 18 failed
r010 alice 14 pending
| alice
kim
kim
lina
farah
| record_id display_name score state
r001 bruno 16 pending
r002 lina 29 failed
r003 kim 28 active
r004 hana 3 ready
r005 gus 24 ready
r006 lina 21 active
r007 eli 7 paused
r008 jules 29 paused
r009 dina 11 closed
r010 kim 8 failed
| lina
kim
gus
lina
jules
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006738 | qwen/qwen3.7-plus |
awkweave-0006739 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | lina 17 paused
ivan 30 active
farah 14 closed
gus 3 failed
farah 26 closed
dina 6 closed
farah 9 active
| 17
30
14
3
26
6
9
| ivan 30 active
chen 9 active
lina 15 ready
kim 11 pending
alice 18 paused
eli 17 pending
kim 5 pending
bruno 28 ready
alice 7 pending
| 30
9
15
11
18
17
5
28
7
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006739-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | lina 17 paused
ivan 30 active
farah 14 closed
gus 3 failed
farah 26 closed
dina 6 closed
farah 9 active
| 17
30
14
3
26
6
9
| ivan 30 active
chen 9 active
lina 15 ready
kim 11 pending
alice 18 paused
eli 17 pending
kim 5 pending
bruno 28 ready
alice 7 pending
| 30
9
15
11
18
17
5
28
7
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006739 | qwen/qwen3.7-plus |
awkweave-0006740 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | kim,15,ready
gus,22,active
gus,3,active
farah,6,closed
bruno,15,closed
jules,25,failed
| kim
gus
bruno
jules
| hana,3,closed
lina,13,paused
ivan,17,pending
eli,26,closed
jules,17,pending
eli,14,closed
| lina
ivan
eli
jules
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006740-p1 | For simple comma-separated input without quoted commas, print the first column if the value in the second column is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | kim,15,ready
gus,22,active
gus,3,active
farah,6,closed
bruno,15,closed
jules,25,failed
| kim
gus
bruno
jules
| hana,3,closed
lina,13,paused
ivan,17,pending
eli,26,closed
jules,17,pending
eli,14,closed
| lina
ivan
eli
jules
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006740 | qwen/qwen3.7-plus |
awkweave-0006741 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | hana ember 20
eli delta 102
gus fable 42
farah birch 19
gus amber 12
jules indigo 64
lina harbor 39
ivan birch 20
eli delta 100
| hana ember 20
eli delta 102
gus fable 42
farah birch 19
gus amber 12
jules indigo 64
lina harbor 39
ivan birch 20
eli delta 100
| kim delta 91
dina ember 49
ivan fable 92
eli juniper 114
chen juniper 120
chen cobalt 21
lina fable 103
| kim delta 91
dina ember 49
ivan fable 92
eli juniper 114
chen juniper 120
chen cobalt 21
lina fable 103
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006741-p1 | Remove leading and trailing whitespace and replace sequences of internal whitespace with a single space. | {$1=$1;print} | hana ember 20
eli delta 102
gus fable 42
farah birch 19
gus amber 12
jules indigo 64
lina harbor 39
ivan birch 20
eli delta 100
| hana ember 20
eli delta 102
gus fable 42
farah birch 19
gus amber 12
jules indigo 64
lina harbor 39
ivan birch 20
eli delta 100
| kim delta 91
dina ember 49
ivan fable 92
eli juniper 114
chen juniper 120
chen cobalt 21
lina fable 103
| kim delta 91
dina ember 49
ivan fable 92
eli juniper 114
chen juniper 120
chen cobalt 21
lina fable 103
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006741 | qwen/qwen3.7-plus |
awkweave-0006742 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim harbor 82 closed
chen indigo 3 failed
ivan birch 75 active
chen indigo 111 active
ivan delta 83 failed
farah birch 15 failed
chen juniper 62 pending
lina grove 27 closed
dina delta 109 ready
dina cobalt 86 active
| chen juniper 62 pending
| bruno delta 20 ready
bruno amber 80 paused
gus harbor 74 failed
kim indigo 59 pending
bruno birch 98 pending
farah cobalt 28 closed
bruno juniper 7 pending
alice juniper 13 failed
kim cobalt 34 closed
ivan grove 107 active
| bruno juniper 7 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006742-p1 | Output the longest line from the input, selecting the first one encountered if multiple lines share the maximum length. | {if(length($0)>length(best))best=$0}END{print best} | kim harbor 82 closed
chen indigo 3 failed
ivan birch 75 active
chen indigo 111 active
ivan delta 83 failed
farah birch 15 failed
chen juniper 62 pending
lina grove 27 closed
dina delta 109 ready
dina cobalt 86 active
| chen juniper 62 pending
| bruno delta 20 ready
bruno amber 80 paused
gus harbor 74 failed
kim indigo 59 pending
bruno birch 98 pending
farah cobalt 28 closed
bruno juniper 7 pending
alice juniper 13 failed
kim cobalt 34 closed
ivan grove 107 active
| bruno juniper 7 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006742 | qwen/qwen3.7-plus |
awkweave-0006743 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | gus 102
chen 116
farah 118
dina 57
hana 49
alice 109
farah 57
hana 32
lina 63
kim 80
| chen 116
alice 109
kim 80
| jules 89
hana 33
bruno 42
farah 94
jules 29
jules 45
| hana 33
jules 45
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006743-p1 | Print lines 2, 6, 10, and so on, effectively outputting every 4th line starting from the second line. | NR%4==2 | gus 102
chen 116
farah 118
dina 57
hana 49
alice 109
farah 57
hana 32
lina 63
kim 80
| chen 116
alice 109
kim 80
| jules 89
hana 33
bruno 42
farah 94
jules 29
jules 45
| hana 33
jules 45
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006743 | qwen/qwen3.7-plus |
awkweave-0006744 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | gamma harbor 9
beta fable 6
delta grove 98
beta cobalt 71
gamma delta 76
delta birch 116
| 3
| alpha indigo 105
gamma harbor 80
delta delta 97
alpha harbor 72
gamma delta 58
gamma indigo 7
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006744-p1 | Calculate and display only the total number of unique values found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | gamma harbor 9
beta fable 6
delta grove 98
beta cobalt 71
gamma delta 76
delta birch 116
| 3
| alpha indigo 105
gamma harbor 80
delta delta 97
alpha harbor 72
gamma delta 58
gamma indigo 7
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006744 | qwen/qwen3.7-plus |
awkweave-0006745 | 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} | jules 11 0
gus 11 6
farah 16 20
chen 5 24
eli 19 15
hana 12 25
bruno 28 14
gus 24 12
| gus 1.83
farah 0.80
chen 0.21
eli 1.27
hana 0.48
bruno 2.00
gus 2.00
| lina 12 0
lina 18 6
eli 18 13
ivan 2 23
farah 28 3
gus 3 22
| lina 3.00
eli 1.38
ivan 0.09
farah 9.33
gus 0.14
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006745-p1 | For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 11 0
gus 11 6
farah 16 20
chen 5 24
eli 19 15
hana 12 25
bruno 28 14
gus 24 12
| gus 1.83
farah 0.80
chen 0.21
eli 1.27
hana 0.48
bruno 2.00
gus 2.00
| lina 12 0
lina 18 6
eli 18 13
ivan 2 23
farah 28 3
gus 3 22
| lina 3.00
eli 1.38
ivan 0.09
farah 9.33
gus 0.14
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006745 | qwen/qwen3.7-plus |
awkweave-0006746 | 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]} | jules indigo 3
hana cobalt 27
alice fable 1
bruno juniper 11
jules ember 17
alice birch 14
eli indigo 18
dina juniper 3
| hana cobalt 27
eli indigo 18
jules ember 17
| farah grove 29
dina fable 23
gus amber 4
eli fable 6
lina juniper 3
bruno birch 2
hana harbor 2
hana delta 27
lina harbor 11
chen grove 7
| farah grove 29
hana delta 27
dina fable 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006746-p1 | Display 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]} | jules indigo 3
hana cobalt 27
alice fable 1
bruno juniper 11
jules ember 17
alice birch 14
eli indigo 18
dina juniper 3
| hana cobalt 27
eli indigo 18
jules ember 17
| farah grove 29
dina fable 23
gus amber 4
eli fable 6
lina juniper 3
bruno birch 2
hana harbor 2
hana delta 27
lina harbor 11
chen grove 7
| farah grove 29
hana delta 27
dina fable 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006746 | qwen/qwen3.7-plus |
awkweave-0006747 | Select the 3rd and 2nd fields in that order. | {print $3, $2} | 56 43 ready grove dina
95 24 failed fable eli
2 59 pending fable kim
59 55 ready birch bruno
55 42 active harbor kim
80 24 active amber bruno
64 110 ready delta hana
62 26 failed delta lina
| ready 43
failed 24
pending 59
ready 55
active 42
active 24
ready 110
failed 26
| 103 30 failed fable jules
92 118 failed juniper hana
76 51 active juniper lina
67 89 active ember eli
119 63 closed birch jules
69 8 active fable eli
71 28 closed indigo bruno
14 69 ready birch chen
| failed 30
failed 118
active 51
active 89
closed 63
active 8
closed 28
ready 69
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006747-p1 | Extract and print the third field followed by the second field for each record. | {print $3, $2} | 56 43 ready grove dina
95 24 failed fable eli
2 59 pending fable kim
59 55 ready birch bruno
55 42 active harbor kim
80 24 active amber bruno
64 110 ready delta hana
62 26 failed delta lina
| ready 43
failed 24
pending 59
ready 55
active 42
active 24
ready 110
failed 26
| 103 30 failed fable jules
92 118 failed juniper hana
76 51 active juniper lina
67 89 active ember eli
119 63 closed birch jules
69 8 active fable eli
71 28 closed indigo bruno
14 69 ready birch chen
| failed 30
failed 118
active 51
active 89
closed 63
active 8
closed 28
ready 69
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006747 | qwen/qwen3.7-plus |
awkweave-0006748 | Print the last field of every input line. | {print $NF} | delta grove pending ember
fable birch ready indigo
grove grove closed fable
amber delta closed birch
ember grove ready grove
amber grove paused fable
| ember
indigo
fable
birch
grove
fable
| indigo juniper failed harbor
indigo amber paused fable
cobalt juniper closed grove
grove indigo closed cobalt
delta amber failed juniper
juniper grove ready juniper
| harbor
fable
grove
cobalt
juniper
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006748-p1 | Output the final field from every line in the input. | {print $NF} | delta grove pending ember
fable birch ready indigo
grove grove closed fable
amber delta closed birch
ember grove ready grove
amber grove paused fable
| ember
indigo
fable
birch
grove
fable
| indigo juniper failed harbor
indigo amber paused fable
cobalt juniper closed grove
grove indigo closed cobalt
delta amber failed juniper
juniper grove ready juniper
| harbor
fable
grove
cobalt
juniper
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006748 | qwen/qwen3.7-plus |
awkweave-0006749 | Print the complete records where column 2 is at least 57. | $2 >= 57 | grove 30 closed jules eli
grove 13 active gus lina
cobalt 118 failed jules alice
cobalt 7 paused chen chen
delta 16 paused dina eli
harbor 48 failed hana jules
indigo 56 failed eli bruno
| cobalt 118 failed jules alice
| juniper 116 failed kim ivan
juniper 74 closed dina eli
delta 4 pending eli gus
indigo 9 active dina gus
amber 96 active bruno eli
harbor 94 active eli chen
juniper 93 active bruno kim
cobalt 45 active dina jules
indigo 65 pending alice eli
harbor 80 closed hana jules
| juniper 116 failed kim ivan
juniper 74 closed dina eli
amber 96 active bruno eli
harbor 94 active eli chen
juniper 93 active bruno kim
indigo 65 pending alice eli
harbor 80 closed hana jules
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006749-p1 | Print the full records for which the value in column 2 is greater than or equal to 57. | $2 >= 57 | grove 30 closed jules eli
grove 13 active gus lina
cobalt 118 failed jules alice
cobalt 7 paused chen chen
delta 16 paused dina eli
harbor 48 failed hana jules
indigo 56 failed eli bruno
| cobalt 118 failed jules alice
| juniper 116 failed kim ivan
juniper 74 closed dina eli
delta 4 pending eli gus
indigo 9 active dina gus
amber 96 active bruno eli
harbor 94 active eli chen
juniper 93 active bruno kim
cobalt 45 active dina jules
indigo 65 pending alice eli
harbor 80 closed hana jules
| juniper 116 failed kim ivan
juniper 74 closed dina eli
amber 96 active bruno eli
harbor 94 active eli chen
juniper 93 active bruno kim
indigo 65 pending alice eli
harbor 80 closed hana jules
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006749 | qwen/qwen3.7-plus |
awkweave-0006750 | Show whole lines whose 3rd field is between 4 and 23, inclusive. | $3 >= 4 && $3 <= 23 | chen jules 20 alice
ivan ivan 9 farah
chen farah 14 bruno
kim ivan 19 gus
bruno kim 6 jules
jules lina 23 jules
| chen jules 20 alice
ivan ivan 9 farah
chen farah 14 bruno
kim ivan 19 gus
bruno kim 6 jules
jules lina 23 jules
| alice lina 4 ivan
bruno dina 16 dina
gus dina 14 jules
alice ivan 16 chen
gus bruno 27 gus
alice dina 30 bruno
hana bruno 2 eli
alice jules 2 kim
| alice lina 4 ivan
bruno dina 16 dina
gus dina 14 jules
alice ivan 16 chen
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006750-p1 | Display entire lines where the value in the third field falls within the inclusive range of 4 to 23. | $3 >= 4 && $3 <= 23 | chen jules 20 alice
ivan ivan 9 farah
chen farah 14 bruno
kim ivan 19 gus
bruno kim 6 jules
jules lina 23 jules
| chen jules 20 alice
ivan ivan 9 farah
chen farah 14 bruno
kim ivan 19 gus
bruno kim 6 jules
jules lina 23 jules
| alice lina 4 ivan
bruno dina 16 dina
gus dina 14 jules
alice ivan 16 chen
gus bruno 27 gus
alice dina 30 bruno
hana bruno 2 eli
alice jules 2 kim
| alice lina 4 ivan
bruno dina 16 dina
gus dina 14 jules
alice ivan 16 chen
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006750 | qwen/qwen3.7-plus |
awkweave-0006751 | Print column 1 only for rows where column 4 is exactly failed. | $4 == "failed"{print $1} | kim ember 52 pending
chen indigo 30 closed
eli fable 32 paused
jules juniper 6 failed
kim ember 67 pending
chen juniper 34 active
eli amber 79 closed
| jules
| chen grove 76 failed
lina delta 6 paused
kim indigo 44 closed
chen fable 51 failed
jules grove 54 pending
bruno cobalt 111 failed
| chen
chen
bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006751-p1 | Output only the first column for rows where the fourth column contains the exact string 'failed'. | $4 == "failed"{print $1} | kim ember 52 pending
chen indigo 30 closed
eli fable 32 paused
jules juniper 6 failed
kim ember 67 pending
chen juniper 34 active
eli amber 79 closed
| jules
| chen grove 76 failed
lina delta 6 paused
kim indigo 44 closed
chen fable 51 failed
jules grove 54 pending
bruno cobalt 111 failed
| chen
chen
bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006751 | qwen/qwen3.7-plus |
awkweave-0006752 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | 4 INFO ember
91 DEBUG grove
4 WARN delta
62 DEBUG fable
62 WARN juniper
106 DEBUG ember
118 ERROR birch
111 WARN delta
95 DEBUG harbor
47 WARN grove
| 4 INFO ember
| 33 WARN indigo
12 INFO indigo
112 INFO grove
72 WARN juniper
117 DEBUG grove
79 INFO cobalt
57 DEBUG cobalt
69 INFO indigo
| 12 INFO indigo
112 INFO grove
79 INFO cobalt
69 INFO indigo
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006752-p1 | Print all fields from any line where the second field starts with the prefix 'INFO'. | $2 ~ /^INFO/ | 4 INFO ember
91 DEBUG grove
4 WARN delta
62 DEBUG fable
62 WARN juniper
106 DEBUG ember
118 ERROR birch
111 WARN delta
95 DEBUG harbor
47 WARN grove
| 4 INFO ember
| 33 WARN indigo
12 INFO indigo
112 INFO grove
72 WARN juniper
117 DEBUG grove
79 INFO cobalt
57 DEBUG cobalt
69 INFO indigo
| 12 INFO indigo
112 INFO grove
79 INFO cobalt
69 INFO indigo
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006752 | qwen/qwen3.7-plus |
awkweave-0006753 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | cobalt 63 closed
cobalt 46 active
amber 87 failed
harbor 72 active
fable 13 pending
amber 67 paused
harbor 103 paused
indigo 109 ready
cobalt 999 active
| amber 87 failed
harbor 72 active
fable 13 pending
amber 67 paused
harbor 103 paused
indigo 109 ready
| grove 48 paused
indigo 29 active
amber 0 ready
harbor 28 failed
juniper 116 ready
harbor 41 closed
indigo 93 ready
cobalt 999 active
| grove 48 paused
indigo 29 active
amber 0 ready
harbor 28 failed
juniper 116 ready
harbor 41 closed
indigo 93 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006753-p1 | Output every line from the input that does not contain the exact substring 'cobalt'. | $0 !~ /cobalt/ | cobalt 63 closed
cobalt 46 active
amber 87 failed
harbor 72 active
fable 13 pending
amber 67 paused
harbor 103 paused
indigo 109 ready
cobalt 999 active
| amber 87 failed
harbor 72 active
fable 13 pending
amber 67 paused
harbor 103 paused
indigo 109 ready
| grove 48 paused
indigo 29 active
amber 0 ready
harbor 28 failed
juniper 116 ready
harbor 41 closed
indigo 93 ready
cobalt 999 active
| grove 48 paused
indigo 29 active
amber 0 ready
harbor 28 failed
juniper 116 ready
harbor 41 closed
indigo 93 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006753 | qwen/qwen3.7-plus |
awkweave-0006754 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | jules ember 31
alice delta 43
farah amber 99
gus ember 56
gus cobalt 107
hana indigo 46
dina amber 39
eli juniper 29
jules cobalt 78
eli amber 3
| alice delta 43
farah amber 99
| alice birch 113
jules ember 74
dina indigo 39
farah indigo 106
jules birch 27
ivan delta 64
dina cobalt 7
| jules ember 74
dina indigo 39
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006754-p1 | Display lines 2 to 3, inclusive. | NR >= 2 && NR <= 3 | jules ember 31
alice delta 43
farah amber 99
gus ember 56
gus cobalt 107
hana indigo 46
dina amber 39
eli juniper 29
jules cobalt 78
eli amber 3
| alice delta 43
farah amber 99
| alice birch 113
jules ember 74
dina indigo 39
farah indigo 106
jules birch 27
ivan delta 64
dina cobalt 7
| jules ember 74
dina indigo 39
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006754 | qwen/qwen3.7-plus |
awkweave-0006755 | Output only the first 2 records. | NR <= 2 | gus 72 ember
gus 13 juniper
jules 14 harbor
ivan 75 harbor
chen 23 fable
gus 86 indigo
alice 32 indigo
| gus 72 ember
gus 13 juniper
| lina 118 ember
alice 69 cobalt
dina 13 juniper
jules 84 birch
farah 92 ember
alice 41 fable
dina 47 ember
farah 35 fable
dina 15 juniper
eli 33 indigo
| lina 118 ember
alice 69 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006755-p1 | Output just the initial 2 records. | NR <= 2 | gus 72 ember
gus 13 juniper
jules 14 harbor
ivan 75 harbor
chen 23 fable
gus 86 indigo
alice 32 indigo
| gus 72 ember
gus 13 juniper
| lina 118 ember
alice 69 cobalt
dina 13 juniper
jules 84 birch
farah 92 ember
alice 41 fable
dina 47 ember
farah 35 fable
dina 15 juniper
eli 33 indigo
| lina 118 ember
alice 69 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006755 | qwen/qwen3.7-plus |
awkweave-0006756 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 93 cobalt
kim 26 cobalt
hana 33 fable
gus 103 amber
gus 5 juniper
hana 64 birch
jules 120 delta
jules 6 delta
chen 93 amber
jules 3 juniper
| kim 26 cobalt
hana 33 fable
gus 103 amber
gus 5 juniper
hana 64 birch
jules 120 delta
jules 6 delta
chen 93 amber
jules 3 juniper
| hana 109 birch
farah 28 delta
hana 111 cobalt
farah 78 ember
alice 97 indigo
kim 27 juniper
dina 14 juniper
kim 102 fable
dina 47 harbor
alice 15 fable
| farah 28 delta
hana 111 cobalt
farah 78 ember
alice 97 indigo
kim 27 juniper
dina 14 juniper
kim 102 fable
dina 47 harbor
alice 15 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006756-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | alice 93 cobalt
kim 26 cobalt
hana 33 fable
gus 103 amber
gus 5 juniper
hana 64 birch
jules 120 delta
jules 6 delta
chen 93 amber
jules 3 juniper
| kim 26 cobalt
hana 33 fable
gus 103 amber
gus 5 juniper
hana 64 birch
jules 120 delta
jules 6 delta
chen 93 amber
jules 3 juniper
| hana 109 birch
farah 28 delta
hana 111 cobalt
farah 78 ember
alice 97 indigo
kim 27 juniper
dina 14 juniper
kim 102 fable
dina 47 harbor
alice 15 fable
| farah 28 delta
hana 111 cobalt
farah 78 ember
alice 97 indigo
kim 27 juniper
dina 14 juniper
kim 102 fable
dina 47 harbor
alice 15 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006756 | qwen/qwen3.7-plus |
awkweave-0006757 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | kim active 94
kim failed 63
alice failed 70
kim closed 10
alice paused 88
chen failed 4
| 0
| ivan pending 74
lina closed 71
gus failed 74
kim pending 103
hana pending 19
kim pending 60
| 4
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006757-p1 | Tally records where column 2 is 'pending' and print the count, defaulting to 0 if none exist. | $2 == "pending"{n++}END{print n+0} | kim active 94
kim failed 63
alice failed 70
kim closed 10
alice paused 88
chen failed 4
| 0
| ivan pending 74
lina closed 71
gus failed 74
kim pending 103
hana pending 19
kim pending 60
| 4
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006757 | qwen/qwen3.7-plus |
awkweave-0006758 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | kim ember 28
kim ember 15
bruno juniper 12
kim ember 9
jules indigo 13
hana cobalt 11
eli delta 4
ivan fable 3
| 95
| bruno fable 10
dina fable 16
ivan indigo 27
alice amber 11
kim harbor 18
ivan cobalt 2
| 84
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006758-p1 | Compute and display the total sum of integer values in column 3. | {s+=$3}END{print s+0} | kim ember 28
kim ember 15
bruno juniper 12
kim ember 9
jules indigo 13
hana cobalt 11
eli delta 4
ivan fable 3
| 95
| bruno fable 10
dina fable 16
ivan indigo 27
alice amber 11
kim harbor 18
ivan cobalt 2
| 84
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006758 | qwen/qwen3.7-plus |
awkweave-0006759 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 11 birch
ivan 6 cobalt
ivan 16 birch
lina 5 juniper
eli 11 grove
dina 8 juniper
hana 9 indigo
bruno 2 grove
dina 13 delta
| 9.00
| jules 8 indigo
gus 12 indigo
jules 1 amber
chen 19 juniper
lina 23 indigo
hana 29 harbor
bruno 27 ember
eli 12 birch
| 16.38
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006759-p1 | Print the average of column 2, formatted to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 11 birch
ivan 6 cobalt
ivan 16 birch
lina 5 juniper
eli 11 grove
dina 8 juniper
hana 9 indigo
bruno 2 grove
dina 13 delta
| 9.00
| jules 8 indigo
gus 12 indigo
jules 1 amber
chen 19 juniper
lina 23 indigo
hana 29 harbor
bruno 27 ember
eli 12 birch
| 16.38
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006759 | qwen/qwen3.7-plus |
awkweave-0006760 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 harbor alice
26 fable chen
24 ember lina
13 grove farah
10 amber farah
10 grove lina
27 harbor dina
1 delta eli
| 1
| 15 ember alice
29 juniper lina
22 cobalt chen
18 birch ivan
19 birch chen
5 grove bruno
19 ember jules
| 5
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006760-p1 | Identify and output the minimum numeric value found in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 7 harbor alice
26 fable chen
24 ember lina
13 grove farah
10 amber farah
10 grove lina
27 harbor dina
1 delta eli
| 1
| 15 ember alice
29 juniper lina
22 cobalt chen
18 birch ivan
19 birch chen
5 grove bruno
19 ember jules
| 5
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006760 | qwen/qwen3.7-plus |
awkweave-0006761 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 6 alice
ember 21 dina
fable 2 gus
indigo 22 kim
juniper 6 chen
juniper 15 farah
amber 16 hana
amber 8 dina
harbor 2 eli
| 22
| ember 15 farah
indigo 4 gus
juniper 1 lina
indigo 10 ivan
amber 19 bruno
indigo 17 eli
fable 16 chen
ember 28 kim
juniper 15 alice
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006761-p1 | Identify and output the maximum numeric value found in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | birch 6 alice
ember 21 dina
fable 2 gus
indigo 22 kim
juniper 6 chen
juniper 15 farah
amber 16 hana
amber 8 dina
harbor 2 eli
| 22
| ember 15 farah
indigo 4 gus
juniper 1 lina
indigo 10 ivan
amber 19 bruno
indigo 17 eli
fable 16 chen
ember 28 kim
juniper 15 alice
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006761 | qwen/qwen3.7-plus |
awkweave-0006762 | Count all input records and print the total. | END{print NR} | lina 11
chen 7
farah 25
lina 45
eli 114
hana 53
| 6
| farah 62
chen 48
farah 96
chen 83
alice 16
eli 88
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006762-p1 | Count the total number of input records and print the result. | END{print NR} | lina 11
chen 7
farah 25
lina 45
eli 114
hana 53
| 6
| farah 62
chen 48
farah 96
chen 83
alice 16
eli 88
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006762 | qwen/qwen3.7-plus |
awkweave-0006763 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice amber 4
eli ember 67
eli ember 67
jules amber 33
gus delta 21
ivan grove 29
dina delta 119
lina cobalt 43
| alice amber 4
eli ember 67
jules amber 33
gus delta 21
ivan grove 29
dina delta 119
lina cobalt 43
| ivan ember 98
ivan ember 92
hana delta 68
chen ember 51
chen juniper 68
ivan ember 92
bruno cobalt 63
| ivan ember 98
ivan ember 92
hana delta 68
chen ember 51
chen juniper 68
bruno cobalt 63
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006763-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | alice amber 4
eli ember 67
eli ember 67
jules amber 33
gus delta 21
ivan grove 29
dina delta 119
lina cobalt 43
| alice amber 4
eli ember 67
jules amber 33
gus delta 21
ivan grove 29
dina delta 119
lina cobalt 43
| ivan ember 98
ivan ember 92
hana delta 68
chen ember 51
chen juniper 68
ivan ember 92
bruno cobalt 63
| ivan ember 98
ivan ember 92
hana delta 68
chen ember 51
chen juniper 68
bruno cobalt 63
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006763 | qwen/qwen3.7-plus |
awkweave-0006764 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | farah amber 79
dina juniper 70
ivan harbor 67
farah delta 90
lina ember 41
dina indigo 61
farah indigo 69
| farah amber 79
dina juniper 70
ivan harbor 67
farah delta 90
lina ember 41
dina indigo 61
farah indigo 69
| eli cobalt 65
kim grove 119
dina indigo 24
kim delta 20
alice indigo 91
gus amber 54
kim cobalt 16
chen delta 63
dina birch 35
| eli cobalt 65
kim grove 119
dina indigo 24
kim delta 20
alice indigo 91
gus amber 54
kim cobalt 16
chen delta 63
dina birch 35
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006764-p1 | Retain only the first occurrence for each unique value in column 3, preserving the input order. | !seen[$3]++ | farah amber 79
dina juniper 70
ivan harbor 67
farah delta 90
lina ember 41
dina indigo 61
farah indigo 69
| farah amber 79
dina juniper 70
ivan harbor 67
farah delta 90
lina ember 41
dina indigo 61
farah indigo 69
| eli cobalt 65
kim grove 119
dina indigo 24
kim delta 20
alice indigo 91
gus amber 54
kim cobalt 16
chen delta 63
dina birch 35
| eli cobalt 65
kim grove 119
dina indigo 24
kim delta 20
alice indigo 91
gus amber 54
kim cobalt 16
chen delta 63
dina birch 35
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006764 | qwen/qwen3.7-plus |
awkweave-0006765 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 25 grove
alice 23 cobalt
ivan 16 juniper
hana 10 ember
chen 14 amber
kim 29 birch
| chen 25
alice 48
ivan 64
hana 74
chen 88
kim 117
| eli 6 birch
eli 29 cobalt
hana 19 indigo
chen 18 birch
hana 27 cobalt
hana 11 grove
dina 15 ember
| eli 6
eli 35
hana 54
chen 72
hana 99
hana 110
dina 125
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006765-p1 | For every record, output column 1 followed by a space and the cumulative sum of column 2. | {s+=$2;print $1,s} | chen 25 grove
alice 23 cobalt
ivan 16 juniper
hana 10 ember
chen 14 amber
kim 29 birch
| chen 25
alice 48
ivan 64
hana 74
chen 88
kim 117
| eli 6 birch
eli 29 cobalt
hana 19 indigo
chen 18 birch
hana 27 cobalt
hana 11 grove
dina 15 ember
| eli 6
eli 35
hana 54
chen 72
hana 99
hana 110
dina 125
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006765 | qwen/qwen3.7-plus |
awkweave-0006766 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 14 8 juniper
jules 24 20 indigo
chen 10 15 indigo
gus 4 23 harbor
dina 16 24 indigo
eli 1 26 juniper
alice 19 7 harbor
farah 11 14 amber
lina 4 17 cobalt
| jules 22
jules 44
chen 25
gus 27
dina 40
eli 27
alice 26
farah 25
lina 21
| eli 19 21 cobalt
alice 8 19 harbor
gus 12 11 indigo
farah 20 12 cobalt
dina 21 22 amber
hana 1 17 fable
ivan 14 5 indigo
| eli 40
alice 27
gus 23
farah 32
dina 43
hana 18
ivan 19
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006766-p1 | For each row, output the first field followed by the total of the second and third fields. | {print $1,$2+$3} | jules 14 8 juniper
jules 24 20 indigo
chen 10 15 indigo
gus 4 23 harbor
dina 16 24 indigo
eli 1 26 juniper
alice 19 7 harbor
farah 11 14 amber
lina 4 17 cobalt
| jules 22
jules 44
chen 25
gus 27
dina 40
eli 27
alice 26
farah 25
lina 21
| eli 19 21 cobalt
alice 8 19 harbor
gus 12 11 indigo
farah 20 12 cobalt
dina 21 22 amber
hana 1 17 fable
ivan 14 5 indigo
| eli 40
alice 27
gus 23
farah 32
dina 43
hana 18
ivan 19
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006766 | qwen/qwen3.7-plus |
awkweave-0006767 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | bruno 16
dina 27
eli 15
bruno 26
farah 19
farah 16
hana 5
| bruno fail
dina pass
eli fail
bruno pass
farah fail
farah fail
hana fail
| kim 7
gus 21
jules 17
gus 4
chen 24
chen 22
bruno 25
bruno 5
gus 21
| kim fail
gus fail
jules fail
gus fail
chen pass
chen fail
bruno pass
bruno fail
gus fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006767-p1 | Output the first column; if the second column is 24 or higher, print 'pass', otherwise print 'fail'. | {print $1,($2>=24?"pass":"fail")} | bruno 16
dina 27
eli 15
bruno 26
farah 19
farah 16
hana 5
| bruno fail
dina pass
eli fail
bruno pass
farah fail
farah fail
hana fail
| kim 7
gus 21
jules 17
gus 4
chen 24
chen 22
bruno 25
bruno 5
gus 21
| kim fail
gus fail
jules fail
gus fail
chen pass
chen fail
bruno pass
bruno fail
gus fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006767 | qwen/qwen3.7-plus |
awkweave-0006768 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | hana indigo 74
alice ember 117
kim amber 67
lina fable 118
lina harbor 41
alice cobalt 68
| INDIGO
EMBER
AMBER
FABLE
HARBOR
COBALT
| alice delta 42
farah juniper 20
gus ember 48
farah fable 46
gus juniper 27
dina cobalt 80
ivan birch 16
| DELTA
JUNIPER
EMBER
FABLE
JUNIPER
COBALT
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006768-p1 | Transform the second column to uppercase and display only that column. | {print toupper($2)} | hana indigo 74
alice ember 117
kim amber 67
lina fable 118
lina harbor 41
alice cobalt 68
| INDIGO
EMBER
AMBER
FABLE
HARBOR
COBALT
| alice delta 42
farah juniper 20
gus ember 48
farah fable 46
gus juniper 27
dina cobalt 80
ivan birch 16
| DELTA
JUNIPER
EMBER
FABLE
JUNIPER
COBALT
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006768 | qwen/qwen3.7-plus |
awkweave-0006769 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | fable 32
amber 81
cobalt 113
grove 110
delta 80
fable 26
| ble
ber
bal
ove
lta
ble
| ember 61
indigo 62
cobalt 22
juniper 80
ember 51
juniper 97
amber 10
harbor 104
| ber
dig
bal
nip
ber
nip
ber
rbo
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0006769-p1 | Extract and print a 3-character substring from the first column, starting at the third character. | {print substr($1,3,3)} | fable 32
amber 81
cobalt 113
grove 110
delta 80
fable 26
| ble
ber
bal
ove
lta
ble
| ember 61
indigo 62
cobalt 22
juniper 80
ember 51
juniper 97
amber 10
harbor 104
| ber
dig
bal
nip
ber
nip
ber
rbo
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0006769 | qwen/qwen3.7-plus |
awkweave-0006770 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_harbor 62
amber_grove 9
indigo_juniper 82
harbor_juniper 76
ember_fable 43
harbor_amber 98
| birch harbor
amber grove
indigo juniper
harbor juniper
ember fable
harbor amber
| cobalt_birch 9
harbor_fable 101
juniper_juniper 116
harbor_ember 22
fable_ember 103
cobalt_ember 19
| cobalt birch
harbor fable
juniper juniper
harbor ember
fable ember
cobalt ember
| replace_underscores | 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.