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-0058773 | For each line, output fields 4 and 2, in that order. | {print $4, $2} | 113 kim alice bruno chen cobalt
85 kim lina eli gus indigo
66 bruno gus dina farah delta
15 farah ivan ivan lina indigo
45 dina chen chen kim amber
22 ivan hana kim alice juniper
103 chen farah jules chen cobalt
| bruno kim
eli kim
dina bruno
ivan farah
chen dina
kim ivan
jules chen
| 109 lina alice gus hana ember
99 lina bruno jules lina amber
117 eli bruno chen eli amber
115 jules kim eli eli fable
51 jules kim alice ivan amber
82 gus jules alice alice grove
0 ivan jules ivan dina indigo
41 farah eli farah dina harbor
14 hana alice ivan lina indigo
117 kim eli alice hana indigo
| gus lina
jules lina
chen eli
eli jules
alice jules
alice gus
ivan ivan
farah farah
ivan hana
alice kim
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058773-p1 | For every line, print the fourth field followed by the second field. | {print $4, $2} | 113 kim alice bruno chen cobalt
85 kim lina eli gus indigo
66 bruno gus dina farah delta
15 farah ivan ivan lina indigo
45 dina chen chen kim amber
22 ivan hana kim alice juniper
103 chen farah jules chen cobalt
| bruno kim
eli kim
dina bruno
ivan farah
chen dina
kim ivan
jules chen
| 109 lina alice gus hana ember
99 lina bruno jules lina amber
117 eli bruno chen eli amber
115 jules kim eli eli fable
51 jules kim alice ivan amber
82 gus jules alice alice grove
0 ivan jules ivan dina indigo
41 farah eli farah dina harbor
14 hana alice ivan lina indigo
117 kim eli alice hana indigo
| gus lina
jules lina
chen eli
eli jules
alice jules
alice gus
ivan ivan
farah farah
ivan hana
alice kim
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058773 | qwen/qwen3.7-plus |
awkweave-0058774 | Print the last field of every input line. | {print $NF} | 66 ready 76
104 ready 1
45 closed 119
104 paused 7
26 pending 80
64 pending 44
57 ready 79
25 closed 62
39 paused 12
18 pending 14
| 76
1
119
7
80
44
79
62
12
14
| 3 failed 116
11 active 28
2 failed 88
95 active 0
89 active 98
103 paused 2
52 ready 8
96 pending 66
20 pending 2
| 116
28
88
0
98
2
8
66
2
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058774-p1 | Output the last field from each line of input. | {print $NF} | 66 ready 76
104 ready 1
45 closed 119
104 paused 7
26 pending 80
64 pending 44
57 ready 79
25 closed 62
39 paused 12
18 pending 14
| 76
1
119
7
80
44
79
62
12
14
| 3 failed 116
11 active 28
2 failed 88
95 active 0
89 active 98
103 paused 2
52 ready 8
96 pending 66
20 pending 2
| 116
28
88
0
98
2
8
66
2
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058774 | qwen/qwen3.7-plus |
awkweave-0058775 | Print the complete records where column 2 is greater than 35. | $2 > 35 | harbor 105 failed
juniper 98 failed
ember 2 failed
grove 89 failed
juniper 51 ready
amber 24 active
indigo 110 ready
harbor 80 ready
cobalt 89 ready
birch 100 failed
| harbor 105 failed
juniper 98 failed
grove 89 failed
juniper 51 ready
indigo 110 ready
harbor 80 ready
cobalt 89 ready
birch 100 failed
| harbor 2 active
cobalt 91 paused
fable 89 closed
cobalt 15 closed
delta 70 closed
ember 8 ready
| cobalt 91 paused
fable 89 closed
delta 70 closed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058775-p1 | Print entire records where the value in the second column exceeds 35. | $2 > 35 | harbor 105 failed
juniper 98 failed
ember 2 failed
grove 89 failed
juniper 51 ready
amber 24 active
indigo 110 ready
harbor 80 ready
cobalt 89 ready
birch 100 failed
| harbor 105 failed
juniper 98 failed
grove 89 failed
juniper 51 ready
indigo 110 ready
harbor 80 ready
cobalt 89 ready
birch 100 failed
| harbor 2 active
cobalt 91 paused
fable 89 closed
cobalt 15 closed
delta 70 closed
ember 8 ready
| cobalt 91 paused
fable 89 closed
delta 70 closed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058775 | qwen/qwen3.7-plus |
awkweave-0058776 | Show whole lines whose 2nd field is between 9 and 26, inclusive. | $2 >= 9 && $2 <= 26 | paused 30 failed alice
ready 5 pending gus
failed 24 pending eli
ready 5 pending bruno
paused 25 failed lina
active 14 closed kim
| failed 24 pending eli
paused 25 failed lina
active 14 closed kim
| ready 13 pending chen
paused 29 failed ivan
ready 19 paused kim
paused 18 ready alice
failed 8 paused hana
paused 23 paused gus
active 7 paused hana
| ready 13 pending chen
ready 19 paused kim
paused 18 ready alice
paused 23 paused gus
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058776-p1 | Display full lines where the second field falls within the inclusive range of 9 to 26. | $2 >= 9 && $2 <= 26 | paused 30 failed alice
ready 5 pending gus
failed 24 pending eli
ready 5 pending bruno
paused 25 failed lina
active 14 closed kim
| failed 24 pending eli
paused 25 failed lina
active 14 closed kim
| ready 13 pending chen
paused 29 failed ivan
ready 19 paused kim
paused 18 ready alice
failed 8 paused hana
paused 23 paused gus
active 7 paused hana
| ready 13 pending chen
ready 19 paused kim
paused 18 ready alice
paused 23 paused gus
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058776 | qwen/qwen3.7-plus |
awkweave-0058777 | Print column 2 only for rows where column 4 is exactly paused. | $4 == "paused"{print $2} | birch bruno 4 ready
ember ivan 79 pending
birch bruno 46 active
juniper alice 74 ready
delta eli 76 paused
amber gus 36 failed
indigo kim 38 active
amber farah 29 pending
cobalt bruno 11 pending
amber kim 118 closed
| eli
| indigo ivan 26 failed
ember bruno 79 pending
juniper kim 74 closed
delta gus 108 paused
indigo alice 116 active
indigo jules 117 paused
| gus
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058777-p1 | Output only the second column for rows where the fourth column matches the literal string 'paused'. | $4 == "paused"{print $2} | birch bruno 4 ready
ember ivan 79 pending
birch bruno 46 active
juniper alice 74 ready
delta eli 76 paused
amber gus 36 failed
indigo kim 38 active
amber farah 29 pending
cobalt bruno 11 pending
amber kim 118 closed
| eli
| indigo ivan 26 failed
ember bruno 79 pending
juniper kim 74 closed
delta gus 108 paused
indigo alice 116 active
indigo jules 117 paused
| gus
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058777 | qwen/qwen3.7-plus |
awkweave-0058778 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | harbor WARN 82
fable ERROR 34
amber INFO 96
birch DEBUG 112
indigo INFO 37
cobalt DEBUG 23
| fable ERROR 34
| fable DEBUG 81
delta DEBUG 119
indigo WARN 64
amber ERROR 118
indigo DEBUG 17
amber DEBUG 109
| amber ERROR 118
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058778-p1 | Display the entire line for any record where the second field starts with ERROR. | $2 ~ /^ERROR/ | harbor WARN 82
fable ERROR 34
amber INFO 96
birch DEBUG 112
indigo INFO 37
cobalt DEBUG 23
| fable ERROR 34
| fable DEBUG 81
delta DEBUG 119
indigo WARN 64
amber ERROR 118
indigo DEBUG 17
amber DEBUG 109
| amber ERROR 118
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058778 | qwen/qwen3.7-plus |
awkweave-0058779 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | ember 25 ready
harbor 20 ready
amber 28 paused
indigo 105 active
delta 90 ready
cobalt 94 closed
grove 52 failed
delta 38 paused
indigo 51 paused
cobalt 56 ready
birch 999 active
| ember 25 ready
harbor 20 ready
amber 28 paused
indigo 105 active
delta 90 ready
cobalt 94 closed
grove 52 failed
delta 38 paused
indigo 51 paused
cobalt 56 ready
| harbor 7 ready
birch 96 paused
grove 112 active
harbor 76 active
delta 42 active
indigo 62 closed
delta 36 closed
birch 999 active
| harbor 7 ready
grove 112 active
harbor 76 active
delta 42 active
indigo 62 closed
delta 36 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058779-p1 | Output all lines that do not contain the exact string birch. | $0 !~ /birch/ | ember 25 ready
harbor 20 ready
amber 28 paused
indigo 105 active
delta 90 ready
cobalt 94 closed
grove 52 failed
delta 38 paused
indigo 51 paused
cobalt 56 ready
birch 999 active
| ember 25 ready
harbor 20 ready
amber 28 paused
indigo 105 active
delta 90 ready
cobalt 94 closed
grove 52 failed
delta 38 paused
indigo 51 paused
cobalt 56 ready
| harbor 7 ready
birch 96 paused
grove 112 active
harbor 76 active
delta 42 active
indigo 62 closed
delta 36 closed
birch 999 active
| harbor 7 ready
grove 112 active
harbor 76 active
delta 42 active
indigo 62 closed
delta 36 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058779 | qwen/qwen3.7-plus |
awkweave-0058780 | Print lines 2 through 3, including both endpoints. | NR >= 2 && NR <= 3 | bruno juniper 55
bruno harbor 20
eli delta 60
gus delta 63
gus birch 15
eli amber 60
alice ember 51
| bruno harbor 20
eli delta 60
| chen juniper 39
chen cobalt 3
kim grove 78
hana fable 15
chen ember 13
kim amber 38
dina amber 7
bruno harbor 97
alice cobalt 9
| chen cobalt 3
kim grove 78
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058780-p1 | Show lines 2 to 3, inclusive of both start and end lines. | NR >= 2 && NR <= 3 | bruno juniper 55
bruno harbor 20
eli delta 60
gus delta 63
gus birch 15
eli amber 60
alice ember 51
| bruno harbor 20
eli delta 60
| chen juniper 39
chen cobalt 3
kim grove 78
hana fable 15
chen ember 13
kim amber 38
dina amber 7
bruno harbor 97
alice cobalt 9
| chen cobalt 3
kim grove 78
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058780 | qwen/qwen3.7-plus |
awkweave-0058781 | Output only the first 5 records. | NR <= 5 | gus 32 cobalt
chen 14 delta
dina 76 birch
ivan 74 fable
lina 45 fable
alice 78 indigo
ivan 105 ember
ivan 63 ember
eli 76 grove
| gus 32 cobalt
chen 14 delta
dina 76 birch
ivan 74 fable
lina 45 fable
| hana 84 grove
eli 108 grove
gus 92 delta
eli 44 harbor
eli 74 delta
farah 100 amber
| hana 84 grove
eli 108 grove
gus 92 delta
eli 44 harbor
eli 74 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058781-p1 | Display only the first 5 entries from the input. | NR <= 5 | gus 32 cobalt
chen 14 delta
dina 76 birch
ivan 74 fable
lina 45 fable
alice 78 indigo
ivan 105 ember
ivan 63 ember
eli 76 grove
| gus 32 cobalt
chen 14 delta
dina 76 birch
ivan 74 fable
lina 45 fable
| hana 84 grove
eli 108 grove
gus 92 delta
eli 44 harbor
eli 74 delta
farah 100 amber
| hana 84 grove
eli 108 grove
gus 92 delta
eli 44 harbor
eli 74 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058781 | qwen/qwen3.7-plus |
awkweave-0058782 | Skip the first line and print every remaining line unchanged. | NR > 1 | alice 118 fable
chen 63 amber
kim 119 amber
chen 6 harbor
bruno 52 juniper
jules 83 cobalt
| chen 63 amber
kim 119 amber
chen 6 harbor
bruno 52 juniper
jules 83 cobalt
| kim 79 fable
eli 61 harbor
chen 41 birch
eli 84 cobalt
kim 16 juniper
dina 102 juniper
kim 69 fable
alice 35 juniper
chen 103 harbor
bruno 32 birch
| eli 61 harbor
chen 41 birch
eli 84 cobalt
kim 16 juniper
dina 102 juniper
kim 69 fable
alice 35 juniper
chen 103 harbor
bruno 32 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058782-p1 | Omit the header line and print all subsequent lines exactly as they appear. | NR > 1 | alice 118 fable
chen 63 amber
kim 119 amber
chen 6 harbor
bruno 52 juniper
jules 83 cobalt
| chen 63 amber
kim 119 amber
chen 6 harbor
bruno 52 juniper
jules 83 cobalt
| kim 79 fable
eli 61 harbor
chen 41 birch
eli 84 cobalt
kim 16 juniper
dina 102 juniper
kim 69 fable
alice 35 juniper
chen 103 harbor
bruno 32 birch
| eli 61 harbor
chen 41 birch
eli 84 cobalt
kim 16 juniper
dina 102 juniper
kim 69 fable
alice 35 juniper
chen 103 harbor
bruno 32 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058782 | qwen/qwen3.7-plus |
awkweave-0058783 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | bruno failed 58
ivan ready 97
alice ready 103
farah active 116
kim pending 36
farah ready 26
gus failed 65
eli pending 86
dina active 12
| 0
| dina active 8
kim closed 50
eli ready 120
lina paused 97
eli paused 92
kim closed 3
gus ready 87
ivan paused 20
dina paused 74
farah ready 120
| 4
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058783-p1 | Tally the number of records where the second column is paused, outputting 0 if the count is zero. | $2 == "paused"{n++}END{print n+0} | bruno failed 58
ivan ready 97
alice ready 103
farah active 116
kim pending 36
farah ready 26
gus failed 65
eli pending 86
dina active 12
| 0
| dina active 8
kim closed 50
eli ready 120
lina paused 97
eli paused 92
kim closed 3
gus ready 87
ivan paused 20
dina paused 74
farah ready 120
| 4
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058783 | qwen/qwen3.7-plus |
awkweave-0058784 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | farah 28 amber
alice 15 harbor
gus 28 amber
jules 15 birch
jules 6 amber
alice 6 ember
hana 18 fable
gus 8 birch
dina 2 amber
lina 17 juniper
| 143
| lina 17 juniper
farah 8 grove
jules 12 harbor
dina 22 indigo
farah 26 ember
eli 26 juniper
hana 2 delta
farah 16 harbor
| 129
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058784-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | farah 28 amber
alice 15 harbor
gus 28 amber
jules 15 birch
jules 6 amber
alice 6 ember
hana 18 fable
gus 8 birch
dina 2 amber
lina 17 juniper
| 143
| lina 17 juniper
farah 8 grove
jules 12 harbor
dina 22 indigo
farah 26 ember
eli 26 juniper
hana 2 delta
farah 16 harbor
| 129
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058784 | qwen/qwen3.7-plus |
awkweave-0058785 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor gus 19
cobalt farah 27
fable jules 19
cobalt gus 6
cobalt farah 19
juniper eli 29
harbor lina 25
ember dina 15
| 19.88
| grove jules 16
birch farah 30
ember jules 23
juniper bruno 15
harbor gus 28
amber jules 12
juniper dina 30
delta farah 10
birch eli 2
| 18.44
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058785-p1 | Calculate the average of values in the third column and format the result to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | harbor gus 19
cobalt farah 27
fable jules 19
cobalt gus 6
cobalt farah 19
juniper eli 29
harbor lina 25
ember dina 15
| 19.88
| grove jules 16
birch farah 30
ember jules 23
juniper bruno 15
harbor gus 28
amber jules 12
juniper dina 30
delta farah 10
birch eli 2
| 18.44
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058785 | qwen/qwen3.7-plus |
awkweave-0058786 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember bruno 30
indigo hana 10
amber kim 23
indigo farah 30
fable jules 6
birch alice 19
ember chen 7
indigo ivan 7
amber chen 7
cobalt dina 25
| 6
| ember hana 24
fable chen 11
cobalt bruno 29
grove alice 27
birch kim 30
cobalt jules 10
harbor chen 7
| 7
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058786-p1 | Identify and output the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | ember bruno 30
indigo hana 10
amber kim 23
indigo farah 30
fable jules 6
birch alice 19
ember chen 7
indigo ivan 7
amber chen 7
cobalt dina 25
| 6
| ember hana 24
fable chen 11
cobalt bruno 29
grove alice 27
birch kim 30
cobalt jules 10
harbor chen 7
| 7
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058786 | qwen/qwen3.7-plus |
awkweave-0058787 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 16 jules
amber 18 lina
fable 1 eli
juniper 3 bruno
grove 12 eli
cobalt 11 bruno
harbor 23 eli
ember 2 alice
| 23
| harbor 13 lina
juniper 9 ivan
delta 28 hana
birch 18 jules
harbor 19 lina
ember 13 chen
harbor 20 ivan
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058787-p1 | Identify and output the maximum numeric value present in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 16 jules
amber 18 lina
fable 1 eli
juniper 3 bruno
grove 12 eli
cobalt 11 bruno
harbor 23 eli
ember 2 alice
| 23
| harbor 13 lina
juniper 9 ivan
delta 28 hana
birch 18 jules
harbor 19 lina
ember 13 chen
harbor 20 ivan
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058787 | qwen/qwen3.7-plus |
awkweave-0058788 | Count all input records and print the total. | END{print NR} | farah 56
kim 102
hana 45
hana 56
kim 67
chen 68
kim 60
| 7
| bruno 86
gus 110
hana 30
kim 61
alice 61
jules 26
gus 75
alice 64
alice 81
farah 61
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058788-p1 | Count the total number of input records and print the final count. | END{print NR} | farah 56
kim 102
hana 45
hana 56
kim 67
chen 68
kim 60
| 7
| bruno 86
gus 110
hana 30
kim 61
alice 61
jules 26
gus 75
alice 64
alice 81
farah 61
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058788 | qwen/qwen3.7-plus |
awkweave-0058789 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | hana amber 16
lina amber 119
kim cobalt 83
jules indigo 57
eli grove 42
lina amber 119
jules cobalt 110
ivan grove 77
kim ember 118
| hana amber 16
lina amber 119
kim cobalt 83
jules indigo 57
eli grove 42
jules cobalt 110
ivan grove 77
kim ember 118
| lina grove 5
alice cobalt 119
dina amber 118
alice grove 21
alice cobalt 119
bruno juniper 62
lina delta 104
| lina grove 5
alice cobalt 119
dina amber 118
alice grove 21
bruno juniper 62
lina delta 104
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058789-p1 | Eliminate duplicate lines while keeping the first instance of each unique line in its original sequence. | !seen[$0]++ | hana amber 16
lina amber 119
kim cobalt 83
jules indigo 57
eli grove 42
lina amber 119
jules cobalt 110
ivan grove 77
kim ember 118
| hana amber 16
lina amber 119
kim cobalt 83
jules indigo 57
eli grove 42
jules cobalt 110
ivan grove 77
kim ember 118
| lina grove 5
alice cobalt 119
dina amber 118
alice grove 21
alice cobalt 119
bruno juniper 62
lina delta 104
| lina grove 5
alice cobalt 119
dina amber 118
alice grove 21
bruno juniper 62
lina delta 104
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058789 | qwen/qwen3.7-plus |
awkweave-0058800 | 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]]} | hana beta 16
jules alpha 18
alice gamma 21
lina delta 6
dina beta 11
eli beta 29
| beta 56
alpha 18
gamma 21
delta 6
| alice gamma 3
dina gamma 23
kim alpha 17
hana gamma 16
dina gamma 28
alice gamma 28
chen delta 2
gus delta 19
hana gamma 21
| gamma 119
alpha 17
delta 21
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058800-p1 | Group by the second column and sum the third column for each group, outputting 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]]} | hana beta 16
jules alpha 18
alice gamma 21
lina delta 6
dina beta 11
eli beta 29
| beta 56
alpha 18
gamma 21
delta 6
| alice gamma 3
dina gamma 23
kim alpha 17
hana gamma 16
dina gamma 28
alice gamma 28
chen delta 2
gus delta 19
hana gamma 21
| gamma 119
alpha 17
delta 21
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058800 | qwen/qwen3.7-plus |
awkweave-0058801 | 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 juniper 63
beta harbor 3
beta delta 90
beta birch 107
delta harbor 24
gamma delta 7
alpha grove 11
alpha indigo 25
beta cobalt 24
alpha grove 8
| gamma 2
beta 4
alpha 3
| gamma amber 22
beta juniper 105
beta ember 117
delta delta 58
gamma harbor 14
gamma indigo 56
gamma fable 103
delta juniper 50
| gamma 4
beta 2
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058801-p1 | List each value from the first column that appears more than once along with its frequency, maintaining 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]]} | gamma juniper 63
beta harbor 3
beta delta 90
beta birch 107
delta harbor 24
gamma delta 7
alpha grove 11
alpha indigo 25
beta cobalt 24
alpha grove 8
| gamma 2
beta 4
alpha 3
| gamma amber 22
beta juniper 105
beta ember 117
delta delta 58
gamma harbor 14
gamma indigo 56
gamma fable 103
delta juniper 50
| gamma 4
beta 2
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058801 | qwen/qwen3.7-plus |
awkweave-0058802 | The first row is a header. Print the record_id column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | region record_id state note
r001 kim 24 paused
r002 alice 27 paused
r003 hana 3 failed
r004 bruno 21 failed
r005 lina 21 closed
r006 jules 5 pending
r007 alice 25 active
| kim
alice
hana
bruno
lina
jules
alice
| region record_id state note
r001 hana 8 failed
r002 lina 24 paused
r003 eli 16 closed
r004 hana 26 ready
r005 kim 16 closed
r006 chen 2 ready
r007 kim 11 ready
r008 eli 12 closed
| hana
lina
eli
hana
kim
chen
kim
eli
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058802-p1 | Treat the initial row as a header and output the record_id field for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["record_id"]} | region record_id state note
r001 kim 24 paused
r002 alice 27 paused
r003 hana 3 failed
r004 bruno 21 failed
r005 lina 21 closed
r006 jules 5 pending
r007 alice 25 active
| kim
alice
hana
bruno
lina
jules
alice
| region record_id state note
r001 hana 8 failed
r002 lina 24 paused
r003 eli 16 closed
r004 hana 26 ready
r005 kim 16 closed
r006 chen 2 ready
r007 kim 11 ready
r008 eli 12 closed
| hana
lina
eli
hana
kim
chen
kim
eli
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058802 | qwen/qwen3.7-plus |
awkweave-0058803 | The first row is a header. Print display_name for data rows whose score is greater than 21. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]} | record_id display_name score state
r001 ivan 11 failed
r002 ivan 22 ready
r003 bruno 16 paused
r004 eli 21 paused
r005 hana 28 paused
r006 eli 20 failed
r007 bruno 28 active
r008 hana 27 closed
r009 kim 19 ready
r010 hana 23 active
| ivan
hana
bruno
hana
hana
| record_id display_name score state
r001 lina 13 ready
r002 lina 4 ready
r003 kim 28 paused
r004 gus 25 paused
r005 jules 21 failed
r006 gus 5 ready
r007 bruno 19 pending
r008 dina 29 pending
r009 kim 11 pending
| kim
gus
dina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058803-p1 | Ignoring the header row, output the display_name field for any row where the score exceeds 21. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>21{print $h["display_name"]} | record_id display_name score state
r001 ivan 11 failed
r002 ivan 22 ready
r003 bruno 16 paused
r004 eli 21 paused
r005 hana 28 paused
r006 eli 20 failed
r007 bruno 28 active
r008 hana 27 closed
r009 kim 19 ready
r010 hana 23 active
| ivan
hana
bruno
hana
hana
| record_id display_name score state
r001 lina 13 ready
r002 lina 4 ready
r003 kim 28 paused
r004 gus 25 paused
r005 jules 21 failed
r006 gus 5 ready
r007 bruno 19 pending
r008 dina 29 pending
r009 kim 11 pending
| kim
gus
dina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058803 | qwen/qwen3.7-plus |
awkweave-0058804 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | eli 1 failed
hana 22 ready
bruno 29 ready
alice 5 closed
kim 13 failed
lina 8 paused
alice 17 ready
| failed
ready
ready
closed
failed
paused
ready
| gus 20 paused
alice 13 failed
bruno 4 failed
alice 20 pending
gus 27 ready
kim 21 paused
gus 28 active
chen 29 paused
kim 23 closed
| paused
failed
failed
pending
ready
paused
active
paused
closed
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058804-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | eli 1 failed
hana 22 ready
bruno 29 ready
alice 5 closed
kim 13 failed
lina 8 paused
alice 17 ready
| failed
ready
ready
closed
failed
paused
ready
| gus 20 paused
alice 13 failed
bruno 4 failed
alice 20 pending
gus 27 ready
kim 21 paused
gus 28 active
chen 29 paused
kim 23 closed
| paused
failed
failed
pending
ready
paused
active
paused
closed
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0058804 | qwen/qwen3.7-plus |
awkweave-0058805 | 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} | bruno,30,failed
kim,8,paused
kim,20,pending
ivan,20,closed
farah,30,ready
ivan,25,failed
chen,12,closed
bruno,3,closed
gus,12,failed
chen,2,closed
| bruno
kim
ivan
farah
ivan
| alice,11,paused
jules,9,closed
jules,2,pending
dina,19,closed
farah,3,ready
farah,6,failed
gus,10,failed
gus,29,pending
jules,29,ready
eli,14,paused
| dina
gus
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058805-p1 | For this unquoted CSV input, output the first field whenever the second field is greater than 15. | BEGIN{FS=OFS=","}$2>15{print $1} | bruno,30,failed
kim,8,paused
kim,20,pending
ivan,20,closed
farah,30,ready
ivan,25,failed
chen,12,closed
bruno,3,closed
gus,12,failed
chen,2,closed
| bruno
kim
ivan
farah
ivan
| alice,11,paused
jules,9,closed
jules,2,pending
dina,19,closed
farah,3,ready
farah,6,failed
gus,10,failed
gus,29,pending
jules,29,ready
eli,14,paused
| dina
gus
jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058805 | qwen/qwen3.7-plus |
awkweave-0058806 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | kim delta 51
farah cobalt 67
farah ember 94
dina cobalt 8
alice grove 82
hana delta 38
| kim delta 51
farah cobalt 67
farah ember 94
dina cobalt 8
alice grove 82
hana delta 38
| kim amber 37
chen harbor 9
bruno grove 93
farah amber 30
eli grove 102
jules juniper 5
farah grove 34
alice juniper 30
alice ember 15
gus birch 115
| kim amber 37
chen harbor 9
bruno grove 93
farah amber 30
eli grove 102
jules juniper 5
farah grove 34
alice juniper 30
alice ember 15
gus birch 115
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058806-p1 | Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | kim delta 51
farah cobalt 67
farah ember 94
dina cobalt 8
alice grove 82
hana delta 38
| kim delta 51
farah cobalt 67
farah ember 94
dina cobalt 8
alice grove 82
hana delta 38
| kim amber 37
chen harbor 9
bruno grove 93
farah amber 30
eli grove 102
jules juniper 5
farah grove 34
alice juniper 30
alice ember 15
gus birch 115
| kim amber 37
chen harbor 9
bruno grove 93
farah amber 30
eli grove 102
jules juniper 5
farah grove 34
alice juniper 30
alice ember 15
gus birch 115
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058806 | qwen/qwen3.7-plus |
awkweave-0058807 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | eli fable 41 pending
eli ember 105 pending
bruno delta 97 closed
hana amber 79 ready
bruno harbor 86 paused
lina grove 111 failed
eli birch 14 pending
| bruno harbor 86 paused
| bruno juniper 84 closed
kim amber 47 failed
ivan delta 25 pending
kim cobalt 44 closed
lina ember 58 pending
kim juniper 76 ready
eli birch 45 pending
dina grove 11 paused
| bruno juniper 84 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058807-p1 | Identify and output the longest line in the input; if multiple lines share the maximum length, select the one that appears first. | {if(length($0)>length(best))best=$0}END{print best} | eli fable 41 pending
eli ember 105 pending
bruno delta 97 closed
hana amber 79 ready
bruno harbor 86 paused
lina grove 111 failed
eli birch 14 pending
| bruno harbor 86 paused
| bruno juniper 84 closed
kim amber 47 failed
ivan delta 25 pending
kim cobalt 44 closed
lina ember 58 pending
kim juniper 76 ready
eli birch 45 pending
dina grove 11 paused
| bruno juniper 84 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058807 | qwen/qwen3.7-plus |
awkweave-0058808 | Print every 3rd line starting at line 3 (then line 6, and so on). | NR%3==0 | eli 111
farah 68
ivan 2
eli 78
kim 62
kim 15
| ivan 2
kim 15
| eli 94
bruno 93
dina 103
farah 110
eli 36
jules 20
hana 39
bruno 65
| dina 103
jules 20
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058808-p1 | Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.). | NR%3==0 | eli 111
farah 68
ivan 2
eli 78
kim 62
kim 15
| ivan 2
kim 15
| eli 94
bruno 93
dina 103
farah 110
eli 36
jules 20
hana 39
bruno 65
| dina 103
jules 20
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058808 | qwen/qwen3.7-plus |
awkweave-0058809 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | alpha amber 82
alpha birch 10
gamma delta 39
alpha amber 106
gamma harbor 88
beta grove 93
alpha cobalt 12
gamma birch 10
gamma birch 78
| 3
| alpha ember 33
alpha ember 91
alpha amber 26
beta delta 100
beta indigo 52
beta ember 12
delta fable 120
gamma delta 110
gamma amber 52
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058809-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | alpha amber 82
alpha birch 10
gamma delta 39
alpha amber 106
gamma harbor 88
beta grove 93
alpha cobalt 12
gamma birch 10
gamma birch 78
| 3
| alpha ember 33
alpha ember 91
alpha amber 26
beta delta 100
beta indigo 52
beta ember 12
delta fable 120
gamma delta 110
gamma amber 52
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058809 | qwen/qwen3.7-plus |
awkweave-0058810 | 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} | alice 4 0
gus 19 4
eli 13 22
chen 5 24
dina 19 24
farah 28 22
| gus 4.75
eli 0.59
chen 0.21
dina 0.79
farah 1.27
| kim 29 0
dina 26 14
chen 28 9
bruno 30 7
eli 24 18
gus 28 27
| dina 1.86
chen 3.11
bruno 4.29
eli 1.33
gus 1.04
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058810-p1 | For each row where the third column is non-zero, print the first column and the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 4 0
gus 19 4
eli 13 22
chen 5 24
dina 19 24
farah 28 22
| gus 4.75
eli 0.59
chen 0.21
dina 0.79
farah 1.27
| kim 29 0
dina 26 14
chen 28 9
bruno 30 7
eli 24 18
gus 28 27
| dina 1.86
chen 3.11
bruno 4.29
eli 1.33
gus 1.04
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058810 | qwen/qwen3.7-plus |
awkweave-0058811 | 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 harbor 20
gus cobalt 5
alice ember 17
jules birch 27
chen fable 21
hana cobalt 6
chen harbor 30
eli grove 20
gus ember 6
| chen harbor 30
jules birch 27
chen fable 21
| ivan juniper 23
jules birch 8
bruno delta 18
alice harbor 24
gus ember 13
gus harbor 6
ivan amber 29
| ivan amber 29
alice harbor 24
ivan juniper 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058811-p1 | Output the full records corresponding to the top three highest numeric values in the third column, sorted in descending order; maintain original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules harbor 20
gus cobalt 5
alice ember 17
jules birch 27
chen fable 21
hana cobalt 6
chen harbor 30
eli grove 20
gus ember 6
| chen harbor 30
jules birch 27
chen fable 21
| ivan juniper 23
jules birch 8
bruno delta 18
alice harbor 24
gus ember 13
gus harbor 6
ivan amber 29
| ivan amber 29
alice harbor 24
ivan juniper 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058811 | qwen/qwen3.7-plus |
awkweave-0058812 | Print column 5 followed by column 1 for every record. | {print $5, $1} | 23 kim kim ready cobalt
39 jules hana pending grove
97 kim hana active harbor
39 bruno ivan active harbor
91 eli gus pending delta
78 dina chen closed harbor
104 lina gus pending amber
13 chen chen ready harbor
73 eli hana failed fable
| cobalt 23
grove 39
harbor 97
harbor 39
delta 91
harbor 78
amber 104
harbor 13
fable 73
| 69 chen gus paused harbor
86 farah hana ready delta
84 eli kim failed indigo
26 gus chen failed ember
15 eli gus ready amber
45 lina farah ready amber
3 ivan gus ready delta
52 farah ivan closed delta
85 eli gus ready grove
| harbor 69
delta 86
indigo 84
ember 26
amber 15
amber 45
delta 3
delta 52
grove 85
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058812-p1 | For each record, output the fifth column followed by the first column. | {print $5, $1} | 23 kim kim ready cobalt
39 jules hana pending grove
97 kim hana active harbor
39 bruno ivan active harbor
91 eli gus pending delta
78 dina chen closed harbor
104 lina gus pending amber
13 chen chen ready harbor
73 eli hana failed fable
| cobalt 23
grove 39
harbor 97
harbor 39
delta 91
harbor 78
amber 104
harbor 13
fable 73
| 69 chen gus paused harbor
86 farah hana ready delta
84 eli kim failed indigo
26 gus chen failed ember
15 eli gus ready amber
45 lina farah ready amber
3 ivan gus ready delta
52 farah ivan closed delta
85 eli gus ready grove
| harbor 69
delta 86
indigo 84
ember 26
amber 15
amber 45
delta 3
delta 52
grove 85
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058812 | qwen/qwen3.7-plus |
awkweave-0058813 | Print the last field of every input line. | {print $NF} | paused 58 68 amber indigo fable ready
pending 76 76 birch delta juniper active
closed 55 53 ember harbor delta paused
ready 59 119 ember cobalt harbor paused
active 20 63 ember grove indigo failed
ready 8 28 harbor indigo cobalt ready
| ready
active
paused
paused
failed
ready
| closed 100 47 cobalt juniper cobalt ready
pending 54 62 fable juniper ember active
closed 23 71 birch amber indigo ready
closed 120 25 juniper amber indigo ready
paused 83 61 cobalt fable amber pending
paused 29 94 indigo fable juniper failed
active 82 29 amber juniper indigo paused
ready 83 100 harbor cobalt grove pen... | ready
active
ready
ready
pending
failed
paused
pending
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058813-p1 | Display the final field from every input line. | {print $NF} | paused 58 68 amber indigo fable ready
pending 76 76 birch delta juniper active
closed 55 53 ember harbor delta paused
ready 59 119 ember cobalt harbor paused
active 20 63 ember grove indigo failed
ready 8 28 harbor indigo cobalt ready
| ready
active
paused
paused
failed
ready
| closed 100 47 cobalt juniper cobalt ready
pending 54 62 fable juniper ember active
closed 23 71 birch amber indigo ready
closed 120 25 juniper amber indigo ready
paused 83 61 cobalt fable amber pending
paused 29 94 indigo fable juniper failed
active 82 29 amber juniper indigo paused
ready 83 100 harbor cobalt grove pen... | ready
active
ready
ready
pending
failed
paused
pending
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058813 | qwen/qwen3.7-plus |
awkweave-0058814 | Print the complete records where column 2 is greater than 62. | $2 > 62 | fable 83 gus kim ready
ember 5 farah bruno failed
juniper 112 kim jules failed
ember 50 gus chen ready
delta 29 ivan lina active
harbor 82 hana gus failed
delta 13 bruno farah paused
grove 100 ivan ivan paused
birch 93 farah hana active
indigo 0 eli alice active
| fable 83 gus kim ready
juniper 112 kim jules failed
harbor 82 hana gus failed
grove 100 ivan ivan paused
birch 93 farah hana active
| amber 25 chen gus failed
harbor 50 alice lina pending
cobalt 65 hana gus paused
cobalt 117 dina chen failed
ember 20 gus kim paused
indigo 109 dina hana failed
harbor 24 kim bruno ready
ember 99 ivan lina pending
indigo 79 dina lina active
indigo 9 farah eli paused
| cobalt 65 hana gus paused
cobalt 117 dina chen failed
indigo 109 dina hana failed
ember 99 ivan lina pending
indigo 79 dina lina active
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058814-p1 | Output full records where the value in the second column exceeds 62. | $2 > 62 | fable 83 gus kim ready
ember 5 farah bruno failed
juniper 112 kim jules failed
ember 50 gus chen ready
delta 29 ivan lina active
harbor 82 hana gus failed
delta 13 bruno farah paused
grove 100 ivan ivan paused
birch 93 farah hana active
indigo 0 eli alice active
| fable 83 gus kim ready
juniper 112 kim jules failed
harbor 82 hana gus failed
grove 100 ivan ivan paused
birch 93 farah hana active
| amber 25 chen gus failed
harbor 50 alice lina pending
cobalt 65 hana gus paused
cobalt 117 dina chen failed
ember 20 gus kim paused
indigo 109 dina hana failed
harbor 24 kim bruno ready
ember 99 ivan lina pending
indigo 79 dina lina active
indigo 9 farah eli paused
| cobalt 65 hana gus paused
cobalt 117 dina chen failed
indigo 109 dina hana failed
ember 99 ivan lina pending
indigo 79 dina lina active
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058814 | qwen/qwen3.7-plus |
awkweave-0058815 | Show whole lines whose 3rd field is between 11 and 20, inclusive. | $3 >= 11 && $3 <= 20 | dina pending 6 hana
chen paused 19 chen
hana active 13 kim
kim failed 11 gus
ivan ready 30 farah
jules ready 3 kim
lina ready 30 farah
ivan pending 16 ivan
jules paused 11 dina
| chen paused 19 chen
hana active 13 kim
kim failed 11 gus
ivan pending 16 ivan
jules paused 11 dina
| alice ready 9 eli
gus failed 8 gus
eli ready 19 jules
chen ready 4 farah
hana ready 8 chen
kim ready 18 alice
chen ready 20 ivan
jules closed 25 gus
| eli ready 19 jules
kim ready 18 alice
chen ready 20 ivan
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058815-p1 | Display entire lines where the third field falls within the inclusive range of 11 to 20. | $3 >= 11 && $3 <= 20 | dina pending 6 hana
chen paused 19 chen
hana active 13 kim
kim failed 11 gus
ivan ready 30 farah
jules ready 3 kim
lina ready 30 farah
ivan pending 16 ivan
jules paused 11 dina
| chen paused 19 chen
hana active 13 kim
kim failed 11 gus
ivan pending 16 ivan
jules paused 11 dina
| alice ready 9 eli
gus failed 8 gus
eli ready 19 jules
chen ready 4 farah
hana ready 8 chen
kim ready 18 alice
chen ready 20 ivan
jules closed 25 gus
| eli ready 19 jules
kim ready 18 alice
chen ready 20 ivan
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058815 | qwen/qwen3.7-plus |
awkweave-0058816 | Print column 1 only for rows where column 4 is exactly ready. | $4 == "ready"{print $1} | hana harbor 90 active
jules juniper 106 failed
hana indigo 43 closed
chen amber 29 pending
farah juniper 13 closed
hana fable 118 ready
dina cobalt 95 paused
| hana
| kim indigo 102 failed
jules fable 68 closed
hana juniper 89 closed
chen amber 94 closed
dina ember 102 pending
jules juniper 48 closed
lina ember 88 paused
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0058816-p1 | Output only the first column for rows where the fourth column is exactly 'ready'. | $4 == "ready"{print $1} | hana harbor 90 active
jules juniper 106 failed
hana indigo 43 closed
chen amber 29 pending
farah juniper 13 closed
hana fable 118 ready
dina cobalt 95 paused
| hana
| kim indigo 102 failed
jules fable 68 closed
hana juniper 89 closed
chen amber 94 closed
dina ember 102 pending
jules juniper 48 closed
lina ember 88 paused
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058816 | qwen/qwen3.7-plus | |
awkweave-0058817 | Print all fields from lines where field 1 begins with INFO. | $1 ~ /^INFO/ | WARN 72 delta
INFO 113 grove
WARN 17 delta
WARN 0 cobalt
DEBUG 6 indigo
DEBUG 0 indigo
| INFO 113 grove
| DEBUG 49 delta
WARN 39 cobalt
WARN 105 juniper
ERROR 80 harbor
INFO 7 fable
INFO 112 amber
ERROR 37 cobalt
ERROR 6 indigo
| INFO 7 fable
INFO 112 amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058817-p1 | Print all fields from lines where the first field starts with 'INFO'. | $1 ~ /^INFO/ | WARN 72 delta
INFO 113 grove
WARN 17 delta
WARN 0 cobalt
DEBUG 6 indigo
DEBUG 0 indigo
| INFO 113 grove
| DEBUG 49 delta
WARN 39 cobalt
WARN 105 juniper
ERROR 80 harbor
INFO 7 fable
INFO 112 amber
ERROR 37 cobalt
ERROR 6 indigo
| INFO 7 fable
INFO 112 amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058817 | qwen/qwen3.7-plus |
awkweave-0058818 | Print every line except those containing the exact text birch. | $0 !~ /birch/ | harbor 7 closed
harbor 70 failed
fable 58 closed
juniper 87 paused
ember 33 failed
fable 49 closed
harbor 13 paused
fable 108 active
birch 63 pending
birch 999 active
| harbor 7 closed
harbor 70 failed
fable 58 closed
juniper 87 paused
ember 33 failed
fable 49 closed
harbor 13 paused
fable 108 active
| harbor 22 pending
cobalt 4 closed
ember 80 closed
indigo 11 closed
delta 0 paused
harbor 29 failed
harbor 33 paused
ember 1 ready
birch 999 active
| harbor 22 pending
cobalt 4 closed
ember 80 closed
indigo 11 closed
delta 0 paused
harbor 29 failed
harbor 33 paused
ember 1 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058818-p1 | Output every line that does not contain the exact string 'birch'. | $0 !~ /birch/ | harbor 7 closed
harbor 70 failed
fable 58 closed
juniper 87 paused
ember 33 failed
fable 49 closed
harbor 13 paused
fable 108 active
birch 63 pending
birch 999 active
| harbor 7 closed
harbor 70 failed
fable 58 closed
juniper 87 paused
ember 33 failed
fable 49 closed
harbor 13 paused
fable 108 active
| harbor 22 pending
cobalt 4 closed
ember 80 closed
indigo 11 closed
delta 0 paused
harbor 29 failed
harbor 33 paused
ember 1 ready
birch 999 active
| harbor 22 pending
cobalt 4 closed
ember 80 closed
indigo 11 closed
delta 0 paused
harbor 29 failed
harbor 33 paused
ember 1 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058818 | qwen/qwen3.7-plus |
awkweave-0058819 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | farah indigo 60
gus cobalt 47
chen grove 76
chen juniper 60
gus indigo 42
jules ember 15
kim amber 103
dina cobalt 72
| gus cobalt 47
chen grove 76
chen juniper 60
gus indigo 42
| ivan birch 47
jules grove 1
farah cobalt 109
bruno cobalt 18
bruno amber 54
dina amber 1
jules fable 24
kim amber 67
farah grove 32
| jules grove 1
farah cobalt 109
bruno cobalt 18
bruno amber 54
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058819-p1 | Print lines 2 through 5, inclusive of both endpoints. | NR >= 2 && NR <= 5 | farah indigo 60
gus cobalt 47
chen grove 76
chen juniper 60
gus indigo 42
jules ember 15
kim amber 103
dina cobalt 72
| gus cobalt 47
chen grove 76
chen juniper 60
gus indigo 42
| ivan birch 47
jules grove 1
farah cobalt 109
bruno cobalt 18
bruno amber 54
dina amber 1
jules fable 24
kim amber 67
farah grove 32
| jules grove 1
farah cobalt 109
bruno cobalt 18
bruno amber 54
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058819 | qwen/qwen3.7-plus |
awkweave-0058820 | Output only the first 3 records. | NR <= 3 | bruno 28 juniper
dina 69 ember
eli 86 grove
eli 88 cobalt
alice 5 ember
dina 44 grove
| bruno 28 juniper
dina 69 ember
eli 86 grove
| jules 63 delta
gus 27 cobalt
alice 100 harbor
gus 24 birch
bruno 58 harbor
hana 4 ember
| jules 63 delta
gus 27 cobalt
alice 100 harbor
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058820-p1 | Output only the first three records. | NR <= 3 | bruno 28 juniper
dina 69 ember
eli 86 grove
eli 88 cobalt
alice 5 ember
dina 44 grove
| bruno 28 juniper
dina 69 ember
eli 86 grove
| jules 63 delta
gus 27 cobalt
alice 100 harbor
gus 24 birch
bruno 58 harbor
hana 4 ember
| jules 63 delta
gus 27 cobalt
alice 100 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058820 | qwen/qwen3.7-plus |
awkweave-0058821 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 96 delta
gus 66 cobalt
eli 108 amber
eli 97 amber
ivan 50 juniper
ivan 64 cobalt
chen 102 amber
lina 66 delta
dina 55 grove
farah 84 fable
| gus 66 cobalt
eli 108 amber
eli 97 amber
ivan 50 juniper
ivan 64 cobalt
chen 102 amber
lina 66 delta
dina 55 grove
farah 84 fable
| jules 69 juniper
alice 120 fable
gus 37 amber
eli 19 juniper
jules 39 ember
jules 45 delta
jules 7 amber
jules 61 fable
chen 29 delta
| alice 120 fable
gus 37 amber
eli 19 juniper
jules 39 ember
jules 45 delta
jules 7 amber
jules 61 fable
chen 29 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058821-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | farah 96 delta
gus 66 cobalt
eli 108 amber
eli 97 amber
ivan 50 juniper
ivan 64 cobalt
chen 102 amber
lina 66 delta
dina 55 grove
farah 84 fable
| gus 66 cobalt
eli 108 amber
eli 97 amber
ivan 50 juniper
ivan 64 cobalt
chen 102 amber
lina 66 delta
dina 55 grove
farah 84 fable
| jules 69 juniper
alice 120 fable
gus 37 amber
eli 19 juniper
jules 39 ember
jules 45 delta
jules 7 amber
jules 61 fable
chen 29 delta
| alice 120 fable
gus 37 amber
eli 19 juniper
jules 39 ember
jules 45 delta
jules 7 amber
jules 61 fable
chen 29 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058821 | qwen/qwen3.7-plus |
awkweave-0058822 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | kim paused 50
chen failed 35
dina ready 87
lina closed 34
farah active 78
bruno failed 54
hana pending 46
jules active 106
eli pending 93
hana failed 25
| 1
| dina closed 69
ivan ready 53
hana ready 18
chen closed 39
bruno paused 39
alice paused 107
eli failed 18
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058822-p1 | Count the number of records where the second column contains 'paused', printing 0 if none are found. | $2 == "paused"{n++}END{print n+0} | kim paused 50
chen failed 35
dina ready 87
lina closed 34
farah active 78
bruno failed 54
hana pending 46
jules active 106
eli pending 93
hana failed 25
| 1
| dina closed 69
ivan ready 53
hana ready 18
chen closed 39
bruno paused 39
alice paused 107
eli failed 18
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058822 | qwen/qwen3.7-plus |
awkweave-0058823 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | cobalt 30 eli
amber 10 chen
delta 21 eli
grove 20 ivan
harbor 10 gus
grove 20 kim
ember 26 kim
indigo 1 kim
ember 21 bruno
delta 21 chen
| 180
| juniper 16 bruno
delta 18 chen
juniper 11 lina
juniper 5 jules
birch 3 chen
harbor 25 eli
ember 27 bruno
| 105
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058823-p1 | Compute and display the sum of all integer values in the second column. | {s+=$2}END{print s+0} | cobalt 30 eli
amber 10 chen
delta 21 eli
grove 20 ivan
harbor 10 gus
grove 20 kim
ember 26 kim
indigo 1 kim
ember 21 bruno
delta 21 chen
| 180
| juniper 16 bruno
delta 18 chen
juniper 11 lina
juniper 5 jules
birch 3 chen
harbor 25 eli
ember 27 bruno
| 105
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058823 | qwen/qwen3.7-plus |
awkweave-0058824 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 29 amber ivan
11 fable bruno
27 indigo dina
1 grove farah
2 ember gus
17 delta dina
15 grove alice
28 birch kim
5 juniper hana
4 cobalt chen
| 13.90
| 20 amber farah
4 fable dina
7 indigo gus
26 birch alice
25 indigo gus
25 amber bruno
| 17.83
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058824-p1 | Output the average of the values in column 1, formatted to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 29 amber ivan
11 fable bruno
27 indigo dina
1 grove farah
2 ember gus
17 delta dina
15 grove alice
28 birch kim
5 juniper hana
4 cobalt chen
| 13.90
| 20 amber farah
4 fable dina
7 indigo gus
26 birch alice
25 indigo gus
25 amber bruno
| 17.83
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058824 | qwen/qwen3.7-plus |
awkweave-0058825 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | harbor farah 16
amber ivan 28
indigo farah 25
ember kim 1
harbor ivan 2
amber farah 21
harbor kim 12
indigo alice 25
grove lina 28
| 1
| delta chen 9
cobalt eli 3
cobalt hana 26
harbor kim 23
cobalt kim 17
grove ivan 20
fable farah 11
juniper farah 12
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058825-p1 | Identify and display the minimum number found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | harbor farah 16
amber ivan 28
indigo farah 25
ember kim 1
harbor ivan 2
amber farah 21
harbor kim 12
indigo alice 25
grove lina 28
| 1
| delta chen 9
cobalt eli 3
cobalt hana 26
harbor kim 23
cobalt kim 17
grove ivan 20
fable farah 11
juniper farah 12
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058825 | qwen/qwen3.7-plus |
awkweave-0058826 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 gus amber
13 dina delta
17 dina harbor
22 kim grove
24 lina grove
12 ivan juniper
13 kim fable
10 hana fable
14 jules ember
5 alice birch
| 24
| 29 farah cobalt
17 gus harbor
30 farah cobalt
25 lina cobalt
15 jules amber
13 eli grove
27 farah ember
6 eli fable
11 alice grove
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058826-p1 | Identify and display the maximum number found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 17 gus amber
13 dina delta
17 dina harbor
22 kim grove
24 lina grove
12 ivan juniper
13 kim fable
10 hana fable
14 jules ember
5 alice birch
| 24
| 29 farah cobalt
17 gus harbor
30 farah cobalt
25 lina cobalt
15 jules amber
13 eli grove
27 farah ember
6 eli fable
11 alice grove
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058826 | qwen/qwen3.7-plus |
awkweave-0058827 | Count all input records and print the total. | END{print NR} | hana 55
bruno 89
eli 32
gus 44
chen 13
dina 76
| 6
| dina 36
chen 67
alice 101
bruno 106
dina 41
eli 93
eli 0
alice 32
gus 101
eli 44
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058827-p1 | Calculate and output the total number of input lines. | END{print NR} | hana 55
bruno 89
eli 32
gus 44
chen 13
dina 76
| 6
| dina 36
chen 67
alice 101
bruno 106
dina 41
eli 93
eli 0
alice 32
gus 101
eli 44
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058827 | qwen/qwen3.7-plus |
awkweave-0058828 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | lina juniper 8
kim fable 44
ivan indigo 26
eli harbor 48
alice indigo 82
dina delta 11
chen juniper 66
kim birch 44
lina amber 34
dina cobalt 91
eli harbor 48
| lina juniper 8
kim fable 44
ivan indigo 26
eli harbor 48
alice indigo 82
dina delta 11
chen juniper 66
kim birch 44
lina amber 34
dina cobalt 91
| hana grove 14
dina delta 42
ivan fable 9
dina amber 83
chen fable 36
kim juniper 106
chen fable 36
| hana grove 14
dina delta 42
ivan fable 9
dina amber 83
chen fable 36
kim juniper 106
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058828-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | lina juniper 8
kim fable 44
ivan indigo 26
eli harbor 48
alice indigo 82
dina delta 11
chen juniper 66
kim birch 44
lina amber 34
dina cobalt 91
eli harbor 48
| lina juniper 8
kim fable 44
ivan indigo 26
eli harbor 48
alice indigo 82
dina delta 11
chen juniper 66
kim birch 44
lina amber 34
dina cobalt 91
| hana grove 14
dina delta 42
ivan fable 9
dina amber 83
chen fable 36
kim juniper 106
chen fable 36
| hana grove 14
dina delta 42
ivan fable 9
dina amber 83
chen fable 36
kim juniper 106
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058828 | qwen/qwen3.7-plus |
awkweave-0058829 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | kim ember 70
jules delta 84
kim juniper 74
chen grove 109
alice grove 91
bruno indigo 111
jules delta 44
eli juniper 104
| kim ember 70
jules delta 84
chen grove 109
alice grove 91
bruno indigo 111
eli juniper 104
| hana fable 113
bruno indigo 7
chen delta 72
bruno ember 30
lina delta 119
chen fable 4
farah cobalt 29
| hana fable 113
bruno indigo 7
chen delta 72
lina delta 119
farah cobalt 29
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058829-p1 | Retain only the initial line for every unique value in column 1, keeping the original order. | !seen[$1]++ | kim ember 70
jules delta 84
kim juniper 74
chen grove 109
alice grove 91
bruno indigo 111
jules delta 44
eli juniper 104
| kim ember 70
jules delta 84
chen grove 109
alice grove 91
bruno indigo 111
eli juniper 104
| hana fable 113
bruno indigo 7
chen delta 72
bruno ember 30
lina delta 119
chen fable 4
farah cobalt 29
| hana fable 113
bruno indigo 7
chen delta 72
lina delta 119
farah cobalt 29
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058829 | qwen/qwen3.7-plus |
awkweave-0058830 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 7 ember
dina 2 juniper
hana 4 birch
hana 7 ember
lina 16 cobalt
kim 6 amber
| ivan 7
dina 9
hana 13
hana 20
lina 36
kim 42
| dina 6 delta
chen 18 cobalt
dina 5 cobalt
ivan 20 juniper
bruno 2 grove
farah 12 harbor
bruno 19 amber
ivan 29 cobalt
| dina 6
chen 24
dina 29
ivan 49
bruno 51
farah 63
bruno 82
ivan 111
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058830-p1 | For each line, output column 1 and the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | ivan 7 ember
dina 2 juniper
hana 4 birch
hana 7 ember
lina 16 cobalt
kim 6 amber
| ivan 7
dina 9
hana 13
hana 20
lina 36
kim 42
| dina 6 delta
chen 18 cobalt
dina 5 cobalt
ivan 20 juniper
bruno 2 grove
farah 12 harbor
bruno 19 amber
ivan 29 cobalt
| dina 6
chen 24
dina 29
ivan 49
bruno 51
farah 63
bruno 82
ivan 111
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058830 | qwen/qwen3.7-plus |
awkweave-0058831 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 21 17 ember
farah 13 13 ember
hana 9 30 grove
chen 3 22 indigo
jules 15 21 fable
hana 21 18 cobalt
dina 30 17 delta
gus 10 28 ember
chen 1 9 delta
hana 30 30 birch
| dina 38
farah 26
hana 39
chen 25
jules 36
hana 39
dina 47
gus 38
chen 10
hana 60
| bruno 12 11 grove
dina 1 26 grove
jules 16 3 cobalt
chen 7 29 indigo
jules 2 5 ember
farah 24 12 grove
| bruno 23
dina 27
jules 19
chen 36
jules 7
farah 36
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058831-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | dina 21 17 ember
farah 13 13 ember
hana 9 30 grove
chen 3 22 indigo
jules 15 21 fable
hana 21 18 cobalt
dina 30 17 delta
gus 10 28 ember
chen 1 9 delta
hana 30 30 birch
| dina 38
farah 26
hana 39
chen 25
jules 36
hana 39
dina 47
gus 38
chen 10
hana 60
| bruno 12 11 grove
dina 1 26 grove
jules 16 3 cobalt
chen 7 29 indigo
jules 2 5 ember
farah 24 12 grove
| bruno 23
dina 27
jules 19
chen 36
jules 7
farah 36
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058831 | qwen/qwen3.7-plus |
awkweave-0058832 | Print column 1 and pass when column 2 is at least 27; otherwise print fail. | {print $1,($2>=27?"pass":"fail")} | ivan 5
alice 28
jules 20
ivan 15
kim 19
kim 6
ivan 6
| ivan fail
alice pass
jules fail
ivan fail
kim fail
kim fail
ivan fail
| ivan 29
jules 7
ivan 13
gus 14
gus 4
bruno 12
farah 27
eli 23
| ivan pass
jules fail
ivan fail
gus fail
gus fail
bruno fail
farah pass
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058832-p1 | Output column 1 along with 'pass' if column 2 is 27 or greater, otherwise output 'fail'. | {print $1,($2>=27?"pass":"fail")} | ivan 5
alice 28
jules 20
ivan 15
kim 19
kim 6
ivan 6
| ivan fail
alice pass
jules fail
ivan fail
kim fail
kim fail
ivan fail
| ivan 29
jules 7
ivan 13
gus 14
gus 4
bruno 12
farah 27
eli 23
| ivan pass
jules fail
ivan fail
gus fail
gus fail
bruno fail
farah pass
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058832 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.