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-0004500-p1 | Calculate and print the total count of all input records. | END{print NR} | bruno 36
gus 84
jules 11
gus 74
lina 50
lina 119
alice 6
bruno 43
farah 51
chen 44
| 10
| kim 73
ivan 17
chen 0
bruno 83
gus 56
farah 57
chen 64
lina 11
jules 34
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004500 | qwen/qwen3.7-plus |
awkweave-0004501 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice fable 21
kim cobalt 74
alice birch 28
hana delta 52
dina birch 91
hana delta 52
bruno indigo 7
gus ember 72
dina birch 12
| alice fable 21
kim cobalt 74
alice birch 28
hana delta 52
dina birch 91
bruno indigo 7
gus ember 72
dina birch 12
| chen juniper 100
ivan grove 73
alice amber 86
jules juniper 82
dina grove 73
bruno birch 117
ivan grove 73
| chen juniper 100
ivan grove 73
alice amber 86
jules juniper 82
dina grove 73
bruno birch 117
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004501-p1 | Eliminate exact duplicate lines, keeping only the first instance of each and preserving the original order. | !seen[$0]++ | alice fable 21
kim cobalt 74
alice birch 28
hana delta 52
dina birch 91
hana delta 52
bruno indigo 7
gus ember 72
dina birch 12
| alice fable 21
kim cobalt 74
alice birch 28
hana delta 52
dina birch 91
bruno indigo 7
gus ember 72
dina birch 12
| chen juniper 100
ivan grove 73
alice amber 86
jules juniper 82
dina grove 73
bruno birch 117
ivan grove 73
| chen juniper 100
ivan grove 73
alice amber 86
jules juniper 82
dina grove 73
bruno birch 117
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004501 | qwen/qwen3.7-plus |
awkweave-0004502 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | alice cobalt 49
hana delta 45
farah harbor 102
alice grove 25
farah grove 41
ivan delta 99
jules delta 51
eli grove 43
gus juniper 88
dina birch 86
| alice cobalt 49
hana delta 45
farah harbor 102
alice grove 25
farah grove 41
ivan delta 99
jules delta 51
eli grove 43
gus juniper 88
dina birch 86
| kim indigo 90
dina ember 4
bruno delta 82
dina cobalt 27
alice amber 115
gus cobalt 107
chen birch 20
| kim indigo 90
dina ember 4
bruno delta 82
dina cobalt 27
alice amber 115
gus cobalt 107
chen birch 20
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004502-p1 | Retain only the first occurrence of each unique value found in column 3, maintaining the original input order. | !seen[$3]++ | alice cobalt 49
hana delta 45
farah harbor 102
alice grove 25
farah grove 41
ivan delta 99
jules delta 51
eli grove 43
gus juniper 88
dina birch 86
| alice cobalt 49
hana delta 45
farah harbor 102
alice grove 25
farah grove 41
ivan delta 99
jules delta 51
eli grove 43
gus juniper 88
dina birch 86
| kim indigo 90
dina ember 4
bruno delta 82
dina cobalt 27
alice amber 115
gus cobalt 107
chen birch 20
| kim indigo 90
dina ember 4
bruno delta 82
dina cobalt 27
alice amber 115
gus cobalt 107
chen birch 20
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004502 | qwen/qwen3.7-plus |
awkweave-0004503 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | bruno 29 juniper
hana 27 juniper
eli 11 amber
hana 29 juniper
ivan 4 grove
dina 4 harbor
kim 18 grove
lina 3 harbor
| bruno 29
hana 56
eli 67
hana 96
ivan 100
dina 104
kim 122
lina 125
| hana 29 delta
gus 24 indigo
chen 21 cobalt
jules 21 birch
lina 2 harbor
bruno 23 ember
bruno 26 grove
farah 25 fable
chen 27 fable
jules 16 grove
| hana 29
gus 53
chen 74
jules 95
lina 97
bruno 120
bruno 146
farah 171
chen 198
jules 214
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004503-p1 | For each record, output column 1 and the cumulative sum of column 2 up to that row, separated by a space. | {s+=$2;print $1,s} | bruno 29 juniper
hana 27 juniper
eli 11 amber
hana 29 juniper
ivan 4 grove
dina 4 harbor
kim 18 grove
lina 3 harbor
| bruno 29
hana 56
eli 67
hana 96
ivan 100
dina 104
kim 122
lina 125
| hana 29 delta
gus 24 indigo
chen 21 cobalt
jules 21 birch
lina 2 harbor
bruno 23 ember
bruno 26 grove
farah 25 fable
chen 27 fable
jules 16 grove
| hana 29
gus 53
chen 74
jules 95
lina 97
bruno 120
bruno 146
farah 171
chen 198
jules 214
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004503 | qwen/qwen3.7-plus |
awkweave-0004504 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | farah 15 14 delta
gus 15 27 harbor
kim 17 14 indigo
chen 6 18 birch
lina 4 10 ember
kim 24 15 delta
gus 30 13 juniper
bruno 22 20 delta
bruno 6 14 fable
| farah 29
gus 42
kim 31
chen 24
lina 14
kim 39
gus 43
bruno 42
bruno 20
| jules 10 30 harbor
alice 10 21 amber
farah 21 26 ember
gus 13 11 fable
bruno 8 14 harbor
bruno 18 8 ember
farah 25 10 delta
jules 20 17 juniper
ivan 13 23 indigo
| jules 40
alice 31
farah 47
gus 24
bruno 22
bruno 26
farah 35
jules 37
ivan 36
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004504-p1 | For every row, print the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | farah 15 14 delta
gus 15 27 harbor
kim 17 14 indigo
chen 6 18 birch
lina 4 10 ember
kim 24 15 delta
gus 30 13 juniper
bruno 22 20 delta
bruno 6 14 fable
| farah 29
gus 42
kim 31
chen 24
lina 14
kim 39
gus 43
bruno 42
bruno 20
| jules 10 30 harbor
alice 10 21 amber
farah 21 26 ember
gus 13 11 fable
bruno 8 14 harbor
bruno 18 8 ember
farah 25 10 delta
jules 20 17 juniper
ivan 13 23 indigo
| jules 40
alice 31
farah 47
gus 24
bruno 22
bruno 26
farah 35
jules 37
ivan 36
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004504 | qwen/qwen3.7-plus |
awkweave-0004505 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | chen 16
jules 22
dina 19
lina 15
kim 4
farah 29
farah 22
hana 12
| chen fail
jules fail
dina fail
lina fail
kim fail
farah pass
farah fail
hana fail
| eli 11
hana 1
dina 5
jules 12
farah 18
eli 3
eli 5
eli 5
alice 15
jules 21
| eli fail
hana fail
dina fail
jules fail
farah fail
eli fail
eli fail
eli fail
alice fail
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004505-p1 | Print column 1 along with 'pass' if column 2 is at least 25, otherwise print 'fail'. | {print $1,($2>=25?"pass":"fail")} | chen 16
jules 22
dina 19
lina 15
kim 4
farah 29
farah 22
hana 12
| chen fail
jules fail
dina fail
lina fail
kim fail
farah pass
farah fail
hana fail
| eli 11
hana 1
dina 5
jules 12
farah 18
eli 3
eli 5
eli 5
alice 15
jules 21
| eli fail
hana fail
dina fail
jules fail
farah fail
eli fail
eli fail
eli fail
alice fail
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004505 | qwen/qwen3.7-plus |
awkweave-0004506 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | alice birch 83
jules grove 23
ivan ember 41
chen harbor 51
lina grove 92
ivan harbor 107
jules amber 119
kim delta 27
farah harbor 67
eli indigo 29
| BIRCH
GROVE
EMBER
HARBOR
GROVE
HARBOR
AMBER
DELTA
HARBOR
INDIGO
| ivan fable 37
bruno birch 5
hana delta 93
jules grove 30
lina amber 111
jules indigo 8
lina grove 79
chen cobalt 101
| FABLE
BIRCH
DELTA
GROVE
AMBER
INDIGO
GROVE
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004506-p1 | Transform the second field to uppercase and output only that field. | {print toupper($2)} | alice birch 83
jules grove 23
ivan ember 41
chen harbor 51
lina grove 92
ivan harbor 107
jules amber 119
kim delta 27
farah harbor 67
eli indigo 29
| BIRCH
GROVE
EMBER
HARBOR
GROVE
HARBOR
AMBER
DELTA
HARBOR
INDIGO
| ivan fable 37
bruno birch 5
hana delta 93
jules grove 30
lina amber 111
jules indigo 8
lina grove 79
chen cobalt 101
| FABLE
BIRCH
DELTA
GROVE
AMBER
INDIGO
GROVE
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004506 | qwen/qwen3.7-plus |
awkweave-0004507 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | indigo 104
ember 18
grove 105
grove 22
harbor 30
ember 33
| digo
ber
ove
ove
rbor
ber
| grove 119
ember 120
birch 75
indigo 94
amber 97
juniper 39
cobalt 66
birch 34
| ove
ber
rch
digo
ber
nipe
balt
rch
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004507-p1 | Extract a 4-character substring from the first field, beginning at the third character, and print it. | {print substr($1,3,4)} | indigo 104
ember 18
grove 105
grove 22
harbor 30
ember 33
| digo
ber
ove
ove
rbor
ber
| grove 119
ember 120
birch 75
indigo 94
amber 97
juniper 39
cobalt 66
birch 34
| ove
ber
rch
digo
ber
nipe
balt
rch
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004507 | qwen/qwen3.7-plus |
awkweave-0004508 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_fable 85
ember_juniper 41
cobalt_juniper 65
delta_harbor 34
cobalt_delta 78
birch_ember 31
harbor_ember 32
| juniper fable
ember juniper
cobalt juniper
delta harbor
cobalt delta
birch ember
harbor ember
| fable_ember 112
amber_indigo 112
amber_fable 49
delta_fable 49
birch_fable 90
birch_juniper 36
| fable ember
amber indigo
amber fable
delta fable
birch fable
birch juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004508-p1 | Substitute all underscores with spaces in the first field and display the modified values. | {gsub(/_/," ",$1);print $1} | juniper_fable 85
ember_juniper 41
cobalt_juniper 65
delta_harbor 34
cobalt_delta 78
birch_ember 31
harbor_ember 32
| juniper fable
ember juniper
cobalt juniper
delta harbor
cobalt delta
birch ember
harbor ember
| fable_ember 112
amber_indigo 112
amber_fable 49
delta_fable 49
birch_fable 90
birch_juniper 36
| fable ember
amber indigo
amber fable
delta fable
birch fable
birch juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004508 | qwen/qwen3.7-plus |
awkweave-0004509 | 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)} | eli delta 108 active
dina delta 11 failed
lina cobalt 4 active
jules indigo 41 pending
alice delta 24 failed
farah cobalt 97 paused
chen amber 24 ready
kim juniper 119 closed
| active 108 delta eli
failed 11 delta dina
active 4 cobalt lina
pending 41 indigo jules
failed 24 delta alice
paused 97 cobalt farah
ready 24 amber chen
closed 119 juniper kim
| dina grove 26 active
chen juniper 65 closed
eli ember 66 pending
jules amber 60 closed
jules delta 7 ready
bruno birch 107 failed
kim birch 11 pending
bruno amber 43 failed
| active 26 grove dina
closed 65 juniper chen
pending 66 ember eli
closed 60 amber jules
ready 7 delta jules
failed 107 birch bruno
pending 11 birch kim
failed 43 amber bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004509-p1 | Reverse the sequence of fields for each line and output the entire line. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli delta 108 active
dina delta 11 failed
lina cobalt 4 active
jules indigo 41 pending
alice delta 24 failed
farah cobalt 97 paused
chen amber 24 ready
kim juniper 119 closed
| active 108 delta eli
failed 11 delta dina
active 4 cobalt lina
pending 41 indigo jules
failed 24 delta alice
paused 97 cobalt farah
ready 24 amber chen
closed 119 juniper kim
| dina grove 26 active
chen juniper 65 closed
eli ember 66 pending
jules amber 60 closed
jules delta 7 ready
bruno birch 107 failed
kim birch 11 pending
bruno amber 43 failed
| active 26 grove dina
closed 65 juniper chen
pending 66 ember eli
closed 60 amber jules
ready 7 delta jules
failed 107 birch bruno
pending 11 birch kim
failed 43 amber bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004509 | qwen/qwen3.7-plus |
awkweave-0004510 | Print the number of whitespace-separated fields on each line. | {print NF} | dina juniper 80 active
kim juniper 72 paused
dina indigo 83 pending
ivan fable 42 pending
chen indigo 50 paused
alice juniper 115 active
dina juniper 41 failed
farah ember 55 paused
| 4
4
4
4
4
4
4
4
| alice harbor 30 closed
alice birch 70 pending
kim indigo 61 failed
farah delta 57 ready
chen harbor 86 paused
farah grove 119 paused
gus indigo 28 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004510-p1 | Output the count of whitespace-delimited fields present on every line. | {print NF} | dina juniper 80 active
kim juniper 72 paused
dina indigo 83 pending
ivan fable 42 pending
chen indigo 50 paused
alice juniper 115 active
dina juniper 41 failed
farah ember 55 paused
| 4
4
4
4
4
4
4
4
| alice harbor 30 closed
alice birch 70 pending
kim indigo 61 failed
farah delta 57 ready
chen harbor 86 paused
farah grove 119 paused
gus indigo 28 ready
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004510 | qwen/qwen3.7-plus |
awkweave-0004511 | 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]]} | bruno alpha 21
hana beta 26
kim gamma 28
farah gamma 54
alice gamma 113
lina gamma 28
ivan beta 82
| alpha 1
beta 2
gamma 4
| eli beta 101
kim alpha 108
lina gamma 72
bruno gamma 25
chen beta 33
lina gamma 77
| beta 2
alpha 1
gamma 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004511-p1 | Tally the occurrences of each unique value in the second field and print the value alongside its count, maintaining the order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno alpha 21
hana beta 26
kim gamma 28
farah gamma 54
alice gamma 113
lina gamma 28
ivan beta 82
| alpha 1
beta 2
gamma 4
| eli beta 101
kim alpha 108
lina gamma 72
bruno gamma 25
chen beta 33
lina gamma 77
| beta 2
alpha 1
gamma 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004511 | qwen/qwen3.7-plus |
awkweave-0004512 | 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]]} | bruno alpha 21
eli gamma 29
alice delta 30
alice beta 14
eli alpha 1
farah alpha 28
| alpha 50
gamma 29
delta 30
beta 14
| farah beta 9
kim delta 14
alice beta 15
jules delta 12
hana alpha 13
eli delta 19
kim gamma 11
| beta 24
delta 45
alpha 13
gamma 11
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004512-p1 | Calculate the sum of the third field grouped by the second field, printing 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]]} | bruno alpha 21
eli gamma 29
alice delta 30
alice beta 14
eli alpha 1
farah alpha 28
| alpha 50
gamma 29
delta 30
beta 14
| farah beta 9
kim delta 14
alice beta 15
jules delta 12
hana alpha 13
eli delta 19
kim gamma 11
| beta 24
delta 45
alpha 13
gamma 11
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004512 | qwen/qwen3.7-plus |
awkweave-0004513 | 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 68
beta harbor 81
gamma harbor 62
beta grove 49
delta fable 93
beta fable 20
gamma indigo 8
beta cobalt 59
| beta 5
gamma 2
| gamma fable 16
beta birch 36
delta indigo 19
beta amber 23
beta indigo 102
alpha amber 6
delta grove 38
beta grove 118
alpha birch 75
alpha cobalt 86
| beta 4
delta 2
alpha 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004513-p1 | List each duplicate value from the first field 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]]} | beta indigo 68
beta harbor 81
gamma harbor 62
beta grove 49
delta fable 93
beta fable 20
gamma indigo 8
beta cobalt 59
| beta 5
gamma 2
| gamma fable 16
beta birch 36
delta indigo 19
beta amber 23
beta indigo 102
alpha amber 6
delta grove 38
beta grove 118
alpha birch 75
alpha cobalt 86
| beta 4
delta 2
alpha 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004513 | qwen/qwen3.7-plus |
awkweave-0004514 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note region record_id display_name
r001 bruno 10 pending
r002 alice 10 failed
r003 dina 8 pending
r004 alice 30 failed
r005 dina 14 closed
r006 kim 11 ready
r007 bruno 7 ready
| pending
failed
pending
failed
closed
ready
ready
| note region record_id display_name
r001 bruno 25 pending
r002 farah 28 failed
r003 alice 18 pending
r004 chen 28 failed
r005 gus 14 paused
r006 bruno 24 active
r007 alice 16 paused
r008 kim 10 pending
r009 jules 19 closed
r010 lina 27 failed
| pending
failed
pending
failed
paused
active
paused
pending
closed
failed
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004514-p1 | Treating the initial row as a header, output the 'display_name' column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note region record_id display_name
r001 bruno 10 pending
r002 alice 10 failed
r003 dina 8 pending
r004 alice 30 failed
r005 dina 14 closed
r006 kim 11 ready
r007 bruno 7 ready
| pending
failed
pending
failed
closed
ready
ready
| note region record_id display_name
r001 bruno 25 pending
r002 farah 28 failed
r003 alice 18 pending
r004 chen 28 failed
r005 gus 14 paused
r006 bruno 24 active
r007 alice 16 paused
r008 kim 10 pending
r009 jules 19 closed
r010 lina 27 failed
| pending
failed
pending
failed
paused
active
paused
pending
closed
failed
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004514 | qwen/qwen3.7-plus |
awkweave-0004515 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 alice 26 closed
r002 ivan 15 pending
r003 dina 27 active
r004 eli 23 active
r005 alice 13 failed
r006 alice 21 paused
| alice
ivan
dina
eli
alice
alice
| record_id display_name score state
r001 chen 15 paused
r002 dina 15 closed
r003 hana 15 paused
r004 chen 15 failed
r005 farah 28 paused
r006 eli 25 pending
r007 dina 4 failed
r008 gus 27 failed
| chen
dina
hana
chen
farah
eli
gus
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004515-p1 | With the first row as a header, output the 'display_name' for data rows where the 'score' is strictly greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 alice 26 closed
r002 ivan 15 pending
r003 dina 27 active
r004 eli 23 active
r005 alice 13 failed
r006 alice 21 paused
| alice
ivan
dina
eli
alice
alice
| record_id display_name score state
r001 chen 15 paused
r002 dina 15 closed
r003 hana 15 paused
r004 chen 15 failed
r005 farah 28 paused
r006 eli 25 pending
r007 dina 4 failed
r008 gus 27 failed
| chen
dina
hana
chen
farah
eli
gus
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004515 | qwen/qwen3.7-plus |
awkweave-0004516 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 12 closed
jules 28 closed
kim 20 ready
hana 15 closed
gus 5 active
kim 11 failed
dina 19 failed
eli 12 failed
dina 19 failed
gus 22 ready
| closed
closed
ready
closed
active
failed
failed
failed
failed
ready
| chen 21 active
hana 22 paused
dina 28 closed
farah 3 closed
hana 2 active
gus 16 closed
eli 1 failed
| active
paused
closed
closed
active
closed
failed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004516-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 12 closed
jules 28 closed
kim 20 ready
hana 15 closed
gus 5 active
kim 11 failed
dina 19 failed
eli 12 failed
dina 19 failed
gus 22 ready
| closed
closed
ready
closed
active
failed
failed
failed
failed
ready
| chen 21 active
hana 22 paused
dina 28 closed
farah 3 closed
hana 2 active
gus 16 closed
eli 1 failed
| active
paused
closed
closed
active
closed
failed
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004516 | qwen/qwen3.7-plus |
awkweave-0004517 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13. | BEGIN{FS=OFS=","}$2>13{print $1} | alice,28,pending
gus,20,pending
kim,15,ready
dina,11,paused
eli,18,failed
dina,14,pending
jules,28,ready
| alice
gus
kim
eli
dina
jules
| jules,9,active
dina,4,ready
dina,9,failed
kim,13,paused
hana,16,ready
ivan,2,active
kim,10,closed
chen,27,closed
| hana
chen
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004517-p1 | For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 13. | BEGIN{FS=OFS=","}$2>13{print $1} | alice,28,pending
gus,20,pending
kim,15,ready
dina,11,paused
eli,18,failed
dina,14,pending
jules,28,ready
| alice
gus
kim
eli
dina
jules
| jules,9,active
dina,4,ready
dina,9,failed
kim,13,paused
hana,16,ready
ivan,2,active
kim,10,closed
chen,27,closed
| hana
chen
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004517 | qwen/qwen3.7-plus |
awkweave-0004518 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen fable 38
ivan amber 60
bruno grove 30
gus harbor 78
gus delta 63
jules ember 24
chen birch 107
ivan delta 78
| chen fable 38
ivan amber 60
bruno grove 30
gus harbor 78
gus delta 63
jules ember 24
chen birch 107
ivan delta 78
| jules grove 90
chen harbor 45
alice cobalt 119
kim cobalt 46
eli ember 58
hana juniper 39
farah birch 73
alice juniper 49
eli juniper 111
alice harbor 101
| jules grove 90
chen harbor 45
alice cobalt 119
kim cobalt 46
eli ember 58
hana juniper 39
farah birch 73
alice juniper 49
eli juniper 111
alice harbor 101
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004518-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | chen fable 38
ivan amber 60
bruno grove 30
gus harbor 78
gus delta 63
jules ember 24
chen birch 107
ivan delta 78
| chen fable 38
ivan amber 60
bruno grove 30
gus harbor 78
gus delta 63
jules ember 24
chen birch 107
ivan delta 78
| jules grove 90
chen harbor 45
alice cobalt 119
kim cobalt 46
eli ember 58
hana juniper 39
farah birch 73
alice juniper 49
eli juniper 111
alice harbor 101
| jules grove 90
chen harbor 45
alice cobalt 119
kim cobalt 46
eli ember 58
hana juniper 39
farah birch 73
alice juniper 49
eli juniper 111
alice harbor 101
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004518 | qwen/qwen3.7-plus |
awkweave-0004519 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 102 failed
kim ember 89 pending
farah delta 37 paused
hana harbor 23 closed
chen amber 119 ready
eli juniper 2 ready
gus amber 80 pending
| hana ember 102 failed
| jules fable 69 active
gus fable 27 ready
hana amber 4 failed
kim indigo 69 ready
hana amber 24 closed
alice harbor 36 pending
kim amber 36 paused
bruno amber 83 pending
| alice harbor 36 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004519-p1 | Identify and output the longest line from the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | hana ember 102 failed
kim ember 89 pending
farah delta 37 paused
hana harbor 23 closed
chen amber 119 ready
eli juniper 2 ready
gus amber 80 pending
| hana ember 102 failed
| jules fable 69 active
gus fable 27 ready
hana amber 4 failed
kim indigo 69 ready
hana amber 24 closed
alice harbor 36 pending
kim amber 36 paused
bruno amber 83 pending
| alice harbor 36 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004519 | qwen/qwen3.7-plus |
awkweave-0004520 | Print every 4th line starting at line 1 (then line 5, and so on). | NR%4==1 | jules 10
gus 100
dina 106
farah 10
chen 59
bruno 110
bruno 83
eli 94
eli 67
alice 35
| jules 10
chen 59
eli 67
| lina 37
lina 46
farah 93
lina 17
dina 14
farah 64
lina 111
| lina 37
dina 14
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004520-p1 | Output every fourth line, beginning with line 1 (i.e., lines 1, 5, 9, etc.). | NR%4==1 | jules 10
gus 100
dina 106
farah 10
chen 59
bruno 110
bruno 83
eli 94
eli 67
alice 35
| jules 10
chen 59
eli 67
| lina 37
lina 46
farah 93
lina 17
dina 14
farah 64
lina 111
| lina 37
dina 14
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004520 | qwen/qwen3.7-plus |
awkweave-0004521 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 91
beta grove 81
gamma juniper 62
alpha amber 8
beta fable 86
delta harbor 51
gamma amber 8
alpha fable 74
beta fable 2
delta fable 18
| 4
| alpha harbor 66
alpha cobalt 93
beta juniper 120
delta ember 120
alpha juniper 97
alpha delta 68
alpha grove 116
| 3
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004521-p1 | Calculate the number of unique values in the first column and display only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta grove 91
beta grove 81
gamma juniper 62
alpha amber 8
beta fable 86
delta harbor 51
gamma amber 8
alpha fable 74
beta fable 2
delta fable 18
| 4
| alpha harbor 66
alpha cobalt 93
beta juniper 120
delta ember 120
alpha juniper 97
alpha delta 68
alpha grove 116
| 3
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004521 | qwen/qwen3.7-plus |
awkweave-0004522 | 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} | chen 1 0
gus 25 24
farah 25 16
chen 4 6
kim 3 13
dina 30 27
kim 17 12
lina 19 9
chen 12 28
eli 19 6
| gus 1.04
farah 1.56
chen 0.67
kim 0.23
dina 1.11
kim 1.42
lina 2.11
chen 0.43
eli 3.17
| farah 8 0
jules 2 12
bruno 28 4
lina 29 14
farah 7 15
ivan 9 8
hana 14 4
farah 12 26
lina 14 22
| jules 0.17
bruno 7.00
lina 2.07
farah 0.47
ivan 1.12
hana 3.50
farah 0.46
lina 0.64
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004522-p1 | For each row, output the value in column 1 and the result of dividing column 2 by column 3, formatted to two decimal places; exclude any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 1 0
gus 25 24
farah 25 16
chen 4 6
kim 3 13
dina 30 27
kim 17 12
lina 19 9
chen 12 28
eli 19 6
| gus 1.04
farah 1.56
chen 0.67
kim 0.23
dina 1.11
kim 1.42
lina 2.11
chen 0.43
eli 3.17
| farah 8 0
jules 2 12
bruno 28 4
lina 29 14
farah 7 15
ivan 9 8
hana 14 4
farah 12 26
lina 14 22
| jules 0.17
bruno 7.00
lina 2.07
farah 0.47
ivan 1.12
hana 3.50
farah 0.46
lina 0.64
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004522 | qwen/qwen3.7-plus |
awkweave-0004523 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | bruno amber 12
chen juniper 2
gus amber 14
eli grove 10
dina amber 18
hana cobalt 14
ivan grove 20
ivan fable 2
| ivan grove 20
dina amber 18
gus amber 14
| gus cobalt 9
dina delta 27
eli cobalt 13
bruno harbor 26
chen grove 29
gus harbor 13
jules ember 7
gus birch 13
| chen grove 29
dina delta 27
bruno harbor 26
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004523-p1 | Display the full records corresponding to the three 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]} | bruno amber 12
chen juniper 2
gus amber 14
eli grove 10
dina amber 18
hana cobalt 14
ivan grove 20
ivan fable 2
| ivan grove 20
dina amber 18
gus amber 14
| gus cobalt 9
dina delta 27
eli cobalt 13
bruno harbor 26
chen grove 29
gus harbor 13
jules ember 7
gus birch 13
| chen grove 29
dina delta 27
bruno harbor 26
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004523 | qwen/qwen3.7-plus |
awkweave-0004524 | Select the 5th and 1st fields in that order. | {print $5, $1} | ember failed paused jules ivan bruno
indigo failed ready alice farah jules
fable failed pending alice hana chen
harbor failed pending farah bruno farah
ember active failed lina gus dina
birch pending paused farah ivan dina
ember active closed farah gus chen
cobalt pending paused ivan lina dina
fable ready ready bruno a... | ivan ember
farah indigo
hana fable
bruno harbor
gus ember
ivan birch
gus ember
lina cobalt
alice fable
ivan delta
| harbor closed active kim kim hana
amber active ready farah chen chen
indigo ready pending kim lina kim
birch closed paused bruno chen eli
amber pending failed alice jules alice
cobalt closed pending lina jules ivan
birch ready closed dina dina kim
juniper paused ready jules chen chen
| kim harbor
chen amber
lina indigo
chen birch
jules amber
jules cobalt
dina birch
chen juniper
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004524-p1 | Extract and print the 5th field followed by the 1st field, in that specific sequence. | {print $5, $1} | ember failed paused jules ivan bruno
indigo failed ready alice farah jules
fable failed pending alice hana chen
harbor failed pending farah bruno farah
ember active failed lina gus dina
birch pending paused farah ivan dina
ember active closed farah gus chen
cobalt pending paused ivan lina dina
fable ready ready bruno a... | ivan ember
farah indigo
hana fable
bruno harbor
gus ember
ivan birch
gus ember
lina cobalt
alice fable
ivan delta
| harbor closed active kim kim hana
amber active ready farah chen chen
indigo ready pending kim lina kim
birch closed paused bruno chen eli
amber pending failed alice jules alice
cobalt closed pending lina jules ivan
birch ready closed dina dina kim
juniper paused ready jules chen chen
| kim harbor
chen amber
lina indigo
chen birch
jules amber
jules cobalt
dina birch
chen juniper
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004524 | qwen/qwen3.7-plus |
awkweave-0004525 | Print the last field of every input line. | {print $NF} | 119 ivan alice 64 chen 23 pending
71 kim chen 69 farah 39 paused
47 jules jules 49 dina 43 paused
49 gus eli 19 bruno 15 pending
5 ivan jules 99 jules 34 paused
75 ivan jules 59 alice 2 closed
23 hana alice 48 alice 104 active
55 eli gus 8 alice 63 ready
29 bruno kim 84 alice 6 paused
32 jules kim 27 eli 83 failed
| pending
paused
paused
pending
paused
closed
active
ready
paused
failed
| 112 kim dina 38 eli 42 ready
110 kim dina 9 ivan 12 pending
98 kim jules 104 alice 105 pending
39 ivan ivan 41 hana 68 pending
68 alice jules 34 dina 111 pending
117 eli bruno 59 hana 22 ready
| ready
pending
pending
pending
pending
ready
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004525-p1 | Output the final field from every line in the input. | {print $NF} | 119 ivan alice 64 chen 23 pending
71 kim chen 69 farah 39 paused
47 jules jules 49 dina 43 paused
49 gus eli 19 bruno 15 pending
5 ivan jules 99 jules 34 paused
75 ivan jules 59 alice 2 closed
23 hana alice 48 alice 104 active
55 eli gus 8 alice 63 ready
29 bruno kim 84 alice 6 paused
32 jules kim 27 eli 83 failed
| pending
paused
paused
pending
paused
closed
active
ready
paused
failed
| 112 kim dina 38 eli 42 ready
110 kim dina 9 ivan 12 pending
98 kim jules 104 alice 105 pending
39 ivan ivan 41 hana 68 pending
68 alice jules 34 dina 111 pending
117 eli bruno 59 hana 22 ready
| ready
pending
pending
pending
pending
ready
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004525 | qwen/qwen3.7-plus |
awkweave-0004526 | Print the complete records where column 2 is at most 80. | $2 <= 80 | pending 85 ember
pending 47 amber
paused 60 delta
active 46 grove
ready 51 grove
pending 118 delta
ready 32 juniper
failed 79 indigo
closed 98 grove
| pending 47 amber
paused 60 delta
active 46 grove
ready 51 grove
ready 32 juniper
failed 79 indigo
| active 114 indigo
failed 13 cobalt
closed 33 harbor
failed 14 grove
paused 101 harbor
pending 24 harbor
| failed 13 cobalt
closed 33 harbor
failed 14 grove
pending 24 harbor
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004526-p1 | Print the entire record for any row where the value in column 2 is less than or equal to 80. | $2 <= 80 | pending 85 ember
pending 47 amber
paused 60 delta
active 46 grove
ready 51 grove
pending 118 delta
ready 32 juniper
failed 79 indigo
closed 98 grove
| pending 47 amber
paused 60 delta
active 46 grove
ready 51 grove
ready 32 juniper
failed 79 indigo
| active 114 indigo
failed 13 cobalt
closed 33 harbor
failed 14 grove
paused 101 harbor
pending 24 harbor
| failed 13 cobalt
closed 33 harbor
failed 14 grove
pending 24 harbor
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004526 | qwen/qwen3.7-plus |
awkweave-0004527 | Show whole lines whose 1st field is between 4 and 27, inclusive. | $1 >= 4 && $1 <= 27 | 15 ivan ready indigo
11 alice paused delta
9 farah active cobalt
5 farah failed fable
6 ivan failed delta
5 chen closed delta
21 kim pending cobalt
22 alice failed grove
2 jules active juniper
1 ivan closed indigo
| 15 ivan ready indigo
11 alice paused delta
9 farah active cobalt
5 farah failed fable
6 ivan failed delta
5 chen closed delta
21 kim pending cobalt
22 alice failed grove
| 22 lina paused delta
21 lina failed harbor
19 kim pending cobalt
19 jules active cobalt
9 jules closed birch
21 farah closed fable
7 hana failed birch
21 eli active birch
25 dina ready birch
| 22 lina paused delta
21 lina failed harbor
19 kim pending cobalt
19 jules active cobalt
9 jules closed birch
21 farah closed fable
7 hana failed birch
21 eli active birch
25 dina ready birch
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004527-p1 | Display complete lines where the first field falls within the inclusive range of 4 to 27. | $1 >= 4 && $1 <= 27 | 15 ivan ready indigo
11 alice paused delta
9 farah active cobalt
5 farah failed fable
6 ivan failed delta
5 chen closed delta
21 kim pending cobalt
22 alice failed grove
2 jules active juniper
1 ivan closed indigo
| 15 ivan ready indigo
11 alice paused delta
9 farah active cobalt
5 farah failed fable
6 ivan failed delta
5 chen closed delta
21 kim pending cobalt
22 alice failed grove
| 22 lina paused delta
21 lina failed harbor
19 kim pending cobalt
19 jules active cobalt
9 jules closed birch
21 farah closed fable
7 hana failed birch
21 eli active birch
25 dina ready birch
| 22 lina paused delta
21 lina failed harbor
19 kim pending cobalt
19 jules active cobalt
9 jules closed birch
21 farah closed fable
7 hana failed birch
21 eli active birch
25 dina ready birch
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004527 | qwen/qwen3.7-plus |
awkweave-0004528 | Print column 4 only for rows where column 3 is exactly failed. | $3 == "failed"{print $4} | 114 juniper closed jules
101 harbor pending kim
52 indigo failed gus
57 harbor active farah
74 delta ready jules
93 ember closed ivan
35 delta closed lina
6 indigo closed bruno
66 cobalt ready gus
| gus
| 118 indigo ready bruno
117 ember paused ivan
115 amber closed chen
116 delta active ivan
32 birch ready ivan
25 harbor active kim
46 juniper paused gus
23 delta failed lina
5 cobalt active dina
62 fable pending eli
| lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004528-p1 | Output only the fourth column for rows where the third column contains the exact string 'failed'. | $3 == "failed"{print $4} | 114 juniper closed jules
101 harbor pending kim
52 indigo failed gus
57 harbor active farah
74 delta ready jules
93 ember closed ivan
35 delta closed lina
6 indigo closed bruno
66 cobalt ready gus
| gus
| 118 indigo ready bruno
117 ember paused ivan
115 amber closed chen
116 delta active ivan
32 birch ready ivan
25 harbor active kim
46 juniper paused gus
23 delta failed lina
5 cobalt active dina
62 fable pending eli
| lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004528 | qwen/qwen3.7-plus |
awkweave-0004529 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR 6 delta
DEBUG 86 harbor
DEBUG 80 fable
INFO 77 juniper
DEBUG 38 birch
INFO 15 cobalt
ERROR 70 amber
ERROR 54 birch
WARN 79 birch
| ERROR 6 delta
ERROR 70 amber
ERROR 54 birch
| INFO 84 amber
DEBUG 51 grove
ERROR 94 delta
DEBUG 23 amber
DEBUG 105 amber
DEBUG 33 ember
| ERROR 94 delta
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004529-p1 | Print all fields from any line where the first field starts with the prefix 'ERROR'. | $1 ~ /^ERROR/ | ERROR 6 delta
DEBUG 86 harbor
DEBUG 80 fable
INFO 77 juniper
DEBUG 38 birch
INFO 15 cobalt
ERROR 70 amber
ERROR 54 birch
WARN 79 birch
| ERROR 6 delta
ERROR 70 amber
ERROR 54 birch
| INFO 84 amber
DEBUG 51 grove
ERROR 94 delta
DEBUG 23 amber
DEBUG 105 amber
DEBUG 33 ember
| ERROR 94 delta
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004529 | qwen/qwen3.7-plus |
awkweave-0004530 | Print every line except those containing the exact text delta. | $0 !~ /delta/ | grove 61 paused
cobalt 52 paused
ember 45 failed
juniper 40 paused
fable 94 failed
fable 49 paused
delta 3 closed
ember 86 ready
indigo 109 closed
delta 999 active
| grove 61 paused
cobalt 52 paused
ember 45 failed
juniper 40 paused
fable 94 failed
fable 49 paused
ember 86 ready
indigo 109 closed
| birch 39 paused
amber 11 pending
grove 107 active
juniper 92 closed
harbor 100 paused
juniper 108 paused
birch 36 pending
juniper 37 active
delta 999 active
| birch 39 paused
amber 11 pending
grove 107 active
juniper 92 closed
harbor 100 paused
juniper 108 paused
birch 36 pending
juniper 37 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004530-p1 | Output all lines that do not contain the exact string delta. | $0 !~ /delta/ | grove 61 paused
cobalt 52 paused
ember 45 failed
juniper 40 paused
fable 94 failed
fable 49 paused
delta 3 closed
ember 86 ready
indigo 109 closed
delta 999 active
| grove 61 paused
cobalt 52 paused
ember 45 failed
juniper 40 paused
fable 94 failed
fable 49 paused
ember 86 ready
indigo 109 closed
| birch 39 paused
amber 11 pending
grove 107 active
juniper 92 closed
harbor 100 paused
juniper 108 paused
birch 36 pending
juniper 37 active
delta 999 active
| birch 39 paused
amber 11 pending
grove 107 active
juniper 92 closed
harbor 100 paused
juniper 108 paused
birch 36 pending
juniper 37 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004530 | qwen/qwen3.7-plus |
awkweave-0004531 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | gus birch 97
jules indigo 8
chen grove 119
lina harbor 51
chen delta 47
eli juniper 79
ivan amber 83
| jules indigo 8
chen grove 119
lina harbor 51
chen delta 47
| chen fable 69
chen fable 23
gus grove 17
farah grove 76
eli delta 14
lina grove 70
lina indigo 85
gus ember 41
jules fable 28
| chen fable 23
gus grove 17
farah grove 76
eli delta 14
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004531-p1 | Display lines 2 to 5, inclusive of both ends. | NR >= 2 && NR <= 5 | gus birch 97
jules indigo 8
chen grove 119
lina harbor 51
chen delta 47
eli juniper 79
ivan amber 83
| jules indigo 8
chen grove 119
lina harbor 51
chen delta 47
| chen fable 69
chen fable 23
gus grove 17
farah grove 76
eli delta 14
lina grove 70
lina indigo 85
gus ember 41
jules fable 28
| chen fable 23
gus grove 17
farah grove 76
eli delta 14
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004531 | qwen/qwen3.7-plus |
awkweave-0004532 | Output only the first 5 records. | NR <= 5 | gus 52 amber
kim 113 grove
gus 52 amber
kim 101 harbor
farah 119 juniper
bruno 63 ember
kim 9 fable
farah 49 cobalt
bruno 111 cobalt
| gus 52 amber
kim 113 grove
gus 52 amber
kim 101 harbor
farah 119 juniper
| ivan 76 birch
bruno 107 indigo
ivan 103 harbor
gus 63 harbor
lina 82 juniper
jules 19 ember
| ivan 76 birch
bruno 107 indigo
ivan 103 harbor
gus 63 harbor
lina 82 juniper
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004532-p1 | Show only the initial 5 records. | NR <= 5 | gus 52 amber
kim 113 grove
gus 52 amber
kim 101 harbor
farah 119 juniper
bruno 63 ember
kim 9 fable
farah 49 cobalt
bruno 111 cobalt
| gus 52 amber
kim 113 grove
gus 52 amber
kim 101 harbor
farah 119 juniper
| ivan 76 birch
bruno 107 indigo
ivan 103 harbor
gus 63 harbor
lina 82 juniper
jules 19 ember
| ivan 76 birch
bruno 107 indigo
ivan 103 harbor
gus 63 harbor
lina 82 juniper
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004532 | qwen/qwen3.7-plus |
awkweave-0004533 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 4 cobalt
alice 3 juniper
farah 68 fable
farah 44 harbor
kim 33 harbor
eli 51 juniper
alice 17 delta
bruno 52 grove
bruno 23 fable
| alice 3 juniper
farah 68 fable
farah 44 harbor
kim 33 harbor
eli 51 juniper
alice 17 delta
bruno 52 grove
bruno 23 fable
| gus 21 juniper
chen 57 delta
ivan 6 delta
alice 2 cobalt
farah 86 juniper
jules 15 delta
ivan 85 indigo
chen 22 juniper
chen 63 ember
| chen 57 delta
ivan 6 delta
alice 2 cobalt
farah 86 juniper
jules 15 delta
ivan 85 indigo
chen 22 juniper
chen 63 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004533-p1 | Omit the first line and print the rest as they are. | NR > 1 | ivan 4 cobalt
alice 3 juniper
farah 68 fable
farah 44 harbor
kim 33 harbor
eli 51 juniper
alice 17 delta
bruno 52 grove
bruno 23 fable
| alice 3 juniper
farah 68 fable
farah 44 harbor
kim 33 harbor
eli 51 juniper
alice 17 delta
bruno 52 grove
bruno 23 fable
| gus 21 juniper
chen 57 delta
ivan 6 delta
alice 2 cobalt
farah 86 juniper
jules 15 delta
ivan 85 indigo
chen 22 juniper
chen 63 ember
| chen 57 delta
ivan 6 delta
alice 2 cobalt
farah 86 juniper
jules 15 delta
ivan 85 indigo
chen 22 juniper
chen 63 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004533 | qwen/qwen3.7-plus |
awkweave-0004534 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | farah active 17
alice paused 62
gus paused 1
kim active 35
lina failed 106
alice failed 77
| 2
| hana paused 82
lina paused 65
eli active 68
eli ready 120
bruno pending 50
hana closed 24
jules paused 72
eli pending 105
gus active 21
jules failed 85
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004534-p1 | Count the number of records with 'failed' in column 2, outputting 0 if none exist. | $2 == "failed"{n++}END{print n+0} | farah active 17
alice paused 62
gus paused 1
kim active 35
lina failed 106
alice failed 77
| 2
| hana paused 82
lina paused 65
eli active 68
eli ready 120
bruno pending 50
hana closed 24
jules paused 72
eli pending 105
gus active 21
jules failed 85
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004534 | qwen/qwen3.7-plus |
awkweave-0004535 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 14 bruno delta
1 dina fable
3 hana harbor
10 lina ember
17 kim grove
15 chen indigo
16 eli juniper
18 hana fable
16 hana grove
1 jules amber
| 111
| 27 chen amber
19 chen ember
27 gus harbor
28 alice birch
26 lina juniper
25 chen ember
22 chen cobalt
19 hana ember
| 193
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004535-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 14 bruno delta
1 dina fable
3 hana harbor
10 lina ember
17 kim grove
15 chen indigo
16 eli juniper
18 hana fable
16 hana grove
1 jules amber
| 111
| 27 chen amber
19 chen ember
27 gus harbor
28 alice birch
26 lina juniper
25 chen ember
22 chen cobalt
19 hana ember
| 193
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004535 | qwen/qwen3.7-plus |
awkweave-0004536 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper kim 30
grove alice 17
grove jules 4
grove gus 27
cobalt lina 11
birch hana 6
amber jules 5
grove ivan 25
| 15.62
| harbor eli 27
juniper ivan 29
indigo alice 21
grove bruno 3
birch ivan 19
ember chen 1
birch bruno 12
fable kim 1
cobalt dina 22
juniper jules 7
| 14.20
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004536-p1 | Print the average of column 3, formatted to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper kim 30
grove alice 17
grove jules 4
grove gus 27
cobalt lina 11
birch hana 6
amber jules 5
grove ivan 25
| 15.62
| harbor eli 27
juniper ivan 29
indigo alice 21
grove bruno 3
birch ivan 19
ember chen 1
birch bruno 12
fable kim 1
cobalt dina 22
juniper jules 7
| 14.20
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004536 | qwen/qwen3.7-plus |
awkweave-0004537 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | farah 21 indigo
kim 25 delta
farah 22 cobalt
dina 1 birch
jules 28 amber
dina 10 fable
alice 26 grove
alice 14 juniper
hana 13 delta
kim 15 cobalt
| 1
| dina 9 birch
dina 20 harbor
kim 22 amber
kim 3 fable
kim 10 delta
kim 16 amber
ivan 7 delta
lina 18 harbor
eli 20 ember
farah 27 amber
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004537-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | farah 21 indigo
kim 25 delta
farah 22 cobalt
dina 1 birch
jules 28 amber
dina 10 fable
alice 26 grove
alice 14 juniper
hana 13 delta
kim 15 cobalt
| 1
| dina 9 birch
dina 20 harbor
kim 22 amber
kim 3 fable
kim 10 delta
kim 16 amber
ivan 7 delta
lina 18 harbor
eli 20 ember
farah 27 amber
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004537 | qwen/qwen3.7-plus |
awkweave-0004538 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | kim birch 25
gus ember 30
dina delta 5
jules harbor 11
eli amber 23
dina ember 14
hana grove 18
kim harbor 27
chen juniper 6
| 30
| alice harbor 11
gus amber 4
lina grove 4
ivan harbor 4
hana grove 13
eli amber 2
| 13
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004538-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | kim birch 25
gus ember 30
dina delta 5
jules harbor 11
eli amber 23
dina ember 14
hana grove 18
kim harbor 27
chen juniper 6
| 30
| alice harbor 11
gus amber 4
lina grove 4
ivan harbor 4
hana grove 13
eli amber 2
| 13
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004538 | qwen/qwen3.7-plus |
awkweave-0004539 | Count all input records and print the total. | END{print NR} | lina 44
chen 95
kim 16
bruno 97
eli 45
eli 25
| 6
| lina 95
alice 7
dina 55
eli 28
bruno 34
chen 99
hana 75
ivan 81
ivan 5
jules 17
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004539-p1 | Count the total number of input records and print the result. | END{print NR} | lina 44
chen 95
kim 16
bruno 97
eli 45
eli 25
| 6
| lina 95
alice 7
dina 55
eli 28
bruno 34
chen 99
hana 75
ivan 81
ivan 5
jules 17
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004539 | qwen/qwen3.7-plus |
awkweave-0004540 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice fable 51
ivan birch 119
hana amber 31
kim indigo 67
gus amber 83
lina harbor 79
jules juniper 7
kim cobalt 22
alice fable 51
ivan indigo 96
| alice fable 51
ivan birch 119
hana amber 31
kim indigo 67
gus amber 83
lina harbor 79
jules juniper 7
kim cobalt 22
ivan indigo 96
| kim harbor 33
farah cobalt 120
alice fable 35
lina harbor 90
jules amber 87
hana delta 24
lina harbor 90
gus delta 3
lina cobalt 55
bruno amber 7
| kim harbor 33
farah cobalt 120
alice fable 35
lina harbor 90
jules amber 87
hana delta 24
gus delta 3
lina cobalt 55
bruno amber 7
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004540-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining original order. | !seen[$0]++ | alice fable 51
ivan birch 119
hana amber 31
kim indigo 67
gus amber 83
lina harbor 79
jules juniper 7
kim cobalt 22
alice fable 51
ivan indigo 96
| alice fable 51
ivan birch 119
hana amber 31
kim indigo 67
gus amber 83
lina harbor 79
jules juniper 7
kim cobalt 22
ivan indigo 96
| kim harbor 33
farah cobalt 120
alice fable 35
lina harbor 90
jules amber 87
hana delta 24
lina harbor 90
gus delta 3
lina cobalt 55
bruno amber 7
| kim harbor 33
farah cobalt 120
alice fable 35
lina harbor 90
jules amber 87
hana delta 24
gus delta 3
lina cobalt 55
bruno amber 7
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004540 | qwen/qwen3.7-plus |
awkweave-0004541 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | lina amber 52
bruno amber 100
bruno birch 70
alice amber 35
ivan amber 5
alice amber 12
jules fable 74
bruno birch 86
| lina amber 52
bruno amber 100
alice amber 35
ivan amber 5
jules fable 74
| alice amber 37
lina indigo 79
ivan juniper 79
hana birch 75
bruno juniper 22
bruno fable 51
bruno birch 107
| alice amber 37
lina indigo 79
ivan juniper 79
hana birch 75
bruno juniper 22
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004541-p1 | Retain only the first occurrence for each unique value in column 1, preserving the input sequence. | !seen[$1]++ | lina amber 52
bruno amber 100
bruno birch 70
alice amber 35
ivan amber 5
alice amber 12
jules fable 74
bruno birch 86
| lina amber 52
bruno amber 100
alice amber 35
ivan amber 5
jules fable 74
| alice amber 37
lina indigo 79
ivan juniper 79
hana birch 75
bruno juniper 22
bruno fable 51
bruno birch 107
| alice amber 37
lina indigo 79
ivan juniper 79
hana birch 75
bruno juniper 22
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004541 | qwen/qwen3.7-plus |
awkweave-0004542 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | eli 1 amber
hana 10 harbor
dina 26 harbor
chen 1 delta
alice 4 juniper
eli 7 harbor
eli 20 ember
kim 27 amber
jules 9 grove
| eli 1
hana 11
dina 37
chen 38
alice 42
eli 49
eli 69
kim 96
jules 105
| lina 13 cobalt
hana 25 indigo
kim 24 cobalt
ivan 2 fable
gus 16 indigo
alice 16 birch
gus 2 cobalt
ivan 22 indigo
kim 12 grove
| lina 13
hana 38
kim 62
ivan 64
gus 80
alice 96
gus 98
ivan 120
kim 132
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004542-p1 | Output the first column and the cumulative total of the second column for every record, using a space as the delimiter. | {s+=$2;print $1,s} | eli 1 amber
hana 10 harbor
dina 26 harbor
chen 1 delta
alice 4 juniper
eli 7 harbor
eli 20 ember
kim 27 amber
jules 9 grove
| eli 1
hana 11
dina 37
chen 38
alice 42
eli 49
eli 69
kim 96
jules 105
| lina 13 cobalt
hana 25 indigo
kim 24 cobalt
ivan 2 fable
gus 16 indigo
alice 16 birch
gus 2 cobalt
ivan 22 indigo
kim 12 grove
| lina 13
hana 38
kim 62
ivan 64
gus 80
alice 96
gus 98
ivan 120
kim 132
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004542 | qwen/qwen3.7-plus |
awkweave-0004543 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 8 18 birch
farah 22 13 juniper
alice 28 11 grove
jules 25 28 grove
lina 27 8 harbor
jules 18 12 ember
eli 28 27 delta
| jules 26
farah 35
alice 39
jules 53
lina 35
jules 30
eli 55
| eli 26 23 fable
lina 22 2 birch
kim 30 7 juniper
kim 13 6 fable
ivan 6 16 indigo
ivan 21 13 cobalt
lina 25 28 birch
hana 18 20 grove
farah 6 15 birch
| eli 49
lina 24
kim 37
kim 19
ivan 22
ivan 34
lina 53
hana 38
farah 21
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004543-p1 | For each line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | jules 8 18 birch
farah 22 13 juniper
alice 28 11 grove
jules 25 28 grove
lina 27 8 harbor
jules 18 12 ember
eli 28 27 delta
| jules 26
farah 35
alice 39
jules 53
lina 35
jules 30
eli 55
| eli 26 23 fable
lina 22 2 birch
kim 30 7 juniper
kim 13 6 fable
ivan 6 16 indigo
ivan 21 13 cobalt
lina 25 28 birch
hana 18 20 grove
farah 6 15 birch
| eli 49
lina 24
kim 37
kim 19
ivan 22
ivan 34
lina 53
hana 38
farah 21
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004543 | qwen/qwen3.7-plus |
awkweave-0004544 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | bruno 7
ivan 5
jules 19
ivan 21
kim 21
dina 4
| bruno fail
ivan fail
jules fail
ivan fail
kim fail
dina fail
| alice 17
chen 26
eli 21
farah 8
farah 8
hana 25
alice 15
| alice fail
chen pass
eli fail
farah fail
farah fail
hana pass
alice fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004544-p1 | Display the first column; if the second column is 23 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=23?"pass":"fail")} | bruno 7
ivan 5
jules 19
ivan 21
kim 21
dina 4
| bruno fail
ivan fail
jules fail
ivan fail
kim fail
dina fail
| alice 17
chen 26
eli 21
farah 8
farah 8
hana 25
alice 15
| alice fail
chen pass
eli fail
farah fail
farah fail
hana pass
alice fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004544 | qwen/qwen3.7-plus |
awkweave-0004545 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | gus fable 88
hana grove 33
dina cobalt 114
kim amber 114
chen harbor 23
kim ember 32
gus cobalt 13
alice indigo 118
dina grove 105
| FABLE
GROVE
COBALT
AMBER
HARBOR
EMBER
COBALT
INDIGO
GROVE
| jules grove 90
dina juniper 13
dina birch 22
kim cobalt 79
lina grove 68
gus grove 42
eli fable 94
chen indigo 88
jules fable 67
lina amber 27
| GROVE
JUNIPER
BIRCH
COBALT
GROVE
GROVE
FABLE
INDIGO
FABLE
AMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004545-p1 | Transform the second column to uppercase and output only that modified column. | {print toupper($2)} | gus fable 88
hana grove 33
dina cobalt 114
kim amber 114
chen harbor 23
kim ember 32
gus cobalt 13
alice indigo 118
dina grove 105
| FABLE
GROVE
COBALT
AMBER
HARBOR
EMBER
COBALT
INDIGO
GROVE
| jules grove 90
dina juniper 13
dina birch 22
kim cobalt 79
lina grove 68
gus grove 42
eli fable 94
chen indigo 88
jules fable 67
lina amber 27
| GROVE
JUNIPER
BIRCH
COBALT
GROVE
GROVE
FABLE
INDIGO
FABLE
AMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004545 | qwen/qwen3.7-plus |
awkweave-0004546 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | harbor 116
harbor 32
delta 82
juniper 20
delta 85
grove 91
cobalt 17
cobalt 6
birch 57
grove 70
| rbo
rbo
lta
nip
lta
ove
bal
bal
rch
ove
| juniper 64
grove 27
amber 54
cobalt 9
cobalt 37
ember 11
delta 13
harbor 16
amber 2
| nip
ove
ber
bal
bal
ber
lta
rbo
ber
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004546-p1 | Extract and print a 3-character substring from the first column, beginning at the third character. | {print substr($1,3,3)} | harbor 116
harbor 32
delta 82
juniper 20
delta 85
grove 91
cobalt 17
cobalt 6
birch 57
grove 70
| rbo
rbo
lta
nip
lta
ove
bal
bal
rch
ove
| juniper 64
grove 27
amber 54
cobalt 9
cobalt 37
ember 11
delta 13
harbor 16
amber 2
| nip
ove
ber
bal
bal
ber
lta
rbo
ber
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004546 | qwen/qwen3.7-plus |
awkweave-0004547 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | fable_harbor 113
cobalt_ember 82
fable_ember 8
birch_delta 91
juniper_delta 120
indigo_cobalt 53
fable_birch 92
cobalt_fable 30
harbor_fable 102
amber_birch 106
| fable harbor
cobalt ember
fable ember
birch delta
juniper delta
indigo cobalt
fable birch
cobalt fable
harbor fable
amber birch
| cobalt_grove 50
fable_indigo 2
juniper_indigo 95
indigo_fable 23
delta_cobalt 97
cobalt_ember 88
| cobalt grove
fable indigo
juniper indigo
indigo fable
delta cobalt
cobalt ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004547-p1 | Substitute all underscores in the first column with spaces and print the updated values. | {gsub(/_/," ",$1);print $1} | fable_harbor 113
cobalt_ember 82
fable_ember 8
birch_delta 91
juniper_delta 120
indigo_cobalt 53
fable_birch 92
cobalt_fable 30
harbor_fable 102
amber_birch 106
| fable harbor
cobalt ember
fable ember
birch delta
juniper delta
indigo cobalt
fable birch
cobalt fable
harbor fable
amber birch
| cobalt_grove 50
fable_indigo 2
juniper_indigo 95
indigo_fable 23
delta_cobalt 97
cobalt_ember 88
| cobalt grove
fable indigo
juniper indigo
indigo fable
delta cobalt
cobalt ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004547 | qwen/qwen3.7-plus |
awkweave-0004548 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice delta 104 ready
dina cobalt 58 ready
eli grove 97 pending
kim harbor 40 ready
hana birch 31 closed
kim cobalt 72 active
gus juniper 82 failed
jules delta 46 active
| ready 104 delta alice
ready 58 cobalt dina
pending 97 grove eli
ready 40 harbor kim
closed 31 birch hana
active 72 cobalt kim
failed 82 juniper gus
active 46 delta jules
| gus birch 12 paused
chen indigo 73 failed
eli juniper 48 active
hana grove 78 failed
eli harbor 4 paused
farah amber 6 paused
jules birch 31 active
ivan harbor 62 failed
| paused 12 birch gus
failed 73 indigo chen
active 48 juniper eli
failed 78 grove hana
paused 4 harbor eli
paused 6 amber farah
active 31 birch jules
failed 62 harbor ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004548-p1 | Reverse the sequence of fields for every line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | alice delta 104 ready
dina cobalt 58 ready
eli grove 97 pending
kim harbor 40 ready
hana birch 31 closed
kim cobalt 72 active
gus juniper 82 failed
jules delta 46 active
| ready 104 delta alice
ready 58 cobalt dina
pending 97 grove eli
ready 40 harbor kim
closed 31 birch hana
active 72 cobalt kim
failed 82 juniper gus
active 46 delta jules
| gus birch 12 paused
chen indigo 73 failed
eli juniper 48 active
hana grove 78 failed
eli harbor 4 paused
farah amber 6 paused
jules birch 31 active
ivan harbor 62 failed
| paused 12 birch gus
failed 73 indigo chen
active 48 juniper eli
failed 78 grove hana
paused 4 harbor eli
paused 6 amber farah
active 31 birch jules
failed 62 harbor ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004548 | qwen/qwen3.7-plus |
awkweave-0004549 | Print the number of whitespace-separated fields on each line. | {print NF} | gus amber 49 paused
gus amber 65 failed
jules indigo 33 closed
dina cobalt 25 ready
alice harbor 7 pending
dina juniper 78 failed
dina fable 7 failed
lina harbor 15 paused
| 4
4
4
4
4
4
4
4
| ivan grove 74 closed
kim amber 75 ready
kim cobalt 22 active
eli fable 73 active
ivan amber 45 paused
farah birch 62 active
farah indigo 23 paused
ivan grove 0 pending
ivan grove 80 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0004549-p1 | Output the count of whitespace-delimited fields found on each line. | {print NF} | gus amber 49 paused
gus amber 65 failed
jules indigo 33 closed
dina cobalt 25 ready
alice harbor 7 pending
dina juniper 78 failed
dina fable 7 failed
lina harbor 15 paused
| 4
4
4
4
4
4
4
4
| ivan grove 74 closed
kim amber 75 ready
kim cobalt 22 active
eli fable 73 active
ivan amber 45 paused
farah birch 62 active
farah indigo 23 paused
ivan grove 0 pending
ivan grove 80 ready
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0004549 | qwen/qwen3.7-plus |
awkweave-0004550 | 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 delta 84
farah gamma 113
jules beta 82
farah delta 62
jules alpha 21
ivan beta 22
kim delta 53
ivan delta 119
lina delta 76
| delta 5
gamma 1
beta 2
alpha 1
| ivan alpha 100
dina gamma 103
hana gamma 8
alice alpha 80
ivan alpha 28
alice alpha 80
chen gamma 100
bruno delta 24
farah delta 31
lina gamma 64
| alpha 4
gamma 4
delta 2
| count_by_key | 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.