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-0045002-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | lina 32
eli 26
eli 71
bruno 36
bruno 80
dina 62
eli 22
bruno 100
| eli 26
bruno 36
dina 62
bruno 100
| jules 103
kim 39
ivan 31
kim 98
gus 120
farah 15
jules 20
dina 56
gus 24
| kim 39
kim 98
farah 15
dina 56
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045002 | qwen/qwen3.7-plus |
awkweave-0045003 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha harbor 95
gamma cobalt 29
beta grove 56
delta juniper 99
alpha juniper 90
alpha birch 71
| 5
| alpha juniper 1
delta birch 99
beta grove 51
beta amber 100
alpha indigo 98
alpha fable 18
beta harbor 107
beta harbor 64
| 7
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045003-p1 | Calculate the number of unique values found in the second column and output only this total count. | {if(!seen[$2]++)n++}END{print n+0} | alpha harbor 95
gamma cobalt 29
beta grove 56
delta juniper 99
alpha juniper 90
alpha birch 71
| 5
| alpha juniper 1
delta birch 99
beta grove 51
beta amber 100
alpha indigo 98
alpha fable 18
beta harbor 107
beta harbor 64
| 7
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045003 | qwen/qwen3.7-plus |
awkweave-0045004 | 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 8 0
dina 17 28
chen 3 7
dina 23 1
jules 30 1
bruno 1 5
chen 8 4
dina 3 12
bruno 23 30
alice 18 15
| dina 0.61
chen 0.43
dina 23.00
jules 30.00
bruno 0.20
chen 2.00
dina 0.25
bruno 0.77
alice 1.20
| ivan 24 0
bruno 1 7
ivan 3 25
ivan 24 30
alice 6 13
lina 22 15
farah 1 12
gus 4 4
dina 13 2
| bruno 0.14
ivan 0.12
ivan 0.80
alice 0.46
lina 1.47
farah 0.08
gus 1.00
dina 6.50
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045004-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, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 8 0
dina 17 28
chen 3 7
dina 23 1
jules 30 1
bruno 1 5
chen 8 4
dina 3 12
bruno 23 30
alice 18 15
| dina 0.61
chen 0.43
dina 23.00
jules 30.00
bruno 0.20
chen 2.00
dina 0.25
bruno 0.77
alice 1.20
| ivan 24 0
bruno 1 7
ivan 3 25
ivan 24 30
alice 6 13
lina 22 15
farah 1 12
gus 4 4
dina 13 2
| bruno 0.14
ivan 0.12
ivan 0.80
alice 0.46
lina 1.47
farah 0.08
gus 1.00
dina 6.50
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045004 | qwen/qwen3.7-plus |
awkweave-0045005 | 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]} | chen cobalt 29
ivan fable 13
bruno juniper 11
bruno cobalt 5
dina birch 22
alice harbor 3
bruno ember 8
kim juniper 1
lina cobalt 6
farah delta 28
| chen cobalt 29
farah delta 28
dina birch 22
| bruno harbor 16
eli grove 10
lina delta 17
dina amber 23
kim grove 20
gus ember 6
alice fable 29
ivan fable 28
bruno ember 2
| alice fable 29
ivan fable 28
dina amber 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045005-p1 | Output 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]} | chen cobalt 29
ivan fable 13
bruno juniper 11
bruno cobalt 5
dina birch 22
alice harbor 3
bruno ember 8
kim juniper 1
lina cobalt 6
farah delta 28
| chen cobalt 29
farah delta 28
dina birch 22
| bruno harbor 16
eli grove 10
lina delta 17
dina amber 23
kim grove 20
gus ember 6
alice fable 29
ivan fable 28
bruno ember 2
| alice fable 29
ivan fable 28
dina amber 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045005 | qwen/qwen3.7-plus |
awkweave-0045006 | Print column 2 followed by column 1 for every record. | {print $2, $1} | jules alice paused jules
eli alice active lina
farah hana pending gus
gus ivan closed ivan
hana gus failed gus
alice bruno pending chen
ivan farah paused alice
| alice jules
alice eli
hana farah
ivan gus
gus hana
bruno alice
farah ivan
| dina chen closed eli
lina ivan ready dina
hana kim paused alice
chen jules paused lina
alice dina closed bruno
lina farah paused farah
| chen dina
ivan lina
kim hana
jules chen
dina alice
farah lina
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045006-p1 | For every record, output the value in column 2 followed by the value in column 1. | {print $2, $1} | jules alice paused jules
eli alice active lina
farah hana pending gus
gus ivan closed ivan
hana gus failed gus
alice bruno pending chen
ivan farah paused alice
| alice jules
alice eli
hana farah
ivan gus
gus hana
bruno alice
farah ivan
| dina chen closed eli
lina ivan ready dina
hana kim paused alice
chen jules paused lina
alice dina closed bruno
lina farah paused farah
| chen dina
ivan lina
kim hana
jules chen
dina alice
farah lina
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045006 | qwen/qwen3.7-plus |
awkweave-0045007 | Print the last field of every input line. | {print $NF} | paused ember pending closed fable 51 lina
pending ember paused closed ember 100 jules
failed amber pending closed grove 45 kim
ready grove paused closed amber 67 lina
active grove pending ready juniper 35 farah
failed cobalt active pending amber 105 farah
| lina
jules
kim
lina
farah
farah
| active fable paused active amber 4 ivan
closed amber paused paused cobalt 99 alice
paused grove failed ready grove 62 kim
pending fable pending failed ember 58 kim
pending harbor active active juniper 119 lina
failed cobalt pending failed amber 48 dina
pending ember ready active cobalt 25 bruno
paused grove closed pend... | ivan
alice
kim
kim
lina
dina
bruno
chen
gus
jules
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045007-p1 | Output the final field from each line of the input. | {print $NF} | paused ember pending closed fable 51 lina
pending ember paused closed ember 100 jules
failed amber pending closed grove 45 kim
ready grove paused closed amber 67 lina
active grove pending ready juniper 35 farah
failed cobalt active pending amber 105 farah
| lina
jules
kim
lina
farah
farah
| active fable paused active amber 4 ivan
closed amber paused paused cobalt 99 alice
paused grove failed ready grove 62 kim
pending fable pending failed ember 58 kim
pending harbor active active juniper 119 lina
failed cobalt pending failed amber 48 dina
pending ember ready active cobalt 25 bruno
paused grove closed pend... | ivan
alice
kim
kim
lina
dina
bruno
chen
gus
jules
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045007 | qwen/qwen3.7-plus |
awkweave-0045008 | Print the complete records where column 2 is greater than 59. | $2 > 59 | eli 33 gus birch closed
alice 30 chen grove active
farah 113 bruno harbor closed
ivan 17 kim indigo paused
dina 67 alice cobalt pending
ivan 116 dina harbor failed
| farah 113 bruno harbor closed
dina 67 alice cobalt pending
ivan 116 dina harbor failed
| hana 112 kim birch failed
jules 91 eli grove paused
chen 4 alice harbor failed
dina 99 gus juniper failed
jules 106 bruno juniper ready
kim 77 hana grove closed
ivan 102 hana fable paused
| hana 112 kim birch failed
jules 91 eli grove paused
dina 99 gus juniper failed
jules 106 bruno juniper ready
kim 77 hana grove closed
ivan 102 hana fable paused
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045008-p1 | Output the full records for all rows where the value in column 2 exceeds 59. | $2 > 59 | eli 33 gus birch closed
alice 30 chen grove active
farah 113 bruno harbor closed
ivan 17 kim indigo paused
dina 67 alice cobalt pending
ivan 116 dina harbor failed
| farah 113 bruno harbor closed
dina 67 alice cobalt pending
ivan 116 dina harbor failed
| hana 112 kim birch failed
jules 91 eli grove paused
chen 4 alice harbor failed
dina 99 gus juniper failed
jules 106 bruno juniper ready
kim 77 hana grove closed
ivan 102 hana fable paused
| hana 112 kim birch failed
jules 91 eli grove paused
dina 99 gus juniper failed
jules 106 bruno juniper ready
kim 77 hana grove closed
ivan 102 hana fable paused
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045008 | qwen/qwen3.7-plus |
awkweave-0045009 | Show whole lines whose 1st field is between 11 and 18, inclusive. | $1 >= 11 && $1 <= 18 | 10 fable jules ready
23 cobalt hana failed
22 amber bruno failed
13 harbor hana failed
3 birch farah pending
10 birch chen pending
| 13 harbor hana failed
| 28 indigo lina closed
18 amber ivan paused
7 birch jules active
1 cobalt gus failed
23 cobalt kim pending
5 birch gus failed
14 harbor dina ready
7 indigo kim ready
10 delta jules ready
10 delta farah closed
| 18 amber ivan paused
14 harbor dina ready
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045009-p1 | Display the entire lines where the first field falls within the inclusive range of 11 to 18. | $1 >= 11 && $1 <= 18 | 10 fable jules ready
23 cobalt hana failed
22 amber bruno failed
13 harbor hana failed
3 birch farah pending
10 birch chen pending
| 13 harbor hana failed
| 28 indigo lina closed
18 amber ivan paused
7 birch jules active
1 cobalt gus failed
23 cobalt kim pending
5 birch gus failed
14 harbor dina ready
7 indigo kim ready
10 delta jules ready
10 delta farah closed
| 18 amber ivan paused
14 harbor dina ready
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045009 | qwen/qwen3.7-plus |
awkweave-0045010 | Print column 3 only for rows where column 1 is exactly ready. | $1 == "ready"{print $3} | active indigo chen 5
active grove jules 73
ready juniper alice 29
ready juniper alice 25
paused delta farah 6
closed amber dina 29
ready birch jules 107
| alice
alice
jules
| active grove lina 51
paused juniper alice 21
ready fable alice 116
failed juniper bruno 28
ready grove dina 76
paused amber kim 34
ready ember kim 31
pending harbor bruno 30
ready harbor lina 24
paused cobalt farah 34
| alice
dina
kim
lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045010-p1 | Output only the third column for rows where the first column is exactly 'ready'. | $1 == "ready"{print $3} | active indigo chen 5
active grove jules 73
ready juniper alice 29
ready juniper alice 25
paused delta farah 6
closed amber dina 29
ready birch jules 107
| alice
alice
jules
| active grove lina 51
paused juniper alice 21
ready fable alice 116
failed juniper bruno 28
ready grove dina 76
paused amber kim 34
ready ember kim 31
pending harbor bruno 30
ready harbor lina 24
paused cobalt farah 34
| alice
dina
kim
lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045010 | qwen/qwen3.7-plus |
awkweave-0045011 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | 55 ERROR juniper
9 ERROR fable
56 INFO birch
57 WARN delta
51 ERROR grove
56 INFO fable
| 57 WARN delta
| 32 INFO grove
24 WARN harbor
112 ERROR ember
11 DEBUG indigo
63 INFO birch
62 INFO harbor
49 WARN harbor
| 24 WARN harbor
49 WARN harbor
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045011-p1 | Output all fields from any line where the second field starts with the string 'WARN'. | $2 ~ /^WARN/ | 55 ERROR juniper
9 ERROR fable
56 INFO birch
57 WARN delta
51 ERROR grove
56 INFO fable
| 57 WARN delta
| 32 INFO grove
24 WARN harbor
112 ERROR ember
11 DEBUG indigo
63 INFO birch
62 INFO harbor
49 WARN harbor
| 24 WARN harbor
49 WARN harbor
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045011 | qwen/qwen3.7-plus |
awkweave-0045012 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | amber 2 failed
grove 33 failed
ember 0 closed
fable 95 ready
birch 18 failed
grove 49 failed
indigo 999 active
| amber 2 failed
grove 33 failed
ember 0 closed
fable 95 ready
birch 18 failed
grove 49 failed
| grove 63 closed
grove 44 closed
delta 47 active
ember 18 ready
amber 37 active
delta 64 failed
delta 26 pending
indigo 999 active
| grove 63 closed
grove 44 closed
delta 47 active
ember 18 ready
amber 37 active
delta 64 failed
delta 26 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045012-p1 | Exclude any line that contains the exact string indigo and print the rest. | $0 !~ /indigo/ | amber 2 failed
grove 33 failed
ember 0 closed
fable 95 ready
birch 18 failed
grove 49 failed
indigo 999 active
| amber 2 failed
grove 33 failed
ember 0 closed
fable 95 ready
birch 18 failed
grove 49 failed
| grove 63 closed
grove 44 closed
delta 47 active
ember 18 ready
amber 37 active
delta 64 failed
delta 26 pending
indigo 999 active
| grove 63 closed
grove 44 closed
delta 47 active
ember 18 ready
amber 37 active
delta 64 failed
delta 26 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045012 | qwen/qwen3.7-plus |
awkweave-0045013 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | chen delta 20
jules fable 26
gus indigo 38
ivan amber 45
jules fable 116
lina amber 11
| jules fable 26
gus indigo 38
| hana amber 65
kim harbor 104
jules juniper 99
gus cobalt 25
lina amber 118
lina amber 51
dina fable 27
eli grove 2
| kim harbor 104
jules juniper 99
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045013-p1 | Output lines 2 to 3, inclusive of both start and end lines. | NR >= 2 && NR <= 3 | chen delta 20
jules fable 26
gus indigo 38
ivan amber 45
jules fable 116
lina amber 11
| jules fable 26
gus indigo 38
| hana amber 65
kim harbor 104
jules juniper 99
gus cobalt 25
lina amber 118
lina amber 51
dina fable 27
eli grove 2
| kim harbor 104
jules juniper 99
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045013 | qwen/qwen3.7-plus |
awkweave-0045014 | Output only the first 2 records. | NR <= 2 | bruno 26 delta
jules 28 amber
gus 10 amber
eli 55 grove
farah 120 ember
dina 109 grove
| bruno 26 delta
jules 28 amber
| ivan 48 juniper
eli 32 indigo
ivan 26 ember
gus 99 indigo
chen 74 birch
bruno 65 indigo
| ivan 48 juniper
eli 32 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045014-p1 | Display only the initial 2 records from the input. | NR <= 2 | bruno 26 delta
jules 28 amber
gus 10 amber
eli 55 grove
farah 120 ember
dina 109 grove
| bruno 26 delta
jules 28 amber
| ivan 48 juniper
eli 32 indigo
ivan 26 ember
gus 99 indigo
chen 74 birch
bruno 65 indigo
| ivan 48 juniper
eli 32 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045014 | qwen/qwen3.7-plus |
awkweave-0045015 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 61 cobalt
dina 114 delta
alice 89 ember
eli 88 harbor
kim 112 indigo
bruno 85 birch
ivan 67 harbor
lina 39 delta
dina 38 harbor
| dina 114 delta
alice 89 ember
eli 88 harbor
kim 112 indigo
bruno 85 birch
ivan 67 harbor
lina 39 delta
dina 38 harbor
| hana 26 cobalt
gus 41 grove
ivan 90 cobalt
lina 37 indigo
jules 82 delta
bruno 120 ember
| gus 41 grove
ivan 90 cobalt
lina 37 indigo
jules 82 delta
bruno 120 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045015-p1 | Omit the first line and output all subsequent lines as they are. | NR > 1 | hana 61 cobalt
dina 114 delta
alice 89 ember
eli 88 harbor
kim 112 indigo
bruno 85 birch
ivan 67 harbor
lina 39 delta
dina 38 harbor
| dina 114 delta
alice 89 ember
eli 88 harbor
kim 112 indigo
bruno 85 birch
ivan 67 harbor
lina 39 delta
dina 38 harbor
| hana 26 cobalt
gus 41 grove
ivan 90 cobalt
lina 37 indigo
jules 82 delta
bruno 120 ember
| gus 41 grove
ivan 90 cobalt
lina 37 indigo
jules 82 delta
bruno 120 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045015 | qwen/qwen3.7-plus |
awkweave-0045016 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | lina ready 101
dina failed 81
farah active 116
dina ready 54
gus active 87
bruno closed 41
| 1
| eli pending 63
lina pending 70
lina ready 94
kim closed 87
farah failed 23
farah active 80
bruno active 31
gus pending 120
ivan active 56
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045016-p1 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | lina ready 101
dina failed 81
farah active 116
dina ready 54
gus active 87
bruno closed 41
| 1
| eli pending 63
lina pending 70
lina ready 94
kim closed 87
farah failed 23
farah active 80
bruno active 31
gus pending 120
ivan active 56
| 1
| count_matches | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0045016 | qwen/qwen3.7-plus |
awkweave-0045017 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 12 harbor bruno
13 grove jules
13 cobalt bruno
22 delta jules
26 amber chen
22 birch gus
30 birch farah
3 birch farah
| 141
| 14 amber dina
9 birch kim
4 juniper chen
26 indigo hana
11 birch chen
14 amber gus
| 78
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045017-p1 | Compute the total sum of integer values found in column 1 and print the result. | {s+=$1}END{print s+0} | 12 harbor bruno
13 grove jules
13 cobalt bruno
22 delta jules
26 amber chen
22 birch gus
30 birch farah
3 birch farah
| 141
| 14 amber dina
9 birch kim
4 juniper chen
26 indigo hana
11 birch chen
14 amber gus
| 78
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045017 | qwen/qwen3.7-plus |
awkweave-0045018 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | ember 26 farah
indigo 24 chen
cobalt 30 eli
juniper 20 chen
delta 20 bruno
birch 17 farah
indigo 18 eli
fable 5 ivan
harbor 17 chen
grove 4 bruno
| 18.10
| birch 25 eli
ember 14 alice
cobalt 15 eli
birch 29 kim
juniper 6 ivan
indigo 22 lina
juniper 7 eli
delta 27 jules
fable 25 jules
indigo 9 bruno
| 17.90
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045018-p1 | Calculate the average of values in column 2 and format the output to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | ember 26 farah
indigo 24 chen
cobalt 30 eli
juniper 20 chen
delta 20 bruno
birch 17 farah
indigo 18 eli
fable 5 ivan
harbor 17 chen
grove 4 bruno
| 18.10
| birch 25 eli
ember 14 alice
cobalt 15 eli
birch 29 kim
juniper 6 ivan
indigo 22 lina
juniper 7 eli
delta 27 jules
fable 25 jules
indigo 9 bruno
| 17.90
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045018 | qwen/qwen3.7-plus |
awkweave-0045019 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | delta eli 22
cobalt kim 15
harbor ivan 30
grove jules 3
indigo chen 14
delta bruno 9
delta kim 9
| 3
| cobalt farah 19
cobalt gus 29
juniper farah 29
harbor lina 7
juniper jules 18
harbor jules 1
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045019-p1 | Identify and display the minimum numeric value present in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | delta eli 22
cobalt kim 15
harbor ivan 30
grove jules 3
indigo chen 14
delta bruno 9
delta kim 9
| 3
| cobalt farah 19
cobalt gus 29
juniper farah 29
harbor lina 7
juniper jules 18
harbor jules 1
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045019 | qwen/qwen3.7-plus |
awkweave-0045020 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 cobalt ivan
23 fable lina
24 cobalt alice
8 grove dina
16 harbor kim
12 indigo kim
| 24
| 27 indigo kim
14 amber jules
13 amber lina
3 fable farah
19 fable bruno
9 harbor alice
8 cobalt chen
| 27
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045020-p1 | Identify and display the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 cobalt ivan
23 fable lina
24 cobalt alice
8 grove dina
16 harbor kim
12 indigo kim
| 24
| 27 indigo kim
14 amber jules
13 amber lina
3 fable farah
19 fable bruno
9 harbor alice
8 cobalt chen
| 27
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045020 | qwen/qwen3.7-plus |
awkweave-0045021 | Count all input records and print the total. | END{print NR} | gus 88
dina 67
jules 61
kim 49
ivan 9
gus 23
| 6
| lina 96
farah 82
hana 15
bruno 117
eli 4
kim 32
kim 43
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045021-p1 | Determine the total number of input records and print the count. | END{print NR} | gus 88
dina 67
jules 61
kim 49
ivan 9
gus 23
| 6
| lina 96
farah 82
hana 15
bruno 117
eli 4
kim 32
kim 43
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045021 | qwen/qwen3.7-plus |
awkweave-0045022 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | eli fable 27
dina juniper 111
alice birch 30
jules harbor 91
jules harbor 91
gus fable 67
eli harbor 33
ivan cobalt 15
| eli fable 27
dina juniper 111
alice birch 30
jules harbor 91
gus fable 67
eli harbor 33
ivan cobalt 15
| gus delta 91
hana cobalt 113
gus harbor 98
chen grove 112
hana cobalt 113
farah amber 99
bruno fable 6
lina harbor 39
| gus delta 91
hana cobalt 113
gus harbor 98
chen grove 112
farah amber 99
bruno fable 6
lina harbor 39
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045022-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | eli fable 27
dina juniper 111
alice birch 30
jules harbor 91
jules harbor 91
gus fable 67
eli harbor 33
ivan cobalt 15
| eli fable 27
dina juniper 111
alice birch 30
jules harbor 91
gus fable 67
eli harbor 33
ivan cobalt 15
| gus delta 91
hana cobalt 113
gus harbor 98
chen grove 112
hana cobalt 113
farah amber 99
bruno fable 6
lina harbor 39
| gus delta 91
hana cobalt 113
gus harbor 98
chen grove 112
farah amber 99
bruno fable 6
lina harbor 39
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045022 | qwen/qwen3.7-plus |
awkweave-0045023 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | ivan amber 81
kim ember 23
kim indigo 56
bruno delta 6
farah ember 58
gus fable 79
chen harbor 99
dina amber 71
| ivan amber 81
kim ember 23
bruno delta 6
farah ember 58
gus fable 79
chen harbor 99
dina amber 71
| dina ember 40
lina juniper 92
ivan delta 62
farah harbor 78
eli grove 8
gus delta 38
| dina ember 40
lina juniper 92
ivan delta 62
farah harbor 78
eli grove 8
gus delta 38
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045023-p1 | Retain only the first occurrence for each unique value in column 1, preserving the original input order. | !seen[$1]++ | ivan amber 81
kim ember 23
kim indigo 56
bruno delta 6
farah ember 58
gus fable 79
chen harbor 99
dina amber 71
| ivan amber 81
kim ember 23
bruno delta 6
farah ember 58
gus fable 79
chen harbor 99
dina amber 71
| dina ember 40
lina juniper 92
ivan delta 62
farah harbor 78
eli grove 8
gus delta 38
| dina ember 40
lina juniper 92
ivan delta 62
farah harbor 78
eli grove 8
gus delta 38
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045023 | qwen/qwen3.7-plus |
awkweave-0045024 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | eli 4 ember
eli 11 juniper
hana 10 grove
hana 27 amber
kim 8 grove
gus 7 harbor
farah 19 cobalt
hana 20 birch
ivan 25 indigo
| eli 4
eli 15
hana 25
hana 52
kim 60
gus 67
farah 86
hana 106
ivan 131
| kim 25 cobalt
dina 7 delta
kim 28 grove
gus 9 cobalt
lina 8 ember
bruno 10 juniper
eli 3 ember
gus 10 cobalt
ivan 12 amber
dina 18 indigo
| kim 25
dina 32
kim 60
gus 69
lina 77
bruno 87
eli 90
gus 100
ivan 112
dina 130
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045024-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 4 ember
eli 11 juniper
hana 10 grove
hana 27 amber
kim 8 grove
gus 7 harbor
farah 19 cobalt
hana 20 birch
ivan 25 indigo
| eli 4
eli 15
hana 25
hana 52
kim 60
gus 67
farah 86
hana 106
ivan 131
| kim 25 cobalt
dina 7 delta
kim 28 grove
gus 9 cobalt
lina 8 ember
bruno 10 juniper
eli 3 ember
gus 10 cobalt
ivan 12 amber
dina 18 indigo
| kim 25
dina 32
kim 60
gus 69
lina 77
bruno 87
eli 90
gus 100
ivan 112
dina 130
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045024 | qwen/qwen3.7-plus |
awkweave-0045025 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 6 1 fable
dina 22 5 amber
hana 7 23 ember
bruno 7 14 amber
lina 20 3 grove
gus 4 6 cobalt
jules 25 10 ember
| dina 7
dina 27
hana 30
bruno 21
lina 23
gus 10
jules 35
| bruno 22 24 birch
farah 3 10 harbor
alice 27 6 delta
ivan 28 17 birch
gus 23 27 delta
bruno 9 22 delta
dina 24 13 indigo
alice 30 18 juniper
farah 7 11 juniper
jules 25 15 birch
| bruno 46
farah 13
alice 33
ivan 45
gus 50
bruno 31
dina 37
alice 48
farah 18
jules 40
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045025-p1 | For each line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | dina 6 1 fable
dina 22 5 amber
hana 7 23 ember
bruno 7 14 amber
lina 20 3 grove
gus 4 6 cobalt
jules 25 10 ember
| dina 7
dina 27
hana 30
bruno 21
lina 23
gus 10
jules 35
| bruno 22 24 birch
farah 3 10 harbor
alice 27 6 delta
ivan 28 17 birch
gus 23 27 delta
bruno 9 22 delta
dina 24 13 indigo
alice 30 18 juniper
farah 7 11 juniper
jules 25 15 birch
| bruno 46
farah 13
alice 33
ivan 45
gus 50
bruno 31
dina 37
alice 48
farah 18
jules 40
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045025 | qwen/qwen3.7-plus |
awkweave-0045026 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | lina 30
gus 21
chen 8
kim 21
ivan 20
jules 7
dina 26
alice 10
| lina pass
gus pass
chen fail
kim pass
ivan pass
jules fail
dina pass
alice fail
| kim 4
farah 23
jules 18
bruno 14
gus 15
ivan 15
gus 10
alice 20
jules 8
farah 19
| kim fail
farah pass
jules fail
bruno fail
gus fail
ivan fail
gus fail
alice pass
jules fail
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045026-p1 | Show the first column; output 'pass' if the second column is 20 or greater, otherwise output 'fail'. | {print $1,($2>=20?"pass":"fail")} | lina 30
gus 21
chen 8
kim 21
ivan 20
jules 7
dina 26
alice 10
| lina pass
gus pass
chen fail
kim pass
ivan pass
jules fail
dina pass
alice fail
| kim 4
farah 23
jules 18
bruno 14
gus 15
ivan 15
gus 10
alice 20
jules 8
farah 19
| kim fail
farah pass
jules fail
bruno fail
gus fail
ivan fail
gus fail
alice pass
jules fail
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045026 | qwen/qwen3.7-plus |
awkweave-0045027 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | kim harbor 72
eli delta 83
jules harbor 113
gus birch 49
kim amber 41
bruno delta 0
kim cobalt 107
| HARBOR
DELTA
HARBOR
BIRCH
AMBER
DELTA
COBALT
| ivan harbor 40
kim birch 50
ivan indigo 110
chen fable 71
lina grove 17
jules juniper 41
alice birch 22
chen indigo 19
| HARBOR
BIRCH
INDIGO
FABLE
GROVE
JUNIPER
BIRCH
INDIGO
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045027-p1 | Transform the second column to uppercase and print only that modified column. | {print toupper($2)} | kim harbor 72
eli delta 83
jules harbor 113
gus birch 49
kim amber 41
bruno delta 0
kim cobalt 107
| HARBOR
DELTA
HARBOR
BIRCH
AMBER
DELTA
COBALT
| ivan harbor 40
kim birch 50
ivan indigo 110
chen fable 71
lina grove 17
jules juniper 41
alice birch 22
chen indigo 19
| HARBOR
BIRCH
INDIGO
FABLE
GROVE
JUNIPER
BIRCH
INDIGO
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045027 | qwen/qwen3.7-plus |
awkweave-0045028 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | fable 50
ember 64
grove 23
amber 108
indigo 99
harbor 111
amber 16
indigo 73
ember 40
| ble
ber
ove
ber
dig
rbo
ber
dig
ber
| ember 94
delta 56
fable 8
amber 81
indigo 106
juniper 1
cobalt 41
| ber
lta
ble
ber
dig
nip
bal
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045028-p1 | Extract and print a substring of length 3 from the first column, starting at the third character. | {print substr($1,3,3)} | fable 50
ember 64
grove 23
amber 108
indigo 99
harbor 111
amber 16
indigo 73
ember 40
| ble
ber
ove
ber
dig
rbo
ber
dig
ber
| ember 94
delta 56
fable 8
amber 81
indigo 106
juniper 1
cobalt 41
| ber
lta
ble
ber
dig
nip
bal
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045028 | qwen/qwen3.7-plus |
awkweave-0045029 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | ember_indigo 41
birch_harbor 4
fable_indigo 22
delta_indigo 77
harbor_grove 36
fable_grove 55
| ember indigo
birch harbor
fable indigo
delta indigo
harbor grove
fable grove
| juniper_cobalt 8
juniper_juniper 26
amber_birch 49
birch_ember 57
harbor_ember 50
grove_birch 53
amber_amber 112
harbor_delta 57
birch_amber 80
| juniper cobalt
juniper juniper
amber birch
birch ember
harbor ember
grove birch
amber amber
harbor delta
birch amber
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045029-p1 | Substitute all underscores in the first column with spaces and output the result. | {gsub(/_/," ",$1);print $1} | ember_indigo 41
birch_harbor 4
fable_indigo 22
delta_indigo 77
harbor_grove 36
fable_grove 55
| ember indigo
birch harbor
fable indigo
delta indigo
harbor grove
fable grove
| juniper_cobalt 8
juniper_juniper 26
amber_birch 49
birch_ember 57
harbor_ember 50
grove_birch 53
amber_amber 112
harbor_delta 57
birch_amber 80
| juniper cobalt
juniper juniper
amber birch
birch ember
harbor ember
grove birch
amber amber
harbor delta
birch amber
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045029 | qwen/qwen3.7-plus |
awkweave-0045030 | 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 fable 28 failed
jules fable 76 paused
bruno harbor 2 failed
gus harbor 95 closed
dina indigo 9 ready
ivan delta 5 pending
chen cobalt 60 paused
kim grove 72 active
jules harbor 98 paused
| failed 28 fable kim
paused 76 fable jules
failed 2 harbor bruno
closed 95 harbor gus
ready 9 indigo dina
pending 5 delta ivan
paused 60 cobalt chen
active 72 grove kim
paused 98 harbor jules
| alice juniper 119 closed
hana juniper 9 failed
ivan ember 70 active
alice ember 45 active
jules birch 31 failed
alice harbor 6 pending
| closed 119 juniper alice
failed 9 juniper hana
active 70 ember ivan
active 45 ember alice
failed 31 birch jules
pending 6 harbor alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045030-p1 | Reverse the sequence of fields on each line and print all of them. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim fable 28 failed
jules fable 76 paused
bruno harbor 2 failed
gus harbor 95 closed
dina indigo 9 ready
ivan delta 5 pending
chen cobalt 60 paused
kim grove 72 active
jules harbor 98 paused
| failed 28 fable kim
paused 76 fable jules
failed 2 harbor bruno
closed 95 harbor gus
ready 9 indigo dina
pending 5 delta ivan
paused 60 cobalt chen
active 72 grove kim
paused 98 harbor jules
| alice juniper 119 closed
hana juniper 9 failed
ivan ember 70 active
alice ember 45 active
jules birch 31 failed
alice harbor 6 pending
| closed 119 juniper alice
failed 9 juniper hana
active 70 ember ivan
active 45 ember alice
failed 31 birch jules
pending 6 harbor alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045030 | qwen/qwen3.7-plus |
awkweave-0045031 | Print the number of whitespace-separated fields on each line. | {print NF} | alice grove 6 failed
gus indigo 52 active
gus fable 43 failed
hana harbor 44 ready
lina harbor 68 ready
chen grove 90 failed
hana indigo 86 paused
chen cobalt 74 active
eli birch 84 ready
bruno indigo 38 failed
| 4
4
4
4
4
4
4
4
4
4
| farah indigo 115 failed
hana harbor 101 failed
chen grove 60 pending
lina fable 89 paused
hana delta 85 ready
kim indigo 0 pending
chen fable 76 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045031-p1 | Display the count of whitespace-delimited fields present in each line. | {print NF} | alice grove 6 failed
gus indigo 52 active
gus fable 43 failed
hana harbor 44 ready
lina harbor 68 ready
chen grove 90 failed
hana indigo 86 paused
chen cobalt 74 active
eli birch 84 ready
bruno indigo 38 failed
| 4
4
4
4
4
4
4
4
4
4
| farah indigo 115 failed
hana harbor 101 failed
chen grove 60 pending
lina fable 89 paused
hana delta 85 ready
kim indigo 0 pending
chen fable 76 pending
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045031 | qwen/qwen3.7-plus |
awkweave-0045032 | 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]]} | gus delta 10
gus gamma 36
eli gamma 26
chen gamma 89
ivan alpha 78
jules alpha 110
hana alpha 96
hana gamma 75
farah alpha 73
lina beta 98
| delta 1
gamma 4
alpha 4
beta 1
| ivan delta 83
eli gamma 74
farah gamma 58
alice alpha 12
farah delta 117
eli gamma 14
| delta 2
gamma 3
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045032-p1 | Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus delta 10
gus gamma 36
eli gamma 26
chen gamma 89
ivan alpha 78
jules alpha 110
hana alpha 96
hana gamma 75
farah alpha 73
lina beta 98
| delta 1
gamma 4
alpha 4
beta 1
| ivan delta 83
eli gamma 74
farah gamma 58
alice alpha 12
farah delta 117
eli gamma 14
| delta 2
gamma 3
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045032 | qwen/qwen3.7-plus |
awkweave-0045033 | 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 delta 24
jules delta 28
farah gamma 17
jules gamma 5
chen delta 2
ivan alpha 9
jules delta 29
| delta 83
gamma 22
alpha 9
| lina alpha 25
dina gamma 23
hana alpha 2
lina gamma 29
bruno beta 27
eli gamma 20
kim delta 22
| alpha 27
gamma 72
beta 27
delta 22
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045033-p1 | Calculate the sum of the third column grouped by the second column, displaying 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 delta 24
jules delta 28
farah gamma 17
jules gamma 5
chen delta 2
ivan alpha 9
jules delta 29
| delta 83
gamma 22
alpha 9
| lina alpha 25
dina gamma 23
hana alpha 2
lina gamma 29
bruno beta 27
eli gamma 20
kim delta 22
| alpha 27
gamma 72
beta 27
delta 22
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045033 | qwen/qwen3.7-plus |
awkweave-0045034 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta juniper 56
beta cobalt 36
alpha fable 82
delta juniper 111
alpha ember 112
gamma juniper 78
delta fable 32
| delta 3
alpha 2
| beta cobalt 34
alpha delta 54
delta cobalt 61
alpha indigo 82
beta cobalt 19
gamma birch 37
| beta 2
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045034-p1 | List each duplicate value from the first column along with its occurrence count, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta juniper 56
beta cobalt 36
alpha fable 82
delta juniper 111
alpha ember 112
gamma juniper 78
delta fable 32
| delta 3
alpha 2
| beta cobalt 34
alpha delta 54
delta cobalt 61
alpha indigo 82
beta cobalt 19
gamma birch 37
| beta 2
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045034 | qwen/qwen3.7-plus |
awkweave-0045035 | 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"]} | display_name region record_id note
r001 gus 3 paused
r002 ivan 4 ready
r003 kim 29 closed
r004 jules 18 ready
r005 kim 27 closed
r006 kim 26 pending
r007 dina 27 closed
r008 alice 19 ready
| 3
4
29
18
27
26
27
19
| display_name region record_id note
r001 dina 2 failed
r002 farah 15 pending
r003 lina 7 paused
r004 gus 13 active
r005 ivan 24 failed
r006 ivan 22 pending
r007 jules 25 paused
| 2
15
7
13
24
22
25
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045035-p1 | Skip the header row and print 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"]} | display_name region record_id note
r001 gus 3 paused
r002 ivan 4 ready
r003 kim 29 closed
r004 jules 18 ready
r005 kim 27 closed
r006 kim 26 pending
r007 dina 27 closed
r008 alice 19 ready
| 3
4
29
18
27
26
27
19
| display_name region record_id note
r001 dina 2 failed
r002 farah 15 pending
r003 lina 7 paused
r004 gus 13 active
r005 ivan 24 failed
r006 ivan 22 pending
r007 jules 25 paused
| 2
15
7
13
24
22
25
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045035 | qwen/qwen3.7-plus |
awkweave-0045036 | The first row is a header. Print display_name for data rows whose score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 chen 3 active
r002 lina 29 paused
r003 hana 7 ready
r004 bruno 14 pending
r005 kim 23 failed
r006 eli 2 pending
r007 chen 17 failed
r008 ivan 13 active
r009 eli 11 ready
r010 hana 15 paused
| lina
kim
chen
| record_id display_name score state
r001 farah 14 paused
r002 bruno 14 paused
r003 lina 11 closed
r004 ivan 26 closed
r005 ivan 24 active
r006 eli 26 active
| ivan
ivan
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045036-p1 | Skip the header row and output the display_name field for any data rows where the score exceeds 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 chen 3 active
r002 lina 29 paused
r003 hana 7 ready
r004 bruno 14 pending
r005 kim 23 failed
r006 eli 2 pending
r007 chen 17 failed
r008 ivan 13 active
r009 eli 11 ready
r010 hana 15 paused
| lina
kim
chen
| record_id display_name score state
r001 farah 14 paused
r002 bruno 14 paused
r003 lina 11 closed
r004 ivan 26 closed
r005 ivan 24 active
r006 eli 26 active
| ivan
ivan
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045036 | qwen/qwen3.7-plus |
awkweave-0045037 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | alice 11 paused
jules 27 ready
farah 12 failed
chen 2 ready
bruno 19 paused
gus 17 closed
| 11
27
12
2
19
17
| gus 4 failed
dina 14 failed
ivan 3 pending
lina 21 active
gus 3 paused
lina 3 pending
ivan 24 pending
| 4
14
3
21
3
3
24
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045037-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | alice 11 paused
jules 27 ready
farah 12 failed
chen 2 ready
bruno 19 paused
gus 17 closed
| 11
27
12
2
19
17
| gus 4 failed
dina 14 failed
ivan 3 pending
lina 21 active
gus 3 paused
lina 3 pending
ivan 24 pending
| 4
14
3
21
3
3
24
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0045037 | qwen/qwen3.7-plus |
awkweave-0045038 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 14. | BEGIN{FS=OFS=","}$2>14{print $1} | farah,7,pending
chen,21,paused
bruno,12,paused
chen,12,failed
dina,14,failed
farah,14,closed
jules,10,active
| chen
| kim,9,closed
lina,10,paused
hana,2,ready
alice,8,ready
chen,14,paused
ivan,30,paused
| ivan
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045038-p1 | Process simple CSV data without quoted commas; print the first column only if the second column is greater than 14. | BEGIN{FS=OFS=","}$2>14{print $1} | farah,7,pending
chen,21,paused
bruno,12,paused
chen,12,failed
dina,14,failed
farah,14,closed
jules,10,active
| chen
| kim,9,closed
lina,10,paused
hana,2,ready
alice,8,ready
chen,14,paused
ivan,30,paused
| ivan
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045038 | qwen/qwen3.7-plus |
awkweave-0045039 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules birch 32
alice harbor 4
hana indigo 36
kim indigo 12
farah birch 87
alice birch 110
kim fable 89
jules harbor 53
chen harbor 20
| jules birch 32
alice harbor 4
hana indigo 36
kim indigo 12
farah birch 87
alice birch 110
kim fable 89
jules harbor 53
chen harbor 20
| kim fable 72
hana amber 114
lina harbor 24
farah amber 108
gus fable 21
hana indigo 40
chen harbor 2
| kim fable 72
hana amber 114
lina harbor 24
farah amber 108
gus fable 21
hana indigo 40
chen harbor 2
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045039-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | jules birch 32
alice harbor 4
hana indigo 36
kim indigo 12
farah birch 87
alice birch 110
kim fable 89
jules harbor 53
chen harbor 20
| jules birch 32
alice harbor 4
hana indigo 36
kim indigo 12
farah birch 87
alice birch 110
kim fable 89
jules harbor 53
chen harbor 20
| kim fable 72
hana amber 114
lina harbor 24
farah amber 108
gus fable 21
hana indigo 40
chen harbor 2
| kim fable 72
hana amber 114
lina harbor 24
farah amber 108
gus fable 21
hana indigo 40
chen harbor 2
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045039 | qwen/qwen3.7-plus |
awkweave-0045040 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | farah indigo 47 paused
hana ember 22 failed
jules fable 55 paused
dina ember 18 paused
hana harbor 114 ready
kim fable 64 paused
| farah indigo 47 paused
| dina birch 36 pending
dina fable 87 active
hana cobalt 17 ready
dina amber 101 closed
ivan amber 72 closed
eli cobalt 84 closed
| dina birch 36 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045040-p1 | Identify and print the longest line from the input; in case of a tie, select the first occurrence. | {if(length($0)>length(best))best=$0}END{print best} | farah indigo 47 paused
hana ember 22 failed
jules fable 55 paused
dina ember 18 paused
hana harbor 114 ready
kim fable 64 paused
| farah indigo 47 paused
| dina birch 36 pending
dina fable 87 active
hana cobalt 17 ready
dina amber 101 closed
ivan amber 72 closed
eli cobalt 84 closed
| dina birch 36 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045040 | qwen/qwen3.7-plus |
awkweave-0045041 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | kim 7
alice 89
eli 86
farah 75
jules 35
farah 76
bruno 106
chen 107
jules 32
kim 70
| alice 89
farah 76
kim 70
| kim 103
dina 64
farah 75
hana 57
eli 118
farah 57
chen 105
bruno 58
| dina 64
farah 57
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045041-p1 | Output every fourth line beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | kim 7
alice 89
eli 86
farah 75
jules 35
farah 76
bruno 106
chen 107
jules 32
kim 70
| alice 89
farah 76
kim 70
| kim 103
dina 64
farah 75
hana 57
eli 118
farah 57
chen 105
bruno 58
| dina 64
farah 57
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045041 | qwen/qwen3.7-plus |
awkweave-0045042 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 107
delta amber 80
gamma cobalt 99
alpha harbor 31
gamma delta 68
beta birch 62
gamma juniper 117
| 4
| beta indigo 109
alpha harbor 106
alpha ember 20
alpha delta 17
delta amber 120
delta delta 46
gamma amber 50
gamma ember 104
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045042-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta fable 107
delta amber 80
gamma cobalt 99
alpha harbor 31
gamma delta 68
beta birch 62
gamma juniper 117
| 4
| beta indigo 109
alpha harbor 106
alpha ember 20
alpha delta 17
delta amber 120
delta delta 46
gamma amber 50
gamma ember 104
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045042 | qwen/qwen3.7-plus |
awkweave-0045043 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 25 0
dina 1 6
alice 28 11
dina 14 12
lina 26 17
lina 30 18
farah 14 14
alice 23 5
farah 17 15
| dina 0.17
alice 2.55
dina 1.17
lina 1.53
lina 1.67
farah 1.00
alice 4.60
farah 1.13
| alice 23 0
ivan 25 14
alice 15 7
ivan 29 22
ivan 1 5
hana 1 5
gus 25 4
chen 30 18
gus 25 21
| ivan 1.79
alice 2.14
ivan 1.32
ivan 0.20
hana 0.20
gus 6.25
chen 1.67
gus 1.19
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045043-p1 | For each row, output the first column and the result of dividing the second column by the third column rounded to two decimal places, omitting rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | jules 25 0
dina 1 6
alice 28 11
dina 14 12
lina 26 17
lina 30 18
farah 14 14
alice 23 5
farah 17 15
| dina 0.17
alice 2.55
dina 1.17
lina 1.53
lina 1.67
farah 1.00
alice 4.60
farah 1.13
| alice 23 0
ivan 25 14
alice 15 7
ivan 29 22
ivan 1 5
hana 1 5
gus 25 4
chen 30 18
gus 25 21
| ivan 1.79
alice 2.14
ivan 1.32
ivan 0.20
hana 0.20
gus 6.25
chen 1.67
gus 1.19
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045043 | qwen/qwen3.7-plus |
awkweave-0045044 | 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]} | ivan amber 16
eli grove 28
alice amber 30
jules grove 23
jules delta 11
jules delta 22
| alice amber 30
eli grove 28
jules grove 23
| ivan birch 28
gus grove 5
hana cobalt 28
ivan delta 26
bruno ember 27
farah harbor 11
kim fable 26
eli fable 17
gus grove 16
farah fable 23
| ivan birch 28
hana cobalt 28
bruno ember 27
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045044-p1 | Display the top three records with the highest numeric values in column 3, sorted in descending order, maintaining original 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]} | ivan amber 16
eli grove 28
alice amber 30
jules grove 23
jules delta 11
jules delta 22
| alice amber 30
eli grove 28
jules grove 23
| ivan birch 28
gus grove 5
hana cobalt 28
ivan delta 26
bruno ember 27
farah harbor 11
kim fable 26
eli fable 17
gus grove 16
farah fable 23
| ivan birch 28
hana cobalt 28
bruno ember 27
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045044 | qwen/qwen3.7-plus |
awkweave-0045045 | For each line, output fields 6 and 2, in that order. | {print $6, $2} | harbor 92 33 active indigo 85
ember 56 95 paused indigo 49
juniper 5 74 ready fable 103
amber 106 28 closed amber 55
harbor 94 62 pending cobalt 9
fable 26 82 paused fable 115
ember 15 17 failed birch 5
birch 77 0 pending grove 92
harbor 111 6 pending indigo 72
grove 40 111 failed indigo 11
| 85 92
49 56
103 5
55 106
9 94
115 26
5 15
92 77
72 111
11 40
| grove 83 60 active cobalt 42
amber 24 1 closed delta 47
delta 62 42 pending cobalt 25
indigo 104 6 ready indigo 3
indigo 75 46 failed cobalt 45
grove 84 119 closed birch 30
cobalt 77 38 active birch 55
cobalt 79 58 ready indigo 53
harbor 0 110 failed delta 29
fable 8 99 active indigo 102
| 42 83
47 24
25 62
3 104
45 75
30 84
55 77
53 79
29 0
102 8
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045045-p1 | For every line, print the sixth field followed by the second field. | {print $6, $2} | harbor 92 33 active indigo 85
ember 56 95 paused indigo 49
juniper 5 74 ready fable 103
amber 106 28 closed amber 55
harbor 94 62 pending cobalt 9
fable 26 82 paused fable 115
ember 15 17 failed birch 5
birch 77 0 pending grove 92
harbor 111 6 pending indigo 72
grove 40 111 failed indigo 11
| 85 92
49 56
103 5
55 106
9 94
115 26
5 15
92 77
72 111
11 40
| grove 83 60 active cobalt 42
amber 24 1 closed delta 47
delta 62 42 pending cobalt 25
indigo 104 6 ready indigo 3
indigo 75 46 failed cobalt 45
grove 84 119 closed birch 30
cobalt 77 38 active birch 55
cobalt 79 58 ready indigo 53
harbor 0 110 failed delta 29
fable 8 99 active indigo 102
| 42 83
47 24
25 62
3 104
45 75
30 84
55 77
53 79
29 0
102 8
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045045 | qwen/qwen3.7-plus |
awkweave-0045046 | Print the last field of every input line. | {print $NF} | active alice failed ready
paused eli paused closed
failed hana ready closed
active jules closed active
pending ivan pending active
ready lina closed ready
pending gus paused paused
paused hana active ready
| ready
closed
closed
active
active
ready
paused
ready
| paused bruno active pending
active alice failed paused
pending eli pending ready
failed ivan closed pending
pending alice active paused
active chen active active
failed ivan failed paused
closed kim closed ready
| pending
paused
ready
pending
paused
active
paused
ready
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045046-p1 | Output the final field from each input line. | {print $NF} | active alice failed ready
paused eli paused closed
failed hana ready closed
active jules closed active
pending ivan pending active
ready lina closed ready
pending gus paused paused
paused hana active ready
| ready
closed
closed
active
active
ready
paused
ready
| paused bruno active pending
active alice failed paused
pending eli pending ready
failed ivan closed pending
pending alice active paused
active chen active active
failed ivan failed paused
closed kim closed ready
| pending
paused
ready
pending
paused
active
paused
ready
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045046 | qwen/qwen3.7-plus |
awkweave-0045047 | Print the complete records where column 1 is greater than 54. | $1 > 54 | 94 pending ember
96 paused amber
74 ready harbor
28 ready amber
101 failed delta
68 failed ember
39 ready fable
76 pending indigo
101 paused birch
| 94 pending ember
96 paused amber
74 ready harbor
101 failed delta
68 failed ember
76 pending indigo
101 paused birch
| 97 active ember
3 pending birch
109 paused fable
63 ready cobalt
66 closed indigo
60 ready grove
104 active delta
| 97 active ember
109 paused fable
63 ready cobalt
66 closed indigo
60 ready grove
104 active delta
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045047-p1 | Print full records where the value in the first column is strictly greater than 54. | $1 > 54 | 94 pending ember
96 paused amber
74 ready harbor
28 ready amber
101 failed delta
68 failed ember
39 ready fable
76 pending indigo
101 paused birch
| 94 pending ember
96 paused amber
74 ready harbor
101 failed delta
68 failed ember
76 pending indigo
101 paused birch
| 97 active ember
3 pending birch
109 paused fable
63 ready cobalt
66 closed indigo
60 ready grove
104 active delta
| 97 active ember
109 paused fable
63 ready cobalt
66 closed indigo
60 ready grove
104 active delta
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045047 | qwen/qwen3.7-plus |
awkweave-0045048 | Show whole lines whose 1st field is between 5 and 18, inclusive. | $1 >= 5 && $1 <= 18 | 23 indigo grove indigo
20 amber birch harbor
28 amber delta indigo
9 ember delta ember
29 indigo amber cobalt
26 birch cobalt birch
12 grove birch grove
4 amber amber harbor
20 birch juniper fable
19 grove harbor harbor
| 9 ember delta ember
12 grove birch grove
| 26 cobalt harbor birch
15 ember fable birch
22 harbor harbor birch
30 amber ember birch
4 indigo ember harbor
10 grove juniper juniper
26 ember fable indigo
| 15 ember fable birch
10 grove juniper juniper
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045048-p1 | Display complete lines where the value in the first field falls within the inclusive range of 5 to 18. | $1 >= 5 && $1 <= 18 | 23 indigo grove indigo
20 amber birch harbor
28 amber delta indigo
9 ember delta ember
29 indigo amber cobalt
26 birch cobalt birch
12 grove birch grove
4 amber amber harbor
20 birch juniper fable
19 grove harbor harbor
| 9 ember delta ember
12 grove birch grove
| 26 cobalt harbor birch
15 ember fable birch
22 harbor harbor birch
30 amber ember birch
4 indigo ember harbor
10 grove juniper juniper
26 ember fable indigo
| 15 ember fable birch
10 grove juniper juniper
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045048 | qwen/qwen3.7-plus |
awkweave-0045049 | Print column 1 only for rows where column 3 is exactly ready. | $3 == "ready"{print $1} | dina 29 pending delta
chen 119 closed amber
alice 50 paused delta
dina 68 ready indigo
ivan 14 pending grove
jules 106 pending cobalt
kim 46 failed indigo
jules 99 active fable
| dina
| lina 23 active grove
eli 105 failed harbor
jules 117 closed birch
farah 44 paused amber
dina 61 paused cobalt
kim 0 failed delta
gus 74 active cobalt
dina 97 pending amber
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0045049-p1 | Output only the first column for rows where the third column matches 'ready' exactly. | $3 == "ready"{print $1} | dina 29 pending delta
chen 119 closed amber
alice 50 paused delta
dina 68 ready indigo
ivan 14 pending grove
jules 106 pending cobalt
kim 46 failed indigo
jules 99 active fable
| dina
| lina 23 active grove
eli 105 failed harbor
jules 117 closed birch
farah 44 paused amber
dina 61 paused cobalt
kim 0 failed delta
gus 74 active cobalt
dina 97 pending amber
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045049 | qwen/qwen3.7-plus | |
awkweave-0045050 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | WARN 32 fable
DEBUG 13 harbor
DEBUG 78 birch
DEBUG 64 amber
WARN 116 harbor
ERROR 40 amber
WARN 69 fable
WARN 34 ember
ERROR 120 delta
DEBUG 81 harbor
| ERROR 40 amber
ERROR 120 delta
| INFO 112 cobalt
DEBUG 13 birch
DEBUG 102 harbor
INFO 2 delta
ERROR 28 ember
DEBUG 9 fable
| ERROR 28 ember
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045050-p1 | Print all fields from any line where the first field starts with the prefix 'ERROR'. | $1 ~ /^ERROR/ | WARN 32 fable
DEBUG 13 harbor
DEBUG 78 birch
DEBUG 64 amber
WARN 116 harbor
ERROR 40 amber
WARN 69 fable
WARN 34 ember
ERROR 120 delta
DEBUG 81 harbor
| ERROR 40 amber
ERROR 120 delta
| INFO 112 cobalt
DEBUG 13 birch
DEBUG 102 harbor
INFO 2 delta
ERROR 28 ember
DEBUG 9 fable
| ERROR 28 ember
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045050 | qwen/qwen3.7-plus |
awkweave-0045051 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | amber 3 pending
ember 92 failed
amber 100 ready
amber 91 closed
grove 33 pending
indigo 50 ready
birch 999 active
| amber 3 pending
ember 92 failed
amber 100 ready
amber 91 closed
grove 33 pending
indigo 50 ready
| birch 117 paused
harbor 73 pending
ember 102 ready
ember 120 failed
indigo 19 active
delta 33 active
amber 7 failed
ember 84 pending
amber 31 pending
harbor 110 ready
birch 999 active
| harbor 73 pending
ember 102 ready
ember 120 failed
indigo 19 active
delta 33 active
amber 7 failed
ember 84 pending
amber 31 pending
harbor 110 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0045051-p1 | Output every line that does not contain the exact string 'birch'. | $0 !~ /birch/ | amber 3 pending
ember 92 failed
amber 100 ready
amber 91 closed
grove 33 pending
indigo 50 ready
birch 999 active
| amber 3 pending
ember 92 failed
amber 100 ready
amber 91 closed
grove 33 pending
indigo 50 ready
| birch 117 paused
harbor 73 pending
ember 102 ready
ember 120 failed
indigo 19 active
delta 33 active
amber 7 failed
ember 84 pending
amber 31 pending
harbor 110 ready
birch 999 active
| harbor 73 pending
ember 102 ready
ember 120 failed
indigo 19 active
delta 33 active
amber 7 failed
ember 84 pending
amber 31 pending
harbor 110 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0045051 | qwen/qwen3.7-plus |
awkweave-0045052 | Print lines 4 through 5, including both endpoints. | NR >= 4 && NR <= 5 | farah indigo 70
ivan ember 58
jules cobalt 30
farah amber 51
kim amber 119
dina ember 110
alice amber 79
| farah amber 51
kim amber 119
| eli ember 15
ivan cobalt 71
dina grove 53
ivan indigo 1
ivan ember 85
kim ember 71
hana indigo 77
kim harbor 12
farah delta 109
| ivan indigo 1
ivan ember 85
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.