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-0049772-p1 | Display only the first 5 records. | NR <= 5 | ivan 65 grove
gus 118 cobalt
gus 34 delta
hana 23 harbor
kim 25 delta
kim 112 indigo
ivan 103 birch
dina 55 birch
hana 21 harbor
bruno 3 indigo
| ivan 65 grove
gus 118 cobalt
gus 34 delta
hana 23 harbor
kim 25 delta
| bruno 34 amber
gus 64 cobalt
chen 33 harbor
eli 69 amber
gus 108 cobalt
gus 1 grove
| bruno 34 amber
gus 64 cobalt
chen 33 harbor
eli 69 amber
gus 108 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049772 | qwen/qwen3.7-plus |
awkweave-0049773 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 28 ember
ivan 38 ember
lina 50 grove
alice 105 ember
dina 2 grove
gus 5 fable
gus 96 indigo
bruno 40 delta
| ivan 38 ember
lina 50 grove
alice 105 ember
dina 2 grove
gus 5 fable
gus 96 indigo
bruno 40 delta
| ivan 91 fable
dina 118 birch
farah 115 cobalt
dina 97 harbor
alice 54 delta
kim 101 fable
jules 113 birch
bruno 84 harbor
kim 9 ember
jules 65 ember
| dina 118 birch
farah 115 cobalt
dina 97 harbor
alice 54 delta
kim 101 fable
jules 113 birch
bruno 84 harbor
kim 9 ember
jules 65 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049773-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | kim 28 ember
ivan 38 ember
lina 50 grove
alice 105 ember
dina 2 grove
gus 5 fable
gus 96 indigo
bruno 40 delta
| ivan 38 ember
lina 50 grove
alice 105 ember
dina 2 grove
gus 5 fable
gus 96 indigo
bruno 40 delta
| ivan 91 fable
dina 118 birch
farah 115 cobalt
dina 97 harbor
alice 54 delta
kim 101 fable
jules 113 birch
bruno 84 harbor
kim 9 ember
jules 65 ember
| dina 118 birch
farah 115 cobalt
dina 97 harbor
alice 54 delta
kim 101 fable
jules 113 birch
bruno 84 harbor
kim 9 ember
jules 65 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049773 | qwen/qwen3.7-plus |
awkweave-0049774 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | alice paused 78
chen pending 110
alice active 76
kim pending 100
eli closed 13
lina active 1
| 2
| lina active 50
lina active 30
ivan paused 72
chen failed 32
bruno closed 52
bruno paused 101
alice pending 103
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049774-p1 | Count the number of records with 'pending' in the second column, outputting 0 if none exist. | $2 == "pending"{n++}END{print n+0} | alice paused 78
chen pending 110
alice active 76
kim pending 100
eli closed 13
lina active 1
| 2
| lina active 50
lina active 30
ivan paused 72
chen failed 32
bruno closed 52
bruno paused 101
alice pending 103
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049774 | qwen/qwen3.7-plus |
awkweave-0049775 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 29 cobalt dina
9 cobalt chen
16 ember chen
30 indigo dina
17 fable bruno
5 amber bruno
20 juniper kim
13 birch hana
14 ember gus
25 delta chen
| 178
| 30 juniper gus
6 harbor kim
28 grove alice
16 delta chen
8 cobalt farah
25 fable jules
5 cobalt hana
17 juniper ivan
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049775-p1 | Compute and display the sum of integer values in the first column. | {s+=$1}END{print s+0} | 29 cobalt dina
9 cobalt chen
16 ember chen
30 indigo dina
17 fable bruno
5 amber bruno
20 juniper kim
13 birch hana
14 ember gus
25 delta chen
| 178
| 30 juniper gus
6 harbor kim
28 grove alice
16 delta chen
8 cobalt farah
25 fable jules
5 cobalt hana
17 juniper ivan
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049775 | qwen/qwen3.7-plus |
awkweave-0049776 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | chen ember 6
chen ember 3
eli amber 7
hana amber 13
alice amber 13
bruno birch 28
dina grove 3
eli juniper 8
bruno birch 1
| 9.11
| farah indigo 19
farah ember 16
eli fable 21
hana grove 18
kim fable 7
gus fable 3
hana indigo 5
| 12.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049776-p1 | Calculate the average of the third column and print it rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | chen ember 6
chen ember 3
eli amber 7
hana amber 13
alice amber 13
bruno birch 28
dina grove 3
eli juniper 8
bruno birch 1
| 9.11
| farah indigo 19
farah ember 16
eli fable 21
hana grove 18
kim fable 7
gus fable 3
hana indigo 5
| 12.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049776 | qwen/qwen3.7-plus |
awkweave-0049777 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | delta farah 5
indigo hana 4
juniper eli 21
birch gus 23
cobalt farah 15
fable farah 8
| 4
| juniper chen 10
grove dina 18
grove gus 23
juniper bruno 8
indigo kim 27
cobalt bruno 23
ember eli 25
cobalt gus 7
birch lina 24
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049777-p1 | Identify and print the minimum numeric value found in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | delta farah 5
indigo hana 4
juniper eli 21
birch gus 23
cobalt farah 15
fable farah 8
| 4
| juniper chen 10
grove dina 18
grove gus 23
juniper bruno 8
indigo kim 27
cobalt bruno 23
ember eli 25
cobalt gus 7
birch lina 24
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049777 | qwen/qwen3.7-plus |
awkweave-0049778 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 16 indigo
bruno 24 cobalt
ivan 20 delta
hana 3 birch
chen 25 ember
hana 5 delta
| 25
| kim 27 amber
jules 12 grove
gus 12 cobalt
gus 6 fable
jules 20 indigo
eli 9 ember
kim 6 harbor
kim 20 harbor
bruno 21 indigo
hana 7 delta
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049778-p1 | Identify and output the maximum number found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 16 indigo
bruno 24 cobalt
ivan 20 delta
hana 3 birch
chen 25 ember
hana 5 delta
| 25
| kim 27 amber
jules 12 grove
gus 12 cobalt
gus 6 fable
jules 20 indigo
eli 9 ember
kim 6 harbor
kim 20 harbor
bruno 21 indigo
hana 7 delta
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049778 | qwen/qwen3.7-plus |
awkweave-0049779 | Count all input records and print the total. | END{print NR} | bruno 54
gus 85
lina 108
eli 64
jules 72
bruno 111
jules 22
dina 8
| 8
| lina 108
lina 65
hana 58
ivan 102
lina 75
hana 108
jules 95
hana 88
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049779-p1 | Calculate the total number of input records and display the count. | END{print NR} | bruno 54
gus 85
lina 108
eli 64
jules 72
bruno 111
jules 22
dina 8
| 8
| lina 108
lina 65
hana 58
ivan 102
lina 75
hana 108
jules 95
hana 88
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049779 | qwen/qwen3.7-plus |
awkweave-0049780 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli juniper 13
alice cobalt 26
bruno birch 31
chen delta 31
bruno delta 73
alice cobalt 26
eli harbor 110
lina birch 88
alice amber 110
| eli juniper 13
alice cobalt 26
bruno birch 31
chen delta 31
bruno delta 73
eli harbor 110
lina birch 88
alice amber 110
| alice delta 70
bruno grove 18
kim birch 71
kim indigo 32
farah indigo 31
farah amber 87
bruno grove 18
| alice delta 70
bruno grove 18
kim birch 71
kim indigo 32
farah indigo 31
farah amber 87
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049780-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | eli juniper 13
alice cobalt 26
bruno birch 31
chen delta 31
bruno delta 73
alice cobalt 26
eli harbor 110
lina birch 88
alice amber 110
| eli juniper 13
alice cobalt 26
bruno birch 31
chen delta 31
bruno delta 73
eli harbor 110
lina birch 88
alice amber 110
| alice delta 70
bruno grove 18
kim birch 71
kim indigo 32
farah indigo 31
farah amber 87
bruno grove 18
| alice delta 70
bruno grove 18
kim birch 71
kim indigo 32
farah indigo 31
farah amber 87
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049780 | qwen/qwen3.7-plus |
awkweave-0049781 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | lina fable 90
ivan fable 34
gus grove 108
eli indigo 19
kim juniper 42
gus ember 35
gus birch 112
lina harbor 104
lina indigo 61
farah delta 90
| lina fable 90
ivan fable 34
gus grove 108
eli indigo 19
kim juniper 42
farah delta 90
| gus cobalt 108
dina birch 102
lina juniper 87
gus fable 107
chen fable 104
hana juniper 28
lina juniper 114
eli juniper 1
| gus cobalt 108
dina birch 102
lina juniper 87
chen fable 104
hana juniper 28
eli juniper 1
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049781-p1 | Retain only the initial line for every unique value in the first column, keeping the input order intact. | !seen[$1]++ | lina fable 90
ivan fable 34
gus grove 108
eli indigo 19
kim juniper 42
gus ember 35
gus birch 112
lina harbor 104
lina indigo 61
farah delta 90
| lina fable 90
ivan fable 34
gus grove 108
eli indigo 19
kim juniper 42
farah delta 90
| gus cobalt 108
dina birch 102
lina juniper 87
gus fable 107
chen fable 104
hana juniper 28
lina juniper 114
eli juniper 1
| gus cobalt 108
dina birch 102
lina juniper 87
chen fable 104
hana juniper 28
eli juniper 1
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049781 | qwen/qwen3.7-plus |
awkweave-0049782 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 15 fable
gus 10 juniper
bruno 13 cobalt
gus 21 amber
bruno 21 cobalt
gus 2 ember
farah 29 birch
gus 3 harbor
| farah 15
gus 25
bruno 38
gus 59
bruno 80
gus 82
farah 111
gus 114
| alice 11 fable
chen 21 fable
farah 2 fable
bruno 23 birch
farah 23 fable
bruno 20 cobalt
eli 25 harbor
dina 15 indigo
dina 5 amber
farah 6 cobalt
| alice 11
chen 32
farah 34
bruno 57
farah 80
bruno 100
eli 125
dina 140
dina 145
farah 151
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049782-p1 | Output the first column alongside the cumulative sum of the second column for each record, separated by a space. | {s+=$2;print $1,s} | farah 15 fable
gus 10 juniper
bruno 13 cobalt
gus 21 amber
bruno 21 cobalt
gus 2 ember
farah 29 birch
gus 3 harbor
| farah 15
gus 25
bruno 38
gus 59
bruno 80
gus 82
farah 111
gus 114
| alice 11 fable
chen 21 fable
farah 2 fable
bruno 23 birch
farah 23 fable
bruno 20 cobalt
eli 25 harbor
dina 15 indigo
dina 5 amber
farah 6 cobalt
| alice 11
chen 32
farah 34
bruno 57
farah 80
bruno 100
eli 125
dina 140
dina 145
farah 151
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049782 | qwen/qwen3.7-plus |
awkweave-0049783 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 15 21 cobalt
chen 27 2 cobalt
jules 10 11 harbor
eli 12 16 birch
farah 12 2 cobalt
jules 23 21 indigo
alice 6 9 delta
lina 23 26 amber
| lina 36
chen 29
jules 21
eli 28
farah 14
jules 44
alice 15
lina 49
| lina 6 11 amber
chen 15 28 fable
lina 22 13 grove
eli 16 28 ember
bruno 18 6 birch
dina 30 19 cobalt
dina 24 7 delta
jules 22 19 amber
alice 1 16 amber
alice 27 1 juniper
| lina 17
chen 43
lina 35
eli 44
bruno 24
dina 49
dina 31
jules 41
alice 17
alice 28
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049783-p1 | For each row, display the first field followed by the total of the second and third fields. | {print $1,$2+$3} | lina 15 21 cobalt
chen 27 2 cobalt
jules 10 11 harbor
eli 12 16 birch
farah 12 2 cobalt
jules 23 21 indigo
alice 6 9 delta
lina 23 26 amber
| lina 36
chen 29
jules 21
eli 28
farah 14
jules 44
alice 15
lina 49
| lina 6 11 amber
chen 15 28 fable
lina 22 13 grove
eli 16 28 ember
bruno 18 6 birch
dina 30 19 cobalt
dina 24 7 delta
jules 22 19 amber
alice 1 16 amber
alice 27 1 juniper
| lina 17
chen 43
lina 35
eli 44
bruno 24
dina 49
dina 31
jules 41
alice 17
alice 28
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049783 | qwen/qwen3.7-plus |
awkweave-0049784 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | hana 7
jules 17
ivan 18
ivan 9
gus 29
hana 30
lina 24
bruno 11
kim 3
| hana fail
jules fail
ivan fail
ivan fail
gus pass
hana pass
lina pass
bruno fail
kim fail
| bruno 15
kim 22
jules 1
kim 8
kim 7
dina 11
bruno 23
jules 9
| bruno fail
kim fail
jules fail
kim fail
kim fail
dina fail
bruno fail
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049784-p1 | Output the first column with 'pass' if the second column is 24 or higher, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | hana 7
jules 17
ivan 18
ivan 9
gus 29
hana 30
lina 24
bruno 11
kim 3
| hana fail
jules fail
ivan fail
ivan fail
gus pass
hana pass
lina pass
bruno fail
kim fail
| bruno 15
kim 22
jules 1
kim 8
kim 7
dina 11
bruno 23
jules 9
| bruno fail
kim fail
jules fail
kim fail
kim fail
dina fail
bruno fail
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049784 | qwen/qwen3.7-plus |
awkweave-0049785 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | eli grove 35
lina delta 62
lina indigo 64
bruno harbor 14
alice amber 113
chen delta 2
| GROVE
DELTA
INDIGO
HARBOR
AMBER
DELTA
| jules grove 101
gus cobalt 46
bruno cobalt 90
gus birch 83
bruno harbor 9
dina fable 48
gus grove 69
hana ember 82
chen fable 53
| GROVE
COBALT
COBALT
BIRCH
HARBOR
FABLE
GROVE
EMBER
FABLE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049785-p1 | Transform the second column to uppercase letters and print exclusively that column. | {print toupper($2)} | eli grove 35
lina delta 62
lina indigo 64
bruno harbor 14
alice amber 113
chen delta 2
| GROVE
DELTA
INDIGO
HARBOR
AMBER
DELTA
| jules grove 101
gus cobalt 46
bruno cobalt 90
gus birch 83
bruno harbor 9
dina fable 48
gus grove 69
hana ember 82
chen fable 53
| GROVE
COBALT
COBALT
BIRCH
HARBOR
FABLE
GROVE
EMBER
FABLE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049785 | qwen/qwen3.7-plus |
awkweave-0049786 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | ember 14
cobalt 82
birch 13
cobalt 12
cobalt 4
juniper 19
amber 89
amber 96
grove 108
| ber
bal
rch
bal
bal
nip
ber
ber
ove
| delta 93
cobalt 20
delta 36
amber 81
harbor 117
juniper 45
cobalt 114
| lta
bal
lta
ber
rbo
nip
bal
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049786-p1 | Extract and print a substring of 3 characters from the first column, beginning at the third character. | {print substr($1,3,3)} | ember 14
cobalt 82
birch 13
cobalt 12
cobalt 4
juniper 19
amber 89
amber 96
grove 108
| ber
bal
rch
bal
bal
nip
ber
ber
ove
| delta 93
cobalt 20
delta 36
amber 81
harbor 117
juniper 45
cobalt 114
| lta
bal
lta
ber
rbo
nip
bal
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049786 | qwen/qwen3.7-plus |
awkweave-0049787 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_ember 21
indigo_amber 48
grove_birch 42
birch_birch 23
fable_indigo 96
fable_birch 18
delta_birch 55
| grove ember
indigo amber
grove birch
birch birch
fable indigo
fable birch
delta birch
| juniper_birch 7
juniper_grove 22
cobalt_grove 80
ember_cobalt 93
birch_amber 10
grove_harbor 60
| juniper birch
juniper grove
cobalt grove
ember cobalt
birch amber
grove harbor
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049787-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | grove_ember 21
indigo_amber 48
grove_birch 42
birch_birch 23
fable_indigo 96
fable_birch 18
delta_birch 55
| grove ember
indigo amber
grove birch
birch birch
fable indigo
fable birch
delta birch
| juniper_birch 7
juniper_grove 22
cobalt_grove 80
ember_cobalt 93
birch_amber 10
grove_harbor 60
| juniper birch
juniper grove
cobalt grove
ember cobalt
birch amber
grove harbor
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049787 | qwen/qwen3.7-plus |
awkweave-0049788 | 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)} | dina fable 4 active
gus ember 32 active
alice fable 8 active
gus cobalt 51 failed
lina fable 67 paused
farah juniper 92 failed
chen juniper 49 closed
gus juniper 39 closed
gus grove 14 paused
| active 4 fable dina
active 32 ember gus
active 8 fable alice
failed 51 cobalt gus
paused 67 fable lina
failed 92 juniper farah
closed 49 juniper chen
closed 39 juniper gus
paused 14 grove gus
| gus delta 28 closed
kim birch 79 ready
alice delta 112 active
dina cobalt 82 active
chen amber 78 paused
eli harbor 83 closed
gus juniper 32 ready
eli fable 25 failed
bruno harbor 120 closed
| closed 28 delta gus
ready 79 birch kim
active 112 delta alice
active 82 cobalt dina
paused 78 amber chen
closed 83 harbor eli
ready 32 juniper gus
failed 25 fable eli
closed 120 harbor bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049788-p1 | Invert the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | dina fable 4 active
gus ember 32 active
alice fable 8 active
gus cobalt 51 failed
lina fable 67 paused
farah juniper 92 failed
chen juniper 49 closed
gus juniper 39 closed
gus grove 14 paused
| active 4 fable dina
active 32 ember gus
active 8 fable alice
failed 51 cobalt gus
paused 67 fable lina
failed 92 juniper farah
closed 49 juniper chen
closed 39 juniper gus
paused 14 grove gus
| gus delta 28 closed
kim birch 79 ready
alice delta 112 active
dina cobalt 82 active
chen amber 78 paused
eli harbor 83 closed
gus juniper 32 ready
eli fable 25 failed
bruno harbor 120 closed
| closed 28 delta gus
ready 79 birch kim
active 112 delta alice
active 82 cobalt dina
paused 78 amber chen
closed 83 harbor eli
ready 32 juniper gus
failed 25 fable eli
closed 120 harbor bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049788 | qwen/qwen3.7-plus |
awkweave-0049789 | Print the number of whitespace-separated fields on each line. | {print NF} | hana juniper 83 active
alice amber 120 closed
ivan amber 48 failed
farah amber 81 closed
chen juniper 38 active
jules ember 9 active
gus grove 45 failed
| 4
4
4
4
4
4
4
| jules juniper 38 ready
ivan grove 38 pending
gus birch 95 failed
alice juniper 12 pending
bruno ember 53 active
eli fable 59 failed
eli birch 17 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049789-p1 | Display the count of whitespace-delimited fields for each line. | {print NF} | hana juniper 83 active
alice amber 120 closed
ivan amber 48 failed
farah amber 81 closed
chen juniper 38 active
jules ember 9 active
gus grove 45 failed
| 4
4
4
4
4
4
4
| jules juniper 38 ready
ivan grove 38 pending
gus birch 95 failed
alice juniper 12 pending
bruno ember 53 active
eli fable 59 failed
eli birch 17 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049789 | qwen/qwen3.7-plus |
awkweave-0049800 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 82
delta birch 19
beta amber 1
gamma indigo 78
gamma grove 58
beta grove 13
beta harbor 43
beta birch 105
| 4
| delta delta 20
beta delta 106
delta harbor 44
gamma juniper 31
delta ember 9
alpha birch 106
gamma ember 76
beta grove 104
delta grove 72
gamma fable 25
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049800-p1 | Calculate the number of unique entries in the first column and output just that total. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 82
delta birch 19
beta amber 1
gamma indigo 78
gamma grove 58
beta grove 13
beta harbor 43
beta birch 105
| 4
| delta delta 20
beta delta 106
delta harbor 44
gamma juniper 31
delta ember 9
alpha birch 106
gamma ember 76
beta grove 104
delta grove 72
gamma fable 25
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049800 | qwen/qwen3.7-plus |
awkweave-0049801 | 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} | dina 16 0
chen 28 7
eli 6 4
chen 5 1
bruno 2 4
alice 20 8
ivan 18 1
| chen 4.00
eli 1.50
chen 5.00
bruno 0.50
alice 2.50
ivan 18.00
| gus 25 0
kim 22 5
alice 6 19
eli 4 29
alice 7 19
farah 24 16
alice 11 3
| kim 4.40
alice 0.32
eli 0.14
alice 0.37
farah 1.50
alice 3.67
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049801-p1 | For each row, output the first and second columns along with the result of dividing the second column by the third, rounded to two decimal places, while ignoring any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 16 0
chen 28 7
eli 6 4
chen 5 1
bruno 2 4
alice 20 8
ivan 18 1
| chen 4.00
eli 1.50
chen 5.00
bruno 0.50
alice 2.50
ivan 18.00
| gus 25 0
kim 22 5
alice 6 19
eli 4 29
alice 7 19
farah 24 16
alice 11 3
| kim 4.40
alice 0.32
eli 0.14
alice 0.37
farah 1.50
alice 3.67
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049801 | qwen/qwen3.7-plus |
awkweave-0049802 | 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]} | gus grove 29
kim fable 13
eli indigo 8
gus delta 25
alice fable 30
jules indigo 18
jules cobalt 24
| alice fable 30
gus grove 29
gus delta 25
| gus harbor 27
gus harbor 9
bruno amber 19
eli harbor 16
eli ember 2
hana birch 11
gus harbor 2
ivan amber 30
| ivan amber 30
gus harbor 27
bruno amber 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049802-p1 | Display the full records corresponding to the top three highest numeric values in the third column, sorted in descending order, maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | gus grove 29
kim fable 13
eli indigo 8
gus delta 25
alice fable 30
jules indigo 18
jules cobalt 24
| alice fable 30
gus grove 29
gus delta 25
| gus harbor 27
gus harbor 9
bruno amber 19
eli harbor 16
eli ember 2
hana birch 11
gus harbor 2
ivan amber 30
| ivan amber 30
gus harbor 27
bruno amber 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049802 | qwen/qwen3.7-plus |
awkweave-0049803 | Print column 2 followed by column 1 for every record. | {print $2, $1} | lina pending amber gus
lina paused delta farah
alice paused birch bruno
farah closed birch lina
kim closed delta alice
bruno paused ember alice
lina paused cobalt ivan
bruno paused indigo alice
alice closed delta bruno
chen ready fable farah
| pending lina
paused lina
paused alice
closed farah
closed kim
paused bruno
paused lina
paused bruno
closed alice
ready chen
| farah failed cobalt chen
ivan pending grove hana
alice paused indigo farah
gus pending juniper hana
bruno paused cobalt eli
kim failed birch bruno
dina failed delta chen
jules pending delta dina
| failed farah
pending ivan
paused alice
pending gus
paused bruno
failed kim
failed dina
pending jules
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049803-p1 | Output the second column followed by the first column for every record. | {print $2, $1} | lina pending amber gus
lina paused delta farah
alice paused birch bruno
farah closed birch lina
kim closed delta alice
bruno paused ember alice
lina paused cobalt ivan
bruno paused indigo alice
alice closed delta bruno
chen ready fable farah
| pending lina
paused lina
paused alice
closed farah
closed kim
paused bruno
paused lina
paused bruno
closed alice
ready chen
| farah failed cobalt chen
ivan pending grove hana
alice paused indigo farah
gus pending juniper hana
bruno paused cobalt eli
kim failed birch bruno
dina failed delta chen
jules pending delta dina
| failed farah
pending ivan
paused alice
pending gus
paused bruno
failed kim
failed dina
pending jules
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049803 | qwen/qwen3.7-plus |
awkweave-0049804 | Print the last field of every input line. | {print $NF} | birch 116 birch paused closed 27
cobalt 21 grove paused ready 28
amber 15 amber failed ready 92
ember 105 grove paused active 1
juniper 63 delta failed paused 7
juniper 24 fable pending closed 115
| 27
28
92
1
7
115
| indigo 98 delta paused closed 22
ember 95 juniper ready failed 11
grove 115 cobalt closed failed 26
delta 116 cobalt active failed 85
grove 80 ember paused ready 84
delta 47 amber paused active 23
| 22
11
26
85
84
23
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049804-p1 | Print the final field from each input line. | {print $NF} | birch 116 birch paused closed 27
cobalt 21 grove paused ready 28
amber 15 amber failed ready 92
ember 105 grove paused active 1
juniper 63 delta failed paused 7
juniper 24 fable pending closed 115
| 27
28
92
1
7
115
| indigo 98 delta paused closed 22
ember 95 juniper ready failed 11
grove 115 cobalt closed failed 26
delta 116 cobalt active failed 85
grove 80 ember paused ready 84
delta 47 amber paused active 23
| 22
11
26
85
84
23
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049804 | qwen/qwen3.7-plus |
awkweave-0049805 | Print the complete records where column 2 is greater than 59. | $2 > 59 | active 108 closed closed
ready 96 closed closed
active 84 paused paused
ready 34 failed pending
failed 13 paused paused
pending 62 active active
ready 46 ready failed
paused 70 pending active
failed 23 active failed
paused 79 ready ready
| active 108 closed closed
ready 96 closed closed
active 84 paused paused
pending 62 active active
paused 70 pending active
paused 79 ready ready
| active 72 pending failed
closed 112 active paused
ready 10 active pending
closed 46 ready pending
paused 81 closed failed
paused 55 ready active
closed 80 ready pending
closed 16 failed pending
ready 17 ready active
closed 36 active closed
| active 72 pending failed
closed 112 active paused
paused 81 closed failed
closed 80 ready pending
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049805-p1 | Output the full records for which the value in the second column exceeds 59. | $2 > 59 | active 108 closed closed
ready 96 closed closed
active 84 paused paused
ready 34 failed pending
failed 13 paused paused
pending 62 active active
ready 46 ready failed
paused 70 pending active
failed 23 active failed
paused 79 ready ready
| active 108 closed closed
ready 96 closed closed
active 84 paused paused
pending 62 active active
paused 70 pending active
paused 79 ready ready
| active 72 pending failed
closed 112 active paused
ready 10 active pending
closed 46 ready pending
paused 81 closed failed
paused 55 ready active
closed 80 ready pending
closed 16 failed pending
ready 17 ready active
closed 36 active closed
| active 72 pending failed
closed 112 active paused
paused 81 closed failed
closed 80 ready pending
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049805 | qwen/qwen3.7-plus |
awkweave-0049806 | Show whole lines whose 3rd field is between 7 and 19, inclusive. | $3 >= 7 && $3 <= 19 | lina delta 19 pending
chen birch 17 ready
kim ember 8 paused
lina juniper 3 active
hana birch 18 failed
hana amber 16 pending
chen fable 3 closed
bruno harbor 22 closed
| lina delta 19 pending
chen birch 17 ready
kim ember 8 paused
hana birch 18 failed
hana amber 16 pending
| kim amber 14 pending
chen harbor 26 closed
farah delta 9 pending
alice grove 30 pending
farah grove 5 ready
dina fable 28 failed
bruno juniper 18 pending
alice fable 12 pending
alice fable 5 failed
dina juniper 20 active
| kim amber 14 pending
farah delta 9 pending
bruno juniper 18 pending
alice fable 12 pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049806-p1 | Display entire lines where the third field falls within the range of 7 to 19, inclusive. | $3 >= 7 && $3 <= 19 | lina delta 19 pending
chen birch 17 ready
kim ember 8 paused
lina juniper 3 active
hana birch 18 failed
hana amber 16 pending
chen fable 3 closed
bruno harbor 22 closed
| lina delta 19 pending
chen birch 17 ready
kim ember 8 paused
hana birch 18 failed
hana amber 16 pending
| kim amber 14 pending
chen harbor 26 closed
farah delta 9 pending
alice grove 30 pending
farah grove 5 ready
dina fable 28 failed
bruno juniper 18 pending
alice fable 12 pending
alice fable 5 failed
dina juniper 20 active
| kim amber 14 pending
farah delta 9 pending
bruno juniper 18 pending
alice fable 12 pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049806 | qwen/qwen3.7-plus |
awkweave-0049807 | Print column 4 only for rows where column 3 is exactly active. | $3 == "active"{print $4} | indigo 78 paused gus
amber 61 paused kim
juniper 48 closed eli
amber 28 paused jules
ember 64 pending alice
fable 68 active eli
juniper 89 failed jules
| eli
| harbor 63 failed jules
amber 86 pending hana
delta 10 paused farah
cobalt 73 pending gus
fable 99 ready hana
indigo 12 pending farah
cobalt 38 ready kim
harbor 106 active lina
juniper 30 pending bruno
| lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049807-p1 | Output only the fourth column for rows where the third column contains exactly 'active'. | $3 == "active"{print $4} | indigo 78 paused gus
amber 61 paused kim
juniper 48 closed eli
amber 28 paused jules
ember 64 pending alice
fable 68 active eli
juniper 89 failed jules
| eli
| harbor 63 failed jules
amber 86 pending hana
delta 10 paused farah
cobalt 73 pending gus
fable 99 ready hana
indigo 12 pending farah
cobalt 38 ready kim
harbor 106 active lina
juniper 30 pending bruno
| lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049807 | qwen/qwen3.7-plus |
awkweave-0049808 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 98 amber DEBUG
46 delta INFO
39 delta DEBUG
72 birch INFO
117 grove INFO
91 birch WARN
1 birch DEBUG
| 91 birch WARN
| 13 fable DEBUG
93 cobalt ERROR
9 cobalt ERROR
21 amber WARN
17 fable DEBUG
100 amber WARN
22 fable DEBUG
97 birch DEBUG
63 ember WARN
| 21 amber WARN
100 amber WARN
63 ember WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049808-p1 | Print all fields from lines where the third field starts with 'WARN'. | $3 ~ /^WARN/ | 98 amber DEBUG
46 delta INFO
39 delta DEBUG
72 birch INFO
117 grove INFO
91 birch WARN
1 birch DEBUG
| 91 birch WARN
| 13 fable DEBUG
93 cobalt ERROR
9 cobalt ERROR
21 amber WARN
17 fable DEBUG
100 amber WARN
22 fable DEBUG
97 birch DEBUG
63 ember WARN
| 21 amber WARN
100 amber WARN
63 ember WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049808 | qwen/qwen3.7-plus |
awkweave-0049809 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | grove 53 ready
delta 62 closed
indigo 69 pending
birch 110 failed
cobalt 46 pending
grove 15 ready
amber 25 failed
fable 999 active
| grove 53 ready
delta 62 closed
indigo 69 pending
birch 110 failed
cobalt 46 pending
grove 15 ready
amber 25 failed
| ember 78 active
ember 63 failed
grove 104 active
birch 0 pending
cobalt 112 active
indigo 59 ready
delta 56 ready
harbor 68 pending
fable 999 active
| ember 78 active
ember 63 failed
grove 104 active
birch 0 pending
cobalt 112 active
indigo 59 ready
delta 56 ready
harbor 68 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049809-p1 | Output every line except those that contain the exact string 'fable'. | $0 !~ /fable/ | grove 53 ready
delta 62 closed
indigo 69 pending
birch 110 failed
cobalt 46 pending
grove 15 ready
amber 25 failed
fable 999 active
| grove 53 ready
delta 62 closed
indigo 69 pending
birch 110 failed
cobalt 46 pending
grove 15 ready
amber 25 failed
| ember 78 active
ember 63 failed
grove 104 active
birch 0 pending
cobalt 112 active
indigo 59 ready
delta 56 ready
harbor 68 pending
fable 999 active
| ember 78 active
ember 63 failed
grove 104 active
birch 0 pending
cobalt 112 active
indigo 59 ready
delta 56 ready
harbor 68 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049809 | qwen/qwen3.7-plus |
awkweave-0049810 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | alice juniper 37
lina juniper 103
lina cobalt 47
ivan cobalt 104
eli harbor 64
bruno indigo 102
| ivan cobalt 104
eli harbor 64
| chen ember 25
lina delta 11
kim ember 34
hana indigo 108
farah birch 41
lina indigo 89
farah indigo 42
| hana indigo 108
farah birch 41
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049810-p1 | Print lines 4 through 5, inclusive. | NR >= 4 && NR <= 5 | alice juniper 37
lina juniper 103
lina cobalt 47
ivan cobalt 104
eli harbor 64
bruno indigo 102
| ivan cobalt 104
eli harbor 64
| chen ember 25
lina delta 11
kim ember 34
hana indigo 108
farah birch 41
lina indigo 89
farah indigo 42
| hana indigo 108
farah birch 41
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049810 | qwen/qwen3.7-plus |
awkweave-0049811 | Output only the first 3 records. | NR <= 3 | alice 22 amber
alice 9 cobalt
alice 22 birch
kim 95 grove
lina 9 indigo
lina 0 cobalt
gus 9 cobalt
| alice 22 amber
alice 9 cobalt
alice 22 birch
| dina 23 amber
farah 101 ember
jules 34 juniper
gus 27 grove
jules 66 fable
chen 59 fable
dina 80 harbor
bruno 98 cobalt
gus 108 birch
kim 115 harbor
| dina 23 amber
farah 101 ember
jules 34 juniper
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049811-p1 | Output only the first three records. | NR <= 3 | alice 22 amber
alice 9 cobalt
alice 22 birch
kim 95 grove
lina 9 indigo
lina 0 cobalt
gus 9 cobalt
| alice 22 amber
alice 9 cobalt
alice 22 birch
| dina 23 amber
farah 101 ember
jules 34 juniper
gus 27 grove
jules 66 fable
chen 59 fable
dina 80 harbor
bruno 98 cobalt
gus 108 birch
kim 115 harbor
| dina 23 amber
farah 101 ember
jules 34 juniper
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049811 | qwen/qwen3.7-plus |
awkweave-0049812 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 32 birch
bruno 113 ember
alice 84 juniper
lina 13 fable
eli 106 harbor
eli 49 fable
| bruno 113 ember
alice 84 juniper
lina 13 fable
eli 106 harbor
eli 49 fable
| jules 112 indigo
ivan 110 delta
kim 73 delta
kim 80 harbor
gus 115 cobalt
lina 111 ember
jules 52 cobalt
eli 73 juniper
gus 23 indigo
alice 98 juniper
| ivan 110 delta
kim 73 delta
kim 80 harbor
gus 115 cobalt
lina 111 ember
jules 52 cobalt
eli 73 juniper
gus 23 indigo
alice 98 juniper
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049812-p1 | Omit the initial line and output all subsequent lines exactly as they appear. | NR > 1 | alice 32 birch
bruno 113 ember
alice 84 juniper
lina 13 fable
eli 106 harbor
eli 49 fable
| bruno 113 ember
alice 84 juniper
lina 13 fable
eli 106 harbor
eli 49 fable
| jules 112 indigo
ivan 110 delta
kim 73 delta
kim 80 harbor
gus 115 cobalt
lina 111 ember
jules 52 cobalt
eli 73 juniper
gus 23 indigo
alice 98 juniper
| ivan 110 delta
kim 73 delta
kim 80 harbor
gus 115 cobalt
lina 111 ember
jules 52 cobalt
eli 73 juniper
gus 23 indigo
alice 98 juniper
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049812 | qwen/qwen3.7-plus |
awkweave-0049813 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen closed 113
lina failed 101
kim closed 32
kim pending 1
jules pending 97
gus closed 33
lina pending 78
chen active 86
| 1
| alice pending 3
lina active 76
chen failed 87
bruno closed 65
kim active 105
alice active 38
hana paused 29
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049813-p1 | Tally the number of entries marked as failed in the second column, outputting 0 if the count is zero. | $2 == "failed"{n++}END{print n+0} | chen closed 113
lina failed 101
kim closed 32
kim pending 1
jules pending 97
gus closed 33
lina pending 78
chen active 86
| 1
| alice pending 3
lina active 76
chen failed 87
bruno closed 65
kim active 105
alice active 38
hana paused 29
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049813 | qwen/qwen3.7-plus |
awkweave-0049814 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | alice grove 6
kim harbor 15
eli amber 15
farah fable 26
farah indigo 11
ivan birch 10
ivan grove 21
gus ember 16
farah harbor 3
lina delta 16
| 139
| ivan fable 30
dina indigo 6
lina juniper 15
gus ember 6
hana amber 6
hana fable 25
eli harbor 3
bruno indigo 22
| 113
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049814-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | alice grove 6
kim harbor 15
eli amber 15
farah fable 26
farah indigo 11
ivan birch 10
ivan grove 21
gus ember 16
farah harbor 3
lina delta 16
| 139
| ivan fable 30
dina indigo 6
lina juniper 15
gus ember 6
hana amber 6
hana fable 25
eli harbor 3
bruno indigo 22
| 113
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049814 | qwen/qwen3.7-plus |
awkweave-0049815 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno harbor 24
chen juniper 18
gus birch 17
alice amber 16
chen harbor 10
hana grove 2
| 14.50
| gus amber 10
jules amber 6
bruno juniper 12
chen harbor 2
lina indigo 30
chen fable 25
lina amber 12
eli delta 7
ivan fable 16
| 13.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049815-p1 | Output the average value of the third column, formatted to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | bruno harbor 24
chen juniper 18
gus birch 17
alice amber 16
chen harbor 10
hana grove 2
| 14.50
| gus amber 10
jules amber 6
bruno juniper 12
chen harbor 2
lina indigo 30
chen fable 25
lina amber 12
eli delta 7
ivan fable 16
| 13.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049815 | qwen/qwen3.7-plus |
awkweave-0049816 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | grove alice 28
grove farah 27
fable gus 8
amber hana 20
fable chen 7
delta bruno 8
cobalt gus 3
| 3
| harbor gus 25
fable chen 18
amber alice 9
fable farah 22
ember alice 4
fable eli 25
cobalt eli 18
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049816-p1 | Identify and print the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | grove alice 28
grove farah 27
fable gus 8
amber hana 20
fable chen 7
delta bruno 8
cobalt gus 3
| 3
| harbor gus 25
fable chen 18
amber alice 9
fable farah 22
ember alice 4
fable eli 25
cobalt eli 18
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049816 | qwen/qwen3.7-plus |
awkweave-0049817 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch hana 8
ember ivan 7
birch chen 23
fable gus 22
amber jules 1
indigo bruno 12
amber ivan 10
juniper chen 26
amber jules 28
amber farah 25
| 28
| birch gus 23
harbor chen 26
ember eli 21
fable alice 21
juniper kim 25
grove ivan 19
grove lina 5
cobalt hana 25
juniper chen 30
delta dina 11
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049817-p1 | Identify and print the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | birch hana 8
ember ivan 7
birch chen 23
fable gus 22
amber jules 1
indigo bruno 12
amber ivan 10
juniper chen 26
amber jules 28
amber farah 25
| 28
| birch gus 23
harbor chen 26
ember eli 21
fable alice 21
juniper kim 25
grove ivan 19
grove lina 5
cobalt hana 25
juniper chen 30
delta dina 11
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049817 | qwen/qwen3.7-plus |
awkweave-0049818 | Count all input records and print the total. | END{print NR} | lina 45
eli 37
farah 50
farah 93
dina 71
lina 120
bruno 51
alice 117
| 8
| eli 78
bruno 39
farah 36
alice 2
alice 49
chen 88
chen 32
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049818-p1 | Count the total number of input records and display the result. | END{print NR} | lina 45
eli 37
farah 50
farah 93
dina 71
lina 120
bruno 51
alice 117
| 8
| eli 78
bruno 39
farah 36
alice 2
alice 49
chen 88
chen 32
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049818 | qwen/qwen3.7-plus |
awkweave-0049819 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah amber 9
bruno harbor 18
hana fable 66
hana cobalt 91
alice juniper 58
kim fable 94
bruno harbor 18
jules grove 118
jules fable 107
dina ember 5
chen ember 59
| farah amber 9
bruno harbor 18
hana fable 66
hana cobalt 91
alice juniper 58
kim fable 94
jules grove 118
jules fable 107
dina ember 5
chen ember 59
| lina grove 94
alice ember 4
ivan indigo 82
kim fable 105
lina juniper 115
ivan grove 100
lina grove 94
| lina grove 94
alice ember 4
ivan indigo 82
kim fable 105
lina juniper 115
ivan grove 100
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049819-p1 | Eliminate duplicate lines by keeping only the first instance of each, maintaining the original sequence. | !seen[$0]++ | farah amber 9
bruno harbor 18
hana fable 66
hana cobalt 91
alice juniper 58
kim fable 94
bruno harbor 18
jules grove 118
jules fable 107
dina ember 5
chen ember 59
| farah amber 9
bruno harbor 18
hana fable 66
hana cobalt 91
alice juniper 58
kim fable 94
jules grove 118
jules fable 107
dina ember 5
chen ember 59
| lina grove 94
alice ember 4
ivan indigo 82
kim fable 105
lina juniper 115
ivan grove 100
lina grove 94
| lina grove 94
alice ember 4
ivan indigo 82
kim fable 105
lina juniper 115
ivan grove 100
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049819 | qwen/qwen3.7-plus |
awkweave-0049820 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | jules grove 61
kim cobalt 48
jules delta 82
ivan cobalt 38
hana ember 17
kim indigo 45
hana indigo 18
| jules grove 61
kim cobalt 48
jules delta 82
ivan cobalt 38
hana ember 17
kim indigo 45
hana indigo 18
| eli amber 20
lina fable 25
jules grove 84
hana juniper 50
lina fable 76
eli juniper 58
eli cobalt 84
chen indigo 108
| eli amber 20
lina fable 25
jules grove 84
hana juniper 50
lina fable 76
eli juniper 58
chen indigo 108
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049820-p1 | Retain only the first occurrence for every unique value in column 3, preserving the input order. | !seen[$3]++ | jules grove 61
kim cobalt 48
jules delta 82
ivan cobalt 38
hana ember 17
kim indigo 45
hana indigo 18
| jules grove 61
kim cobalt 48
jules delta 82
ivan cobalt 38
hana ember 17
kim indigo 45
hana indigo 18
| eli amber 20
lina fable 25
jules grove 84
hana juniper 50
lina fable 76
eli juniper 58
eli cobalt 84
chen indigo 108
| eli amber 20
lina fable 25
jules grove 84
hana juniper 50
lina fable 76
eli juniper 58
chen indigo 108
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049820 | qwen/qwen3.7-plus |
awkweave-0049821 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 4 ember
farah 8 grove
farah 10 ember
bruno 23 grove
hana 13 grove
jules 30 indigo
| farah 4
farah 12
farah 22
bruno 45
hana 58
jules 88
| lina 26 ember
alice 21 harbor
gus 21 ember
alice 13 grove
lina 24 grove
jules 25 delta
gus 22 birch
dina 1 fable
| lina 26
alice 47
gus 68
alice 81
lina 105
jules 130
gus 152
dina 153
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049821-p1 | For each entry, output the first column followed by the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | farah 4 ember
farah 8 grove
farah 10 ember
bruno 23 grove
hana 13 grove
jules 30 indigo
| farah 4
farah 12
farah 22
bruno 45
hana 58
jules 88
| lina 26 ember
alice 21 harbor
gus 21 ember
alice 13 grove
lina 24 grove
jules 25 delta
gus 22 birch
dina 1 fable
| lina 26
alice 47
gus 68
alice 81
lina 105
jules 130
gus 152
dina 153
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049821 | qwen/qwen3.7-plus |
awkweave-0049822 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 27 23 birch
eli 28 19 amber
eli 15 1 grove
ivan 14 2 fable
gus 25 28 indigo
alice 5 13 birch
ivan 13 22 cobalt
eli 7 4 harbor
| dina 50
eli 47
eli 16
ivan 16
gus 53
alice 18
ivan 35
eli 11
| alice 11 27 fable
gus 7 30 birch
dina 8 25 grove
lina 20 12 ember
ivan 9 6 grove
gus 8 12 cobalt
chen 18 24 birch
gus 7 4 grove
lina 25 14 ember
| alice 38
gus 37
dina 33
lina 32
ivan 15
gus 20
chen 42
gus 11
lina 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049822-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | dina 27 23 birch
eli 28 19 amber
eli 15 1 grove
ivan 14 2 fable
gus 25 28 indigo
alice 5 13 birch
ivan 13 22 cobalt
eli 7 4 harbor
| dina 50
eli 47
eli 16
ivan 16
gus 53
alice 18
ivan 35
eli 11
| alice 11 27 fable
gus 7 30 birch
dina 8 25 grove
lina 20 12 ember
ivan 9 6 grove
gus 8 12 cobalt
chen 18 24 birch
gus 7 4 grove
lina 25 14 ember
| alice 38
gus 37
dina 33
lina 32
ivan 15
gus 20
chen 42
gus 11
lina 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049822 | qwen/qwen3.7-plus |
awkweave-0049823 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | eli 2
ivan 9
lina 20
hana 27
gus 2
ivan 14
hana 19
lina 14
bruno 25
| eli fail
ivan fail
lina fail
hana pass
gus fail
ivan fail
hana fail
lina fail
bruno pass
| gus 28
kim 29
lina 12
gus 23
alice 21
alice 25
farah 5
farah 28
jules 10
hana 30
| gus pass
kim pass
lina fail
gus pass
alice fail
alice pass
farah fail
farah pass
jules fail
hana pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049823-p1 | Output the first column along with 'pass' if the second column is 23 or greater; otherwise, output 'fail'. | {print $1,($2>=23?"pass":"fail")} | eli 2
ivan 9
lina 20
hana 27
gus 2
ivan 14
hana 19
lina 14
bruno 25
| eli fail
ivan fail
lina fail
hana pass
gus fail
ivan fail
hana fail
lina fail
bruno pass
| gus 28
kim 29
lina 12
gus 23
alice 21
alice 25
farah 5
farah 28
jules 10
hana 30
| gus pass
kim pass
lina fail
gus pass
alice fail
alice pass
farah fail
farah pass
jules fail
hana pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049823 | qwen/qwen3.7-plus |
awkweave-0049824 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | jules ember 66
jules birch 45
bruno amber 102
bruno indigo 58
dina indigo 38
lina grove 83
eli fable 112
| EMBER
BIRCH
AMBER
INDIGO
INDIGO
GROVE
FABLE
| kim juniper 50
dina ember 58
farah amber 89
jules juniper 16
gus cobalt 74
gus fable 118
dina harbor 110
bruno ember 27
| JUNIPER
EMBER
AMBER
JUNIPER
COBALT
FABLE
HARBOR
EMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049824-p1 | Transform the second field to uppercase and output only that field. | {print toupper($2)} | jules ember 66
jules birch 45
bruno amber 102
bruno indigo 58
dina indigo 38
lina grove 83
eli fable 112
| EMBER
BIRCH
AMBER
INDIGO
INDIGO
GROVE
FABLE
| kim juniper 50
dina ember 58
farah amber 89
jules juniper 16
gus cobalt 74
gus fable 118
dina harbor 110
bruno ember 27
| JUNIPER
EMBER
AMBER
JUNIPER
COBALT
FABLE
HARBOR
EMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049824 | qwen/qwen3.7-plus |
awkweave-0049825 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | indigo 48
juniper 75
juniper 105
delta 120
delta 89
harbor 105
amber 57
juniper 92
ember 35
| ndi
uni
uni
elt
elt
arb
mbe
uni
mbe
| cobalt 114
ember 5
juniper 31
birch 17
amber 17
grove 45
harbor 20
| oba
mbe
uni
irc
mbe
rov
arb
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049825-p1 | Extract and print a 3-character substring from the first field, beginning at the second character. | {print substr($1,2,3)} | indigo 48
juniper 75
juniper 105
delta 120
delta 89
harbor 105
amber 57
juniper 92
ember 35
| ndi
uni
uni
elt
elt
arb
mbe
uni
mbe
| cobalt 114
ember 5
juniper 31
birch 17
amber 17
grove 45
harbor 20
| oba
mbe
uni
irc
mbe
rov
arb
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049825 | qwen/qwen3.7-plus |
awkweave-0049826 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | grove_amber 4
juniper_fable 81
amber_cobalt 44
juniper_birch 12
fable_fable 72
fable_indigo 89
cobalt_juniper 82
cobalt_indigo 9
juniper_ember 6
| grove amber
juniper fable
amber cobalt
juniper birch
fable fable
fable indigo
cobalt juniper
cobalt indigo
juniper ember
| harbor_birch 51
harbor_ember 106
delta_fable 41
grove_harbor 73
fable_harbor 120
indigo_grove 52
ember_grove 106
grove_harbor 14
ember_indigo 53
| harbor birch
harbor ember
delta fable
grove harbor
fable harbor
indigo grove
ember grove
grove harbor
ember indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049826-p1 | Substitute all underscores in the first field with spaces and display the modified values. | {gsub(/_/," ",$1);print $1} | grove_amber 4
juniper_fable 81
amber_cobalt 44
juniper_birch 12
fable_fable 72
fable_indigo 89
cobalt_juniper 82
cobalt_indigo 9
juniper_ember 6
| grove amber
juniper fable
amber cobalt
juniper birch
fable fable
fable indigo
cobalt juniper
cobalt indigo
juniper ember
| harbor_birch 51
harbor_ember 106
delta_fable 41
grove_harbor 73
fable_harbor 120
indigo_grove 52
ember_grove 106
grove_harbor 14
ember_indigo 53
| harbor birch
harbor ember
delta fable
grove harbor
fable harbor
indigo grove
ember grove
grove harbor
ember indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049826 | qwen/qwen3.7-plus |
awkweave-0049827 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 13 failed
dina amber 118 active
chen juniper 75 failed
gus cobalt 43 pending
farah juniper 106 failed
eli indigo 44 failed
| failed 13 amber jules
active 118 amber dina
failed 75 juniper chen
pending 43 cobalt gus
failed 106 juniper farah
failed 44 indigo eli
| hana grove 33 ready
gus juniper 48 active
bruno birch 97 pending
chen delta 18 failed
jules amber 113 failed
chen indigo 71 pending
eli cobalt 11 pending
lina ember 92 closed
| ready 33 grove hana
active 48 juniper gus
pending 97 birch bruno
failed 18 delta chen
failed 113 amber jules
pending 71 indigo chen
pending 11 cobalt eli
closed 92 ember lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049827-p1 | Output all fields for each line after reversing their sequence. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | jules amber 13 failed
dina amber 118 active
chen juniper 75 failed
gus cobalt 43 pending
farah juniper 106 failed
eli indigo 44 failed
| failed 13 amber jules
active 118 amber dina
failed 75 juniper chen
pending 43 cobalt gus
failed 106 juniper farah
failed 44 indigo eli
| hana grove 33 ready
gus juniper 48 active
bruno birch 97 pending
chen delta 18 failed
jules amber 113 failed
chen indigo 71 pending
eli cobalt 11 pending
lina ember 92 closed
| ready 33 grove hana
active 48 juniper gus
pending 97 birch bruno
failed 18 delta chen
failed 113 amber jules
pending 71 indigo chen
pending 11 cobalt eli
closed 92 ember lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049827 | qwen/qwen3.7-plus |
awkweave-0049828 | Print the number of whitespace-separated fields on each line. | {print NF} | lina amber 1 active
dina delta 77 failed
lina juniper 11 closed
jules grove 98 active
hana delta 66 active
gus birch 89 failed
dina fable 90 ready
chen delta 52 paused
gus harbor 24 paused
lina juniper 83 ready
| 4
4
4
4
4
4
4
4
4
4
| jules indigo 56 closed
jules harbor 44 paused
farah amber 102 pending
gus ember 28 active
eli cobalt 103 ready
bruno harbor 80 closed
chen grove 102 pending
ivan indigo 47 ready
ivan indigo 55 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049828-p1 | Display the count of whitespace-delimited fields present in every line. | {print NF} | lina amber 1 active
dina delta 77 failed
lina juniper 11 closed
jules grove 98 active
hana delta 66 active
gus birch 89 failed
dina fable 90 ready
chen delta 52 paused
gus harbor 24 paused
lina juniper 83 ready
| 4
4
4
4
4
4
4
4
4
4
| jules indigo 56 closed
jules harbor 44 paused
farah amber 102 pending
gus ember 28 active
eli cobalt 103 ready
bruno harbor 80 closed
chen grove 102 pending
ivan indigo 47 ready
ivan indigo 55 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049828 | qwen/qwen3.7-plus |
awkweave-0049829 | 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]]} | dina beta 62
kim beta 99
jules gamma 77
ivan alpha 44
farah alpha 106
ivan delta 43
bruno alpha 91
lina delta 36
farah alpha 88
alice alpha 47
| beta 2
gamma 1
alpha 5
delta 2
| kim delta 36
lina alpha 42
dina gamma 20
jules delta 27
gus gamma 8
lina gamma 110
| delta 2
alpha 1
gamma 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049829-p1 | 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]]} | dina beta 62
kim beta 99
jules gamma 77
ivan alpha 44
farah alpha 106
ivan delta 43
bruno alpha 91
lina delta 36
farah alpha 88
alice alpha 47
| beta 2
gamma 1
alpha 5
delta 2
| kim delta 36
lina alpha 42
dina gamma 20
jules delta 27
gus gamma 8
lina gamma 110
| delta 2
alpha 1
gamma 3
| count_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0049829 | qwen/qwen3.7-plus |
awkweave-0049830 | 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]]} | lina beta 15
hana delta 16
kim beta 15
kim gamma 25
hana alpha 19
dina delta 5
kim beta 25
| beta 55
delta 21
gamma 25
alpha 19
| alice alpha 2
eli beta 6
dina delta 30
gus alpha 2
ivan alpha 29
bruno delta 29
bruno gamma 24
alice delta 7
lina beta 15
lina gamma 26
| alpha 33
beta 21
delta 66
gamma 50
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049830-p1 | Calculate the sum of the third field for each group defined by the second field, presenting the results in the order groups 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]]} | lina beta 15
hana delta 16
kim beta 15
kim gamma 25
hana alpha 19
dina delta 5
kim beta 25
| beta 55
delta 21
gamma 25
alpha 19
| alice alpha 2
eli beta 6
dina delta 30
gus alpha 2
ivan alpha 29
bruno delta 29
bruno gamma 24
alice delta 7
lina beta 15
lina gamma 26
| alpha 33
beta 21
delta 66
gamma 50
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049830 | qwen/qwen3.7-plus |
awkweave-0049831 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | beta indigo 6
gamma indigo 8
gamma ember 6
beta delta 71
beta amber 79
alpha ember 1
delta amber 73
| beta 3
gamma 2
| gamma birch 46
beta harbor 102
delta ember 92
gamma juniper 45
beta amber 13
beta indigo 27
gamma fable 32
delta juniper 10
delta amber 34
| gamma 3
beta 3
delta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049831-p1 | List each duplicate value from the first field alongside 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]]} | beta indigo 6
gamma indigo 8
gamma ember 6
beta delta 71
beta amber 79
alpha ember 1
delta amber 73
| beta 3
gamma 2
| gamma birch 46
beta harbor 102
delta ember 92
gamma juniper 45
beta amber 13
beta indigo 27
gamma fable 32
delta juniper 10
delta amber 34
| gamma 3
beta 3
delta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049831 | qwen/qwen3.7-plus |
awkweave-0049832 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | state region score display_name
r001 ivan 22 failed
r002 chen 26 failed
r003 kim 5 ready
r004 hana 6 closed
r005 chen 15 closed
r006 gus 7 paused
r007 dina 15 paused
r008 kim 26 pending
r009 gus 15 failed
| ivan
chen
kim
hana
chen
gus
dina
kim
gus
| state region score display_name
r001 hana 15 ready
r002 ivan 4 pending
r003 kim 3 closed
r004 lina 19 closed
r005 chen 29 closed
r006 jules 29 paused
r007 eli 28 ready
r008 hana 8 pending
r009 lina 6 paused
r010 hana 21 closed
| hana
ivan
kim
lina
chen
jules
eli
hana
lina
hana
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.