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-0009550-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno juniper 45 pending
chen juniper 66 active
farah birch 76 paused
chen indigo 80 active
ivan juniper 23 paused
lina juniper 41 ready
kim cobalt 9 paused
jules indigo 31 ready
alice indigo 35 ready
| bruno juniper 45 pending
| ivan ember 31 failed
chen harbor 75 ready
eli delta 78 paused
hana harbor 24 closed
kim birch 83 ready
chen birch 26 active
dina indigo 52 closed
hana delta 31 failed
farah amber 59 pending
| farah amber 59 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009550 | qwen/qwen3.7-plus |
awkweave-0009551 | Print every 4th line starting at line 2 (then line 6, and so on). | NR%4==2 | hana 22
kim 35
farah 97
jules 92
farah 0
jules 84
gus 6
| kim 35
jules 84
| kim 26
farah 67
dina 68
gus 27
chen 42
dina 13
jules 101
| farah 67
dina 13
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009551-p1 | Print every fourth line of the input, beginning with line 2 (i.e., lines 2, 6, 10, etc.). | NR%4==2 | hana 22
kim 35
farah 97
jules 92
farah 0
jules 84
gus 6
| kim 35
jules 84
| kim 26
farah 67
dina 68
gus 27
chen 42
dina 13
jules 101
| farah 67
dina 13
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009551 | qwen/qwen3.7-plus |
awkweave-0009552 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta juniper 63
gamma delta 91
alpha harbor 116
gamma delta 107
alpha indigo 71
alpha amber 69
beta fable 74
delta amber 41
| 6
| alpha ember 22
beta indigo 50
beta delta 88
delta juniper 79
alpha juniper 72
gamma grove 64
alpha juniper 80
alpha amber 83
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009552-p1 | Determine the number of unique values present in column 2 and print only this total count. | {if(!seen[$2]++)n++}END{print n+0} | delta juniper 63
gamma delta 91
alpha harbor 116
gamma delta 107
alpha indigo 71
alpha amber 69
beta fable 74
delta amber 41
| 6
| alpha ember 22
beta indigo 50
beta delta 88
delta juniper 79
alpha juniper 72
gamma grove 64
alpha juniper 80
alpha amber 83
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009552 | qwen/qwen3.7-plus |
awkweave-0009553 | 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} | farah 21 0
chen 10 25
lina 3 17
dina 5 3
kim 19 27
gus 9 26
kim 7 25
hana 23 3
dina 3 12
jules 14 22
| chen 0.40
lina 0.18
dina 1.67
kim 0.70
gus 0.35
kim 0.28
hana 7.67
dina 0.25
jules 0.64
| kim 17 0
bruno 3 30
ivan 30 12
jules 22 12
farah 21 8
gus 8 15
dina 18 26
| bruno 0.10
ivan 2.50
jules 1.83
farah 2.62
gus 0.53
dina 0.69
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009553-p1 | For each row where column 3 is not zero, print column 1 and the result of dividing column 2 by column 3, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | farah 21 0
chen 10 25
lina 3 17
dina 5 3
kim 19 27
gus 9 26
kim 7 25
hana 23 3
dina 3 12
jules 14 22
| chen 0.40
lina 0.18
dina 1.67
kim 0.70
gus 0.35
kim 0.28
hana 7.67
dina 0.25
jules 0.64
| kim 17 0
bruno 3 30
ivan 30 12
jules 22 12
farah 21 8
gus 8 15
dina 18 26
| bruno 0.10
ivan 2.50
jules 1.83
farah 2.62
gus 0.53
dina 0.69
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009553 | qwen/qwen3.7-plus |
awkweave-0009554 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules amber 14
farah juniper 26
ivan cobalt 29
chen amber 1
alice fable 26
alice juniper 8
jules amber 13
jules fable 12
chen harbor 21
kim fable 11
| ivan cobalt 29
farah juniper 26
alice fable 26
| gus ember 29
jules harbor 6
bruno amber 9
farah indigo 5
chen fable 19
bruno grove 29
eli grove 4
dina cobalt 12
chen birch 3
bruno juniper 29
| gus ember 29
bruno grove 29
bruno juniper 29
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009554-p1 | Output the top three full records based on the highest numeric values in the third column, sorted in descending order, while maintaining the original input sequence for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules amber 14
farah juniper 26
ivan cobalt 29
chen amber 1
alice fable 26
alice juniper 8
jules amber 13
jules fable 12
chen harbor 21
kim fable 11
| ivan cobalt 29
farah juniper 26
alice fable 26
| gus ember 29
jules harbor 6
bruno amber 9
farah indigo 5
chen fable 19
bruno grove 29
eli grove 4
dina cobalt 12
chen birch 3
bruno juniper 29
| gus ember 29
bruno grove 29
bruno juniper 29
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009554 | qwen/qwen3.7-plus |
awkweave-0009555 | Select the 5th and 3rd fields in that order. | {print $5, $3} | paused 80 bruno failed juniper dina
active 99 kim closed juniper alice
active 71 bruno active delta kim
active 24 dina active birch bruno
paused 62 chen closed grove farah
ready 117 farah ready birch farah
closed 62 bruno pending cobalt farah
closed 91 dina failed delta lina
| juniper bruno
juniper kim
delta bruno
birch dina
grove chen
birch farah
cobalt bruno
delta dina
| active 96 jules failed harbor chen
closed 33 alice paused cobalt chen
active 22 farah closed cobalt jules
failed 94 hana paused birch gus
ready 49 gus failed indigo alice
closed 111 ivan failed fable jules
| harbor jules
cobalt alice
cobalt farah
birch hana
indigo gus
fable ivan
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009555-p1 | Extract and display the fifth field followed by the third field, preserving this specific order. | {print $5, $3} | paused 80 bruno failed juniper dina
active 99 kim closed juniper alice
active 71 bruno active delta kim
active 24 dina active birch bruno
paused 62 chen closed grove farah
ready 117 farah ready birch farah
closed 62 bruno pending cobalt farah
closed 91 dina failed delta lina
| juniper bruno
juniper kim
delta bruno
birch dina
grove chen
birch farah
cobalt bruno
delta dina
| active 96 jules failed harbor chen
closed 33 alice paused cobalt chen
active 22 farah closed cobalt jules
failed 94 hana paused birch gus
ready 49 gus failed indigo alice
closed 111 ivan failed fable jules
| harbor jules
cobalt alice
cobalt farah
birch hana
indigo gus
fable ivan
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009555 | qwen/qwen3.7-plus |
awkweave-0009556 | Print the last field of every input line. | {print $NF} | gus grove chen dina
lina harbor eli hana
alice delta farah gus
hana juniper jules farah
ivan grove eli dina
jules juniper ivan hana
farah delta alice eli
kim birch kim chen
| dina
hana
gus
farah
dina
hana
eli
chen
| gus grove gus kim
dina ember eli gus
bruno fable eli kim
ivan birch dina kim
ivan indigo gus farah
chen grove bruno bruno
alice amber chen hana
jules grove lina jules
ivan amber gus alice
farah amber alice alice
| kim
gus
kim
kim
farah
bruno
hana
jules
alice
alice
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009556-p1 | Print the final field from each line of the input. | {print $NF} | gus grove chen dina
lina harbor eli hana
alice delta farah gus
hana juniper jules farah
ivan grove eli dina
jules juniper ivan hana
farah delta alice eli
kim birch kim chen
| dina
hana
gus
farah
dina
hana
eli
chen
| gus grove gus kim
dina ember eli gus
bruno fable eli kim
ivan birch dina kim
ivan indigo gus farah
chen grove bruno bruno
alice amber chen hana
jules grove lina jules
ivan amber gus alice
farah amber alice alice
| kim
gus
kim
kim
farah
bruno
hana
jules
alice
alice
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009556 | qwen/qwen3.7-plus |
awkweave-0009557 | Print the complete records where column 3 is less than 38. | $3 < 38 | lina jules 73 fable
jules lina 86 delta
eli chen 86 juniper
bruno dina 7 harbor
hana jules 70 delta
chen gus 15 harbor
gus gus 13 amber
| bruno dina 7 harbor
chen gus 15 harbor
gus gus 13 amber
| eli alice 54 amber
ivan alice 44 grove
dina hana 37 harbor
gus ivan 109 juniper
chen ivan 43 cobalt
jules ivan 26 harbor
alice dina 16 cobalt
kim farah 0 grove
| dina hana 37 harbor
jules ivan 26 harbor
alice dina 16 cobalt
kim farah 0 grove
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009557-p1 | Display all complete records where the value in the third column is strictly less than 38. | $3 < 38 | lina jules 73 fable
jules lina 86 delta
eli chen 86 juniper
bruno dina 7 harbor
hana jules 70 delta
chen gus 15 harbor
gus gus 13 amber
| bruno dina 7 harbor
chen gus 15 harbor
gus gus 13 amber
| eli alice 54 amber
ivan alice 44 grove
dina hana 37 harbor
gus ivan 109 juniper
chen ivan 43 cobalt
jules ivan 26 harbor
alice dina 16 cobalt
kim farah 0 grove
| dina hana 37 harbor
jules ivan 26 harbor
alice dina 16 cobalt
kim farah 0 grove
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009557 | qwen/qwen3.7-plus |
awkweave-0009558 | Show whole lines whose 1st field is between 10 and 27, inclusive. | $1 >= 10 && $1 <= 27 | 22 active paused closed
19 pending ready closed
15 failed pending closed
22 failed failed pending
16 paused paused paused
1 failed pending closed
3 active failed pending
| 22 active paused closed
19 pending ready closed
15 failed pending closed
22 failed failed pending
16 paused paused paused
| 27 closed ready active
10 active paused ready
10 closed failed paused
17 ready failed active
2 failed failed closed
22 pending failed pending
2 active closed paused
| 27 closed ready active
10 active paused ready
10 closed failed paused
17 ready failed active
22 pending failed pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009558-p1 | Show entire lines where the first field falls within the inclusive range of 10 to 27. | $1 >= 10 && $1 <= 27 | 22 active paused closed
19 pending ready closed
15 failed pending closed
22 failed failed pending
16 paused paused paused
1 failed pending closed
3 active failed pending
| 22 active paused closed
19 pending ready closed
15 failed pending closed
22 failed failed pending
16 paused paused paused
| 27 closed ready active
10 active paused ready
10 closed failed paused
17 ready failed active
2 failed failed closed
22 pending failed pending
2 active closed paused
| 27 closed ready active
10 active paused ready
10 closed failed paused
17 ready failed active
22 pending failed pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009558 | qwen/qwen3.7-plus |
awkweave-0009559 | Print column 2 only for rows where column 3 is exactly ready. | $3 == "ready"{print $2} | 36 hana pending juniper
84 ivan pending delta
45 chen closed amber
56 bruno failed juniper
46 ivan active amber
109 alice pending delta
18 eli failed indigo
0 gus ready grove
12 farah active ember
| gus
| 60 chen paused harbor
108 chen active juniper
34 alice ready indigo
85 kim failed birch
55 farah ready grove
95 gus pending amber
23 eli closed cobalt
55 lina pending harbor
93 gus failed juniper
| alice
farah
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009559-p1 | Print only the second column for rows where the third column contains the exact value 'ready'. | $3 == "ready"{print $2} | 36 hana pending juniper
84 ivan pending delta
45 chen closed amber
56 bruno failed juniper
46 ivan active amber
109 alice pending delta
18 eli failed indigo
0 gus ready grove
12 farah active ember
| gus
| 60 chen paused harbor
108 chen active juniper
34 alice ready indigo
85 kim failed birch
55 farah ready grove
95 gus pending amber
23 eli closed cobalt
55 lina pending harbor
93 gus failed juniper
| alice
farah
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009559 | qwen/qwen3.7-plus |
awkweave-0009560 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | 118 WARN delta
24 WARN birch
105 ERROR juniper
63 DEBUG ember
70 INFO indigo
103 INFO cobalt
| 70 INFO indigo
103 INFO cobalt
| 4 WARN juniper
120 WARN grove
60 DEBUG delta
58 DEBUG birch
16 DEBUG ember
25 DEBUG amber
109 WARN grove
20 DEBUG delta
63 WARN indigo
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0009560-p1 | Output all fields from lines where the second field starts with the string 'INFO'. | $2 ~ /^INFO/ | 118 WARN delta
24 WARN birch
105 ERROR juniper
63 DEBUG ember
70 INFO indigo
103 INFO cobalt
| 70 INFO indigo
103 INFO cobalt
| 4 WARN juniper
120 WARN grove
60 DEBUG delta
58 DEBUG birch
16 DEBUG ember
25 DEBUG amber
109 WARN grove
20 DEBUG delta
63 WARN indigo
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009560 | qwen/qwen3.7-plus | |
awkweave-0009561 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | grove 24 failed
harbor 8 ready
fable 88 paused
indigo 26 failed
cobalt 50 pending
indigo 102 pending
indigo 119 paused
amber 6 ready
fable 999 active
| grove 24 failed
harbor 8 ready
indigo 26 failed
cobalt 50 pending
indigo 102 pending
indigo 119 paused
amber 6 ready
| birch 25 ready
juniper 76 paused
fable 98 active
birch 26 pending
delta 75 active
indigo 55 pending
fable 999 active
| birch 25 ready
juniper 76 paused
birch 26 pending
delta 75 active
indigo 55 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009561-p1 | Print every line that does not contain the exact text 'fable'. | $0 !~ /fable/ | grove 24 failed
harbor 8 ready
fable 88 paused
indigo 26 failed
cobalt 50 pending
indigo 102 pending
indigo 119 paused
amber 6 ready
fable 999 active
| grove 24 failed
harbor 8 ready
indigo 26 failed
cobalt 50 pending
indigo 102 pending
indigo 119 paused
amber 6 ready
| birch 25 ready
juniper 76 paused
fable 98 active
birch 26 pending
delta 75 active
indigo 55 pending
fable 999 active
| birch 25 ready
juniper 76 paused
birch 26 pending
delta 75 active
indigo 55 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009561 | qwen/qwen3.7-plus |
awkweave-0009562 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | bruno cobalt 115
eli cobalt 106
chen harbor 25
jules juniper 68
eli indigo 7
ivan ember 105
farah fable 74
bruno cobalt 94
| chen harbor 25
jules juniper 68
eli indigo 7
| farah ember 99
kim amber 5
kim indigo 82
kim indigo 84
farah cobalt 65
bruno harbor 113
hana harbor 41
gus indigo 30
| kim indigo 82
kim indigo 84
farah cobalt 65
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009562-p1 | Display lines 3 through 5, inclusive of both the start and end lines. | NR >= 3 && NR <= 5 | bruno cobalt 115
eli cobalt 106
chen harbor 25
jules juniper 68
eli indigo 7
ivan ember 105
farah fable 74
bruno cobalt 94
| chen harbor 25
jules juniper 68
eli indigo 7
| farah ember 99
kim amber 5
kim indigo 82
kim indigo 84
farah cobalt 65
bruno harbor 113
hana harbor 41
gus indigo 30
| kim indigo 82
kim indigo 84
farah cobalt 65
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009562 | qwen/qwen3.7-plus |
awkweave-0009563 | Output only the first 5 records. | NR <= 5 | hana 114 indigo
farah 90 indigo
jules 28 amber
ivan 66 juniper
alice 52 cobalt
hana 62 juniper
farah 66 indigo
bruno 32 delta
farah 111 delta
jules 57 fable
| hana 114 indigo
farah 90 indigo
jules 28 amber
ivan 66 juniper
alice 52 cobalt
| jules 70 grove
ivan 31 harbor
farah 100 birch
jules 90 juniper
gus 36 ember
chen 82 ember
ivan 59 amber
chen 29 juniper
kim 97 fable
| jules 70 grove
ivan 31 harbor
farah 100 birch
jules 90 juniper
gus 36 ember
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009563-p1 | Output only the first five records from the input. | NR <= 5 | hana 114 indigo
farah 90 indigo
jules 28 amber
ivan 66 juniper
alice 52 cobalt
hana 62 juniper
farah 66 indigo
bruno 32 delta
farah 111 delta
jules 57 fable
| hana 114 indigo
farah 90 indigo
jules 28 amber
ivan 66 juniper
alice 52 cobalt
| jules 70 grove
ivan 31 harbor
farah 100 birch
jules 90 juniper
gus 36 ember
chen 82 ember
ivan 59 amber
chen 29 juniper
kim 97 fable
| jules 70 grove
ivan 31 harbor
farah 100 birch
jules 90 juniper
gus 36 ember
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009563 | qwen/qwen3.7-plus |
awkweave-0009564 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 79 birch
gus 74 delta
lina 61 amber
farah 0 grove
chen 15 amber
hana 40 indigo
bruno 94 indigo
dina 28 juniper
| gus 74 delta
lina 61 amber
farah 0 grove
chen 15 amber
hana 40 indigo
bruno 94 indigo
dina 28 juniper
| bruno 49 grove
eli 92 harbor
bruno 91 indigo
dina 33 cobalt
ivan 92 harbor
alice 80 indigo
farah 2 fable
alice 108 harbor
eli 102 grove
ivan 67 ember
| eli 92 harbor
bruno 91 indigo
dina 33 cobalt
ivan 92 harbor
alice 80 indigo
farah 2 fable
alice 108 harbor
eli 102 grove
ivan 67 ember
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009564-p1 | Ignore the first line and print all subsequent lines exactly as they appear. | NR > 1 | eli 79 birch
gus 74 delta
lina 61 amber
farah 0 grove
chen 15 amber
hana 40 indigo
bruno 94 indigo
dina 28 juniper
| gus 74 delta
lina 61 amber
farah 0 grove
chen 15 amber
hana 40 indigo
bruno 94 indigo
dina 28 juniper
| bruno 49 grove
eli 92 harbor
bruno 91 indigo
dina 33 cobalt
ivan 92 harbor
alice 80 indigo
farah 2 fable
alice 108 harbor
eli 102 grove
ivan 67 ember
| eli 92 harbor
bruno 91 indigo
dina 33 cobalt
ivan 92 harbor
alice 80 indigo
farah 2 fable
alice 108 harbor
eli 102 grove
ivan 67 ember
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009564 | qwen/qwen3.7-plus |
awkweave-0009565 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | jules closed 35
farah failed 106
ivan pending 105
hana paused 71
hana closed 65
alice ready 31
jules paused 4
eli closed 88
jules ready 117
| 1
| alice ready 104
bruno failed 40
jules pending 29
eli failed 63
hana failed 93
alice ready 82
chen pending 57
ivan closed 40
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009565-p1 | Count the number of records where the second column is 'pending', and output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | jules closed 35
farah failed 106
ivan pending 105
hana paused 71
hana closed 65
alice ready 31
jules paused 4
eli closed 88
jules ready 117
| 1
| alice ready 104
bruno failed 40
jules pending 29
eli failed 63
hana failed 93
alice ready 82
chen pending 57
ivan closed 40
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009565 | qwen/qwen3.7-plus |
awkweave-0009566 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 3 ivan amber
29 chen juniper
27 dina fable
16 farah harbor
5 bruno delta
29 lina cobalt
| 109
| 18 jules birch
21 dina cobalt
30 dina grove
21 alice amber
4 dina ember
13 kim harbor
30 hana delta
9 gus birch
23 chen birch
10 lina cobalt
| 179
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009566-p1 | Compute and output the total of all integer values found in the first column. | {s+=$1}END{print s+0} | 3 ivan amber
29 chen juniper
27 dina fable
16 farah harbor
5 bruno delta
29 lina cobalt
| 109
| 18 jules birch
21 dina cobalt
30 dina grove
21 alice amber
4 dina ember
13 kim harbor
30 hana delta
9 gus birch
23 chen birch
10 lina cobalt
| 179
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009566 | qwen/qwen3.7-plus |
awkweave-0009567 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper kim 14
delta dina 8
juniper kim 11
grove dina 5
juniper kim 13
grove dina 20
harbor lina 15
birch bruno 13
grove chen 26
juniper jules 19
| 14.40
| amber hana 29
fable alice 30
juniper farah 13
birch eli 7
juniper eli 18
ember chen 27
delta bruno 7
harbor farah 12
| 17.88
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009567-p1 | Output the average of the values in the third column, formatted to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper kim 14
delta dina 8
juniper kim 11
grove dina 5
juniper kim 13
grove dina 20
harbor lina 15
birch bruno 13
grove chen 26
juniper jules 19
| 14.40
| amber hana 29
fable alice 30
juniper farah 13
birch eli 7
juniper eli 18
ember chen 27
delta bruno 7
harbor farah 12
| 17.88
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009567 | qwen/qwen3.7-plus |
awkweave-0009568 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 11 ember
alice 29 grove
jules 19 amber
alice 26 amber
eli 27 fable
gus 15 indigo
chen 30 ember
kim 30 cobalt
| 11
| lina 8 birch
jules 24 grove
dina 11 cobalt
kim 22 harbor
dina 13 delta
hana 11 grove
bruno 12 ember
| 8
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009568-p1 | Identify and display the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | lina 11 ember
alice 29 grove
jules 19 amber
alice 26 amber
eli 27 fable
gus 15 indigo
chen 30 ember
kim 30 cobalt
| 11
| lina 8 birch
jules 24 grove
dina 11 cobalt
kim 22 harbor
dina 13 delta
hana 11 grove
bruno 12 ember
| 8
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009568 | qwen/qwen3.7-plus |
awkweave-0009569 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 1 lina
indigo 8 eli
harbor 1 chen
amber 11 lina
birch 12 jules
fable 12 chen
amber 3 dina
| 12
| grove 12 dina
delta 10 ivan
ember 10 eli
delta 17 ivan
fable 26 lina
indigo 5 dina
ember 15 hana
grove 24 lina
grove 24 dina
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009569-p1 | Identify and display the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ember 1 lina
indigo 8 eli
harbor 1 chen
amber 11 lina
birch 12 jules
fable 12 chen
amber 3 dina
| 12
| grove 12 dina
delta 10 ivan
ember 10 eli
delta 17 ivan
fable 26 lina
indigo 5 dina
ember 15 hana
grove 24 lina
grove 24 dina
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009569 | qwen/qwen3.7-plus |
awkweave-0009570 | Count all input records and print the total. | END{print NR} | ivan 48
chen 117
farah 87
dina 28
lina 9
kim 119
bruno 116
| 7
| hana 94
bruno 117
farah 3
bruno 1
farah 91
ivan 36
dina 48
hana 75
bruno 38
farah 18
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009570-p1 | Count every input record and output the final total. | END{print NR} | ivan 48
chen 117
farah 87
dina 28
lina 9
kim 119
bruno 116
| 7
| hana 94
bruno 117
farah 3
bruno 1
farah 91
ivan 36
dina 48
hana 75
bruno 38
farah 18
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009570 | qwen/qwen3.7-plus |
awkweave-0009571 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim cobalt 70
hana harbor 76
chen amber 57
farah indigo 22
chen amber 57
farah juniper 5
hana birch 55
| kim cobalt 70
hana harbor 76
chen amber 57
farah indigo 22
farah juniper 5
hana birch 55
| chen harbor 13
lina birch 3
eli indigo 73
chen grove 114
chen indigo 72
ivan ember 98
eli delta 105
dina harbor 3
dina harbor 3
alice delta 114
| chen harbor 13
lina birch 3
eli indigo 73
chen grove 114
chen indigo 72
ivan ember 98
eli delta 105
dina harbor 3
alice delta 114
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009571-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | kim cobalt 70
hana harbor 76
chen amber 57
farah indigo 22
chen amber 57
farah juniper 5
hana birch 55
| kim cobalt 70
hana harbor 76
chen amber 57
farah indigo 22
farah juniper 5
hana birch 55
| chen harbor 13
lina birch 3
eli indigo 73
chen grove 114
chen indigo 72
ivan ember 98
eli delta 105
dina harbor 3
dina harbor 3
alice delta 114
| chen harbor 13
lina birch 3
eli indigo 73
chen grove 114
chen indigo 72
ivan ember 98
eli delta 105
dina harbor 3
alice delta 114
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009571 | qwen/qwen3.7-plus |
awkweave-0009572 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim ember 69
chen fable 3
jules harbor 87
kim indigo 51
gus indigo 37
ivan amber 109
| kim ember 69
chen fable 3
jules harbor 87
gus indigo 37
ivan amber 109
| chen amber 15
eli grove 43
hana amber 71
eli birch 23
ivan grove 101
chen juniper 68
farah harbor 8
chen birch 22
lina amber 38
| chen amber 15
eli grove 43
hana amber 71
ivan grove 101
farah harbor 8
lina amber 38
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009572-p1 | Retain only the initial line for every unique value in the first column, ensuring the original input order is preserved. | !seen[$1]++ | kim ember 69
chen fable 3
jules harbor 87
kim indigo 51
gus indigo 37
ivan amber 109
| kim ember 69
chen fable 3
jules harbor 87
gus indigo 37
ivan amber 109
| chen amber 15
eli grove 43
hana amber 71
eli birch 23
ivan grove 101
chen juniper 68
farah harbor 8
chen birch 22
lina amber 38
| chen amber 15
eli grove 43
hana amber 71
ivan grove 101
farah harbor 8
lina amber 38
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009572 | qwen/qwen3.7-plus |
awkweave-0009573 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | kim 23 harbor
eli 30 birch
ivan 8 ember
jules 30 ember
gus 28 grove
gus 3 cobalt
| kim 23
eli 53
ivan 61
jules 91
gus 119
gus 122
| dina 18 juniper
alice 20 amber
jules 5 ember
ivan 16 harbor
chen 30 fable
bruno 21 grove
bruno 26 ember
| dina 18
alice 38
jules 43
ivan 59
chen 89
bruno 110
bruno 136
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009573-p1 | For each entry, output the first column alongside the cumulative sum of the second column, using a space as the delimiter. | {s+=$2;print $1,s} | kim 23 harbor
eli 30 birch
ivan 8 ember
jules 30 ember
gus 28 grove
gus 3 cobalt
| kim 23
eli 53
ivan 61
jules 91
gus 119
gus 122
| dina 18 juniper
alice 20 amber
jules 5 ember
ivan 16 harbor
chen 30 fable
bruno 21 grove
bruno 26 ember
| dina 18
alice 38
jules 43
ivan 59
chen 89
bruno 110
bruno 136
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009573 | qwen/qwen3.7-plus |
awkweave-0009574 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 10 11 fable
ivan 22 7 harbor
kim 1 23 ember
eli 29 23 amber
kim 10 6 juniper
dina 10 24 fable
chen 14 25 cobalt
hana 4 15 fable
bruno 13 23 delta
| jules 21
ivan 29
kim 24
eli 52
kim 16
dina 34
chen 39
hana 19
bruno 36
| gus 22 16 birch
gus 28 8 ember
dina 26 6 amber
chen 11 18 ember
ivan 6 3 fable
bruno 30 22 cobalt
alice 7 18 delta
farah 22 17 birch
gus 3 17 cobalt
jules 23 16 indigo
| gus 38
gus 36
dina 32
chen 29
ivan 9
bruno 52
alice 25
farah 39
gus 20
jules 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009574-p1 | For each row, output the first field followed by the result of adding the second and third fields. | {print $1,$2+$3} | jules 10 11 fable
ivan 22 7 harbor
kim 1 23 ember
eli 29 23 amber
kim 10 6 juniper
dina 10 24 fable
chen 14 25 cobalt
hana 4 15 fable
bruno 13 23 delta
| jules 21
ivan 29
kim 24
eli 52
kim 16
dina 34
chen 39
hana 19
bruno 36
| gus 22 16 birch
gus 28 8 ember
dina 26 6 amber
chen 11 18 ember
ivan 6 3 fable
bruno 30 22 cobalt
alice 7 18 delta
farah 22 17 birch
gus 3 17 cobalt
jules 23 16 indigo
| gus 38
gus 36
dina 32
chen 29
ivan 9
bruno 52
alice 25
farah 39
gus 20
jules 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009574 | qwen/qwen3.7-plus |
awkweave-0009575 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | kim 11
ivan 12
gus 30
kim 21
bruno 1
ivan 25
ivan 26
dina 3
| kim fail
ivan fail
gus pass
kim fail
bruno fail
ivan pass
ivan pass
dina fail
| gus 12
bruno 30
bruno 16
eli 7
eli 10
alice 26
farah 7
| gus fail
bruno pass
bruno fail
eli fail
eli fail
alice pass
farah fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009575-p1 | Output the first column, appending 'pass' if the second column is 25 or greater, and 'fail' otherwise. | {print $1,($2>=25?"pass":"fail")} | kim 11
ivan 12
gus 30
kim 21
bruno 1
ivan 25
ivan 26
dina 3
| kim fail
ivan fail
gus pass
kim fail
bruno fail
ivan pass
ivan pass
dina fail
| gus 12
bruno 30
bruno 16
eli 7
eli 10
alice 26
farah 7
| gus fail
bruno pass
bruno fail
eli fail
eli fail
alice pass
farah fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009575 | qwen/qwen3.7-plus |
awkweave-0009576 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah ember 79
chen grove 105
farah birch 7
bruno grove 112
farah amber 49
bruno ember 95
bruno amber 75
alice harbor 115
| FARAH
CHEN
FARAH
BRUNO
FARAH
BRUNO
BRUNO
ALICE
| lina birch 99
kim indigo 64
farah amber 75
gus grove 120
alice fable 5
eli indigo 107
farah juniper 65
ivan indigo 30
| LINA
KIM
FARAH
GUS
ALICE
ELI
FARAH
IVAN
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009576-p1 | Transform the first column to uppercase letters and print only that modified column. | {print toupper($1)} | farah ember 79
chen grove 105
farah birch 7
bruno grove 112
farah amber 49
bruno ember 95
bruno amber 75
alice harbor 115
| FARAH
CHEN
FARAH
BRUNO
FARAH
BRUNO
BRUNO
ALICE
| lina birch 99
kim indigo 64
farah amber 75
gus grove 120
alice fable 5
eli indigo 107
farah juniper 65
ivan indigo 30
| LINA
KIM
FARAH
GUS
ALICE
ELI
FARAH
IVAN
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009576 | qwen/qwen3.7-plus |
awkweave-0009577 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | fable 118
harbor 71
juniper 78
fable 29
cobalt 84
delta 44
ember 28
amber 43
| fab
har
jun
fab
cob
del
emb
amb
| delta 52
ember 26
grove 28
fable 69
juniper 10
fable 22
birch 21
juniper 118
fable 95
juniper 120
| del
emb
gro
fab
jun
fab
bir
jun
fab
jun
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009577-p1 | Extract and print the first 3 characters from the first column, starting at position 1. | {print substr($1,1,3)} | fable 118
harbor 71
juniper 78
fable 29
cobalt 84
delta 44
ember 28
amber 43
| fab
har
jun
fab
cob
del
emb
amb
| delta 52
ember 26
grove 28
fable 69
juniper 10
fable 22
birch 21
juniper 118
fable 95
juniper 120
| del
emb
gro
fab
jun
fab
bir
jun
fab
jun
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009577 | qwen/qwen3.7-plus |
awkweave-0009578 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | delta_grove 1
harbor_fable 75
juniper_indigo 117
ember_indigo 105
delta_delta 117
juniper_amber 98
| delta grove
harbor fable
juniper indigo
ember indigo
delta delta
juniper amber
| delta_delta 34
cobalt_harbor 3
harbor_amber 82
birch_birch 51
ember_indigo 74
harbor_juniper 26
| delta delta
cobalt harbor
harbor amber
birch birch
ember indigo
harbor juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009578-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | delta_grove 1
harbor_fable 75
juniper_indigo 117
ember_indigo 105
delta_delta 117
juniper_amber 98
| delta grove
harbor fable
juniper indigo
ember indigo
delta delta
juniper amber
| delta_delta 34
cobalt_harbor 3
harbor_amber 82
birch_birch 51
ember_indigo 74
harbor_juniper 26
| delta delta
cobalt harbor
harbor amber
birch birch
ember indigo
harbor juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009578 | qwen/qwen3.7-plus |
awkweave-0009579 | 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)} | gus harbor 21 active
chen ember 29 closed
kim juniper 103 pending
chen cobalt 111 failed
farah amber 85 active
ivan juniper 21 pending
gus fable 107 closed
ivan ember 85 paused
dina birch 102 ready
alice cobalt 19 active
| active 21 harbor gus
closed 29 ember chen
pending 103 juniper kim
failed 111 cobalt chen
active 85 amber farah
pending 21 juniper ivan
closed 107 fable gus
paused 85 ember ivan
ready 102 birch dina
active 19 cobalt alice
| bruno indigo 77 failed
chen grove 88 failed
eli harbor 42 active
lina amber 50 ready
dina amber 23 pending
lina birch 99 closed
gus ember 55 pending
| failed 77 indigo bruno
failed 88 grove chen
active 42 harbor eli
ready 50 amber lina
pending 23 amber dina
closed 99 birch lina
pending 55 ember gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009579-p1 | Reverse the sequence of fields for each line and display every field. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus harbor 21 active
chen ember 29 closed
kim juniper 103 pending
chen cobalt 111 failed
farah amber 85 active
ivan juniper 21 pending
gus fable 107 closed
ivan ember 85 paused
dina birch 102 ready
alice cobalt 19 active
| active 21 harbor gus
closed 29 ember chen
pending 103 juniper kim
failed 111 cobalt chen
active 85 amber farah
pending 21 juniper ivan
closed 107 fable gus
paused 85 ember ivan
ready 102 birch dina
active 19 cobalt alice
| bruno indigo 77 failed
chen grove 88 failed
eli harbor 42 active
lina amber 50 ready
dina amber 23 pending
lina birch 99 closed
gus ember 55 pending
| failed 77 indigo bruno
failed 88 grove chen
active 42 harbor eli
ready 50 amber lina
pending 23 amber dina
closed 99 birch lina
pending 55 ember gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009579 | qwen/qwen3.7-plus |
awkweave-0009580 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan ember 42 active
lina fable 104 active
chen grove 110 closed
eli delta 68 paused
kim cobalt 23 closed
jules delta 47 ready
| 4
4
4
4
4
4
| ivan harbor 78 active
farah fable 16 pending
kim amber 91 pending
jules amber 110 pending
alice birch 85 ready
dina juniper 0 active
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009580-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | ivan ember 42 active
lina fable 104 active
chen grove 110 closed
eli delta 68 paused
kim cobalt 23 closed
jules delta 47 ready
| 4
4
4
4
4
4
| ivan harbor 78 active
farah fable 16 pending
kim amber 91 pending
jules amber 110 pending
alice birch 85 ready
dina juniper 0 active
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009580 | qwen/qwen3.7-plus |
awkweave-0009581 | 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]]} | ivan beta 56
ivan beta 115
kim alpha 85
eli gamma 102
lina alpha 84
ivan delta 113
alice alpha 21
| beta 2
alpha 3
gamma 1
delta 1
| alice delta 92
hana alpha 117
kim gamma 113
hana beta 23
kim beta 108
jules beta 24
| delta 1
alpha 1
gamma 1
beta 3
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009581-p1 | Tally the records for every unique value in the second column, then print each value alongside its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | ivan beta 56
ivan beta 115
kim alpha 85
eli gamma 102
lina alpha 84
ivan delta 113
alice alpha 21
| beta 2
alpha 3
gamma 1
delta 1
| alice delta 92
hana alpha 117
kim gamma 113
hana beta 23
kim beta 108
jules beta 24
| delta 1
alpha 1
gamma 1
beta 3
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009581 | qwen/qwen3.7-plus |
awkweave-0009582 | 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]]} | gus alpha 15
kim beta 29
dina alpha 6
kim gamma 13
hana delta 23
kim alpha 14
bruno beta 7
| alpha 35
beta 36
gamma 13
delta 23
| dina alpha 13
bruno gamma 28
chen beta 13
jules beta 15
ivan gamma 10
alice delta 9
dina delta 26
| alpha 13
gamma 38
beta 28
delta 35
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009582-p1 | Calculate the sum of the third column grouped by the second column's categories, displaying 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]]} | gus alpha 15
kim beta 29
dina alpha 6
kim gamma 13
hana delta 23
kim alpha 14
bruno beta 7
| alpha 35
beta 36
gamma 13
delta 23
| dina alpha 13
bruno gamma 28
chen beta 13
jules beta 15
ivan gamma 10
alice delta 9
dina delta 26
| alpha 13
gamma 38
beta 28
delta 35
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009582 | qwen/qwen3.7-plus |
awkweave-0009583 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma ember 56
delta harbor 55
delta harbor 103
alpha amber 39
delta harbor 2
alpha ember 12
gamma indigo 42
gamma amber 106
| gamma 3
delta 3
alpha 2
| beta fable 101
gamma juniper 97
delta indigo 92
alpha grove 47
beta birch 49
alpha grove 10
| beta 2
alpha 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009583-p1 | List each duplicate value from the first column along with its frequency, 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]]} | gamma ember 56
delta harbor 55
delta harbor 103
alpha amber 39
delta harbor 2
alpha ember 12
gamma indigo 42
gamma amber 106
| gamma 3
delta 3
alpha 2
| beta fable 101
gamma juniper 97
delta indigo 92
alpha grove 47
beta birch 49
alpha grove 10
| beta 2
alpha 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009583 | qwen/qwen3.7-plus |
awkweave-0009584 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id display_name score state
r001 gus 5 active
r002 ivan 22 active
r003 lina 28 pending
r004 farah 7 active
r005 gus 13 closed
r006 bruno 29 active
r007 gus 17 closed
r008 chen 10 ready
r009 lina 26 closed
| 5
22
28
7
13
29
17
10
26
| record_id display_name score state
r001 eli 26 paused
r002 dina 4 failed
r003 ivan 2 ready
r004 jules 20 failed
r005 lina 10 failed
r006 chen 20 ready
r007 eli 24 active
| 26
4
2
20
10
20
24
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009584-p1 | Treating the initial row as a header, output the values from the score column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | record_id display_name score state
r001 gus 5 active
r002 ivan 22 active
r003 lina 28 pending
r004 farah 7 active
r005 gus 13 closed
r006 bruno 29 active
r007 gus 17 closed
r008 chen 10 ready
r009 lina 26 closed
| 5
22
28
7
13
29
17
10
26
| record_id display_name score state
r001 eli 26 paused
r002 dina 4 failed
r003 ivan 2 ready
r004 jules 20 failed
r005 lina 10 failed
r006 chen 20 ready
r007 eli 24 active
| 26
4
2
20
10
20
24
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009584 | qwen/qwen3.7-plus |
awkweave-0009585 | The first row is a header. Print display_name for data rows whose score is greater than 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 alice 24 failed
r002 lina 14 active
r003 dina 14 failed
r004 gus 24 paused
r005 lina 26 paused
r006 bruno 12 pending
r007 eli 10 ready
r008 gus 19 active
| alice
lina
dina
gus
lina
gus
| record_id display_name score state
r001 ivan 28 closed
r002 gus 26 closed
r003 eli 29 closed
r004 chen 6 pending
r005 dina 2 ready
r006 eli 18 active
r007 ivan 16 failed
| ivan
gus
eli
eli
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009585-p1 | With the first row as a header, print the display_name field for data rows where the score exceeds 13. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]} | record_id display_name score state
r001 alice 24 failed
r002 lina 14 active
r003 dina 14 failed
r004 gus 24 paused
r005 lina 26 paused
r006 bruno 12 pending
r007 eli 10 ready
r008 gus 19 active
| alice
lina
dina
gus
lina
gus
| record_id display_name score state
r001 ivan 28 closed
r002 gus 26 closed
r003 eli 29 closed
r004 chen 6 pending
r005 dina 2 ready
r006 eli 18 active
r007 ivan 16 failed
| ivan
gus
eli
eli
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009585 | qwen/qwen3.7-plus |
awkweave-0009586 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | dina 8 failed
jules 26 ready
lina 5 pending
gus 14 paused
ivan 27 pending
bruno 3 ready
| dina
jules
lina
gus
ivan
bruno
| farah 15 ready
eli 16 closed
eli 28 closed
eli 28 active
eli 29 pending
lina 13 failed
kim 19 ready
farah 10 paused
bruno 23 paused
| farah
eli
eli
eli
eli
lina
kim
farah
bruno
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009586-p1 | Given tab-separated input, output the first column from every record. | BEGIN{FS=OFS="\t"}{print $1} | dina 8 failed
jules 26 ready
lina 5 pending
gus 14 paused
ivan 27 pending
bruno 3 ready
| dina
jules
lina
gus
ivan
bruno
| farah 15 ready
eli 16 closed
eli 28 closed
eli 28 active
eli 29 pending
lina 13 failed
kim 19 ready
farah 10 paused
bruno 23 paused
| farah
eli
eli
eli
eli
lina
kim
farah
bruno
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009586 | qwen/qwen3.7-plus |
awkweave-0009587 | 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} | chen,26,closed
eli,11,ready
ivan,28,paused
hana,18,paused
hana,5,failed
lina,13,pending
farah,10,paused
lina,16,closed
| chen
ivan
| eli,2,closed
alice,5,ready
alice,28,ready
jules,5,failed
hana,5,failed
jules,20,active
| alice
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009587-p1 | For simple comma-separated input without quoted commas, print the first column whenever the second column is greater than 23. | BEGIN{FS=OFS=","}$2>23{print $1} | chen,26,closed
eli,11,ready
ivan,28,paused
hana,18,paused
hana,5,failed
lina,13,pending
farah,10,paused
lina,16,closed
| chen
ivan
| eli,2,closed
alice,5,ready
alice,28,ready
jules,5,failed
hana,5,failed
jules,20,active
| alice
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009587 | qwen/qwen3.7-plus |
awkweave-0009588 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan juniper 44
jules cobalt 51
chen cobalt 93
gus grove 15
hana cobalt 87
lina delta 66
dina delta 104
dina delta 81
ivan ember 65
| ivan juniper 44
jules cobalt 51
chen cobalt 93
gus grove 15
hana cobalt 87
lina delta 66
dina delta 104
dina delta 81
ivan ember 65
| ivan birch 55
lina amber 81
dina amber 74
gus juniper 103
farah ember 111
kim fable 0
dina ember 40
chen grove 106
lina amber 83
eli juniper 117
| ivan birch 55
lina amber 81
dina amber 74
gus juniper 103
farah ember 111
kim fable 0
dina ember 40
chen grove 106
lina amber 83
eli juniper 117
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009588-p1 | Remove leading and trailing whitespace, and reduce any internal whitespace sequences to a single space. | {$1=$1;print} | ivan juniper 44
jules cobalt 51
chen cobalt 93
gus grove 15
hana cobalt 87
lina delta 66
dina delta 104
dina delta 81
ivan ember 65
| ivan juniper 44
jules cobalt 51
chen cobalt 93
gus grove 15
hana cobalt 87
lina delta 66
dina delta 104
dina delta 81
ivan ember 65
| ivan birch 55
lina amber 81
dina amber 74
gus juniper 103
farah ember 111
kim fable 0
dina ember 40
chen grove 106
lina amber 83
eli juniper 117
| ivan birch 55
lina amber 81
dina amber 74
gus juniper 103
farah ember 111
kim fable 0
dina ember 40
chen grove 106
lina amber 83
eli juniper 117
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009588 | qwen/qwen3.7-plus |
awkweave-0009589 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina fable 109 failed
gus amber 21 closed
bruno cobalt 23 closed
chen birch 47 closed
dina indigo 61 active
hana grove 100 active
| bruno cobalt 23 closed
| gus grove 97 pending
chen juniper 71 closed
kim juniper 61 closed
ivan amber 56 failed
jules indigo 61 closed
farah ember 102 paused
| chen juniper 71 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009589-p1 | Identify and print the longest line from the input; in case of a tie, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina fable 109 failed
gus amber 21 closed
bruno cobalt 23 closed
chen birch 47 closed
dina indigo 61 active
hana grove 100 active
| bruno cobalt 23 closed
| gus grove 97 pending
chen juniper 71 closed
kim juniper 61 closed
ivan amber 56 failed
jules indigo 61 closed
farah ember 102 paused
| chen juniper 71 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009589 | qwen/qwen3.7-plus |
awkweave-0009600 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | birch 5 active
fable 50 paused
juniper 120 active
grove 33 ready
harbor 64 active
fable 68 paused
birch 17 ready
ember 25 failed
juniper 17 ready
indigo 96 ready
ember 999 active
| birch 5 active
fable 50 paused
juniper 120 active
grove 33 ready
harbor 64 active
fable 68 paused
birch 17 ready
juniper 17 ready
indigo 96 ready
| cobalt 16 closed
delta 41 active
amber 106 ready
delta 49 failed
amber 82 ready
amber 53 paused
delta 6 paused
delta 83 pending
fable 1 ready
birch 7 pending
ember 999 active
| cobalt 16 closed
delta 41 active
amber 106 ready
delta 49 failed
amber 82 ready
amber 53 paused
delta 6 paused
delta 83 pending
fable 1 ready
birch 7 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009600-p1 | Output all lines that do not contain the exact string ember. | $0 !~ /ember/ | birch 5 active
fable 50 paused
juniper 120 active
grove 33 ready
harbor 64 active
fable 68 paused
birch 17 ready
ember 25 failed
juniper 17 ready
indigo 96 ready
ember 999 active
| birch 5 active
fable 50 paused
juniper 120 active
grove 33 ready
harbor 64 active
fable 68 paused
birch 17 ready
juniper 17 ready
indigo 96 ready
| cobalt 16 closed
delta 41 active
amber 106 ready
delta 49 failed
amber 82 ready
amber 53 paused
delta 6 paused
delta 83 pending
fable 1 ready
birch 7 pending
ember 999 active
| cobalt 16 closed
delta 41 active
amber 106 ready
delta 49 failed
amber 82 ready
amber 53 paused
delta 6 paused
delta 83 pending
fable 1 ready
birch 7 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009600 | qwen/qwen3.7-plus |
awkweave-0009601 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | bruno juniper 91
lina juniper 102
farah harbor 71
farah indigo 29
dina grove 68
jules fable 11
| lina juniper 102
farah harbor 71
farah indigo 29
| dina amber 92
kim birch 112
alice juniper 54
bruno cobalt 83
chen indigo 68
alice juniper 90
hana fable 57
farah juniper 35
ivan amber 71
| kim birch 112
alice juniper 54
bruno cobalt 83
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009601-p1 | Display lines 2 to 4, inclusive of both the start and end lines. | NR >= 2 && NR <= 4 | bruno juniper 91
lina juniper 102
farah harbor 71
farah indigo 29
dina grove 68
jules fable 11
| lina juniper 102
farah harbor 71
farah indigo 29
| dina amber 92
kim birch 112
alice juniper 54
bruno cobalt 83
chen indigo 68
alice juniper 90
hana fable 57
farah juniper 35
ivan amber 71
| kim birch 112
alice juniper 54
bruno cobalt 83
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009601 | qwen/qwen3.7-plus |
awkweave-0009602 | Output only the first 4 records. | NR <= 4 | chen 74 ember
bruno 114 juniper
hana 51 ember
kim 42 ember
ivan 20 juniper
eli 33 cobalt
hana 106 birch
kim 36 harbor
gus 44 fable
eli 9 juniper
| chen 74 ember
bruno 114 juniper
hana 51 ember
kim 42 ember
| hana 0 cobalt
bruno 109 amber
gus 115 amber
ivan 80 cobalt
gus 103 ember
lina 77 ember
bruno 7 delta
dina 58 cobalt
chen 119 juniper
| hana 0 cobalt
bruno 109 amber
gus 115 amber
ivan 80 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009602-p1 | Show only the initial 4 records. | NR <= 4 | chen 74 ember
bruno 114 juniper
hana 51 ember
kim 42 ember
ivan 20 juniper
eli 33 cobalt
hana 106 birch
kim 36 harbor
gus 44 fable
eli 9 juniper
| chen 74 ember
bruno 114 juniper
hana 51 ember
kim 42 ember
| hana 0 cobalt
bruno 109 amber
gus 115 amber
ivan 80 cobalt
gus 103 ember
lina 77 ember
bruno 7 delta
dina 58 cobalt
chen 119 juniper
| hana 0 cobalt
bruno 109 amber
gus 115 amber
ivan 80 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009602 | qwen/qwen3.7-plus |
awkweave-0009603 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 49 juniper
eli 14 grove
jules 5 grove
bruno 44 grove
alice 112 juniper
gus 74 fable
| eli 14 grove
jules 5 grove
bruno 44 grove
alice 112 juniper
gus 74 fable
| lina 86 cobalt
kim 60 indigo
lina 30 indigo
lina 101 ember
alice 11 amber
dina 29 ember
jules 66 amber
chen 7 indigo
dina 11 delta
| kim 60 indigo
lina 30 indigo
lina 101 ember
alice 11 amber
dina 29 ember
jules 66 amber
chen 7 indigo
dina 11 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009603-p1 | Omit the first line and output the rest of the lines as they are. | NR > 1 | bruno 49 juniper
eli 14 grove
jules 5 grove
bruno 44 grove
alice 112 juniper
gus 74 fable
| eli 14 grove
jules 5 grove
bruno 44 grove
alice 112 juniper
gus 74 fable
| lina 86 cobalt
kim 60 indigo
lina 30 indigo
lina 101 ember
alice 11 amber
dina 29 ember
jules 66 amber
chen 7 indigo
dina 11 delta
| kim 60 indigo
lina 30 indigo
lina 101 ember
alice 11 amber
dina 29 ember
jules 66 amber
chen 7 indigo
dina 11 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009603 | qwen/qwen3.7-plus |
awkweave-0009604 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen paused 87
bruno paused 12
bruno active 40
jules failed 79
lina failed 72
eli pending 48
| 2
| chen active 118
eli ready 114
ivan pending 116
gus pending 69
eli paused 85
hana active 114
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009604-p1 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen paused 87
bruno paused 12
bruno active 40
jules failed 79
lina failed 72
eli pending 48
| 2
| chen active 118
eli ready 114
ivan pending 116
gus pending 69
eli paused 85
hana active 114
| 0
| count_matches | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0009604 | qwen/qwen3.7-plus |
awkweave-0009605 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | ivan harbor 10
bruno delta 12
ivan indigo 22
jules grove 2
hana cobalt 21
kim grove 24
kim harbor 20
| 111
| gus harbor 20
farah delta 10
kim delta 1
gus ember 29
alice cobalt 12
farah cobalt 1
jules cobalt 25
ivan birch 21
jules grove 25
kim delta 25
| 169
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009605-p1 | Compute and display the total sum of integer values found in column 3. | {s+=$3}END{print s+0} | ivan harbor 10
bruno delta 12
ivan indigo 22
jules grove 2
hana cobalt 21
kim grove 24
kim harbor 20
| 111
| gus harbor 20
farah delta 10
kim delta 1
gus ember 29
alice cobalt 12
farah cobalt 1
jules cobalt 25
ivan birch 21
jules grove 25
kim delta 25
| 169
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009605 | qwen/qwen3.7-plus |
awkweave-0009606 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo kim 27
harbor gus 25
harbor chen 17
fable ivan 23
fable hana 27
fable kim 18
indigo farah 9
| 20.86
| grove ivan 26
cobalt dina 23
indigo jules 27
harbor farah 19
delta bruno 14
birch chen 25
| 22.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009606-p1 | Calculate the average of column 3 and print it rounded to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo kim 27
harbor gus 25
harbor chen 17
fable ivan 23
fable hana 27
fable kim 18
indigo farah 9
| 20.86
| grove ivan 26
cobalt dina 23
indigo jules 27
harbor farah 19
delta bruno 14
birch chen 25
| 22.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009606 | qwen/qwen3.7-plus |
awkweave-0009607 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 bruno juniper
17 gus amber
18 kim delta
28 farah delta
11 alice grove
18 ivan birch
| 1
| 25 bruno grove
11 farah ember
10 dina ember
30 bruno juniper
9 farah delta
15 dina birch
27 bruno amber
| 9
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009607-p1 | Identify and output the minimum numeric value present in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 1 bruno juniper
17 gus amber
18 kim delta
28 farah delta
11 alice grove
18 ivan birch
| 1
| 25 bruno grove
11 farah ember
10 dina ember
30 bruno juniper
9 farah delta
15 dina birch
27 bruno amber
| 9
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009607 | qwen/qwen3.7-plus |
awkweave-0009608 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 19 juniper dina
24 cobalt eli
15 delta dina
25 indigo jules
18 birch gus
24 harbor farah
24 juniper bruno
19 harbor alice
27 indigo chen
| 27
| 29 amber jules
4 grove hana
9 fable dina
11 birch farah
26 delta eli
15 cobalt kim
14 cobalt gus
13 delta lina
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009608-p1 | Identify and output the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 19 juniper dina
24 cobalt eli
15 delta dina
25 indigo jules
18 birch gus
24 harbor farah
24 juniper bruno
19 harbor alice
27 indigo chen
| 27
| 29 amber jules
4 grove hana
9 fable dina
11 birch farah
26 delta eli
15 cobalt kim
14 cobalt gus
13 delta lina
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009608 | qwen/qwen3.7-plus |
awkweave-0009609 | Count all input records and print the total. | END{print NR} | gus 53
hana 80
hana 105
kim 78
chen 64
kim 21
ivan 12
farah 65
| 8
| chen 92
jules 40
dina 11
kim 11
dina 58
kim 40
dina 50
kim 108
bruno 11
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0009609-p1 | Count the total number of input records and print the result. | END{print NR} | gus 53
hana 80
hana 105
kim 78
chen 64
kim 21
ivan 12
farah 65
| 8
| chen 92
jules 40
dina 11
kim 11
dina 58
kim 40
dina 50
kim 108
bruno 11
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0009609 | qwen/qwen3.7-plus |
awkweave-0009610 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | gus fable 57
hana ember 75
farah cobalt 23
gus ember 79
hana amber 72
hana amber 72
eli fable 57
alice birch 19
| gus fable 57
hana ember 75
farah cobalt 23
gus ember 79
hana amber 72
eli fable 57
alice birch 19
| chen indigo 82
ivan birch 38
bruno harbor 17
hana harbor 104
ivan cobalt 23
hana harbor 104
jules ember 17
kim amber 90
| chen indigo 82
ivan birch 38
bruno harbor 17
hana harbor 104
ivan cobalt 23
jules ember 17
kim amber 90
| dedup_lines | 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.