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-0024381-p1 | Output every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | delta 86 closed
delta 22 pending
indigo 14 closed
delta 36 paused
indigo 0 failed
grove 3 active
fable 34 ready
delta 52 paused
fable 999 active
| delta 86 closed
delta 22 pending
indigo 14 closed
delta 36 paused
indigo 0 failed
grove 3 active
delta 52 paused
| harbor 81 ready
harbor 7 ready
fable 51 failed
delta 58 active
delta 16 active
juniper 115 active
harbor 2 paused
fable 999 active
| harbor 81 ready
harbor 7 ready
delta 58 active
delta 16 active
juniper 115 active
harbor 2 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024381 | qwen/qwen3.7-plus |
awkweave-0024382 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | alice grove 93
hana ember 49
dina indigo 83
ivan fable 98
bruno amber 109
jules delta 84
chen harbor 40
kim ember 9
hana fable 91
chen fable 53
| dina indigo 83
ivan fable 98
bruno amber 109
jules delta 84
| farah grove 46
alice fable 2
hana birch 46
bruno harbor 98
kim juniper 5
lina indigo 40
lina indigo 78
hana juniper 35
dina juniper 104
bruno harbor 57
| hana birch 46
bruno harbor 98
kim juniper 5
lina indigo 40
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024382-p1 | Print lines 3 through 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | alice grove 93
hana ember 49
dina indigo 83
ivan fable 98
bruno amber 109
jules delta 84
chen harbor 40
kim ember 9
hana fable 91
chen fable 53
| dina indigo 83
ivan fable 98
bruno amber 109
jules delta 84
| farah grove 46
alice fable 2
hana birch 46
bruno harbor 98
kim juniper 5
lina indigo 40
lina indigo 78
hana juniper 35
dina juniper 104
bruno harbor 57
| hana birch 46
bruno harbor 98
kim juniper 5
lina indigo 40
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024382 | qwen/qwen3.7-plus |
awkweave-0024383 | Output only the first 4 records. | NR <= 4 | lina 98 amber
jules 69 juniper
jules 80 cobalt
bruno 88 indigo
kim 70 juniper
ivan 1 fable
alice 31 harbor
lina 94 fable
bruno 83 birch
| lina 98 amber
jules 69 juniper
jules 80 cobalt
bruno 88 indigo
| lina 15 grove
jules 2 amber
jules 114 birch
eli 14 harbor
alice 83 cobalt
eli 103 grove
| lina 15 grove
jules 2 amber
jules 114 birch
eli 14 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024383-p1 | Display only the initial 4 records. | NR <= 4 | lina 98 amber
jules 69 juniper
jules 80 cobalt
bruno 88 indigo
kim 70 juniper
ivan 1 fable
alice 31 harbor
lina 94 fable
bruno 83 birch
| lina 98 amber
jules 69 juniper
jules 80 cobalt
bruno 88 indigo
| lina 15 grove
jules 2 amber
jules 114 birch
eli 14 harbor
alice 83 cobalt
eli 103 grove
| lina 15 grove
jules 2 amber
jules 114 birch
eli 14 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024383 | qwen/qwen3.7-plus |
awkweave-0024384 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 7 birch
lina 48 fable
alice 76 amber
bruno 88 indigo
ivan 71 grove
eli 76 amber
gus 92 grove
| lina 48 fable
alice 76 amber
bruno 88 indigo
ivan 71 grove
eli 76 amber
gus 92 grove
| ivan 100 cobalt
farah 115 fable
lina 1 birch
ivan 116 harbor
chen 117 fable
ivan 4 grove
| farah 115 fable
lina 1 birch
ivan 116 harbor
chen 117 fable
ivan 4 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024384-p1 | Omit the first line and output all subsequent lines without modification. | NR > 1 | alice 7 birch
lina 48 fable
alice 76 amber
bruno 88 indigo
ivan 71 grove
eli 76 amber
gus 92 grove
| lina 48 fable
alice 76 amber
bruno 88 indigo
ivan 71 grove
eli 76 amber
gus 92 grove
| ivan 100 cobalt
farah 115 fable
lina 1 birch
ivan 116 harbor
chen 117 fable
ivan 4 grove
| farah 115 fable
lina 1 birch
ivan 116 harbor
chen 117 fable
ivan 4 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024384 | qwen/qwen3.7-plus |
awkweave-0024385 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | ivan closed 77
ivan failed 111
ivan paused 72
eli failed 116
kim pending 67
kim closed 37
eli pending 52
dina failed 64
ivan ready 19
bruno closed 19
| 1
| kim closed 64
hana active 85
ivan active 16
chen ready 92
jules active 19
kim ready 32
hana failed 35
ivan ready 46
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024385-p1 | Count the number of records where the second column is 'paused', printing 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | ivan closed 77
ivan failed 111
ivan paused 72
eli failed 116
kim pending 67
kim closed 37
eli pending 52
dina failed 64
ivan ready 19
bruno closed 19
| 1
| kim closed 64
hana active 85
ivan active 16
chen ready 92
jules active 19
kim ready 32
hana failed 35
ivan ready 46
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024385 | qwen/qwen3.7-plus |
awkweave-0024386 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 10 chen amber
5 chen juniper
28 kim delta
13 bruno fable
9 alice cobalt
13 eli ember
15 bruno harbor
11 gus ember
| 104
| 15 lina birch
22 alice amber
1 bruno fable
24 gus fable
17 jules cobalt
26 bruno grove
11 chen harbor
| 116
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024386-p1 | Compute and display the sum of all integer values found in the first column. | {s+=$1}END{print s+0} | 10 chen amber
5 chen juniper
28 kim delta
13 bruno fable
9 alice cobalt
13 eli ember
15 bruno harbor
11 gus ember
| 104
| 15 lina birch
22 alice amber
1 bruno fable
24 gus fable
17 jules cobalt
26 bruno grove
11 chen harbor
| 116
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024386 | qwen/qwen3.7-plus |
awkweave-0024387 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | cobalt ivan 10
juniper eli 10
ember alice 7
birch ivan 22
amber ivan 3
grove lina 29
grove chen 3
ember jules 16
| 12.50
| birch bruno 5
cobalt bruno 7
birch hana 11
indigo lina 11
cobalt lina 5
juniper jules 24
juniper ivan 7
ember chen 12
harbor hana 23
| 11.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024387-p1 | Calculate the average of the values in the third column and print it rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | cobalt ivan 10
juniper eli 10
ember alice 7
birch ivan 22
amber ivan 3
grove lina 29
grove chen 3
ember jules 16
| 12.50
| birch bruno 5
cobalt bruno 7
birch hana 11
indigo lina 11
cobalt lina 5
juniper jules 24
juniper ivan 7
ember chen 12
harbor hana 23
| 11.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024387 | qwen/qwen3.7-plus |
awkweave-0024388 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber bruno 28
amber kim 9
harbor bruno 1
harbor ivan 6
amber farah 8
juniper chen 16
juniper ivan 11
grove dina 11
delta jules 10
| 1
| juniper hana 16
delta ivan 6
indigo eli 15
cobalt hana 11
birch gus 2
juniper ivan 8
indigo eli 1
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024388-p1 | Identify and output the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | amber bruno 28
amber kim 9
harbor bruno 1
harbor ivan 6
amber farah 8
juniper chen 16
juniper ivan 11
grove dina 11
delta jules 10
| 1
| juniper hana 16
delta ivan 6
indigo eli 15
cobalt hana 11
birch gus 2
juniper ivan 8
indigo eli 1
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024388 | qwen/qwen3.7-plus |
awkweave-0024389 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber gus 26
juniper kim 2
harbor kim 21
grove lina 6
indigo ivan 1
cobalt alice 11
delta lina 27
ember gus 4
| 27
| fable farah 21
juniper eli 19
fable gus 1
birch jules 5
amber farah 28
delta alice 16
fable farah 8
amber bruno 22
cobalt chen 13
amber dina 10
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024389-p1 | Identify and output the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber gus 26
juniper kim 2
harbor kim 21
grove lina 6
indigo ivan 1
cobalt alice 11
delta lina 27
ember gus 4
| 27
| fable farah 21
juniper eli 19
fable gus 1
birch jules 5
amber farah 28
delta alice 16
fable farah 8
amber bruno 22
cobalt chen 13
amber dina 10
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024389 | qwen/qwen3.7-plus |
awkweave-0024400 | Print the number of whitespace-separated fields on each line. | {print NF} | alice indigo 75 closed
ivan delta 95 paused
dina delta 16 failed
ivan juniper 117 pending
farah delta 81 ready
eli amber 41 failed
| 4
4
4
4
4
4
| hana ember 118 active
eli birch 110 active
alice grove 63 ready
dina harbor 55 pending
hana juniper 97 ready
hana juniper 4 closed
dina harbor 74 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024400-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | alice indigo 75 closed
ivan delta 95 paused
dina delta 16 failed
ivan juniper 117 pending
farah delta 81 ready
eli amber 41 failed
| 4
4
4
4
4
4
| hana ember 118 active
eli birch 110 active
alice grove 63 ready
dina harbor 55 pending
hana juniper 97 ready
hana juniper 4 closed
dina harbor 74 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024400 | qwen/qwen3.7-plus |
awkweave-0024401 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | kim delta 47
farah alpha 99
hana gamma 19
bruno beta 68
jules delta 107
bruno beta 76
| delta 2
alpha 1
gamma 1
beta 2
| bruno beta 41
farah delta 32
eli beta 27
jules delta 110
gus alpha 81
eli beta 71
jules beta 105
kim alpha 48
ivan alpha 14
eli gamma 32
| beta 4
delta 2
alpha 3
gamma 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024401-p1 | Tally the occurrences of each unique value in the second column and display the value alongside its count, maintaining the order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | kim delta 47
farah alpha 99
hana gamma 19
bruno beta 68
jules delta 107
bruno beta 76
| delta 2
alpha 1
gamma 1
beta 2
| bruno beta 41
farah delta 32
eli beta 27
jules delta 110
gus alpha 81
eli beta 71
jules beta 105
kim alpha 48
ivan alpha 14
eli gamma 32
| beta 4
delta 2
alpha 3
gamma 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024401 | qwen/qwen3.7-plus |
awkweave-0024402 | 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]]} | jules gamma 29
lina gamma 28
bruno gamma 4
kim gamma 6
farah beta 1
kim delta 7
| gamma 67
beta 1
delta 7
| ivan gamma 30
jules alpha 3
chen alpha 15
hana delta 26
bruno delta 21
jules gamma 14
lina gamma 7
alice delta 15
| gamma 51
alpha 18
delta 62
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024402-p1 | Calculate the sum of values in column 3 grouped by column 2, listing 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]]} | jules gamma 29
lina gamma 28
bruno gamma 4
kim gamma 6
farah beta 1
kim delta 7
| gamma 67
beta 1
delta 7
| ivan gamma 30
jules alpha 3
chen alpha 15
hana delta 26
bruno delta 21
jules gamma 14
lina gamma 7
alice delta 15
| gamma 51
alpha 18
delta 62
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024402 | qwen/qwen3.7-plus |
awkweave-0024403 | 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 grove 15
gamma fable 94
gamma birch 53
delta birch 35
alpha grove 21
gamma grove 120
alpha delta 102
| gamma 3
alpha 2
| gamma amber 78
beta grove 96
delta cobalt 3
beta grove 76
delta delta 28
gamma ember 67
gamma harbor 45
| gamma 3
beta 2
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024403-p1 | List each duplicate value from the first column along with its frequency, ordered by when they first appear. | {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 grove 15
gamma fable 94
gamma birch 53
delta birch 35
alpha grove 21
gamma grove 120
alpha delta 102
| gamma 3
alpha 2
| gamma amber 78
beta grove 96
delta cobalt 3
beta grove 76
delta delta 28
gamma ember 67
gamma harbor 45
| gamma 3
beta 2
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024403 | qwen/qwen3.7-plus |
awkweave-0024404 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | note region record_id score
r001 eli 11 active
r002 jules 21 active
r003 gus 26 active
r004 chen 25 active
r005 eli 25 failed
r006 bruno 6 pending
| 11
21
26
25
25
6
| note region record_id score
r001 alice 16 paused
r002 ivan 2 failed
r003 hana 17 failed
r004 chen 24 failed
r005 ivan 6 closed
r006 gus 2 active
| 16
2
17
24
6
2
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024404-p1 | Treating the first line as a header, output the values from the record_id column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | note region record_id score
r001 eli 11 active
r002 jules 21 active
r003 gus 26 active
r004 chen 25 active
r005 eli 25 failed
r006 bruno 6 pending
| 11
21
26
25
25
6
| note region record_id score
r001 alice 16 paused
r002 ivan 2 failed
r003 hana 17 failed
r004 chen 24 failed
r005 ivan 6 closed
r006 gus 2 active
| 16
2
17
24
6
2
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024404 | qwen/qwen3.7-plus |
awkweave-0024405 | The first row is a header. Print display_name for data rows whose score is greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 jules 3 pending
r002 hana 25 pending
r003 hana 21 active
r004 dina 18 pending
r005 hana 11 pending
r006 gus 20 ready
r007 dina 11 pending
r008 bruno 28 active
r009 farah 24 paused
| hana
hana
gus
bruno
farah
| record_id display_name score state
r001 kim 2 paused
r002 bruno 7 failed
r003 hana 3 pending
r004 dina 2 failed
r005 alice 26 active
r006 jules 23 failed
r007 kim 18 failed
| alice
jules
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024405-p1 | Ignoring the header row, print the display_name field for any record where the score is strictly greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 jules 3 pending
r002 hana 25 pending
r003 hana 21 active
r004 dina 18 pending
r005 hana 11 pending
r006 gus 20 ready
r007 dina 11 pending
r008 bruno 28 active
r009 farah 24 paused
| hana
hana
gus
bruno
farah
| record_id display_name score state
r001 kim 2 paused
r002 bruno 7 failed
r003 hana 3 pending
r004 dina 2 failed
r005 alice 26 active
r006 jules 23 failed
r007 kim 18 failed
| alice
jules
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024405 | qwen/qwen3.7-plus |
awkweave-0024406 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 21 closed
farah 30 closed
bruno 22 closed
dina 15 ready
dina 3 pending
jules 2 paused
alice 3 ready
eli 10 paused
dina 9 paused
| chen
farah
bruno
dina
dina
jules
alice
eli
dina
| alice 2 pending
ivan 26 active
chen 24 pending
alice 9 failed
alice 27 paused
jules 21 pending
alice 27 closed
alice 29 closed
lina 28 failed
| alice
ivan
chen
alice
alice
jules
alice
alice
lina
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024406-p1 | Given tab-separated input, extract and print the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | chen 21 closed
farah 30 closed
bruno 22 closed
dina 15 ready
dina 3 pending
jules 2 paused
alice 3 ready
eli 10 paused
dina 9 paused
| chen
farah
bruno
dina
dina
jules
alice
eli
dina
| alice 2 pending
ivan 26 active
chen 24 pending
alice 9 failed
alice 27 paused
jules 21 pending
alice 27 closed
alice 29 closed
lina 28 failed
| alice
ivan
chen
alice
alice
jules
alice
alice
lina
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024406 | qwen/qwen3.7-plus |
awkweave-0024407 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 23. | BEGIN{FS=OFS=","}$2>23{print $1} | dina,22,active
eli,25,active
chen,4,ready
ivan,3,failed
lina,26,active
eli,26,ready
jules,6,pending
chen,9,failed
gus,24,closed
| eli
lina
eli
gus
| eli,8,closed
jules,24,active
jules,11,pending
chen,4,ready
lina,23,active
ivan,22,paused
| jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024407-p1 | For simple comma-separated input without quoted commas, print the first column if the value in the second column is greater than 23. | BEGIN{FS=OFS=","}$2>23{print $1} | dina,22,active
eli,25,active
chen,4,ready
ivan,3,failed
lina,26,active
eli,26,ready
jules,6,pending
chen,9,failed
gus,24,closed
| eli
lina
eli
gus
| eli,8,closed
jules,24,active
jules,11,pending
chen,4,ready
lina,23,active
ivan,22,paused
| jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024407 | qwen/qwen3.7-plus |
awkweave-0024408 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan fable 40
gus fable 87
ivan amber 60
chen indigo 105
dina grove 31
hana harbor 19
hana grove 69
eli ember 10
ivan cobalt 25
chen cobalt 2
| ivan fable 40
gus fable 87
ivan amber 60
chen indigo 105
dina grove 31
hana harbor 19
hana grove 69
eli ember 10
ivan cobalt 25
chen cobalt 2
| lina juniper 75
farah ember 4
chen birch 96
ivan delta 47
kim grove 84
farah amber 10
ivan delta 113
alice harbor 4
hana ember 47
alice indigo 106
| lina juniper 75
farah ember 4
chen birch 96
ivan delta 47
kim grove 84
farah amber 10
ivan delta 113
alice harbor 4
hana ember 47
alice indigo 106
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024408-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan fable 40
gus fable 87
ivan amber 60
chen indigo 105
dina grove 31
hana harbor 19
hana grove 69
eli ember 10
ivan cobalt 25
chen cobalt 2
| ivan fable 40
gus fable 87
ivan amber 60
chen indigo 105
dina grove 31
hana harbor 19
hana grove 69
eli ember 10
ivan cobalt 25
chen cobalt 2
| lina juniper 75
farah ember 4
chen birch 96
ivan delta 47
kim grove 84
farah amber 10
ivan delta 113
alice harbor 4
hana ember 47
alice indigo 106
| lina juniper 75
farah ember 4
chen birch 96
ivan delta 47
kim grove 84
farah amber 10
ivan delta 113
alice harbor 4
hana ember 47
alice indigo 106
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024408 | qwen/qwen3.7-plus |
awkweave-0024409 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah harbor 36 closed
chen amber 29 failed
jules cobalt 77 ready
gus ember 34 failed
dina harbor 81 pending
dina cobalt 50 paused
jules birch 57 failed
farah birch 50 paused
dina fable 4 active
bruno harbor 50 closed
| farah harbor 36 closed
| farah grove 20 failed
ivan delta 26 failed
eli amber 97 pending
gus ember 86 paused
chen harbor 39 active
alice indigo 2 closed
hana amber 71 active
jules harbor 118 ready
lina harbor 73 paused
eli grove 84 pending
| jules harbor 118 ready
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024409-p1 | Identify and output the longest line from the input; in case of a tie in length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah harbor 36 closed
chen amber 29 failed
jules cobalt 77 ready
gus ember 34 failed
dina harbor 81 pending
dina cobalt 50 paused
jules birch 57 failed
farah birch 50 paused
dina fable 4 active
bruno harbor 50 closed
| farah harbor 36 closed
| farah grove 20 failed
ivan delta 26 failed
eli amber 97 pending
gus ember 86 paused
chen harbor 39 active
alice indigo 2 closed
hana amber 71 active
jules harbor 118 ready
lina harbor 73 paused
eli grove 84 pending
| jules harbor 118 ready
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024409 | qwen/qwen3.7-plus |
awkweave-0024410 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | dina 94
dina 67
chen 49
bruno 80
hana 16
dina 8
hana 49
kim 84
| dina 94
chen 49
hana 16
hana 49
| jules 80
ivan 62
lina 4
alice 21
alice 97
kim 67
gus 47
hana 28
chen 66
dina 38
| jules 80
lina 4
alice 97
gus 47
chen 66
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024410-p1 | Print lines 1, 3, 5, and so on (every second line starting from the first). | NR%2==1 | dina 94
dina 67
chen 49
bruno 80
hana 16
dina 8
hana 49
kim 84
| dina 94
chen 49
hana 16
hana 49
| jules 80
ivan 62
lina 4
alice 21
alice 97
kim 67
gus 47
hana 28
chen 66
dina 38
| jules 80
lina 4
alice 97
gus 47
chen 66
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024410 | qwen/qwen3.7-plus |
awkweave-0024411 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 16
beta indigo 56
delta cobalt 91
gamma grove 51
gamma cobalt 49
gamma grove 118
| 3
| beta fable 117
beta amber 49
gamma birch 83
gamma grove 69
delta birch 83
delta cobalt 14
beta fable 83
delta grove 42
alpha harbor 17
gamma birch 102
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024411-p1 | Determine the number of unique values in the second column and output only that total count. | {if(!seen[$2]++)n++}END{print n+0} | gamma grove 16
beta indigo 56
delta cobalt 91
gamma grove 51
gamma cobalt 49
gamma grove 118
| 3
| beta fable 117
beta amber 49
gamma birch 83
gamma grove 69
delta birch 83
delta cobalt 14
beta fable 83
delta grove 42
alpha harbor 17
gamma birch 102
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024411 | qwen/qwen3.7-plus |
awkweave-0024412 | 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 3 0
gus 10 4
eli 16 3
kim 18 8
alice 28 25
alice 17 24
jules 16 10
jules 2 14
ivan 14 3
ivan 9 17
| gus 2.50
eli 5.33
kim 2.25
alice 1.12
alice 0.71
jules 1.60
jules 0.14
ivan 4.67
ivan 0.53
| lina 8 0
kim 9 9
kim 28 28
kim 7 26
ivan 21 15
hana 4 6
eli 13 22
alice 7 22
farah 28 23
| kim 1.00
kim 1.00
kim 0.27
ivan 1.40
hana 0.67
eli 0.59
alice 0.32
farah 1.22
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024412-p1 | For each row, output column 1 and the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 3 0
gus 10 4
eli 16 3
kim 18 8
alice 28 25
alice 17 24
jules 16 10
jules 2 14
ivan 14 3
ivan 9 17
| gus 2.50
eli 5.33
kim 2.25
alice 1.12
alice 0.71
jules 1.60
jules 0.14
ivan 4.67
ivan 0.53
| lina 8 0
kim 9 9
kim 28 28
kim 7 26
ivan 21 15
hana 4 6
eli 13 22
alice 7 22
farah 28 23
| kim 1.00
kim 1.00
kim 0.27
ivan 1.40
hana 0.67
eli 0.59
alice 0.32
farah 1.22
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024412 | qwen/qwen3.7-plus |
awkweave-0024413 | 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]} | alice delta 6
lina juniper 12
eli delta 5
chen grove 28
bruno juniper 27
dina juniper 14
| chen grove 28
bruno juniper 27
dina juniper 14
| hana delta 21
gus juniper 25
bruno harbor 13
chen ember 5
hana ember 9
gus fable 19
bruno indigo 8
bruno fable 7
hana indigo 13
ivan cobalt 15
| gus juniper 25
hana delta 21
gus fable 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024413-p1 | Display the three full records with the largest numeric values in column 3, sorted in descending order, while maintaining 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]} | alice delta 6
lina juniper 12
eli delta 5
chen grove 28
bruno juniper 27
dina juniper 14
| chen grove 28
bruno juniper 27
dina juniper 14
| hana delta 21
gus juniper 25
bruno harbor 13
chen ember 5
hana ember 9
gus fable 19
bruno indigo 8
bruno fable 7
hana indigo 13
ivan cobalt 15
| gus juniper 25
hana delta 21
gus fable 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024413 | qwen/qwen3.7-plus |
awkweave-0024414 | Print column 4 followed by column 1 for every record. | {print $4, $1} | amber 33 indigo ready
ember 79 indigo pending
fable 114 harbor failed
indigo 36 amber paused
grove 61 amber active
delta 5 fable closed
harbor 88 grove failed
| ready amber
pending ember
failed fable
paused indigo
active grove
closed delta
failed harbor
| harbor 93 birch failed
birch 120 cobalt ready
grove 83 grove closed
cobalt 112 birch failed
ember 50 delta closed
fable 45 fable failed
cobalt 86 fable failed
cobalt 58 grove failed
| failed harbor
ready birch
closed grove
failed cobalt
closed ember
failed fable
failed cobalt
failed cobalt
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024414-p1 | Output column 4 followed by column 1 for every record. | {print $4, $1} | amber 33 indigo ready
ember 79 indigo pending
fable 114 harbor failed
indigo 36 amber paused
grove 61 amber active
delta 5 fable closed
harbor 88 grove failed
| ready amber
pending ember
failed fable
paused indigo
active grove
closed delta
failed harbor
| harbor 93 birch failed
birch 120 cobalt ready
grove 83 grove closed
cobalt 112 birch failed
ember 50 delta closed
fable 45 fable failed
cobalt 86 fable failed
cobalt 58 grove failed
| failed harbor
ready birch
closed grove
failed cobalt
closed ember
failed fable
failed cobalt
failed cobalt
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024414 | qwen/qwen3.7-plus |
awkweave-0024415 | Print the last field of every input line. | {print $NF} | pending pending 7 65
active pending 82 83
failed ready 78 118
pending failed 74 25
active pending 3 10
pending active 98 119
failed closed 9 98
pending closed 30 26
| 65
83
118
25
10
119
98
26
| active failed 96 110
closed ready 37 102
active failed 2 61
closed failed 83 60
paused ready 92 12
pending failed 102 55
| 110
102
61
60
12
55
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024415-p1 | Print the final field from each input line. | {print $NF} | pending pending 7 65
active pending 82 83
failed ready 78 118
pending failed 74 25
active pending 3 10
pending active 98 119
failed closed 9 98
pending closed 30 26
| 65
83
118
25
10
119
98
26
| active failed 96 110
closed ready 37 102
active failed 2 61
closed failed 83 60
paused ready 92 12
pending failed 102 55
| 110
102
61
60
12
55
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024415 | qwen/qwen3.7-plus |
awkweave-0024416 | Print the complete records where column 1 is at least 58. | $1 >= 58 | 104 eli pending closed active
115 bruno closed active pending
51 hana active pending paused
3 eli failed pending ready
65 alice ready failed failed
1 ivan failed failed pending
118 eli paused ready failed
88 gus pending failed closed
39 gus paused active active
| 104 eli pending closed active
115 bruno closed active pending
65 alice ready failed failed
118 eli paused ready failed
88 gus pending failed closed
| 15 hana pending failed active
93 ivan ready paused failed
17 bruno active paused failed
118 bruno paused closed failed
41 eli pending failed failed
58 chen closed active active
102 dina failed ready pending
87 dina failed pending failed
| 93 ivan ready paused failed
118 bruno paused closed failed
58 chen closed active active
102 dina failed ready pending
87 dina failed pending failed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024416-p1 | Output the full records where the value in column 1 is greater than or equal to 58. | $1 >= 58 | 104 eli pending closed active
115 bruno closed active pending
51 hana active pending paused
3 eli failed pending ready
65 alice ready failed failed
1 ivan failed failed pending
118 eli paused ready failed
88 gus pending failed closed
39 gus paused active active
| 104 eli pending closed active
115 bruno closed active pending
65 alice ready failed failed
118 eli paused ready failed
88 gus pending failed closed
| 15 hana pending failed active
93 ivan ready paused failed
17 bruno active paused failed
118 bruno paused closed failed
41 eli pending failed failed
58 chen closed active active
102 dina failed ready pending
87 dina failed pending failed
| 93 ivan ready paused failed
118 bruno paused closed failed
58 chen closed active active
102 dina failed ready pending
87 dina failed pending failed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024416 | qwen/qwen3.7-plus |
awkweave-0024417 | Show whole lines whose 2nd field is between 7 and 18, inclusive. | $2 >= 7 && $2 <= 18 | juniper 12 lina chen
amber 13 jules kim
juniper 17 chen alice
delta 19 bruno lina
indigo 8 dina kim
grove 28 hana hana
grove 12 alice gus
| juniper 12 lina chen
amber 13 jules kim
juniper 17 chen alice
indigo 8 dina kim
grove 12 alice gus
| harbor 27 farah farah
ember 21 dina dina
grove 15 chen farah
ember 19 chen hana
amber 6 bruno eli
amber 3 eli hana
| grove 15 chen farah
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024417-p1 | Display entire lines where the second field falls within the inclusive range of 7 to 18. | $2 >= 7 && $2 <= 18 | juniper 12 lina chen
amber 13 jules kim
juniper 17 chen alice
delta 19 bruno lina
indigo 8 dina kim
grove 28 hana hana
grove 12 alice gus
| juniper 12 lina chen
amber 13 jules kim
juniper 17 chen alice
indigo 8 dina kim
grove 12 alice gus
| harbor 27 farah farah
ember 21 dina dina
grove 15 chen farah
ember 19 chen hana
amber 6 bruno eli
amber 3 eli hana
| grove 15 chen farah
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024417 | qwen/qwen3.7-plus |
awkweave-0024418 | Print column 2 only for rows where column 3 is exactly closed. | $3 == "closed"{print $2} | 32 hana pending delta
101 lina pending grove
12 jules closed amber
33 alice paused cobalt
4 jules ready ember
43 dina closed birch
66 alice failed delta
84 ivan closed delta
101 dina active juniper
| jules
dina
ivan
| 90 eli failed grove
49 gus paused fable
105 kim ready indigo
46 jules pending juniper
58 farah ready juniper
78 farah ready amber
11 lina failed grove
35 dina pending juniper
58 chen paused birch
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0024418-p1 | Output only column 2 for rows where column 3 is exactly 'closed'. | $3 == "closed"{print $2} | 32 hana pending delta
101 lina pending grove
12 jules closed amber
33 alice paused cobalt
4 jules ready ember
43 dina closed birch
66 alice failed delta
84 ivan closed delta
101 dina active juniper
| jules
dina
ivan
| 90 eli failed grove
49 gus paused fable
105 kim ready indigo
46 jules pending juniper
58 farah ready juniper
78 farah ready amber
11 lina failed grove
35 dina pending juniper
58 chen paused birch
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024418 | qwen/qwen3.7-plus | |
awkweave-0024419 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | 8 ember WARN
76 cobalt INFO
19 grove INFO
89 cobalt INFO
6 cobalt ERROR
20 juniper INFO
69 birch INFO
102 ember WARN
14 cobalt ERROR
110 cobalt INFO
| 6 cobalt ERROR
14 cobalt ERROR
| 98 indigo DEBUG
70 cobalt ERROR
83 ember INFO
46 ember INFO
10 grove INFO
70 amber DEBUG
12 delta WARN
85 cobalt INFO
25 delta WARN
| 70 cobalt ERROR
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024419-p1 | Print all fields from lines where the third field starts with 'ERROR'. | $3 ~ /^ERROR/ | 8 ember WARN
76 cobalt INFO
19 grove INFO
89 cobalt INFO
6 cobalt ERROR
20 juniper INFO
69 birch INFO
102 ember WARN
14 cobalt ERROR
110 cobalt INFO
| 6 cobalt ERROR
14 cobalt ERROR
| 98 indigo DEBUG
70 cobalt ERROR
83 ember INFO
46 ember INFO
10 grove INFO
70 amber DEBUG
12 delta WARN
85 cobalt INFO
25 delta WARN
| 70 cobalt ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024419 | qwen/qwen3.7-plus |
awkweave-0024420 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | harbor 81 pending
juniper 68 active
delta 81 active
juniper 114 failed
fable 76 paused
grove 99 failed
amber 36 paused
delta 6 closed
cobalt 28 pending
ember 999 active
| harbor 81 pending
juniper 68 active
delta 81 active
juniper 114 failed
fable 76 paused
grove 99 failed
amber 36 paused
delta 6 closed
cobalt 28 pending
| indigo 42 ready
indigo 51 closed
grove 16 closed
fable 20 pending
birch 19 ready
ember 16 closed
harbor 88 closed
fable 33 paused
cobalt 110 pending
indigo 45 ready
ember 999 active
| indigo 42 ready
indigo 51 closed
grove 16 closed
fable 20 pending
birch 19 ready
harbor 88 closed
fable 33 paused
cobalt 110 pending
indigo 45 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024420-p1 | Output every line except those that contain the exact string 'ember'. | $0 !~ /ember/ | harbor 81 pending
juniper 68 active
delta 81 active
juniper 114 failed
fable 76 paused
grove 99 failed
amber 36 paused
delta 6 closed
cobalt 28 pending
ember 999 active
| harbor 81 pending
juniper 68 active
delta 81 active
juniper 114 failed
fable 76 paused
grove 99 failed
amber 36 paused
delta 6 closed
cobalt 28 pending
| indigo 42 ready
indigo 51 closed
grove 16 closed
fable 20 pending
birch 19 ready
ember 16 closed
harbor 88 closed
fable 33 paused
cobalt 110 pending
indigo 45 ready
ember 999 active
| indigo 42 ready
indigo 51 closed
grove 16 closed
fable 20 pending
birch 19 ready
harbor 88 closed
fable 33 paused
cobalt 110 pending
indigo 45 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024420 | qwen/qwen3.7-plus |
awkweave-0024421 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | gus harbor 21
farah cobalt 42
alice amber 63
dina grove 23
alice cobalt 37
ivan delta 110
| farah cobalt 42
alice amber 63
dina grove 23
alice cobalt 37
| eli harbor 11
dina indigo 59
jules amber 107
dina grove 57
alice juniper 21
ivan ember 17
chen harbor 107
jules fable 22
ivan cobalt 60
gus juniper 27
| dina indigo 59
jules amber 107
dina grove 57
alice juniper 21
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024421-p1 | Print lines 2 through 5, inclusive. | NR >= 2 && NR <= 5 | gus harbor 21
farah cobalt 42
alice amber 63
dina grove 23
alice cobalt 37
ivan delta 110
| farah cobalt 42
alice amber 63
dina grove 23
alice cobalt 37
| eli harbor 11
dina indigo 59
jules amber 107
dina grove 57
alice juniper 21
ivan ember 17
chen harbor 107
jules fable 22
ivan cobalt 60
gus juniper 27
| dina indigo 59
jules amber 107
dina grove 57
alice juniper 21
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024421 | qwen/qwen3.7-plus |
awkweave-0024422 | Output only the first 4 records. | NR <= 4 | chen 41 grove
hana 31 fable
ivan 81 indigo
eli 91 fable
eli 13 fable
alice 106 ember
farah 110 fable
eli 118 grove
jules 49 amber
alice 29 fable
| chen 41 grove
hana 31 fable
ivan 81 indigo
eli 91 fable
| hana 71 birch
hana 32 birch
lina 34 amber
lina 48 cobalt
jules 81 grove
gus 66 amber
| hana 71 birch
hana 32 birch
lina 34 amber
lina 48 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024422-p1 | Output only the first 4 records. | NR <= 4 | chen 41 grove
hana 31 fable
ivan 81 indigo
eli 91 fable
eli 13 fable
alice 106 ember
farah 110 fable
eli 118 grove
jules 49 amber
alice 29 fable
| chen 41 grove
hana 31 fable
ivan 81 indigo
eli 91 fable
| hana 71 birch
hana 32 birch
lina 34 amber
lina 48 cobalt
jules 81 grove
gus 66 amber
| hana 71 birch
hana 32 birch
lina 34 amber
lina 48 cobalt
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0024422 | qwen/qwen3.7-plus |
awkweave-0024423 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 32 amber
lina 18 indigo
kim 86 indigo
bruno 59 delta
hana 45 birch
jules 82 juniper
dina 2 cobalt
dina 63 fable
hana 15 juniper
| lina 18 indigo
kim 86 indigo
bruno 59 delta
hana 45 birch
jules 82 juniper
dina 2 cobalt
dina 63 fable
hana 15 juniper
| eli 103 birch
bruno 35 delta
eli 4 birch
lina 98 juniper
bruno 51 amber
ivan 106 amber
| bruno 35 delta
eli 4 birch
lina 98 juniper
bruno 51 amber
ivan 106 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024423-p1 | Skip the first line and print all remaining lines without modification. | NR > 1 | jules 32 amber
lina 18 indigo
kim 86 indigo
bruno 59 delta
hana 45 birch
jules 82 juniper
dina 2 cobalt
dina 63 fable
hana 15 juniper
| lina 18 indigo
kim 86 indigo
bruno 59 delta
hana 45 birch
jules 82 juniper
dina 2 cobalt
dina 63 fable
hana 15 juniper
| eli 103 birch
bruno 35 delta
eli 4 birch
lina 98 juniper
bruno 51 amber
ivan 106 amber
| bruno 35 delta
eli 4 birch
lina 98 juniper
bruno 51 amber
ivan 106 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024423 | qwen/qwen3.7-plus |
awkweave-0024424 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | farah closed 115
gus closed 32
ivan ready 76
hana paused 51
gus ready 45
alice failed 113
lina paused 86
ivan pending 85
| 2
| ivan failed 108
eli active 46
jules active 96
kim pending 17
jules failed 73
ivan ready 55
eli ready 75
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024424-p1 | Determine the number of entries where the second column contains 'paused', outputting 0 if no such records exist. | $2 == "paused"{n++}END{print n+0} | farah closed 115
gus closed 32
ivan ready 76
hana paused 51
gus ready 45
alice failed 113
lina paused 86
ivan pending 85
| 2
| ivan failed 108
eli active 46
jules active 96
kim pending 17
jules failed 73
ivan ready 55
eli ready 75
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024424 | qwen/qwen3.7-plus |
awkweave-0024425 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | lina 15 fable
kim 29 ember
bruno 10 juniper
chen 11 cobalt
chen 22 grove
gus 25 delta
ivan 7 harbor
lina 11 harbor
ivan 19 juniper
| 149
| farah 18 juniper
farah 13 indigo
jules 30 ember
hana 9 delta
bruno 7 grove
bruno 21 delta
farah 1 delta
lina 28 amber
| 127
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024425-p1 | Compute and display the total sum of all integer values found in the second column. | {s+=$2}END{print s+0} | lina 15 fable
kim 29 ember
bruno 10 juniper
chen 11 cobalt
chen 22 grove
gus 25 delta
ivan 7 harbor
lina 11 harbor
ivan 19 juniper
| 149
| farah 18 juniper
farah 13 indigo
jules 30 ember
hana 9 delta
bruno 7 grove
bruno 21 delta
farah 1 delta
lina 28 amber
| 127
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024425 | qwen/qwen3.7-plus |
awkweave-0024426 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | bruno 13 indigo
lina 14 ember
jules 13 fable
eli 9 juniper
bruno 16 grove
farah 5 ember
hana 20 birch
| 12.86
| jules 6 amber
gus 6 grove
chen 25 cobalt
lina 21 cobalt
chen 10 birch
ivan 16 grove
lina 15 cobalt
| 14.14
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024426-p1 | Output the average value of the second column, formatted to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | bruno 13 indigo
lina 14 ember
jules 13 fable
eli 9 juniper
bruno 16 grove
farah 5 ember
hana 20 birch
| 12.86
| jules 6 amber
gus 6 grove
chen 25 cobalt
lina 21 cobalt
chen 10 birch
ivan 16 grove
lina 15 cobalt
| 14.14
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024426 | qwen/qwen3.7-plus |
awkweave-0024427 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt gus 22
fable gus 22
birch lina 5
grove bruno 17
juniper kim 3
delta hana 22
ember bruno 12
delta hana 8
delta hana 7
delta lina 6
| 3
| birch chen 24
grove chen 17
birch hana 22
juniper hana 30
amber lina 12
ember farah 8
juniper lina 22
cobalt jules 27
indigo eli 11
| 8
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024427-p1 | Identify and print the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | cobalt gus 22
fable gus 22
birch lina 5
grove bruno 17
juniper kim 3
delta hana 22
ember bruno 12
delta hana 8
delta hana 7
delta lina 6
| 3
| birch chen 24
grove chen 17
birch hana 22
juniper hana 30
amber lina 12
ember farah 8
juniper lina 22
cobalt jules 27
indigo eli 11
| 8
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024427 | qwen/qwen3.7-plus |
awkweave-0024428 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 12 grove
gus 20 cobalt
dina 3 harbor
hana 4 grove
lina 30 birch
chen 13 juniper
lina 2 harbor
dina 13 harbor
| 30
| kim 3 ember
jules 10 grove
jules 7 delta
eli 6 grove
gus 5 cobalt
alice 22 indigo
alice 14 harbor
| 22
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024428-p1 | Identify and print the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | lina 12 grove
gus 20 cobalt
dina 3 harbor
hana 4 grove
lina 30 birch
chen 13 juniper
lina 2 harbor
dina 13 harbor
| 30
| kim 3 ember
jules 10 grove
jules 7 delta
eli 6 grove
gus 5 cobalt
alice 22 indigo
alice 14 harbor
| 22
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024428 | qwen/qwen3.7-plus |
awkweave-0024429 | Count all input records and print the total. | END{print NR} | bruno 33
hana 14
lina 52
eli 49
dina 98
kim 114
hana 111
dina 11
| 8
| eli 45
gus 5
hana 105
eli 29
gus 116
kim 78
hana 100
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024429-p1 | Count the total number of input lines and print the result. | END{print NR} | bruno 33
hana 14
lina 52
eli 49
dina 98
kim 114
hana 111
dina 11
| 8
| eli 45
gus 5
hana 105
eli 29
gus 116
kim 78
hana 100
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024429 | qwen/qwen3.7-plus |
awkweave-0024430 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | chen amber 79
gus indigo 67
lina delta 90
bruno harbor 30
bruno harbor 30
gus amber 65
kim cobalt 100
gus indigo 94
kim ember 31
eli grove 18
| chen amber 79
gus indigo 67
lina delta 90
bruno harbor 30
gus amber 65
kim cobalt 100
gus indigo 94
kim ember 31
eli grove 18
| chen harbor 20
alice grove 48
alice grove 19
farah ember 46
alice grove 48
eli birch 5
kim amber 29
lina harbor 87
bruno juniper 12
hana amber 83
ivan delta 110
| chen harbor 20
alice grove 48
alice grove 19
farah ember 46
eli birch 5
kim amber 29
lina harbor 87
bruno juniper 12
hana amber 83
ivan delta 110
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024430-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | chen amber 79
gus indigo 67
lina delta 90
bruno harbor 30
bruno harbor 30
gus amber 65
kim cobalt 100
gus indigo 94
kim ember 31
eli grove 18
| chen amber 79
gus indigo 67
lina delta 90
bruno harbor 30
gus amber 65
kim cobalt 100
gus indigo 94
kim ember 31
eli grove 18
| chen harbor 20
alice grove 48
alice grove 19
farah ember 46
alice grove 48
eli birch 5
kim amber 29
lina harbor 87
bruno juniper 12
hana amber 83
ivan delta 110
| chen harbor 20
alice grove 48
alice grove 19
farah ember 46
eli birch 5
kim amber 29
lina harbor 87
bruno juniper 12
hana amber 83
ivan delta 110
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024430 | qwen/qwen3.7-plus |
awkweave-0024431 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | ivan fable 50
dina amber 53
eli juniper 110
chen amber 24
gus cobalt 89
kim grove 118
chen delta 40
jules cobalt 69
| ivan fable 50
dina amber 53
eli juniper 110
gus cobalt 89
kim grove 118
chen delta 40
| chen birch 98
hana delta 15
farah grove 29
ivan amber 91
bruno indigo 26
dina ember 48
eli indigo 96
farah birch 22
| chen birch 98
hana delta 15
farah grove 29
ivan amber 91
bruno indigo 26
dina ember 48
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024431-p1 | Retain only the first occurrence of each unique value in the second column, preserving the original sequence of rows. | !seen[$2]++ | ivan fable 50
dina amber 53
eli juniper 110
chen amber 24
gus cobalt 89
kim grove 118
chen delta 40
jules cobalt 69
| ivan fable 50
dina amber 53
eli juniper 110
gus cobalt 89
kim grove 118
chen delta 40
| chen birch 98
hana delta 15
farah grove 29
ivan amber 91
bruno indigo 26
dina ember 48
eli indigo 96
farah birch 22
| chen birch 98
hana delta 15
farah grove 29
ivan amber 91
bruno indigo 26
dina ember 48
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024431 | qwen/qwen3.7-plus |
awkweave-0024432 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 25 juniper
gus 11 ember
lina 15 birch
kim 28 amber
ivan 3 birch
hana 7 birch
farah 30 fable
alice 19 fable
| farah 25
gus 36
lina 51
kim 79
ivan 82
hana 89
farah 119
alice 138
| chen 20 ember
farah 8 fable
chen 11 birch
lina 26 fable
hana 8 birch
ivan 13 ember
| chen 20
farah 28
chen 39
lina 65
hana 73
ivan 86
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024432-p1 | For each record, output the first column followed by the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | farah 25 juniper
gus 11 ember
lina 15 birch
kim 28 amber
ivan 3 birch
hana 7 birch
farah 30 fable
alice 19 fable
| farah 25
gus 36
lina 51
kim 79
ivan 82
hana 89
farah 119
alice 138
| chen 20 ember
farah 8 fable
chen 11 birch
lina 26 fable
hana 8 birch
ivan 13 ember
| chen 20
farah 28
chen 39
lina 65
hana 73
ivan 86
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024432 | qwen/qwen3.7-plus |
awkweave-0024433 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 17 28 amber
jules 4 4 ember
farah 23 13 juniper
jules 22 22 grove
lina 7 17 ember
alice 30 5 delta
kim 1 7 harbor
| kim 45
jules 8
farah 36
jules 44
lina 24
alice 35
kim 8
| kim 21 20 birch
jules 5 7 harbor
dina 30 12 grove
dina 21 11 juniper
chen 23 23 grove
kim 28 21 juniper
hana 22 2 birch
alice 17 22 cobalt
| kim 41
jules 12
dina 42
dina 32
chen 46
kim 49
hana 24
alice 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024433-p1 | For each row, print the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | kim 17 28 amber
jules 4 4 ember
farah 23 13 juniper
jules 22 22 grove
lina 7 17 ember
alice 30 5 delta
kim 1 7 harbor
| kim 45
jules 8
farah 36
jules 44
lina 24
alice 35
kim 8
| kim 21 20 birch
jules 5 7 harbor
dina 30 12 grove
dina 21 11 juniper
chen 23 23 grove
kim 28 21 juniper
hana 22 2 birch
alice 17 22 cobalt
| kim 41
jules 12
dina 42
dina 32
chen 46
kim 49
hana 24
alice 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024433 | qwen/qwen3.7-plus |
awkweave-0024434 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | lina 15
lina 11
ivan 5
kim 12
hana 6
jules 8
lina 15
ivan 5
| lina fail
lina fail
ivan fail
kim fail
hana fail
jules fail
lina fail
ivan fail
| gus 11
alice 5
eli 25
hana 17
chen 18
gus 6
dina 19
bruno 25
alice 28
| gus fail
alice fail
eli fail
hana fail
chen fail
gus fail
dina fail
bruno fail
alice pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024434-p1 | Print the first column along with 'pass' if the second column is 26 or greater, otherwise print 'fail'. | {print $1,($2>=26?"pass":"fail")} | lina 15
lina 11
ivan 5
kim 12
hana 6
jules 8
lina 15
ivan 5
| lina fail
lina fail
ivan fail
kim fail
hana fail
jules fail
lina fail
ivan fail
| gus 11
alice 5
eli 25
hana 17
chen 18
gus 6
dina 19
bruno 25
alice 28
| gus fail
alice fail
eli fail
hana fail
chen fail
gus fail
dina fail
bruno fail
alice pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024434 | qwen/qwen3.7-plus |
awkweave-0024435 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | dina amber 25
dina harbor 24
farah birch 45
alice grove 2
ivan delta 58
bruno grove 59
hana amber 35
chen fable 10
hana harbor 44
hana birch 32
| DINA
DINA
FARAH
ALICE
IVAN
BRUNO
HANA
CHEN
HANA
HANA
| ivan birch 106
bruno birch 44
gus cobalt 45
eli grove 12
alice delta 11
chen fable 54
lina delta 54
chen juniper 1
dina cobalt 49
hana juniper 113
| IVAN
BRUNO
GUS
ELI
ALICE
CHEN
LINA
CHEN
DINA
HANA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024435-p1 | Transform the first column to uppercase and output only that modified column. | {print toupper($1)} | dina amber 25
dina harbor 24
farah birch 45
alice grove 2
ivan delta 58
bruno grove 59
hana amber 35
chen fable 10
hana harbor 44
hana birch 32
| DINA
DINA
FARAH
ALICE
IVAN
BRUNO
HANA
CHEN
HANA
HANA
| ivan birch 106
bruno birch 44
gus cobalt 45
eli grove 12
alice delta 11
chen fable 54
lina delta 54
chen juniper 1
dina cobalt 49
hana juniper 113
| IVAN
BRUNO
GUS
ELI
ALICE
CHEN
LINA
CHEN
DINA
HANA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024435 | qwen/qwen3.7-plus |
awkweave-0024436 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | harbor 113
fable 21
indigo 96
indigo 113
birch 32
harbor 98
amber 24
ember 49
| arbo
able
ndig
ndig
irch
arbo
mber
mber
| juniper 94
grove 85
grove 90
birch 67
harbor 88
ember 57
grove 110
indigo 45
| unip
rove
rove
irch
arbo
mber
rove
ndig
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024436-p1 | Extract a substring of length 4 from column 1, beginning at the second character. | {print substr($1,2,4)} | harbor 113
fable 21
indigo 96
indigo 113
birch 32
harbor 98
amber 24
ember 49
| arbo
able
ndig
ndig
irch
arbo
mber
mber
| juniper 94
grove 85
grove 90
birch 67
harbor 88
ember 57
grove 110
indigo 45
| unip
rove
rove
irch
arbo
mber
rove
ndig
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024436 | qwen/qwen3.7-plus |
awkweave-0024437 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | cobalt_harbor 114
grove_fable 21
birch_delta 20
ember_harbor 53
harbor_cobalt 53
cobalt_amber 91
fable_grove 66
| cobalt harbor
grove fable
birch delta
ember harbor
harbor cobalt
cobalt amber
fable grove
| delta_grove 99
amber_indigo 119
fable_birch 84
juniper_grove 95
fable_grove 79
indigo_ember 101
harbor_cobalt 39
| delta grove
amber indigo
fable birch
juniper grove
fable grove
indigo ember
harbor cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024437-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | cobalt_harbor 114
grove_fable 21
birch_delta 20
ember_harbor 53
harbor_cobalt 53
cobalt_amber 91
fable_grove 66
| cobalt harbor
grove fable
birch delta
ember harbor
harbor cobalt
cobalt amber
fable grove
| delta_grove 99
amber_indigo 119
fable_birch 84
juniper_grove 95
fable_grove 79
indigo_ember 101
harbor_cobalt 39
| delta grove
amber indigo
fable birch
juniper grove
fable grove
indigo ember
harbor cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024437 | qwen/qwen3.7-plus |
awkweave-0024438 | 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)} | kim ember 63 active
jules grove 98 active
bruno indigo 10 pending
jules grove 99 pending
lina amber 114 failed
farah birch 5 ready
ivan birch 36 ready
| active 63 ember kim
active 98 grove jules
pending 10 indigo bruno
pending 99 grove jules
failed 114 amber lina
ready 5 birch farah
ready 36 birch ivan
| dina ember 76 closed
hana harbor 76 failed
lina delta 116 failed
alice amber 92 pending
jules birch 83 paused
gus harbor 24 active
eli birch 26 closed
jules indigo 93 failed
kim harbor 40 active
| closed 76 ember dina
failed 76 harbor hana
failed 116 delta lina
pending 92 amber alice
paused 83 birch jules
active 24 harbor gus
closed 26 birch eli
failed 93 indigo jules
active 40 harbor kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024438-p1 | Reverse the sequence of fields for each line and display all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim ember 63 active
jules grove 98 active
bruno indigo 10 pending
jules grove 99 pending
lina amber 114 failed
farah birch 5 ready
ivan birch 36 ready
| active 63 ember kim
active 98 grove jules
pending 10 indigo bruno
pending 99 grove jules
failed 114 amber lina
ready 5 birch farah
ready 36 birch ivan
| dina ember 76 closed
hana harbor 76 failed
lina delta 116 failed
alice amber 92 pending
jules birch 83 paused
gus harbor 24 active
eli birch 26 closed
jules indigo 93 failed
kim harbor 40 active
| closed 76 ember dina
failed 76 harbor hana
failed 116 delta lina
pending 92 amber alice
paused 83 birch jules
active 24 harbor gus
closed 26 birch eli
failed 93 indigo jules
active 40 harbor kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024438 | qwen/qwen3.7-plus |
awkweave-0024439 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan grove 98 closed
hana fable 117 paused
lina ember 81 pending
eli ember 112 closed
hana cobalt 53 closed
bruno amber 42 failed
| 4
4
4
4
4
4
| ivan birch 14 pending
kim grove 28 active
lina amber 71 ready
jules birch 100 pending
eli juniper 28 ready
chen birch 92 pending
hana indigo 85 active
farah harbor 35 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024439-p1 | Output the count of whitespace-delimited fields for every line. | {print NF} | ivan grove 98 closed
hana fable 117 paused
lina ember 81 pending
eli ember 112 closed
hana cobalt 53 closed
bruno amber 42 failed
| 4
4
4
4
4
4
| ivan birch 14 pending
kim grove 28 active
lina amber 71 ready
jules birch 100 pending
eli juniper 28 ready
chen birch 92 pending
hana indigo 85 active
farah harbor 35 paused
| 4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024439 | qwen/qwen3.7-plus |
awkweave-0024440 | 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]]} | alice alpha 100
bruno delta 80
eli gamma 65
ivan beta 95
alice gamma 79
dina gamma 30
| alpha 1
delta 1
gamma 3
beta 1
| hana alpha 59
eli delta 28
lina gamma 102
dina alpha 8
alice delta 29
gus beta 64
kim delta 120
alice gamma 106
| alpha 2
delta 3
gamma 2
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0024440-p1 | Tally the occurrences of each unique value in column 2, listing them alongside their counts in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | alice alpha 100
bruno delta 80
eli gamma 65
ivan beta 95
alice gamma 79
dina gamma 30
| alpha 1
delta 1
gamma 3
beta 1
| hana alpha 59
eli delta 28
lina gamma 102
dina alpha 8
alice delta 29
gus beta 64
kim delta 120
alice gamma 106
| alpha 2
delta 3
gamma 2
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0024440 | qwen/qwen3.7-plus |
awkweave-0024441 | 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]]} | jules gamma 17
bruno gamma 24
eli beta 19
lina alpha 20
gus gamma 14
jules alpha 18
hana alpha 6
dina delta 29
| gamma 55
beta 19
alpha 44
delta 29
| kim beta 12
kim gamma 12
jules gamma 19
kim gamma 1
lina alpha 22
eli gamma 21
jules gamma 8
ivan alpha 9
jules gamma 22
kim delta 25
| beta 12
gamma 83
alpha 31
delta 25
| sum_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.