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-0043052 | Print every 3rd line starting at line 1 (then line 4, and so on). | NR%3==1 | eli 119
eli 56
jules 120
lina 26
lina 4
farah 0
kim 20
jules 71
bruno 25
bruno 79
| eli 119
lina 26
kim 20
bruno 79
| dina 30
chen 18
dina 93
hana 101
kim 89
eli 88
lina 72
jules 74
lina 91
| dina 30
hana 101
lina 72
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043052-p1 | Print lines 1, 4, 7, and so on, effectively outputting every third line starting from the first. | NR%3==1 | eli 119
eli 56
jules 120
lina 26
lina 4
farah 0
kim 20
jules 71
bruno 25
bruno 79
| eli 119
lina 26
kim 20
bruno 79
| dina 30
chen 18
dina 93
hana 101
kim 89
eli 88
lina 72
jules 74
lina 91
| dina 30
hana 101
lina 72
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043052 | qwen/qwen3.7-plus |
awkweave-0043053 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma birch 24
beta juniper 64
delta delta 104
gamma harbor 45
gamma cobalt 71
beta birch 103
alpha birch 51
beta grove 83
| 6
| alpha juniper 80
gamma birch 47
gamma cobalt 70
delta indigo 89
alpha amber 17
delta birch 78
delta fable 99
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043053-p1 | Calculate and output only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | gamma birch 24
beta juniper 64
delta delta 104
gamma harbor 45
gamma cobalt 71
beta birch 103
alpha birch 51
beta grove 83
| 6
| alpha juniper 80
gamma birch 47
gamma cobalt 70
delta indigo 89
alpha amber 17
delta birch 78
delta fable 99
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043053 | qwen/qwen3.7-plus |
awkweave-0043054 | 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 14 0
gus 30 16
gus 16 3
farah 15 2
ivan 28 29
hana 1 21
alice 18 30
hana 13 10
| gus 1.88
gus 5.33
farah 7.50
ivan 0.97
hana 0.05
alice 0.60
hana 1.30
| bruno 10 0
alice 15 5
jules 1 7
dina 23 5
chen 20 3
farah 30 15
chen 4 24
| alice 3.00
jules 0.14
dina 4.60
chen 6.67
farah 2.00
chen 0.17
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043054-p1 | For each row where the third column is non-zero, print the first column followed by the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 14 0
gus 30 16
gus 16 3
farah 15 2
ivan 28 29
hana 1 21
alice 18 30
hana 13 10
| gus 1.88
gus 5.33
farah 7.50
ivan 0.97
hana 0.05
alice 0.60
hana 1.30
| bruno 10 0
alice 15 5
jules 1 7
dina 23 5
chen 20 3
farah 30 15
chen 4 24
| alice 3.00
jules 0.14
dina 4.60
chen 6.67
farah 2.00
chen 0.17
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043054 | qwen/qwen3.7-plus |
awkweave-0043055 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | chen cobalt 29
jules birch 28
chen amber 11
gus amber 13
dina grove 20
eli fable 28
chen ember 10
jules fable 24
| chen cobalt 29
jules birch 28
eli fable 28
| kim birch 1
dina indigo 20
farah delta 4
lina ember 25
bruno delta 5
bruno cobalt 20
alice delta 17
| lina ember 25
dina indigo 20
bruno cobalt 20
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043055-p1 | Display the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | chen cobalt 29
jules birch 28
chen amber 11
gus amber 13
dina grove 20
eli fable 28
chen ember 10
jules fable 24
| chen cobalt 29
jules birch 28
eli fable 28
| kim birch 1
dina indigo 20
farah delta 4
lina ember 25
bruno delta 5
bruno cobalt 20
alice delta 17
| lina ember 25
dina indigo 20
bruno cobalt 20
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043055 | qwen/qwen3.7-plus |
awkweave-0043056 | For each line, output fields 2 and 1, in that order. | {print $2, $1} | ready eli 44 eli juniper dina
active jules 84 eli fable chen
active jules 59 dina amber gus
closed ivan 55 eli harbor dina
closed ivan 84 dina juniper hana
pending hana 5 chen grove dina
| eli ready
jules active
jules active
ivan closed
ivan closed
hana pending
| ready farah 112 jules indigo jules
closed bruno 29 ivan juniper bruno
closed chen 117 kim amber hana
active ivan 47 chen ember jules
closed dina 75 chen grove gus
closed jules 31 kim ember lina
| farah ready
bruno closed
chen closed
ivan active
dina closed
jules closed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043056-p1 | Swap the order of the first two fields for each line, printing field 2 followed by field 1. | {print $2, $1} | ready eli 44 eli juniper dina
active jules 84 eli fable chen
active jules 59 dina amber gus
closed ivan 55 eli harbor dina
closed ivan 84 dina juniper hana
pending hana 5 chen grove dina
| eli ready
jules active
jules active
ivan closed
ivan closed
hana pending
| ready farah 112 jules indigo jules
closed bruno 29 ivan juniper bruno
closed chen 117 kim amber hana
active ivan 47 chen ember jules
closed dina 75 chen grove gus
closed jules 31 kim ember lina
| farah ready
bruno closed
chen closed
ivan active
dina closed
jules closed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043056 | qwen/qwen3.7-plus |
awkweave-0043057 | Print the last field of every input line. | {print $NF} | lina birch 80 active
jules indigo 32 active
eli juniper 37 active
kim juniper 30 pending
farah juniper 42 failed
dina harbor 67 closed
lina harbor 67 active
farah grove 80 paused
alice amber 85 failed
| active
active
active
pending
failed
closed
active
paused
failed
| lina birch 4 ready
hana birch 97 paused
gus juniper 105 closed
lina birch 110 pending
bruno birch 44 closed
hana amber 32 pending
jules delta 41 closed
| ready
paused
closed
pending
closed
pending
closed
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043057-p1 | Output the final field from every line of input. | {print $NF} | lina birch 80 active
jules indigo 32 active
eli juniper 37 active
kim juniper 30 pending
farah juniper 42 failed
dina harbor 67 closed
lina harbor 67 active
farah grove 80 paused
alice amber 85 failed
| active
active
active
pending
failed
closed
active
paused
failed
| lina birch 4 ready
hana birch 97 paused
gus juniper 105 closed
lina birch 110 pending
bruno birch 44 closed
hana amber 32 pending
jules delta 41 closed
| ready
paused
closed
pending
closed
pending
closed
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043057 | qwen/qwen3.7-plus |
awkweave-0043058 | Print the complete records where column 1 is greater than 31. | $1 > 31 | 2 failed failed
1 pending active
64 paused failed
117 closed paused
35 pending ready
82 active closed
91 closed closed
67 closed paused
84 pending pending
| 64 paused failed
117 closed paused
35 pending ready
82 active closed
91 closed closed
67 closed paused
84 pending pending
| 120 failed pending
25 closed paused
92 active active
7 paused ready
10 paused closed
37 active closed
3 paused ready
18 ready closed
| 120 failed pending
92 active active
37 active closed
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043058-p1 | Print entire records where the value in the first column exceeds 31. | $1 > 31 | 2 failed failed
1 pending active
64 paused failed
117 closed paused
35 pending ready
82 active closed
91 closed closed
67 closed paused
84 pending pending
| 64 paused failed
117 closed paused
35 pending ready
82 active closed
91 closed closed
67 closed paused
84 pending pending
| 120 failed pending
25 closed paused
92 active active
7 paused ready
10 paused closed
37 active closed
3 paused ready
18 ready closed
| 120 failed pending
92 active active
37 active closed
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043058 | qwen/qwen3.7-plus |
awkweave-0043059 | Show whole lines whose 2nd field is between 7 and 18, inclusive. | $2 >= 7 && $2 <= 18 | alice 26 paused paused
gus 1 closed active
lina 12 active pending
jules 22 paused paused
lina 8 paused closed
kim 27 paused active
jules 16 failed paused
bruno 7 paused active
eli 13 paused closed
ivan 24 active pending
| lina 12 active pending
lina 8 paused closed
jules 16 failed paused
bruno 7 paused active
eli 13 paused closed
| kim 18 closed failed
ivan 15 active paused
jules 24 closed pending
ivan 28 closed paused
jules 1 failed ready
dina 14 failed ready
bruno 21 pending pending
| kim 18 closed failed
ivan 15 active paused
dina 14 failed ready
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043059-p1 | Display full lines where the second field falls within the inclusive range of 7 to 18. | $2 >= 7 && $2 <= 18 | alice 26 paused paused
gus 1 closed active
lina 12 active pending
jules 22 paused paused
lina 8 paused closed
kim 27 paused active
jules 16 failed paused
bruno 7 paused active
eli 13 paused closed
ivan 24 active pending
| lina 12 active pending
lina 8 paused closed
jules 16 failed paused
bruno 7 paused active
eli 13 paused closed
| kim 18 closed failed
ivan 15 active paused
jules 24 closed pending
ivan 28 closed paused
jules 1 failed ready
dina 14 failed ready
bruno 21 pending pending
| kim 18 closed failed
ivan 15 active paused
dina 14 failed ready
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043059 | qwen/qwen3.7-plus |
awkweave-0043060 | Print column 4 only for rows where column 2 is exactly failed. | $2 == "failed"{print $4} | 108 closed amber farah
56 ready juniper gus
82 failed harbor gus
37 ready indigo hana
60 paused amber ivan
118 active harbor hana
70 failed harbor bruno
4 closed juniper kim
71 closed delta ivan
3 active birch dina
| gus
bruno
| 89 closed ember dina
91 active delta hana
36 paused fable hana
111 paused indigo dina
26 ready juniper alice
101 ready fable kim
65 pending ember lina
119 failed amber eli
104 active delta dina
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043060-p1 | Output the fourth column exclusively for rows where the second column matches 'failed' exactly. | $2 == "failed"{print $4} | 108 closed amber farah
56 ready juniper gus
82 failed harbor gus
37 ready indigo hana
60 paused amber ivan
118 active harbor hana
70 failed harbor bruno
4 closed juniper kim
71 closed delta ivan
3 active birch dina
| gus
bruno
| 89 closed ember dina
91 active delta hana
36 paused fable hana
111 paused indigo dina
26 ready juniper alice
101 ready fable kim
65 pending ember lina
119 failed amber eli
104 active delta dina
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043060 | qwen/qwen3.7-plus |
awkweave-0043061 | Print all fields from lines where field 3 begins with INFO. | $3 ~ /^INFO/ | birch 0 INFO
cobalt 2 INFO
amber 51 ERROR
birch 48 DEBUG
grove 64 ERROR
delta 51 WARN
amber 35 ERROR
fable 50 INFO
harbor 97 WARN
juniper 73 DEBUG
| birch 0 INFO
cobalt 2 INFO
fable 50 INFO
| ember 34 INFO
birch 6 INFO
birch 104 ERROR
indigo 7 INFO
delta 86 INFO
juniper 49 ERROR
harbor 66 INFO
| ember 34 INFO
birch 6 INFO
indigo 7 INFO
delta 86 INFO
harbor 66 INFO
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043061-p1 | Display all fields from lines where the third field starts with 'INFO'. | $3 ~ /^INFO/ | birch 0 INFO
cobalt 2 INFO
amber 51 ERROR
birch 48 DEBUG
grove 64 ERROR
delta 51 WARN
amber 35 ERROR
fable 50 INFO
harbor 97 WARN
juniper 73 DEBUG
| birch 0 INFO
cobalt 2 INFO
fable 50 INFO
| ember 34 INFO
birch 6 INFO
birch 104 ERROR
indigo 7 INFO
delta 86 INFO
juniper 49 ERROR
harbor 66 INFO
| ember 34 INFO
birch 6 INFO
indigo 7 INFO
delta 86 INFO
harbor 66 INFO
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043061 | qwen/qwen3.7-plus |
awkweave-0043062 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | grove 103 pending
ember 70 active
cobalt 107 active
delta 7 pending
fable 115 ready
harbor 2 active
cobalt 48 ready
juniper 999 active
| grove 103 pending
ember 70 active
cobalt 107 active
delta 7 pending
fable 115 ready
harbor 2 active
cobalt 48 ready
| grove 91 active
fable 93 closed
harbor 31 active
ember 87 paused
grove 17 failed
indigo 53 paused
grove 21 closed
indigo 32 closed
juniper 999 active
| grove 91 active
fable 93 closed
harbor 31 active
ember 87 paused
grove 17 failed
indigo 53 paused
grove 21 closed
indigo 32 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043062-p1 | Print every line that does not contain the exact string 'juniper'. | $0 !~ /juniper/ | grove 103 pending
ember 70 active
cobalt 107 active
delta 7 pending
fable 115 ready
harbor 2 active
cobalt 48 ready
juniper 999 active
| grove 103 pending
ember 70 active
cobalt 107 active
delta 7 pending
fable 115 ready
harbor 2 active
cobalt 48 ready
| grove 91 active
fable 93 closed
harbor 31 active
ember 87 paused
grove 17 failed
indigo 53 paused
grove 21 closed
indigo 32 closed
juniper 999 active
| grove 91 active
fable 93 closed
harbor 31 active
ember 87 paused
grove 17 failed
indigo 53 paused
grove 21 closed
indigo 32 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043062 | qwen/qwen3.7-plus |
awkweave-0043063 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | gus indigo 88
jules amber 24
bruno harbor 11
hana ember 96
kim birch 106
alice juniper 11
gus delta 8
kim indigo 107
dina grove 105
ivan birch 7
| hana ember 96
kim birch 106
alice juniper 11
gus delta 8
| kim grove 44
alice cobalt 63
farah birch 95
hana delta 120
lina fable 0
bruno indigo 47
bruno amber 109
bruno indigo 11
| hana delta 120
lina fable 0
bruno indigo 47
bruno amber 109
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043063-p1 | Output lines 4 to 7, inclusive of both endpoints. | NR >= 4 && NR <= 7 | gus indigo 88
jules amber 24
bruno harbor 11
hana ember 96
kim birch 106
alice juniper 11
gus delta 8
kim indigo 107
dina grove 105
ivan birch 7
| hana ember 96
kim birch 106
alice juniper 11
gus delta 8
| kim grove 44
alice cobalt 63
farah birch 95
hana delta 120
lina fable 0
bruno indigo 47
bruno amber 109
bruno indigo 11
| hana delta 120
lina fable 0
bruno indigo 47
bruno amber 109
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043063 | qwen/qwen3.7-plus |
awkweave-0043064 | Output only the first 5 records. | NR <= 5 | chen 36 indigo
farah 106 indigo
ivan 112 birch
farah 90 fable
jules 117 cobalt
jules 64 delta
jules 115 indigo
lina 92 ember
| chen 36 indigo
farah 106 indigo
ivan 112 birch
farah 90 fable
jules 117 cobalt
| bruno 95 birch
eli 105 harbor
ivan 76 harbor
dina 57 birch
bruno 115 amber
kim 37 fable
lina 47 birch
lina 115 ember
| bruno 95 birch
eli 105 harbor
ivan 76 harbor
dina 57 birch
bruno 115 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043064-p1 | Display only the first 5 records. | NR <= 5 | chen 36 indigo
farah 106 indigo
ivan 112 birch
farah 90 fable
jules 117 cobalt
jules 64 delta
jules 115 indigo
lina 92 ember
| chen 36 indigo
farah 106 indigo
ivan 112 birch
farah 90 fable
jules 117 cobalt
| bruno 95 birch
eli 105 harbor
ivan 76 harbor
dina 57 birch
bruno 115 amber
kim 37 fable
lina 47 birch
lina 115 ember
| bruno 95 birch
eli 105 harbor
ivan 76 harbor
dina 57 birch
bruno 115 amber
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043064 | qwen/qwen3.7-plus |
awkweave-0043065 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 37 indigo
kim 40 delta
alice 105 harbor
kim 17 delta
lina 45 fable
hana 62 birch
jules 49 harbor
eli 32 fable
chen 83 fable
eli 75 indigo
| kim 40 delta
alice 105 harbor
kim 17 delta
lina 45 fable
hana 62 birch
jules 49 harbor
eli 32 fable
chen 83 fable
eli 75 indigo
| kim 63 birch
chen 49 indigo
ivan 55 grove
ivan 61 cobalt
bruno 11 amber
kim 117 amber
jules 27 harbor
hana 31 fable
chen 89 birch
kim 102 harbor
| chen 49 indigo
ivan 55 grove
ivan 61 cobalt
bruno 11 amber
kim 117 amber
jules 27 harbor
hana 31 fable
chen 89 birch
kim 102 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043065-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | eli 37 indigo
kim 40 delta
alice 105 harbor
kim 17 delta
lina 45 fable
hana 62 birch
jules 49 harbor
eli 32 fable
chen 83 fable
eli 75 indigo
| kim 40 delta
alice 105 harbor
kim 17 delta
lina 45 fable
hana 62 birch
jules 49 harbor
eli 32 fable
chen 83 fable
eli 75 indigo
| kim 63 birch
chen 49 indigo
ivan 55 grove
ivan 61 cobalt
bruno 11 amber
kim 117 amber
jules 27 harbor
hana 31 fable
chen 89 birch
kim 102 harbor
| chen 49 indigo
ivan 55 grove
ivan 61 cobalt
bruno 11 amber
kim 117 amber
jules 27 harbor
hana 31 fable
chen 89 birch
kim 102 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043065 | qwen/qwen3.7-plus |
awkweave-0043066 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | chen failed 108
gus ready 31
dina pending 0
hana failed 107
eli failed 75
ivan closed 37
dina pending 68
alice active 1
eli active 30
eli pending 63
| 2
| jules active 117
alice closed 8
farah active 79
alice failed 117
eli active 34
eli active 84
bruno active 68
| 5
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043066-p1 | Count the number of records with 'active' in the second column; output 0 if the count is zero. | $2 == "active"{n++}END{print n+0} | chen failed 108
gus ready 31
dina pending 0
hana failed 107
eli failed 75
ivan closed 37
dina pending 68
alice active 1
eli active 30
eli pending 63
| 2
| jules active 117
alice closed 8
farah active 79
alice failed 117
eli active 34
eli active 84
bruno active 68
| 5
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043066 | qwen/qwen3.7-plus |
awkweave-0043067 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor lina 25
fable farah 4
grove alice 8
delta gus 28
juniper dina 26
indigo alice 14
juniper jules 23
birch hana 7
harbor kim 20
grove dina 18
| 173
| birch alice 19
juniper ivan 13
cobalt bruno 26
delta hana 21
cobalt kim 12
juniper hana 22
| 113
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043067-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | harbor lina 25
fable farah 4
grove alice 8
delta gus 28
juniper dina 26
indigo alice 14
juniper jules 23
birch hana 7
harbor kim 20
grove dina 18
| 173
| birch alice 19
juniper ivan 13
cobalt bruno 26
delta hana 21
cobalt kim 12
juniper hana 22
| 113
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043067 | qwen/qwen3.7-plus |
awkweave-0043068 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper jules 4
indigo bruno 11
ember lina 20
birch lina 23
harbor farah 9
birch kim 28
harbor ivan 29
indigo hana 18
ember alice 22
harbor chen 19
| 18.30
| harbor ivan 15
harbor kim 17
amber chen 9
amber hana 17
birch dina 8
juniper alice 23
birch eli 6
juniper farah 23
indigo kim 16
| 14.89
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043068-p1 | Calculate the arithmetic mean of the third column and format it to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | juniper jules 4
indigo bruno 11
ember lina 20
birch lina 23
harbor farah 9
birch kim 28
harbor ivan 29
indigo hana 18
ember alice 22
harbor chen 19
| 18.30
| harbor ivan 15
harbor kim 17
amber chen 9
amber hana 17
birch dina 8
juniper alice 23
birch eli 6
juniper farah 23
indigo kim 16
| 14.89
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043068 | qwen/qwen3.7-plus |
awkweave-0043069 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 29 fable
ivan 17 amber
dina 14 cobalt
bruno 22 indigo
chen 12 amber
alice 1 ember
lina 23 ember
chen 28 birch
| 1
| dina 6 indigo
chen 3 grove
kim 3 birch
gus 24 birch
farah 1 cobalt
hana 13 indigo
bruno 20 harbor
lina 13 ember
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043069-p1 | Identify and print the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | ivan 29 fable
ivan 17 amber
dina 14 cobalt
bruno 22 indigo
chen 12 amber
alice 1 ember
lina 23 ember
chen 28 birch
| 1
| dina 6 indigo
chen 3 grove
kim 3 birch
gus 24 birch
farah 1 cobalt
hana 13 indigo
bruno 20 harbor
lina 13 ember
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043069 | qwen/qwen3.7-plus |
awkweave-0043070 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 chen delta
26 jules harbor
17 dina fable
10 farah cobalt
25 eli amber
23 gus ember
30 bruno indigo
25 chen amber
12 dina amber
| 30
| 5 chen grove
8 chen juniper
3 chen ember
21 farah juniper
9 alice amber
14 hana cobalt
10 dina indigo
6 jules grove
| 21
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043070-p1 | Identify and print the maximum numeric value found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 8 chen delta
26 jules harbor
17 dina fable
10 farah cobalt
25 eli amber
23 gus ember
30 bruno indigo
25 chen amber
12 dina amber
| 30
| 5 chen grove
8 chen juniper
3 chen ember
21 farah juniper
9 alice amber
14 hana cobalt
10 dina indigo
6 jules grove
| 21
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043070 | qwen/qwen3.7-plus |
awkweave-0043071 | Count all input records and print the total. | END{print NR} | ivan 46
kim 111
dina 6
dina 23
chen 4
lina 48
lina 86
bruno 119
lina 59
jules 100
| 10
| ivan 92
alice 71
dina 73
lina 18
hana 110
ivan 86
lina 0
hana 48
eli 93
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043071-p1 | Count the total number of input records and print the result. | END{print NR} | ivan 46
kim 111
dina 6
dina 23
chen 4
lina 48
lina 86
bruno 119
lina 59
jules 100
| 10
| ivan 92
alice 71
dina 73
lina 18
hana 110
ivan 86
lina 0
hana 48
eli 93
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043071 | qwen/qwen3.7-plus |
awkweave-0043072 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah indigo 52
hana indigo 113
jules fable 50
dina amber 28
jules fable 50
chen indigo 89
gus cobalt 17
ivan grove 27
chen grove 52
| farah indigo 52
hana indigo 113
jules fable 50
dina amber 28
chen indigo 89
gus cobalt 17
ivan grove 27
chen grove 52
| lina indigo 112
lina cobalt 28
farah delta 14
dina juniper 113
farah cobalt 17
alice fable 93
bruno cobalt 100
alice birch 105
dina ember 32
alice fable 93
| lina indigo 112
lina cobalt 28
farah delta 14
dina juniper 113
farah cobalt 17
alice fable 93
bruno cobalt 100
alice birch 105
dina ember 32
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043072-p1 | Deduplicate lines by keeping the first instance of each unique line while maintaining the original sequence. | !seen[$0]++ | farah indigo 52
hana indigo 113
jules fable 50
dina amber 28
jules fable 50
chen indigo 89
gus cobalt 17
ivan grove 27
chen grove 52
| farah indigo 52
hana indigo 113
jules fable 50
dina amber 28
chen indigo 89
gus cobalt 17
ivan grove 27
chen grove 52
| lina indigo 112
lina cobalt 28
farah delta 14
dina juniper 113
farah cobalt 17
alice fable 93
bruno cobalt 100
alice birch 105
dina ember 32
alice fable 93
| lina indigo 112
lina cobalt 28
farah delta 14
dina juniper 113
farah cobalt 17
alice fable 93
bruno cobalt 100
alice birch 105
dina ember 32
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043072 | qwen/qwen3.7-plus |
awkweave-0043073 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | chen birch 82
dina ember 15
hana delta 117
eli harbor 83
hana birch 8
ivan delta 94
| chen birch 82
dina ember 15
hana delta 117
eli harbor 83
hana birch 8
ivan delta 94
| eli birch 32
dina juniper 4
dina ember 69
kim grove 7
gus birch 83
chen delta 92
chen fable 9
lina indigo 41
jules fable 74
lina cobalt 25
| eli birch 32
dina juniper 4
dina ember 69
kim grove 7
gus birch 83
chen delta 92
chen fable 9
lina indigo 41
jules fable 74
lina cobalt 25
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043073-p1 | Retain only the initial row for every unique value found in the third column, ensuring the original input order is preserved. | !seen[$3]++ | chen birch 82
dina ember 15
hana delta 117
eli harbor 83
hana birch 8
ivan delta 94
| chen birch 82
dina ember 15
hana delta 117
eli harbor 83
hana birch 8
ivan delta 94
| eli birch 32
dina juniper 4
dina ember 69
kim grove 7
gus birch 83
chen delta 92
chen fable 9
lina indigo 41
jules fable 74
lina cobalt 25
| eli birch 32
dina juniper 4
dina ember 69
kim grove 7
gus birch 83
chen delta 92
chen fable 9
lina indigo 41
jules fable 74
lina cobalt 25
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043073 | qwen/qwen3.7-plus |
awkweave-0043074 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 19 fable
dina 13 harbor
eli 10 ember
ivan 19 juniper
dina 6 fable
farah 22 cobalt
bruno 11 grove
eli 7 grove
farah 20 ember
lina 24 harbor
| dina 19
dina 32
eli 42
ivan 61
dina 67
farah 89
bruno 100
eli 107
farah 127
lina 151
| kim 10 birch
hana 4 grove
ivan 30 ember
jules 1 delta
jules 25 indigo
chen 5 amber
| kim 10
hana 14
ivan 44
jules 45
jules 70
chen 75
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043074-p1 | Output the first column alongside the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | dina 19 fable
dina 13 harbor
eli 10 ember
ivan 19 juniper
dina 6 fable
farah 22 cobalt
bruno 11 grove
eli 7 grove
farah 20 ember
lina 24 harbor
| dina 19
dina 32
eli 42
ivan 61
dina 67
farah 89
bruno 100
eli 107
farah 127
lina 151
| kim 10 birch
hana 4 grove
ivan 30 ember
jules 1 delta
jules 25 indigo
chen 5 amber
| kim 10
hana 14
ivan 44
jules 45
jules 70
chen 75
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043074 | qwen/qwen3.7-plus |
awkweave-0043075 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 2 30 harbor
bruno 1 24 ember
chen 19 14 ember
jules 26 1 juniper
bruno 2 22 indigo
kim 29 1 juniper
| eli 32
bruno 25
chen 33
jules 27
bruno 24
kim 30
| bruno 22 5 harbor
gus 7 4 fable
hana 11 13 juniper
dina 10 2 birch
kim 23 17 grove
bruno 4 18 amber
chen 11 16 birch
alice 11 21 birch
chen 19 10 ember
eli 29 4 fable
| bruno 27
gus 11
hana 24
dina 12
kim 40
bruno 22
chen 27
alice 32
chen 29
eli 33
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043075-p1 | For each row, display the first field followed by the combined sum of the second and third fields. | {print $1,$2+$3} | eli 2 30 harbor
bruno 1 24 ember
chen 19 14 ember
jules 26 1 juniper
bruno 2 22 indigo
kim 29 1 juniper
| eli 32
bruno 25
chen 33
jules 27
bruno 24
kim 30
| bruno 22 5 harbor
gus 7 4 fable
hana 11 13 juniper
dina 10 2 birch
kim 23 17 grove
bruno 4 18 amber
chen 11 16 birch
alice 11 21 birch
chen 19 10 ember
eli 29 4 fable
| bruno 27
gus 11
hana 24
dina 12
kim 40
bruno 22
chen 27
alice 32
chen 29
eli 33
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043075 | qwen/qwen3.7-plus |
awkweave-0043076 | Print column 1 and pass when column 2 is at least 22; otherwise print fail. | {print $1,($2>=22?"pass":"fail")} | lina 3
bruno 25
jules 26
dina 18
ivan 25
farah 5
| lina fail
bruno pass
jules pass
dina fail
ivan pass
farah fail
| ivan 4
lina 3
hana 25
eli 25
dina 11
lina 12
dina 2
gus 19
gus 24
| ivan fail
lina fail
hana pass
eli pass
dina fail
lina fail
dina fail
gus fail
gus pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043076-p1 | Output the first column; append 'pass' if the second column is 22 or greater, otherwise append 'fail'. | {print $1,($2>=22?"pass":"fail")} | lina 3
bruno 25
jules 26
dina 18
ivan 25
farah 5
| lina fail
bruno pass
jules pass
dina fail
ivan pass
farah fail
| ivan 4
lina 3
hana 25
eli 25
dina 11
lina 12
dina 2
gus 19
gus 24
| ivan fail
lina fail
hana pass
eli pass
dina fail
lina fail
dina fail
gus fail
gus pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043076 | qwen/qwen3.7-plus |
awkweave-0043077 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | bruno indigo 94
farah birch 116
alice ember 112
chen cobalt 96
farah amber 60
hana indigo 24
gus amber 24
dina birch 51
dina grove 101
bruno birch 0
| BRUNO
FARAH
ALICE
CHEN
FARAH
HANA
GUS
DINA
DINA
BRUNO
| hana delta 1
hana juniper 103
farah cobalt 107
kim fable 82
chen birch 78
bruno delta 43
jules fable 46
gus delta 71
| HANA
HANA
FARAH
KIM
CHEN
BRUNO
JULES
GUS
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043077-p1 | Transform the first column to uppercase and output only this modified column. | {print toupper($1)} | bruno indigo 94
farah birch 116
alice ember 112
chen cobalt 96
farah amber 60
hana indigo 24
gus amber 24
dina birch 51
dina grove 101
bruno birch 0
| BRUNO
FARAH
ALICE
CHEN
FARAH
HANA
GUS
DINA
DINA
BRUNO
| hana delta 1
hana juniper 103
farah cobalt 107
kim fable 82
chen birch 78
bruno delta 43
jules fable 46
gus delta 71
| HANA
HANA
FARAH
KIM
CHEN
BRUNO
JULES
GUS
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043077 | qwen/qwen3.7-plus |
awkweave-0043078 | From column 1, print 2 characters starting at character 2. | {print substr($1,2,2)} | juniper 99
indigo 62
grove 43
indigo 40
indigo 2
juniper 18
birch 35
cobalt 26
fable 115
| un
nd
ro
nd
nd
un
ir
ob
ab
| fable 50
grove 26
delta 22
grove 106
fable 112
ember 113
ember 34
| ab
ro
el
ro
ab
mb
mb
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043078-p1 | Extract and print a substring of length 2 from the first column, beginning at the second character. | {print substr($1,2,2)} | juniper 99
indigo 62
grove 43
indigo 40
indigo 2
juniper 18
birch 35
cobalt 26
fable 115
| un
nd
ro
nd
nd
un
ir
ob
ab
| fable 50
grove 26
delta 22
grove 106
fable 112
ember 113
ember 34
| ab
ro
el
ro
ab
mb
mb
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043078 | qwen/qwen3.7-plus |
awkweave-0043079 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_birch 34
indigo_cobalt 96
delta_indigo 36
grove_harbor 21
harbor_cobalt 44
fable_ember 97
harbor_harbor 33
juniper_cobalt 107
| indigo birch
indigo cobalt
delta indigo
grove harbor
harbor cobalt
fable ember
harbor harbor
juniper cobalt
| fable_harbor 75
birch_amber 83
amber_ember 103
amber_harbor 99
juniper_fable 90
delta_grove 40
cobalt_fable 111
indigo_amber 97
amber_amber 83
| fable harbor
birch amber
amber ember
amber harbor
juniper fable
delta grove
cobalt fable
indigo amber
amber amber
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043079-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_birch 34
indigo_cobalt 96
delta_indigo 36
grove_harbor 21
harbor_cobalt 44
fable_ember 97
harbor_harbor 33
juniper_cobalt 107
| indigo birch
indigo cobalt
delta indigo
grove harbor
harbor cobalt
fable ember
harbor harbor
juniper cobalt
| fable_harbor 75
birch_amber 83
amber_ember 103
amber_harbor 99
juniper_fable 90
delta_grove 40
cobalt_fable 111
indigo_amber 97
amber_amber 83
| fable harbor
birch amber
amber ember
amber harbor
juniper fable
delta grove
cobalt fable
indigo amber
amber amber
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043079 | qwen/qwen3.7-plus |
awkweave-0043080 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus indigo 100 paused
lina juniper 87 active
farah harbor 69 closed
farah harbor 66 pending
bruno indigo 47 ready
alice ember 102 active
kim juniper 97 failed
| paused 100 indigo gus
active 87 juniper lina
closed 69 harbor farah
pending 66 harbor farah
ready 47 indigo bruno
active 102 ember alice
failed 97 juniper kim
| chen grove 114 failed
eli juniper 37 pending
farah fable 42 failed
eli fable 28 ready
eli birch 54 failed
alice fable 100 paused
| failed 114 grove chen
pending 37 juniper eli
failed 42 fable farah
ready 28 fable eli
failed 54 birch eli
paused 100 fable alice
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043080-p1 | Invert the sequence of fields for every line and output all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus indigo 100 paused
lina juniper 87 active
farah harbor 69 closed
farah harbor 66 pending
bruno indigo 47 ready
alice ember 102 active
kim juniper 97 failed
| paused 100 indigo gus
active 87 juniper lina
closed 69 harbor farah
pending 66 harbor farah
ready 47 indigo bruno
active 102 ember alice
failed 97 juniper kim
| chen grove 114 failed
eli juniper 37 pending
farah fable 42 failed
eli fable 28 ready
eli birch 54 failed
alice fable 100 paused
| failed 114 grove chen
pending 37 juniper eli
failed 42 fable farah
ready 28 fable eli
failed 54 birch eli
paused 100 fable alice
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043080 | qwen/qwen3.7-plus |
awkweave-0043081 | Print the number of whitespace-separated fields on each line. | {print NF} | hana indigo 72 paused
jules grove 51 paused
jules fable 107 closed
lina harbor 120 active
bruno cobalt 97 closed
kim cobalt 28 failed
| 4
4
4
4
4
4
| jules harbor 1 closed
bruno juniper 112 ready
kim delta 86 failed
chen grove 51 ready
hana cobalt 54 paused
alice harbor 95 closed
kim delta 45 paused
kim grove 11 closed
lina cobalt 77 pending
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043081-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | hana indigo 72 paused
jules grove 51 paused
jules fable 107 closed
lina harbor 120 active
bruno cobalt 97 closed
kim cobalt 28 failed
| 4
4
4
4
4
4
| jules harbor 1 closed
bruno juniper 112 ready
kim delta 86 failed
chen grove 51 ready
hana cobalt 54 paused
alice harbor 95 closed
kim delta 45 paused
kim grove 11 closed
lina cobalt 77 pending
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043081 | qwen/qwen3.7-plus |
awkweave-0043082 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus alpha 89
alice gamma 21
hana gamma 37
jules gamma 73
alice delta 91
dina delta 21
farah delta 13
ivan delta 14
| alpha 1
gamma 3
delta 4
| hana delta 51
farah beta 2
lina alpha 113
dina delta 57
alice gamma 119
lina beta 44
gus gamma 82
dina delta 88
| delta 3
beta 2
alpha 1
gamma 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043082-p1 | Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus alpha 89
alice gamma 21
hana gamma 37
jules gamma 73
alice delta 91
dina delta 21
farah delta 13
ivan delta 14
| alpha 1
gamma 3
delta 4
| hana delta 51
farah beta 2
lina alpha 113
dina delta 57
alice gamma 119
lina beta 44
gus gamma 82
dina delta 88
| delta 3
beta 2
alpha 1
gamma 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043082 | qwen/qwen3.7-plus |
awkweave-0043083 | 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]]} | lina beta 20
kim alpha 20
kim alpha 20
bruno alpha 30
dina alpha 2
jules delta 29
chen beta 14
| beta 34
alpha 72
delta 29
| farah delta 16
lina alpha 12
alice beta 8
kim delta 11
alice alpha 23
chen delta 16
| delta 43
alpha 35
beta 8
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043083-p1 | Calculate the sum of the third column for each group defined by the second column, outputting the results in the order of the groups' 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]]} | lina beta 20
kim alpha 20
kim alpha 20
bruno alpha 30
dina alpha 2
jules delta 29
chen beta 14
| beta 34
alpha 72
delta 29
| farah delta 16
lina alpha 12
alice beta 8
kim delta 11
alice alpha 23
chen delta 16
| delta 43
alpha 35
beta 8
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043083 | qwen/qwen3.7-plus |
awkweave-0043084 | 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 fable 51
gamma birch 20
gamma ember 53
gamma grove 113
alpha ember 45
beta harbor 48
gamma amber 13
| gamma 4
| alpha delta 59
delta birch 80
beta juniper 110
beta birch 118
beta harbor 110
beta amber 104
| beta 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043084-p1 | List each unique value from the first column along with its frequency count, ordered by when the value first appears. | {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 fable 51
gamma birch 20
gamma ember 53
gamma grove 113
alpha ember 45
beta harbor 48
gamma amber 13
| gamma 4
| alpha delta 59
delta birch 80
beta juniper 110
beta birch 118
beta harbor 110
beta amber 104
| beta 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043084 | qwen/qwen3.7-plus |
awkweave-0043085 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | note state score record_id
r001 farah 26 closed
r002 eli 6 active
r003 bruno 21 closed
r004 farah 19 closed
r005 alice 11 active
r006 gus 21 active
r007 chen 30 pending
r008 lina 6 ready
r009 ivan 1 closed
r010 eli 23 ready
| 26
6
21
19
11
21
30
6
1
23
| note state score record_id
r001 dina 29 failed
r002 gus 17 active
r003 ivan 28 closed
r004 eli 22 active
r005 gus 12 active
r006 gus 7 closed
r007 hana 26 ready
r008 farah 15 pending
| 29
17
28
22
12
7
26
15
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043085-p1 | Ignore the header row and output the values found in the score column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | note state score record_id
r001 farah 26 closed
r002 eli 6 active
r003 bruno 21 closed
r004 farah 19 closed
r005 alice 11 active
r006 gus 21 active
r007 chen 30 pending
r008 lina 6 ready
r009 ivan 1 closed
r010 eli 23 ready
| 26
6
21
19
11
21
30
6
1
23
| note state score record_id
r001 dina 29 failed
r002 gus 17 active
r003 ivan 28 closed
r004 eli 22 active
r005 gus 12 active
r006 gus 7 closed
r007 hana 26 ready
r008 farah 15 pending
| 29
17
28
22
12
7
26
15
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043085 | qwen/qwen3.7-plus |
awkweave-0043086 | The first row is a header. Print display_name for data rows whose score is greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 chen 15 active
r002 jules 11 ready
r003 kim 25 paused
r004 farah 4 active
r005 bruno 29 failed
r006 ivan 26 closed
r007 dina 18 closed
r008 ivan 23 closed
r009 jules 12 closed
r010 alice 2 ready
| kim
bruno
ivan
ivan
| record_id display_name score state
r001 hana 12 pending
r002 kim 19 ready
r003 chen 3 active
r004 gus 18 paused
r005 kim 21 pending
r006 jules 3 ready
r007 ivan 17 paused
| kim
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043086-p1 | Skipping the header, display the display_name field for any record where the score is strictly greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 chen 15 active
r002 jules 11 ready
r003 kim 25 paused
r004 farah 4 active
r005 bruno 29 failed
r006 ivan 26 closed
r007 dina 18 closed
r008 ivan 23 closed
r009 jules 12 closed
r010 alice 2 ready
| kim
bruno
ivan
ivan
| record_id display_name score state
r001 hana 12 pending
r002 kim 19 ready
r003 chen 3 active
r004 gus 18 paused
r005 kim 21 pending
r006 jules 3 ready
r007 ivan 17 paused
| kim
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043086 | qwen/qwen3.7-plus |
awkweave-0043087 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | bruno 21 closed
gus 2 active
eli 30 pending
ivan 21 closed
gus 29 pending
gus 8 paused
lina 3 closed
alice 28 pending
lina 26 ready
gus 22 ready
| bruno
gus
eli
ivan
gus
gus
lina
alice
lina
gus
| dina 4 ready
eli 3 failed
kim 9 paused
lina 19 ready
jules 24 closed
lina 24 active
| dina
eli
kim
lina
jules
lina
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043087-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | bruno 21 closed
gus 2 active
eli 30 pending
ivan 21 closed
gus 29 pending
gus 8 paused
lina 3 closed
alice 28 pending
lina 26 ready
gus 22 ready
| bruno
gus
eli
ivan
gus
gus
lina
alice
lina
gus
| dina 4 ready
eli 3 failed
kim 9 paused
lina 19 ready
jules 24 closed
lina 24 active
| dina
eli
kim
lina
jules
lina
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0043087 | qwen/qwen3.7-plus |
awkweave-0043088 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9. | BEGIN{FS=OFS=","}$2>9{print $1} | ivan,23,failed
chen,13,ready
eli,11,ready
gus,12,active
eli,17,paused
ivan,18,paused
dina,2,ready
gus,30,pending
jules,15,closed
eli,5,closed
| ivan
chen
eli
gus
eli
ivan
gus
jules
| dina,23,ready
gus,14,closed
jules,25,pending
gus,26,failed
farah,4,active
gus,8,failed
gus,5,failed
farah,23,pending
| dina
gus
jules
gus
farah
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043088-p1 | For simple CSV input without quoted commas, print the first column only if the second column's value is greater than 9. | BEGIN{FS=OFS=","}$2>9{print $1} | ivan,23,failed
chen,13,ready
eli,11,ready
gus,12,active
eli,17,paused
ivan,18,paused
dina,2,ready
gus,30,pending
jules,15,closed
eli,5,closed
| ivan
chen
eli
gus
eli
ivan
gus
jules
| dina,23,ready
gus,14,closed
jules,25,pending
gus,26,failed
farah,4,active
gus,8,failed
gus,5,failed
farah,23,pending
| dina
gus
jules
gus
farah
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043088 | qwen/qwen3.7-plus |
awkweave-0043089 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | alice juniper 6
lina harbor 84
hana birch 6
lina delta 60
hana fable 67
dina amber 43
gus birch 13
kim grove 31
bruno delta 36
eli delta 114
| alice juniper 6
lina harbor 84
hana birch 6
lina delta 60
hana fable 67
dina amber 43
gus birch 13
kim grove 31
bruno delta 36
eli delta 114
| farah harbor 45
kim juniper 96
hana indigo 2
jules ember 9
alice birch 44
chen amber 106
hana delta 65
dina indigo 109
farah juniper 64
dina harbor 61
| farah harbor 45
kim juniper 96
hana indigo 2
jules ember 9
alice birch 44
chen amber 106
hana delta 65
dina indigo 109
farah juniper 64
dina harbor 61
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043089-p1 | Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | alice juniper 6
lina harbor 84
hana birch 6
lina delta 60
hana fable 67
dina amber 43
gus birch 13
kim grove 31
bruno delta 36
eli delta 114
| alice juniper 6
lina harbor 84
hana birch 6
lina delta 60
hana fable 67
dina amber 43
gus birch 13
kim grove 31
bruno delta 36
eli delta 114
| farah harbor 45
kim juniper 96
hana indigo 2
jules ember 9
alice birch 44
chen amber 106
hana delta 65
dina indigo 109
farah juniper 64
dina harbor 61
| farah harbor 45
kim juniper 96
hana indigo 2
jules ember 9
alice birch 44
chen amber 106
hana delta 65
dina indigo 109
farah juniper 64
dina harbor 61
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043089 | qwen/qwen3.7-plus |
awkweave-0043100 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | DEBUG 30 fable
ERROR 10 birch
ERROR 86 indigo
ERROR 82 fable
INFO 104 amber
ERROR 32 indigo
| ERROR 10 birch
ERROR 86 indigo
ERROR 82 fable
ERROR 32 indigo
| ERROR 84 harbor
DEBUG 57 delta
DEBUG 114 delta
DEBUG 106 amber
ERROR 70 juniper
DEBUG 36 cobalt
ERROR 48 juniper
WARN 38 ember
DEBUG 39 indigo
ERROR 32 ember
| ERROR 84 harbor
ERROR 70 juniper
ERROR 48 juniper
ERROR 32 ember
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043100-p1 | Output all fields from any line where the first field starts with the string ERROR. | $1 ~ /^ERROR/ | DEBUG 30 fable
ERROR 10 birch
ERROR 86 indigo
ERROR 82 fable
INFO 104 amber
ERROR 32 indigo
| ERROR 10 birch
ERROR 86 indigo
ERROR 82 fable
ERROR 32 indigo
| ERROR 84 harbor
DEBUG 57 delta
DEBUG 114 delta
DEBUG 106 amber
ERROR 70 juniper
DEBUG 36 cobalt
ERROR 48 juniper
WARN 38 ember
DEBUG 39 indigo
ERROR 32 ember
| ERROR 84 harbor
ERROR 70 juniper
ERROR 48 juniper
ERROR 32 ember
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043100 | qwen/qwen3.7-plus |
awkweave-0043101 | Print every line except those containing the exact text juniper. | $0 !~ /juniper/ | birch 95 active
birch 24 closed
delta 21 failed
cobalt 109 active
fable 9 paused
fable 22 ready
fable 92 pending
birch 97 ready
ember 13 failed
juniper 999 active
| birch 95 active
birch 24 closed
delta 21 failed
cobalt 109 active
fable 9 paused
fable 22 ready
fable 92 pending
birch 97 ready
ember 13 failed
| indigo 117 ready
birch 108 ready
grove 59 pending
amber 92 pending
indigo 105 active
birch 40 pending
juniper 999 active
| indigo 117 ready
birch 108 ready
grove 59 pending
amber 92 pending
indigo 105 active
birch 40 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043101-p1 | Print every line from the input, excluding those that contain the exact substring juniper. | $0 !~ /juniper/ | birch 95 active
birch 24 closed
delta 21 failed
cobalt 109 active
fable 9 paused
fable 22 ready
fable 92 pending
birch 97 ready
ember 13 failed
juniper 999 active
| birch 95 active
birch 24 closed
delta 21 failed
cobalt 109 active
fable 9 paused
fable 22 ready
fable 92 pending
birch 97 ready
ember 13 failed
| indigo 117 ready
birch 108 ready
grove 59 pending
amber 92 pending
indigo 105 active
birch 40 pending
juniper 999 active
| indigo 117 ready
birch 108 ready
grove 59 pending
amber 92 pending
indigo 105 active
birch 40 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043101 | qwen/qwen3.7-plus |
awkweave-0043102 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | chen juniper 80
alice delta 69
ivan harbor 16
jules grove 32
jules fable 12
lina amber 103
chen grove 87
| ivan harbor 16
jules grove 32
jules fable 12
lina amber 103
| ivan birch 45
eli ember 22
kim grove 63
chen cobalt 18
hana grove 98
hana harbor 3
kim grove 70
| kim grove 63
chen cobalt 18
hana grove 98
hana harbor 3
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043102-p1 | Output lines 3 through 6 inclusive. | NR >= 3 && NR <= 6 | chen juniper 80
alice delta 69
ivan harbor 16
jules grove 32
jules fable 12
lina amber 103
chen grove 87
| ivan harbor 16
jules grove 32
jules fable 12
lina amber 103
| ivan birch 45
eli ember 22
kim grove 63
chen cobalt 18
hana grove 98
hana harbor 3
kim grove 70
| kim grove 63
chen cobalt 18
hana grove 98
hana harbor 3
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043102 | qwen/qwen3.7-plus |
awkweave-0043103 | Output only the first 4 records. | NR <= 4 | chen 98 amber
chen 4 amber
farah 50 birch
alice 116 fable
ivan 110 harbor
dina 27 indigo
jules 32 cobalt
| chen 98 amber
chen 4 amber
farah 50 birch
alice 116 fable
| hana 105 grove
lina 54 ember
hana 72 ember
alice 35 fable
bruno 34 juniper
farah 56 ember
bruno 111 juniper
ivan 71 juniper
alice 33 birch
gus 32 harbor
| hana 105 grove
lina 54 ember
hana 72 ember
alice 35 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043103-p1 | Restrict the output to the first 4 records only. | NR <= 4 | chen 98 amber
chen 4 amber
farah 50 birch
alice 116 fable
ivan 110 harbor
dina 27 indigo
jules 32 cobalt
| chen 98 amber
chen 4 amber
farah 50 birch
alice 116 fable
| hana 105 grove
lina 54 ember
hana 72 ember
alice 35 fable
bruno 34 juniper
farah 56 ember
bruno 111 juniper
ivan 71 juniper
alice 33 birch
gus 32 harbor
| hana 105 grove
lina 54 ember
hana 72 ember
alice 35 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043103 | qwen/qwen3.7-plus |
awkweave-0043104 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 76 juniper
bruno 84 juniper
jules 15 ember
alice 34 ember
ivan 53 grove
gus 47 birch
| bruno 84 juniper
jules 15 ember
alice 34 ember
ivan 53 grove
gus 47 birch
| eli 3 fable
alice 63 ember
kim 82 birch
kim 48 birch
dina 76 fable
kim 1 grove
gus 83 ember
lina 11 grove
eli 82 cobalt
chen 24 birch
| alice 63 ember
kim 82 birch
kim 48 birch
dina 76 fable
kim 1 grove
gus 83 ember
lina 11 grove
eli 82 cobalt
chen 24 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043104-p1 | Discard the first line and print all remaining lines exactly as they appear. | NR > 1 | chen 76 juniper
bruno 84 juniper
jules 15 ember
alice 34 ember
ivan 53 grove
gus 47 birch
| bruno 84 juniper
jules 15 ember
alice 34 ember
ivan 53 grove
gus 47 birch
| eli 3 fable
alice 63 ember
kim 82 birch
kim 48 birch
dina 76 fable
kim 1 grove
gus 83 ember
lina 11 grove
eli 82 cobalt
chen 24 birch
| alice 63 ember
kim 82 birch
kim 48 birch
dina 76 fable
kim 1 grove
gus 83 ember
lina 11 grove
eli 82 cobalt
chen 24 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043104 | qwen/qwen3.7-plus |
awkweave-0043105 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | eli closed 32
hana ready 65
farah paused 118
hana active 1
alice pending 56
alice failed 91
| 1
| ivan pending 12
gus failed 16
jules paused 79
kim active 90
kim closed 60
kim active 99
eli paused 83
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043105-p1 | Calculate the number of records where column 2 contains the value failed; if no such records exist, output 0. | $2 == "failed"{n++}END{print n+0} | eli closed 32
hana ready 65
farah paused 118
hana active 1
alice pending 56
alice failed 91
| 1
| ivan pending 12
gus failed 16
jules paused 79
kim active 90
kim closed 60
kim active 99
eli paused 83
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043105 | qwen/qwen3.7-plus |
awkweave-0043106 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | kim 16 delta
ivan 6 birch
ivan 1 cobalt
gus 19 birch
bruno 27 cobalt
gus 28 grove
bruno 25 indigo
farah 30 amber
alice 12 birch
| 164
| gus 27 ember
hana 7 fable
ivan 22 birch
eli 13 harbor
eli 4 ember
dina 1 amber
gus 6 juniper
lina 21 grove
| 101
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043106-p1 | Compute the total of all integer values found in the second column and output the result. | {s+=$2}END{print s+0} | kim 16 delta
ivan 6 birch
ivan 1 cobalt
gus 19 birch
bruno 27 cobalt
gus 28 grove
bruno 25 indigo
farah 30 amber
alice 12 birch
| 164
| gus 27 ember
hana 7 fable
ivan 22 birch
eli 13 harbor
eli 4 ember
dina 1 amber
gus 6 juniper
lina 21 grove
| 101
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043106 | qwen/qwen3.7-plus |
awkweave-0043107 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | chen grove 9
dina ember 11
farah indigo 25
bruno fable 26
farah harbor 28
dina ember 15
| 19.00
| hana indigo 17
bruno ember 12
dina ember 12
alice indigo 17
eli fable 13
bruno cobalt 30
lina delta 4
dina birch 30
eli indigo 1
| 15.11
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043107-p1 | Output the average of the values in the third column, formatted to precisely two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | chen grove 9
dina ember 11
farah indigo 25
bruno fable 26
farah harbor 28
dina ember 15
| 19.00
| hana indigo 17
bruno ember 12
dina ember 12
alice indigo 17
eli fable 13
bruno cobalt 30
lina delta 4
dina birch 30
eli indigo 1
| 15.11
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043107 | qwen/qwen3.7-plus |
awkweave-0043108 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | cobalt 1 bruno
birch 13 kim
harbor 7 ivan
amber 11 eli
grove 10 eli
juniper 26 hana
ember 7 kim
indigo 9 hana
juniper 1 eli
harbor 23 chen
| 1
| fable 25 gus
indigo 8 dina
juniper 10 farah
indigo 6 hana
fable 24 alice
ember 16 eli
indigo 3 jules
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043108-p1 | Identify and display the minimum numerical value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | cobalt 1 bruno
birch 13 kim
harbor 7 ivan
amber 11 eli
grove 10 eli
juniper 26 hana
ember 7 kim
indigo 9 hana
juniper 1 eli
harbor 23 chen
| 1
| fable 25 gus
indigo 8 dina
juniper 10 farah
indigo 6 hana
fable 24 alice
ember 16 eli
indigo 3 jules
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043108 | qwen/qwen3.7-plus |
awkweave-0043109 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo dina 28
harbor eli 20
indigo ivan 23
ember lina 5
juniper farah 4
delta alice 20
juniper chen 12
birch farah 28
| 28
| juniper lina 20
juniper alice 21
amber kim 1
amber farah 25
birch gus 7
ember lina 29
indigo alice 10
grove alice 8
harbor hana 10
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043109-p1 | Identify and display the maximum numerical value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | indigo dina 28
harbor eli 20
indigo ivan 23
ember lina 5
juniper farah 4
delta alice 20
juniper chen 12
birch farah 28
| 28
| juniper lina 20
juniper alice 21
amber kim 1
amber farah 25
birch gus 7
ember lina 29
indigo alice 10
grove alice 8
harbor hana 10
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043109 | qwen/qwen3.7-plus |
awkweave-0043110 | Count all input records and print the total. | END{print NR} | lina 77
ivan 53
jules 88
lina 1
farah 24
chen 23
dina 83
eli 46
| 8
| hana 18
lina 84
ivan 33
lina 54
chen 34
kim 33
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043110-p1 | Determine the total number of input records and print this count. | END{print NR} | lina 77
ivan 53
jules 88
lina 1
farah 24
chen 23
dina 83
eli 46
| 8
| hana 18
lina 84
ivan 33
lina 54
chen 34
kim 33
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043110 | qwen/qwen3.7-plus |
awkweave-0043111 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah harbor 14
gus amber 96
dina grove 33
chen indigo 88
dina grove 33
chen ember 119
kim amber 115
kim grove 52
| farah harbor 14
gus amber 96
dina grove 33
chen indigo 88
chen ember 119
kim amber 115
kim grove 52
| bruno indigo 44
dina birch 99
kim cobalt 20
bruno cobalt 32
kim cobalt 20
ivan grove 54
dina amber 120
chen amber 5
| bruno indigo 44
dina birch 99
kim cobalt 20
bruno cobalt 32
ivan grove 54
dina amber 120
chen amber 5
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0043111-p1 | Eliminate duplicate lines by keeping only the first instance of each, while maintaining the original sequence. | !seen[$0]++ | farah harbor 14
gus amber 96
dina grove 33
chen indigo 88
dina grove 33
chen ember 119
kim amber 115
kim grove 52
| farah harbor 14
gus amber 96
dina grove 33
chen indigo 88
chen ember 119
kim amber 115
kim grove 52
| bruno indigo 44
dina birch 99
kim cobalt 20
bruno cobalt 32
kim cobalt 20
ivan grove 54
dina amber 120
chen amber 5
| bruno indigo 44
dina birch 99
kim cobalt 20
bruno cobalt 32
ivan grove 54
dina amber 120
chen amber 5
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0043111 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.