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-0023551-p1 | Identify and print the longest line from the input; in case of a tie in length, select the one that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | kim amber 13 closed
hana amber 95 active
lina juniper 56 closed
kim harbor 41 pending
alice delta 74 ready
kim amber 94 failed
eli fable 101 paused
lina fable 14 paused
| lina juniper 56 closed
| alice grove 79 active
alice harbor 63 paused
ivan cobalt 67 ready
alice delta 105 ready
bruno indigo 82 pending
alice fable 80 ready
jules birch 116 active
alice cobalt 119 closed
hana grove 3 ready
| bruno indigo 82 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023551 | qwen/qwen3.7-plus |
awkweave-0023552 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | jules 43
alice 52
farah 109
chen 53
chen 25
farah 75
bruno 65
dina 40
lina 119
farah 53
| alice 52
chen 53
farah 75
dina 40
farah 53
| gus 73
jules 33
alice 13
gus 88
farah 72
eli 41
gus 35
hana 30
| jules 33
gus 88
eli 41
hana 30
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023552-p1 | Print every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | jules 43
alice 52
farah 109
chen 53
chen 25
farah 75
bruno 65
dina 40
lina 119
farah 53
| alice 52
chen 53
farah 75
dina 40
farah 53
| gus 73
jules 33
alice 13
gus 88
farah 72
eli 41
gus 35
hana 30
| jules 33
gus 88
eli 41
hana 30
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023552 | qwen/qwen3.7-plus |
awkweave-0023553 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 19
gamma indigo 1
delta delta 28
alpha ember 83
gamma juniper 58
gamma birch 33
beta delta 111
alpha fable 36
| 4
| alpha indigo 35
beta indigo 25
gamma birch 95
beta amber 6
alpha indigo 73
alpha grove 51
delta indigo 94
delta juniper 30
alpha grove 94
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023553-p1 | Determine the number of unique values in column 1 and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha fable 19
gamma indigo 1
delta delta 28
alpha ember 83
gamma juniper 58
gamma birch 33
beta delta 111
alpha fable 36
| 4
| alpha indigo 35
beta indigo 25
gamma birch 95
beta amber 6
alpha indigo 73
alpha grove 51
delta indigo 94
delta juniper 30
alpha grove 94
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023553 | qwen/qwen3.7-plus |
awkweave-0023554 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 27 0
eli 28 11
alice 19 4
chen 14 15
alice 15 15
farah 17 9
gus 8 9
| eli 2.55
alice 4.75
chen 0.93
alice 1.00
farah 1.89
gus 0.89
| farah 15 0
alice 30 29
hana 4 1
jules 26 27
kim 8 19
chen 26 6
farah 8 18
| alice 1.03
hana 4.00
jules 0.96
kim 0.42
chen 4.33
farah 0.44
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023554-p1 | For each row, output the first and second columns along with the result of dividing the second column by the third, formatted to two decimal places, while omitting any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | dina 27 0
eli 28 11
alice 19 4
chen 14 15
alice 15 15
farah 17 9
gus 8 9
| eli 2.55
alice 4.75
chen 0.93
alice 1.00
farah 1.89
gus 0.89
| farah 15 0
alice 30 29
hana 4 1
jules 26 27
kim 8 19
chen 26 6
farah 8 18
| alice 1.03
hana 4.00
jules 0.96
kim 0.42
chen 4.33
farah 0.44
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023554 | qwen/qwen3.7-plus |
awkweave-0023555 | 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]} | eli harbor 25
hana ember 13
jules birch 6
jules cobalt 30
chen amber 14
farah indigo 25
hana birch 27
chen amber 10
lina amber 4
dina indigo 13
| jules cobalt 30
hana birch 27
eli harbor 25
| eli grove 23
dina ember 18
eli ember 26
kim ember 17
ivan cobalt 27
alice grove 1
farah cobalt 15
| ivan cobalt 27
eli ember 26
eli grove 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023555-p1 | Display the three full records that have the largest numeric values in the third column, sorted in descending order, maintaining the original input sequence for any tied values. | {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]} | eli harbor 25
hana ember 13
jules birch 6
jules cobalt 30
chen amber 14
farah indigo 25
hana birch 27
chen amber 10
lina amber 4
dina indigo 13
| jules cobalt 30
hana birch 27
eli harbor 25
| eli grove 23
dina ember 18
eli ember 26
kim ember 17
ivan cobalt 27
alice grove 1
farah cobalt 15
| ivan cobalt 27
eli ember 26
eli grove 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023555 | qwen/qwen3.7-plus |
awkweave-0023556 | Print column 6 followed by column 3 for every record. | {print $6, $3} | 3 hana 57 pending paused 104
110 chen 104 paused closed 71
78 kim 66 paused paused 26
117 dina 14 failed pending 17
9 kim 112 failed pending 32
92 chen 68 closed paused 53
38 eli 28 ready ready 61
61 jules 61 ready pending 11
113 alice 101 pending pending 86
87 ivan 38 active paused 87
| 104 57
71 104
26 66
17 14
32 112
53 68
61 28
11 61
86 101
87 38
| 95 dina 42 ready ready 101
38 lina 90 active pending 68
70 bruno 66 paused ready 111
70 eli 39 paused closed 85
1 ivan 74 pending failed 55
37 alice 8 failed ready 54
90 ivan 35 ready active 55
45 lina 49 pending paused 45
8 eli 12 failed paused 27
| 101 42
68 90
111 66
85 39
55 74
54 8
55 35
45 49
27 12
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023556-p1 | Output the sixth column followed by the third column for every record. | {print $6, $3} | 3 hana 57 pending paused 104
110 chen 104 paused closed 71
78 kim 66 paused paused 26
117 dina 14 failed pending 17
9 kim 112 failed pending 32
92 chen 68 closed paused 53
38 eli 28 ready ready 61
61 jules 61 ready pending 11
113 alice 101 pending pending 86
87 ivan 38 active paused 87
| 104 57
71 104
26 66
17 14
32 112
53 68
61 28
11 61
86 101
87 38
| 95 dina 42 ready ready 101
38 lina 90 active pending 68
70 bruno 66 paused ready 111
70 eli 39 paused closed 85
1 ivan 74 pending failed 55
37 alice 8 failed ready 54
90 ivan 35 ready active 55
45 lina 49 pending paused 45
8 eli 12 failed paused 27
| 101 42
68 90
111 66
85 39
55 74
54 8
55 35
45 49
27 12
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023556 | qwen/qwen3.7-plus |
awkweave-0023557 | Print the last field of every input line. | {print $NF} | chen 41 78 harbor
eli 93 94 birch
jules 70 29 fable
eli 47 116 delta
gus 92 66 harbor
chen 106 100 harbor
| harbor
birch
fable
delta
harbor
harbor
| lina 51 43 indigo
ivan 82 88 delta
eli 45 43 ember
ivan 20 74 cobalt
lina 80 28 cobalt
ivan 108 105 ember
| indigo
delta
ember
cobalt
cobalt
ember
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023557-p1 | Print the final field from each input line. | {print $NF} | chen 41 78 harbor
eli 93 94 birch
jules 70 29 fable
eli 47 116 delta
gus 92 66 harbor
chen 106 100 harbor
| harbor
birch
fable
delta
harbor
harbor
| lina 51 43 indigo
ivan 82 88 delta
eli 45 43 ember
ivan 20 74 cobalt
lina 80 28 cobalt
ivan 108 105 ember
| indigo
delta
ember
cobalt
cobalt
ember
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023557 | qwen/qwen3.7-plus |
awkweave-0023558 | Print the complete records where column 1 is greater than 66. | $1 > 66 | 3 jules ember juniper active
7 lina ember cobalt active
81 farah ember fable paused
65 hana birch ember failed
63 kim fable harbor paused
93 lina indigo fable pending
39 dina ember amber ready
16 jules amber delta pending
17 farah grove juniper failed
| 81 farah ember fable paused
93 lina indigo fable pending
| 118 jules indigo indigo paused
116 gus fable indigo ready
60 lina ember juniper ready
26 chen harbor delta paused
18 bruno fable grove ready
73 alice amber ember active
102 kim indigo birch ready
| 118 jules indigo indigo paused
116 gus fable indigo ready
73 alice amber ember active
102 kim indigo birch ready
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023558-p1 | Display the entire records where the value in the first column exceeds 66. | $1 > 66 | 3 jules ember juniper active
7 lina ember cobalt active
81 farah ember fable paused
65 hana birch ember failed
63 kim fable harbor paused
93 lina indigo fable pending
39 dina ember amber ready
16 jules amber delta pending
17 farah grove juniper failed
| 81 farah ember fable paused
93 lina indigo fable pending
| 118 jules indigo indigo paused
116 gus fable indigo ready
60 lina ember juniper ready
26 chen harbor delta paused
18 bruno fable grove ready
73 alice amber ember active
102 kim indigo birch ready
| 118 jules indigo indigo paused
116 gus fable indigo ready
73 alice amber ember active
102 kim indigo birch ready
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023558 | qwen/qwen3.7-plus |
awkweave-0023559 | Show whole lines whose 1st field is between 5 and 21, inclusive. | $1 >= 5 && $1 <= 21 | 20 chen ember gus
17 gus grove alice
19 kim delta bruno
13 kim birch eli
4 eli grove farah
24 chen grove gus
28 gus fable alice
| 20 chen ember gus
17 gus grove alice
19 kim delta bruno
13 kim birch eli
| 10 chen delta hana
12 dina ember chen
19 lina harbor ivan
15 jules grove ivan
16 hana amber kim
24 eli juniper bruno
25 jules juniper eli
26 gus amber ivan
10 eli indigo alice
1 gus amber farah
| 10 chen delta hana
12 dina ember chen
19 lina harbor ivan
15 jules grove ivan
16 hana amber kim
10 eli indigo alice
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023559-p1 | Show complete lines where the first field falls within the inclusive range of 5 to 21. | $1 >= 5 && $1 <= 21 | 20 chen ember gus
17 gus grove alice
19 kim delta bruno
13 kim birch eli
4 eli grove farah
24 chen grove gus
28 gus fable alice
| 20 chen ember gus
17 gus grove alice
19 kim delta bruno
13 kim birch eli
| 10 chen delta hana
12 dina ember chen
19 lina harbor ivan
15 jules grove ivan
16 hana amber kim
24 eli juniper bruno
25 jules juniper eli
26 gus amber ivan
10 eli indigo alice
1 gus amber farah
| 10 chen delta hana
12 dina ember chen
19 lina harbor ivan
15 jules grove ivan
16 hana amber kim
10 eli indigo alice
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023559 | qwen/qwen3.7-plus |
awkweave-0023560 | Print column 4 only for rows where column 3 is exactly closed. | $3 == "closed"{print $4} | grove 83 pending chen
fable 97 closed farah
cobalt 93 ready farah
delta 68 active eli
amber 69 failed lina
birch 22 pending gus
| farah
| delta 95 failed lina
grove 20 ready lina
delta 113 paused hana
grove 75 paused lina
ember 54 active eli
amber 16 paused lina
harbor 26 failed jules
harbor 99 closed lina
ember 58 active hana
| lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023560-p1 | Output only the fourth column for rows where the third column contains exactly the text 'closed'. | $3 == "closed"{print $4} | grove 83 pending chen
fable 97 closed farah
cobalt 93 ready farah
delta 68 active eli
amber 69 failed lina
birch 22 pending gus
| farah
| delta 95 failed lina
grove 20 ready lina
delta 113 paused hana
grove 75 paused lina
ember 54 active eli
amber 16 paused lina
harbor 26 failed jules
harbor 99 closed lina
ember 58 active hana
| lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023560 | qwen/qwen3.7-plus |
awkweave-0023561 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | fable INFO 109
indigo INFO 58
indigo ERROR 103
indigo WARN 56
juniper INFO 114
fable WARN 56
harbor ERROR 113
ember WARN 73
cobalt DEBUG 57
juniper INFO 106
| indigo WARN 56
fable WARN 56
ember WARN 73
| amber ERROR 57
juniper INFO 56
fable INFO 58
grove WARN 74
harbor DEBUG 18
indigo DEBUG 119
juniper WARN 67
| grove WARN 74
juniper WARN 67
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023561-p1 | Print all fields from lines where the second field starts with the string 'WARN'. | $2 ~ /^WARN/ | fable INFO 109
indigo INFO 58
indigo ERROR 103
indigo WARN 56
juniper INFO 114
fable WARN 56
harbor ERROR 113
ember WARN 73
cobalt DEBUG 57
juniper INFO 106
| indigo WARN 56
fable WARN 56
ember WARN 73
| amber ERROR 57
juniper INFO 56
fable INFO 58
grove WARN 74
harbor DEBUG 18
indigo DEBUG 119
juniper WARN 67
| grove WARN 74
juniper WARN 67
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023561 | qwen/qwen3.7-plus |
awkweave-0023562 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | amber 62 paused
birch 69 active
indigo 74 ready
cobalt 56 ready
birch 57 ready
birch 49 paused
juniper 117 failed
cobalt 52 paused
harbor 19 failed
ember 999 active
| amber 62 paused
birch 69 active
indigo 74 ready
cobalt 56 ready
birch 57 ready
birch 49 paused
juniper 117 failed
cobalt 52 paused
harbor 19 failed
| fable 19 active
cobalt 75 ready
juniper 49 closed
juniper 96 paused
indigo 23 pending
fable 103 failed
cobalt 111 failed
ember 14 paused
harbor 91 paused
birch 20 ready
ember 999 active
| fable 19 active
cobalt 75 ready
juniper 49 closed
juniper 96 paused
indigo 23 pending
fable 103 failed
cobalt 111 failed
harbor 91 paused
birch 20 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023562-p1 | Print every line except those that contain the exact substring 'ember'. | $0 !~ /ember/ | amber 62 paused
birch 69 active
indigo 74 ready
cobalt 56 ready
birch 57 ready
birch 49 paused
juniper 117 failed
cobalt 52 paused
harbor 19 failed
ember 999 active
| amber 62 paused
birch 69 active
indigo 74 ready
cobalt 56 ready
birch 57 ready
birch 49 paused
juniper 117 failed
cobalt 52 paused
harbor 19 failed
| fable 19 active
cobalt 75 ready
juniper 49 closed
juniper 96 paused
indigo 23 pending
fable 103 failed
cobalt 111 failed
ember 14 paused
harbor 91 paused
birch 20 ready
ember 999 active
| fable 19 active
cobalt 75 ready
juniper 49 closed
juniper 96 paused
indigo 23 pending
fable 103 failed
cobalt 111 failed
harbor 91 paused
birch 20 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023562 | qwen/qwen3.7-plus |
awkweave-0023563 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | ivan juniper 7
dina delta 24
bruno ember 80
eli harbor 110
bruno amber 80
jules amber 65
ivan delta 73
farah delta 35
hana grove 37
| dina delta 24
bruno ember 80
eli harbor 110
| dina cobalt 20
lina indigo 112
eli grove 5
alice juniper 10
alice ember 77
farah cobalt 57
lina juniper 22
| lina indigo 112
eli grove 5
alice juniper 10
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023563-p1 | Output lines 2 through 4, inclusive of both endpoints. | NR >= 2 && NR <= 4 | ivan juniper 7
dina delta 24
bruno ember 80
eli harbor 110
bruno amber 80
jules amber 65
ivan delta 73
farah delta 35
hana grove 37
| dina delta 24
bruno ember 80
eli harbor 110
| dina cobalt 20
lina indigo 112
eli grove 5
alice juniper 10
alice ember 77
farah cobalt 57
lina juniper 22
| lina indigo 112
eli grove 5
alice juniper 10
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023563 | qwen/qwen3.7-plus |
awkweave-0023564 | Output only the first 5 records. | NR <= 5 | hana 104 indigo
hana 36 fable
bruno 32 cobalt
kim 10 cobalt
jules 116 fable
eli 11 cobalt
| hana 104 indigo
hana 36 fable
bruno 32 cobalt
kim 10 cobalt
jules 116 fable
| kim 91 ember
alice 75 harbor
chen 109 juniper
gus 8 amber
chen 38 indigo
eli 85 birch
| kim 91 ember
alice 75 harbor
chen 109 juniper
gus 8 amber
chen 38 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023564-p1 | Output only the first 5 records. | NR <= 5 | hana 104 indigo
hana 36 fable
bruno 32 cobalt
kim 10 cobalt
jules 116 fable
eli 11 cobalt
| hana 104 indigo
hana 36 fable
bruno 32 cobalt
kim 10 cobalt
jules 116 fable
| kim 91 ember
alice 75 harbor
chen 109 juniper
gus 8 amber
chen 38 indigo
eli 85 birch
| kim 91 ember
alice 75 harbor
chen 109 juniper
gus 8 amber
chen 38 indigo
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0023564 | qwen/qwen3.7-plus |
awkweave-0023565 | Skip the first line and print every remaining line unchanged. | NR > 1 | bruno 3 amber
bruno 36 harbor
kim 25 juniper
alice 102 indigo
bruno 8 juniper
alice 29 delta
jules 45 juniper
dina 71 birch
| bruno 36 harbor
kim 25 juniper
alice 102 indigo
bruno 8 juniper
alice 29 delta
jules 45 juniper
dina 71 birch
| farah 79 harbor
farah 11 grove
chen 70 cobalt
hana 17 ember
jules 75 cobalt
gus 101 delta
| farah 11 grove
chen 70 cobalt
hana 17 ember
jules 75 cobalt
gus 101 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023565-p1 | Skip the first line and print all subsequent lines without modification. | NR > 1 | bruno 3 amber
bruno 36 harbor
kim 25 juniper
alice 102 indigo
bruno 8 juniper
alice 29 delta
jules 45 juniper
dina 71 birch
| bruno 36 harbor
kim 25 juniper
alice 102 indigo
bruno 8 juniper
alice 29 delta
jules 45 juniper
dina 71 birch
| farah 79 harbor
farah 11 grove
chen 70 cobalt
hana 17 ember
jules 75 cobalt
gus 101 delta
| farah 11 grove
chen 70 cobalt
hana 17 ember
jules 75 cobalt
gus 101 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023565 | qwen/qwen3.7-plus |
awkweave-0023566 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | hana closed 114
lina closed 102
lina ready 88
ivan paused 28
chen ready 10
farah pending 115
hana failed 80
chen closed 111
ivan closed 100
ivan closed 22
| 1
| hana active 13
eli active 82
kim pending 91
jules paused 96
hana paused 96
kim pending 28
alice closed 116
lina pending 114
chen failed 110
hana closed 88
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023566-p1 | Output the count of failed entries in the second column, defaulting to 0 if none exist. | $2 == "failed"{n++}END{print n+0} | hana closed 114
lina closed 102
lina ready 88
ivan paused 28
chen ready 10
farah pending 115
hana failed 80
chen closed 111
ivan closed 100
ivan closed 22
| 1
| hana active 13
eli active 82
kim pending 91
jules paused 96
hana paused 96
kim pending 28
alice closed 116
lina pending 114
chen failed 110
hana closed 88
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023566 | qwen/qwen3.7-plus |
awkweave-0023567 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor jules 29
birch dina 21
grove hana 13
amber ivan 9
harbor lina 4
amber ivan 30
birch jules 22
indigo lina 23
harbor farah 1
| 152
| harbor hana 4
fable dina 16
indigo jules 25
birch bruno 20
indigo jules 20
amber gus 16
delta alice 8
| 109
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023567-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | harbor jules 29
birch dina 21
grove hana 13
amber ivan 9
harbor lina 4
amber ivan 30
birch jules 22
indigo lina 23
harbor farah 1
| 152
| harbor hana 4
fable dina 16
indigo jules 25
birch bruno 20
indigo jules 20
amber gus 16
delta alice 8
| 109
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023567 | qwen/qwen3.7-plus |
awkweave-0023568 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 14 indigo alice
26 indigo alice
3 amber farah
24 grove ivan
3 amber farah
3 harbor gus
26 ember eli
6 fable dina
21 birch chen
17 birch ivan
| 14.30
| 1 delta dina
17 grove kim
5 birch kim
6 delta chen
7 amber chen
16 indigo lina
10 grove bruno
6 harbor lina
8 ember hana
| 8.44
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023568-p1 | Display the average of the first column, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 14 indigo alice
26 indigo alice
3 amber farah
24 grove ivan
3 amber farah
3 harbor gus
26 ember eli
6 fable dina
21 birch chen
17 birch ivan
| 14.30
| 1 delta dina
17 grove kim
5 birch kim
6 delta chen
7 amber chen
16 indigo lina
10 grove bruno
6 harbor lina
8 ember hana
| 8.44
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023568 | qwen/qwen3.7-plus |
awkweave-0023569 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | harbor 9 alice
amber 15 kim
cobalt 14 dina
birch 11 kim
cobalt 1 farah
ember 20 jules
| 1
| indigo 18 ivan
ember 21 bruno
grove 13 eli
indigo 6 farah
indigo 10 farah
fable 18 alice
cobalt 11 chen
delta 4 chen
ember 24 chen
harbor 2 hana
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023569-p1 | Identify and output the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | harbor 9 alice
amber 15 kim
cobalt 14 dina
birch 11 kim
cobalt 1 farah
ember 20 jules
| 1
| indigo 18 ivan
ember 21 bruno
grove 13 eli
indigo 6 farah
indigo 10 farah
fable 18 alice
cobalt 11 chen
delta 4 chen
ember 24 chen
harbor 2 hana
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023569 | qwen/qwen3.7-plus |
awkweave-0023570 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 25 kim amber
11 chen delta
17 eli cobalt
19 hana birch
14 lina delta
10 jules fable
| 25
| 15 dina amber
19 ivan delta
12 hana birch
13 lina juniper
6 lina juniper
12 hana delta
| 19
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023570-p1 | Identify and output the maximum numeric value present in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 25 kim amber
11 chen delta
17 eli cobalt
19 hana birch
14 lina delta
10 jules fable
| 25
| 15 dina amber
19 ivan delta
12 hana birch
13 lina juniper
6 lina juniper
12 hana delta
| 19
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023570 | qwen/qwen3.7-plus |
awkweave-0023571 | Count all input records and print the total. | END{print NR} | hana 29
gus 9
hana 37
alice 72
lina 64
chen 106
dina 22
kim 118
jules 91
jules 61
| 10
| lina 80
kim 75
hana 64
lina 94
kim 57
chen 118
dina 114
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023571-p1 | Count the total number of input records and print the result. | END{print NR} | hana 29
gus 9
hana 37
alice 72
lina 64
chen 106
dina 22
kim 118
jules 91
jules 61
| 10
| lina 80
kim 75
hana 64
lina 94
kim 57
chen 118
dina 114
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023571 | qwen/qwen3.7-plus |
awkweave-0023572 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim delta 56
kim delta 56
dina birch 15
bruno harbor 52
alice fable 46
gus fable 120
eli indigo 44
gus harbor 35
alice ember 34
| kim delta 56
dina birch 15
bruno harbor 52
alice fable 46
gus fable 120
eli indigo 44
gus harbor 35
alice ember 34
| gus ember 49
eli birch 109
eli cobalt 48
bruno harbor 116
lina juniper 81
eli birch 82
hana indigo 111
farah amber 17
farah indigo 57
farah indigo 100
gus ember 49
| gus ember 49
eli birch 109
eli cobalt 48
bruno harbor 116
lina juniper 81
eli birch 82
hana indigo 111
farah amber 17
farah indigo 57
farah indigo 100
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023572-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance. | !seen[$0]++ | kim delta 56
kim delta 56
dina birch 15
bruno harbor 52
alice fable 46
gus fable 120
eli indigo 44
gus harbor 35
alice ember 34
| kim delta 56
dina birch 15
bruno harbor 52
alice fable 46
gus fable 120
eli indigo 44
gus harbor 35
alice ember 34
| gus ember 49
eli birch 109
eli cobalt 48
bruno harbor 116
lina juniper 81
eli birch 82
hana indigo 111
farah amber 17
farah indigo 57
farah indigo 100
gus ember 49
| gus ember 49
eli birch 109
eli cobalt 48
bruno harbor 116
lina juniper 81
eli birch 82
hana indigo 111
farah amber 17
farah indigo 57
farah indigo 100
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023572 | qwen/qwen3.7-plus |
awkweave-0023573 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim juniper 28
kim indigo 86
gus grove 112
lina ember 81
eli indigo 21
chen ember 87
| kim juniper 28
gus grove 112
lina ember 81
eli indigo 21
chen ember 87
| chen harbor 15
jules indigo 21
bruno birch 54
lina grove 49
hana birch 22
farah fable 86
lina cobalt 21
| chen harbor 15
jules indigo 21
bruno birch 54
lina grove 49
hana birch 22
farah fable 86
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023573-p1 | Retain only the initial occurrence for each unique value in the first column, preserving the input sequence. | !seen[$1]++ | kim juniper 28
kim indigo 86
gus grove 112
lina ember 81
eli indigo 21
chen ember 87
| kim juniper 28
gus grove 112
lina ember 81
eli indigo 21
chen ember 87
| chen harbor 15
jules indigo 21
bruno birch 54
lina grove 49
hana birch 22
farah fable 86
lina cobalt 21
| chen harbor 15
jules indigo 21
bruno birch 54
lina grove 49
hana birch 22
farah fable 86
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023573 | qwen/qwen3.7-plus |
awkweave-0023574 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 27 cobalt
chen 3 grove
kim 12 fable
jules 11 ember
kim 18 harbor
alice 11 harbor
farah 11 fable
chen 14 amber
bruno 14 delta
ivan 22 grove
| alice 27
chen 30
kim 42
jules 53
kim 71
alice 82
farah 93
chen 107
bruno 121
ivan 143
| eli 1 fable
jules 28 juniper
jules 24 birch
chen 4 juniper
lina 19 juniper
ivan 17 amber
hana 2 ember
ivan 20 juniper
| eli 1
jules 29
jules 53
chen 57
lina 76
ivan 93
hana 95
ivan 115
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023574-p1 | For every record, output the first column alongside the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | alice 27 cobalt
chen 3 grove
kim 12 fable
jules 11 ember
kim 18 harbor
alice 11 harbor
farah 11 fable
chen 14 amber
bruno 14 delta
ivan 22 grove
| alice 27
chen 30
kim 42
jules 53
kim 71
alice 82
farah 93
chen 107
bruno 121
ivan 143
| eli 1 fable
jules 28 juniper
jules 24 birch
chen 4 juniper
lina 19 juniper
ivan 17 amber
hana 2 ember
ivan 20 juniper
| eli 1
jules 29
jules 53
chen 57
lina 76
ivan 93
hana 95
ivan 115
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023574 | qwen/qwen3.7-plus |
awkweave-0023575 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | chen 3 27 birch
lina 17 25 cobalt
hana 21 8 birch
dina 22 1 grove
chen 12 1 cobalt
jules 4 28 juniper
ivan 29 30 juniper
chen 15 5 juniper
hana 21 16 fable
| chen 30
lina 42
hana 29
dina 23
chen 13
jules 32
ivan 59
chen 20
hana 37
| chen 26 27 fable
farah 28 4 cobalt
alice 25 10 grove
bruno 15 17 fable
farah 13 18 fable
jules 14 22 juniper
alice 12 27 fable
| chen 53
farah 32
alice 35
bruno 32
farah 31
jules 36
alice 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023575-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | chen 3 27 birch
lina 17 25 cobalt
hana 21 8 birch
dina 22 1 grove
chen 12 1 cobalt
jules 4 28 juniper
ivan 29 30 juniper
chen 15 5 juniper
hana 21 16 fable
| chen 30
lina 42
hana 29
dina 23
chen 13
jules 32
ivan 59
chen 20
hana 37
| chen 26 27 fable
farah 28 4 cobalt
alice 25 10 grove
bruno 15 17 fable
farah 13 18 fable
jules 14 22 juniper
alice 12 27 fable
| chen 53
farah 32
alice 35
bruno 32
farah 31
jules 36
alice 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023575 | qwen/qwen3.7-plus |
awkweave-0023576 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | lina 1
eli 23
chen 2
hana 15
ivan 30
eli 8
hana 5
| lina fail
eli pass
chen fail
hana fail
ivan pass
eli fail
hana fail
| jules 27
ivan 22
farah 25
lina 27
ivan 23
bruno 26
| jules pass
ivan pass
farah pass
lina pass
ivan pass
bruno pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023576-p1 | Print the first column and output 'pass' if the second column is 21 or higher; otherwise, output 'fail'. | {print $1,($2>=21?"pass":"fail")} | lina 1
eli 23
chen 2
hana 15
ivan 30
eli 8
hana 5
| lina fail
eli pass
chen fail
hana fail
ivan pass
eli fail
hana fail
| jules 27
ivan 22
farah 25
lina 27
ivan 23
bruno 26
| jules pass
ivan pass
farah pass
lina pass
ivan pass
bruno pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023576 | qwen/qwen3.7-plus |
awkweave-0023577 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | gus delta 4
gus birch 118
kim delta 89
jules birch 111
kim indigo 73
jules fable 67
gus birch 10
lina amber 21
dina fable 92
| DELTA
BIRCH
DELTA
BIRCH
INDIGO
FABLE
BIRCH
AMBER
FABLE
| alice birch 105
kim ember 67
kim fable 85
jules harbor 7
kim harbor 80
gus cobalt 19
| BIRCH
EMBER
FABLE
HARBOR
HARBOR
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023577-p1 | Transform the second column to uppercase and print only that transformed column. | {print toupper($2)} | gus delta 4
gus birch 118
kim delta 89
jules birch 111
kim indigo 73
jules fable 67
gus birch 10
lina amber 21
dina fable 92
| DELTA
BIRCH
DELTA
BIRCH
INDIGO
FABLE
BIRCH
AMBER
FABLE
| alice birch 105
kim ember 67
kim fable 85
jules harbor 7
kim harbor 80
gus cobalt 19
| BIRCH
EMBER
FABLE
HARBOR
HARBOR
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023577 | qwen/qwen3.7-plus |
awkweave-0023578 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | delta 54
indigo 60
fable 11
ember 110
amber 68
juniper 48
indigo 24
| lta
dig
ble
ber
ber
nip
dig
| delta 87
delta 95
ember 104
cobalt 32
ember 90
grove 101
fable 73
delta 85
| lta
lta
ber
bal
ber
ove
ble
lta
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023578-p1 | Extract and display a 3-character substring from the first column, beginning at the third character position. | {print substr($1,3,3)} | delta 54
indigo 60
fable 11
ember 110
amber 68
juniper 48
indigo 24
| lta
dig
ble
ber
ber
nip
dig
| delta 87
delta 95
ember 104
cobalt 32
ember 90
grove 101
fable 73
delta 85
| lta
lta
ber
bal
ber
ove
ble
lta
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023578 | qwen/qwen3.7-plus |
awkweave-0023579 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_harbor 92
birch_grove 44
fable_amber 102
harbor_juniper 12
grove_grove 2
indigo_delta 85
cobalt_fable 68
juniper_grove 13
delta_cobalt 31
| amber harbor
birch grove
fable amber
harbor juniper
grove grove
indigo delta
cobalt fable
juniper grove
delta cobalt
| harbor_delta 116
harbor_indigo 46
delta_delta 112
cobalt_harbor 50
indigo_cobalt 0
fable_indigo 79
grove_delta 10
amber_cobalt 34
cobalt_cobalt 20
| harbor delta
harbor indigo
delta delta
cobalt harbor
indigo cobalt
fable indigo
grove delta
amber cobalt
cobalt cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023579-p1 | Substitute all underscores with spaces in the first column and output the modified values. | {gsub(/_/," ",$1);print $1} | amber_harbor 92
birch_grove 44
fable_amber 102
harbor_juniper 12
grove_grove 2
indigo_delta 85
cobalt_fable 68
juniper_grove 13
delta_cobalt 31
| amber harbor
birch grove
fable amber
harbor juniper
grove grove
indigo delta
cobalt fable
juniper grove
delta cobalt
| harbor_delta 116
harbor_indigo 46
delta_delta 112
cobalt_harbor 50
indigo_cobalt 0
fable_indigo 79
grove_delta 10
amber_cobalt 34
cobalt_cobalt 20
| harbor delta
harbor indigo
delta delta
cobalt harbor
indigo cobalt
fable indigo
grove delta
amber cobalt
cobalt cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023579 | qwen/qwen3.7-plus |
awkweave-0023580 | 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)} | bruno birch 59 pending
kim amber 25 active
chen ember 22 active
chen birch 45 closed
lina birch 12 paused
chen amber 11 paused
kim cobalt 9 failed
| pending 59 birch bruno
active 25 amber kim
active 22 ember chen
closed 45 birch chen
paused 12 birch lina
paused 11 amber chen
failed 9 cobalt kim
| gus amber 113 pending
chen cobalt 105 paused
chen birch 52 paused
hana birch 94 failed
eli ember 90 active
eli grove 64 ready
eli delta 1 pending
bruno fable 67 paused
| pending 113 amber gus
paused 105 cobalt chen
paused 52 birch chen
failed 94 birch hana
active 90 ember eli
ready 64 grove eli
pending 1 delta eli
paused 67 fable bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023580-p1 | Reverse the sequence of fields for each line and output every field. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | bruno birch 59 pending
kim amber 25 active
chen ember 22 active
chen birch 45 closed
lina birch 12 paused
chen amber 11 paused
kim cobalt 9 failed
| pending 59 birch bruno
active 25 amber kim
active 22 ember chen
closed 45 birch chen
paused 12 birch lina
paused 11 amber chen
failed 9 cobalt kim
| gus amber 113 pending
chen cobalt 105 paused
chen birch 52 paused
hana birch 94 failed
eli ember 90 active
eli grove 64 ready
eli delta 1 pending
bruno fable 67 paused
| pending 113 amber gus
paused 105 cobalt chen
paused 52 birch chen
failed 94 birch hana
active 90 ember eli
ready 64 grove eli
pending 1 delta eli
paused 67 fable bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023580 | qwen/qwen3.7-plus |
awkweave-0023581 | Print the number of whitespace-separated fields on each line. | {print NF} | alice indigo 43 ready
jules indigo 54 active
chen amber 46 failed
alice cobalt 55 paused
eli harbor 83 pending
farah indigo 102 paused
dina amber 85 active
lina fable 6 pending
kim ember 32 paused
| 4
4
4
4
4
4
4
4
4
| dina fable 75 closed
eli grove 19 ready
dina indigo 71 ready
chen cobalt 115 ready
dina harbor 31 ready
dina birch 90 paused
bruno amber 32 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023581-p1 | Output the count of whitespace-delimited fields found on each line. | {print NF} | alice indigo 43 ready
jules indigo 54 active
chen amber 46 failed
alice cobalt 55 paused
eli harbor 83 pending
farah indigo 102 paused
dina amber 85 active
lina fable 6 pending
kim ember 32 paused
| 4
4
4
4
4
4
4
4
4
| dina fable 75 closed
eli grove 19 ready
dina indigo 71 ready
chen cobalt 115 ready
dina harbor 31 ready
dina birch 90 paused
bruno amber 32 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023581 | qwen/qwen3.7-plus |
awkweave-0023582 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | kim beta 59
eli beta 66
bruno beta 0
ivan gamma 0
bruno alpha 34
alice gamma 6
lina alpha 30
| beta 3
gamma 2
alpha 2
| gus gamma 76
ivan beta 112
farah delta 110
dina beta 36
chen alpha 3
ivan gamma 14
chen delta 44
hana gamma 95
| gamma 3
beta 2
delta 2
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023582-p1 | Tally the occurrences of each unique value in the second column and list each value alongside its count, maintaining the order of their first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | kim beta 59
eli beta 66
bruno beta 0
ivan gamma 0
bruno alpha 34
alice gamma 6
lina alpha 30
| beta 3
gamma 2
alpha 2
| gus gamma 76
ivan beta 112
farah delta 110
dina beta 36
chen alpha 3
ivan gamma 14
chen delta 44
hana gamma 95
| gamma 3
beta 2
delta 2
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023582 | qwen/qwen3.7-plus |
awkweave-0023583 | 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 gamma 14
gus gamma 21
chen delta 3
eli gamma 19
dina gamma 16
dina alpha 27
bruno delta 5
jules beta 20
alice beta 8
| gamma 70
delta 8
alpha 27
beta 28
| chen alpha 7
alice alpha 13
farah gamma 23
lina delta 14
gus alpha 5
ivan beta 6
bruno alpha 18
bruno beta 22
| alpha 43
gamma 23
delta 14
beta 28
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023583-p1 | Calculate the sum of the third column grouped by the second column's categories, displaying the results in the order the categories 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 gamma 14
gus gamma 21
chen delta 3
eli gamma 19
dina gamma 16
dina alpha 27
bruno delta 5
jules beta 20
alice beta 8
| gamma 70
delta 8
alpha 27
beta 28
| chen alpha 7
alice alpha 13
farah gamma 23
lina delta 14
gus alpha 5
ivan beta 6
bruno alpha 18
bruno beta 22
| alpha 43
gamma 23
delta 14
beta 28
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023583 | qwen/qwen3.7-plus |
awkweave-0023584 | 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 delta 5
beta juniper 84
delta juniper 57
beta grove 55
delta juniper 5
delta harbor 65
beta delta 24
alpha grove 57
beta juniper 117
| delta 4
beta 4
| beta harbor 119
alpha delta 33
delta birch 41
delta harbor 1
alpha delta 74
alpha cobalt 4
gamma delta 101
gamma grove 69
| alpha 3
delta 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023584-p1 | List each duplicate value from the first column along with its frequency, sorted by the order of first occurrence. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta delta 5
beta juniper 84
delta juniper 57
beta grove 55
delta juniper 5
delta harbor 65
beta delta 24
alpha grove 57
beta juniper 117
| delta 4
beta 4
| beta harbor 119
alpha delta 33
delta birch 41
delta harbor 1
alpha delta 74
alpha cobalt 4
gamma delta 101
gamma grove 69
| alpha 3
delta 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023584 | qwen/qwen3.7-plus |
awkweave-0023585 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score display_name note record_id
r001 chen 18 ready
r002 ivan 11 failed
r003 alice 14 active
r004 dina 8 closed
r005 gus 17 paused
r006 kim 4 paused
| 18
11
14
8
17
4
| score display_name note record_id
r001 alice 27 closed
r002 alice 3 pending
r003 jules 22 closed
r004 ivan 4 pending
r005 farah 17 active
r006 eli 13 paused
r007 dina 10 paused
| 27
3
22
4
17
13
10
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023585-p1 | Treating the initial row as a header, output the contents of the note column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | score display_name note record_id
r001 chen 18 ready
r002 ivan 11 failed
r003 alice 14 active
r004 dina 8 closed
r005 gus 17 paused
r006 kim 4 paused
| 18
11
14
8
17
4
| score display_name note record_id
r001 alice 27 closed
r002 alice 3 pending
r003 jules 22 closed
r004 ivan 4 pending
r005 farah 17 active
r006 eli 13 paused
r007 dina 10 paused
| 27
3
22
4
17
13
10
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023585 | qwen/qwen3.7-plus |
awkweave-0023586 | 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 eli 20 closed
r002 eli 20 closed
r003 alice 14 closed
r004 eli 14 paused
r005 bruno 7 ready
r006 bruno 8 active
| eli
eli
alice
eli
| record_id display_name score state
r001 lina 25 closed
r002 ivan 10 active
r003 bruno 29 closed
r004 farah 27 ready
r005 bruno 11 active
r006 gus 11 ready
| lina
bruno
farah
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023586-p1 | Ignoring the header row, print the display_name field for records 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 eli 20 closed
r002 eli 20 closed
r003 alice 14 closed
r004 eli 14 paused
r005 bruno 7 ready
r006 bruno 8 active
| eli
eli
alice
eli
| record_id display_name score state
r001 lina 25 closed
r002 ivan 10 active
r003 bruno 29 closed
r004 farah 27 ready
r005 bruno 11 active
r006 gus 11 ready
| lina
bruno
farah
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023586 | qwen/qwen3.7-plus |
awkweave-0023587 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 25 active
kim 23 pending
ivan 25 pending
hana 17 pending
alice 20 active
gus 19 failed
ivan 28 closed
alice 20 failed
eli 1 active
| active
pending
pending
pending
active
failed
closed
failed
active
| chen 10 pending
eli 25 pending
lina 25 pending
ivan 5 closed
kim 11 closed
eli 16 pending
eli 24 active
gus 17 active
gus 2 failed
bruno 22 ready
| pending
pending
pending
closed
closed
pending
active
active
failed
ready
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023587-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | ivan 25 active
kim 23 pending
ivan 25 pending
hana 17 pending
alice 20 active
gus 19 failed
ivan 28 closed
alice 20 failed
eli 1 active
| active
pending
pending
pending
active
failed
closed
failed
active
| chen 10 pending
eli 25 pending
lina 25 pending
ivan 5 closed
kim 11 closed
eli 16 pending
eli 24 active
gus 17 active
gus 2 failed
bruno 22 ready
| pending
pending
pending
closed
closed
pending
active
active
failed
ready
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023587 | qwen/qwen3.7-plus |
awkweave-0023588 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,26,ready
jules,2,active
ivan,8,failed
hana,20,paused
chen,24,ready
kim,21,ready
lina,10,failed
dina,6,paused
bruno,6,failed
| ivan
hana
chen
kim
| lina,21,pending
hana,2,paused
dina,7,pending
eli,27,ready
alice,27,active
alice,3,failed
bruno,19,pending
gus,8,pending
lina,5,active
hana,25,paused
| lina
eli
alice
bruno
hana
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023588-p1 | For simple comma-separated input without quoted commas, print the first column if the second column's value is greater than 15. | BEGIN{FS=OFS=","}$2>15{print $1} | ivan,26,ready
jules,2,active
ivan,8,failed
hana,20,paused
chen,24,ready
kim,21,ready
lina,10,failed
dina,6,paused
bruno,6,failed
| ivan
hana
chen
kim
| lina,21,pending
hana,2,paused
dina,7,pending
eli,27,ready
alice,27,active
alice,3,failed
bruno,19,pending
gus,8,pending
lina,5,active
hana,25,paused
| lina
eli
alice
bruno
hana
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023588 | qwen/qwen3.7-plus |
awkweave-0023589 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan cobalt 57
alice fable 34
ivan ember 94
kim fable 112
alice grove 42
ivan fable 69
gus juniper 44
ivan fable 55
| ivan cobalt 57
alice fable 34
ivan ember 94
kim fable 112
alice grove 42
ivan fable 69
gus juniper 44
ivan fable 55
| dina grove 71
bruno harbor 12
gus juniper 105
eli delta 36
eli juniper 62
hana delta 32
bruno juniper 85
| dina grove 71
bruno harbor 12
gus juniper 105
eli delta 36
eli juniper 62
hana delta 32
bruno juniper 85
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023589-p1 | Remove leading and trailing whitespace and replace any internal sequences of whitespace with a single space. | {$1=$1;print} | ivan cobalt 57
alice fable 34
ivan ember 94
kim fable 112
alice grove 42
ivan fable 69
gus juniper 44
ivan fable 55
| ivan cobalt 57
alice fable 34
ivan ember 94
kim fable 112
alice grove 42
ivan fable 69
gus juniper 44
ivan fable 55
| dina grove 71
bruno harbor 12
gus juniper 105
eli delta 36
eli juniper 62
hana delta 32
bruno juniper 85
| dina grove 71
bruno harbor 12
gus juniper 105
eli delta 36
eli juniper 62
hana delta 32
bruno juniper 85
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023589 | qwen/qwen3.7-plus |
awkweave-0023600 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | harbor 21 DEBUG
grove 7 ERROR
fable 70 ERROR
fable 45 INFO
birch 23 ERROR
amber 6 DEBUG
juniper 52 ERROR
indigo 91 ERROR
| fable 45 INFO
| indigo 15 ERROR
grove 14 INFO
fable 19 WARN
amber 97 DEBUG
amber 86 INFO
cobalt 63 WARN
cobalt 59 ERROR
| grove 14 INFO
amber 86 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023600-p1 | Output every field from rows where the third field starts with INFO. | $3 ~ /^INFO/ | harbor 21 DEBUG
grove 7 ERROR
fable 70 ERROR
fable 45 INFO
birch 23 ERROR
amber 6 DEBUG
juniper 52 ERROR
indigo 91 ERROR
| fable 45 INFO
| indigo 15 ERROR
grove 14 INFO
fable 19 WARN
amber 97 DEBUG
amber 86 INFO
cobalt 63 WARN
cobalt 59 ERROR
| grove 14 INFO
amber 86 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023600 | qwen/qwen3.7-plus |
awkweave-0023601 | Print every line except those containing the exact text amber. | $0 !~ /amber/ | birch 48 paused
fable 32 paused
birch 57 pending
birch 119 closed
ember 43 closed
birch 31 pending
harbor 107 closed
birch 38 ready
harbor 21 ready
juniper 81 closed
amber 999 active
| birch 48 paused
fable 32 paused
birch 57 pending
birch 119 closed
ember 43 closed
birch 31 pending
harbor 107 closed
birch 38 ready
harbor 21 ready
juniper 81 closed
| indigo 41 closed
delta 73 active
ember 72 failed
juniper 13 pending
fable 71 closed
harbor 118 pending
cobalt 56 failed
delta 37 pending
indigo 21 pending
amber 999 active
| indigo 41 closed
delta 73 active
ember 72 failed
juniper 13 pending
fable 71 closed
harbor 118 pending
cobalt 56 failed
delta 37 pending
indigo 21 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023601-p1 | Display all lines that do not contain the exact string amber. | $0 !~ /amber/ | birch 48 paused
fable 32 paused
birch 57 pending
birch 119 closed
ember 43 closed
birch 31 pending
harbor 107 closed
birch 38 ready
harbor 21 ready
juniper 81 closed
amber 999 active
| birch 48 paused
fable 32 paused
birch 57 pending
birch 119 closed
ember 43 closed
birch 31 pending
harbor 107 closed
birch 38 ready
harbor 21 ready
juniper 81 closed
| indigo 41 closed
delta 73 active
ember 72 failed
juniper 13 pending
fable 71 closed
harbor 118 pending
cobalt 56 failed
delta 37 pending
indigo 21 pending
amber 999 active
| indigo 41 closed
delta 73 active
ember 72 failed
juniper 13 pending
fable 71 closed
harbor 118 pending
cobalt 56 failed
delta 37 pending
indigo 21 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023601 | qwen/qwen3.7-plus |
awkweave-0023602 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | bruno harbor 105
gus juniper 77
jules cobalt 106
jules juniper 8
jules juniper 113
eli juniper 54
eli harbor 90
chen harbor 14
alice fable 11
bruno delta 94
| jules cobalt 106
jules juniper 8
| bruno indigo 50
dina juniper 72
hana indigo 5
dina delta 117
alice fable 108
lina grove 3
ivan delta 80
farah cobalt 48
jules amber 57
| hana indigo 5
dina delta 117
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023602-p1 | Show lines 3 to 4, inclusive of both ends. | NR >= 3 && NR <= 4 | bruno harbor 105
gus juniper 77
jules cobalt 106
jules juniper 8
jules juniper 113
eli juniper 54
eli harbor 90
chen harbor 14
alice fable 11
bruno delta 94
| jules cobalt 106
jules juniper 8
| bruno indigo 50
dina juniper 72
hana indigo 5
dina delta 117
alice fable 108
lina grove 3
ivan delta 80
farah cobalt 48
jules amber 57
| hana indigo 5
dina delta 117
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023602 | qwen/qwen3.7-plus |
awkweave-0023603 | Output only the first 5 records. | NR <= 5 | gus 72 fable
jules 62 grove
chen 100 delta
gus 72 ember
eli 66 amber
jules 43 juniper
| gus 72 fable
jules 62 grove
chen 100 delta
gus 72 ember
eli 66 amber
| jules 26 juniper
hana 82 delta
alice 14 fable
kim 4 cobalt
alice 94 indigo
hana 84 ember
farah 60 cobalt
farah 80 harbor
ivan 47 grove
| jules 26 juniper
hana 82 delta
alice 14 fable
kim 4 cobalt
alice 94 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023603-p1 | Print just the initial 5 records. | NR <= 5 | gus 72 fable
jules 62 grove
chen 100 delta
gus 72 ember
eli 66 amber
jules 43 juniper
| gus 72 fable
jules 62 grove
chen 100 delta
gus 72 ember
eli 66 amber
| jules 26 juniper
hana 82 delta
alice 14 fable
kim 4 cobalt
alice 94 indigo
hana 84 ember
farah 60 cobalt
farah 80 harbor
ivan 47 grove
| jules 26 juniper
hana 82 delta
alice 14 fable
kim 4 cobalt
alice 94 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023603 | qwen/qwen3.7-plus |
awkweave-0023604 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 26 cobalt
chen 105 ember
chen 11 amber
jules 54 juniper
jules 44 delta
alice 81 amber
lina 0 birch
gus 32 amber
jules 112 birch
jules 65 birch
| chen 105 ember
chen 11 amber
jules 54 juniper
jules 44 delta
alice 81 amber
lina 0 birch
gus 32 amber
jules 112 birch
jules 65 birch
| alice 88 amber
kim 4 indigo
ivan 117 fable
dina 112 harbor
ivan 8 ember
ivan 35 harbor
alice 6 harbor
bruno 38 indigo
| kim 4 indigo
ivan 117 fable
dina 112 harbor
ivan 8 ember
ivan 35 harbor
alice 6 harbor
bruno 38 indigo
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023604-p1 | Omit the first line and output the rest as-is. | NR > 1 | gus 26 cobalt
chen 105 ember
chen 11 amber
jules 54 juniper
jules 44 delta
alice 81 amber
lina 0 birch
gus 32 amber
jules 112 birch
jules 65 birch
| chen 105 ember
chen 11 amber
jules 54 juniper
jules 44 delta
alice 81 amber
lina 0 birch
gus 32 amber
jules 112 birch
jules 65 birch
| alice 88 amber
kim 4 indigo
ivan 117 fable
dina 112 harbor
ivan 8 ember
ivan 35 harbor
alice 6 harbor
bruno 38 indigo
| kim 4 indigo
ivan 117 fable
dina 112 harbor
ivan 8 ember
ivan 35 harbor
alice 6 harbor
bruno 38 indigo
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023604 | qwen/qwen3.7-plus |
awkweave-0023605 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | farah closed 96
dina ready 40
chen paused 2
lina active 111
bruno ready 92
farah closed 92
kim paused 92
ivan paused 19
| 0
| lina paused 31
farah active 21
alice paused 51
alice pending 92
gus failed 77
kim paused 62
alice failed 74
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023605-p1 | Tally the number of records with pending in the second column; output 0 if none exist. | $2 == "pending"{n++}END{print n+0} | farah closed 96
dina ready 40
chen paused 2
lina active 111
bruno ready 92
farah closed 92
kim paused 92
ivan paused 19
| 0
| lina paused 31
farah active 21
alice paused 51
alice pending 92
gus failed 77
kim paused 62
alice failed 74
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023605 | qwen/qwen3.7-plus |
awkweave-0023606 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | farah birch 29
bruno fable 3
gus birch 5
ivan birch 12
dina cobalt 14
eli cobalt 24
chen delta 23
farah harbor 13
jules ember 9
| 132
| chen ember 17
ivan delta 12
hana cobalt 22
ivan amber 2
chen amber 15
alice juniper 3
dina fable 18
chen birch 29
farah harbor 17
eli delta 8
| 143
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023606-p1 | Compute and display the total sum of integer values in the third column. | {s+=$3}END{print s+0} | farah birch 29
bruno fable 3
gus birch 5
ivan birch 12
dina cobalt 14
eli cobalt 24
chen delta 23
farah harbor 13
jules ember 9
| 132
| chen ember 17
ivan delta 12
hana cobalt 22
ivan amber 2
chen amber 15
alice juniper 3
dina fable 18
chen birch 29
farah harbor 17
eli delta 8
| 143
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023606 | qwen/qwen3.7-plus |
awkweave-0023607 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | birch 6 eli
juniper 3 jules
harbor 17 farah
birch 29 ivan
delta 14 ivan
birch 20 kim
juniper 29 lina
| 16.86
| harbor 17 lina
fable 18 kim
cobalt 9 bruno
cobalt 16 gus
ember 14 hana
birch 17 hana
| 15.17
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023607-p1 | Print the average of the second column, rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | birch 6 eli
juniper 3 jules
harbor 17 farah
birch 29 ivan
delta 14 ivan
birch 20 kim
juniper 29 lina
| 16.86
| harbor 17 lina
fable 18 kim
cobalt 9 bruno
cobalt 16 gus
ember 14 hana
birch 17 hana
| 15.17
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023607 | qwen/qwen3.7-plus |
awkweave-0023608 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 1 lina
ember 22 farah
juniper 29 farah
ember 21 bruno
indigo 7 lina
delta 25 hana
juniper 10 bruno
| 1
| birch 15 jules
delta 8 hana
fable 22 chen
indigo 16 jules
juniper 4 jules
grove 26 kim
amber 7 hana
harbor 5 chen
delta 6 gus
harbor 21 kim
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023608-p1 | Identify and output the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 1 lina
ember 22 farah
juniper 29 farah
ember 21 bruno
indigo 7 lina
delta 25 hana
juniper 10 bruno
| 1
| birch 15 jules
delta 8 hana
fable 22 chen
indigo 16 jules
juniper 4 jules
grove 26 kim
amber 7 hana
harbor 5 chen
delta 6 gus
harbor 21 kim
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023608 | qwen/qwen3.7-plus |
awkweave-0023609 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 10 ember hana
11 grove ivan
17 fable dina
13 harbor eli
30 juniper gus
18 indigo hana
23 juniper ivan
| 30
| 24 grove eli
28 fable dina
2 grove alice
20 fable gus
30 fable gus
27 grove lina
5 harbor dina
25 grove gus
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023609-p1 | Identify and output the maximum numeric value found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 10 ember hana
11 grove ivan
17 fable dina
13 harbor eli
30 juniper gus
18 indigo hana
23 juniper ivan
| 30
| 24 grove eli
28 fable dina
2 grove alice
20 fable gus
30 fable gus
27 grove lina
5 harbor dina
25 grove gus
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023609 | qwen/qwen3.7-plus |
awkweave-0023610 | Count all input records and print the total. | END{print NR} | dina 26
ivan 4
chen 57
farah 115
lina 6
jules 102
alice 50
eli 31
| 8
| ivan 14
lina 118
bruno 108
ivan 118
chen 7
farah 99
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0023610-p1 | Count the total number of input records and print the result. | END{print NR} | dina 26
ivan 4
chen 57
farah 115
lina 6
jules 102
alice 50
eli 31
| 8
| ivan 14
lina 118
bruno 108
ivan 118
chen 7
farah 99
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0023610 | qwen/qwen3.7-plus |
awkweave-0023611 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina harbor 32
chen fable 87
ivan ember 3
eli ember 63
dina harbor 32
alice juniper 59
jules ember 18
gus cobalt 52
kim amber 64
chen ember 21
| dina harbor 32
chen fable 87
ivan ember 3
eli ember 63
alice juniper 59
jules ember 18
gus cobalt 52
kim amber 64
chen ember 21
| alice amber 47
chen cobalt 107
bruno amber 61
farah birch 107
chen cobalt 107
alice cobalt 26
bruno indigo 63
dina juniper 94
alice fable 46
| alice amber 47
chen cobalt 107
bruno amber 61
farah birch 107
alice cobalt 26
bruno indigo 63
dina juniper 94
alice fable 46
| 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.